XML message validation in a network infrastructure element
First Claim
1. A data processing apparatus, comprising:
- a plurality of network interfaces that are coupled to a data network for receiving one or more packets therefrom and sending one or more packets thereto;
one or more processors;
a switching system coupled to the one or more processors and packet forwarding logic, wherein the switching system and packet forwarding logic are configured to receive packets on a first network interface, determine a second network interface on which to send the packets, and to send the packets on the second network interface;
logic which when executed by the one or more processors is operable to cause;
receiving and storing one or more validation scope rules that define a portion of an extensible markup language (XML) schema for validation;
receiving and storing the XML schema;
receiving over the network an application-layer message comprising one or more of the packets;
identifying a particular XML element in an XML payload of the application-layer message, wherein the particular XML element is within the portion of the XML schema defined in the one or more validation scope rules;
determining whether the particular XML element conforms to the XML schema; and
performing a responsive action based on whether the particular XML element conforms to the XML schema.
2 Assignments
0 Petitions
Accused Products
Abstract
A network infrastructure element such as a router or switch performs transparent and optimized validation of XML schemas of XML payloads received in the network element. The network element comprises logic for receiving and storing one or more validation scope rules that define a portion of an extensible markup language (XML) schema for validation; receiving and storing the XML schema; receiving over the network an application-layer message comprising one or more of the packets; identifying a particular XML element in an XML payload of the application-layer message, wherein the particular XML element is within the portion of the XML schema defined in the one or more validation scope rules; determining whether the particular XML element conforms to the XML schema; and performing a responsive action based on whether the particular XML element conforms to the XML schema.
219 Citations
44 Claims
-
1. A data processing apparatus, comprising:
-
a plurality of network interfaces that are coupled to a data network for receiving one or more packets therefrom and sending one or more packets thereto;
one or more processors;
a switching system coupled to the one or more processors and packet forwarding logic, wherein the switching system and packet forwarding logic are configured to receive packets on a first network interface, determine a second network interface on which to send the packets, and to send the packets on the second network interface;
logic which when executed by the one or more processors is operable to cause;
receiving and storing one or more validation scope rules that define a portion of an extensible markup language (XML) schema for validation;
receiving and storing the XML schema;
receiving over the network an application-layer message comprising one or more of the packets;
identifying a particular XML element in an XML payload of the application-layer message, wherein the particular XML element is within the portion of the XML schema defined in the one or more validation scope rules;
determining whether the particular XML element conforms to the XML schema; and
performing a responsive action based on whether the particular XML element conforms to the XML schema. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A data processing apparatus, comprising:
-
a plurality of network interfaces that are coupled to a data network for receiving one or more packets therefrom and sending one or more packets thereto;
one or more processors;
a switching system coupled to the one or more processors and packet forwarding logic, wherein the switching system and packet forwarding logic are configured to receive packets on a first network interface, determine a second network interface on which to send the packets, and to send the packets on the second network interface;
means for receiving and storing one or more validation scope rules that define a portion of an extensible markup language (XML) schema for validation;
means for receiving and storing the XML schema;
means for receiving over the network an application-layer message comprising one or more of the packets;
means for identifying a particular XML element in an XML payload of the application-layer message, wherein the particular XML element is within the portion of the XML schema defined in the one or more validation scope rules;
means for determining whether the particular XML element conforms to the XML schema; and
means for performing a responsive action based on whether the particular XML element conforms to the XML schema. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer-implemented method, comprising:
-
receiving, in a network infrastructure element comprising a plurality of network interfaces that are coupled to a data network for receiving one or more packets therefrom and sending one or more packets thereto, one or more processors, and a switching system coupled to the one or more processors and packet forwarding logic, wherein the switching system and packet forwarding logic are configured to receive packets on a first network interface, determine a second network interface on which to send the packets, and to send the packets on the second network interface, one or more validation scope rules that define a portion of an extensible markup language (XML) schema for validation;
receiving and storing the XML schema;
receiving over the network an application-layer message comprising one or more of the packets;
identifying a particular XML element in an XML payload of the application-layer message, wherein the particular XML element is within the portion of the XML schema defined in the one or more validation scope rules;
determining whether the particular XML element conforms to the XML schema; and
performing a responsive action based on whether the particular XML element conforms to the XML schema. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A computer-readable storage medium encoded with logic which when executed by one or more processors is operable to cause:
-
receiving, in a network infrastructure device comprising a plurality of network interfaces that are coupled to a data network for receiving one or more packets therefrom and sending one or more packets thereto, the one or more processors, and a switching system coupled to the one or more processors and packet forwarding logic, wherein the switching system and packet forwarding logic are configured to receive packets on a first network interface, determine a second network interface on which to send the packets, and to send the packets on the second network interface, one or more validation scope rules that define a portion of an extensible markup language (XML) schema for validation;
receiving and storing the XML schema;
receiving over the network an application-layer message comprising one or more of the packets;
identifying a particular XML element in an XML payload of the application-layer message, wherein the particular XML element is within the portion of the XML schema defined in the one or more validation scope rules;
determining whether the particular XML element conforms to the XML schema; and
performing a responsive action based on whether the particular XML element conforms to the XML schema. - View Dependent Claims (35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
Specification