JPH11232279A - Method and device for split search - Google Patents

Method and device for split search

Info

Publication number
JPH11232279A
JPH11232279A JP10029773A JP2977398A JPH11232279A JP H11232279 A JPH11232279 A JP H11232279A JP 10029773 A JP10029773 A JP 10029773A JP 2977398 A JP2977398 A JP 2977398A JP H11232279 A JPH11232279 A JP H11232279A
Authority
JP
Japan
Prior art keywords
search
target data
data
search target
address
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
JP10029773A
Other languages
Japanese (ja)
Inventor
Yoshihiro Ishida
芳弘 石田
Masahiro Konishi
正洋 小西
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP10029773A priority Critical patent/JPH11232279A/en
Priority to US09/215,556 priority patent/US6532468B2/en
Publication of JPH11232279A publication Critical patent/JPH11232279A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten processing time by optimizing a processing to read searching object data from a storage device and improving search processing speed. SOLUTION: The searching object data is stored in a first bank when a value of two bits at the side of an LSB of a searching address is '00', and is stored in a second bank when the value is '01', and is stored in a third bank when the value is '10' and is stored in a fourth bank when the value is '11'. The bank in which the data is stored is adjusted by shifting the address. When plural pieces of the searching object data are read, simultaneous reading of these data is enabled by setting the addresses of each piece of the searching object data so that the banks in which these data are stored are different from one another and time to be required for search is shortened.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、探索対象データの
値に応じ昇順又は降順に、連続するアドレスに格納され
た探索対象データを逐一読み出し、探索キーの比較デー
タと比較照合する分割探索方法及び装置に係り、特に、
記憶装置から探索対象データを読み出す処理の最適化を
図り、読み出し速度が従来と同じシングルポートメモリ
を用いながらも、探索処理速度を向上して、処理時間を
短縮することができる分割探索方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a divided search method for reading out search target data stored at consecutive addresses one by one in ascending or descending order according to the value of search target data and comparing and comparing the search data with search key comparison data. Related to the device, especially
A divided search method and apparatus capable of improving the search processing speed and shortening the processing time while optimizing the processing of reading the search target data from the storage device and using the same single-port memory as the conventional one in the read speed. About.

【0002】[0002]

【従来の技術】例えば、図1のように、探索アドレスが
(n+1)ビットで、合計2( n + 1 ) 個の探索対象デ
ータが、その値に応じ昇順又は降順に格納されていると
する。このように、連続する探索アドレスに格納された
探索対象データを、逐一読み出し、探索キーの比較デー
タと比較照合する、二分探索方法における場合の処理を
考える。
2. Description of the Related Art For example, as shown in FIG. 1, a search address is (n + 1) bits, and a total of 2 (n + 1 ) search target data are stored in ascending or descending order according to the value. . As described above, consider the processing in the binary search method in which the search target data stored at successive search addresses is read out one by one and compared with the comparison data of the search key.

【0003】この場合、二分探索では、通常、第1回目
の探索アドレスは、連続するアドレスのアドレス空間に
おいて中間の、図中において符号A6で示す“1000
00………0000”となる。又、該探索アドレスにあ
るデータと、探索キーの比較データとの比較結果に応
じ、次の探索アドレスは、符号A3の“010000…
……0000”、又は“110000………0000”
となる。
In this case, in the binary search, usually, the first search address is “1000” indicated by reference numeral A6 in the figure, which is intermediate in the address space of consecutive addresses.
00 ... 0000 "Also, according to the comparison result between the data at the search address and the comparison data of the search key, the next search address is" 010000 ... "of the code A3.
… 0000 ”or“ 110000… 0000 ”
Becomes

【0004】二分探索では、このように、探索アドレス
空間の中間のアドレスを境界として該探索アドレス空間
を2分割し、又この境界のアドレス、即ち探索アドレス
にあるデータを比較データと比較する。更に、該比較結
果に応じて、2分割されたアドレス空間の一方を採用
し、その採用されたアドレス空間を次の探索アドレス空
間とする。以降同様に、今回の該探索アドレス空間にお
ける中間のアドレスを境界とし、処理を繰り返して行
く。二分探索ではこのように、探索アドレス空間を順次
2分割しながら、目的のデータを見出して行く。
In the binary search, the search address space is divided into two with the middle address of the search address space as a boundary, and the address at the boundary, that is, the data at the search address is compared with the comparison data. Further, one of the two divided address spaces is adopted according to the comparison result, and the adopted address space is set as the next search address space. Thereafter, similarly, the process is repeated with an intermediate address in the current search address space as a boundary. In the binary search, target data is found while sequentially dividing the search address space into two.

【0005】二分探索法は、N個(N=2)のデータ
に対する検索のための時間がlog(N)に比例するた
め、大量のデータを対象とした検索方法としてよく用い
られる。図2に示すような構成の二分分割探索装置を考
えた場合、1回分の処理は、図3に示すように、探索対
象データ記憶装置30からデータを読み込む処理が1つ
と、読み込んだデータと比較データとの比較の処理が1
つというように、2つの処理から構成される。図示され
るように、二分探索では、これら読込み処理と比較処理
とが繰り返される。ここで、読み込みおよび比較を行う
時間をCtとする。すると、全体での処理時間Tは、次
式のようになる。
The binary search method is often used as a search method for a large amount of data because the search time for N (N = 2 n ) data is proportional to log (N). In the case of a bisection search device having a configuration as shown in FIG. 2, one process includes one process of reading data from the search target data storage device 30 as shown in FIG. 1 for comparison with data
It consists of two processes. As illustrated, in the binary search, the reading process and the comparing process are repeated. Here, the time for reading and comparing is defined as Ct. Then, the total processing time T is as follows.

【0006】 T=2×Ct×log(N) …(1)T = 2 × Ct × log (N) (1)

【0007】なお、図2において、アドレス設定装置1
0Aと、探索対象データ記憶装置30とは、アドレスバ
ス5で接続されている。データ比較装置20Aの探索デ
ータレジスタ22Aと、探索対象データ記憶装置30と
は、データバス7で接続されている。アドレス設定装置
10Aは、二分探索に際して、探索アドレスを順次出力
する。探索対象データ記憶装置30は、該探索アドレス
に該当する探索対象データを、データ比較装置20Aの
探索データレジスタ22Aに出力する。データ比較装置
20Aは、探索データレジスタ22Aのこのデータと、
比較データレジスタ24Aに予め設定されている探索し
ようとするデータとを比較する。
In FIG. 2, an address setting device 1
0A and the search target data storage device 30 are connected by the address bus 5. The search data register 22A of the data comparison device 20A and the search target data storage device 30 are connected by the data bus 7. The address setting device 10A sequentially outputs the search addresses during the binary search. The search target data storage device 30 outputs the search target data corresponding to the search address to the search data register 22A of the data comparison device 20A. The data comparison device 20A compares the data in the search data register 22A with
The data is compared with the data to be searched which is set in advance in the comparison data register 24A.

【0008】[0008]

【発明が解決しようとする課題】ここで、上述の二分探
索に対して、探索対象領域を2より多く分割した多分割
探索方法も考えられる。このように多分割した場合、探
索中の複数データの読込みや、比較が同時になされない
と、探索に要する時間を短縮することができない。むし
ろ、延長されてしまう。
Here, in the above-described binary search, a multi-division search method in which the search target area is divided into two or more is also conceivable. In the case where the data is divided into a large number in this way, the time required for the search cannot be reduced unless reading or comparison of a plurality of data during the search is performed simultaneously. Rather, it is extended.

【0009】例えば、分割数をM=2m とし、各領域か
ら読み出された合計M個のデータを一度に比較するもの
とする。このように同時比較を行っても、M個のデータ
の読み出しが1つずつ順に行われる場合、1回の比較に
対して(M+1)サイクルかかる。又、探索を完了する
までの処理時間Taは、次式のとおりとなる。
For example, assume that the number of divisions is M = 2 m, and a total of M data read from each area are compared at once. Even if the simultaneous comparison is performed as described above, it takes (M + 1) cycles for one comparison when the reading of M data is sequentially performed one by one. The processing time Ta until the search is completed is as follows.

【0010】 Ta=(M+1)×Ct×log(N)/m =(M+1)/m×Ct×log(N) …(2)Ta = (M + 1) × Ct × log (N) / m = (M + 1) / m × Ct × log (N) (2)

【0011】又、前述の二分探索の処理時間Tに対し
て、次式のRが1以下であれば、処理時間が短縮されて
いるといえる。
If R in the following equation is 1 or less with respect to the processing time T of the binary search, it can be said that the processing time is shortened.

【0012】 R=Ta/T ={(M+1)/m×Ct×log(N)} /{2×Ct×log(N)} ={(M+1)/m}/2 …(3)R = Ta / T = {(M + 1) / m × Ct × log (N)} / {2 × Ct × log (N)} = {(M + 1) / m} / 2 (3)

【0013】上記の(3)式において、(M≧4)であ
り、(m≧2)である。従って、Rは最小でも1.25
であり、多分割探索の方が、二分探索よりかえって処理
時間がかかることになる。多分割探索は、二分探索に比
べ、比較の回数は減少するものの、データを読み込む回
数が多くなり、結局、全体としては処理時間が長くなっ
てしまう。
In the above equation (3), (M ≧ 4) and (m ≧ 2). Therefore, R is at least 1.25
Thus, the multi-division search requires more processing time than the binary search. In the multi-segment search, although the number of comparisons is reduced as compared with the binary search, the number of times data is read increases, and as a result, the processing time becomes longer as a whole.

【0014】ここで、シングルポートメモリとは、内蔵
するメモリセルマトリックスの各メモリセルに対して、
一組のワード線及びビット線を備えた、一般的なメモリ
である。該シングルポートメモリに対して、一方、2ポ
ートメモリ、ないしはマルチポートメモリは、各メモリ
セルに対して、2組ないしは複数組のワード線及びビッ
ト線を備え、複数組のワード線及びビット線を用いて、
内蔵する異なるメモリセルに対して同時にアクセスでき
る特殊なメモリである。
Here, a single-port memory refers to each memory cell of a built-in memory cell matrix.
It is a common memory with a set of word lines and bit lines. For the single-port memory, on the other hand, the two-port memory or the multi-port memory includes two or more sets of word lines and bit lines for each memory cell. make use of,
This is a special memory that can simultaneously access different built-in memory cells.

【0015】このような2ポートメモリやマルチポート
メモリを用いると、同時に複数のデータを読み出すこと
ができ、多分割探索でデータを読み込む回数が増加して
も同時読み込みで、処理時間の短縮を図ることができ
る。しかしながら、一般には、2ポートメモリやマルチ
ポートメモリのような特殊なメモリを用いることは、望
ましいことではなく、場合によっては不可能な場合もあ
る。
If such a two-port memory or a multi-port memory is used, a plurality of data can be read at the same time, and even if the number of data reading in the multi-division search increases, the processing time is reduced by simultaneous reading. be able to. However, in general, the use of special memories, such as a two-port memory or a multi-port memory, is not desirable and may not be possible in some cases.

【0016】本発明は、前記従来の問題点を解決するべ
くなされたもので、記憶装置から探索対象データを読み
出す処理の最適化を図り、読み出し速度が従来と同じシ
ングルポートメモリを用いながらも、探索処理速度を向
上して、処理時間を短縮することができる二分探索方法
及び装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems. The present invention aims at optimizing a process of reading data to be searched from a storage device and using a single-port memory having the same read speed as the conventional one. An object of the present invention is to provide a binary search method and apparatus capable of improving a search processing speed and shortening a processing time.

【0017】[0017]

【課題を解決するための手段】まず、本願の第1発明の
分割探索方法は、探索対象データの値に応じ昇順又は降
順に、連続するアドレスに格納された探索対象データを
逐一読み出し、探索キーの比較データと比較照合する分
割探索方法において、前記探索対象データを、前記連続
アドレスの順に順次4つ以上の2のべき乗個の相互に異
なる記憶装置に割り振り、記憶しておき、複数の前記探
索対象データを読み出す際に、これらデータが記憶され
ている前記記憶装置が互いに異なるように各探索対象デ
ータのアドレスを設定して、これらデータの読み出しが
同時にできるようにし、探索に要する時間を短縮するこ
とにより、前記課題を解決したものである。
First, a divided search method according to the first invention of the present application reads out search target data stored at consecutive addresses one by one in ascending or descending order according to the value of search target data, and searches for the search key. In the divided search method of performing comparison and comparison with the comparison data, the search target data is sequentially allocated to and stored in four or more power-of-two different storage devices in the order of the consecutive addresses, and the plurality of the search data are stored. When reading the target data, the addresses of the respective search target data are set so that the storage devices storing these data are different from each other, so that these data can be read simultaneously, and the time required for the search is reduced. Thereby, the above-mentioned problem has been solved.

【0018】次に、本願の第2発明の分割探索装置は、
探索対象データの値に応じ昇順又は降順に、連続するア
ドレスに格納された探索対象データを逐一読み出し、探
索キーの比較データと比較照合する分割探索装置におい
て、前記探索対象データが、前記連続アドレスの順に順
次異なるものに割り振られ、記憶される、4つ以上の2
のべき乗個の記憶装置と、複数の前記探索対象データを
読み出す際に、これらデータが記憶されている前記記憶
装置が互いに異なるように各探索対象データのアドレス
を設定して、これらデータの読み出しが同時にできるよ
うにするアドレス設定装置と、前記比較照合を行うデー
タ比較装置とを備え、複数の前記記憶装置に対する読み
出しが同時になるようにし、探索に要する時間を短縮す
るようにし、前記課題を解決したものである。
Next, the divided search device according to the second invention of the present application
In a divided search device that sequentially reads out search target data stored at consecutive addresses in order of increasing or descending according to the value of the search target data and compares and compares the search target data with search key comparison data, the search target data is Four or more 2 which are sequentially allocated and stored in different things sequentially
When reading out a number of storage devices and a plurality of the search target data, an address of each search target data is set so that the storage devices storing these data are different from each other, and reading of these data is performed. The present invention solves the above problem by providing an address setting device that enables simultaneous operation and a data comparison device that performs the comparison and collation, so that reading from a plurality of the storage devices can be performed at the same time, and the time required for searching is reduced. Things.

【0019】以下、本願の第1発明及び第2発明の作用
について、簡単に説明する。
Hereinafter, the operation of the first and second aspects of the present invention will be briefly described.

【0020】多分割探索において、二分探索に比べ全体
処理時間が長くなってしまう原因は、データの読み込み
回数が増大することにある。このため、本発明において
は、多分割探索を採用すると共に、1回の比較に際して
行われる複数のデータ読み込みを同時に行うようにして
いる。
The reason why the overall processing time in the multi-partition search is longer than that in the binary search is that the number of data readings increases. For this reason, in the present invention, a multi-division search is employed, and a plurality of data readings performed in one comparison are simultaneously performed.

【0021】又、複数データの同時読み込みを可能にす
るとしても、2ポートメモリやマルチポートメモリ等の
特殊なメモリを必要としないよう、配慮されている。即
ち、該同時読み込みのために、本発明では、同時に読み
込むデータが、異なる記憶装置に記憶されているように
する。
Even if simultaneous reading of a plurality of data is enabled, special care is taken so that a special memory such as a two-port memory or a multi-port memory is not required. That is, for the simultaneous reading, in the present invention, the data to be read at the same time is stored in different storage devices.

【0022】具体的には、探索対象データをその連続ア
ドレスの順に順次、4個以上で、かつ2のべき乗個の相
互に異なる記憶装置に割り振り、記憶しておく。このよ
うに順次異なる記憶装置に記憶しておくと、あるアドレ
スの探索対象データの隣接アドレスデータは、異なる記
憶装置に記憶されていることになる。従って、複数の探
索対象データを読み出す際にはアドレスをずらすこと
で、データが記憶されている記憶装置を選択することが
でき、複数データの記憶装置が互いに異なるようにする
ことができる。又、複数データの記憶装置が互いに異な
れば、これらデータの読み出しが同時に可能であり、探
索に要する時間を短縮することができる。
More specifically, the search target data is sequentially allocated to and stored in four or more power-of-two different storage devices sequentially in the order of the consecutive addresses. When the data is sequentially stored in different storage devices, the adjacent address data of the search target data at a certain address is stored in a different storage device. Therefore, when reading out a plurality of search target data, by shifting the address, the storage device storing the data can be selected, and the storage devices of the plurality of data can be different from each other. Further, if the storage devices for a plurality of data are different from each other, the data can be read simultaneously, and the time required for the search can be reduced.

【0023】従って、本発明によれば、多分割探索を採
用してデータの読み出し回数が増大しても、同時読み出
しにより読み出し時間の短縮、ないしは延長低減が図ら
れる。又、多分割探索を採用することで、比較回数が減
少される。これらにより、本発明では、記憶装置から探
索対象データを読み出す処理の最適化を図り、読み出し
速度が従来と同じシングルポートメモリを用いながら
も、探索処理速度を向上して、処理時間を短縮すること
ができる。
Therefore, according to the present invention, even if the number of data readings is increased by employing the multi-segment search, the reading time can be shortened or reduced by simultaneous reading. In addition, the number of comparisons is reduced by employing the multi-division search. As a result, in the present invention, the processing for reading the search target data from the storage device is optimized, and the search processing speed is improved and the processing time is reduced while using a single-port memory having the same read speed as the conventional one. Can be.

【0024】[0024]

【発明の実施の形態】以下、図を用いて本発明の実施の
形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0025】図4は、本発明が適用された分割探索装置
の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a divided search device to which the present invention is applied.

【0026】図4において、探索対象データ記憶装置M
1〜Mjは、4個以上の2のべき乗個設けらている。こ
こで、該個数をj個とする。アドレス設定装置10と、
合計j個の探索対象データ記憶装置M1〜Mjとは、合
計j組のアドレスバスAB1〜ABjで接続されてい
る。データ比較装置20の探索データレジスタ22と、
合計j個の探索対象データ記憶装置M1〜Mjとは、合
計j組のデータバスDB1〜DBjで接続されている。
又、データ比較装置20からアドレス設定装置10へ
は、比較結果を示す信号線が接続されている。
In FIG. 4, a search target data storage device M
1 to Mj are provided as four or more powers of two. Here, the number is j. An address setting device 10,
A total of j sets of search target data storage devices M1 to Mj are connected by a total of j sets of address buses AB1 to ABj. A search data register 22 of the data comparison device 20;
A total of j data buses DB1 to DBj are connected to a total of j search target data storage devices M1 to Mj.
Further, a signal line indicating a comparison result is connected from the data comparison device 20 to the address setting device 10.

【0027】アドレス設定装置10は、探索に際して、
探索対象データ記憶装置M1〜Mjに対して同時に、異
なる探索アドレスを出力する。探索対象データ記憶装置
M1〜Mjは、互いに同時に、それぞれ該当する探索対
象データを、データ比較装置20の探索データレジスタ
22に出力する。又、データ比較装置20は、探索デー
タレジスタ22にある複数の探索対象データを、同時
に、比較データレジスタ24に記憶されている探索キー
の比較データと比較照合し、一致か否かを判定する。
The address setting device 10 performs a search
Different search addresses are simultaneously output to the search target data storage devices M1 to Mj. The search target data storage devices M1 to Mj simultaneously output the corresponding search target data to the search data register 22 of the data comparison device 20 at the same time. Further, the data comparison device 20 compares and compares the plurality of search target data in the search data register 22 with the comparison data of the search key stored in the comparison data register 24 at the same time, and determines whether or not they match.

【0028】本実施形態では、分割探索装置として、ま
ず、その値に応じ昇順又は降順に、連続するアドレスで
探索対象データが記憶されている。又、これら探索対象
データは、探索対象データ記憶装置M1〜Mjそれぞれ
に、前記連続アドレスの順に順次、異なるものに割り振
られ、記憶される。即ち、上記の連続アドレスにおい
て、ある探索対象データが探索対象データ記憶装置M1
に記憶されているとすれば、その次のデータは探索対象
データ記憶装置M2に、更に次のデータは探索対象デー
タ記憶装置M3にというように、探索対象データが、順
次異なる探索対象データ記憶装置M1〜Mjに記憶され
ている。
In this embodiment, first, as a divided search device, search target data is stored at consecutive addresses in ascending or descending order according to the value. These search target data are sequentially allocated to different data in the search target data storage devices M1 to Mj in the order of the consecutive addresses and stored. That is, at the above-mentioned consecutive addresses, certain search target data is stored in the search target data storage device M1.
Is stored in the search target data storage device M2, the next data is stored in the search target data storage device M3, and so on. M1 to Mj.

【0029】ここで、以下に列挙する条件を前提とし
て、本実施形態を説明する。
Here, the present embodiment will be described on the premise of the conditions listed below.

【0030】B1.探索アドレスが(n+1)ビットで
あるとする。即ち、探索対象データの個数が、2
( n + 1 ) 個であったとする。
B1. Assume that the search address is (n + 1) bits. That is, the number of search target data is 2
Suppose that there were (n + 1) pieces.

【0031】B2.探索対象データ記憶装置M1〜Mj
の個数を4とする。即ち、j=4である。
B2. Search target data storage devices M1 to Mj
Is four. That is, j = 4.

【0032】B3.探索アドレスのLSB(least sign
ificant bit )側の2ビットの値が“00”の探索対象
データは、探索対象データ記憶装置M1(以降第1バン
クと称する)に記憶されているものとする。該2ビット
の値が“01”の探索対象データは、探索対象データ記
憶装置M2(以降第2バンクと称する)に記憶されてい
るものとする。該2ビットの値が“10”の探索対象デ
ータは、探索対象データ記憶装置M3(以降第3バンク
と称する)に記憶されているものとする。該2ビットの
値が“11”の探索対象データは、探索対象データ記憶
装置M4(以降第4バンクと称する)に記憶されている
ものとする。
B3. LSB of search address (least sign
It is assumed that the search target data in which the value of the two bits on the significant bit side is “00” is stored in the search target data storage device M1 (hereinafter referred to as a first bank). It is assumed that the search target data whose 2-bit value is “01” is stored in the search target data storage device M2 (hereinafter, referred to as a second bank). It is assumed that the search target data whose 2-bit value is “10” is stored in the search target data storage device M3 (hereinafter, referred to as a third bank). It is assumed that the search target data whose 2-bit value is “11” is stored in the search target data storage device M4 (hereinafter, referred to as a fourth bank).

【0033】上記の条件B1〜B3に基づいて、それぞ
れの探索対象データが記憶されるバンク番号は、例えば
図1の右端欄のようになる。
Based on the above conditions B1 to B3, the bank numbers in which the respective search target data are stored are, for example, as shown in the rightmost column of FIG.

【0034】ここで、検索すべき探索対象データが、2
( n + 1 ) 個存在するとする。このとき、1回の比較照
合のために読み出される、4つの探索対象データは、連
続アドレスで等間隔に存在することが望ましい。又これ
ら探索対象データをアドレスが小さい順に、第1探索対
象データ、第2探索対象データ、第3探索対象データ、
及び、第4探索対象データとする。
Here, the search target data to be searched is 2
Suppose there are (n + 1) items. At this time, it is preferable that the four search target data read out for one comparison and collation exist at equal intervals at consecutive addresses. In addition, these search target data are arranged in ascending order of address, such as first search target data, second search target data, third search target data,
And the fourth search target data.

【0035】この条件で、次のような比較例を考える。
即ち、極単純に、第1探索対象データ、第2探索対象デ
ータ、第3探索対象データ、及び、第4探索対象データ
が、連続アドレスで等間隔ないしはほぼ等間隔となる。
即ち、探索対象データの個数が(2( n - 1 ) −1)個
の間隔となる。例えば、図1において、第1回目の比較
照合を考えると、第1探索対象データは、符号A1でデ
ータ番号が“1”の、第1バンクの探索対象データとな
る。第2探索対象データは、符号A3でデータ番号が
“2( n - 1 ) +1”の、同じく第1バンクの探索対象
データとなる。第3探索対象データは、符号A6でデー
タ番号が“2n +1”の、同じく第1バンクの探索対象
データとなる。第4探索対象データは、図示されない、
データ番号が“2n +2( n - 1 ) +1”の、同じく第
1バンクの探索対象データとなる。
Under this condition, the following comparative example is considered.
That is, extremely simply, the first search target data, the second search target data, the third search target data, and the fourth search target data are at equal or substantially equal intervals in continuous addresses.
That is, the number of search target data is (2 (n-1) -1) intervals. For example, in FIG. 1, considering the first comparison / collation, the first search target data is the search target data of the first bank having the code A1 and the data number “1”. The second search target data is the search target data of the first bank, which has the code A3 and the data number of “2 (n−1) +1”. The third search target data is the search target data of the first bank, which has the code A6 and the data number of “2 n +1”. The fourth search target data is not shown,
The data number is “2 n +2 (n−1) +1”, which is also the search target data of the first bank.

【0036】この比較例では、全て第1バンクから探索
対象データを読み出すことになる。このため、これら第
1探索対象データ、第2探索対象データ、第3探索対象
データ、及び、第4探索対象データを同時に読み出すこ
とができず、図5に示すような処理をせざるおえなくな
る。
In this comparative example, all the search target data is read from the first bank. Therefore, the first search target data, the second search target data, the third search target data, and the fourth search target data cannot be read out at the same time, and the process as shown in FIG. 5 has to be performed.

【0037】これに対して本発明を適用すると、探索対
象データの読み出しに際して、必要に応じアドレスをず
らすことで、これら第1探索対象データ、第2探索対象
データ、第3探索対象データ、及び、第4探索対象デー
タが、互いに異なるバンク(記憶装置)に記憶されてい
るものとすることができる。従って、これら探索対象デ
ータを同時に読み出して、図6に示すように処理でき
る。
When the present invention is applied, on the other hand, at the time of reading the search target data, the addresses are shifted as necessary, so that the first search target data, the second search target data, the third search target data, The fourth search target data may be stored in different banks (storage devices). Therefore, these search target data can be read out simultaneously and processed as shown in FIG.

【0038】例えば、検索すべき探索対象データが、2
( n + 1 ) 個存在するとする。この場合で、例えば、連
続アドレスにあるこの2( n + 1 ) 個の先頭アドレス、
即ち第1探索対象データのアドレスから、第2探索対象
データのアドレスまでの間に、探索対象データは、合計
( n - 1 ) 個存在するようにする。第2探索対象デー
タのアドレスから、第3探索対象データのアドレスまで
の間に、探索対象データは、合計2( n - 1 ) 個存在す
るようにする。第3探索対象データのアドレスから、第
4探索対象データのアドレスまでの間に、探索対象デー
タは、合計2( n - 1 ) 個存在するようにする。但し、
第4探索対象データのアドレスから、最終データ、即
ち、第1探索対象データのアドレスまで間には、探索対
象データは、合計(2( n - 1 ) −4)個存在するする
ようにする。すると、これら第1探索対象データ、第2
探索対象データ、第3探索対象データ、及び、第4探索
対象データが、互いに異なるバンク(記憶装置)に記憶
されているものとすることができる。
For example, if the search target data to be searched is 2
Suppose there are (n + 1) items. In this case, for example, the 2 (n + 1) start addresses in the continuous address,
That is, a total of 2 (n−1) search target data exist between the address of the first search target data and the address of the second search target data. Between the address of the second search target data and the address of the third search target data, a total of 2 (n -1) search target data exist. Between the address of the third search target data and the address of the fourth search target data, a total of 2 ( n -1) search target data exist. However,
Between the address of the fourth search target data and the final data, that is, the address of the first search target data, a total of (2 (n−1) −4) search target data exist. Then, the first search target data and the second
The search target data, the third search target data, and the fourth search target data may be stored in different banks (storage devices).

【0039】ここで、これら4つの区間内の個数、即
ち、2( n - 1 ) 個、2( n - 1 ) 個、2
( n - 1 ) 個、(2( n - 1 ) −4)個、及び、各探索
対象データの4個を合計すると、2( n + 1 ) 個とな
り、全てのデータが網羅されていることが判る。
Here, the numbers in these four sections, that is, 2 (n-1) , 2 (n-1) , 2
The sum of (n-1) , (2 (n-1) -4) and each of the search target data is 2 (n + 1) , and all data are covered I understand.

【0040】ここで、一例として、図1の第1回目の比
較照合として具体的に考えると、第1探索対象データ
は、符号A1でデータ番号が“1”の、第1バンクの探
索対象データとなる。第2探索対象データは、符号A4
でデータ番号が“2( n - 1 )+2”の、第2バンクの
探索対象データとなる。第3探索対象データは、符号A
8でデータ番号が“2n +3”の、第3バンクの探索対
象データとなる。第4探索対象データは、符号A11で
データ番号が“2n +2( n - 1 ) +4”の、第4バン
クの探索対象データとなる。
Here, as an example, as a specific example, as the first comparison and collation in FIG. 1, the first search target data is the search target data of the first bank having the code A1 and the data number "1". Becomes The second search target data is a code A4
And the data number is "2 (n-1) +2", which is the search target data of the second bank. The third search target data is a code A
8, the data number becomes “2 n +3”, the search target data of the third bank. The fourth search target data is the search target data of the fourth bank having the code A11 and the data number “2 n +2 (n−1) +4”.

【0041】従って、これら第1探索対象データ、第2
探索対象データ、第3探索対象データ、及び、第4探索
対象データは、互いに異なるバンク(記憶装置)に記憶
されているものとすることができる。なお、符号A2か
らA3まで、符号A5からA7まで、符号A9からA1
0までは、いずれも探索対象データが2( n - 1 ) 個で
ある。又、符号A12からA14までは、探索対象デー
タが(2( n - 1 ) −4)個である。
Therefore, the first search target data, the second
The search target data, the third search target data, and the fourth search target data may be stored in different banks (storage devices). It should be noted that reference signs A2 to A3, reference signs A5 to A7, reference signs A9 to A1.
Up to 0, the search target data is 2 (n-1) . In addition, the codes A12 to A14 have (2 (n-1) -4) search target data.

【0042】以下、本発明が適用された分割探索方法に
ついて、先頭アドレスが偶数の場合の例(以降実施例と
称する)を説明する。
Hereinafter, a description will be given of an example (hereinafter, referred to as an embodiment) of the division search method to which the present invention is applied, in which the start address is an even number.

【0043】なお、本実施例では、前述の条件B1〜B
3が成立していることを前提とする。
In this embodiment, the conditions B1 to B
It is assumed that 3 holds.

【0044】まず、第1回目の比較参照にあたって、下
記のように4つの探索対象データを同時に各バンクより
読み出す。ここで、対象とする連続アドレスの先頭アド
レスを、以降基準アドレスと称する。例えば、第1回目
の段階では、基準アドレスは、“000000………0
000”である。
First, at the time of the first comparison reference, four search target data are simultaneously read from each bank as described below. Here, the head address of the target continuous address is hereinafter referred to as a reference address. For example, in the first stage, the reference address is “000000...
000 ".

【0045】 “000000………0000”:第1バンク “010000………0001”:第2バンク “100000………0010”:第3バンク “110000………0011”:第4バンク“000000... 0000”: First bank “010000... 0001”: Second bank “100000... 0010”: Third bank “110000... 0011”: Fourth bank

【0046】又、これら4つのアドレスの内で、(探索
キー)<(該当アドレスから読み出されたデータ)とな
る、最大のものを、次回の基準アドレスとする。例え
ば、次ぎの4つの不等号が成り立つ場合は、“0100
00………0001”が基準アドレスとなる。
Of these four addresses, the largest one that satisfies (search key) <(data read from the corresponding address) is set as the next reference address. For example, if the following four inequalities hold, "0100
00 ... 0001 "is the reference address.

【0047】 (探索キー)<(“000000………0000”の探索対象データ) …(4) (探索キー)<(“010000………0001”の探索対象データ) …(5) (探索キー)>(“100000………0010”の探索対象データ) …(6) (探索キー)>(“110000………0011”の探索対象データ) …(7)(Search key) <(search target data of “000000... 0000”) (4) (search key) <(search target data of “010000... 0001”) (5) (search key) )> (Search target data of “100000... 0010”) (6) (search key)> (search target data of “110000... 0011”) (7)

【0048】なお、上記の(4)式〜(7)式におい
て、左辺と右辺が等しい場合は、そのデータが探索の対
象データであるので、それ以上探索を進める必要はな
い。
In the above equations (4) to (7), when the left side and the right side are equal, the data is the search target data, so that it is not necessary to proceed with the search further.

【0049】ここで、以降、(n+1)桁の探索アドレ
スの各ビットを、“0”及び“1”に加えて、“x”、
“A”〜“H”、“a”〜“h”、及び、“w”〜
“z”で表わす。又、これら“x”、“A”〜“H”、
“a”〜“h”、及び、“w”〜“z”の、それぞれ1
文字は、値が“0”または“1”の1ビットを表わすも
のとする。
Hereafter, each bit of the (n + 1) digit search address is added to “x”,
“A” to “H”, “a” to “h”, and “w” to
Expressed by "z". In addition, these “x”, “A” to “H”,
1 for each of “a” to “h” and “w” to “z”
The character shall represent one bit whose value is "0" or "1".

【0050】すると、2回目から(n+1)/2回まで
の各回(それぞれm回目とする)における、探索対象デ
ータの読み出しの探索アドレスは、以下の通りである。
Then, the search addresses for reading the search target data in each of the second to (n + 1) / 2 times (each time is m-th) are as follows.

【0051】 第1バンクのアドレス= “xxx………xxxAB000………0wab” …(8) 第2バンクのアドレス= “xxx………xxxCD000………0xcd” …(9) 第3バンクのアドレス= “xxx………xxxEF000………0yef” …(10) 第4バンクのアドレス= “xxx………xxxGH000………0zgh” …(11)Address of the first bank = “xxx ... xxxAB000 ... 0wab” (8) Address of the second bank = “xxx ... xxxCD000 ... 0xcd” (9) Address of the third bank = “Xxx …… xxxEF000 …… 0yef” (10) Address of the fourth bank = “xxx …… xxxGH000 ... 0zgh” (11)

【0052】ここで、上記(5)〜(4)のビット列に
おいて、“xxx………xxx”で示される、MSB
(most significant bit)から、“AB”や“CD”や
“EF”の左側までのビット列の長さは、{(m−1)
×2}ビットである。又、該ビット列は、その時のベー
スアドレスの、MSBから{(m−1)×2}ビットと
同じ値である。
Here, in the bit strings (5) to (4), the MSB indicated by “xxx... Xxx”
The length of the bit string from the (most significant bit) to the left side of “AB”, “CD” or “EF” is {(m−1)
× 2} bits. The bit string has the same value as {(m−1) × 2} bits from the MSB of the base address at that time.

【0053】又、A〜Hで示される、2ビットのビット
列は、それぞれ、次の2進数のとおりである。
The two-bit bit strings indicated by A to H are as shown in the following binary numbers.

【0054】 AB=00 …(12) CD=01 …(13) EF=10 …(14) GH=11 …(15)AB = 00 (12) CD = 01 (13) EF = 10 (14) GH = 11 (15)

【0055】更に、“a”〜“h”、及び、“w”〜
“z”で表わす、1〜3ビットのビット列は、それぞ
れ、次の2進数のとおりである。
Further, "a" to "h" and "w" to
The bit strings of 1 to 3 bits represented by “z” are as shown in the following binary numbers.

【0056】 w=0 …(16) ab=(基準アドレスの下位2ビット)+1 xcd=ab+1 …(17) yef=cd+1 …(18) zgh=ef+1 …(19)W = 0 (16) ab = (lower 2 bits of reference address) +1 xcd = ab + 1 (17) yef = cd + 1 (18) zgh = ef + 1 (19)

【0057】なお、例えば、探索アドレスが6ビット
で、即ち、(n=5)の場合で、合計64個の探索対象
データに対する処理の場合は、本発明適用のものは図7
(連続アドレスの前半)及び図8(後半)の通りであ
る。又、図9(連続アドレスの前半)及び図10(後
半)は、同様の条件における比較例である。
For example, when the search address is 6 bits, that is, when (n = 5), and processing is performed on a total of 64 pieces of search target data, the one to which the present invention is applied is shown in FIG.
(First half of continuous address) and FIG. 8 (second half). FIG. 9 (first half of a continuous address) and FIG. 10 (second half) are comparative examples under similar conditions.

【0058】これら図7〜図10において、探索対象デ
ータの読み出し及び比較参照は、図示される“第1回
目”“第2回目”“第3回目”の順に行われ、これら図
において、左から右へと進行する。連続アドレスの前半
及び後半を併せた中で、又、本発明適用のもの及び比較
例それぞれで、第1回目〜第3回目のそれぞれに4つあ
る、枠で囲まれた6ビットは、その回で各バンクより読
み出す探索対象データを示す探索アドレスである(この
4つの探索アドレスを、以下、参照アドレスとする)。
ここで、第1回目の4つの参照アドレスの探索対象デー
タの比較照合により、第2回目の参照アドレスが決ま
り、以下同様に第3回目の参照アドレスが決まる。
In FIGS. 7 to 10, the reading of the search target data and the comparison and reference are performed in the order of "first time", "second time", and "third time" shown in FIG. Proceed to the right. In the first half and the second half of the continuous address, and in each of the first and third examples of the application of the present invention and the comparative example, 6 bits surrounded by a frame are four in each of the first to third times. Are search addresses indicating search target data to be read from each bank (these four search addresses are hereinafter referred to as reference addresses).
Here, the second reference address is determined by comparing and matching the search target data of the four reference addresses in the first time, and the third reference address is similarly determined in the same manner.

【0059】なお、図7及び図8では、第2回目の参照
アドレスが、互いに接近しているものがある。このた
め、異なる第2回目の参照アドレスから決められた、重
複した第3回目の参照アドレスがある。このため、これ
ら図7及び図8では、第3回目を(A)及び(B)の2
つで示している。
In FIGS. 7 and 8, the second reference address may be close to each other. For this reason, there is an overlapping third reference address determined from a different second reference address. For this reason, in FIGS. 7 and 8, the third time is shown by (A) and (B).
One is shown.

【0060】例えば、第2回目の参照アドレス“010
000”の後に続く4つの第3回目の参照アドレスとし
て、“010001”“010010”“01001
1”及び“010100”がある(図7の第3回目
(A))。又、第2回目の参照アドレス“01001
0”の後に続く4つの第3回目の参照アドレスとして、
“010011”“010100”“010101”及
び“010110”がある(図7の第3回目(B))。
これら異なる第2回目参照アドレスの間では、それぞれ
4つの第3回目の参照アドレスの内で、“01001
1”及び“010100”が重複している。
For example, the second reference address “010”
000 ", four third reference addresses following" 010001 "," 010010 "," 01001 "
7 (third time (A) in FIG. 7), and a second reference address “01001”.
The four third reference addresses following "0"
There are “010011”, “010100”, “010101”, and “010110” (the third (B) in FIG. 7).
Among these different second reference addresses, “01001” is included in each of the four third reference addresses.
"1" and "010100" overlap.

【0061】参照アドレスのLSB及びその隣接ビット
の2ビットに注目すると、まず、本発明適用の図7及び
図8では、第1回目〜第3回目のいずれでも、その回の
4つの参照アドレスは、1つは、“00”であるので、
第1バンクである。1つは、“01”であるので、第2
バンクである。1つは、“10”であるので、第3バン
クである。1つは、“11”であるので、第4バンクで
ある。例えば、第1回目では、4つの参照アドレスは、
“000000”、“010001”、“10001
0”、及び“110011”である。このように本発明
を適用した図7及び図8では、第1回目〜第3回目のい
ずれでも、第1バンク〜第4バンクの、互いに異なるバ
ンクから4つの探索対象データを読み出すので、該読み
出しを同時にできる。
Focusing on the LSB of the reference address and the two bits adjacent thereto, first, in FIGS. 7 and 8 to which the present invention is applied, in any of the first to third times, the four reference addresses in that time are: Because one is “00”,
This is the first bank. One is “01”, so the second
It is a bank. One is "10", which is the third bank. One is “11”, which is the fourth bank. For example, in the first round, four reference addresses are:
“000000”, “010001”, “10001”
0 "and" 110011 "In FIGS. 7 and 8 to which the present invention is applied, in each of the first to third rounds, four banks from the first to fourth banks, which are different from each other, Since two search target data are read, the reading can be performed at the same time.

【0062】これに対して、同様の2ビットに注目する
と、比較例の図9及び図10では、第1回目及び第2回
目は、いずれも、その回の参照アドレスは、全て“0
0”であり、共通の第1バンクである。従って、共通バ
ンクであるため、同時読み出しができない。
On the other hand, when attention is paid to the same two bits, in FIGS. 9 and 10 of the comparative example, in the first and second rounds, all of the reference addresses in the round are “0”.
0 ", which is a common first bank. Therefore, simultaneous reading cannot be performed because the bank is a common bank.

【0063】[0063]

【発明の効果】本発明によれば、記憶装置から探索対象
データを読み出す処理の最適化を図り、読み出し速度が
従来と同じシングルポートメモリを用いながらも、探索
処理速度を向上して、処理時間を短縮することができ
る。従来の二分探索では、N個の探索に(2×Ct×l
og(N))の処理時間がかかっていた。これに対し
て、本発明では、分割数をmとすると、{(2/log
(m))×(Ct×log(N))}の処理時間で処理
できる。例えば、分割数を4とした時の処理時間は、
(Ct×log(N))となり、従来の半分の処理時間
で探索が可能になる。
According to the present invention, the processing for reading the search target data from the storage device is optimized, and the search processing speed is improved while using the same single-port memory as the conventional one, and the processing time is improved. Can be shortened. In a conventional binary search, N searches are (2 × Ct × l
og (N)). On the other hand, in the present invention, assuming that the number of divisions is m, {(2 / log
(M)) × (Ct × log (N))}. For example, when the number of divisions is 4, the processing time is:
(Ct × log (N)), and the search can be performed in half the processing time of the related art.

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

【図1】二分探索の処理を示す探索アドレスに関する線
FIG. 1 is a diagram relating to a search address showing a process of a binary search.

【図2】従来の二分分割探索装置の構成を示すブロック
FIG. 2 is a block diagram showing a configuration of a conventional binary search device.

【図3】上記二分分割探索装置における探索対象データ
の読み出し及び比較照合を示す線図
FIG. 3 is a diagram showing readout of search target data and comparison and collation in the above-described binary search device.

【図4】本発明が適用された多分割探索装置の実施形態
の構成を示すブロック図
FIG. 4 is a block diagram showing a configuration of an embodiment of a multi-segment search device to which the present invention is applied.

【図5】上記実施形態に対する比較例の探索対象データ
の読み出し及び比較照合を示す線図
FIG. 5 is a diagram showing reading of search target data and comparison and collation of a comparative example for the embodiment.

【図6】前記実施形態における探索対象データの読み出
し及び比較照合を示す線図
FIG. 6 is a diagram showing reading of search target data and comparison and collation in the embodiment.

【図7】本発明が適用された分割探索方法の実施例の探
索における探索対象データの読み出しを示すアドレス前
半部分の線図
FIG. 7 is a diagram of the first half of an address showing reading of search target data in a search according to an embodiment of the divided search method to which the present invention is applied;

【図8】上記読み出しを示すアドレス後半部分の線図FIG. 8 is a diagram of the latter half of the address showing the above-mentioned reading.

【図9】前記実施例に対する比較例の探索における探索
対象データの読み出しを示すアドレス前半部分の線図
FIG. 9 is a diagram of the first half of an address showing reading of search target data in a search of a comparative example with respect to the embodiment.

【図10】上記読み出しを示すアドレス後半部分の線図FIG. 10 is a diagram of the latter half of the address showing the above-mentioned reading.

【符号の説明】[Explanation of symbols]

10、10A…アドレス設定装置 20、20A…データ比較装置 22、22A…探索データレジスタ 24、24A…比較データレジスタ 30、M1〜Mj…探索対象データ記憶装置 10, 10A address setting device 20, 20A data comparison device 22, 22A search data register 24, 24A comparison data register 30, M1 to Mj search target data storage device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】探索対象データの値に応じ昇順又は降順
に、連続するアドレスに格納された探索対象データを逐
一読み出し、探索キーの比較データと比較照合する分割
探索方法において、 前記探索対象データを、前記連続アドレスの順に順次4
つ以上の2のべき乗個の相互に異なる記憶装置に割り振
り、記憶しておき、 複数の前記探索対象データを読み出す際に、これらデー
タが記憶されている前記記憶装置が互いに異なるように
各探索対象データのアドレスを設定して、これらデータ
の読み出しが同時にできるようにし、探索に要する時間
を短縮するようにしたことを特徴とする分割探索方法。
1. A divided search method for reading out search target data stored at consecutive addresses one by one in ascending or descending order according to the value of search target data, and comparing and comparing the search target data with search key comparison data. , 4 in the order of the consecutive addresses.
One or more powers of two are allocated and stored in mutually different storage devices, and when a plurality of the search target data are read out, each search target is stored such that the storage devices storing these data are different from each other. A divided search method characterized in that data addresses are set so that these data can be read at the same time and the time required for the search is reduced.
【請求項2】探索対象データの値に応じ昇順又は降順
に、連続するアドレスに格納された探索対象データを逐
一読み出し、探索キーの比較データと比較照合する分割
探索装置において、 前記探索対象データが、前記連続アドレスの順に順次異
なるものに割り振られ、記憶される、4つ以上の2のべ
き乗個の記憶装置と、 複数の前記探索対象データを読み出す際に、これらデー
タが記憶されている前記記憶装置が互いに異なるように
各探索対象データのアドレスを設定して、これらデータ
の読み出しが同時にできるようにするアドレス設定装置
と、 前記比較照合を行うデータ比較装置とを備え、 複数の前記記憶装置に対する読み出しが同時になるよう
にし、探索に要する時間を短縮するようにしたことを特
徴とする分割探索装置。
2. A divided search apparatus which reads out search target data stored at consecutive addresses one by one in ascending order or descending order according to the value of search target data and compares and compares the search target data with search key comparison data. , Four or more power-of-two storage devices that are sequentially allocated and stored in different ones in the order of the consecutive addresses, and the storage device that stores a plurality of the search target data when reading out the plurality of search target data. An address setting device that sets the address of each search target data so that the devices are different from each other so that these data can be read simultaneously; and a data comparison device that performs the comparison and collation. A divided search device wherein reading is performed simultaneously to reduce the time required for search.
JP10029773A 1997-12-25 1998-02-12 Method and device for split search Pending JPH11232279A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP10029773A JPH11232279A (en) 1998-02-12 1998-02-12 Method and device for split search
US09/215,556 US6532468B2 (en) 1997-12-25 1998-12-18 Binary data search method for selecting from among candidate data, and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10029773A JPH11232279A (en) 1998-02-12 1998-02-12 Method and device for split search

Publications (1)

Publication Number Publication Date
JPH11232279A true JPH11232279A (en) 1999-08-27

Family

ID=12285362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10029773A Pending JPH11232279A (en) 1997-12-25 1998-02-12 Method and device for split search

Country Status (1)

Country Link
JP (1) JPH11232279A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007115015A (en) * 2005-10-20 2007-05-10 Kawasaki Microelectronics Kk Memory system and retrieval method
JP2007537626A (en) * 2004-04-19 2007-12-20 ザ・リージェンツ・オブ・ザ・ユニバーシティ・オブ・カリフォルニア Programmable hardware for deep packet filtering
US7865474B2 (en) 2005-05-20 2011-01-04 Duaxes Corporation Data processing system
US8336092B2 (en) 2005-02-18 2012-12-18 Duaxes Corporation Communication control device and communication control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007537626A (en) * 2004-04-19 2007-12-20 ザ・リージェンツ・オブ・ザ・ユニバーシティ・オブ・カリフォルニア Programmable hardware for deep packet filtering
JP4755175B2 (en) * 2004-04-19 2011-08-24 ザ・リージェンツ・オブ・ザ・ユニバーシティ・オブ・カリフォルニア Programmable hardware for deep packet filtering
US8336092B2 (en) 2005-02-18 2012-12-18 Duaxes Corporation Communication control device and communication control system
US7865474B2 (en) 2005-05-20 2011-01-04 Duaxes Corporation Data processing system
JP2007115015A (en) * 2005-10-20 2007-05-10 Kawasaki Microelectronics Kk Memory system and retrieval method

Similar Documents

Publication Publication Date Title
US7643324B2 (en) Method and apparatus for performing variable word width searches in a content addressable memory
EP0180239B1 (en) Content-addressable memory
US6243281B1 (en) Method and apparatus for accessing a segment of CAM cells in an intra-row configurable CAM system
US6137707A (en) Method and apparatus for simultaneously performing a plurality of compare operations in content addressable memory device
US4622653A (en) Block associative memory
US20090254694A1 (en) Memory device with integrated parallel processing
EP0944093A1 (en) Contents addressable memory circuit for retrieval operation in units of data blocks
JPH05282147A (en) Register file
JPH11273365A (en) Content addressable memory(cam)
US20040049630A1 (en) Implementation of a content addressable memory using a ram-cell structure
US4187551A (en) Apparatus for writing data in unique order into and retrieving same from memory
US6751701B1 (en) Method and apparatus for detecting a multiple match in an intra-row configurable CAM system
JPH11232279A (en) Method and device for split search
JPH08235068A (en) Processing system and method for operation of processing system
JP2003331584A (en) Associative memory device
JP3027754B2 (en) Associative memory
US6532468B2 (en) Binary data search method for selecting from among candidate data, and apparatus therefor
JPH11184858A (en) Two division search method/device
JP4850403B2 (en) Magnitude contents referenceable memory
KR100517765B1 (en) Cache memory and control method thereof
US4112487A (en) Apparatus for writing data in unique order into and retrieving same from memory
JPH03212896A (en) Content-addressable memory
JP2004265528A (en) Associative memory
TWI766773B (en) Multilevel content addressable memory, multilevel coding method and multilevel searching method
JPH10334697A (en) Semiconductor storage device nd error correction method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071113