JPH07200633A - Data retrieval system and retrieval conditional expression generator for data base - Google Patents

Data retrieval system and retrieval conditional expression generator for data base

Info

Publication number
JPH07200633A
JPH07200633A JP5352312A JP35231293A JPH07200633A JP H07200633 A JPH07200633 A JP H07200633A JP 5352312 A JP5352312 A JP 5352312A JP 35231293 A JP35231293 A JP 35231293A JP H07200633 A JPH07200633 A JP H07200633A
Authority
JP
Japan
Prior art keywords
search
search condition
diagram
expression
drawing language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5352312A
Other languages
Japanese (ja)
Inventor
Kazue Mori
和重 森
Hisanori Takahashi
久則 高橋
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP5352312A priority Critical patent/JPH07200633A/en
Publication of JPH07200633A publication Critical patent/JPH07200633A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide a data retrieval means which can easily recognize the contents of a data base even under the complicated retrieval conditions. CONSTITUTION:A retrieval conditional expression generator 20 is provided with a plotting means 21 which produces a retrieval conditional-diagram based on the plotting data supplied from an input device 10, a plotting language converter means 22 which converts the retrieval conditional diagram produced by the means 21 into a description of the plotting language, a plotting language analyzer means 25 which analyzes the description that shows the retrieval conditional diagram converted by the means 22, and a retrieval conditional expression generator means 24 which produces a retrieval conditional expression based on the analyzing result of the means 23. In such a constitution, the contents of a data base 40 can be easily recognized even under the complicated retrieval conditions.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータを利用し
たデータベースのデータ検索システム及びこれに用いる
検索条件生成装置に関し、特に図形により検索条件を特
定するデータ検索システム及び検索条件生成装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data search system for a database using a computer and a search condition generating device used for the same, and more particularly to a data search system and a search condition generating device for specifying a search condition by a graphic.

【0002】[0002]

【従来の技術】コンピュータを利用したデータベースに
おいてデータの検索を行なうには、該データベースにア
クセスする情報検索装置に所定の形式で記述された検索
条件を入力することが必要である。
2. Description of the Related Art In order to search data in a database using a computer, it is necessary to input a search condition described in a predetermined format into an information search device that accesses the database.

【0003】従来、このようなデータ検索手段における
検索条件の指定は、検索キーと該検索キーを結ぶ論理演
算子とからなる論理式(検索条件式)を、キーボード等
の入力装置から入力することによって行なっていた。
Conventionally, in order to specify search conditions in such data search means, a logical expression (search condition expression) consisting of a search key and a logical operator connecting the search keys is input from an input device such as a keyboard. Was done by.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のデータ
検索手段では、検索条件を検索条件式によって指定して
いたため、検索条件が複雑になると論理式が多数記述さ
れることとなり、検索条件の認識が容易でなくなるとい
う欠点があった。
In the above-mentioned conventional data search means, since the search condition is specified by the search condition expression, if the search condition becomes complicated, a large number of logical expressions will be described and the search condition will be recognized. There was a drawback that it was not easy.

【0005】本発明は、上記の欠点を解決し、複雑な検
索条件であっても、その内容を容易に認識することがで
きるデータ検索手段を提供することを目的としている。
An object of the present invention is to solve the above-mentioned drawbacks and to provide a data search means capable of easily recognizing the contents of a complicated search condition.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
め、本発明によるデータベースのデータ検索システム
は、検索キー及び検索条件を示す検索条件図を作成する
ためのデータ(作図データ)を入力する入力装置と、該
入力装置から入力した作図データに基づき前記検索条件
図を作成すると共に作成した検索条件図に基づきデータ
ベースを検索するための検索条件式を作成する検索条件
式生成装置と、該検索条件式生成装置が作成した検索条
件式にしたがってデータベースを検索し検索結果を出力
する情報検索装置とを備え、前記検索条件式生成装置
が、前記入力装置から入力した作図データに基づき前記
検索条件図を作成する作図手段と、前記作図手段が作成
した前記検索条件図を作図用言語による記述に変換する
作図言語変換手段と、前記作図言語変換手段によって変
換された検索条件図を示す記述を解析する作図言語解析
手段と、前記作図言語解析手段による解析結果に基づい
て前記解析条件式を作成する検索条件式生成手段とを備
える構成としている。
In order to achieve the above object, the database data search system according to the present invention inputs data (drawing data) for creating a search condition diagram showing a search key and a search condition. An input device, a search condition formula generation device for creating the search condition diagram based on the drawing data input from the input device, and a search condition formula for searching a database based on the created search condition diagram; An information retrieval device for searching a database according to a retrieval condition expression created by the condition expression generating device and outputting a search result, wherein the search condition expression generating device is based on the drawing data input from the input device. And a drawing language conversion unit for converting the search condition diagram created by the drawing unit into a description in a drawing language, The drawing language analyzing means includes a drawing language analyzing means for analyzing a description showing the search condition diagram converted by the drawing language converting means, and a search condition expression generating means for creating the analysis conditional expression based on an analysis result by the drawing language analyzing means. It is configured.

【0007】また、他の態様では、前記作図言語解析手
段が、前記作図言語変換手段によって作成された検索条
件図を示す記述から、該検索条件図に描かれた一定の集
合を示す領域の表示属性と、検索キーを示す文字列の表
示属性と、検索対象の領域を特定する表示の表示属性と
を取得し、これらの表示属性を比較して、前記検索キー
と前記集合との関係、及び前記検索対象領域と前記集合
との関係を抽出する構成としている。
[0007] In another aspect, the drawing language analysis means displays a region showing a certain set drawn from the description showing the search condition diagram created by the drawing language conversion means. An attribute, a display attribute of a character string indicating a search key, and a display attribute of a display that identifies a search target area are acquired, these display attributes are compared, and the relationship between the search key and the set, and The relationship between the search target area and the set is extracted.

【0008】また、他の態様では、前記検索条件生成手
段が、前記作図言語解析手段によって抽出された検索キ
ーと集合との関係及び検索対象領域と集合との関係に基
づき、検索キーと該検索キーを結ぶ論理演算子とからな
る論理式を生成する構成としている。
[0008] In another aspect, the search condition generating means may search the search key based on the relationship between the search key and the set extracted by the drawing language analyzing means and the relationship between the search target area and the set. It is configured to generate a logical expression consisting of logical operators that connect keys.

【0009】上記の目的を達成する本発明の解析条件式
生成装置では、所定の入力装置から入力した作図データ
に基づき検索キー及び検索条件を示す検索条件図を作成
する作図手段と、前記作図手段が作成した前記検索条件
図を作図用言語による記述に変換する作図言語変換手段
と、前記作図言語変換手段によって変換された検索条件
図を示す記述を解析する作図言語解析手段と、前記作図
言語解析手段による解析結果に基づいて前記解析条件式
を作成する検索条件式生成手段とを備える構成としてい
る。
In the analysis conditional expression generating device of the present invention which achieves the above object, a drawing means for creating a search condition diagram showing a search key and a search condition based on drawing data inputted from a predetermined input device, and the drawing means. A drawing language conversion means for converting the search condition diagram created by the description into a description in a drawing language, a drawing language analysis means for analyzing the description showing the search condition diagram converted by the drawing language conversion means, and the drawing language analysis And a search condition expression generating means for creating the analysis condition expression based on the analysis result by the means.

【0010】また、他の態様では、前記作図言語解析手
段が、前記作図言語変換手段によって作成された検索条
件図を示す記述から、該検索条件図に描かれた一定の集
合を示す領域の表示属性と、検索キーを示す文字列の表
示属性と、検索対象の領域を特定する表示の表示属性と
を取得し、これらの表示属性を比較して、前記検索キー
と前記集合との関係、及び前記検索対象領域と前記集合
との関係を抽出する構成としている。
[0010] In another aspect, the drawing language analysis means displays a region indicating a certain set drawn on the search condition diagram from the description showing the search condition diagram created by the drawing language conversion means. An attribute, a display attribute of a character string indicating a search key, and a display attribute of a display that identifies a search target area are acquired, these display attributes are compared, and the relationship between the search key and the set, and The relationship between the search target area and the set is extracted.

【0011】また、他の態様では、前記検索条件生成手
段が、前記作図言語解析手段によって抽出された検索キ
ーと集合との関係及び検索対象領域と集合との関係に基
づき、検索キーと該検索キーを結ぶ論理演算子とからな
る論理式を生成する構成としている。
[0011] In another aspect, the search condition generation means may search the search key and the search key based on the relationship between the search key and the set extracted by the drawing language analysis means and the relationship between the search target area and the set. It is configured to generate a logical expression consisting of logical operators that connect keys.

【0012】[0012]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は、本発明の一実施例に係るデータ検
索システムの構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a data search system according to an embodiment of the present invention.

【0013】本実施例のデータ検索システムは、図示の
ように、検索キー及び検索条件を示す検索条件図を作成
するためのデータ(作図データ)を入力する入力装置1
0と、入力装置10から入力した作図データに基づき検
索条件図を作成すると共に作成した検索条件図に基づき
データベース40を検索するための検索条件式を作成す
る検索条件式生成装置20と、検索条件式生成装置20
が作成した検索条件式にしたがってデータベース40を
検索し検索結果を出力する情報検索装置30とを備え
る。
As shown in the figure, the data search system of this embodiment is an input device 1 for inputting data (drawing data) for creating a search condition diagram showing search keys and search conditions.
0, a search condition expression generation device 20 that creates a search condition diagram based on the drawing data input from the input device 10, and creates a search condition formula for searching the database 40 based on the created search condition diagram; Expression generator 20
The information retrieval device 30 that retrieves the database 40 according to the retrieval condition expression created by and outputs the retrieval result.

【0014】入力装置10は、作図データを入力するキ
ーボード及びマウスと、検索条件図を表示するための表
示装置とを備える。なお、入力装置10を構成するキー
ボード、マウス及び表示装置は、汎用的な機能を有する
一般的な装置を用いることができる。
The input device 10 includes a keyboard and a mouse for inputting drawing data, and a display device for displaying a search condition diagram. A general device having a general-purpose function can be used as the keyboard, the mouse, and the display device that form the input device 10.

【0015】検索条件式生成装置20は、入力装置10
から入力した作図データに基づき前記検索条件図を作成
する作図手段21と、作図手段21が作成した検索条件
図を作図用言語による記述に変換する作図言語変換手段
22と、作図言語変換手段22によって変換された検索
条件図を示す記述を解析する作図言語解析手段23と、
作図言語解析手段23による解析結果に基づいて前記解
析条件式を作成する検索条件式生成手段24とを備え
る。
The retrieval condition expression generating device 20 is composed of the input device 10.
The drawing means 21 for creating the search condition diagram based on the drawing data input from the drawing means, the drawing language converting means 22 for converting the search condition drawing created by the drawing means 21 into the description in the drawing language, and the drawing language converting means 22. A drawing language analyzing means 23 for analyzing the description showing the converted search condition diagram,
And a search condition expression generating means 24 for creating the analysis condition expression based on the analysis result by the drawing language analysis means 23.

【0016】作図手段21は、検索作業者が入力装置1
0のキーボード及びマウスを使用して入力する作図デー
タに基づいて検索条件図を作成し、入力装置10の表示
装置に表示する。検索作業者は、表示装置に表示された
図形を見て、必要ならば適宜修正を加えながら、要求す
る検索条件を示すように検索条件図を描く。ここで、検
索条件図は、一定の集合を示す円と、当該集合の要素を
特定する検索キーを示す文字列と、検索対象の領域を示
す表示である黒丸(●)とからなる。そして、文字列が
記述された円によって当該検索キーに合致するデータの
集合を表わし、黒丸(●)が表示された領域によって検
索条件に合致するデータの集合を表わす。
In the drawing means 21, the search operator inputs the input device 1
A search condition diagram is created based on the drawing data input using the keyboard and mouse of 0 and displayed on the display device of the input device 10. The search operator looks at the graphic displayed on the display device and draws a search condition diagram so as to show the required search conditions while making appropriate corrections if necessary. Here, the search condition diagram is composed of a circle indicating a certain set, a character string indicating a search key that identifies an element of the set, and a black circle (●) that is a display indicating a search target area. A circle in which a character string is described represents a set of data that matches the search key, and an area in which a black circle (●) is displayed represents a set of data that matches the search condition.

【0017】かかる検索条件図の態様を図4、図9、図
14に示す。これらの検索条件図のうち、図4は、検索
キー「A=1」と検索キー「B=2」との論理積、すな
わち『「A=1」かつ「B=2」の部分を検索する』こ
とを表わす。図9は、検索キー「A=1」と検索キー
「B=2」との論理和、すなわち『「A=1」または
「B=2」の部分を検索する』ことを表わす。図14
は、検索キー「A=1」の論理否定、すなわち『「A=
1」出ない部分を検索する』ことを表わす。なお、図示
しないが、単一の検索キーによって検索条件を特定する
こともできる。この場合、検索条件図は、検索キー(例
えば「A=1」)が記述された円の内側に黒丸(●)が
表示されることとなる。
Aspects of such a search condition diagram are shown in FIGS. 4, 9 and 14. Of these search condition diagrams, FIG. 4 searches for the logical product of the search key “A = 1” and the search key “B = 2”, that is, the part ““ A = 1 ”and“ B = 2 ”. It means that. FIG. 9 shows the logical sum of the search key "A = 1" and the search key "B = 2", that is, "search for the part" A = 1 "or" B = 2 "". 14
Is the logical negation of the search key "A = 1", that is, "" A =
1) "Search for the part that does not appear". Although not shown, the search condition can be specified by a single search key. In this case, in the search condition diagram, a black circle (●) is displayed inside the circle in which the search key (for example, “A = 1”) is described.

【0018】作図言語変換手段22は、作図手段21が
作成した検索条件図を作図用言語による記述に変換す
る。これによって、検索条件図の要素である円、文字列
及び黒丸(●)の位置及び大きさが所定の言語の表現形
式によって記述される。図5、図10、図15は、それ
ぞれ図4、図9、図14の検索条件図を作図よう言語に
よる記述に変換した記述例である。図において、CIR
CLE STROKEは、集合を示す円の言語表現によ
る記述である。また、MOVETOとSHOWの連続行
は、検索キーを示す文字列の言語表現による記述であ
る。また、CIRCLE BLACK FILLは、検
索対象領域を示す黒丸(●)の言語表現による記述であ
る。
The drawing language conversion means 22 converts the search condition diagram created by the drawing means 21 into a description in a drawing language. As a result, the positions and sizes of circles, character strings, and black circles (●), which are the elements of the search condition diagram, are described in the expression format of a predetermined language. 5, 10, and 15 are description examples in which the search condition diagrams of FIGS. 4, 9, and 14 are converted into descriptions in a language for drawing. In the figure, CIR
CLE STROKE is a description in a linguistic expression of a circle indicating a set. Further, the continuous line of MOVETO and SHOW is a description in a language expression of a character string indicating a search key. The CIRCLE BLACK FILL is a description in a language expression of a black circle (●) indicating a search target area.

【0019】作図言語解析手段23は、作図言語変換手
段22によって作成された検索条件図を示す言語表現に
よる記述を解析して、検索条件図に描かれた円の表示属
性と、検索キーを示す文字列の表示属性と、黒丸(●)
の表示属性とをそれぞれ取得する。そして、これらの表
示属性を比較して、検索キーと円との関係、及び検索対
象領域と円との関係を抽出する。
The drawing language analysis means 23 analyzes the description created by the drawing language conversion means 22 by the language expression showing the search condition diagram, and shows the display attribute of the circle drawn in the search condition diagram and the search key. Display attribute of character string and black circle (●)
Display attributes of and are acquired respectively. Then, these display attributes are compared to extract the relationship between the search key and the circle and the relationship between the search target area and the circle.

【0020】作図言語解析手段23の処理について、図
2のフローチャートを参照して更に詳細に説明する。作
図言語で表現された記述のうち円を描く記述にあたるC
IRCLE STROKEの行に基づいて円の中心座標
および半径の長さを取りだし、円の属性図を作る(ステ
ップ201)。
The processing of the drawing language analysis means 23 will be described in more detail with reference to the flowchart of FIG. C, which is the description that draws a circle among the descriptions expressed in the drawing language
Based on the line of IRCLE STROKE, the center coordinates of the circle and the length of the radius are taken out and an attribute diagram of the circle is created (step 201).

【0021】次に、文字列を表す記述にあたるMOVE
TOとSHOWの連続行に基づいて文字列の開始座標お
よび文字列の内容を取りだし文字列の属性図を作る(ス
テップ202)。
Next, MOVE, which is a description representing a character string
The start coordinates of the character string and the contents of the character string are taken out based on the continuous lines of TO and SHOW, and an attribute diagram of the character string is created (step 202).

【0022】さらに、黒丸(●)を示す記述にあたるC
IRCLE BLACK FILLの行より黒丸(●)
の中心座標および半径の長さを取りだし●の属性図を作
る(ステップ203)。
Further, C, which is a description indicating a black circle (●)
Black circle (●) from the line of IRCLE BLACK FILL
The center coordinate and the length of the radius are taken out and an attribute diagram of ● is created (step 203).

【0023】次に、上述のようにして作られた円の属性
図と文字列の属性図より各文字列がどの円に属するかを
求め、結果を文字列の属性図の「属する円のNo.」欄
に格納する(ステップ204)。これによって、文字列
がどの円内に表示されているかを特定することができ
る。
Next, from the attribute diagram of the circle and the attribute diagram of the character string created as described above, it is determined which circle each character string belongs to, and the result is the "No. of belonging circle" in the attribute diagram of the character string. . ”Column (step 204). This makes it possible to specify in which circle the character string is displayed.

【0024】ここで、文字列が所定の円に対して次の計
算式aを満足するとき、当該文字列は当該円に属するこ
ととなる。 計算式a: (文字列の開始座標のX座標−円の中心のX座標) +(文字列の開始座標のY座標−円の中心のY座標) <(円の半径長)
Here, when the character string satisfies the following calculation formula a for a predetermined circle, the character string belongs to the circle. Calculation formula a: (X coordinate of start coordinate of character string-X coordinate of center of circle) 2 + (Y coordinate of start coordinate of character string-Y coordinate of center of circle) 2 <(radius length of circle) 2

【0025】同様にして、円の属性図と黒丸(●)の属
性図より黒丸(●)がどの円に属するかを求め、結果を
黒丸(●)の属性図の「属する円のNo.」欄に格納す
る(ステップ205)。これによって、黒丸(●)がど
の円内に表示されているかを特定することができる。
Similarly, which circle the black circle (●) belongs to is determined from the attribute diagram of the circle and the attribute diagram of the black circle (●), and the result is “No. of belonging circle” in the attribute diagram of the black circle (●). Store in the column (step 205). This makes it possible to specify in which circle the black circle (●) is displayed.

【0026】ここで、黒丸(●)が所定の円に対して次
の計算式bを満足するとき、当該黒丸(●)は当該円に
属することとなる。 計算式b: (黒丸(●)の中心のX座標−円の中心のX座標) +(黒丸(●)の中心のY座標−円の中心のY座標) <(円の半径長)
Here, when the black circle () satisfies the following calculation formula b for a predetermined circle, the black circle () belongs to the circle. Formula b: (X coordinate of center of black circle (●) -X coordinate of center of circle) 2 + (Y coordinate of center of black circle (●) -Y coordinate of center of circle) 2 <(radius length of circle) Two

【0027】検索条件生成手段24は、作図言語解析手
段23の解析による解析データに基づき、所定の手順に
したがって情報検索装置30でデータベース40を検索
するための検索条件式を生成する。
The search condition generation means 24 generates a search condition expression for searching the database 40 by the information search device 30 according to a predetermined procedure based on the analysis data obtained by the analysis of the drawing language analysis means 23.

【0028】検索条件生成手段24の処理について、図
3のフローチャートを参照して更に詳細に説明する。ま
ず、黒丸(●)の属性図を参照して、「属する円のN
O.」欄の内容全体を、各黒丸(●)の「No.」ごと
に括弧でくくる(ステップ301)。この括弧内の数字
の有無及び個数に応じて、所定の手順にしたがって検索
条件式を作成する。
The processing of the search condition generating means 24 will be described in more detail with reference to the flowchart of FIG. First, refer to the attribute diagram of the black circle (●)
O. The entire contents of the "" column are enclosed in parentheses for each "No." of each black circle (●) (step 301). A search condition expression is created according to a predetermined procedure according to the presence / absence of the number in parentheses and the number thereof.

【0029】括弧内に数字が複数あるときは、検索条件
が複数の検索キーの論理積で構成されている。したがっ
て、括弧内の数字どうしを論理積を意味する演算子「A
ND」で結ぶ(ステップ302、ステップ303、ステ
ップ304)。ここで、数字を演算子で結ぶとは、数字
と数字の間に演算子を入れることをいう。
When there are a plurality of numbers in parentheses, the search condition is composed of the logical product of a plurality of search keys. Therefore, the operator "A" that means the logical product of the numbers in parentheses
ND ”(step 302, step 303, step 304). Here, connecting numbers with operators means putting operators between numbers.

【0030】一方、括弧内に数字が一つだけあるとき
は、検索条件が単一の検索キーで構成されている。した
がって、特に何等の処理も行なわない(ステップ30
2、ステップ303)。
On the other hand, when there is only one number in parentheses, the search condition is composed of a single search key. Therefore, no particular processing is performed (step 30).
2, step 303).

【0031】さらに、括弧内に数字が一つもないとき
は、検索条件が検索キーの論理否定で構成されている。
したがって、括弧内の先頭に否定を意味する演算子「N
OT」を付し(ステップ302、ステップ303、ステ
ップ305)、当該演算子の後ろに、文字列の属性図の
「属する円のNo.」欄の全ての数字を論理和を意味す
る演算子「OR」で結んで括弧でくくった論理式を置く
(ステップ306)。この際、文字列の属性図の「属す
る円のNo.」欄のが一つしかないときは、その数字の
みが演算子「NOT」の後ろに置かれる。
Further, when there is no number in parentheses, the search condition is composed of the logical negation of the search key.
Therefore, the operator "N
"OT" is added (step 302, step 303, step 305), and all the numbers in the "No. of belonging circle" column of the attribute diagram of the character string are followed by the operator " A logical expression that is connected by "OR" and enclosed in parentheses is placed (step 306). At this time, if there is only one in the “No. of belonging circle” column of the attribute diagram of the character string, only that number is placed after the operator “NOT”.

【0032】次に、このようにして括弧でくくられた論
理式が複数存在するとき、すなわち、黒丸(●)の属性
図が複数の「No.」について作成されているときは、
括弧でくくられた書く論理式を演算子「OR」で結ぶ
(ステップ307、ステップ308)。
Next, when there are a plurality of logical expressions enclosed in parentheses in this way, that is, when the attribute diagrams of black circles (●) are created for a plurality of “No.”,
The logical expressions written in parentheses are connected by the operator "OR" (steps 307 and 308).

【0033】次に、上述のようにしてできた論理式にあ
る数字を文字列の属性図にある「属する円のNo.」欄
の内容と照合し、論理式の数字を、「属する円のN
o.」が論理式の数字と一致した文字列の属性図の「文
字列」欄の内容に置き換える(ステップ309)。この
ようにして検索条件式が生成される。
Next, the numbers in the logical expression created as described above are collated with the contents of the "No. of belonging circle" column in the attribute diagram of the character string, and the numbers in the logical expression are changed to "of the belonging circle. N
o. Is replaced with the contents of the "character string" column of the attribute diagram of the character string in which the number matches the numeral of the logical expression (step 309). In this way, the search condition expression is generated.

【0034】情報検索装置30は、以上のようにして生
成された検索条件式を入力し、これにしたがってデータ
ベース40を検索する。そして、検索結果を出力して入
力装置10の表示装置等に表示する。なお、情報検索装
置30としては、従来から用いられている、キーボード
等から検索条件式を入力してデータベースを検索するも
のをそのまま用いることができる。なお、検索条件式生
成装置20と情報検索装置30とは、図1に示すよう
に、コンピュータ50に搭載することができる。
The information retrieval device 30 inputs the retrieval condition expression generated as described above and retrieves the database 40 according to the retrieval condition expression. Then, the search result is output and displayed on the display device or the like of the input device 10. As the information search device 30, a conventionally used device that inputs a search condition expression from a keyboard or the like to search the database can be used as it is. The search condition expression generation device 20 and the information search device 30 can be installed in the computer 50 as shown in FIG.

【0035】次に、検索条件図から検索条件式を生成す
る生成例を図4乃至図19を参照して説明する。まず、
検索条件が論理積の場合の検索条件式の生成例を図4乃
至図8を参照して説明する。
Next, an example of generating a search condition expression from a search condition diagram will be described with reference to FIGS. 4 to 19. First,
An example of generating a search condition expression when the search condition is a logical product will be described with reference to FIGS.

【0036】上述したように、図4は、検索キー「A=
1」と検索キー「B=2」との論理積で構成される検索
条件を表わし、図5は、図4の内容の作図言語による記
述を表わす。そして、図6は、作図言語解析手段23に
よって作成された円の属性図を、図7は文字列の属性図
を、図8は黒丸(●)の属性図を示す。
As described above, the search key "A =
1 "and a search key" B = 2 "are represented by a search condition, and FIG. 5 shows a description of the contents of FIG. 4 in a drawing language. 6 shows an attribute diagram of a circle created by the drawing language analysis means 23, FIG. 7 shows an attribute diagram of a character string, and FIG. 8 shows an attribute diagram of a black circle (●).

【0037】これらの属性図を参照して、上述した手順
にしたがって検索条件式を生成すると、 (A=1 AND B=2) という検索条件式が得られる。
When a search condition expression is generated in accordance with the above procedure with reference to these attribute diagrams, a search condition expression of (A = 1 AND B = 2) is obtained.

【0038】次に、検索条件が論理和の場合の検索条件
式の生成例を図9乃至図13を参照して説明する。上述
したように、図9は、検索キー「A=1」と検索キー
「B=2」との論理積で構成される検索条件を表わし、
図10は、図9の内容の作図言語による記述を表わす。
そして、図11は、作図言語解析手段23によって作成
された円の属性図を、図12は文字列の属性図を、図1
3は黒丸(●)の属性図を示す。
Next, an example of generating a search condition expression when the search condition is a logical sum will be described with reference to FIGS. 9 to 13. As described above, FIG. 9 shows the search condition composed of the logical product of the search key “A = 1” and the search key “B = 2”,
FIG. 10 shows a description of the contents of FIG. 9 in a drawing language.
11 is an attribute diagram of a circle created by the drawing language analysis unit 23, and FIG. 12 is an attribute diagram of a character string.
3 shows an attribute diagram of black circles (●).

【0039】これらの属性図を参照して、上述した手順
にしたがって検索条件式を生成すると、 (A=1) OR (B=2) という検索条件式が得られる。
When a search condition expression is generated in accordance with the procedure described above with reference to these attribute diagrams, a search condition expression of (A = 1) OR (B = 2) is obtained.

【0040】次に、検索条件が論理否定の場合の検索条
件式の生成例を図14乃至図18を参照して説明する。
上述したように、図14は、検索キー「A=1」と検索
キー「B=2」との論理積で構成される検索条件を表わ
し、図15は、図14の内容の作図言語による記述を表
わす。そして、図16は、作図言語解析手段23によっ
て作成された円の属性図を、図17は文字列の属性図
を、図18は黒丸(●)の属性図を示す。
Next, an example of generating a search condition expression when the search condition is logical negation will be described with reference to FIGS. 14 to 18.
As described above, FIG. 14 shows a search condition composed of a logical product of the search key “A = 1” and the search key “B = 2”, and FIG. 15 shows the content of FIG. 14 in the drawing language. Represents 16 shows an attribute diagram of a circle created by the drawing language analysis means 23, FIG. 17 shows an attribute diagram of a character string, and FIG. 18 shows an attribute diagram of a black circle (●).

【0041】これらの属性図を参照して、上述した手順
にしたがって検索条件式を生成すると、 (NOT (A=1)) という検索条件式が得られる。
When a search condition expression is generated in accordance with the procedure described above with reference to these attribute diagrams, a search condition expression (NOT (A = 1)) is obtained.

【0042】以上好ましい実施例をあげて本発明を説明
したが、本発明は必ずしも上記実施例に限定されるもの
ではない。例えば、入力装置として、キーボード及びマ
ウスのほかにスキャナ等を用いても良い。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments. For example, a scanner or the like may be used as the input device in addition to the keyboard and the mouse.

【0043】また、検索条件図の要素についても、集合
を円で表わす以外に四辺形等の図形で表わしても良い
し、検索対象領域を黒丸(●)で表示する以外に検索対
象領域全体に斜線等を付しても良い。
As for the elements of the search condition diagram, the set may be represented by a figure such as a quadrangle instead of being represented by a circle, and the search target area may be displayed by a black circle (●) over the entire search target area. You may add diagonal lines.

【0044】さらに、作図言語解析手段23や検索条件
生成手段24の処理手順についても上記実施例に限定さ
れるものではない。
Furthermore, the processing procedures of the drawing language analysis means 23 and the search condition generation means 24 are not limited to those in the above embodiment.

【0045】[0045]

【発明の効果】以上説明したように、本発明は、データ
ベースの検索条件を条件式や表形式による表現でなく図
を用いて表現することとしたので、検索条件の内容を視
覚的に確認でき、検索条件が複雑な場合でも認識が用意
であるという効果を有する。
As described above, according to the present invention, the search conditions of the database are expressed not by the conditional expression or the table format but by the diagram, so that the contents of the search conditions can be visually confirmed. The advantage is that recognition is easy even when the search condition is complicated.

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

【図1】 本発明の一実施例に係るデータ検索システム
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a data search system according to an embodiment of the present invention.

【図2】 図1の作図言語解析手段の動作を示すフロー
チャートである。
FIG. 2 is a flowchart showing the operation of the drawing language analysis means of FIG.

【図3】 図1の検索条件生成手段の動作を示すフロー
チャートである。
FIG. 3 is a flowchart showing the operation of the search condition generating means of FIG.

【図4】 検索条件図の例を示す図である。FIG. 4 is a diagram showing an example of a search condition diagram.

【図5】 図4の検索条件図を作図言語によって表現し
た図である。
5 is a diagram expressing the search condition diagram of FIG. 4 in a drawing language.

【図6】 作図言語解析手段が作成した円の属性図であ
る。
FIG. 6 is an attribute diagram of a circle created by a drawing language analysis unit.

【図7】 作図言語解析手段が作成した文字列の属性図
である。
FIG. 7 is an attribute diagram of a character string created by the drawing language analysis means.

【図8】 作図言語解析手段が作成した黒丸(●)の属
性図である。
FIG. 8 is an attribute diagram of black circles (●) created by the drawing language analysis means.

【図9】 検索条件図の例を示す図である。FIG. 9 is a diagram showing an example of a search condition diagram.

【図10】 図4の検索条件図を作図言語によって表現
した図である。
FIG. 10 is a diagram expressing the search condition diagram of FIG. 4 in a drawing language.

【図11】 作図言語解析手段が作成した円の属性図で
ある。
FIG. 11 is an attribute diagram of a circle created by the drawing language analysis means.

【図12】 作図言語解析手段が作成した文字列の属性
図である。
FIG. 12 is an attribute diagram of a character string created by the drawing language analysis unit.

【図13】 作図言語解析手段が作成した黒丸(●)の
属性図である。
FIG. 13 is an attribute diagram of black circles (●) created by the drawing language analysis means.

【図14】 検索条件図の例を示す図である。FIG. 14 is a diagram showing an example of a search condition diagram.

【図15】 図4の検索条件図を作図言語によって表現
した図である。
FIG. 15 is a diagram expressing the search condition diagram of FIG. 4 in a drawing language.

【図16】 作図言語解析手段が作成した円の属性図で
ある。
FIG. 16 is an attribute diagram of a circle created by the drawing language analysis means.

【図17】 作図言語解析手段が作成した文字列の属性
図である。
FIG. 17 is an attribute diagram of a character string created by the drawing language analysis unit.

【図18】 作図言語解析手段が作成した黒丸(●)の
属性図である。
FIG. 18 is an attribute diagram of black circles (●) created by the drawing language analysis means.

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

10 入力装置 20 検索情報生成装置 21 作図手段 22 作図言語変換手段 23 作図言語解析手段 24 検索情報生成手段 30 情報検索装置 40 データベース DESCRIPTION OF SYMBOLS 10 Input device 20 Search information generation device 21 Drawing means 22 Drawing language conversion means 23 Drawing language analysis means 24 Search information generation means 30 Information retrieval device 40 Database

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 検索キー及び検索条件を示す検索条件図
を作成するためのデータを入力する入力装置と、該入力
装置から入力したデータに基づき前記検索条件図を作成
すると共に作成した検索条件図に基づきデータベースを
検索するための検索条件式を作成する検索条件式生成装
置と、該検索条件式生成装置が作成した検索条件式にし
たがってデータベースを検索し検索結果を出力する情報
検索装置とを備え、 前記検索条件式生成装置が、 前記入力装置から入力したデータに基づき前記検索条件
図を作成する作図手段と、 前記作図手段が作成した前記検索条件図を作図用言語に
よる記述に変換する作図言語変換手段と、 前記作図言語変換手段によって変換された検索条件図を
示す記述を解析する作図言語解析手段と、 前記作図言語解析手段による解析結果に基づいて前記解
析条件式を作成する検索条件式生成手段とを備えること
を特徴とするデータベースのデータ検索システム。
1. An input device for inputting data for creating a search condition diagram showing a search key and a search condition, and a search condition diagram created at the same time as creating the search condition diagram based on the data input from the input device. A search condition expression generating device that creates a search condition expression for searching the database based on the search condition expression; and an information search device that searches the database according to the search condition expression created by the search condition expression generating device and outputs a search result. A drawing means for the search condition expression generating device to create the search condition map based on data input from the input device; and a drawing language for converting the search condition map created by the drawing device into a description in a drawing language. Converting means, drawing language analyzing means for analyzing the description showing the search condition diagram converted by the drawing language converting means, and the drawing language analyzing means Database data retrieval system characterized in that it comprises a retrieval condition expression generating means for producing an analysis result to the analysis condition on the basis by.
【請求項2】 前記作図言語解析手段が、 前記作図言語変換手段によって作成された検索条件図を
示す記述から、該検索条件図に描かれた一定の集合を示
す領域の表示属性と、検索キーを示す文字列の表示属性
と、検索対象の領域を特定する表示の表示属性とを取得
し、 これらの表示属性を比較して、前記検索キーと前記集合
との関係及び前記検索対象領域と前記集合との関係を抽
出することを特徴とする請求項1に記載のデータベース
のデータ検索システム。
2. The drawing language analysis means, from the description showing the search condition diagram created by the drawing language conversion means, the display attribute of the area showing a certain set drawn in the search condition diagram, and the search key. The display attribute of the character string indicating the display attribute and the display attribute of the display that identifies the search target area are acquired, and these display attributes are compared to determine the relationship between the search key and the set, the search target area, and the search target area. The data retrieval system for a database according to claim 1, wherein a relation with a set is extracted.
【請求項3】 前記検索条件生成手段が、 前記作図言語解析手段によって抽出された検索キーと集
合との関係及び検索対象領域と集合との関係に基づき、
検索キーと該検索キーを結ぶ論理演算子とからなる論理
式を生成することを特徴とする請求項2に記載のデータ
ベースのデータ検索システム。
3. The search condition generation means, based on the relationship between the search key and the set extracted by the drawing language analysis means and the relationship between the search target area and the set,
3. The database data search system according to claim 2, wherein a logical expression composed of a search key and a logical operator connecting the search keys is generated.
【請求項4】 所定の入力装置から入力したデータに基
づき検索キー及び検索条件を示す検索条件図を作成する
作図手段と、 前記作図手段が作成した前記検索条件図を作図用言語に
よる記述に変換する作図言語変換手段と、 前記作図言語変換手段によって変換された検索条件図を
示す記述を解析する作図言語解析手段と、 前記作図言語解析手段による解析結果に基づいて前記解
析条件式を作成する検索条件式生成手段とを備えること
を特徴とするデータベースの検索条件式生成装置。
4. A drawing means for creating a search condition diagram showing a search key and a search condition based on data inputted from a predetermined input device, and converting the search condition diagram created by the drawing means into a description in a drawing language. A drawing language converting means, a drawing language analyzing means for analyzing the description showing the search condition diagram converted by the drawing language converting means, and a search for creating the analysis conditional expression based on the analysis result by the drawing language analyzing means. A conditional expression generation device for a database, comprising: conditional expression generation means.
【請求項5】 前記作図言語解析手段が、 前記作図言語変換手段によって作成された検索条件図を
示す記述から、該検索条件図に描かれた一定の集合を示
す領域の表示属性と、検索キーを示す文字列の表示属性
と、検索対象の領域を特定する表示の表示属性とを取得
し、 これらの表示属性を比較して、前記検索キーと前記集合
との関係及び前記検索対象領域と前記集合との関係を抽
出することを特徴とする請求項1に記載のデータベース
の検索条件式生成装置。
5. The drawing language analysis unit, from the description showing the search condition diagram created by the drawing language conversion unit, the display attribute of the area showing a certain set drawn in the search condition diagram, and the search key. The display attribute of the character string indicating the display attribute and the display attribute of the display that identifies the search target area are acquired, and these display attributes are compared to determine the relationship between the search key and the set, the search target area, and the search target area. The database retrieval condition expression generating device according to claim 1, wherein a relation with a set is extracted.
【請求項6】 前記検索条件生成手段が、 前記作図言語解析手段によって抽出された検索キーと集
合との関係及び検索対象領域と集合との関係に基づき、
検索キーと該検索キーを結ぶ論理演算子とからなる論理
式を生成することを特徴とする請求項2に記載のデータ
ベースの検索条件式生成装置。
6. The search condition generating means, based on the relationship between the search key and the set extracted by the drawing language analyzing means and the relationship between the search target area and the set,
3. The search condition expression generation device for a database according to claim 2, wherein a logical expression including a search key and a logical operator connecting the search keys is generated.
JP5352312A 1993-12-31 1993-12-31 Data retrieval system and retrieval conditional expression generator for data base Pending JPH07200633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5352312A JPH07200633A (en) 1993-12-31 1993-12-31 Data retrieval system and retrieval conditional expression generator for data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5352312A JPH07200633A (en) 1993-12-31 1993-12-31 Data retrieval system and retrieval conditional expression generator for data base

Publications (1)

Publication Number Publication Date
JPH07200633A true JPH07200633A (en) 1995-08-04

Family

ID=18423202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5352312A Pending JPH07200633A (en) 1993-12-31 1993-12-31 Data retrieval system and retrieval conditional expression generator for data base

Country Status (1)

Country Link
JP (1) JPH07200633A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013114312A (en) * 2011-11-25 2013-06-10 Canon Marketing Japan Inc Retrieval system, control method for retrieval system, and program thereof
JP2013114310A (en) * 2011-11-25 2013-06-10 Canon Marketing Japan Inc Retrieval system, control method for retrieval system and program thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0264868A (en) * 1988-08-31 1990-03-05 Canon Inc information retrieval device
JPH0462667A (en) * 1990-06-30 1992-02-27 Nippon Telegr & Teleph Corp <Ntt> Method for retrieving data base

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0264868A (en) * 1988-08-31 1990-03-05 Canon Inc information retrieval device
JPH0462667A (en) * 1990-06-30 1992-02-27 Nippon Telegr & Teleph Corp <Ntt> Method for retrieving data base

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013114312A (en) * 2011-11-25 2013-06-10 Canon Marketing Japan Inc Retrieval system, control method for retrieval system, and program thereof
JP2013114310A (en) * 2011-11-25 2013-06-10 Canon Marketing Japan Inc Retrieval system, control method for retrieval system and program thereof

Similar Documents

Publication Publication Date Title
JPH11161681A (en) Device and method for displaying retrieval result, and computer-readable recording medium where series of instructions are recorded to output retrieval result
JPS61255469A (en) Language generating device
JPH03260768A (en) Key word emphasis display device
JPH07200633A (en) Data retrieval system and retrieval conditional expression generator for data base
JPH09185632A (en) Information retrieval / editing method and device
JPS60247770A (en) Character processor
US5224041A (en) Electronic dictionary for outputting words in the opposite order in which they are searched
JP2003150639A (en) Media search device and storage medium
JPS6224359A (en) Japanese word processor
JP3164086B2 (en) Handwritten character font creation method and handwritten character information processing apparatus using the same
JPH0877152A (en) Voice synthesizer
JP3086464B2 (en) Kana-Kanji conversion device
JPH07107711B2 (en) Document image processing device
JP2817497B2 (en) Dictionary editing device
JP3552750B2 (en) Document processing device
JPH04130571A (en) Numerical calculation method
JPH06103023A (en) Japanese code conversion processing system
JPH0731315Y2 (en) Electronics
JPH07287633A (en) Document creating apparatus and graphic creating method thereof
JPS63170735A (en) Program generating system
JPS60231264A (en) Translation word formation device
JPH06119183A (en) Language translation device
JPH05307644A (en) Character recognizing device
JP2001076023A (en) Language conversion device, method, and storage medium
JPH0431958A (en) document processing device