Chunk-based communication of binary dynamic rest messages
First Claim
1. A An apparatus comprising:
- a communication port configured to receive a plurality of data streams each having a header comprising a field that indicates that the data stream is one of a plurality of data stream that collectively form a single serialized dynamic REST (Representative State Transfer) message, wherein the single serialized dynamic REST message comprises self-describing components that include a plurality of definition portions and a plurality of data portions, wherein each of the plurality of data portions include data values that correspond to each of the plurality of definition portions, and wherein each of the plurality of definition portions comprises a data structure that describes a data element selected from the group consisting of a name, an attribute, and a property of a respective data portion;
a processor coupled to the communication port; and
a memory having instructions stored thereon, wherein the instructions, when executed by the processor, cause the processor to;
establish a first buffer and a second buffer in the memory data stream;
upon receiving a first data stream via the communication port, interrogate a given header of the first data stream; and
in response to the given header having a value, in the multi-part field, that indicates that the data stream is a multiple-part serialized dynamic REST message, decode a payload of the first data stream buffered in the first buffer to produce a first decoded portion and store the first decoded portion in the second buffer, wherein decoding of the payload of the first data stream is initiated prior to a complete receipt of a second data stream, wherein the first data stream and the second data stream collectively include, in whole, or in part, the single serialized dynamic REST message.
3 Assignments
0 Petitions
Accused Products
Abstract
A communication engine and a method thereof of chunk-based communication of binary Dynamic REST messages. The communication engine includes a port to receive one or more data streams. The communication engine having a first buffer to store a received first data stream and a received second data stream. The communicate engine includes a second buffer to store portions of a decoded message. The communication engine includes a processor configured to decode the received data stream buffered within the first buffer to produce a given decoded portion. The processor storing the given decoded portion to the second buffer where the processor initiates decoding of the received first data stream buffered within the first buffer prior to a complete receipt of the received second data stream.
-
Citations
19 Claims
-
1. A An apparatus comprising:
-
a communication port configured to receive a plurality of data streams each having a header comprising a field that indicates that the data stream is one of a plurality of data stream that collectively form a single serialized dynamic REST (Representative State Transfer) message, wherein the single serialized dynamic REST message comprises self-describing components that include a plurality of definition portions and a plurality of data portions, wherein each of the plurality of data portions include data values that correspond to each of the plurality of definition portions, and wherein each of the plurality of definition portions comprises a data structure that describes a data element selected from the group consisting of a name, an attribute, and a property of a respective data portion; a processor coupled to the communication port; and a memory having instructions stored thereon, wherein the instructions, when executed by the processor, cause the processor to; establish a first buffer and a second buffer in the memory data stream; upon receiving a first data stream via the communication port, interrogate a given header of the first data stream; and in response to the given header having a value, in the multi-part field, that indicates that the data stream is a multiple-part serialized dynamic REST message, decode a payload of the first data stream buffered in the first buffer to produce a first decoded portion and store the first decoded portion in the second buffer, wherein decoding of the payload of the first data stream is initiated prior to a complete receipt of a second data stream, wherein the first data stream and the second data stream collectively include, in whole, or in part, the single serialized dynamic REST message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-implemented method comprising:
-
receiving, at a port of a computing device, a plurality of data streams each having a header comprising a field that indicates that the data stream is one of a plurality of data stream that collectively form a single serialized dynamic REST (Representative State Transfer) message, wherein the single serialized dynamic REST message comprises self-describing components that include a plurality of definition portions and a plurality of data portions, wherein each of the plurality of data portions include data values that correspond to each of the plurality of definition portions, and wherein each of the plurality of definition portions comprises a data structure that describes a data element selected from the group consisting of a name, an attribute, and a property of a respective data portion; establishing, a first buffer and a second buffer in a memory of the computing device; upon receiving a first data stream via the port, interrogating a given header of the first data stream; and in response to the given header having a value, in the multi-part field, that indicates that the data stream is a multiple-part serialized dynamic REST message, decoding, using a processor, a payload of the first data stream buffered in the first buffer to produce a first decoded portion and storing the first decoded portion in the second buffer, wherein decoding of the first data stream is initiated prior to a complete receipt of a second data stream, wherein the first data stream and the second data stream collectively include, in whole, or in part, the single serialized dynamic REST message. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable medium having instruction stored thereon, wherein the instructions, when executed by a processor of a computing device, cause the processor to:
-
receive, at a port of the computing device, a plurality of data streams each having a header comprising a field that indicates that the data stream is one of a plurality of data stream that collectively form a single serialized dynamic REST (Representative State Transfer) message, wherein the single serialized dynamic REST message comprises self-describing components that include a plurality of definition portions and a plurality of data portions, wherein each of the plurality of data portions include data values that correspond to each of the plurality of definition portions, and wherein each of the plurality of definition portions comprises a data structure that describes a data element selected from the group consisting of a name, an attribute, and a property of a respective data portion; establish a first buffer and a second buffer of the computing device; upon receiving a first data stream via the port, interrogating a given header of the first data stream; and in response to the given header having a value, in the multi-part field, that indicates that the data stream is a multiple-part serialized dynamic REST message, decode a payload of the first data stream buffered in the first buffer to produce a first decoded portion and storing the first decoded portion in the second buffer, wherein decoding of the first data stream is initiated prior to a complete receipt of a second data stream, wherein the first data stream and the second data stream collectively include, in whole, or in part, the single serialized dynamic REST message.
-
Specification