JPS61283963A - File retrieving device - Google Patents

File retrieving device

Info

Publication number
JPS61283963A
JPS61283963A JP60125097A JP12509785A JPS61283963A JP S61283963 A JPS61283963 A JP S61283963A JP 60125097 A JP60125097 A JP 60125097A JP 12509785 A JP12509785 A JP 12509785A JP S61283963 A JPS61283963 A JP S61283963A
Authority
JP
Japan
Prior art keywords
file
data
memory
cpu
retrieving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60125097A
Other languages
Japanese (ja)
Inventor
Yoshiaki Ozeki
大関 善昭
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP60125097A priority Critical patent/JPS61283963A/en
Publication of JPS61283963A publication Critical patent/JPS61283963A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To reduce the load of a host CPU and to perform the processing of a file retrieving device with no delay of the retrieving time despite the increase of the file capacity, by providing a sub-CPU at every unit and attaining the file retrieving actions independently of each other and in parallel with each other. CONSTITUTION:The sub-CPU 8a and 8b are provided for each retrieving unit consisting of a pair of data memories and retrieving memories. Then the retrieval key data are delivered simultaneously to both CPU 8a and 8b for the file retrieval of a host CPU 5. In other words, both CPU 8a and 8b collate the retrieval information recorded to the retrieval memories 2a and 2b with the retrieval key data and read the file data information out of the data memories 1a and 1b based on the result of said collation. This read file data information is reported to the CPU5. Thus the CPU5 can continue an optional other processing until it receives said report. This reduces the load of the CPU5. Furthermore the retrieving actions are carried out simultaneously and independently of each other. Thus the file retrieval processing is possible without increasing the retrieving time despite the increase of the file capacity.

Description

【発明の詳細な説明】 挟4分駄 本発明は、データベース等のファイルの検索を行なうフ
ァイル検索装置に関するものであって、更に詳細には、
ファイルのデータ情報と索引情報とを夫々別の記録媒体
に記録するタイプのファイル檜索装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a file search device for searching files such as a database.
The present invention relates to a file search device of a type that records file data information and index information on separate recording media.

良末技権 従来のファイル検索装置においては1、第4図に概略量
した如く、データ情報を記、録する為、の追記型メモリ
からなるデータメモリ1と夫々のデータ情報に対応する
索引情報を記録する再書込可能型メモリからなる索引メ
モリ2とを有しており、データメモリ1と索引メモリ2
とは夫々データメモリ制御部3及び索引メモリ制御部4
を介してホストCPU5へ接続されている。この様な!
成のファイル検索装置における検索動作は、第5図に示
したフローチャートの如くなる。即ち、例えばキーボー
ド等の適宜の入力装置を介してホストCPU5へ検索デ
ータをキーインする(ステップ7a)と、ホストCPU
5は制御部4を介してメモリ2から索引情報のみフレー
ムデータを読み取る(ステップ7b)。次いで、ステッ
プ7Cにおいて、メモリ2から読み取ったデータがキー
インで−タと合致するか否かを判断し、合致していた場
合には、ステップ7dへ進み、データメモリ1からそ、
In a conventional file search device, a data memory 1 consisting of a write-once memory for recording data information and index information corresponding to each data information are used. It has an index memory 2 consisting of a rewritable memory for recording data memory 1 and index memory 2.
are data memory control unit 3 and index memory control unit 4, respectively.
It is connected to the host CPU 5 via. Like this!
The search operation in the conventional file search device is as shown in the flowchart shown in FIG. That is, when search data is keyed into the host CPU 5 via an appropriate input device such as a keyboard (step 7a), the host CPU
5 reads frame data including only the index information from the memory 2 via the control unit 4 (step 7b). Next, in step 7C, it is determined whether the data read from the memory 2 matches the key-in data, and if it matches, the process proceeds to step 7d, where data is read from the data memory 1.
.

れに対応するファイルデータを読み取る。二方、ステッ
プ7cにおいて、合致が得られなかった場合には、ステ
ップ7eへ進み、フレーム終了となる迄ステップ7bと
ステップ7cとを含むサイクルを繰り返し、フレーム終
了となると、ステップ7fへ進み、例えばCRT等にデ
ータ無の表示を行なうに の場合に、ステップ7b、7c、7eからなるサイクル
の処理時間に多大の時間を要し、従って検索容量を増大
するに伴い検索時間が益々遅くなるという欠点がある。
Read the corresponding file data. On the other hand, if no match is found in step 7c, proceed to step 7e, repeat the cycle including step 7b and step 7c until the end of the frame, then proceed to step 7f, for example. When displaying no data on a CRT or the like, a large amount of time is required to process the cycle consisting of steps 7b, 7c, and 7e, and therefore, as the search capacity increases, the search time becomes slower. There is.

特に、記録容量を増大する為に、データメモリl及び索
引メモリ2を増設すると、ホストCPU5に対応の制御
装置を介して直接接続させることとなるので、ホストC
PU5の負荷が増大し、検索時間に長時間を要する様に
なる。
In particular, if the data memory 1 and index memory 2 are added to increase the recording capacity, the host CPU 5 will be directly connected to the host CPU 5 through a corresponding control device.
The load on the PU 5 increases, and the search time becomes longer.

て、上述した如き従来技術の欠点を解消し、検索容量を
増大させても検索時間を遅滞させることの無V′)ファ
イル検索装置を提供することを目的とする。
Therefore, it is an object of the present invention to provide a file search device that eliminates the drawbacks of the prior art as described above and does not cause delay in search time even when the search capacity is increased.

1ヨ」槃 本発明のファイル検索装置においては、少なくとも1個
のデータメモリと少なくとも1個の索引メモリとを有し
ており、ファイルのデータ情報はデータメモリへ又ファ
イルの索引情報は索引メモリへ記録させ、さらにファイ
ル検索装置の全体的動作を制御するホストCPUとは別
に一対のデータメモリと索引メモリ毎にサブCPUを設
け、各一対のデータメモリ及び索引メモリからなる検索
ユニットの動作はサブCPUを介して行なう構成としで
ある。この場合、好適実施例においては、データメモリ
を追記型メモリで構成すると共に、索引メモリを再書込
可能型メモリで構成する。
The file search device of the present invention has at least one data memory and at least one index memory, and the data information of the file is sent to the data memory and the index information of the file is sent to the index memory. In addition to the host CPU that controls the overall operation of the file search device, a sub CPU is provided for each pair of data memory and index memory, and the operation of the search unit consisting of each pair of data memory and index memory is performed by the sub CPU. This is a configuration that is performed via . In this case, in a preferred embodiment, the data memory is comprised of write-once memory, and the index memory is comprised of rewritable memory.

以下、添付の図面を参考に、本発明の具体的実施の態様
に付いて詳細に説明する。
Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明ファイル検索装置の1実施例を示して
おり、この場合には、1個のホストCPU5に対して、
2対のファイル検索ユニットを設けている。図示した如
く、ホストCPU5に接続された各ファイル検索ユニッ
トは、サブCPU8を有しており、サブCPU8は夫々
の制御部3及び4を介して一対のデータメモリ1と索引
メモリ2とに接続されている。尚、注意すべきことであ
るが、本発明において設けられるファイル検索ユニット
の数は、第1図に示された如く2対に限らず、一対であ
っても又は3対以上であっても良い。
FIG. 1 shows one embodiment of the file search device of the present invention. In this case, for one host CPU 5,
Two pairs of file search units are provided. As shown in the figure, each file search unit connected to the host CPU 5 has a sub CPU 8, and the sub CPU 8 is connected to a pair of data memories 1 and index memories 2 via respective control units 3 and 4. ing. It should be noted that the number of file search units provided in the present invention is not limited to two pairs as shown in FIG. 1, but may be one pair or three or more pairs. .

重要なことは、各ファイル検索ユニットには夫々のデー
タメモリ1及び索引メモリ2に接続してす2CPU8が
もうけらでおり、このサブCPU8がホストCPU5に
接続されているということである。この様な構成とする
ことによって、各ファイル検索ユニットは他のユニット
とは独立的にファイル検索を行なうことが可能となり、
並列処理を行なう□ことによって大容量検索の場合であ
っても迅速な検索処理を行なうことを可能とする。
What is important is that each file retrieval unit also has a second CPU 8 connected to its respective data memory 1 and index memory 2, and this sub-CPU 8 is connected to the host CPU 5. With this configuration, each file search unit can perform file searches independently of other units.
By performing parallel processing, it is possible to perform quick search processing even in the case of large-volume searches.

−一的に、ファイル検索においでは、データを〜5− 参照する為の索引情報は、その時々の目的により変更す
ることが可能であり且つ使い易い形にして登録出来るこ
とが望ましい。従って、索引情報を記録する索引メモリ
2は再書込可能型メモリで構成することが望ましい。一
方、ファイル自体のデータベースを形成するデータ情報
は、基本的に変更することが無いので、データメモリ1
は付加的に一報を記録し蓄積することの可能な追記型メ
モリで構成することが望ましい。第1図に示したファイ
ル検索装置の各ファイル検索ユニットにおいては、大容
量を必要とするファイルのデータ情報内容に関連する索
引情報は再書込可能型メモリへ記録し、これらのメモリ
1及び2を1組としてファイル管理が行なわれる。尚、
各メモリの制御部3及び4は、サブCPU8からの信号
に基づきメモリの動作制御を行なうものであり、例えば
ディスク記録媒体の回転制御や書込/読取ヘッドの動次
に、第1図に示したファイル検索装置の動作に付いて、
第2図及び第3図を参照して説明する。
-Generally, in file searches, it is desirable that index information for referring to data can be changed depending on the purpose at the time and can be registered in an easy-to-use format. Therefore, it is desirable that the index memory 2 for recording index information is constructed of a rewritable memory. On the other hand, the data information that forms the database of the file itself is basically never changed, so the data memory 1
It is desirable that the system be constructed of a write-once type memory that can additionally record and store information. In each file search unit of the file search device shown in FIG. File management is performed with these as one set. still,
The control units 3 and 4 of each memory control the operation of the memory based on the signals from the sub CPU 8, and for example, control the rotation of the disk recording medium and the movement of the write/read head, as shown in FIG. Regarding the operation of the file search device,
This will be explained with reference to FIGS. 2 and 3.

なお、第2図はホストCPU5の動作を示したフローチ
ャートであり、一方策3図は各サブCPU8の動作を示
したフローチャートである。ホストCPU5がファイル
検索を行なう場合、検索キーデータを夫々のサブCPU
8a、8bへ同時に出力し、ホストCPU5はファイル
検索を各サブCPU8a、8bへ引き渡す。従って、ホ
ストCPU5は、各サブCPU8から検索結果の報告が
ある迄は、任意の他の処理を行なうことが可能であり、
この点ホストCPU5の負荷が著しく軽減されている。
Note that FIG. 2 is a flowchart showing the operation of the host CPU 5, and FIG. 3 is a flowchart showing the operation of each sub-CPU 8. When the host CPU 5 performs a file search, the search key data is sent to each sub-CPU.
8a and 8b simultaneously, and the host CPU 5 hands over the file search to each sub CPU 8a and 8b. Therefore, the host CPU 5 can perform any other processing until the search results are reported from each sub-CPU 8.
In this respect, the load on the host CPU 5 is significantly reduced.

各サブCPU8は、ホストCPU5から検索キーデータ
を受は取った後、それを索引メモリ2に記録されている
索引情報と照合し、その照合結果に基づいて、ファイル
データ情報をデータメモリ1から読み取り、この様にし
て得られた検索検索結果をホストC:PU5へ報告する
。この様なファイル検索動作は、各ファイル検索ユニッ
トにおいて夫々のサブCPU8の制御の下に同時的に且
つ独立的に行なうことが可能であり、従って複数個のフ
ァイル検索ユニットが配設されており検索ファイル件数
が多い場合であっても、基本的に単一のファイル検索ユ
ニットの場合に必要とされる検索時間で検索処理を完了
し、従来技術と比較して検索処理時間は著しく短縮され
る。又、ホストCPU5とサブCPU8との間のインタ
ーフェースを適当に選択(例えば、GPIBインターフ
ェース)することによって、ファイル検索ユニットを複
数個ホストCPU5に接続する場合であっても、ホスト
側のハードウェア追加をする必要が無く、この点拡張性
に富んでいる。
After receiving the search key data from the host CPU 5, each sub CPU 8 collates it with index information recorded in the index memory 2, and reads file data information from the data memory 1 based on the collation result. , reports the search results obtained in this way to the host C:PU5. Such file search operations can be performed simultaneously and independently in each file search unit under the control of the respective sub CPUs 8. Therefore, a plurality of file search units are arranged and the search Even when there are a large number of files, the search process is basically completed in the search time required for a single file search unit, and the search process time is significantly shortened compared to the conventional technology. Furthermore, by appropriately selecting the interface between the host CPU 5 and the sub-CPU 8 (for example, GPIB interface), even when connecting multiple file search units to the host CPU 5, it is possible to avoid adding hardware on the host side. There is no need to do this, and in this respect it is highly extensible.

ファイルの書込を行なう場合は、ホストCPU5によっ
てファイル検索ユニットの1つ即ちサブCPU8の1つ
を選択し、索引情報及びファイルデータ情報をそのサブ
CPU8へ転送する。選択されたサブCPU8は、その
制御部3及び4を介して、索引情報は索引メモリ2へ、
一方フアイルデータ情報はデータメモリ1へ夫々書き込
ませる。
When writing a file, the host CPU 5 selects one of the file search units, that is, one of the sub CPUs 8, and transfers the index information and file data information to the sub CPU 8. The selected sub CPU 8 sends the index information to the index memory 2 via its control units 3 and 4.
On the other hand, file data information is written into the data memory 1, respectively.

索引情報を索引メモリ2へ書き込む場合には、当然に、
制御部4によって、メモリ2へ書き込むアドレス、日付
、エラーアドレス等の所要情報も付加的に書き込まれる
When writing index information to index memory 2, naturally,
The control unit 4 additionally writes necessary information such as the address to be written into the memory 2, the date, and the error address.

上述した実施例においては、ホストCPU5からの各サ
ブCPU8へ同時的に検索キーデータが供給されるが、
検索キーデータは順次に供給される構成とすることも可
能である。又、データメモリ1と索引メモリ2とで使用
する記録媒体は夫々に記録する情報の間に関連性がある
1組の記録媒体とすることが必要である。従って、夫々
のメモリ1及び2に記録媒体をセットした場合に、セッ
トされた1組の記録媒体の組合せが正しいものか否かを
サブC,PU8が検査し、その検査結果を各ファイル検
索ユニット毎に設けたCRT等のディスプレイ装置に表
示する構成とすることが望ましい。この場合に、サブC
PU8からディスプレイ装置に直接表示しても良いが、
検査結果をホストCPU5へ供給する構成とすることも
可能であり、この様な構成とした場合には、ホストCP
U5に接続したCRT等の同一のディスプレイ装置に全
てのファイル検索ユニットの結果を同時的に表示するこ
とが可能である。
In the embodiment described above, search key data is supplied from the host CPU 5 to each sub CPU 8 simultaneously;
It is also possible to configure the search key data to be supplied sequentially. Furthermore, it is necessary that the recording media used in the data memory 1 and the index memory 2 be a set of recording media in which there is a relationship between the information recorded in each. Therefore, when recording media are set in the respective memories 1 and 2, the sub C and PU 8 inspect whether or not the set combination of recording media is correct, and the inspection results are sent to each file search unit. It is desirable to have a configuration in which the information is displayed on a display device such as a CRT provided at each location. In this case, sub C
It may be displayed directly from the PU8 to the display device, but
It is also possible to have a configuration in which the test results are supplied to the host CPU 5. In such a configuration, the host CPU
It is possible to display the results of all file search units simultaneously on the same display device, such as a CRT, connected to U5.

羞−米 以上詳説した如く、本発明によれば、ファイル容量を増
大する為に、複数個のファイル検索ユニットを単一のホ
ストCPUに接続して設けた場合であっても、ファイル
検索動作は各ユニット毎に並列的に且つ独立的に行なわ
れるので、ホストC、PUの負荷は軽減され、且つ複数
個のユニットが接続されていても、常に基本的に1台の
ユニットと同等の処理時間で検索処理を行なうことが可
能であり、従ってファイル容量が増加されても検索処理
時間が増加することはない。
As explained in detail above, according to the present invention, even when a plurality of file search units are connected to a single host CPU in order to increase the file capacity, the file search operation can be performed easily. Since processing is performed in parallel and independently for each unit, the load on the host C and PU is reduced, and even if multiple units are connected, the processing time is basically the same as for one unit. Therefore, even if the file capacity increases, the search processing time does not increase.

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

第1図は本発明ファイル検索装置の実施の1例゛□を示
したブロック図、第2図は第1図中のホストCPUの動
作を示したフローチャート図、第3図は第1図中のサブ
CPUの動作を示したフローチャート図、第4図は従来
のファイル検索装置を示したブロック図、第5図は第4
図の装置の動作を示したフローチャート図、である。 (符号の説明) 1:データメモリ 2:索引メモリ 5:ホストCPU 8:サブCPU 特許出願人    株式会社 リ コ 一第3 日 第5 図 イ受愛7−−タキーイン   7a− #ゾ/IUI力(ら 17L−4デーLりを 饅みよ(7b 千〜イシ〒−9 “8紋′        7゜ 工       7L−4N
FIG. 1 is a block diagram showing an example of implementation of the file search device of the present invention, FIG. 2 is a flowchart showing the operation of the host CPU in FIG. 1, and FIG. Flowchart diagram showing the operation of the sub CPU, FIG. 4 is a block diagram showing a conventional file search device, and FIG.
FIG. 2 is a flowchart showing the operation of the device shown in FIG. (Explanation of symbols) 1: Data memory 2: Index memory 5: Host CPU 8: Sub CPU Patent applicant Rico Co., Ltd. 17L-4 Let's enjoy the Lri (7b 1000~ishi〒-9 "8 Crest' 7゜Work 7L-4N

Claims (1)

【特許請求の範囲】 1、データ情報と索引情報とからなるファイルを検索す
るファイル検索装置において、各ファイルのデータ情報
を記録するデータメモリと索引情報を記録する索引メモ
リとを有すると共にこれらのメモリの動作を制御するメ
モリ制御CPUを前記ファイル検索装置の動作全体を制
御するホストCPUへ接続して設けたことを特徴とする
ファイル検索装置。 2、特許請求の範囲第1項において、前記データメモリ
が追記型メモリであり且つ前記索引メモリが再書込可能
型メモリであることを特徴とする装置。
[Scope of Claims] 1. A file search device for searching files consisting of data information and index information, which includes a data memory for recording data information of each file and an index memory for recording index information, and also includes a data memory for recording data information of each file and an index memory for recording index information. A file search device comprising: a memory control CPU that controls the operations of the file search device connected to a host CPU that controls the entire operation of the file search device. 2. The device according to claim 1, wherein the data memory is a write-once memory, and the index memory is a rewritable memory.
JP60125097A 1985-06-11 1985-06-11 File retrieving device Pending JPS61283963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60125097A JPS61283963A (en) 1985-06-11 1985-06-11 File retrieving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60125097A JPS61283963A (en) 1985-06-11 1985-06-11 File retrieving device

Publications (1)

Publication Number Publication Date
JPS61283963A true JPS61283963A (en) 1986-12-13

Family

ID=14901776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60125097A Pending JPS61283963A (en) 1985-06-11 1985-06-11 File retrieving device

Country Status (1)

Country Link
JP (1) JPS61283963A (en)

Similar Documents

Publication Publication Date Title
US6324604B1 (en) Magnetic disk storage for storing data in disk block size from fixed length of host block in non-integer multiple of the disk block size
US20080162591A1 (en) Method of Logging Transactions and a Method of Reversing a Transaction
JPS61283963A (en) File retrieving device
JP3294920B2 (en) Ultrasonic image recording / reproducing device
JPH1021123A (en) Information processor
JPS6175432A (en) Information file device
JP3411402B2 (en) Seal registration device
JP2788849B2 (en) Grouping method by serial number description
JPS6014324A (en) Associative storage device
JPS59189456A (en) Error code display system
JPH11220693A (en) Moving image recording device
JPS62186329A (en) Conditions retrieving device
JP2000172542A (en) File access system
JPH03192440A (en) Auxiliary storage
JPH0934899A (en) Retrieval path output method and device
JPH02252061A (en) Image filing device
JPS60225938A (en) Information retrieving system
JPH06168074A (en) Common ionput/output device
JPS5833992B2 (en) information retrieval device
JPH0675715A (en) Collective magnetic disk device
JP2000222263A (en) System, device and method for saving file and recording medium
JPH05282373A (en) Still picture retrieving system
JPS62117155A (en) Copying system for picture information memory and retrieval device
JPH0594352A (en) Database restoration system
JPS62123534A (en) Input and output control system for electronic journal