JPS6014324A - Associative storage device - Google Patents

Associative storage device

Info

Publication number
JPS6014324A
JPS6014324A JP58121302A JP12130283A JPS6014324A JP S6014324 A JPS6014324 A JP S6014324A JP 58121302 A JP58121302 A JP 58121302A JP 12130283 A JP12130283 A JP 12130283A JP S6014324 A JPS6014324 A JP S6014324A
Authority
JP
Japan
Prior art keywords
key code
keyword
word
address
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58121302A
Other languages
Japanese (ja)
Other versions
JPH0430632B2 (en
Inventor
Hachiro Yamada
山田 八郎
Tsunesuke Takahashi
恒介 高橋
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58121302A priority Critical patent/JPS6014324A/en
Publication of JPS6014324A publication Critical patent/JPS6014324A/en
Publication of JPH0430632B2 publication Critical patent/JPH0430632B2/ja
Granted 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/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9017Indexing; Data structures therefor; Storage structures using directory or table look-up

Abstract

PURPOSE:To eliminate the increase of cost and to shorten the retrieving time for an associative storage device by compressing the information quantity of a key word to produce a key code, storing this key code in response to the key word and detecting the coincidence between the key code and the key word in a retrieval mode. CONSTITUTION:A sequence controller 312 starts a block address scanning circuit 309 to read successively the contents of a register marker memory 308. The address scan of the circuit 309 is stopped when 0 is detected, and 1 is written in an address of the memory 308. While a key code is obtained by compressing the plural-word length of the key code into the one-word length through a compresssing circuit 311. This key code is written in a key code memory 307. Then the controller 312 starts a word address scanning circuit 310 to store a record 302 and a key word 301 in a record memory 305 and a key word memory 306 respectively while scanning the word address at and after an address 0. Thus the registration is ended. The retrieval is carried out by detecting the coincidence between the key code and the key word.

Description

【発明の詳細な説明】 本発明はキーワードを与えることによシ、それに関連す
るレコードを出力する連想記憶装置に係る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an associative memory device that outputs records related to a keyword by giving it a keyword.

連想記憶装置はデータベースシステムのMJな構成要素
である。データベースは与えられたキーワードに関連す
るデータレコードを引出すことを行なっている。第1図
(b)に示すように、データレコードは磁気ディスクあ
るいは磁気テープ等の大容量記憶装置10に記録されて
いる。この大容量記憶装置の内容を比較的効率よく検索
するために、キーワードを入力とし、それに関連するデ
ータレコードが記録されている大容量記憶装置上のアド
レスデータをめる第1図(a)に示すようなインデック
ス・テーブル15が一般に利用される(インデックス・
テーブルの詳細は企画センター(樽発行、小林功弐著の
「データ・ベースの管理」の文献に記述されているので
説明を省略する)。第2図に示すように、インデックス
・テーブル15は連想記憶装置25に格納され、磁気デ
ィスク10からロードされたシ、磁気ディスク10にセ
ーブされたりできるのが好ましい。
Content addressable memory is an MJ component of database systems. The database is responsible for retrieving data records related to a given keyword. As shown in FIG. 1(b), data records are recorded on a mass storage device 10 such as a magnetic disk or magnetic tape. In order to search the contents of this mass storage device relatively efficiently, the method shown in FIG. An index table 15 as shown is generally used (index table 15).
The details of the table are described in the document ``Database Management'' written by Koji Kobayashi, published by Planning Center (Taru Publishing, so the explanation will be omitted). As shown in FIG. 2, index table 15 is preferably stored in content addressable memory 25 and can be loaded from magnetic disk 10 and saved to magnetic disk 10.

この棟の連想記憶装置に使われる連想メモリ素子につい
ては既に多くの文献に、たとえば「情報処理ハンドブッ
ク」に掲載されている「論理記憶」(47年5月オーム
社発行、情報処理学会編集。
There are already many documents about the associative memory elements used in the associative memory device in this building, such as ``Logical Memory'' published in the ``Information Processing Handbook'' (published by Ohmsha in May 1947, edited by the Information Processing Society of Japan).

PP13−96〜PP13−99)などに紹介されてい
る。
It is introduced in PP13-96 to PP13-99).

これによると連想記憶装置は情報を記憶する各記憶素子
ごとに記憶内容と検索情報との一致を調べる一致検出回
路を設けた構成の連想メモリ素子を必要とする。従って
所望のデータの格納位置を示すアドレスを供給すること
によシアクセスされる通常の記憶装置に使われる記憶素
子に比べ、従来の連想記憶素子は構成が複雑であシ、そ
のビット当りのコストが数十倍におよぶという欠点を有
していた。
According to this, an associative memory device requires an associative memory element having a configuration in which each memory element that stores information is provided with a match detection circuit that checks whether the stored content matches the search information. Therefore, compared to memory elements used in ordinary memory devices that are accessed by supplying an address indicating the storage location of desired data, conventional content addressable memory elements have a more complex structure and a lower cost per bit. It had the disadvantage that it was several tens of times as large.

この欠点を除去するために通常の記憶素子を用い、全番
地の内容を読取り、読取り結果と検索キーワードとの比
較を1つの一致検出回路で順次に行なう連想記憶の装置
構成も考えられるが、このままの装置構成では、検索時
間が全内容を読出す時間となシ、長すぎると共に、比較
処理能力によって性能が制限された。
In order to eliminate this drawback, it is possible to consider an associative memory device configuration in which a normal memory element is used, the contents of all addresses are read, and a single match detection circuit sequentially compares the read results with the search keyword. In this device configuration, the search time is too long compared to the time required to read all the contents, and the performance is limited by the comparison processing capacity.

すなわち、従来の連想記憶装置は高価であシ、また大き
な検索時間を必要とする欠点を南していた。
That is, conventional associative memory devices are expensive and require a long search time.

本発明の目的は上記欠点を除去した新しい構成の連想記
憶装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an associative memory device with a new configuration that eliminates the above-mentioned drawbacks.

本発明の連想記1.ハ装置は、外部から与えられたアド
レスレコードとキーワードを各々対応して記憶する第1
.第2の記憶手段と、前記キーワードの情報量を圧縮し
てキーコードを生成するデータ圧縮手段と、前記キーコ
ードを前記キーワードに対応して記憶する第3の記憶手
段と、検索動作時に前記第3の記憶手段の内容を順次出
力させるブロックアドレス走査手段と、前記キーコード
と前記第3の記憶手段の内容とを比較するキーコード比
較手段と、前記キーコード比較手段の一致出力によシ、
前記ブロックアドレス走査手段で指定された前記第1.
第2の記憶手段のワードアドレスの走査を開始するワー
ドアドレス走査手段と、前記キーワードと前記第2の記
憶手段の内容との比較を行ない、比較結果を整合出力と
して外部に出力するキーワード比較手段とを含んで構成
される。
Associative notes of the present invention 1. C) The first device stores address records and keywords given from the outside in correspondence with each other.
.. a second storage means; a data compression means for compressing the information amount of the keyword to generate a key code; a third storage means for storing the key code in correspondence with the keyword; block address scanning means for sequentially outputting the contents of the third storage means; key code comparison means for comparing the key code with the contents of the third storage means; and a matching output of the key code comparison means;
The first .
word address scanning means that starts scanning the word address of the second storage means; keyword comparison means that compares the keyword with the content of the second storage means and outputs the comparison result to the outside as a matched output; It consists of:

以下図面を用いて本発明について詳細に説明する。The present invention will be explained in detail below using the drawings.

第3図は本発明の一実施例を示す連想記憶装置のブロッ
ク図である。この図に示す連想記憶装置には、登録時に
、キーワード301とアドレス・レコード302と登録
マーカ信号303とが外部から供給され、また検索時に
は検索キーワード301が供給され、それに整合したア
ドレス・レコード304が出力される。キーワード30
1の個数が2つ以上になる場合には破線ブロックの検索
制御回路320の部分がその個数に対応して増5− えるとしている。
FIG. 3 is a block diagram of an associative memory device showing one embodiment of the present invention. The content addressable memory device shown in this figure is supplied with a keyword 301, an address record 302, and a registration marker signal 303 from the outside at the time of registration, and is supplied with a search keyword 301 at the time of search, and an address record 304 that matches it is supplied. Output. Keyword 30
When the number of 1's becomes two or more, the portion of the search control circuit 320 in the dashed line block increases in accordance with the number.

連想記憶装置内にはレコード・メモリ305、キーワー
ドメモリ306、キーコードメモリ307、登録マーカ
メモリ308の4つのRAM(ランダム・アクセス−メ
モリ)が用意され、そこにはそれぞれディスク・アドレ
スに関するレコード、キーワード、キーワードを圧縮し
たキーコード、登録マーカが貯えられる。レコード30
2及びキーワード301は複数ワード(1ワードは8,
16゜32ビツトなど)で構成され、そのワードアドレ
スは動作時に上記RAMに接続されたワードアドレス走
査回路310によシ走査される。データ圧縮回路311
に供給されるキーワード301は1ワードのキーコード
に圧縮され、キーコードメモリ307及びキーコード比
較回路314に供給される。また、登録マーカ信号30
3は登録マーカメモリ308に入力され、レコード30
2.キーワード301.キーコード313の登録時にそ
れらが登録されたことを示す登録マーカをたてる。
Four RAMs (random access memories) are prepared in the content addressable memory device: a record memory 305, a keyword memory 306, a key code memory 307, and a registered marker memory 308, each of which stores records related to disk addresses and keywords. , key codes compressed from keywords, and registration markers are stored. record 30
2 and keyword 301 are multiple words (one word is 8,
The word address is scanned by a word address scanning circuit 310 connected to the RAM during operation. Data compression circuit 311
The keyword 301 supplied to the key code 301 is compressed into a one-word key code, and then supplied to the key code memory 307 and the key code comparison circuit 314. In addition, the registered marker signal 30
3 is input into the registered marker memory 308, and record 30
2. Keyword 301. When registering the key code 313, a registration marker is placed to indicate that the key code 313 has been registered.

1組のレコード、キーワード、ギーコード、登6− 録マーカから彦るデータブロックのアドレスはブロック
アドレス走査回路309によシ指定され、または順次走
査される。
Addresses of data blocks returned from a set of records, keywords, code, and registration markers are designated or sequentially scanned by block address scanning circuit 309.

この連想記憶装置の登録動作は次のように行なワレる。The registration operation of this content addressable memory device is performed as follows.

シーケンスコントローラ312ijニブロツクアドレス
走査回路309を起動させ、登録マーカメモリ308の
内容を順次読取シ、データブロックの空きを意味する°
0”を検出したならば、ブロックアドレス走査回路30
9のアドレス走査を停止し、登録マーカメモリ308の
その時のアドレスにデータブロックの登録済みを意味す
る°l″を書込む。また、データ圧縮回路311で複数
ワード長のキーワードを1ワード長に圧縮してめたキー
コードをキーコドメモリ307に書込む。
The sequence controller 312ij activates the block address scanning circuit 309 and sequentially reads the contents of the registered marker memory 308, which means that the data block is empty.
0” is detected, the block address scanning circuit 30
9 is stopped, and °l'', which means that the data block has been registered, is written to the current address of the registration marker memory 308. Also, the data compression circuit 311 compresses the multiple word length keyword into one word length. The obtained key code is written into the key code memory 307.

さらに、シーケンスコントローラ312はワードアドレ
ス走査回路310を起動させ、0番地から順ワードアド
レスの走査をしガからレコード302をレコードメモリ
305に、キーワード301をキーワードメモリ306
にそれぞれ格納して登録動作を終了させる。
Furthermore, the sequence controller 312 activates the word address scanning circuit 310 and sequentially scans word addresses starting from address 0, and then transfers the record 302 to the record memory 305 and the keyword 301 to the keyword memory 306.
, respectively, and the registration operation is completed.

なお、データ圧縮回路311はキーワード301のワー
ド長を減少させる部分である。今の場合、複数ワード長
を単一ワード長に減少させるとしているが、一般にはこ
れに限らない。また、圧縮のやシ方も色々ある。最も容
易な方法はキーワード内の特定の1ワードをキーコード
として取出すことである。1ワード長のキーコード31
3によってデータ(レコードやキーワード)を2 個の
クラスに均等に(ばらばら)に分けられるように選ぶこ
とが望ましいために、データ圧縮回路111は一般には
バッジ−回路とも呼ばれる。エラー検出と訂正に使われ
るFCCはこの回路の機能を力えるように使える。
Note that the data compression circuit 311 is a part that reduces the word length of the keyword 301. In the present case, the length of multiple words is reduced to a single word length, but this is generally not the case. There are also various methods of compression. The easiest method is to extract one specific word within a keyword as a key code. 1 word length key code 31
Since it is desirable to select data (records and keywords) so that they can be divided equally (separately) into two classes by 3, the data compression circuit 111 is also generally called a badge circuit. The FCC used for error detection and correction can be used to enhance the functionality of this circuit.

このようにして登録されたレコードをキーワードによっ
て検索し、関連するレコードをめる検索動作は(1)キ
ーコードの一致検出と(2)キーワードの一致検出とに
より行なわれる。
The operation of searching the records registered in this way using keywords and finding related records is performed by (1) key code match detection and (2) keyword match detection.

(1) キーコードの一致検出 外部より検索するためのキーワード301がレジスタ3
18と319に力えられると、データ圧縮回路311は
登録時と同様な方法でキーコード313を発生する。レ
ジスタ319はキーワード301の属性を示すコードを
シーケンスコントローラ312に与える。シーケンスコ
ントローラ312は属性コードで指定された検索制御回
路320に対してブロックアドレス走査回路309を起
動させ、キーコードメモリ307及び登録マーカメモリ
308のアドレスの走査を行なう。キーコード比較回路
314は登録マーカメモリ308の内容が“1”の時に
おけるキーコードメモリ307の内容と検索キーワード
のキーコド313とを比較シ、一致で′1”、不一致で
“0°のキーコード一致信号315をシーケンスコント
ローラ312とキーワード比較回路316とに供給する
。”0“のキーコード一致信号315はブロックアドレ
ス走査回路309で示されたキーワードメモリ306の
内容がキーワード301に一致していないことを示し、
°ドのキーコード一致伯号315は一致している可能性
が高いことを示す。
(1) Key code match detection Keyword 301 for external search is in register 3
18 and 319, the data compression circuit 311 generates a key code 313 in the same manner as during registration. Register 319 provides a code indicating the attribute of keyword 301 to sequence controller 312 . The sequence controller 312 activates the block address scanning circuit 309 for the search control circuit 320 specified by the attribute code, and scans the addresses of the key code memory 307 and the registered marker memory 308. The key code comparison circuit 314 compares the content of the key code memory 307 with the key code 313 of the search keyword when the content of the registered marker memory 308 is "1", and the key code is '1' if there is a match, and '0° if there is no match. A match signal 315 is provided to a sequence controller 312 and a keyword comparison circuit 316. The key code match signal 315 of "0" indicates that the contents of the keyword memory 306 indicated by the block address scanning circuit 309 do not match the keyword 301,
The key code matching number 315 in the code indicates that there is a high possibility that they match.

(2)キーワードの一致検出 9− キーコード一致信号315が“1″を示すと、システム
コントローラ312はキーワード比較回路でのキーワー
ドの比較動作を開始させる。まず、システムコントロー
ラ312は属性コードでtkf定された横木制御回路3
20に対してワードアドレス走査回路310を起動させ
、キーワードメモリ306のワードアドレスをワード長
の分だけ0番地よ#)順次走査させる。キーワード比較
回路316はキーワードメモリ306の内容と外部から
与えられたキーワード301との比較を行ない、”1”
で一致、“0°で不一致のキーワード一致信号317を
出力する。また、ワードアドレスの走査によシレコード
メモリ305から整合レコード304が出力される。複
数の検索制御回路320がら“1″のキーワード一致信
号317が出そろったときに出力された整合レコード3
04がキーワード301に整合したレコードとして有効
となる。以上で内容検索が終了する。
(2) Keyword match detection 9 - When the key code match signal 315 indicates "1", the system controller 312 starts the keyword comparison operation in the keyword comparison circuit. First, the system controller 312 uses the crosspiece control circuit 3 defined by the attribute code tkf.
20, the word address scanning circuit 310 is activated and the word addresses of the keyword memory 306 are sequentially scanned by the word length. The keyword comparison circuit 316 compares the contents of the keyword memory 306 with the externally given keyword 301, and returns "1".
A keyword matching signal 317 is output that indicates a match at "0°" and "mismatch at 0°."A matching record 304 is output from the record memory 305 by scanning the word address. Consistency record 3 output when all match signals 317 are output
04 is valid as a record that matches the keyword 301. This completes the content search.

キーワード一致信号317が不一致を示した場合には、
ブロックアドレス走査回路309による10− ブロックアドレスの走査を再開し、(1)キーコードの
一致検出の動作に戻る。システムコントローラ312は
これら(1) 、 (2)の動作を全てのデータブロッ
クに対して行ない検索動作を終了する。
If the keyword match signal 317 indicates a mismatch,
The scanning of the 10-block address by the block address scanning circuit 309 is restarted, and the operation returns to (1) key code match detection. The system controller 312 performs operations (1) and (2) on all data blocks and ends the search operation.

以上述べたように本発明の連想記憶装置はアドレス指定
によシ内容を胱出す通常の記憶素子を用いているため、
著しい価格低下をもたらす。またキーワードの一致検出
はキーコードで一致したキーワードについてのみ行なえ
ばよいため、全てのキーワードを比較する従来の連想記
憶装置に比べ検索時間を著しく短縮できる。
As mentioned above, since the associative memory device of the present invention uses a normal memory element that stores contents by addressing,
resulting in a significant price drop. Furthermore, since keyword match detection only needs to be performed for keywords that match with the key code, the search time can be significantly reduced compared to conventional associative memory devices that compare all keywords.

第4図は本発明のもう一つの実施例である。第3図との
違いはキーワード302とレコード301がワード単位
でシリアルに入力され、半導体RAM400にロードさ
れる点と、特許請求の範囲に示した第1と第2と第3の
記憶手段がそれぞれ半導体RAM400 の中のレコー
ドエリヤ405、キーワードエリヤ4.06とキーコー
ドエリヤ407に分散して形成される点にある。
FIG. 4 shows another embodiment of the invention. The difference from FIG. 3 is that keywords 302 and records 301 are serially input in word units and loaded into semiconductor RAM 400, and that the first, second, and third storage means shown in the claims are respectively It is formed in a distributed manner in a record area 405, a keyword area 4.06, and a key code area 407 in the semiconductor RAM 400.

キーワードとレコードから成るデータ401の中のキー
ワード成分はキーワードに付加された属性コードによっ
てバッファ418に選択的に取込まれ、その出力はデー
タ圧縮回路311でキーコード313に変換される。デ
ータ401を半導体RAM400の中にロードする時に
、順次に書込まれるキーワードとレコードの後にオア回
路402を介してキーコード313をRAM400へ書
込む。
Keyword components in data 401 consisting of keywords and records are selectively taken into buffer 418 according to attribute codes added to the keywords, and the output thereof is converted into key code 313 by data compression circuit 311 . When loading data 401 into semiconductor RAM 400, key code 313 is written into RAM 400 via OR circuit 402 after keywords and records are written in sequence.

半導体RAM400のアドレス走査回路は第3図の場合
よシ更に細かく分かれ、キーコードエリアのアドレス走
査回路411とレコードエリアのアドレス走査回路41
0とキーワードエリアのアドレス走査回路409とキー
コード・レコード・キーワードを1組としたデータブロ
ックのアドレス走査回路408とから成る。シーケンス
コートローラ312はキーコード比較回路314の出力
とキーコードに含またる登録マーカ信号とバッファ41
8から来るデータフル(詰っている事を示す)信号40
4とキーワード比較回路316の出力によって制御され
、内容検索のだめの検索処理を制御する。複数の検索制
御回路320のキーワード比較回路316のいずれから
も一致検出信号が出力された時に、RAM400から出
ているデータブロックがめる整合レコードを含んでいる
。一致信号が出力されない時にはデータブロックアドレ
ス走査回路408が次の番地へ走査を進める。
The address scanning circuit of the semiconductor RAM 400 is further divided into smaller parts as in the case of FIG. 3; an address scanning circuit 411 for the key code area and an address scanning circuit 41 for the record area.
It consists of an address scanning circuit 409 for 0 and keyword areas, and an address scanning circuit 408 for a data block including a set of key code, record, and keyword. The sequence coat roller 312 receives the output of the key code comparison circuit 314, the registration marker signal included in the key code, and the buffer 41.
Data full (indicating blockage) signal 40 coming from 8
4 and the output of the keyword comparison circuit 316, and controls the search processing of the content search. It includes a match record that is inserted into the data block output from the RAM 400 when a match detection signal is output from any of the keyword comparison circuits 316 of the plurality of search control circuits 320. When no match signal is output, data block address scanning circuit 408 advances scanning to the next address.

今、半導体RAM400に格納されるデータブロックの
個数が10個で、各データブロックのワード数を128
とする。また、キーコードは1ワード、キーワードは1
6ワードとする。キーワード数は4個とする。整合デー
タブロックの個数を102とする。ワード当シのHサイ
クルタイムを100nseeとすると、従来のように、
キーワードのみを全アドレス走査すると、検索時間は1
6X4X105×102nseCすなわち640m5e
cである。
Now, the number of data blocks stored in the semiconductor RAM 400 is 10, and the number of words in each data block is 128.
shall be. Also, the key code is 1 word, and the keyword is 1
It should be 6 words. The number of keywords is 4. Assume that the number of consistent data blocks is 102. Assuming that the H cycle time of the word line is 100nsee, as in the conventional case,
If all addresses are scanned only for keywords, the search time is 1
6X4X105×102nseC or 640m5e
It is c.

第4図のように、キーコードで検索を行なうと、105
個のデータブロックを1/28に、すなわち400個に
絞れる。そのため、キーコード検索の時間は105X1
02nseeである。400個のキーワードの検索の時
間は4刈OX16X10 n5eeである。黄に、合計
はほぼ11m5ecである。故に、本発明を13− 採用することによって検索時間が約1/64 に減る。
As shown in Figure 4, when searching by key code, 105
data blocks can be reduced to 1/28, that is, 400 data blocks. Therefore, the key code search time is 105X1
02nsee. The search time for 400 keywords is 4 OX16X10 n5ee. In yellow, the total is approximately 11m5ec. Therefore, by adopting the present invention, the search time is reduced to about 1/64.

第5図はデータブロックのロードと検索の手順を示して
いる。
FIG. 5 shows the procedure for loading and retrieving data blocks.

レコードとキーワードをバックアップの磁気ディスクか
ら半導体RAM400ヘイニシヤルロードするためには
、半導体RAM400ヘデータブロツクがキーワードエ
リヤ406、レコードエリヤ405、キーコードエリヤ
407の順に(矢印501から502へと)書込まれる
。各ブロック503が1ワードを意味している。
In order to initially load records and keywords from the backup magnetic disk to the semiconductor RAM 400, data blocks are written to the semiconductor RAM 400 in the order of keyword area 406, record area 405, and key code area 407 (from arrow 501 to 502). . Each block 503 means one word.

内容検案を行う時には、出発点504から矢印に従って
キーコードエリヤ407、キーワードエリヤ406、レ
コードエリヤ405の順に読取シを行うが、キーコード
エリヤ407を読終った時に、不一致信号が発生すれば
、その後のキーワードエリヤ406とレコードエリヤ4
05を読まずに、次のデータブロックのキーコードエリ
ヤ407′にジャンプする。
When performing a content inspection, the key code area 407, keyword area 406, and record area 405 are read in this order from the starting point 504 according to the arrow. If a mismatch signal is generated when the key code area 407 is finished reading, keyword area 406 and record area 4
05 and jumps to the key code area 407' of the next data block.

キーワードエリヤ406を抗み終った時に不一致信号が
発生したのであれば、その後のレコード14− エリヤ405を抗壕ず、同様に、次のデータブロックの
キーコードエリヤ407′にジャンプする。
If a mismatch signal is generated when the keyword area 406 has been searched, the subsequent record 14-area 405 is not searched and similarly jumps to the key code area 407' of the next data block.

キーワードエリヤ406を読終った段階でも不一致信号
が発生しない時にのみレコードエリヤ405を読取って
、外部へ出力する。
The record area 405 is read and output to the outside only when no mismatch signal is generated even after reading the keyword area 406.

キーワードエリヤ406に複数個のキーワードが含まれ
ている場合には属性コードによって選択される範囲内の
キーワードを順次に読取るとし、不一致信号が発生すれ
ば、途中においても、次のデータブロックのキーコード
エリヤ407′ヘジヤンプする。このようにして、検累
処理時のRAM400の中の読取多範囲を小さく絞るこ
とが可能となる。
If the keyword area 406 contains multiple keywords, the keywords within the range selected by the attribute code are read sequentially, and if a mismatch signal is generated, the key code of the next data block is read even in the middle. Elijah 407' jumps. In this way, it is possible to narrow down the readable range in the RAM 400 during the accumulation process.

以上にのべたように、本発明によれば従来の連想記憶装
置構成によるコスト高あるいは検索時間の太きすぎると
いう欠陥を容易に解決することができたとわかる。
As described above, it can be seen that according to the present invention, the deficiencies of the conventional associative memory structure, such as high cost and excessive search time, can be easily solved.

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

第1図(a) 、 (b)は一般的なデータベースの構
成を示す図、第2図は通常のインデックステーブルの構
成図、第3図は本発明の第1の実施例による連想記憶装
置のブロック図、第4図は本発明の第2の実施例による
連想記憶装置のブロック図、第5図(al 、 (b)
はデータブロックの格納と検索の手順を示す図。 10−・磁気ディスク、15・・・インデックス・テー
ブル、25・・・連想記憶装置、305・・・レコード
メモリ、306・・・キーワードメモリ、307・−・
キーコードメモリ、308・・・登録マーカ、309・
・・ブロックアドレス走査回路、310・・・ワードア
ドレス走査回路、311・・・データ圧縮回路、312
・・・シーケンスコントローラ、314・−キーコード
比較回路、316・・・キーワード比較回路、318,
319・・ レジスタ、320−・・検索制御回路、4
00・・伴導体RAM、 402−・・オア回路、40
8,409,410,411−・・アドレス走査回路、
1つ 72図 第3図 OどU
Figures 1(a) and (b) are diagrams showing the configuration of a general database, Figure 2 is a diagram showing the configuration of a normal index table, and Figure 3 is a diagram showing the configuration of an associative memory device according to the first embodiment of the present invention. A block diagram, FIG. 4 is a block diagram of an associative memory device according to a second embodiment of the present invention, and FIG. 5 (al, (b))
is a diagram showing the procedure for storing and retrieving data blocks. 10--Magnetic disk, 15... Index table, 25... Content addressable memory device, 305... Record memory, 306... Keyword memory, 307...
Key code memory, 308... Registration marker, 309.
...Block address scanning circuit, 310... Word address scanning circuit, 311... Data compression circuit, 312
... sequence controller, 314 - key code comparison circuit, 316 ... keyword comparison circuit, 318,
319...Register, 320-...Search control circuit, 4
00... Companion conductor RAM, 402-... OR circuit, 40
8,409,410,411--address scanning circuit,
One 72 Figure 3 Odo U

Claims (2)

【特許請求の範囲】[Claims] (1)外部から与えられたレコードとキーワードを各々
対応して記憶する第1.第2の記憶手段と、前記キーワ
ードの情報量を圧縮してキーコードを生成するデータ圧
縮手段と、前記キーコードを前記キーワードに対応して
記憶する第3の記憶手段と、検索動作時に前記第3の記
憶手段の内容を順次出力させるブロックアドレス走査手
段と、前記キーコードと前記第3の記憶手段の内容とを
比較するキーコード比較手段と、前記キーコード比較手
段の一致出力により、前記ブロックアドレス走査手段で
指定された前記第1.第2の記憶手段のワードアドレス
の走査を開始するワードアドレス走査手段と、前記キー
ワードと前記第2の記憶手段の内容との比較を行ない、
比較結果を整合出力として外部に出力するキーワード比
較手段とを含むことを特徴とする連想記憶装置。
(1) The first step is to store records and keywords given from the outside in correspondence with each other. a second storage means; a data compression means for compressing the information amount of the keyword to generate a key code; a third storage means for storing the key code in correspondence with the keyword; block address scanning means for sequentially outputting the contents of the third storage means; key code comparison means for comparing the key code with the contents of the third storage means; The first address specified by the address scanning means. a word address scanning means that starts scanning the word address of the second storage means, and a comparison between the keyword and the contents of the second storage means;
An associative memory device comprising keyword comparison means for outputting a comparison result to the outside as a matching output.
(2)データ圧縮手段がエラー訂正回路であることを特
徴とする特許請求の範囲第1項に記載の連想記憶装置。
(2) The content addressable memory device according to claim 1, wherein the data compression means is an error correction circuit.
JP58121302A 1983-07-04 1983-07-04 Associative storage device Granted JPS6014324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58121302A JPS6014324A (en) 1983-07-04 1983-07-04 Associative storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58121302A JPS6014324A (en) 1983-07-04 1983-07-04 Associative storage device

Publications (2)

Publication Number Publication Date
JPS6014324A true JPS6014324A (en) 1985-01-24
JPH0430632B2 JPH0430632B2 (en) 1992-05-22

Family

ID=14807889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58121302A Granted JPS6014324A (en) 1983-07-04 1983-07-04 Associative storage device

Country Status (1)

Country Link
JP (1) JPS6014324A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6393033A (en) * 1986-10-07 1988-04-23 Fujitsu Ltd Data retrieving system
JPS6448130A (en) * 1987-08-19 1989-02-22 Matsushita Electric Ind Co Ltd Data base processor
JPS6448131A (en) * 1987-08-19 1989-02-22 Matsushita Electric Ind Co Ltd Data base processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6393033A (en) * 1986-10-07 1988-04-23 Fujitsu Ltd Data retrieving system
JPH0612550B2 (en) * 1986-10-07 1994-02-16 富士通株式会社 Data retrieval method
JPS6448130A (en) * 1987-08-19 1989-02-22 Matsushita Electric Ind Co Ltd Data base processor
JPS6448131A (en) * 1987-08-19 1989-02-22 Matsushita Electric Ind Co Ltd Data base processor

Also Published As

Publication number Publication date
JPH0430632B2 (en) 1992-05-22

Similar Documents

Publication Publication Date Title
US5321824A (en) Accessing last recorded data in a continuation chain
US7231383B2 (en) Search engine for large-width data
JPS6014324A (en) Associative storage device
US4198681A (en) Segmented storage logging and controlling for partial entity selection and condensing
US6738771B2 (en) Data processing method, computer readable recording medium, and data processing device
JPH11513160A (en) Execution method of iterative search
JPS59188766A (en) Processing device of data base retrieval
US4914620A (en) Capacity extensible data storage for use in electronic apparatus
JP2002091806A (en) Filing system
JP2776728B2 (en) Magnetic disk initialization method
JPH05314188A (en) Retrieval processing system for data having range
JPH02116936A (en) Reorganizing system
US20030028748A1 (en) Circuit for recording digital waveform data and method of doing the same
JP3348279B2 (en) Price lookup data search circuit, search method therefor, and recording medium storing control program therefor
JPH06103307A (en) Retrieval speeding-up method for structured data base
JPS61103242A (en) High-speed retrieval system
JPH0256038A (en) Access control system for memory
JPH02127742A (en) Idle area retrieving system
JPS60147838A (en) Data retrieving device
JPS63253431A (en) Retrieving system for data base of inverted structure
JPH05225406A (en) Ic card extension device
JPS60142416A (en) Storing and retrieving device of picture information
JPS63271518A (en) File control system
JPH05109289A (en) Memory integrated circuit
JPS6145485A (en) Magnetic bubble memory control device