JPS6373327A - Processor for data content retrieval - Google Patents

Processor for data content retrieval

Info

Publication number
JPS6373327A
JPS6373327A JP61217669A JP21766986A JPS6373327A JP S6373327 A JPS6373327 A JP S6373327A JP 61217669 A JP61217669 A JP 61217669A JP 21766986 A JP21766986 A JP 21766986A JP S6373327 A JPS6373327 A JP S6373327A
Authority
JP
Japan
Prior art keywords
conditional expression
unit
data content
group
conditional equation
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
JP61217669A
Other languages
Japanese (ja)
Inventor
Haruo Hayamizu
速水 治夫
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.)
Nippon Telegraph and Telephone Corp
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 JP61217669A priority Critical patent/JPS6373327A/en
Publication of JPS6373327A publication Critical patent/JPS6373327A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To accurately decide a retrieval conditional equation by encoding the decided result of a unit conditional equation with two bits, combining the results of the unit conditional equation in which a composite conditional equation is realized and setting it in a RAM. CONSTITUTION:Three values 'realized', 'not realized', and 'indefinite' that are the decided results of the unit conditional equation of a unit conditional equation deciding part 4, are encoded with two bits. A table having all of combination possible to be taken as the decided results of the unit conditional equation as entries, is prepared in the RAM13 provided in a composition conditional deciding part 5. And as the preliminary operation of a data content retrieval processing, the 'realized' value is posted in advance in the entry in which a given composite conditional equation is realized. Next, after the retrieval of the content is started, the entry corresponding to the decided result of the unit conditional equation is read out at every record, and the realization of the composite conditional equation is decided based the content. In this way, it is possible to accurately decide the retrieval conditional equation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は2次記憶装置等に記憶されている膨大なレコー
ド群の中から、与えられた検索条件式に合致する内容を
有するレコード群のみを選別出方するデータ内容検索処
理装置に係り、特に検索条件式の判定部の構成法に関す
る。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention is capable of searching only a group of records having contents that match a given search condition expression from among a huge group of records stored in a secondary storage device, etc. The present invention relates to a data content search processing device that selects and extracts data, and particularly relates to a method of configuring a search condition expression determination unit.

〔従来の技術〕[Conventional technology]

2次記憶装置等に記憶されている膨大なレコード群の中
から、指定された検出条件式に合致する内容を有するレ
コード群のみを選別出力するデータ内容検索処理装置の
構成例を第1図に示す。第1図において、1はレコード
群を記憶する2次記憶装置、2はデータ内容検索処理装
置、9は本体装置である。データ内容検索処理装置2は
、2次記憶装置1に対するデータの読み書きを制御する
2次記憶制御部3と、読み出したレコード群の各フィー
ルドに対して与えられた単位条件式の成立、不成立を判
定する単位条件式判定部4と、単位条件式の判定結果を
用いて与えられた複合条件式の成立、不成立を判定する
複合条件式判定部5と、読み出したレコードを一時記憶
し、また、複合条件式が成立したレコード群のみを選別
し一時記憶するレコードバッファ部6と、レコードバッ
ファ部6で選別されたレコード群を本体装置9へ転送す
るI10インターフェイス制御部7と、これら全体の制
御と検索準備処理を行う共通制御部8とで構成される。
Figure 1 shows an example of the configuration of a data content search processing device that selects and outputs only a record group whose content matches a specified detection condition expression from a huge group of records stored in a secondary storage device, etc. show. In FIG. 1, 1 is a secondary storage device for storing record groups, 2 is a data content search processing device, and 9 is a main device. The data content search processing device 2 includes a secondary storage control unit 3 that controls reading and writing of data in the secondary storage device 1, and determines whether a unit conditional expression given for each field of the read record group holds true or not. a unit conditional expression determination unit 4 that uses the determination result of the unit conditional expression to determine whether a given compound conditional expression holds true or not; a compound conditional expression determination unit 5 that temporarily stores the read record; A record buffer section 6 that selects and temporarily stores only the record group for which the conditional expression is satisfied, an I10 interface control section 7 that transfers the record group selected by the record buffer section 6 to the main unit 9, and overall control and search of these. It is composed of a common control section 8 that performs preparation processing.

第2図は、データ内容検索処理装置2で対象とするレコ
ードの構成例であり、二2ではレコードがFl、F2.
F3.F4およびF5の5つのフィールドから成る場合
の例を示している。この検索処理対象レコードに対する
検索条件式の一例を表1に示す。
FIG. 2 shows an example of the structure of records targeted by the data content search processing device 2. In 22, the records are Fl, F2, .
F3. An example is shown in which the field consists of five fields, F4 and F5. Table 1 shows an example of the search condition expression for the record to be searched.

」ユ 本例の単位条件式1 (UCI)、単位条件式2(UC
2)および単位条件式3 (UC3)は、それぞれフィ
ールドF1が定数C□に等しい、フィールドF2がフィ
ールドF3より大であるおよびフィールドF4は定数C
2以下であるという条件を指定している。複合条件式(
G)は、UClとUC2が共に成立するか、UCIが成
立せずかっUC3が成立する場合に、検索条件式が成立
であるということを指定している。
” Unit conditional expression 1 (UCI) and unit conditional expression 2 (UCI) in this example
2) and unit conditional expression 3 (UC3), respectively, field F1 is equal to constant C□, field F2 is greater than field F3, and field F4 is constant C
The condition is specified that the number is 2 or less. Complex conditional expression (
G) specifies that the search conditional expression is satisfied if both UCl and UC2 hold true, or if UCI does not hold and UC3 holds true.

第1図のデータ内容検索処理装置2では、第2図に示す
様な形式を有するレコード群に対して。
The data content search processing device 2 shown in FIG. 1 processes a record group having the format shown in FIG.

表1に示すような検索条件式が成立するかどうか判定し
、成立するレコードのみを選別出力する。
It is determined whether the search condition expression shown in Table 1 is satisfied, and only records that are satisfied are selected and output.

即ち、単位条件式UCI、UC2,UC3は単位条件式
判定部4で順次判定され、その判定結果を用いて、複合
条件式Gが複合条件式判定部5で判定される。
That is, the unit conditional expressions UCI, UC2, and UC3 are sequentially determined by the unit conditional expression determination section 4, and the composite conditional expression G is determined by the composite conditional expression determination section 5 using the determination results.

こNで、単位条件式の対象とするフィールドが具体的な
値を有している場合は、単位条件式判定4では上記の様
にして成立(T)、不成立(F)を判定する。他方、該
フィールドが具体的な値を有していない場合(この場合
を、該フィールドは「空白値(null) Jであると
いう)は、単位条件式の成立、不成立が判定できないた
め、″不定″(M)とすべきであるが、従来は、判定結
果がT。
In this case, if the field targeted by the unit conditional expression has a specific value, unit conditional expression determination 4 determines whether it is true (T) or not true (F) as described above. On the other hand, if the field does not have a specific value (in this case, the field is said to be a "blank value (null) J"), it is impossible to determine whether the unit conditional expression holds true or not, so it is ''(M), but conventionally, the determination result is T.

F、Mの3値になると回路規模が増大することを避ける
ために、不定の場合もFとしていた。即ち、従来装置に
おいては、単位条件式判定部4の出力はT、Fの2値で
あった。そして、複合条件大判走部5では、単位条件式
判定部4の出力であるT。
In order to avoid increasing the circuit scale when the three values of F and M are used, F is used even when the value is undefined. That is, in the conventional device, the output of the unit conditional expression determining section 4 was two values, T and F. Then, in the compound condition large-format running section 5, T which is the output of the unit conditional expression determination section 4.

Fの2値に関して、与えられた複合条件式に応じたAN
D、OR,NOTの論理演算を実行し、その最終結果が
成立(T)である場合に、出力レコードと決定していた
Regarding the binary values of F, AN according to the given compound conditional expression
Logical operations of D, OR, and NOT are executed, and when the final result is established (T), it is determined to be an output record.

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

上記従来技術では、本来、複合条件式の判定結果は不定
となり出力タプルとはならないのに、複合条件式は成立
と判定され出力タプルとされるという論理矛盾が生じる
場合がある。即ち、複合条件式の中で表1の例のtJc
lの様に、NOTが付加されている単位条件式の対象フ
ィールドが空白値である場合、UCIの判定結果は本来
不定(M)であり、その否定(NOT)もMであるが、
従来技術においてはMをFとして複合条件式判定部へ報
告しているため、NOTによりTとなる。このため、表
1の例において、たとえばUC2がFでUC3がTの場
合、本来、複合条件式はMであるにもかシられず、NO
T UCIがTとなり、UC3とのANDにより複合条
件式はTと判定されてしまう。
In the above-mentioned conventional technology, a logical contradiction may occur in which the complex conditional expression is determined to be true and is set as an output tuple, even though the result of the judgment on the complex conditional expression is originally undefined and does not become an output tuple. That is, in the compound conditional expression, tJc of the example in Table 1
If the target field of the unit conditional expression to which NOT is added is a blank value, as in l, the UCI judgment result is originally undefined (M), and its negation (NOT) is also M, but
In the prior art, M is reported as F to the complex conditional expression determination unit, so it becomes T due to NOT. Therefore, in the example of Table 1, if UC2 is F and UC3 is T, the compound conditional expression should originally be M, but NO
TUCI becomes T, and the complex conditional expression is determined to be T by AND with UC3.

これを避けるには、フィールド値として空白値を認めな
いか、又は、複合条件式中にNOTを使用しないかする
必要があり、極めて限定されたデータ内容検索処理しか
できない。
To avoid this, it is necessary to disallow blank values as field values or to not use NOT in complex conditional expressions, and only very limited data content search processing is possible.

本発明の目的は、上記使用制限を避けるべく、単位条件
式判定部の出方をT、F、Mの3値とし、複合条件式判
定部において、該T、F、Mの3値に対する3値論理の
AND、OR,NOT演算と等価の演算を可能とする回
路規模の小さい、3値論理の判定構成法を使用したデー
タ内容検索処理装置を提供することにある。
An object of the present invention is to avoid the above-mentioned usage restrictions by using three values of T, F, and M in the unit conditional expression determination section, and in which the three values of T, F, and M are output in the compound conditional expression determination section. It is an object of the present invention to provide a data content retrieval processing device that uses a three-value logic decision construction method and has a small circuit scale that enables operations equivalent to the AND, OR, and NOT operations of value logic.

〔問題点を解決するための手段及び作用〕本発明は、単
位条件式判定結果であるパ成立″。
[Means and effects for solving the problem] The present invention is directed to solving the problem by determining whether the unit conditional expression is determined as "P holds true".

″不成立II、LL不定″の3値を2ビツトでコード化
し、この単位条件式判定結果としてとり得る全ての組合
せをエントリとして有するテーブルをランダムアクセス
メモリ(RAM)上に用意し、データ内容検索処理の準
備動作として、与えられた複合条件式が成立となるエン
トリにあらがじめ″成立″を記入しておき、内容検索処
理開始後は、各レコード毎に各単位条件式の判定結果に
該当するエントリを読出し、そのエントリの内容によっ
て複合条件式の成立を判定するものである。
The three values ``unsatisfied II, LL indeterminate'' are encoded in 2 bits, and a table is prepared in random access memory (RAM) that has entries containing all possible combinations of the unit conditional expression determination results, and data content search processing is performed. As a preparatory action, first write "true" in the entry for which the given compound conditional expression is true, and after starting the content search process, the corresponding judgment result of each unit conditional expression is entered for each record. The system reads the entry for which the compound conditional expression is true and determines whether the compound conditional expression is satisfied based on the contents of the entry.

〔実施例〕〔Example〕

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

本発明の実施例でも、データ内容検索処理装置の全体構
成は第1図に示した通りのものとする。
In the embodiment of the present invention, the overall configuration of the data content search processing device is as shown in FIG.

本発明の場合、単位条件式判定部4は検索対象レコード
群の各フィールドに対して与えられた単位条件式の成立
(T)、不成立(F)および不定(M)を判定し、該単
位条件式判定結果である成立、不成立、不定の3値を2
ビツトでコード化して出力する。第3図は該コード化の
一例で、2ビツトで表わされるコードII OOII 
、 “01 II 、 1(10”、”“”(7)うち
、“00“は不定(M)、“01″は不成立(F)、I
I 10 IIは成立(T)とし、It “ IIは未
使用とすることを示している。
In the case of the present invention, the unit conditional expression determination unit 4 determines whether the unit conditional expression given to each field of the search target record group is satisfied (T), not satisfied (F), or indefinite (M), and The three values of expression judgment results, ie, established, not established, and indefinite, are divided into 2.
Encode and output in bits. Figure 3 shows an example of this encoding, where the code II OOII is expressed in 2 bits.
, "01 II, 1 (10", """ (7), "00" is undefined (M), "01" is not established (F), I
I 10 II indicates that it is established (T), and It " II indicates that it is not used.

第4図は本発明における複合条件式判定部5の一実施例
のブロック図であり、単位条件式の許容最大数を4とし
た場合を示している。第4図において、10は単位条件
式の判定結果を転送する信号線、“は信号線10により
伝搬された単位条件式判定結果(8ビツト)を格納する
結果ラッチ群、12は結果ラッチ群“の内容をメモリの
アドレス端子に接続するアドレス線、13はランダムア
クセスメモリ(RAM)、14はRAM13の書込み線
、15はRAM13の読出し線、16はRAM読出しデ
ータの“0”、1”を判定する判定回路、17は複合条
件式成立を転送する信号線、“1は1つの単位条件式の
判定結果(2ビツト)を格納する1組の結果ラッチであ
る。
FIG. 4 is a block diagram of an embodiment of the complex conditional expression determining section 5 in the present invention, and shows a case where the maximum allowable number of unit conditional expressions is four. In FIG. 4, 10 is a signal line that transfers the determination result of the unit conditional expression, " is a result latch group that stores the unit conditional expression determination result (8 bits) propagated by the signal line 10, and 12 is a result latch group" 13 is a random access memory (RAM), 14 is a write line for RAM 13, 15 is a read line for RAM 13, 16 is for determining "0" or 1" of RAM read data. 17 is a signal line that transfers the establishment of the complex conditional expression, and 1 is a set of result latches that stores the judgment result (2 bits) of one unit conditional expression.

第5図は第3図の如き単位条件式判定結果のコード化を
前提とし、表1に示した検索条件式が与えられた時にR
AM13に設定する内容を示したものである。第5図に
おいて、14はRAM13のアドレスを示している。1
41,142,143は結果ラッチ群“のそれぞれ単位
条件式UC1、UC2,UC3に対する結果ラッチに該
当するビットであり、144は単位条件式が割当てられ
ていないビットである。15はアドレス14の各値に対
応する各単位条件式の判定結果を示すものである。即ち
、アドレス“00010010”はUCI、UC2,U
C3がそれぞれF、M、Tの場合に対応する。またアド
レス” OOO10“0″はUCI、UC2,UC3が
それぞれF。
Figure 5 assumes that the unit conditional expression judgment results as shown in Figure 3 are encoded, and when the search conditional expressions shown in Table 1 are given, the R
This shows the contents to be set in AM13. In FIG. 5, 14 indicates the address of the RAM 13. 1
41, 142, and 143 are bits corresponding to the result latches for unit conditional expressions UC1, UC2, and UC3, respectively, of the result latch group, and 144 is a bit to which no unit conditional expression is assigned. 15 is a bit for each of address 14. It shows the determination result of each unit conditional expression corresponding to the value.In other words, the address "00010010" is UCI, UC2, U
This corresponds to the case where C3 is F, M, and T, respectively. Also, the address "OOO10"0" is F for UCI, UC2, and UC3, respectively.

F、Tの場合に対応する。以下同様である。151〜1
56に示されている単位条件式の判定結果の組は、いず
れも複合条件式が成立となる場合であり、この場合に対
応するRAM13のエントリには“1”が設定され、そ
れ以外のエントリには0”が設定される。
This corresponds to cases F and T. The same applies below. 151-1
The set of determination results of unit conditional expressions shown in 56 are all cases where the compound conditional expression is satisfied, and in this case, the corresponding entry in the RAM 13 is set to "1", and the other entries are set to "1". is set to 0''.

次に、第1図および第4図の動作について説明する。ま
ず、データ内容検索処理に先立ち、共通制御部8の制御
下で、与えられた検索条件式に応じた準備動作を行う。
Next, the operations shown in FIGS. 1 and 4 will be explained. First, prior to data content search processing, a preparatory operation is performed in accordance with a given search condition expression under the control of the common control unit 8.

この準備動作では、はじめに各単位条件式に対応して結
果ラッチ群“の各ラッチ“1を割当てる。次に結果ラッ
チ群“の全ビットのN Q “ 、  LL I II
の全ての組合せ(本例では2”=256)の中で、与え
られた複合条件式が成立となる組合せに対応するRAM
13のエントリ(第5図の例では151〜156)に複
合条件式成立を表示する“1”を設定する。RAM13
のそれ以外のエントリには“0”を設定する。これで準
備動作が終了し、データ内容検索処理が実施可能になる
In this preparatory operation, first, each latch "1" of the result latch group "1" is allocated corresponding to each unit conditional expression. Next, N Q " of all bits of the result latch group ", LL I II
Among all the combinations (2"=256 in this example), the RAM corresponding to the combination for which the given compound conditional expression is satisfied
13 entries (151 to 156 in the example of FIG. 5) are set to "1" to indicate that the complex conditional expression is satisfied. RAM13
The other entries are set to "0". This completes the preparation operation, and data content search processing can now be performed.

データ内容検索処理開始後は、2次記憶装置制御部3に
より2次記憶装置1から検索対象レコード群が読み出さ
れてレコードバッファ部6に一時記憶される。この各レ
コード毎に単位条件式判定部4において全単位条件式の
判定を行い、その結果が信号線10を経由して複合条件
式判定部5中の結果ラッチ群“にセットされる。全結果
ラッチがセットされた時点で、結果ラッチ群“の内容が
アドレス線12を経由してRAM13のアドレス端子に
与えられ、RAM3の該当エントリが読み出される。な
お、単位条件式が割当てられていない結果ラッチは“0
0”に固定される。RAM13の読出しデータは読出し
線15を経由して判定回路16に与えられて“″  “
0 IIが判定される。
After starting the data content search process, the secondary storage device control unit 3 reads out a group of records to be searched from the secondary storage device 1 and temporarily stores them in the record buffer unit 6. For each record, all unit conditional expressions are judged in the unit conditional expression judgment section 4, and the result is set in the result latch group "in the compound conditional expression judgment section 5 via the signal line 10.All results When the latches are set, the contents of the resulting latch group are applied to the address terminal of the RAM 13 via the address line 12, and the corresponding entry in the RAM 3 is read out. Note that a result latch to which a unit conditional expression is not assigned is “0”.
The read data of the RAM 13 is given to the determination circuit 16 via the read line 15 and is fixed to """.
0 II is determined.

そして、1”である場合に該レコードは複合条件式が成
立したことになり、出力レコードと決定され、該レコー
ドはレーコドバッファ部6に保持される。一方、“0 
IIである場合は、該レコードはレコードバッファ部6
より破棄される。
Then, if the record is "1", the compound conditional expression is satisfied, and the record is determined to be an output record, and the record is held in the record buffer section 6. On the other hand, "0" is determined as an output record.
II, the record is stored in the record buffer section 6.
will be discarded.

レコードバッファ部6に保持された検索条件合致レコー
ドが一定容量に達する毎に、該レコード群はI10イン
ターフェイス制御部7を経由して本体装置9へ転送され
る。
Every time the number of records matching the search conditions held in the record buffer unit 6 reaches a certain capacity, the record group is transferred to the main unit 9 via the I10 interface control unit 7.

こシで、表1の例において、従来技術では論理矛盾をお
こすとして説明したUCI、UC2,UC3がそれぞれ
M、F、Tの場合について、第5図により判定結果をし
らべてみる。この場合に対応するアドレスは“0000
0“0”であり、該当するRAMのエントリはu OJ
lである。したがって、検索条件式は成立とはならず、
論理矛盾を生じない。
Now, in the example of Table 1, the determination results will be examined with reference to FIG. 5 in the case where UCI, UC2, and UC3, which were explained as causing a logical contradiction in the prior art, are M, F, and T, respectively. The corresponding address in this case is “0000”
0 “0”, and the corresponding RAM entry is u OJ
It is l. Therefore, the search condition expression is not satisfied,
Does not cause logical contradictions.

この様に、本実施例では単位条件式の判定結果を2ビツ
トでコード化し、複合条件式が成立となる単位条件式判
定結果の組合せに対応するRAMのエントリに複合条件
式成立を設定しておくことにより判定するため、従来必
要とした使用制限を設けなくとも、検索条件式の判定に
論理矛盾を生じることがない。しかも、本実施例の複合
条件式判定部はRAMとその周辺回路のみで構成されて
おり、回路規模は小さい。
In this way, in this embodiment, the determination result of the unit conditional expression is encoded in 2 bits, and the establishment of the compound conditional expression is set in the RAM entry corresponding to the combination of the unit conditional expression determination results for which the compound conditional expression is satisfied. Since the determination is made by setting the search condition expression, there will be no logical contradiction in the determination of the search condition expression, even if there is no usage restriction that is required in the past. Furthermore, the complex conditional expression determination section of this embodiment is comprised only of a RAM and its peripheral circuits, and the circuit scale is small.

なお、実施例の説明では、単位条件式の許容最大数を4
としたが、本発明はこれら限られるものではない。
In addition, in the explanation of the example, the maximum allowable number of unit conditional expressions is 4.
However, the present invention is not limited to these.

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

以上説明したように、本発明では単位条件式の判定結果
(成立、不成立、不定)を2ビツトでコード化し、RA
Mの中に複合条件式成立となる単位条件式判定結果の組
合せを表示して、3値論理と等価な複合条件式判定を実
施しているため、従来のように、複合条件式にNOTを
用いないとか、対象データとして空白値を認めないとか
の制限を設けることなく、正しく検索条件式を判定する
ことが可能である。また、複合条件式判定部はRAMと
その周辺回路のみで構成されるため1回路規模は小さく
、かつ判定速度も速い利点がある。
As explained above, in the present invention, the determination result of a unit conditional expression (holding, not holding, indeterminate) is encoded in 2 bits, and the RA
Since the combination of unit conditional expression judgment results that satisfy the compound conditional expression is displayed in M and the compound conditional expression judgment equivalent to three-value logic is performed, it is not necessary to write NOT in the compound conditional expression as in the past. It is possible to correctly determine the search condition expression without setting restrictions such as not using it or not allowing blank values as target data. Furthermore, since the complex conditional expression determination section is comprised only of a RAM and its peripheral circuits, it has the advantage of having a small circuit size and fast determination speed.

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

第1図は本発明のデータ内容検索処理装置の一実施例の
全体構成図、第2図はデータ内容検索処理の対象となる
レコードの構成例を示す図、第3図は本発明における単
位条件式判定結果のコード化例を示す図、第4図は本発
明における複合条件式判定部の構成例を示す図、第5図
は第4図におけるRAMの内容例を示す図である。 1・・・2次記憶装置、 2・・・データ内容検索処理
装置、 3・・・2次記憶装置制御部、4・・・単位条
件式判定部、 5・・・複合条件式判定部、  6・・
・レコードバッファ部、7・・・I10インターフェイ
ス制御部、8・・・共通制御部、 9・・・本体装置、
10・・・単位条件式判定結果信号線、“・・・単位条
件式判定結果ラッチ群、12・・・RAMアドレス線、
  13・・・ランダムアクセスメモリ(RAM)、 
14・・・書込み線、15・・・読出し線、  16・
・・判定回路、17・・・複合条件式成立信号線。 −一  丁      TF  ど−一155′−TT
Tへ156
FIG. 1 is an overall configuration diagram of an embodiment of the data content search processing device of the present invention, FIG. 2 is a diagram showing an example of the configuration of records targeted for data content search processing, and FIG. 3 is a unit condition in the present invention. FIG. 4 is a diagram showing an example of the coding of the expression determination result, FIG. 4 is a diagram showing an example of the configuration of the complex conditional expression determination section in the present invention, and FIG. 5 is a diagram showing an example of the contents of the RAM in FIG. 4. DESCRIPTION OF SYMBOLS 1... Secondary storage device, 2... Data content search processing device, 3... Secondary storage device control section, 4... Unit conditional expression determination section, 5... Complex conditional expression determination section, 6...
・Record buffer unit, 7... I10 interface control unit, 8... Common control unit, 9... Main unit,
10... Unit conditional expression judgment result signal line, "... Unit conditional expression judgment result latch group, 12... RAM address line,
13...Random access memory (RAM),
14...Writing line, 15...Reading line, 16.
. . . Judgment circuit, 17 . . . Compound conditional expression establishment signal line. -1-cho TF Do-1155'-TT
156 to T

Claims (1)

【特許請求の範囲】[Claims] (1)複数フィールドからなる大量のレコード群を対象
として、任意のフィールド又は複数フィールドに対する
検索条件を指定する単位条件式と該単位条件式を要素と
する論理式の複合条件式とからなる検索条件式が与えら
れ、該検索条件式が成立するレコード群のみを選別出力
するデータ内容検索処理装置において、 単位条件式の判定結果である“成立”、“不成立”およ
び“不定”の3値の状態をコード化して表現するとゝも
に、前記コード化された単位条件式判定結果を保持する
結果ラッチ群と、該結果ラッチ群の内容をアドレスとし
て読み書き可能なランダムアクセスメモリと、該メモリ
から読み出した値を判定する手段とを備え、データ内容
検索処理の準備動作として、与えられた複合条件に基づ
いて、前記結果ラッチ群の内容のとり得る全ての組合せ
の中で、複合条件式成立となる組合せをアドレスとする
前記メモリのエントリに“成立”、それ以外のエントリ
に“不成立”を示す情報を書込み、 データ内容検索処理の開始後は、各レコード対応に複数
の単位条件式を判定し、判定結果が前記結果ラッチ群に
揃った時、結果ラッチ群の結合をアドレスとして前記メ
モリの該当エントリを読出し、該エントリの内容によっ
て複合条件式の成立を判定し、出力レコードを決定する
ことを特徴とするデータ内容検索処理装置。
(1) A search condition that targets a large group of records consisting of multiple fields and consists of a unit conditional expression that specifies a search condition for any field or multiple fields, and a complex conditional expression that is a logical expression that uses the unit conditional expression as an element. In a data content search processing device that is given an expression and selects and outputs only a group of records for which the search conditional expression holds true, the three-value states of “true,” “not true,” and “indeterminate” that are the judgment results of the unit conditional expression are is expressed in code, a group of result latches that holds the coded unit conditional expression judgment results, a random access memory that can read and write the contents of the group of result latches as an address, and a memory that is read from the memory. and a means for determining a value, as a preparatory operation for data content search processing, to determine, based on a given compound condition, a combination that satisfies the compound conditional expression among all possible combinations of the contents of the result latch group. Information indicating "true" is written to the entry in the memory whose address is , and information indicating "false" is written to the other entries. After starting the data content search process, multiple unit conditional expressions are determined for each record, and the judgment is made. When the results are aligned in the result latch group, the corresponding entry in the memory is read using the combination of the result latch groups as an address, and based on the content of the entry, it is determined whether a compound conditional expression is satisfied, and an output record is determined. Data content search processing device.
JP61217669A 1986-09-16 1986-09-16 Processor for data content retrieval Pending JPS6373327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61217669A JPS6373327A (en) 1986-09-16 1986-09-16 Processor for data content retrieval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61217669A JPS6373327A (en) 1986-09-16 1986-09-16 Processor for data content retrieval

Publications (1)

Publication Number Publication Date
JPS6373327A true JPS6373327A (en) 1988-04-02

Family

ID=16707863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61217669A Pending JPS6373327A (en) 1986-09-16 1986-09-16 Processor for data content retrieval

Country Status (1)

Country Link
JP (1) JPS6373327A (en)

Similar Documents

Publication Publication Date Title
Kohonen et al. Logic Principles of Content-Addressable Memories
US4152762A (en) Associative crosspoint processor system
US4314356A (en) High-speed term searcher
US3332069A (en) Search memory
US4531201A (en) Text comparator
US3289171A (en) Push-down list storage using delay line
US3660823A (en) Serial bit comparator with selectable bases of comparison
US3389377A (en) Content addressable memories
US5519860A (en) Central processor index sort followed by direct record sort and write by an intelligent control unit
US3387274A (en) Memory apparatus and method
JPH0666050B2 (en) Sort processing method
JPS6373327A (en) Processor for data content retrieval
JPH0315221B2 (en)
US4333161A (en) Data processing apparatus operative on data passing along a serial, segmented store
JPS6373328A (en) Processor for retrieving data content
JPS6132695B2 (en)
JPS5927037B2 (en) associative memory device
JPH01297724A (en) Learning type character string retriever and control system for the same
JPH0743942B2 (en) Compound associative memory
US3222648A (en) Data input device
JPS63253431A (en) Retrieving system for data base of inverted structure
JPS59220838A (en) Associative memory device
JPH0664587B2 (en) Search condition determination method in search processing device
JPH0315772B2 (en)
RU2037215C1 (en) Storage device