JPS61271535A - High-speed retrieving circuit - Google Patents

High-speed retrieving circuit

Info

Publication number
JPS61271535A
JPS61271535A JP60113380A JP11338085A JPS61271535A JP S61271535 A JPS61271535 A JP S61271535A JP 60113380 A JP60113380 A JP 60113380A JP 11338085 A JP11338085 A JP 11338085A JP S61271535 A JPS61271535 A JP S61271535A
Authority
JP
Japan
Prior art keywords
data
memory
circuit
address
microprocessor
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
JP60113380A
Other languages
Japanese (ja)
Inventor
Hisao Kono
河野 久雄
Kunio Yamamoto
国夫 山本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60113380A priority Critical patent/JPS61271535A/en
Publication of JPS61271535A publication Critical patent/JPS61271535A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To retrieve the desired data at a high speed without increasing the load of a microprocessor by providing independently a high-speed retrieving circuit to extract successively data out of the reference area of a memory and collate them with the data to be retrieved. CONSTITUTION:When a DMA sequencer 41 gives a request to a DMA control part 42 for a direct memory access in a high-speed retrieving circuit 4, the data (d) stored in the head address of a reference memory in a memory 2 is extracted directly and transferred to a collation circuit 46. The circuit 46 collates the data and bits set at a collation data register 44 and a mask bit data register 45 with each other. When the coincidence is obtained among these data and bits, the circuit 46 sets the address of the memory 2 where the coincidence data is stored in a coincident address register 47. At he same time, the circuit 46 informs the coincidence of collation to the sequencer 41. A DMA control part 43 stores the coincident address of a register 47 directly into a coincident address saving area 22.

Description

【発明の詳細な説明】 〔概要〕 ダイレクトメモリアクセス機能を有する情報処理システ
ムに、マイクロプロセッサから指定される照合データを
蓄積し、参照領域に蓄積されているデータを抽出して照
合データと照合し、照合データと一致するデータを蓄積
したアドレスをメモリの退避領域に格納する高速検索回
路をマイクロプロセッサと独立に設けることにより、マ
イクロプロセッサの検索負荷を大幅に軽減させるもので
ある。
[Detailed Description of the Invention] [Summary] Verification data designated by a microprocessor is stored in an information processing system having a direct memory access function, and data stored in a reference area is extracted and verified against the verification data. By providing, independently of the microprocessor, a high-speed search circuit that stores addresses storing data that match the verification data in a memory save area, the search load on the microprocessor is greatly reduced.

〔産業上の利用分野〕[Industrial application field]

本発明はマイクロプロセッサを用いる情報処理システム
に併用する高速検索回路に関する。
The present invention relates to a high-speed search circuit used in an information processing system using a microprocessor.

この種の情報処理システムにおいて、マイクロプロセッ
サの動作の内、併設されるメモリ内に格納されているデ
ータの中から、指定されたデータを検索する動作が占め
る割合が多い。
In this type of information processing system, a large proportion of the microprocessor's operations involve searching for designated data from data stored in an attached memory.

メモリ内の所要データを、プロセッサの負荷を増大させ
ること無く高速に抽出、或いは格納する手段は、ダイレ
クトメモリアクセス機能として実用化されている。
A direct memory access function has been put to practical use as a means for quickly extracting or storing required data in memory without increasing the load on the processor.

従って更に抽出されたデータから所要のデータを高速に
、且つマイクロプロセッサの負荷を増大させること無(
検索する手段の実現が強く望まれる。
Therefore, the required data can be extracted from the extracted data at high speed and without increasing the load on the microprocessor (
It is strongly desired to realize a means for searching.

〔従来の技術〕[Conventional technology]

従来あるこの種の情報処理システムにおいては、マイク
ロプロセッサが直接メモリ9参照領域に格納されている
データを順次抽出し、検索対象となるデータと照合して
いた。また照合をビット単位で行う必要があれば、抽出
したデータをエビ、2ト宛シフトさせる等のビット処理
を実行していた為、多くの処理ステップ数および時間を
消費していた。
In conventional information processing systems of this kind, a microprocessor directly extracts data stored in the reference area of the memory 9 one after another and collates the extracted data with data to be searched. Furthermore, if it was necessary to perform verification in bit units, bit processing such as shifting the extracted data to two bits was performed, consuming a large number of processing steps and time.

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

以上の説明から明らかな如く、従来ある情報処理システ
ムにおいては、マイクロプロセッサが直接対象データの
検索処理を実行していた為、多くの時間を消費し、マイ
クロプロセッサの処理能力を大幅に圧迫する恐れがあっ
た。
As is clear from the above explanation, in conventional information processing systems, the microprocessor directly executes the search process for target data, which consumes a lot of time and may significantly strain the processing capacity of the microprocessor. was there.

C問題点を解決するための手段〕 本発明は下記の手段を前記マイクロプロセッサおよびメ
モリに併設することにより、前記問題点を解決するもの
である。
Means for Solving Problem C] The present invention solves the above problem by providing the following means in conjunction with the microprocessor and memory.

即ち本発明においては、マイクロプロセッサ(第1図1
)から指定される照合データを蓄積する手段(44)と
、 メモリ (2)内の参照領域(21)に蓄積されている
データを抽出して照合データと照合する手段(42,4
6)と、 該手段が検出した照合データと一致するデータを蓄積し
たメモリ (2)のアドレスをメモリの退避領域(22
)に格納する手段(43,47)とを有する高速検索回
路(4)をダイレクトメモリアクセス機能を有する情報
処理システムに併設する。
That is, in the present invention, a microprocessor (Fig.
); and means (42, 4) for extracting the data stored in the reference area (21) in the memory (2) and comparing it with the verification data.
6), and the address of the memory (2) that has accumulated data matching the collation data detected by the means is set to the memory save area (22).
) and storage means (43, 47) is installed in an information processing system having a direct memory access function.

〔作用〕[Effect]

即ち本発明によれば、マイクロプロセッサおよびメモリ
と独立に設けられた高速検索回路が、メモリ内の参照領
域から順次データを抽出し、検索対象データと照合する
為、所要のデータが高速に、且つマイクロプロセッサの
負荷を増大させること無く検索するこ止が可能となる。
That is, according to the present invention, a high-speed search circuit provided independently of the microprocessor and memory sequentially extracts data from the reference area in the memory and matches it with the search target data, so that the required data can be retrieved at high speed and Searching can be stopped without increasing the load on the microprocessor.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例による高速検索回路を示す図
であり、第2図は第1図における動作過程の一例を示す
図である。
FIG. 1 is a diagram showing a high-speed search circuit according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the operation process in FIG. 1.

第1図において、情報処理システムを構成するマイクロ
プロセッサ1およびメモリ2を接続するアドレスバス3
1およびデータバス32に、高速検索回路4が接続され
ている。
In FIG. 1, an address bus 3 connects a microprocessor 1 and a memory 2 constituting an information processing system.
1 and data bus 32, a high-speed search circuit 4 is connected.

高速検索回路4は、DMAシーケンサ41と、D M 
A ?ti制御部42および43と、照合データレジス
タ44と、マスクビットデータレジスタ45と、照合回
路46と、一致アドレスレジスタ47とセレクタ48と
を具備している。
The high-speed search circuit 4 includes a DMA sequencer 41 and a DMA sequencer 41.
A? It includes ti control units 42 and 43, a verification data register 44, a mask bit data register 45, a verification circuit 46, a match address register 47, and a selector 48.

第1図および第2図において、メモリ2内の参照メモリ
領域21から所要データの検索を必要とするマイクロプ
ロセッサ1は、高速検索回路4内の照合データレジスタ
44に検索すべきデータ(以後照合データd1と称する
)を、マスクビットデータレジスタ45に検索の際にマ
スクすべきビットを指定するデータ(以後マスクビット
データd2と称する)をそれぞれ設定しくステップSl
)、またDMA11111部42に参照メモリ領域21
の先頭アドレスa1と参照バイト数81とを設定しくス
テップS2)、更にD M A M外部43に一致アド
レス退避領域22の先頭アドレスa2と退避バイト数8
2とを設定した後(ステップS3) 、DMAシーケン
サ41を起動しくステップS4)、以後他の処理を実行
する。
1 and 2, the microprocessor 1 that needs to search for required data from the reference memory area 21 in the memory 2 stores the data to be searched (hereinafter referred to as collation data) in the collation data register 44 in the high-speed search circuit 4. Step Sl
), and the reference memory area 21 is also stored in the DMA 11111 section 42.
Set the start address a1 and the number of reference bytes 81 (Step S2), and also set the start address a2 and the number of save bytes 8 of the matching address save area 22 in the DMA external 43.
After setting 2 (step S3), the DMA sequencer 41 is activated (step S4), and other processing is thereafter executed.

高速検索回路4においては、DMAシーケンサ41が所
定タイミングに従ってDMA制御部42にダイレクトメ
モリアクセス動作の開始を要求する(ステップ$11)
In the high-speed search circuit 4, the DMA sequencer 41 requests the DMA control unit 42 to start a direct memory access operation according to a predetermined timing (step $11).
.

D M A ttd制御部42は、メモリ2内の参照メ
モリ先頭アドレスa1に格納されているデータdを直接
抽出して照合回路46に転送する。照合回路46は、転
送されたデータを照合データレジスタ44に設定されて
いる照合データd1と、マスクビットデータレジスタ4
4に設定されているマスクビットデータd2に指定され
るビットを照合しくステップ512)、−Itしなけれ
ば再びステップSllおよびS12を繰返す(ステップ
513)。
The DMA ttd control unit 42 directly extracts the data d stored at the reference memory start address a1 in the memory 2 and transfers it to the collation circuit 46. The collation circuit 46 converts the transferred data into the collation data d1 set in the collation data register 44 and the mask bit data register 4.
The bit specified in the mask bit data d2 set to 4 is checked (step 512), and if -It is not found, steps Sll and S12 are repeated again (step 513).

ステップS12において、データdと照合データd1と
が一致すれば、照合回路46は一致アドレスレジスタ4
7に、一致したデータdが格納されているメモリ2のア
ドレス(以後一致アドレスa3と称する)を設定する(
ステップ514)と共に、DMAシーケンサ41に一致
検出を通知する。
In step S12, if the data d and the verification data d1 match, the verification circuit 46 sends the matching address register 4
7, set the address of the memory 2 where the matched data d is stored (hereinafter referred to as matching address a3) (
At step 514), the DMA sequencer 41 is notified of the match detection.

DMAシーケンサ41は、DMA制御部43にダイレク
トメモリアクセス動作の開始を要求する(ステップ51
5)。
The DMA sequencer 41 requests the DMA control unit 43 to start a direct memory access operation (step 51).
5).

DMA制御部43は、一致アドレスレジスタ47に設定
されている一致アドレスa3を、セレクタ48を介して
直接一致アドレス退避領域22の先頭アドレスa2に格
納する(ステップ516)。
The DMA control unit 43 stores the match address a3 set in the match address register 47 directly into the start address a2 of the match address save area 22 via the selector 48 (step 516).

以上の過程(ステップSll乃至816)を、DMA制
御部42内に設定されている参照バイト数B1に相当す
るデータdに対し実行し終わる迄(ステップ517)、
或いはDMA制御部43内に設定されている退避バイト
数B2に相当する一致アドレスa3が一致アドレス退避
領域22に格納される迄(ステップ318)、繰返す。
Until the above process (steps Sll to 816) is completed for the data d corresponding to the reference byte number B1 set in the DMA control unit 42 (step 517),
Alternatively, the process is repeated until the match address a3 corresponding to the number of save bytes B2 set in the DMA control unit 43 is stored in the match address save area 22 (step 318).

参照バイト数B1のデータdに対し照合が終了する(ス
テップ517)、または退避バイト数82の一致アドレ
スa3が一致アドレス退避領域22に格納される(ステ
ップ818)と、DMA制御部42または43は、マイ
クロプロセッサ1に割込要求信号を伝達する。
When the matching for the data d with the reference byte number B1 is completed (step 517), or when the match address a3 with the save byte number 82 is stored in the match address save area 22 (step 818), the DMA control unit 42 or 43 , transmits an interrupt request signal to the microprocessor 1.

割込要求信号を受信したマイクロプロセッサ1は、一致
アドレス退避領域22を参照し、検索結果を抽出する(
ステップ35)。
Upon receiving the interrupt request signal, the microprocessor 1 refers to the matching address save area 22 and extracts the search result (
Step 35).

以上の説明から明らかな如く、本実施例によれば、所要
データの検索を必要とするマイクロプロセッサ1は、高
速検索回路4に所要の検索条件を設定して起動するのみ
で、以後高速検索回路4が総ての検索動作を実行し、検
索結果をマイクロプロセッサ1に通知する為、マイクロ
プロセッサ1の負荷は大幅に削減される。
As is clear from the above description, according to this embodiment, the microprocessor 1 that needs to search for required data only needs to set the required search conditions in the high-speed search circuit 4 and start it up. 4 executes all search operations and notifies the microprocessor 1 of the search results, so the load on the microprocessor 1 is significantly reduced.

なお、第1図および第2図はあく迄本発明の一実施例に
過ぎず、例えば高速検索回路4の構成は図示されるもの
に限定されることは無く、他に幾多の変形が考慮される
が、何れの場合にも本発明の効果は変わらない。
Note that FIGS. 1 and 2 are only one embodiment of the present invention, and the configuration of the high-speed search circuit 4, for example, is not limited to that shown in the figures, and many other modifications may be considered. However, the effects of the present invention remain the same in either case.

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

以上、本発明によれば、マイクロプロセッサおよびメモ
リと独立に設けられた高速検索回路が、メモリ内の参照
領域から順次データを抽出し、検索対象データと照合す
る為、所要のデータが高速に、且つマイクロプロセッサ
の負荷を増大させること無く検索することが可能となる
As described above, according to the present invention, the high-speed search circuit provided independently of the microprocessor and memory sequentially extracts data from the reference area in the memory and matches it with the search target data. Moreover, it becomes possible to search without increasing the load on the microprocessor.

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

第1図は本発明の一実施例による高速検索回路を示す図
、第2図は第1図における動作過程の一例を示す図であ
る。 図において、■はマイクロプロセッサ、2はメモリ、4
は高速検索回路、21は参照メモリ領域、22は一致ア
ドレス退避領域、31はアドレスバス、32はデータバ
ス、41.はDMAシーケンサ、42および43はDM
A制御部、44は照合データレジスフ、45はマスクピ
ットデータレジスタ、46は照合回路、47は一致アド
レスレジスタ、48はセレクタ、alは参照メモリ先頭
アドレス、B2は退避領域先頭アドレス、B3は一致ア
ドレス、B1は参照バイト数、B2は退避バイト数、d
はデータ、dlは照合データ、d2はマスクビットデー
タ、を示す。 串薬釦fJ−,突堤渕1作す口 n\、ej3Jla%/I(Jしr4x: f (g♀
 2 日
FIG. 1 is a diagram showing a high-speed search circuit according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the operation process in FIG. 1. In the figure, ■ is a microprocessor, 2 is a memory, and 4 is a microprocessor.
21 is a reference memory area; 22 is a matching address save area; 31 is an address bus; 32 is a data bus; 41. is a DMA sequencer, 42 and 43 are DM
A control unit, 44 is a verification data register, 45 is a mask pit data register, 46 is a verification circuit, 47 is a match address register, 48 is a selector, al is the reference memory start address, B2 is the save area start address, B3 is the match address, B1 is the number of reference bytes, B2 is the number of saved bytes, d
indicates data, dl indicates verification data, and d2 indicates mask bit data. Kushiyaku button fJ-, jetty bank 1 mouth n\, ej3Jla%/I (Jshir4x: f (g♀
2 days

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサ(1)とメモリ(2)とを具備し、
ダイレクトメモリアクセス機能を有する情報処理システ
ムに併設し、前記マイクロプロセッサ(1)から指定さ
れる照合データを蓄積する手段(44)と、前記メモリ
(2)内の参照領域(21)に蓄積されているデータを
抽出して前記照合データと照合する手段(42、46)
と、該手段が検出した前記照合データと一致するデータ
を蓄積した前記メモリ(2)のアドレスを前記メモリ(
2)の退避領域(22)に格納する手段(43、47)
とを有することを特徴とする高速検索回路。
Comprising a microprocessor (1) and a memory (2),
A means (44) installed in an information processing system having a direct memory access function for accumulating collation data designated by the microprocessor (1) and a reference area (21) in the memory (2); means (42, 46) for extracting the data contained in the data and comparing it with the verification data;
and the address of the memory (2) storing data matching the collation data detected by the means is set to the memory (2).
2) means (43, 47) for storing in the evacuation area (22);
A high-speed search circuit comprising:
JP60113380A 1985-05-27 1985-05-27 High-speed retrieving circuit Pending JPS61271535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60113380A JPS61271535A (en) 1985-05-27 1985-05-27 High-speed retrieving circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60113380A JPS61271535A (en) 1985-05-27 1985-05-27 High-speed retrieving circuit

Publications (1)

Publication Number Publication Date
JPS61271535A true JPS61271535A (en) 1986-12-01

Family

ID=14610825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60113380A Pending JPS61271535A (en) 1985-05-27 1985-05-27 High-speed retrieving circuit

Country Status (1)

Country Link
JP (1) JPS61271535A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990010912A1 (en) * 1989-03-14 1990-09-20 Kabushiki Kaisha Dainichi Data retrieval device and data editing apparatus using this device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990010912A1 (en) * 1989-03-14 1990-09-20 Kabushiki Kaisha Dainichi Data retrieval device and data editing apparatus using this device
US5321843A (en) * 1989-03-14 1994-06-14 Kabushiki Kaisha Dainichi Information retrieval apparatus and information editing system using the same

Similar Documents

Publication Publication Date Title
JPH0532775B2 (en)
US3344404A (en) Multiple mode data processing system controlled by information bits or special characters
WO1999034273A2 (en) Automated dual scatter/gather list dma
JP2960533B2 (en) Symbol string search module and single-chip microcomputer including the same
US4800490A (en) Buffer storage control system having a priority circuit
JPS61271535A (en) High-speed retrieving circuit
JPS6353588B2 (en)
JP2880199B2 (en) Symbol string search method and search device
JPH05134930A (en) Memory protecting device
US6401144B1 (en) Method and apparatus for managing data transfers between peripheral devices by encoding a start code in a line of data to initiate the data transfers
JP2892113B2 (en) Address lock method
JPS5853791B2 (en) character recognition device
JPH06309169A (en) Information processor
JPH01269141A (en) Microprocessor having extension port
JPH0415496B2 (en)
JPH04342044A (en) Record retrieving device
JPH01233682A (en) Ic card reading system
JPH043251A (en) Method and processor for retrieving document
JPS6162124A (en) Data transfer system
JPS5991567A (en) Processor for dispersed information
JPS58115552A (en) Interrupt controlling system
JPH04156670A (en) Character string retrieval circuit
JPH02176839A (en) Information processor
JPH03260870A (en) Projection system for data base assist
JPS62171058A (en) Address converter