JP2855133B2 - Expert system - Google Patents
Expert systemInfo
- Publication number
- JP2855133B2 JP2855133B2 JP4267590A JP26759092A JP2855133B2 JP 2855133 B2 JP2855133 B2 JP 2855133B2 JP 4267590 A JP4267590 A JP 4267590A JP 26759092 A JP26759092 A JP 26759092A JP 2855133 B2 JP2855133 B2 JP 2855133B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- knowledge
- knowledge base
- expert system
- value table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION
【0001】[0001]
【産業上の利用分野】本発明は、専門家の知識を知識ベ
ースという形で蓄積し、知識ベースを用いて推論処理を
行うエキスパートシステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an expert system for accumulating expert knowledge in the form of a knowledge base and performing inference processing using the knowledge base.
【0002】[0002]
【従来の技術】図3はエキスパートシステムの従来例の
ブロック図、図4は図3中の知識ベース11の内容を示
す図である。2. Description of the Related Art FIG. 3 is a block diagram of a conventional example of an expert system, and FIG. 4 is a diagram showing the contents of a knowledge base 11 in FIG.
【0003】エキスパートシステム2Aは、外部からの
データを得るために入出力装置1に接続され、インタフ
ェ−ス部10と、専門家の知識が格納されている知識ベ
ース11と、知識ベース11を管理する知識ベース管理
部12と、知識ベース11を用いて推論を行う推論処理
部13と、入力されたデータまたは知識ベース11を用
いた推論処理により得られた情報が格納される一時記憶
部14で構成されている。The expert system 2A is connected to the input / output device 1 in order to obtain external data, and manages an interface unit 10, a knowledge base 11 storing expert knowledge, and a knowledge base 11. A knowledge base management unit 12, an inference processing unit 13 for performing inference using the knowledge base 11, and a temporary storage unit 14 for storing input data or information obtained by inference processing using the knowledge base 11. It is configured.
【0004】知識ベース11の一要素知識31は、図4
に示すように、診断の結果求められる1つの結論32
と、結論32を規定する条件肢33の集まりとしてまと
められている。条件肢33は判定論理34と検査項目名
35と判定値36とから構成される。知識ベース11の
一要素知識の例31は、第1の条件肢33はGOTが5
0より大きいことを条件としている。第2の条件肢は、
同じようにGPTが70より大きいこと、第3の条件肢
はTGが270以上であることを条件としている。第
1,2,3の各条件肢が満足すると、一要素知識31が
成立し、結論32の肝機能障害がエキスパートシステム
の推論結果となることを表している。The one element knowledge 31 of the knowledge base 11 is shown in FIG.
As shown in FIG.
And a group of conditional limbs 33 that define the conclusion 32. The condition limb 33 is composed of a judgment logic 34, an inspection item name 35, and a judgment value 36. An example 31 of one element knowledge of the knowledge base 11 is as follows.
It must be greater than 0. The second condition limb is
Similarly, the GPT is greater than 70, and the third conditional limb is that the TG is 270 or more. When the first, second, and third condition limbs are satisfied, one element knowledge 31 is established, and the hepatic dysfunction of the conclusion 32 indicates that the expert system is the inference result.
【0005】推論処理部13は、入出力装置1よりイン
タフェ−ス部10を介して入力された各項目のデータを
一時記憶部14に格納した後、知識ベース11から一要
素知識31を逐次取り出し、一時記憶部14のデータと
比較し、一要素知識31が成立した場合、結論32を一
時記憶部14に書き込む。適用できる要素知識が知識ベ
ース11になくなったときに、一時記憶部14に記憶さ
れている結論部がエキスパートシステム2Aの最終結論
として決定される。The inference processing unit 13 stores the data of each item input from the input / output device 1 via the interface unit 10 in the temporary storage unit 14, and then sequentially extracts one element knowledge 31 from the knowledge base 11. When the one-element knowledge 31 is established, the conclusion 32 is written to the temporary storage unit 14. When there is no more applicable elemental knowledge in the knowledge base 11, the conclusion part stored in the temporary storage unit 14 is determined as the final conclusion of the expert system 2A.
【0006】以上のように、エキスパートシステムの知
識ベースには知識が複数存在する。As described above, the knowledge base of the expert system has a plurality of knowledges.
【0007】特に医療分野の検査値は、同じ検査項目で
も使用する検査機器や地域によって検査値を判定する正
常値の範囲が異なる。つまり一要素知識31に記述され
ている条件肢33の判定論理34および検査項目名35
は同じでも、エキスパートシステムに入力されるデータ
の測定装置(検査機器)の正常値の範囲や使用される地
域に応じて判定値36を変更する必要がある。In particular, the range of normal values for test values in the medical field differs depending on the test equipment and region used for the same test item. That is, the judgment logic 34 and the inspection item name 35 of the conditional limb 33 described in the one-element knowledge 31
Is the same, it is necessary to change the judgment value 36 according to the range of the normal value of the measuring device (inspection equipment) for the data input to the expert system and the region where the data is used.
【0008】このために従来のエキスパートシステムで
は、それぞれの検査機器毎あるいはエキスパートシステ
ムの使用環境の正常値に合わせた判定値で記述された知
識ベースを持った複数のエキスパートシステムを構築す
る必要があった。For this reason, in the conventional expert system, it is necessary to construct a plurality of expert systems having a knowledge base described for each inspection device or a judgment value corresponding to a normal value of the environment in which the expert system is used. Was.
【0009】[0009]
【発明が解決しようとする課題】しかしながら、判定値
が異なる検査機器毎にエキスパートシステムを作成する
のは煩雑であり、また、知識ベースに条件を追加あるい
は削除する場合に、一要素知識の条件肢(判定論理34
および検査項目名35)は検査機器に無関係であるので
検査機器毎に作成されたエキスパートシステムのそれぞ
れの知識ベースに条件肢を追加・削除し、かつ検査機器
毎の正常値を考慮した判定値を編集する必要があった。
特に知識ベースは複雑であり、複数の知識ベースを管理
し、編集を行うことは、管理や編集に時間がかかるばか
りかトラブルを起こす原因でもあった。However, it is cumbersome to create an expert system for each inspection device having a different judgment value, and when adding or deleting conditions to the knowledge base, a condition element of one element knowledge is required. (Decision logic 34
And the inspection item name 35) are irrelevant to the inspection device, so that the condition limb is added / deleted to each knowledge base of the expert system created for each inspection device, and the judgment value considering the normal value for each inspection device is added. I needed to edit.
In particular, the knowledge base is complicated, and managing and editing a plurality of knowledge bases not only takes time for management and editing, but also causes a trouble.
【0010】本発明の目的は、検査機器、地域等毎に異
なる判定値を持った推論処理を、より簡易で信頼性の高
い知識ベースの管理で実行できるエキスパートシステム
を提供することである。An object of the present invention is to provide an expert system capable of executing an inference process having a different judgment value for each inspection device, region, and the like by simpler and more reliable management of a knowledge base.
【0011】[0011]
【課題を解決するための手段】本発明のエキスパートシ
ステムは、知識ベースを記述・管理するための、検査項
目毎の基準値が格納されている基準値表と、前記検査項
目毎の正常値が格納されている複数の正常値表と、該エ
キスパートシステムに入力されたデータを、該データに
対応する前記正常値表と前記基準値表を基に変換するデ
ータ変換部と、一要素知識の各条件に対して、該データ
変換部で変換されたデータを用いて推論処理を行う推論
処理部を有する。An expert system according to the present invention comprises a reference value table storing reference values for each test item for describing and managing a knowledge base, and a normal value for each test item. A plurality of stored normal value tables, a data conversion unit that converts data input to the expert system based on the normal value table and the reference value table corresponding to the data, An inference processing unit that performs inference processing on the condition using the data converted by the data conversion unit.
【0012】[0012]
【作用】エキスパートシステムに入力されたデータを、
該データを得た検査機器や地域等に対応する正常値表と
基準値を基に変換するので、複雑な知識ベースをエキス
パートシステム内に1つのみ管理すればよい。[Action] The data input to the expert system is
Since the data is converted based on the normal value table and the reference value corresponding to the inspection device or region where the data is obtained, only one complex knowledge base needs to be managed in the expert system.
【0013】[0013]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0014】図1は本発明の一実施例のエキスパートシ
ステムのブロック図、図2は本実施例の動作を示すフロ
ーチャートである。FIG. 1 is a block diagram of an expert system according to one embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the present embodiment.
【0015】本実施例のエキスパートシステムは図3の
従来例のエキスパートシステムに、基準値表15と正常
値表16とデータ変換部17と制御部18が付加されて
構成されている。The expert system of the present embodiment is configured by adding a reference value table 15, a normal value table 16, a data conversion unit 17, and a control unit 18 to the expert system of the conventional example of FIG.
【0016】基準値表15は知識ベース11を定義した
もので、例えば表1のように構成されている。正常値表
16は、入出力装置1からの入力データを得た検査機器
毎に設けられて、検査項目毎の正常値が格納されてい
る。制御部18はインタフェ−ス部10を介して、入出
力装置1から入力されたデータに関連する正常値表16
の識別番号を入力し、該正常値表を選択する。データ変
換部17は入力されたデータを選択された正常値表16
と基準値表15を基にして変換する。知識ベース管理部
12は、知識ベース11から適用可能な一要素知識を取
り出す。推論処理部13はデータ変換部17で変換され
たデータを一時記憶部14に記憶し、知識ベース管理部
12で取り出された一要素知識の各条件に対して一時記
憶部14に記憶されたデータを用いて推論処理を行い、
結果を一時記憶部14に記憶する。The reference value table 15 defines the knowledge base 11, and is configured, for example, as shown in Table 1. The normal value table 16 is provided for each test device that has obtained input data from the input / output device 1, and stores a normal value for each test item. The control unit 18 controls the normal value table 16 relating to the data input from the input / output device 1 via the interface unit 10.
And the normal value table is selected. The data conversion unit 17 converts the input data into the selected normal value table 16.
And the reference value table 15. The knowledge base management unit 12 extracts applicable one element knowledge from the knowledge base 11. The inference processing unit 13 stores the data converted by the data conversion unit 17 in the temporary storage unit 14, and stores the data stored in the temporary storage unit 14 for each condition of one-element knowledge extracted by the knowledge base management unit 12. Perform inference processing using
The result is stored in the temporary storage unit 14.
【0017】[0017]
【表1】 次に、本実施例の動作を図2のフローチャートを参照し
て説明する。[Table 1] Next, the operation of this embodiment will be described with reference to the flowchart of FIG.
【0018】まず、制御部18はインタフェ−ス部10
を介して、入出力装置1から入力されるデータに関連す
る正常値表16の識別番号を入力し、該正常値表(表
2)を選択する(ステップ21)。First, the control unit 18 controls the interface unit 10
, The identification number of the normal value table 16 relating to the data input from the input / output device 1 is input, and the normal value table (Table 2) is selected (step 21).
【0019】[0019]
【表2】 次に、制御部18はインタフェ−ス部10を介して、入
出力装置1から知識処理対象のデータが存在するか判断
する(ステップ22)。知識処理対象のデータがある場
合には、制御部18はインタフェ−ス部10を介して、
入出力装置1から知識処理対象のデータを入力する(ス
テップ23)。例えば表3のデータが入力されたとす
る。[Table 2] Next, the control unit 18 determines whether there is data to be subjected to knowledge processing from the input / output device 1 via the interface unit 10 (step 22). If there is data to be subjected to the knowledge processing, the control unit 18
The data to be subjected to knowledge processing is input from the input / output device 1 (step 23). For example, assume that the data in Table 3 is input.
【0020】[0020]
【表3】 次に、データ変換部17は、入力されたデータ(表3)
をステップ21で選択された正常値表16(表2)と基
準値表15(表1)を基にしてデータ変換する(ステッ
プ24)。変換された入力データ(表4)は推論処理部
13を介して一時記憶部14に格納される。[Table 3] Next, the data conversion unit 17 receives the input data (Table 3).
Is converted based on the normal value table 16 (Table 2) and the reference value table 15 (Table 1) selected in step 21 (step 24). The converted input data (Table 4) is stored in the temporary storage unit 14 via the inference processing unit 13.
【0021】[0021]
【表4】 データ変換部17でのデータ変換は検査項目毎の特性に
より様々な方法により行われるが、本例で下記の式によ
り行った。[Table 4] The data conversion in the data conversion unit 17 is performed by various methods depending on the characteristics of each inspection item.
【0022】変換された入力データの値={(入力デー
タの値−L1)(H2−L2)/(H1−L1)}+L
2 次に、知識ベース管理部12は知識ベース11から適用
可能な一要素知識を取り出す(ステップ25)。適用可
能な一要素知識が存在しない場合、ステップ22へ戻
り、処理を繰り返す。適用可能な一要素知識が存在する
場合、推論処理部13は一要素知識の各条件に対して一
時記憶部14に記憶されたデータを用いて推論処理を行
い、結果を一時記憶部14に記憶し、ステップ25に戻
り、処理を繰り返す(ステップ26)。ステップ22で
知識処理対象のデータがない場合には、制御部18は推
論処理部13を介して一時記憶部14にある結論を取り
出し、結果をインタフェ−ス部10を介して入出力装置
1へ出力する(ステップ27)。Converted input data value = {(input data value-L1) (H2-L2) / (H1-L1)} + L
2. Next, the knowledge base management unit 12 extracts applicable one element knowledge from the knowledge base 11 (step 25). If there is no applicable one-element knowledge, the process returns to step 22 and the process is repeated. When there is applicable one-element knowledge, the inference processing unit 13 performs inference processing for each condition of the one-element knowledge using the data stored in the temporary storage unit 14 and stores the result in the temporary storage unit 14. Then, the process returns to step 25 to repeat the process (step 26). If there is no data to be subjected to the knowledge processing in step 22, the control unit 18 retrieves the conclusion in the temporary storage unit 14 via the inference processing unit 13 and sends the result to the input / output device 1 via the interface unit 10. Output (Step 27).
【0023】他の検査機器で得られた入力データによる
推論処理は、推論の開始に先立って正常値表を指定する
ことで知識ベース11を変更することなく実施される。Inference processing based on input data obtained by another inspection device is performed without changing the knowledge base 11 by specifying a normal value table prior to the start of inference.
【0024】[0024]
【発明の効果】以上説明したように本発明は、検査機器
や地域毎の正常値表を持ち、入力データを対応する検査
機器や地域の正常値表と基準値表を用いて変換し、変換
された入力データを用いて推論処理を行うことにより、
複雑な知識ベースをエキスパートシステム内に1つのみ
管理し、検査機器や地域毎に異なる判定値を持った知識
ベースでの推論処理は、正常値表のみを用意することで
実行でき、検査機器毎に異なる判定値を持った推論処理
を、より簡易で、信頼性の高い知識ベースの管理で実行
できる効果がある。As described above, the present invention has a normal value table for each inspection device or region, and converts input data using the corresponding normal value table and reference value table for the inspection device or region. By performing inference processing using the input data obtained,
Only one complex knowledge base is managed in the expert system, and inference processing with a knowledge base having different judgment values for each inspection device or region can be executed by preparing only a normal value table. Thus, there is an effect that an inference process having a different judgment value can be executed by simpler and more reliable management of a knowledge base.
【図1】本発明の一実施例のエキスパートシステムのブ
ロック図である。FIG. 1 is a block diagram of an expert system according to an embodiment of the present invention.
【図2】図1の実施例の動作を示すフローチャートであ
る。FIG. 2 is a flowchart showing the operation of the embodiment of FIG.
【図3】エキスパートシステムの従来例のブロック図で
ある。FIG. 3 is a block diagram of a conventional example of an expert system.
【図4】図3中の知識ベース11の内容を示す図であ
る。FIG. 4 is a diagram showing the contents of a knowledge base 11 in FIG. 3;
【符号の説明】 1 入出力装置 2 エキスパートシステム 10 インタフェ−ス部 11 知識ベース 12 知識ベース管理部 13 推論処理部 14 一時記憶部 15 基準値表 16 正常値表 17 データ変換部 18 制御部 21〜27 ステップ 31 一要素知識 32 結論 33 条件肢 34 判定論理 35 検査項目名 36 判定値[Description of Signs] 1 Input / output device 2 Expert system 10 Interface unit 11 Knowledge base 12 Knowledge base management unit 13 Inference processing unit 14 Temporary storage unit 15 Reference value table 16 Normal value table 17 Data conversion unit 18 Control unit 21 to 21 27 Step 31 One-element knowledge 32 Conclusion 33 Conditional limb 34 Judgment logic 35 Inspection item name 36 Judgment value
フロントページの続き (72)発明者 竹内 和哉 東京都千代田区内幸町一丁目1番6号 日本電信電話株式会社内 (56)参考文献 特開 平2−75027(JP,A) 「情報処理学会第43回(平成3年後 期)全国大会講演論文集」P.2−183 〜184 (58)調査した分野(Int.Cl.6,DB名) G06F 9/44Continuation of front page (72) Inventor Kazuya Takeuchi 1-6-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nippon Telegraph and Telephone Corporation (56) References JP-A-2-75027 (JP, A) Proceedings of the Annual Meeting (late 1991) National Convention ”P. 2-183 to 184 (58) Fields investigated (Int. Cl. 6 , DB name) G06F 9/44
Claims (1)
積し、該知識ベースを用いて推論処理を行うエキスパー
トシステムにおいて、 前記知識ベースを記述・管理するための、検査項目毎の
基準値が格納されている基準値表と、 前記検査項目毎の正常値が格納されている複数の正常値
表と、 該エキスパートシステムに入力されたデータを、該デー
タに対応する前記正常値表と前記基準値表を基に変換す
るデータ変換部と、 一要素知識の各条件に対して、該データ変換部で変換さ
れたデータを用いて推論処理を行う推論処理部を有する
ことを特徴とするエキスパートシステム。1. An expert system for accumulating expert knowledge in the form of a knowledge base and performing inference processing using the knowledge base, wherein a reference value for each test item for describing and managing the knowledge base is A stored reference value table; a plurality of normal value tables storing normal values for each of the test items; data input to the expert system; and a normal value table corresponding to the data; An expert system, comprising: a data conversion unit that converts based on a value table; and an inference processing unit that performs an inference process using data converted by the data conversion unit for each condition of one-element knowledge. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4267590A JP2855133B2 (en) | 1992-10-06 | 1992-10-06 | Expert system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4267590A JP2855133B2 (en) | 1992-10-06 | 1992-10-06 | Expert system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06119171A JPH06119171A (en) | 1994-04-28 |
| JP2855133B2 true JP2855133B2 (en) | 1999-02-10 |
Family
ID=17446872
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4267590A Expired - Lifetime JP2855133B2 (en) | 1992-10-06 | 1992-10-06 | Expert system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2855133B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4674192B2 (en) * | 2006-09-12 | 2011-04-20 | 株式会社日立製作所 | Manufacturing product sorting method, apparatus for executing the method, and manufacturing product sorting program |
-
1992
- 1992-10-06 JP JP4267590A patent/JP2855133B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 「情報処理学会第43回(平成3年後期)全国大会講演論文集」P.2−183〜184 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06119171A (en) | 1994-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111752799A (en) | Service link tracking method, device, equipment and storage medium | |
| CN108446313B (en) | Data format conversion method and device | |
| JP2592955B2 (en) | Automatic program generator | |
| US20030208509A1 (en) | Data management apparatus storing uncomplex data and data elements of complex data in different tables in data storing system | |
| JPH047640A (en) | Class inheritance resolution processing method | |
| US20060224613A1 (en) | Method and system for an administrative apparatus for creating a business rule set for dynamic transform and load | |
| US8024295B2 (en) | Method and apparatus for archiving and unarchiving objects | |
| JP3756407B2 (en) | Method for handling user-defined data type data items | |
| JP2855133B2 (en) | Expert system | |
| CN113761121B (en) | Knowledge extraction method for structured data | |
| CN107463618A (en) | A kind of index creation method and apparatus | |
| CN115933514B (en) | Control method, device, terminal and storage medium based on soft PLC | |
| JP3443135B2 (en) | Record conversion processor | |
| CN119226319B (en) | Method and device for processing structured query statements in database multi-cluster mode | |
| US20020065838A1 (en) | Information processing apparatus and method, and computer readable memory | |
| CN110837458B (en) | Method, equipment and storage medium for data balance verification | |
| JPS63292313A (en) | Succession method for parameter value | |
| WO2025043664A1 (en) | Method and apparatus for using knowledge graph to generate web form, and computer device | |
| JP2000056956A (en) | Requirement model / other format model conversion device and method | |
| JPH0388039A (en) | Fuzzy rule conversion system | |
| CN117555799A (en) | Platform interface testing method, device, computer equipment and storage medium | |
| CN117726288A (en) | Previewing method and device of approval process, electronic equipment and storage medium | |
| Stallings | An application of coroutines and backtracking in interactive systems | |
| JPH05143280A (en) | Unit conversion controller in quantity control system | |
| JPS59167771A (en) | Acquiring device of causal relation knowledge |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071127 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081127 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091127 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101127 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101127 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111127 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111127 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 14 |
|
| EXPY | Cancellation because of completion of term |