# US 6,266,789 B1 · Deep trace memory system for a protocol analyzer

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

- Number: US 6,266,789 B1
- Document ID: US6266789B1
- Status: Granted
- Kind: B1
- Application number: 09/193,779
- Filed: 1998-11-17
- Granted: 2001-07-24
- Earliest claimed: 1997-11-17
- Assignees: I-Tech AB
- Inventors: Steven Bucher; Daniel G. Kuechle; Timothy A. Wall
- Web page: https://patentgrep.com/patent/US6266789B1

## CPC

- H04L 43/18: Protocol analysers
- Y10S 707/99936: Pattern matching access
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A deep trace buffer management system for a protocol analyzer includes a hardware search engine that locates specified data patterns within the trace buffer as directed by a host processor. The protocol analyzer is preferably connected to a laptop computer that serves as the host processor, and the protocol analyzer preferably is housed in a portable chassis separate from the host processor and has a host port to connect to the host processor through a relatively small bandwidth port. An interface port connects the protocol analyzer to the communication interface under analysis. Logic circuitry controls selective read and write operations of traces to and from the trace buffer in response to parameters as directed by the host processor.

## Claims

### Claim 1

A protocol analyzer having a deep trace memory system that stores traces captured from a communication interface for presentation by a host processor, the protocol analyzer comprising:
a portable chassis physically separate from the host processor that includes:
a host port that provides a connection to the host processor;
an interface port that provides a connection to the communication interface;
a trace buffer memory;
logic circuitry that controls selective write operations of traces from the interface port to the trace buffer and selective read operations of traces from the trace buffer to the host port in response to parameters directed by the host processor; and
a hardware search engine that locates specified data patterns as directed by the host processor within the trace buffer.

### Claim 2 (depends on 1)

The protocol analyzer of claim 1 wherein the communication interface is a Fibre Channel interface having a serial transfer rate of at least 1 gigabit/second.

### Claim 3 (depends on 1)

The protocol analyzer of claim 1 wherein the host port is a PC parallel port.

### Claim 4 (depends on 1)

The protocol analyzer of claim 1 wherein the interface port provides a pair of channel connections to the communication interface and the trace buffer is divided into dual channels, one channel that stores traces from a first channel connection and another channel that stores traces from a second channel connection.

### Claim 5 (depends on 1)

The protocol analyzer of claim 1 wherein the hardware search engine searches the entire contents of the trace buffer for a specified data pattern in less than 10 seconds.

### Claim 6 (depends on 1)

The protocol analyzer of claim 1 wherein the portable chassis is less than 750 cubic inches and weighs less than 10 pounds.

### Claim 7 (depends on 1)

The protocol analyzer of claim 1 wherein hardware search engine searches the contents of the trace buffer at a speed of greater than 1 Mbyte every 20 milliseconds.

### Claim 8 (depends on 1)

The protocol analyzer of claim 1 wherein the trace buffer comprises at least two interleaved banks of memory formed of at least two megabytes of dynamic random access memory (DRAM) chips and wherein the traces are stored in each bank of the trace buffer on alternating clock cycles such that the DRAM chips are refreshed on the opposite alternating clock cycles.

### Claim 9 (depends on 1)

The protocol analyzer of claim 1 wherein the logic circuitry includes:
a dual port memory connected the interface port and the trace buffer to serve as a first-in, first out (fifo) buffer;
addressing circuitry connected to the dual port memory and the trace buffer having a write address counter, a read address counter and an address full counter; and
decision circuitry connected to the addressing circuitry and the dual port memory to analyze data in the fifo buffer and determine whether the data in the fifo buffer is a trace to be stored in the trace buffer.

### Claim 10 (depends on 1)

The protocol analyzer of claim 1 wherein the hardware search engine comprises:
a pattern memory loaded with a desired data pattern;
an address counter containing an address in the trace buffer to initiate; and
a comparator connected to the pattern memory and the trace buffer.

### Claim 11

A system for analyzing a communication interface comprising:
a host processor that includes:
a user interface;
a computer processor; and
a main memory;
a protocol analyzer distinct from the host processor that includes:
a host port that provides a connection to the host processor;
an interface port that provides a connection to the communication interface;
a trace buffer memory;
logic circuitry that controls selective write operations of traces from the interface port to the trace buffer and selective read operations of traces from the trace buffer to the host port in response to parameters as directed by the host processor; and
a hardware search engine that locates specified data patterns as directed by the host processor within the trace buffer.

### Claim 12 (depends on 11)

The system of claim 11 wherein the communication interface is a Fibre Channel interface having a serial transfer rate of at least 1 gigabit/second.

### Claim 13 (depends on 11)

The system of claim 11 wherein the host processor is a laptop computer and the protocol analyzer is housed in a portable chassis separate from the laptop computer and the host port is a PC parallel port.

### Claim 14 (depends on 11)

The system of claim 11 wherein the host port provides a bus interface between the protocol analyzer and the host processor separate from an interface between the trace buffer and the hardware search engine of the protocol analyzer and separate from a bus interface between computer processor and memory of the host processor.

### Claim 15 (depends on 11)

The system of claim 11 wherein the interface port provides a pair of channel connections to the communication interface and the trace buffer is divided into dual channels, one channel that stores traces from a first channel connection and another channel that stores traces from a second channel connection.

### Claim 16 (depends on 11)

The system of claim 11 wherein the hardware search engine searches the entire contents of the trace buffer for a specified data pattern in less than 10 seconds.

### Claim 17 (depends on 11)

The system of claim 11 wherein the hardware search engine searches the contents of the trace buffer at a speed of greater than 1 Mbyte every 20 milliseconds.

### Claim 18 (depends on 11)

The system of claim 11 wherein the trace buffer comprises at least two interleaved banks of memory formed of at least two megabytes of dynamic random access memory (DRAM) chips and wherein the traces are stored in each bank of the trace buffer on alternating clock cycles such that the DRAM chips are refreshed on the opposite alternating clock cycles.

### Claim 19 (depends on 11)

The system of claim 11 wherein the logic circuitry includes:
a dual port memory connected the interface port and the trace buffer to serve as a first-in, first out (fifo) buffer;
addressing circuitry connected to the dual port memory and the trace buffer having a write address counter, a read address counter and an address full counter; and
decision circuitry connected to the addressing circuitry and the dual port memory to analyze data in the fifo buffer and determine whether the data in the fifo buffer is a trace to be stored in the trace buffer.

### Claim 20 (depends on 11)

The system of claim 11 wherein the hardware search engine comprises:
a pattern memory loaded with a desired data pattern;
an address counter containing an address in the trace buffer to initiate; and
a comparator connected to the pattern memory and the trace buffer.

### Claim 21

A method of managing memory of a deep trace buffer of a protocol analyzer for a communication interface comprising:
(a) selectively writing traces from the communication interface into the trace buffer of the protocol analyzer;
(b) using a hardware search engine in the protocol analyzer to identify portions of the traces in the trace buffer matching a specified data pattern as determined by a host processor having a computer processor and a main memory separate from the trace buffer of the protocol analyzer; and
(c) in response to step (b), selectively reading at least a portion of the traces from the buffer to the host processor.
