JPS62208133A - Inference system - Google Patents

Inference system

Info

Publication number
JPS62208133A
JPS62208133A JP61050656A JP5065686A JPS62208133A JP S62208133 A JPS62208133 A JP S62208133A JP 61050656 A JP61050656 A JP 61050656A JP 5065686 A JP5065686 A JP 5065686A JP S62208133 A JPS62208133 A JP S62208133A
Authority
JP
Japan
Prior art keywords
inference
time
result
term
experience
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
JP61050656A
Other languages
Japanese (ja)
Inventor
Shigeo Ishii
石井 繁夫
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP61050656A priority Critical patent/JPS62208133A/en
Publication of JPS62208133A publication Critical patent/JPS62208133A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce the volume of calculation to obtain an inference result within a short period and to reduce the storage capacity to required minimum by executing the inference directly when the same experience as the inference did not exist in the past, and automatically storing only an effective inference result. CONSTITUTION:An inference mechanism part executes real inference, a retrieving mechanism pat retrieves data registered in an experience table and a detecting mechanism part detects the degree of jam of the inference time and the inference mechanism and that of an experience table detecting time and the retrieving mechanism. A control table is provided with a decision table, an experience table, an environment table, and a working table. When an inference is applied, necessary decision is executed and whether the actual inference is to be executed or the inference result experiences in the past is to be utilized is determined. At the time of execution of the inference, necessary decision is executed and the inference result or the like is additionally registered in the experience table in accordance with the decided result.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は同一の内容の推論を複数回実行する必要があ
り、その推論に要する推論時間が長く、またその計算量
が多い場合に対して推論結果を得るまでの時間の短縮や
計算量の軽減化を計るものであるため、これらの条件を
満たす多数の利用者によって利用される推論によって結
果を得るシステム等に利用できるものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention is applicable to cases where it is necessary to perform inference of the same content multiple times, the inference time required for the inference is long, and the amount of calculation is large. Since this method aims to shorten the time required to obtain an inference result and reduce the amount of calculation, it can be used in a system that obtains a result by inference and is used by a large number of users who meet these conditions.

〔従来の技術〕[Conventional technology]

従来の技術は推論が与えられた場合毎回その推論を行っ
ていたため長時間を必要とする推論はそれを行うたびに
長い推論時間を必要とし、推論のために多くの計算を必
要とした。また従来の技術では推論の実行時間や現在の
環境等の情報をもとに戦略的に実行時に判断して過去に
行った推論の経験を利用したり、推論結果を記憶するか
どうかを決めるものはなかった。
Conventional techniques perform inference every time an inference is given, so inferences that require a long time require a long inference time each time they are performed, and many calculations are required for inference. In addition, in conventional technology, decisions are made strategically during execution based on information such as the inference execution time and the current environment, to use past inference experience, or to decide whether to memorize inference results. There was no.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の技術では過去において同じパターンの推論を処理
したことがあってもそれに関係なく毎回同一の推論を行
い毎回同一の推論時間、計算量を要していた。このため
推論時間が長い推論を行う場合は推論結果を得るまで毎
回長い時間を要し、推論に必要な計算も毎回必要とした
。このため高度な推論を必要とする処理を多数の利用者
に提供する場合に応答時間や計37.量の点で支障があ
った。この発明はこれらを解決するものである。
In conventional technology, even if the same pattern of inference has been processed in the past, the same inference is performed every time, and the same inference time and calculation amount are required each time. For this reason, when performing inferences that take a long inference time, it takes a long time each time to obtain an inference result, and calculations necessary for inference are also required each time. For this reason, when providing processing that requires advanced inference to a large number of users, the response time and total 37. There was a problem in terms of quantity. This invention solves these problems.

〔問題点を解決するための手段〕[Means for solving problems]

推論が与えられた場合それを直接推論を行った方が短時
間で推論結果を得ることができるか、あるいは過去に経
験した推論結果を利用した方が短時間に推論結果を得ら
れるかを実行時に判断し、それをもとに短時間に推論結
果が得られる方法を採用するものである。過去にその推
論と同じ経験がなかった場合は推論を直接行い、その推
論結果が記憶する価値の有無を判断して価値があるもの
についてのみ自動的に記憶させることによって行うもの
である。
Given an inference, determine whether it is possible to obtain an inference result in a shorter time by directly inferring it, or whether it is faster to obtain an inference result by using inference results experienced in the past. This method uses a method that allows the user to make judgments at different times and obtain inference results in a short period of time based on the judgments made. If the person has not had the same experience as the inference in the past, the inference is made directly, the result of the inference is determined whether it is worth remembering, and only those that are worth remembering are automatically memorized.

〔作用〕[Effect]

長い推論時間を必要とする推論を毎回行う場合に比べ、
1回その推論を実行すれば2回目以降は前に行った推論
の結果を利用することができるために実際の推論を行う
より短時間に推論結果を得ることができ、推論に要する
計算量も少な(なる。また推論結果を記憶する場合も記
taの価値のあるものについてのみ記憶されるため必要
最小限の記憶容量で済む。
Compared to performing inference every time, which requires a long inference time,
If you perform the inference once, the results of the previous inference can be used from the second time onward, so you can obtain the inference result in a shorter time than actually performing the inference, and the amount of calculation required for inference is also reduced. Also, when inference results are stored, only those that are worth recording are stored, so only the minimum necessary storage capacity is required.

〔発明の実施例〕[Embodiments of the invention]

以下に本発明の実施例を第1図、第2図、第3図、第4
図を用いて詳細に説明する。第1図は本方式の推論を行
うための必要な機能の構成を示す図である。第1図(a
)は本方式推論を行うために必要な機能の構成要素を示
す図であり、推論機構部、経験テーブル検索機構部、検
出機構部および管理テーブルよりなる。推論機構部は実
際の推論を行うためのものであり、経験テーブル検索機
構部は経験テーブルに登録されているデ〜りの検索を行
うためのものである。検出機構部は推論時間、推論機構
の混雑の程度、経験テーブルの検出時間およびその検索
機構の混雑の程度を検出するためのものである。管理テ
ーブルは登録テーブル、判定テーブル、経験テーブル、
環境テーブル、作業テーブルからなり、推論をどのよう
に行うかを決定するために必要な゛情報を記憶するため
のものである。第1図(b)は推論装置の動作の概略を
示したものである。推論が与えられると必要な判断を行
い推論機構部で実際の推論を行うか、あるいは経験テー
ブルのデータを探して過去に経験した推論結果を利用す
るかを決める。推論を行った場合は必要な判断を行い、
それに応じて経験テーブルに推論結果等を追加登録をす
る。
Examples of the present invention are shown below in Figures 1, 2, 3, and 4.
This will be explained in detail using figures. FIG. 1 is a diagram showing the configuration of functions necessary for performing inference using this method. Figure 1 (a
) is a diagram showing the functional components necessary for performing inference using this method, which includes an inference mechanism section, an experience table search mechanism section, a detection mechanism section, and a management table. The inference mechanism section is for performing actual inference, and the experience table search mechanism section is for searching data registered in the experience table. The detection mechanism section is for detecting the inference time, the degree of congestion of the inference mechanism, the detection time of the experience table, and the degree of congestion of its search mechanism. Management tables include registration table, judgment table, experience table,
It consists of an environment table and a work table, and is used to store information necessary to determine how to perform inference. FIG. 1(b) shows an outline of the operation of the inference device. When an inference is given, the necessary judgment is made and the inference mechanism part decides whether to perform the actual inference or to search for data in the experience table and use inference results experienced in the past. If you make inferences, make the necessary judgments;
Accordingly, inference results and the like are additionally registered in the experience table.

第2図は管理テーブルの内容を示したものである。第2
図(a)は登録テーブルを示し、第1項は推論の型等の
属性(以下これを推論の型と呼ぶ)を識別するための番
号や推論名等(以下これを推論IDと呼ぶ)を登録する
ためのものであり、第2項はその型の推論を毎回無条件
に実際の推論を直接行って処理することを指定するため
のものである。第3項は過去に行ったその型の推論の推
論時間を推論機構部が基準とする混雑状況における推論
時間に変換した値(以下これを基準推論時間と呼ぶ)の
平均値(以下これを基準推論平均時間と呼ぶ)を記憶し
ておくためのものである。第4項は第3項の基準推論平
均時間を何回の平均値とするかを指定するためのもので
ある。このテーブルは推論IDで管理されており、同一
の推論■Dを持つデータの組(レコード)はただ1つと
なるようにする。
FIG. 2 shows the contents of the management table. Second
Figure (a) shows a registration table, and the first item contains numbers and inference names (hereinafter referred to as inference IDs) for identifying attributes such as inference types (hereinafter referred to as inference types). The second term is for specifying that each inference of that type is to be processed by directly performing the actual inference every time. The third term is the average value (hereinafter referred to as the standard inference time) of the inference time of the inference performed in the past for that type of inference (hereinafter referred to as the standard inference time) converted into the inference time in the congestion situation that the inference mechanism unit uses as the standard. It is used to remember the average inference time. The fourth term is for specifying how many times the standard inference average time in the third term is to be averaged. This table is managed using inference IDs, and there is only one data set (record) having the same inference ■D.

第2図(b)は判定テーブルを示し、登録テーブルの第
3項の基準平均推論時間を求めるために使用するもので
ある。第1項は推IIDを記憶するために用いる。第2
項は基準推論平均時間を求めるために何回その推論ID
の推論を行ったかを記憶するためのものである。第3項
は基準推論平均時間を求めるために第2項に示された回
数だけ行われたその推論の基準推論時間の総和を記憶す
るためのものである。このテーブルは推論IDで管理さ
れており、同一の推論IDを持つレコードはただ1つと
なるようにする。
FIG. 2(b) shows a determination table, which is used to determine the reference average inference time of the third term of the registration table. The first term is used to store the guess IID. Second
The term is the number of times the inference ID is used to find the standard inference average time.
This is to remember whether the inference was made. The third term is for storing the sum total of the standard inference times of the inferences performed the number of times indicated in the second term in order to obtain the standard inference average time. This table is managed using inference IDs, and there is only one record having the same inference ID.

第2図(C)は過去において行った推論のうち必要と判
断された推論結果等を登録するための経験テーブルであ
り、第1項は推論IDを登録するためのものである。第
2項はその推論の入力データ(入力データは単数でも複
数でも良い)を登録するためのものである。第3項はそ
の推論結果(推論結果は単数でも複数でも良い)を登録
するためのものである。このテーブルは3項とも同じ内
容のものが複数個存在することはない。以上の3種類の
テーブルは零個以上のレコードからなり推論処理の実行
により必要に応じてレコード数やその内容が変化する。
FIG. 2(C) is an experience table for registering inference results determined to be necessary among inferences performed in the past, and the first item is for registering an inference ID. The second term is for registering input data for the inference (input data may be singular or plural). The third term is for registering the inference result (the inference result may be singular or plural). This table does not have multiple entries with the same content for all three items. The above three types of tables are composed of zero or more records, and the number of records and their contents change as necessary by executing the inference process.

使用していないレコードにはレコードの各項ごとに未登
録を示す値を与え未使用であることが分かるようにして
おく。
For unused records, a value indicating unregistered is given to each item of the record so that it can be known that the records are unused.

第2図(d)は推論装置等の現在の状況を登録するため
の環境テーブルであり、第1項は推論機構部の混雑状況
を登録するためのものである。第2項は経験テーブルを
検索する検索機構部の混雑状況を登録するためのもので
ある。第3項は経験テーブルを検索する検索機構部が基
準とする混雑状況にあるときの値に換算した検索時間(
以下これを基準検索時間と呼ぶ)の平均値(以下これを
基準検索平均時間と呼ぶ)を登録するためのものである
。第4項は登録テーブルの第4項に指定がない場合にこ
の値を用いるために登録しておくためのものである。第
5項は環境テーブルの第3項の基準検索平均時間を求め
る時に何回の平均を求めるかを登録するためのものであ
る。環境テーブルはルーコードのみのテーブルである。
FIG. 2(d) is an environment table for registering the current status of the inference device, etc., and the first item is for registering the congestion status of the inference mechanism section. The second term is for registering the congestion status of the search mechanism section that searches the experience table. The third term is the search time (converted to the value when the search mechanism section that searches the experience table is in a standard crowded situation).
This is for registering the average value (hereinafter referred to as the standard search average time). The fourth item is used to register this value for use when there is no specification in the fourth item of the registration table. The fifth term is for registering how many times the average is to be calculated when calculating the reference search average time in the third term of the environment table. The environment table is a table containing only Lou codes.

第1項および第2項の値は検出機構部より常時与えられ
るものである。第4項、第5項は起動時に値を与えてお
くものとする。また第3項にも起動時に適当な値を与え
ておくものとする。
The values of the first term and the second term are always given by the detection mechanism section. It is assumed that values are given to the fourth and fifth terms at the time of startup. Also, an appropriate value is given to the third term at the time of startup.

第2図(e)は作業テーブルを示し、環境テーブルの第
3項の基準平均検索時間を求める過程に用いるものであ
り、第1項はこれから求めようする基準検索平均時間を
求めるためにいままで何回の検索時間を検査したかを登
録するためのものであり、第2項は第1項の回数だけ検
査が行われた基準検索時間の総和を登録しておくための
ものである。作業テーブルはルーコードのみのテーブル
である。起動時には第1項および第2項に零を与えてお
く。
Figure 2 (e) shows the work table, which is used in the process of determining the standard average search time in the third term of the environment table, and the first term is used to calculate the standard average search time that will be calculated from now on. This is for registering how many search times have been inspected, and the second term is for registering the sum total of the reference search times for which inspections have been conducted as many times as the first term. The work table is a table containing only Lou codes. At startup, zero is given to the first and second terms.

第2図の各テーブルの内容は必要に応じて推論の実行過
程にもとすいて変化するが、これとは別に必要に応じて
外部から値を変えることができるようにしておく。また
既に作成されたものがある場合はそれを取り込むことが
できるようにしておく。これによって処理の流れの一部
を強制的に変更したり、既に蓄積された情報を継続して
使用したり、他のシステムで得た情報を利用することが
できる。
The contents of each table in FIG. 2 change as necessary during the inference execution process, but apart from this, the values can be changed externally as necessary. Also, if there is something that has already been created, make it possible to import it. This allows you to forcibly change part of the processing flow, continue to use information that has already been accumulated, or use information obtained from other systems.

次に推論の実行方法について第3図、第4図を用いて説
明する。推論に対して必要に応じてその推論の属性等を
識別することができるように前述の推論IDを与えるこ
とができるようにする。無条件に毎回推論のみを行う場
合は推論に推論IDを与えないが、なんらかの評価を行
ったのち実際の推論をどのように行うかを判断させたい
場合は推論に推論IDを与えておく。推論が与えられた
ときに推論IDがある場合はその値が分かるようにして
おく。与えられた推論に推論IDがある場合は推論ID
およびその推論の入力データを記憶してお(。推論処理
を行う前にとりあえず現在は経験データを利用する必要
がないと思われる推論については該当する推論について
登録テーブルに推論IDごとにレコードを追加する。こ
の追加はレコードの第1項にその推論IDを登録し第2
項に推論を行う指示を登録しておく。また登録テーブル
のレコードの第4項の値である基準推論平均時間が何回
の平均とするかの回数が環境テーブルの第4項の値と異
なった値を与えておく必要のあるものについてはレコー
ドの第1項および第4項に必要な値を与える。このとき
同一の推論IDを持つレコードが2つ以上あることがな
いように登録する。
Next, a method for performing inference will be explained using FIGS. 3 and 4. The above-mentioned inference ID can be given to the inference so that attributes of the inference can be identified as necessary. If only inference is performed unconditionally every time, an inference ID is not given to the inference, but if it is desired to have the inference decide how to perform the actual inference after performing some kind of evaluation, an inference ID is given to the inference. If there is an inference ID when an inference is given, its value is made known. If the given inference has an inference ID, the inference ID
and memorize the input data for that inference (. Before performing inference processing, for inferences that do not seem to require the use of empirical data at the moment, add a record for each inference ID to the registration table for the corresponding inference. This addition is done by registering the inference ID in the first section of the record and adding it in the second section.
Instructions for making inferences are registered in the section. Also, for cases where the value of the fourth term of the record in the registration table, which is the number of times the standard inference average time is averaged, must be given a value different from the value of the fourth term of the environment table. Give the necessary values to the first and fourth terms of the record. At this time, registration is made so that two or more records with the same inference ID do not exist.

推論が与えられた場合推論IDをもつものであるかどう
かを判断し推論IDを持っていない場合は推論を行いそ
の推論結果を得て処理を終了する。推論IDを持つ場合
はその推論IDおよび推論の人力データを記憶し、推論
IDをもとに登録テーブルを調べ同じ推論IDを持つレ
コードがあるか否かを調べる。同じものがあった場合は
該当するレコードの位置を記tすし、レコードの内容を
記憶する。該当したレコード(以下これを登録レコード
と呼ぶ)の第2項の内容が推論を指示しているかを識別
し、推論を指示している場合はその推論を行い推論結果
を得て処理を終了する。第2項に推論の指示がない場合
は第3項を調べて値が登録されているかを調べる。第3
項に推論時間が登録されている場合は環境テーブルの第
1項の推論機構部の混雑状況を調べこれをもとに登録レ
コードの第3項からえた推論時間を現在の混雑状態にお
ける推論時間に補正した値(以下推定推論時間と呼ぶ)
を得る。また環境テーブルの第3項の基準平均検索時間
を環境テーブルの第2項の経験テーブルの検索機構部の
現在の混雑状況を調べて現在の混雑状況での検索時間の
値に補正した値(以下推定検索時間と呼ぶ)を得る。こ
のようにして得た補正された推定推論時間と推定検索時
間を比較する。もし推定推論時間が推定検索時間より小
さいか等しい場合は推論を行い推論結果を得て処理を終
了する。もし推定推論時間が推定検索時間より大きけれ
ば経験テーブルに記憶されているデータの中で与えられ
た推論と推論IDおよび入力データが全く等しいものが
あるかを探す。あった場合は経験テーブルのそのレコー
ドの第3項に登録されている推論結果および検索に要し
た時間を得る。検索に要した時間と環境テーブルの第2
項の検索機構の混雑状況をもとに基準検索時間を求める
。次に作業テーブルの第1項の検索回数の値に1を加え
、第2項の値に算出した基準検索時間を加える。作業テ
ーブルの第1項の値が環境テーブルの第5項の値より小
さい場合は得た推論結果を与えられた推論の結果として
処理を終了する。
When an inference is given, it is determined whether it has an inference ID, and if it does not have an inference ID, an inference is made, the inference result is obtained, and the process ends. If it has an inference ID, it stores the inference ID and the manual data of the inference, and checks the registration table based on the inference ID to see if there is a record with the same inference ID. If the same record is found, the position of the corresponding record is recorded and the contents of the record are memorized. Identify whether the content of the second section of the corresponding record (hereinafter referred to as a registered record) instructs inference, and if instructs inference, performs the inference, obtains the inference result, and ends the process. . If there is no inference instruction in the second term, check the third term to see if a value is registered. Third
If the inference time is registered in the item, check the congestion status of the inference mechanism section in the first item of the environment table, and based on this, set the inference time obtained from the third item of the registered record to the inference time in the current congestion state. Corrected value (hereinafter referred to as estimated inference time)
get. In addition, the standard average search time in the 3rd item of the environment table is corrected to the value of the search time under the current congestion situation by checking the current congestion status of the search mechanism section in the experience table in the 2nd item of the environment table (hereinafter referred to as (called the estimated search time). The corrected estimated inference time and estimated search time obtained in this manner are compared. If the estimated inference time is smaller than or equal to the estimated search time, inference is performed, an inference result is obtained, and the process ends. If the estimated inference time is greater than the estimated search time, a search is made to see if there is any inference whose inference ID and input data are exactly the same as the given inference among the data stored in the experience table. If there is, the inference result and the time required for the search registered in the third section of that record in the experience table are obtained. Search time and environment table 2nd
The standard search time is determined based on the congestion status of the term search mechanism. Next, 1 is added to the value of the number of searches in the first term of the work table, and the calculated standard search time is added to the value of the second term. If the value of the first term of the work table is smaller than the value of the fifth term of the environment table, the process is terminated by using the obtained inference result as the result of the given inference.

作業テーブルの第1項の値が環境テーブルの第5項の値
と同じかそれ以上の値になった場合は作業テーブルの第
2項の値を第1項の値で割った値を求めこれを環境テー
ブルの第3項に登録すると同時に作業テーブルの第1項
および第2項の値を零とし、検索によって得た推論結果
を与えられた推論の結果として処理を終了する。経験テ
ーブルを検索した結果該当するものが見つからない場合
は推論を行い推論結果と推論時間を得る。次に得た推論
時間から環境テーブルの第1項をもとに前述のように基
準推論時間を算出し、これと環境テーブルの第3項の値
との比較を行い、基準推論時間の値のほうが大きい場合
は経験テーブルにその推論ID、推論の入力データ、推
論結果を持つレコードを追加登録し、もし基準推論時間
が環境テーブルの第3項より小さいか等しい場合は経験
テーブルには登録を行わない。そして推論によって得た
結果を推論結果として処理を終了する。
If the value of the first term of the work table is equal to or greater than the value of the fifth term of the environment table, calculate the value of the second term of the work table divided by the value of the first term. is registered in the third term of the environment table, and at the same time, the values of the first and second terms of the work table are set to zero, and the inference result obtained by the search is regarded as the result of the given inference, and the process is terminated. If no matching result is found as a result of searching the experience table, inference is performed and the inference result and inference time are obtained. Next, from the obtained inference time, calculate the standard inference time as described above based on the first term of the environment table, compare this with the value of the third term of the environment table, and calculate the value of the standard inference time. If it is larger, a record with the inference ID, inference input data, and inference result is additionally registered in the experience table, and if the standard inference time is smaller than or equal to the third term of the environment table, it is not registered in the experience table. do not have. Then, the process ends with the result obtained by the inference as the inference result.

与えられた推論の推論IDが登録テーブルに登録されて
いるが登録テーブルの第3項の推論時間が登録されてい
ない場合は判定テーブルに同じ推論IDのものがあるか
を調べあった場合はそのレコードの位置を記憶する。な
ければ判定テーブルに新たなレコードを追加登録しその
レコードの位置を記憶する(これらの判定テーブルの該
当するレコードを以下判定レコードと呼ぶ)。この追加
登録は第1項に推論IDを登録し第2項および第3項の
値には零を登録する。この判定テーブルに追加登録を行
う処理の入り口をポイン)PIとする。次に与えられた
推論を行い推論結果と推論時間を得る。次に判定登録処
理を行う。この判定登録処理を第4図を用いて説明する
。推論によって得た推論時間から前記のように環境テー
ブルの第1項の値をもとに基準推論時間を求める。記憶
しておいた判定レコードの第3項の礒に算出した基準推
論時間の値を加え第2項の値に1を加える。
If the inference ID of a given inference is registered in the registration table, but the inference time in the third term of the registration table is not registered, check the judgment table to see if there is one with the same inference ID. Remember record position. If not, a new record is additionally registered in the determination table and the position of that record is stored (the corresponding records in these determination tables are hereinafter referred to as determination records). In this additional registration, the inference ID is registered in the first term, and zero is registered in the values of the second and third terms. The entry point for the process of additionally registering in this determination table is defined as point (PI). Next, perform the given inference and obtain the inference result and inference time. Next, judgment registration processing is performed. This determination registration process will be explained using FIG. 4. From the inference time obtained by inference, the standard inference time is determined based on the value of the first term of the environment table as described above. The value of the calculated standard inference time is added to the value of the third term of the stored judgment record, and 1 is added to the value of the second term.

この後、判定レコードの第2項の値と記憶しておいた登
録レコードの第4項の値を比較し、判定レコードの第2
項の値が処理を行っている登録レコードの第4項より小
さい場合は推論結果を与えられた推論の結果として処理
を終了する。判定レコードの第2項の値が登録レコード
第4項の値と同じか大きい場合は判定レコードの第3項
の値を第2項の値で割った値を登録レコードの第3項に
登録し、判定テーブルから現在処理している推論■Dを
持つ該当のレコードを削除する。次に算出した基準推論
平均時間と環境テーブルの第3項の値と比較を行い、基
準推論時間の値のほうが大きい場合は経験テーブルにそ
の推論10.推論の入力データ、推論結果を持つレコー
ドを追加登録する。もし基準推論時間が環境テーブルの
第3項より小さいか等しい場合は経験テーブルには追加
登録を行わなEl、、>。推論によって得られた結果を
与えられた推論の結果として処理を終了する。以上が判
定登録処理である。
After this, the value of the second term of the judgment record is compared with the value of the fourth term of the stored registration record, and the second term of the judgment record is
If the value of the term is smaller than the fourth term of the registered record being processed, the inference result is taken as the result of the given inference and the process is terminated. If the value of the second term of the judgment record is the same as or greater than the value of the fourth term of the registration record, the value obtained by dividing the value of the third term of the judgment record by the value of the second term is registered in the third term of the registration record. , delete the corresponding record having the inference ■D currently being processed from the determination table. Next, the calculated standard inference average time is compared with the value of the third term of the environment table, and if the value of the standard inference time is greater, that inference 10. Register additional records with inference input data and inference results. If the reference inference time is smaller than or equal to the third term of the environment table, no additional registration is performed in the experience table. The process ends with the result obtained by the inference as the result of the given inference. The above is the determination registration process.

再び第3図を用いて処理の説明を続ける。与えられた推
論の推論IDを持つものが登録テーブルに登録されてい
なかった場合は登録テーブルに追加登録を行う(以下こ
れを登録レコードとする)。この場合の登録は第1項に
推論ID、第2項および第3項には登録を行っていない
ことを示す値、第4項には環境テーブルの第4項の値を
登録する。次に前記のポイントP1以降の処理を行う。
The explanation of the process will be continued using FIG. 3 again. If the inference ID of the given inference is not registered in the registration table, additional registration is performed in the registration table (hereinafter, this will be referred to as a registration record). In this case, registration is performed by registering the inference ID in the first term, the value indicating that no registration has been performed in the second and third terms, and the value of the fourth term of the environment table in the fourth term. Next, the processing after the above-mentioned point P1 is performed.

以上を繰り返すことによって登録テーブルには経験した
推論の基準推論平均時間が蓄えられ、これをもとに実際
の推論を行った方が短時間に推論結果が得られるか、経
験テーブルを検索して過去の推論結果を利用した方が短
時間に推論結果を得ることができるかを判断できるよう
になる。また経験テーブルには直接推論を行うより過去
の推論結果を利用したほうが短時間に推論結果を得られ
る推論についてのみ推論結果等の情報が蓄積されてゆき
、再度同じ推論が与えられた場合はこの蓄積された推論
結果を用いることができるようになる。これによって推
論時間が経験テーブルの検索時間より長い場合で、その
推論と同じパターンの推論が過去において経験していた
場合はその結果を検索することによって実際の推論を行
うより短時間で推論結果を得ることができる。また推論
結果を得るために要する推論の計算量を軽減することが
できる。
By repeating the above, the standard inference average time of the experienced inferences is stored in the registration table, and the experience table can be searched to see if the inference result can be obtained in a shorter time if the actual inference is performed based on this. It becomes possible to judge whether inference results can be obtained in a shorter time by using past inference results. In addition, the experience table accumulates information such as inference results only for inferences that can be obtained in a shorter time by using past inference results than by directly inferring, and if the same inference is given again, It becomes possible to use the accumulated inference results. As a result, if the inference time is longer than the experience table search time, and if the same pattern of inference has been experienced in the past, the inference result can be obtained in a shorter time than the actual inference by searching for that result. Obtainable. Furthermore, the amount of calculation required for inference to obtain an inference result can be reduced.

〔発明の効果〕〔Effect of the invention〕

この発明を用いることにより長い推論時間を必要とする
推論が与えられた場合、これと同じ推論で過去に行った
推論の経験データがある場合はそれを利用することによ
って実際の推論を行う場合より短時間に推論結果を得る
ことができるようになり、推論結果を得るための計算量
を軽減することができる。これにより多数の利用者から
利用される複雑な推論を要する処理を行う場合に推論の
結果を得る時間を短縮することができ、また推論に要す
る計算量が少なくなるために、より高度な推論の処理を
行わせることができるようになった。また推論の経験デ
ータの蓄積が自動的に必要なもののみについて行われる
ため、経験データの記憶容量や検索時間が少なくて済む
By using this invention, when an inference that requires a long inference time is given, if there is empirical data of inferences made in the past using the same inference, it can be used to make the actual inference. Inference results can be obtained in a short time, and the amount of calculation required to obtain inference results can be reduced. This makes it possible to shorten the time required to obtain inference results when processing processes that require complex inferences used by a large number of users, and because the amount of calculation required for inference is reduced, it is possible to perform more advanced inferences. It is now possible to perform processing. In addition, since experience data for inference is automatically accumulated only for necessary data, the storage capacity and search time for experience data can be reduced.

4、図の簡単な説明 第1図は本推論方式を行うために必要な機能の構成を説
明するための図。第2図は本推論方式を行うために必要
な情報の記憶方法を説明するための図。第3図および第
4図は本推論方式の手順を説明するための図。
4. Brief Description of the Figures Figure 1 is a diagram for explaining the configuration of functions necessary to perform the present inference method. FIG. 2 is a diagram for explaining a method of storing information necessary to perform the present inference method. FIG. 3 and FIG. 4 are diagrams for explaining the procedure of this inference method.

Claims (1)

【特許請求の範囲】[Claims] 推論によって得た推論結果を推論に要した時間、記憶さ
れている情報および推論を行う装置の実行環境等から自
動的に判断し、必要とされたものについてのみ再度利用
可能な形態で推論結果を記憶し、次に同じ内容の推論が
与えられた場合に記憶されている情報および推論を行う
装置や記憶された推論結果を検索する装置の実行環境等
をもとにこの記憶されている推論結果を利用するかある
いは直接推論を行うかを自動的に判断し、この判断にも
とずいた方法によって推論結果を得ることにより推論結
果を得るまでの時間の短縮ならびに推論に費やす計算量
の軽減を計ることを特徴とする推論方式。
The inference results obtained through inference are automatically determined based on the time required for inference, stored information, and the execution environment of the device performing the inference, and the inference results are presented in a form that can be reused only for those that are needed. This stored inference result is stored based on the stored information and the execution environment of the device that performs the inference and the device that retrieves the stored inference result when the same inference is given next time. By automatically determining whether to use the inference or perform direct inference, and obtaining the inference result using a method based on this judgment, the time required to obtain the inference result can be shortened and the amount of calculations required for inference can be reduced. An inference method characterized by measurement.
JP61050656A 1986-03-10 1986-03-10 Inference system Pending JPS62208133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61050656A JPS62208133A (en) 1986-03-10 1986-03-10 Inference system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61050656A JPS62208133A (en) 1986-03-10 1986-03-10 Inference system

Publications (1)

Publication Number Publication Date
JPS62208133A true JPS62208133A (en) 1987-09-12

Family

ID=12864991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61050656A Pending JPS62208133A (en) 1986-03-10 1986-03-10 Inference system

Country Status (1)

Country Link
JP (1) JPS62208133A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0196728A (en) * 1987-10-01 1989-04-14 Internatl Business Mach Corp <Ibm> Alteration of data base table
JPH0196727A (en) * 1987-10-01 1989-04-14 Internatl Business Mach Corp <Ibm> Intelligence system
JPH01314332A (en) * 1988-04-29 1989-12-19 Internatl Business Mach Corp <Ibm> Virtual expert system
JPH0296238A (en) * 1988-09-30 1990-04-09 Omron Tateisi Electron Co Fuzzy computer
JPH0296236A (en) * 1988-09-30 1990-04-09 Omron Tateisi Electron Co Fuzzy computer
WO1992005479A1 (en) * 1990-09-14 1992-04-02 Kabushiki Kaisha Csk Inference control system in artificial intelligence and robot control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0196728A (en) * 1987-10-01 1989-04-14 Internatl Business Mach Corp <Ibm> Alteration of data base table
JPH0196727A (en) * 1987-10-01 1989-04-14 Internatl Business Mach Corp <Ibm> Intelligence system
JPH01314332A (en) * 1988-04-29 1989-12-19 Internatl Business Mach Corp <Ibm> Virtual expert system
JPH0296238A (en) * 1988-09-30 1990-04-09 Omron Tateisi Electron Co Fuzzy computer
JPH0296236A (en) * 1988-09-30 1990-04-09 Omron Tateisi Electron Co Fuzzy computer
WO1992005479A1 (en) * 1990-09-14 1992-04-02 Kabushiki Kaisha Csk Inference control system in artificial intelligence and robot control system

Similar Documents

Publication Publication Date Title
US4905162A (en) Evaluation system for determining analogy and symmetric comparison among objects in model-based computation systems
US4967348A (en) Data name standardizing system
JPS62208133A (en) Inference system
CN108665235A (en) Operation method, terminal device and the medium of resource handling node
CN106997369A (en) Data clearing method and device
US20060149731A1 (en) System and method for deriving affinity relationships between objects
JPH02130673A (en) Data retrieving system
JP2012133694A (en) Demand prediction method
JPH04152468A (en) Document retrieving device
CN113420097B (en) Data analysis method, device, storage medium and server
CN108388610A (en) ETL process processing method and processing device
JPH07311780A (en) Information retrieval device and information retrieval method
JPH0524549B2 (en)
Reddy Real Time Data Warehousing: A Review
WO2014115199A1 (en) Input support system, input support method and input support program
JPH01126761A (en) Trouble diagonosis system
JPH0830639A (en) Method for transferring data and method for estimating volume of data transfer
JPH0553865A (en) Automatic analyzer for program return information
JP2012198830A (en) Content management device
JPS63148373A (en) Managing system for circuit diagram data
JPH0550024B2 (en)
JPH06290100A (en) Data base system
JP2000090099A (en) Automatic index setting device and automatic index generating method
JPH0540654A (en) Optional instruction tracing system
JPH032928A (en) Storage