JPH09120402A - Method and device for information retrieval - Google Patents

Method and device for information retrieval

Info

Publication number
JPH09120402A
JPH09120402A JP7275590A JP27559095A JPH09120402A JP H09120402 A JPH09120402 A JP H09120402A JP 7275590 A JP7275590 A JP 7275590A JP 27559095 A JP27559095 A JP 27559095A JP H09120402 A JPH09120402 A JP H09120402A
Authority
JP
Japan
Prior art keywords
record
information
keyword
unit
keywords
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7275590A
Other languages
Japanese (ja)
Other versions
JP3766126B2 (en
Inventor
Masatoshi Shiouchi
正利 塩内
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27559095A priority Critical patent/JP3766126B2/en
Publication of JPH09120402A publication Critical patent/JPH09120402A/en
Application granted granted Critical
Publication of JP3766126B2 publication Critical patent/JP3766126B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To retrieve information in a short time according to a retrieval expression corresponding to conditions that are easy for a user to intuitively grasp. SOLUTION: By the information retrieval means for retrieving a record registered in a data base corresponding to at least one key word, it is decided whether or not each record registered in the data base corresponds to at least a specific number of key words in a key word group according to a specific logical operator, the specific key word group consisting of plural key words, and a specific number which is larger than 1. When an affirmative decision is made, the logical operation result corresponding to the specific logical operator as to the corresponding recorder is made true and when an inaffirmative decision is made, the logical arithmetic result corresponding to the specific logical operator as to the specific logical record is made false; when decisions on all the records are made, records whose logical operation results are true are extracted from the data base and outputted as retrieval results.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、キーワードに対応
して登録された情報をデータベースから検索する情報検
索方法及び情報検索装置に関するものである。例えば、
文書ファイリングシステムなどにおいては、それぞれの
文書情報は、その内容を表す複数のキーワードに対応し
て登録されており、利用者が、キーワードを指定するこ
とにより、必要な文書情報を検索できるようになってい
る。近年では、膨大な技術文献や資料が文書ファイリン
グシステムに登録され、文書情報のデータベース化が進
んでいる。これに伴って、様々な利用者が、文書ファイ
リングシステムを利用するようになっており、必要な文
書情報を直感的に検索可能な情報検索装置が必要とされ
ている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information search method and an information search apparatus for searching a database for information registered in correspondence with a keyword. For example,
In a document filing system or the like, each document information is registered corresponding to a plurality of keywords representing the contents, and the user can search for the required document information by specifying the keyword. ing. In recent years, enormous technical documents and materials have been registered in the document filing system, and the database of document information has been developed. Along with this, various users have come to use the document filing system, and an information retrieval device capable of intuitively retrieving necessary document information is required.

【0002】[0002]

【従来の技術】図9に、従来の情報検索装置を適用した
文書ファイリングシステムの構成例を示す。図9におい
て、検索制御部410は、利用者がキーボード401を
介して入力した指示に基づいてデータベース管理部42
0による検索動作を制御し、文書情報データベース43
0から該当する文書情報を検索し、表示処理部402お
よびディスプレイ装置403を介して出力して、利用者
に提供している。
2. Description of the Related Art FIG. 9 shows a configuration example of a document filing system to which a conventional information retrieval apparatus is applied. In FIG. 9, the search control unit 410 uses the database management unit 42 based on an instruction input by the user via the keyboard 401.
The search operation by 0 is controlled, and the document information database 43
The corresponding document information is searched from 0, output through the display processing unit 402 and the display device 403, and provided to the user.

【0003】ここで、上述したように、各レコードは、
複数のキーワードに対応して登録されており、また、各
キーワードには、膨大な数のレコードが対応している。
したがって、複数のキーワードといくつかの論理演算子
とを組み合わせた検索式によって、各キーワードに対応
するレコードの集合相互の関係を表し、この検索式に基
づいて検索処理を行うことにより、必要な文書情報の絞
り込みが行われている。このとき、論理演算子として
は、論理和演算子や論理積演算子などのブール演算子を
利用するのが一般的である。
Here, as described above, each record is
It is registered corresponding to a plurality of keywords, and each keyword corresponds to a huge number of records.
Therefore, by using a search expression that combines a plurality of keywords and some logical operators, the relationship between the sets of records corresponding to each keyword is expressed, and by performing search processing based on this search expression, the required document Information is being narrowed down. At this time, it is general to use a Boolean operator such as a logical sum operator or a logical product operator as the logical operator.

【0004】キーワードとレコードとの対応関係は、図
9に示したデータベース管理部420によって提供され
るキーワード・レコード対応表421によって示されて
おり、このキーワード・レコード対応表421は、図1
0に示すように、各レコードについて、各キーワードを
含んでいるか否かを示す情報(図10においては符号○
および符号×によって示す)を格納している。
The correspondence between keywords and records is shown in a keyword / record correspondence table 421 provided by the database management unit 420 shown in FIG. 9, and this keyword / record correspondence table 421 is shown in FIG.
As shown in 0, information indicating whether or not each record includes each keyword (in FIG. 10, a symbol ◯).
And the symbol x) are stored.

【0005】また、図9に示した検索制御部410は、
解釈処理部411により、入力された検索式を解釈し、
この解釈結果に基づいて、抽出処理部412および論理
演算部413がそれぞれ動作してレコードの絞り込みを
行う構成となっている。また、この絞り込み結果は、検
索依頼部422を介して、データベース管理部420の
処理に供されている。
The search control unit 410 shown in FIG.
The interpretation processing unit 411 interprets the input search expression,
Based on this interpretation result, the extraction processing unit 412 and the logical operation unit 413 operate to narrow down the records. Further, the result of this narrowing down is provided to the processing of the database management unit 420 via the search request unit 422.

【0006】ここで、抽出処理部412は、解釈処理部
411からの指示に応じてキーワード・レコード対応表
421を参照し、検索式で指定されたキーワードの有無
に応じて、該当するレコードに関するレコード情報の集
合をそれぞれ抽出すればよい。また、論理演算部413
は、これらのレコード情報の集合を受け取って、検索式
によって表された論理演算に対応する演算を行い、この
演算結果を検索依頼部414に送出すればよい。
Here, the extraction processing unit 412 refers to the keyword / record correspondence table 421 according to the instruction from the interpretation processing unit 411, and depending on the presence / absence of the keyword specified in the search expression, records related to the corresponding record. Each set of information may be extracted. Also, the logical operation unit 413
May receive the set of these record information, perform an operation corresponding to the logical operation represented by the search expression, and send the operation result to the search request unit 414.

【0007】このようにして、従来の情報検索装置を適
用した文書ファイリングシステムにおいては、利用者が
入力した検索式を満足するレコードの集合が求められて
いる。
As described above, in the document filing system to which the conventional information retrieval apparatus is applied, a set of records satisfying the retrieval formula input by the user is required.

【0008】[0008]

【発明が解決しようとする課題】上述したように、従来
の情報検索装置においては、論理的な演算に展開しやす
いという理由から、検索式を構成する演算子として、ブ
ール演算子を採用している。
As described above, in the conventional information retrieval apparatus, a Boolean operator is adopted as an operator forming a retrieval expression because it is easy to develop into a logical operation. There is.

【0009】しかしながら、ブール演算子は、あくまで
も、集合相互の関係を正確に表すためのものであるか
ら、人間が文書情報を検索する場合の曖昧な条件を直感
的に表すことは難しい。例えば、複数のキーワード
(a,b,c,d,e)の中の3つを含む文書情報を検
索したい場合に、この条件をブール演算子(論理積演算
子ANDおよび論理和演算子OR)を用いて表そうとす
ると、検索式は、図11に示すように非常に複雑になっ
てしまう。
However, since the Boolean operator is only for accurately expressing the relationship between sets, it is difficult to intuitively express an ambiguous condition when a person searches for document information. For example, when it is desired to search for document information including three of a plurality of keywords (a, b, c, d, e), this condition is set as a Boolean operator (logical product operator AND and logical sum operator OR). If it is attempted to represent by using, the search formula becomes very complicated as shown in FIG.

【0010】このように、従来の情報検索装置を利用す
るためには、利用者が、データベースの構造やブール演
算を含む検索手法を熟知している必要があり、利用者の
負担が非常に大きかった。このため、知識や経験に乏し
い利用者が、必要な文書情報を検索することは非常に困
難であり、多くの利用者は、文書ファイリングシステム
のようなデータベース化された情報資源を有効に利用す
ることができなかった。。
As described above, in order to use the conventional information retrieval apparatus, it is necessary for the user to be familiar with the structure of the database and the retrieval method including the Boolean operation, which imposes a great burden on the user. It was For this reason, it is very difficult for a user who has little knowledge or experience to retrieve the necessary document information, and many users effectively use the information resources in a database such as a document filing system. I couldn't. .

【0011】また、従来の情報検索装置においては、検
索式を順次に辿って検索処理が行われるから、図11示
したような複雑な検索式が入力された場合には、検索時
間が非常に長くなってしまう。本発明は、利用者が直感
的に把握しやすい条件に対応する検索式に応じて情報を
検索するとともに、検索時間を短縮することが可能な情
報検索方法及び情報検索装置を提供することを目的とす
る。
Further, in the conventional information retrieval apparatus, the retrieval process is performed by sequentially retrieving the retrieval formulas. Therefore, when a complicated retrieval formula as shown in FIG. It will be long. It is an object of the present invention to provide an information search method and an information search device that can search information according to a search formula corresponding to a condition that a user can intuitively understand and can reduce the search time. And

【0012】[0012]

【課題を解決するための手段】図1は、請求項1の発明
の原理を示す図である。請求項1の発明は、少なくとも
1つのキーワードに対応してデータベースに登録された
レコードを検索するための情報検索方法において、所定
の論理演算子と複数のキーワードからなる指定キーワー
ド群と1より大きい自然数である指定数とを含んだ検索
式の入力に応じて、データベースに登録された各レコー
ドについて、キーワード群の中の少なくとも指定数のキ
ーワードに対応するか否かを判定し、肯定判定の場合
は、該当するレコードについての所定の論理演算子に対
応する論理演算結果を真とし、否定判定の場合は、該当
するレコードについての所定の論理演算子に対応する論
理演算結果を偽とし、全てのレコードについての判定が
終了したときに、論理演算結果として真が得られたレコ
ードをデータベースから抽出して、検索結果として出力
することを特徴とする。
FIG. 1 is a diagram showing the principle of the invention of claim 1. In FIG. The invention of claim 1 is an information retrieval method for retrieving a record registered in a database corresponding to at least one keyword, a designated keyword group including a predetermined logical operator and a plurality of keywords, and a natural number greater than 1. In response to the input of the search expression including the specified number of, it is determined whether or not each record registered in the database corresponds to at least the specified number of keywords in the keyword group. , The logical operation result corresponding to the predetermined logical operator for the corresponding record is set to true, and in the case of a negative determination, the logical operation result corresponding to the predetermined logical operator for the corresponding record is set to false, and all the records are set. When the judgment about is completed, the record for which the truth is obtained as the logical operation result is extracted from the database, and the search result Characterized by and output.

【0013】請求項1の発明は、キーワード群に含まれ
る指定数以上のキーワードを含むレコードについて、論
理演算結果が真となる新規の論理演算子を含む検索式に
よる検索方法である。この新規の論理演算子を用いるこ
とにより、直感的に把握しやすい条件を示す検索式を容
易に作成することが可能となる。図2は、請求項2また
は請求項3の情報検索装置の原理ブロック図である。
The invention according to claim 1 is a search method using a search expression including a novel logical operator whose logical operation result is true, for a record containing a specified number or more of keywords included in a keyword group. By using this new logical operator, it becomes possible to easily create a search formula that shows conditions that are intuitively easy to grasp. FIG. 2 is a block diagram showing the principle of the information retrieval device according to claim 2 or 3.

【0014】請求項2の発明は、少なくとも1つのキー
ワードに対応してデータベース101に登録されたレコ
ードを検索する情報検索装置において、所定の論理演算
子と複数のキーワードからなる指定キーワード群と1よ
り大きい自然数である指定数とを含んだ検索式の入力に
応じて、キーワード群の中の少なくとも指定数のキーワ
ードに対応するレコードについて、所定の論理演算子に
対応する論理演算結果を真とする論理演算手段111
と、論理演算手段111による論理演算結果として真が
得られたレコードをデータベース101から抽出する抽
出手段112とを備えたことを特徴とする。
According to a second aspect of the present invention, in an information retrieval apparatus for retrieving a record registered in the database 101 corresponding to at least one keyword, a specified keyword group consisting of a predetermined logical operator and a plurality of keywords According to the input of a search expression including a specified number which is a large natural number, a logic that makes a logical operation result corresponding to a predetermined logical operator true for a record corresponding to at least the specified number of keywords in the keyword group. Computing means 111
And extraction means 112 for extracting from the database 101 the record for which the truth is obtained as the result of the logic operation by the logic operation means 111.

【0015】請求項2の発明は、上述した新規の論理演
算子に対応する論理演算手段111による演算結果に応
じて、抽出手段112が動作することにより、直感的に
把握しやすい条件を示す検索式の入力に応じて、条件を
満たすレコードをデータベース101から抽出すること
ができる。請求項3の発明は、請求項2に記載の情報検
索装置において、論理演算手段111は、ブール演算子
を用いて表された検索式に基づいて、データベース10
1に登録された各レコードについての論理演算を行うブ
ール演算手段113と、所定の論理演算子を含んだ検索
式の入力に応じて、検索式に相当する機能を実現するブ
ール演算子のみからなる検索式に変換して、ブール演算
手段113の処理に供する変換手段114とを備えた構
成であることを特徴とする。
According to a second aspect of the present invention, the extraction means 112 operates according to the calculation result by the logical operation means 111 corresponding to the above-mentioned new logical operator, so that a search indicating a condition that can be intuitively grasped is obtained. Records satisfying the conditions can be extracted from the database 101 according to the input of the formula. According to a third aspect of the invention, in the information retrieving apparatus according to the second aspect, the logical operation means 111 is based on a retrieval formula expressed by using a Boolean operator, and the database 10
It is composed only of a Boolean operation means 113 for performing a logical operation for each record registered in 1, and a Boolean operator for realizing a function corresponding to the search expression in response to the input of the search expression including a predetermined logical operator. It is characterized in that it is provided with a conversion means 114 which is converted into a search expression and provided to the processing of the Boolean operation means 113.

【0016】請求項3の発明は、変換手段114によ
り、上述した新規の論理演算子を用いた検索式をブール
演算子を用いた検索式に変換するので、従来の情報検索
装置に備えられたブール演算手段113を用いて、論理
演算手段111の機能を実現することができる。図3
は、請求項4乃至請求項6の情報検索装置の原理ブロッ
ク図である。
According to the third aspect of the invention, the conversion means 114 converts the above-mentioned search expression using the logical operator into a search expression using the Boolean operator, so that it is provided in the conventional information search apparatus. The function of the logical operation means 111 can be realized by using the Boolean operation means 113. FIG.
FIG. 7 is a block diagram of the principle of the information retrieval device according to claims 4 to 6.

【0017】請求項4の発明は、請求項2に記載の情報
検索装置において、論理演算手段111は、データベー
ス101に登録された各レコードとキーワードとの対応
関係を示す対応情報を格納する対応情報格納手段121
と、対応情報に基づいて、各レコードに対応するキーワ
ードと指定キーワード群とを照合し、合致するキーワー
ドの数をそれぞれ計数する照合手段122と、各レコー
ドについて得られた合致するキーワードの数と指定数と
の比較結果に応じて論理演算結果を決定し、抽出手段1
12の処理に供する演算結果決定手段123とを備えた
構成であることを特徴とする。
According to a fourth aspect of the invention, in the information retrieving apparatus according to the second aspect, the logical operation means 111 stores correspondence information indicating correspondence between each record registered in the database 101 and a keyword. Storage means 121
And a matching means 122 for matching the keyword corresponding to each record with a designated keyword group based on the correspondence information and counting the number of matching keywords, respectively, and the number of matching keywords obtained for each record and designating The logical operation result is determined according to the comparison result with the number, and the extraction means 1
It is characterized in that it is provided with a calculation result determining means 123 to be used for the processing of 12.

【0018】請求項4の発明は、照合手段122によ
り、対応情報格納手段121と指定キーワード群とを照
合し、この照合結果に基づいて、演算結果決定手段12
3が動作することにより、論理演算手段111の機能を
実現し、条件を満たすレコードについての演算結果とし
て真を出力して、抽出手段112の処理に供することが
できる。
According to a fourth aspect of the present invention, the collation means 122 collates the correspondence information storage means 121 with the designated keyword group, and based on the collation result, the operation result determination means 12
3 operates, the function of the logical operation unit 111 can be realized, true can be output as the operation result for the record satisfying the condition, and the result can be provided to the process of the extraction unit 112.

【0019】請求項5の発明は、請求項4に記載の情報
検索装置において、照合手段122は、指定キーワード
群に含まれるキーワードに順次に注目キーワードとして
選択する選択手段131と、対象レコードとして指定さ
れた全てのレコードについて対応情報格納手段121を
参照して、注目キーワードを含む候補レコードを検出す
る検出手段132と、検出手段132で検出された各候
補レコードについて、それまでに含んでいるとされた注
目キーワードの数を判定条件として集計する集計手段1
33とを備えた構成であり、演算結果決定手段123
は、各候補レコードについての判定条件と指定数との比
較結果に応じて、最低限の条件を満たした候補レコード
を判別し、該当する候補レコードについての論理演算結
果として真を出力して、抽出手段112の処理に供する
判別手段134と、判別手段134によって判別された
候補レコードを対象レコードから削除して、検出手段1
32に指定する削除手段135とを備えた構成であるこ
とを特徴とする。
According to a fifth aspect of the invention, in the information retrieving apparatus according to the fourth aspect, the collating means 122 designates as a target record a selecting means 131 for sequentially selecting keywords included in a designated keyword group as target keywords. The correspondence information storage unit 121 is referred to for all the selected records, and the detection unit 132 that detects the candidate record including the keyword of interest and each candidate record detected by the detection unit 132 are included up to that point. Aggregation means 1 that aggregates the number of noted keywords as a determination condition
And a calculation result determining means 123.
Determines the candidate record that satisfies the minimum condition according to the comparison result of the judgment condition and the specified number for each candidate record, outputs true as the logical operation result for the corresponding candidate record, and extracts it. The determination unit 134 provided for the processing of the unit 112 and the candidate record determined by the determination unit 134 are deleted from the target record, and the detection unit 1
It is characterized in that it is provided with a deleting means 135 designated to 32.

【0020】請求項5の発明は、選択手段131で選択
された注目キーワードについて、検出手段132が対応
情報格納手段121を参照し、対象レコードの中から候
補レコードを検出し、これらの候補レコードの入力に応
じて集計手段133が動作することにより、判別手段1
34により、各注目キーワードについての処理が終了し
た段階で、各候補レコードが検索式で示された条件を満
たしているか否かを判別することが可能である。
According to the fifth aspect of the present invention, the detection unit 132 refers to the correspondence information storage unit 121 for the target keyword selected by the selection unit 131, detects a candidate record from the target record, and detects the candidate record. The determination means 1 is operated by the operation of the counting means 133 according to the input.
According to 34, it is possible to determine whether or not each candidate record satisfies the condition indicated by the search formula at the stage when the processing for each target keyword is completed.

【0021】したがって、判別手段134による判別結
果に応じて、削除手段135が動作することにより、既
に条件を満たした候補レコードを対象レコードから外し
て対象レコード数を削減し、検索時間の短縮を図ること
ができる。請求項6の発明は、請求項5に記載の情報検
索装置において、選択手段131は、データベース10
1において各キーワードが出現する頻度を示す頻度情報
を格納する頻度情報格納手段136と、指定キーワード
群の入力に応じて頻度情報格納手段136を参照し、各
キーワードの出現頻度順に、注目キーワードを選択する
順序を決定する順序決定手段とを備えた構成であること
を特徴とする。
Therefore, the deleting means 135 operates according to the discrimination result by the discriminating means 134, thereby removing the candidate records which have already satisfied the conditions from the target records to reduce the number of target records and to shorten the search time. be able to. According to a sixth aspect of the present invention, in the information search device according to the fifth aspect, the selecting unit 131 is a database
1, the frequency information storage means 136 for storing frequency information indicating the frequency of appearance of each keyword, and the frequency information storage means 136 in response to the input of the designated keyword group are selected, and the attention keyword is selected in the order of appearance frequency of each keyword. And a sequence determining means for determining the sequence to be performed.

【0022】請求項6の発明は、頻度情報格納手段13
6に格納された頻度情報に基づいて、順序決定手段13
7とが動作することにより、データベース101におけ
るキーワードの出現頻度を考慮して照合する順序を決定
することができるので、より多くの候補レコードを早期
に対象レコードからはずすことが可能となり、検索時間
を更に短縮することができる。
According to the invention of claim 6, the frequency information storage means 13
Based on the frequency information stored in 6, the order determining means 13
By operating 7 and 7, the matching order can be determined in consideration of the appearance frequency of the keyword in the database 101, so that more candidate records can be removed from the target record at an early stage, and the search time can be reduced. It can be further shortened.

【0023】[0023]

【発明の実施の形態】以下、図面に基づいて、本発明の
実施形態について詳細に説明する。図4は、本発明の情
報検索装置を適用した文書ファイリングシステムの構成
図である。図4において、情報検索装置210は、図9
に示した情報検索装置に判別処理部211と選択演算処
理部212とを付加し、判別処理部211により、入力
された検索式に含まれる論理演算子を判別し、この判別
結果に応じて、選択演算処理部212あるいは、従来の
検索制御部410のいずれかが動作する構成となってい
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 4 is a configuration diagram of a document filing system to which the information search device of the present invention is applied. In FIG. 4, the information search device 210 is shown in FIG.
A discrimination processing unit 211 and a selection calculation processing unit 212 are added to the information retrieval device shown in FIG. 3, the discrimination processing unit 211 discriminates a logical operator included in the inputted search formula, and according to the discrimination result, Either the selection calculation processing unit 212 or the conventional search control unit 410 operates.

【0024】また、選択演算処理部212によって得ら
れた論理演算結果は、上述した検索制御部410に備え
られた論理演算処理部413で得られたレコード情報の
集合と同様にして、検索依頼部422に送出され、デー
タベース管理部420の処理に供されている。図4にお
いて、判別処理部211は、所定の文字列の入力に応じ
て、請求項1で述べた新規の論理演算子を判別し、この
論理演算子を用いて形成された検索式を入力文字列から
抽出して、選択演算処理部212の処理に供する構成と
なっている。
The logical operation result obtained by the selection operation processing unit 212 is the same as the record information set obtained by the logical operation processing unit 413 provided in the search control unit 410 described above, and the search requesting unit It is sent to 422 and is used for the processing of the database management unit 420. In FIG. 4, the discrimination processing unit 211 discriminates the new logical operator described in claim 1 in response to the input of a predetermined character string, and inputs the search expression formed by using this logical operator as input characters. It is configured to be extracted from the column and used for the processing of the selection calculation processing unit 212.

【0025】ここで、検索式においては、例えば、下に
示す式(1) のように、上述した新規の論理演算子を文字
列「OF」で表し、この論理演算子(以下、OF演算子
と称する)の直前の整数nによって、必要とされるキー
ワードの合致数を示し、OF演算子に続く文字列によっ
て、指定キーワード群{k1, ・・・kn}を示せばよい。
Here, in the search expression, for example, the new logical operator described above is represented by the character string "OF" as in the following expression (1), and this logical operator (hereinafter referred to as OF operator) is used. The number of matching keywords required is indicated by an integer n immediately before the ()), and the designated keyword group {k1, ... Kn} is indicated by a character string following the OF operator.

【0026】 n OF {k1, ・・・kn} ・・・(1) この場合に、判別処理部211は、文字列「OF」の検
出に応じて、その直前の合致数nおよび指定キーワード
群{k1, ・・kn}を含んだ検索式を抽出して、選択演算
処理部212の処理に供し、一方、通常のブール演算子
を示す文字列は、解釈処理部411に送出し、従来と同
様の解釈処理に供すればよい。
N OF {k1, ... Kn} (1) In this case, the discrimination processing unit 211, in response to the detection of the character string “OF”, the number n of matches immediately before that and the designated keyword group. A search expression including {k1, ... Kn} is extracted and subjected to the processing of the selection calculation processing unit 212, while a character string indicating a normal Boolean operator is sent to the interpretation processing unit 411, and It may be subjected to the same interpretation processing.

【0027】また、図4に示した選択演算処理部212
において、レコード検出部213は、演算制御部214
からの指示に応じて、対応情報格納手段121に相当す
るキーワード・レコード(K/R)対応表421を参照
し、指定されたキーワードを含むレコードを検出して、
レコード登録部215に該当するレコードに関するレコ
ード情報および合致したキーワードに関するキーワード
情報の登録を依頼する構成となっている。
Further, the selection calculation processing section 212 shown in FIG.
In the above, the record detection unit 213 has the operation control unit 214
In response to the instruction from, the keyword / record (K / R) correspondence table 421 corresponding to the correspondence information storage unit 121 is referred to, a record including the designated keyword is detected,
The record registration unit 215 is configured to request registration of record information regarding a corresponding record and keyword information regarding a matched keyword.

【0028】このレコード登録部215は、レコード情
報の入力に応じてレコードリスト216を参照し、該当
するレコード情報が既にレコードリスト216に登録さ
れているか否かに応じて、新規レコードとしてレコード
リスト216に登録する処理あるいは、既存のレコード
情報の更新処理を行う構成となっている。また、図4に
おいて、条件判定部217は、演算制御部214からの
指示に応じて上述したレコードリスト216を参照し、
登録されたレコード情報に基づいて、条件を満たすレコ
ードを抽出し、抽出結果を検索依頼部422に送出する
構成となっている。
The record registration unit 215 refers to the record list 216 in response to the input of record information, and determines whether or not the corresponding record information is already registered in the record list 216 as a new record. It is configured to perform the process of registering to or the process of updating the existing record information. Further, in FIG. 4, the condition determination unit 217 refers to the above-mentioned record list 216 in response to an instruction from the arithmetic control unit 214,
Based on the registered record information, records satisfying the conditions are extracted, and the extraction result is sent to the search request unit 422.

【0029】図5に、情報検索動作を表す流れ図を示
す。まず、判別処理部211により、入力文字列で示さ
れる論理演算子を判別し(ステップ301)、OF演算
子が含まれていない場合(ステップ302の否定判定)
は、検索制御部410により、従来と同様にして、検索
式に従って各レコードについてのブール演算処理が行わ
れ(ステップ303)、検索依頼部422およびデータ
ベース管理部420により、論理演算結果として真が得
られたレコードがデータベース101に相当する文書情
報データベース430から抽出される(ステップ30
4)。
FIG. 5 is a flow chart showing the information retrieval operation. First, the discrimination processing unit 211 discriminates the logical operator indicated by the input character string (step 301), and when the OF operator is not included (negative determination in step 302).
In the same manner as the conventional method, the search control unit 410 performs a Boolean operation process on each record according to the search formula (step 303), and the search request unit 422 and the database management unit 420 obtain a true logical operation result. The obtained record is extracted from the document information database 430 corresponding to the database 101 (step 30).
4).

【0030】一方、OF演算子が含まれている場合(ス
テップ302の肯定判定)は、まず、演算制御部214
により、指定されたキーワード群に含まれるキーワード
が順次に注目キーワードとして選択され(ステップ30
5)、レコード検出部213に対して、この注目キーワ
ードを含むレコードを検出する旨を指示すればよい。こ
れに応じて、レコード検出部213が動作し、キーワー
ド・レコード対応表421に基づいて、注目キーワード
を含むレコードが検出され(ステップ306)、これら
のレコードに関する情報がレコード登録部215の処理
に供される。
On the other hand, when the OF operator is included (affirmative determination in step 302), first, the arithmetic control unit 214
Thus, the keywords included in the designated keyword group are sequentially selected as the attention keywords (step 30).
5) It suffices to instruct the record detection unit 213 to detect the record including the target keyword. In response to this, the record detection unit 213 operates, the records including the target keyword are detected based on the keyword / record correspondence table 421 (step 306), and the information regarding these records is provided to the processing of the record registration unit 215. To be done.

【0031】ここで、レコード検出部213は、検出し
た各レコードについて、そのレコードのアドレスなどを
それぞれ示すレコード情報とともに、上述した注目キー
ワードを合致したキーワードを示すキーワード情報とし
て、レコード登録部215に送出すればよい。上述した
レコード情報およびキーワード情報の入力に応じて、レ
コード登録部215は、各レコード情報とレコードリス
ト216の内容とを順次に照合し(ステップ307)、
該当するレコード情報が登録済みであるか否かを判定す
る(ステップ308)。
Here, for each detected record, the record detection unit 213 sends to the record registration unit 215, together with the record information indicating the address of the record and the like, as keyword information indicating the matching keyword of the above-mentioned keyword. do it. In response to the input of the record information and the keyword information described above, the record registration unit 215 sequentially collates each record information with the contents of the record list 216 (step 307),
It is determined whether or not the corresponding record information has been registered (step 308).

【0032】レコードリスト216に該当するレコード
情報が存在しない場合は、ステップ308における否定
判定となり、レコード登録部215は、新規の候補レコ
ードに関する情報として、このレコード情報と注目キー
ワードおよび合致したキーワードの数の初期値「1」か
らなる条件情報をレコードリスト216に登録し(ステ
ップ309)、その後、ステップ311に進めばよい。
If the record information corresponding to the record list 216 does not exist, a negative determination is made in step 308, and the record registration unit 215 determines the number of keywords that match this record information and the matched keyword as information about the new candidate record. The condition information including the initial value “1” of is registered in the record list 216 (step 309), and then the process may proceed to step 311.

【0033】一方、ステップ308の肯定判定の場合
に、レコード登録部215は、該当するレコード情報に
対応する条件情報として、注目キーワードを追加すると
ともに、キーワードの合致数をインクリメントすること
により、レコードリスト216の内容を更新し(ステッ
プ310)、その後、ステップ311に進めばよい。こ
のステップ311において、レコード登録部215は、
受け取った全てのレコード情報について、登録処理ある
いは更新処理を行ったか否かを判定し、否定判定の場合
は、上述したステップ307に戻って、新しいレコード
情報についての処理を行えばよい。
On the other hand, in the case of affirmative determination at step 308, the record registration unit 215 adds the keyword of interest as the condition information corresponding to the corresponding record information, and increments the number of matching keywords, thereby making the record list. The contents of 216 are updated (step 310), and then the process may proceed to step 311. In this step 311, the record registration unit 215
It is determined whether or not the registration processing or the update processing has been performed for all the received record information, and in the case of a negative determination, the process returns to step 307 described above and the processing for the new record information may be performed.

【0034】一方、ステップ311の肯定判定の場合
に、演算制御部214は、上述した注目キーワードにつ
いての処理が終了したと判断し、指定されたキーワード
の中にまだ注目キーワードとして指定していないものが
あるか否かを判定し(ステップ312)、否定判定の場
合は、上述したステップ305に戻って次のキーワード
を注目キーワードとして、ステップ306からステップ
312の処理を繰り返せばよい。
On the other hand, in the case of affirmative determination in step 311, the arithmetic control unit 214 determines that the processing for the noted keyword has been completed, and the designated keyword has not been designated as the focused keyword. It is determined whether or not there is any (step 312), and in the case of a negative determination, the process returns to step 305 described above, and the process from step 306 to step 312 may be repeated using the next keyword as the keyword of interest.

【0035】このように、演算制御部214からの指示
に応じて、レコード検出部213および登録処理部21
5が動作することにより、請求項4で述べた照合手段1
22と同等の機能を実現し、レコードリスト216の内
容を照合結果として、条件判定部217の処理に供する
ことができる。上述した処理を繰り返して、全ての指定
キーワードについて上述した処理を終了したとき(ステ
ップ312の肯定判定)に、演算制御部214からの指
示に応じて、条件判定部217が請求項4で述べた演算
結果決定手段123として動作し、レコードリスト21
6に条件情報として登録されたキーワードの合致数が、
検索式で指定された合致数n以上であるレコードについ
ての演算結果として真を出力すればよい(ステップ31
3)。
In this way, according to the instruction from the arithmetic control unit 214, the record detecting unit 213 and the registration processing unit 21.
5 is operated so that the collating means 1 described in claim 4 is executed.
It is possible to realize a function equivalent to that of No. 22 and to use the contents of the record list 216 as the collation result for the processing of the condition determination unit 217. When the above process is repeated for all specified keywords by repeating the above process (affirmative determination in step 312), the condition determining unit 217 described in claim 4 according to the instruction from the arithmetic control unit 214. The record list 21 operates as the calculation result determining unit 123.
The number of matching keywords registered as condition information in 6 is
It suffices to output true as the operation result for the record having the number of matches n or more designated by the search formula (step 31).
3).

【0036】上述したように、選択演算処理部212の
各部が動作することにより、請求項2で述べた論理演算
手段111の機能を実現し、請求項1で述べた論理演算
子を用いて表された条件を満足するレコードについて、
演算結果として真を与えることができる。
As described above, the functions of the logical operation means 111 described in claim 2 are realized by the operation of the respective parts of the selection operation processing part 212, and the operation is performed using the logical operator described in claim 1. For records that satisfy the specified conditions,
Truth can be given as the operation result.

【0037】また、ステップ313で得られた演算結果
に応じて、ステップ304において、検索依頼部422
およびデータベース管理部420が動作することによ
り、請求項2で述べた抽出手段112の機能が実現さ
れ、文書情報データベース430から該当するレコード
を抽出することができる。これにより、利用者の知識や
経験にかかわらず、直感的に把握しやすい検索式を用い
て、情報を検索することが可能となるから、データベー
ス化された情報を様々な利用者に解放し、情報の共有化
を推し進めることができる。
Further, according to the calculation result obtained in step 313, in step 304, the search request unit 422.
By operating the database management unit 420, the function of the extraction unit 112 described in claim 2 is realized, and the corresponding record can be extracted from the document information database 430. As a result, regardless of the knowledge and experience of the user, it is possible to search information using a search formula that is intuitively easy to grasp, so that the information stored in the database can be released to various users, Information sharing can be promoted.

【0038】また、従来から備えられている検索制御部
410の機能を利用して、選択演算処理部212の機能
を実現することもできる。図6に、請求項3の情報検索
装置を適用した文書ファイリングシステムの構成図を示
す。この場合は、図6に示した選択演算処理部212に
代えて、検索式変換部221を備えて情報検索装置21
0を構成し、この検索式変換部221が、判別処理部2
11から受け取った検索式をブール演算子を用いた検索
式に変換し、検索制御部410の処理に供する構成とす
ればよい。
Further, the function of the selection calculation processing section 212 can be realized by utilizing the function of the search control section 410 which has been conventionally provided. FIG. 6 shows a block diagram of a document filing system to which the information retrieval apparatus of claim 3 is applied. In this case, instead of the selection calculation processing section 212 shown in FIG. 6, a search expression conversion section 221 is provided and the information search device 21 is provided.
0, and the search expression conversion unit 221 uses the discrimination processing unit 2
The search expression received from 11 may be converted into a search expression using a Boolean operator and provided for the processing of the search control unit 410.

【0039】すなわち、図6においては、判別処理部2
11および検索式変換部221により、請求項3で述べ
た変換手段114の機能を実現し、また、検索制御部4
10により、ブール演算手段113の機能を実現する構
成となっている。図6に示した検索式変換部221にお
いて、組み合わせ作成部222は、上述した式(1) で示
した形式の検索式の入力に応じて、指定されたキーワー
ド群{k1, ・・・km}から任意のn個のキーワードを選
択する全ての組み合わせを作成し、部分式作成部223
は、組み合わせ作成部222で得られたキーワードの組
を論理積演算子で結合して部分式を作成する構成となっ
ている。
That is, in FIG. 6, the discrimination processing unit 2
11 and the search expression conversion unit 221 realize the function of the conversion unit 114 described in claim 3, and the search control unit 4
The configuration of 10 realizes the function of the Boolean operation unit 113. In the search formula conversion unit 221 shown in FIG. 6, the combination creation unit 222 specifies a specified keyword group {k1, ... km} according to the input of the search formula in the format shown in the above formula (1). All combinations for selecting arbitrary n keywords from are created, and the subexpression creating unit 223
Is configured to combine the keyword sets obtained by the combination creation unit 222 with a logical product operator to create a subexpression.

【0040】ここで、組み合わせ作成部222により、
m個のキーワードから任意のn個のキーワードを選択す
る組み合わせの数mCn通りのキーワードの組み合わせが
得られ、部分式作成部223により、それぞれの組み合
わせについての部分式が作成される。これらの部分式
は、該当するn個のキーワードを含む旨の条件を示して
いるから、結合処理部224により、上述した部分式を
論理和演算子で結合すれば、OF演算子を用いた検索式
と同等の条件を示す検索式(図11参照)をブール演算
子のみを利用して作成することができる。
Here, by the combination creating section 222,
The number mCn of combinations of keywords for selecting arbitrary n keywords from m keywords is obtained, and the sub-expression creating unit 223 creates sub-expressions for each combination. These subexpressions indicate a condition that the corresponding n keywords are included. Therefore, if the subexpressions described above are combined by the logical sum operator by the combination processing unit 224, a search using the OF operator is performed. A search expression (see FIG. 11) indicating a condition equivalent to the expression can be created using only the Boolean operator.

【0041】この場合は、従来からの検索制御部410
をそのまま利用することができるから、例えば、利用者
が直接に操作する端末装置側のソフトウェアを変更する
ことによって、判別処理部211および検索式変換部2
21を端末装置側で実現すれば、データベース管理部4
20を備えたサーバ側のソフトウェアおよびハードウェ
アの変更を不要とし、既存の資源を有効に利用すること
ができる。
In this case, the conventional search control unit 410
Can be used as is, for example, by changing the software on the terminal device side that the user directly operates, the determination processing unit 211 and the search formula conversion unit 2 can be changed.
21 is realized on the terminal device side, the database management unit 4
It is not necessary to change the software and hardware on the server side provided with 20, and the existing resources can be effectively used.

【0042】但し、上述した変換処理によって得られる
検索式は、図11に示したように、非常に複雑なもので
あるから、図4に示した選択演算処理部212を適用し
た場合に比べて、検索処理に要する時間が非常に長くな
ってしまう。ところで、上述した選択演算処理部212
を適用した情報検索装置に、請求項5および請求項6の
発明を適用すれば、検索処理に要する時間の短縮を図る
ことができる。
However, the retrieval formula obtained by the above-mentioned conversion processing is extremely complicated as shown in FIG. 11, and therefore, compared with the case where the selection calculation processing section 212 shown in FIG. 4 is applied. , The time required for the search process becomes very long. By the way, the selection calculation processing unit 212 described above
If the inventions of claims 5 and 6 are applied to the information search apparatus to which is applied, the time required for the search processing can be shortened.

【0043】図7に、請求項5および請求項6の情報検
索装置を適用した文書ファイリングシステムの構成図を
示す。図7において、選択演算処理部230は、図4に
示した演算制御部214に代えて、並べ替え処理部23
1とキーワードリスト232と演算制御部233とを備
え、指定キーワード群を並べ替え処理部231およびキ
ーワードリスト232を介して演算制御部233に入力
し、レコード検出部213の処理に供する構成となって
いる。
FIG. 7 shows a block diagram of a document filing system to which the information retrieval apparatus of claims 5 and 6 is applied. In FIG. 7, the selection calculation processing unit 230 is replaced with the calculation control unit 214 shown in FIG.
1, the keyword list 232 and the operation control unit 233 are provided, and the designated keyword group is input to the operation control unit 233 via the rearrangement processing unit 231 and the keyword list 232, and is used for the processing of the record detection unit 213. There is.

【0044】この選択演算処理部230において、頻度
情報保持部234は、請求項6の頻度情報格納手段13
6に相当するものであり、キーワード・レコード対応表
421に格納された情報に基づいて、各キーワードにつ
いて予め算出された出現頻度が保持されており、上述し
た並べ替え処理部231の処理に供されている。また、
図7に示した選択演算処理部230は、図4に示した条
件判定部217に代えて条件判定部235を備え、演算
制御部233からの指示に応じて後述する判定処理を行
い、この判定結果に応じて対象操作部236の動作を制
御し、既決レコードリスト237の内容を操作する構成
となっている。
In the selection calculation processing section 230, the frequency information holding section 234 is the frequency information storage means 13 of claim 6.
6, the appearance frequency calculated in advance for each keyword based on the information stored in the keyword / record correspondence table 421 is held, and is used for the processing of the sorting processing unit 231 described above. ing. Also,
The selection calculation processing unit 230 shown in FIG. 7 includes a condition judgment unit 235 in place of the condition judgment unit 217 shown in FIG. 4, and performs a judgment process described later according to an instruction from the calculation control unit 233 to make this judgment. The operation of the target operation unit 236 is controlled according to the result, and the contents of the determined record list 237 are operated.

【0045】この場合に、レコード検出部213によっ
て検出されたレコードに関する情報は、照合処理部23
8を介して登録処理部215に送出され、候補レコード
の登録および情報の更新処理に供される。図8に、情報
検索動作を表す流れ図を示す。この場合は、図5に示し
たステップ305に代えて、並べ替え処理部231によ
り、頻度情報保持部234に基づいて、指定されたキー
ワードを出現頻度順に並べ替えて、キーワードリスト2
32に格納する処理(ステップ321)が行われ、演算
制御部233を介して、レコード検出部213の処理に
供される。
In this case, the information relating to the record detected by the record detecting unit 213 is the collation processing unit 23.
It is sent to the registration processing unit 215 via 8 to be used for registration of candidate records and update processing of information. FIG. 8 is a flowchart showing the information search operation. In this case, instead of step 305 shown in FIG. 5, the rearrangement processing unit 231 rearranges the specified keywords in the order of appearance frequency based on the frequency information holding unit 234, and the keyword list 2
The process of storing in 32 (step 321) is performed, and is provided to the process of the record detection unit 213 via the calculation control unit 233.

【0046】このように、並べ替え処理部231が、頻
度情報保持部234に格納された頻度情報に従って指定
キーワードを並べ替え、順次にキーワードリスト232
に格納することにより、順序決定手段137の機能が実
現されており、また、演算制御部233が、このキーワ
ードリスト232に従って、順次に注目キーワードをレ
コード検出部213に指定することにより、全体とし
て、請求項5で述べた選択手段131の機能が実現され
ている。
In this way, the rearrangement processing section 231 rearranges the designated keywords in accordance with the frequency information stored in the frequency information holding section 234, and sequentially the keyword list 232.
The function of the order determining unit 137 is realized by storing the order in the record list in the. In addition, the calculation control unit 233 sequentially designates the target keyword to the record detection unit 213 in accordance with the keyword list 232, and as a whole, The function of the selection means 131 described in claim 5 is realized.

【0047】次に、ステップ322において、レコード
検出部213は、ステップ306と同様にして注目キー
ワードを含んだレコードを候補レコードとして検出し
(ステップ322)、次いで、ステップ323におい
て、照合処理部238により、ステップ322で得られ
た候補レコードのそれぞれと既決レコードリスト237
の内容とが照合される。
Next, in step 322, the record detection unit 213 detects a record containing the keyword of interest as a candidate record in the same manner as in step 306 (step 322), and then in step 323, by the collation processing unit 238. , Each of the candidate records obtained in step 322 and the determined record list 237
Is checked against the contents of.

【0048】ここで、上述したようにして、キーワード
に注目して処理を進めていく場合には、全てのキーワー
ドについての処理を終了する以前に、候補レコードの一
部が、既に、検索式で指定された数のキーワードに対応
していることが明らかとなる場合が考えられる。このよ
うに、既に必要な条件を満たしている候補レコードにつ
いては、以降のキーワードについてのレコード検出部2
13の処理結果に基づいて、レコードリスト216の内
容を更新する必要はない。
Here, in the case where the processing is advanced by paying attention to the keywords as described above, before the processing for all the keywords is completed, a part of the candidate records is already in the search formula. It is possible that it becomes clear that the specified number of keywords are supported. In this way, for the candidate records that have already satisfied the necessary conditions, the record detection unit 2 for the subsequent keywords
It is not necessary to update the contents of the record list 216 based on the processing result of 13.

【0049】したがって、条件を満たした候補レコード
を検出して既決レコードとし、既決レコードリスト23
7に保持しておき、照合処理部238が、上述したステ
ップ323における照合結果に応じて、既決レコードを
候補レコードから排除すれば、これらの候補レコードに
対応するキーワードの数を計数する処理を省略すること
ができる。
Therefore, the candidate record satisfying the condition is detected and is set as the completed record, and the completed record list 23
7, the collation processing unit 238 eliminates the process of counting the number of keywords corresponding to these candidate records if the already-existing records are excluded from the candidate records according to the collation result in step 323 described above. can do.

【0050】このとき、照合処理部238により、候補
レコードが既決レコードのいずれとも一致しない旨の照
合結果が得られた場合(ステップ324の否定判定)
は、ステップ325に進み、上述したステップ307〜
ステップ310と同様に、登録処理部215により、各
候補レコードについての登録処理あるいは条件情報の更
新処理を行うことにより、請求項5で述べた集計手段1
33の機能を実現し、各候補レコードについての集計処
理を行えばよい。
At this time, when the collation processing unit 238 obtains a collation result indicating that the candidate record does not match any of the determined records (negative determination in step 324).
Proceeds to step 325, and the above-mentioned steps 307-
Similar to step 310, the registration processing unit 215 performs registration processing or condition information update processing for each candidate record, so that the aggregation means 1 described in claim 5 is executed.
It is sufficient to realize the function of 33 and perform the aggregation process for each candidate record.

【0051】このステップ325の終了後および上述し
たステップ324の肯定判定の場合は、全ての候補レコ
ードについての処理が終了したか否かを判定し(ステッ
プ326)、否定判定の場合は、ステップ323に戻っ
て次の候補レコードについての処理が行われる。一方、
ステップ326の肯定判定の場合には、登録処理部21
5からの通知に応じて、演算制御部233は、処理済み
のキーワードの数jが指定されたキーワードの合致数n
以上であるか否かを判定し(ステップ327)、肯定判
定の場合は、条件判定部235にレコードリスト216
の内容についての判定処理を指示すればよい。
After the completion of this step 325 and in the case of the affirmative judgment of the above-mentioned step 324, it is judged whether or not the processing for all the candidate records has been completed (step 326), and in the case of a negative judgment, the step 323. Then, the process for the next candidate record is performed. on the other hand,
In the case of a positive determination in step 326, the registration processing unit 21
In response to the notification from 5, the arithmetic control unit 233 causes the number j of processed keywords to be the matching number n of the designated keywords.
It is determined whether or not the above is true (step 327).
It suffices to indicate the determination process for the content of.

【0052】これに応じて、条件判定部235は、ま
ず、上述したステップ313と同様にして、レコードリ
スト216に格納された各候補レコードの条件情報に基
づいて、条件を満たす候補レコードを判別し、該当する
レコードについての演算結果として真を出力すればよい
(ステップ325)。次に、条件判定部235は、条件
を満たす候補レコードを対象操作部236に送出し、こ
れに応じて、対象操作部236は、受け取った候補レコ
ードを既決レコードとして既決レコードリスト237に
格納し(ステップ329)、上述した照合処理部238
の処理に供すればよい。
In response to this, the condition judging unit 235 first judges a candidate record satisfying the condition based on the condition information of each candidate record stored in the record list 216, similarly to the above-mentioned step 313. , True may be output as the calculation result for the corresponding record (step 325). Next, the condition determination unit 235 sends a candidate record satisfying the condition to the target operation unit 236, and in response to this, the target operation unit 236 stores the received candidate record as a completed record in the completed record list 237 ( Step 329), the matching processing unit 238 described above.
It may be used for the treatment.

【0053】このように、演算制御部233からの指示
に応じて、判定処理部235および対象操作部236が
動作し、また、既決レコードリスト237に基づいて、
照合処理部238が、候補レコードの取捨選択を行うこ
とにより、請求項5で述べた削除手段135および検出
手段132と同等の機能を実現することができる。これ
により、既に条件を満たしていることが明らかとなった
既決レコードを登録処理部215の処理対象から排除
し、これらの既決レコードについての集計処理を省略す
ることができる。
As described above, the determination processing unit 235 and the target operation unit 236 operate according to the instruction from the arithmetic control unit 233, and based on the determined record list 237,
The collation processing unit 238 can implement functions equivalent to those of the deleting unit 135 and the detecting unit 132 described in claim 5 by selecting candidate records. As a result, it is possible to exclude the already-established records, which have already become clear to satisfy the conditions, from the processing targets of the registration processing unit 215, and to omit the aggregation process for these already-established records.

【0054】なお、上述したステップ329の終了後お
よびステップ324の否定判定の場合は、ステップ31
2に進めばよい。この場合は、最低限の条件を満たした
候補レコードを逐次に既決レコードとして判別し、既決
レコードについては、それ以降に行われる他のキーワー
ドについての処理を省略することができるから、全体と
して、検索処理に要する時間を短縮することができる。
After the above step 329 and in the case of a negative determination in step 324, step 31
Go to 2. In this case, candidate records satisfying the minimum condition are sequentially determined as the already-decided records, and the already-executed records can be omitted from the processing for other keywords, so that the entire search is performed. The time required for processing can be shortened.

【0055】特に、上述したように、請求項6の発明を
適用し、キーワードを出現頻度順に並べ替えてレコード
検出部213の処理に供した場合は、無作為に注目キー
ワードを決定した場合に比べて、早い段階において最低
限の条件を満たす多数の候補レコードが出現することが
期待でき、これらの候補レコードを既決レコードとして
登録処理部215の処理対象から排除することができ
る。したがって、処理の進行につれて、登録処理部21
5による集計処理にかかる候補レコードの数が減少し、
集計処理に要する時間を削減することができるので、よ
り高い処理時間短縮効果が期待できる。
Particularly, as described above, when the invention of claim 6 is applied and the keywords are rearranged in the order of appearance frequency and provided for the processing of the record detection unit 213, compared with the case where the keyword of interest is randomly determined. Therefore, it is possible to expect that a large number of candidate records that meet the minimum condition will appear at an early stage, and these candidate records can be excluded from the processing targets of the registration processing unit 215 as already-established records. Therefore, as the processing progresses, the registration processing unit 21
The number of candidate records required for the aggregation process by 5 decreased,
Since the time required for the aggregation processing can be reduced, a higher processing time reduction effect can be expected.

【0056】[0056]

【発明の効果】以上説明したように、本発明は、新規の
論理演算子を導入することにより、利用者の知識や経験
にかかわらず、直感的に把握しやすい検索式を利用し
て、情報を検索することを可能とするから、様々な利用
者にとって使いやすい情報検索方法及び情報検索装置を
実現することができる。
As described above, according to the present invention, by introducing a new logical operator, information can be obtained by using a search formula that can be intuitively grasped regardless of the knowledge and experience of the user. Since it is possible to search for, it is possible to realize an information search method and an information search device that are easy for various users to use.

【0057】これにより、文書ファイリングシステムな
どの利用者を拡大し、情報のデータベース化を促し、情
報の共有化を推し進めることができる。また、請求項3
の発明を適用すれば、従来の情報検索装置のハードウェ
アおよびソフトウェアをそのまま利用して、上述した新
規の論理演算子を用いた情報検索装置を実現することが
できる。
As a result, the number of users of the document filing system and the like can be expanded, information can be made into a database, and information can be shared. Claim 3
By applying the invention described above, the hardware and software of the conventional information retrieval apparatus can be used as they are to realize the information retrieval apparatus using the above-described new logical operator.

【0058】一方、請求項4で述べたように、新規の論
理演算子に専用の論理演算手段を設ければ、検索処理に
要する時間を短縮することができ、更に、請求項5およ
び請求項6の発明を適用すれば、より高速化を図ること
ができる。
On the other hand, as described in claim 4, when the new logical operator is provided with the dedicated logical operation means, the time required for the search processing can be shortened. By applying the invention of No. 6, it is possible to achieve higher speed.

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

【図1】請求項1の発明の原理を示す図である。FIG. 1 is a diagram showing the principle of the invention of claim 1;

【図2】請求項2および請求項3の情報検索装置の原理
ブロック図である。
FIG. 2 is a block diagram of the principle of the information search device according to claims 2 and 3;

【図3】請求項4乃至請求項6の情報検索装置の原理ブ
ロック図である。
FIG. 3 is a block diagram showing the principle of the information search device according to claims 4 to 6;

【図4】本発明の情報検索装置を適用した文書ファイリ
ングシステムの構成図である。
FIG. 4 is a configuration diagram of a document filing system to which the information search device of the present invention is applied.

【図5】情報検索動作を表す流れ図である。FIG. 5 is a flowchart showing an information search operation.

【図6】請求項3の情報検索装置を適用した文書ファイ
リングシステムの構成図である。
FIG. 6 is a configuration diagram of a document filing system to which the information search device of claim 3 is applied.

【図7】請求項5および請求項6の情報検索装置を適用
した文書ファイリングシステムの構成図である。
FIG. 7 is a configuration diagram of a document filing system to which the information search device according to claims 5 and 6 is applied.

【図8】情報検索動作を表す流れ図である。FIG. 8 is a flowchart showing an information search operation.

【図9】従来の情報検索装置の構成例を示す図である。FIG. 9 is a diagram showing a configuration example of a conventional information search device.

【図10】キーワード・レコード対応表の構成例を示す
図である。
FIG. 10 is a diagram showing a configuration example of a keyword / record correspondence table.

【図11】検索式の例を示す図である。FIG. 11 is a diagram showing an example of a search expression.

【符号の説明】 101 データベース 111 論理演算手段 112 抽出手段 113 ブール演算手段 114 変換手段 121 対応情報格納手段 122 照合手段 123 演算結果決定手段 131 選択手段 132 検出手段 133 集計手段 134 判別手段 135 削除手段 136 出現頻度算出手段 137 順序決定手段 210 情報検索装置 211 判別処理部 212、230 選択演算処理部 213 レコード検出部 214、233 演算制御部 215 登録処理部 216 レコードリスト 217、234 判定処理部 221 検索式変換部 222 組み合わせ作成部 223 部分式作成部 224 結合処理部 231 並べ替え処理部 232 キーワードリスト 235 対象リスト 236 対象操作部 401 キーボード 402 表示処理部 403 ディスプレイ 410 検索制御部 411 解釈処理部 412 抽出処理部 413 論理演算部 420 データベース管理部 421 キーワード・レコード(K/R)対応表 422 検索依頼部 430 文書情報データベース[Description of Reference Signs] 101 database 111 logical operation means 112 extraction means 113 Boolean operation means 114 conversion means 121 correspondence information storage means 122 collation means 123 operation result determination means 131 selection means 132 detection means 133 aggregation means 134 discrimination means 135 deletion means 136 Appearance frequency calculation means 137 Order determination means 210 Information retrieval device 211 Discrimination processing unit 212, 230 Selection calculation processing unit 213 Record detection unit 214, 233 Calculation control unit 215 Registration processing unit 216 Record list 217, 234 Determination processing unit 221 Search formula conversion Part 222 Combination creation part 223 Partial expression creation part 224 Combination processing part 231 Sorting processing part 232 Keyword list 235 Target list 236 Target operation part 401 Keyboard 402 Display processing part 403 Data Spray 410 search control unit 411 interpreting processing unit 412 extracting unit 413 logic operation unit 420 database management unit 421 keyword record (K / R) correspondence table 422 search request unit 430 the document information database

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つのキーワードに対応して
データベースに登録されたレコードを検索するための情
報検索方法において、 所定の論理演算子と複数のキーワードからなる指定キー
ワード群と1より大きい自然数である指定数とを含んだ
検索式の入力に応じて、 前記データベースに登録された各レコードについて、前
記キーワード群の中の少なくとも指定数のキーワードに
対応するか否かを判定し、 肯定判定の場合は、該当するレコードについての前記所
定の論理演算子に対応する論理演算結果を真とし、 否定判定の場合は、該当するレコードについての前記所
定の論理演算子に対応する論理演算結果を偽とし、 全てのレコードについての判定が終了したときに、 論理演算結果として真が得られたレコードを前記データ
ベースから抽出して、検索結果として出力することを特
徴とする情報検索方法。
1. An information retrieval method for retrieving records registered in a database corresponding to at least one keyword, a designated keyword group comprising a predetermined logical operator and a plurality of keywords, and a natural number greater than 1. According to the input of the search expression including the designated number, for each record registered in the database, it is determined whether or not the record corresponds to at least the designated number of keywords in the keyword group. , The logical operation result corresponding to the predetermined logical operator for the corresponding record is true, and in the case of a negative determination, the logical operation result corresponding to the predetermined logical operator for the corresponding record is false, all When the judgment about the record of is completed, the record for which the truth is obtained as the logical operation result is obtained from the database. An information retrieval method characterized by extracting and outputting as a retrieval result.
【請求項2】 少なくとも1つのキーワードに対応して
データベースに登録されたレコードを検索する情報検索
装置において、 所定の論理演算子と複数のキーワードからなる指定キー
ワード群と1より大きい自然数である指定数とを含んだ
検索式の入力に応じて、前記キーワード群の中の少なく
とも指定数のキーワードに対応するレコードについて、
前記所定の論理演算子に対応する論理演算結果を真とす
る論理演算手段と、 前記論理演算手段による論理演算結果として真が得られ
たレコードを前記データベースから抽出する抽出手段と
を備えたことを特徴とする情報検索装置。
2. An information retrieval device for retrieving records registered in a database corresponding to at least one keyword, a designated keyword group including a predetermined logical operator and a plurality of keywords, and a designated number which is a natural number larger than 1. In response to the input of the search expression including and, for records corresponding to at least the specified number of keywords in the keyword group,
A logical operation unit that makes a logical operation result corresponding to the predetermined logical operator true; and an extraction unit that extracts a record for which a logical operation result by the logical operation unit is true from the database. Characteristic information retrieval device.
【請求項3】 請求項2に記載の情報検索装置におい
て、 論理演算手段は、 ブール演算子を用いて表された検索式に基づいて、デー
タベースに登録された各レコードについての論理演算を
行うブール演算手段と、 所定の論理演算子を含んだ検索式の入力に応じて、前記
検索式に相当する機能を実現するブール演算子のみから
なる検索式に変換して、前記ブール演算手段の処理に供
する変換手段とを備えた構成であることを特徴とする情
報検索装置。
3. The information search device according to claim 2, wherein the logical operation means performs a logical operation for each record registered in the database based on a search expression expressed using a Boolean operator. In response to the input of the arithmetic operation means and the search expression including a predetermined logical operator, it is converted into a search expression consisting of only Boolean operators that realize the function equivalent to the search expression, and the processing of the Boolean operation means is performed. An information retrieving apparatus, characterized in that the information retrieving means is provided with a conversion means to be provided.
【請求項4】 請求項2に記載の情報検索装置におい
て、 論理演算手段は、 データベースに登録された各レコードとキーワードとの
対応関係を示す対応情報を格納する対応情報格納手段
と、 前記対応情報に基づいて、各レコードに対応するキーワ
ードと指定キーワード群とを照合し、合致するキーワー
ドの数をそれぞれ計数する照合手段と、 各レコードについて得られた合致するキーワードの数と
指定数との比較結果に応じて論理演算結果を決定し、抽
出手段の処理に供する演算結果決定手段とを備えた構成
であることを特徴とする情報検索装置。
4. The information retrieval device according to claim 2, wherein the logical operation means stores correspondence information indicating correspondence between each record registered in the database and a keyword, and the correspondence information. Matching means for matching the keyword corresponding to each record with a specified keyword group based on the above, and counting the number of matching keywords, respectively, and the comparison result between the number of matching keywords obtained for each record and the specified number. An information retrieval device, comprising: an operation result determining means for determining a logical operation result according to the above and providing the processing of the extracting means.
【請求項5】 請求項4に記載の情報検索装置におい
て、 照合手段は、 指定キーワード群に含まれるキーワードを順次に注目キ
ーワードとして選択する選択手段と、 対象レコードとして指定された全てのレコードについて
前記対応情報格納手段を参照して、前記注目キーワード
を含む候補レコードを検出する検出手段と、 前記検出手段で検出された各候補レコードについて、そ
れまでに含んでいるとされた注目キーワードの数を判定
条件として集計する集計手段とを備えた構成であり、 演算結果決定手段は、 前記各候補レコードについての判定条件と指定数との比
較結果に応じて、最低限の条件を満たした候補レコード
を判別し、該当する候補レコードについての論理演算結
果として真を出力して、抽出手段の処理に供する判別手
段と、 前記判別手段によって判別された候補レコードを前記対
象レコードから削除して、前記検出手段に指定する削除
手段とを備えた構成であることを特徴とする情報検索装
置。
5. The information retrieving apparatus according to claim 4, wherein the collating unit selects the keywords included in the designated keyword group as the keyword of interest in sequence, and all the records designated as the target records. With reference to the correspondence information storage unit, a detection unit that detects a candidate record that includes the target keyword, and for each candidate record that is detected by the detection unit, determine the number of target keywords that have been included so far The calculation result determining means determines a candidate record satisfying the minimum condition according to the comparison result between the determination condition and the specified number for each candidate record. Then, a determination unit that outputs true as a logical operation result for the corresponding candidate record and that is used in the process of the extraction unit, Serial candidate records determined by the determining means to remove from the target record, the information retrieval apparatus which is a configuration that includes a deletion means for specifying to said detecting means.
【請求項6】 請求項5に記載の情報検索装置におい
て、 選択手段は、 データベースにおいて各キーワードが出現する頻度を示
す頻度情報を格納する頻度情報格納手段と、 指定キーワード群の入力に応じて前記頻度情報格納手段
を参照し、各キーワードの出現頻度順に、注目キーワー
ドを選択する順序を決定する順序決定手段とを備えた構
成であることを特徴とする情報検索装置。
6. The information retrieval device according to claim 5, wherein the selection means stores frequency information indicating frequency of appearance of each keyword in the database, and the selected keyword group in response to input of the designated keyword group. An information retrieving apparatus, comprising: an order determining unit that refers to the frequency information storage unit and determines the order of selecting a keyword of interest in the order of appearance frequency of each keyword.
JP27559095A 1995-10-24 1995-10-24 Information search method and information search apparatus Expired - Fee Related JP3766126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27559095A JP3766126B2 (en) 1995-10-24 1995-10-24 Information search method and information search apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27559095A JP3766126B2 (en) 1995-10-24 1995-10-24 Information search method and information search apparatus

Publications (2)

Publication Number Publication Date
JPH09120402A true JPH09120402A (en) 1997-05-06
JP3766126B2 JP3766126B2 (en) 2006-04-12

Family

ID=17557581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27559095A Expired - Fee Related JP3766126B2 (en) 1995-10-24 1995-10-24 Information search method and information search apparatus

Country Status (1)

Country Link
JP (1) JP3766126B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203313A (en) * 1998-01-14 1999-07-30 Fuji Xerox Co Ltd Device for retrieving document and recording medium
JP2010033197A (en) * 2008-07-25 2010-02-12 Internatl Business Mach Corp <Ibm> Search device using disclosed search engine, search method, and search program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57166668A (en) * 1981-04-08 1982-10-14 Agency Of Ind Science & Technol Information retrieving device
JPH07146878A (en) * 1993-11-25 1995-06-06 Nippon Telegr & Teleph Corp <Ntt> Information retrieval device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57166668A (en) * 1981-04-08 1982-10-14 Agency Of Ind Science & Technol Information retrieving device
JPH07146878A (en) * 1993-11-25 1995-06-06 Nippon Telegr & Teleph Corp <Ntt> Information retrieval device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203313A (en) * 1998-01-14 1999-07-30 Fuji Xerox Co Ltd Device for retrieving document and recording medium
JP2010033197A (en) * 2008-07-25 2010-02-12 Internatl Business Mach Corp <Ibm> Search device using disclosed search engine, search method, and search program
US9195744B2 (en) 2008-07-25 2015-11-24 International Business Machines Corporation Protecting information in search queries

Also Published As

Publication number Publication date
JP3766126B2 (en) 2006-04-12

Similar Documents

Publication Publication Date Title
US7096218B2 (en) Search refinement graphical user interface
JP2832988B2 (en) Data retrieval system
US20100023505A1 (en) Search method, similarity calculation method, similarity calculation, same document matching system, and program thereof
JP2000123041A (en) Similarity judging method, document retrieving device, document classifying device, storage medium stored with document retrieval program and storage medium stored with document classification program
JPH0628403A (en) Document retrieving device
JPWO2003034279A1 (en) Information retrieval method, information retrieval program, and computer-readable recording medium on which information retrieval program is recorded
JPH07152771A (en) User&#39;s information managing device, information filter, information sorting device, information reproducing device, information retrieving device, and kana/kanji conversion device
JPH09120402A (en) Method and device for information retrieval
US20090210402A1 (en) System and method for contextual association discovery to conceptualize user query
JPH05101102A (en) Retrieval device
JPH08272806A (en) Data base retrieval system
JP2002366576A (en) Method, system and program product for data searching
JPH03294964A (en) Document retrieving method
JPH1166078A (en) Retrieval request embodiment method/device and storage medium storing retrieval, request embodiment program
JPH11154164A (en) Adaptability calculating method in whole sentence search processing and storage medium storing program related to the same
JP2004342016A (en) Information retrieval program and medium having information retrieval program recorded thereon
JPH0773187A (en) Retrieving system
JPH09185632A (en) Method and device for retrieving/editing information
JPH03286371A (en) Document information retrieving device
JPH1173394A (en) Information operation system with security function and method for accessing database in its system
JP2682448B2 (en) Index search method
WO2023188406A1 (en) Information processing program, information processing device, and information processing method
JP7490670B2 (en) Search Device
JP3088805B2 (en) Document management device
JPH11259509A (en) Information retrieval and classification method and system therefor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050927

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051121

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060126

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090203

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100203

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120203

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130203

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees