JP2785320B2 - Expert system knowledge base management system. - Google Patents
Expert system knowledge base management system.Info
- Publication number
- JP2785320B2 JP2785320B2 JP1101337A JP10133789A JP2785320B2 JP 2785320 B2 JP2785320 B2 JP 2785320B2 JP 1101337 A JP1101337 A JP 1101337A JP 10133789 A JP10133789 A JP 10133789A JP 2785320 B2 JP2785320 B2 JP 2785320B2
- Authority
- JP
- Japan
- Prior art keywords
- time variable
- frame
- buffer
- knowledge base
- slot
- 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.)
- Expired - Lifetime
Links
- 238000004364 calculation method Methods 0.000 claims description 12
- 230000007246 mechanism Effects 0.000 claims description 9
- 238000007726 management method Methods 0.000 description 26
- 230000008859 change Effects 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Devices For Executing Special Programs (AREA)
Description
【発明の詳細な説明】 A.産業上の利用分野 本発明は、エキスパートシステムに係り、特に知識ベ
ースにおける推論用データの管理装置に関する。Description: BACKGROUND OF THE INVENTION A. Field of the Invention The present invention relates to an expert system, and more particularly, to an apparatus for managing inference data in a knowledge base.
B.発明の概要 本発明は、フレーム表現の知識を有するエキスパート
システムにおいて、 フレームのスロット型に過去の値及び現在値を格納し
ておくと共にこれら値を使った統計量演算値を格納して
おく時間変数型を設け、現在値と過去の値からスロット
名についての時間変化の特徴を求めることにより、 時間によって変化するデータの管理を行えるようにし
たものである。B. Summary of the Invention In the expert system having the knowledge of the frame expression, the present invention stores a past value and a present value in a slot type of a frame and stores a statistic operation value using these values. By providing a time variable type, the data that changes with time can be managed by obtaining the characteristics of the time change for the slot name from the current value and the past value.
C.従来の技術 エキスパートシステムは、第2図に示すように構成さ
れる。各分野の専門家の知識をナレッジエンジニア(K
E)が整理して知識ベース1に格納しておき、ユーザか
らの質問に対して推論エンジン2が知識ベース1の知識
を使用した推論によって回答を得る。C. Prior Art The expert system is configured as shown in FIG. Knowledge of experts in each field (K
E) organizes and stores it in the knowledge base 1, and the inference engine 2 obtains an answer to the question from the user by inference using the knowledge of the knowledge base 1.
推論エンジン2は、LISPやPROLOG等の記述言語を使用
し、作業環境(WM)3に作業過程に必要な知識ベースの
領域,ルール,事実等のデータを確保しながら演繹的な
推論を行う。また、知識ベース1の知識格納には知識ベ
ースエディタ4及びデバッガ5のマンマシンインターフ
ェースを使用し、ユーザとは説明機能6を有して質問の
意図受け付けや推論手順表示を行う。The inference engine 2 uses a description language such as LISP or PROLOG, and performs a priori inference while securing data of a knowledge base area, rules, facts, and the like necessary for a work process in a work environment (WM) 3. In addition, the knowledge base 1 is used to store the knowledge by using the man-machine interface of the knowledge base editor 4 and the debugger 5, and has an explanation function 6 with the user to accept a question intention and display an inference procedure.
知識ベース1の知識表現には、IF<条件部>THEN<結
論部>形式のプロダクションルール表現と、抽象的概念
及び実体を夫々フレームとして階層型ネットワークで表
現するフレーム表現とが知られ、これら知識により推論
を行うプロダクションシステムやフレームシステムさら
には両者を併用したハイブリッドシステムが知られてい
る。The knowledge expression of the knowledge base 1 includes a production rule expression in the form of IF <condition part> THEN <conclusion part>, and a frame expression which expresses an abstract concept and an entity as a frame in a hierarchical network. A production system and a frame system that perform inference based on the above, and a hybrid system using both of them are known.
フレーム表現による知識ルールは、フレームのうち上
位概念に相当するフレームをクラスフレームとしその下
位概念に相当するフレームをインスタンスフレームと
し、各フレームにはその属性名(スロット)と該属性を
示す記述(値,バリュウ)、さらには手続き的知識(メ
ソッド)等が記述され、推論には上位フレームから下位
フレームへのスロット値の受け渡しを行うインヘリタン
ス(継承)等によって正しいスロット値を求める。The knowledge rule based on the frame representation is such that a frame corresponding to a higher concept among frames is a class frame, a frame corresponding to a lower concept is an instance frame, and each frame has an attribute name (slot) and a description (value) indicating the attribute. , Value), and procedural knowledge (method) are described. For inference, a correct slot value is determined by inheritance (inheritance) for transferring a slot value from an upper frame to a lower frame.
D.発明が解決しようとする課題 従来のエキスパートシステムにおいて、知識ベースの
知識は、システムの適用分野に応じたデータ形式や知識
表現が採用される。ここでフレーム形式のデータは、新
しいデータがスロット値に代入されたときにはそれまで
記述されていた古いスロット値は棄てられてしまい、新
しいデータがスロット値として置き換えられる。このた
め、スロットの値の過去の値を参照した推論ができない
問題が生じてきている。D. Problems to be Solved by the Invention In a conventional expert system, the knowledge of a knowledge base adopts a data format and a knowledge expression according to the application field of the system. Here, in the frame format data, when new data is substituted for the slot value, the old slot value described so far is discarded, and the new data is replaced with the slot value. For this reason, a problem has arisen in which it is not possible to make inferences with reference to past values of slot values.
例えば、プラントや電力系統に見られる監視制御にエ
キスパートシステムを採用するとき、知識表現には時系
列データの保持と操作が重要な地位を占めてくるが、従
来の知識管理方式では時間によって変化するデータを使
った推論ひいては監視制御ができない。For example, when employing an expert system for monitoring and control found in plants and power systems, the retention and operation of time-series data occupies an important position in expressing knowledge, but in conventional knowledge management methods it changes over time. Inference using data and, consequently, monitoring control are not possible.
本発明の目的は、時間によって変化するデータを管理
し、また十分に効率良く取り扱える管理装置を提供する
ことにある。An object of the present invention is to provide a management device that manages data that changes with time and that can handle the data sufficiently efficiently.
E.課題を解決するための手段と作用 本発明は、上記目的を達成するため、知識表現として
フレーム表現された知識ベースと、この知識ベースの領
域やルール等を確保しながら推論を実行する推論エンジ
ンとを有するエキスパートシステムにおいて、 スロット型に時間変数型を設けたフレームと、 この時間変数型フレームの時間変数を管理するため
に、起動周期とバッファの大きさとバッファの現在位置
が保持されるバッファ管理情報と、統計量の計算許可フ
ラグと標本サイズ情報が書込まれる統計量管理情報と、
前記推論エンジンによって書込み値が代入される現在値
スロット及びそれぞれ統計量の値と属性が書込まれる複
数の時間変数フレームと、 前記過去のデータ値と属性と時間がそれぞれ所定の位
置に書込まれる複数の領域を有するバッファと、 前記時間変数フレームの統計量管理情報を参照し、計
算許可有りのときに前記バッファ内の過去データを参照
しながら統計量を計算し、時間変数フレームの所定のス
ロットに計算結果を書込む時間変数管理機構とを備え、
時間によって変化するスロット型に現在値と過去の値を
格納しておき、必要に応じて統計量を求めておき、スロ
ット値の過去の値を参照した推論ができるようにする。
また、スロット型の設定によって従来のフレームシステ
ムとの整合性を確保すると共に取り扱いを容易にする。E. Means and Actions for Solving the Problems In order to achieve the above object, the present invention provides a knowledge base represented by a frame as a knowledge representation and an inference that executes inference while securing areas, rules, and the like of the knowledge base. In an expert system having an engine, a frame in which a time variable type is provided in a slot type, and a buffer for holding a start cycle, a buffer size, and a current position of the buffer in order to manage a time variable of the time variable type frame Management information, statistic management information in which a statistic calculation permission flag and sample size information are written,
A current value slot into which a written value is substituted by the inference engine, and a plurality of time variable frames into which respective statistic values and attributes are written; and the past data values, attributes and time written into predetermined positions A buffer having a plurality of areas, referring to the statistics management information of the time variable frame, calculating the statistics while referring to the past data in the buffer when calculation is permitted, and determining a predetermined slot of the time variable frame. And a time variable management mechanism for writing calculation results to
The present value and the past value are stored in a slot type that changes with time, and a statistic is obtained as needed, so that inference can be performed by referring to the past value of the slot value.
In addition, the slot type setting ensures compatibility with the conventional frame system and facilitates handling.
F.実施例 第1図は本発明の一実施例を示す時間管理構成図であ
る。知識ベース1のフレーム11は、従来からのフレーム
形式とそのデータ保管機能のほかに、スロット型として
時間変数が設けられ、時間変数の概念が追加される。時
間変数フレーム12は、各フレーム11に追加された時間変
数についての管理情報が格納される。この管理情報のう
ち、バッファ管理情報には後述の時間変数管理機構14が
起動される周期と、バッファ13の容量とバッファ13の現
在位置等が格納される。統計量管理情報には予め定める
統計量の計算許可フラグや標本サイズなどの情報が書き
込まれる。現在値スロットには推論エンジン2が書き込
む現在値が置かれ、その値には確信度やタイムタグなど
従来の推論システムが取り扱う属性も付加される。F. Embodiment FIG. 1 is a time management configuration diagram showing an embodiment of the present invention. The frame 11 of the knowledge base 1 is provided with a time variable as a slot type in addition to the conventional frame format and its data storage function, and the concept of the time variable is added. The time variable frame 12 stores management information on the time variable added to each frame 11. Among the management information, the buffer management information stores a cycle in which the time variable management mechanism 14 described later is activated, the capacity of the buffer 13, the current position of the buffer 13, and the like. Information such as a predetermined statistics calculation permission flag and a sample size is written in the statistics management information. In the current value slot, a current value written by the inference engine 2 is placed, and an attribute handled by a conventional inference system, such as a certainty factor or a time tag, is added to the value.
統計量スロットには、時間変数を持つ各種統計演算結
果が格納され、具体的には以下のような値が格納され
る。In the statistics slot, various statistical calculation results having a time variable are stored, and specifically, the following values are stored.
(a)MAX[ΔT1,ΔT2]…過去ΔT1分前からΔT2分前ま
でのデータ中での最大値。(A) MAX [ΔT 1 , ΔT 2 ]: The maximum value in the data from one minute before ΔT to two minutes before ΔT.
(b)MIN[ΔT1,ΔT2]…過去ΔT1分前からΔT2分前ま
でのデータ中での最小値。(B) MIN [ΔT 1 , ΔT 2 ]: The minimum value in the data from one minute before ΔT to two minutes before ΔT.
(c)AVERAGE[ΔT1,ΔT2]…データ中での平均値。(C) AVERAGE [ΔT 1 , ΔT 2 ]: average value in data.
(d)SUM[ΔT1,ΔT2]…統和量。(D) SUM [ΔT 1 , ΔT 2 ]: summation amount.
(e)RATE[ΔT,ΔS]…過去ΔT分前におけるΔS分
間の変化量。(E) RATE [ΔT, ΔS]: change amount during ΔS minutes before ΔT minutes in the past.
(f)上述の統計量のほかに、変化量の最大値や最小
値、オーバーシュートの有無、アンダーシュートの有
無、過渡的変化の有無等のデータが格納される。(F) In addition to the statistics described above, data such as the maximum value and minimum value of the change amount, the presence or absence of overshoot, the presence or absence of undershoot, and the presence or absence of a transient change are stored.
次に、バッファ13は、時間変数管理機構14によって各
種統計演算のための事象の値とその時刻が属性と共に時
系列で書き込まれる。このバッファ13は環状構造にさ
れ、バッファ13の最後尾まで書き込まれたときには、次
の書き込みが先頭バッファ131の値が更新される。Next, in the buffer 13, the value of the event and the time of the event for various statistical calculations are written in time series together with the attribute by the time variable management mechanism 14. This buffer 13 has a circular structure, and when data is written to the end of the buffer 13, the value of the first buffer 131 is updated at the next write.
時間変数管理機構14は、一定時間毎に起動され、時間
変数フレーム12の現在値スロットにある値と属性をバッ
ファ管理情報を参照してバッファ13の所定の位置に転写
する。このとき、バッファの現在位置を一つ進めると共
にバッファ管理情報を更新し、同時にバッファ13の時刻
項に転写して時刻を書き込む。また、時間変数管理機構
14は、時間変数フレーム12の統計量管理情報を参照し、
統計量Kの計算許可フラグがYESならばバッファ13内の
過去のデータを参照して統計量Kを求め、当該統計量K
のスロットに計算結果を書き込む。The time variable management mechanism 14 is activated at regular intervals, and transfers the values and attributes in the current value slot of the time variable frame 12 to a predetermined position in the buffer 13 with reference to the buffer management information. At this time, the current position of the buffer is advanced by one and the buffer management information is updated, and at the same time, the time is transferred to the time item of the buffer 13 and the time is written. In addition, time variable management mechanism
14 refers to the statistics management information of the time variable frame 12,
If the calculation permission flag of the statistic K is YES, the statistic K is obtained by referring to the past data in the buffer 13, and the statistic K
Write the calculation result to the slot.
以上のような構成により、推論エンジン2はフレーム
11のスロットに値を書き込む時に、そのスロット型が時
間変数にある場合には参照される時間変数フレームの現
在値スロットに代入する。そして、現在値スロット値は
時間変数管理機構14により一定時間毎にバッファ13の最
終スロットに転写する。これにより、バッファ13及び時
間変数フレーム12の現在値スロットが与えられ、バッフ
ァ管理情報も更新される。また、統計量管理情報からフ
ラグが立つ統計量スロットについて、統計量Kの計算を
バッファ13の過去データと現在値データを使って行い、
その結果を統計量スロットKに書き込む。With the above configuration, the inference engine 2
When writing a value to the eleventh slot, if the slot type is a time variable, substitute the current value slot of the referenced time variable frame. Then, the current value slot value is transferred to the last slot of the buffer 13 at regular time intervals by the time variable management mechanism 14. Thereby, the buffer 13 and the current value slot of the time variable frame 12 are given, and the buffer management information is also updated. Further, for the statistic slot for which a flag is set from the statistic management information, the calculation of the statistic K is performed using the past data and the current value data of the buffer 13, and
The result is written to the statistics slot K.
ここで、バッファ13に書き込まれた値の参照には、該
バッファ13が離散的に採集されたデータ記録になること
から、統計量の演算要求の時刻がバッファの時刻と一致
しないことが多くなる。このとき、時間変数管理機構14
は要求時刻の近傍の時刻になるバッファスロット値を参
照して補間により要求時刻の値を予測する。Here, when referring to the value written in the buffer 13, since the buffer 13 is a data record collected discretely, the time of the statistical amount calculation request often does not match the time of the buffer. . At this time, the time variable management mechanism 14
Predicts the value of the requested time by interpolation with reference to a buffer slot value near the requested time.
従って、監視制御用のエキスパートシステム等に適用
して、水位の変化など時間によって変化するデータの管
理を行うことができ、このデータから監視制御の予測制
御や異常監視の確実化を図ることができる。しかも、従
来のフレーム表面によるシステムとの整合性を保ちなが
ら統計量の取捨選択やバッファの環状構造にして効率良
く取り扱える知識ベース管理になる。Therefore, the present invention can be applied to an expert system for monitoring and control, and can manage data that changes with time, such as a change in water level. From this data, predictive control of monitoring and control of abnormality can be ensured. . In addition, knowledge base management can be performed so that statistics can be selected and the buffer is formed in a circular structure while efficiently maintaining the consistency with the conventional frame surface system.
G.発明の効果 以上のとおり、本発明によれば、フレームのスロット
に時間変数型を設け、時間変数フレームとして現在値と
過去の値とこれらを使って計算した統計量を格納してお
くようにしたため、従来のフレームとの整合性を得なが
ら時間によって変化するデータの管理ひいては監視制御
システム等への適用を容易にする効果がある。G. Effects of the Invention As described above, according to the present invention, the time variable type is provided in the slot of the frame, and the current value and the past value and the statistic calculated using these are stored as the time variable frame. Therefore, there is an effect that the management of data that changes with time and the application to a supervisory control system or the like are facilitated while obtaining the consistency with the conventional frame.
第1図は本発明の一実施例を示す時間管理構成図、第2
図はエキスパートシステムの基本的構成図である。 1……知識ベース、2……推論エンジン、11……フレー
ム、12……時間変数フレーム、13……バッファ、14……
時間変数管理機構。FIG. 1 is a time management configuration diagram showing one embodiment of the present invention, and FIG.
The figure is a basic configuration diagram of the expert system. 1 ... knowledge base, 2 ... inference engine, 11 ... frame, 12 ... time variable frame, 13 ... buffer, 14 ...
Time variable management mechanism.
Claims (1)
ースと、この知識ベースの領域やルール等を確保しなが
ら推論を実行する推論エンジンとを有するエキスパート
システムにおいて、 スロット型に時間変数型を設けたフレームと、 この時間変数型フレームの時間変数を管理するために、
起動周期とバッファの大きさとバッファの現在位置が保
持されるバッファ管理情報と、統計量の計算許可フラグ
と標本サイズ情報が書込まれる統計量管理情報と、前記
推論エンジンによって書込む値が代入される現在値スロ
ット及びそれぞれ統計量の値と属性が書込まれる複数の
時間変数フレームと、 前記過去のデータ値と属性と時間がそれぞれ所定の位置
に書込まれる複数の領域を有するバッファと、 前記時間変数フレームの統計量管理情報を参照し、計算
許可有りのときに前記バッファ内の過去データを参照し
ながら統計量を計算し、時間変数フレームの所定のスロ
ットに計算結果を書込む時間変数管理機構と、 を備えたことを特徴とするエキスパートシステムの知識
ベース管理装置。1. An expert system having a knowledge base expressed as a frame as a knowledge expression and an inference engine for executing inference while securing an area and rules of the knowledge base, wherein a time variable type is provided in a slot type. In order to manage the frame and the time variable of this time variable type frame,
The buffer management information in which the start cycle, the buffer size and the current position of the buffer are held, the statistics management permission flag and the statistics management information in which the sample size information is written, and the value written by the inference engine are substituted. A plurality of time variable frames in which current value slots and respective statistic values and attributes are written; a buffer having a plurality of regions in which the past data values, attributes, and times are respectively written in predetermined positions; Time variable management which refers to the statistics management information of the time variable frame, calculates the statistics while referring to the past data in the buffer when calculation is permitted, and writes the calculation result in a predetermined slot of the time variable frame. A knowledge base management apparatus for an expert system, comprising: a mechanism;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1101337A JP2785320B2 (en) | 1989-04-20 | 1989-04-20 | Expert system knowledge base management system. |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1101337A JP2785320B2 (en) | 1989-04-20 | 1989-04-20 | Expert system knowledge base management system. |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02278430A JPH02278430A (en) | 1990-11-14 |
| JP2785320B2 true JP2785320B2 (en) | 1998-08-13 |
Family
ID=14298026
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1101337A Expired - Lifetime JP2785320B2 (en) | 1989-04-20 | 1989-04-20 | Expert system knowledge base management system. |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2785320B2 (en) |
-
1989
- 1989-04-20 JP JP1101337A patent/JP2785320B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 「情報処理学会研究報告」Vol.88,No.44(88−AI−59−19)(1988−7) |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02278430A (en) | 1990-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108809694B (en) | Service arrangement method, system, device and computer readable storage medium | |
| CN111126621B (en) | Online model training method and device | |
| CN110134697A (en) | A kind of parameter automated tuning method, apparatus, system towards key-value pair storage engines | |
| US20200233685A1 (en) | Method for enhancing products with cloud analytics | |
| CN110764714B (en) | Data processing method, device and equipment and readable storage medium | |
| CN116684306B (en) | Fault prediction method, device, equipment and readable storage medium | |
| CN106487601B (en) | Resource monitoring method, device and system | |
| JP2785320B2 (en) | Expert system knowledge base management system. | |
| CN116126859A (en) | Data management method and device, electronic equipment and storage medium | |
| Alechina et al. | Belief revision for AgentSpeak agents | |
| CN118915963A (en) | Automatic storage method and system based on AI algorithm | |
| CN119359896A (en) | Equipment state prediction method and system based on virtual scene | |
| CN115115057B (en) | Training method, device, equipment and storage medium for sustainable learning model | |
| CN120371373A (en) | Multi-model management method and system | |
| CN117520394B (en) | Cloud edge computing-based robot rule real-time computing method and device | |
| US20230124678A1 (en) | Storage medium to store transmission data setting support program, gateway device, and transmission data setting supporting method | |
| CN111798199A (en) | A method and system for closed-loop management of power grid polymorphism graph | |
| CN116363866B (en) | Supervision system and method for intelligent traffic network | |
| CN118916014B (en) | Model generation method, model generation device and electronic device | |
| US20250173204A1 (en) | Intelligent management of cloud services | |
| JP2785302B2 (en) | Expert system knowledge base management system. | |
| CN121998051A (en) | Iterative optimization system and method for expert agents | |
| CN116594835A (en) | Application health monitoring method and device, storage medium and computer equipment | |
| CN114565465A (en) | Automated transaction method, apparatus, device, storage medium and program product | |
| CN118398177A (en) | A medical image data analysis system and method based on artificial intelligence |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090529 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term |