JP2822673B2 - Real-time monitoring expert system - Google Patents
Real-time monitoring expert systemInfo
- Publication number
- JP2822673B2 JP2822673B2 JP2411741A JP41174190A JP2822673B2 JP 2822673 B2 JP2822673 B2 JP 2822673B2 JP 2411741 A JP2411741 A JP 2411741A JP 41174190 A JP41174190 A JP 41174190A JP 2822673 B2 JP2822673 B2 JP 2822673B2
- Authority
- JP
- Japan
- Prior art keywords
- status
- event
- time
- state
- 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.)
- Expired - Fee Related
Links
Landscapes
- Devices For Executing Special Programs (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は内部状態を持つシステム
を対象とした実時間監視型エキスパートシステムに関
し、例えば機械設備の障害修理や病院における患者の診
断などに応用することができる。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a real-time monitoring type expert system for a system having an internal state, and can be applied to, for example, trouble repair of mechanical equipment or diagnosis of a patient in a hospital.
【0002】[0002]
【従来の技術】従来、監視型エキスパートシステムで
は、推論部が一定時間毎に外部環境を調べるための手続
きを駆動し、入手した障害情報のパラメータ解析を行な
い、対象システムの状態を推定していた。また、状態管
理を行なうための推論方式では、対象システム、すなわ
ち電子交換機、受配電設備、病院の救急患者の病状等
を、状態遷移条件に時間的制約を含まない有限状態機械
としてとらえるので、イベントが発生する前提となる状
態を知識ベースから削除し、結果として生ずる状態を知
識ベースに宣言するというやり方で対象システムの状態
遷移を記述していた。2. Description of the Related Art Conventionally, in a monitoring-type expert system, an inference unit drives a procedure for examining an external environment at predetermined time intervals, performs parameter analysis of obtained fault information, and estimates a state of a target system. . In addition, in the inference method for performing state management, the target system, that is, the electronic exchange, the power receiving and distributing equipment, the medical condition of an emergency patient in a hospital, and the like are regarded as a finite state machine in which the state transition condition does not include a time constraint, so that the event The state transition of the target system is described in such a manner that a state that is premised to cause the error is deleted from the knowledge base, and the resulting state is declared to the knowledge base.
【0003】このため、知識ベースには最新時点でのシ
ステム状態のみが保持されており、状態変化の履歴は保
持されていなかった。また状態は一旦生成されると、状
態を更新するイベントが発生しない限り知識ベース中に
留まっていた。For this reason, the knowledge base holds only the system state at the latest point in time, and does not hold the state change history. Also, once a state was created, it stayed in the knowledge base unless an event to update the state occurred.
【0004】また、状態遷移に付随する時間的制約を陽
に記述する場合に、状態の継続時間及び状態遷移の発生
時刻を厳密に管理する時間論理並びにその応用システム
も提案されているが、このような時間論理の応用システ
ムでは対象システムの構成要素すべての状態と状態遷移
について時間情報を付加するため多大な記憶容量が必要
となる。[0004] When explicitly describing a time constraint associated with a state transition, a time logic for strictly managing the duration of the state and the time of occurrence of the state transition and its application system have been proposed. In such a time logic application system, a large storage capacity is required because time information is added to the states and state transitions of all the constituent elements of the target system.
【0005】このため、履歴情報をオフラインで検索し
ながら状態推定を行うという利用形態が主流で、一定時
間内で状態推定を完了することが要求される実時間処理
には適していなかった。[0005] For this reason, the use form in which the state estimation is performed while searching the history information off-line is predominant, and is not suitable for real-time processing which requires completion of the state estimation within a fixed time.
【0006】[0006]
【発明が解決しようとする課題】上記従来技術における
システム構成では、推論部によって実時間ディスパッチ
ャ機能を実現していた。In the system configuration of the prior art, a real-time dispatcher function is realized by the inference unit.
【0007】しかし、推論部はもともと知識記述用の高
級言語で記述されるため、非同期入出力などの低レベル
の処理には適しておらずディスパッチャとしての処理効
率が低かった。このため、対象システムの状態変化への
追従能力が弱く、状態変化が頻繁に起こる場合には対象
システムの状態を監視することができなかった。また、
対象システムの状態変化がない場合にも推論部が動作す
ることがあり、CPUへの負荷が高かった。However, since the inference unit is originally described in a high-level language for knowledge description, it is not suitable for low-level processing such as asynchronous input / output, and processing efficiency as a dispatcher is low. For this reason, the ability of the target system to follow the state change is weak, and when the state change frequently occurs, the state of the target system cannot be monitored. Also,
The inference unit sometimes operated even when there was no change in the state of the target system, and the load on the CPU was high.
【0008】更に、上記従来技術における推論方式で
は、時間関係を陽に扱わないものが多く、「システムリ
セットがM分にN回以上発生した
ら、....」「....の状態になってからN分以内
に...を行なう」などの時間的制約条件を含む知識を
適切に表現することができなかった。時間関係を陽に扱
うシステムであっても、対象システムの構成要素すべて
の状態と状態遷移について時間情報を付加するため多大
な記憶容量が必要であった。Further, in many of the inference methods in the prior art described above, time relations are not explicitly handled, and when the system reset occurs N times or more in M minutes, the state becomes "...". Within a period of N minutes from now on "cannot be properly expressed. Even a system that explicitly deals with time relations requires a large storage capacity because time information is added to the states and state transitions of all components of the target system.
【0009】上記従来技術における推論方式では、「運
用者が、メッセージ監視を行なっていない外部端末から
のコマンド入力」や「人手による作業等のオフライン処
理」などのイベントをメッセージとしては検出できな
い。このため、いくつかの状態は、一旦知識ベースに宣
言されると、手動で削除するまで知識ベース中に留まっ
てしまい、対象システムの状態との間に差異が生じてい
た。In the above-described inference method in the prior art, events such as "command input by an operator from an external terminal that does not monitor messages" and "offline processing such as manual work" cannot be detected as messages. For this reason, once some states are declared in the knowledge base, they remain in the knowledge base until they are manually deleted, causing a difference from the state of the target system.
【0010】本発明は、上記従来技術の問題点を解決す
るためのもので、対象システムの状態監視において高速
な追従機能を実現するためのシステム構成を提供し、時
間的な制約条件も含めて対象システムの状態遷移を扱う
ための計算手段と、オフライン処理などによって発生す
る観測不能イベントも考慮して知識ベースの記憶使用量
を一定に抑えながら対象システムの状態監視を続けるた
めの記憶管理手段を提供することを目的とする。The present invention has been made to solve the above-mentioned problems of the prior art, and provides a system configuration for realizing a high-speed follow-up function in monitoring the state of a target system, including time constraints. Calculation means for handling the state transition of the target system and storage management means for continuing to monitor the state of the target system while keeping the knowledge base storage usage constant considering the unobservable events generated by offline processing etc. The purpose is to provide.
【0011】[0011]
【課題を解決するための手段】本発明によれば、複数の
装置から構成される対象システムの状態を実時間で推論
する実時間監視型エキスパートシステムにおいて、前記
装置が前記装置状態の変化を通知するイベントをフォー
マット解析するメッセージ処理部と、前記装置を制御す
るためのイベントをフォーマット解析するコマンド処理
部と、前記メッセージ処理部及び前記コマンド処理部に
よってフォーマット解析されたイベントから知識ベース
の内部表現を生成するイベント監視生成部と、前記イベ
ント監視生成部によって生成された前記内部表現に基づ
いて、前記装置状態や状況の推論を行う手段と、前記知
識ベースが扱う時間範囲を超えた前記イベントを削除す
るイベント削除規則手段と、前記知識ベースが扱う時間
範囲を超えた時に状態変化前の前記装置状態に戻すため
の装置状態回復規則手段と、前記知識ベースで扱う時間
範囲を超えた前記状況を削除する状況削除規則手段とを
有する状況処理部と、前記状況処理部で推論された前記
装置状態及び状況から障害回避のための措置手順の検索
を行う措置検索部と、前記措置検索部によって検索され
た措置手順を出力する出力部とを有しており、前記出力
部から出力された前記措置手順に従ったコマンドが、前
記コマンド処理部と前記イベント監視生成部とを介して
前記装置を制御すると共に、前記措置検索部に通知され
るように構成されている実時間監視型エキスパートシス
テムである。According to the present invention, in a real-time monitoring type expert system for inferring in real time the state of a target system composed of a plurality of devices, the device notifies the change of the device state. A message processing unit for format analysis of an event to be performed, a command processing unit for format analysis of an event for controlling the device, and an internal representation of a knowledge base from the event format-analyzed by the message processing unit and the command processing unit. An event monitoring / generating unit to be generated; a unit for inferring the device state and the situation based on the internal expression generated by the event monitoring / generating unit; and deleting the event exceeding a time range handled by the knowledge base. Event deletion rule means to perform, and when the time range handled by the knowledge base is exceeded An apparatus state recovery rule unit for returning to the apparatus state before the state change, a state processing unit having a state deletion rule unit for deleting the state beyond a time range handled by the knowledge base, and the state processing unit. A measure search unit for searching for a measure procedure for avoiding a failure from the inferred device state and the situation, and an output unit for outputting the measure procedure searched by the measure search unit; A command according to the measure procedure output from the real-time controller configured to control the device via the command processing unit and the event monitor generation unit and to be notified to the measure search unit. It is a monitoring expert system.
【0012】更に、前記状況処理部は、前記状況Gが成
立しなくなった時点t1が前記時間範囲Tmax内に存
在する場合に、前記知識ベースから、前記状況Gが成立
した時点t0から該時点t1までの該状況Gを定義する
個々の装置状態を引き起こした全てのイベントは、前記
イベント削除規則手段により削除され、前記状況Gは前
記状況削除規則手段で削除されるように構成されている
のが好ましい。これにより知識ベースの記憶情報量の著
しい増大を防ぐことができる。Furthermore, the status processing unit, when the time t 1 to the situation G is no longer satisfied exists in the time range Tmax, said from the knowledge base, from the time t 0 when the status G is satisfied all events that caused the individual device status defining the status G up to the time t 1, the deleted by the event delete rule means, said status G is configured to be deleted in the status delete rule means Is preferred. This can prevent a remarkable increase in the amount of information stored in the knowledge base.
【0013】更に、前記状況処理部は、前記装置状態を
生成しているイベントが前記知識ベースが扱う時間範囲
を超え、かつ該時間範囲内に他の装置状態から前記装置
状態へ遷移させるようなイベントが発生していない場合
に、前記装置状態を状態遷移以前の装置状態に戻すよう
に構成されているのが好ましい。これにより、イベント
の発生時刻の履歴から、該時間幅から外れるイベントを
削除する際に、観測されなかったイベントによって生じ
た装置状態を以前の状態に回復することにより知識ベー
スと現実の状態の不一致を解消するため、長時間の連続
監視において知識ベースと現実の状態の不一致が増大す
ることを防ぐことができる。[0013] Further, the status processing unit may be configured so that the event generating the device state exceeds a time range handled by the knowledge base, and transitions from another device state to the device state within the time range. It is preferable that the device state is returned to the device state before the state transition when no event has occurred. As a result, when an event that is out of the time range is deleted from the history of event occurrence time, the device state caused by the unobserved event is restored to the previous state, so that the knowledge base does not match the actual state. Can be prevented from increasing the mismatch between the knowledge base and the actual state in continuous monitoring for a long time.
【0014】[0014]
【発明の実施の形態】最初に、対象システムの装置状態
を有限状態機械としてモデル化することについて説明す
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, modeling of a device state of a target system as a finite state machine will be described.
【0015】対象システムの実時間監視業務は、コンソ
ールを介したシステムと監視者の対話である。コンソー
ルに出力される対象システムからのメッセージを「対象
システムの装置状態の変化を通知するイベント」、コン
ソールに入力される監視者からのコマンドを「対象シス
テムの装置状態を変化させるイベント」、対象システム
の状態を「対象システムを構成するすべての装置の装置
状態の積集合」と考えると、対象システムはこれらのイ
ベントによって状態遷移を行なう有限状態機械としてモ
デル化することができる。The real-time monitoring operation of the target system is a dialog between the system and a monitor via a console. The message from the target system output to the console is "event notifying the change of the device status of the target system", the command from the monitor input to the console is "event to change the device status of the target system", the target system Is considered as "the intersection of the device states of all the devices constituting the target system", the target system can be modeled as a finite state machine that performs a state transition by these events.
【0016】対象システムのモデル化のためには、対象
システムを構成する各装置について、装置状態を変更す
るイベントのすべてを有限状態機械の状態遷移として定
義する。In order to model the target system, for each device constituting the target system, all events that change the device state are defined as state transitions of the finite state machine.
【0017】対象システムのモデル化の際に用いる概念
を以下のように定義する。The concept used in modeling the target system is defined as follows.
【0018】「状態」とは、装置状態・状況・システム
の状態からなるものである。 ・「装置状態」とは、対象システムを構成する個々の装
置の稼働状態をいう。 ・「状況」とは、複数の装置の状態の積集合として定義
される複合状態をいう。 ・「システムの状態」とは、対象システムを構成するす
べての装置の装置状態の積集合をいう。The "status" is composed of a device status, a status, and a system status. -"Device status" refers to the operating status of each device constituting the target system. "Situation" refers to a composite state defined as an intersection of the states of a plurality of devices. "System status" refers to the intersection of the device statuses of all devices constituting the target system.
【0019】「イベント」とは、操作・メッセージ・措
置からなるものである。 ・「操作」とは、コンソールに入力される監視者からの
コマンドなど、これ以上分解できない基本的イベントを
いう。 ・「メッセージ」とは、対象システムから自律的にコン
ソールに出力される、対象システムの装置状態の変化を
通知するイベントをいう。 ・「措置」とは、対象システムの運用管理上意味のあ
る、操作とメッセージのシーケンスをいう。An "event" is composed of an operation, a message, and a measure. "Operation" refers to a basic event that cannot be resolved anymore, such as a command from a supervisor input to the console. "Message" refers to an event that is autonomously output from the target system to the console and notifies a change in the device state of the target system. -"Measure" refers to a sequence of operations and messages that is significant in the operation management of the target system.
【0020】次に、前記「状態」及び前記「イベント」
に基づいて、装置状態を推論する方式を説明する。Next, the "state" and the "event"
A method for inferring the device state based on the above will be described.
【0021】最初にイベントの発生時刻の履歴から、装
置状態・状況・システムの状態の各々の時間的順序関係
を求める推論規則を具体的に説明する。装置状態の状態
遷移を引き起こすイベントeについては、生起時間tを
付与したoccur(e,t)なる述語を知識ベースで
管理する。イベントeが時刻t2で生起することを、o
ccur(e,t2)で表現する。イベントeが状態p
1を状態p2に遷移させるイベントであることを、af
fect(e,p1,p2)なる述語で表現する。oc
cur(e,t)は、イベントeが時刻tで生起する度
に知識ベースに宣言する。First, an inference rule for obtaining a temporal sequence relationship among device status, status, and system status from the history of event occurrence times will be specifically described. For an event e that causes a state transition of the device state, a predicate occur (e, t) to which an occurrence time t is added is managed in a knowledge base. It is o that event e occurs at time t2.
ccur (e, t2). Event e is state p
Af is an event that causes 1 to transition to state p2.
It is expressed by a predicate of fact (e, p1, p2). oc
cur (e, t) declares to the knowledge base every time event e occurs at time t.
【0022】装置状態については、時間情報の付与を省
略した述語を知識ベースで管理する。装置状態がpであ
ることをactive(p)なる述語で表現し、装置状
態pがアクティブであると称する。装置状態には時間情
報を付随させず、現時点でアクティブか否かだけを知識
ベースに宣言する。As for the device state, a predicate from which the time information is not added is managed in a knowledge base. The device state p is expressed by a predicate active (p), and the device state p is called active. The time information is not attached to the device state, and only whether or not it is currently active is declared to the knowledge base.
【0023】装置状態の変動の推論は、操作・メッセー
ジ・措置からなるイベントをトリガとする前向き推論で
あり、数式1の装置状態遷移規則で定義する。The inference of the change in the device state is a forward inference triggered by an event composed of an operation, a message, and a measure, and is defined by the device state transition rule of Expression 1.
【0024】数式1 装置状態遷移規則Equation 1 Device state transition rule
【数1】[[active(p1)Λ occur
(e,t)Λ affect(e,p1,p2)Λ n
ot(active(p2))]→[remove(a
ctive(p1))Λ assert(active
(p2))]] ただし、tはこの規則が発火するときの実際の時刻、 remove(p)は知識ベースからpを取り除く操
作、 assert(p)は知識ベースにpを宣言する操作と
する[1] [[active (p 1 ) Λoccur]
(E, t) Λ affect ( e, p 1, p 2) Λ n
ot (active (p 2 ))] → [remove (a
active (p 1 )) Λ assert (active
(P 2 ))]], where t is the actual time when this rule fires, remove (p) is an operation to remove p from the knowledge base, and assert (p) is an operation to declare p in the knowledge base.
【0025】次に、状況の推論方式を説明する。Next, a situation inference method will be described.
【0026】装置状態p1が時区間I1で成り立ち、装
置状態P2が時区間I2で成り立つとき、装置状態p1
と装置状態p2から定義される状況Gは、時区間(I1
∩I2)で成り立つものとする。状況は、装置状態を変
更した場合に状況の再計算を行なうことによって更新す
る。このような状態管理のアルゴリズムとしてはTru
th Maintenance System(Doy
le,J.,’’Atruth maintenanc
e system’’,Artificial Int
elligence 12,1979,231−27
2)が知られている。When the device state p 1 holds in the time interval I 1 and the device state P 2 holds in the time interval I 2 , the device state p 1
Status G defined from the device state p 2 and when the interval (I 1
{I 2 ). The status is updated by recalculating the status when the device status changes. Tru is an algorithm for such state management.
the Maintainance System (Doy
le, J .; , '' Atruth maintenanc
e system '', Artificial Int
alliance 12, 1979, 231-27
2) is known.
【0027】状況Gについては、開始時間Tsと終了時
間Teの情報をstart(G,Ts)及びend
(G,Te)という述語により知識ベースで管理する。
対象システムの実時間監視では、障害状態の履歴に意味
があるので、次の手順によりアクティブな装置状態から
定義される状況の開始と終了を知識ベースに宣言する。
このような方法では、任意の時刻tにおける個々の装置
状態は、知識ベースの蓄えられている{occur
(e,t’)}{start(G,t’’)}{end
(G,t’’’)}のデータシーケンスから復元するこ
とができる。As to the situation G, the information of the start time Ts and the end time Te is represented by start (G, Ts) and end.
It is managed in a knowledge base by a predicate (G, Te).
In the real-time monitoring of the target system, since the history of the fault status is significant, the start and end of the status defined from the active device status are declared to the knowledge base by the following procedure.
In such a method, the individual device states at any time t are stored in the knowledge base in the stored {occur
(E, t ') \ start (G, t'') \ end
(G, t ′ ″)}.
【0028】状況Gが装置状態p1,p2,...,p
nの積集合で定義される時、状況Gの生成および削除を
行なうTMS(Truth Maintenance
System)規則の例を数式2、数式3にそれぞれ示
す。数式2の規則は、p1,p2,...,pnの全て
がアクティブになる時刻tに状況Gが開始することを示
す。数式3の規則は、過去の時刻t0に生じた状況Gが
アクティブである場合、装置状態p1,p2,...,
pnのどれかがアクティブでなくなる時刻tに状況Gが
終了することを示す。If the situation G is the device state p 1 , p 2 ,. . . , P
n is defined as the intersection of n , TMS (True Maintance) that creates and deletes the situation G
Examples of the (System) rule are shown in Expressions 2 and 3, respectively. The rule of Equation 2 is that p 1 , p 2 ,. . . , Pn are activated at time t. The rule of Equation 3 is that if the situation G that occurred at the past time t 0 is active, the device states p 1 , p 2 ,. . . ,
Indicates that condition G ends at time t when any of pn becomes inactive.
【0029】数式2 装置状態からの状況開始規則Equation 2 Situation Start Rule from Device Status
【数2】 (Equation 2)
【0030】数式3 装置状態からの状況終了規則Equation 3 Situation termination rule from device status
【数3】 ただし、t0は任意の過去の時刻、tはこの規則が発火
するときの実際の時刻とする。(Equation 3) Here, t 0 is an arbitrary past time, and t is an actual time when this rule fires.
【0031】次に、過去の装置状態を自動的に排除する
手段について説明する。Next, a description will be given of a means for automatically eliminating a past apparatus state.
【0032】上記で述べた状態推論を、長時間のシステ
ム状態の監視作業に応用する場合、手動でしか除去でき
ない状態は知識ベースに溜まり続けるので、知識ベース
の使用可能な記憶容量は時間に比例して減少する。これ
を一定に保つため、知識ベースで扱う時間推論の幅をT
maxを定め、現時刻tから(t−Tmax)までの時
間範囲に関する知識を扱うこととし、この範囲から外れ
る過去のシステム状態やイベントに関する記憶は知識ベ
ースから自動的に排除する。その削除手続きを以下に説
明する。When the above-described state inference is applied to a long-term system state monitoring operation, states that can only be removed manually remain in the knowledge base, and the available storage capacity of the knowledge base is proportional to time. And decrease. In order to keep this constant, the width of time inference handled in the knowledge base is set to T
Max is determined, and knowledge about the time range from the current time t to (t-Tmax) is handled, and memories relating to past system states and events outside this range are automatically excluded from the knowledge base. The deletion procedure will be described below.
【0033】数式4の規則は、イベントeの発生時刻t
0が、知識ベースで扱う時間範囲を越えた場合に知識ベ
ースから削除することを示す。数式5の規則は、過去の
時刻t0に生じた装置状態pがアクティブであり、かつ
時刻t0が知識ベースで扱う時間範囲を越えていて、か
つイベントeが時刻t0に発生し、かつ時刻t0以降に
装置状態p1から装置状態p2への遷移を引き起こすイ
ベントeが発生していないときに、装置状態をp1に戻
す。数式6の規則は、知識ベースで扱う時間範囲以前に
終了している状況Gを削除することを示す。The rule of Equation 4 is that the occurrence time t of event e
0 indicates that when the time range handled by the knowledge base is exceeded, it is deleted from the knowledge base. The rule of Equation 5 is that the device state p generated at the past time t 0 is active, the time t 0 exceeds the time range handled by the knowledge base, and the event e occurs at the time t 0 , and when the time t 0 after the cause transition from the apparatus state p 1 to the device state p 2 event e is not generated, returning the device state to p 1. The rule of Equation 6 indicates that the situation G that has ended before the time range handled by the knowledge base is deleted.
【0034】時刻t0で開始された状況Gが、観測不能
イベントのために終了しないままの状態で、知識ベース
で扱う時間範囲を超えてしまう場合にも、論理的に不要
な状況Gを以下の手続きにより削除することができる。
まず、数式5の装置状態回復規則によって装置状態が復
元されるため、数式2の左辺の状況Gの開始条件が満た
されなくなり、数式3の規則により状況Gの終了が宣言
される。ここで、数式6の規則を適用して、状況Gを知
識ベースから削除する。The time t 0 situation G, which was started in is, in a state that does not end for unobservable events, even in the case it exceeds the time range to be handled in the knowledge base, following the logical unwanted situation G It can be deleted by the procedure of.
First, since the apparatus state is restored by the apparatus state recovery rule of Equation 5, the start condition of the situation G on the left side of Equation 2 is not satisfied, and the end of the situation G is declared by the rule of Equation 3. Here, the situation G is deleted from the knowledge base by applying the rule of Expression 6.
【0035】数式4 知識ベースが扱う時間範囲を超え
たイベントの削除規則Equation 4 Rule for Deleting Events Exceeding Time Range Handled by Knowledge Base
【数4】[occur(e,t0)Λ((t−t0)〉
Tmax)→remove(occur(e,
t0))][Number 4] [occur (e, t 0) Λ ((t-t 0)>
Tmax) → remove (occur (e,
t 0 ))]
【0036】数式5 装置状態回復規則Equation 5 Device Status Recovery Rule
【数5】[occur(e,t0)Λ((t−t0)〉
Tmax)Λactive(p2) Λ affect(e,p1,p2)Λ not(ac
tive(p1))Λ not(exists t
1[affect(e,p1,p2)Λoccur
(e,t1)Λ(t1〉t0)])→remove(a
ctive(p2))Λ assert(active
(p1))][Number 5] [occur (e, t 0) Λ ((t-t 0)>
Tmax) Λactive (p 2 ) Λeffect (e, p 1 , p 2 ) Λnot (ac
five (p 1 )) Λnot (existst
1 [effect (e, p 1 , p 2 )} occur
(E, t 1 ) Λ (t 1 > t 0 )]) → remove (a
active (p 2 )) Λ assert (active
(P 1 ))]
【0037】数式6 知識ベースが扱う時間範囲を超え
た状況の削除規則Expression 6: Rule for deleting a situation beyond the time range handled by the knowledge base
【数6】[start(G,t0)Λ end(G,t
1)Λ((t−t1)〉Tmax)→remove(s
tart(G,t0))Λ remove(end
(G,t1))] ただし、t0,t1は任意の過去の時刻、tはこの規則
が発火するときの実際の時刻とする[Start (G, t 0 ) Λend (G, t
1 ) Λ ((t−t 1 )> Tmax) → remove (s
start (G, t 0 )) Λ remove (end
(G, t 1 ))], where t 0 and t 1 are arbitrary past times, and t is an actual time when this rule fires.
【0038】[0038]
【実施例】図1に、本発明のエキスパートシステムの構
成に基づく、電子交換機の運用管理支援エキスパートシ
ステムの実施例を示す。FIG. 1 shows an embodiment of an operation management support expert system for an electronic exchange based on the configuration of the expert system of the present invention.
【0039】図1において、1は交換機、2は交換機と
エキスパートシステム間のデータの送受を行なうメッセ
ージ入出力装置、3は交換機からのメッセージをパケッ
ト化するメッセージ処理部、4はメッセージ処理部・装
置状態推論部・コマンド処理部の間でのイベント送受の
タイミングを監視し推論のための内部表現を作り出すイ
ベント監視生成部、5はイベント監視生成部によって知
識ベースに宣言されるイベントの内部表現をもとにイベ
ントによって引き起こされる装置状態や状況の推論を行
なう状況処理部、6は状況処理部で生成された状況にお
いて障害回避のための措置手順を検索する措置検索部、
7は状況処理部と措置検索部とから構成される装置状態
推論部、8はイベント監視生成部、状況処理部、措置検
索部から表示情報を受け取り画面出力を行なう画面出力
装置、9は運用者が入力するコマンドをパケット化する
コマンド処理部、10は運用者がコマンド入力するため
のコマンド入力装置、11は運用者である。In FIG. 1, 1 is an exchange, 2 is a message input / output device for transmitting and receiving data between the exchange and the expert system, 3 is a message processing unit for packetizing messages from the exchange, and 4 is a message processing unit and device. An event monitor generation unit that monitors the timing of event transmission and reception between the state inference unit and the command processing unit and creates an internal expression for inference, and 5 also has an internal expression of an event declared in the knowledge base by the event monitor generation unit. A situation processing unit for inferring a device state or a situation caused by an event; 6 a measure search unit for searching for a measure procedure for avoiding a failure in the situation generated by the situation processing unit;
7 is a device state inference unit composed of a situation processing unit and a measure search unit, 8 is a screen output device that receives display information from the event monitor generation unit, the situation processing unit, and the measure search unit and outputs a screen, and 9 is an operator Is a command processing unit for packetizing a command input by the operator, 10 is a command input device for the operator to input a command, and 11 is an operator.
【0040】エキスパートシステムは交換機3と運用者
10の間に位置し、交換機3からのメッセージと運用者
10からのコマンドとを監視する。The expert system is located between the exchange 3 and the operator 10 and monitors a message from the exchange 3 and a command from the operator 10.
【0041】コマンド処理部9とメッセージ処理部3は
テキストデータをフォーマット解析し、その結果をパケ
ット化するためのモジュールで、構文解析部と字句解析
部とから構成される。The command processing unit 9 and the message processing unit 3 are modules for format-analyzing text data and packetizing the results, and include a syntax analysis unit and a lexical analysis unit.
【0042】図2にメッセージ処理部の構成図を示す。
図2において、21は構文解析部、22は字句解析部で
あり、23はメッセージ処理部である。メッセージ処理
部23はメッセージ入出力装置を介して交換機からのメ
ッセージを受け取り、これをパケット化してイベント監
視生成部に送る。FIG. 2 shows a configuration diagram of the message processing unit.
In FIG. 2, reference numeral 21 denotes a syntax analysis unit, 22 denotes a lexical analysis unit, and 23 denotes a message processing unit. The message processing unit 23 receives a message from the exchange via the message input / output device, packetizes the message, and sends it to the event monitoring and generation unit.
【0043】図3にコマンド処理部の構成図を示す。図
3において、31は構文解析部、32は字句解析部であ
り、33は処理部である。コマンド処理部9はコマンド
入力装置を介して運用者10からのコマンドを受け取
り、これをパケット化してイベント監視生成部4に送
る。FIG. 3 shows a configuration diagram of the command processing unit. In FIG. 3, reference numeral 31 denotes a syntax analysis unit, 32 denotes a lexical analysis unit, and 33 denotes a processing unit. The command processing unit 9 receives a command from the operator 10 via the command input device, packetizes the command, and sends the packet to the event monitoring generation unit 4.
【0044】イベント監視生成部4は、メッセージ処理
部3とコマンド処理部9から送られてくるパケットを監
視しており、パケットを受けとると、以下の順序で処理
を行なう。(1)パケットを「メッセージ」または「操
作」としての内部表現に変換し知識ベースに登録する。
この時点で、時刻tに観測されたイベントeについての
内部表現occur(e,t)が生成され、知識ベース
内で時間更新が行われる。(2)イベントのパラメータ
の意味を解析し、その結果を画面出力装置に送るThe event monitoring / generating unit 4 monitors packets sent from the message processing unit 3 and the command processing unit 9, and upon receiving the packets, performs the processing in the following order. (1) Convert a packet into an internal representation as a "message" or "operation" and register it in the knowledge base.
At this point, an internal representation occur (e, t) for event e observed at time t is generated and time updated in the knowledge base. (2) Analyze the meaning of the event parameters and send the result to the screen output device
【0045】装置状態推論部の状況処理部は、以下の順
序で処理を行う。 (1)イベントによって引き起こされる装置状態の変化
を、状態遷移規則に従って計算する。 (2)装置状態の更新によって引き起こされる状況の変
化をTruth Maintenance Syste
mで再計算する。 (3)前記イベント監視生成部における知識ベース内の
時間更新によって、知識ベースが扱う時間範囲の外にあ
るイベントや状況を検索し、知識ベースから削除する。The status processing unit of the device state inference unit performs processing in the following order. (1) Calculate a change in device state caused by an event according to a state transition rule. (2) A change in the situation caused by the update of the device state is determined by the Truth Maintenance System.
Recalculate with m. (3) By updating the time in the knowledge base in the event monitoring and generation unit, an event or a situation outside the time range handled by the knowledge base is searched and deleted from the knowledge base.
【0046】装置状態推論部7の措置検索部6は、状況
処理部5で計算されたアクティブな装置状態と状況を検
索のキーとして適用すべき措置手順の検索を行ない、検
索結果を画面出力装置に送る。交換機運用管理の措置手
順は、装置状態や状況を条件部とする規則の結論部とし
て知識ベース中に蓄えられている。The action search section 6 of the apparatus status inference section 7 searches for an action procedure to be applied using the active apparatus status and status calculated by the status processing section 5 as search keys, and displays the search results on a screen output device. Send to The procedure of the switch operation management is stored in the knowledge base as the conclusion part of the rule that uses the equipment status and status as a condition part.
【0047】[0047]
【発明の効果】本発明の実時間監視型エキスパートシス
テムでは、イベント監視生成部の監視機能と装置状態推
論部の状態推定機能の分散処理構成がとられており、イ
ベント監視生成部は、イベントとその生起時間の情報だ
け装置状態推定部へ通知すれば良く、負荷も軽いため、
状態変動が頻繁な対象システムに対しても高速な追従機
能を実現できる。According to the real-time monitoring type expert system of the present invention, a distributed processing configuration of the monitoring function of the event monitoring and generation unit and the state estimation function of the device state inference unit is adopted. Only the information on the occurrence time needs to be notified to the device state estimating unit, and the load is light.
A high-speed follow-up function can be realized even for a target system whose status changes frequently.
【0048】また、本発明の装置状態推論部は、時間的
な制約条件も含めて対象システムの状態遷移を扱うた
め、装置状態・状況・システムの状態からなる状態と、
操作・メッセージ・措置からなるイベントとに基づく知
識表現を採用し、イベントの生起時間を記録した履歴情
報のみから、他の状態記述間の時間的制約条件を生成す
る推論方式を提供することにより、これまでのエキスパ
ートシステムでは扱いにくかった時間的制約条件を含む
知識を扱うことができる。Further, the device state inference unit of the present invention handles the state transition of the target system including the time constraint, so that the state consisting of the device state / situation / system state is
By adopting a knowledge expression based on events consisting of operations, messages, and measures, and providing an inference method that generates time constraints between other state descriptions from only history information that records the event occurrence time, Expert systems can handle knowledge that includes time constraints that are difficult to handle.
【0049】更に、対象システムを有限状態機械として
論理的にモデル化する際に、対象システムをシミュレー
トするモデル自体の正確さの問題と、運用管理のヒュー
リスティックスの問題とを明確に分離したモデル化を行
うことにより、対象システムおよび運用管理に関するそ
れぞれの知識について、汎用の規則により無駄な状態、
冗長な状態、矛盾する状態の検出・削除を行うため、知
識ベースのデバッグが容易となる。Further, when the target system is logically modeled as a finite state machine, the problem of the accuracy of the model itself for simulating the target system and the problem of the heuristics of operation management are clearly separated. By doing, the knowledge about the target system and the operation management, wasteful state by general rules,
Detecting and deleting redundant and inconsistent states facilitates debugging of the knowledge base.
【0050】また、本発明の装置状態推論部では、イベ
ントの発生事項の履歴から、該時間幅から外れるイベン
トを削除する際に、観測されなかったイベントによって
生じた装置状態を以前の状態に回復することにより知識
ベースと現実の状態の不一致を解消するため、長時間の
連続監視において知識ベースと現実の状態の不一致が増
大することを防ぐことができる。Further, the apparatus state inference unit of the present invention recovers the apparatus state caused by an unobserved event to the previous state when deleting an event out of the time range from the history of event occurrence items. By doing so, the inconsistency between the knowledge base and the actual state is eliminated, so that it is possible to prevent an increase in the inconsistency between the knowledge base and the actual state in continuous monitoring for a long time.
【図1】本発明のエキスパートシステムの構成方法にも
とづく、「電子交換機の運用管理支援エキスパートシス
テム」の実施例である。FIG. 1 is an embodiment of an “operation management support expert system for an electronic exchange” based on a method of configuring an expert system according to the present invention.
【図2】図1に示す電子交換機の運用管理支援エキスパ
ートシステムのメッセージ処理部の構成図である。FIG. 2 is a configuration diagram of a message processing unit of the operation management support expert system of the electronic exchange shown in FIG. 1;
【図3】図1に示す電子交換機の運用管理支援エキスパ
ートシステムのコマンド処理部の構成図である。FIG. 3 is a configuration diagram of a command processing unit of the operation management support expert system of the electronic exchange shown in FIG. 1;
1 交換機 2 メッセージ入出力装置 3 メッセージ処理部 4 イベント監視生成部 5 状況処理部 6 措置検索部 7 装置状態推論部 8 画面出力装置 9 コマンド処理部 10 コマンド入力装置 11 運用者 REFERENCE SIGNS LIST 1 switch 2 message input / output device 3 message processing unit 4 event monitoring / generation unit 5 status processing unit 6 measure search unit 7 device state inference unit 8 screen output device 9 command processing unit 10 command input device 11 operator
フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 9/44Continuation of front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 9/44
Claims (3)
の状態を実時間で推論する実時間監視型エキスパートシ
ステムにおいて、 前記装置が前記装置状態の変化を通知するイベントをフ
ォーマット解析するメッセージ処理部と、 前記装置を制御するためのイベントをフォーマット解析
するコマンド処理部と、 前記メッセージ処理部及び前記コマンド処理部によって
フォーマット解析されたイベントから知識ベースの内部
表現を生成するイベント監視生成部と、 前記イベント監視生成部によって生成された前記内部表
現に基づいて、前記装置状態や状況の推論を行う手段
と、前記知識ベースが扱う時間範囲を超えた前記イベン
トを削除するイベント削除規則手段と、前記知識ベース
が扱う時間範囲を超えた時に状態変化前の前記装置状態
に戻すための装置状態回復規則手段と、前記知識ベース
で扱う時間範囲を超えた前記状況を削除する状況削除規
則手段とを有する状況処理部と、 前記状況処理部で推論された前記装置状態及び状況から
障害回避のための措置手順の検索を行う措置検索部と、 前記措置検索部によって検索された措置手順を出力する
出力部とを有しており、 前記出力部から出力された前記措置手順に従ったコマン
ドが、前記コマンド処理部と前記イベント監視生成部と
を介して前記装置を制御すると共に、前記措置検索部に
通知されるように構成されていることを特徴とする実時
間監視型エキスパートシステム。1. A real-time monitoring expert system for inferring a state of a target system composed of a plurality of devices in real time, a message processing unit for format-analyzing an event in which the device notifies a change in the device state. A command processing unit that format-analyzes an event for controlling the device; an event monitoring generation unit that generates an internal representation of a knowledge base from the event that is format-analyzed by the message processing unit and the command processing unit; A means for inferring the device state or situation based on the internal expression generated by a monitoring generation unit; an event deletion rule means for deleting the event exceeding a time range handled by the knowledge base; and the knowledge base. Return to the device state before the state change when the time range A status processing unit having a status deletion rule unit for deleting the status exceeding the time range handled by the knowledge base; and a device status and a status inferred by the status processing unit. It has a measure search unit for searching for measure procedures for avoiding obstacles, and an output unit for outputting the measure procedure searched by the measure search unit, according to the measure procedure output from the output unit. A real-time monitoring type expert system, wherein the command is controlled so as to control the device via the command processing unit and the event monitoring generation unit, and to be notified to the measure searching unit. .
なくなった時点t1が前記時間範囲Tmax内に存在す
る場合に、前記知識ベースから、前記状況Gが成立した
時点t0から該時点t1までの該状況Gを定義する個々
の装置状態を引き起こした全てのイベントは、前記イベ
ント削除規則手段により削除され、前記状況Gは前記状
況削除規則手段で削除されるように構成されていること
を特徴とする請求項1に記載の実時間監視型エキスパー
トシステム。Wherein said status processing unit, when the time t 1 to the situation G is no longer satisfied exists in the time range Tmax, said from the knowledge base, from the time t 0 when the status G is satisfied all events that caused the individual device status defining the status G up to the time t 1, the deleted by the event delete rule means, said status G is configured to be deleted in the status delete rule means 2. The real-time monitoring type expert system according to claim 1, wherein:
しているイベントが前記知識ベースが扱う時間範囲を超
え、かつ該時間範囲内に他の装置状態から前記装置状態
へ遷移させるようなイベントが発生していない場合に、
前記装置状態を状態遷移以前の装置状態に戻すように構
成されていることを特徴とする請求項1に記載の実時間
監視型エキスパートシステム。3. The status processing unit according to claim 1, wherein the event generating the device state exceeds a time range handled by the knowledge base, and transitions from another device state to the device state within the time range. If no event has occurred,
The real-time monitoring type expert system according to claim 1, wherein the device state is configured to return to the device state before the state transition.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2411741A JP2822673B2 (en) | 1990-12-19 | 1990-12-19 | Real-time monitoring expert system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2411741A JP2822673B2 (en) | 1990-12-19 | 1990-12-19 | Real-time monitoring expert system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04218837A JPH04218837A (en) | 1992-08-10 |
| JP2822673B2 true JP2822673B2 (en) | 1998-11-11 |
Family
ID=18520689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2411741A Expired - Fee Related JP2822673B2 (en) | 1990-12-19 | 1990-12-19 | Real-time monitoring expert system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2822673B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61133405A (en) * | 1984-12-03 | 1986-06-20 | Hitachi Ltd | Processing system of rule |
| JP2785302B2 (en) * | 1989-02-27 | 1998-08-13 | 株式会社明電舎 | Expert system knowledge base management system. |
-
1990
- 1990-12-19 JP JP2411741A patent/JP2822673B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| 「情報処理学会第39回(平成元年後期)全国大会講演論文集」「明電時報」NO.211(1990−6)p.42−46 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04218837A (en) | 1992-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7552447B2 (en) | System and method for using root cause analysis to generate a representation of resource dependencies | |
| US6938082B2 (en) | Method for controlling managing computer, medium for storing control program, and managing computer | |
| CN102822850B (en) | Operating Ratio supervision method and job managing apparatus | |
| CN110633189B (en) | Intelligent operation and maintenance monitoring method and intelligent operation and maintenance monitoring system of IT system | |
| CN111629043A (en) | A cloud-based cross-platform health management system | |
| Sasi et al. | Detectability of networked discrete event systems | |
| CN111414202B (en) | Hardware operation management method, system, management subsystem, electronic device and storage medium | |
| JPH0749712A (en) | Equipment maintenance management device | |
| Cleland-Huang et al. | Breaking the big-bang practice of traceability: Pushing timely trace recommendations to project stakeholders | |
| JP2006510982A (en) | Method for managing metrics for use on diagnostic medical modalities, and apparatus and methods for performing medical investigations | |
| CN107153568A (en) | System and method for operating virtual electric power environment | |
| JP2822673B2 (en) | Real-time monitoring expert system | |
| CN112685247B (en) | Alarm suppression method and monitoring system based on Zabbix monitoring system | |
| JP2014228932A (en) | Failure notification device, failure notification program, and failure notification method | |
| Singh et al. | Modeling and prediction of performability of safety critical computer based systems using Petri nets | |
| WO2016071974A1 (en) | Remote control device and control system | |
| Mishra et al. | Model based approach for autonomic availability management | |
| Weiss et al. | ANSWER: network monitoring using object-oriented rules | |
| CN114676021A (en) | Job log monitoring method, apparatus, computer device and storage medium | |
| Bae et al. | A version management of business process models in bpms | |
| CN109271301A (en) | A kind of monitoring method and equipment of learning tasks | |
| Aissani et al. | Dynamic control for safety system multi-agent system with case-based reasoning | |
| JPH08181693A (en) | Network failure countermeasure management device | |
| JPH0512043A (en) | Unix system resource monitor system | |
| White et al. | The Expert Advisor: An Expert System for Real Time Network Monitoring |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19971216 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19980804 |
|
| LAPS | Cancellation because of no payment of annual fees |