Method apparatus, and computer readable medium for defining and encoding packets for data exchange over a network
AssigneeInfinera Corporation
InventorsMohit Misra, Prakash Singh Bisht, Ashwini Kumar Bhat
Life of this patent
Estimating the term…
Abstract
Systems, methods, and devices for encoding and decoding a packet buffer for data exchange over a communications network, including parsing a data container definition file to determine a packet format; generating a code file based on the data container definition file; inserting the code file into a source tree of an application; compiling the source tree to generate an executable file; and executing the executable on a computing device in communication with the communications network, wherein the executable file encodes and decodes the packet buffer for data exchange over the communications network.
Claims21
A method comprising:
- parsing a data container definition file to determine a packet format;
- generating a code file based on the data container definition file;
- inserting the code file into a source tree of an application;
- compiling the source tree to generate an executable file;
- executing the executable on a computing device in communication with a communications network, wherein the executable file encodes packets in the packet format and writes the packets into a packet buffer;
- determining a number of pad bytes to be stored in the packet buffer;
- storing the packets in the packet buffer such that a length of the packet buffer is aligned at a boundary to provide padding;
- and
- transmitting the packets from the packet buffer to the communications network for data exchange over the communications network.
A device comprising:
- processing circuitry;
- memory circuitry in communication with the processing circuitry;
- the processing circuitry configured to parse a data container definition file to determine a packet format;
- the processing circuitry further configured to generate a code file based on the data container definition file;
- the processing circuitry further configured to insert the code file into a source tree of an application;
- the processing circuitry further configured to compile the source tree to generate an executable file;
- the processing circuitry further configured to execute the executable file to encode packets in the packet format, write the packets into a packet buffer, and transmit the packets from the packet buffer to a communication network for data exchange over the communications network;
- the processing circuitry being configured to determine a number of pad bytes to be stored in the packet buffer;
- and
- storing the packets in the packet buffer such that a length of the packet buffer is aligned at a boundary to provide padding, the packets being stored in the packet buffer prior to said transmitting the packet.
A non-transitory computer readable medium having instructions stored thereon which when executed by processing circuitry causes the processing circuitry to execute a method comprising:
- parsing a data container definition file to determine a packet format;
- generating a code file based on the data container definition file;
- inserting the code file into a source tree of an application;
- compiling the source tree to generate an executable file;
- executing the executable on a computing device in communication with a communications network, wherein the executable file encodes packets in the packet format and writes the packets into a packet buffer;
- and
- determining a number of pad bytes to be stored in the packet buffer;
- storing the packets in the packet buffer such that a length of the packet buffer is aligned at a boundary to provide padding;
- and
- transmitting the packets from the packet buffer to a communications network for data exchange over the communications network.
Dependencies are inferred from the claim text.