JPH0573315A - Large-scale inference device - Google Patents

Large-scale inference device

Info

Publication number
JPH0573315A
JPH0573315A JP23330891A JP23330891A JPH0573315A JP H0573315 A JPH0573315 A JP H0573315A JP 23330891 A JP23330891 A JP 23330891A JP 23330891 A JP23330891 A JP 23330891A JP H0573315 A JPH0573315 A JP H0573315A
Authority
JP
Japan
Prior art keywords
inference
data
storage means
storage area
rules
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
JP23330891A
Other languages
Japanese (ja)
Inventor
Taisuke Kotabe
泰典 小田部
Takeshi Honda
健 本多
Toshihiko Nakano
利彦 中野
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 Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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 Ltd, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP23330891A priority Critical patent/JPH0573315A/en
Publication of JPH0573315A publication Critical patent/JPH0573315A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accelerate the inference processing speed applying a large-scale inference rule and concept data by storing a pair of inference rule and concept data necessary for the inference in a first storage area and storing the one to be made access at the other inference processing time in a second storage area. CONSTITUTION:In the case of the application for the inference device estimating the cause of a fault in a power system, an inference management means 4 fetches the content of an inference order designation data 13 and outputs a command storing a pair of the inference rule and the concept data relating to a substation in an active storage area 18 to a data transfer means 5 so as to specify a substation where the fault occurs according to the designated order. The data transfer means 5 fetches the inference data from an auxiliary storage means 1 to be stored in an active storage area 18 based on the command. Then, an inference management means 4 outputs a starting command to an inference means 3 after confirming the storage. The inference means 3 uses a pair of the inference rule and the concept data relating to the stored substation, executing the inference processing according to the order.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、事故原因の特定や故障
診断などの各種の問題を解決するプロダクションシステ
ムに用いられる推論装置に係り、特に膨大な量の推論ル
ールと概念データを用いて推論する大規模推論装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inference device used in a production system for solving various problems such as identification of the cause of an accident and failure diagnosis, and in particular inference using a huge amount of inference rules and conceptual data. To a large-scale reasoning device.

【0002】[0002]

【従来の技術】このようなプロダクションシステムは、
推論対象世界の知識を規則として表わしてなる推論ルー
ルと、推論対象世界の状態を表す概念データとを用い
て、各種の問題を解決するものである。具体的には、一
般に、推論ルールの条件部(IF部)を満足する概念デ
ータが存在する推論ルールを抽出する照合処理と、この
照合処理により得られた推論ルールの中から実行すべき
推論ルールを一つだけ選択する競合解消処理と、この競
合解消処理で選択された推論ルールの実行部(THEN
部)に規定された処理を、実行可能な推論ルールが存在
しなくなるまで繰り返し実行する推論実行処理とを含ん
だシステムで構成されている。したがって、膨大な量の
推論ルールと概念データが関係してくるような場合は、
推論ルールと概念データの照合処理に多くの時間がかか
り、結論を得るまでに相当の時間が必要になる。
2. Description of the Related Art Such a production system is
Various problems are solved by using inference rules that represent knowledge of the inference target world as rules and conceptual data that represents the state of the inference target world. Specifically, in general, a matching process for extracting an inference rule in which conceptual data satisfying the condition part (IF part) of the inference rule exists, and an inference rule to be executed from the inference rules obtained by this matching process. Conflict resolution processing for selecting only one and the execution unit (THEN) of the inference rule selected in this conflict resolution processing.
Section) and the inference execution process that repeatedly executes the process defined by the section) until there is no executable inference rule. Therefore, when a huge amount of inference rules and conceptual data are involved,
It takes a lot of time to match the inference rules with the conceptual data, and it takes a considerable amount of time to reach a conclusion.

【0003】そこで、推論を高速で行うようにするた
め、従来、推論ルールと概念データの照合処理を行う
際、前回の照合処理の中間結果を持つことにより、照合
処理を高速に実行するRETEアルゴリズム方式(RE
TE: A Fast Algorithm forthe Many Pattern/
Many Object Pattern Match Problem,Artificia
lInteligence vol.19,No.1,pp.17-37(1982))が
提案されている。
Therefore, in order to perform the inference at a high speed, conventionally, when the inference rule and the conceptual data are collated, the RETE algorithm for executing the collation at a high speed by having the intermediate result of the previous collation process. Method (RE
TE: A Fast Algorithm for the Many Pattern /
Many Object Pattern Match Problem, Atlanticia
lInteligence vol. 19, No. 1, pp. 17-37 (1982) has been proposed.

【0004】また、推論ルールおよび概念データをそれ
ぞれ分割して、照合処理の範囲を小さくすることによ
り、高速に推論処理を行うTREATアルゴリズム方式
(TREAT:A Better Match Al-gorithm for
Al Production Systems,AAAI−87,pp.42-47
(1987))が提案されている。
Further, the inference rule and the conceptual data are divided respectively to reduce the range of the collation process, and thereby the inference process is performed at high speed (TREAT: A Better Match Al-gorithm for).
Al Production Systems, AAAI-87, pp. 42-47
(1987)) has been proposed.

【0005】また、上記のTREATアルゴリズム方式
と同様に、推論ルールと概念データをそれぞれ分割し
て、推論の高速処理を行おうとする方式(特開昭63−
208127号公報)が提案されている。
Further, similar to the above-mentioned TREAT algorithm method, a method for dividing the inference rule and the conceptual data to perform high-speed inference processing (Japanese Patent Laid-Open No. 63-63).
No. 208127) has been proposed.

【0006】また、関連する推論ルールと概念データご
とに組を作り、その組ごとに優先度を付加し、優先度の
高い順に推論を実行する方式(特開昭64−88746
号公報)が提案されている。
Further, a method of forming a set for each related inference rule and conceptual data, adding a priority to each set, and executing inference in descending order of priority (Japanese Patent Laid-Open No. 64-88746).
Issue).

【0007】[0007]

【発明が解決しようとする課題】しかし、上記従来の技
術には、次ぎに述べるような問題がある。まず、RET
Eアルゴリズム方式又はTREATアルゴリズム方式で
は、更新された概念データに対してのみ推論ルールの再
照合を実施するものであるが、通常の推論では全ての推
論ルールを適用して知識処理を行なうことは少なく、知
識の利用順序がある場合が多い。また、従来、概念デー
タは推論ルールの実行部により更新されるだけでなく、
プログラムより更新される場合もある。このため、不必
要となった推論ルールとの照合や不必要なタイミングで
の照合処理を行なうため、その中間結果のメンテナンス
に時間がかかるとともに、常に照合処理の対象となって
しまうため無駄な照合処理が発生し、十分な高速処理を
達成することができない。
However, the above-mentioned conventional techniques have the following problems. First, RET
In the E-algorithm method or the TREAT algorithm method, the inference rules are re-matched only for the updated conceptual data, but in normal inference, all inference rules are applied and knowledge processing is rarely performed. In many cases, there is a knowledge utilization order. Further, conventionally, not only is conceptual data updated by the execution unit of the inference rule,
It may be updated by the program. For this reason, since the collation with the inference rule that became unnecessary or the collation processing at unnecessary timing is performed, it takes time to maintain the intermediate result, and it is always subject to the collation processing, which is a wasteful collation. Processing occurs, and it is not possible to achieve sufficiently high speed processing.

【0008】また、特開昭63−208127号公報で
は、推論ルールと概念データを分割し、推論に必要とな
る推論ルールと概念データのみを対象に照合処理を行な
うようにしているから、その点では一定の高速処理が達
成される。しかし、推論を実行する場合にその都度、補
助記憶装置から主記憶装置に推論ルールと概念データを
ローディングし、その主記憶装置上で前記分割処理を行
うようにしていることから、不必要なデータ等のローデ
ィングや分割処理に余分な時間がかかりその分だけ、高
速処理が妨げられる。
Further, in Japanese Patent Laid-Open No. 63-208127, the inference rule and the conceptual data are divided, and the matching process is performed only on the inference rule and the conceptual data necessary for inference. In, a certain high-speed processing is achieved. However, each time the inference is executed, the inference rule and the conceptual data are loaded from the auxiliary storage device to the main storage device, and the division processing is performed on the main storage device, so that unnecessary data is not stored. Extra time is required for loading and dividing processing such as, and the high-speed processing is hindered accordingly.

【0009】また、特開昭64−88746号公報で
は、推論対象の個数が限定され推論処理が削減される
が、全ての組みの推論ルールと概念データを主記憶装置
に格納していることから、照合の都度、該当する組みの
推論ルールと概念データを識別して抽出する処理が必要
になり、結果として不要な処理時間がかかる。
Further, in JP-A-64-88746, the number of inference targets is limited and the inference processing is reduced, but since the inference rules and concept data of all the sets are stored in the main storage device. , It is necessary to identify and extract a corresponding set of inference rules and conceptual data each time the matching is performed, resulting in unnecessary processing time.

【0010】一方、従来、特開平1−237729号公
報に、推論ルールのみを分割して補助記憶装置に格納し
ておき、推論実行時に適用する推論ルールのみを主記憶
装置に回復するようにすることが提案されている。これ
によれば、推論ルールの照合処理は高速化できるが、概
念データは分割されていないので、概念データについて
は全てのものが照合対象になる。そのため、不要な照合
処理が発生し、高速処理が妨げられる。
On the other hand, conventionally, in Japanese Patent Laid-Open No. 1-237729, only the inference rules are divided and stored in an auxiliary storage device, and only the inference rules applied when executing the inference are restored in the main storage device. Is proposed. According to this, the collation process of the inference rule can be speeded up, but since the concept data is not divided, all of the concept data are subject to collation. Therefore, unnecessary collation processing occurs and high-speed processing is hindered.

【0011】本発明の目的は、上記従来の問題点を解決
することにあり、言い換えれば、大規模な推論ルールと
概念データを適用する推論処理を更に高速に行うことが
できる大規模推論装置を提供することにある。
An object of the present invention is to solve the above-mentioned conventional problems. In other words, a large-scale inference apparatus capable of performing inference processing applying a large-scale inference rule and conceptual data at a higher speed. To provide.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するた
め、まず、本発明は推論ルールと概念データとを複数の
組に分割して推論処理を高速化することを前提とする。
In order to achieve the above object, the present invention is based on the premise that the inference rule and concept data are divided into a plurality of sets to speed up the inference processing.

【0013】ところが、それら推論ルールと概念データ
とを複数の組に分割しても、全ての組を主記憶手段に格
納したのでは、推論ルールと概念データの照合処理に無
駄な照合処理が生ずる。
However, even if the inference rules and the concept data are divided into a plurality of sets, if all the sets are stored in the main storage means, useless comparison processing occurs in the comparison processing of the inference rules and the concept data. ..

【0014】このような無駄をなくすため、一定の推論
に必要な一組の推論ルールと概念データのみを主記憶手
段に格納し、他の推論ルールと概念データの組は補助記
憶手段に退避させておくことが考えられる。
In order to eliminate such waste, only one set of inference rules and concept data necessary for a certain inference is stored in the main storage means, and other sets of inference rules and concept data are saved in the auxiliary storage means. It is possible to keep it.

【0015】しかし、推論の内容によっては、既に推論
に用いた他の組の推論ルール又は概念データに、頻繁に
アクセスする必要がある場合がある。この場合には補助
記憶手段にアクセスすることになるが、周知のように補
助記憶手段のアクセス時間は主記憶手段のそれに比べて
長いから、高速処理の妨げになる。
However, depending on the content of the inference, it may be necessary to frequently access another set of inference rules or conceptual data that has already been used for inference. In this case, the auxiliary storage means is accessed, but as is well known, the access time of the auxiliary storage means is longer than that of the main storage means, which hinders high-speed processing.

【0016】そこで、本発明は、主記憶手段に第1と第
2の記憶域を区分して設け、推論の必要な一組の推論ル
ールと概念データを第1記憶域に格納し、既に用いた推
論ルールと概念データのうち、他の推論処理時にアクセ
スが予想必されるものを第2の記憶域に格納するように
して、照合処理の対象を必要最小限にするとともに、照
合処理の対象にはならないが、しばしばアクセスされる
推論ルールと概念データをアクセス時間の短い主記憶手
段に格納するようにしたのである。
Therefore, according to the present invention, the first and second storage areas are separately provided in the main storage means, and a set of inference rules and concept data required for inference is stored in the first storage area and is already used. Among the inference rules and the conceptual data that have been used, those that are expected to be accessed during other inference processing are stored in the second storage area to minimize the target of the matching process and the target of the matching process. However, the reasonably accessed inference rules and conceptual data are stored in the main memory which has a short access time.

【0017】このような考え方に基づき、本発明の大規
模推論装置は、(1)対象世界の知識を表す推論ルール
と推論対象世界の状態を表す概念データとが格納される
補助記憶手段と、(2)該補助記憶手段内の推論ルール
と概念データが必要に応じて格納される主記憶手段と、
(3)該主記憶手段内の推論データと概念データを用い
て推論を実行する推論手段と、(4)前記補助記憶手段
と前記主記憶手段との間の推論ルールと概念データの転
送を制御するとともに、前記推論手段の起動を制御する
推論管理手段と、(5)該推論管理手段の指令に基づい
て前記補助記憶手段と主記憶手段との間又はそれらの記
憶手段内で推論ルールと概念データとを転送するデータ
転送手段とを備えてなり、(6)前記補助記憶手段に格
納される推論ルールと概念データは、推論実行上から区
分された複数の推論区分に対応させて、それぞれ関連す
る複数の推論ルールを含んでなる複数の組と複数の概念
データを含んでなる複数の組に分割して格納されてな
り、(7)前記主記憶手段は、第1記憶域と第2記憶域
に区分されてなり、(8)前記推論手段は、前記推論管
理手段から与えられる起動指令に応動して、前記主記憶
手段の第1記憶域に格納されている推論ルールを順次読
み出し、読み出した推論ルールの条件部を満足する概念
データが前記第1記憶域に存在するか否かを照合して、
当該条件部を満足する概念データが存在する推論ルール
を抽出し、該抽出された推論ルールの結論部に規定され
た処理を実行するものとされ、(9)前記推論管理手段
は、与えられる推論順位指令に対応する推論区分の推論
ルールの組と概念データの組とを前記補助記憶手段から
前記主記憶手段の第1記憶域に転送する指令を前記デー
タ転送手段に出力し、かつ前記推論手段に起動指令を出
力する処理と、該起動指令に応動して前記推論手段から
出力される各推論区分の結論に基づき、該結論に関連す
る所定の推論ルールと概念データを前記第1記憶域から
前記第2記憶域に移送する指令と、それ以外の前記第1
領域の推論データと概念データを前記補助記憶手段に退
避させるか又は削除する指令と、当該結論又は前記推論
順位指令により指定された推論区分の推論データの組と
概念データの組とを前記補助記憶手段から前記主記憶手
段の第1記憶域に転送する指令とを前記データ転送手段
に出力した後、前記推論手段に起動指令を出力する処理
を繰り返し実行する処理とを含んでなるものとしたので
ある。
Based on such an idea, the large-scale inference apparatus of the present invention comprises: (1) auxiliary storage means for storing inference rules representing knowledge of the target world and concept data representing states of the inference target world; (2) main storage means in which the inference rules and concept data in the auxiliary storage means are stored as necessary,
(3) inference means for performing inference using inference data and concept data in the main storage means, and (4) control of inference rules and transfer of concept data between the auxiliary storage means and the main storage means. In addition, the reasoning management means for controlling the activation of the reasoning means, and (5) the reasoning rule and concept between the auxiliary storage means and the main storage means or in those storage means based on the command of the reasoning management means. (6) The inference rule and the conceptual data stored in the auxiliary storage means are associated with a plurality of inference sections divided from the reasoning execution and are related to each other. Stored in a plurality of groups each including a plurality of inference rules and a plurality of groups including a plurality of conceptual data. (7) The main storage means includes a first storage area and a second storage area. Is divided into regions, 8) The inference means sequentially reads the inference rules stored in the first storage area of the main storage means in response to the start command given from the inference management means, and satisfies the condition part of the read inference rules. Collating whether the conceptual data to be present exists in the first storage area,
The inference rule including the conceptual data satisfying the condition part is extracted, and the process defined in the conclusion part of the extracted inference rule is executed. (9) The inference management means is provided with the given inference. A command for transferring a set of inference rules and a set of conceptual data of an inference section corresponding to a rank command from the auxiliary storage unit to the first storage area of the main storage unit is output to the data transfer unit, and the inference unit is also provided. Based on the process of outputting a start command to the instructor and the conclusion of each inference section output from the inference means in response to the start command, the predetermined inference rule and concept data related to the conclusion are stored in the first storage area. A command to transfer to the second storage area, and the other first command
A command for saving or deleting the inference data and the conceptual data of the region in the auxiliary storage means, and a set of the inference data and the conceptual data of the inference section designated by the conclusion or the inference order command are stored in the auxiliary storage. Since a command to transfer from the means to the first storage area of the main memory means is output to the data transfer means, a process of outputting a start command to the inference means is repeatedly executed. is there.

【0018】[0018]

【作用】このように構成されるから、本発明によれば、
次の作用により上記本発明の目的が達成される。推論手
段により行う推論処理のうちの照合処理においては、推
論ルール及び概念データの検索・照合対象が主記憶手段
の第1記憶域(以下、アクティブ記憶域という。)に格
納されている一組の推論ルールと概念データ(以下、適
宜、一組の推論データと総称する。)に限られるから、
不要な照合処理が抑制され、必要な照合処理が短時間で
終了する。
According to the present invention, since it is configured as described above,
The object of the present invention is achieved by the following actions. In the collation processing of the inference processing performed by the inference means, a set of inference rules and concept data retrieval / collation targets stored in a first storage area (hereinafter referred to as an active storage area) of the main storage means. Since it is limited to inference rules and conceptual data (hereinafter collectively referred to as a set of inference data, as appropriate),
Unnecessary collation processing is suppressed, and necessary collation processing is completed in a short time.

【0019】また、推論ルールの結論部実行時には頻繁
にアクセスされるが、照合処理には必要でない推論ルー
ルおよび概念データは、主記憶手段の第2記憶域(以
下、非アクティブ記憶域という。)に格納されるから、
不要な照合処理が抑制されるとともに、それらの推論デ
ータを補助記憶手段に格納する場合に比べ、アクセス時
間が短縮されるから、推論処理が一層高速化される。
The inference rules and the conceptual data, which are frequently accessed when the conclusion part of the inference rule is executed, but are not necessary for the collation processing, are stored in the second storage area of the main storage means (hereinafter referred to as inactive storage area). Is stored in
The unnecessary collation process is suppressed, and the access time is shortened as compared with the case where the inference data is stored in the auxiliary storage means, so that the inference process is further speeded up.

【0020】また、一定の推論区分の処理を実行後、不
要となる推論データを削除するようにしたものによれ
ば、補助記憶手段の規模の不必要な増加を抑えることが
できる。
Further, according to the method in which unnecessary inference data is deleted after the processing of a certain inference section is performed, it is possible to suppress an unnecessary increase in the scale of the auxiliary storage means.

【0021】また、データ転送手段により、推論処理の
進行に合わせて必要な推論データだけを、主記憶手段の
アクティブ記憶域に格納する処理を含め、記憶手段間又
は記憶手段内で推論データの転送等を行わせるようにし
たことから、オペレーティングシステムに依存すること
なく、常に一定の性能で推論を実行することが可能とな
る。
Further, the data transfer means transfers the inference data between the storage means or within the storage means, including the processing of storing only the inference data necessary for the progress of the inference processing in the active storage area of the main storage means. Since it is made possible to perform such processing, it is possible to always perform inference with a constant performance without depending on the operating system.

【0022】[0022]

【実施例】以下、本発明の一実施例を図1乃至図7を用
いて説明する。図1は本実施例の大規模推論装置の基本
構成図を示し、図6と図7はその推論処理手順のフロー
チャートを示す。装置の構成は、図1に示すように、補
助記憶装置1と、主記憶装置2と、推論手段3と、推論
管理手段4と、データ転送手段5と、ユーザプログラム
手段6とを含んで構成されている。補助記憶手段1に
は、推論ルール群11と、概念データ群12と、推論順
序指定データ13が格納されている。主記憶手段2は、
非アクティブ記憶域17と、アクティプ記憶域18と、
ワーキング記憶域19に区画されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 shows a basic block diagram of the large-scale inference apparatus of this embodiment, and FIGS. 6 and 7 show flowcharts of the inference processing procedure. As shown in FIG. 1, the device configuration includes an auxiliary storage device 1, a main storage device 2, an inference means 3, an inference management means 4, a data transfer means 5, and a user program means 6. Has been done. The auxiliary storage means 1 stores an inference rule group 11, a conceptual data group 12, and inference order designation data 13. The main storage means 2 is
An inactive storage area 17, an active storage area 18,
It is partitioned into working storage area 19.

【0023】次に、各部の詳細構成を、電力系統の故障
原因を推定する推論装置に適用した場合を例にとって説
明する。図2に、推論対象世界である電力系統の一例の
概念構成図を示す。図示のように、電力系統は複数の変
電所(A,B,C)を含んで構成されている。そして、
各変電所は複数の構成機器(A,B,・・・)により構
成されている。さらに、各構成機器は複数の部品(A,
B,・・・)により構成されている。この構成の電力系
統を対象とし、ある変電所で故障が発生したとき、その
変電所を構成する構成機器のどの部品が原因であるか
を、推論処理を用いて決定する場合を例とする。
Next, a case where the detailed configuration of each unit is applied to an inference device that estimates the cause of a failure in the power system will be described as an example. FIG. 2 shows a conceptual configuration diagram of an example of an electric power system that is the world of inference. As shown in the figure, the electric power system includes a plurality of substations (A, B, C). And
Each substation is composed of a plurality of constituent devices (A, B, ...). Furthermore, each component device has a plurality of parts (A,
B, ...). In the case of a power system of this configuration, when a failure occurs at a certain substation, it is assumed that which part of the component equipment constituting the substation is the cause is determined by using inference processing.

【0024】ここで、変電所の故障原因を推定する基本
的な実行方法について説明する。まず、故障が存在する
変電所を特定するため、対象となる変電所の内のどの変
電所が故障かを判断する推論ルールと、変電所全体の状
態を表す概念データだけを用いて推論を実行する。つぎ
に、特定した変電所の内の故障が存在する構成機器を特
定するため、対象となる構成機器のどの構成機器が故障
したか判断する推論ルールと、その変電所の構成機器に
関する状態を表す概念データを用いて推論を実行する。
最後に、特定した構成機器の内のどの部品の故障かを特
定するため、対象となる部品どの部品が故障したかを判
断する推論ルールと、構成機器内の部品に関する概念デ
ータとを用いて推論を実行する。このような3つの段階
の推論によって故障原因を特定するものとする。
Here, a basic execution method for estimating the cause of failure in the substation will be described. First, in order to identify the substation where the fault exists, the inference is executed using only the inference rules that determine which substation in the target substation is faulty and the conceptual data that represents the state of the entire substation. To do. Next, in order to identify the component device in the identified substation that has a failure, the inference rule for determining which component device of the target component device has failed and the status regarding the component device of the substation are shown. Perform inference using conceptual data.
Finally, in order to identify which part of the identified component device has failed, the inference rule is used to determine which part of the target component has failed, and the inference using conceptual data about the component in the component device. To execute. It is assumed that the cause of failure is specified by such inference of three stages.

【0025】推論ルール群11は、推論対象世界に関す
る規則を表す推論ルールを、上述した変電所の故障原因
推論順序の段階構造(推論区分)に合わせて分割し、そ
の区分ごとに一組として格納されている。推論ルールの
一例として、変電所の故障を判定する推論ルールの記述
例を図3に示す。同図に示すように、各推論ルールの構
造は、 ・名称部201:当該推論ルールの名称を記述する部分 ・条件部202:当該推論ルールを適用する概念データ
の条件を記述する部分 ・推論部203:条件部が満足されたときに実行すべき
動作を定義する部分 から構成されている。具体的には、条件部202に記述
されているように、この推論ルールは概念データ「変電
所A」の項目「送電量」の状態が「低下」であれば、本
ルールを適用するという条件を表している。そして、こ
の条件部が満足されているとき、結論部203に示され
ているように、概念データ群12内に格納されている概
念データ「故障変電所」の項目「故障」の欄に「変電所
A」を設定せよ、という実行すべき動作を表している。
The inference rule group 11 divides the inference rules representing the rules related to the inference target world according to the step structure (inference division) of the failure cause inference order of the substation described above, and stores each division as a set. Has been done. As an example of the inference rule, a description example of the inference rule for determining the failure of the substation is shown in FIG. As shown in the figure, the structure of each inference rule is as follows: -name part 201: a part that describes the name of the inference rule-condition part 202: part that describes the condition of the conceptual data to which the inference rule applies-inference part 203: Consists of a part that defines an operation to be executed when the condition part is satisfied. Specifically, as described in the condition unit 202, this inference rule is a condition that this rule is applied if the state of the item “power transmission amount” of the conceptual data “substation A” is “decreased”. Is represented. Then, when this condition part is satisfied, as shown in the conclusion part 203, in the column of “failure” in the item “failure” of the conceptual data “failure substation” stored in the concept data group 12, This represents an operation to be performed, that is, "set location A".

【0026】一方、概念データ群12は、推論対象世界
の状態を表す概念データを、前述した変電所の故障原因
推論順序の段階構造(推論区分)に合わせて分割し、そ
の区分ごとに一組として格納されている。概念データの
一例として、変電所の状態を表す記述例を図4に示す。
図示のように、概念データは、 ・名称部301:当該概念データの名称を記述する部分 ・項目の名称302 ・項目の状態(値等)303 の並びにより定義されている。具体的には、図4の例に
示すように、概念データの名称が「変電所A」の項目
「送電量」の内容が、「低下」状態にあることを表して
いる。
On the other hand, the conceptual data group 12 divides the conceptual data representing the state of the inference target world according to the step structure (inference division) of the failure cause inference order of the substation described above, and one set for each division. Is stored as. As an example of the conceptual data, a description example showing the state of the substation is shown in FIG.
As shown in the figure, the concept data is defined by: name part 301: portion describing the name of the concept data item name 302 item state (value etc.) 303. Specifically, as shown in the example of FIG. 4, the content of the item “power transmission amount” of the concept data whose name is “Substation A” is in the “decreased” state.

【0027】主記憶手段2の非アクティブ記憶域17に
は、照合処理には必要ないが、推論ルールの結論部の実
行時に必要になる可能性がある所定の推論ルール及び概
念データが格納される。この記憶域に格納された推論ル
ール及び概念データは、ユーザプログラム手段6、又は
推論手段3のルール実行部で参照又は更新をすることが
可能になっている。
The inactive storage area 17 of the main storage means 2 stores predetermined inference rules and conceptual data which are not necessary for the collation processing but may be needed at the time of executing the conclusion part of the inference rules. .. The inference rules and conceptual data stored in this storage area can be referred to or updated by the user program means 6 or the rule execution section of the inference means 3.

【0028】主記憶手段2のアクティブ記憶域18に
は、推論処理に用いる推論ルール及び概念データを格納
する記憶域である。推論手段3はこのアクティブ記憶域
18に格納されている推論ルールと概念データを対象と
して照合処理を実行する。また、アクティブ記憶域18
に格納された、推論ルールと概念データは、非アクティ
ブ記憶域17の場合と同様に、ユーザプログラム手段6
又は推論手段6のルール実行部で参照又は更新をするこ
とが可能になっている。
The active storage area 18 of the main storage means 2 is a storage area for storing inference rules and conceptual data used for inference processing. The inference means 3 executes collation processing for the inference rules and the conceptual data stored in the active storage area 18. Also, the active storage area 18
The inference rules and the concept data stored in the user program means 6 are stored in the user program means 6 as in the case of the inactive storage area 17.
Alternatively, the rule execution unit of the inference means 6 can be referred to or updated.

【0029】推論管理手段4は、補助記憶手段1に格納
されている推論順序指定データ13、ユーザプログラム
手段6又は推論手段3のルール実行部から指定される命
令を解釈し、データ転送手段5又は推論手段3にそれぞ
れ動作指令を出力する。本実施例では、推論管理手段4
は次に示す9個の命令を指定可能であり、例えば図5に
示すような手順で命令を出力する。
The inference management means 4 interprets the inference order designation data 13 stored in the auxiliary storage means 1, the user program means 6 or the instruction designated by the rule execution section of the inference means 3, and the data transfer means 5 or An operation command is output to each inference means 3. In this embodiment, the inference management means 4
The following nine commands can be specified, and the commands are output in the procedure shown in FIG. 5, for example.

【0030】・DATA_MOVE_TO_ACT50
1:指定された概念データの並びを、アクティブ記憶域
18に格納することをデータ転送手段5に指示する。
DATA_MOVE_TO_ACT50
1: Instructs the data transfer means 5 to store the specified sequence of conceptual data in the active storage area 18.

【0031】・DATA_MOVE_TO_NOACT
502:指定された概念データの並びを、非アクティブ
記憶域17に格納することをデータ転送手段5に指示す
る。
DATA_MOVE_TO_NOACT
502: Instructs the data transfer means 5 to store the specified sequence of conceptual data in the inactive storage area 17.

【0032】・DATA_MOVE_TO_SUB50
3:指定された概念データの並びを、補助記憶域に格納
することをデータ転送手段5に指示する。
DATA_MOVE_TO_SUB50
3: Instructs the data transfer means 5 to store the specified sequence of conceptual data in the auxiliary storage area.

【0033】・RULE_MOVE_TO_ACT50
4:指定された推論ルールの並びを、アクティブ記憶域
18に格納することをデータ転送手段5に指示する。
RULE_MOVE_TO_ACT50
4: Instructs the data transfer means 5 to store the specified sequence of inference rules in the active storage area 18.

【0034】・RULE_MOVE_TO_NOACT
505:指定された推論ルールの並びを、非アクティブ
記憶域17に格納することをデータ転送手段5に指示す
る。
RULE_MOVE_TO_NOACT
505: Instructs the data transfer means 5 to store the specified sequence of inference rules in the inactive storage area 17.

【0035】・RULE_MOVE_TO_SUB50
6:指定された推論ルールの並びを、補助記手段1に格
納することをデータ転送手段5に指示する。
RULE_MOVE_TO_SUB50
6: Instructs the data transfer means 5 to store the specified sequence of inference rules in the auxiliary recording means 1.

【0036】・INFERENCE507:推論機構3
に推論処理の実行を指示する。
INFERENCE 507: Inference mechanism 3
Instruct the execution of inference processing.

【0037】・DELETE_DATA508:指定さ
れた概念データの並びを、非アクティブ記憶域17、ア
クティブ記憶域18、補助記憶手段1から削除すること
を、データ転送手段5に指示する。
DELETE_DATA 508: Instructs the data transfer means 5 to delete the specified sequence of conceptual data from the inactive storage area 17, the active storage area 18, and the auxiliary storage means 1.

【0038】・DELETE_RULE509:指定さ
れた推論ルールの並びを、非アクティブ記憶域17、ア
クティブ記憶域18、補助記憶手段1から削除すること
を、データ転送手段5に指示する。
DELETE_RULE 509: Instructs the data transfer means 5 to delete the specified sequence of inference rules from the inactive storage area 17, the active storage area 18, and the auxiliary storage means 1.

【0039】推論順序指定データ13は、各記憶手段又
は記憶域間における推論ルールと概念データの転送(退
避、回復)及び推論実行の順序を指定するデータであ
る。この指定の内容を推論管理手段4が解釈し、推論手
段3あるいはデータ転送手段5にその動作を指示する。
The inference order designation data 13 is data for designating the order of inference rule and conceptual data transfer (saving, restoration) and inference execution between the respective storage means or storage areas. The inference management means 4 interprets the contents of this designation, and instructs the inference means 3 or the data transfer means 5 to operate.

【0040】データ転送手段5は、推論管理手段4の指
示により、指定された推論ルール又は概念データを、非
アクティブ記憶域17、アクティブ記憶域18又は補助
記憶手段1の所定記憶域の相互間で退避・回復させる。
まず、退避・回復の対象が推論ルールであるか概念デー
タであるかを判定する。次に、その推論ルール又は概念
データが非アクティブ記憶域17、アクティブ記憶域1
8、補助記憶手段1のどの位置にあるかを調べる。も
し、推論管理手段4からの指示された記憶域と調べた実
際の記憶域が同じである場合は、転送の必要がないので
データ転送手段515の処理は終了する。記憶域が異な
る場合は、推論管理手段4で指示された記憶域に推論ル
ール又は概念データを格納する。
The data transfer means 5 transfers the designated inference rule or concept data between the inactive storage area 17, the active storage area 18 or the predetermined storage area of the auxiliary storage means 1 according to the instruction of the inference management means 4. Evacuate and recover.
First, it is determined whether the object of evacuation / recovery is an inference rule or conceptual data. Next, the inference rule or the conceptual data is inactive storage area 17, active storage area 1
8. Check the position of the auxiliary storage means 1. If the storage area instructed by the inference management means 4 is the same as the checked actual storage area, there is no need for transfer, and the processing of the data transfer means 515 ends. If the storage areas are different, the inference rule or concept data is stored in the storage area designated by the inference management means 4.

【0041】推論手段3は、推論管理手段4の指示に従
い、まず、アクティブ記憶域17にある推論ルールと概
念データとの照合処理をする。すなわち、推論ルールの
条件部を満足する概念データが存在する推論ルールを全
て見つけ出す。次に、見つけ出した推論ルールの中から
予め設定された規則に従って実行すべき推論ルールを選
択する。そして、選択された推論ルールの実行部に規定
された動作を実行する。この選択、実行のサイクルを、
見つけだされた推論ルールが無くなるまで繰り返す。ま
た、推論ルールの条件部を満足する概念データが存在す
る推論ルールを全て見つけ出す照合処理を行う際、過去
に行った条件判定の結果をワーキングメモリ域19に記
憶しておく。
According to the instruction from the inference management means 4, the inference means 3 first performs a matching process between the inference rule in the active storage area 17 and the conceptual data. That is, all inference rules for which conceptual data satisfying the condition part of the inference rule exist are found. Next, an inference rule to be executed is selected from the found inference rules according to a preset rule. Then, the operation specified by the execution unit of the selected inference rule is executed. This selection and execution cycle
Repeat until the inference rules found are gone. Further, when performing the matching process for finding all the inference rules for which the conceptual data satisfying the condition part of the inference rule exists, the result of the condition determination performed in the past is stored in the working memory area 19.

【0042】このように構成される実施例の推論装置を
用い、図2に示した電力系統の事故原因の推論処理の動
作手順を、図6と図7に示したフローチャートを参照し
ながら次に説明する。
Using the inference apparatus of the embodiment thus configured, the operation procedure of the inference processing of the cause of the power system accident shown in FIG. 2 will be described below with reference to the flowcharts shown in FIGS. 6 and 7. explain.

【0043】まず、初期処理として適用する推論ルール
と概念データを予め補助記憶手段1に格納しておく。す
なわち、変電所、構成機器、部品に関するそれぞれの状
態を、変電所に関する概念データ、構成機器に関する概
念データ、部品に関する概念データに分割して補助記憶
手段1の概念データ群12として格納する。また、故障
が発生している変電所、構成機器、又は部品を特定する
ための規則を、それぞれ推論ルールの形で推論ルール群
11に格納する。
First, the inference rule and the conceptual data to be applied as the initial processing are stored in the auxiliary storage means 1 in advance. That is, the respective states relating to the substation, the component equipment, and the parts are divided into concept data regarding the substation, concept data regarding the component equipment, and concept data regarding the parts, and stored as the concept data group 12 of the auxiliary storage unit 1. Further, the rules for identifying the substation, component equipment, or part in which the failure has occurred are stored in the inference rule group 11 in the form of inference rules.

【0044】次に、本実施例の推論装置に起動指令が与
えられると、図6のステップS1において、推論管理手
段4は推論順序指定データ13の内容を取り込み、指定
された推論順序に従って故障が存在する変電所を特定す
るため、ステップS2において変電所に関する推論ルー
ルと概念データの組をアクティブ記憶域18に格納させ
る指令をデータ転送手段5に出力する。これに応動して
ステップS3において、データ転送手段5は指令に従っ
て指定された推論ルールと概念データの組からなる推論
データを、補助記憶手段1から取り出してアクティブ記
憶域18に格納する。続いて、ステップS4において、
推論管理手段4は、指定した推論データがアクティブ記
憶域18に格納されたことを確認後、推論手段3に起動
指令を出力する。これに応動して推論手段3はステップ
S5において、アクティブ記憶域18に格納された変電
所に関する推論ルールと概念データの組を用い、図7に
示す手順に従って推論処理を実行する。
Next, when a start command is given to the inference apparatus of this embodiment, the inference management means 4 fetches the contents of the inference order designation data 13 in step S1 of FIG. In order to identify the existing substation, in step S2, a command to store a set of inference rules and conceptual data regarding the substation in the active storage area 18 is output to the data transfer means 5. In response to this, in step S3, the data transfer means 5 retrieves the inference data consisting of the set of inference rules and conceptual data designated according to the instruction from the auxiliary storage means 1 and stores it in the active storage area 18. Then, in step S4,
The inference management means 4 outputs a start command to the inference means 3 after confirming that the designated inference data is stored in the active storage area 18. In response to this, the inference means 3 executes the inference process in step S5 in accordance with the procedure shown in FIG. 7 using the inference rule and the conceptual data set regarding the substation stored in the active storage area 18.

【0045】推論処理は図7に示すように、まずステッ
プS51で、推論ルールの条件部を満足する概念データ
が存在するか否かを、アクティブ記憶域18にアクセス
して照合処理を実行し、条件部を満たす概念データが存
在する推論ルールを抽出する。そして、その判定結果を
ワーキング記憶域19に格納する(ステップS52)。
次に全て推論ルールと概念データについての照合が完了
したか否かを判断し(ステップS53)、終了している
場合は規則に従って抽出された推論ルールを一つづつ選
択し、その結論部に定義された動作を実行する(ステッ
プS54)。例えば、変電所Cが故障しているという結
果が得られた場合は、前述したように、故障変電所の概
念データに「変電所C」と記録する。そして、抽出され
た全ての推論ルールについて推論実行が終了したか否か
を判断し、終了した場合はその旨を推論管理手段4に報
告する(ステップS55)。この報告を受けた推論管理
手段4は、図6のステップS6において、推論順序指定
データに基づき、変電所Cに関する構成機器レベルの故
障を特定するため、変電所Cに関する構成機器の推論ル
ールと概念データの組を、補助記憶手段1から取り出し
てアクティブ記憶域18に格納する指令をデータ管理手
段5に出力する。その際、アクティブ記憶域18に格納
されていた変電所Cに関する推論ルールと概念データ
は、構成機器レベルの故障特定の推論の実行中に参照又
は更新する可能性があるので、非アクティブ記憶域17
に移送する指令を出力する。また、変電所C以外の変電
所に関する推論ルールと概念データは、変電所Cの構成
機器レベルにおける推論では必要とならないので、補助
記憶手段1に退避するか又は削除する指令を出力する。
これに基づいて、データ管理手段5は、推論管理手段4
の指令に応動して推論データの転送を実行する(ステッ
プS7)。推論管理手段4は、所定の推論データの退避
回復が終了したのを確認して、推論手段3に起動指令を
かける(ステップS8)。これに基づいて、推論手段3
は、図7に示した手順にしたがって、前述したのと同様
の推論処理を実行する(ステップS9)。つまり、新た
にアクティブ記憶域18に回復された構成機器レベルの
推論ルールと概念データの組から成る推論データを用い
て推論を実行する。この際、前回の推論実行処理に関係
した変電所Cに関する推論データが、非アクティブ記憶
域17に格納されているので、構成機器に関する推論を
実行中に、変電所Cに関する推論ルールと概念データを
高速で参照又は更新することが可能となる。続いて、特
定された構成機器に関する推論結果をもとに、上記と同
様な手順で、部品を特定するための推論を実行すること
により、図2における電力系統設備の故障部品を特定す
ることができる。
In the inference processing, as shown in FIG. 7, first, in step S51, it is determined whether or not there is conceptual data that satisfies the condition part of the inference rule, the active storage area 18 is accessed, and collation processing is executed. Extract an inference rule in which conceptual data satisfying the condition part exists. Then, the determination result is stored in the working storage area 19 (step S52).
Next, it is judged whether or not all the inference rules and the conceptual data have been collated (step S53), and if completed, the inference rules extracted according to the rules are selected one by one and defined in the conclusion section. The performed operation is executed (step S54). For example, when the result that the substation C is out of order is obtained, “substation C” is recorded in the conceptual data of the failed substation as described above. Then, it is determined whether or not the inference execution has been completed for all the extracted inference rules, and if so, it is reported to the inference management means 4 (step S55). The inference management means 4 having received this report identifies the component-level failure of the substation C at the component device level based on the inference order designation data in step S6 of FIG. A command for fetching the data set from the auxiliary storage means 1 and storing it in the active storage area 18 is output to the data management means 5. At that time, since the inference rules and the conceptual data regarding the substation C stored in the active storage area 18 may be referred to or updated during execution of the failure-specific inference at the component device level, the inactive storage area 17 may be updated.
The command to transfer to is output. Further, since the inference rule and the conceptual data regarding the substations other than the substation C are not necessary for the inference at the component device level of the substation C, the instruction to save or delete the auxiliary storage means 1 is output.
Based on this, the data management means 5 causes the inference management means 4 to
The inference data is transferred in response to the command (step S7). The inference management means 4 confirms that the saving and recovery of the predetermined inference data is completed, and issues a start command to the inference means 3 (step S8). Based on this, the inference means 3
Executes the same inference processing as described above according to the procedure shown in FIG. 7 (step S9). In other words, the inference is executed using the inference data that is newly restored in the active storage area 18 and that is made up of the set of inference rules at the component device level and the conceptual data. At this time, since the inference data on the substation C related to the previous inference execution process is stored in the inactive storage area 17, the inference rules and the conceptual data on the substation C are displayed while executing the inference on the constituent devices. It is possible to refer to or update at high speed. Then, based on the inference result regarding the identified component device, the inference for identifying the component is executed in the same procedure as described above to identify the faulty component of the power system equipment in FIG. it can.

【0046】なお、上記実施例では、電力系統の故障原
因を診断する装置に適用したものとして説明したが、本
発明の他の適用例としては、原子力プラント設備の故障
診断など大量のデータ部品を扱う分野での故障診断など
にそのまま適用可能である。
Although the above embodiment has been described as being applied to an apparatus for diagnosing the cause of a failure in a power system, as another application example of the present invention, a large amount of data parts such as a failure diagnosis of nuclear power plant equipment is used. It can be applied as it is to failure diagnosis in the field to be handled.

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
推論手段により行う推論処理のうちの照合処理において
は、推論ルール及び概念データの検索・照合対象が主記
憶手段の第1記憶域に格納されている一組の推論ルール
と概念データに限られるから、不要な照合処理が抑制さ
れ、必要な照合処理が短時間で終了する。
As described above, according to the present invention,
In the collation processing of the inference processing performed by the inference means, the object of retrieval / collation of the inference rules and the conceptual data is limited to the set of inference rules and conceptual data stored in the first storage area of the main storage means. The unnecessary matching process is suppressed, and the necessary matching process is completed in a short time.

【0048】また、推論ルールの結論部実行時には頻繁
にアクセスされるが、照合処理には必要でない推論ルー
ルおよび概念データは、主記憶手段の第2記憶域に格納
されるから、不要な照合処理が抑制されるとともに、そ
れらの推論データを補助記憶手段に格納する場合に比
べ、アクセス時間が短縮されるから、推論処理が一層高
速化される。
Further, since the inference rule and the concept data which are frequently accessed when the conclusion part of the inference rule is executed but are not necessary for the collation process are stored in the second storage area of the main storage means, the unnecessary collation process is performed. Is suppressed and the access time is shortened as compared with the case where the inference data is stored in the auxiliary storage means, so that the inference process is further speeded up.

【0049】また、一定の推論区分の処理を実行後、不
要となる推論データを削除するようにしたものによれ
ば、補助記憶手段の規模の不必要な増加を抑えることが
できる。
Further, according to the method in which unnecessary inference data is deleted after the processing of a certain inference section is performed, it is possible to suppress an unnecessary increase in the scale of the auxiliary storage means.

【0050】また、データ転送手段により、推論処理の
進行に合わせて必要な推論データだけを、主記憶手段の
アクティブ記憶域に格納する処理を含め、記憶手段間又
は記憶手段内で推論データの転送等を行わせるようにし
たことから、オペレーティングシステムに依存すること
なく、常に一定の性能で推論を実行することが可能とな
る。
In addition, the data transfer means transfers the inference data between the storage means or within the storage means, including the processing of storing only the inference data necessary for the progress of the inference processing in the active storage area of the main storage means. Since it is made possible to perform such processing, it is possible to always perform inference with a constant performance without depending on the operating system.

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

【図1】本発明の一実施例の大規模推論装置の基本構成
図である。
FIG. 1 is a basic configuration diagram of a large-scale inference apparatus according to an embodiment of the present invention.

【図2】推論対象世界の一例の電力系統の概念構成図で
ある。
FIG. 2 is a conceptual configuration diagram of an example of a power system of an inference target world.

【図3】推論ルールの一例を示す図である。FIG. 3 is a diagram showing an example of an inference rule.

【図4】概念データの一例を示す図である。FIG. 4 is a diagram showing an example of conceptual data.

【図5】推論順序指定データの一例を示す図である。FIG. 5 is a diagram showing an example of inference order designation data.

【図6】一実施例の推論処理手順を示すフローチャート
である。
FIG. 6 is a flowchart showing an inference processing procedure according to an embodiment.

【図7】図6フローチャートの一部の詳細処理手順を示
すフローチャートである。
FIG. 7 is a flowchart showing a detailed processing procedure of a part of the flowchart of FIG. 6;

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

1 補助記憶手段 2 主記憶手段 3 推論手段 4 データ転送手段 5 推論管理手段 6 ユーザプログラム手段 11 推論ルール群 12 概念データ群 13 推論順序指定データ 17 非アクティブ記憶域 18 アクティブ記憶域 19 ワーキング記憶域 DESCRIPTION OF SYMBOLS 1 Auxiliary storage means 2 Main storage means 3 Inference means 4 Data transfer means 5 Inference management means 6 User program means 11 Inference rule group 12 Conceptual data group 13 Inference order designation data 17 Inactive storage area 18 Active storage area 19 Working storage area

───────────────────────────────────────────────────── フロントページの続き (72)発明者 本多 健 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピユータエンジニアリング 株式会社内 (72)発明者 中野 利彦 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Ken Honda Honda 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Process Computer Engineering Co., Ltd. (72) Toshihiko Nakano 5-chome, Omika-cho, Hitachi-shi, Ibaraki 2-1 Hitachi Ltd. Omika factory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 推論対象世界の知識を表す推論ルールと
推論対象世界の状態を表す概念データとが格納される補
助記憶手段と、 該補助記憶手段内の推論ルールと概念データが必要に応
じて格納される主記憶手段と、 該主記憶手段内の推論データと概念データを用いて推論
を実行する推論手段と、 前記補助記憶手段と前記主記憶手段との間の推論ルール
と概念データの転送を制御するとともに、前記推論手段
の起動を制御する推論管理手段と、 該推論管理手段の指令に基づいて前記補助記憶手段と主
記憶手段との間又はそれらの記憶手段内で推論ルールと
概念データとを転送するデータ転送手段とを備えてな
り、 前記補助記憶手段に格納される推論ルールと概念データ
は、推論実行上から区分された複数の推論区分に対応さ
せて、それぞれ関連する複数の推論ルールを含んでなる
複数の組と複数の概念データを含んでなる複数の組に分
割して格納されてなり、 前記主記憶手段は、第1記憶域と第2記憶域に区分され
てなり、 前記推論手段は、前記推論管理手段から与えられる起動
指令に応動して、前記主記憶手段の第1記憶域に格納さ
れている推論ルールを順次読み出し、読み出した推論ル
ールの条件部を満足する概念データが前記第1記憶域に
存在するか否かを照合して、当該条件部を満足する概念
データが存在する推論ルールを抽出し、該抽出された推
論ルールの結論部に規定された処理を実行するものとさ
れ、 前記推論管理手段は、与えられる推論順位指令に対応す
る推論区分の推論ルールの組と概念データの組とを前記
補助記憶手段から前記主記憶手段の第1記憶域に転送す
る指令を前記データ転送手段に出力し、かつ前記推論手
段に起動指令を出力する処理と、該起動指令に応動して
前記推論手段から出力される各推論区分の結論に基づ
き、該結論に関連する所定の推論ルールと概念データを
前記第1記憶域から前記第2記憶域に移送する指令と、
それ以外の前記第1領域の推論データと概念データを前
記補助記憶手段に退避させるか又は削除する指令と、当
該結論又は前記推論順位指令により指定された推論区分
の推論データの組と概念データの組とを前記補助記憶手
段から前記主記憶手段の第1記憶域に転送する指令とを
前記データ転送手段に出力した後、前記推論手段に起動
指令を出力する処理を繰り返し実行する処理とを含んで
なる大規模推論装置。
1. Auxiliary storage means for storing inference rules representing knowledge of the inference target world and concept data representing states of the inference target world, and inference rules and concept data in the auxiliary storage means as required. Main storage means to be stored, inference means for performing inference using inference data and concept data in the main storage means, transfer of inference rules and concept data between the auxiliary storage means and the main storage means And inference rules and concept data between the auxiliary storage means and the main storage means or in those storage means based on a command of the inference management means. And inference rules and concept data stored in the auxiliary storage means are associated with a plurality of inference divisions divided from the reasoning execution, respectively. Stored in a plurality of sets including a plurality of inference rules and a plurality of sets including a plurality of conceptual data, and the main storage means is divided into a first storage area and a second storage area. The inference means sequentially reads the inference rules stored in the first storage area of the main storage means in response to the activation command given from the inference management means, and the condition section of the read inference rules. Whether or not the conceptual data satisfying the condition is present in the first storage area, the inference rule in which the conceptual data satisfying the condition part is present is extracted, and is defined in the conclusion part of the extracted inference rule. The inference management means executes a set of inference rules and a set of conceptual data of an inference section corresponding to a given inference order command from the auxiliary storage means to the first storage means of the main storage means. Transfer to storage Associated with the conclusion based on the processing of outputting the command to the data transfer means and outputting the start instruction to the inference means, and the conclusion of each inference section output from the inference means in response to the start instruction. A predetermined inference rule and a command to transfer the conceptual data from the first storage area to the second storage area;
A command for saving or deleting other inference data and conceptual data in the first area in the auxiliary storage means, and a set of inference data and conceptual data in the inference segment designated by the conclusion or the inference order command. And a command for transferring the set from the auxiliary storage unit to the first storage area of the main storage unit, and a process for repeatedly executing a process for outputting a start command to the inference unit after outputting to the data transfer unit. A large-scale reasoning device.
JP23330891A 1991-09-12 1991-09-12 Large-scale inference device Pending JPH0573315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23330891A JPH0573315A (en) 1991-09-12 1991-09-12 Large-scale inference device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23330891A JPH0573315A (en) 1991-09-12 1991-09-12 Large-scale inference device

Publications (1)

Publication Number Publication Date
JPH0573315A true JPH0573315A (en) 1993-03-26

Family

ID=16953089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23330891A Pending JPH0573315A (en) 1991-09-12 1991-09-12 Large-scale inference device

Country Status (1)

Country Link
JP (1) JPH0573315A (en)

Similar Documents

Publication Publication Date Title
JPH0644292A (en) Vector processor
JPH0573315A (en) Large-scale inference device
JPH04360246A (en) Device for compressing file
JPH08286951A (en) Information processor and trace information storage method
CN116795296B (en) Data storage method, storage device and computer readable storage medium
JP2836541B2 (en) Database update processing method
JPH0399341A (en) Network control system
JPH086797A (en) Constant reference optimizing processor
JP3483396B2 (en) Power system equipment data maintenance device
JP2000148562A (en) Data backup method, data backup device utilizing the method and computer readable recording medium recorded with data backup program
JPH06197440A (en) Preparing method for system recovery operation procedure
JPH03166652A (en) Character-string retrieving method
JPH05143422A (en) Updated journal managing system
JPH04354030A (en) Computer system
JPH03246643A (en) Processing for editing dump summary
JPH036535B2 (en)
KR960002362B1 (en) Electronics switching system
JPS583042A (en) Program execution system
JPH0573390A (en) Deadlock handling process system for data base
JPH01237729A (en) Inference processor
JPH0442336A (en) Back-up system and information processor
JPH0464131A (en) Knowledge base searching system
JP2000242531A (en) System and method for inputting and outputting directed graph
JPS61143809A (en) Programmable controller
JPH023827A (en) Computer device