JPH07262014A - Diagnostic type expert system - Google Patents

Diagnostic type expert system

Info

Publication number
JPH07262014A
JPH07262014A JP6051489A JP5148994A JPH07262014A JP H07262014 A JPH07262014 A JP H07262014A JP 6051489 A JP6051489 A JP 6051489A JP 5148994 A JP5148994 A JP 5148994A JP H07262014 A JPH07262014 A JP H07262014A
Authority
JP
Japan
Prior art keywords
diagnostic
inference
data
stored
pattern
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
JP6051489A
Other languages
Japanese (ja)
Inventor
Kazuhiro Okamoto
一弘 岡本
Takahiro Nakadai
高宏 中台
Nobuhiro Onodera
伸浩 小野寺
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP6051489A priority Critical patent/JPH07262014A/en
Publication of JPH07262014A publication Critical patent/JPH07262014A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To efficiently reduce the amount of input data to an inferring mecha nism by providing an adjusting mechanism for adjusting the confidence degree of diagnostic rules to be used for the inferring mechanism while using the in ferred result stored in a storage means. CONSTITUTION:An inferring mechanism 43 decides diagnostic contents by executing inference while referring to the analyzed result stored in a pattern analyzed data storage part 42 and using the diagnostic rules stored in a diagnostic rule storage device 3. The decided diagnostic contents are stored in a diagnosed result storage device 5. At such a time, an inference record corresponding to an inference record storage device 6 is stored as well. Concerning the real fault cause of the newly stored inference record, an input is received from a terminal equipment 8 and while considering the item of the inference record completed as a result, a diagnostic rule adjusting device 7 adjusts the value of the confidence degree of diagnostic rules stored in the diagnostic rule storage device 3. Thus, processing time required for inference can be shortened.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、診断対象となる機構お
よび装置の状態に関する履歴データを入力とし、診断対
象の状態等を推論機構を用いて診断する診断型エキスパ
ートシステムに係り、特に個々の履歴データ自体よりも
一連のデータ列あるいはパターンとして意味を持つ履歴
データを扱う診断型エキスパートシステムに関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic type expert system for inputting history data concerning the state of a mechanism and an apparatus to be diagnosed and diagnosing the state of the object to be diagnosed by using an inference mechanism. The present invention relates to a diagnostic expert system that handles history data that has a meaning as a series of data strings or patterns rather than the history data itself.

【0002】[0002]

【従来の技術】従来、ある対象の状態を示すさまざまな
数値や指標からその対象に関する異常の有無や対象の取
扱い方法を診断するシステムは、装置の故障診断システ
ムや企業の経営診断システムを始めとして、多種多様な
分野で構築されている。
2. Description of the Related Art Conventionally, a system for diagnosing whether or not there is an abnormality in a target and how to handle the target based on various numerical values and indexes indicating the state of the target is typified by a device failure diagnosis system or a corporate management diagnosis system. , Built in a wide variety of fields.

【0003】この種のシステムは、対象分野の専門家が
行ってきた診断時の判断の基準を診断システムのプログ
ラム中に埋め込み、専門家が行う場合と同様の診断を実
現しようとするものであり、診断対象の状態を示す数値
や指標などのデータをシステム利用者との応答や装置に
取り付けたセンサから収集し、その収集したデータに基
づいて診断対象である装置の故障診断やある企業の経営
状態を診断するものである。
This type of system is intended to realize the same diagnosis as that carried out by a specialist by embedding the criteria of judgment at the time of diagnosis made by a specialist in the target field into the program of the diagnostic system. , Collects data such as numerical values and indexes indicating the condition of the diagnosis target from the response to the system user or the sensor attached to the device, and based on the collected data, the failure diagnosis of the device to be diagnosed and the management of a certain company It diagnoses the condition.

【0004】このようなシステムにおいて、専門家と同
様の判断を実現するためには、推論機構を持ったルール
ベースのシステムを構築するのが一般的である。また、
ルールベースの推論は、入力として与えるデータの量の
増加に対して推論に必要な処理時間の増大が非常に大き
いという性質を持っている。そこで、状態を示すデータ
が大量にある診断対象については、推論処理に必要なデ
ータのみを抽出し、それを推論機構に対する入力とす
る。これによって、推論機構に対する入力データの量を
低減し、推論の処理時間を短縮することができる。
In such a system, in order to realize a judgment similar to that of an expert, it is general to construct a rule-based system having an inference mechanism. Also,
Rule-based reasoning has the property that the processing time required for reasoning increases significantly with the increase in the amount of data given as input. Therefore, for a diagnosis target having a large amount of data indicating the state, only the data necessary for the inference processing is extracted and used as the input to the inference mechanism. As a result, the amount of input data to the inference mechanism can be reduced and the inference processing time can be shortened.

【0005】これに関連する公知例としては、例えば特
開平2−213943号公報に、診断対象に関する計測
量の特徴を抽出する機構を用いて診断を行う手法が記載
されている。
As a publicly known example related to this, for example, Japanese Patent Laid-Open No. 2-213943 describes a method of making a diagnosis by using a mechanism for extracting the characteristics of the measured quantity related to the diagnosis target.

【0006】一方、ルールベースの推論を柔軟に行うた
めに確信度という概念が用いられる。これは、ルールの
条件部と実行部に記述する事実に対して付けられるその
確からしさを示す値であり、これを用いることによって
絶対的ではない事実間の関係を取り入れて推論を行うこ
とができる。しかし、システム構築の際に、これを適切
に設定することは難しい。従って、推論を行った結果を
利用して確信度を調整する方法をとることもある。
On the other hand, the concept of certainty factor is used to flexibly perform rule-based inference. This is a value that indicates the certainty given to the facts described in the conditional part and the execution part of the rule. By using this, it is possible to take inferences by incorporating the relation between facts that is not absolute. . However, it is difficult to set this properly when constructing the system. Therefore, the method of adjusting the certainty factor may be used by utilizing the result of the inference.

【0007】これに関連する公知例としては、例えば特
開平2−284538号公報に、ネットワークの障害診
断を対象として障害解析処理の履歴を記憶し、その正解
率から確信度の計算方法を変更する手法が記載されてい
る。
As a known example related to this, for example, in Japanese Patent Laid-Open No. 2-284538, a history of failure analysis processing is stored for the purpose of network failure diagnosis, and the confidence factor calculation method is changed from the correct answer rate. The method is described.

【0008】[0008]

【発明が解決しようとする課題】診断対象に関するデー
タの特徴を抽出する方法としては、従来、以下の処理方
法のいずれかが採用されている。
Conventionally, one of the following processing methods has been adopted as a method for extracting the characteristics of data relating to a diagnosis target.

【0009】(1)データ中から必要な項目をそのまま
抜き出す。
(1) Extract necessary items as they are from the data.

【0010】(2)データ中からいくつかの項目を取上
げ、それらを元にした数値計算で特徴量を求める。
(2) Some items are picked up from the data, and the characteristic amount is obtained by numerical calculation based on them.

【0011】先の特開平2−213943号公報に記載
の手法も、以上の処理方法を採用している。ここで用い
ているニューロコンピュータによる方法は、(2)の処
理方法の一種と考えることができる。
The above-mentioned processing method is also adopted in the method described in the above-mentioned Japanese Patent Laid-Open No. 2-213943. The method using the neuro computer used here can be considered as a kind of the processing method of (2).

【0012】しかしながら、この手法は、ある手順で動
作する機器の動作を記録した履歴データからその動作状
態を診断するというような場合には有効ではない。これ
は、履歴データ中の個々のデータがそれぞれとしてより
も一連のデータの列あるいはパターンとして意味を持つ
ことが多いからである。
However, this method is not effective in the case of diagnosing the operating state from the history data recording the operation of the device operating in a certain procedure. This is because the individual data in the historical data often has more meaning as a series or sequence of data than as each.

【0013】また、上記のニューロコンピュータによる
方法では、データの列を入力として特徴量を求めること
は可能であるが、診断結果の精度を上げることが難し
く、また精度を上げるためには学習に要するコストも高
くなる。
In the above method using a neuro computer, it is possible to obtain a feature quantity by using a data string as an input, but it is difficult to improve the accuracy of the diagnosis result, and learning is required to improve the accuracy. The cost is also high.

【0014】さらに、履歴データを用いた診断を行う場
合、先の特開平2−284538号公報に記載の手法を
用いて確信度を調整しようとすると、結果を導いた前提
と成るルール(すなわち確信度を調整すべきルール)を
絞ることが難しく、適用が困難である。
Furthermore, in the case of making a diagnosis using history data, if an attempt is made to adjust the certainty factor by using the method described in Japanese Patent Laid-Open No. 2-284538, a rule which is a premise for deriving a result (that is, certainty factor) It is difficult to narrow down the rules that should be adjusted, and it is difficult to apply.

【0015】本発明の目的は、履歴データのようにデー
タの列としての意味が重要なデータを用いる場合につい
ても推論機構に対する入力データの量を効率良く低減
し、さらに診断の精度を向上させることができる診断型
エキスパートシステムを提供することである。
An object of the present invention is to efficiently reduce the amount of input data to the inference mechanism even when data such as history data whose meaning as a string of data is important is used, and further improve the accuracy of diagnosis. It is to provide a diagnostic expert system capable of performing.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、履歴データの中に予め定めた複数のデー
タパターンの中の一部分を含むデータ列が存在するか否
かを解析し、存在する時はそのデータ列の中の最後の履
歴データおよび該当するデータパターンの番号から成る
解析結果を推論機構に入力するデータパターン解析手段
と、推論機構による診断結果を格納する格納手段と、こ
の格納手段に格納された推論結果を用いて推論機構が用
いる診断ルールの確信度を加減する調整機構とを備える
ことを特徴とする。
In order to achieve the above object, the present invention analyzes whether or not a history data includes a data sequence including a part of a plurality of predetermined data patterns. , If present, data pattern analysis means for inputting the analysis result consisting of the last history data in the data string and the number of the corresponding data pattern to the inference mechanism, and storage means for storing the diagnostic result by the inference mechanism, An adjusting mechanism for adjusting the certainty factor of the diagnostic rule used by the inference mechanism by using the inference result stored in the storage means.

【0017】[0017]

【作用】上記手段によると、履歴データとして発生し得
る複数のデータパターンを予め用意しておき、このデー
タパターンと実際に発生した履歴データとを照合するこ
とにより、履歴データの中に予め定めた複数のデータパ
ターンの中の一部分を含むデータ列が存在するか否かを
解析し、存在する時はそのデータ列の中の最後の履歴デ
ータおよび該当するデータパターンの番号から成る解析
結果を推論機構に入力する。
According to the above means, a plurality of data patterns which can be generated as history data are prepared in advance, and the data patterns are collated with the history data actually generated, whereby the history data is predetermined. Analyzes whether or not there is a data string that contains a part of multiple data patterns, and if there is, a reasoning mechanism based on the analysis result consisting of the last history data in the data string and the number of the corresponding data pattern. To enter.

【0018】そして、推論機構で行った推論結果を蓄積
しておき、この蓄積内容を所定の計算式に当てはめるこ
とにより、推論機構で使用する診断ルールの確信度を加
減する。
Then, the inference result obtained by the inference mechanism is accumulated, and the accumulated content is applied to a predetermined calculation formula to adjust the certainty factor of the diagnostic rule used in the inference mechanism.

【0019】このように履歴データをデータパターン番
号に置き換えて推論機構に与えるようにすることによ
り、推論機構に対する入力データ量を低減し、推論に要
する処理時間を短縮することが可能になる。さらに、推
論記録もコンパクトに納めることができ、より高速に確
信度の調整による推論精度の向上を図ることが可能にな
る。
By replacing the history data with the data pattern number and supplying it to the inference mechanism in this manner, the amount of input data to the inference mechanism can be reduced and the processing time required for the inference can be shortened. Further, the inference record can be stored compactly, and the inference accuracy can be improved by adjusting the confidence factor at a higher speed.

【0020】[0020]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0021】図1は、本発明の診断型エキスパートシス
テムの一実施例を示すブロック図である。この実施例の
システムは、履歴データ格納装置1、履歴データパター
ン格納装置2、診断ルール格納装置3、診断装置4、診
断結果格納装置5、推論記録格納装置6、診断ルール調
整装置7および端末装置8で構成される。
FIG. 1 is a block diagram showing an embodiment of the diagnostic expert system of the present invention. The system of this embodiment includes a history data storage device 1, a history data pattern storage device 2, a diagnostic rule storage device 3, a diagnostic device 4, a diagnostic result storage device 5, an inference record storage device 6, a diagnostic rule adjustment device 7, and a terminal device. It is composed of 8.

【0022】このうち診断装置4は、パターン解析部4
1、パターン解析データ記憶部42および推論機構43
から成っている。
Of these, the diagnostic device 4 includes a pattern analysis unit 4
1. Pattern analysis data storage unit 42 and inference mechanism 43
Made of.

【0023】履歴データ格納装置1には、図2のよう
に、診断対象の機器が出力した履歴コード20が発生時
刻順に格納されている。例えば、発生時刻18時03分
15秒、履歴コードA2、あるいは発生時刻18時03
分17秒、履歴コードC1、などの情報が発生時刻順に
格納されている。
As shown in FIG. 2, the history data storage device 1 stores the history codes 20 output by the device to be diagnosed in the order of occurrence time. For example, occurrence time 18:03:15, history code A2, or occurrence time 18:03
Information such as minute 17 seconds and history code C1 is stored in the order of occurrence time.

【0024】履歴データパターン格納装置2には、図3
のように、正しく起こり得る履歴コードの発生パターン
30がパターン番号31で区分されて複数組格納されて
いる。例えば、「パターン番号1」として、パターン
「A1→C1orC2→B1orB2→C4→D1or
D2」というパターン32が格納されている。このパタ
ーン32は、「A1の次にC1かC2が発生し、その次
にB1かB2、その次にC4、最後にD1かD2が発生
する」ことを意味する。
FIG. 3 shows the history data pattern storage device 2.
As described above, a plurality of correctly generated history code generation patterns 30 are divided by pattern numbers 31 and stored. For example, as “pattern number 1”, the pattern “A1 → C1orC2 → B1orB2 → C4 → D1or
The pattern 32 "D2" is stored. This pattern 32 means that “C1 or C2 occurs next to A1, then B1 or B2, then C4, and finally D1 or D2”.

【0025】一方、診断ルール格納装置3には、図4の
ように、パターン番号401と終了コード402の組合
せである条件部40と、診断内容を示す結論部41と
に、確信度42を付加した診断ルールがルール番号43
で区分されて格納されている。
On the other hand, in the diagnostic rule storage device 3, as shown in FIG. 4, a certainty factor 42 is added to a condition part 40 which is a combination of a pattern number 401 and an end code 402, and a conclusion part 41 which indicates the diagnostic content. Rule number 43
It is divided and stored in.

【0026】例えば、「ルール番号1」の診断ルール4
4として、「パターン番号1」、「終了コードC1」、
「診断内容『ユニットAの不良』」、「確信度0.7」
といった情報が格納されている。
For example, diagnostic rule 4 of "rule number 1"
4, "pattern number 1", "end code C1",
"Diagnosis content" Unit A failure "", "Confidence level 0.7"
Information such as is stored.

【0027】ここで、「ルール番号1」の診断ルール4
4は、実際に発生した履歴データの中に、「パターン番
号1」のデータ列の一部分を含むデータ列が存在し、そ
のデータ列の終了コードが「C1」である場合は、診断
結果として「ユニットAの不良」という結論を下すこと
を意味し、その診断の確信度は「0.7」であることを
表すものである。
Here, the diagnostic rule 4 of "rule number 1"
No. 4 indicates that the history data actually generated includes a data string including a part of the data string of "pattern number 1", and the end code of the data string is "C1", the diagnostic result is " It means that the unit "A unit is defective" and that the certainty factor of the diagnosis is "0.7".

【0028】以上の構成に係る動作の概要は次の通りで
ある。
The outline of the operation according to the above configuration is as follows.

【0029】まず、診断装置4のパターン解析部41
は、履歴データ格納装置1に格納された履歴データを読
出し、その履歴データ列の中に、履歴データパターン格
納装置2に予め格納された履歴データパターンの中の一
部分を含むデータ列が存在するか否かを調べ、その結果
をパターン解析データ記憶部42に格納する。
First, the pattern analysis unit 41 of the diagnostic device 4
Reads the history data stored in the history data storage device 1, and does the history data sequence include a data sequence including a part of the history data pattern previously stored in the history data pattern storage device 2? It is checked whether or not the result is stored in the pattern analysis data storage unit 42.

【0030】例えば、図2の履歴データの例では、A
2,C1,B1,C3のデータ列は、「パターン番号
2」の履歴データパターンの中の一部分を含んでいるの
で、パターン解析データ記憶部42には、図5のよう
に、該当する履歴データパターンのパターン番号51と
して「2」、該パターンを含む履歴データ列の終端の終
了コード52として「C3」がパターン解析データ番号
1の欄に格納される。
For example, in the example of the history data shown in FIG.
Since the data strings of 2, C1, B1 and C3 include a part of the history data pattern of “pattern number 2”, the pattern analysis data storage unit 42 stores the corresponding history data as shown in FIG. “2” is stored as the pattern number 51 of the pattern, and “C3” is stored as the end code 52 at the end of the history data sequence including the pattern in the column of the pattern analysis data number 1.

【0031】また、A1,C1,B1,C4,D2のデ
ータ列は、「パターン番号1」の履歴データパターンの
中の全部を含んでいるので、パターン解析データ記憶部
42には、図5のように、該当する履歴データパターン
のパターン番号51として「1」、該パターンを含む履
歴データ列の終端の終了コード52として「D2」がパ
ターン解析データ番号2の欄に格納される。
Further, since the data sequence of A1, C1, B1, C4, D2 includes all the history data patterns of "Pattern No. 1", the pattern analysis data storage unit 42 of FIG. As described above, “1” is stored as the pattern number 51 of the corresponding history data pattern, and “D2” is stored as the end code 52 at the end of the history data sequence including the pattern in the column of the pattern analysis data number 2.

【0032】ここで、終了コード52が予め定めた履歴
データパターンの終端コードと一致しないときは、履歴
データを出力する途中で診断対象の機器が異常終了して
いることが考えられるので、その終了コード52が診断
内容決定の大きな手がかりとなり得る。このことを利用
して図4の診断ルールは記述されている。
If the end code 52 does not match the end code of the predetermined history data pattern, it is considered that the device to be diagnosed has abnormally ended during the output of the history data. The code 52 can be a great clue for determining the diagnostic content. The diagnostic rule of FIG. 4 is described by utilizing this fact.

【0033】次に、推論機構43は、パターン解析デー
タ記憶部42に格納された解析結果を参照しながら診断
ルール格納装置3に格納された診断ルールを用いて推論
を行い、診断内容を決定する。決定した診断内容は、診
断結果格納装置5に格納する。
Next, the inference mechanism 43 makes an inference using the diagnostic rule stored in the diagnostic rule storage device 3 while referring to the analysis result stored in the pattern analysis data storage unit 42, and determines the diagnostic content. . The determined diagnosis content is stored in the diagnosis result storage device 5.

【0034】診断結果格納装置5には、図6に示すよう
な診断結果が格納される。例えば、診断内容60として
「ユニットAの不良」という診断結果が格納される。
The diagnostic result storage device 5 stores diagnostic results as shown in FIG. For example, a diagnosis result “defective unit A” is stored as the diagnosis content 60.

【0035】このとき、推論記録格納装置6に対する推
論記録の格納も行われる。推論記録格納装置6には、図
7のように推論記録が格納される。
At this time, the inference record is also stored in the inference record storage device 6. The inference record storage device 6 stores inference records as shown in FIG.

【0036】例えば、「記録番号1」の欄71には、ル
ール番号71として「3」、パターン番号72として
「2」および「1」、終了コード73として「C3」お
よび「D2」、診断内容74として「ユニットAの不
良」、実故障原因75として「ユニットAの不良」とい
う推論記録が格納される。但し、推論実行時の推論記録
の格納の段階では、実故障原因75はまだ格納されな
い。
For example, in the column 71 of "Record No. 1", the rule number 71 is "3", the pattern number 72 is "2" and "1", the end code 73 is "C3" and "D2", and the diagnostic content. An inference record of “defective unit A” is stored as 74, and an inferential record of “defective unit A” is stored as the cause of actual failure 75. However, at the stage of storing the inference record at the time of executing the inference, the actual failure cause 75 is not yet stored.

【0037】診断ルール調整装置7では、新たに格納さ
れた推論記録の実故障原因について端末装置8から入力
を受付け、その結果完成した推論記録の項目を考慮して
診断ルール格納装置3に格納されている診断ルールの確
信度42の値を加減する。
The diagnostic rule adjusting device 7 receives an input from the terminal device 8 regarding the cause of the actual failure of the newly stored inference record, and stores it in the diagnostic rule storage device 3 in consideration of the items of the inference record completed as a result. The value of the certainty factor 42 of the present diagnostic rule is adjusted.

【0038】図8は、診断装置4のパターン解析部41
における履歴データのパターン解析処理の手順を示した
フローチャートである。
FIG. 8 shows the pattern analysis unit 41 of the diagnostic device 4.
5 is a flowchart showing a procedure of a pattern analysis process of history data in FIG.

【0039】パターン解析部41は、照合用のバッファ
レジスタ(図示せず)に格納されているデータ列を空列
に、終了コードを空に初期化し、図3に示した全ての履
歴データパターンを実際の履歴データの候補パターンと
して解析を開始する(ステップ801)。
The pattern analysis unit 41 initializes the data string stored in the buffer register (not shown) for collation to an empty string and the end code to empty, and sets all the history data patterns shown in FIG. Analysis is started as a candidate pattern of actual history data (step 801).

【0040】ここで、履歴データがもうないならば(ス
テップ802)、その時点での候補パターンと終了コー
ドの組合せをパターン解析データ記憶部42に格納し
(ステップ803)、解析処理を終了する。
If there is no more history data (step 802), the combination of the candidate pattern and the end code at that time is stored in the pattern analysis data storage unit 42 (step 803), and the analysis process is ended.

【0041】履歴データがまだあるならば(ステップ8
02でNO)、履歴データの先頭から履歴コードを1つ
取り出し、データ列の末尾に加え、新しいデータ列と候
補パターンの照合を行う(ステップ804)。ここで、
図3の候補パターン集合の中に新しいデータ列とマッチ
する(データ列がパターンで示されるデータ列に含まれ
る)パターンがないならば(ステップ805でNO)、
その時点での候補パターンと終了コードの組合せをパタ
ーン解析データ記憶部42に格納し(ステップ80
6)、初期化の処理(ステップ801)へ戻る。
If history data still exists (step 8)
(NO in 02), one history code is taken out from the beginning of the history data, the new data string is added to the end of the data string, and the candidate pattern is collated (step 804). here,
If there is no pattern that matches the new data string (the data string is included in the data string indicated by the pattern) in the candidate pattern set of FIG. 3 (NO in step 805),
The combination of the candidate pattern and the end code at that time is stored in the pattern analysis data storage unit 42 (step 80).
6) and returns to the initialization process (step 801).

【0042】候補パターンの中に新しいデータ列とマッ
チするパターンがあるならば(ステップ805でYE
S)、マッチしたパターンのみ、その全てを新たな候補
パターン集合の要素とし、新しいデータ列の末尾の履歴
コードを終了コードとする(ステップ807)。
If there is a pattern that matches the new data string in the candidate patterns (YES in step 805).
S), only the matched patterns are used as elements of the new candidate pattern set, and the history code at the end of the new data string is used as the end code (step 807).

【0043】この時、終了コードがパターンの終端コー
ドであるならば(ステップ808でYES)、その時点
での候補パターンと終了コードの組合せをパターン解析
データ記憶部42に格納し(ステップ806)、初期化
の処理(ステップ801)へ戻る。
At this time, if the end code is the end code of the pattern (YES in step 808), the combination of the candidate pattern and the end code at that time is stored in the pattern analysis data storage unit 42 (step 806). The process returns to the initialization process (step 801).

【0044】一方、終了コードがパターンの終端コード
でないならば(ステップ808でNO)、履歴コードの
取り出しとパターンの照合の処理(ステップ804)へ
戻る。
On the other hand, if the end code is not the end code of the pattern (NO in step 808), the process returns to the process of extracting the history code and collating the pattern (step 804).

【0045】図9は、診断装置4の推論機構43におけ
る推論処理の手順を示したフローチャートである。
FIG. 9 is a flow chart showing the procedure of inference processing in the inference mechanism 43 of the diagnostic device 4.

【0046】推論機構43は、パターン解析データ記憶
部42からパターン解析部41による解析結果を読み込
み(ステップ901)、これらのパターン解析データと
条件部40が一致するような診断ルールがあるかどうか
を照合する(ステップ902)。
The inference mechanism 43 reads the analysis result by the pattern analysis unit 41 from the pattern analysis data storage unit 42 (step 901) and determines whether or not there is a diagnostic rule such that these pattern analysis data and the condition unit 40 match. Collation is performed (step 902).

【0047】一致する診断ルールがあれば(ステップ9
03でYES)、該当するルールの結論部41の診断内
容を診断結果として格納し(ステップ904)、ルール
とパターン解析データと診断結果の組を推論記録として
格納し(ステップ905)、推論処理を終了する。
If there is a matching diagnostic rule (step 9)
(YES in 03), the diagnosis content of the conclusion part 41 of the corresponding rule is stored as a diagnosis result (step 904), the set of the rule, the pattern analysis data and the diagnosis result is stored as an inference record (step 905), and the inference process is executed. finish.

【0048】一致する診断ルールがなければ(ステップ
903でNO)、そのまま推論処理を終了する。
If there is no matching diagnostic rule (NO in step 903), the inference process is ended as it is.

【0049】本実施例では、条件を満たす診断ルールと
パターン解析データの組合せが複数発生する場合もある
が、その場合には複数の診断内容を結果として出力する
か、ここに示された条件以外に関するルールによって、
それらの中から最も可能性の高い診断を下すような診断
内容を選択することになる。
In this embodiment, there may be a plurality of combinations of diagnostic rules and pattern analysis data that satisfy the conditions. In that case, a plurality of diagnostic contents are output as a result, or conditions other than those shown here are output. By the rules regarding
Among them, the diagnostic content that makes the most probable diagnosis will be selected.

【0050】また、そのような際には、パターン解析の
結果だけでなく、元の履歴データの一部やパターン解析
以外の方法で抽出したデータを推論に用いる方法も考え
られる。
In such a case, not only the result of the pattern analysis but also a method of using a part of the original history data or the data extracted by a method other than the pattern analysis for inference can be considered.

【0051】図10は、診断ルール調整装置7における
ルールの確信度の調整手順を示したフローチャートであ
る。
FIG. 10 is a flow chart showing the procedure for adjusting the certainty factor of a rule in the diagnostic rule adjusting device 7.

【0052】診断ルール調整装置7は、実故障原因が格
納されていない推論記録について端末装置8から実故障
原因の入力を受付け(ステップ1001)、その結果完
成した推論記録の項目を考慮して診断ルール格納装置3
に格納されている診断ルールの確信度の値を加減する
(ステップ1002)。
The diagnostic rule adjusting device 7 receives the input of the cause of the actual failure from the terminal device 8 for the inference record in which the cause of the actual failure is not stored (step 1001), and diagnoses in consideration of the items of the inference record completed as a result. Rule storage device 3
The value of the certainty factor of the diagnostic rule stored in is added or subtracted (step 1002).

【0053】ここでは、新しい確信度の算出のために、
X1=X0+(P−X0)/10という式を用いてい
る。
Here, in order to calculate a new confidence factor,
The formula of X1 = X0 + (P−X0) / 10 is used.

【0054】X1は新しい確信度、X0は古い確信度、
Pは診断の正否(診断内容と実故障原因が一致していれ
ば1、一致していなければ0)を表す。
X1 is the new certainty factor, X0 is the old certainty factor,
P indicates whether the diagnosis is correct or not (1 if the diagnosis content and the cause of the actual failure match, 0 if they do not match).

【0055】診断ルールの確信度42の値の加減の計算
については、新しい推論記録が正しい診断を行ったこと
を示す場合には、それに関わるルールの確信度を高く
し、逆に新しい推論記録が誤った診断を行ったことを示
す場合には、それに関わるルールの確信度を低くすると
いう考え方が基本となる。
Regarding the calculation of the addition or subtraction of the value of the certainty factor 42 of the diagnostic rule, if the new inference record indicates that the correct diagnosis is made, the certainty factor of the rule concerned is increased, and conversely the new inference record is obtained. The basic idea is to lower the certainty factor of the rules related to showing that a wrong diagnosis has been made.

【0056】本実施例では、ステップ1002に示した
ような式の値で確信度を更新しているが、確信度に加減
する部分の式である(P−X0)/10の分母の値「1
0」を変えれば、1回の調整での影響度を変えることが
できる。
In the present embodiment, the certainty factor is updated by the value of the formula as shown in step 1002. However, the value of the denominator of (P-X0) / 10, which is a part of the formula for adjusting the certainty factor, is " 1
If "0" is changed, the degree of influence of one adjustment can be changed.

【0057】この他にも、ある定数を加減する式や、通
常の正解率あるいはそれを用いた式によって加減する値
を計算する方法、あるいは該当する記録に関する解析結
果のパターンによる重み付けを行って加減する値を計算
する方法も考えられる。
In addition to this, a method of calculating a value to be adjusted by a formula for adding or subtracting a certain constant, a normal correct rate or a formula using it, or weighting by a pattern of the analysis result of the corresponding record is added or subtracted. A method of calculating the value to be used is also conceivable.

【0058】[0058]

【発明の効果】以上説明したように、本発明において
は、診断対象の状態に関する履歴データの中に予め定め
た複数のデータパターンの中の一部分を含むデータ列が
存在するか否かを解析し、存在する時はそのデータ列の
中の最後の履歴データおよび該当するデータパターンの
番号から成る解析結果を推論機構に入力し、診断ルール
による診断を実行させるようにし、さらに推論機構によ
る診断結果を用いて該推論機構が用いる診断ルールの確
信度を加減するようにしたので、推論機構に対する入力
データ量を低減し、推論に要する処理時間を短縮するこ
とができるる。
As described above, according to the present invention, it is analyzed whether or not there is a data string including a part of a plurality of predetermined data patterns in the history data regarding the condition of the diagnosis object. , If it exists, the analysis result consisting of the last history data in the data string and the number of the corresponding data pattern is input to the inference mechanism so that the diagnosis by the diagnostic rule is executed, and the diagnosis result by the inference mechanism is displayed. Since the certainty factor of the diagnostic rule used by the inference mechanism is adjusted by using this, the amount of input data to the inference mechanism can be reduced and the processing time required for inference can be shortened.

【0059】さらに、推論記録もコンパクトに納めるこ
とができ、より高速に確信度の調整による推論精度の向
上を図ることができる。
Further, the inference record can be stored compactly, and the inference accuracy can be improved by adjusting the certainty factor at a higher speed.

【0060】従って、データ自体よりもデータ列または
パターンとして意味を持つようなデータを出力する装置
の診断に極めて有効なものとなる。例えば、ネットワー
クシステムおよびそれを構成する装置、交換機等の稼働
状況、障害の診断、あるいは工作機械、プロセス制御装
置等、段階的な手順を持つ装置の故障診断および作業の
品質管理(加工精度など)、あるいはPOSデータによ
る売上げ状況を診断する場合に極めて有効なものとな
る。
Therefore, it is extremely effective for diagnosing a device that outputs data having a meaning as a data string or pattern rather than the data itself. For example, the operating status of network systems and the devices that make them up, exchanges, etc., fault diagnosis, or failure diagnosis of devices with stepwise procedures such as machine tools and process control devices, and work quality control (processing accuracy, etc.) Alternatively, it is extremely effective when diagnosing the sales situation based on POS data.

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

【図1】本発明の診断型エキスパートシステムの一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a diagnostic expert system of the present invention.

【図2】履歴データの具体例を示す図である。FIG. 2 is a diagram showing a specific example of history data.

【図3】履歴データパターンの具体例を示す図である。FIG. 3 is a diagram showing a specific example of a history data pattern.

【図4】診断ルールの具体例を示す図である。FIG. 4 is a diagram showing a specific example of a diagnostic rule.

【図5】パターン解析データの具体例を示す図である。FIG. 5 is a diagram showing a specific example of pattern analysis data.

【図6】診断結果の具体例を示す図である。FIG. 6 is a diagram showing a specific example of a diagnosis result.

【図7】推論結果の具体例を示す図である。FIG. 7 is a diagram showing a specific example of an inference result.

【図8】履歴データのパターン解析処理手順を示すフロ
ーチャートである。
FIG. 8 is a flowchart illustrating a pattern analysis processing procedure of history data.

【図9】推論機構における推論処理手順を示すフローチ
ャートである。
FIG. 9 is a flowchart showing an inference processing procedure in the inference mechanism.

【図10】診断ルール調整装置におけるルールの確信度
の調整手順を示すフローチャートである。
FIG. 10 is a flowchart showing a procedure of adjusting a certainty factor of a rule in the diagnostic rule adjusting device.

【符号の説明】[Explanation of symbols]

1…履歴データ格納装置、2…履歴データパターン格納
装置、3…診断ルール格納装置、4…診断装置、5…診
断結果格納装置、6…推論記録格納装置、7…診断ルー
ル調整装置、41…パターン解析部、42…パターン解
析データ記憶部、43…推論機構。
1 ... History data storage device, 2 ... History data pattern storage device, 3 ... Diagnostic rule storage device, 4 ... Diagnostic device, 5 ... Diagnostic result storage device, 6 ... Inference record storage device, 7 ... Diagnostic rule adjustment device, 41 ... Pattern analysis unit 42 ... Pattern analysis data storage unit 43 ... Inference mechanism.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小野寺 伸浩 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobuhiro Onodera 6-81, Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. In-house

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 診断対象の状態に関する履歴データを入
力とし、推論機構を用いて診断を行う診断型エキスパー
トシステムにおいて、前記履歴データの中に予め定めた
複数のデータパターンの中の一部分を含むデータ列が存
在するか否かを解析し、存在する時はそのデータ列の中
の最後の履歴データおよび該当するデータパターンの番
号から成る解析結果を前記推論機構に入力するデータパ
ターン解析手段と、前記推論機構による診断結果を格納
する格納手段と、この格納手段に格納された推論結果を
用いて前記推論機構が用いる診断ルールの確信度を加減
する調整機構とを備えることを特徴とする診断型エキス
パートシステム。
1. In a diagnostic expert system for inputting history data relating to the state of a diagnosis target and performing diagnosis using an inference mechanism, data containing a part of a plurality of predetermined data patterns in the history data. A data pattern analyzing means for analyzing whether or not a column exists, and when it exists, inputting an analysis result consisting of the last history data in the data sequence and the number of the corresponding data pattern to the inference mechanism; A diagnostic expert comprising: storage means for storing a diagnosis result by the inference mechanism; and an adjustment mechanism for adjusting the certainty factor of the diagnostic rule used by the inference mechanism by using the inference result stored in the storage means. system.
JP6051489A 1994-03-23 1994-03-23 Diagnostic type expert system Pending JPH07262014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6051489A JPH07262014A (en) 1994-03-23 1994-03-23 Diagnostic type expert system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6051489A JPH07262014A (en) 1994-03-23 1994-03-23 Diagnostic type expert system

Publications (1)

Publication Number Publication Date
JPH07262014A true JPH07262014A (en) 1995-10-13

Family

ID=12888389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6051489A Pending JPH07262014A (en) 1994-03-23 1994-03-23 Diagnostic type expert system

Country Status (1)

Country Link
JP (1) JPH07262014A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293157A (en) * 2007-05-23 2008-12-04 Mitsubishi Electric Corp Rule activation device and program
JP2011016340A (en) * 2009-07-10 2011-01-27 Fuji Xerox Co Ltd Information processing apparatus, image forming apparatus, and fault restoration support system and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293157A (en) * 2007-05-23 2008-12-04 Mitsubishi Electric Corp Rule activation device and program
JP2011016340A (en) * 2009-07-10 2011-01-27 Fuji Xerox Co Ltd Information processing apparatus, image forming apparatus, and fault restoration support system and program

Similar Documents

Publication Publication Date Title
US6988011B2 (en) Method and system for analyzing operational parameter data for diagnostics and repairs
CA2387931C (en) Method and system for analyzing continuous parameter data for diagnostics and repairs
US6625589B1 (en) Method for adaptive threshold computation for time and frequency based anomalous feature identification in fault log data
US5463768A (en) Method and system for analyzing error logs for diagnostics
Finnie et al. A comparison of software effort estimation techniques: Using function points with neural networks, case-based reasoning and regression models
EP0413485B1 (en) Performance improvement tool for rule based expert systems
CA2387929C (en) Method and apparatus for diagnosing difficult to diagnose faults in a complex system
US6253186B1 (en) Method and apparatus for detecting fraud
EP1859392B1 (en) Fault diagnostics
GB2245395A (en) Method and system for supporting decision making
Neck Stochastic control theory and operational research
JP3211241B2 (en) Approximate inference device
JPH07262014A (en) Diagnostic type expert system
JPH0836510A (en) User interface evaluation device
JP2778888B2 (en) Plant abnormality diagnosis device
JP3129342B2 (en) Knowledge learning device
Santos Jr et al. Bval: Probabilistic knowledge-base validation
CA2388489C (en) Method and system for analyzing fault log data for diagnostics and repairs of locomotives
US7617171B2 (en) Process for the iterative construction of an explanatory model
JP2771174B2 (en) Data qualifier
JP3037832B2 (en) Automatic shape control device
Cheetham et al. Benefits of decision support using soft computing
JP2803864B2 (en) Production quantity analysis system
JPH05242061A (en) Diagnostic system
JPH0330024A (en) Expert system