JP2900504B2 - Information processing device - Google Patents
Information processing deviceInfo
- Publication number
- JP2900504B2 JP2900504B2 JP2106810A JP10681090A JP2900504B2 JP 2900504 B2 JP2900504 B2 JP 2900504B2 JP 2106810 A JP2106810 A JP 2106810A JP 10681090 A JP10681090 A JP 10681090A JP 2900504 B2 JP2900504 B2 JP 2900504B2
- Authority
- JP
- Japan
- Prior art keywords
- sieve
- selection
- editing
- type
- attribute
- 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
- Devices For Executing Special Programs (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】 《産業上の利用分野》 この発明は、ユーザが選択問題に適したシステムを簡
単に構築でき、しかもユーザサイドで簡単に情報データ
の検索操作がなし得るエキスパートシステムを有する情
報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION << Industrial Application Field >> The present invention has an expert system which enables a user to easily construct a system suitable for a selection problem and also allows a user to easily perform an operation of searching for information data. The present invention relates to an information processing device.
《従来の技術》 近年の情報化社会においては、氾濫する様々な情報の
中から、必要とする情報(選択対象)のみを選択する選
択問題が、今後増加すると考えられている。このような
選択問題を解決するには、データベースシステムが活用
されている。<< Conventional Technology >> In the information society in recent years, it is considered that the selection problem of selecting only necessary information (selection target) from a variety of influential information will increase in the future. To solve such a selection problem, a database system is used.
この従来のデータベース管理システムとしては、以下
のようなものがある。This conventional database management system is as follows.
例えば、(1)通常データベースを構築する際には、
データ記述言語(Data Description Language,DDL)を
使用するもの。For example, (1) when constructing a normal database,
Uses Data Description Language (DDL).
これによってデータベースの構造が定義され、この構
造に従って、データベースが構築されている。This defines the structure of the database, and the database is constructed according to this structure.
また、(2)データの選択を行う際には、データ操作
言語(Data Manipulation Language,DML)を利用してい
る。(2) When selecting data, a data manipulation language (Data Manipulation Language, DML) is used.
なお、データベース管理システムとは、データベース
の特性として、データの独立と共用を実現するためのデ
ータベースを管理するソフトウェア(プログラム)を言
い、さらにデータベースと利用者とのインターフェース
は、データ操作言語(Data Manipulation Language,D
L)などが使用されている。The database management system is software (program) that manages a database for realizing independence and sharing of data as a characteristic of the database. Further, an interface between the database and a user is a data manipulation language (Data Manipulation). Language, D
L) etc. are used.
また、データ記述言語は、データベースの構造を定義
するのに使用され、データベースの構造とは、データベ
ースに登録するデータやそれぞれのデータの属性,デー
タ間の関連などを言っている。The data description language is used to define the structure of a database, and the structure of the database refers to the data to be registered in the database, the attributes of each data, the relation between the data, and the like.
データ操作言語は、データを読んだり、またはデータ
を書き込んだりするのに使用されている。Data manipulation languages are used to read data or write data.
また、リレーショナルデータベース(RDB)と後述す
るSQLとの関係について述べると、データベースには、
情報の表現方法から見て、階層モデル、ネットワークモ
デル、リレーショナルモデル(関係モデル)の3種類が
ある。これらのモデルの中で現在、最も良く利用されて
いるリレーショナルモデルに基づいたデータベースがリ
レーショナルデータベース(RDB)である。In addition, the relation between the relational database (RDB) and the SQL described below is described.
From the viewpoint of the method of expressing information, there are three types: a hierarchical model, a network model, and a relational model (relational model). Among these models, the relational database (RDB) is based on the relational model that is currently used most often.
このRDBに対する操作は一般に、SQL(Structured Que
ry Language)と呼ばれる言語で行なわれている。Operations on this RDB are generally performed using SQL (Structured Que
ry Language).
つまり、SQLを利用することによって、データベース
の構築から利用までを行うように構成されている。In other words, it is configured to use the SQL to build and use the database.
《この発明が解決しようとする課題》 しかしながら、このような従来のデータベースの構築
方法とそれの選択方法においては、データ記述言語やデ
ータ操作言語などの難しいプログラミング言語を利用し
なければならず、初心者では困難な作業となっている。
また、選択方法においては選択するキーとそのキーに与
える条件を設定することにより、問題の選択を行うもの
で、きめ細かな選択条件を記述することは特殊な技術能
力を必要とするという問題があった。<< Problems to be Solved by the Invention >> However, in such a conventional method of constructing a database and a method of selecting the same, it is necessary to use a difficult programming language such as a data description language or a data manipulation language. Is a difficult task.
In addition, in the selection method, a problem is selected by setting a key to be selected and a condition to be given to the key, and there is a problem that describing detailed selection conditions requires special technical skills. Was.
この発明は、上記課題を解決するためになされたもの
で、その目的とするところは、選択問題の解決を行う専
門家の問題解決過程をモデル化したエキスパートシステ
ムを利用することにより、すなわち、所望する選択対象
にそれぞれ初心者でもわかる意味付けをすることによ
り、選択対象を選択処理する際のユーザの負担を軽減す
るとともに、ユーザにもわかるきめ細かな選択条件を容
易に与えられるようにし、かつ、システムの構築におい
ても同じモデルを用いたエキスパートシステムを利用す
るようにしてユーザの負担を軽減することにより、初心
者でも簡単にデータベースの選択処理と構築を可能にす
ることができるエキスパートシステムを有する情報処理
装置を提供するものである。The present invention has been made in order to solve the above-mentioned problems, and an object of the present invention is to use an expert system that models a problem solving process of an expert who solves a selection problem, that is, to achieve a desired problem. By assigning meanings that can be understood by even a beginner to each of the selection targets to be selected, the burden on the user when selecting the selection targets is reduced, and fine selection conditions that can be understood by the user can be easily given. An information processing apparatus having an expert system that enables a beginner to easily select and build a database by reducing the burden on the user by using an expert system using the same model in the construction of the database. Is provided.
《課題を解決するための手段》 上記課題を解決するため、請求項1記載の発明では、
選択対象の性質・特徴などを表す属性に知識情報として
の属性名ほかの特定データを書き込むための枠組みを有
し、かつ、選択条件が相互に依存関係を有しないふるい
にかけられるふるい型で表現されたものを記憶する記憶
手段と、 上記属性名及び特定データを選択すると、選択対象及
びそれらのふるい型にかきこまれた特定データを検索
し、目的とする選択対象及び特定データを選択・抽出す
る検索制御手段と、 その制御手段が選択・抽出した選択結果を記憶してお
くための選択結果記憶手段と、 からなるエキスパートシステムを備えていることを特
徴とする。<< Means for Solving the Problems >> In order to solve the above problems, in the invention according to claim 1,
It has a framework for writing attribute data and other specific data as knowledge information in attributes representing the properties and characteristics of the selection target, and the selection condition is expressed in a sieve type that can be sifted without interdependency. When the attribute name and the specific data are selected, the selected object and the specific data included in the sieve type are searched, and the target selected object and the specific data are selected and extracted. An expert system comprising: a search control unit; and a selection result storage unit for storing a selection result selected and extracted by the control unit.
また、請求項2記載の発明では、上記選択対象の性質
・特徴などを表す属性に知識情報としての属性名ほかの
特定データを書き込むための枠組みを有し、かつ、選択
条件が相互に依存関係を有しないふるいにかけられるふ
るい型を編集する編集手段と、 その編集手段で編集されたふるい型を記憶しておくた
めの記憶手段と、 上記ふるい型に加えてユーザ・他システムからふるい
生成装置を介して与えられる特定データを追加したディ
フォルトふるいを、上記ふるい型を利用して編集し、編
集したディフォルトふるいとふるい型のグループに名称
を付すためのふるいグループ編集手段と、 上記ふるいグループ編集手段で編集されたディフォル
トふるいを記憶するふるいグループ記憶手段と、 上記選択対象の持つ属性の編集を行う選択対象編集手
段と、 その選択編集手段によって編集された選択対象を記憶
しておく選択対象記憶手段と、 からなるシステム構築のためのエキスパートシステム
を備えていることを特徴とする。Further, the invention according to claim 2 has a framework for writing attribute data and other specific data as knowledge information in the attributes representing the properties and characteristics of the selection target, and the selection conditions are mutually dependent. Editing means for editing a sieve type that can be passed through a sieve having no sieve, storage means for storing the sieve type edited by the editing means, and a sieve generation device from a user / other system in addition to the sieve type. The default sieve to which the specific data given through is added is edited using the above sieve type, and the edited default sieve and a sieve group editing means for assigning a name to the sieve type group; and the sieve group editing means. Sieve group storage means for storing the edited default sieve, and selection target editing for editing the attributes of the selection target And an expert system for constructing a system comprising: a selection object storage unit for storing the selection object edited by the selection editing unit.
さらに、請求項3記載の発明では、請求項1及び2記
載の選択対象の属性に対して付される属性名ほかの特定
データとして、属性値及びその範囲・ふるい方法・比較
方法などの枠組みを有するふるい型を用いたことを特徴
とする。Furthermore, in the invention according to claim 3, as the attribute name and other specific data assigned to the attribute to be selected according to claims 1 and 2, a framework such as an attribute value and its range, a sieve method, and a comparison method is used. It is characterized by using a sieve type having.
請求項4記載の発明では、請求項1記載の発明に、選
択対象の性質・特徴等を表わす属性名の他の特定データ
を書き込むための枠組みを有し、かつ、選択条件が相互
に依存関係を有しないようにかけられるふるい型を編集
する編集手段を設けたことを特徴とする。According to a fourth aspect of the present invention, in the first aspect of the present invention, there is provided a framework for writing other specific data of an attribute name representing a property, a characteristic, or the like of a selection target, and the selection conditions are mutually dependent. Editing means for editing a sieve type that can be set so as not to have
請求項5の発明では、請求項1記載の各ふるいにおい
て、制約条件などの注意書を選択対象に付加し、ユーザ
への注意書きとする手段を備えていることを特徴とす
る。According to a fifth aspect of the present invention, each of the sieves according to the first aspect is characterized in that a means for adding a note such as a constraint condition to a selection target and writing the note to a user is provided.
請求項6の発明では、請求項1記載の選択結果記憶手
段には、その記憶手段に記憶された選択結果を表示する
表示手段が連繋されていることを特徴とする。According to a sixth aspect of the present invention, the selection result storage means according to the first aspect is connected to a display means for displaying the selection result stored in the storage means.
《作用》 以上の構成よりなる請求項1記載の発明によれば、選
択対象の性質・特徴などを表す属性に知識情報としての
属性名ほかの特定データを書き込むための枠組みを有
し、かつ、選択条件が相互に依存関係を有しないふるい
にかけられるふるい型で表現されたものを記憶するとと
もに、目的とする選択対象及び特定データを選択・抽出
し、その選択結果を記憶するように構成されているため
データベース構築時においてデータ記述言語を使用する
ことなく、ふるい形式で表現される枠組みに選択対象の
名称を記入し所望するデータを記述することにより、初
心者でも容易に必要な選択対象とそのデータを指定して
得ることができる、容易にデータ処理が可能になる。<Action> According to the invention of claim 1 having the above configuration, a framework for writing attribute data and other specific data as knowledge information in attributes representing properties, characteristics, and the like of a selection target is provided, and It is configured to store a selection condition expressed in a sieve type that can be sifted without interdependency, to select and extract a target selection target and specific data, and to store the selection result. Therefore, without using a data description language when constructing the database, the name of the selection target is entered into the framework expressed in a sieve format and the desired data is described, so that even a beginner can easily select the necessary selection target and its data And data processing can be easily performed.
請求項2の発明によれば、選択条件が相互に依存関係
を有しないふるいにかけられるふるい型を編集し、その
編集されたふるい型を記憶しておき、上記ふるい型に加
えてユーザ・他システムからふるい生成装置を介して与
えられる特定データを追加したディフォルトふるいを上
記ふるい型を利用して編集し、編集したディフォルトふ
るいとふるい型のグループに名称を付するように構成す
ることにより、容易にデータベースの構築が可能にな
る。According to the invention of claim 2, a sieve type which can be sieved and whose selection conditions do not depend on each other is edited, the edited sieve type is stored, and a user / other system is added in addition to the sieve type. By editing the default sieve to which the specific data given through the sieve generating device is added by using the above-mentioned sieve type, and by assigning a name to the group of the edited default sieve and the sieve type, it is easily configured. A database can be constructed.
さらに、請求項3記載の発明では、請求項1及び2記
載の選択対象の属性に対して付される属性名ほかの特定
データとして、属性値及びその範囲・ふるい方法・比較
方法などの枠組みを有するふるい型を用いたため、随時
ユーザーが必要に応じて書き込み出来ることになり、変
更等が自由に行うことができ、使い勝手が向上する。Furthermore, in the invention according to claim 3, as the attribute name and other specific data assigned to the attribute to be selected according to claims 1 and 2, a framework such as an attribute value and its range, a sieve method, and a comparison method is used. Since the sieve type is used, the user can write as needed at any time, and can freely make changes and the like, thereby improving usability.
請求項4記載の発明においては、請求項1の発明に、
選択対象の性質・特徴等を表わす属性名の他の特定デー
タを書き込むための枠組みを有し、かつ、選択条件が相
互に依存関係を有しないようにかけられるふるい型を編
集する編集手段を設けたため、請求項1から3に示した
効果を得ることが出来使い勝手が一層向上する。According to the fourth aspect of the present invention,
Because there is a framework for writing other specific data of attribute names representing the properties and characteristics of the selection target, and an editing means for editing a sieve type that can be selected so that the selection conditions do not have a mutual dependency. Thus, the effects described in claims 1 to 3 can be obtained, and the usability is further improved.
請求項5記載の発明では、請求項1記載の各ふるいに
おいて、制約条件などの注意書を選択対象に付加したた
め、ユーザサイドでのミスなどが防止されるほか、使い
勝手の面でも優れたものとなる。In the invention described in claim 5, in each of the sieves described in claim 1, a notice such as a constraint condition is added to a selection target, so that mistakes on the user side are prevented, and excellent operability is achieved. Become.
請求項6記載の発明では、請求項1および2記載の選
択結果記憶手段に、その選択結果を表示するように構成
したため、選択対象及びその選択対象のデータを確実に
確認することができる。According to the sixth aspect of the invention, the selection result is displayed in the selection result storage means of the first and second aspects, so that the selection target and the data of the selection target can be surely confirmed.
《実施例》 以下、この発明の実施例を図面に基づいて説明する。<< Example >> Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図は、この発明装置をホストコンピュータに適用
した第1実施例を示すもので、ホストコンピュータ60に
は、拡張ボード61を介してふるい生成装置であるマウス
1が着脱可能に装着され、マウス1のボタン1a,1bを操
作することにより、ディスプレイ60aからマウス1が指
令するモードの信号が表示されるように構成されてい
る。FIG. 1 shows a first embodiment in which the apparatus of the present invention is applied to a host computer. A mouse 1, which is a sieve generating apparatus, is detachably mounted on a host computer 60 via an expansion board 61. By operating one of the buttons 1a and 1b, a signal of a mode commanded by the mouse 1 is displayed on the display 60a.
この実施例では、ふるい生成装置としてマウスを用い
たが、第2図で示すように、ディスプレイ60aをタッチ
パネル方式のものを使用し、その画面を指やタッチペン
62により直接押圧するようにしてもよいことは勿論であ
る。In this embodiment, a mouse was used as the sieve generating device. However, as shown in FIG. 2, a touch panel type display is used for the display 60a, and the screen is displayed with a finger or a touch pen.
Needless to say, it is also possible to directly press by 62.
上記ホストコンピュータ60で用いられるエキスパート
システムAは、第3図のブロック構成図で示すように、
選択対象記憶装置2とふるい型記憶装置3と、選択結果
記憶装置4と、ふるい記憶装置5と、ふるい生成装置で
あるマウス1と、ふるい制御装置6と、中間結果記憶装
置7とから概略構成されている。The expert system A used in the host computer 60 has, as shown in the block diagram of FIG.
Schematic configuration of a selection target storage device 2, a sieve type storage device 3, a selection result storage device 4, a sieve storage device 5, a mouse 1, which is a sieve generation device, a sieve control device 6, and an intermediate result storage device 7. Have been.
なお、第5図の回路ブロック図のエキスパートシステ
ムのP・ROMには、予めふるい型記憶装置3及び選択対
象記憶装置2に格納するデータがふるいエキスパートプ
ログラムとしてシステム構築時に定義されており、ま
た、図中9はA/D変換器である。In the P / ROM of the expert system shown in the circuit block diagram of FIG. 5, data to be stored in the sieve type storage device 3 and the selection target storage device 2 in advance are defined at the time of system construction as a sieve expert program. In the figure, reference numeral 9 denotes an A / D converter.
上記選択対象記憶装置2は、選択対象に対する属性に
対して付される名称と、その選択対象の性質・特許など
の情報を表す属性から構成され、この選択対象記憶装置
2はこれらの選択対象を複数個記憶する機能を有してい
る。The selection target storage device 2 includes a name given to an attribute to the selection target and an attribute representing information such as the property and patent of the selection target. It has the function of storing a plurality.
次に、ふるい型記憶装置3は、第4図に示すように、
属性名、属性値・ふるい方法・比較方法等を記憶して、
ふるいは1つの属性を表現し、ふるい型には属性名が与
えられている。すなわち、属性値・比較方法に関しては
その枠組みだけが用意されている。Next, the sieve-type storage device 3, as shown in FIG.
Memorize attribute names, attribute values, sieving methods, comparison methods, etc.
The sieve represents one attribute, and the sieve type is given an attribute name. That is, only the framework for the attribute value / comparison method is prepared.
ふるい方法とは、ふるいにかける方法であり、ふるい
にかけて残ったものを選択するのか、あるいは、ふるい
にかけて通ったものを選択するのかなどの条件を設定す
るものである。The sieving method is a method of sieving, and sets conditions such as whether to select what remains after sieving or to select what has been sieved.
次に、比較方法としては、ふるいの持つ属性値と選択
対象の持つ属性値とを比較する方法、つまり、これらの
属性値が「等しい」か、選択対象の属性値がふるいの属
性値より「大きい」か「小さい」かなどの条件を与え
る。Next, as a comparison method, a method of comparing the attribute value of the sieve with the attribute value of the selection target, that is, if these attribute values are “equal” or the attribute value of the selection target is A condition such as "large" or "small" is given.
すなわち、ふるい型記憶装置3には、ふるい型を複数
個記憶する機能を有している。That is, the sieve type storage device 3 has a function of storing a plurality of sieve types.
上記選択結果記憶装置4は、上記ふるいをかけること
によって行われた選択対象の選択処理結果、選ばれた選
択対象を記憶している装置であり、選択処理終了後に、
ユーザあるいは他のシステムに対してインターフェース
回路12を介してその選択対象をパソコン,ワープロほか
のシステムからなるホストコンピュータ13に出力するよ
うに構成されている。The selection result storage device 4 is a device that stores the result of the selection process of the selection target performed by sieving and the selected selection target.
The system is configured to output the selection to a user or another system via an interface circuit 12 to a host computer 13 including a personal computer, a word processor and other systems.
上記ふるい記憶装置5に記憶されているふるいは属性
名・属性値・ふるい方法・比較方法等が記憶されてい
る。The sieve stored in the sieve storage device 5 stores an attribute name, an attribute value, a sieve method, a comparison method, and the like.
そのふるい型には全てに値が与えられており、このふ
るい記憶装置5は、ふるいと、それらのふるいをかける
順序を記憶する機能を有しており、ふるいをかける順序
は、1つのふるいに対して1から昇順に整数値の番号を
与えることによって表現する。すなわち、ふるい間で異
なる番号が与えられるふるいに関しては、それらのふる
いが与えられる選択条件の内、全てのふるいが共有する
条件を満たす選択対象が選択される(ふるいのand条
件)。また、同一の番号が与えられたふるいに関して
は、それらのふるいに与えられる選択条件の内、どれか
1つのふるいの条件を満たすものが選択される(ふるい
のor条件)。All values are given to the sieve types, and the sieve storage device 5 has a function of storing the sieves and the order of sieving them. On the other hand, it is expressed by giving integer numbers in ascending order from 1. That is, with respect to sieves to which different numbers are given among sieves, a selection target satisfying a condition shared by all sieves is selected from among selection conditions to which those sieves are given (sieve and condition). Further, with respect to the sieves given the same number, a sieve that satisfies one of the sieve conditions among the selection conditions given to those sieves is selected (a sieve or condition).
上記ふるい生成装置であるマウス1はふるい型記憶装
置3に記憶されるふるい型を枠組みとして、ユーザ,他
システムから与えられる属性値・ふるい方法・比較方法
を組み込んでふるいを作成し、それらのふるいをかける
順序を作成した後、作成したふるいとふるいの順序を後
述するふるい記憶装置5に書き込む。The mouse 1 serving as the above-mentioned sieve generating device creates a sieve by incorporating an attribute value, a sieve method, and a comparison method given from a user or another system, using the sieve type stored in the sieve type storage device 3 as a framework. Is created, and the created sieve and the order of the sieve are written in the sieve storage device 5 described later.
上記ふるい制御装置6は、ふるい記憶装置5に確認さ
れたふるいとふるいをかける順序を呼び出し、そのふる
いをかける順序に従って、選択対象記憶装置2から読み
出した選択対象に対してふるいをかけ、選択処理を行っ
た後、その選択結果を選択結果記憶装置4に書き込む。The sieve control device 6 calls the sieve and the order of sifting to the sieve storage device 5, sieves the selection target read from the selection target storage device 2 in accordance with the sieving order, and performs a selection process. After that, the selection result is written into the selection result storage device 4.
なお、ふるい型記憶装置3、選択対象記憶装置2に格
納するデータはエキスパートシステムに定義されたもの
である。Note that the data stored in the sieve type storage device 3 and the selection target storage device 2 is defined in the expert system.
次に、この発明装置を用いたアルゴリズムについて第
5図の説明図を基に説明する。Next, an algorithm using the apparatus of the present invention will be described with reference to the explanatory diagram of FIG.
(1)ユーザ、他システムなどの外部から選択対象を選
択するための条件として、ふるい型記憶装置3に記憶さ
れたふるい型を読み出し、属性名・属性値・ふるい方法
・比較方法を入力し、それらのふるいをかける順序を入
力する。(1) As a condition for selecting a selection target from the outside such as a user or another system, a sieve type stored in the sieve type storage device 3 is read out, and an attribute name, an attribute value, a sieve method, and a comparison method are input. Enter the order of sieving them.
(2)(1)において入力された条件より、ふるい生成
装置によりふるいをかける順序を生成し、ふるい記憶装
置5に格納する。(2) Based on the conditions input in (1), a sieving order is generated by the sieving generation device and stored in the sieving storage device 5.
(3)ふるい制御装置6により、ふるい記憶装置5から
全てのふるいとふるいをかける順序を読み出し記憶す
る。(3) The sieve control unit 6 reads out all sieves and the order of sieving from the sieve storage device 5 and stores them.
(4)ふるい制御装置6内に、選択対象記憶装置2から
全ての選択対象を呼び出し、中間結果記憶装置7に書き
込む。(4) Call all the selection targets from the selection target storage device 2 into the sieve control device 6 and write them to the intermediate result storage device 7.
(5)ふるい制御装置6により、ふるいをかける順序に
従って、相当するふるいをかける。(5) The sieve controller 6 sifts the corresponding sieves in the order of sieving.
次に、ふるいをかけるアルゴリズムについて説明す
る。Next, the sieving algorithm will be described.
(a)ふるいの順序の番号(ふるい番号と呼ぶ)をカウ
ントするカウンタ(ふるい順序カウンタ)を1に初期化
する。(A) A counter (a sieve order counter) for counting the number of the sieve order (called a sieve number) is initialized to one.
(b)ふるい順序カウンタの値がふるい番号の最大値よ
り大きければ、ふるいをかける処理を終了する。(B) If the value of the sieve order counter is larger than the maximum sieve number, the sieving process ends.
(c)中間結果記憶装置7内に選択対象が1つも存在し
なければふるいをかける処理を終了する。(C) If no selection target exists in the intermediate result storage device 7, the sieving process ends.
(d)ふるい順序カウンタの値と等しいふるい番号を持
つ全てのふるいを選択する。(D) Select all sieves having a sieve number equal to the value of the sieve order counter.
(e)中間結果記憶装置7の全ての選択対象をふるい制
御装置6が読取り、中間結果記憶装置7内の全ての選択
対象を削除する。(E) The sieve control device 6 reads all selection targets in the intermediate result storage device 7 and deletes all selection targets in the intermediate result storage device 7.
(f)ふるいの属性名・属性値・比較方法を読み出し、
その属性名と属性値に関して全ての選択対象の属性名・
属性値を比較方法に従ってマッチングを行う。(F) Read the attribute name, attribute value, and comparison method of the sieve,
For the attribute name and attribute value, select all attribute names
Match the attribute values according to the comparison method.
(g)ふるいのふるい方法を読み出し、(b)でマッチ
した選択対象をふるい方法に従ってふるいをかけ、選ば
れた選択対象を中間結果記憶装置7に書き込む。(G) The sieving method of the sieve is read out, the selected objects matched in (b) are sifted according to the sieving method, and the selected selected objects are written in the intermediate result storage device 7.
(h)(d)で選択した全てのふるいに関して、(f)
〜(g)の処理を繰返す。(H) For all sieves selected in (d), (f)
To (g) are repeated.
(i)(h)の処理が終了すればふるい順序処理カウン
タの値を1インクルメントする。(I) When the processing of (h) is completed, the value of the sieve order processing counter is incremented by one.
(j)(b)へ戻る。(J) Return to (b).
(6)上記中間結果記憶装置7内に選択対象が1つもな
ければ選択処理を終了する。(6) If there is no selection target in the intermediate result storage device 7, the selection process ends.
(7)ふるい制御装置6により、中間結果記憶装置7内
の選択対象を選択結果記憶装置4に格納する。(7) The selection target in the intermediate result storage device 7 is stored in the selection result storage device 4 by the sieve control device 6.
(8)ユーザ・他システムなどのホストコンピュータ13
などの外部へインターフェース回路12を介して得られた
選択結果を出力する。(8) Host computer 13 for users, other systems, etc.
The selection result obtained via the interface circuit 12 is output to the outside.
以上の構成より明らかなようにこの情報処理装置によ
れば。上記のようにふるい型モデルに基づき、選択する
対象がもった情報を選択条件となるふるいにかけること
によって、目的とする対象を選択する処理が行われ、こ
れにより選択問題を解決するエキスパートシステムに応
用することができる。According to this information processing apparatus as is apparent from the above configuration. Based on the sieve-type model as described above, the process of selecting the target object is performed by sifting the information possessed by the object to be selected through a sieve as a selection condition, thereby providing an expert system for solving the selection problem. Can be applied.
次に、この発明装置の第2実施例として選択型問題に
適したエキスパートシステム構築用ツールの例について
説明する。Next, as a second embodiment of the apparatus of the present invention, an example of a tool for constructing an expert system suitable for a choice-type problem will be described.
エキスパートシステム構築用ツールは、第8図に示す
ように構成されている。すなわち、ユーザエキスパート
とそのエキスパートのユーザプログラムに基づいてふる
い型編集装置13によって編集した値をふるい型記憶装置
3に記憶し、その記憶した値をふるいグループ編集装置
14を介してふるいグループ記憶装置15に記憶する一方、
上記ふるい型記憶装置3に記憶された情報を選択対象編
集装置16を介して選択対象記憶装置17に記憶するように
構成されている。The expert system construction tool is configured as shown in FIG. That is, the values edited by the sieve type editing device 13 based on the user expert and the user program of the expert are stored in the sieve type storage device 3, and the stored values are stored in the sieve type group editing device.
While storing in the sieve group storage device 15 via 14,
The information stored in the sieve type storage device 3 is stored in the selection target storage device 17 via the selection target editing device 16.
また、ふるい型編集装置13によって編集されるふるい
型としては、第9図に示すような構成が採られている。
すなわち、ふるい型とは、ふるいの枠組みであり、属性
名,データ型,属性値の範囲,ふるい方法,比較方法等
が記載される枠組みとなっている。Further, the sieve type edited by the sieve type editing device 13 has a configuration as shown in FIG.
That is, the sieve type is a framework of the sieve, in which the attribute name, the data type, the range of the attribute value, the sieve method, the comparison method, and the like are described.
ここで各名称の定義をしておく。 Here, each name is defined.
(1)属性名とは属性の名称を表す。(1) The attribute name indicates the name of the attribute.
(2)データ型とは属性値のデータ型を表す。(2) The data type indicates the data type of the attribute value.
(3)属性値の範囲とは属性値が取り得る値の範囲を示
すもので、例えば、データ型が数値型の場合には、属性
値が取り得る値の最大値と最小値が数値によって表現さ
れる。また、名前型の場合には、属性値として取り得る
名前の集合として表す。(3) The attribute value range indicates the range of values that the attribute value can take. For example, when the data type is a numeric type, the maximum and minimum values that the attribute value can take are represented by numerical values. Is done. In the case of a name type, it is represented as a set of names that can be taken as attribute values.
(4)ふるい方法とは、ふるいをかけて通ったものを選
択するか、ふるいにかかったものを選択するのかのふる
いをかける方法を表す。(4) The sieving method refers to a method of sifting to select what has passed through a sieve or to select what has passed through a sieve.
(5)比較方法とは、ふるいの属性値と選択対象の持つ
属性値を比較する方法、例えば「等しい」,「以上」,
「以下」などである。(5) The comparison method is a method of comparing the attribute value of the sieve with the attribute value of the selection target, for example, “equal”, “over”,
"Below".
つまり、ふるい型を解決する選択問題における選択対
象の持つ属性のふるい分だけ定義する。上記定義したふ
るい型はふるい型記憶装置3に記憶される。That is, only the attributes of the attributes of the selection target in the selection problem solving the sieve type are defined. The sieve type defined above is stored in the sieve type storage device 3.
この編集の際のふるい型記憶装置3には、ふるい型編
集装置13で編集されたふるい型が記憶されている。The sieve type storage device 3 at the time of this editing stores the sieve type edited by the sieve type editing device 13.
上記ふるいグループ編集装置14では、ディフェルトふ
るいの設定に際し、ふるい型記憶装置3に記憶されたふ
るい型を読み出し、そのふるい型を利用して編集を行う
もので、編集した字(ふるい)と、ふるいグループはふ
るいグループ記憶装置15に書き込まれる。なお、(1)
ふるいディフェルトふるいとは、ふるい型に加えて、属
性値、属性値の範囲、ふるい方法、比較基準を追加した
もので、これらは必要に応じてふるい型編集装置13で編
集された属性値の範囲,ふるい方法,比較基準を変更し
たものである。(2)ふるいグループとは、数個のディ
フォルトふるいをグループ化したもので、このグループ
に名称を与え、この名称をふるいグループ名と呼ぶ。The sieve group editing device 14 reads out the sieve type stored in the sieve type storage device 3 when setting the differential sieve, and performs editing using the sieve type. The edited character (sieve) The sieve group is written to the sieve group storage device 15. (1)
The sieve differt sieve is a sieve type, in addition to an attribute value, a range of attribute values, a sieve method, and a comparison standard.These are attributed to the attribute values edited by the sieve type editing device 13 as necessary. The range, sieving method and comparison standard have been changed. (2) A sieve group is a group of several default sieves, and a name is given to this group, and this name is called a sieve group name.
ふるいグループにはグループ内のふるいの順序が与え
られる。そのふるい順序を示したものが第10図で、この
図に示すように、各ディフォルトA,B,Cはふるい型A,B,C
を枠組みとして生成される。The sieve group is given the order of the sieves in the group. Fig. 10 shows the sieving order, and as shown in this figure, the defaults A, B, and C are sieving types A, B, and C, respectively.
Is generated as a framework.
ふるいグループXは、ディフォルトふるいA,Bを持
つ。Sieve group X has default sieves A and B.
また、ふるいグループYは、ディフォルトふるいB,C
を持っており、またディフォルトふるいBは、グループ
XとYにおいて、それぞれのグループに適したディフォ
ルト値を持つことによる。In addition, sieve group Y has default sieves B and C
And the default sieve B has a default value suitable for each group in the groups X and Y.
上記ふるいをかける順序は、ふるいグループXではデ
ィフォルトふるいA,Bの順でふるいがかけられ、これら
のふるいが与える条件で全ての選択対象が選択される。The sieve is sifted in the order of default sieves A and B in sieve group X, and all the selection targets are selected under the conditions given by these sieves.
また、ふるいグループXでは、ディフォルトふるいB,
Cが同時にふるいがかけられ、これらのふるいの中で少
なくとも1つのふるいの条件を満たす選択対象が選択さ
れる。In sieve group X, default sieve B,
C is sieve at the same time, and a selection object satisfying at least one of the sieve conditions is selected from these sieves.
例えば、樹脂材料の選択問題においては、ふるいを樹
脂の持つ特性・特徴とし、またふるいグループは、その
樹脂の用途とした場合にディフォルトふるいを編集して
おくと、用途がケースの場合には属性、耐熱温度が80℃
以上のディフォルトふるいを用意し、用途が端子台の場
合には、属性,耐熱温度が120℃以上のディフォルトふ
るいを用意しておくと、両者は用途を指定するのみで、
選択処理を行うことが可能となる。For example, in the selection of resin materials, sieves are used as characteristics / characteristics of the resin, and the sieve group edits the default sieve for the resin application. , Heat resistance temperature is 80 ℃
If the above-mentioned default sieve is prepared and the application is a terminal block, a default sieve with an attribute and heat resistance temperature of 120 ° C or more is prepared.
The selection process can be performed.
次に、ふるいグループ記憶装置15におけるふるいグル
ープ編集装置14は、編集されたディフォルトふるいを記
憶する。Next, the sieve group editing device 14 in the sieve group storage device 15 stores the edited default sieve.
上記選択対象編集装置16としては、選択対象の持つ属
性の編集を行うもので、選択対象の持つ属性の種類がふ
るい型編集装置13によって編集されていることが前提と
なる。The selection target editing device 16 edits the attributes of the selection target, and it is assumed that the type of the attributes of the selection target has been edited by the sieve type editing device 13.
上記選択対象編集装置16では選択対象の名称、その属
性の編集を行い、属性の編集では、ふるい型記憶装置3
からふるい型を読み出し、そのふるい型の属性名と属性
値の範囲を用いて選択対象の属性の編集を行うもので、
属性値の入力は属性値の範囲内になる値を入力する。The selection target editing device 16 edits the name of the selection target and its attributes, and edits the attributes in the sieve type storage device 3.
From the sieve type, and edit the attribute to be selected using the attribute name and attribute value range of the sieve type.
For the attribute value input, enter a value that falls within the attribute value range.
すなわち、第11図における属性は、属性名と属性値の
組からなるもので、ふるい型を利用して、選択対象の各
属性の編集を行う。That is, the attribute in FIG. 11 is composed of a pair of an attribute name and an attribute value, and each attribute to be selected is edited using a sieve type.
上記選択対象編集装置16では、選択対象編集によって
編集された選択対象を記憶しておく装置として用いられ
る。The selection target editing device 16 is used as a device for storing the selection target edited by the selection target editing.
このように、この実施例ではエキスパートシステム構
築時には、ルールSQLを記述することなく選択条件とな
るふるいを定義し、選択対象を定義することによりシス
テム構築を行うことが可能になる。Thus, in this embodiment, when constructing an expert system, it is possible to construct a system by defining a sieve as a selection condition without defining a rule SQL and defining a selection target.
次に、この発明装置の利用時のシステム構成を説明す
る。Next, a system configuration when the present invention apparatus is used will be described.
第12図はこの発明装置の第3実施例を示すもので、こ
の場合のふるいグループ指定装置18としては、ふるいグ
ループ記憶装置15に記憶されているふるいグループの中
から選択処理を行うのに必要な条件を満たすふるいグル
ープの名称をユーザが指定し、その指定されたふるいグ
ループのディフォルトふるいとふるいをかける順序をふ
るい記憶装置3に書き込む。FIG. 12 shows a third embodiment of the device of the present invention. In this case, the sieve group designation device 18 is required to perform a selection process from the sieve groups stored in the sieve group storage device 15. The user specifies the name of the sieve group that satisfies the following conditions, and writes the default sieve and the order of sifting the specified sieve group into the sieve storage device 3.
上記ふるい編集装置13では、ディフォルトふるいの属
性値,ふるい方法,比較方法などを変更する必要がある
場合や、ディフォルトふるい以外のふるいを用意する必
要があって、ふるいをかける順序を変更・追加を行う場
合には、ふるい記憶装置3に記憶されているふるいをユ
ーザは編集したり、ふるい記憶装置3に記憶されるふる
い型を利用してディフォルトふるい以外のふるい編集を
行う。In the sieve editing device 13, when it is necessary to change the default sieve's attribute value, sieve method, comparison method, or the like, it is necessary to prepare a sieve other than the default sieve. When performing, the user edits the sieve stored in the sieve storage device 3 or edits a sieve other than the default sieve using the sieve type stored in the sieve storage device 3.
ふるいの削除・変更が行われた場合に、ふるいをかけ
る順序はふるいグループ内のふるいをかける順序から計
算される。When a sieve is deleted or changed, the order of sieving is calculated from the order of sieving within a sieve group.
つまり、削除されたものをその番号を詰めて計算し追
加されたものを最後に格納する。That is, the number of the deleted item is calculated by packing its number, and the added item is stored last.
その編集結果は、ふるい記憶装置3に書き込まれる。 The editing result is written to the sieve storage device 3.
次に、処理中のふるい制御装置6内に設けられる中間
結果記憶装置7,いわゆるレジスタについて説明すると、
選択処理の過程で中間結果を記憶するために用いられ、
選択処理が終了すれば、選択結果記憶装置4にここに記
憶されている全ての選択対象を書き込む。Next, the intermediate result storage device 7, which is provided in the sieve control device 6 during processing, a so-called register will be described.
Used to store intermediate results during the selection process,
When the selection process is completed, all the selection targets stored here are written in the selection result storage device 4.
上記選択結果表示装置60aでは、選択結果を利用者に
対して表示する。The selection result display device 60a displays the selection result to the user.
上記の各システムの処理アルゴリズムは次の通りであ
る。The processing algorithm of each of the above systems is as follows.
(1)ふるい編集装置13によりふるい型の編集を行う。
そうして編集されたふるい型はふるい型記憶装置3に書
き込まれる。そこで第13図にふるい型の編集フローチャ
ートを示す。(1) The sieve editing device 13 performs sieve type editing.
The edited sieve type is written to the sieve type storage device 3. FIG. 13 shows a sieve type editing flowchart.
第13図はふるい型のフローチャートで、ステップ100
でふるい型記憶装置3からふるい型を読み込み、次のス
テツプ101で新規作成の場合は、で示したようにステ
ップ106で属性名を入力し、ステップ107でデータ型を入
力する。そうして、ステップ108で属性値の範囲を入力
すると、ステップ109でふるいを入力した後、ステップ1
10で比較方法を入力し、ステップ104に移行する。FIG. 13 is a sieve type flowchart, in which step 100
Then, the sieve type is read from the sieve type storage device 3 and, in the case of new creation in the next step 101, the attribute name is input in step 106 and the data type is input in step 107 as indicated by. Then, when the range of the attribute value is input in Step 108, the sieve is input in Step 109, and then Step 1
At 10, a comparison method is input, and the process proceeds to step 104.
ステップ104で処理を終了する場合は、ステップ105に
移行し、ふるい型記憶装置3に編集したふるい型を書き
込みENDとなる。When the process is terminated in step 104, the process proceeds to step 105, where the edited sieve type is written into the sieve type storage device 3 and the process ends.
また、ステップ102で変更があれば、に移行し、ス
テップ111で変更となれば、次のステップ112に移行し、
属性名の変更を行う。Also, if there is a change in step 102, the process proceeds to step, and if it is changed in step 111, the process proceeds to the next step 112,
Change the attribute name.
次のステップ113でデータ型を変更するためであれば
ステップ114にてデータ型の変更を行う。変更が終わる
と、今度はステップ115で属性値の範囲の変更が確認さ
れ、YESであれば、ステップ116で属性値の範囲の変更を
行い、それが済むとステップ117に移行し、そこでふる
い方法の変更が確認され、変更する場合にはステップ11
8に移行しふるい方法の変更を行い、ステップ119に移行
する。If the data type is to be changed in the next step 113, the data type is changed in step 114. When the change is completed, the change of the attribute value range is confirmed in step 115, and if YES, the attribute value range is changed in step 116, and after that, the process proceeds to step 117, where the sieving method is performed. Changes are confirmed, and if any, step 11
The process proceeds to step 8 to change the sieving method, and then proceeds to step 119.
ステップ119で比較方法を変更する場合には、ステッ
プ120に移行し、比較方法の変更を行い上述した要領に
てステップ105でふるい型記憶装置3に編集したふるい
型を書き込みENDとなる。When the comparison method is changed in step 119, the process proceeds to step 120, where the comparison method is changed, and the edited sieve type is written to the sieve type storage device 3 in step 105 in the manner described above, and the process ends.
さらに、ステップ103で削除したいという判断がなさ
れれば、に移行し、ステップ121で削除するふるい型
を指定する。Further, if it is determined in step 103 that the user wants to delete, the process proceeds to step 121, where a sieve type to be deleted is specified.
その後、ステップ122では指定したふるい型を削除
し、上述した要領でステップ105に移動し、ステップ105
でふるい型記憶装置3に編集したふるい型を書き込みEN
Dとなる。Thereafter, in step 122, the specified sieve type is deleted, and the process proceeds to step 105 in the manner described above.
Write the edited sieve type to the sieve type storage device 3 with EN
D.
第14図はグループ編集のフローチャート、第15図は選
択対象のフローチャートであり、それぞれのフローは上
記ふるい型フローと同様であるのでその詳細説明を省略
する。FIG. 14 is a flowchart of group editing, and FIG. 15 is a flowchart of a selection target. Since each flow is the same as the above-mentioned sieve type flow, detailed description thereof will be omitted.
(2)上記のようなフローに従い、編集装置13によりふ
るいグループの編集を行い、その編集されたディフォル
トふるいはふるいグループ記憶装置15に書き込まれる。(2) The sieve group is edited by the editing device 13 in accordance with the flow described above, and the edited default sieve is written in the sieve group storage device 15.
このディフォルトふるい編集のフローチャートを第16
図に示すが、このフローチャートの流れは当業者であれ
ば十分理解できるものであるから、その詳細説明を省略
する。This default sieve editing flowchart is
As shown in the figure, the flow of this flowchart is well understood by those skilled in the art, and a detailed description thereof will be omitted.
(3)選択対象編集装置16により選択対象の編集を行っ
て、編集された選択対象は選択対象記憶装置2に書き込
まれるが、その選択対象編集のフローチャートを第17図
に示す。なお、このフローについてもその詳細説明を省
略する。(3) The selection target is edited by the selection target editing device 16, and the edited selection target is written in the selection target storage device 2. FIG. 17 shows a flowchart of the selection target editing. The detailed description of this flow is also omitted.
このようにふるいグループ編集装置14、選択対象編集
装置16においては、ふるい型記憶装置3に記憶されてい
るふるい型を利用して編集を行う。従って、これらの編
集を行うためには、ふるい型は編集されている必要があ
り、このふるいグループ、選択対象の双方は依存関係が
ないので、どちらが先に編集してもかまわない。As described above, the sieve group editing device 14 and the selection target editing device 16 perform editing by using the sieve type stored in the sieve type storage device 3. Therefore, in order to perform these edits, the sieve type needs to be edited. Since both the sieve group and the selection target have no dependency, either one may be edited first.
次に、この発明装置の利用時システムの処理の概略ア
ルゴリズムを第20図に示す。Next, FIG. 20 shows a schematic algorithm of the processing of the system when using the apparatus of the present invention.
(1)ふるいグループ指定装置18により、ふるいグルー
プの指定を行う。(1) The sieve group designation device 18 designates a sieve group.
そうして指定されたふるいグループをふるいグループ
記憶装置15から読み出し、ふるい記憶装置4に書き込
む。The specified sieve group is read from the sieve group storage device 15 and written to the sieve storage device 4.
(2)ふるい編集装置13により、ふるい記憶装置5によ
り格納されたふるい、及びふるいの順序の変更、ふるい
型記憶装置3に格納されたふるい型を利用して新たなふ
るいの順序を編集する。(2) The sieve editing device 13 edits the sieve stored in the sieve storage device 5 and the order of the sieve, and edits the new sieve order by using the sieve type stored in the sieve type storage device 3.
(3)ふるい制御装置6により選択処理を行い、そうし
て得られた選択結果が、選択結果記憶装置4に書き込ま
れる。(3) The selection process is performed by the sieve control device 6, and the obtained selection result is written in the selection result storage device 4.
(4)選択結果記憶装置4により得られた選択結果の表
示をディスプレイ60aから行う。(4) The selection result obtained by the selection result storage device 4 is displayed on the display 60a.
(5)選択結果と目的が異なる場合には上記(1)ある
いは(2)の処理を繰返し行う(第16図および第17図の
フローチャートを参照)。(5) If the result of the selection is different from the purpose, the processing of the above (1) or (2) is repeated (refer to the flowcharts of FIGS. 16 and 17).
なお、第21図から第27図はディスプレイ60aから表示
される各モード毎の表示画面である。FIGS. 21 to 27 show display screens for each mode displayed on the display 60a.
このように構成されたこの実施例では、選択条件つま
り選択業務を行なう専門家の知識となるふるいは他のふ
るいとは独立しており、複数のふるい間の依存関係を考
慮することがなく、ふるいの追加・修正・削除を容易に
行うことが可能になる。In this embodiment configured in this way, the selection condition, ie, the sieve that becomes the knowledge of the expert performing the selection work is independent of the other sieves, without taking into account the dependency between the multiple sieves, It is possible to easily add, modify, and delete sieves.
また、選択処理を行なう推論の制御は独立したふるい
を制御するふるい制御装置によって行われるため、制御
用の知識を記述する必要がない。In addition, since the control of the inference for performing the selection process is performed by the sieve control device that controls the independent sieve, it is not necessary to describe control knowledge.
なお、本願装置の他の実施例の概要を次に説明する。 An outline of another embodiment of the present apparatus will be described below.
(1)第20図に示すように、構築時のシステムにおい
て、利用時のシステムの構成を組み合わせ、ふるい制御
装置6にふるいをかけた順序をトレースすること、すな
わち1つのふるいをかけた後、あるいは指定したふるい
をかけた後に停止し、その状態において選択された途中
結果を中間結果記憶装置7から参照することにより、構
築時におけるデバッグ作業に利用可能なデバッカを構成
することが可能である。(1) As shown in FIG. 20, in the system at the time of construction, the configuration of the system at the time of use is combined, and the order in which the sieve control device 6 is sifted is traced. Alternatively, it is possible to construct a debugger that can be used for debugging at the time of construction by stopping after performing a designated sieve and referring to the intermediate result selected in that state from the intermediate result storage device 7.
(2)ふるいの属性値は、上記実施例ではデータ型を静
的に決定するために、ふるい型定義において決定した
が、動的にデータ型をチェックすることによって、この
記載は不要となる。(2) In the above embodiment, the sieve attribute value is determined in the sieve type definition in order to statically determine the data type. However, by dynamically checking the data type, this description becomes unnecessary.
(3)上記実施例では、ふるい型グループ指定値におい
て、ふるいグループ指定を行なっていたが、ふるいグル
ープ内のディフォルトふるいが複数のグループ間で重複
した場合の優先順位を、ふるい編集装置13で定義してお
くことにより、ふるいグループ指定装置18において複数
のふるいグループの指定を行なうことが可能となる。(3) In the above-described embodiment, the sieve group is specified in the sieve type group specification value. However, the priority order when the default sieve in the sieve group is duplicated among a plurality of groups is defined by the sieve editing device 13. By doing so, it becomes possible to specify a plurality of sieve groups in the sieve group specifying device 18.
(4)選択対象に関するより詳細な情報や、ふるいをか
けることが困難な情報などの付加情報は、別の記憶装置
を用意しておき、上記選択結果表示装置60aにおいて選
択結果を表示する際に利用者の任意で付加情報を表示す
ることにより、利用者がそれを参照することにより、選
択結果が目的とする選択対象であるかを確認し決定する
ことが可能となる。(4) Additional information such as more detailed information about the selection target and information that is difficult to sift is prepared in another storage device, and is used when the selection result is displayed on the selection result display device 60a. By displaying the additional information arbitrarily by the user, the user can check and determine whether the selection result is the target selection target by referring to the additional information.
(5)上記実施例では、比較方法は、「等しい」,「以
上」,「以下」等であったが、ふるいの目にあたる比較
方法は、ファジィ理論にもとづく曖昧性をもった比較方
法であっても良いことはもちろんである。またこれによ
り、曖昧な選択の条件を与えることが可能となる。(5) In the above embodiment, the comparison method is “equal”, “over”, “below”, etc. However, the comparison method corresponding to the sieve is a comparison method having ambiguity based on fuzzy theory. Of course, you can do that. This also makes it possible to provide an ambiguous selection condition.
(6)上記実施例では、ふるい方法は、ふるいを通るか
通らないかの2値であるが、この点においても、ファジ
ィ理論に基づく曖昧性をもったふるい方法であってもよ
い。(6) In the above embodiment, the sieving method is a binary method of passing or not passing through the sieve, but in this regard, a sieving method having ambiguity based on fuzzy theory may be used.
これにより、選択時の絞り込みにおいて曖昧性を持た
せることが可能となる。Thereby, it is possible to give ambiguity in narrowing down at the time of selection.
(7)上記実施例の各装置のアルゴリズムは、ソフトウ
ェアによって実現されてもハードウェアによって実現さ
れてもかまわない。(7) The algorithm of each device in the above embodiment may be realized by software or hardware.
(8)上記実施例の各ふるいにおいて、制約条件等の注
意書きを選択対象に付加し、後段のふるいでの選択処理
とユーザーへの注意書き等をする書き込み装置を付加し
てもよい。この例を示したのが第19図および第20図であ
る。(8) In each of the sieves of the above embodiments, a precautionary statement such as a constraint condition may be added to the selection target, and a writing device for performing a selection process in a subsequent sieve and a precautionary note for a user may be added. FIG. 19 and FIG. 20 show this example.
すなわち、注意書きとは、制約条件等の条件付きでふ
るいを通した場合に、その通した選択対象に対して与え
るものであり、この注意書きは、ふるいを用いた選択処
理中には、その注意書きを利用してふるいを通すかどう
かを制御し、選択結果を表示する場合には、この注意書
きを同時に表示することによって、ユーザーがその注意
書きを参照して選択結果に対する評価を行なうことがで
きる。In other words, the precautionary statement is given to the selected object when it passes through a sieve with a condition such as a constraint condition, and this precautionary note is given during the selection process using the sieve. If you use a notice to control whether or not to pass through the sieve and display the result of the selection, display this notice at the same time so that the user can refer to the notice and evaluate the result of the selection. Can be.
つまり、注意書きによるふるい間の依存関係を独立し
て記述することが可能となり、選択処理をきめ細かく制
御することができるとともに、ユーザーに対しては単に
選択結果を表示するのではなく、選択された結果に注意
書きを与えることによって、より正確な選択処理を行な
うことができる。In other words, it is possible to independently describe the dependency between the sieves by the precautionary statement, and to control the selection process finely, and to display the selection result to the user instead of simply displaying the selection result. By giving a note to the result, a more accurate selection process can be performed.
上記注意書き制御装置20を上記で示した実施例に追加
するために、選択対象としてふるいの構成に注意書きを
加えると、選択対象においては、複数のふるいによる選
択処理が行われることを考慮して、複数個の注意書きを
もつように構成される。In order to add the above-mentioned note control device 20 to the above-described embodiment, if a note is added to the configuration of the sieve as a selection target, it is considered that a selection process using a plurality of sieves is performed on the selection target. Thus, it is configured to have a plurality of notices.
次にふるいにおいて1つの注意書きをもつように構成
されたものについて説明する。Next, a description will be given of a sieve configured to have one notice.
上記注意書き方法としては、第19図に示すようにこの
注意書きを発行する条件を示す注意書き発行条件,注意
書きを発行した場合のふるいの内容を変更する属性値、
ふるい方法、比較方法、そして注意書きから構成されて
いる。As the above note method, as shown in FIG. 19, a note issuance condition indicating a condition for issuing the note, an attribute value for changing the contents of a sieve when the note is issued,
It consists of a sieving method, a comparison method, and notes.
上記注意書き発行条件は、どのような選択条件が与え
られているか、どんなふるいが選択処理過程で与えられ
たか、あるいは与えられるか等の条件を付加する。The precautionary note issuance condition is added with a condition such as what kind of selection condition is given, what sieve is given in the selection process, or whether it is given.
上記ふるいの内容を変更する属性値、ふるい方法、比
較条件は、注意書きを与える場合にふるいを変更するた
めの値であり、その注意書きを与える場合に、ふるいの
それぞれの値を変更する際に使用する。The attribute value, sieve method, and comparison condition that change the contents of the above sieve are values for changing the sieve when giving a notice, and when changing the respective values of the sieve when giving the notice Used for
上記注意書き制御装置20としては、上記ふるい制御装
置6においてふるいによる選択処理の最中に注意書きに
したがって処理を行なうもので、以下に注意書き制御装
置20の処理アルゴリズムを示す。The precautionary note control device 20 performs processing according to the precautionary note during the selection process by the sieve in the sieve control device 6, and the processing algorithm of the precautionary note control device 20 will be described below.
すなわち、(1)注意書き発行条件が満たされる場合
には、ふるいの内容を注意書き方法にある値に書き替え
て行なう。(2)そのふるいを用いて、ふるい制御装置
により選択処理を行なう。(3)上記(2)において選
択された選択対象に対して注意書きを与える。That is, (1) when the precautionary note issuance condition is satisfied, the contents of the sieve are rewritten to a value according to the precautionary note method. (2) Using the sieve, a selection process is performed by the sieve control device. (3) A notice is given to the selection target selected in the above (2).
選択結果表示装置60aにおいては、選択結果表示に注
意書きも同時に表示する。The selection result display device 60a also displays a note on the selection result display.
このようにこの実施例によれば、ふるいはそれぞれの
独立した比較方法と独立したふるい方法をもつため、新
たな比較方法、ふるい方法をもつふるいを追加して拡張
することを容易に行なうことができる。Thus, according to this embodiment, since the sieve has an independent comparison method and an independent sieve method, it is easy to add and expand a sieve having a new comparison method and a sieve method. it can.
(9)第2実施例において、選択対象を記憶する装置を
既存のデータベースにし、そのデータベースのデータ記
述言語・データ操作言語を生成する装置を加えることに
よって既存データベースと第2実施例によるエキスパー
トシステムを組み合わせることを容易に行うことができ
る。(9) In the second embodiment, the device for storing the selection target is an existing database, and an apparatus for generating a data description language and a data manipulation language of the database is added to the existing database and the expert system according to the second embodiment. The combination can be easily performed.
(10)第2実施例においてふるい型編集装置13・ふるい
グループ編集装置14・選択対象編集装置16において、表
形式のエディタをもたせることによって、ユーザーの入
力を最少限に押さえことができる。(10) In the second embodiment, the sieve type editing device 13, the sieve group editing device 14, and the selection target editing device 16 are provided with an editor in the form of a table, so that the user's input can be minimized.
また、このようにエキスパートシステムの構築時にお
いて、データベースの作成・変更を容易に行なえること
になりKE(Knowledge Engineer)やデータベースのエキ
スパートエンジニアが不必要になる。In addition, when an expert system is constructed in this way, the database can be easily created and changed, and a KE (Knowledge Engineer) and a database expert engineer are not required.
《発明の効果》 以上の構成より明らかなように、この発明に係る情報
処理装置によれば上記のようにふるい型モデルに基づ
き、選択する対象をそれがもった情報を選択条件となる
ふるいにかけることによって、目的とする対象を選択す
る処理が行われ、選択問題を解決するエキスパートシス
テムに応用することができる。すなわち、本願装置によ
れば次のような効果が奏し得られる。<< Effects of the Invention >> As is clear from the above configuration, according to the information processing apparatus according to the present invention, based on the sieve type model as described above, a target to be selected is selected from information having the selected target sieve. By performing the process, a process of selecting a target object is performed, and the present invention can be applied to an expert system for solving a selection problem. That is, according to the present apparatus, the following effects can be obtained.
(1)エキスパートシステム構築時には、ルールSQLを
記述することなく選択条件となるふるいを定義し、選択
対象を定義することにより簡単にシステム構築を行うこ
とが出来る。(1) When constructing an expert system, it is possible to easily construct a system by defining a sieve as a selection condition without defining a rule SQL and defining a selection target.
(2)選択条件、つまり選択常務を行なう専門家の知識
となるふるいは、他のふるいとは独立しており、複数の
ふるい間の依存関係を考慮することがないため、自由に
ふるいの追加・修正・削除を行うことが出来、使い勝手
が良い。(2) Sifting conditions, that is, sieves that become the knowledge of the expert performing the election, are independent of other sieves and do not take into account the dependencies among multiple sieves.・ Can be modified / deleted, making it easy to use.
(3)選択対象の属性に意味付けすることによりだれで
も容易に検索及び編集をすることが出来る。(3) Anyone can easily search and edit by giving meaning to the attribute to be selected.
(4)ふるいは、それぞれ独立した比較方法と独立した
ふるい方法をもつため、新たな比較方法、ふるい方法を
もつふるいを追加して拡張することを容易に行なうこと
ができる。従ってエキスパートシステムの構築時におい
ては、データベースの作成・変更を容易に行なうことが
できKEやデータベースのエキスパートエンジニアが不必
要になる等の効果を有する。(4) Since the sieve has an independent comparison method and an independent sieve method, it is possible to easily add and expand a sieve having a new comparison method and a new sieve method. Therefore, when the expert system is constructed, the creation and modification of the database can be easily performed, which has the effect that the KE and the database expert engineer become unnecessary.
第1図はこの発明装置の第1実施例を示す斜視図、第2
図はこの発明装置の第2実施例を示す斜視図、第3図は
この発明装置の全体回路ブロック構成を示すブロック
図、第4図はこの発明装置で使用する各装置の操作状態
を示す説明図、第5図はふるいモデルによるエキスパー
トシステムの構成図、第6図は選択対象となるふるい制
御装置の操作を示す説明図、第7図はふるい制御装置の
動作を示す説明図、第8図は構築時のシステムの構成
図、第9図はふるい型の構造を示す説明図、第10図はデ
ッフォルトふるいとふるいとの関係を示す説明図、第11
図は選択対象の構造を説明する説明図、第12図は利用時
システムの構成を示す説明図、第13図は類型の編集フロ
ーを示すフローチャート、第14図はふるいグループの編
集フローを示すフローチャート、第15図は選択対象の編
集フローを示すフローチャート、第16図及び第17図は利
用時システムのフローを示すフローチャート、第18図は
この発明装置の注意書き型を加えた選択対象の構成を示
す構成図、第19図は注意書き型の構成を示す構成図、第
20図は注意書き制御装置を加えた利用時システムを示す
説明図、第21図は本願装置のディスプレーに表示される
各ふるいデータの編集状態を示す説明図、第22図はふる
いデータ編集メニューのフローを示す説明図、第23図は
デバックメニューを示す説明図、第24図は選択対象の属
性編集ウィンドの一実施例を示す説明図、第25図は選択
対象の属性の各名称を定義選択するウィンドウ例を示す
説明図、第26図はファイル読み込み操作ダイアロボック
スの一実施例を示す説明図、第27図は本願発明装置のデ
ィスプレーにより表示される評価属性の設定された状態
を示す説明図である。 A……エキスパートシステム 1……マウス(ふるい生成装置) 2……選択対象記憶装置 3……ふるい型記憶装置 4……選択結果記憶装置 5……ふるい記憶装置 6……ふるい制御装置 13……ふるい型編集装置 14……ふるいグループ編集装置 15……ふるいグループ記憶装置 16……選択対象編集装置 17……選択対象記憶装置 60a……ディスプレイFIG. 1 is a perspective view showing a first embodiment of the present invention, and FIG.
FIG. 3 is a perspective view showing a second embodiment of the apparatus of the present invention, FIG. 3 is a block diagram showing the overall circuit block configuration of the apparatus of the present invention, and FIG. Fig. 5, Fig. 5 is a configuration diagram of an expert system based on a sieve model, Fig. 6 is an explanatory diagram showing operation of a sieve control device to be selected, Fig. 7 is an explanatory diagram showing operation of the sieve control device, Fig. 8 Is a configuration diagram of the system at the time of construction, FIG. 9 is an explanatory diagram showing a sieve type structure, FIG. 10 is an explanatory diagram showing a relationship between a default sieve and a sieve, FIG.
FIG. 12 is an explanatory diagram for explaining a structure of a selection target, FIG. 12 is an explanatory diagram showing a configuration of a use-time system, FIG. 13 is a flowchart showing a type editing flow, and FIG. 14 is a flowchart showing a sieve group editing flow. , FIG. 15 is a flowchart showing an editing flow of a selection target, FIG. 16 and FIG. 17 are flowcharts showing a flow of a use-time system, and FIG. FIG. 19 is a block diagram showing a cautionary note type configuration, and FIG.
FIG. 20 is an explanatory diagram showing a system in use with a precautionary note control device added thereto, FIG. 21 is an explanatory diagram showing an editing state of each sieve data displayed on a display of the present application device, and FIG. FIG. 23 is an explanatory diagram showing a debug menu, FIG. 24 is an explanatory diagram showing an embodiment of an attribute edit window for selection, and FIG. 25 is a diagram for selecting and defining each name of the attribute for selection. FIG. 26 is an explanatory diagram showing an embodiment of a file reading operation dialog box, and FIG. 27 is an explanatory diagram showing a state in which evaluation attributes displayed on the display of the device of the present invention are set. It is. A ... Expert system 1 ... Mouse (sieving generation device) 2 ... Selection storage device 3 ... Sieving type storage device 4 ... Selection result storage device 5 ... Sieving storage device 6 ... Sieving control device 13 ... Sieve type editing device 14 ... Sieve group editing device 15 ... Sieve group storage device 16 ... Selection target editing device 17 ... Selection target storage device 60a ... Display
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 17/30 G06F 9/44 550 JICST科学技術文献ファイル──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 6 , DB name) G06F 17/30 G06F 9/44 550 JICST scientific and technical literature file
Claims (6)
識情報としての属性名ほかの特定データを書き込むため
の枠組みを有し、かつ、選択条件が相互に依存関係を有
しないふるいにかけられるふるい型で表現されたものを
記憶する記憶手段と、 上記属性名及び特定データを選択すると、選択対象及び
それらのふるい型にかきこまれた特定データを検索し、
目的とする選択対象及び特定データを選択・抽出する検
索制御手段と、 その制御手段が選択・抽出した選択結果を記憶しておく
ための選択結果記憶手段と、 からなるエキスパートシステムを備えていることを特徴
とする情報処理装置。1. A sieve which has a framework for writing attribute data and other specific data as knowledge information to attributes representing the properties and characteristics of a selection target, and wherein selection conditions have no mutual dependency. A storage means for storing what is expressed in a sieve type, and when the attribute name and the specific data are selected, the selection target and the specific data captured in the sieve type are searched,
An expert system comprising: a search control unit for selecting and extracting a target selection target and specific data; and a selection result storage unit for storing the selection result selected and extracted by the control unit. An information processing apparatus characterized by the above-mentioned.
識情報としての属性名ほかの特定データを書き込むため
の枠組みを有し、かつ、選択条件が相互に依存関係を有
しないふるいにかけられるふるい型を編集する編集手段
と、 その編集手段で編集されたふるい型を記憶しておくため
の記憶手段と、 上記ふるい型に加えてユーザ・他システムからふるい生
成装置を介して与えられる特定データを追加したディフ
ォルトふるいを、上記ふるい型を利用して編集し、編集
したディフォルトふるいとふるい型のグループに名称を
付すためのふるいグループ編集手段と、 上記ふるいグループ編集手段で編集されたディフォルト
ふるいを記憶するふるいグループ記憶手段と、 上記選択対象の持つ属性の編集を行う選択対象編集手段
と、 その選択編集手段によって編集された選択対象を記憶し
ておく選択対象記憶手段と、 からなるシステム構築のためのエキスパートシステムを
備えていることを特徴とする情報処理装置。2. A sieve having a framework for writing attribute data and other specific data as knowledge information to attributes representing the properties and characteristics of the selection target, and having selection conditions having no mutual dependency. Editing means for editing the sieve type; storage means for storing the sieve type edited by the editing means; and specific data provided via a sieve generating device from a user or another system in addition to the sieve type Edit the default sieve with the added sieve type using the above sieve type, a sieve group editing means for giving a name to the edited default sieve and sieve type group, and a default sieve edited by the sieve group editing means. Sieve group storage means for storing, selection target editing means for editing the attributes of the selection target, and selection and editing thereof The information processing apparatus characterized by comprising a selection storage means for storing the selected object edited by stage, the expert system for system construction consisting of.
して付される属性名ほかの特定データとして、属性値及
びその範囲・ふるい方法・比較方法などの枠組みを有す
るふるい型を用いたことを特徴とする情報処理装置。3. A sieve type having an attribute value and a framework such as a range, a sieve method, and a comparison method is used as the attribute name and other specific data assigned to the attribute to be selected according to claim 1 or 2. An information processing apparatus, characterized by
質・特徴等を表わす属性名の他の特定データを書き込む
ための枠組みを有し、かつ、選択条件が相互に依存関係
を有しないようにかけられるふるい型を編集する編集手
段を設けたことを特徴とする情報処理装置。4. The invention according to claim 1, further comprising a framework for writing other specific data of an attribute name representing a property / characteristic of a selection target, and having selection conditions mutually dependent. An information processing apparatus comprising editing means for editing a sieve type that can be set not to be edited.
制約条件などの注意書きを選択対象に付加し、ユーザへ
の注意書きとする手段を備えていることを特徴とする情
報処理装置。5. The sieve according to claim 1, wherein
An information processing apparatus, comprising: means for adding a note such as a constraint condition to a selection target to make a note to a user.
の記憶手段に記憶された選択結果を表示する表示手段が
連繋されていることを特徴とする情報処理装置。6. An information processing apparatus according to claim 1, wherein said selection result storage means is connected to a display means for displaying the selection result stored in said storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2106810A JP2900504B2 (en) | 1990-04-23 | 1990-04-23 | Information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2106810A JP2900504B2 (en) | 1990-04-23 | 1990-04-23 | Information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH044469A JPH044469A (en) | 1992-01-08 |
| JP2900504B2 true JP2900504B2 (en) | 1999-06-02 |
Family
ID=14443203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2106810A Expired - Lifetime JP2900504B2 (en) | 1990-04-23 | 1990-04-23 | Information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2900504B2 (en) |
-
1990
- 1990-04-23 JP JP2106810A patent/JP2900504B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 電気製鋼,Vol.60,No.4,p.397−400,1989(平1−12−5)"「プラスチック金型材料選択」のエキスパートシステム" |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH044469A (en) | 1992-01-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5495567A (en) | Automatic interface layout generator for database systems | |
| US20210209157A1 (en) | System and method for non-programmers to dynamically manage multiple sets of xml document data | |
| US5301313A (en) | Manipulating data in a relational data base having operational manipulations defined in an input table and displayed results in an output table with a line displayed designating direction of data flow | |
| JP3123025B2 (en) | Cut and paste filter in data processing system | |
| US4742467A (en) | Automated programming system for machine creation of applications program source code from non-procedural terminal input | |
| US8386919B2 (en) | System for displaying an annotated programming file | |
| JP7339628B2 (en) | Online report creation system using Excel tools | |
| JP3223645B2 (en) | Database access method and apparatus | |
| US5781905A (en) | Program generating method combining data item part with database manipulation part | |
| JPH11316766A (en) | Multidimensional analysis construction system and database for analysis processing | |
| JP2900504B2 (en) | Information processing device | |
| JPH08171508A (en) | Database management method and apparatus | |
| JPH064280A (en) | Graphical user interface having function of user control for object with wysiwyg type editor | |
| JP2002366401A (en) | Integrated data mart construction and operation support system | |
| JP3299259B2 (en) | Program structure diagram editing processing method | |
| KR0165510B1 (en) | Table of database management system | |
| JP2585311B2 (en) | How to create a program | |
| JP3167412B2 (en) | Database search processor | |
| JP2001134423A (en) | Screen information output method of new system using existing interactive system | |
| JP3444620B2 (en) | Filing system equipment | |
| JP3420785B2 (en) | Program construction equipment | |
| JPH06274386A (en) | Application development system for operating data base of window base | |
| JP2855836B2 (en) | Petri net diagram making device | |
| JPH0475136A (en) | Program developing device | |
| JPH0748181B2 (en) | How to edit text knowledge in the knowledge organization editor |