JP2785302B2 - Expert system knowledge base management system. - Google Patents

Expert system knowledge base management system.

Info

Publication number
JP2785302B2
JP2785302B2 JP1045774A JP4577489A JP2785302B2 JP 2785302 B2 JP2785302 B2 JP 2785302B2 JP 1045774 A JP1045774 A JP 1045774A JP 4577489 A JP4577489 A JP 4577489A JP 2785302 B2 JP2785302 B2 JP 2785302B2
Authority
JP
Japan
Prior art keywords
time
buffer
knowledge base
frame
value
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
Application number
JP1045774A
Other languages
Japanese (ja)
Other versions
JPH02224125A (en
Inventor
哲也 水島
和男 高橋
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.)
Meidensha Corp
Original Assignee
Meidensha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp filed Critical Meidensha Corp
Priority to JP1045774A priority Critical patent/JP2785302B2/en
Publication of JPH02224125A publication Critical patent/JPH02224125A/en
Application granted granted Critical
Publication of JP2785302B2 publication Critical patent/JP2785302B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 A.産業上の利用分野 本発明は知識ベースシステムにおける推論用データの
管理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION A. Industrial Field of the Invention The present invention relates to an inference data management device in a knowledge base system.

B.発明の概要 知識ベースにおけるフレームのスロット型にバッファ
の管理と値の一時保管を行う時間変数フレームを設け、
且つバッファを環状構造となして過去データを一定期間
保管することによって時間によって変化するデータを十
分に効率よく扱うようにしたものである。
B. Summary of the Invention A time variable frame that manages a buffer and temporarily stores a value is provided in the frame slot type in the knowledge base,
In addition, the buffer is formed in a ring structure and the past data is stored for a certain period of time so that data that changes with time can be handled sufficiently efficiently.

C.従来の技術 特定分野の専門家のもつ経験的な知識を移植利用する
ことによって、コンピュータに専門家なみの能力を持た
せるようにしたエキスパートシステムが普及されつつあ
る。第3図はエキスパートシステムにおける推論部を示
したもので、1が推論エンジン、2が知識ベースで、規
則集合と事実集合とよりなっている。規則集合は、if A
then Bのプロダクションルールにて知識表現され、事
実集合はフレーム表現にて記述されている。この場合、
ある事実は、フレームを構成するスロット名,スロット
型,スロット値の組の集合によって定義される。3は実
行部で知識ベースをもとに適合規則の実行を行い、その
結果を出力する。
C. Prior Art Expert systems are being popularized, in which a computer is made to have the ability of an expert by using the empirical knowledge of an expert in a specific field. FIG. 3 shows an inference unit in the expert system, wherein 1 is an inference engine, 2 is a knowledge base, and is composed of a rule set and a fact set. The rule set is if A
Knowledge is represented by the production rules of then B, and the fact set is described by frame representation. in this case,
A certain fact is defined by a set of pairs of a slot name, a slot type, and a slot value constituting a frame. Reference numeral 3 denotes an execution unit that executes the matching rules based on the knowledge base and outputs the result.

D.発明が解決しようとする課題 フレームは新しいデータがスロット値に代入されたと
き、既に記録してある前のスロット値は破棄されて新し
いデータがスロット値として書き換えられるようになっ
ている。エキスパートシステムの適用分野として、例え
ば監視制御装置を考えたとき、この分野で扱われる知識
表現には、時系列データの保持と、操作が重要な位置を
占めてくるが、従来システムではこのような時間によっ
て変化するデータを十分に効率よく自然に扱える方法が
なかった。
D. Problems to be Solved by the Invention When new data is substituted for a slot value in a frame, the previously recorded slot value is discarded and new data is rewritten as a slot value. As an application field of the expert system, for example, when considering a supervisory control device, the retention of time-series data and the operation occupy an important position in the knowledge expression handled in this field. There was no way to handle data that changes with time naturally enough efficiently.

したがって本発明の目的とするところは、従来のフレ
ームシステムと整合性を保ちながら一定期間前のデータ
を保持できるような推論用データの管理装置を提供せん
とするものである。
Accordingly, it is an object of the present invention to provide an inference data management device capable of retaining data before a certain period of time while maintaining consistency with a conventional frame system.

E.課題を解決するための手段 この発明は、推論エンジンが知識ベースを参照しなが
ら推論するものにおいて、一定時間毎に起動される時間
変数の管理機構部を設ける。また、知識ベースのフレー
ムのスロットに時間変数を管理するための時間変数フレ
ームを設け、この時間変数フレームに環状構造を有し、
前記管理機構部が値と時刻を書き込むバッファ部とで構
成したものである。
E. Means for Solving the Problems In the present invention, an inference engine performs inference with reference to a knowledge base, and has a time variable management mechanism unit that is activated at predetermined time intervals. Further, a time variable frame for managing a time variable in a slot of the frame of the knowledge base is provided, and the time variable frame has a circular structure,
The management mechanism comprises a buffer for writing a value and a time.

F.作用 時間変数の管理機構部は、一定時間毎に起動されて時
間変数のフレームの現在値スロットにある値,属性をバ
ッファ管理情報を参照しながらバッファの所定位置に転
写する。このとき、管理機構部はバッファ部に記憶され
ている現在値を一つ進めて新データを記憶すると同時
に、そのときにおける時刻をも書き込む。
F. Action The time variable management mechanism is activated at regular intervals and transfers the values and attributes in the current value slot of the frame of the time variable to a predetermined position in the buffer with reference to the buffer management information. At this time, the management mechanism unit advances the current value stored in the buffer unit by one and stores the new data, and also writes the time at that time.

G.実施例 第1図は本発明の一実施例を示す構成図で、1は推論
エンジン、3は適合規則の実行部、20は知識ベースで、
この知識ベース20にはif A then Bのプロダクションル
ールにて知識表現された規則集合部と、フレーム表現に
て記述されている事実集合部とを有している。5は事実
集合部のフレームの一例を示したもので、本発明は、こ
のフレームのスロット型に時間変数を設けたものであ
る。51はフレームのスロット値に値などが書き込まれる
時間変数フレームで、後述のバッファ部を管理するため
のバッファ管理情報部510と、現在値および確信度やタ
イムタグなどの属性が格納される部分511とを有してい
る。なお管理情報部510には、管理機構部が起動される
周期,バッファ部の大きさ,およびこのバッファ部に記
憶されるデータの現在位置などが保持される。4は管理
機構部で、時間変数を管理するために一定時間毎に起動
される。6はバッファ部で、このバッファ部は値,時間
などが書き込まれた環状構造となってn個の値などが書
き込まれる。
G. Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention, wherein 1 is an inference engine, 3 is a conforming rule execution unit, 20 is a knowledge base,
This knowledge base 20 has a rule set part expressed in knowledge by the production rule of if A then B and a fact set part described in frame expression. Reference numeral 5 denotes an example of a frame of the fact collection part. In the present invention, a time variable is provided in the slot type of this frame. Reference numeral 51 denotes a time variable frame in which a value or the like is written in a slot value of the frame. A buffer management information unit 510 for managing a buffer unit, which will be described later, and a part 511 in which a current value and attributes such as certainty factor and a time tag are stored. And It should be noted that the management information section 510 holds the cycle at which the management mechanism section is started, the size of the buffer section, the current position of data stored in the buffer section, and the like. Reference numeral 4 denotes a management mechanism unit, which is started at regular time intervals to manage time variables. Reference numeral 6 denotes a buffer unit, which has an annular structure in which values, times, and the like are written, and in which n values and the like are written.

以上のように構成された本発明においてその作用を説
明する。
The operation of the present invention configured as described above will be described.

推論エンジン1は、知識ベース20内の知識を参照しな
がら推論し、実行部3は適合規則の実行をしてその結果
を出力する。このようなエキスパートシステムが、プロ
セスの制御を実行しているときには、推論エンジン1は
検出されたプロセス値を知識ベース20の所定フレーム5
のスロットに値を代入する。
The inference engine 1 makes an inference while referring to the knowledge in the knowledge base 20, and the execution unit 3 executes the matching rule and outputs the result. When such an expert system is executing process control, the inference engine 1 converts the detected process value into a predetermined frame 5 of the knowledge base 20.
Assign a value to the slot of.

今、例えばある時間の水位のように、スロット型が時
間変数のときには、検出された現在値は、スロット値51
にて参照される時間変数フレームの現在値格納部分511
に格納される。
Now, when the slot type is a time variable, for example, a water level at a certain time, the detected current value is the slot value 51
Current value storage part 511 of the time variable frame referred to by
Is stored in

一方、時間変数を管理するための管理機構部4は、一
定の時刻T毎に起動され、この起動時に予め変数フレー
ムのバッファ管理情報部510に格納されている情報を参
照しながら、現在値フレーム511に書き込まれている
値,属性をバッファ部6の最新情報が書き込まれる値1,
属性1の位置に転写すると同時に、時刻1の位置にその
ときにおける時刻が書き込まれる。管理機構4が起動さ
れる次の時刻には最新情報である現在値は、バッファ部
6の各2(図示省略)の領域に書き込まれ、以下同様に
してkからnへの順次歩進される。現在位置が最後尾領
域nに達すると、次は最先頭領域1に書き込まれ、必然
的に1の領域に書き込まれていた旧いデータは消去され
る。これら現在値の位置は、その都度時間変数フレーム
のバッファ管理情報部において記憶され、これを参照す
る管理機構部4によって順次歩進されて行く。
On the other hand, the management mechanism unit 4 for managing the time variable is started at a certain time T, and at the time of the start, the current value frame is referred to while referring to the information stored in advance in the buffer management information unit 510 of the variable frame. The values and attributes written in 511 are the values 1 and 2 where the latest information of the buffer unit 6 is written.
At the same time as the transfer to the attribute 1 position, the time at that time is written to the time 1 position. At the next time when the management mechanism 4 is activated, the current value, which is the latest information, is written to each of the 2 (not shown) areas of the buffer unit 6, and in the same manner, sequentially from k to n. . When the current position reaches the tail area n, the next position is written to the top area 1 and the old data written to the area 1 is inevitably erased. The positions of these current values are stored in the buffer management information section of the time variable frame each time, and are sequentially advanced by the management mechanism section 4 which refers to this.

次にバッファ部6に書き込まれた時系列データを利用
して指定時刻の値を呼び出す方法を第2図に基づいて説
明する。
Next, a method of calling the value of the designated time using the time series data written in the buffer unit 6 will be described with reference to FIG.

バッファ部6に記憶されているデータ値は、時刻tn-1
の時点にはan-1の値であり、時刻tnではan、時刻tn+1
はan+1……のように時間に関して離散的に採集されたデ
ータが記録されている。このようなデータのうち、ユー
ザーが必要とするデータは、記録された離散時刻に一致
するわけではなく、例えばtnとtn+1の中間点(例えば現
在から10分前)であるtn′点のデータを必要とする場合
がある。この場合、管理機構部4は、所望時刻の近傍値
an,an+1を参照して補間し、時刻tn′点の値anを計算す
る。すなわち、知識ベースに記憶された過去の離散デー
タを参照し、知識表示の「現在から10分前の計測値が、
ある値以上ならば」という規則の実現が可能となる。
The data value stored in the buffer unit 6 is at time t n-1
The time of a a n-1 values, the time t n in a n, the time t n + 1 in a n + 1 ...... discretely collected data with respect to time as it is recorded. Of such data, data that users need, not matching the recorded discrete time, for example, t n and t n + 1 intermediate point is (for example, 10 minutes before the current) t n 'Data may be required. In this case, the management mechanism unit 4 calculates the neighborhood value of the desired time.
a n, interpolated reference to a n + 1, to calculate the value a n at time t n 'point. In other words, referring to the past discrete data stored in the knowledge base, the knowledge display "measured value 10 minutes before the present,
If more than a certain value ", the rule can be realized.

H.発明の効果 以上のような本発明によれば、次のような効果が得ら
れる。
H. Effects of the Invention According to the present invention as described above, the following effects can be obtained.

(1)従来のフレームシステムと整合性を保ちながら、
時間変数の機能が容易に追加できる。
(1) While maintaining consistency with the conventional frame system,
The function of the time variable can be easily added.

(2)時間的に変化するデータを効率よく知識ベースに
記憶することができ、記憶された過去のデータを参照し
て知識表現の「10分前の計測値がある値以上ならば」と
いうルールの実現が可能となる。
(2) Time-varying data can be efficiently stored in the knowledge base, and the rule of “if the measured value 10 minutes ago is greater than or equal to a certain value” in the knowledge expression with reference to the stored past data Can be realized.

(3)バッファ構造を採用することにより、そのサイズ
や転写周期の設定により、利用目的にあった最適な構造
とすることが可能となる。
(3) By adopting the buffer structure, it is possible to obtain an optimum structure for the purpose of use by setting the size and the transfer cycle.

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

第1図は本発明の一実施例を示す構成図、第2図は記憶
された時系列データ、第3図は従来のエキスパートシス
テムの概略図である。 1……推論エンジン、4……管理機構部、5……フレー
ム、51……時間変数フレーム、6……バッファ部、20…
…知識ベース。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is stored time-series data, and FIG. 3 is a schematic diagram of a conventional expert system. 1 ... inference engine, 4 ... management unit, 5 ... frame, 51 ... time variable frame, 6 ... buffer unit, 20 ...
… Knowledge base.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 9/44──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 9/44

Claims (1)

(57)【特許請求の範囲】(57) [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, rules, and the like of the knowledge base, wherein a frame having a slot-type time variable is provided. In order to manage this time variable, the start cycle, the size of the buffer, the buffer management information slot in which the buffer management information holding the current position of the buffer is written, the current process value, and the attribute are stored by the inference engine. A time variable frame having a current value slot to be written; a buffer in which data values, attributes, and times of processes that are formed in a circular fashion and collected discretely are respectively written in predetermined positions as past data; It is provided for the management of A time variable management mechanism for sequentially writing past data in the buffer while referring to buffer management information, and interpolating the discrete-time data value based on a value near a desired time when the time does not match a user request time. An expert system knowledge base management device characterized by the following.
JP1045774A 1989-02-27 1989-02-27 Expert system knowledge base management system. Expired - Lifetime JP2785302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045774A JP2785302B2 (en) 1989-02-27 1989-02-27 Expert system knowledge base management system.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045774A JP2785302B2 (en) 1989-02-27 1989-02-27 Expert system knowledge base management system.

Publications (2)

Publication Number Publication Date
JPH02224125A JPH02224125A (en) 1990-09-06
JP2785302B2 true JP2785302B2 (en) 1998-08-13

Family

ID=12728643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045774A Expired - Lifetime JP2785302B2 (en) 1989-02-27 1989-02-27 Expert system knowledge base management system.

Country Status (1)

Country Link
JP (1) JP2785302B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2822673B2 (en) * 1990-12-19 1998-11-11 国際電信電話株式会社 Real-time monitoring expert system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「情報処理学会研究報告」Vol.88,No.4(88−AI−59−19)(1988−7)

Also Published As

Publication number Publication date
JPH02224125A (en) 1990-09-06

Similar Documents

Publication Publication Date Title
JP2785302B2 (en) Expert system knowledge base management system.
JPH02201552A (en) Transaction trace information picking system
JP2643811B2 (en) Database reorganization method
JP2870308B2 (en) Database management system
JP2000099383A (en) System and method for managing database and storage medium
JP2568708B2 (en) How to update the double link queue
JPS63236145A (en) System for storing data to data base
JPH06110670A (en) Graphic user interface function customizing system
JPH0744426A (en) File management method for file system
JP2785320B2 (en) Expert system knowledge base management system.
JPS63228347A (en) Control system for generation of file consisting of plural members
JPS5914064A (en) Processing system of time series data of electronic computer
JPS595370A (en) Processing time controlling system
JPS6327935A (en) Storage medium management system
JPH04188339A (en) Control system for deleted record
JP2000020388A (en) Multimedia data processor
JPH03116339A (en) Performance information acquiring system
JPH06259293A (en) Useless document batch deleting device
CN109284099A (en) Paintbrush cancelling method and electronic equipment under a kind of scene based on graphic programming
JP2007206984A (en) Job execution time estimation system, job execution time estimation method and job execution time estimation program
JPH04223537A (en) Image file storing system
JPS63219043A (en) File pseudo renewal system
JPH0391016A (en) Unequivocal number management system for continuous operation system
JPS634351A (en) Data file managing system
JPS6339926B2 (en)

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
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090529

Year of fee payment: 11