# US 2004/0083336 A1 · Multi-dimensional associative search engine having an external memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0083336 A1
- Document ID: US20040083336A1
- Status: Published application
- Kind: A1
- Application number: 10/688,986
- Filed: 2003-10-21
- Published: 2004-04-29
- Earliest claimed: 2001-11-05
- Assignees: HyWire Ltd.
- Inventors: Moshe Stark; Moshe Hershkovich; Ronen Reznik
- Web page: https://patentgrep.com/patent/US20040083336A1

## CPC

- G06F 16/90339: {by using parallel associative memories or content-addressable memories}
- Y10S 707/99933: Query processing, i.e. searching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

An associative search engine (ASE) including: (a) a search engine manager (SEM), disposed within a chip, including: (i) processing logic; (b) an external memory system, disposed outside of the chip, including: (i) a plurality of memory storage units, each memory storage unit of the memory storage units having at least a first array for storing a plurality of key entries; (c) at least a second array for storing a plurality of associated data entries, the data entries being associated with the key entries, and (d) an interface for data interfacing between the external memory system and the SEM, wherein the processing logic is designed and configured to search within each of the memory storage units, in response to an input key, so as to determine if the input key matches a particular key entry, and wherein the key entries are stored in the memory storage units as logical two-dimensional arrays (TDAs) arranged for a search tree having a plurality of levels, so as to provide an increased rate of the data retrieval from the external memory system to the processing logic.

## Claims

### Claim 1

An associative search engine (ASE) for data storage and retrieval, the associative search engine comprising:
(a) a search engine manager (SEM), disposed within a chip, said search engine manager including:
(i) processing logic;
(b) an external memory, disposed outside of said chip, said memory including:
(i) at least a first array for storing a plurality of range boundary information;
(c) at least a second array for storing a plurality of associated data entries, said data entries being associated with said range boundary information,
wherein said processing logic is designed and configured to search, in response to an input key, said range boundary information, so as to determine if said input key falls within a range associated with a particular range boundary information of said range boundary information.

### Claim 2 (depends on 1)

The associative search engine of claim 1, wherein the search engine manager has an internal memory disposed within said chip.

### Claim 3 (depends on 1)

The associative search engine of claim 1, wherein said range is represented by a single boundary value.

### Claim 4 (depends on 1)

The associative search engine of claim 1, wherein said external memory includes at least one random access memory (RAM).

### Claim 5 (depends on 1)

The associative search engine of claim 1, the system further comprising:
(d) an interface for interfacing between said external memory and said SEM.

### Claim 6 (depends on 5)

The associative search engine of claim 5, wherein said interface includes at least one control & data bus (CDB).

### Claim 7 (depends on 1)

The associative search engine of claim 1, said second array having a plurality of rows and a plurality of columns.

### Claim 8 (depends on 5)

The associative search engine of claim 5, wherein said second array is disposed in said external memory.

### Claim 9 (depends on 1)

The associative search engine of claim 1, further comprising:
(d) a memory for storing range validity information for each of said range boundary information.

### Claim 10 (depends on 5)

The associative search engine of claim 5, wherein said memory for storing range validity information is disposed within said external memory.

### Claim 11

An associative search engine (ASE) for data storage and data retrieval, the associative search engine comprising:
(a) a search engine manager (SEM), disposed within a chip, said search engine manager including:
(i) processing logic;
(b) an external memory system, disposed outside of said chip, said memory system including:
(i) a plurality of memory storage units, each memory storage unit of said memory storage units having at least a first array for storing a plurality of key entries;
(c) at least a second array for storing a plurality of associated data entries, said data entries being associated with said key entries, and
(d) an interface for data interfacing between said external memory system and said SEM,
wherein said processing logic is designed and configured to search within each of said memory storage units, in response to an input key, so as to determine if said input key matches a particular key entry of said key entries, and
wherein said key entries are stored in said memory storage units as logical two-dimensional arrays (TDAs) arranged for a search tree having a plurality of levels, so as to provide an increased rate of the data retrieval from said external memory system to said processing logic.

### Claim 12 (depends on 11)

The associative search engine of claim 11, wherein said key entries are arranged within said memory storage units so as to enable a pipelined searching, wherein a search for said input key is initiated by said processing logic before a search for a previous input key has been completed.

### Claim 13 (depends on 11)

The associative search engine of claim 11, wherein said key entries are arranged within said memory storage units such that at least one of said memory storage units contains solely one solitary level of said plurality of levels.

### Claim 14 (depends on 13)

The associative search engine of claim 13, wherein said key entries are arranged within said memory storage units such that said one solitary level is a singular-solitary level.

### Claim 15 (depends on 14)

The associative search engine of claim 14, wherein said key entries are further arranged within said memory storage units such that all of said memory storage units contain solely one solitary level of said plurality of levels.

### Claim 16 (depends on 14)

The associative search engine of claim 14, wherein all of said memory storage units contain solely one solitary level of said plurality of levels, said key entries being further arranged such that a particular level of said levels is stored entirely in a single memory storage unit of said memory storage units.

### Claim 17 (depends on 16)

The associative search engine of claim 16, wherein each particular level of said levels is stored entirely in a single respective memory storage unit of said memory storage units.

### Claim 18 (depends on 13)

The associative search engine of claim 13, wherein said key entries are arranged such that at least a portion of said memory storage units have at least one duplicated level.

### Claim 19 (depends on 18)

The associative search engine of claim 18, wherein said key entries are arranged such that all of said memory storage units have at least one duplicated level.

### Claim 20 (depends on 18)

The associative search engine of claim 18, wherein said duplicated level is disposed within said additional memory storage unit so as to reduce a memory space requirement within said memory storage units.

### Claim 21 (depends on 18)

The associative search engine of claim 18, wherein said duplicated level is disposed within said additional memory storage unit so as to reduce a requisite number of rows within said memory storage units.

### Claim 22 (depends on 11)

The associative search engine of claim 11, wherein said key entries are arranged such that at least a portion of said memory storage units have at least one duplicated level.

### Claim 23 (depends on 22)

The associative search engine of claim 22, wherein said duplicated level is disposed within said additional memory storage unit so as to reduce a requisite number of rows within said memory storage units.

### Claim 24 (depends on 13)

The associative search engine of claim 13, wherein said external memory system includes at least one random access memory (RAM).

### Claim 25 (depends on 24)

The associative search engine of claim 24, wherein said at least one RAM includes at least one dynamic random access memory (DRAM).

### Claim 26 (depends on 24)

The associative search engine of claim 24, wherein said at least one RAM includes at least one partitioned random access memory.

### Claim 27 (depends on 25)

The associative search engine of claim 25, wherein said at least one DRAM includes a plurality of memory banks.

### Claim 28 (depends on 11)

The associative search engine of claim 11, wherein said processing logic is designed and configured to store said key entries in monotonic order within at least one memory storage unit of said memory storage units.

### Claim 29 (depends on 28)

The associative search engine of claim 28, wherein at least two of said memory storage units have overlapping spans.

### Claim 30 (depends on 11)

The associative search engine of claim 11, further comprising:
(e) a register for storing row-identifying key entries.

### Claim 31 (depends on 11)

The associative search engine of claim 11, wherein said second array is disposed in said external memory.

### Claim 32 (depends on 30)

The associative search engine of claim 30, wherein said register is a column register.

### Claim 33 (depends on 30)

The associative search engine of claim 30, wherein said register is divided into a plurality of hierarchical blocks.

### Claim 34

A method for processing data using an associative search engine having an external memory and for extracting the data from the external memory in response to an input key, the method comprising the steps of:
(a) providing the associative search engine (ASE), the ASE having:
(i) a search engine manager (SEM), disposed within a chip, said search engine manager including processing logic;
(b) providing, for the ASE, an external memory system disposed outside of said chip, said external memory system including:
(i) a plurality of memory storage units, each memory storage unit of said memory storage units having at least a first array for storing a plurality of key entries;
(c) providing a memory for storing a plurality of associated data entries, said data entries being associated with said key entries;
(d) providing an interface for data interfacing between said external memory system and said SEM;
(e) arranging said key entries as logical two-dimensional arrays (TDAs) so as to increase a rate of data retrieval from said external memory system to said processing logic, and
(f) searching said key entries, in response to the input key, so as to determine if the input key matches a particular key entry of said key entries.

### Claim 35 (depends on 34)

The method of claim 34, wherein said external memory system includes at least one random access memory (RAM).

### Claim 36 (depends on 34)

The method of claim 34, wherein at least one step of said searching of said key entries is performed in said plurality of memory storage units within a single clock cycle.

### Claim 37 (depends on 34)

The method of claim 34, further comprising the step of:
(g) storing a key entry from each row of said TDAs in a column register to produce an array of row-identifying key entries.

### Claim 38 (depends on 34)

The method of claim 34, further comprising the step of:
(g) storing a row-identifying key entry associated with a particular row of said TDAs, so as to produce an array of row-identifying key entries.

### Claim 39 (depends on 34)

The method of claim 34, further comprising the step of:
(g) storing, in a column register, a row-identifying key entry associated with a particular row of said TDAs, so as to produce an array of row-identifying key entries.

### Claim 40 (depends on 38)

The method of claim 38, further comprising the step of:
(h) searching said array containing said row-identifying key entries to determine a particular row within said TDAs that potentially contains a matching key entry that matches the input key.

### Claim 41 (depends on 40)

The method of claim 40, further comprising the step of:
(i) searching said particular row that potentially contains said matching key entry.

### Claim 42 (depends on 38)

The method of claim 38, wherein each TDA of said TDAs represents a level of a B-tree.

### Claim 43 (depends on 38)

The method of claim 38, wherein said array of row-identifying key entries is partitioned into k hierarchical blocks according to a numerical system of base B, wherein k≧2 and B≧2.

### Claim 44 (depends on 34)

The method of claim 34, wherein said plurality of key entries stored in said at least a first array contains range boundary information.

### Claim 45 (depends on 34)

The method of claim 34, wherein said key entries are arranged in monotonic order within said memory storage units.

### Claim 46 (depends on 34)

The method of claim 34, wherein said searching is a pipelined searching, such that a search for the input key is initiated by said processing logic before a search for a previous input key has been completed.

### Claim 47 (depends on 46)

The method of claim 46, wherein said arranging of said key entries in logical TDAs is performed so as to enable said pipelined searching.
