# US 2007/0043871 A1 · Debug non-terminal symbol for parser error handling

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

- Number: US 2007/0043871 A1
- Document ID: US20070043871A1
- Status: Published application
- Kind: A1
- Application number: 11/185,223
- Filed: 2005-07-19
- Published: 2007-02-22
- Earliest claimed: 2005-07-19
- Assignees: Mistletoe Technologies, Inc.
- Inventors: Jonathan Sweedler; Rajesh Nair; Komal Rathi; Kevin Rowett
- Web page: https://patentgrep.com/patent/US20070043871A1

## CPC

- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A device has an input port to allow the device to receive data. The device also has a parser to parse the data in response to symbols in a parser stack, determine when a symbol is a debug non-terminal symbol, and notify the device via an interrupt. The interrupt causes the device to gather information about the state of the parser at the time of encountering the non-terminal symbol.

## Claims

### Claim 1

A device, comprising:
at least one input port to allow the processor to receive data;
a parser to:
parse the data in response to symbols in a parser stack;
determine when a symbol is a debug non-terminal symbol; and
notify the device of an interrupt.

### Claim 2 (depends on 1)

The device of claim 1, the device further comprising an array of semantic processing units.

### Claim 3 (depends on 2)

The device of claim 2, the device further comprising a dispatcher to receive the notification of the interrupt and to dispatch the interrupt to one of the array of semantic processing units to handle the interrupt.

### Claim 4 (depends on 3)

The device of claim 3, the semantic processing unit further to gather data related to the interrupt and store it.

### Claim 5 (depends on 4)

The device of claim 4, the semantic processing unit to gather data further comprising a semantic processing unit to determine at least one of the group consisting of: the last data, a packet identifier from which the data was accessed, a last state in the parser finite state machine, and last contents of the parser stack.

### Claim 6 (depends on 1)

The device of claim 1, the device further comprising an output port to allow the device to communicate the interrupt externally.

### Claim 7 (depends on 6)

The device of claim 6, the output port further comprising an output port to a controller.

### Claim 8 (depends on 6)

The device of claim 6, the output further comprising an output port to a network.

### Claim 9

A method of processing data, comprising:
accessing a predetermined amount of data by a device having a parser;
determine if there is a match for the predetermined amount of data in a parser stack;
if there is no match, placing the device in a debug state; and
gathering information as to the status of the device at the time the predetermined amount of data was accessed.

### Claim 10 (depends on 9)

The method of claim 9, the method further comprising triggering a message having the information as to the status of the device to a controller.

### Claim 11 (depends on 10)

The method of claim 10, triggering a message further comprising triggering an error message to a user.

### Claim 12 (depends on 10)

The method of claim 10, triggering a message further comprising triggering an error message to be written and stored.

### Claim 13 (depends on 10)

The method of claim 10, triggering a message further comprising triggering a message to be sent externally from a customer site.

### Claim 14 (depends on 9)

The method of claim 9, determining if there is a match for the predetermined amount of data further comprising determining that the symbol is a non-terminal symbol.

### Claim 15 (depends on 9)

The method of claim 9, determining if there is a match for the predetermined amount of data further comprising looking up the predetermined amount of data in a table.

### Claim 16 (depends on 9)

The method of claim 9, placing the device in a debug state further comprising:
generating an interrupt;
transmitting the interrupt to a dispatcher; and
assigning a semantic processing unit to handle the interrupt.

### Claim 17 (depends on 9)

The method of claim 9, gathering information as to the status of the device at the time the predetermined data was accessed further comprising recording at least one of the group consisting of: last data, a last state of the parser finite state machine, a packet identifier from which the data was accessed, and last contents of the parser stack.
