# US 2003/0208657 A1 · Variable key type search engine and method therefor

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

- Number: US 2003/0208657 A1
- Document ID: US20030208657A1
- Status: Published application
- Kind: A1
- Application number: 10/138,580
- Filed: 2002-05-06
- Published: 2003-11-06
- Earliest claimed: 2002-05-06
- Assignees: HyWire Ltd.
- Inventors: Moshe Stark; Guy Itzkovsky; Shay Kastoriano; Yoram Stern; Eran Saltzmann; Eyal Shachrai
- Web page: https://patentgrep.com/patent/US20030208657A1

## CPC

- G06F 16/90339: {by using parallel associative memories or content-addressable memories}
- Y10S 707/99932: Access augmentation or optimizing
- Y10S 707/99952: Coherency, e.g. same view to multiple users
- 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

A system and method for storing arranged data in a memory, and for extracting the data therefrom, the system including: (a) a random access memory (RAM) including: (i) a first array of cells, the first array having at least two dimensions and having rows and columns, the first array designed and configured to contain a plurality of at least two kinds of key entries, each of the cells having a unique address and being accessible via an input key, each of the kinds of key entries being arranged in monotonic order, and (ii) a second array of cells, the second array having at least two dimensions and having rows and columns, the second array having a plurality of data entries, each of the data entries being associated with a particular one of the key entries, and (b) processing means designed and configured to search, in response to the input key, the plurality of key entries so as to identify a match.

## Claims

### Claim 1

A system for storing arranged data in a memory, and for extracting the data therefrom, the system comprising:
(a) a random access memory (RAM) including:
(i) a first array of cells, said first array having at least two dimensions and having rows and columns, said first array designed and configured to contain a plurality of at least two kinds of key entries, each of said cells having a unique address and being accessible via an input key, each of said kinds of key entries being arranged in monotonic order, and
(ii) a second array of cells, said second array having at least two dimensions and having rows and columns, said second array having a plurality of data entries, each of said data entries being associated with a particular one of said key entries, and
(b) processing means designed and configured to search, in response to said input key, said plurality of said key entries so as to identify a match.

### Claim 2 (depends on 1)

The system of claim 1, wherein said at least two kinds of key entries include a range type key entry, each said range type key entry corresponding to a particular range and being associated with a particular one of said data entries.

### Claim 3 (depends on 1)

The system of claim 1, wherein said at least two kinds of key entries include an exact type key entry, each said exact type key entry being associated with a particular one of said data entries.

### Claim 4 (depends on 1)

The system of claim 1, wherein said at least two kinds of key entries include range type key entries of differing length, each of said range type key entries corresponding to a particular range and being associated with a particular one of said data entries.

### Claim 5 (depends on 1)

The system of claim 1, wherein said at least two kinds of said key entries include exact type key entries of differing length, each of said exact type key entries being associated with a particular one of said data entries.

### Claim 6 (depends on 1)

The system of claim 1, wherein said at least two kinds of said key entries include a range type key entry and an exact type key entry, each said range type key entry corresponding to a particular range and being associated with a particular one of said data entries, each said exact type key entry being associated with a particular one of said data entries.

### Claim 7 (depends on 1)

The system of claim 1, wherein at least two of any of said keys are of differing length.

### Claim 8 (depends on 2)

The system of claim 2, wherein said range type key entry contains a single range-boundary value.

### Claim 9 (depends on 1)

The system of claim 1, wherein each of said key entries includes a tag field for differentiating between said kinds of said key entries.

### Claim 10 (depends on 1)

The system of claim 1, wherein each of said key entries includes at least one key field including a key data field and a tag field for differentiating between said kinds of said key entries, and wherein said processing means are designed and configured to search said plurality of said key entries by adding bits of said tag field to bits of said key data field to form a single binary number.

### Claim 11 (depends on 10)

The system of claim 10, wherein each of said key entries includes a plurality of key fields including a plurality of key data fields and at least one tag field for differentiating between said kinds of said key entries, and wherein said processing means are designed and configured to search said plurality of said key entries by adding bits of said tag field to bits of said key data fields to form a single binary number.

### Claim 12 (depends on 1)

The system of claim 1, wherein each of said key entries includes at least one key field including a key data field and a tag field for differentiating between said kinds of said key entries, and wherein said processing means are further designed and configured to add at least one bit of said tag field to bits of said key data field to form a single binary number for use in said search.

### Claim 13 (depends on 1)

The system of claim 1, wherein each of said key entries includes a tag field for differentiating between said kinds of said key entries, each said tag field having a tag field value, and wherein said processing means are further designed and configured to position a particular one of said key entries within said first array, based on said tag field value.

### Claim 14 (depends on 1)

The system of claim 1, wherein each of said key entries includes a tag field for differentiating between said kinds of said key entries, each said tag field having a tag field value, and wherein said processing means include identification means for identifying, within said first array, a row that may contain a match between a particular one of said key entries and said input key, based on said tag field value.

### Claim 15 (depends on 14)

The system of claim 14, wherein said identification means include at least one comparator.

### Claim 16 (depends on 14)

The system of claim 14, wherein said identification means further include a column locator for comparing contents of said row with said input key so as to identify a column containing a match for said input key.

### Claim 17 (depends on 16)

The system of claim 16, wherein said column locator includes at least one comparator.

### Claim 18 (depends on 11)

The system of claim 11, wherein said tag field is disposed in relation to said key field such that at least one most significant bit (MSB) position is occupied by said at least one bit of said tag field.

### Claim 19 (depends on 15)

The system of claim 15, wherein said identification means further include a column locator for comparing contents of said row with said input key so as to identify a column containing a match for said input key.

### Claim 20

A method for storing arranged data in a memory, and for extracting the data therefrom, the method comprising the steps of:
(a) providing a system including:
(i) a random access memory (RAM) including:
(A) a first array of cells for storing key entries, said first array having at least two dimensions and having rows and columns, each of said cells having a unique address and being accessible via an input key, and
(B) a second array of cells, said second array having at least two dimensions and having rows and columns, said second array having a plurality of data entries, each of said data entries being associated with a particular one of said key entries, and
(ii) processing means associated with said RAM, and
(b) storing at least a first kind and second kind of said key entries within said first array.

### Claim 21 (depends on 20)

The method of claim 20, wherein said at least a first kind and second kind of key entries are arranged in monotonic order.

### Claim 22 (depends on 20)

The method of claim 20, wherein said first kind of key entries is arranged in a first block of cells within said first array, and said second kind of key entries is arranged in a second block of cells within said first array.

### Claim 23 (depends on 22)

The method of claim 22, wherein said blocks of cells are arranged in a substantially contiguous fashion.

### Claim 24 (depends on 20)

The method of claim 20, further comprising the step of:
(c) searching, in response to said input key, a plurality of said key entries so as to identify a match.

### Claim 25 (depends on 24)

The method of claim 24, wherein at least one kind of said key entries is a range type key entry.

### Claim 26 (depends on 24)

The method of claim 24, wherein at least one kind of said key entries is an exact type key entry.

### Claim 27 (depends on 25)

The method of claim 25, wherein at least one kind of said key entries is an exact type key entry.

### Claim 28 (depends on 20)

The method of claim 20, wherein each of said key entries includes a tag field.

### Claim 29 (depends on 24)

The method of claim 24, wherein each of said key entries includes a tag field and a key data field, and wherein said searching includes differentiating between said kinds of said key entries.

### Claim 30 (depends on 29)

The method of claim 29, wherein in step (c), said tag field and said key data field are examined as a single binary number.

### Claim 31 (depends on 29)

The method of claim 29, wherein said first kind of key entries is arranged in a first block of cells within said first array, and said second kind of key entries is arranged in a second block of cells within said first array.

### Claim 32 (depends on 31)

The method of claim 31, wherein said searching includes identifying a matching kind of said key entries using said tag field.

### Claim 33 (depends on 30)

The method of claim 30, wherein said searching includes identifying a row within said first array in which a key entry matching said input key may be disposed.

### Claim 34 (depends on 30)

The method of claim 30, wherein said searching includes identifying a row within said first array in which said input key may fall within a particular range associated with a range type key entry.

### Claim 35 (depends on 29)

The method of claim 29, wherein said searching includes disposing said tag field in relation to said key field such that at least one most significant bit (MSB) position is occupied by at least one bit of said tag field.

### Claim 36 (depends on 28)

The method of claim 28, wherein said storing of said key entries includes varying a length of said tag field according to a pre-determined criterion, so as to reduce a number of said cells occupied by said tag field.

### Claim 37 (depends on 36)

The method of claim 36, further including disposing said tag field in a most significant bit (MSB) position.
