JPH0574859B2 - - Google Patents

Info

Publication number
JPH0574859B2
JPH0574859B2 JP61046554A JP4655486A JPH0574859B2 JP H0574859 B2 JPH0574859 B2 JP H0574859B2 JP 61046554 A JP61046554 A JP 61046554A JP 4655486 A JP4655486 A JP 4655486A JP H0574859 B2 JPH0574859 B2 JP H0574859B2
Authority
JP
Japan
Prior art keywords
information
update
search
record number
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61046554A
Other languages
Japanese (ja)
Other versions
JPS62204376A (en
Inventor
Masayuki Kozuka
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61046554A priority Critical patent/JPS62204376A/en
Publication of JPS62204376A publication Critical patent/JPS62204376A/en
Publication of JPH0574859B2 publication Critical patent/JPH0574859B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、データ処理装置と内部記憶装置と外
部記憶装置とで構成される情報検索装置に関する
ものであり、検索情報を外部記憶装置から取りだ
し、内部記憶装置に検索索引として格納した後
に、検索処理を行なう情報検索装置で利用するも
のである。
[Detailed Description of the Invention] Industrial Application Field The present invention relates to an information retrieval device composed of a data processing device, an internal storage device, and an external storage device. After being stored as a search index in a storage device, it is used by an information search device that performs search processing.

従来の技術 OAシステム等に用いられる情報検索装置に
は、その外部記憶装置内の検索情報を全て内部記
憶装置内に格納した上で検索処理を行なう内部記
憶検索と、外部記憶装置内の検索情報自体が検索
に適した構造に構成され、検索の度に必要になつ
たインデツクス情報や検索情報を外部記憶装置か
ら内部記憶装置に取り出して検索を行なう外部記
憶検索がある。
BACKGROUND TECHNOLOGY Information retrieval devices used in OA systems, etc. have internal memory retrieval, in which all search information in an external storage device is stored in the internal storage device, and then search processing is performed, and search information in an external storage device. There is an external memory search, which is configured to have a structure suitable for searching, and retrieves index information and search information needed each time a search is performed from an external storage device to an internal storage device.

従来は殆どの情報検索装置は外部記憶検索を用
いていたが、 1 半導体メモリの急速な価格低下により、大容
量の内部記憶装置を持つた情報検索装置を安価
に作成できる。
Conventionally, most information retrieval devices used external memory retrieval, but: 1. With the rapid decline in the price of semiconductor memories, information retrieval devices with large capacity internal storage devices can be manufactured at low cost.

2 OAシステムは会話型処理が中心となり、情
報検索装置のシステム応答時間の速さが重要に
なつてきた。
2. OA systems are centered around conversational processing, and the speed of system response time for information retrieval devices has become important.

等の理由により、内部記憶検索も多く用いられて
いる。
For these reasons, internal memory retrieval is also often used.

以降、内部記憶検索を使つた情報検索装置につ
いてのみ述べる。内部記憶検索方式を取つた情報
検索装置の場合は、次の2つの処理が問題とな
る。
Hereinafter, only information retrieval devices using internal memory retrieval will be described. In the case of an information retrieval device that uses an internal storage retrieval method, the following two processes are problematic.

1 情報検索装置を使用開始する前に(例えば起
動時に)、外部記憶装置内に格納されている検
索情報を内部記憶装置内に転送し、検索処理が
行なえるようにする処理(以下内部記憶装置内
の検索情報(検索索引)の再構成処理または単
に再構成処理と呼ぶ)が必要がある。
1 Before starting to use the information retrieval device (for example, at startup), the process of transferring the search information stored in the external storage device to the internal storage device so that search processing can be performed (hereinafter referred to as internal storage device) It is necessary to reconstruct the search information (search index) within the search engine (or simply referred to as reconstruction processing).

2 情報検索装置に新規の検索情報レコードを追
加する等の検索情報の更新処理時には、内部記
憶装置内の検索情報の更新処理と同時に、この
更新内容を長期的に保持するために、外部記憶
装置内に内部記憶装置内の更新内容に応じた情
報を記憶する処理(以下端に検索情報の更新処
理と呼ぶ)が必要がある。
2. When updating search information, such as adding a new search information record to the information search device, at the same time as updating the search information in the internal storage device, an external storage device is used to retain the updated content for a long time. It is necessary to perform a process (hereinafter referred to as a search information update process) of storing information corresponding to the update contents in the internal storage device.

この2点の処理の処理方式の違いにより内部記
憶検索を用いた情報検索装置の処理効率が決まり
ます。この2点の処理方式は内部記憶装置内と外
部記憶装置内の検索情報の格納形態により、大き
く下記の3つの方式に分けられます。
The processing efficiency of an information retrieval device using internal memory retrieval is determined by the difference in the processing method for these two points. These two processing methods can be broadly divided into the following three methods, depending on the storage format of search information in internal storage and external storage.

1 外部記憶装置内の検索情報も、内部記憶装置
内の検索情報も共に、検索情報レコード毎、例
えば第3図のような一次正規形で格納される場
合 2 外部記憶装置内に検索情報が、検索情報レコ
ード毎、例えば第3図のような一次正規形で格
納され、内部記憶装置内の検索情報が、検索に
適した検索索引形式で、例えば第4図のような
逆フアイル形式で格納される場合。
1. When both the search information in the external storage device and the search information in the internal storage device are stored for each search information record, for example, in the primary normal form as shown in FIG. 2. The search information in the external storage device is Each search information record is stored in a primary normal form as shown in Figure 3, for example, and the search information in the internal storage is stored in a search index format suitable for searching, for example in a reverse file format as shown in Figure 4. If

3 外部記憶装置内の検索情報も、内部記憶装置
内の検索情報も共に、検索に適した検索索引形
式で、例えば第4図のような逆フアイル形式で
格納される場合。
3. When both the search information in the external storage device and the search information in the internal storage device are stored in a search index format suitable for searching, for example in a reverse file format as shown in FIG.

各方式の得失を判断するためには、次の3つの
処理速度を評価する必要がある。
In order to judge the advantages and disadvantages of each method, it is necessary to evaluate the following three processing speeds.

A 内部記憶装置内の検索情報の再構成処理速度 B 検索処理速度 C 検索情報の更新処理速度 次に、これら3つの点について上記の各方式の
得失を検討する。
A Reconstruction processing speed of search information in the internal storage device B Search processing speed C Update processing speed of search information Next, the advantages and disadvantages of each of the above methods will be considered regarding these three points.

A 情報検索装置を使用開始直前のシステム起動
時等で行なう、内部記憶装置内の検索情報の再
構成処理は、 1と3の方式では、単純に外部記憶装置内の
検索情報形式で、検索情報を内部記憶装置内に
格納するため、外部記憶装置から内部記憶装置
への検索情報の転送処理だけで処理が終了す
る。このため、迅速な再構成処理が期待でき
る。
A. In methods 1 and 3, the process of reconfiguring the search information in the internal storage device, which is performed when the system starts up immediately before starting to use the information retrieval device, simply reconstructs the search information in the search information format in the external storage device. Since the search information is stored in the internal storage device, the process is completed by simply transferring the search information from the external storage device to the internal storage device. Therefore, rapid reconfiguration processing can be expected.

2の方式では、外部記憶装置内の検索情報を
1レコードづつ取りだし、通常の内部記憶装置
内の検索情報の更新処理と同様な方法で検索情
報の再構成処理を行なう。この再構成処理で
は、内部記憶装置内の検索索引の更新処理を全
ての登録済み検索情報に対して行なうため、
1、3の方式に比べて処理時間が掛かる。
In the second method, the search information in the external storage device is retrieved one record at a time, and the search information is reconstructed in the same way as the normal update process of the search information in the internal storage device. In this reconfiguration process, the search index in the internal storage device is updated for all registered search information, so
It takes more processing time than methods 1 and 3.

B 内部記憶装置内に検索情報を再構成した後の
内部記憶装置内の検索情報の検索処理速度を比
較すると、 1の方式では内部記憶装置内も検索情報をレ
コード単位(例えば第3図のような一次正規
形)で格納する。このため、あるキーワードで
検索する場合は、検索情報全体から、そのキー
ワードが属する属性と同じ属性のキーワード群
全てと該当キーワードとが一致するかどうか走
査(調べる)する必要があり、検索処理時間が
かかる。(内部記憶装置内に格納されている検
索情報内もキーワードの重複格納が多く、格納
効率も悪い) 2と3の方式は内部記憶装置の場合は、検索
情報は検索に適した論理構造で、例えば第4図
のような逆フアイル形式等で内部記憶装置内に
格納されるため、最小限のキーワード群の走査
で検索処理が終了するため、1に比べて高速な
検索処理が望める。
B Comparing the search processing speed of the search information in the internal storage after reconfiguring the search information in the internal storage, method 1 also stores the search information in the internal storage in units of records (for example, as shown in Figure 3). (linear normal form). Therefore, when searching for a certain keyword, it is necessary to scan (examine) the entire search information to see if the corresponding keyword matches all the keyword groups with the same attribute as the attribute to which the keyword belongs, and the search processing time is It takes. (There are many duplicate keywords stored in the search information stored in the internal storage device, and the storage efficiency is poor.) In the case of methods 2 and 3, in the case of the internal storage device, the search information has a logical structure suitable for searching, For example, since the search information is stored in the internal storage device in a reverse file format as shown in FIG. 4, the search process can be completed by scanning the minimum number of keywords, so a faster search process can be expected compared to 1.

C 内部記憶装置内の検索情報の更新処理速度で
比較すると、 1と2の方式は、内部記憶装置内の検索情報
を更新した後外部記憶装置内に更新要求があつ
た検索情報レコードのみを外部記憶装置に記録
することで処理が終了する。このため高速な更
新処理が期待できる。
C Comparing the update processing speed of search information in the internal storage device, methods 1 and 2 update the search information in the internal storage device and then transfer only the search information record for which an update request was made to the external storage device. The process ends by recording to the storage device. Therefore, high-speed update processing can be expected.

3の場合は、内部記憶装置内の更新内容をそ
のまま外部記憶装置内に反映する必要がある。
一般に、内部記憶装置内の検索索引の更新処理
による変更箇所は広範囲に渡る。このため更新
された部分を全て外部記憶装置内に反映するた
めの処理では、多くの分散した検索情報の一部
を外部記憶装置に転送する必要が生じ、1、2
の方式に比べて更新処理速度が低下する。
In case 3, it is necessary to reflect the updated contents in the internal storage device as they are in the external storage device.
In general, the search index in the internal storage device is changed over a wide range of areas through update processing. Therefore, in the process of reflecting all the updated parts in the external storage device, it becomes necessary to transfer some of the scattered search information to the external storage device.
The update processing speed is lower than that of the above method.

以上のように上記の3方式はそれぞれ一長一短
があるが、3の方式の欠点である、更新処理時間
の問題は、他の2点に比べて重要度が低く考えら
れているため、外部記憶装置が磁気記憶媒体のよ
うな書き換え可能な媒体の場合は、3の方式(実
際は3の方式の変形)が用いられている。
As mentioned above, each of the above three methods has its advantages and disadvantages, but the problem of update processing time, which is a drawback of method 3, is considered to be less important than the other two points, so external storage In the case of a rewritable medium such as a magnetic storage medium, method 3 (actually a variation of method 3) is used.

しかし、外部記憶装置が磁気記憶媒体のような
書き換え可能な媒体の場合は、3の方式を適応で
きるが、光デイスク装置のような追記型の媒体の
場合は書き直しができないため、3の方法を用い
ることが困難であつた。
However, if the external storage device is a rewritable medium such as a magnetic storage medium, method 3 can be applied, but if the external storage device is a write-once medium such as an optical disk device, rewriting is not possible, so method 3 is applied. It was difficult to use.

発明が解決しようとする問題点 以上のように従来の内部記憶検索を用いる情報
検索装置では、以下のような問題点がある。
Problems to be Solved by the Invention As described above, the conventional information retrieval device using internal memory retrieval has the following problems.

1 1の方式を用いた場合、検索処理時間と内部
記憶装置内の検索情報の格納効率が悪い。
1. When method 1 is used, the search processing time and the storage efficiency of search information in the internal storage device are poor.

2 2の方式を用いた場合、内部記憶装置内の検
索情報の再構成処理速度が遅い。
2 When method 2 is used, the processing speed for reconstructing search information in the internal storage device is slow.

3 3の方式を用いた場合、更新処理速度が遅
い。
3. When method 3 is used, the update processing speed is slow.

4 外部記憶装置に追記型の媒体を利用した場合
は、3の方式を用いることができない。
4 If a write-once type medium is used as the external storage device, method 3 cannot be used.

本発明はかかる点を鑑みてなされたもので、上
記の欠点を克服するために2の方式を採用しつ
つ、2の方式の欠点である内部記憶装置内の検索
情報の再構成処理速度の問題を改善した手段を提
供することを目的としている。
The present invention has been made in view of the above points, and employs the second method in order to overcome the above-mentioned drawbacks, and also has the problem of the reconfiguration processing speed of search information in the internal storage device, which is a drawback of the second method. The purpose is to provide an improved method.

問題点を解決するための手段 本発明は上記の欠点を解決するために以下のよ
うな処理を行なつている。
Means for Solving the Problems In order to solve the above-mentioned drawbacks, the present invention performs the following processing.

情報検索装置の検索情報を更新する際は、内部
記憶装置内の検索情報(以下、外部記憶装置内の
検索情報と区別するため検索索引と記述する)と
外部記憶装置内の検索情報を一度に更新する必要
がある。この際内部記憶装置内の検索索引を更新
した際に、その更新処理の経験を利用して、再度
その更新処理を行なう場合に更新処理内の一部の
処理を省略するための情報(例えば更新方法、検
索情報を格納した位置やその格納方法、その他変
更された情報の位置・内容等)を補助情報を作成
し、この補助情報を検索情報とともにレコード単
位で外部記憶装置に記憶する。次に処理速度が問
題となる、内部記憶装置内の検索情報の再構成処
理時には、外部記憶装置から検索情報の格納され
たレコードを1回の更新分づつ順次取りだし、そ
のレコード内の検索情報を用いて内部記憶装置内
の検索索引を更新する処理を補助情報を用いるこ
とにより、通常の更新処理時では必須だつた検索
索引内のキーワードの走査処理等を省いた更新処
理が行え、この更新処理を繰り返すことにより再
構成処理が可能となる。従つて、従来の通常の更
新処理を用いた再構成処理に比べて高速な再構成
処理が実現できるものである。
When updating the search information of the information search device, the search information in the internal storage device (hereinafter referred to as a search index to distinguish it from the search information in the external storage device) and the search information in the external storage device are updated at the same time. Needs to be updated. At this time, when the search index in the internal storage device is updated, the experience of the update process is used to provide information (for example, update method, location and storage method of the search information, location and content of changed information, etc.), and stores this auxiliary information in record units together with the search information in an external storage device. Next, when reconfiguring the search information in the internal storage device, where processing speed is an issue, records containing the search information are retrieved from the external storage device one update at a time, and the search information in the record is By using auxiliary information to update the search index in the internal storage device, it is possible to perform an update process that eliminates the scanning of keywords in the search index, which is essential during normal update processing. Reconfiguration processing becomes possible by repeating. Therefore, faster reconfiguration processing can be achieved than conventional reconfiguration processing using normal update processing.

作 用 本発明は、上記の構成により外部記憶装置に格
納された検索情報を内部記憶装置内の検索索引と
して再構成する際に、通常の更新処理時の処理の
経験を利用して作成された補助情報(内部記憶装
置内への格納方法や格納位置の情報)を用いるこ
とにより、内部記憶装置内に検索索引を再構成す
る処理を、通常の更新処理より簡略化された処理
で行なうことができる情報検索装置であり、従来
困難であつた高速な再構成処理と高度な検索機能
を両立させることができる。
Effect The present invention was created using the experience of normal update processing when reconfiguring the search information stored in the external storage device as a search index in the internal storage device with the above configuration. By using auxiliary information (information on the storage method and storage location in the internal storage device), the process of reconfiguring the search index in the internal storage device can be performed using a process that is simpler than the normal update process. It is an information retrieval device that can achieve both high-speed reconstruction processing and advanced search functions, which have been difficult in the past.

実施例 第1図は本発明の情報検索装置の一実施例を示
すブロツク図である。第1図において、102は
外部記憶装置、103は内部記憶装置、101は
外部記憶装置内の検索情報をレコード毎に取り出
し、内部記憶装置内に検索索引を再構成する情報
形式変換機能、104は内部記憶装置103内に
格納されている検索索引を用いて検索処理を行な
う情報検索装置、105は外部記憶装置内の検索
情報及び補助情報を取り出す情報取出機構、10
6は取出した情報から補助情報の部分を抜き取る
補助情報抽出機構、107は取出した補助情報を
用いて検索情報を格納する位置を決定する情報格
納位置確定機構、108は情報格納位置確定機構
で決められた位置に情報を格納し、指定された方
法で内部記憶装置内の検索索引の更新を行なう情
報格納機構である。さらに、110,111は外
部記憶装置102から取り出される情報(検索情
報と補助情報を格納したレコード)、112は検
索情報と補助情報に分けられた情報、113,1
14は検索情報とその検索情報の検索索引内の格
納位置、更新方法等を示す情報、115は内部記
憶装置103内の検索索引を検索した結果であ
る。
Embodiment FIG. 1 is a block diagram showing an embodiment of the information retrieval apparatus of the present invention. In FIG. 1, 102 is an external storage device, 103 is an internal storage device, 101 is an information format conversion function that retrieves search information in the external storage device for each record and reconstructs a search index in the internal storage device, and 104 is an information format conversion function. an information retrieval device that performs a search process using a search index stored in the internal storage device 103; 105 an information retrieval mechanism that retrieves search information and auxiliary information from the external storage device;
Reference numeral 6 denotes an auxiliary information extraction mechanism that extracts a portion of auxiliary information from the retrieved information; 107 an information storage position determination mechanism that determines a location to store search information using the retrieved auxiliary information; and 108, an information storage position determination mechanism that determines This is an information storage mechanism that stores information at a specified location and updates the search index in the internal storage device using a specified method. Further, 110 and 111 are information retrieved from the external storage device 102 (records storing search information and auxiliary information), 112 is information divided into search information and auxiliary information, and 113, 1
Reference numeral 14 indicates information indicating the search information, the storage location of the search information in the search index, the update method, etc., and 115 indicates the result of searching the search index in the internal storage device 103.

第2図は本発明の情報検索装置に対し、検索情
報の更新処理を行ない、これに伴つて作成され、
外部記憶装置102に格納される検索情報および
補助情報を格納するレコードフオーマツトの一実
施例を示す図であり、aは検索情報の領域と補助
情報の領域を分けた例であり、bは検索情報に対
応する補助情報とを組にして格納した例である。
FIG. 2 shows the information created by updating the search information in the information search device of the present invention.
2 is a diagram illustrating an example of a record format for storing search information and auxiliary information stored in the external storage device 102, in which a is an example in which a search information area and an auxiliary information area are separated, and b is an example in which a search information area and an auxiliary information area are separated; FIG. This is an example in which information is stored in pairs with corresponding auxiliary information.

第3図は第2図のaのレコードフオーマツトで
情報(検索情報と補助情報)を実際に外部記憶装
置に記憶した場合の一実施例であり、第4図は第
3図内の属性「検索情報1」と部分を内部記憶装
置内に逆フアイル構造に変換して展開した場合の
論理構造の一例を示す図である。
FIG. 3 shows an example in which information (search information and auxiliary information) is actually stored in an external storage device using the record format a in FIG. 2, and FIG. FIG. 3 is a diagram showing an example of a logical structure when a portion of the search information 1 is converted into a reverse file structure and developed in an internal storage device.

第3図は検索情報を一次正規形で構成している
ため、このままの形式で内部記憶装置内に検索索
引として格納すると検索効率と記憶領域の使用効
率が良くない。従つて本発明の情報検索装置で
は、例えば第4図のような逆フアイル構造に再構
成した上で内部記憶装置内に検索索引を格納す
る。この実施例では一次正規形で外部記憶装置に
格納された検索情報を、逆フアイル構造に変換し
て内部記憶装置に再構成して格納する例について
のみ記載しているが、索引順次編成等の別の検索
に適した論理構造に再構成した上で内部記憶装置
内に格納する実施例も可能である。
In FIG. 3, the search information is configured in a primary normal form, so if it is stored as a search index in the internal storage device in this format, the search efficiency and storage area usage efficiency will be poor. Therefore, in the information retrieval device of the present invention, the retrieval index is stored in the internal storage device after being reconfigured into a reverse file structure as shown in FIG. 4, for example. This embodiment describes only an example in which search information stored in an external storage device in primary normal form is converted into a reverse file structure, reorganized, and stored in an internal storage device, but it can also be used for index sequential organization, etc. An embodiment in which the information is reconfigured into a logical structure suitable for another search and then stored in the internal storage device is also possible.

第5図は本発明の情報検索装置の異なる実施例
を示すブロツク図である。第5図の上半分は第1
図の実施例と同じ構成をとり、その第1図に検索
情報の更新時の処理を行なう検索情報更新機構5
05を加えた構成である。検索情報更新機構50
5内に、検索装置に対して送られてきた更新情報
530を受け取り、内部記憶装置内の検索情報を
更新する検索情報変更機構513があり、この検
索情報変更機構513では、更新情報530から
検索情報531を取り出し指定された更新方法で
内部記憶装置503内の検索索引を更新し、その
結果、更新方法、更新位置等の情報で構成され
る。補助情報を生成するための情報532を受け
取り、この補助情報を生成するための情報532
と更新情報内の検索情報とを補助情報生成機構5
12に送る。補助情報生成機構512では送られ
てきた情報から補助情報を生成し、送られてきた
検索情報とともに記憶情報編集機構511に再転
送する。記憶情報編集機構511では送られてき
た検索情報と補助情報を第2図に示したようなフ
オーマツトの情報に編集し、情報記憶機構510
に送る。情報記憶機構510では転送されてきた
情報を外部記憶装置502に記憶する。
FIG. 5 is a block diagram showing a different embodiment of the information retrieval device of the present invention. The upper half of Figure 5 is the first
The search information update mechanism 5, which has the same configuration as the embodiment shown in the figure, and which performs processing when updating search information, is shown in FIG.
This is a configuration in which 05 is added. Search information update mechanism 50
5 includes a search information change mechanism 513 that receives update information 530 sent to the search device and updates the search information in the internal storage device. The information 531 is retrieved and the search index in the internal storage device 503 is updated using the specified update method, and the result is comprised of information such as the update method and update location. receiving information 532 for generating auxiliary information; information 532 for generating this auxiliary information;
and the search information in the update information to the auxiliary information generation mechanism 5.
Send to 12th. The auxiliary information generation mechanism 512 generates auxiliary information from the sent information and retransfers it to the storage information editing mechanism 511 together with the sent search information. The storage information editing mechanism 511 edits the sent search information and auxiliary information into information in the format shown in FIG.
send to The information storage mechanism 510 stores the transferred information in the external storage device 502.

第6図は本発明の情報検索装置を光デイスク装
置を外部記憶装置に用いた文書フアイルシステム
に適応した場合のブロツク図である。601はシ
ステム全体の制御を行なう制御装置であり、第5
図の情報変換機構501及び検索情報更新機構5
05もこの制御装置内に実現されている。602
は追記型の光デイスク装置を用いた外部記憶装置
であり、システムに入力された文書情報や検索情
報を記憶する。603は半導体メモリを用いた内
部記憶装置、605は文書の入出力を行なう画像
入出力装置、604は文書及び検索情報の表示を
行なう画像表示装置である。
FIG. 6 is a block diagram when the information retrieval apparatus of the present invention is applied to a document file system using an optical disk device as an external storage device. 601 is a control device that controls the entire system;
Information conversion mechanism 501 and search information update mechanism 5 shown in the figure
05 is also implemented in this control device. 602
is an external storage device using a write-once optical disk device, and stores document information and search information input into the system. 603 is an internal storage device using a semiconductor memory, 605 is an image input/output device for inputting and outputting documents, and 604 is an image display device for displaying documents and search information.

第7図は補助情報のフオーマツトの一実施例で
あり、第8図は補助情報のフオーマツトの別の実
施例である。第7図の実施例の場合は5種類の更
新処理を1種類のフオーマツトで表現している例
であり、第8図の場合は3種類の更新処理をそれ
ぞれ別個のフオーマツトで表現している例であ
る。フオーマツトの形式自体は異なつているが、
ともに同様な処理に対する補助情報である。
FIG. 7 shows one embodiment of the format of auxiliary information, and FIG. 8 shows another embodiment of the format of auxiliary information. The example shown in Fig. 7 is an example in which five types of update processing are expressed in one type of format, and the case in Fig. 8 is an example in which three types of update processing are expressed in separate formats. It is. Although the format itself is different,
Both are auxiliary information for similar processing.

第9図から第20図までは、第5図の検索情報
更新機構505で行なわれる、更新処理530に
対する内部記憶装置503内の検索索引の更新処
理とその際同時に行う補助情報の作成処理と、情
報変換機構501内で行なわれる、検索情報更新
機構505で作成され、外部記憶装置502に格
納された各検索情報と補助情報を使つて、内部記
憶装置503内に検索索引を再構成する処理とを
対比して説明するための図である。
FIG. 9 to FIG. 20 show the update process of the search index in the internal storage device 503 for the update process 530 performed by the search information update mechanism 505 of FIG. Processing performed within the information conversion mechanism 501 to reconstruct a search index in the internal storage device 503 using each search information and auxiliary information created by the search information update mechanism 505 and stored in the external storage device 502; It is a figure for comparing and explaining.

これらの説明により、実際に第2図のようなフ
オーマツト形式で検索情報と補助情報を格納した
検索情報レコード群を外部記憶装置502内に第
3図の様な形式に格納し、第4図で示したような
逆フアイル構造に検索索引を再構成する処理の一
実施方法が理解できる。
Based on these explanations, a search information record group containing search information and auxiliary information in the format shown in FIG. 2 is actually stored in the external storage device 502 in the format shown in FIG. One method of implementing the process of reorganizing the search index into the reverse file structure as shown can be understood.

ここで、第9図から第20図までを使つて更新
処理及び補助情報の作成処理と、再構成処理の実
際を説明する前に、この図の説明で前提になつて
いるいくつかの事項について説明する。内部記憶
装置503内の検索索引は第4図のような逆フア
イル構造の論理構造が持つが、この逆フアイル構
造については文献(日本コンピユータ協会発行、
「データベース」Martin著、国友義久他訳のペー
ジ613からの「逆フアイル・システム」の章)に
示されている。
Here, before explaining the actual update process, auxiliary information creation process, and reconfiguration process using Figures 9 to 20, we would like to explain some matters that are assumed in the explanation of this figure. explain. The search index in the internal storage device 503 has a logical structure of a reverse file structure as shown in FIG.
``Database'' by Martin, translated by Yoshihisa Kunitomo et al., chapter ``Reverse File System'' from page 613).

ここで説明する例では、外部記憶装置内に第3
図の様な検索情報が格納されており、内部記憶装
置内にこの検索情報を各属性毎の逆フアイル形式
の検索索引が再構成されている。この情報検索装
置に対するキーワード検索は、内部記憶装置内に
検索索引を使つて検索対象キーワードが格納され
たレコード番号群を取り出し、そのレコード番号
群をキーにして外部記憶装置から実際の検索情報
レコードを取り出すことである。
In the example described here, the third
Search information as shown in the figure is stored, and this search information is reconstructed into a reverse file format search index for each attribute in the internal storage device. Keyword searching for this information retrieval device uses a search index in the internal storage device to retrieve a group of record numbers in which the search target keyword is stored, and then retrieves the actual search information record from the external storage device using the record number group as a key. It is to take it out.

各属性毎の逆フアイル形式の検索索引の論理構
造は、第4図のようにキーワードが論理的にソー
トされた順序で格納されているキーワード領域
と、各キーワードを格納したレコードを参照する
ためのレコード番号群を格納するレコード番号領
域と、論理的にソートされ並んでいる各キーワー
ドのインデツクスが格納されているインデツクス
領域とがある。
The logical structure of the reverse file format search index for each attribute consists of a keyword area where keywords are stored in a logically sorted order, as shown in Figure 4, and a keyword area for referencing records that store each keyword. There is a record number area that stores a group of record numbers, and an index area that stores indexes of keywords that are logically sorted and lined up.

各属性毎の逆フアイル形式の検索索引内のキー
ワード領域では、各キーワードは論理的にソート
されているが、物理的にはソートされた順序で連
続していない。論理的な順序は個々のキーワード
を格納するキーワードセル(個々のキーワードと
附属情報格納したブロツク)間のポインタを使つ
て構成されている。
In the keyword area in the reverse file format search index for each attribute, the keywords are logically sorted, but physically they are not consecutive in the sorted order. The logical order is constructed using pointers between keyword cells that store individual keywords (blocks that store individual keywords and associated information).

また検索索引内のレコード番号領域には、各キ
ーワード毎にそのレコード番号群を格納するレコ
ード番号セル(複数のレコード番号と附属情報を
格納したブロツク)がある。この検索索引の論理
構造は実際のメモリ内の配置である物理構造とは
異なる。このためこの論理構造を実現する方法
は、多種の格納方法が考えられるが、ここではそ
の一実施例として、下記のような物理構造を持つ
場合の説明を行なう。
In addition, the record number area in the search index includes a record number cell (a block storing a plurality of record numbers and auxiliary information) that stores a group of record numbers for each keyword. The logical structure of this search index is different from its physical structure, which is its actual arrangement in memory. For this reason, various storage methods can be considered to realize this logical structure, but here, as one example, a case will be described in which the physical structure is as follows.

各キーワードセルには、キーワード自体の他
に、そのキーワードの論理的に次の順位のキーワ
ードを格納するキーワードセルへのポインタと、
該当キーワードが参照するレコード番号セルへの
ポインタと、その参照するレコード番号の総数が
格納されている。またレコード番号セルには、複
数のレコード番号を格納する領域と、キーワード
の論理順序に添つた順序でレコード番号セルを連
結させるためのポインタとが格納されている。こ
の例の内部記憶装置内のメモリ領域管理の方法を
説明すると、キーワード領域及びレコード番号領
域のメモリ管理を簡単にするため、キーワード領
域、レコード番号領域とも、大きなセグメント単
位では分離されているかもしれないが、基本的に
は連続した領域に格納されている。また、キーワ
ード領域内の空きエリアの管理は、領域の先頭か
ら詰めていくため、現在使用している最終エリア
の次のエリアを指すポインタ(空きキーワード領
域ポインタ)があれば管理できる。レコード番号
領域の場合の空きエリアの管理は、領域の再利用
を考慮しているため、レコード番号領域内の各空
きレコード番号セルをポインタで連結し、その最
初の空きレコード番号セルを指すポインタ(空き
レコード番号領域ポインタ)で管理している。
Each keyword cell contains, in addition to the keyword itself, a pointer to a keyword cell that stores the logical next ranking keyword for that keyword.
A pointer to the record number cell referenced by the relevant keyword and the total number of record numbers referenced are stored. Furthermore, the record number cell stores an area for storing a plurality of record numbers and a pointer for connecting the record number cells in an order that follows the logical order of keywords. To explain how to manage the memory area in the internal storage device in this example, in order to simplify the memory management of the keyword area and record number area, the keyword area and record number area may be separated in large segment units. However, it is basically stored in a contiguous area. In addition, since the free area in the keyword area is managed from the beginning of the area, it can be managed if there is a pointer (empty keyword area pointer) pointing to the next area of the last area currently in use. Management of free areas in the record number area takes into account reuse of the area, so each free record number cell in the record number area is connected with a pointer, and a pointer pointing to the first free record number cell ( Free record number area pointer).

まとめると、各キーワードセルは論理的な順序
に従つて、ポインタで連結されている。新規のキ
ーワードセルの格納位置は空きキーワード領域ポ
インタで管理される。レコード番号セルはキーワ
ード毎にまとめられた複数のレコード番号を格納
し、キーワードの論理的な順序に従つて、ポイン
タで連結されている。新規のレコード番号セルの
格納位置は空きレコード番号領域ポインタで管理
される。
In summary, each keyword cell is linked by pointers in a logical order. The storage position of a new keyword cell is managed by an empty keyword area pointer. The record number cells store a plurality of record numbers grouped by keyword, and are linked by pointers according to the logical order of the keywords. The storage position of a new record number cell is managed by an empty record number area pointer.

上記の前提条件を考慮に入れて、以下第9図か
ら第20図までの各図を用いて、内部記憶装置内
の検索索引の更新処理と再構成処理の詳細を説明
する。各図では再新処理及び再構成処理によつ
て、どのように内部記憶装置内の状態が変化する
かを表している。ここで、各図の見方を説明する
と、各図との3段の横のポインタ列があり、上の
列はキーワード領域内にポインタを使つて論理的
な順序にしたがつて並べられた各キーワードセル
を示し、中の列はレコード番号領域内にポインタ
を使つて論理的な順序にしたがつて並べられた各
レコード番号セルを示し、下の列はレコード番号
領域の空き領域を管理するための、空きレコード
番号セルをつないで作つた空きレコード番号領域
リストを示し、上の列と中の列の間にある空の箱
は空きキーワード領域の先頭を表している。次
に、第9図から第20図は各々2ページが組とな
つており、奇数ページが更新処理前の検索索引状
態を、偶数ページが更新処理後の検索索引状態を
表している。偶数ページ内の中カツコつき数字
(例えば{1})が第5図の検索情報更新機構で行
う通常の更新処理の場合の処理順序を示し、カツ
コつき数字(例えば(1))が同じく第5図の情報形
式変換機構501で行う補助情報を用いた再構成
処理の場合の処理順序を示している。さらに、こ
こに示す再構成処理が本発明を用いた再構成処理
の一例であり、従来例の再構成処理の場合は、更
新処理と同じ処理を行なうため、ここで、示す通
常の更新処理と補助情報を使つた際構成種の処理
効率の差が、本発明の情報検索装置の効果とな
る。
Taking the above preconditions into consideration, details of the update process and the reconfiguration process of the search index in the internal storage device will be explained below using the figures from FIG. 9 to FIG. 20. Each figure shows how the state within the internal storage device changes due to the re-new process and the reconfiguration process. Here, to explain how to read each figure, there are three rows of horizontal pointer columns with each figure, and the upper column is each keyword arranged in a logical order using pointers within the keyword area. The middle column shows each record number cell arranged according to a logical order using a pointer within the record number area, and the bottom column shows a column for managing free space in the record number area. , shows an empty record number area list created by connecting empty record number cells, and the empty box between the top and middle columns represents the beginning of the empty keyword area. Next, each of FIGS. 9 to 20 is a set of two pages, with odd-numbered pages representing the search index state before the update process and even-numbered pages showing the search index state after the update process. The numbers in parentheses (for example, {1}) in even-numbered pages indicate the processing order in the case of normal update processing performed by the search information update mechanism in FIG. The processing order in the case of reconstruction processing using auxiliary information performed by the information format conversion mechanism 501 shown in the figure is shown. Furthermore, the reconfiguration process shown here is an example of the reconfiguration process using the present invention, and in the case of the conventional reconfiguration process, the same process as the update process is performed. The difference in processing efficiency of the constituent types when using auxiliary information becomes the effect of the information retrieval device of the present invention.

以下、上記の図の記法に従い、登録処理、削除
処理、変更処理の順で説明していく。
Hereinafter, registration processing, deletion processing, and change processing will be explained in this order according to the notation shown in the above diagram.

基本的な更新処理の方法としては、検索情報更
新機構505内で、更新情報530から、各属性
毎の更新対象のキーワードを取り出し、内部記憶
装置503内の各属性毎の検索索引に対して更新
処理を行なう。同様に、再構成処理の方法として
は、情報形式変換機構501内で、外部記憶装置
502から取り出した情報520から、各属性毎
の更新対象のキーワードとそれに対応する補助情
報を取り出し、内部記憶装置503内の各属性毎
の検索索引を再構成処理を行なう。
The basic update processing method is that the search information update mechanism 505 extracts the update target keyword for each attribute from the update information 530 and updates the search index for each attribute in the internal storage device 503. Process. Similarly, as a method of reconfiguration processing, the information format conversion mechanism 501 extracts the keywords to be updated for each attribute and the corresponding auxiliary information from the information 520 extracted from the external storage device 502, and The search index for each attribute in 503 is reconstructed.

更新処理の順序を示すと、下記のように更新処
理内容に応じて、更新処理を選択する処理が必要
になる。
Showing the order of update processing, it is necessary to select the update processing according to the content of the update processing as described below.

1 取り出した更新対象のキーワードが、検索情
報内のどの位置に格納されているか、キーワー
ド領域内のキーワードセルリストを走査する
(インデツクスクを使うことで走査対象が絞り
込める。キーワードの有無の確認)。
1. Scan the keyword cell list in the keyword area to find out where in the search information the retrieved keyword to be updated is stored. (You can narrow down the scanning target by using the index screen. Check the presence or absence of the keyword.)

2 該当のキーワードを発見した場合に、そのキ
ーワードに対して各種更新処理(第11図〜第
20図)を行なう(登録済みキーワードに対す
る更新処理)。
2. When a corresponding keyword is found, various update processes (FIGS. 11 to 20) are performed on the keyword (update process on registered keywords).

3 キーワードを発見できなかつた場合は、更新
処理の内容が登録処理の場合は、新規キーワー
ドの登録処理(第9図、第10図)を行なう
(新規キーワードの登録処理)。
3. If a keyword is not found, and if the update process is a registration process, a new keyword registration process (Figures 9 and 10) is performed (new keyword registration process).

4 それ以外の処理の場合は異常処理を行なう。4 For any other processing, perform abnormal processing.

再構成処理の場合は、補助情報内に各処理方法
が格納されており、どのような更新処理を行う必
要があるかは、分かつているため、上記のような
処理は不要となる。
In the case of reconfiguration processing, each processing method is stored in the auxiliary information, and the type of update processing that needs to be performed is known, so the above processing is unnecessary.

まず、第9図から第14図を使つて、キーワー
ドの登録処理を説明する。通常の登録処理の場合
は、まずキーワード領域の検索を行ない、この結
果により該当キーワードが存在しない場合と存在
する場合とにわけ、さらにキーワードが存在する
場合には該当キーワードが管理しているレコード
番号領域内のレコード番号セル内に空き領域があ
る場合とない場合の3つの処理手順に分かれる。
First, the keyword registration process will be explained using FIGS. 9 to 14. In the case of normal registration processing, the keyword area is first searched, and based on the results, it is determined whether the keyword exists or not, and if the keyword exists, the record number managed by the keyword is numbered. There are three processing steps, depending on whether there is a free space in the record number cell in the area or not.

最初に、登録処理の例を検索情報更新機構で行
われる更新処理時と情報形式変換機構で行われる
更新処理時とを対比して説明する。
First, an example of the registration process will be explained by comparing the update process performed by the search information update mechanism and the update process performed by the information format conversion mechanism.

通常の登録処理は次のような順序で行われる。 Normal registration processing is performed in the following order.

1 登録するキーワードとレコード番号とを外部
からの更新指示として受けとる。
1. Receive the keyword and record number to be registered as an update instruction from the outside.

2 取り出したキーワードを第4図のインデツク
ス領域とキーワード領域を走査することによ
り、該当のキーワードが格納されている位置を
探す。
2. Scan the index area and keyword area shown in Figure 4 with the retrieved keyword to find the location where the corresponding keyword is stored.

3 キーワードが発見できなかつた場合は第9
図、第10図に示す新規キーワードの登録処理
を行なう。
3 If the keyword cannot be found, please refer to the 9th page.
The new keyword registration process shown in FIGS. 1 and 10 is performed.

4 発見した場合は、そのキーワードを用いてい
るレコード番号を格納しているレコード番号領
域へのポインタを辿り、該当キーワードのレコ
ード番号領域に空きがあるかどうか調べる。
4. If found, trace the pointer to the record number area storing the record number that uses the keyword, and check whether there is space in the record number area for the keyword.

5 レコード番号領域に空きがある場合は、第1
1図、第12図に示したレコード番号の追加登
録処理1を行なう。
5 If there is space in the record number area, the first
The record number additional registration process 1 shown in FIGS. 1 and 12 is performed.

6 空きがない場合は第13図、第14図に示し
たレコード番号の追加処理2を行なう。
6. If there is no space, perform record number addition process 2 shown in FIGS. 13 and 14.

次に、同じ処理を補助情報を用いた再構成処理
で行う場合は次のようになる。
Next, when the same processing is performed by reconstruction processing using auxiliary information, the process is as follows.

1′ 登録するレコード番号とキーワードとそのキ
ーワードに対応する補助情報を外部記憶装置内
の検索情報から登録順にレコード単位に取り出
す。
1' Extract the record number and keyword to be registered, and the auxiliary information corresponding to the keyword from the search information in the external storage device, record by record, in the order of registration.

2′ 取り出したキーワードの補助情報の種類の項
目を調べて処理の種類(新規キーワード登録、
レコード番号の追加処理1、レコード番号の追
加処理2のいずれか)を決定する。
2′ Check the type of auxiliary information for the retrieved keyword and determine the type of processing (new keyword registration,
Either record number addition process 1 or record number addition process 2) is determined.

3′ 各処理にキーワードと補助情報とレコード番
号を渡し処理を行なう。上記の登録処理の共通
部分のみを見ても、更新処理と再構成処理の作
業量の差異がわかる。2.のキーワード領域内を
走査する処理は処理時間が掛かる。
3' Pass the keyword, auxiliary information, and record number to each process and perform the process. Even if we only look at the common parts of the above registration processing, we can see the difference in the amount of work between the update processing and the reconfiguration processing. The process of scanning the keyword area in step 2 takes time.

次に個々の登録処理(新規キーワード登録、レ
コード番号の追加処理1、レコード番号の追加処
理2)の具体的な方法を図を用いて記述する。
Next, specific methods of each registration process (new keyword registration, record number addition process 1, record number addition process 2) will be described using diagrams.

新規キーワード登録処理(再構成処理)の場合
(第9図、第10図)は、次のような順序で行な
われる(処理順序を表す中カツコ数字は第10図
のそれに対応している)。
In the case of new keyword registration processing (reconstruction processing) (FIGS. 9 and 10), the processing is performed in the following order (the numbers in brackets representing the processing order correspond to those in FIG. 10).

{0} 1.2.の処理を行なう {1} 空きキーワード領域ポインタが示す、空
きキーワードセルの先頭セルに該当キーワード
を格納する。
{0} Perform the process of 1.2. {1} Store the relevant keyword in the first cell of the empty keyword cells indicated by the empty keyword area pointer.

{2} 2.の処理が失敗した位置の直前のキーワ
ード(論理的にキーワードを挿入する位置の直
前のキーワード)セルの位置を位置情報1とし
て記憶する(この処理は補助情報を作成するた
めの特殊な処理)。
{2} Store the position of the keyword (keyword immediately before the position where the keyword is logically inserted) cell immediately before the position where the process in 2. failed as position information 1 (this process is used to create auxiliary information special processing).

{3} 直前のキーワードのレコード番号へのポ
インタを辿り直前のキーワードセルの管理する
レコード番号の最終セルの位置を位置情報2と
して記憶する(この処理は補助情報を作成する
ための特殊処理)。
{3} Follow the pointer to the record number of the immediately preceding keyword and store the position of the last cell of the record number managed by the immediately preceding keyword cell as position information 2 (this process is a special process for creating auxiliary information).

{4} 直前のキーワードセル内の次キーワード
セルポインタの情報を登録したキーワードセル
内の次キーワードセルポインタの内容として設
定する。
{4} Set the information of the next keyword cell pointer in the previous keyword cell as the content of the next keyword cell pointer in the registered keyword cell.

{5} 直前のキーワードセルの次キーワードセ
ルポインタの情報の内容を登録したキーワード
セルの位置情報に変える。
{5} Change the information of the next keyword cell pointer of the immediately previous keyword cell to the position information of the registered keyword cell.

{6} 登録されたキーワードの数を更新する
(1個増やす)。
{6} Update the number of registered keywords (increase by 1).

{7} 空きレコード番号領域ポインタで示され
た空きレコード番号セルの先頭位置に登録する
レコード番号を格納する。
{7} Store the record number to be registered at the beginning position of the empty record number cell indicated by the empty record number area pointer.

{8} 空きレコード番号領域ポインタの内容
を、登録したキーワードセル内のレコード番号
セルポインタに設定する。
{8} Set the contents of the free record number area pointer to the record number cell pointer in the registered keyword cell.

{9} レコード番号を登録したレコード番号セ
ルの次レコード番号セルポインタの内容を空き
レコード番号領域ポインタの内容に置き換え
る。
{9} Replace the contents of the next record number cell pointer of the record number cell in which the record number has been registered with the contents of the empty record number area pointer.

{10} 位置情報2を付与したレコード番号セル
の次レコード番号セルポインタの内容をレコー
ド番号を登録したレコード番号セルの次レコー
ド番号セルポインタの内容に置き換える。
{10} Replace the contents of the next record number cell pointer of the record number cell to which position information 2 has been added with the contents of the next record number cell pointer of the record number cell in which the record number has been registered.

{11} 位置情報2を付与したレコード番号セル
の次レコード番号セルポインタの内容をレコー
ド番号を登録したレコード番号セルの位置を示
すポインタ情報に変える。
{11} Change the contents of the next record number cell pointer of the record number cell to which position information 2 has been added to pointer information indicating the position of the record number cell in which the record number has been registered.

{12} 補助情報の種類の項目を0にする。(こ
の処理は補助情報を作成するための特殊な処
理) {13} 登録されたレコード番号の数を更新する
(1個増やす)。
{12} Set the auxiliary information type item to 0. (This process is a special process for creating auxiliary information) {13} Update the number of registered record numbers (increase by 1).

新規キーワードの登録処理(更新処理)は、
1.2.の共通部分の処理のほか上記の処理が必要で
あり、特に2.の処理はキーワード領域内を走査す
るため、処理時間が掛かる。ところで、ここで説
明した{1}から{13}までの処理の内{2}
{3}{12}の処理は、補助情報を作成するための
特殊な処理であり、補助情報を作成する処理を行
なわない場合は必要ない。新規キーワードの登録
処理(再構成処理)は、次のような順序で行なわ
れる(処理順序を表すカツコつき数字は第10図
のそれに対応している)。
The registration process (update process) for new keywords is as follows:
In addition to the common part processing in 1.2., the above processing is required, and in particular, the processing in 2. takes time because it scans the keyword area. By the way, among the processes from {1} to {13} explained here, {2}
The processes {3} and {12} are special processes for creating auxiliary information, and are not necessary if the process for creating auxiliary information is not performed. The new keyword registration process (reconstruction process) is performed in the following order (the numbers in brackets representing the process order correspond to those in FIG. 10).

(0) 共通部分である1′、2′の処理を行う。(0) Process common parts 1' and 2'.

(1) 空きキーワード領域ポインタが示す、空きキ
ーワードセルの先頭に該当キーワードを格納す
る。
(1) Store the relevant keyword at the beginning of the empty keyword cell indicated by the empty keyword area pointer.

(2) 補助情報1が示すキーワードセル内の次キー
ワードポインタの情報を、キーワードを登録し
たキーワードセルの次キーワードポインタ情報
の内容に設定する。
(2) Set the information of the next keyword pointer in the keyword cell indicated by auxiliary information 1 to the content of the next keyword pointer information of the keyword cell in which the keyword is registered.

(3) キーワードを登録したキーワードセルの位置
情報を、補助情報1が示すキーワードセル内の
次キーワードポインタの内容に設定する。
(3) Set the position information of the keyword cell in which the keyword is registered to the contents of the next keyword pointer in the keyword cell indicated by auxiliary information 1.

(4) 空きレコード番号領域ポインタで示された空
きレコード番号セルの先頭位置に登録するレコ
ード番号を格納する。
(4) Store the record number to be registered at the beginning of the empty record number cell indicated by the empty record number area pointer.

(5) レコード番号を登録したレコード番号セル内
の次レコード番号セルポインタの情報を空きレ
コード番号領域ポインタの内容に設定する。
(5) Set the information of the next record number cell pointer in the record number cell in which the record number has been registered to the contents of the empty record number area pointer.

(6) 位置情報2が示すレコード番号セル内の次レ
コード番号セルポインタの情報を、レコード番
号を登録したレコード番号セル内の次レコード
番号セルポインタの内容に設定する。
(6) Set the information of the next record number cell pointer in the record number cell indicated by position information 2 to the contents of the next record number cell pointer in the record number cell in which the record number is registered.

(7) レコード番号を登録したレコード番号セルの
位置を示すポインタ情報を、位置情報2が示す
レコード番号セル内の次レコード番号セルポイ
ンタの内容に設定する。
(7) Pointer information indicating the position of the record number cell in which the record number has been registered is set to the contents of the next record number cell pointer in the record number cell indicated by position information 2.

(8) レコード番号を登録したレコード番号セルの
位置を示すポインタ情報を、キーワード登録し
たキーワードセル内のレコード番号へのポイン
タの内容に設定する。
(8) Pointer information indicating the position of the record number cell in which the record number is registered is set to the contents of the pointer to the record number in the keyword cell in which the keyword is registered.

(9) 登録されたキーワードの数を更新する(1個
増やす)。
(9) Update the number of registered keywords (increase by 1).

(10) 登録されたレコード番号の数を更新する(1
個増やす)。
(10) Update the number of registered record numbers (1
increase).

以上のように時間の掛かる処理である、2.(キ
ーワードの走査処理)を行なう必要がなく、補助
情報が示すセルと新規に登録したセルのポインタ
情報を変えるだけで容易にと処理が終ることが分
る。以上述べたように新規にキーワードの登録処
理の場合、通常の更新処理と補助情報を用いた再
構成処理とを比較すると、上記のように必要な処
理量にはかなりの差があることがわかる。このた
め、システム起動時等に必要となる内部記憶装置
内の検索索引の再構成処理を、補助情報を使つた
再構成処理でなく、通常の更新処理を用いるとす
ると、各レコード番号毎(例えば第6図に示した
文書フアイルシステムに応用した媒体は1万から
2万文書程度の文書が光デイスクに記憶できるた
め、この程度の回数の登録処理が行なわれること
を想定する必要がある)に更新処理を行なう必要
があるため非常に時間がかかり実用にならない。
そこでこの補助情報を使つた再構成処理で、通常
の更新処理を置き換えることで高速な再構成処理
を実現できる。
As mentioned above, there is no need to perform step 2 (keyword scanning process), which is a time-consuming process, and the process can be easily completed by simply changing the pointer information of the cell indicated by the auxiliary information and the newly registered cell. I understand. As mentioned above, in the case of new keyword registration processing, when comparing normal update processing and reconstruction processing using auxiliary information, it can be seen that there is a considerable difference in the amount of processing required as described above. . For this reason, if normal update processing is used instead of reconstruction processing using auxiliary information to reconstruct the search index in the internal storage device, which is necessary at system startup, etc., for each record number (for example, Since the medium applied to the document file system shown in Figure 6 can store approximately 10,000 to 20,000 documents on an optical disk, it is necessary to assume that registration processing will be performed this many times. Since it is necessary to perform update processing, it takes a very long time and is not practical.
Therefore, high-speed reconstruction processing can be achieved by replacing normal update processing with reconstruction processing that uses this auxiliary information.

次に、レコード番号の追加登録処理1(更新処
理)の場合は、第11図、第12図に示すよう
に、次のような順序で行なわれる。(処理順序を
表す中カツコ数字は第12図のそれに対応してい
る)。
Next, in the case of record number additional registration process 1 (update process), as shown in FIGS. 11 and 12, it is performed in the following order. (The numbers in brackets representing the processing order correspond to those in FIG. 12).

{0} 共通処理である、1.、2.の処理を行な
う。
{0} Performs common processing, 1. and 2.

{1} 2.の処理の結果発見した、登録するキー
ワードを格納したセルの位置を、位置情報1と
して記憶する(この処理は補助情報を作成する
ための特殊な処理)。
{1} The location of the cell storing the keyword to be registered, found as a result of the process in step 2, is stored as location information 1 (this process is a special process for creating auxiliary information).

{2} 4.の処理を行ないレコード番号セル内に
新たなレコード番号を登録する場所を発見す
る。
{2} Perform the process in step 4 to find the location in the record number cell where a new record number is to be registered.

{3} {2}の処理の結果発見された、登録す
るレコード番号を格納した位置を位置情報2と
して記憶する。(この処理は補助情報を作成す
るための特殊な処理) {4} 位置情報2の示す位置に登録するレコー
ド番号を格納する。
{3} The location where the record number to be registered, found as a result of the process in {2}, is stored is stored as location information 2. (This process is a special process for creating auxiliary information) {4} Store the record number to be registered at the position indicated by position information 2.

{5} 登録されたレコード番号の数を更新する
(1個増やす)。
{5} Update the number of registered record numbers (increase by 1).

{6} 補助情報の種類の項目を1にする(この
処理は補助情報を作成するための特殊な処理)。
{6} Set the auxiliary information type item to 1 (this process is a special process for creating auxiliary information).

この処理では{0}で行なうキーワード領域内
の登録キーワード位置の走査処理と{2}で行な
うレコード番号セル内の空き領域を発見するため
の処理に処理時間を食う。
In this process, processing time is consumed by scanning the registered keyword position in the keyword area at {0} and finding a free area in the record number cell at {2}.

同じ登録処理を補助情報を用いた再構成処理の
場合について記述する。(処理順序を表すカツコ
つき数字は第12図のそれに対応している)。
The same registration process will be described in the case of reconfiguration process using auxiliary information. (The bracketed numbers representing the processing order correspond to those in FIG. 12).

(0) 共通処理である、1′、2′を行う。(0) Perform common processing 1' and 2'.

(1) 位置情報2の示す位置に登録するレコード番
号を格納する。
(1) Store the record number to be registered at the location indicated by location information 2.

(2) 位置情報1の示すキーワード領域内にある登
録されたレコード番号の数を更新する(1個増
やす)。
(2) Update the number of registered record numbers in the keyword area indicated by location information 1 (increase by one).

の2つの処理で処理を終了することができ、非常
に高速であることがわかる。
It can be seen that the process can be completed in two steps, and is extremely fast.

さらに、レコード番号の追加登録処理2(更新
処理)の場合は、第13図、第14図に示すよう
に、次のような順序で行なわれる。(処理順序を
表す中カツコ数字は第14図のそれに対応してい
る)。
Furthermore, in the case of record number additional registration process 2 (update process), as shown in FIGS. 13 and 14, it is performed in the following order. (The numbers in brackets representing the processing order correspond to those in FIG. 14).

{0} 共通処理である、1.2.の処理を行なう。{0} Performs the common process 1.2.

{1} 2.の処理の結果発見した、登録するキー
ワードを格納した位置を、位置情報1として記
憶する(この処理は補助情報を作成するための
特殊な処理)。
{1} The location where the keyword to be registered, found as a result of the process in step 2, is stored is stored as location information 1 (this process is a special process for creating auxiliary information).

{2} 4.の処理を行ないレコード番号セル内に
新たなレコード番号を登録する場所の発見が失
敗する。
{2} Performing the process in step 4 fails to find a place to register a new record number in the record number cell.

{3} {2}の処理の結果、同一キーワードの
レコード番号セル群の最終レコード番号セル内
の次レコード番号セルポインタの格納位置を位
置情報2として記憶する。(この処理は補助情
報を作成するための特殊な処理) {4} 空きレコード番号領域指定ポインタの示
す空きレコード番号セルの先頭位置に登録する
レコード番号を格納する。
{3} As a result of the process of {2}, the storage position of the next record number cell pointer in the last record number cell of the record number cell group of the same keyword is stored as position information 2. (This process is a special process for creating auxiliary information) {4} Store the record number to be registered at the beginning position of the free record number cell indicated by the free record number area designation pointer.

{5} 新たにレコード番号を格納したレコード
番号セルの次レコード番号セルポインタの情報
を空きレコード番号領域指定ポインタの内容に
設定する(この処理に先だつて空きレコード番
号領域指定ポインタの内容を退避する)。
{5} Set the information of the next record number cell pointer of the record number cell that newly stores the record number to the contents of the free record number area specification pointer (prior to this process, save the contents of the free record number area specification pointer) ).

{6} 位置情報2が示す位置の次レコード番号
セルポインタの内容を、レコード番号を格納し
たレコード番号セル内の次レコード番号セルポ
インタの内容に設定する。
{6} Set the contents of the next record number cell pointer at the position indicated by position information 2 to the contents of the next record number cell pointer in the record number cell that stores the record number.

{7} 退避した空きレコード番号領域ポインタ
の情報を、位置情報2が示す位置の次レコード
番号セルポインタの内容に置き換える。
{7} Replace the information of the saved empty record number area pointer with the contents of the next record number cell pointer at the position indicated by position information 2.

{8} 登録されたレコード番号の数を更新する
(1個増やす)。
{8} Update the number of registered record numbers (increase by 1).

{9} 補助情報の種類の項目を2にする(この
処理は補助情報を作成するための特殊な処理)。
{9} Set the auxiliary information type item to 2 (this process is a special process for creating auxiliary information).

この処理では{0}で行なうキーワード領域内
の登録キーワード位置の走査処理と{2}で行な
うレコード番号セル内の空き領域を発見するため
の処理に処理時間を食う。
In this process, processing time is consumed by scanning the registered keyword position in the keyword area at {0} and finding a free area in the record number cell at {2}.

同じ登録処理を補助情報を用いた再構成処理の
場合について詳述する。(処理順序を表すカツコ
つき数字は第14図のそれに対応している)。
A case in which the same registration process is reconfigured using auxiliary information will be described in detail. (The bracketed numbers representing the processing order correspond to those in FIG. 14).

(0) 共通処理である、1′、2′を行う。(0) Perform common processing 1' and 2'.

(1) 空きレコード番号領域ポインタの示す空きレ
コード番号セルの先頭位置に登録するレコード
番号を格納する。
(1) Store the record number to be registered at the start position of the free record number cell indicated by the free record number area pointer.

(2) 空きレコード番号領域指定ポインタの情報
を、レコード番号を格納したレコード番号セル
内の次レコード番号領域ポインタの内容に設定
する(この処理に先だつて空きレコード番号領
域指定ポインタの内容を退避する)。
(2) Set the information of the free record number area specification pointer to the contents of the next record number area pointer in the record number cell that stores the record number (prior to this process, save the contents of the free record number area specification pointer ).

(3) 位置情報2が示す位置の次レコード番号セル
ポインタの情報を、レコード番号を格納したレ
コード番号セル内の次レコード番号セルポイン
タの内容に設定する。
(3) Set the information of the next record number cell pointer at the position indicated by position information 2 to the contents of the next record number cell pointer in the record number cell that stores the record number.

(4) 退避した空きレコード番号領域ポインタの情
報を、位置情報2が示すレコード番号セル内の
次レコード番号セルポインタの内容に設定す
る。
(4) Set the information of the saved empty record number area pointer to the contents of the next record number cell pointer in the record number cell indicated by position information 2.

(5) 位置情報1の示すキーワードセル内にある登
録レコード番号数を更新する(1個増やす)。
(5) Update the number of registered record numbers in the keyword cell indicated by location information 1 (increase by 1).

以上の処理で登録処理を終了することができる
ことができ、処理速度が高速であることが分る。
It can be seen that the registration process can be completed through the above process, and the processing speed is high.

以上、通常の更新処理と補助情報を用いた再構
成処理の対比を登録処理の例(新規キーワード登
録、レコード番号登録1、レコード番号登録2の
3つの場合)行つた。この結果登録処理の場合、
通常の更新処理に比べ、補助情報を用いた再構成
処理が高速であることがわかる。
In the above, a comparison between normal update processing and reconstruction processing using auxiliary information was performed using examples of registration processing (three cases: new keyword registration, record number registration 1, and record number registration 2). In this result registration process,
It can be seen that the reconstruction process using auxiliary information is faster than the normal update process.

次に検索情報の削除を行う処理について述べ
る。検索情報の削除は、削除対象となる検索情報
レコードを削除するために該当検索情報レコード
のレコード番号とレコード内のキーワード群とを
対にした情報の削除処理で行える。第15図、第
16図を用いて特定のキーワードの特定のレコー
ド番号を削除する処理を説明していく。ここで用
いる削除処理は実際に領域を開放を伴うものでは
なく、レコード番号を削除マークに置き換えるこ
とによる論理的な削除の例である。またここで削
除されたレコード番号はガーベージコレクシヨン
処理により一括削除が行なえる。この処理につい
ては第17図、第18図を用いて説明する。
Next, the process of deleting search information will be described. Deletion of search information can be performed by an information deletion process that pairs the record number of the search information record and the keyword group in the record in order to delete the search information record to be deleted. The process of deleting a specific record number of a specific keyword will be explained using FIGS. 15 and 16. The deletion process used here does not involve actually releasing an area, but is an example of logical deletion by replacing the record number with a deletion mark. Also, the record numbers deleted here can be deleted all at once through garbage collection processing. This process will be explained using FIGS. 17 and 18.

まず通常の更新処理時の削除処理を説明する。
(処理順序を表す中カツコ数字は第16図のそれ
に対応している)。
First, deletion processing during normal update processing will be explained.
(The numbers in brackets representing the processing order correspond to those in FIG. 16).

{1} 削除するレコード番号とキーワードを取
り出す。
{1} Extract the record number and keyword to be deleted.

{2} 取り出したキーワードがキーワード領域
のどの位置に格納されているか走査し、発見す
る。発見できない場合はエラー処理を行なう。
{2} Scan and discover where in the keyword area the retrieved keyword is stored. If it cannot be found, perform error processing.

{3} 発見した位置を位置情報1として記憶す
る(この処理は補助情報を作成するための特殊
な処理)。
{3} Store the discovered position as position information 1 (this process is a special process for creating auxiliary information).

{4} 当該キーワード領域のレコード番号領域
ポインタを用いてレコード番号セルの先頭を割
だし、レコード番号セル内を削除対象のレコー
ド番号が格納されている位置を走査する。
{4} Determine the beginning of the record number cell using the record number area pointer in the keyword area, and scan the record number cell for the position where the record number to be deleted is stored.

{5} {4}の処理の結果、削除マークを、発
見したレコード番号セル内の削除対象レコード
番号の位置に設定する。
{5} As a result of the process in {4}, a deletion mark is set at the position of the record number to be deleted in the discovered record number cell.

{6} 削除されたレコード番号の数を更新する
(1個減らす)。
{6} Update the number of deleted record numbers (decrease by 1).

{7} {5}で削除マークを設定した位置を位
置情報2として記憶する(この処理は補助情報
を作成するための特殊な処理)。
{7} The position where the deletion mark was set in {5} is stored as position information 2 (this process is a special process for creating auxiliary information).

{8} 補助情報の種類の項目を3にする(この
処理は補助情報を作成するための特殊な処理)。
{8} Set the auxiliary information type item to 3 (this process is a special process for creating auxiliary information).

この処理でも{2}で行なうキーワード領域内
の削除キーワード位置の検索情報と{4}で行な
うレコード番号セル内の削除対象のレコード番号
を発見するための処理が時間を食う。
Even in this process, the search information for the position of the deletion keyword in the keyword area performed in {2} and the process for finding the record number to be deleted in the record number cell performed in {4} take time.

次に補助情報を用いた再構成処理時の削除処理
について記述する(処理順序を表すカツコつき数
字は第16図のそれに対応している)。
Next, the deletion process during the reconstruction process using auxiliary information will be described (the numbers in brackets representing the processing order correspond to those in FIG. 16).

(1) 位置情報2の示す位置に削除マークを格納す
る。
(1) Store a deletion mark at the location indicated by location information 2.

(2) 位置情報1の示すキーワードセル内にある登
録されたレコード番号の数を更新する(1個減
らす)。
(2) Update the number of registered record numbers in the keyword cell indicated by location information 1 (decrease by one).

以上の処理で削除処理を終了することができ、
処理速度が非常に高速であることがわかる。
The deletion process can be completed with the above process,
It can be seen that the processing speed is very fast.

さらに、第17図、第18図を用いてレコード
番号の削除処理用の補助情報を用いた特殊な処理
としてガーベージーコレクシヨン処理に削除時の
補助情報を用いた例を説明していく。
Furthermore, an example in which auxiliary information at the time of deletion is used in garbage collection processing will be explained as a special process using auxiliary information for record number deletion processing using FIGS. 17 and 18.

(1) 位置情報1の示すレコード番号セル内の位置
情報1の位置以降に、レコード番号が登録され
ているか調べる。ない場合はの位置情報1の削
除マークを消して終了。
(1) Check whether a record number is registered after the position of position information 1 in the record number cell indicated by position information 1. If not, delete the deletion mark for location information 1 and exit.

(2) ある場合は1個づつレコード番号を前にづら
す。
(2) If there is, move the record number forward one by one.

(3) 最後のレコード番号セル内にレコード番号が
あるかどうか調べる。ない場合は最終レコード
番号領域の次レコード番号セルポインタの内容
を直前の次レコード番号セルポインタの内容に
置き換える。あつた場合は終了。
(3) Check whether there is a record number in the last record number cell. If not, the contents of the next record number cell pointer in the final record number area are replaced with the contents of the immediately preceding next record number cell pointer. If it's hot, finish.

(4) 空きレコード番号領域ポインタの内容を最終
レコード番号セルの次レコード番号領域指示ポ
インタの内容に置き換える。
(4) Replace the contents of the empty record number area pointer with the contents of the next record number area instruction pointer of the last record number cell.

(5) 空きレコード番号領域ポインタの内容を最終
レコード番号セルの位置情報に置き換える。
(5) Replace the contents of the empty record number area pointer with the position information of the last record number cell.

以上の処理でレコード番号セル内の削除マーク
を総当たり的に調べることなしでガーベージーコ
レクシヨン処理を高速に行なうこともできる。従
つて本発明の補助情報を作成しそれを更新処理に
用いる本発明の用途は起動時の検索情報の展開処
理に限定されるものではなく、一般的なデータ構
造の変更処理にも利用できることが分る。
With the above processing, garbage collection processing can be performed at high speed without brute force checking the deletion marks in the record number cells. Therefore, the application of the present invention, which creates auxiliary information and uses it for update processing, is not limited to processing for expanding search information at startup, but can also be used for general data structure modification processing. I understand.

さらに、第19図、第20図を用いてレコード
番号の変更処理の場合を説明する。更新処理は次
のような順序で行なわれる(処理順序を表す中カ
ツコ数字は第20図のそれに対応している)。
Furthermore, the case of record number change processing will be explained using FIGS. 19 and 20. The update processing is performed in the following order (the numbers in brackets representing the processing order correspond to those in FIG. 20).

{1} 変更するレコード番号と新たなレコード
番号とキーワードとを取り出す。
{1} Extract the record number to be changed, new record number, and keyword.

{2} 取り出したキーワードがキーワード領域
のどの位置に格納されているか走査し、発見す
る。発見できない場合はエラー処理を行なう。
{2} Scan and discover where in the keyword area the retrieved keyword is stored. If it cannot be found, perform error processing.

{3} 新たなレコード番号自体を位置情報1と
して記憶する(この処理は補助情報を作成する
ための特殊な処理)。
{3} Store the new record number itself as position information 1 (this process is a special process for creating auxiliary information).

{4} 該当キーワードセル内のレコード番号セ
ルポインタを用いて先頭のレコード番号セルを
取り出し、レコード番号セル内の変更対象のレ
コード番号が格納されている位置を走査する。
{4} Use the record number cell pointer in the relevant keyword cell to take out the first record number cell, and scan the position in the record number cell where the record number to be changed is stored.

{5} {4}の処理結果、発見したレコード番
号セル内の変更対象レコード番号の位置を、位
置情報2として記憶する(この処理は補助情報
を作成するための特殊な処理)。
{5} As a result of the process {4}, the position of the record number to be changed in the discovered record number cell is stored as position information 2 (this process is a special process for creating auxiliary information).

{6} 位置情報2の位置に新たなレコード番号
を格納する。
{6} Store a new record number in the position of position information 2.

{7} 補助情報の種類の項目を4にする(この
処理は補助情報を作成するための特殊な処理)。
{7} Set the auxiliary information type item to 4 (this process is a special process for creating auxiliary information).

この処理でも{2}で行なうキーワード領域内
の削除キーワード位置の検索処理と{4}で行な
うレコード番号セル内の削除対象のレコード番号
を発見するための処理が処理時間を食う。
In this process as well, the process of searching for the deletion keyword position in the keyword area in {2} and the process of finding the record number to be deleted in the record number cell in {4} consume processing time.

次に補助情報を用いた再構成処理時のレコード
番号の変更処理について記述する(処理順序を表
すカツコ付け数字は第20図のそれに対応してい
る)。
Next, the process of changing the record number during the reconstruction process using auxiliary information will be described (the numbers in brackets representing the processing order correspond to those in FIG. 20).

(1) 位置情報2の示す位置に位置情報1を格納す
る。
(1) Store location information 1 at the location indicated by location information 2.

以上の処理で処理を終了することができ、処理
速度が非常に高速であることが分る。
The processing can be completed with the above processing, and it can be seen that the processing speed is extremely high.

以上内部記憶装置内の検索索引のいろいろな更
新処理について、第7図に示した補助情報フオー
マツトを用いた例で、通常の更新処理と補助情報
を用いて行なつた再構成処理を対比させながら説
明してきた。第8図をはじめとして他の補助情報
フオーマツトを用いた場合も同様な処理が可能で
ある。
The above describes the various update processes for the search index in the internal storage device, using examples using the auxiliary information format shown in Figure 7, and comparing the normal update process and the reconstruction process performed using auxiliary information. I've explained it. Similar processing is possible when using other auxiliary information formats such as the one shown in FIG.

以上まとめると、内部記憶装置内の検索索引の
更新時に補助情報を作成し、この補助情報を検索
情報とともに外部記憶装置内に記憶し、内部記憶
検索を用いる情報検索装置のシステム起動等で必
要となる、内部記憶装置内の検索索引の再構成処
理(検索に適したフオーマツトに内部記憶装置内
の検索索引を展開すること)が、この検索情報と
補助情報を使つて行なうことにより、通常の更新
処理を行なう場合に比べて高速行なうことができ
る。これは特に第6図に示したような文書フアイ
ルシステムの情報検索装置に応用した場合、高速
かつ高度な検索処理機能と高速システム起動処理
の2つを同時に満たすことができ、非常に有効な
内部記憶検索方式の情報検索装置を構成できる。
In summary, when updating the search index in the internal storage device, auxiliary information is created, this auxiliary information is stored together with the search information in the external storage device, and is needed when starting up the system of an information retrieval device that uses internal memory search. By using this search information and auxiliary information, the reconfiguration process of the search index in the internal storage device (developing the search index in the internal storage device into a format suitable for searching) is performed using the search information and auxiliary information. It can be performed faster than when processing is performed. Particularly when applied to an information retrieval device for a document file system as shown in Figure 6, this is a highly effective internal system that simultaneously satisfies both high-speed and advanced search processing functions and high-speed system startup processing. It is possible to configure an information retrieval device using a memory retrieval method.

発明の効果 以上述べてきたように、本発明によれば、情報
検索装置に更新情報が追加された際、内部記憶装
置内の検索索引の再構成処理を効率化させる補助
情報と検索情報とを外部記憶装置に記憶し、この
検索情報と補助情報を用いることにより、内部記
憶装置内は検索に適した論理構造を採りつつ、外
部記憶装置内の検索情報を内部記憶装置内の検索
索引に再構成する処理を通常の更新処理を行なう
場合に比べて高速に行なうことが可能にするもの
である。これにより、高速かつ高度な検索処理機
能と高速なシステム起動処理の2つを同時に満た
した内部記憶検索方式の情報検索装置が実現でき
る。
Effects of the Invention As described above, according to the present invention, when updated information is added to an information retrieval device, auxiliary information and search information that streamline the process of reconfiguring the search index in the internal storage device are provided. By storing the search information in an external storage device and using this search information and auxiliary information, the internal storage device has a logical structure suitable for searching, and the search information in the external storage device can be restored to the search index in the internal storage device. This makes it possible to perform the constituent processing at a higher speed than when performing normal update processing. As a result, it is possible to realize an information retrieval device using an internal storage retrieval method that simultaneously satisfies both high-speed and advanced retrieval processing functions and high-speed system startup processing.

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

第1図は本発明の情報検索装置の一実施例を示
すブロツク図、第2図は本発明の情報検索装置に
おいて1回の更新処理に伴つて作成され、外部記
憶装置102に格納する検索情報および補助情報
フオーマツトの一実施例を示す図、第3図は第2
図のaの情報を実際に外部記憶装置に記憶した場
合の一実施例を示す図、第4図はその情報の検索
情報1の属性の部分を内部記憶装置内に逆フアイ
ル構造に変換して展開した場合の論理構造を示す
図、第5図は本発明の異なる実施例の情報検索装
置のブロツク図、第6図は本発明の一実施例を応
用した文書フアイルシステムの概念図、第7図は
補助情報フオーマツトの一実施例を示す図、第8
図は補助情報フオーマツトの別の一実施例を示す
図、第9図から第20図までは更新処理を説明す
るためのキーワード領域とレコード番号領域での
更新処理内容を示す図、第21図は従来例の情報
検索装置のブロツク図、第22図は従来例で外部
記憶装置内に検索情報を一次正規形で格納した図
である。 101……情報形式変換機構、102……外部
記憶装置、103……内部記憶装置、104……
情報検索機構、105……情報取出機構、106
……補助情報抽出機構、107……情報格納位置
確定機構、108……情報格納機構、110,1
11……外部記憶装置から取り出される情報、1
12……検索情報と補助情報に分けられた情報、
113,114……検索情報とその格納位置、方
法等を指示する情報。
FIG. 1 is a block diagram showing an embodiment of the information retrieval device of the present invention, and FIG. 2 shows search information created in the information retrieval device of the present invention in accordance with one update process and stored in the external storage device 102. and Fig. 3 is a diagram showing an example of the auxiliary information format.
A diagram showing an example in which the information in a of the figure is actually stored in an external storage device, and FIG. FIG. 5 is a block diagram of an information retrieval device according to a different embodiment of the present invention; FIG. 6 is a conceptual diagram of a document file system to which an embodiment of the present invention is applied; FIG. 7 is a diagram showing the logical structure when expanded. Figure 8 shows an example of the auxiliary information format.
The figure shows another example of the auxiliary information format, FIGS. 9 to 20 are diagrams showing the update process contents in the keyword area and record number area to explain the update process, and FIG. FIG. 22 is a block diagram of a conventional information retrieval device, in which search information is stored in a primary normalized form in an external storage device. 101... Information format conversion mechanism, 102... External storage device, 103... Internal storage device, 104...
Information retrieval mechanism, 105... Information retrieval mechanism, 106
...Auxiliary information extraction mechanism, 107...Information storage position determination mechanism, 108...Information storage mechanism, 110,1
11... Information retrieved from external storage device, 1
12...Information divided into search information and auxiliary information,
113, 114... Information instructing search information, its storage location, method, etc.

Claims (1)

【特許請求の範囲】 1 論理的な単位であるレコード毎にデータを格
納した検索情報を保持する外部記憶装置と、前記
検索情報の索引情報を保持する内部記憶装置と、
前記検索情報から索引情報を作成する手段であつ
て、前記索引情報の再生の際には、検索情報をレ
コード毎に取りだし、前記レコード毎の検索情報
内に記憶された更新データと、追加、削減または
変更のいずれかである更新データの更新方法と更
新位置の情報を用いて、前記索引情報内の該当す
る更新位置をその更新データで更新することによ
り索引情報の作成を行なう索引情報作成手段と、
前記索引情報を検索し、対応するデータを前記検
索情報から抽出する情報検索手段と、検索情報の
追加、削除または変更要求に応じて前記索引情報
と前記検索情報を更新する手段であつて、検索情
報の更新要求と更新データを入力した際には、前
記更新データの前記索引情報内の更新方法と更新
位置に関する情報を求め、その結果に基づき前記
索引情報を前記更新データで更新し、かつ、前記
検索情報に前記更新データと前記更新方法と更新
位置に関する前記情報を記憶する検索情報更新手
段とを有することを特徴とする情報検索装置。 2 索引情報更新手段は、検索情報の更新要求と
更新データを入力した際には、前記更新データの
索引情報内の更新方法と更新位置を求め、その結
果に基づき前記索引情報を前記更新データで更新
し、かつ、前記検索情報に前記更新データと更新
方法と更新位置に関する情報を記憶した後、一定
個数の更新要求を処理した場合は、索引情報全体
と検索情報内の最終記録した検索情報レコードの
位置情報とを外部記憶装置に記憶し、索引情報作
成手段は、前記索引情報の再生の際には、前記最
終記録した検索情報レコードの位置情報が示す位
置以降の検索情報を外部記憶装置からレコード毎
に取り出し、前記レコード毎の検索情報内に記録
された更新データと更新データの更新方法と更新
位置に関する情報を用いて、前記索引情報内の該
当する更新位置をその更新データで更新すること
により索引情報の作成を行なう特許請求の範囲第
1項記載の情報検索装置。 3 外部記憶装置が追記型記録媒体であることを
特徴とする特許請求の範囲第1項又は第2項記載
の情報検索装置。
[Scope of Claims] 1. An external storage device that holds search information in which data is stored for each record, which is a logical unit; and an internal storage device that holds index information of the search information;
Means for creating index information from the search information, wherein when reproducing the index information, the search information is retrieved record by record, and added to or subtracted from the updated data stored in the search information for each record. or index information creation means for creating index information by updating a corresponding update position in the index information with the update data using the update method and update position information of the update data, which are either changes; ,
information retrieval means for searching the index information and extracting corresponding data from the search information; and means for updating the index information and the search information in response to a request for addition, deletion, or modification of the search information, When an information update request and update data are input, information regarding an update method and update position in the index information of the update data is obtained, and based on the result, the index information is updated with the update data, and An information retrieval device characterized by comprising a search information update means for storing the update data, the update method, and the information regarding the update position in the search information. 2. When the index information update means inputs a search information update request and update data, the index information update means determines the update method and update position in the index information of the update data, and based on the result, updates the index information with the update data. After updating and storing the update data, update method, and update position information in the search information, if a certain number of update requests are processed, the entire index information and the last recorded search information record in the search information and the position information of the last recorded search information record in an external storage device, and when reproducing the index information, the index information creation means stores search information from the external storage device after the position indicated by the position information of the last recorded search information record. Retrieving each record and updating the corresponding update position in the index information with the update data using the update data recorded in the search information for each record, the update method of the update data, and the update position information. An information retrieval device according to claim 1, wherein index information is created by: 3. The information retrieval device according to claim 1 or 2, wherein the external storage device is a write-once recording medium.
JP61046554A 1986-03-04 1986-03-04 Information retrieving device Granted JPS62204376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61046554A JPS62204376A (en) 1986-03-04 1986-03-04 Information retrieving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61046554A JPS62204376A (en) 1986-03-04 1986-03-04 Information retrieving device

Publications (2)

Publication Number Publication Date
JPS62204376A JPS62204376A (en) 1987-09-09
JPH0574859B2 true JPH0574859B2 (en) 1993-10-19

Family

ID=12750538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61046554A Granted JPS62204376A (en) 1986-03-04 1986-03-04 Information retrieving device

Country Status (1)

Country Link
JP (1) JPS62204376A (en)

Also Published As

Publication number Publication date
JPS62204376A (en) 1987-09-09

Similar Documents

Publication Publication Date Title
EP0487331B1 (en) Directory management system
JP5233233B2 (en) Information search system, information search index registration device, information search method and program
JPH08129551A (en) Hash system
JPH02214924A (en) Information recording and reproducing system device therefor
JP2925042B2 (en) Information link generation method
JPH0574859B2 (en)
JPS645510B2 (en)
JPS6254369A (en) Document file retrieving system
JPS5851348A (en) High-speed access system for variable-length record
JP2679602B2 (en) Evacuation medium creation system
JPH05151056A (en) Data controller
JPH0256680A (en) Image data retrieving system
JPS61103242A (en) High-speed retrieval system
JPH07200378A (en) Library file management equipment
JP2669241B2 (en) Migration processing method
Russo et al. An operating system independent WORM archival system
JP2556272B2 (en) Electronic filing information porting method and apparatus
JPS62177642A (en) File management system for postscript filing device
JPS62186362A (en) Information retrieval device
JPH1196058A (en) Method and device for constructing t tree index and storage medium storing t tree index constructing program
JP2000132439A (en) System for retrieving file stored in hard disk of personal computer
JPH0677389B2 (en) Copy method in image information storage / retrieval device
JPH10171690A (en) Electronic file device
JPH02242420A (en) Electronic filing and preserving/referring system for list
JPS60225938A (en) Information retrieving system