System and method of using binary dynamic rest messages
First Claim
1. A communication device, comprising:
- a port configured to receive a plurality of data streams, wherein a data stream comprises an encoded binary header having a field that designates that a serialized binary message is located in a body of the data stream, the serialized binary message having one or more parameters for control of a connected device by the communication device,wherein the serialized binary message comprises a namespace for a plurality of parameters associated with the control of the connected device over a REST (Representational State Transfer) interface, and wherein one or more of the plurality of parameters are self-describing in that each self-describing parameter includes, in the serialized binary message,i) a message construct that comprises one or more control data values associated with the control of the connected device, andii) a metadata construct comprising one or more description values corresponding to a respective namespace of a given control data value;
a memory storing i) a first structural description of the encoded binary header and the serialized binary message and ii) a second structural description of the metadata construct; and
a processor configured, upon execution of instructions stored in the memory, to generate, from a received data stream, a given serialized binary message for control of a given connected device by the communication device, the given serialized binary message being generated by;
i) parsing the received data stream, using the first structural description, to determine that the field in the encoded binary header of the given received data stream designates the given serialized binary message being present in the body of the given received data stream, andii) in response to determining that the field, in the encoded binary header, designates the given serialized binary message being present in the body of the given received data stream, parsing a metadata construct of the given serialized binary message, using the second structural description, to determine one or more given control data values from a message construct of the given serialized binary message, the one or more given control data values being associated with the control of the given connected device.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method thereof of a communication device. The device includes a port configured to receive a plurality of binary data streams having a binary header and a binary body. The device includes a memory storing a first structural description of the binary header and the binary body and a second structural description of a metadata construct of the message. The device includes a processor configured to parse a received binary data stream using the first structural description to determine the binary header and the binary body. The processor parses the binary body using the second structural description to determine the one or more groups of description values forming the metadata construct where the processor uses a portion of the determined description values of the metadata construct to determine the one or more groups of data values of the message construct.
457 Citations
20 Claims
-
1. A communication device, comprising:
-
a port configured to receive a plurality of data streams, wherein a data stream comprises an encoded binary header having a field that designates that a serialized binary message is located in a body of the data stream, the serialized binary message having one or more parameters for control of a connected device by the communication device, wherein the serialized binary message comprises a namespace for a plurality of parameters associated with the control of the connected device over a REST (Representational State Transfer) interface, and wherein one or more of the plurality of parameters are self-describing in that each self-describing parameter includes, in the serialized binary message, i) a message construct that comprises one or more control data values associated with the control of the connected device, and ii) a metadata construct comprising one or more description values corresponding to a respective namespace of a given control data value; a memory storing i) a first structural description of the encoded binary header and the serialized binary message and ii) a second structural description of the metadata construct; and a processor configured, upon execution of instructions stored in the memory, to generate, from a received data stream, a given serialized binary message for control of a given connected device by the communication device, the given serialized binary message being generated by; i) parsing the received data stream, using the first structural description, to determine that the field in the encoded binary header of the given received data stream designates the given serialized binary message being present in the body of the given received data stream, and ii) in response to determining that the field, in the encoded binary header, designates the given serialized binary message being present in the body of the given received data stream, parsing a metadata construct of the given serialized binary message, using the second structural description, to determine one or more given control data values from a message construct of the given serialized binary message, the one or more given control data values being associated with the control of the given connected device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 14)
-
-
8. A computer-implemented method comprising:
-
storing, at a memory of a computing device, i) a first structural description of an encoded binary header and a serialized binary message, the first structural description defining a field in the encoded binary header that designates the serialized binary message is located in a body of a data stream associated with the encoded binary header, the serialized binary message having one or more parameters for control of a connected device by the computing device and ii) a second structural description of a metadata construct that comprises one or more description values corresponding to a namespace, over a REST interface, of the plurality of parameters associated with the control of the connected device wherein one or more of the plurality of parameters are self-describing in that each parameter includes, i) a message construct that comprises one or more control data values associated with the control of the connected device, and ii) the metadata construct comprising the one or more description values that corresponds to a respective namespace of a given control data value; and in response to receiving, at a port of the computing device, a plurality of data streams, parsing, via a processor of the computing device, using the first structural description, a given received data stream to determine that the field in the encoded binary header of the given received data stream designates a given serialized binary message being present in the body of the given received data stream; and in response to determining that the field designates the given serialized binary message being present in the body of the given received data stream, parsing, via the processor, using the second structural description, a metadata construct of the given serialized binary message to determine one or more given control data values from a message construct of the given serialized binary message, the one or more given control data values being associated with the control of a given connected device. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
15. 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:
-
store, at a memory of the computing device, i) a first structural description of an encoded binary header and a serialized binary message, the first structural description defining a field in the encoded binary header that designates the serialized binary message is located in a body of a data stream, the serialized binary message having one or more parameters for control of a connected device by the computing device and ii) a second structural description of a metadata construct that comprises one or more description values corresponding to a namespace, over a REST interface, of a plurality of parameters associated with the control of the connected device; in response to receiving, at a port of the computing device, a plurality of data streams, parse a given received data stream using the first structural description to determine that the field in the encoded binary header of the given received data stream designates a given serialized binary message being present in the body of the given received data stream; and in response to determining that the field designates the given serialized binary message being present in the body of the given received data stream, parse, using the second structural description, a metadata construct of the given serialized binary message to determine one or more given control data values from a message construct of the given serialized binary message, the one or more given control data values being associated with the control of a given connected device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification