JPS6380325A - Information retrieval method and index used therefor - Google Patents

Information retrieval method and index used therefor

Info

Publication number
JPS6380325A
JPS6380325A JP61225311A JP22531186A JPS6380325A JP S6380325 A JPS6380325 A JP S6380325A JP 61225311 A JP61225311 A JP 61225311A JP 22531186 A JP22531186 A JP 22531186A JP S6380325 A JPS6380325 A JP S6380325A
Authority
JP
Japan
Prior art keywords
data
search
index
update
retrieval
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
JP61225311A
Other languages
Japanese (ja)
Other versions
JPH071480B2 (en
Inventor
Mitsuru Kawashita
川下 満
Mitsuo Nagaoka
長岡 満夫
Tetsuo Tsuboi
坪井 哲夫
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP61225311A priority Critical patent/JPH071480B2/en
Publication of JPS6380325A publication Critical patent/JPS6380325A/en
Publication of JPH071480B2 publication Critical patent/JPH071480B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain efficient updating and retrieval of data by providing an index corresponding to a key word and a revised time so as to reference the index at the retrieval of updated data. CONSTITUTION:In applying addition and revision to a retrieved data of a retrieval object data storage section 6 based on the data inputted from a terminal device 4, the correspondence between the revised data and the key word in the retrieval index reserved in the retrieval index storage section 7 and the correspondence between the revised data and the key word and data revision time in the reservation retrieval index stored in a reservation retrieval index storage section 8 are executed. Then a reservation retrieval processing section 9 compares the key word in the retrieval condition with the key word in the storage section 8 at the time designated at each retrieval condition of the retrieval condition storage section 3 according to a prescribed logic equation, the revised data satisfying the equation is used to retrieve the revised data taken place after the preceding retrieval under the retrieval condition and the result is transferred to a terminal device 10. The data updating and retrieval are executed efficiently by adopting the system using the key word and index.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報検索方法およびこれに用いるインデックス
に関し、特に、操作者が事前に登録した予約検索実行時
間に、操作者が事前に登録した検索条件内のキーワード
とインデックス内のキーワードとを所定の理論式に従っ
て比較して、この所定の論理式を満たすキーワードを持
つ更新データで、しかも、検索を行っている検索条件で
の前回の検索以降に更新された更新データを検索する、
いわゆる予約情報検索(以下、「予約検索」という)に
好適な情報検索方法およびこれに用いるインデックス、
すなわち、予約検索用インデックスに関するものである
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information retrieval method and an index used therein, and in particular, the present invention relates to an information retrieval method and an index used therein, and in particular, the present invention relates to an information retrieval method and an index used therein. The keywords in the conditions and the keywords in the index are compared according to a predetermined logical formula, and updated data that has keywords that satisfy this predetermined logical formula is also searched since the previous search using the search conditions. Search for updated update data,
An information search method suitable for so-called reservation information search (hereinafter referred to as "reservation search") and an index used therein;
That is, it relates to a reserved search index.

〔従来の技術〕[Conventional technology]

予約検索は、比較的新しい分野であり、今までに、幾つ
かの方法が試行されている。
Scheduled search is a relatively new field, and several methods have been tried so far.

その第一は、検索対象データのうち、更新データだけを
重複して持つようにして、この重複して持っている更新
データを対象として予約検索を行い、検索終了後にこの
更新データの重複分を消去する方法である。また、第二
の方法としては、検索対象データ自体に更新データであ
ることを示す印を付けて、予約検索実行後はこの印を消
す方法がある。
First, among the search target data, only updated data is duplicated, a scheduled search is performed for the updated data that is duplicated, and after the search is completed, the duplicated updated data is This is a method of erasing it. A second method is to attach a mark to the search target data itself to indicate that it is updated data, and to erase this mark after executing the scheduled search.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記第一の方法においては。 However, in the first method above.

(1)更新データと更新データとの対応付けを行わない
ため、複数の操作者が登録する複数の検索条件について
一時に検索を実行せざるを得す、操作者が事前に条件式
毎に登録する予約検索時刻における検索は実行できない
という問題および、 (2)更新データを、−時的にせよ重複して保存するた
め、検索対象データの追加または変更は、検索対象デー
タおよび重複して保存される更新データの両方に対して
行う必要があり、更新作業の効率が悪いという問題 があった。また、上記第二の方法においては、(1)更
新データと更新データとの対応付けを行わないため、複
数の操作者が登録する複数の検索条件について一時に検
索を実行せざるを得ず、操作者が事前に条件式毎に登録
する予約検索時刻における検索は実行できないという問
題および、 (2)更新データの有無にかかわらず、検索対象データ
のすべてについて、操作者が事前に登録した検索条件を
満たす検索対象データを検索した後、検索対象データ個
々に更新データである旨の印を調べ、この印のあるもの
を検索結果とすることになり、検索効率が悪いという問
題があった。
(1) Since there is no correspondence between updated data and updated data, the search has to be executed at the same time for multiple search conditions registered by multiple operators.The operator registers each conditional expression in advance. (2) Updated data is saved overlappingly, regardless of time, so additions or changes to the search target data are saved overlappingly with the search target data. The problem is that the update work is inefficient because it needs to be performed on both the update data and the update data. Furthermore, in the second method described above, (1) since no correspondence is established between update data and update data, a search must be executed at the same time for multiple search conditions registered by multiple operators; (2) Search conditions registered in advance by the operator for all search target data, regardless of whether there is updated data, cannot be executed at the scheduled search time that the operator registers for each conditional expression in advance. After searching for search target data that satisfies the requirements, each search target data is checked for a mark indicating that it is updated data, and those with this mark are taken as search results, resulting in a problem of poor search efficiency.

本発明は上記事情に鑑みてなされたもので、その第一の
目的は、従来の予約検索方法における上述の如き問題を
解消し、データの更新と更新データの検索とを、効率良
く行うことが可能な情報検索方法を提供することにある
。また、第二の目的は、上記情報検索に用いるに好適な
予約検索用インデックスを提供することにある。
The present invention has been made in view of the above circumstances, and its first purpose is to solve the above-mentioned problems in the conventional reservation search method and to efficiently update data and search for updated data. The objective is to provide a possible information retrieval method. A second purpose is to provide a reserved search index suitable for use in the above information search.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の第一の目的は、更新データを対象として操作者
により事前に登録された検索条件に合致するものを検索
する情報検索システムにおいて、前記更新データのキー
ワードおよびデータ更新時刻を登録するインデックスを
設けて、データ更新時に更新データを前記インデックス
内のキーワードおよびデータ更新時刻と対応付け、検索
実行時には前記インデックスを参照して、検索対象期間
内に更新されたデータを得るようにした情報検索方法に
よって達成される。
A first object of the present invention is to provide an information retrieval system that searches updated data for items that match search conditions registered in advance by an operator, in which an index for registering keywords and data update times of the updated data is provided. By the information search method, the updated data is associated with the keyword and data update time in the index at the time of data update, and the index is referred to at the time of search execution to obtain data updated within the search target period. achieved.

また、本発明の第二の目的は、更新データに含まれるキ
ーワード対応に設けたデータの更新期間対応部と、該更
新期間対応部の各エントリに対応する更新データの識別
子を格納する識別子格納部と、前記更新期間対応部の各
エントリに対応して更新期間を区切る時刻テーブルと、
該時刻テーブル上の現時刻を指す指標とから構成される
情報検索用インデックスによって達成される。
Further, a second object of the present invention is to provide an update period corresponding section of data provided corresponding to keywords included in update data, and an identifier storage section that stores an identifier of update data corresponding to each entry of the update period corresponding section. and a time table that divides update periods corresponding to each entry in the update period corresponding section;
This is achieved by an information retrieval index composed of an index indicating the current time on the time table.

〔作用〕[Effect]

本発明においては、データ更新時に、更新データをキー
ワードおよびデータ更新時刻と対応付けるためのインデ
ックス(予約検索用インデックス)を設け、予約検索の
実行時にはこのインデックスを参照することにより、上
記目的を達成するようにしたものである。
The present invention achieves the above purpose by providing an index (index for scheduled search) for associating updated data with keywords and data update times when updating data, and by referring to this index when executing scheduled searches. This is what I did.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の一実施例を示す情報検索システムのブ
ロック図である。図において、1は検索条件の登録を行
う操作者が操作する端末装置、2は検索条件の登録を行
う検索条件処理部、3は登録された検索条件を保存する
検索条件保存部、4は検索対象データの追加または変更
を行う操作者が操作する端末装置、5は検索対象データ
の追加または変更を行う検索対象データ処理部、6は検
索対象データを保存する検索対象データ保存部、7は検
索対象データのすべてをキーワードと対応付ける検索用
インデックスを保存する検索用インデックス保存部、8
は更新データをキーワードおよびデータ更新時刻と対応
付ける予約検索用インデックスを保存する予約検索用イ
ンデックス保存部、9は予約検索を実行する予約検索処
理部、lOは予約検索の結果を受取る操作者が操作する
端末装置を示している。
FIG. 2 is a block diagram of an information retrieval system showing one embodiment of the present invention. In the figure, 1 is a terminal device operated by an operator who registers search conditions, 2 is a search condition processing unit that registers search conditions, 3 is a search condition storage unit that stores registered search conditions, and 4 is a search A terminal device operated by an operator who adds or changes target data; 5 a search target data processing unit that adds or changes search target data; 6 a search target data storage unit that stores search target data; 7 a search a search index storage unit that stores a search index that associates all target data with keywords; 8;
9 is a scheduled search index storage unit that stores a scheduled search index that associates update data with keywords and data update times; 9 is a scheduled search processing unit that executes a scheduled search; IO is operated by an operator who receives the results of the scheduled search. A terminal device is shown.

検索条件処理部2は、端末装置1から入力される検索条
件を検索条件保存部3に保存する。検索対象データ処理
部5は、端末装置4から入力されるデータを基に、検索
対象データ保存部6で保存する検索対象データに追加ま
たは変更を行うとともに、更新データと検索用インデッ
クス保存部7で保存する検索用インデックス内のキーワ
ードとの対応付け、および、更新データと予約検索用イ
ンデックス保存部8で保存する予約検索用インデックス
内のキーワードおよびデータ更新時刻との対応付けを行
う、予約検索処理部9は検索条件保存部3に保存されて
いる検索条件毎に指定されている時刻に、検索条件内の
キーワードと予約検索用インデックス内のキーワードと
を所定の論理式に従って比較し、この論理式を満たすキ
ーワードを持つ更新データで、しかも、検索を行ってい
る検索条件での前回の検索以降に発生した更新データを
検索する。処理結果は端末装rn10に送る。
The search condition processing unit 2 stores search conditions input from the terminal device 1 in the search condition storage unit 3. The search target data processing unit 5 adds or changes the search target data stored in the search target data storage unit 6 based on the data input from the terminal device 4, and also adds or changes the search target data stored in the search target data storage unit 6 and the updated data and the search index storage unit 7. a scheduled search processing unit that associates keywords in the search index to be saved, and associates updated data with keywords and data update times in the reserved search index saved in the reserved search index storage unit 8; 9 compares the keywords in the search conditions with the keywords in the reserved search index at the time specified for each search condition stored in the search condition storage unit 3 according to a predetermined logical formula, and calculates this logical formula. To search for updated data that has a keyword that satisfies and that has occurred since the previous search under the search conditions being searched. The processing results are sent to the terminal device rn10.

第3図は上記予約検索用インデックス保存部8で保存す
る予約検索用インデックスの内容を観念的に示す図であ
る。図において、11はキーワードを格納するキーワー
ド格納部、12はデータ更新期間対応のエントリを持つ
テーブルを格納する更新期間対応部で、このテーブルは
上記キーワード格納部11のキーワード対応に存在する
。また、13は更新データの識別子を格納する更新デー
タID格納部で、各更新データの識別子は上記キーワー
ド格納部11内の各更新データの持つキーワードと同じ
キーワードと結び付いた更新期間対応部12内のテーブ
ルの各更新データの更新時刻に対応するエントリと結び
付いている。
FIG. 3 is a diagram conceptually showing the contents of the reserved search index stored in the reserved search index storage section 8. As shown in FIG. In the figure, 11 is a keyword storage section for storing keywords, and 12 is an update period correspondence section for storing a table having entries corresponding to data update periods, and this table exists in the keyword storage section 11 corresponding to the keywords. Further, 13 is an update data ID storage section that stores an identifier of update data, and the identifier of each update data is stored in the update period correspondence section 12 associated with the same keyword as the keyword of each update data in the keyword storage section 11. It is associated with the entry corresponding to the update time of each update data in the table.

また、14は上記更新期間対応部12のテーブルの各エ
ントリが対応するデータ更新期間を示す時刻テーブル部
で、このテーブルのエントリのエントリ番号は上記更新
期間対応部12のテーブルのエントリのエントリ番号と
一致しており、各エントリの値は初期値NULLで、予
約検索開始時にその時刻を設定する。15はデータ更新
時に上記更新期間対応部12のテーブルのどのエントリ
に更新データの識別子を結び付ければ良いかを示す現エ
ントリ番号格納部である。
Further, 14 is a time table section in which each entry in the table of the update period correspondence section 12 indicates a corresponding data update period, and the entry number of the entry in this table is the entry number of the entry in the table of the update period correspondence section 12. They match, and the value of each entry is an initial value of NULL, and the time is set at the time of starting the reserved search. Reference numeral 15 denotes a current entry number storage section that indicates to which entry in the table of the update period correspondence section 12 the identifier of update data should be associated when updating data.

第4図は事前に登録された検索条件毎の前回の検索時刻
を格納するテーブルを観念的に示す図である。図におい
て、16は事前に筆録された検索条件毎の前回の検索条
件を格納する検索時刻格納部であり、初期値は検索条件
の登録時刻である。
FIG. 4 is a diagram conceptually showing a table storing the previous search time for each search condition registered in advance. In the figure, 16 is a search time storage unit that stores the previous search condition for each search condition written down in advance, and the initial value is the registration time of the search condition.

第5図は検索対象データの更新時刻と予約検索時刻との
関係を示す図である0図において、tit〜ti3は検
索条件1での予約検索の時刻、t2.。
FIG. 5 is a diagram showing the relationship between the update time of search target data and the scheduled search time. In FIG. 0, tit to ti3 are the scheduled search times under search condition 1, t2. .

t2□は検索条件2での予約検索の時刻、txは識別子
Eの検索対象データが更新された時刻を示している。ま
た、A、B、C,D、Eは、それぞれ、識別子A、B、
C,D、Eを持つ検索対象データが更新されたことを示
している。
t2□ indicates the time of scheduled search under search condition 2, and tx indicates the time when the search target data of identifier E was updated. Furthermore, A, B, C, D, and E are identifiers A, B, and E, respectively.
This indicates that the search target data having C, D, and E has been updated.

以下、第5図の例を用い、第3図、第4図および本実施
例の動作の全体の流れを示す第1図のフローチャートに
従って、予約検索用インデックスの仕組みおよび使い方
を説明する。説明は第1図により動作の全体の流れを説
明した後、更新データとキーワードおよび更新時刻の対
応付は方法。
Hereinafter, using the example shown in FIG. 5, the mechanism and usage of the scheduled search index will be explained in accordance with FIGS. 3, 4, and the flowchart in FIG. 1 showing the overall flow of the operation of this embodiment. After explaining the overall flow of operations using FIG. 1, we will explain how to associate update data with keywords and update times.

事前に登録された検索条件による検索方法、更新データ
とキーワードおよび更新時刻の対応付けの解除方法の各
段階に分けて行う。
The process is divided into the following steps: a search method using pre-registered search conditions, and a method for canceling the association between update data, keywords, and update times.

(1)まず、第1図(a)、(b)に従って、本実施例
の動作の全体の流れの概要を説明する。
(1) First, the overall flow of the operation of this embodiment will be outlined with reference to FIGS. 1(a) and 1(b).

第1図(a)は、第2図に示した検索対象データ処理部
5の動作を示すものである。検索対象データ処理部5は
、端末装5!4から更新データをそのキーワード、ir
a別子とともに得ると(処理21)、該更新データを前
記検索対象データ保存部6に保存しく処理22)、次い
で、前記検索用インデックス保存品7内に上記データの
キーワードと識別子とを登録する(処理23)、同様に
、前記予約検索用インデックス保存部8内に上記データ
のキーワードと識別子とを登録する(処理24)。
FIG. 1(a) shows the operation of the search target data processing section 5 shown in FIG. The search target data processing unit 5 receives the update data from the terminal device 5!4 using the keyword, ir
When the update data is obtained together with the a benzushi (process 21), the updated data is stored in the search target data storage unit 6 (process 22), and then the keyword and identifier of the data are registered in the search index storage item 7. (Process 23) Similarly, the keyword and identifier of the data are registered in the reserved search index storage section 8 (Process 24).

これに続いて、検索対象データ処理部5は、次項に詳述
する手順により、更新データとキーワードおよび更新時
刻の対応付けを行う。この対応付けが終了すると、予約
検索処理部9が第1図(b)に示した動作の流れに従っ
て、事前に登録された検索条件による検索を行う。
Subsequently, the search target data processing unit 5 associates the update data with the keyword and update time in accordance with the procedure detailed in the next section. When this association is completed, the reserved search processing unit 9 performs a search using the pre-registered search conditions according to the operation flow shown in FIG. 1(b).

予約検索処理部9は、前記検索条件保存部3から検索条
件を得て(処理25)、該検索条件に合致する検索対象
データの識別子を求め(処理26)、これから検索対象
となるデータを得る(処理27)、検索したデータは端
末装置10に送る(処理28)。
The scheduled search processing unit 9 obtains the search conditions from the search condition storage unit 3 (process 25), obtains the identifier of the search target data that matches the search conditions (process 26), and obtains the search target data from this. (Process 27), and the retrieved data is sent to the terminal device 10 (Process 28).

以下、上記更新データとキーワードおよび更新時刻の対
応付は処理について詳述する。
The process of associating the update data with keywords and update times will be described in detail below.

(2)更新データとキーワードおよび更新時刻の対応付
は方法は以下の通りである(第3図参照)。
(2) The method for associating update data with keywords and update times is as follows (see Figure 3).

まず、上記更新データが持つキーワードと一致するキー
ワードを、前記キーワード格納部11がら得る。このキ
ーワードと結び付く更新期間対応部12内のテーブルを
求める。キーワード格納部11に更新データが持つキー
ワードと一致するキーワードがないときは、キーワード
格納部11にそのキーワードを加え、更新期間対応部1
2内にこのキーワードと結び付くテーブルを加える。
First, a keyword that matches the keyword included in the update data is obtained from the keyword storage section 11. A table in the update period correspondence section 12 that is associated with this keyword is found. If there is no keyword in the keyword storage section 11 that matches the keyword included in the update data, the keyword is added to the keyword storage section 11, and the update period corresponding section 1
Add a table associated with this keyword in 2.

次に、現エントリ番号格納部15から上記更新データの
識別子を結び付ける更新期間対応部12のテーブルのエ
ントリ番号を得る。このエントリ番号のエントリと既に
結び付いている更新データID格納部13の更新データ
の識別子を得、これに新しい更新データの識別子を加え
る。更新データがキーワードを複数持っときは上述の処
理をキーワードの数だけ繰り返す。
Next, the entry number of the table in the update period correspondence section 12 is obtained from the current entry number storage section 15, which links the identifier of the update data. The identifier of the update data in the update data ID storage unit 13 that is already associated with the entry with this entry number is obtained, and the identifier of the new update data is added to this. If the update data has multiple keywords, the above process is repeated for the number of keywords.

第3図においては、識別子Aの更新データはキーワード
1とキーワード2を持ち、識別子B、D。
In FIG. 3, the update data of identifier A has keyword 1 and keyword 2, and identifiers B and D.

Eの更新データはキーワード1を持ち、va別子Cの更
新データはキーワード2を持つとしている。
It is assumed that the update data of E has keyword 1, and the update data of va besushi C has keyword 2.

#1.$2.・・・・#nはエントリ番号を示すが、時
刻テーブル部14のテーブルのエントリ番号#1と#2
のエントリの値は、それぞれtzzt t2□で、これ
は更新期間対応部12のテーブルのエントリ番号#1の
エントリには時刻t1□までに更新された更新データの
識別子が結び付くことを示す。
#1. $2. ...#n indicates the entry number, and entry numbers #1 and #2 of the table in the time table section 14
The value of each entry is tzzt t2□, which indicates that the identifier of update data updated by time t1□ is associated with the entry with entry number #1 in the table of the update period correspondence unit 12.

エントリ番号#3のエントリには時刻t2□から次の予
約検索が開始される時刻t1□までに更新される更新デ
ータの識別子が結び付く。第5図の例に従えば、キーワ
ード1と結び付く更新期間対応部12のテーブルのエン
トリ番号#1のエントリには識別子AとBが結び付き、
エントリ番号#2のエントリには該当する識別子がなく
、エントリ番号#3のエントリには識別子りが結び付き
、時刻txに識別子Eが加わる。
The entry with entry number #3 is associated with an identifier of update data that will be updated from time t2□ to time t1□ when the next scheduled search starts. According to the example in FIG. 5, identifiers A and B are associated with the entry number #1 in the update period correspondence section 12 table associated with keyword 1,
The entry with entry number #2 has no corresponding identifier, the entry with entry number #3 is associated with the identifier E, and the identifier E is added at time tx.

また、キーワード2と結び付く更新期間対応部12のテ
ーブルのエントリ番号#1のエントリには識別子Aが結
び付き、エントリ番号#2のエントリには識別子Cが結
び付く。
Furthermore, the entry with entry number #1 in the table of update period correspondence unit 12 associated with keyword 2 is associated with identifier A, and the entry with entry number #2 is associated with identifier C.

上述の如く、本実施例によれば、更新データとキーワー
ドおよび更新時刻の対応付けが容易に行えるという効果
がある。
As described above, this embodiment has the advantage that it is possible to easily associate update data with keywords and update times.

(3)次に、事前に登録された検索条件による検索方法
につき、補足説明する(第3図参照)。
(3) Next, a supplementary explanation will be given regarding the search method using pre-registered search conditions (see FIG. 3).

まず、現エントリ番号格納部15からエントリ番号を得
、現エントリ番号格納部15の値を次に用いる更新期間
対応部12のテーブルのエントリのエントリ番号に変更
する。これ以後に更新された更新データの識別子は、変
更後のエントリ番号を持つ更新期間対応部12のテーブ
ルのエントリと結び付けられる。時刻テーブル部14の
、現エントリ番号格納部15の変更前のエントリ番号を
持つエントリに予約検索開始時刻を設定する。第3図で
は、時刻し、□の予約検索時に現エントリ番号格納部1
5の値を#3から#4に変更し、時刻テーブル部14の
エントリ番号#3のエントリにtzzの値を設定するこ
とになる。
First, the entry number is obtained from the current entry number storage section 15, and the value of the current entry number storage section 15 is changed to the entry number of the entry in the table of the update period correspondence section 12 to be used next. The identifier of the update data updated after this point is associated with the entry in the table of the update period correspondence unit 12 having the entry number after the change. A scheduled search start time is set in the entry in the time table section 14 that has the entry number before the change in the current entry number storage section 15. In Fig. 3, the current entry number storage section 1
The value of 5 is changed from #3 to #4, and the value of tzz is set in the entry number #3 of the time table section 14.

次に、今、検索を行おうとしている検索条件の識別子を
検索時刻格納部16の検索条件識別子と比較し、一致す
る検索条件識別子と対応する前回検索時刻を得る。この
前回検索時刻より大きい値を持つ時刻テーブル部14の
エントリ番号を得る。
Next, the identifier of the search condition that is currently being searched is compared with the search condition identifier in the search time storage section 16, and the previous search time corresponding to the matching search condition identifier is obtained. An entry number in the time table section 14 having a value greater than this previous search time is obtained.

次に、前述の検索条件内のキーワードと一致するキーワ
ードをキーワード格納部11から得る。このキーワード
と結び付く更新期間対応部12のテーブルの上記で得た
エントリ番号と結び付く更新データの識別子群を得る。
Next, keywords that match the keywords in the above-mentioned search conditions are obtained from the keyword storage section 11. A group of identifiers of update data associated with the entry number obtained above in the table of the update period correspondence unit 12 associated with this keyword is obtained.

検索条件が複数のキーワードの論理式で組立てられてい
る場合は、この処理をキーワードの数だけ繰り返し、得
られた更新データの識別子群から論理式を満たす更新デ
ータの識別子を得る。これらの更新データの識別子を持
つ更新データを、検索対象データ保存部6から得る。
If the search condition is composed of a logical formula of a plurality of keywords, this process is repeated for the number of keywords, and from the obtained update data identifier group, the update data identifiers that satisfy the logical formula are obtained. Update data having the identifiers of these update data is obtained from the search target data storage unit 6.

上述の如く、本実施例によれば、検索条件と合致し、し
かも前回検索後に更新されたデータを検索することが効
率よく行うことができる。
As described above, according to this embodiment, it is possible to efficiently search for data that matches the search conditions and that has been updated since the previous search.

(4)最後に、更新データとキーワードおよび更新時刻
の対応付けの解除方法について説明する。
(4) Finally, a method for canceling the association between update data, keywords, and update times will be explained.

更新データの識別子の削除は、登録されているすべての
検索条件での予約検索を終了したものについて行う、す
なわち、検索時刻格納部16から最も古い前回検索時刻
を得て、このエントリの値をNULLとするとともに更
新期間対応部12のテーブルのこのエントリ番号のエン
トリと結び付く更新データの識別子群を消去する。
Deletion of the update data identifier is performed for those for which scheduled searches have been completed using all registered search conditions.In other words, the oldest previous search time is obtained from the search time storage unit 16, and the value of this entry is set to NULL. At the same time, the update data identifier group associated with the entry with this entry number in the table of the update period correspondence unit 12 is deleted.

上述の如く、本実施例によれば、予約検索を終了した更
新データの識別子を、予約検索用インデックスから除く
ことが容易に行えるという効果がある。
As described above, this embodiment has the advantage that the identifier of updated data for which a scheduled search has been completed can be easily removed from the scheduled search index.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く、本発明の情報検索方法によれば、更新
データを対象として操作者により事前に登録された検索
条件に合致するものを検索する情報検索システムにおい
て、前記更新データのキーワードおよびデータ更新時刻
を登録するインデックスを設けて、データ更新時に更新
データを前記インデックス内のキーワードおよびデータ
更新時刻と対応付け、検索実行時には前記インデックス
を参照して、検索対象期間内に更新されたデータを得る
ようにしたので、データの更新と更新データの検索とを
、効率良く行うことが可能な情報検索方法を実現でき、
前述の予約検索方法の実を挙げるのに極めて有効となる
という顕著な効果を奏するものである。
As described above, according to the information retrieval method of the present invention, in an information retrieval system that searches for updated data that matches search conditions registered in advance by an operator, keywords of the updated data and data update An index for registering time is provided, and when updating data, the updated data is associated with the keyword and data update time in the index, and when executing a search, the index is referenced to obtain data updated within the search target period. As a result, an information retrieval method that can efficiently update data and search for updated data can be realized.
This has the remarkable effect of being extremely effective in realizing the above-mentioned reserved search method.

また、本発明のインデックスは、更新データに含まれる
キーワード対応に設けたデータの更新期間対応部と、該
更新期間対応部の各エントリに対応する更新データの識
別子を格納する識別子格納部と、前記更新期間対応部の
各エントリに対応して更新期間を区切る時刻テーブルと
、該時刻テーブル上の現時刻を指す指標とから構成した
ので、上記情報検索方法に好適な情報検索用インデック
スを提供することができるものである。
Further, the index of the present invention includes a data update period corresponding section provided corresponding to a keyword included in the update data, an identifier storage section storing an identifier of the update data corresponding to each entry in the update period corresponding section, and the above-mentioned. Since it is composed of a time table that divides update periods corresponding to each entry in the update period corresponding section and an index indicating the current time on the time table, it provides an information retrieval index suitable for the above information retrieval method. It is something that can be done.

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

第1図(a)、(b)は本発明の一実施例である情報検
索方法の動作フローチャート、第2図は本発明の一実施
例を示す情報検索システムのブロック図、第3図は上記
予約検索用インデックスの内容を観念的に示す図、第4
図は事前に登録された検索条件毎の前回の検索時刻を格
納するテーブルを観念的に示す図、第5図は検索対象デ
ータの更新時刻と予約検索時刻との関係を示す図である
。 1:端末装置、2:検索条件処理部、3:検索条件保存
部、4:端末装置、5:検索対象データ処理部、6:検
索対象データ保存部、7:検索用インデックス保存部、
8:予約検索用インデックス保存部、9:予約検索処理
部、10:端末装置、11:キーワード格納部、12:
更新期間対応部、13:更新データID格納部、14:
時刻テーブル部、15:現エントリ番号格納部、16:
検索時刻格納部。 第   1   図 (a)                   (b)
第   2   図 第3図 第   4   図 1日
FIGS. 1(a) and (b) are operational flowcharts of an information retrieval method that is an embodiment of the present invention, FIG. 2 is a block diagram of an information retrieval system that is an embodiment of the present invention, and FIG. 3 is the above-mentioned Diagram conceptually showing the contents of the reserved search index, No. 4
The figure is a diagram conceptually showing a table storing the previous search time for each search condition registered in advance, and FIG. 5 is a diagram showing the relationship between the update time of the search target data and the reserved search time. 1: terminal device, 2: search condition processing unit, 3: search condition storage unit, 4: terminal device, 5: search target data processing unit, 6: search target data storage unit, 7: search index storage unit,
8: Scheduled search index storage unit, 9: Scheduled search processing unit, 10: Terminal device, 11: Keyword storage unit, 12:
Update period correspondence section, 13: Update data ID storage section, 14:
Time table section, 15: Current entry number storage section, 16:
Search time storage section. Figure 1 (a) (b)
Figure 2 Figure 3 Figure 4 Figure 1 Day

Claims (2)

【特許請求の範囲】[Claims] (1)新たに追加または変更された検索対象データ(更
新データ)を対象として操作者により事前に登録された
検索条件に合致するものを検索する情報検索システムに
おいて、前記更新データのキーワードおよびデータ更新
時刻を登録するインデックスを設けて、データ更新時に
更新データを前記インデックス内のキーワードおよびデ
ータ更新時刻と対応付け、検索実行時には前記インデッ
クスを参照して、検索対象期間内に更新されたデータを
得るようにした情報検索方法。
(1) In an information retrieval system that searches newly added or changed search target data (updated data) for items that match search conditions registered in advance by an operator, keywords of the updated data and data updates are used. An index for registering time is provided, and when updating data, the updated data is associated with the keyword and data update time in the index, and when executing a search, the index is referenced to obtain data updated within the search target period. information retrieval method.
(2)更新データに含まれるキーワード対応に設けたデ
ータの更新期間対応部と、該更新期間対応部の各エント
リに対応する更新データの識別子を格納する識別子格納
部と、前記更新期間対応部の各エントリに対応して更新
期間を区切る時刻テーブルと、該時刻テーブル上の現時
刻を指す指標とから構成される情報検索用インデックス
(2) a data update period correspondence section provided for keywords included in the update data; an identifier storage section for storing update data identifiers corresponding to each entry in the update period correspondence section; An information search index consisting of a time table that divides update periods corresponding to each entry, and an index that points to the current time on the time table.
JP61225311A 1986-09-24 1986-09-24 Information retrieval method Expired - Lifetime JPH071480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61225311A JPH071480B2 (en) 1986-09-24 1986-09-24 Information retrieval method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61225311A JPH071480B2 (en) 1986-09-24 1986-09-24 Information retrieval method

Publications (2)

Publication Number Publication Date
JPS6380325A true JPS6380325A (en) 1988-04-11
JPH071480B2 JPH071480B2 (en) 1995-01-11

Family

ID=16827362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61225311A Expired - Lifetime JPH071480B2 (en) 1986-09-24 1986-09-24 Information retrieval method

Country Status (1)

Country Link
JP (1) JPH071480B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06309364A (en) * 1993-04-26 1994-11-04 Nippon Telegr & Teleph Corp <Ntt> Data base system, storing method for object performed by the same, and data base system device
JP2006107434A (en) * 2004-09-30 2006-04-20 Microsoft Corp Indexing forced query
US7860909B2 (en) 2007-09-05 2010-12-28 Hitachi, Ltd. Search engine system using snapshot function of storage system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06309364A (en) * 1993-04-26 1994-11-04 Nippon Telegr & Teleph Corp <Ntt> Data base system, storing method for object performed by the same, and data base system device
JP2006107434A (en) * 2004-09-30 2006-04-20 Microsoft Corp Indexing forced query
US7860909B2 (en) 2007-09-05 2010-12-28 Hitachi, Ltd. Search engine system using snapshot function of storage system

Also Published As

Publication number Publication date
JPH071480B2 (en) 1995-01-11

Similar Documents

Publication Publication Date Title
JPS6380325A (en) Information retrieval method and index used therefor
JPH0644309A (en) Data base managing system
US7010552B2 (en) Optimizing command execution in database systems that provide support for updatable scrollable cursors
JPH0193843A (en) System for coupling table
JP2000148548A (en) Unnecessary record deleting device
JPH03129570A (en) Data base retrieving system
JPH01120621A (en) Retrieving/updating system for data base
JPS59146339A (en) Information retrieving system
JPH0635774A (en) Data base management system
JPH0682337B2 (en) File exclusion method
JPH05242176A (en) Generation control system for drawing
JPH04256175A (en) Data base system
JPH0340070A (en) Data base retrieving device
JPH03126141A (en) Code file retrieving device
JPH05313971A (en) Key word managing system in relational data base
JPS63217446A (en) Buffer control system
JPH0443463A (en) Data base retrieval system
JPH0635766A (en) Document data management system
JPH05274122A (en) Method for mutual conversion of information and device therefor
JPS63268029A (en) Idle area control system for magnetic disk volume
JPH10111819A (en) Automatic index adding system of relational database
JPH0218641A (en) Data control method
JPH04260127A (en) Program source managing system
JPS63158627A (en) Index retrieval system
JPH07244667A (en) Information retrieval method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term