JPS63221422A - Threshold value setting comparison and storage device - Google Patents

Threshold value setting comparison and storage device

Info

Publication number
JPS63221422A
JPS63221422A JP62057327A JP5732787A JPS63221422A JP S63221422 A JPS63221422 A JP S63221422A JP 62057327 A JP62057327 A JP 62057327A JP 5732787 A JP5732787 A JP 5732787A JP S63221422 A JPS63221422 A JP S63221422A
Authority
JP
Japan
Prior art keywords
value
memory
retrieving
storage
output
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
JP62057327A
Other languages
Japanese (ja)
Inventor
Shohei Takeuchi
竹内 章平
Misuzu Seki
関 美鈴
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
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 filed Critical NEC Corp
Priority to JP62057327A priority Critical patent/JPS63221422A/en
Publication of JPS63221422A publication Critical patent/JPS63221422A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To realize a fast retrieving action with uniformity in terms of time by forming a retrieving value storing part and a memory value storing part where the memory value corresponding to said retrieving value is stored in the form of a single unit and at the same time comparing the retrieving value with the value within a memory unit for output of the value having the coincident conditions. CONSTITUTION:The values supplied from a level comparing subject value input line 1 are sent to comparators 7, 11 and 15 and compared with the values stored in the retrieving value storing parts 8, 12 and 16 based on the designation given from a comparison condition indicating line 2 for check of the difference and coincidence among their levels. The results of these comparisons are sent to the output control parts 9, 13 and 17 for each memory unit and the permission of output is issued to the memory value storing parts 10, 14 and 18 respectively when the coincident conditions are obtained. In such a case, the control is carried out so that the outputs received from plural memory units never overlap with each other. These outputs are finally sent to a condition coincidence output line 21 from a total output control part 19 for entire memory. Thus a fast retrieving job is possible via comparison of levels together with the uniform retrieving time by means of a memory having a such constitution.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、表検索特に大小比較を伴う検索を高速に行う
しきい値設定比較記憶装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a threshold setting comparison storage device that performs table searches, particularly searches involving size comparisons, at high speed.

〔従来の技術〕[Conventional technology]

従来は、表検索をおこなう場合、順次衣の値を読み込み
条件に合致するか否かを−々判定する方法がとられてい
た。従って、検索に時間がかかり、更には順次検索を行
うために検索に必要な時間が、表に格納されている位置
によってまちまちであるという欠点を持っていた。そこ
で、これらの欠点をなくすために、連想記憶メモリーが
開発され実用化されている。
Conventionally, when performing a table search, a method was used in which the values of clothes were read in order and it was determined whether the values met the conditions. Therefore, it takes time to search, and furthermore, the time required for searching varies depending on the position stored in the table. Therefore, in order to eliminate these drawbacks, associative memory has been developed and put into practical use.

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

しかしながら、連想記憶メモリーでは、検索用の値のあ
る一部分と入力した値との完全一致(一部拡張されたも
のでは曖昧一致)を基本としており、検索用の値と入力
した値とを大小比較し、検索することを連想記憶メモリ
ーを用いて実現することは困難であった。
However, associative memory is based on a complete match (or ambiguous match in some expanded versions) between a part of the search value and the input value, and compares the search value and the input value. However, it has been difficult to perform this search using associative memory.

そこで、本発明の目的は、大小比較による検索機能を内
部に持つ記憶装置を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a storage device having an internal search function based on size comparison.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のしきい値設定比較記憶装置の構成は、検索用の
値を格納する検索用値格納部およびそれに対応する記憶
値を格納する記憶値格納部を一つの記憶単位とする記憶
装置において、入力された前記検索用の値とすべての前
記記憶単位内の検索用の値とを同時に大小比較し、その
結果が条件に合致するすべての前記記憶単位内の前記記
憶値格納部の値を順次出力することを特徴とする。
The configuration of the threshold setting comparison storage device of the present invention includes, as a storage unit, a search value storage section that stores a search value and a storage value storage section that stores a stored value corresponding to the search value storage section. The input search value and the search values in all the storage units are compared in size at the same time, and the results are sequentially compared to the values in the storage value storage units in all the storage units that meet the conditions. It is characterized by output.

〔作用〕[Effect]

本発明においては、記憶装置内の記憶単位ごとに大小比
較を行う比較器を用意している。こうすることにより、
すべての記憶単位内の検索用の値に対して同時に大小比
較できるようになり、大小比較を必要とする検索を高速
、かつ、時間的に均一に行うことができるようになる。
In the present invention, a comparator is provided that compares the size of each storage unit in the storage device. By doing this,
It becomes possible to compare the search values in all storage units at the same time, and it becomes possible to perform searches that require comparisons at high speed and uniformly in time.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は記憶単位を3組持つ、しきい値設定比較記憶装
置の一実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a threshold setting comparison storage device having three sets of storage units.

図中1は大小比較対象値入力線、図中2が比較条件指定
線、図中3が検索用値登録入力線、図中4が登録時記憶
単位指定線、図中5が記憶値格納部位登録入力線、図中
6が記憶単位指定デコーダ、図中7.11.15が比較
器、図中8.12.16が検索用値格納部、図中9.1
3.17が記憶単位ごとの出力制御部、図中10.14
.18が記憶値格納部、図中19が記憶装置全体の出力
制御部、図中20が出力ゲート部、図中21が条件合致
出力線、図中22が出力要求入力線、図中23が値出力
線、図中24.25.26がそれぞれ一つの記憶単位で
ある。
1 in the figure is a value input line for magnitude comparison, 2 in the figure is a comparison condition specification line, 3 in the figure is a search value registration input line, 4 in the figure is a storage unit specification line during registration, and 5 in the figure is a memory value storage area Registration input line, 6 in the figure is a storage unit designation decoder, 7.11.15 in the figure is a comparator, 8.12.16 in the figure is a search value storage unit, 9.1 in the figure
3.17 is the output control unit for each storage unit, 10.14 in the figure
.. 18 is a memory value storage section, 19 in the figure is an output control section for the entire storage device, 20 is an output gate section in the figure, 21 is a condition matching output line, 22 is an output request input line, and 23 is a value The output lines 24, 25, and 26 in the figure are each one storage unit.

図中1の大小比較対象値入力線から入力された値は、図
中7.11.15の比較器に送られる。
The value input from the magnitude comparison target value input line 1 in the figure is sent to the comparator 7, 11, and 15 in the figure.

それぞれの比較器は、図中8.12.16の検索用値格
納部内の値と入力された値を、図中2の比較条件指定線
からの指定に従い大小9以上、以下。
Each comparator compares the value in the search value storage section 8.12.16 in the figure with the input value, in accordance with the specification from the comparison condition designation line 2 in the figure.

一致の比較を行い、その結果を図中9.13.17の記
憶単位ごとの出力制御部に送る。この記憶単位ごとの出
力制御部では、比較の結果が条件に合致した場合に、図
中10.14.18の記憶値格納部に対して出力許可を
与えるものであるが、同時に複数の記憶単位からの出力
が重複しないよう制御する。図中9もしくは13もしく
は17の記憶単位ごとの出力制御部から出力された出力
許可信号は、それぞれの記憶値格納部に送られ、同時に
図中19の記憶装置全体の出力制御部にも送られる。
A comparison is made for coincidence, and the result is sent to the output control section for each storage unit at 9.13.17 in the figure. In this output control section for each storage unit, if the comparison result matches the conditions, output permission is given to the storage value storage section 10.14.18 in the figure. Control the output from duplicates to avoid duplication. The output permission signal outputted from the output control section for each storage unit (9, 13, or 17 in the figure) is sent to each storage value storage section, and at the same time, it is also sent to the output control section for the entire storage device (19) in the figure. .

この記憶装置全体の出力制御部では送られてきた出力許
可信号により、本記憶装置外に対し条件が合致した記憶
単位があることを示す信号を図中21の条件合致出力線
より出力し、記憶装置外部からの値の読み出しを促す。
In response to the output permission signal sent, the output control unit of the entire storage device outputs a signal indicating that there is a storage unit outside the storage device that matches the condition from the condition matching output line 21 in the figure. Encourages reading of values from outside the device.

記憶装置外からの読み出しは、図中22の出力要求入力
線に出力要求を入力することにより行われる。記憶装置
外部より図中22の出力要求入力線に入力された出力要
求信号は、図中19の記憶装置全体の出力制御部を通っ
て図中20の出力ゲート部に送られ、出力許可が与えら
れている図中10もしくは14もしくは18の記憶値格
納部から送られて来た値を、図中23の値出力線から記
憶装置外部へ出力する。
Reading from outside the storage device is performed by inputting an output request to the output request input line 22 in the figure. An output request signal input from outside the storage device to the output request input line 22 in the figure is sent to the output gate section 20 in the figure through the output control section 19 of the entire storage device in the figure, and output permission is granted. The value sent from the stored value storage section 10, 14, or 18 in the figure is outputted from the value output line 23 in the figure to the outside of the storage device.

このとき、図中19の記憶装置全体の出力制御部から外
部の読み出し動作があったことを示す信号が、図中9.
13.17の記憶単位ごとの出力制御部に送られ、出力
の重複をさけるため出力を制御していた記憶単位ごとの
出力制御部がある場合は、その記憶単位ごとの出力制御
部が出力動作にはいる。
At this time, a signal indicating that there has been an external read operation is sent from the output control section of the entire storage device, indicated by 19 in the figure.
13. If there is an output control unit for each storage unit that controls the output to avoid output duplication, the output control unit for each storage unit controls the output operation. Enter.

記憶値格納部の値および検索用の値を登録する場合は、
図中3の検索用値登録入力線と図中5の記憶値格納部位
登録入力線よりそれぞれの値を入力し、図中4の登録対
象記憶単位指定線から対象記憶値格納部番号を入力する
ことにより、図中6の記憶単位指定デコーダによってデ
コードされて登録の対象となる記憶単位が選択される。
To register values in the memory value storage and search values,
Input the respective values from the search value registration input line 3 in the figure and the memory value storage part registration input line 5 in the figure, and input the target memory value storage unit number from the registration target storage unit designation line 4 in the figure. As a result, the storage unit to be decoded by the storage unit designation decoder 6 in the figure and to be registered is selected.

この実施例では記憶単位が3組であるが、記憶単位が1
組以上であれば、いくつでも検索に必要なだけそろえれ
ばよい。また、図中19の記憶装置全体の出力制御部で
は、外部からの出力要求に従って条件の合致した記憶単
位内の記憶値格納部の値を順次出力する機構になってい
るが、一定時間ごとに条件の合致した全ての記憶単位内
の記憶値格納部の値を順次出力する機構を用いてもよい
In this embodiment, there are three storage units, but there is one storage unit.
As long as there are more than 1 set, it is sufficient to have as many sets as necessary for the search. In addition, the output control unit of the entire storage device 19 in the figure has a mechanism that sequentially outputs the values of the storage value storage unit in the storage unit that meets the conditions according to an output request from the outside, but at regular intervals. A mechanism may be used that sequentially outputs the values of the storage value storage sections in all storage units that meet the conditions.

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

本発明の記憶装置を用いることにより、大小比較による
検索を高速に、かつ、時間的に均一に行うことができる
という効果がある。
By using the storage device of the present invention, there is an effect that a search based on size comparison can be performed quickly and uniformly in time.

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

第1図は本発明の一実施例のブロック図である。 1・・・大小比較対象値入力線、2・・・比較条件指定
線、3・・・検索用値登録入力線、4・・・登録時記憶
単位指定線、5・・・記憶値格納部値登録入力線、6・
・・記憶単位指定デコーダ、7,11.15・・・比較
器、8.12.16・・・検索用値格納部、9,13.
17・・・記憶単位ごとの出力制御部、10,14.1
8・・・記憶値格納部、1つ・・・記憶装置全体の出力
制御部、20・・・出力ゲート部、21・・・条件合致
出力線、22・・・出力要求入力線、23・・・値出力
線、24.25.26・・・記憶単位。       
  7″、:、。 ?、、L
FIG. 1 is a block diagram of one embodiment of the present invention. 1... Value comparison target input line, 2... Comparison condition specification line, 3... Search value registration input line, 4... Storage unit specification line at registration, 5... Memory value storage section Value registration input line, 6.
. . . Storage unit designation decoder, 7, 11.15 . . Comparator, 8.12.16 . . . Search value storage unit, 9, 13.
17... Output control unit for each storage unit, 10, 14.1
8... Memory value storage unit, 1... Output control unit for the entire storage device, 20... Output gate unit, 21... Condition matching output line, 22... Output request input line, 23... ...Value output line, 24.25.26...Memory unit.
7″, :,.?,,L

Claims (1)

【特許請求の範囲】[Claims] 検索用の値を格納する検索用値格納部およびそれに対応
する記憶値を格納する記憶値格納部を一つの記憶単位と
する記憶装置において、入力された前記検索用の値とす
べての前記記憶単位内の検索用の値とを同時に大小比較
し、その結果が条件に合致するすべての前記記憶単位内
の前記記憶値格納部の値を順次出力することを特徴とす
るしきい値設定比較記憶装置。
In a storage device in which one storage unit includes a search value storage section that stores a search value and a storage value storage section that stores a corresponding storage value, the input search value and all of the storage units The threshold setting comparison storage device is characterized in that the comparison result is simultaneously compared in magnitude with a search value in the storage unit, and the values of the storage value storage section in all the storage units whose results match the conditions are sequentially output. .
JP62057327A 1987-03-11 1987-03-11 Threshold value setting comparison and storage device Pending JPS63221422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62057327A JPS63221422A (en) 1987-03-11 1987-03-11 Threshold value setting comparison and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62057327A JPS63221422A (en) 1987-03-11 1987-03-11 Threshold value setting comparison and storage device

Publications (1)

Publication Number Publication Date
JPS63221422A true JPS63221422A (en) 1988-09-14

Family

ID=13052476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62057327A Pending JPS63221422A (en) 1987-03-11 1987-03-11 Threshold value setting comparison and storage device

Country Status (1)

Country Link
JP (1) JPS63221422A (en)

Similar Documents

Publication Publication Date Title
KR890004994B1 (en) Address translation control system
JPS61210478A (en) Vector processing device
JPS63221422A (en) Threshold value setting comparison and storage device
JPS63221423A (en) Range setting comparison and storage device
JPH04107628A (en) Back-up system for reuse of software
JP2922025B2 (en) Name search method
JPS63282835A (en) Information retrieving system
JPS60196844A (en) Retrieving device of information
JPH0667968A (en) Data management system in object direction
JP2590866B2 (en) Data retrieval device
JPS594783B2 (en) Kasoukiokuhoshikinojiyouhoushiyorisouchi
JPS6119072B2 (en)
JPH02150920A (en) Retrieving system for maximum value data
SU562001A1 (en) Memory protection device
JPH08329095A (en) Data retrieval system for relational data base
JPS63217446A (en) Buffer control system
JPH05108719A (en) Information retrieving device
JPH07271977A (en) Fingerprint collation processor
JPH04315260A (en) Character string collating system
JPS62182923A (en) Retrieving system for index registration of range value data
JPH0291768A (en) Data retrieving device
JPS6146562A (en) Operation processing system of array element
JPS59160275A (en) Word recognizing device
JPH02267646A (en) Disk cache device
JPH03223965A (en) Inequality sign condition connection system for related data base system