JP2000207402A - Information retrieval system, information retrieving method and program recording medium for information retrieval - Google Patents

Information retrieval system, information retrieving method and program recording medium for information retrieval

Info

Publication number
JP2000207402A
JP2000207402A JP11005771A JP577199A JP2000207402A JP 2000207402 A JP2000207402 A JP 2000207402A JP 11005771 A JP11005771 A JP 11005771A JP 577199 A JP577199 A JP 577199A JP 2000207402 A JP2000207402 A JP 2000207402A
Authority
JP
Japan
Prior art keywords
complement
data
represented
condition
search
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
JP11005771A
Other languages
Japanese (ja)
Inventor
Yasuto Koga
靖人 古賀
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 JP11005771A priority Critical patent/JP2000207402A/en
Publication of JP2000207402A publication Critical patent/JP2000207402A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve efficiency by reducing a storage area when a set is large in an information retrieval system which stores the set of data satisfying an assumed retrieval condition and performs retrieval processing. SOLUTION: A condition satisfaction set storing means 33 stores with representation by a complementary set when a set is large and stores with representation by a normal set when it is small. An information updating means 22 updates a condition satisfaction set in accordance with information updation and performs conversion with the representation of the normal set and the representation of the complementary set as necessary by using a complementary set adding means 25 so as to make the sets appropriate representation. It also performs processing that correctly maintains a condition satisfaction set represented by the complementation set when data are added or eliminated. Also, a retrieving means 23 performs a set operation by a method that is suitable for the representation of a set.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は情報検索システム、
情報検索方法および情報検索用プログラムを記録した記
録媒体に関し、特に、想定される検索条件を満足するデ
ータの集合を記憶して検索処理を行う情報検索システ
ム、情報検索方法および情報検索用プログラムを記録し
た記録媒体に関する。
The present invention relates to an information retrieval system,
More particularly, the present invention relates to a recording medium on which an information retrieval method and an information retrieval program are recorded. Related to a recorded medium.

【0002】[0002]

【従来の技術】従来の情報検索システムの一例が、特開
平10−187745号公報に記載されている。この公
報に記載された情報検索システムは、ディレクトリ管理
部、グループインデックス制御部、全一致インデックス
記憶部、グループインデックス記憶部、部分一致インデ
ックス制御部、部分一致インデックス記憶部、などから
構成されている。このような構成を有する従来の情報検
索システムは、すべてのデータを調べることなく検索条
件を満たすデータを見つけるため、想定される検索条件
とそれを満足するデータの識別情報の集合を対応させて
記憶し、検索処理に用いている。以下、上記のデータの
識別情報をIDと呼ぶ。例として、人に関する情報を蓄
積する情報検索システムを考えると、名前に関する条件
で検索が行われることを想定し、例えば“名前が山田で
ある”という条件と、この条件を満たすデータのIDの
集合を対応させて記憶する。このようなデータが持つ属
性に関する一致条件のほか、部分文字列検索のために
“名前がある文字列sを含む”というような条件を想定
して、この条件を満たすデータのIDの集合を対応させ
て記憶することもできる。このように、応用にあわせて
種々の検索条件を想定することができる。以下では、想
定する検索条件を想定検索条件と呼び、これを満たすデ
ータの集合を条件満足集合と呼ぶ。
2. Description of the Related Art An example of a conventional information retrieval system is described in Japanese Patent Application Laid-Open No. Hei 10-187745. The information search system described in this publication includes a directory management unit, a group index control unit, an all-match index storage unit, a group index storage unit, a partial match index control unit, a partial match index storage unit, and the like. The conventional information retrieval system having such a configuration finds data that satisfies a search condition without examining all data, and stores an assumed search condition and a set of identification information of data that satisfies the condition. And used for search processing. Hereinafter, the identification information of the data is referred to as ID. As an example, suppose that an information search system that stores information about people is assumed to be searched under a condition related to a name. For example, a condition that “the name is Yamada” and a set of data IDs that satisfy this condition Are stored in association with each other. A set of data IDs satisfying this condition is assumed, assuming a condition such as “including a character string s with a name” for a partial character string search, in addition to the matching condition regarding the attribute of such data. It can also be stored. Thus, various search conditions can be assumed according to the application. Hereinafter, the assumed search condition is called an assumed search condition, and a set of data that satisfies the condition is called a condition satisfaction set.

【0003】[0003]

【発明が解決しようとする課題】特開平10−1877
45号公報に記載されている情報検索システムの問題点
は、想定検索条件を満足するデータの集合が大きい場
合、大きな記憶領域を消費し、効率も悪くなるというこ
とである。その理由は、想定検索条件を満足するデータ
の集合が大きい場合にもその集合をそのまま記憶し、検
索処理に用いるためである。本発明の目的は、想定検索
条件を満足するデータの集合が大きい場合に記憶領域を
小さくでき、効率を高めることができる情報検索システ
ムを提供することにある。
SUMMARY OF THE INVENTION Japanese Patent Application Laid-Open No. Hei 10-1877
The problem with the information retrieval system described in Japanese Patent Publication No. 45 is that when a set of data that satisfies the assumed retrieval condition is large, a large storage area is consumed, and the efficiency becomes poor. The reason is that even when a set of data satisfying the assumed search condition is large, the set is stored as it is and used for search processing. It is an object of the present invention to provide an information search system that can reduce the storage area when the set of data that satisfies the assumed search condition is large, and can increase the efficiency.

【0004】[0004]

【課題を解決するための手段】本発明の情報検索システ
ムは、条件満足集合記憶手段(図1の33)と、全体集
合記憶手段(図1の32)と、検索手段(図1の23)
とを備える。このような構成を採用し、条件満足集合が
大きい場合にはその補集合による表現にして記憶し、小
さい場合には通常の集合による表現にして記憶し、これ
を検索処理に用いることにより、本発明の目的を達成す
ることができる。なお、データの集合が大きいか否かの
判断は、例えば、システムの処理容量に基づいて予め定
められたデータ量のしきい値との比較により行うものと
する。請求項1に記載の発明は、想定される検索条件と
それを満足するデータの集合を対応させて記憶し、検索
処理に用いる情報検索システムにおいて、想定される検
索条件を満足するデータの集合が大きい場合に、その補
集合の表現によって記憶して検索処理に用いることを特
徴としている。請求項2に記載の発明は、想定される検
索条件とそれを満足するデータの集合を対応させて記憶
し、検索処理に用いる情報検索システムにおいて、想定
される検索条件と、それを満足するデータの集合、すな
わち通常の集合もしくはその補集合の表現による集合と
を記憶する条件満足集合記憶手段と、データの全体集合
を記憶する全体集合記憶手段と、データの検索を行う検
索手段とを備えたことを特徴としている。請求項3に記
載の発明は、請求項2記載の情報検索システムにおい
て、データの追加、削除、変更、もしくはこれらの一部
を行う情報更新手段と、与えられたデータの集合の補集
合を計算する補集合計算手段とを備える情報検索システ
ムにおいて、前記情報更新手段がデータの追加、削除、
変更を行う際に、想定される検索条件を満足するデータ
の集合が大きい場合にはこれを補集合によって表現し、
小さい場合にはこれを通常の集合によって表現するよう
に表現の変換を行うことを特徴としている。請求項4に
記載の発明は、請求項3記載の情報検索システムにおい
て、想定される検索条件を満足するデータの集合のう
ち、どの集合が補集合によって表現されているかを記憶
する補集合表現対象記憶手段を備え、前記情報更新手段
が、データの追加/削除の際に、上記補集合表現対象記
憶手段から補集合として表現されている集合を取得し、
これらの内、追加/削除されるデータが対応する想定検
索条件を満たさないものに対し、その補集合にデータを
追加/削除することを特徴としている。請求項5に記載
の発明は、請求項2,3または4に記載の情報検索シス
テムにおいて、想定される検索条件を満足するデータの
集合もしくは演算の中間結果の集合の集合演算を行う集
合演算手段を備え、該集合演算手段が、集合AとBの共
通部分をとる場合、もしAのみがその補集合A’で表現
されているならばB−A’を計算してこれを結果とし、
もしBのみがその補集合B’で表現されているならばA
−B’を計算してこれを結果とし、もし両方がその補集
合A’とB’で表現されているならばA’とB’の和集
合を計算してその補集合を結果とすること、集合AとB
の和集合をとる場合、もしAのみがその補集合A’で表
現されているならばA’−Bを計算してその補集合を結
果とし、もしBのみがその補集合B’で表現されている
ならばB’−Aを計算してその補集合を結果とし、もし
両方がその補集合A’とB’で表現されているならば
A’とB’の共通部分を計算してその補集合を結果とす
ること、の2つのうち少なくとも1つを行うことを特徴
としている。請求項6に記載の発明は、請求項2,3、
4または5に記載の情報検索システムにおいて、想定さ
れる検索条件を満足するデータの集合もしくは演算の中
間結果の集合の集合演算を行う集合演算手段を備え、該
集合演算手段が、集合Aの補集合をとる場合、Aがその
補集合A’で表現されているならばA’を結果とし、通
常の集合で表現されているならばAの補集合を結果とす
ること、を特徴としている。請求項7に記載の発明は、
検索条件と該条件を満足するデータの集合とを記憶する
条件満足集合記憶手段と、データの全体集合を記憶する
全体集合記憶手段と、データの検索を行う検索手段とを
備える情報検索システムの情報検索方法において、想定
される検索条件と、それを満足するデータの集合とを通
常の集合もしくはその補集合の表現によって上記条件満
足集合記憶手段に記憶させ、データの全体集合を上記全
体集合記憶手段に記憶させ、上記検索手段ではこれらを
用いて検索処理を行う、の各過程を有することを特徴と
している。請求項8に記載の発明は、請求項7に記載の
情報検索方法において、データの追加、削除、変更を行
う際に、想定される検索条件を満足するデータの集合が
大きい場合にはこれを補集合によって表現し、小さい場
合にはこれを通常の集合によって表現するように、補集
合の計算を行って表現の変換を行うことを特徴としてい
る。請求項9に記載の発明は、請求項8に記載の情報検
索方法において、想定される検索条件を満足するデータ
の集合のうち、どの集合が補集合によって表現されてい
るかを記憶させ、データの追加/削除の際に、補集合表
現対象記憶手段から補集合として表現されている集合を
取得し、これらのうち、追加/削除されるデータが対応
する想定検索条件を満たさないものに対し、その補集合
にデータを追加/削除することを特徴としている。請求
項10に記載の発明は、請求項7,8および9に記載の
情報検索方法において、想定される検索条件を満足する
データの集合もしくは演算の中間結果の集合の集合演算
を行う際、集合AとBの共通部分をとる場合、もしAの
みがその補集合A’で表現されているならばB−A’を
計算してこれを結果とし、もしBのみがその補集合B’
で表現されているならばA−B’を計算してこれを結果
とし、もし両方がその補集合A’とB’で表現されてい
るならばA’とB’の和集合を計算してその補集合を結
果とすること、集合AとBの和集合をとる場合、もしA
のみがその補集合A’で表現されているならばA’−B
を計算してその補集合を結果とし、もしBのみがその補
集合B’で表現されているならばB’−Aを計算してそ
の補集合を結果とし、もし両方がその補集合A’とB’
で表現されているならばA’とB’の共通部分を計算し
てその補集合を結果とすること、の2つのうち少なくと
も1つを行うことを特徴としている。請求項11に記載
の発明は、請求項7、8、9および10に記載の情報検
索方法において、想定される検索条件を満足するデータ
の集合もしくは演算の中間結果の集合の集合演算を行う
際、集合Aの補集合をとる場合、Aがその補集合A’で
表現されているならばA’を結果とし、通常の集合で表
現されているならばAの補集合を結果とすることを特徴
としている。請求項12に記載の発明は、検索条件と該
条件を満足するデータの集合とを記憶する条件満足集合
記憶手段と、データの全体集合を記憶する全体集合記憶
手段と、データの検索を行う検索手段を備える情報検索
システムにおいて使用される記録媒体には、想定される
検索条件と、それを満足するデータの集合とを通常の集
合もしくはその補集合の表現によって条件満足集合記憶
手段に記憶させる処理と、データの全体集合を全体集合
記憶手段に記憶させる処理と、これら記憶手段を用いた
検索処理と、を実行するためのプログラムが記録されて
いることを特徴としている。請求項13に記載の発明
は、請求項12に記載の記録媒体において、前記処理に
加え、データの追加、削除、変更、もしくはこれらの一
部を行う情報更新処理と、与えられたデータの集合の補
集合を計算する処理と、データの追加、削除、変更を行
う際に、想定される検索条件を満足するデータの集合が
大きい場合にはこれを補集合によって表現し、小さい場
合にはこれを通常の集合によって表現するように表現の
変換を行う処理とを実行するためのプログラムが記録さ
れていることを特徴としている。請求項14に記載の発
明は、請求項13に記載の記録媒体において、前記処理
に加え、想定される検索条件を満足するデータの集合の
うち、どの集合が補集合によって表現されているかを補
集合表現対象記憶手段に記憶させる処理を実行するため
のプログラムを記録し、前記情報更新処理において、デ
ータの追加/削除の際に、補集合表現対象記憶手段から
補集合として表現されている集合を取得し、これらのう
ち、追加/削除されるデータが対応する想定検索条件を
満たさないものに対し、その補集合にデータを追加/削
除することを特徴としている。請求項15に記載の発明
は、請求項12,13および14に記載の記録媒体にお
いて、前記処理に加え、想定される検索条件を満足する
データの集合もしくは演算の中間結果の集合の集合演算
を行う際、集合AとBの共通部分をとる場合、もしAの
みがその補集合A’で表現されているならばB−A’を
計算してこれを結果とし、もしBのみがその補集合B’
で表現されているならばA−B’を計算してこれを結果
とし、もし両方がその補集合A’とB’で表現されてい
るならばA’とB’の和集合を計算してその補集合を結
果とする処理、集合AとBの和集合をとる場合、もしA
のみがその補集合A’で表現されているならばA’−B
を計算してその補集合を結果とし、もしBのみがその補
集合B’で表現されているならばB’−Aを計算してそ
の補集合を結果とし、もし両方がその補集合A’とB’
で表現されているならばA’とB’の共通部分を計算し
てその補集合を結果とする処理、の2つのうち少なくと
も1つの処理を実行するためのプログラムが記録されて
いることを特徴としている。請求項16に記載の発明
は、請求項12,13、14および15に記載の記録媒
体において、前記処理に加え、想定される検索条件を満
足するデータの集合もしくは演算の中間結果の集合の集
合演算を行う際、集合Aの補集合をとる場合、Aがその
補集合A’で表現されているならばA’を結果とし、通
常の集合で表現されているならばAの補集合を結果とす
る処理を実行するためのプログラムが記録されているこ
とを特徴としている。
The information retrieval system according to the present invention comprises a condition satisfying set storage means (33 in FIG. 1), an entire set storage means (32 in FIG. 1), and a search means (23 in FIG. 1).
And By adopting such a configuration, if the set satisfying the condition is large, it is stored in the form of its complement, and if it is small, it is stored in the form of a normal set, and this is used for search processing. The object of the invention can be achieved. The determination as to whether the data set is large is made, for example, by comparing the data amount with a threshold value of a predetermined data amount based on the processing capacity of the system. According to the first aspect of the present invention, in an information search system for storing an assumed search condition and a set of data satisfying the search condition in association with each other, the set of data satisfying the assumed search condition is used. When it is large, it is characterized in that it is stored in the representation of the complement and used for search processing. According to a second aspect of the present invention, in an information search system that stores an assumed search condition and a set of data satisfying the search condition in association with each other, and uses the assumed search condition and data satisfying the set, , A condition set storage means for storing a normal set or a set represented by a complement thereof, an entire set storage means for storing an entire set of data, and a search means for searching for data. It is characterized by: According to a third aspect of the present invention, in the information retrieval system according to the second aspect, an information updating means for adding, deleting, or changing data, or a part thereof, and calculating a complement of a given set of data. In the information search system comprising a complement set calculating means, the information updating means adds, deletes,
When making a change, if the set of data that satisfies the assumed search conditions is large, express this as a complement,
When the size is small, the expression is converted so as to be expressed by a normal set. According to a fourth aspect of the present invention, in the information retrieval system according to the third aspect, a complement set expression object for storing which set is represented by a complement set among data sets satisfying an assumed retrieval condition. A storage unit, wherein the information updating unit acquires a set represented as a complementary set from the complementary set expression target storage unit when adding / deleting data,
Among these, for data whose added / deleted data does not satisfy the corresponding assumed search condition, data is added / deleted to its complement. According to a fifth aspect of the present invention, in the information retrieval system according to the second, third or fourth aspect, a set operation means for performing a set operation of a set of data or a set of intermediate results of the operation satisfying the assumed search condition. If the set operation means takes the intersection of sets A and B, if only A is represented by its complement A ′, calculate B−A ′ and take this as the result,
If only B is represented by its complement B ', then A
Calculate B ′ and make this the result, and if both are represented by their complements A ′ and B ′, calculate the union of A ′ and B ′ and make the complement the result , Sets A and B
If only A is represented by its complement A ', then A'-B is calculated and the complement is obtained, and only B is represented by its complement B' , Compute B'-A and result in its complement, and if both are represented by their complements A 'and B', compute the intersection of A 'and B' Performing at least one of the two operations, that is, making a complement set a result. The invention according to claim 6 is the invention according to claims 2 and 3,
4. The information retrieval system according to 4 or 5, further comprising: set operation means for performing a set operation of a set of data or a set of intermediate results of the operation satisfying the assumed search condition, wherein the set operation means complements the set A. When a set is taken, A is the result if A is represented by its complement A ', and the complement of A is the result if A is represented by an ordinary set. The invention according to claim 7 is
Information of an information retrieval system comprising: a condition satisfying set storing means for storing a search condition and a set of data satisfying the condition; an entire set storing means for storing an entire set of data; and a searching means for searching data. In the search method, an assumed search condition and a set of data satisfying the search condition are stored in the condition-satisfied set storage means by a normal set or its complement expression, and the entire set of data is stored in the entire set storage means. And the retrieval means performs a retrieval process using these. According to an eighth aspect of the present invention, in the information search method according to the seventh aspect, when adding, deleting, or changing data, if a set of data satisfying an assumed search condition is large, the data set is deleted. It is characterized in that the complement is calculated and the expression is converted so that it is represented by a complement and if it is small it is represented by a normal set. According to a ninth aspect of the present invention, in the information search method according to the eighth aspect, of the data sets satisfying the assumed search condition, which set is represented by a complement set is stored, and At the time of addition / deletion, a set represented as a complement set is acquired from the complement set expression target storage means, and among those, the data to be added / deleted does not satisfy the corresponding assumed search condition. It is characterized in that data is added / deleted from the complement set. According to a tenth aspect of the present invention, in the information search method according to the seventh, eighth and ninth aspects, when performing a set operation on a set of data or a set of intermediate results of the operation satisfying the assumed search condition, If the intersection of A and B is taken, if only A is represented by its complement A ′, then B−A ′ is calculated and the result is obtained, and only B has its complement B ′
If it is represented by, calculate AB 'and obtain this result, and if both are represented by its complements A' and B ', calculate the union of A' and B ' If the complement is taken as the result and the union of sets A and B is taken, if A
A'-B if only the complement A 'is represented
To compute its complement, and if only B is represented by its complement B ', compute B'-A and produce its complement, and both have its complement A' And B '
, The common part of A ′ and B ′ is calculated and its complement is set as a result, and at least one of the two is performed. According to an eleventh aspect of the present invention, in the information search method according to the seventh, eighth, ninth and tenth aspects, a set operation of a set of data or a set of intermediate results of the operation that satisfies assumed search conditions is performed. In the case of taking the complement of set A, if A is represented by its complement A ', the result is A', and if it is represented by the ordinary set, the complement of A is the result. Features. According to a twelfth aspect of the present invention, there is provided a condition satisfying set storing means for storing a search condition and a set of data satisfying the condition, an entire set storing means for storing an entire set of data, and a search for performing data search. A storage medium used in an information search system having means for storing an assumed search condition and a set of data that satisfies the search condition in a condition-satisfied-set storage means by expressing a normal set or its complement. And a program for executing a process of storing the entire set of data in the entire set storage unit and a search process using these storage units. According to a thirteenth aspect of the present invention, in the recording medium according to the twelfth aspect, in addition to the processing, an information updating process for adding, deleting, or changing data, or a part thereof, and a set of given data In the process of calculating the complement of, and when adding, deleting, or changing data, if the set of data that satisfies the assumed search conditions is large, this is represented by the complement. Is characterized in that a program for executing a process of converting the expression so as to be expressed as a normal set is recorded. According to a fourteenth aspect of the present invention, in the recording medium according to the thirteenth aspect, in addition to the processing, a set of data that satisfies an assumed search condition is complemented by a complement set. A program for executing a process to be stored in the set representation target storage means is recorded, and in the information updating process, when data is added / deleted, a set expressed as a complement set from the complement set representation target storage means is added. It is characterized in that data is added to / deleted from the complement of the acquired data whose added / deleted data does not satisfy the corresponding assumed search condition. According to a fifteenth aspect of the present invention, in the recording medium according to the twelfth, thirteenth, or fourteenth aspect, in addition to the processing, a set operation of a set of data satisfying an assumed search condition or a set of intermediate results of the operation is performed. In doing so, if the intersection of sets A and B is taken, if only A is represented by its complement A ', then B-A' is computed and this is the result, if only B is its complement B '
If it is represented by, calculate AB 'and obtain this result, and if both are represented by its complements A' and B ', calculate the union of A' and B ' If the union of sets A and B is taken as a result of the complement set,
A'-B if only the complement A 'is represented
To compute its complement, and if only B is represented by its complement B ', compute B'-A and produce its complement, and both have its complement A' And B '
Characterized in that a program for executing at least one of two processes of calculating a common part of A 'and B' and obtaining a complement thereof as a result is recorded. And According to a sixteenth aspect of the present invention, in the recording medium according to the twelfth, thirteenth, thirteenth, or fifteenth aspect, in addition to the processing, a set of data satisfying an assumed search condition or a set of intermediate results of an operation. When performing the operation, when the complement of set A is taken, if A is represented by its complement A ', the result is A', and if it is represented by a normal set, the complement of A is returned. A program for executing the above-mentioned processing is recorded.

【0005】[0005]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。図1を参照すると、
本発明の第1の実施の形態は、要求入力手段1と、プロ
グラム制御により動作するデータ処理装置2と、情報を
記憶する記憶装置3と、結果出力手段4とを含む。要求
入力手段1は情報に対する処理要求を入力する手段で、
キーボードや通信装置などである。情報記憶装置3は、
データ記憶手段31と、全体集合記憶手段32と、条件
満足集合記憶手段33と、補集合表現対象記憶手段34
とを備える。データ記憶手段31は、この情報検索シス
テムに蓄積されているすべてのデータを記憶する。全体
集合記憶手段32は、すべてのデータのIDを記憶す
る。条件満足集合記憶手段33は、想定される検索条件
と、その条件を満たすデータのIDの集合とを対応させ
て記憶する。補集合表現対象記憶手段34は、どの条件
満足集合が補集合で表現されているかを記憶する。デー
タ処理装置2は、要求分類手段21と、情報更新手段2
2と、検索手段23と、条件満足集合更新手段24と、
補集合計算手段25と、集合演算実行手段26とを備え
る。要求分類手段21は、要求入力手段1から処理要求
を受け取り、要求の種類に応じた手段にこの要求を供給
する。情報更新手段22は、要求分類手段21から情報
更新要求を受け取り、データの追加、削除、変更を実行
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings. Referring to FIG.
The first embodiment of the present invention includes a request input unit 1, a data processing device 2 operated under program control, a storage device 3 for storing information, and a result output unit 4. Request input means 1 is a means for inputting a processing request for information.
Keyboards and communication devices. The information storage device 3
Data storage means 31, total set storage means 32, condition satisfaction set storage means 33, complement set expression target storage means 34
And The data storage means 31 stores all data stored in the information search system. The whole set storage means 32 stores IDs of all data. The condition satisfaction set storage unit 33 stores an assumed search condition and a set of IDs of data satisfying the condition in association with each other. The complement set representation target storage means 34 stores which condition satisfying set is represented by the complement set. The data processing device 2 includes a request classifying unit 21 and an information updating unit 2
2, search means 23, condition satisfaction set update means 24,
Complementary set calculation means 25 and set operation execution means 26 are provided. The request classification unit 21 receives a processing request from the request input unit 1 and supplies the request to a unit according to the type of the request. The information updating unit 22 receives the information updating request from the request classifying unit 21 and performs addition, deletion, and change of data.

【0006】すなわち、データ記憶手段31と全体集合
記憶手段32に対して情報の更新を行い、条件満足集合
をそれにあわせて更新する指示を条件満足集合更新手段
24に与える。具体的には、与えられたデータが満たす
ようになる想定検索条件に対応した条件満足集合にこの
データのIDを追加し、与えられたデータが満たさなく
なる想定検索条件に対応した条件満足集合からこのデー
タのIDを削除する指示を与える。さらに、データが追
加もしくは削除される場合には、補集合で表現されてい
る条件満足集合を正しい状態に維持するために、補集合
表現対象記憶手段34を参照して、適切な条件満足集合
に対する更新を指示する。処理の結果は結果出力手段4
に与える。条件満足集合更新手段24は、情報更新手段
22から与えられた指示に従って条件満足集合記憶手段
33に対する更新を行う。また、この条件満足集合を補
集合による表現にするべきかどうかの判定を行い、必要
ならば、補集合計算手段25を用いて補集合による表現
への変換、もしくは補集合による表現から通常の集合に
よる表現への変換を行う。補集合計算手段25は、全体
集合記憶手段32を参照して、条件満足集合更新手段2
4から与えられた集合の補集合を求める。検索手段23
は、要求分類手段21から検索要求を受け取り、データ
記憶手段31、全体集合記憶手段32、条件満足集合記
憶手段33を参照して、要求されたデータの検索を行
う。複合条件などにより集合演算が必要な場合は集合演
算実行手段26を用いる。処理の結果は結果出力手段4
に与える。集合演算実行手段26は検索手段23から与
えられた集合演算を行う。結果出力手段4は処理要求を
実行した結果を出力する手段で、ディスプレイや通信装
置などである。
That is, information is updated in the data storage means 31 and the whole set storage means 32, and an instruction to update the condition satisfaction set accordingly is given to the condition satisfaction set updating means 24. Specifically, the ID of this data is added to the condition satisfaction set corresponding to the assumed search condition that the given data satisfies, and the ID of the data is added from the condition satisfaction set corresponding to the assumed search condition that the given data no longer satisfies. An instruction to delete the data ID is given. Further, when data is added or deleted, in order to maintain the condition satisfying set represented by the complement set in a correct state, the data is referred to the complement set expression storage means 34, and Instruct update. The processing result is output by the result output means 4
Give to. The condition satisfaction set updating means 24 updates the condition satisfaction set storage means 33 according to the instruction given from the information updating means 22. Further, it is determined whether or not the condition-satisfied set is to be represented by a complement set. If necessary, conversion to the complement representation is performed by using the complement calculation means 25, or a normal set is converted from the complement representation. Is converted to the expression by. The complementary set calculating means 25 refers to the entire set storing means 32 and
Find the complement of the set given from 4. Search means 23
Receives a search request from the request classifying unit 21 and refers to the data storage unit 31, the entire set storage unit 32, and the condition satisfaction set storage unit 33 to search for the requested data. When a set operation is required due to a complex condition or the like, the set operation execution means 26 is used. The processing result is output by the result output means 4
Give to. The set operation execution means 26 performs the set operation given from the search means 23. The result output unit 4 is a unit that outputs a result of executing the processing request, and is a display, a communication device, or the like.

【0007】次に、図1及び図2の流れ図を参照して本
実施の形態の全体の動作について詳細に説明する。要求
入力手段1が受け取った要求は要求分類手段21に与え
られ、要求分類手段21は、要求の種類に応じた手段に
この要求を供給する。要求が情報更新要求であれば情報
更新手段22に(図2のステップA10)、検索要求で
あれば検索手段23に(ステップA20)、この要求を
供給する。まず、情報更新要求の処理の動作について説
明する。情報更新要求を受け取った情報更新手段22
は、データ記憶手段31に対して更新を行い(ステップ
A11)、全体集合記憶手段32に対して更新を行う
(ステップA12)。さらに、情報の更新によって更新
が必要となる条件満足集合を求め、これに対して必要な
更新を行うことを条件満足集合更新手段24に指示する
(ステップA13)。 すなわち、データが更新前に満
たしていた想定検索条件と 更新後に満たすことになる
想定検索条件を求め、その結果を用いて、データが新た
に満たすようになる想定検索条件に対する条件満足集合
にこのデータのIDを追加し、データが満たさなくなる
想定検索条件に対する条件満足集合からこのデータのI
Dを削除する。
Next, the overall operation of the present embodiment will be described in detail with reference to the flowcharts of FIGS. The request received by the request input means 1 is given to the request classification means 21, and the request classification means 21 supplies this request to means according to the type of the request. If the request is an information update request, the request is supplied to the information updating means 22 (step A10 in FIG. 2), and if the request is a search request, the request is supplied to the search means 23 (step A20). First, the operation of the information update request processing will be described. Information updating means 22 having received the information updating request
Updates the data storage means 31 (step A11) and updates the entire set storage means 32 (step A12). Further, a condition satisfying set that needs to be updated is obtained by updating the information, and the condition satisfying set updating unit 24 is instructed to perform a necessary update on the set (step A13). In other words, the assumed search conditions that the data satisfied before the update and the assumed search conditions that were satisfied after the update were obtained, and the results were used to create a condition satisfaction set for the assumed search condition that the data newly satisfied. Is added, and from the condition satisfaction set for the assumed search condition that the data is not satisfied, the I
Delete D.

【0008】ここで、条件満足集合がその補集合により
表現されている場合、条件満足集合にIDを追加する場
合にはこの補集合からIDを削除し、条件満足集合から
IDを削除する場合にはこの補集合にIDを追加するこ
とになる。さらに、更新要求がデータの追加である場合
には、補集合表現対象記憶手段34から補集合として表
現されている条件満足集合を取得し、これらのうち 追
加されるデータが対応する想定検索条件を満たさないも
のに対し、その補集合にデータを追加する。また、更新
要求がデータの削除である場合には、補集合表現対象記
憶手段34から補集合として表現されている条件満足集
合を取得し、これらの内、削除されるデータが対応する
想定検索条件を満たさないものに対し、その補集合から
データを削除する。 この2つの処理は、データが更新
前と更新後に満たす想定検索条件からは求めることがで
きない条件満足集合を正しく維持するために必要であ
る。
Here, when the condition satisfying set is represented by its complement, when adding an ID to the condition satisfying set, the ID is deleted from the complement set and when deleting the ID from the condition satisfying set, Will add an ID to this complement. Further, when the update request is to add data, a condition satisfying set expressed as a complementary set is acquired from the complementary set expressing object storage means 34, and among these, the assumed search condition corresponding to the data to be added corresponds to If not, add data to its complement. If the update request is to delete data, a condition satisfying set expressed as a complementary set is acquired from the complementary set expression target storage means 34, and among these, the assumed retrieval condition corresponding to the data to be deleted corresponds to For those that do not satisfy, data is deleted from its complement. These two processes are necessary to correctly maintain a condition satisfaction set that cannot be obtained from the assumed search conditions that the data satisfies before and after the update.

【0009】次に、通常の集合の表現から補集合による
表現に変換すべき条件満足集合があるか、もしくは逆
に、補集合による表現から通常の集合の表現に変換すべ
き条件満足集合があるかどうかの判定を行う(ステップ
A14)。この判定は、表現に用いられる集合が小さく
なるように行う。例として、集合の要素数によって判定
を行う場合、通常の集合で表現されている場合はこの集
合の要素数が、補集合で表現されている場合はこの補集
合の要素数が、例えば全体の要素数の3分の2以上にな
った時に変換を行う。要素数だけに限らず、想定検索条
件の性質や記憶されるデータの性質など、種々の点を考
慮して判定してもよい。もし変換を行うべき集合がある
ならば、補集合計算手段25を用いて、その条件満足集
合の表現を判定結果に従って変換する(ステップA1
5)。なお、補集合計算手段25は補集合を求めるため
に全体集合記憶手段32を参照する。これを、表現の変
換をすべき条件満足集合がなくなるまで繰り返す。表現
の変換をすべき条件満足集合がなくなったら、結果を出
力して(ステップA40)、終了する。
Next, there is a condition satisfying set to be converted from a normal set expression to a complement set expression, or conversely, a condition satisfying set to be converted from a complementary set expression to a normal set expression. It is determined whether or not (Step A14). This determination is made so that the set used for the expression becomes smaller. As an example, when the determination is made based on the number of elements of a set, the number of elements of this set is represented by a normal set, and the number of elements of this complement set is represented by a complement set. Conversion is performed when the number of elements becomes 2/3 or more. The determination may be made in consideration of not only the number of elements but also various points such as the property of the assumed search condition and the property of the stored data. If there is a set to be converted, the expression of the set satisfying the condition is converted according to the determination result using the complementary set calculation means 25 (step A1).
5). Note that the complement set calculation means 25 refers to the whole set storage means 32 in order to obtain a complement set. This is repeated until there is no more condition-satisfiable set for which the expression needs to be converted. When there are no more condition-satisfiable sets for which the expression needs to be converted, the result is output (step A40), and the process ends.

【0010】次に、検索要求の処理の動作について説明
する。検索要求を受け取った検索手段23は、まず、検
索条件から利用可能な想定検索条件を求める(ステップ
A21)。次に、これら想定検索条件に対応する条件満
足集合を条件満足集合記憶手段33から得る(ステップ
A22)。ここで得られた条件満足集合あるいは中間的
な結果集合には対応する条件を満たさないデータのID
が含まれている場合がある。そこで、対応する条件を満
たさないデータのIDを削除するかどうかの判定を行う
(ステップA23)。この判定には、正しい検索結果を
得るためにチェックが必要かどうかを考慮するほか、効
率などを考慮して行ってもよい。チェックを行うと判定
された集合から、対応する条件を満たさないデータのI
Dを削除する(ステップA24)。
Next, the operation of processing a search request will be described. Upon receiving the search request, the search means 23 first obtains available search conditions from the search conditions (step A21). Next, condition satisfaction sets corresponding to these assumed search conditions are obtained from the condition satisfaction set storage unit 33 (step A22). The ID of the data that does not satisfy the corresponding condition in the condition satisfaction set or intermediate result set obtained here
May be included. Therefore, it is determined whether to delete the ID of the data that does not satisfy the corresponding condition (step A23). This determination may be made in consideration of whether or not a check is necessary to obtain a correct search result, or may be performed in consideration of efficiency or the like. From the set determined to be checked, the I of data that does not satisfy the corresponding condition
D is deleted (step A24).

【0011】次に、最終的な検索結果が得られているか
どうか判定を行う(ステップA25)。 最終的な結果
が得られていない、すなわち、中間的な結果しか得られ
ていない場合、中間的な結果に対して必要な集合演算を
行う(ステップA26)。例えば、検索条件、もしくは
それを構成する部分的な条件が、複数の条件のANDに
なっている場合は、各条件に対応する中間的な結果の集
合の共通部分をとる。 ANDではなくORの場合は和
集合、NOTの場合は補集合をとる。なお、必ずしも一
度に必要な集合演算のすべてを行う必要はなく、集合演
算の一部だけを行って、その中間結果に対して再び条件
を満たさないデータの削除を行うかどうかの判定(ステ
ップA23)へ進むこともできる。
Next, it is determined whether a final search result has been obtained (step A25). If the final result has not been obtained, that is, if only an intermediate result has been obtained, a necessary set operation is performed on the intermediate result (step A26). For example, when a search condition or a partial condition constituting the search condition is an AND of a plurality of conditions, a common part of a set of intermediate results corresponding to each condition is taken. In the case of OR instead of AND, the union is taken, and in the case of NOT, the complement is taken. Note that it is not always necessary to perform all of the necessary set operations at once, and it is determined whether to perform only a part of the set operations and delete the data that does not satisfy the condition again for the intermediate result (step A23). You can also proceed to).

【0012】集合演算を行う処理(ステップA26)に
おいて、条件満足集合、もしくはそれから求められた中
間的な集合は補集合で表現されている場合がある。そこ
で、補集合をとる演算と、補集合により表現された集合
が含まれる共通部分もしくは和集合の演算は次のように
して行う。集合AとBの共通部分をとる場合、もしAの
みがその補集合A’で表現されているならばB−A’を
計算してこれを結果とし、もしBのみがその補集合B’
で表現されているならばA−B’を計算してこれを結果
とし、もし両方がその補集合A’とB’で表現されてい
るならばA’とB’の和集合を計算してその補集合を結
果とする。集合AとBの和集合をとる場合、もしAのみ
がその補集合A’で表現されているならばA’−Bを計
算してその補集合を結果とし、 もしBのみがその補集
合B’で表現されているならばB’−Aを計算してその
補集合を結果とし、もし両方がその補集合A’とB’で
表現されているならばA’とB’の共通部分を計算して
その補集合を結果とする。集合Aの補集合をとる場合
は、Aがその補集合A’で表現されているならばA’を
結果とし、通常の集合で表現されているならばAの補集
合を結果とする。最終的な結果が得られたら、結果を出
力して(ステップA40)、終了する。また、要求が更
新要求でも検索要求でもない場合はそれに適した処理を
行い(ステップA30)、終了する。
In the process of performing the set operation (step A26), the set satisfying the condition or an intermediate set obtained therefrom may be represented by a complement set. Therefore, the operation of taking the complement and the operation of the common part or the union including the set represented by the complement are performed as follows. If the intersection of sets A and B is taken, if only A is represented by its complement A ', then B-A' is calculated and this is the result, and only B is its complement B '
If it is represented by, calculate AB 'and obtain this result, and if both are represented by its complements A' and B ', calculate the union of A' and B ' The complement is the result. If the union of sets A and B is taken, if only A is represented by its complement A ', then A'-B is calculated and its complement is the result, if only B is its complement B 'And compute the complement B'-A and represent the complement, and if both are represented by the complements A' and B ', the intersection of A' and B ' Compute and make the complement the result. When taking the complement of set A, if A is represented by its complement A ', A' is the result, and if it is represented by a normal set, the complement of A is the result. When the final result is obtained, the result is output (step A40), and the process ends. If the request is neither an update request nor a search request, a process suitable for the request is performed (step A30), and the process ends.

【0013】なお、第1の実施の形態において、条件満
足集合の表現変換の判定と実行(ステップA14、A1
5)は情報の更新処理の中でのみ行っているが、これ以
外の処理の中で行ってもよい。また、検索処理の途中
で、中間的な結果集合に対してこの表現変換の判定と実
行を行ってもよい。また、条件満足集合の更新を行う時
点で、更新される条件満足集合ごとに、この表現変換の
判定と実行を行ってもよい。また、第1の実施の形態に
おいて、データがあらかじめ用意されていて情報の更新
が不要である場合は、情報更新手段22、条件満足集合
更新手段24、補集合計算手段25、補集合表現対象記
憶手段34は取り除いてもよい。この場合、更新に関係
する動作(ステップA10〜A15)も不要で、動作は
ステップA20から始める。さらに、要求の種類が検索
のみである場合は、要求分類手段21を取り除いてもよ
い。この場合、要求を分類する動作と他の処理の動作
(ステップA20、A30)も不要で、動作はステップ
A21から始める。
In the first embodiment, the determination and execution of the expression conversion of the set satisfying the condition (steps A14 and A1)
5) is performed only in the information update processing, but may be performed in other processing. Further, during the search process, the determination and execution of the expression conversion may be performed on an intermediate result set. Also, at the time of updating the condition satisfaction set, the determination and execution of this expression conversion may be performed for each updated condition satisfaction set. In the first embodiment, if data is prepared in advance and updating of information is unnecessary, information updating means 22, condition-satisfied set updating means 24, complement set calculating means 25, complementary set expression object storage Means 34 may be eliminated. In this case, the operation related to updating (steps A10 to A15) is also unnecessary, and the operation starts from step A20. Further, when the type of request is only retrieval, the request classification means 21 may be omitted. In this case, the operation of classifying the request and the operation of other processing (steps A20 and A30) are unnecessary, and the operation starts from step A21.

【0014】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。図3を参照すると、本
発明の第2の実施の形態は、情報検索プログラムを記録
した記録媒体6を備える。この記録媒体6は磁気ディス
ク、半導体メモリその他の記録媒体であってよい。情報
検索プログラムは記録媒体6からデータ処理装置5に読
み込まれ、データ処理装置5の動作を制御する。データ
処理装置5は情報検索プログラムの制御により、第1の
実施の形態におけるデータ処理装置2による処理と同一
の処理を実行する。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. Referring to FIG. 3, the second embodiment of the present invention includes a recording medium 6 on which an information search program is recorded. The recording medium 6 may be a magnetic disk, a semiconductor memory, or another recording medium. The information search program is read from the recording medium 6 into the data processing device 5 and controls the operation of the data processing device 5. The data processing device 5 executes the same processing as the processing by the data processing device 2 in the first embodiment under the control of the information search program.

【0015】次に、本発明の実施例を、図面を参照して
説明する。かかる実施例は本発明の第1の実施の形態に
対応するものである。本実施例は、要求入力装置として
キーボードを、データ処理装置としてパーソナル・コン
ピュータを、記憶装置として磁気ディスク記憶装置を、
結果出力装置としてディスプレイを備えている。パーソ
ナル・コンピュータは、要求分類手段、情報更新手段、
検索手段、条件満足集合更新手段、補集合計算手段、集
合演算実行手段として機能する中央演算装置を有してお
り、また磁気ディスク記憶装置には、データ、全体集
合、条件満足集合、補集合表現対象が記憶される。
Next, an embodiment of the present invention will be described with reference to the drawings. Such an example corresponds to the first embodiment of the present invention. In this embodiment, a keyboard is used as a request input device, a personal computer is used as a data processing device, a magnetic disk storage device is used as a storage device,
A display is provided as a result output device. The personal computer includes a request classification unit, an information updating unit,
It has a central processing unit that functions as search means, condition-satisfied set updating means, complement set calculating means, and set operation executing means. The magnetic disk storage device has data, whole sets, condition-satisfied sets, and complement set expressions. The object is stored.

【0016】例として、会社組織と社員の情報を蓄積す
るディレクトリサービスを考える。図4のようなエント
リの階層の情報が記憶されており、各エントリには図に
示した1から9のIDが付けられ、このIDの順にデー
タが追加されたとする。各エントリは属性として、それ
ぞれの名前“cn”と、エントリのクラスを示す“object
class”を持つとする。会社と部の objectclass は“or
ganization”、社員A〜Fの objectclass は“perso
n”であるとする。ID7の社員Dまでを追加した状態
から、キーボードで要求を入力してID8の社員Eを追
加した時、想定検索条件とそれに対応する条件満足集合
は図5のように変化する。すなわち、想定検索条件“cn
=E”と“objectclass=person”に対応する 条件満足集
合にID8が追加される。
As an example, consider a directory service that stores information on company organizations and employees. It is assumed that the information of the hierarchy of the entry as shown in FIG. 4 is stored, each entry is assigned an ID of 1 to 9 shown in the figure, and data is added in the order of this ID. Each entry is attributed with its name “cn” and an “object” indicating the class of the entry.
class ”and the objectclass of the company and department is“ or
ganization ”, and the objectclass of employees A to F is“ perso
n ”. When a request is entered with the keyboard and an employee E of ID8 is added from a state where the employee D of ID7 is added, the assumed search condition and the condition satisfaction set corresponding thereto are as shown in FIG. That is, the expected search condition “cn
ID8 is added to the condition satisfaction set corresponding to “= E” and “objectclass = person”.

【0017】例えばここで、名前がEであるエントリを
検索する要求が入力された場合、想定検索条件“cn=
E”に対応する条件満足集合を見つけることによって
検索結果を絞り込み、最終的な検索結果はディスプレイ
に表示される。 なお、通常は、想定検索条件を示す部
分に木構造やハッシュなどを用いて処理を高速化する。
さらに、ID9の社員Fを追加した時点で、“objectcl
ass=person”に対応する条件満足集合を補集合による表
現に変換するよう中央演算装置が判定したとすると、想
定検索条件とそれに対応する条件満足集合は図6のよう
に変化する。このとき中央演算装置が“4,5,6,7,8,9”
となった集合の補集合“1,2,3”を求め、この条件満足
集合が補集合として表現されていることと、この補集合
とを記録する。
For example, here, when a request for searching for an entry whose name is E is input, the assumed search condition “cn =
By finding the set satisfying the condition corresponding to E ”
The search results are refined, and the final search results are displayed on the display. Normally, the processing is speeded up by using a tree structure, a hash, or the like for a portion indicating the assumed search condition.
Further, when the employee F with the ID 9 is added, “objectcl
Assuming that the central processing unit determines to convert the condition satisfying set corresponding to “ass = person” into a complement set expression, the assumed search condition and the corresponding condition satisfying set change as shown in FIG. The arithmetic unit is “4,5,6,7,8,9”
The complement set “1,2,3” of the set that has been obtained is obtained, and the fact that the condition satisfying set is expressed as a complement set and this complement set are recorded.

【0018】[0018]

【発明の効果】本実施の形態の効果について説明する。
本実施の形態では、条件満足集合が大きい場合にはその
補集合による表現にし、逆に小さい場合には通常の集合
による表現にするように構成されているため、条件満足
集合の記憶領域を削減でき、その処理効率も向上でき
る。
The effects of the present embodiment will be described.
In this embodiment, when the condition satisfying set is large, the expression is represented by its complement, and when the condition satisfying set is small, the expression is represented by the ordinary set. And the processing efficiency can be improved.

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

【図1】 本発明の第1の実施の形態の構成を示すブロ
ック図。
FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention.

【図2】 第1の実施の形態の動作を示す流れ図。FIG. 2 is a flowchart showing the operation of the first embodiment.

【図3】 本発明の第2の実施の形態の構成を示すブロ
ック図。
FIG. 3 is a block diagram showing a configuration of a second embodiment of the present invention.

【図4】 本発明の実施例を説明するための図。FIG. 4 is a diagram illustrating an embodiment of the present invention.

【図5】 本発明の実施例を説明するための図。FIG. 5 is a diagram illustrating an embodiment of the present invention.

【図6】 本発明の実施例を説明するための図。FIG. 6 is a diagram illustrating an embodiment of the present invention.

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

1 … 要求入力手段 2 … データ処理装置 21… 要求分類手段 22… 情報更新手段 23… 検索手段 24… 条件満足集合更新手段 25… 補集合計算手段 26… 集合演算実行手段 3 … 記憶装置 31… データ記憶手段 32… 全体集合記憶手段 33… 条件満足集合記憶手段 34… 補集合表現対象記憶手段 4 … 結果出力手段 5 … データ処理装置 6 … 記録媒体 DESCRIPTION OF SYMBOLS 1 ... Request input means 2 ... Data processing device 21 ... Request classification means 22 ... Information update means 23 ... Search means 24 ... Condition satisfaction set update means 25 ... Complement set calculation means 26 ... Set operation execution means 3 ... Storage device 31 ... Data Storage means 32 ... Whole set storage means 33 ... Condition satisfying set storage means 34 ... Complementary set representation target storage means 4 ... Result output means 5 ... Data processing device 6 ... Recording medium

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 想定される検索条件とそれを満足するデ
ータの集合を対応させて記憶し、検索処理に用いる情報
検索システムにおいて、 想定される検索条件を満足するデータの集合が大きい場
合に、その補集合の表現によって記憶して検索処理に用
いることを特徴とする情報検索システム。
1. An information retrieval system for storing an assumed search condition and a set of data satisfying the search condition in association with each other, and using a search process, when a set of data satisfying the assumed search condition is large, An information retrieval system characterized in that the information is stored in the representation of its complement and used for retrieval processing.
【請求項2】 想定される検索条件とそれを満足するデ
ータの集合を対応させて記憶し、検索処理に用いる情報
検索システムにおいて、 想定される検索条件と、それを満足するデータの集合、
すなわち通常の集合もしくはその補集合の表現による集
合とを記憶する条件満足集合記憶手段と、 データの全体集合を記憶する全体集合記憶手段と、 データの検索を行う検索手段とを備えたことを特徴とす
る情報検索システム。
2. An information retrieval system which stores an assumed search condition and a set of data satisfying the search condition in association with each other, and uses the search condition, a set of data satisfying the search condition,
That is, it comprises condition-satisfied set storage means for storing an ordinary set or a set represented by a complement thereof, whole set storage means for storing an entire set of data, and search means for searching for data. Information retrieval system.
【請求項3】 データの追加、削除、変更、もしくはこ
れらの一部を行う情報更新手段と、与えられたデータの
集合の補集合を計算する補集合計算手段とを備える情報
検索システムにおいて、 前記情報更新手段がデータの追加、削除、変更を行う際
に、想定される検索条件を満足するデータの集合が大き
い場合にはこれを補集合によって表現し、小さい場合に
はこれを通常の集合によって表現するように表現の変換
を行うことを特徴とする請求項2記載の情報検索システ
ム。
3. An information retrieval system comprising: an information updating unit that adds, deletes, or changes data, or a part thereof; and a complement calculating unit that calculates a complement of a given set of data. When the information updating means adds, deletes, or modifies data, if the set of data that satisfies the assumed search condition is large, it is represented by the complement set, and if it is small, it is represented by the normal set. 3. The information retrieval system according to claim 2, wherein the expression is converted so as to be expressed.
【請求項4】 想定される検索条件を満足するデータの
集合のうち、どの集合が補集合によって表現されている
かを記憶する補集合表現対象記憶手段を備える情報検索
システムにおいて、 前記情報更新手段が、データの追加/削除の際に、上記
補集合表現対象記憶手段から補集合として表現されてい
る集合を取得し、これらの内、追加/削除されるデータ
が対応する想定検索条件を満たさないものに対し、その
補集合にデータを追加/削除することを特徴とする請求
項3記載の情報検索システム。
4. An information search system comprising a complement set expression storage means for storing which set among data sets satisfying an assumed search condition is represented by a complement set, wherein the information updating means is When adding / deleting data, a set expressed as a complement set is obtained from the complement set expression target storage means, and the data to be added / deleted does not satisfy the corresponding assumed search condition. 4. An information retrieval system according to claim 3, wherein data is added to or deleted from the complement set.
【請求項5】 想定される検索条件を満足するデータの
集合もしくは演算の中間結果の集合の集合演算を行う集
合演算手段を備える情報検索システムにおいて、 上記集合演算手段が集合AとBの共通部分をとる場合、
もしAのみがその補集合A’で表現されているならばB
−A’を計算してこれを結果とし、もしBのみがその補
集合B’で表現されているならばA−B’を計算してこ
れを結果とし、もし両方がその補集合A’とB’で表現
されているならばA’とB’の和集合を計算してその補
集合を結果とすること、 上記集合演算手段が集合AとBの和集合をとる場合、も
しAのみがその補集合A’で表現されているならばA’
−Bを計算してその補集合を結果とし、もしBのみがそ
の補集合B’で表現されているならばB’−Aを計算し
てその補集合を結果とし、もし両方がその補集合A’と
B’で表現されているならばA’とB’の共通部分を計
算してその補集合を結果とすること、 の2つのうち少なくとも1つを行うことを特徴とする請
求項2、3または4に記載の情報検索システム。
5. An information retrieval system comprising a set operation means for performing a set operation of a set of data or a set of intermediate results of an operation satisfying an assumed search condition, wherein the set operation means is a common part of the sets A and B. If you take
If only A is represented by its complement A ', then B
-A 'is computed and this is the result; if only B is represented by its complement B', then AB 'is computed and this is the result, and both have its complement A' and If it is represented by B ', the union of A' and B 'is calculated and its complement is set as a result. If the set operation means takes the union of A and B, only A If it is represented by its complement A ', then A'
Calculate B and its complement as a result, if only B is represented by its complement B ', compute B'-A and its complement as a result, and if both are its complements 3. The method according to claim 2, wherein, if represented by A 'and B', a common part of A 'and B' is calculated and its complement is set as a result. 3. The information retrieval system according to 3 or 4.
【請求項6】 想定される検索条件を満足するデータの
集合もしくは演算の中間結果の集合の集合演算を行う集
合演算手段を備える情報検索システムにおいて、 該集合演算手段が、集合Aの補集合をとる場合、Aがそ
の補集合A’で表現されているならばA’を結果とし、
通常の集合で表現されているならばAの補集合を結果と
すること、を特徴とする請求項2、3、4または5に記
載の情報検索システム。
6. An information retrieval system comprising: set operation means for performing a set operation of a set of data or a set of intermediate results of an operation which satisfies an assumed search condition, wherein the set operation means sets a complement of the set A If A is represented by its complement A ', then A' is the result,
6. The information search system according to claim 2, wherein a complement set of A is obtained as a result if the set is represented by a normal set.
【請求項7】 検索条件と該条件を満足するデータの集
合とを記憶する条件満足集合記憶手段と、データの全体
集合を記憶する全体集合記憶手段と、データの検索を行
う検索手段とを備える情報検索システムの情報検索方法
において、 想定される検索条件と、それを満足するデータの集合と
を通常の集合もしくはその補集合の表現によって上記条
件満足集合記憶手段に記憶させ、 データの全体集合を上記全体集合記憶手段に記憶させ、 上記検索手段ではこれらを用いて検索処理を行う、 の各過程を有することを特徴とする情報検索方法。
7. A condition satisfying set storing means for storing a search condition and a set of data satisfying the condition, an entire set storing means for storing an entire set of data, and a searching means for searching data. In an information search method of an information search system, an assumed search condition and a set of data satisfying the assumed condition are stored in the condition-satisfied set storage means by a normal set or its complement, and the entire set of data is stored. An information search method, comprising the steps of: storing in the entire set storage means; and performing search processing using the search means.
【請求項8】 データの追加、削除、変更を行う際に、
想定される検索条件を満足するデータの集合が大きい場
合にはこれを補集合によって表現し、小さい場合にはこ
れを通常の集合によって表現するように、補集合の計算
を行って表現の変換を行うことを特徴とする請求項7記
載の情報検索方法。
8. When adding, deleting, or changing data,
When the set of data that satisfies the assumed search condition is large, it is represented by a complement, and when it is small, it is represented by a normal set. 8. The information search method according to claim 7, wherein the method is performed.
【請求項9】 想定される検索条件を満足するデータの
集合のうち、どの集合が補集合によって表現されている
かを記憶させ、データの追加/削除の際に、補集合表現
対象記憶手段から補集合として表現されている集合を取
得し、これらのうち、追加/削除されるデータが対応す
る想定検索条件を満たさないものに対し、その補集合に
データを追加/削除することを特徴とする請求項8記載
の情報検索方法。
9. A set of data that satisfies an assumed retrieval condition is stored as to which set is represented by a complement set. Acquiring a set expressed as a set, and adding / deleting data to a complement set of the set whose data to be added / deleted does not satisfy the corresponding assumed search condition. Item 8. The information retrieval method according to Item 8.
【請求項10】 想定される検索条件を満足するデータ
の集合もしくは演算の中間結果の集合の集合演算を行う
際、 集合AとBの共通部分をとる場合、もしAのみがその補
集合A’で表現されているならばB−A’を計算してこ
れを結果とし、もしBのみがその補集合B’で表現され
ているならばA−B’を計算してこれを結果とし、もし
両方がその補集合A’とB’で表現されているならば
A’とB’の和集合を計算してその補集合を結果とする
こと、 集合AとBの和集合をとる場合、もしAのみがその補集
合A’で表現されているならばA’−Bを計算してその
補集合を結果とし、もしBのみがその補集合B’で表現
されているならばB’−Aを計算してその補集合を結果
とし、もし両方がその補集合A’とB’で表現されてい
るならばA’とB’の共通部分を計算してその補集合を
結果とすること、 の2つのうち少なくとも1つを行うことを特徴とする請
求項7、8または9に記載の情報検索方法。
10. When performing a set operation on a set of data or a set of intermediate results of an operation that satisfies an assumed search condition, if the intersection of sets A and B is taken, only A has its complement A ′ If B is represented by B ′, the result is calculated, and if only B is represented by its complement B ′, AB ′ is calculated and the result is obtained. If both are represented by their complements A 'and B', then the union of A 'and B' is calculated and the complement is obtained. If the union of sets A and B is taken, If only A is represented by its complement A ', then calculate A'-B and result in its complement; if only B is represented by its complement B', then B'-A And its complement set as the result, and if both are represented by their complements A 'and B', the intersection of A 'and B' 10. The information retrieval method according to claim 7, wherein at least one of the following two operations is performed: calculating the result and obtaining a complement thereof.
【請求項11】 想定される検索条件を満足するデータ
の集合もしくは演算の中間結果の集合の集合演算を行う
際、集合Aの補集合をとる場合、Aがその補集合A’で
表現されているならばA’を結果とし、通常の集合で表
現されているならばAの補集合を結果とすることを特徴
とする請求項7、8、9または10に記載の情報検索方
法。
11. When performing a set operation on a set of data or a set of intermediate results of an operation that satisfies an assumed search condition, if a complement of the set A is taken, A is represented by its complement A ′. 11. The information retrieval method according to claim 7, wherein A 'is used as a result if the data is present, and a complement of A is used as a result if the data is represented by a normal set.
【請求項12】 検索条件と該条件を満足するデータの
集合とを記憶する条件満足集合記憶手段と、データの全
体集合を記憶する全体集合記憶手段と、データの検索を
行う検索手段を備える情報検索システムにおいて使用さ
れる記録媒体には、 想定される検索条件と、それを満足するデータの集合、
すなわち通常の集合もしくはその補集合の表現による集
合とを条件満足集合記憶手段に記憶させる処理と、 データの全体集合を全体集合記憶手段に記憶させる処理
と、 これら記憶手段を用いた検索処理と、 を実行するためのプログラムが記録されていることを特
徴とする記録媒体。
12. Information comprising a condition satisfying set storing means for storing a search condition and a set of data satisfying the condition, an entire set storing means for storing an entire set of data, and a searching means for searching data. The recording media used in the search system include assumed search conditions, a set of data that satisfies them,
That is, a process of storing a normal set or a set represented by its complement in the condition satisfaction set storage means, a process of storing the entire set of data in the whole set storage means, a search processing using these storage means, A recording medium on which a program for executing the program is recorded.
【請求項13】 前記処理に加え、データの追加、削
除、変更、もしくはこれらの一部を行う情報更新処理
と、与えられたデータの集合の補集合を計算する処理
と、データの追加、削除、変更を行う際に、想定される
検索条件を満足するデータの集合が大きい場合にはこれ
を補集合によって表現し、小さい場合にはこれを通常の
集合によって表現するように表現の変換を行う処理とを
実行するためのプログラムが記録されていることを特徴
とする請求項12記載の記録媒体。
13. In addition to the above-mentioned processing, information updating processing for adding, deleting, or changing data or a part thereof, processing for calculating a complement of a given set of data, addition and deletion of data When making a change, if the set of data that satisfies the assumed search condition is large, it is represented by a complement set, and if it is small, the representation is converted so that it is represented by a normal set. 13. The recording medium according to claim 12, wherein a program for executing the processing is recorded.
【請求項14】 前記処理に加え、想定される検索条件
を満足するデータの集合のうち、どの集合が補集合によ
って表現されているかを補集合表現対象記憶手段に記憶
させる処理を実行するためのプログラムが記録され、前
記情報更新処理において、データの追加/削除の際に、
補集合表現対象記憶手段から補集合として表現されてい
る集合を取得し、これらのうち、追加/削除されるデー
タが対応する想定検索条件を満たさないものに対し、そ
の補集合にデータを追加/削除することを特徴とする請
求項13記載の記録媒体。
14. In addition to the above-mentioned processing, a processing for storing, in a complement set representation target storage means, which set of data sets satisfying an assumed search condition is represented by a complement set, A program is recorded, and when adding / deleting data in the information updating process,
A set represented as a complement set is acquired from the complement set representation target storage means, and among those, the data to be added / deleted does not satisfy the corresponding assumed search condition, and the data is added to the complement set / 14. The recording medium according to claim 13, wherein the recording medium is deleted.
【請求項15】 前記処理に加え、想定される検索条件
を満足するデータの集合もしくは演算の中間結果の集合
の集合演算を行う際、 集合AとBの共通部分をとる場合、もしAのみがその補
集合A’で表現されているならばB−A’を計算してこ
れを結果とし、もしBのみがその補集合B’で表現され
ているならばA−B’を計算してこれを結果とし、もし
両方がその補集合A’とB’で表現されているならば
A’とB’の和集合を計算してその補集合を結果とする
処理、 集合AとBの和集合をとる場合、もしAのみがその補集
合A’で表現されているならばA’−Bを計算してその
補集合を結果とし、もしBのみがその補集合B’で表現
されているならばB’−Aを計算してその補集合を結果
とし、もし両方がその補集合A’とB’で表現されてい
るならばA’とB’の共通部分を計算してその補集合を
結果とする処理、 の2つのうち少なくとも1つの処理を実行するためのプ
ログラムが記録されていることを特徴とする請求項1
2、13または14に記載の記録媒体。
15. In addition to the above processing, when performing a set operation on a set of data or a set of intermediate results of an operation that satisfies an assumed search condition, if a common part of sets A and B is taken, only A If it is represented by its complement A ', calculate B-A' and give this result; if only B is represented by its complement B ', calculate AB' and And if both are represented by their complements A 'and B', the process of calculating the union of A 'and B' and taking the complement as a result, the union of sets A and B , If only A is represented by its complement A ′, then A′−B is calculated and the complement is obtained, and if only B is represented by its complement B ′, If B'-A is computed and its complement is the result, A 'if both are represented by its complements A' and B ' Claim B 'intersection and the calculation process of the complement results, two programs for executing at least one processing out of the can, characterized in that the recorded 1
15. The recording medium according to 2, 13, or 14.
【請求項16】 前記処理に加え、想定される検索条件
を満足するデータの集合もしくは演算の中間結果の集合
の集合演算を行う際、集合Aの補集合をとる場合、Aが
その補集合A’で表現されているならばA’を結果と
し、通常の集合で表現されているならばAの補集合を結
果とする処理を実行するためのプログラムが記録されて
いることを特徴とする請求項12、13、14または1
5に記載の記録媒体。
16. In addition to the processing described above, when performing a set operation on a set of data or a set of intermediate results of an operation that satisfies an assumed search condition, if the complement set of the set A is taken, A is the complement set A A program for executing a process that results in A if represented by ', and a complement of A if represented by a normal set. Item 12, 13, 14, or 1
6. The recording medium according to 5.
JP11005771A 1999-01-12 1999-01-12 Information retrieval system, information retrieving method and program recording medium for information retrieval Pending JP2000207402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11005771A JP2000207402A (en) 1999-01-12 1999-01-12 Information retrieval system, information retrieving method and program recording medium for information retrieval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11005771A JP2000207402A (en) 1999-01-12 1999-01-12 Information retrieval system, information retrieving method and program recording medium for information retrieval

Publications (1)

Publication Number Publication Date
JP2000207402A true JP2000207402A (en) 2000-07-28

Family

ID=11620400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11005771A Pending JP2000207402A (en) 1999-01-12 1999-01-12 Information retrieval system, information retrieving method and program recording medium for information retrieval

Country Status (1)

Country Link
JP (1) JP2000207402A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170404A (en) * 2013-03-04 2014-09-18 Toshiba Tec Corp Code reader and program
JP2016528599A (en) * 2013-06-27 2016-09-15 ユーロクリア エスエー エヌヴィーEuroclear Sa/Nv Improved inventory sourcing system
US11321775B2 (en) 2013-06-27 2022-05-03 Euroclear Sa/Nv Asset inventory system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170404A (en) * 2013-03-04 2014-09-18 Toshiba Tec Corp Code reader and program
JP2016528599A (en) * 2013-06-27 2016-09-15 ユーロクリア エスエー エヌヴィーEuroclear Sa/Nv Improved inventory sourcing system
JP2019149185A (en) * 2013-06-27 2019-09-05 ユーロクリア エスエー エヌヴィーEuroclear Sa/Nv Asset inventory system and computer-implemented method of performing electronic collateralization search
US10552900B2 (en) 2013-06-27 2020-02-04 Euroclear Sa/Nv Asset inventory system
US11321775B2 (en) 2013-06-27 2022-05-03 Euroclear Sa/Nv Asset inventory system

Similar Documents

Publication Publication Date Title
CN110168523B (en) Change monitoring cross-graph query
US20050223325A1 (en) Document structure-editing program, document structure-editing method, document structure-editing apparatus, and computer-readable recording medium having document structure-editing program recorded thereon
JP2014149564A (en) Information processing apparatus, information processing method and program
CN112464625B (en) Document generation method, device, computer equipment and storage medium
JP2004030221A (en) Method for automatically detecting table to be modified
JP4375626B2 (en) Search service system and method for providing input order of keywords by category
US6701328B1 (en) Database management system
KR102153259B1 (en) Data domain recommendation method and method for constructing integrated data repository management system using recommended domain
JP5287071B2 (en) Database management system and program
US20130226619A1 (en) Input support device and input support method
JP2000207402A (en) Information retrieval system, information retrieving method and program recording medium for information retrieval
JP2002140332A (en) Feature quantity importance calculation method, and keyword image feature quantity expression database generation and image database retrieval using the same
JP7381290B2 (en) Computer system and data management method
KR20220099745A (en) A spatial decomposition-based tree indexing and query processing methods and apparatus for geospatial blockchain data retrieval
JP2001147923A (en) Device and method for retrieving similar document and recording medium
JPH04245342A (en) Distributed data base system
JP3933407B2 (en) Document processing apparatus, document processing method, and storage medium storing document processing program
JPH0836548A (en) System state information managing device
JP2005085109A (en) Information retrieval device and program
JPH0535798A (en) Data base retrieving device
JP2007156844A (en) Data registration/retrieval system and data registration/retrieval method
JP6627809B2 (en) Database processing apparatus, system, method and program
JP2007025831A (en) Content retrieval apparatus and its method
JP2023103884A (en) Lineage management system and method for managing lineage
JP2003330957A (en) Set attribute retrieval system, method, and program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030603