Method and apparatus for automatic generation of programs for processing data units of multiple formats
First Claim
1. A method for automatic program generation, comprising:
- receiving at least one input format descriptor, wherein said input format descriptor describes a data unit format of a first communication protocol, wherein said input format descriptor corresponds to at least one layer in a predetermined communications protocol stack;
receiving at least one output format descriptor, wherein said output format descriptor describes a data unit format of a second communication protocol, wherein said output format descriptor also corresponds to said at least one layer in said predetermined communications protocol stack; and
generating a program for converting an input data sequence corresponding to said at least one input format descriptor to an output data sequence corresponding to said at least one output format descriptor, and executing said program responsive to an input data stream conforming to said first communication protocol, and wherein at least a portion of said input data stream corresponds to said input data sequence.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for automatic program generation which receives a number of input format descriptors and a number of output format descriptors. The system generates a program for converting an input data sequence having a format described by input format descriptors to an output data sequence having a format described by the output format descriptors. The program may then be executed responsive to an input data stream, wherein a portion of the input data stream corresponds to the input data sequence. The input data sequence and output data sequence consist of a number of data type indicators. In an exemplary embodiment, the input data type indicators correspond to fields of data units received by a forwarding device, and the output data type indicators correspond to fields of corresponding data units forwarded by the forwarding device. In the exemplary embodiment, the generated program is executed on a hardware processor to convert a data unit received on a communication link over a information flow to an output data unit for transmission on a second communication link. The initial data unit of the information flow triggers generation and loading of the program while the forwarding device is up and running.
76 Citations
18 Claims
-
1. A method for automatic program generation, comprising:
-
receiving at least one input format descriptor, wherein said input format descriptor describes a data unit format of a first communication protocol, wherein said input format descriptor corresponds to at least one layer in a predetermined communications protocol stack;
receiving at least one output format descriptor, wherein said output format descriptor describes a data unit format of a second communication protocol, wherein said output format descriptor also corresponds to said at least one layer in said predetermined communications protocol stack; and
generating a program for converting an input data sequence corresponding to said at least one input format descriptor to an output data sequence corresponding to said at least one output format descriptor, and executing said program responsive to an input data stream conforming to said first communication protocol, and wherein at least a portion of said input data stream corresponds to said input data sequence. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification