Method and apparatus for high-speed processing of structured application messages in a network device
First Claim
1. A method for high-speed processing of structured application messages in a network device, the method comprising the computer-implemented steps of:
- receiving, from user specified input, a plurality of message classification requirements;
wherein the message classification requirements specify rules used to classify a structured application layer message;
wherein the message classification requirements include operations to be performed on a classified structured application layer message;
identifying, in the message classification requirements at the network device, a reference to a classification portion of the structured application layer message that is used to classify the message, and to an operation portion of the structured application layer message that is used to perform the operations;
determining one or more XPath expressions, based on the reference to the classification portion, that indicate the portion of the structured application layer message used to classify the message;
determining one or more location identifiers, based on the reference to the operation portion, that indicate the portion of the structured application layer message used to perform the operations;
receiving the structured application layer message at the network device;
wherein the structured application layer message is formed from two or more Internet Protocol (IP) payloads of two or more IP packets;
extracting, based on the one or more XPath expressions, an extracted portion of message information needed to classify the structured application layer message; and
wherein the extracted portion may be used to perform at least one operation on the application layer message;
using only the extracted portion of the message information, classifying the structured application layer message according to the message classification requirements;
performing the at least one operation on the classified message, further comprising only accessing information indicated by the one or more location identifiers;
wherein information in the structured application layer message that is not at locations indicated by the one or more XPath expressions and the one or more location identifiers is not extracted;
wherein the method is performed by one or more processors.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is disclosed for high-speed processing of structured application messages in a network device. According to one aspect, a network device receives a set of message classification rules that have been prepared beforehand by a system administrator or customer. The system analyzes the message classification rules to determine what part(s) of the message are necessary to classify a message according to the message classification rules. This allows the system to consider only the relevant parts of the message and ignore the rest of the message. The system extracts the portion of the message necessary for classifying the message and classifies the message using the values of the extracted information and the message classification rules. A unique sequence of operations is implied by the message classification and those operations must then be applied to the message.
-
Citations
34 Claims
-
1. A method for high-speed processing of structured application messages in a network device, the method comprising the computer-implemented steps of:
-
receiving, from user specified input, a plurality of message classification requirements; wherein the message classification requirements specify rules used to classify a structured application layer message; wherein the message classification requirements include operations to be performed on a classified structured application layer message; identifying, in the message classification requirements at the network device, a reference to a classification portion of the structured application layer message that is used to classify the message, and to an operation portion of the structured application layer message that is used to perform the operations; determining one or more XPath expressions, based on the reference to the classification portion, that indicate the portion of the structured application layer message used to classify the message; determining one or more location identifiers, based on the reference to the operation portion, that indicate the portion of the structured application layer message used to perform the operations; receiving the structured application layer message at the network device; wherein the structured application layer message is formed from two or more Internet Protocol (IP) payloads of two or more IP packets; extracting, based on the one or more XPath expressions, an extracted portion of message information needed to classify the structured application layer message; and wherein the extracted portion may be used to perform at least one operation on the application layer message; using only the extracted portion of the message information, classifying the structured application layer message according to the message classification requirements; performing the at least one operation on the classified message, further comprising only accessing information indicated by the one or more location identifiers; wherein information in the structured application layer message that is not at locations indicated by the one or more XPath expressions and the one or more location identifiers is not extracted; wherein the method is performed by one or more processors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable volatile or non-volatile medium carrying one or more sequences of instructions for high-speed processing of structured application messages in a network device, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
receiving, from user specified input, a plurality of message classification requirements; wherein the message classification requirements specify rules used to classify a structured application layer message; wherein the message classification requirements include operations to be performed on a classified structured application layer message; identifying, in the message classification requirements at the network device, a reference to a classification portion of the structured application layer message that is used to classify the message, and to an operation portion of the structured application layer message that is used to perform the operations; determining one or more XPath expressions, based on the reference to the classification portion, that indicate the portion of the structured application layer message used to classify the message; determining one or more location identifiers, based on the reference to the operation portion, that indicate the portion of the structured application layer message used to perform the operations; receiving the structured application layer message at the network device; wherein the structured application layer message is formed from two or more Internet Protocol (IP) payloads of two or more IP packets; extracting, based on the one or more XPath expressions, an extracted portion of the message information needed to classify the structured application layer message; and wherein the extracted portion may be used to perform at least one operation on the application layer message; using only the extracted portion of the message information, classifying the structured application layer message according to the message classification requirements; performing the at least one operation on the classified message, further comprising only accessing information indicated by the one or more location identifiers; wherein information in the structured application layer message that is not at locations indicated by the one or more XPath expressions and the one or more location identifiers is not extracted. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An apparatus for high-speed processing of structured application messages, comprising:
-
one or more processors; a module for receiving, from user specified input, a plurality of message classification requirements; wherein the message classification requirements specify rules used to classify a structured application layer message; wherein the message classification requirements include operations to be performed on a classified structured application layer message; a module for identifying, in the message classification requirements at the network device, a reference to a classification portion of the structured application layer message that is used to classify the message, and to an operation portion of the structured application layer message that is used to perform the operations; a module for determining one or more XPath expressions, based on the reference to the classification portion, that indicate the portion of the structured application layer message used to classify the message; a module for determining one or more location identifiers, based on the reference to the operation portion, that indicate the portion of the structured application layer message used to perform the operations; a module for receiving the structured application layer message at the network device; wherein the structured application layer message is formed from two or more Internet Protocol (IP) payloads of two or more IP packets; a module for extracting, based on the one or more XPath expressions, an extracted portion of the message information needed to classify the structured application layer message; and wherein the extracted portion may be used to perform at least one operation on the application layer message; a module for classifying the structured application layer message according to the message classification requirements and using only the extracted portion of the message information a module for performing the at least one operation on the classified message, further comprising a module for only accessing information indicated by the one or more location identifiers; wherein information in the structured application layer message that is not at locations indicated by the one or more XPath expressions and the one or more location identifiers is not extracted. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. An apparatus for high-speed processing of structured application messages, comprising:
-
one or more processors; means for receiving, from a user, a plurality of message classification requirements; wherein the message classification requirements specify rules used to classify a structured application layer message; wherein the message classification requirements include operations to be performed on a classified structured application layer message; means for identifying, in the message classification requirements at the network device, a reference to a classification portion of the structured application layer message that is used to classify the message, and to an operation portion of the structured application layer message that is used to perform the operations; means for determining one or more XPath expressions, based on the reference to the classification portion, that indicate the portion of the structured application layer message used to classify the message; means for determining one or more location identifiers, based on the reference to the operation portion, that indicate the portion of the structured application layer message used to perform the operations; means for receiving the structured application layer message at the network device; and wherein the structured application layer message is formed from two or more Internet Protocol (IP) payloads of two or more IP packets; means for extracting, based on the one or more XPath expressions, a portion of the message information needed to classify the structured application layer message; and wherein the extracted portion may be used to perform at least one operation on the application layer message; means for classifying the structured application layer message according to the message classification requirements using only the extracted portion of the message information; means for performing the at least one operation on the classified message, further comprising means for only accessing information indicated by the one or more location identifiers; wherein information in the structured application layer message that is not at locations indicated by the one or more XPath expressions and the one or more location identifiers is not extracted. - View Dependent Claims (29, 30, 31, 32, 33, 34)
-
Specification