Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0436410B2 - - Google Patents
[go: Go Back, main page]

JPH0436410B2 - - Google Patents

Info

Publication number
JPH0436410B2
JPH0436410B2 JP59031802A JP3180284A JPH0436410B2 JP H0436410 B2 JPH0436410 B2 JP H0436410B2 JP 59031802 A JP59031802 A JP 59031802A JP 3180284 A JP3180284 A JP 3180284A JP H0436410 B2 JPH0436410 B2 JP H0436410B2
Authority
JP
Japan
Prior art keywords
search
buffer
command
content search
data
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
JP59031802A
Other languages
Japanese (ja)
Other versions
JPS60175158A (en
Inventor
Haruo Hayamizu
Ushio Inoe
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3180284A priority Critical patent/JPS60175158A/en
Publication of JPS60175158A publication Critical patent/JPS60175158A/en
Publication of JPH0436410B2 publication Critical patent/JPH0436410B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は2次記憶装置に記憶されている膨大な
データ群の中から、本体装置からのコマンドで指
定された検索条件に合致する内容を有するデータ
群のみを検索して本体装置へ転送する内容検索処
理装置に係り、特に検索結果のデータを本体装置
へ転送する制御に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention is directed to a method for searching content that matches search conditions specified by a command from a main device from among a huge group of data stored in a secondary storage device. The present invention relates to a content search processing device that searches only a data group and transfers it to a main unit, and particularly relates to control for transferring search result data to the main unit.

〔従来技術〕[Prior art]

検索処理の分野において、特に、多数の2次記
憶装置に記憶されている膨大なデータ群の中から
必要なデータをその内容により検索処理する場
合、膨大なデータ群の内容検索に要する本体装置
の処理時間を節約するため、内容検索処理機能を
2次記憶装置の制御回路の近くにおいて、2次記
憶装置からの読み出しと同期して検索を実行させ
る方式が実現されている。かかる従来技術を以下
に説明する。
In the field of search processing, especially when searching for necessary data based on its content from a huge group of data stored in a large number of secondary storage devices, the main unit required to search the contents of a huge group of data is In order to save processing time, a method has been implemented in which the content search processing function is placed near the control circuit of the secondary storage device and the search is executed in synchronization with reading from the secondary storage device. Such conventional technology will be explained below.

第1図は従来の内容検索処理装置の第1の構成
例を示す図で、1はデータ群を記憶する2次記憶
装置、2は内容検索処理装置、8はI/Oインタ
フエース、9は本体装置である。このうち、1,
8,9は現在広く使用されている大型汎用コンピ
ユータシステムにおける2次記憶装置、I/Oイ
ンタフエース、中央処理装置等の構成と同様であ
る。内容検索処理装置2は2次記憶装置1に対す
るデータの読み書きを制御する2次記憶制御部
3、読み出したデータ群の中から本体装置9から
のコマンドで指定された検索条件に合致する内容
のデータを検索する内容検索回路4,I/Oイン
タフエース8を介して本体装置9との通信を制御
するI/Oインタフエース制御部5、検索された
データを一時格納するレジスタ6、及びこれらの
全体的制御を司どる共通制御部100で構成され
る。
FIG. 1 is a diagram showing a first configuration example of a conventional content search processing device, in which 1 is a secondary storage device for storing data groups, 2 is a content search processing device, 8 is an I/O interface, and 9 is a secondary storage device for storing a data group. This is the main device. Of these, 1,
8 and 9 are similar to the configurations of the secondary storage device, I/O interface, central processing unit, etc. in large-scale general-purpose computer systems that are currently widely used. The content search processing device 2 uses a secondary storage control unit 3 that controls reading and writing of data to the secondary storage device 1, and extracts data whose contents match the search conditions specified by the command from the main device 9 from among the read data group. a content search circuit 4 for searching, an I/O interface control unit 5 for controlling communication with the main unit 9 via an I/O interface 8, a register 6 for temporarily storing searched data, and all of these. The system is composed of a common control section 100 that manages physical control.

第1図における内容検索処理装置2の動作フロ
ーを第2図に示す。第1のコマンドにより本体装
置9からI/Oインタフエース8を介して検索条
件を受け取つた後(ステツプ101)、本体装置9へ
チヤネル/デバイス終了報告を行い(ステツプ
102)、第2のコマンドにコマンドチエインを要求
する。第2のコマンドでは、内容検索が終了する
まで内容検索処理と検索結果の転送処理を繰り返
す(ステツプ103、104、105)。即ち、共通制御部
100の制御下でもつて、2次記憶制御部3を介
して2次記憶装置1からデータを読み出し、該読
み出したデータの内容を内容検索回路4で検索
し、検索条件に合致するデータをレジスタ6にセ
ツトする。このレジスタ6にデータがセツトされ
る毎に、それをI/Oインタフエース制御部5を
介して本体装置9へ転送する。このようにして一
連の検索が終了すると、本体装置9へチヤネル/
デバイス終了報告を行い(ステツプ106)、全ての
動作を終了する。この第2のコマンドでの内容検
索処理Sと検索結果の転送処理Tとの時間関係を
示すと第3図のようになる。
FIG. 2 shows the operational flow of the content search processing device 2 in FIG. 1. After receiving the search conditions from the main unit 9 via the I/O interface 8 by the first command (step 101), a channel/device termination report is sent to the main unit 9 (step 101).
102), requests a command chain for the second command. In the second command, the content search process and the search result transfer process are repeated until the content search is completed (steps 103, 104, and 105). That is, under the control of the common control unit 100, data is read from the secondary storage device 1 via the secondary storage control unit 3, the content of the read data is searched by the content search circuit 4, and the search conditions are met. Set the data to register 6. Every time data is set in this register 6, it is transferred to the main unit 9 via the I/O interface control section 5. When a series of searches are completed in this way, the channel/
A device termination report is made (step 106) and all operations are terminated. The time relationship between the content search process S and the search result transfer process T using this second command is shown in FIG.

第3図から明らかな如く、第1図に示す従来例
では、内容検索回路4で検索条件に合致するデー
タが検索される毎に、それを本体装置9へ転送す
るため、1つの内容検索装置が動作中は1つの
I/Oインタフエースを占有使用することにな
る。
As is clear from FIG. 3, in the conventional example shown in FIG. 1, each time the content search circuit 4 retrieves data that matches the search conditions, it is transferred to the main device 9, so one content search device is used. During operation, one I/O interface will be used exclusively.

ところで、この種の内容検索処理装置は膨大な
データ群に対して内容検索を高速に実行するため
に使用されるものであり、その場合、内容検索処
理装置を多数台、同時に動作させる使われ方をす
るのが一般的である。従つて、第1図に示す第1
の従来例では、内容検索処理装置と同数のI/O
インタフエースおよび本体装置のチヤネル装置を
必要とするという欠点がある。
By the way, this type of content search processing device is used to perform high-speed content searches on huge data groups, and in this case, it is often necessary to operate a large number of content search processing devices at the same time. It is common to do this. Therefore, the first
In the conventional example, the number of I/Os is the same as the content search processing device.
It has the disadvantage that it requires an interface and a channel device for the main device.

第4図は従来の内容検索処理装置の第2の構成
例を示す図で、内容検索結果のデータをバツフア
リングしておいて本体装置へ一括転送する例であ
る。第4図において、2a,2bは内容検索処理
装置であり、第1図と異なる点はレジスタ6の代
りにバツフア7を有していることである。
FIG. 4 is a diagram showing a second configuration example of a conventional content search processing device, in which data of content search results is buffered and transferred all at once to the main unit. In FIG. 4, 2a and 2b are content search processing devices, and the difference from FIG. 1 is that a buffer 7 is provided in place of the register 6.

第4図における内容検索処理装置2a,2bの
動作フローを第5図に示す。第1のコマンドによ
り本体装置9からI/Oインタフエース8を介し
て検索条件を受け取り(ステツプ201)、本体装置
9へチヤネル終了報告を行つた後(ステツプ
202)、一担、I/Oインタフエース8との結合状
態を解除する。そして、内容検索処理を開始し
て、検索条件に合致するデータを順次バツフア7
へ格納していく(ステツプ203)。その後、一連の
内容検索が終了するか、バツフア7が満杯になる
と(ステツプ204)、I/Oインタフエース8との
結合を再開して第1のコマンドに対するデバイス
終了を報告し(ステツプ205)、第2のコマンドに
コマンドチエインを要求する。第2のコマンドで
は、バツフア7内の検索結果を本体装置9へ転送
し(ステツプ206)、チヤネル/デバイス終了報告
を行つて動作を終了する(ステツプ207)。
FIG. 5 shows the operation flow of the content search processing devices 2a and 2b in FIG. 4. After receiving the search conditions from the main unit 9 via the I/O interface 8 by the first command (step 201), and reporting the end of the channel to the main unit 9 (step 201),
202), first, the connection state with the I/O interface 8 is released. Then, content search processing is started, and the data matching the search conditions are sequentially buffered.
(Step 203). After that, when the series of content searches is completed or the buffer 7 becomes full (step 204), the connection with the I/O interface 8 is restarted and the device termination in response to the first command is reported (step 205). Requests a command chain for the second command. In the second command, the search results in the buffer 7 are transferred to the main unit 9 (step 206), a channel/device termination report is made, and the operation is ended (step 207).

第4図の従来例における内容検索処理S、バツ
フアへの格納処理BI、バツフアからの読出し処
理BO、および転送処理Tの時間関係を示すと第
6図の通りである。第6図から明らかな如く、第
4図の第2の従来例では、ある内容検索処理装置
で検索処理を実行中は検索結果をバツフアリング
してI/Oインタフエースを使用しないため、こ
の間、他の内容検索処理装置が同一のI/Oイン
タフエースを使用して転送処理を実行することが
でき、一組のI/Oインタフエースを複数の内容
検索処理装置で時分割に使用することが可能とな
る。第4図では便宜上、2台の内容検索処理装置
2a,2bを1組のI/Oインタフエース8に接
続した場合を示したものである。
FIG. 6 shows the time relationship among the content search process S, the buffer storage process BI, the buffer read process BO, and the transfer process T in the conventional example shown in FIG. As is clear from FIG. 6, in the second conventional example shown in FIG. 4, while a certain content search processing device is executing search processing, the search results are buffered and the I/O interface is not used. Content search processing devices can use the same I/O interface to perform transfer processing, and one set of I/O interfaces can be used in a time-sharing manner by multiple content search processing devices. becomes. For convenience, FIG. 4 shows a case where two content search processing devices 2a and 2b are connected to one set of I/O interfaces 8.

しかしながら、第4図の従来例の場合、バツフ
アが満杯になるたびに内容検索処理を中断し、本
体装置で、検索が終了したかどうか判断し、中断
の場合は再度コマンドで内容検索の開始を指示す
る必要がある。このため全データ群の内容検索に
要する時間は長くなるという欠点がある。
However, in the case of the conventional example shown in Fig. 4, the content search process is interrupted every time the buffer becomes full, and the main unit determines whether the search has ended, and if it is interrupted, the content search is restarted using a command. need to be instructed. Therefore, there is a drawback that it takes a long time to search the contents of the entire data group.

以上の様に、従来技術では、内容検索処理装置
と同数のI/Oインタフエースおよび本体装置の
チヤネル装置が必要となつたり、あるいは内容検
索処理を連続して実行できない等の欠点があつ
た。
As described above, the conventional technology has drawbacks such as requiring the same number of I/O interfaces and channel devices of the main unit as content search processing devices, and the inability to execute content search processing continuously.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、1組のI/Oインタフエース
を複数の内容検索処理装置により時分割で多重使
用すると共に、内容検索処理を中断することなく
連続して実行できる内容検索処理装置を提供する
ことにある。
An object of the present invention is to provide a content search processing device that allows multiple content search processing devices to use a set of I/O interfaces in a time-sharing manner and to execute content search processing continuously without interruption. There is a particular thing.

〔発明の概要〕[Summary of the invention]

本発明の要点は、内容検索結果のデータを一時
格納するバツフアを複数個設け、バツフアのデー
タが一定量に達する毎にバツフアを切替えて内容
検索処理を続行する一方、該バツフアのデータが
一定量に達した時だけI/Oインタフエースを結
合して当該バツフアの検索結果を本体装置へ転送
し、同時にコマンドチエインして次のデータ転送
処理にそなえるようにしたことである。
The main point of the present invention is to provide a plurality of buffers for temporarily storing data of content search results, and to switch buffers every time the data in the buffer reaches a certain amount to continue the content search process. Only when this is reached, the I/O interface is connected to transfer the search results of the buffer to the main unit, and at the same time, a command chain is established to prepare for the next data transfer process.

〔発明の実施例〕[Embodiments of the invention]

第7図は本発明の一実施例のブロツク図を示
す。便宜上、第7図では2台の内容検索処理装置
2a,2bがI/Oインタフエース8を時分割に
使用するとしているが、勿論、2台である必要は
ない。第7図において、第1図や第7図と対応す
る部分には同一符号が付されている。なお、共通
制御部100は省略してある。
FIG. 7 shows a block diagram of one embodiment of the present invention. For convenience, in FIG. 7, it is assumed that two content search processing devices 2a and 2b use the I/O interface 8 in a time-sharing manner, but of course, it is not necessary to use two content search processing devices. In FIG. 7, parts corresponding to those in FIG. 1 and FIG. 7 are given the same reference numerals. Note that the common control unit 100 is omitted.

各内容検索処理装置2a,2bは、検索結果の
データを一時格納する2組のバツフア10−1,
10−2を具備している。このバツフアも2組で
ある必要がなく、一般にはN組(Nは2以上の整
数)設けられる。11はバツフア10−1,10
−2の格納データ量を計数するカウンタ、12は
1回の転送データ量を示す転送容量レジスタであ
る。また、13はカウンタ11の計数値がレジス
タ12の所定容量に達した時、検索結果データを
格納するバツフアを切替える切替回路を示し、1
4は一方のバツフアに格納されたデータが所定容
量に達した時、そのバツフアを選択する選択回路
を示す。
Each content search processing device 2a, 2b includes two sets of buffers 10-1,
10-2. There is no need to provide two sets of buffers, and generally N sets (N is an integer of 2 or more) are provided. 11 is batshua 10-1, 10
-2 is a counter that counts the amount of stored data, and 12 is a transfer capacity register that indicates the amount of data transferred at one time. Reference numeral 13 designates a switching circuit that switches the buffer for storing search result data when the count value of the counter 11 reaches a predetermined capacity of the register 12;
Reference numeral 4 designates a selection circuit that selects one buffer when the data stored in that buffer reaches a predetermined capacity.

第7図の実施例の動作フローを第8図に示す。
まず内容検索処理装置2a,2bは第1のコマン
ドにより本体装置9から検索条件の転送を行う
(ステツプ301)。この検索条件の一部として指定
された一回の分割転送容量を転送容量レジスタ1
2にセツトし、他の検索条件は内容検索回路4へ
セツトする。以上の準備が終了すると、共通制御
部の制御の下に、I/Oインタフエース制御部5
は本体装置9へチヤネル終了を報告し、本体装置
9との結合を解除し、I/Oインタフエース8を
他で使用可能状態にする(ステツプ302)。内容検
索回路4は、2次記憶制御部3を介して2次記憶
装置1のデータ群を読出し、そのデータ群の内容
検索処理を行う(ステツプ303)。そして、内容検
索結果のデータをバツフア10−1に格納しつ
つ、その容量をカウンタ11で計数する。検索条
件で指定された範囲の内容検索が終了した時は、
I/Oインタフエース制御部5は本体装置9との
結合を要求し、結合が許可された時、デバイス終
了により第1コマンドの終了を報告し、第2コマ
ンドへコマンドチエインを要求する(ステツプ
304、307)。他方、内容検索が終了しない間に、
バツフア10−1内の内容検索結果が所定容量に
達した時は、切替回路13は検索結果を格納する
バツフアを10−2に切替えて内容検索処理を続
行せしめる一方、I/Oインタフエース制御部5
は本体装置9との結合を要求し、結合が許可され
た後、デバイス終了により第1コマンドの終了を
報告し、第2コマンドへコマンドチエインを要求
する(ステツプ304、305、306)。
FIG. 8 shows the operational flow of the embodiment shown in FIG.
First, the content search processing devices 2a and 2b transfer search conditions from the main device 9 in response to a first command (step 301). Transfer capacity register 1 specifies the one-time divided transfer capacity specified as part of this search condition.
2, and other search conditions are set in the content search circuit 4. When the above preparations are completed, the I/O interface control unit 5 under the control of the common control unit
reports the end of the channel to the main unit 9, releases the connection with the main unit 9, and makes the I/O interface 8 available for use by others (step 302). The content search circuit 4 reads out the data group from the secondary storage device 1 via the secondary storage control unit 3 and performs content search processing on the data group (step 303). Then, while storing the content search result data in the buffer 10-1, the counter 11 counts its capacity. When the content search within the range specified by the search conditions is completed,
The I/O interface control unit 5 requests connection with the main device 9, and when the connection is permitted, reports the end of the first command due to device termination, and requests a command chain to the second command (step
304, 307). On the other hand, while the content search is not completed,
When the content search results in the buffer 10-1 reach a predetermined capacity, the switching circuit 13 switches the buffer for storing the search results to 10-2 to continue the content search process, while the I/O interface control unit 5
requests connection with the main device 9, and after the connection is permitted, reports the end of the first command by device termination, and requests a command chain to the second command (steps 304, 305, 306).

第2のコマンドでは、すでに内容検索が終了し
ている場合は、I/Oインタフエース制御部5は
バツフア10−1あるいは10−2に格納されて
いる検索結果を本体装置9へ転送し、転送終了
後、チヤネル終了、デバイス終了により第2コマ
ンドの終了を報告する(ステツプ308、309、
310)。他方、内容検索処理が継続している場合
は、I/Oインタフエース制御部5によりバツフ
ア10−1あるいは10−2に格納されている検
索結果を本体装置9へ転送し、転送終了後、チヤ
ネル終了を報告し、本体装置9との結合状態を解
除する一方で、内容検索回路4は内容検索処理を
継続する(ステツプ308、311、312)。その後、内
容検索処理が終了すると、I/Oインタフエース
制御部5は本体装置9との結合を要求し、結合が
許可された時、デバイス終了により第2コマンド
の終了を報告し、再度、第2コマンドへコマンド
チエインを要求する(ステツプ313、316)。他方、
内容検索が終了しない間に、一方のバツフア内の
検索結果が所定容量に達した時、切替回路14は
検索結果を格納するバツフアを他方に切替えて内
容検索処理を続ける一方、I/Oインタフエース
制御部5は本体装置9との結合を要求し、結合が
許可された時、デバイス終了により第2コマンド
の終了を報告し、再度、第2コマンドにコマンド
チエインを要求する(ステツプ313、314、315)。
以後、第2のコマンドをコマンドチエインより
次々と実行し、内容検索処理が終了したコマンド
の次のコマンドで最後の転送処理を行い、全ての
動作を終了する。
In the second command, if the content search has already been completed, the I/O interface control unit 5 transfers the search results stored in the buffer 10-1 or 10-2 to the main device 9, and After completion, the end of the second command is reported by channel end and device end (steps 308, 309,
310). On the other hand, if the content search process continues, the I/O interface control unit 5 transfers the search results stored in the buffer 10-1 or 10-2 to the main device 9, and after the transfer is completed, the channel While reporting the completion and releasing the connection state with the main device 9, the content search circuit 4 continues the content search process (steps 308, 311, and 312). Thereafter, when the content search process is completed, the I/O interface control unit 5 requests connection with the main unit 9, and when the connection is permitted, reports the end of the second command due to device termination, and repeats the second command. A command chain is requested for two commands (steps 313 and 316). On the other hand,
When the search results in one buffer reach a predetermined capacity while the content search is not completed, the switching circuit 14 switches the buffer storing the search results to the other buffer and continues the content search process, while the I/O interface The control unit 5 requests connection with the main device 9, and when the connection is permitted, reports the end of the second command due to device termination, and requests a command chain for the second command again (steps 313, 314, 315).
Thereafter, the second commands are executed one after another from the command chain, and the final transfer process is performed with the command next to the command for which the content search process has been completed, ending all operations.

第9図は本実施例における内容検索処理、バツ
フアの格納処理、および本体装置への転送処理の
関係を示したものである。同図において、Saは
一方の内容検索処理装置2aにおける内容検索処
理を示し、BIa1,BIa2はそれぞれ同装置2aの
2つのバツフア10−1,10−2への格納処
理、BOa1,BOa2はそれぞれバツフア10−1,
10−2に格納されている検索結果の出力および
転送処理を示す。また、Sb,BIb1,BIb2
BOb1,BOb2はそれぞれ方の内容検索処理装置2
bにおける該当する処理を示す。Ta1,Tb1
Ta2,Tb2はそれぞれBOa1,BOb1,BOa2
BOb2に対応するI/Oインタフエース上の転送
処理を示す。内容検索処理はSaのように連続し
て行い、バツフアへの格納はBIa1,BIa2のよう
に所定容量に達する毎に、切替えて行い、検索結
果の転送処理は、BOa1,BOa2のようにバツフア
対応に行う。
FIG. 9 shows the relationship among content search processing, buffer storage processing, and transfer processing to the main unit in this embodiment. In the figure, Sa indicates content search processing in one content search processing device 2a, and BIa 1 and BIa 2 indicate storage processing in two buffers 10-1 and 10-2 of the same device 2a, BOa 1 and BOa, respectively. 2 are respectively batshua 10-1,
10-2 shows output and transfer processing of search results stored in 10-2. Also, Sb, BIb 1 , BIb 2 ,
BOb 1 and BOb 2 are respective content search processing devices 2
The corresponding processing in b is shown. Ta 1 , Tb 1 ,
Ta 2 and Tb 2 are BOa 1 , BOb 1 , BOa 2 , respectively
The transfer process on the I/O interface corresponding to BOb 2 is shown. Content search processing is performed continuously as in Sa, storage in buffers is switched every time a predetermined capacity is reached as in BIa 1 and BIa 2 , and search result transfer processing is performed as in BOa 1 and BOa 2 . This is done in response to buffers.

内容検索処理においては、本体装置からの検索
条件に合致するデータのみを本体装置へ転送する
ものであるから、一般には、本体装置へ転送する
データ量は、2次記憶装置から読出すデータ量よ
り少ない。また、一般に2次記憶装置からの読出
し速度とI/Oインタフエースのデータ転送速度
はバランスして設定されるものであるから、BO
に要する時間はBIに要する時間に比べて短かい。
このため、1バツフアの転送処理BIa1,BOa2
終了後、I/Oインタフエースの使用を解除する
ことにり、他の内容検索処理装置の転送処理
BIb2,BOb2を行うことができる。このように、
I/Oインタフエースは時分割で、内容検索処理
装置2a,2bからの転送処理Ta1,Tb1,Ta2
Tb2を行うことができる。
In content search processing, only data that matches the search conditions from the main device is transferred to the main device, so the amount of data transferred to the main device is generally smaller than the amount of data read from the secondary storage device. few. In addition, since the reading speed from the secondary storage device and the data transfer speed of the I/O interface are generally set in a balanced manner, the BO
The time required for BI is shorter than the time required for BI.
Therefore, after the transfer process BIa 1 and BOa 2 of one buffer is completed, the use of the I/O interface is canceled, and the transfer process of other content search processing devices is canceled.
Can perform BIb 2 and BOb 2 . in this way,
The I/O interface performs time-sharing transfer processing Ta 1 , Tb 1 , Ta 2 , from the content search processing devices 2a and 2b.
Tb 2 can be done.

なお、実施例ではバツフアの切替え容量を本体
装置からコマンドで指定したが、その様にするこ
となく、バツフアへの格納容量が予め決められた
所定容量に達するとバツフアを切替える様にして
もよい。
In the embodiment, the switching capacity of the buffer is specified by a command from the main unit, but without doing so, the buffer may be switched when the storage capacity of the buffer reaches a predetermined predetermined capacity.

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

以上説明したように、本発明は内容検索結果の
データを一時格納するバツフアを複数個備え、一
つのバツフアに格納されたデータが所定容量に達
する毎に、格納バツフアを切替えて内容検索処理
を継続しながら、コマンドチエインにより検索結
果の転送処理を行うために、内容検索処理を中断
することなく連続して実行できる。また、内容検
索処理装置は1つのバツフアの検索結果を転送
後、本体装置との結合を解除し、I/Oインタフ
エースを使用可能状態にするため、複数の内容検
索処理装置がI/Oインタフエースを時分割で使
用可能となり、1つのI/Oインタフエースに多
数の内容検索処理装置を接続して、同時動作させ
ることができる。このように、本発明では最小限
本数のI/Oインタフエースを用いて、内容検索
処理装置を多数台接続することにより、内容検索
に要する時間を短縮できる利点がある。
As explained above, the present invention includes a plurality of buffers for temporarily storing content search result data, and each time the data stored in one buffer reaches a predetermined capacity, the storage buffer is switched to continue content search processing. However, since the search results are transferred through the command chain, the content search process can be executed continuously without interruption. In addition, after the content search processing device transfers the search results of one buffer, it releases the connection with the main unit and makes the I/O interface usable, so multiple content search processing devices connect to the I/O interface. Ace can be used in a time-sharing manner, and a large number of content search processing devices can be connected to one I/O interface and operated simultaneously. As described above, the present invention has the advantage that the time required for content search can be shortened by connecting a large number of content search processing devices using the minimum number of I/O interfaces.

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

第1図は従来の内容検索処理装置の第1の構成
例を示す図、第2図は第1図の動作フロー図、第
3図は第1図のタイミング図、第4図は従来の内
容検索処理装置の第2の構成例を示す図、第5図
は第4図の動作フロー図、第6図は第4図のタイ
ミング図、第7図は本発明の内容検索処理装置の
一実施例を示す図、第8図は第7図の動作フロー
図、第9図は第7図のタイミング図である。 1……2次記憶装置、2a,2b……内容検索
処理装置、3……2次記憶制御部、4……内容検
索回路、5……I/Oインタフエース、10−
1,10−2……バツフア、8……I/Oインタ
フエース、9……本体装置、11……カウンタ、
12……分割転送容量レジスタ、13……切替回
路、14……選択回路。
Fig. 1 is a diagram showing a first configuration example of a conventional content search processing device, Fig. 2 is an operation flow diagram of Fig. 1, Fig. 3 is a timing diagram of Fig. 1, and Fig. 4 is a conventional content search processing device. A diagram showing a second configuration example of the search processing device, FIG. 5 is an operation flow diagram of FIG. 4, FIG. 6 is a timing diagram of FIG. 4, and FIG. 7 is an implementation of the content search processing device of the present invention. 8 is an operation flow diagram of FIG. 7, and FIG. 9 is a timing diagram of FIG. 7. 1...Secondary storage device, 2a, 2b...Content search processing device, 3...Secondary storage control unit, 4...Content search circuit, 5...I/O interface, 10-
1, 10-2... Buffer, 8... I/O interface, 9... Main unit, 11... Counter,
12... Division transfer capacity register, 13... Switching circuit, 14... Selection circuit.

Claims (1)

【特許請求の範囲】 1 本体装置のI/Oインタフエースを介して接
続され、2次記憶装置から読出したデータ群の内
容を検索し、本体装置からコマンドで指定された
検索条件に合致する内容のデータ(以下、検索結
果データと称す)を前記I/Oインタフエースを
介して本体装置へ転送する内容検索処理装置にお
いて、 検索結果データを一時格納するための複数のバ
ツフアと、 前記複数のバツフアの入力側に接続され、検索
結果データの格納先バツフアを切り替える切替回
路と、 前記複数のバツフアの出力側に接続され、検索
結果データの読出先バツフアを選択する選択回路
と、 前記I/Oインタフエースを介して本体装置と
の通信を制御するI/Oインタフエース制御部
と、 前記複数のバツフアの一つのバツフアに格納さ
れる検索結果データが所定量に達する毎に、前記
切替回路を制御して格納先バツフアを順次切り替
え、検索条件で指定された範囲のデータ群の内容
検索処理を連続して実行する一方、前記I/Oイ
ンタフエース制御部を制御して本体装置と結合
し、前回のコマンドの終了報告を行うと共に次の
コマンドへのコマンドチエインを要求し、コマン
ドを受取ると、前記選択回路を制御して前記検索
結果データの格納されたバツフアを選択せしめ、
該バツフアの検索結果データを前記本体装置へ転
送し、該転送が終了した時点で前記I/Oインタ
フエース制御部を再び制御して本体装置との結合
を解除する共通制御部と、 を具備することを特徴とする内容検索処理装置。
[Claims] 1. Search the contents of a data group connected via the I/O interface of the main device and read from the secondary storage device, and search for content that matches the search conditions specified by a command from the main device. A content search processing device that transfers data (hereinafter referred to as search result data) to the main unit via the I/O interface, comprising: a plurality of buffers for temporarily storing the search result data; and a plurality of buffers. a switching circuit connected to the input side of the buffer for switching a buffer for storing the search result data; a selection circuit connected for the output side of the plurality of buffers for selecting a buffer for reading the search result data; an I/O interface control unit that controls communication with the main device via the Ace; and an I/O interface control unit that controls the switching circuit every time the search result data stored in one of the plurality of buffers reaches a predetermined amount. to sequentially switch the storage destination buffer, and continuously execute the content search process for the data group within the range specified by the search conditions, while controlling the I/O interface control unit to connect to the main unit and restore the previous data. reports the end of the command and requests a command chain to the next command; upon receiving the command, controls the selection circuit to select the buffer in which the search result data is stored;
a common control unit that transfers the search result data of the buffer to the main unit, and when the transfer is completed, controls the I/O interface control unit again to release the connection with the main unit; A content search processing device characterized by:
JP3180284A 1984-02-21 1984-02-21 Contents retrieval processor Granted JPS60175158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3180284A JPS60175158A (en) 1984-02-21 1984-02-21 Contents retrieval processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3180284A JPS60175158A (en) 1984-02-21 1984-02-21 Contents retrieval processor

Publications (2)

Publication Number Publication Date
JPS60175158A JPS60175158A (en) 1985-09-09
JPH0436410B2 true JPH0436410B2 (en) 1992-06-16

Family

ID=12341209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3180284A Granted JPS60175158A (en) 1984-02-21 1984-02-21 Contents retrieval processor

Country Status (1)

Country Link
JP (1) JPS60175158A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6364145A (en) * 1986-09-04 1988-03-22 Matsushita Commun Ind Co Ltd Data input device
JPH01246625A (en) * 1988-03-29 1989-10-02 Nippon Telegr & Teleph Corp <Ntt> Data base device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5144850A (en) * 1974-10-15 1976-04-16 Ricoh Kk
JPS5857776B2 (en) * 1979-04-04 1983-12-21 株式会社日立製作所 data transfer device

Also Published As

Publication number Publication date
JPS60175158A (en) 1985-09-09

Similar Documents

Publication Publication Date Title
US5845329A (en) Parallel computer
US4365292A (en) Array processor architecture connection network
WO1995006284B1 (en) Ata interface architecture employing state machines
JP2550311B2 (en) Multiple control system of magnetic disk
JPH0436410B2 (en)
KR920007949B1 (en) Peripheral controller
JPH05143242A (en) Magnetic disk system
US5901331A (en) Method for continuous data safeguarding on a magnetic tape and data restoring therefrom
JPS60183662A (en) Information processing unit
JP2755998B2 (en) Data transfer device
JPS6240736B2 (en)
JPS62182857A (en) Input and output controller
JPS6022243A (en) Content retrieval processing system
JPH02285448A (en) Data transfer control system
JPS61262870A (en) Bus controlling system
JPS62297960A (en) Data transfer system
JPH01147758A (en) Channel device
JPH01246625A (en) Data base device
JPH02100739A (en) Data transfer controlling system
JPH0740277B2 (en) Search continuation control method
JPS6126163A (en) High speed data transfer method
JPH04225452A (en) Optical i/o interface
JPH01281528A (en) Retrieving device
JPS61246861A (en) Data transfer control system
JPH07141285A (en) Data transfer control unit