JPH04326167A - Graphic information processor - Google Patents

Graphic information processor

Info

Publication number
JPH04326167A
JPH04326167A JP3095858A JP9585891A JPH04326167A JP H04326167 A JPH04326167 A JP H04326167A JP 3095858 A JP3095858 A JP 3095858A JP 9585891 A JP9585891 A JP 9585891A JP H04326167 A JPH04326167 A JP H04326167A
Authority
JP
Japan
Prior art keywords
data
section
knowledge base
symbols
information
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.)
Granted
Application number
JP3095858A
Other languages
Japanese (ja)
Other versions
JP3128257B2 (en
Inventor
Koichi Shibao
芝尾 絋一
Yukinori Osada
長田 幸憲
Makoto Shimizu
誠 清水
Tadashi Nishimura
正 西村
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.)
Mitsui Petrochemical Industries Ltd
Original Assignee
Mitsui Petrochemical Industries 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 Mitsui Petrochemical Industries Ltd filed Critical Mitsui Petrochemical Industries Ltd
Priority to JP03095858A priority Critical patent/JP3128257B2/en
Priority to CA002065473A priority patent/CA2065473C/en
Priority to US07/865,186 priority patent/US5355445A/en
Priority to DE69226673T priority patent/DE69226673T2/en
Priority to EP92106152A priority patent/EP0510452B1/en
Priority to KR1019920005937A priority patent/KR100245742B1/en
Publication of JPH04326167A publication Critical patent/JPH04326167A/en
Application granted granted Critical
Publication of JP3128257B2 publication Critical patent/JP3128257B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To offer graphic information processing technique capable of obtaining very easily the evaluation information of plotting information from the plotting information. CONSTITUTION:A basic data part 4 consisting of a graphic.connection data storage part 1 to store the information of the shape, the meaning and the connection relation of a symbol and an attribute data storage part 3 to store attribute data 2 corresponding to the symbol, and a converting part 5 to convert data from the data part 4 into description related to factual data are provided. Besides, a knowledge base 8 consisting of a factual data storage part 6 to store the factual data converted by the converting part 5 and a predicative rule storage part 7 to stipulate a predicative rule by input from the outsides by declarative language is provided. A deductive inference part 10 to execute deductive inference by the knowledge base 8 is provided, and the above- mentioned inference part 10 executes the deductive inference from the predicative rule and the factual data of the above-mentioned knowledge base 8 on the basis of a question retrieval expression given from the outsides, and finds a retrieved answer corresponding to the contents of the above-mentioned question, and displays this retrieved answer on an operating part 11, and outputs the graphic to an output part 12.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、設計、作図・入力段階
に得られたCAD等の図形情報を属性情報とともに事実
に関する知識ベース化して、演繹推論による設計・入力
過程でのチェックや、設計・入力成果物の運転、安全、
設備管理等の情報が入手可能な図形情報処理装置に関す
る。
[Industrial Application Field] The present invention converts graphical information obtained from CAD, etc., obtained during the design, drawing, and input stages into a factual knowledge base together with attribute information, and enables checks in the design and input process by deductive reasoning, and・Driving and safety of input products,
The present invention relates to a graphical information processing device from which information such as equipment management can be obtained.

【0002】0002

【従来の技術】近年におけるメモリ技術及びプロセッサ
の高速化によって、EWS(エンジニアリング・ワーク
ステーション)等における容量及び計算処理能力は飛躍
的に拡大した。そのため、エキスパート・システム等の
知的情報処理の利用が期待されるが、利用者にとって必
ずしも利用できるとは言えない状況にある。
2. Description of the Related Art In recent years, the capacity and computational processing power of EWS (engineering workstations) and the like have increased dramatically due to the increase in speed of memory technology and processors. Therefore, although the use of intelligent information processing such as expert systems is expected, it is not always possible for users to use them.

【0003】これは、実用的な知的情報処理の前提とな
る大規模な知識ベース、特に実際の対象に関する大量な
事実についての知識ベース、の作成が非常に困難なため
である。すなわち、事実に関する知識が、図形や形状等
の多様な形態で表現される場合があり、これらは知的情
報処理に必ずしも適していなかった。
[0003] This is because it is extremely difficult to create a large-scale knowledge base, which is a prerequisite for practical intelligent information processing, especially a knowledge base containing a large amount of facts regarding actual objects. In other words, factual knowledge is sometimes expressed in various forms such as figures and shapes, and these are not necessarily suitable for intellectual information processing.

【0004】例えば、大規模なプラント設備をCADを
設計・作図した際に、その設備の安全性、運転性等のチ
ェックについては、従来の技術ではCADで作成された
図とは別に各要素に関する大量の情報を別途、計算機に
知識処理に適した形態で入力して、計算処理する必要が
あった。
[0004] For example, when large-scale plant equipment is designed and drawn using CAD, in order to check the safety, operability, etc. of the equipment, conventional technology uses a CAD system to check the safety, operability, etc. of each element separately from the CAD drawings. It was necessary to separately input a large amount of information into a computer in a form suitable for knowledge processing and process it.

【0005】また、規則、推論に関する知識についても
、知識ベースを作成し知的処理を進める内に新規に作成
・追加する必要が判明する場合が多かった。例えば、プ
ラント設備で事故が発生した場合、他の既存設備で類似
の災害の発生する可能性のある危険箇所を、類災防止の
ため、検索する必要が生じている。
[0005] Furthermore, with respect to knowledge regarding rules and inferences, it is often found that it is necessary to newly create or add knowledge while creating a knowledge base and proceeding with intellectual processing. For example, when an accident occurs in plant equipment, it is necessary to search for hazardous locations in other existing equipment where a similar disaster may occur in order to prevent similar accidents.

【0006】しかし、従来の設備診断等の技術では、事
故の種類が先に想定され、それに対応してデータや推論
規則が定まっているため、後で発見された問題への対処
が非常に困難であった。
[0006] However, with conventional technology such as equipment diagnosis, the type of accident is assumed first, and data and reasoning rules are determined accordingly, making it extremely difficult to deal with problems discovered later. Met.

【0007】また、従来技術によれば、CAD等による
設計、作図・入力と、図面上で表われる構成要素の事実
に関する知識ベースとが各々独立、別個のものであるた
め、設計、作図・入力段階や、その後の設計、作図・入
力の対照物に関するチェック、評価、検索等については
、CADで設計・入力した情報は利用できず、基本的に
は人間が計算機に対しデータを入力、命令しなければな
らなかった。
[0007] Furthermore, according to the prior art, the design, drawing, and input using CAD, etc., and the knowledge base regarding the facts of the constituent elements appearing on the drawings are independent and separate, so that the design, drawing, and input are independent and separate from each other. Information designed and input using CAD cannot be used for checking, evaluating, searching, etc. regarding the stage, subsequent design, drawing/input objects, etc., and basically humans input data and give instructions to the computer. I had to.

【0008】[0008]

【発明が解決しようとする課題】以上のように大規模の
問題に対し、対象問題毎に事実に関するデータを入力し
、規則、知識をプログラム化することも考えられるが、
データ入力に膨大な手間がかかるソフトウェアの開発が
困難で、時間、コストの点からも非現実的であった。
[Problem to be solved by the invention] For large-scale problems as described above, it is possible to input factual data for each target problem and program rules and knowledge.
It was difficult to develop software that required a huge amount of time and effort to input data, and it was also impractical in terms of time and cost.

【0009】本発明の目的は、このような点を鑑みて、
大規模なCAD等の設計、作図・入力した情報から事実
に関する知識ベースを極めて容易に作成し、新たな問題
に対しても柔軟に対応可能な図形情報処理技術を提供す
ることにある。
[0009] In view of these points, the object of the present invention is to
The object of the present invention is to provide a graphical information processing technology that can extremely easily create a factual knowledge base from information inputted into a large-scale CAD design, etc., and can flexibly respond to new problems.

【0010】0010

【課題を解決するための手段】本発明は、シンボルの形
状、意味、接続関係の情報を格納する図形・接続データ
格納部1と、シンボルに対応した属性データ2を格納す
る属性データ格納部3とからなる基本データ部4と、前
記データ部4からのデータを事実データに関する記述に
変換する変換部5と、前記変換部5で変換された事実デ
ータを格納する事実データ格納部6と、外部から宣言言
語での入力により述語規則を規定する述語規則格納部7
とからなる知識ベース部8と、前記知識ベース部8によ
り演繹推論する演繹推論制御部10からなり、前記推論
部10は、外部より与えられた質問検索式に基づいて、
前記知識ベース部8の述語規則及び事実データより演繹
推論を行い、前記質問内容に対応した検索回答を得、こ
の検索回答を操作部11に表示、出力部12に出図する
ことを要旨とする。
[Means for Solving the Problems] The present invention provides a graphic/connection data storage section 1 that stores information on the shapes, meanings, and connection relationships of symbols, and an attribute data storage section 3 that stores attribute data 2 corresponding to the symbols. a basic data section 4 consisting of a basic data section 4, a conversion section 5 that converts the data from the data section 4 into a description regarding fact data, a fact data storage section 6 that stores the fact data converted by the conversion section 5, and an external Predicate rule storage unit 7 that defines predicate rules by inputting them in a declarative language from
and a deductive inference control unit 10 that performs deductive inference using the knowledge base unit 8. The inference unit 10 is configured to:
The gist is to perform deductive reasoning from the predicate rules and factual data in the knowledge base section 8, obtain a search answer corresponding to the question content, display this search answer on the operation section 11, and output it on the output section 12. .

【0011】[0011]

【作用】本発明の原理図を図1に示す。同図に示すよう
に、本システムの構成は基本データ部4として、個々の
シンボル等の形状・接続情報を格納する図形・接続デー
タ格納部1と、個々のシンボル等に対応する属性データ
格納部3を有している。
[Operation] A diagram of the principle of the present invention is shown in FIG. As shown in the figure, the configuration of this system includes a basic data section 4, a figure/connection data storage section 1 that stores shape/connection information of individual symbols, etc., and an attribute data storage section corresponding to each symbol, etc. It has 3.

【0012】ここで、図形・接続データの図形情報とし
ては、例えば、配管計装システムであれば、ドラム、塔
等の機器やバルブ、フランジ、配管の配管部品等の形状
とその要素である直線、円弧、等の部位(プリミティブ
)、及び蒸留ユニット等の機器、配管部品等の集合情報
等が挙げられる。
Here, the graphic information of the graphic/connection data includes, for example, in the case of a piping instrumentation system, the shapes of equipment such as drums and towers, valves, flanges, piping parts, etc., and the straight lines that are their elements. , circular arcs, and other parts (primitives), as well as equipment such as distillation units, piping parts, and other aggregate information.

【0013】また、接続データとしては、個々の機器や
配管の接続関係、及び接続位置を該当する部位(プリミ
ティブ)で示したものが挙げられる。
[0013] Furthermore, the connection data includes data showing the connection relationships of individual devices and piping, and the connection positions by corresponding parts (primitives).

【0014】属性データ2としては配管計装システムで
は、配管部品の設計圧力や材質等で、電気回路では、電
気素子等の部品要素における定格電流値等である。これ
らは、CAD等の設計、作図・入力操作で生成される。
In the case of a piping instrumentation system, the attribute data 2 is the design pressure, material, etc. of piping components, and in the case of an electric circuit, it is the rated current value of component elements such as electric elements. These are generated by designing, drawing, and inputting operations using CAD, etc.

【0015】次に、本発明では前記基本データ部4の情
報に基づいて変換部5において、述語形式の事実データ
に変換される。ここで生成される事実データとは、例え
ば、CAD表示上のシンボルの部品要素名、分類コード
、設計圧力等のシンボルに対する事実情報である。
Next, in the present invention, the information in the basic data section 4 is converted into fact data in a predicate format in the conversion section 5. The factual data generated here is, for example, factual information about the symbol such as the part element name, classification code, design pressure, etc. of the symbol on the CAD display.

【0016】また、外部から与えられる述語規則は、前
記事実情報の概念定義(例えば分類コードの定義等)、
あるいは検索における演繹推論の定義(例えば、素子作
動時の電圧値が定格電圧よりも高い素子は危険である等
)が規定してある。
[0016] Furthermore, the predicate rules given from the outside include a conceptual definition of the factual information (for example, a definition of a classification code, etc.),
Alternatively, a definition of deductive reasoning in the search (for example, an element whose voltage value when activated is higher than the rated voltage is dangerous) is prescribed.

【0017】演繹推論制御部10は、前記述語規則を参
照しながら、与えられた検索質問式と事実データに基づ
いて演繹推論を行い、質問式に対応した事実、例えば設
備の機器、配管上あるいは回路上の危険箇所を検索する
The deductive inference control unit 10 performs deductive inference based on the given search query expression and fact data while referring to the predetermined word rule, and calculates the facts corresponding to the query expression, for example, equipment of equipment, piping, etc. Or search for dangerous points on the circuit.

【0018】そして、これによって得られた検索回答は
、操作部11の表示や出力部12の出図に反映され、例
えば該当箇所の色分け表示等により、操作者や利用者は
検索回答を容易に把握できる。
[0018] The search answers obtained in this way are reflected in the display on the operation unit 11 and the drawings on the output unit 12. For example, by color-coding the relevant parts, the operator and user can easily find the search answers. I can understand it.

【0019】このように、本発明によれば、CAD等の
図形・接続情報から事実データを抽出し、予め作成され
た述語規則に基づき演繹推論制御部10が演繹推論によ
って検索する手法を採用したことにより、第1にCAD
等の膨大なデータから演繹推論の基となる大規模な事実
に関する知識ベースの生成が非常に容易になる。
As described above, according to the present invention, a method is adopted in which factual data is extracted from figure/connection information of CAD, etc., and the deductive reasoning control unit 10 searches by deductive reasoning based on predicate rules created in advance. By doing so, firstly, CAD
It becomes very easy to generate a knowledge base of large-scale facts on which deductive reasoning can be based from a huge amount of data.

【0020】第2に、述語形式で作成するので推論規則
、ルールに関する知識ベースの生成、管理が容易になる
。述語規則が予め定められていなくとも、述語規則や検
索質問式を入力することによって、元の事実データを変
更することなく新しい多様な検索内容を実効する事が出
来る。
Second, since it is created in a predicate format, it is easy to generate and manage knowledge bases regarding inference rules and rules. Even if predicate rules are not determined in advance, by inputting predicate rules and search query expressions, new and diverse search contents can be executed without changing the original fact data.

【0021】そして、第3に、前記検索回答を操作部や
出図した図面上に反映させることにより、操作者や利用
者がきわめて容易にシステムの危険箇所等の検索回答の
内容を把握することが出来る。
[0021] Thirdly, by reflecting the search answers on the operation unit or the drawn drawings, operators and users can very easily grasp the contents of the search answers, such as dangerous areas of the system. I can do it.

【0022】[0022]

【実施例1】本発明を実際のプラントの配管計装の基本
設計に適用した実施例に基づいて具体的に説明する。
[Embodiment 1] The present invention will be specifically explained based on an embodiment in which the present invention is applied to the basic design of piping instrumentation in an actual plant.

【0023】図2は本実施例の装置構成を示している。 以下の説明において、前述の図1と同一の部分について
は説明を省略する。
FIG. 2 shows the device configuration of this embodiment. In the following description, description of the same parts as those in FIG. 1 described above will be omitted.

【0024】図3は、基本データ部4の図形・接続デー
タ格納部1に格納されたデータの対象である機器、配管
システムの一部を示している。同図では、塔13とドラ
ム14が配管15によって互いに接続されている。同図
に示されるような設計作図はマウス・デジタイザ等の入
力手段を備えた操作部11を通じて公知の図形入力手段
によって作図可能である。
FIG. 3 shows a part of the equipment and piping system that are the objects of data stored in the graphic/connection data storage section 1 of the basic data section 4. In the figure, a column 13 and a drum 14 are connected to each other by a pipe 15. Design drawings as shown in the figure can be drawn using known graphic input means through the operating section 11 equipped with input means such as a mouse and digitizer.

【0025】なお、出力部12としてはCRT等のディ
スプレイ装置が一般的であるが、プロッタ等の出力手段
もこれに含めることが出来る。
The output section 12 is generally a display device such as a CRT, but it can also include an output means such as a plotter.

【0026】図4は図形情報テーブルを示しており、如
何なる様式でもよいが少なくともシンボルを内部で識別
するためのノード番号等の特定の識別子と、そのシンボ
ルの意味を区別するための分類コード等の識別子、及び
形状を示すための直線、円弧等のプリミティブ情報で構
成される。また、必要によって、各プリミティブの意味
を示す部位コードや、シンボルの集合を識別するグルー
プ番号等が付与される。
FIG. 4 shows a graphic information table, which may be in any format, but at least includes a specific identifier such as a node number for internally identifying a symbol, and a classification code for distinguishing the meaning of the symbol. It consists of an identifier and primitive information such as straight lines and arcs to indicate the shape. Further, if necessary, a part code indicating the meaning of each primitive, a group number identifying a set of symbols, etc. are assigned.

【0027】図5および図6は接続関情報テーブルと、
その中のグループ情報テーブルを示しており、シンボル
とシンボルとの接続対応を明らかにしている。また、必
要によって、シンボルの接続している位置を部位(プリ
ミティブ)で示している。
FIGS. 5 and 6 show a connection information table,
It shows the group information table in it, and clarifies the connection correspondence between symbols. Furthermore, if necessary, the positions where symbols are connected are indicated by parts (primitives).

【0028】図7は、属性データ格納部に格納された属
性データテーブルの例を示している。同図では、属性デ
ータとして、識別子(番号)「D−201」で表わされ
るドラムの設計圧力は10.3kg/cm2Gであり、
設計温度は200℃であることを示している。このよう
な属性データは、リレーショナル・データベースのタブ
ル、フィールド等の公知の任意のデータ形式で登録して
おくことができる。
FIG. 7 shows an example of an attribute data table stored in the attribute data storage section. In the figure, the design pressure of the drum represented by the identifier (number) "D-201" as attribute data is 10.3 kg/cm2G,
It shows that the design temperature is 200°C. Such attribute data can be registered in any known data format such as a table or field in a relational database.

【0029】変換部5では、前記図3の設計、作図・入
力で生成される図形・接続データと属性データ2に基づ
いて、下記のような事実データを生成する      
  KEY(n102346,’D−201’).  
                 (データ1)  
       node(n102346,c101)
.                     (デー
タ2)        node(n102345,c
201).                    
 (データ3)        node(n1023
47,c300).                
     (データ4)        joint(
n102346,n102347).        
         (データ5)        jo
int(n102347,n102345).    
             (データ6)      
  conn(n102346,b2.n102347
,b1).            (データ7)  
       conn(n102347,b1.n1
02345,b2).            (デー
タ8)        attr(’D−201’,d
p,ty0,un141,10.3).       
 (データ9)        attr(’D−20
1’,op,ty0,un141,12.7).   
     (データ10)        attr(
’D−201’,dt,ty0,un11,200.)
.         (データ11)前記各データの示
す意味は下記の通りである。 データ1…図面上のシンボルのn102346の機番は
D−201である。 データ2…シンボルn102346の分類コードはc1
01(ドラム14)である。 データ3…n102345はc201(塔13)である
。 データ4…n102347はc300(配管15)であ
る。 データ5…n102346とn102347は接続して
いる。 データ6…n102347とn102345は接続して
いる。 データ7…n102346とn102347は各々部位
2と部位1で接続している。 データ8…n102347とn102345は各々部位
1と部位2で接続している。 データ9……D−201の設計圧力は10.3kg/c
m2Gである。 データ10…D−201の設計温度は200℃である。 データ11…D−201の運転圧力は12.7kg/c
m2Gである。
The conversion unit 5 generates the following fact data based on the figure/connection data and attribute data 2 generated by the design, drawing, and input shown in FIG.
KEY(n102346,'D-201').
(Data 1)
node (n102346, c101)
.. (Data 2) node(n102345,c
201).
(Data 3) node (n1023
47, c300).
(Data 4) joint(
n102346, n102347).
(Data 5) jo
int(n102347, n102345).
(Data 6)
conn(n102346,b2.n102347
,b1). (Data 7)
conn(n102347,b1.n1
02345, b2). (Data 8) attr('D-201', d
p, ty0, un141, 10.3).
(Data 9) attr('D-20
1', op, ty0, un141, 12.7).
(Data 10) attr(
'D-201', dt, ty0, un11, 200. )
.. (Data 11) The meanings of each of the above data are as follows. Data 1: The machine number of symbol n102346 on the drawing is D-201. Data 2...The classification code of symbol n102346 is c1
01 (drum 14). Data 3...n102345 is c201 (tower 13). Data 4...n102347 is c300 (piping 15). Data 5...n102346 and n102347 are connected. Data 6...n102347 and n102345 are connected. Data 7...n102346 and n102347 are connected at site 2 and site 1, respectively. Data 8...n102347 and n102345 are connected at site 1 and site 2, respectively. Data 9...The design pressure of D-201 is 10.3 kg/c
It is m2G. Data 10...The design temperature of D-201 is 200°C. Data 11...The operating pressure of D-201 is 12.7 kg/c
It is m2G.

【0030】ここで、nXXXXXX(Xは数字を意味
する)はノード番号であり、CAD図面における各シン
ボルに固有の一種の識別番号である。
[0030] Here, nXXXXXX (X means a number) is a node number, which is a type of identification number unique to each symbol in the CAD drawing.

【0031】知識ベース部8において、述語規則格納部
7における述語規則は、宣言言語形式で登録される。
In the knowledge base section 8, the predicate rules in the predicate rule storage section 7 are registered in a declarative language format.

【0032】すなわち、「AならばBである」と言う表
現は、「A:−B」で示される。また、「AかつBなら
ばCである」と言う表現は、「C:−A,B」で示され
る。これを具体的に示すと下記の通りである。 drum(X):−node(X.c101).  (
ルール1)equipment(X):−drum(X
).  (ルール2)un_safe_equipme
nt(X,Y):−equipment(X),key
(X,Y),attr(Y,dp,z.un141,p
d),attr(Y,op,z,un141,Po),
Pd<Po.   (ルール3)前記各ルールの示す意
味は下記の通りである。
In other words, the expression "If A, then B" is expressed as "A:-B". Further, the expression "If A and B, then C" is expressed as "C:-A,B". This is specifically shown below. drum(X):-node(X.c101). (
Rule 1) equipment (X): -drum (X
). (Rule 2) un_safe_equipme
nt(X,Y):-equipment(X),key
(X, Y), attr(Y, dp, z.un141, p
d), attr(Y, op, z, un141, Po),
Pd<Po. (Rule 3) The meanings of each of the above rules are as follows.

【0033】ルール1…分類コードc101のシンボル
(ノード)はドラムを表わしている。 ルール2…ドラムは機器である。 ルール3…運転圧力が設計圧力より高い機器は危険であ
る。
Rule 1: The symbol (node) of classification code c101 represents a drum. Rule 2...Drums are instruments. Rule 3: Equipment whose operating pressure is higher than the design pressure is dangerous.

【0034】前記述語規則は、一般的な規則として予め
述語規則格納部7に登録してもおいてもよいし、あるい
は検索質問式を入力する際に追加規則として入力しても
よい。このような外部から与えられたテキスト形式の述
語規則は、コンパイル部によって演繹データベースの手
法により高速検索に適した形式に翻訳されて述語規則格
納部7に格納(登録)される。
The predetermined word rule may be registered in advance in the predicate rule storage unit 7 as a general rule, or may be input as an additional rule when inputting a search question expression. Such a predicate rule given from the outside in a text format is translated into a format suitable for high-speed search by the compiling unit using a deductive database method, and is stored (registered) in the predicate rule storage unit 7.

【0035】次に、演繹推論制御部10に対して与えら
れる検索質問の具体例を下記に示す。下記の質問では、
不安全な機器のノード番号とその機番を求めている。
Next, a specific example of a search question given to the deductive reasoning control section 10 will be shown below. In the questions below,
We are looking for the node number and machine number of unsafe equipment.

【0036】:−un_safe_equipment
(X,Y).   (質問1)前記述語形式で入力され
た質問1は、コンパイル部16でコンパイルされ演繹デ
ータベースの検索手法による高速検索形式に翻訳された
後、演繹推論制御部10に与えられる。演繹推論制御部
10では、前記質問により、事実データ及び述語規則に
基づき、該当する事実を検索しその結果を事実データと
して生成する。
:-un_safe_equipment
(X, Y). (Question 1) Question 1 input in the predescriptive word format is compiled by the compiling unit 16 and translated into a high-speed search format using a deductive database search method, and then is provided to the deductive reasoning control unit 10. In response to the question, the deductive reasoning control unit 10 searches for a corresponding fact based on fact data and predicate rules, and generates the result as fact data.

【0037】ここで、演繹推論制御部10での演算処理
を概略的に説明すると、先ず述語規則格納部7における
述語規則により、各ルールを参照して演繹推論を行なう
[0037] Here, to briefly explain the arithmetic processing in the deductive inference control unit 10, first, deductive inference is performed by referring to each rule using the predicate rules in the predicate rule storage unit 7.

【0038】ここでは、前記で示した質問1よりルール
3を参照する。すなはち、ルール3によれば、「危険な
機器」を検索するにあたっては、「運転圧力が設計圧力
よりも高い機器」を抽出すれば良いことが分かる。
Here, Rule 3 will be referred to from Question 1 shown above. In other words, according to Rule 3, when searching for "dangerous equipment," it is sufficient to extract "equipment whose operating pressure is higher than the design pressure."

【0039】次にルール2より機器に該当するドラム・
ノードを索出する。この時ルール3から、分類コード「
c101」で定義されたノードが該当することが分かり
、データ2よりノード「n102346」がドラムであ
ることが判明し、更にデータ1よりこのドラムの機番は
「D−201」であることが判明する。
Next, according to rule 2, the drum/
Find a node. At this time, from rule 3, the classification code "
It turns out that the node defined by "c101" corresponds, and from data 2 it turns out that node "n102346" is a drum, and from data 1 it turns out that the machine number of this drum is "D-201". do.

【0040】「D−201」ドラムの属性データを索出
し、データ9とデータ11から、設計圧力と運転圧力を
比較し「D−201」ドラムが、危険機器に該当するこ
とが判明する。
The attribute data of the "D-201" drum is retrieved, and the design pressure and the operating pressure are compared from data 9 and data 11, and it is determined that the "D-201" drum corresponds to dangerous equipment.

【0041】以上の検索に基づき、演繹推論制御部10
は下記の検索結果を出力する。 un_safe_equipment(n102346
,■D−201’).  (出力1)前記出力は、不安
全な機器のノード番号は「n102346」であり、そ
の機番は「D−201」(ドラム14)であることを意
味している。
Based on the above search, the deductive reasoning control unit 10
will output the following search results. un_safe_equipment(n102346
,■D-201'). (Output 1) The above output means that the node number of the unsafe device is "n102346" and its machine number is "D-201" (drum 14).

【0042】演繹推論制御部10では、前記検索出力に
基づいて、CRT上に表示された図面の該当箇所を色分
け表示するようにしてもよい。この場合、演繹推論制御
部10からの命令により、知識デ−タ部から表示情報を
出力してもよい。この場合、バンドル情報としてノ−ド
番号に色コ−ドを付加することができる。たとえば「(
n102346,7).,(n102345,1).」
というように、ノ−ド番号とカラ−コ−ドを対にして表
示デ−タを出力する。ここで不安全ノ−ドは「n102
346」であり、このノ−ドのシンボルは赤色(色コー
ド:7)で表示される。また「n102345」は安全
ノ−ドであり、通常の緑色(色コード:1)で表示され
る。
The deductive reasoning control unit 10 may display corresponding parts of the drawing displayed on the CRT in different colors based on the search output. In this case, display information may be output from the knowledge data section in response to a command from the deductive reasoning control section 10. In this case, a color code can be added to the node number as bundle information. for example"(
n102346, 7). , (n102345, 1). ”
Display data is output by pairing the node number and color code. Here, the unsafe node is “n102
346'', and the symbol of this node is displayed in red (color code: 7). Further, "n102345" is a safe node and is displayed in normal green (color code: 1).

【0043】以上の説明では、索出された事実デ−タに
基づいて配管15上の不安全箇所を指示したが、これ以
外にもたとえば同種のバルブのみを全て色分け表示する
検索、バルブを経由しないで接続している機器・配管1
5グル−プを索出する同一圧力可能範囲の検索、同一圧
力可能範囲内での設計圧力が低い機器・配管15範囲の
検索、さらには機器に接続した安全弁を検索する安全装
置の有無検索等が実行可能である。
In the above explanation, unsafe points on the piping 15 were indicated based on the retrieved factual data, but in addition to this, for example, a search in which all valves of the same type are displayed in different colors, Equipment/pipes connected without connection 1
Search for the same pressure range to find 5 groups, search for 15 ranges of equipment/pipes with low design pressure within the same pressure range, and search for the presence or absence of safety devices to search for safety valves connected to equipment, etc. is feasible.

【0044】さらに、実施例では配管15プラントに適
用した場合で説明したが、これに限らず電気(電子)回
路の設計、空調設備の配管15設計等に利用することも
可能である。
Further, in the embodiment, the case where the present invention is applied to the piping 15 plant has been described, but the present invention is not limited to this, and can also be applied to the design of electric (electronic) circuits, the piping 15 of air conditioning equipment, etc.

【0045】[0045]

【実施例2】図8は、本発明の実施例2におけるシステ
ム構成を示している。
Embodiment 2 FIG. 8 shows a system configuration in Embodiment 2 of the present invention.

【0046】本実施例は、同図に示すように前記実施例
1(図2)とほぼ同様であるが、変換部5において、変
換制御部17を備えている点が異なる。
As shown in the figure, this embodiment is almost the same as the first embodiment (FIG. 2), except that the conversion section 5 is provided with a conversion control section 17.

【0047】前記変換制御部5は、変更情報登録部18
を備えている。この変更情報登録部18は、基本データ
部4に登録されているフローシートCADあるいは図面
データベース等の一次データの内容が変更された場合に
、当該データが変更されたという情報のみをログとして
登録しておく機能を有している。
The conversion control unit 5 includes a change information registration unit 18
It is equipped with When the contents of primary data such as flow sheet CAD or drawing database registered in the basic data section 4 are changed, this change information registration section 18 registers only the information that the data has been changed as a log. It has the function of keeping

【0048】本実施例における最大の特徴は、前記知識
ベース部8におけるデータの管理方法にある。
The greatest feature of this embodiment is the data management method in the knowledge base section 8.

【0049】すなわち、本実施例では、仕様変更等によ
り一次データの一部が変更された場合、変換部5はその
変換制御部17内の変更情報登録部18に、前記変更の
事実のみをログとして登録しておき、この段階での知識
ベース部8における事実データの更新は行わない。
That is, in this embodiment, when a part of the primary data is changed due to a change in specifications, etc., the conversion unit 5 logs only the fact of the change in the change information registration unit 18 in the conversion control unit 17. The fact data in the knowledge base section 8 is not updated at this stage.

【0050】そして、演繹推論制御部10に対して質問
検索式が与えられ検索処理が開始されると、前記変換制
御部17は知識ベース部8を常に参照して、演繹推論制
御部10から事実データ格納部6へのアクセスと、自身
の保有している変更情報登録部の変更情報とを照合し、
アクセスされた事実データにおいて、これの基礎となる
一次データが変更されている場合には、演繹推論制御部
10からのアクセスを一旦停止させ、変換制御部17か
ら変換部5に対して変換命令を出力し、該当する一次デ
ータを変換し、知識ベース部8の事実データ格納部6に
登録し、これを更新する。
When the question search expression is given to the deductive reasoning control unit 10 and the search process is started, the conversion control unit 17 constantly refers to the knowledge base unit 8 and extracts the facts from the deductive reasoning control unit 10. Compare the access to the data storage unit 6 with the change information held by the change information registration unit,
If the primary data that is the basis of the accessed fact data has been changed, access from the deductive reasoning control unit 10 is temporarily stopped, and the conversion control unit 17 issues a conversion command to the conversion unit 5. The relevant primary data is output, converted, and registered in the fact data storage section 6 of the knowledge base section 8, and updated.

【0051】以上の処理を示したのが図9のフロー図で
ある。このように、本実施例では、基本データ部4にお
ける一次データに変更が生じた場合に、ただちに事実デ
ータへの変換を行うことはせず、検索処理の段階で必要
に応じて変換処理を実行するようにした。
FIG. 9 is a flow diagram showing the above processing. In this way, in this embodiment, when a change occurs in the primary data in the basic data section 4, the conversion process is not performed immediately into fact data, but the conversion process is performed as necessary at the stage of the search process. I decided to do so.

【0052】すなわち、知識ベースでは、一般に莫大な
量のデータの蓄積がなされるが、実際の検索処理を行う
場合にアクセスされる事実データはそのうちのごく一部
である。
That is, although a vast amount of data is generally accumulated in a knowledge base, the factual data that is accessed when performing actual search processing is only a small portion of it.

【0053】したがって、比較的頻繁に行われる一次デ
ータの変更の度に変換部5での変換を実行し、事実デー
タの再編成を行った場合、変換処理のみに負担が増大し
、検索処理速度に支障をきたすことになりかねない。
[0053] Therefore, if the conversion unit 5 executes conversion and reorganizes the factual data each time primary data is changed, which is relatively frequently done, the burden increases only on the conversion process, and the search processing speed decreases. It may cause problems.

【0054】この点について本実施例によれば、検索処
理で必要となった段階で変換部5における変換処理を実
行するため、極めて効率的な処理が実現できる。
Regarding this point, according to the present embodiment, the conversion process in the conversion unit 5 is executed at the stage when it becomes necessary for the search process, so that extremely efficient processing can be realized.

【0055】特に、前記知識ベース部8が複数に分散さ
れているいわゆる分散データベース型のシステムにおい
ては、第1の知識ベース部における一次データが変更さ
れた際に、これとは無関係な第2の知識ベース部も変換
処理のために処理を中断されることがないため、システ
ムの効率的な運用が可能となる。
In particular, in a so-called distributed database type system in which the knowledge base section 8 is distributed in a plurality of locations, when the primary data in the first knowledge base section is changed, the information in the unrelated second knowledge base section is changed. Since the knowledge base section is not interrupted for conversion processing, the system can be operated efficiently.

【0056】なお、以上の本実施例2の説明では、知識
ベース部8のデータ変更箇所へのアクセスの度に基本デ
ータ部4から変更データを読み出して、その都度新たな
事実データに変換する場合で説明したが、変換制御部1
7に対してアクセスされた事実データの箇所が変更箇所
に該当することが変換制御部17に通報されたことを契
機に前記変更データを含む変更範囲を一括してバッチ処
理してもよい。
In the above description of the second embodiment, the changed data is read out from the basic data section 4 each time a data changed location in the knowledge base section 8 is accessed, and converted into new fact data each time. As explained in , the conversion control unit 1
When the conversion control unit 17 is notified that the portion of the fact data accessed with respect to No. 7 corresponds to the changed portion, the changed range including the changed data may be batch-processed all at once.

【0057】また、外部からの命令あるいはタイマ制御
で一括して変換・格納を行ってもよい。
Further, conversion and storage may be performed all at once by an external command or timer control.

【0058】[0058]

【発明の効果】本発明はCAD等による設計、作図・入
力において、図形・接続情報と属性データを知識ベース
の事実に関するデータに変換し、述語規則に基づく演繹
推論によって検索することにより、CAD等の膨大なデ
ータから推論の基となる大規模な事実に関する知識ベー
スの生成が容易となる。
Effects of the Invention The present invention converts figure/connection information and attribute data into knowledge-based fact-related data during design, drawing, and input using CAD, etc., and searches by deductive reasoning based on predicate rules. It becomes easy to generate a knowledge base of large-scale facts on which to base inferences from a huge amount of data.

【0059】また、述語形式で作成するので、ルールに
関する知識ベースの生成、管理が容易となる。
Furthermore, since the information is created in a predicate format, it is easy to generate and manage a knowledge base regarding rules.

【0060】さらに、検索回答を図面上に反映させる等
により、利用者が容易に内容を把握することが出来るこ
とにより、設計・計画段階の設計、安全等のレビューや
、既存設備の危険箇所の抽出等の多様な解析を極めて簡
易かつ柔軟に行なうことが出来る。
Furthermore, by reflecting the search answers on drawings, users can easily understand the content, so they can review the design, safety, etc. at the design/planning stage, and identify dangerous areas of existing equipment. Various analyzes such as extraction can be performed extremely easily and flexibly.

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

【図1】本発明の原理図を示すブロック図[Figure 1] Block diagram showing the principle of the present invention

【図2】実施
例1におけるシステム構成を示すブロック図
[Figure 2] Block diagram showing the system configuration in Example 1

【図3】実施例1における作図デ−タを示す図[Figure 3] Diagram showing plotting data in Example 1

【図4】
実施例1における図形情報テーブルを示す説明図
[Figure 4]
Explanatory diagram showing a graphic information table in Example 1

【図5】実施例1における接続情報テーブルを示す説明
FIG. 5 is an explanatory diagram showing a connection information table in the first embodiment.

【図6】実施例1における接続情報におけるグループ情
報テーブルを示す説明図
FIG. 6 is an explanatory diagram showing a group information table in connection information in Embodiment 1.

【図7】実施例1における属性データテーブルを示す説
明図
[Fig. 7] Explanatory diagram showing an attribute data table in Example 1

【図8】実施例2におけるシステム構成を示すブロック
[Fig. 8] Block diagram showing the system configuration in Example 2

【図9】実施例2における処理手順を示すフロー図[Fig. 9] Flow diagram showing the processing procedure in Example 2

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

1・・図形・接続データ格納部 2・・属性データ 3・・属性データ格納部 4・・基本データ部 5・・変換部 6・・事実データ格納部 7・・述語規則格納部 8・・知識ベース部 10・・演繹推論制御部 11・・操作部 12・・出力部 13・・塔 14・・ドラム 15・・配管 16・・コンパイル部 17・・変換制御部 18・・変更情報登録部 1...Graphic/connection data storage section 2. Attribute data 3. Attribute data storage section 4. Basic data section 5. Conversion section 6. Fact data storage section 7. Predicate rule storage section 8. Knowledge base department 10...Deductive reasoning control unit 11...Operation unit 12...Output section 13...Tower 14...Drum 15...Piping 16...Compile section 17...Conversion control unit 18...Change information registration department

Claims (1)

【特許請求の範囲】 【請求項1】  シンボル及びその要素の形状等を図形
情報として、および/またはシンボル及びその要素の意
味をコードとして、これらの接続関係を接続関係情報と
して表わす図形・接続情報を格納する図形・接続データ
格納部(1)と、シンボル、シンボルの集合及びシンボ
ルの要素部分に対応する属性データ(2)を格納する属
性データ格納部(3)からなる基本データ部(4)と、
前記基本データ部(4)からのデータを事実関係を表す
事実データに変換する変換部(5)と、前記変換部(5
)で変換された事実データを格納する事実データ格納部
(6)と、外部からの入力により述語規則を規定する述
語規則格納部(7)とからなる知識ベース部(8)と、
前記知識ベース部(8)の情報により演繹推論する演繹
推論制御部(10)からなり、前記演繹推論制御部(1
0)は、外部より与えられた質問検索式または、操作部
(11)の操作により起動した質問検索式に基づいて、
前記知識ベース部(8)の述語規則、及び事実データよ
り演繹推論を行い前記質問内容に対応した検索回答を得
、この検索回答を操作部(11)に表示し、出力部(1
2)に出図することを特徴とする図形処理情報装置【請
求項2】  前記変換部(5)には、変更情報登録部(
18)を備えた変換制御部(5)を有しており、前記変
更情報登録部(18)には基本データ部(4)のデータ
内容が変更された場合に、その変更情報のみを登録して
おき、前記変換制御部(5)は、前記演繹推論制御部(
10)から知識ベース部(8)へのアクセスを監視し、
知識ベース部(8)において前記変更データに該当する
箇所がアクセスされた場合には検索処理に割り込み、変
換部(5)に対して当該データの変換処理および知識ベ
ース部(8)への格納を指示することを特徴とする請求
項1記載の図形情報処理装置。 【請求項3】  前記変更データに該当する箇所の事実
データへの変換およびその知識ベース部(8)への格納
は、アクセスしたデータ箇所が変更箇所であることが変
換制御部(5)に通報されたことを契機に前記変更デー
タを含む変更範囲を一括してバッチ処理することを特徴
とする請求項2記載の図形情報処理装置。 【請求項4】前記図形情報処理装置は、ブロック・ダイ
ヤグラム、フローシートを用いた系統設計(プロセス、
配管計装図、電気、シークエンス線図、等の設計・作図
)に用いられ、前記図形・接続データは、シンボルやそ
の集合は固有のノード番号を有し、これと機器番号等の
キーとの対照テーブルを持つことで、機器等における実
体の属性データと対応しており、前記属性データ(2)
は少なくともシンボル、シンボルの集合及びシンボルの
要素に於ける設計仕様、状態を表わす規定値であり、述
語規則は、少なくとも概念の定義と、推論の規則を含み
、前記演繹推論制御部(10)は、質問検索式の入力に
より述語規則に則って事実データから該当データを索出
し、この該当事実データを外部からの入力によりシンボ
ル、シンボルの集合、及びシンボルの要素部分の色、線
太さ、線種類、等の表示特性によって、操作部(11)
としてのディスプレイに表示し、出力部(12)として
のプロッタに出図することを特徴とする請求項1,2ま
たは3記載の図形情報処理装置。
[Scope of Claims] [Claim 1] Graphic/connection information that represents the shapes, etc. of symbols and their elements as graphic information, and/or the meanings of symbols and their elements as codes, and their connection relationships as connection relationship information. a basic data section (4) consisting of a figure/connection data storage section (1) that stores symbols, and an attribute data storage section (3) that stores attribute data (2) that corresponds to symbols, sets of symbols, and element parts of symbols; and,
a converting unit (5) that converts data from the basic data unit (4) into factual data representing factual relationships;
); a knowledge base unit (8) comprising a fact data storage unit (6) that stores fact data converted by the method; and a predicate rule storage unit (7) that defines predicate rules based on external input;
It consists of a deductive reasoning control section (10) that performs deductive reasoning based on the information of the knowledge base section (8), and the deductive reasoning control section (10)
0) is based on a question search formula given from the outside or a question search formula started by operating the operation unit (11).
Deductive reasoning is performed based on the predicate rules and fact data of the knowledge base section (8) to obtain a search answer corresponding to the question content, display this search answer on the operation section (11), and output the output section (11).
2) A graphics processing information device, characterized in that the converting section (5) includes a change information registration section (
18), and when the data content of the basic data section (4) is changed, only the change information is registered in the change information registration section (18). In addition, the conversion control section (5) is configured to control the deductive reasoning control section (
Monitor access from 10) to the knowledge base part (8),
When a location corresponding to the changed data is accessed in the knowledge base unit (8), the search process is interrupted and the conversion unit (5) is instructed to convert the data and store it in the knowledge base unit (8). 2. The graphic information processing apparatus according to claim 1, wherein the graphic information processing apparatus provides an instruction. 3. The conversion of the portion corresponding to the changed data into fact data and its storage in the knowledge base portion (8) is performed by notifying the conversion control portion (5) that the accessed data portion is a changed portion. 3. The graphic information processing apparatus according to claim 2, wherein the change range including the change data is batch-processed once the change data has been changed. 4. The graphical information processing device includes a system design (process,
The figures and connection data are used for the design and drawing of piping and instrumentation diagrams, electrical diagrams, sequence diagrams, etc., and the symbols and their collections have unique node numbers, which can be linked to keys such as equipment numbers. By having a comparison table, it corresponds to the attribute data of the entity in the equipment, etc., and the attribute data (2)
is at least a symbol, a set of symbols, and a specified value representing a design specification and state of an element of a symbol, the predicate rule includes at least a concept definition and an inference rule, and the deductive inference control unit (10) , by inputting a question search formula, search for relevant data from fact data according to predicate rules, and by inputting this relevant fact data from the outside, it is possible to search for symbols, sets of symbols, and colors, line thicknesses, and lines of elemental parts of symbols. Depending on the display characteristics such as type, etc., the operation section (11)
4. The graphical information processing apparatus according to claim 1, wherein the graphical information processing apparatus is characterized in that the graphical information processing apparatus displays the graphical information on a display as an output unit and outputs the diagram on a plotter as an output unit.
JP03095858A 1991-04-25 1991-04-25 Graphic information processing device Expired - Lifetime JP3128257B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP03095858A JP3128257B2 (en) 1991-04-25 1991-04-25 Graphic information processing device
CA002065473A CA2065473C (en) 1991-04-25 1992-04-07 Knowledge base management system for an information reasoning apparatus
US07/865,186 US5355445A (en) 1991-04-25 1992-04-08 Knowledge base management system for an information reasoning apparatus
DE69226673T DE69226673T2 (en) 1991-04-25 1992-04-09 Knowledge base management system for an information reasoning device
EP92106152A EP0510452B1 (en) 1991-04-25 1992-04-09 A knowledge base management system for an information reasoning apparatus
KR1019920005937A KR100245742B1 (en) 1991-04-25 1992-04-10 A knowledge base management system for an information reasoning apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03095858A JP3128257B2 (en) 1991-04-25 1991-04-25 Graphic information processing device

Publications (2)

Publication Number Publication Date
JPH04326167A true JPH04326167A (en) 1992-11-16
JP3128257B2 JP3128257B2 (en) 2001-01-29

Family

ID=14149064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03095858A Expired - Lifetime JP3128257B2 (en) 1991-04-25 1991-04-25 Graphic information processing device

Country Status (1)

Country Link
JP (1) JP3128257B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112740238A (en) * 2018-09-28 2021-04-30 三菱电机株式会社 Inference device, inference method, and inference program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112740238A (en) * 2018-09-28 2021-04-30 三菱电机株式会社 Inference device, inference method, and inference program

Also Published As

Publication number Publication date
JP3128257B2 (en) 2001-01-29

Similar Documents

Publication Publication Date Title
EP0510452B1 (en) A knowledge base management system for an information reasoning apparatus
Munir et al. The use of ontologies for effective knowledge modelling and information retrieval
JP3195839B2 (en) How to monitor the operation of power plant facilities
Scarpelli et al. A reasoning algorithm for high-level fuzzy Petri nets
Zhao et al. PHASuite: an automated HAZOP analysis tool for chemical processes: part I: knowledge engineering framework
KR102261977B1 (en) Method and apparatus for generating training data for vqa system, and medium
Lee et al. Development of automated operating procedure system using fuzzy colored petri nets for nuclear power plants
Dai et al. Automatically generated layered ontological models for semantic analysis of component-based control systems
Squillante Jr et al. Modeling accident scenarios from databases with missing data: A probabilistic approach for safety-related systems design
Koziolek et al. Industrial plant topology models to facilitate automation engineering
Talukdar et al. Rule-based expert systems
JPH04326167A (en) Graphic information processor
Bowen Formal specification in Z as a design and documentation tool
JP3655501B2 (en) Information search method, information search apparatus, and recording medium
Wagener Status of work toward revision of programming language Fortran
Balog et al. Fuzzy solutions in electrostatics
Boyle et al. The development and implementation of MAID: a knowledge based support system for use in control system design
Jiang et al. Fault diagnosis expert system of marine propulsion system based on Access database
JP6948997B2 (en) Control logic diagram analysis device and control logic diagram analysis method
Pang Implementation of a knowledge-based controller for hybrid systems
Yim et al. Using the process schematic in plant-wide disturbance analysis
JP3184551B2 (en) Knowledge-based management method for information inference equipment
Ha et al. Ontology-driven visualization system for semantic search
US20040153427A1 (en) Device for generating selection structures, for making selections according to selection structures, and for creating selection descriptions
JP2650406B2 (en) Plan creation support apparatus and method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111110

Year of fee payment: 11