JPS6398741A - Sequential execution control system for plural expert systems - Google Patents

Sequential execution control system for plural expert systems

Info

Publication number
JPS6398741A
JPS6398741A JP61244964A JP24496486A JPS6398741A JP S6398741 A JPS6398741 A JP S6398741A JP 61244964 A JP61244964 A JP 61244964A JP 24496486 A JP24496486 A JP 24496486A JP S6398741 A JPS6398741 A JP S6398741A
Authority
JP
Japan
Prior art keywords
inference
knowledge base
knowledge
data
processing unit
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
JP61244964A
Other languages
Japanese (ja)
Inventor
Kenji Ishikawa
賢司 石川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61244964A priority Critical patent/JPS6398741A/en
Publication of JPS6398741A publication Critical patent/JPS6398741A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the sequential execution of plural expert systems by providing a controller means which selects one of plural knowledge bases and executes successively the inference processes under the control of an inference engine. CONSTITUTION:A controller means 109 is inserted between an inference engine 101 having an inference function and plural knowledge bases 1031-103n containing rules and fact data. Then the means 109 selects the corresponding bases 1031-103n when data are inputted from a terminal equipment 107 via an input/output controller 105 and transfers the data on the selected base to execute the inference process. The result of this inference process is sent to the equipment 107.

Description

【発明の詳細な説明】 〔概 要〕 本発明は、推論機能を有する推論エンジンと、ルールお
よび事実データを集めた知識ベースとを含むエキスパー
トシステムにおいて、複数の知識ベースを備え、推論エ
ンジンと複数の知識ベースとの間に、端末装置の指示に
従って複数の知識べ・−スの一つを選択して推論処理の
実行を制御するコントローラ手段を備えることにより、
複数のエキスパートシステムを逐次実行処理させること
ができるようにしたものである。
[Detailed Description of the Invention] [Summary] The present invention provides an expert system that includes an inference engine having an inference function and a knowledge base that collects rules and fact data. A controller means is provided between the knowledge base and the controller means for selecting one of the plurality of knowledge bases according to instructions from the terminal device and controlling the execution of the inference process.
This allows multiple expert systems to be executed sequentially.

〔産業上の利用分野〕[Industrial application field]

本発明は、エキスパートシステムの開発に用いられるツ
ールに利用される。特に、複数の知識ベースを使用する
ことができる複数エキスパートシステムの逐次実行制御
方式に関する。
INDUSTRIAL APPLICATION This invention is utilized for the tool used for the development of an expert system. In particular, it relates to a sequential execution control method for multiple expert systems that can use multiple knowledge bases.

〔従来の技術〕[Conventional technology]

エキスパートシステムは、推論機能を備えた推論エンジ
ン(inference engine)と、人間のも
つ経験的知識を集めた知識ベース(knowledge
 base)を中心に構成される人工知能の一種である
。知識べ−スは、事実データを記憶しているデータベー
スと、推論のルール(専門家の知識)を記憶しているル
ールベースに分かれる。推論エンジンは、事実やルール
を知識ベースから検索して照合を行なう。
An expert system consists of an inference engine with inference functions and a knowledge base that collects the experiential knowledge of humans.
It is a type of artificial intelligence that is mainly composed of The knowledge base is divided into a database that stores factual data and a rule base that stores inference rules (expert knowledge). Inference engines search and match facts and rules from a knowledge base.

すなわち、エキスパートシステムは、専門家の知識をル
ールベースに記憶させておいて、推論エンジンにより知
識ベースからこのルール(専門家の知識)とデータベー
スの事実を検索し照合して解答を見つける。
That is, an expert system stores the expert's knowledge in a rule base, and uses an inference engine to search and collate this rule (the expert's knowledge) from the knowledge base with the facts in the database to find an answer.

このようなエキスパートシステムは、知識ベースに記憶
される知識の獲得がその開発にとってボトルネックとな
っている。したがって、開発しようとするエキスパート
システムに対して、その知識ベースの構築を支援するツ
ール(エキスパートシステム開発用ツール)が実用化さ
れている。
The bottleneck in the development of such expert systems is the acquisition of knowledge stored in the knowledge base. Therefore, tools (expert system development tools) that support the construction of a knowledge base for an expert system to be developed have been put into practical use.

このエキスパートシステム開発用ツールは、エキスパー
トシステムを開発するためのエディタであり、専門家の
知識を表現したり、その知識を使って推論を実行するな
どの基本機能を備えている。
This expert system development tool is an editor for developing expert systems, and has basic functions such as expressing expert knowledge and performing inference using that knowledge.

たとえば、ESHELLと呼ばれるエキスパートシステ
ム開発用ツールは、データをフレームで、ルールはプロ
ダクションルール(If−Then形式)で表すツール
の構成である。このESHELLは、推論途中の結果格
納や推論の制御に使う自由なデータ領域を黒板として持
っている。
For example, an expert system development tool called ESHELL is configured to represent data in frames and rules in production rules (If-Then format). This ESHELL has a free data area as a blackboard that is used for storing results during inference and controlling inference.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、ネットワーク構成設計などの設計処理をサポ
ートするエキスパートシステムでは、システムと会話中
に設計処理に関連する他の内容を調べたり、一時的に計
算処理(回線費用計算など)を行ないたいことがある。
By the way, with expert systems that support design processing such as network configuration design, you may want to check other content related to the design processing or temporarily perform calculation processing (such as line cost calculation) while talking with the system. .

ところが、現状のエキスパートシステムあるいはエキス
パートシステム開発用ツールの構成では、利用者が推論
エンジンの下で一時点に行なうことができる処理は一つ
であった。したがって、他の処理を実行したい場合には
、現在の処理を一旦終了する必要があった。
However, with the current configuration of expert systems or expert system development tools, a user can perform only one process at a time under the inference engine. Therefore, if the user wishes to execute another process, it is necessary to temporarily terminate the current process.

本発明は、このような従来の問題点を解決するもので、
複数のエキスパートシステムが持つ各機能を利用者が任
意の時点でそれぞれ呼び出すことができる複数エキスパ
ートシステムの逐次実行制御方式を提供することを目的
とする。
The present invention solves these conventional problems,
The purpose of this invention is to provide a sequential execution control method for multiple expert systems that allows a user to call each function of multiple expert systems at any time.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は、本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

図において、エキスパートシステムの知識ベースを複数
個備える。
In the figure, a plurality of expert system knowledge bases are provided.

コントローラ手段109は、推論機能を有する推論エン
ジン101と、ルールおよび事実データを集めた複数の
知識ベース1031〜1037との間に挿入され、入出
力制御装置105を介して端末装置107の指示に従い
、複数の知識ベース1031〜1037の一つを選択し
て推論処理の実行を制御する。
The controller means 109 is inserted between the inference engine 101 having an inference function and the plurality of knowledge bases 1031 to 1037 that collect rules and fact data, and according to instructions from the terminal device 107 via the input/output control device 105, One of the plurality of knowledge bases 1031 to 1037 is selected to control execution of inference processing.

〔作 用〕[For production]

本発明は、コントローラ手段109により複数の知識ベ
ース1031〜103.の−っを選択でき、推論エンジ
ン101の下で推論処理を逐次実行させることができる
The present invention provides a plurality of knowledge bases 1031-103. The inference process can be executed sequentially under the inference engine 101.

すなわち、コントローラ手段109は、端末装置107
から入出力制御装置105を介してデータが入力される
と、対応する知識ベースを選択してそのデータを渡し推
論処理を実行させ、その結果を端末装置107に送信す
る。
That is, the controller means 109 controls the terminal device 107
When data is inputted from the input/output control device 105, the corresponding knowledge base is selected, the data is passed, the inference processing is executed, and the result is transmitted to the terminal device 107.

このように、コントローラ手段109は、端末装置との
メツセージ送受信処理と、推論エンジン101の下で一
つの知識ベースを選択して行なわれる推論処理の実行管
理を行なうことができる。
In this way, the controller means 109 can execute and manage message transmission/reception processing with the terminal device and inference processing performed by selecting one knowledge base under the inference engine 101.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明の複数エキスパートシステムの逐次実
行制御方式を実現するためのコントローラ手段109の
一実施例構成を示す。
FIG. 2 shows an embodiment of the configuration of a controller means 109 for realizing the sequential execution control method of a plurality of expert systems according to the present invention.

■、    と#1゛との・応 1 ここで、本発明の実施例と第1図との対応関係を示して
おく。
(2) Relation between #1 and #1 1 Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.

コントローラ手段109は、初期設定処理部201、メ
ツセージ受信処理部203.データ受信処理部205.
知識ベース起動処理部207.知識ベース実行終了処理
部209.終了処理部211、接続切換部213.メツ
セージ送信処理部215、エラー処理部217に相当す
る。
The controller means 109 includes an initial setting processing section 201, a message reception processing section 203. Data reception processing unit 205.
Knowledge base activation processing unit 207. Knowledge base execution termination processing unit 209. Termination processing section 211, connection switching section 213. This corresponds to the message transmission processing section 215 and the error processing section 217.

メツセージ受信処理部203およびメツセージ送信処理
部215には、推論エンジン101および入出力制御装
置lO5を介して端末装置(ワークステーション>10
7が接続され、接続切換部213には複数の知識ベース
1031N103.1が接続される。
The message reception processing section 203 and the message transmission processing section 215 are connected to terminal devices (workstations > 10
7 is connected, and a plurality of knowledge bases 1031N103.1 are connected to the connection switching unit 213.

−り一大m(社)l底 以上のような対応関係があるものとして、以下本発明の
実施例について説明する。
Embodiments of the present invention will be described below, assuming that there is a correspondence relationship greater than or equal to the following.

第2図において、推論エンジンおよび入出力制御装置を
介して端末装置(ワークステーション)の出力部に接続
されるメツセージ受信処理部203の出力は、データ受
信処理部205.知識ベース起動処理部207.知識ベ
ース実行終了処理部209および終了処理部211に接
続される。データ受信処理部205および知識ベース起
動処理部207の出力は、接続切換部213を介して所
定の知識ベースに接続される。知識ベースからの入力信
号は、接続切換部213を介してメツセージ送信処理部
215に接続される。メツセージ送信処理部215の出
力は、推論エンジンおよび入出力制御装置を介して端末
装!(ワークステーション)の入力部に接続される。
In FIG. 2, the output of a message reception processing section 203, which is connected to the output section of a terminal device (workstation) via an inference engine and an input/output control device, is output from a data reception processing section 205. Knowledge base activation processing unit 207. It is connected to the knowledge base execution termination processing section 209 and the termination processing section 211. The outputs of the data reception processing section 205 and the knowledge base activation processing section 207 are connected to a predetermined knowledge base via the connection switching section 213. An input signal from the knowledge base is connected to a message transmission processing section 215 via a connection switching section 213. The output of the message transmission processing unit 215 is sent to the terminal device via the inference engine and the input/output control device. (workstation) input section.

また、メツセージ送信処理部215および知識ベース実
行終了処理部209の出力と、初期設定処理部201の
各出力が、メツセージ受信処理部203に接続される。
Further, the outputs of the message transmission processing section 215 and the knowledge base execution termination processing section 209 and the respective outputs of the initialization processing section 201 are connected to the message reception processing section 203.

−」−ス1」1(社)1作 コントローラ手段109には、■端末装置とのメツセー
ジ送受信処理、■知識ベースとのデータの受は渡し処理
、■利用者からの知識ベースに対する操作要求の実行(
知識ベース起動、知識ベース実行終了、システム停止)
、■知識ベースの実行管理、■エラー処理の機能がある
。以下、各機能について各処理部ごとに説明する。
-"-S1"1 (Company) 1 The controller means 109 handles ■message transmission/reception processing with terminal devices, ■transmission of data to and from the knowledge base, and ■receipt of operation requests from users to the knowledge base. execution(
knowledge base start, knowledge base execution end, system stop)
, ■Knowledge-based execution management, and ■Error handling functions. Each function will be explained for each processing unit below.

初期設定処理部201は、開始メツセージの表示、フレ
ームの初期ロード、実行形式プログラムのロードおよび
端末装置107との接続確認を行ない、メツセージ受信
処理部203を起動する制御情報を出力する。
The initial setting processing section 201 displays a start message, initially loads a frame, loads an executable program, checks the connection with the terminal device 107, and outputs control information for activating the message reception processing section 203.

メツセージ受信処理部203は、端末装置107からの
メツセージを受信し、受信メツセージ変換および受信メ
ツセージタイプの判定を行ない、判定結果に応じた処理
部を起動する制御情報を出力する。
The message reception processing unit 203 receives a message from the terminal device 107, converts the received message, determines the type of the received message, and outputs control information for activating a processing unit according to the determination result.

データ受信処理部205は、受信メツセージをアクティ
ブな知識ベースに渡し、アクティブな知識ベースを再実
行するための制御情報を出力する。
The data reception processing unit 205 passes the received message to the active knowledge base and outputs control information for re-executing the active knowledge base.

さらに、デパック用にコントローラの状態を知識ベース
実行状態にする。
Furthermore, the state of the controller is changed to the knowledge base execution state for depacking.

知識ベース起動処理部207は、アクテ°イブな知識ベ
ースを待ち状態にし、新たに知識ベース管理用フレーム
を作る。さらに受信メツセージを新たに生成した知識ベ
ースに渡し、生成した知識ベースをキューにつないで起
動する制御情報を出力し、デパック用にコントローラの
状態を知識ベース実行状態にする。
The knowledge base activation processing unit 207 puts the active knowledge base in a waiting state and creates a new knowledge base management frame. Furthermore, it passes the received message to the newly generated knowledge base, connects the generated knowledge base to a queue, outputs control information to start it, and changes the state of the controller to the knowledge base execution state for depacking.

知識ベース実行終了処理部209は、アクティブな知識
ベースをキューから削除して直前の知識ベースをアクテ
ィブにし、今までのアクティブな知識ベースの管理用フ
レームを削除し、待ち状態の知識ベースをアクティブ状
態にする(ラストインファーストアウト−LIFO方式
)。さらに、メツセージ受信処理部を起動するための制
御情報を出力し、コントローラの状態をメツセージ受信
状態にする。
The knowledge base execution end processing unit 209 deletes the active knowledge base from the queue, activates the previous knowledge base, deletes the management frame of the previously active knowledge base, and changes the waiting knowledge base to the active state. (Last in first out - LIFO method). Furthermore, control information for activating the message reception processing section is output, and the state of the controller is set to the message reception state.

終了処理部211は、すべての知識ベースの実行を停止
させ、所定の時間停止して終了メツセージを送信する。
The termination processing unit 211 halts the execution of all knowledge bases, suspends execution for a predetermined period of time, and transmits a termination message.

メソセージ送信処理部215は、送信メソセージを生成
してメツセージの送信を行ない、メツセージ受信処理部
を起動する制御情報を出力してコントローラの状態を送
信状態にする。
The message transmission processing unit 215 generates a transmission message, transmits the message, outputs control information for activating the message reception processing unit, and sets the state of the controller to the transmission state.

接続切換部213は、メツセージ受信処理部203で処
理された端末装置107からのデータを対応する知識ベ
ースに接続し、知識ベースからのメツセージをメツセー
ジ送信処理部215に引き渡す処理を行なう。
The connection switching unit 213 connects the data from the terminal device 107 processed by the message reception processing unit 203 to the corresponding knowledge base, and performs a process of passing the message from the knowledge base to the message transmission processing unit 215.

エラー処理部217は、LISP関数でエラーが発生し
たときに、端末装置107にエラーメツセージを送信し
、アンブレークルーチンの呼び出しを行ないエラー状態
から回復する。
When an error occurs in a LISP function, the error processing unit 217 transmits an error message to the terminal device 107, calls an unbreak routine, and recovers from the error state.

端末装置107の画面は、呼び出された知識ベースに対
応して前画面を分割表示することにより、利用者はどの
処理を実行しているかを容易に知ることができる。入力
されるデータは、コントローラ手段109で処理される
とともに、端末装置107においてどの分割画面に入力
されたかが判別される。
The screen of the terminal device 107 displays the previous screen in parts corresponding to the called knowledge base, so that the user can easily know which process is being executed. The input data is processed by the controller means 109, and the terminal device 107 determines which split screen the input data is input to.

〔発明の効果〕〔Effect of the invention〕

上述したように、本発明によれば、利用者は一時点で?
、II!(のエキスパートシステムと会話処理すること
ができる。
As mentioned above, according to the present invention, the user can ?
, II! (Able to process conversations with expert systems.

したがって、本発明を用いることにより、小さなエキス
パートシステムを徐々に開発してシステム全体を大きく
することが容易になり、実用的には極めて有用である。
Therefore, by using the present invention, it is easy to gradually develop a small expert system and enlarge the entire system, which is extremely useful in practice.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例の構成ブロック図である。 図において、 101は推論エンジン、 1031〜103nは知識ベース、 105は入出力側1111装置、 107は端末装置、 109はコントローラ手段、 201は初期設定処理部、 203はメソセージ受信処理部、 205はデータ受信処理部、 207は知識ベース起動処理部、 209は知識ベース実行終了処理部、 211は終了処理部、 213は接続切換部、 215はメソセージ送信処理部、 217はエラー処理部である。 ″j!−登B月斧劃更側゛p・シフ図 第1図 Figure 1 is a block diagram of the principle of the present invention. FIG. 2 is a block diagram of an embodiment of the present invention. In the figure, 101 is an inference engine; 1031 to 103n are knowledge bases, 105 is an input/output side 1111 device, 107 is a terminal device; 109 is a controller means; 201 is an initial setting processing unit; 203 is a message reception processing unit; 205 is a data reception processing unit; 207 is a knowledge base activation processing unit; 209 is a knowledge base execution end processing unit; 211 is a termination processing unit; 213 is a connection switching unit; 215 is a message transmission processing unit; 217 is an error processing section. ``j! - Climb Moon Ax P. Schiff Diagram Figure 1

Claims (1)

【特許請求の範囲】[Claims] 推論機能を有する推論エンジン(101)と、ルールお
よび事実データを集めた知識ベース(103)とを含み
、入出力制御装置(105)を介して端末装置(107
)からの指示により推論処理を行なうエキスパートシス
テムにおいて、複数の知識ベース(103_1〜103
_n)を備え、推論エンジン(101)と複数の知識ベ
ース(103_1〜103_n)との間に挿入され、端
末装置(105)の指示に従って複数の知識ベース(1
03_1〜103_n)の一つを選択して推論処理の実
行を制御するコントローラ手段(109)を備えたこと
を特徴とする複数エキスパートシステムの逐次実行制御
方式。
It includes an inference engine (101) having an inference function and a knowledge base (103) that collects rules and fact data, and is connected to a terminal device (107) via an input/output control device (105).
) In an expert system that performs inference processing based on instructions from multiple knowledge bases (103_1 to 103
_n) is inserted between the inference engine (101) and the plurality of knowledge bases (103_1 to 103_n), and is inserted between the inference engine (101) and the plurality of knowledge bases (103_1 to 103_n), and
03_1 to 103_n) for controlling the execution of inference processing.
JP61244964A 1986-10-15 1986-10-15 Sequential execution control system for plural expert systems Pending JPS6398741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61244964A JPS6398741A (en) 1986-10-15 1986-10-15 Sequential execution control system for plural expert systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61244964A JPS6398741A (en) 1986-10-15 1986-10-15 Sequential execution control system for plural expert systems

Publications (1)

Publication Number Publication Date
JPS6398741A true JPS6398741A (en) 1988-04-30

Family

ID=17126574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61244964A Pending JPS6398741A (en) 1986-10-15 1986-10-15 Sequential execution control system for plural expert systems

Country Status (1)

Country Link
JP (1) JPS6398741A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992002880A1 (en) * 1990-08-02 1992-02-20 Tandy Corporation Intelligent help system
US5159685A (en) * 1989-12-06 1992-10-27 Racal Data Communications Inc. Expert system for communications network
US5165011A (en) * 1988-09-22 1992-11-17 Omron Tateisi Electronics Co. System for switching a rule group
US5485544A (en) * 1989-02-17 1996-01-16 Hitachi, Ltd. History sensitive help control method and system
USRE37431E1 (en) 1990-08-02 2001-10-30 Ast Research, Inc. Intelligent help system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5165011A (en) * 1988-09-22 1992-11-17 Omron Tateisi Electronics Co. System for switching a rule group
US5485544A (en) * 1989-02-17 1996-01-16 Hitachi, Ltd. History sensitive help control method and system
US5159685A (en) * 1989-12-06 1992-10-27 Racal Data Communications Inc. Expert system for communications network
US5388189A (en) * 1989-12-06 1995-02-07 Racal-Datacom, Inc. Alarm filter in an expert system for communications network
WO1992002880A1 (en) * 1990-08-02 1992-02-20 Tandy Corporation Intelligent help system
US5103498A (en) * 1990-08-02 1992-04-07 Tandy Corporation Intelligent help system
USRE37431E1 (en) 1990-08-02 2001-10-30 Ast Research, Inc. Intelligent help system
USRE39302E1 (en) 1990-08-02 2006-09-19 Samsung Electronics Co., Ltd. Intelligent help system

Similar Documents

Publication Publication Date Title
US7469405B2 (en) System and method for scheduling execution of cross-platform computer processes
Morreale Agents on the move [mobile software agents]
US6256659B1 (en) System and method for performing hybrid preemptive and cooperative multi-tasking in a computer system
JPH03157029A (en) Data processor
US20180090141A1 (en) Conversational interactions using superbots
JPH09297734A (en) Questioning and answering method
US20050190761A1 (en) Message handling method, message handling apparatus, and memory media for storing a message handling apparatus controlling program
Ball et al. RIG, Rochester's intelligent gateway: System overview
CN111158888A (en) Multi-task scheduling method and device
Nickerson et al. Human factors and the design of time sharing computer systems
JPS6398741A (en) Sequential execution control system for plural expert systems
KR100240657B1 (en) Application shared event control apparatus and method thereof
NZ336184A (en) Multi-kernel neural network concurrent learning, monitoring, and forecasting system
CN113326134B (en) Virtual resource scheduling system and method based on deep learning
Holt et al. Human performance considerations in complex systems
Urzelai et al. MAKILA: A Tool for the Development of Cooperative Societies
JPH03121558A (en) Remote task execution controller
JP2790472B2 (en) Multiple conversation processing control method
JPS60168239A (en) Information processing system
JPS62212761A (en) Processing system for function decentralized information
Zuhdy et al. Implementation of the real-time functional language Erlang on a massively parallel platform, with applications to telecommunications services
Chou High performance, high availability distributed processor systems
JPS63201728A (en) Inference system
JPH06274433A (en) Kana to kanji converting system of server/client model
JPS63257829A (en) Expert system