JPH11175344A - Knowledge base system - Google Patents

Knowledge base system

Info

Publication number
JPH11175344A
JPH11175344A JP9347907A JP34790797A JPH11175344A JP H11175344 A JPH11175344 A JP H11175344A JP 9347907 A JP9347907 A JP 9347907A JP 34790797 A JP34790797 A JP 34790797A JP H11175344 A JPH11175344 A JP H11175344A
Authority
JP
Japan
Prior art keywords
knowledge
knowledge base
unit
inference
data
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
JP9347907A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Tsuchikane
由幸 土金
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP9347907A priority Critical patent/JPH11175344A/en
Publication of JPH11175344A publication Critical patent/JPH11175344A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a knowledge base system capable of sufficiently withstanding even input/output specifications requiring the updating and utilization of a knowledge base at a high speed or in real time in the construction of the knowledge base. SOLUTION: The required data set of the knowledge base 16 present on an external storage is read by a knowledge base operation part 15 and loaded on an object knowledge operation part 14 as knowledge data described as a variable structure body. An inference part 12 performs the processing of inference or the like by utilizing the knowledge data of a variable structure placed in the object knowledge operation part 14 and outputs the result through an input/output part 11 again. Also, in the case of performing change such as the change, insertion and addition, etc., of the knowledge data by the processing of the inference, the inference part 12 performs it only to the object knowledge operation part 14. At the time of ending system utilization, the knowledge base operation part 15 preserves the set of the knowledge data placed in the object knowledge operation part 14 in the knowledge base 16.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は知識ベースシステム
に係り、特に情報処理システムにおいて随時高速に、あ
るいはリアルタイムで更新される知識ベースシステムに
関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a knowledge base system, and more particularly to a knowledge base system that is updated at any time in a data processing system at high speed or in real time.

【0002】[0002]

【従来の技術】従来より知られている一般的な知識ベー
スシステムは、図4のブロック図に示すような構成とさ
れている。同図において、入出力部21より入力され
る、知識ベースを利用するための指示あるいは問い合わ
せに対して、推論部22が知識ベース24に格納された
データに基づいた推論を行い、その結果を再び入出力部
21を介して出力する。
2. Description of the Related Art A conventionally known general knowledge base system is configured as shown in a block diagram of FIG. In the figure, the inference unit 22 makes an inference based on the data stored in the knowledge base 24 in response to an instruction or inquiry for using the knowledge base, which is input from the input / output unit 21, and returns the result again. Output via the input / output unit 21.

【0003】推論部22は推論に必要な知識データを、
知識ベース操作部23を介して二次(外部)記憶上に置
かれたデータベース(知識ベース)からロード操作によ
り読み出し、利用する。推論処理等の結果として、知識
ベース24の更新が必要となった場合は、同様に知識ベ
ース操作部23を介して二次記憶上の知識ベースに対し
て更新処理を行う。
[0003] The inference unit 22 stores knowledge data necessary for inference,
The data is read from a database (knowledge base) placed on a secondary (external) storage through the knowledge base operation unit 23 by a load operation and used. When the knowledge base 24 needs to be updated as a result of the inference processing or the like, the update processing is similarly performed on the knowledge base on the secondary storage via the knowledge base operation unit 23.

【0004】このように、知識データの操作は、一般的
なデータベース操作と同様に、外部記憶(二次記憶)上
のデータに対して行われる。これは既に長年にわたる実
績がある、外部記憶上のファイル構造を基にしたデータ
ベース構造及びその更新手法を踏襲した形で知識ベース
を構築することができる、という点で有用である。
[0004] As described above, the operation of the knowledge data is performed on the data on the external storage (secondary storage) as in the general database operation. This is useful in that a knowledge base can be constructed in accordance with a database structure based on a file structure on an external storage and a method of updating the database structure, which has been used for many years.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、この従
来の知識ベースシステムでは、外部記憶装置をシステム
の利用中に随時アクセスし、利用するという形態である
がゆえに、その処理速度には物理的な限界があり、高速
あるいはリアルタイムな知識ベース更新を必要とするよ
うなシステムの構成方法としては不十分である。
However, in this conventional knowledge base system, since the external storage device is accessed and used at any time during use of the system, there is a physical limit to the processing speed. However, it is insufficient as a method for configuring a system that requires a high-speed or real-time knowledge base update.

【0006】本発明は以上の点に鑑みなされたもので、
知識ベースの構築において、高速あるいはリアルタイム
な知識ベースの更新と利用を必要とするような入出力仕
様にも十分耐えられるような知識ベースシステムを提供
することを目的とする。
[0006] The present invention has been made in view of the above points,
It is an object of the present invention to provide a knowledge base system that can withstand input / output specifications that require updating and using a high-speed or real-time knowledge base in the construction of a knowledge base.

【0007】[0007]

【課題を解決するための手段】本発明は上記の目的を達
成するため、入出力部より入力された指示あるいは問い
合わせに対して、推論部が二次記憶上の知識ベースに格
納された知識データに基づいた推論を行い、その結果を
再び入出力部を介して出力する知識ベースシステムにお
いて、知識ベースに格納された知識データのうち、入出
力部よりの入力に応じて必要な知識データを、知識ベー
スから読み出して保存する記憶手段を主記憶上に設け、
推論部は記憶手段に記憶されている知識データを利用し
て推論処理を行うと共に、知識データの更新を記憶手段
に記憶されている知識データに対して行うようにしたも
のである。
According to the present invention, in order to attain the above object, an inference unit responds to an instruction or inquiry input from an input / output unit by storing knowledge data stored in a knowledge base on a secondary storage. In the knowledge base system that performs inference based on and outputs the result again via the input / output unit, of the knowledge data stored in the knowledge base, the necessary knowledge data according to the input from the input / output unit is A storage means for reading and saving from the knowledge base is provided on the main memory,
The inference unit performs an inference process using the knowledge data stored in the storage means, and updates the knowledge data with respect to the knowledge data stored in the storage means.

【0008】この発明では、システムの利用中は対象と
なる知識データを主記憶上の記憶手段にロードした状態
で利用して推論処理を行うと共に、知識データの更新処
理を行うようにしたため、二次記憶上の知識ベースの知
識データを利用する場合よりも高速であるいはリアルタ
イムで知識データの利用ができる。
According to the present invention, during the use of the system, the inference processing is performed by using the knowledge data to be loaded in the storage means on the main memory, and the knowledge data is updated. Knowledge data can be used at higher speed or in real time than when using knowledge data in a knowledge base on the secondary storage.

【0009】また、本発明では、記憶手段には可変構造
体として記述した知識データを記憶するため、可変構造
体によって知識表現ができる。
In the present invention, since the storage means stores knowledge data described as a variable structure, knowledge can be expressed by the variable structure.

【0010】また、本発明では、対象知識更新処理部
が、システムの利用開始時に知識ベース操作部を介して
必要な知識データを知識ベースから対象知識稼働部にロ
ードさせ、システムの利用終了時に対象知識稼働部の記
憶知識データを知識ベース操作部を介して知識ベースに
保存させるようにしたため、推論処理により更新された
知識データを知識ベースに戻すことができる。
Further, in the present invention, the target knowledge update processing unit loads necessary knowledge data from the knowledge base to the target knowledge operating unit via the knowledge base operation unit at the start of use of the system, and at the end of use of the system, Since the knowledge data stored in the knowledge operating unit is stored in the knowledge base via the knowledge base operation unit, the knowledge data updated by the inference processing can be returned to the knowledge base.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面と共に説明する。図1は本発明になる知識ベース
システムの一実施の形態のブロック図である。同図に示
すように、この実施の形態は、主記憶上に対象知識更新
処理部13、対象知識稼働部14及び知識ベース操作部
15をそれぞれ設けた点に特徴がある。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of a knowledge base system according to the present invention. As shown in the figure, this embodiment is characterized in that a target knowledge update processing unit 13, a target knowledge operating unit 14, and a knowledge base operation unit 15 are provided on a main memory.

【0012】対象知識稼働部14には、対象知識更新処
理部13の指示により、可変構造体として記述されてい
る知識ベース16の知識データが置かれる。知識ベース
操作部15は知識ベース16から読み出した必要な知識
データを対象知識稼働部14にロードし、また対象知識
稼働部14の知識データを知識ベース16に保存する。
The target knowledge operating unit 14 stores knowledge data of a knowledge base 16 described as a variable structure according to an instruction of the target knowledge update processing unit 13. The knowledge base operating unit 15 loads the necessary knowledge data read from the knowledge base 16 into the target knowledge operating unit 14 and stores the knowledge data of the target knowledge operating unit 14 in the knowledge base 16.

【0013】次に、この実施の形態の動作について説明
する。システムの開始時に、入出力部11より入力され
る、知識ベース16を利用するための指示あるいは問い
合わせに対して、推論部12が対象知識更新処理部13
を介して、知識ベース16内の必要な知識データを読み
出すように知識ベース操作部15を指示する。これによ
り、外部記憶上に存在する知識ベース16の必要なデー
タ集合が知識ベース操作部15により読み出されて、可
変構造体として記述されている知識データとして対象知
識稼働部14にロードされる。
Next, the operation of this embodiment will be described. At the start of the system, the inference unit 12 responds to an instruction or an inquiry for using the knowledge base 16 input from the input / output unit 11 so that the target knowledge update processing unit 13
, The knowledge base operation unit 15 is instructed to read necessary knowledge data in the knowledge base 16. As a result, a necessary data set of the knowledge base 16 existing in the external storage is read by the knowledge base operating unit 15 and loaded into the target knowledge operating unit 14 as knowledge data described as a variable structure.

【0014】続いて、知識ベース16を利用するための
指示あるいは問い合わせが入出力部11から入力される
と、推論部12は対象知識稼働部14に置かれている可
変構造の知識データを利用して推論等の処理を行い、そ
の結果を再び入出力部11を介して出力する。また、推
論部12は、推論の処理により知識データの変更、挿
入、追加等の変更を行う場合は、対象知識稼働部14に
対してのみ行う。
Subsequently, when an instruction or inquiry for using the knowledge base 16 is input from the input / output unit 11, the inference unit 12 uses the variable structure knowledge data stored in the target knowledge operating unit 14. Then, processing such as inference is performed, and the result is output again via the input / output unit 11. The inference unit 12 performs only the change to the knowledge data, the insertion, and the addition of the knowledge data by the inference processing, and performs only the change to the target knowledge operation unit 14.

【0015】その後、入出力部11からシステム利用終
了指示が、推論部12を介して対象知識更新処理部13
に入力されると、対象知識更新処理部13よりの指示に
従い、知識ベース操作部15が対象知識稼働部14に置
かれている知識データの集合を知識ベース16に保存す
る。
Thereafter, a system use end instruction is sent from the input / output unit 11 to the target knowledge update processing unit 13 via the inference unit 12.
In response to the instruction from the target knowledge update processing unit 13, the knowledge base operation unit 15 stores a set of knowledge data placed in the target knowledge operating unit 14 in the knowledge base 16.

【0016】このように、この実施の形態では、システ
ム利用中の知識データの利用及び更新は、二次記憶(外
部記憶)上に存在するのではなく、主記憶上に存在する
対象知識稼働部14に対してなされるため、従来の知識
ベースシステムに比べてその処理速度は格段に改善さ
れ、従来に比べて高速あるいはリアルタイムな知識ベー
ス更新を必要とするような要求にも十分対応することが
できる。
As described above, in this embodiment, the use and update of the knowledge data during the use of the system is not performed in the secondary storage (external storage) but in the target knowledge operating unit existing in the main storage. 14, the processing speed is remarkably improved as compared with the conventional knowledge base system, and it is possible to sufficiently cope with a request that requires a high-speed or real-time knowledge base update as compared with the conventional one. it can.

【0017】対象知識稼働部14にロードされる知識デ
ータの論理的な具体例について図2と共に説明する。図
2の例は、国際サービス(株)という会社についての記
述をフレーム形式で表現したものである。初期記述に対
してなされる知識データの更新処理には、挿入処理、追
加処理及び変更処理などがある。
A logical example of the knowledge data loaded into the target knowledge operating unit 14 will be described with reference to FIG. The example of FIG. 2 expresses a description of a company called Kokusai Service Co., Ltd. in a frame format. The update process of the knowledge data performed on the initial description includes an insert process, an add process, and a change process.

【0018】初期記述が、図2に示すように「本社 千
代田区」、「関西営業所 大阪市」、「東北営業所 仙
台」というスロット記述であるものとしたとき、上記の
更新処理は、「研究所 横浜市」というスロット記述を
図2に示す位置に挿入することを意味し、上記の追加処
理は「九州営業所 福岡市」というスロット記述をスロ
ット記述群の最後に追加することを意味し、更に上記の
変更処理は、例えば関西営業所スロットの値を「大阪
市」から「神戸市」に変更し、「関西営業所 神戸市」
のようなスロット記述に書き換えることを意味する。
Assuming that the initial description is a slot description of “Headquarters Chiyoda-ku”, “Kansai Sales Office Osaka City”, and “Tohoku Sales Office Sendai” as shown in FIG. This means that the slot description “Laboratory Yokohama” is inserted at the position shown in FIG. 2, and the above additional processing means that the slot description “Kyushu Sales Office Fukuoka” is added to the end of the slot description group. Further, in the above change processing, for example, the value of the Kansai office slot is changed from "Osaka city" to "Kobe city", and the "Kansai office Kobe city"
Means to rewrite the slot description as follows.

【0019】この実施の形態では、このような自由な更
新処理を行えることで、速度だけでなく、更にフレーム
内スロットの記述順序にもある程度の「意味」を持たせ
ることができることになり、推論部12の多様な処理を
実現できる。
In this embodiment, since such a free update process can be performed, not only the speed but also the description order of the slots in the frame can be given a certain "meaning". Various processes of the unit 12 can be realized.

【0020】更に、知識データの論理的な構造を実現す
る可変構造体の記述を詳細に示すと図3に示すようにな
る。同図は構造体を配列として表現したものである。た
だし、配列記述が一般的な計算機言語処理系で可変構造
体を実現しているわけではない。ここでは、あくまで説
明のための記述手段である。
FIG. 3 shows a detailed description of the variable structure for realizing the logical structure of the knowledge data. The figure shows a structure as an array. However, the array description does not necessarily realize a variable structure in a general computer language processing system. Here, this is merely a description means for explanation.

【0021】各行の左端の”[”と右端の”]”で囲ま
れた配列が知識記述の単位、例えばフレーム内スロット
の名前と値を示していると考えることができる。図3に
よって、可変構造体による配列の追加、変更、挿入の様
子が理解される。更に、可変構造体では、例えば個々の
構造の長さは固定されないこと、また、構造体の再帰的
な記述が可能であることも図3から理解される。
It can be considered that an array surrounded by "[" at the left end and "]" at the right end of each row indicates a unit of knowledge description, for example, a name and a value of a slot in a frame. FIG. 3 shows how the variable structure adds, changes, and inserts an array. Further, it can be understood from FIG. 3 that, for the variable structure, for example, the length of each structure is not fixed, and the structure can be recursively described.

【0022】[0022]

【発明の効果】以上説明したように、本発明によれば、
システムの利用中は対象となる知識データのみを主記憶
上の記憶手段にロードした状態で利用して推論処理を行
うと共に、知識データの更新処理を行うことにより、二
次記憶上の知識ベースの知識データを利用する場合より
も高速であるいはリアルタイムで知識データの利用がで
きるようにしたため、高速あるいはリアルタイムな知識
ベース更新と利用を必要とするような入出力仕様にも十
分に耐えられるようなシステムを構築できる。
As described above, according to the present invention,
During use of the system, inference processing is performed using only the target knowledge data loaded in the storage means on the main memory, and updating of the knowledge data is performed, so that the knowledge base on the secondary storage is updated. A system that can withstand input / output specifications that require high-speed or real-time updating and use of knowledge base, because knowledge data can be used faster or in real time than when using knowledge data. Can be constructed.

【0023】また、本発明によれば、記憶手段には可変
構造体として記述した知識データを記憶することによ
り、可変構造体によって知識表現するようにしたため、
追加、変更、挿入等の更新処理を容易に表現でき、ま
た、再帰構造などのより柔軟で複雑な構造も実現でき
る。
Also, according to the present invention, the knowledge data is described by the variable structure by storing the knowledge data described as the variable structure in the storage means.
Update processing such as addition, change, and insertion can be easily expressed, and a more flexible and complicated structure such as a recursive structure can be realized.

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

【図1】本発明の一実施の形態のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】知識データのフレーム形式論理記述例を示す図
である。
FIG. 2 is a diagram illustrating a frame format logical description example of knowledge data.

【図3】配列表現を用いた可変構造体の記述例を示す図
である。
FIG. 3 is a diagram illustrating a description example of a variable structure using an array expression.

【図4】従来の一例のブロック図である。FIG. 4 is a block diagram of an example of the related art.

【符号の説明】 11 入出力部 12 推論部 13 対象知識更新処理部 14 対象知識稼働部 15 知識ベース操作部 16 知識ベース[Description of Signs] 11 Input / output unit 12 Inference unit 13 Target knowledge update processing unit 14 Target knowledge operation unit 15 Knowledge base operation unit 16 Knowledge base

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入出力部より入力された指示あるいは問
い合わせに対して、推論部が二次記憶上の知識ベースに
格納された知識データに基づいた推論を行い、その結果
を再び前記入出力部を介して出力する知識ベースシステ
ムにおいて、 前記知識ベースに格納された前記知識データのうち、前
記入出力部よりの入力に応じて必要な知識データを、前
記知識ベースから読み出して保存する記憶手段を主記憶
上に設け、前記推論部は前記記憶手段に記憶されている
知識データを利用して推論処理を行うと共に、前記知識
データの更新を前記記憶手段に記憶されている知識デー
タに対して行うことを特徴とする知識ベースシステム。
1. An inference unit performs inference based on knowledge data stored in a knowledge base on a secondary storage in response to an instruction or inquiry input from an input / output unit, and returns the result to the input / output unit again. A knowledge base system that outputs necessary knowledge data in accordance with an input from the input / output unit from the knowledge base and stores the knowledge data among the knowledge data stored in the knowledge base. Provided on a main memory, the inference unit performs inference processing using the knowledge data stored in the storage means, and updates the knowledge data with respect to the knowledge data stored in the storage means. A knowledge base system characterized by:
【請求項2】 前記記憶手段は、可変構造体として記述
された知識データを保存することを特徴とする請求項1
記載の知識ベースシステム。
2. The storage device according to claim 1, wherein the storage unit stores knowledge data described as a variable structure.
The described knowledge base system.
【請求項3】 前記記憶手段は、 前記知識ベースに格納された前記知識データを読み出
し、入力された知識データを前記知識ベースに書き込む
知識ベース操作部と、 前記知識ベース操作部により前記知識ベースから読み出
された知識データが可変構造体として記述された知識デ
ータとしてロードされ、前記推論部の推論結果に基づき
保存している前記知識データが更新処理される、主記憶
上に設けられた対象知識稼働部と、 前記推論部の推論結果に従い、前記知識ベース操作部と
前記対象知識稼働部の動作を制御する対象知識更新処理
部とからなることを特徴とする請求項1又は2記載の知
識ベースシステム。
3. The knowledge base operation unit for reading the knowledge data stored in the knowledge base and writing the input knowledge data to the knowledge base, wherein the knowledge base operation unit reads the knowledge data from the knowledge base. The read knowledge data is loaded as knowledge data described as a variable structure, and the knowledge data stored based on the inference result of the inference unit is updated. 3. The knowledge base according to claim 1, further comprising: an operating unit; and a target knowledge update processing unit that controls an operation of the target knowledge operating unit in accordance with an inference result of the inference unit. 4. system.
【請求項4】 前記対象知識更新処理部は、システムの
利用開始時に前記知識ベース操作部を介して必要な知識
データを前記知識ベースから前記対象知識稼働部にロー
ドさせ、システムの利用終了時に前記対象知識稼働部の
記憶知識データを前記知識ベース操作部を介して前記知
識ベースに保存させることを特徴とする請求項3記載の
知識ベースシステム。
4. The target knowledge update processing unit loads necessary knowledge data from the knowledge base to the target knowledge operating unit via the knowledge base operation unit at the start of use of the system, and at the end of use of the system. The knowledge base system according to claim 3, wherein the stored knowledge data of the target knowledge operating unit is stored in the knowledge base via the knowledge base operation unit.
JP9347907A 1997-12-17 1997-12-17 Knowledge base system Pending JPH11175344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9347907A JPH11175344A (en) 1997-12-17 1997-12-17 Knowledge base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9347907A JPH11175344A (en) 1997-12-17 1997-12-17 Knowledge base system

Publications (1)

Publication Number Publication Date
JPH11175344A true JPH11175344A (en) 1999-07-02

Family

ID=18393423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9347907A Pending JPH11175344A (en) 1997-12-17 1997-12-17 Knowledge base system

Country Status (1)

Country Link
JP (1) JPH11175344A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841201A (en) * 2022-04-23 2022-08-02 中国人民解放军32802部队 Design method and device of dynamic knowledge base for intelligent radar countermeasure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841201A (en) * 2022-04-23 2022-08-02 中国人民解放军32802部队 Design method and device of dynamic knowledge base for intelligent radar countermeasure
CN114841201B (en) * 2022-04-23 2023-01-24 中国人民解放军32802部队 Design method and device of dynamic knowledge base for intelligent radar countermeasure

Similar Documents

Publication Publication Date Title
JP3138171B2 (en) How to download system features
JPH03266039A (en) Free format data link processing system
JPH0668736B2 (en) Apparatus and method for providing a cache memory unit with a write operation utilizing two system clock cycles
CN105138649A (en) Data search method and device and terminal
US7505904B2 (en) Database construction apparatus and method
JPH11175344A (en) Knowledge base system
JP2009199384A (en) Data processing apparatus
US11681705B2 (en) Trie data structure with subtrie data structures
JPH0327439A (en) Shared module managing system for program
CN114138276A (en) Page compiling method and device, electronic equipment and storage medium
CN115563371A (en) JSON data formatting method and device
JP2754866B2 (en) Object code generator for data driven computer
JPH07192005A (en) Learning storage controller
JPH05250335A (en) Data base update processing system of loosely coupled multiprocessor system
CN117421362A (en) Database dynamic switching method, device, equipment and medium
JPH06332773A (en) Data base updating system
JPS63280356A (en) Buffer management system for virtual disk device
JPH02253451A (en) Data base managing system
JPH08272411A (en) Ladder instruction processor
JPH05334152A (en) Rapid access method for variable length message file
JP2000330838A (en) Data registration system and method in data warehouse system and storage medium
JP2006209316A (en) Database access management system, management method, and its program
JPH04263362A (en) Document edition control system
JPH04199338A (en) Data base management system
Konas et al. Processor self-scheduling in parallel discrete event simulation