Chunk-based communication of binary dynamic rest messages

Information

  • Patent Grant
  • 9462085
  • Patent Number
    9,462,085
  • Date Filed
    Friday, March 21, 2014
    10 years ago
  • Date Issued
    Tuesday, October 4, 2016
    8 years ago
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.
Description
FIELD OF THE INVENTION

This invention generally relates to machine-to-machine communication. More particularly, in certain embodiment, the invention relates to chunk-based communication of binary Dynamic REST messages.


BACKGROUND

The business of building a connected world, also referred to as the Internet of Things, is rapidly growing. Some industry analysts have estimated that the number of connected devices and systems (in an industrial, consumer, government, and business setting) may rise from five billion devices to a trillion devices over the next ten years. A substantial portion of that growth will be devices and systems using wireless communication, such as over cellular networks.


Common challenges in the controls and management of such connected devices include scalability and operability, not only within a particular vendor's own platform, but among the various platforms being offered by different vendors. One particular intersection of these challenges is the communication protocol used in the controls and management of such devices. These protocols define how devices talk among each other, what they say, when they say it, and who they say it to. Another intersection of these challenges is the architecture defining the organization of these devices.


To promote inter/intra-operability, a flexible protocol is desired. A popular communication protocol and architecture is the Hypertext Transfer Protocol-based (HTTP) REpresentational State Transfer (REST) application programming interface (API), also referred to as “HTTP RESTful API.” REST is a style of software architecture for distributed systems that may employ a standardized interface, such as HTTP. An application conforming to the REST constraints may be described as “RESTful”.


In some implementations, HTTP RESTful API may use open standard formats. Two popular open standard formats include JavaScript Object Notation (“JSON”) and Extensive Markup Language (“XML”) data formatting. Both formats employ human-readable text to transmit data objects and, thus, provide a flexible and open scheme for communication. The trade-off for such open standard formats is verbosity.


HTTP is the foundation of data communication for the World Wide Web (commonly referred to as the “Web”), which is a system of interlinked hypertext documents accessible via the Internet. The Internet collectively describes an interconnected network of computers and networks. Although HTTP is not restrictive as a communication protocol, the usage of HTTP has been limited to unidirectional communication due to traffic routing devices and security devices, such as firewalls and Network Address Translation, employed with a computing and network infrastructure often employ security mechanisms.


HTTP polling is a typical technique used to overcome the unidirectional nature of HTTP across such Internet infrastructure. The technique provides firewall transparency and two-way communication, but at a tradeoff of high reply-message latency responsiveness, high bandwidth consumption, and high server utilization.


SUMMARY

In general overview, a vast number of computing devices connects to a computing platform that services data and information for the computing devices. This disclosure describes the usage of persistent connections, such as provided by WebSocket API protocols, to provide a low latency bidirectional connection between two nodes in a network.


To promote inter/intra-operability while reducing bandwidth usage over this connection, a messaging protocol is employed to serialized the binary data of messages constructed from data- and informational-models that are understood by the computing application operating at both the ends of the transmission node. For example, in some implementations, this protocol uses a binary representation of message- and metadata-constructs of existing dynamic REST API protocols. The protocol, in some implementations, is easily convertible to and from open standard formats, such as JavaScript Object Notation (JSON).


To promote ease of use of the protocol, the protocol may employ a similar request/response construct as HTTP, though in binary format. Layered on to of this is a RESTful style architecture that supports the reading/writing of data, executing remote procedures (services), event transport, and extended functionality such as file transfer and application tunneling.


To facilitate the transmission of large messages using a small fixed memory usage of each connection, the protocol chunks the message and reassembles them at the application level rather than at the transport level.


To reduce the memory requirement for the protocol, in some implementations, the protocol encodes a first portion set of a message with binary representations using symbols from a codebook library. In some implementations, the binary representation includes byte enumerations. The protocol may convert a second portion set of the message using standard data formats that are native to a given computing device. Examples of such standard data formats may include the Unicode characters, such as UTF-8.


In one aspect, the present disclosure describes a communication device including a port configured to receive binary data streams representing messages. Each of the data stream may include a binary header and a binary body. The binary body may have a metadata construct and a message construct in which the message construct includes one or more groups of data values. The metadata construct may include one or more groups of description values corresponding to a given data value of the one or more data values forming the message construct.


In some implementations, the communication device includes a memory that stores a first structural description of binary header and a binary body. The memory may also store a second structural description of the metadata construct. The binary header may be unencrypted where the binary body is encrypted.


In some implementations, the communication device may include a processor. The processor may parse a received binary data stream to reproduce a received message. The processor may parse the received binary data stream using the first structural description to determine the binary header and the binary body. The processor may parse the binary body using the second structural description to determine the one or more groups of description values forming the metadata construct. The processor may use 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.


In some implementations, each of the one or more data values of the message construct and each of the one or more description value of the metadata construct may be delineated by a binary marker. The binary marker may be a single byte long. The binary marker may include a first value to define each beginning of a data value set or a description value set and a second value to define an end of each of the metadata construct and the message construct. The entire message construct may be delimited only with the binary marker.


In some implementations, each of the one or more groups of description values may form the metadata construct having a data-value name descriptor, a data-value description-descriptor, and a data value type-descriptor. The groups of description value, collectively, may form a definition for each of the data-value in the message construct. The metadata construct may precede the message construct in forming the binary body.


In some implementations, a portion of the metadata construct and a portion of the message construct correspond to a set of characters defined by a universal standard code.


In some implementations, the binary header is unencrypted, and the binary body is encrypted.


In one aspect, the present disclosure describes a method of using binary Dynamic REST message. The method may include storing, at a memory, a first structural description of the binary header and the binary body and a second structural description of the metadata construct where the metadata construct comprises one or more groups of description values corresponding to a given data value of the one or more data values forming the message construct. Each of the one or more data values of the message construct and each of the one or more description value of the metadata construct may be delineated by a binary marker.


In some implementations, the method may include receiving, at a port, a plurality of binary data streams representing a plurality of messages. The binary data streams may be received via Web sockets.


In some implementations, the method may include parsing, using a processor, each of the received binary data streams using the first structural description to determine the binary header and the binary body. The binary header is unencrypted, and the binary body is encrypted.


In some implementations, the method may include parsing, using the processor, the parsed 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. The metadata construct may include a data-value name descriptor, a data-value description-descriptor, and a data value type-descriptor.


descriptor. The metadata construct may precede the message construct in forming the binary body. A portion of the metadata construct and a portion of the message construct may correspond to a set of characters defined by a universal standard code.


In one aspect, the present disclosure describes a non-transitory computer readable medium having instructions stored thereon, where the instructions, when executed by a processor, cause the processor to store, at a memory, a first structural description of the binary header and the binary body and a second structural description of the metadata construct where the metadata construct comprises one or more groups of description values corresponding to a given data value of the one or more data values forming the message construct. Each of the one or more data values of the message construct and each of the one or more description value of the metadata construct may be delineated by a binary marker.


In some implementations, the instructions, when executed, further cause the processor to receive, at a port, a plurality of binary data streams representing a plurality of messages. The binary data streams may be received via Web sockets.


In some implementations, the instructions, when executed, further cause the processor to parse, using a processor, each of the received binary data streams using the first structural description to determine the binary header and the binary body. The binary header is unencrypted, and the binary body is encrypted.


In some implementations, the instructions, when executed, further cause the processor to parse, using the processor, the parsed 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. The metadata construct may include a data-value name descriptor, a data-value description-descriptor, and a data value type-descriptor. The metadata construct may precede the message construct in forming the binary body. A portion of the metadata construct and a portion of the message construct may correspond to a set of characters defined by a universal standard code.


In one aspects, the present disclosure describes a communication device having a memory for storing a structural description of a message defined by a self-describing schema, where the structural description describes a structure interspersed by both one or more label elements and one or more punctuation elements among the data objects to describe a given message. The memory further stores a codebook having a set of binary symbols corresponding to the binary representations. The communication device may include a processor configured to generate a binary data stream to transmit to another computer device via a communication port. The processor may generate the binary data stream from a received message defined by the self-describing schema in which the received message may include one or more data objects delimited by one or more both label elements and one or more punctuation elements. The processor may parse the received message for one or more data objects according to the stored structural description. The processor may serially map each of the elements of a parsed data objects to a binary symbol defined in the codebook to produce a binary data stream where, when serially mapping each of the elements of the parsed data objects, the processor does not map the one or more label elements and one or more punctuation elements interspersed among the data objects in to the binary data stream.


In another aspect, the present disclosure describes a communication device including a port configured to transmit and receive a data stream via a persistent stateless connection. the persistent stateless connection may be over a web-socket connection.


In some implementations, the communication device may include a memory storing a dynamic REST API model.


In some implementations, the communication device may include a processor configured to connect to a second communication device over the persistent stateless connection. The processor formats a request message with the stored dynamic REST API model to produce a self-describing request message. The dynamic REST API model may include a data model that includes a data object, an event object, a service object, a property object, and an attribute object. The processor causes the self-describing request message to be transmitted over the port. The port may be a HTTP or HTTPS port having a value of 80 or 443. The self-describing request message may be presented in at least one of a JavaScript Object Notation (JSON) object and an Extensible Markup Language (XML) object. The self-describing request message may be formatted in a binary format. The self-describing request message may be encrypted.


In another aspect, the present disclosure describes a method of using dynamic REST messages with Web sockets. The method may include storing, at a memory of a device, a binary dynamic REST API model.


In some implementations, the method may include formatting, via a processor at the device, a request message using the binary dynamic REST API model to produce a self-describing request message.


In some implementations, the method may include transmitting, via a port of the device, the request message over a persistent state connection. The dynamic REST API model may include a data model that includes a data object, an event object, a service object, a property object, and an attribute object. The processor causes the self-describing request message to be transmitted over the port. The port may be a HTTP or HTTPS port having a value of 80 or 443. The self-describing request message may be presented in at least one of a JavaScript Object Notation (JSON) object and an Extensible Markup Language (XML) object. The self-describing request message may be formatted in a binary format. The self-describing request message may be encrypted.


In another aspect, the present disclosure describes a non-transitory computer readable medium having instructions stored thereon, where the instructions, when executed by a processor, cause the processor to store, at a memory of a device, a binary dynamic REST API model.


In some implementations, the instructions, when executed, further cause the processor to format, via a processor at the device, a request message using the binary dynamic REST API model to produce a self-describing request message.


In some implementations, the instructions, when executed, further cause the processor to transmit, via a port of the device, the request message over a persistent state connection. The dynamic REST API model may include a data model that includes a data object, an event object, a service object, a property object, and an attribute object. The processor causes the self-describing request message to be transmitted over the port. The port may be a HTTP or HTTPS port having a value of 80 or 443. The self-describing request message may be presented in at least one of a JavaScript Object Notation (JSON) object and an Extensible Markup Language (XML) object. The self-describing request message may be formatted in a binary format. The self-describing request message may be encrypted.


In yet another aspect, the present disclosure describes a method of abstracting a communication protocol using self-describing message. The method may include providing a first communication protocol and a second communication protocol in a memory of a device where the first communication protocol includes a number of control codes and binary messages having a self-describing schema. The self-describing schema may be of a data object model wherein instances of the second communication protocol are associatively mapped to the instances of the first communication protocol. The associative mapping between the first communication protocol and the second communication protocol may be stored in persistent memory.


In some implementations, the associative mapping of the control codes may be based on a HTML framework.


In some implementations, the associate mapping of the data message may be based on a service request selected from a group consisting of a GET request, a PUT request, a POST request, and a DELETE request.


The wireless connection may include a network selected from a group consisting of Zigbee, Bluetooth, WiMax, Wi-Fi, GSM, PCS, and D-AMPS, IEC, 6LoWPAN, Ant, DASH7, EnOcean, INSTEON, NeuRF ON, Senceive, WirelessHART, Contiki, TinyOS, GPRS, TCP/IP, CoAP, MQTT, TR-50, OMA LW M2M, ETSI M2M. The data object model may be structured in a dynamic REST API object model.


In some implementations, the method may include receiving, at a port of a computing device, a first instantiation of a message in the second communication protocol. The message may be received via a wireless connection.


In some implementations, the method may include classifying, by a processor of the computing device, the first instantiation of the message as being either a control message or a data messages.


In some implementations, the method may include translating, by a processor of the computing device, the first instantiation of the message to produce a second instantiation of the message where upon the message having been classified as a control message, the processor maps the control message to one or more control codes of the plurality of control codes and where upon the message having been classified as a data message, the processor maps the data message to a corresponding binary message having the self-describing schema.


In some implementations, the method may include transmitting, at the port of the computing device, the second instantiation of the message. The first communication device may transmit the second instantiation of the message to the platform server over a web-socket connection.


In yet another aspect, the present disclosure describes a system including a processor and a memory, the memory storing instruction that, when executed by the processor, cause the processor to provide a first communication protocol and a second communication protocol in a memory of a device where the first communication protocol includes a number of control codes and binary messages having a self-describing schema. The self-describing schema may be of a data object model wherein instances of the second communication protocol are associatively mapped to the instances of the first communication protocol. The associative mapping between the first communication protocol and the second communication protocol may be stored in persistent memory.


In some implementations, the wireless connection may include a network selected from a group consisting of Zigbee, Bluetooth, WiMax, Wi-Fi, GSM, PCS, and D-AMPS, IEC, 6LoWPAN, Ant, DASH7, EnOcean, INSTEON, NeuRF ON, Senceive, WirelessHART, Contiki, TinyOS, GPRS, TCP/IP, CoAP, MQTT, TR-50, OMA LW M2M, ETSI M2M. The data object model may be structured in a dynamic REST API object model.


In some implementations, the associative mapping of the control codes may be based on a HTML framework. In some implementations, the associate mapping of the data message may be based on a service request selected from a group consisting of a GET request, a PUT request, a POST request, and a DELETE request.


In some implementations, the instructions, when executed, further cause the processor to receive, at a port of a computing device, a first instantiation of a message in the second communication protocol. The message may be received via a wireless connection.


In some implementations, the instructions, when executed, further cause the processor to classify the first instantiation of the message as being either a control message or a data messages.


In some implementations, the instructions, when executed, further cause the processor to translate the first instantiation of the message to produce a second instantiation of the message where upon the message having been classified as a control message, the processor maps the control message to one or more control codes of the plurality of control codes and where upon the message having been classified as a data message, the processor maps the data message to a corresponding binary message having the self-describing schema.


In some implementations, the method may include transmitting, at the port of the computing device, the second instantiation of the message. The first communication device may transmit the second instantiation of the message to the platform server over a web-socket connection.


In yet another aspect, the present disclosure describes a non-transitory computer readable medium having instructions stored thereon, where the instructions, when executed by a processor, cause the processor to provide a first communication protocol and a second communication protocol in a memory of a device where the first communication protocol may include a number of control codes and binary messages having a self-describing schema. The self-describing schema may be of a data object model wherein instances of the second communication protocol are associatively mapped to the instances of the first communication protocol. The associative mapping between the first communication protocol and the second communication protocol may be stored in persistent memory.


In some implementations, the wireless connection may include a network selected from a group consisting of Zigbee, Bluetooth, WiMax, Wi-Fi, GSM, PCS, and D-AMPS, IEC, 6LoWPAN, Ant, DASH7, EnOcean, INSTEON, NeuRF ON, Senceive, WirelessHART, Contiki, TinyOS, GPRS, TCP/IP, CoAP, MQTT, TR-50, OMA LW M2M, ETSI M2M. The data object model may be structured in a dynamic REST API object model.


In some implementations, the associative mapping of the control codes may be based on a HTML framework. In some implementations, the associate mapping of the data message may be based on a service request selected from a group consisting of a GET request, a PUT request, a POST request, and a DELETE request.


In some implementations, the instructions, when executed, further cause the processor to receive, at a port of a computing device, a first instantiation of a message in the second communication protocol. The message may be received via a wireless connection.


In some implementations, the instructions, when executed, further cause the processor to classify the first instantiation of the message as being either a control message or a data messages.


In some implementations, the instructions, when executed, further cause the processor to translate the first instantiation of the message to produce a second instantiation of the message where upon the message having been classified as a control message, the processor maps the control message to one or more control codes of the plurality of control codes and where upon the message having been classified as a data message, the processor maps the data message to a corresponding binary message having the self-describing schema.


In some implementations, the method may include transmitting, at the port of the computing device, the second instantiation of the message. The first communication device may transmit the second instantiation of the message to the platform server over a web-socket connection.


In further yet another aspect, the present disclosure describes a communication engine including a communication port configured to receive one or more data streams, including a first data stream and a second data stream, wherein the data stream comprises a binary dynamic REST messages. The data stream may include one or more data fields where each of the data fields include a field value and a length identifier of the field value, the length identifier preceding a corresponding field value in each of the data fields. The communication port may receive the one or more input data stream over a web-socket connection. The message may include a data object having an event object, a service object, a property object, and an attribute object. Each of the one or more input data streams may include an identifier of a number of one or more data streams that form a given complete executable message. Each of the one or more data streams may include a message number identifier that indicate a location of a given decoded data stream within the complete executable message. Each of the one or more data streams may form a portion of a complete executable message.


In some implementations, the communication engine may include a first buffer to store a received first data stream and a received second data stream.


In some implementations, the communication engine may include a second buffer to store portions of a decoded message.


In some implementations, the communication engine may include a processor configured to decode the received data stream buffered within the first buffer to produce a given decoded portion. The processor may store 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.


In some implementations, the communication engine may include a second buffer to store decoded portions of the one or more data streams having been buffered in the first buffer where the processor transmits a signal when the second buffer comprises each of the one or more data streams forming a given complete executable message.


In some implementations, the communication engine may include a decryption engine to decode an encrypted portion of the input data streams, which is encrypted.


In further yet another aspect, the present disclosure describes a method of using chunk-based communication of binary Dynamic REST message. The method may include receiving, at a port, one or more data streams, including a first data stream and a second data stream. The data stream may include one or more data fields where each of the data fields include a field value and a length identifier of the field value, the length identifier preceding a corresponding field value in each of the data fields. The communication port may receive the one or more input data stream over a web-socket connection. The message may include a data object having an event object, a service object, a property object, and an attribute object. Each of the one or more input data streams may include an identifier of a number of one or more data streams that form a given complete executable message. Each of the one or more data streams may include a message number identifier that indicate a location of a given decoded data stream within the complete executable message. Each of the one or more data streams may form a portion of a complete executable message.


In some implementations, the method may include storing, at a first buffer, a received first data stream and a received second data stream.


In some implementations, the method may include storing, at a second buffer, portions of a decoded message.


In some implementations, the method may include decoding, using a processor, the received data stream buffered within the first buffer to produce a given decoded portion. 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.


In further yet another aspect, the present disclosure describes a non-transitory computer readable medium having instructions stored thereon, where the instructions, when executed by a processor, cause the processor to receive, at a port, one or more data streams, including a first data stream and a second data stream. The data stream may include one or more data fields where each of the data fields include a field value and a length identifier of the field value, the length identifier preceding a corresponding field value in each of the data fields. The communication port may receive the one or more input data stream over a web-socket connection. The message may include a data object having an event object, a service object, a property object, and an attribute object. Each of the one or more input data streams may include an identifier of a number of one or more data streams that form a given complete executable message. Each of the one or more data streams may include a message number identifier that indicate a location of a given decoded data stream within the complete executable message. Each of the one or more data streams may form a portion of a complete executable message.


In some implementations, the instructions, when executed, further cause the processor to store, at a first buffer, a received first data stream and a received second data stream.


In some implementations, the instructions, when executed, further cause the processor to store, at a second buffer, portions of a decoded message.


In some implementations, the instructions, when executed, further cause the processor to decode, using a processor, the received data stream buffered within the first buffer to produce a given decoded portion. 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.





BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, aspects, features, and advantages of the present disclosure will become more apparent and better understood by referring to the following description taken in conjunction with the accompanying drawings, in which:



FIG. 1 is a block diagram of an example system for enabling communication between a platform server and a plurality of computing devices in accordance with an embodiment of the invention.



FIG. 2 is a block diagram of an example communication channel for transmitting and receiving messages formatted according to an API protocol in accordance with an embodiment of the invention.



FIG. 3A is a block diagram of the API protocol library in accordance with an embodiment of the invention.



FIG. 3B shows an example structure of message output of the binary Dynamic REST API component in accordance with an embodiment of the invention.



FIG. 3C shows an example HTTP REST API codes utilized by the API protocol library in accordance with an embodiment of the invention.



FIG. 3D shows an example structure of a message header utilized by the API protocol library in accordance with an embodiment of the invention.



FIG. 3E is an example codebook of the API protocol library in accordance with an embodiment of the invention.



FIGS. 3F-3G show example structures of multi-part headers utilized by the API protocol library in accordance with an embodiment of the invention.



FIG. 3H shows an example structure of an authentication body utilized by the API protocol library in accordance with an embodiment of the invention.



FIG. 3I shows an example structure of an binding and unbinding message body utilized by the API protocol library in accordance with an embodiment of the invention.



FIG. 4 is a block diagram of an example message transmission and reception using the API protocol library in accordance with an embodiment of the invention.



FIG. 5 is a block diagram of an example of a message transmission and reception using the API protocol library in accordance with an alternative embodiment of the invention.



FIG. 6A illustrates an example encoded message generated by the binary dynamic REST API in accordance with an embodiment of the invention.



FIG. 6B illustrates the example REST message in a JavaScript Object Notation format.



FIGS. 7A-7C illustrate an example method of generating a serialized binary Dynamic REST API message in accordance with an embodiment of the invention.



FIG. 8 illustrates an example method of partitioning an encoded message in accordance with an embodiment of the invention.



FIG. 9 is a flowchart of an example method of reassembling a message in accordance with an embodiment of the invention.



FIG. 10 is a block diagram of an example computing device running a client-application that is executing a software development kit (SDK) using the API protocol library in accordance with an embodiment of the invention.



FIG. 11 is a block diagram of an example method of wrapping third party protocols using the API protocol library in accordance with an embodiment of the invention.



FIG. 12 is a flowchart of an example method for parsing a self-describing message in accordance with an embodiment of the invention.



FIG. 13 is a flowchart of an example method of using Web Socket to transmit Dynamic REST messages in accordance with an embodiment of the invention.



FIG. 14 is a flowchart of an example method of communication with a third party protocol in accordance with an embodiment of the invention.



FIG. 15 is a flowchart of an example method of communication using chunked messages in accordance with an embodiment of the invention.



FIG. 16 is a block diagram of a computing device and a mobile computing device.





The features and advantages of the present disclosure will become more apparent from the detailed description set forth below when taken in conjunction with the drawings, in which like reference characters identify corresponding elements throughout. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements.


DETAILED DESCRIPTION


FIG. 1 is a block diagram of an example system 100 for enabling communication between a platform server 102 and a plurality of computing devices 104 in accordance with an embodiment of the invention. Each of the computing devices 104 connects to an edge server 106 that services and maintains communication with a group of computing devices 108.


A computing device 104, in some examples, is an electronic device that can communicate properties-, services-, and events-data and information relating a physical assets/devices, computer applications and systems, people, data objects, and platform services. In some implementations, the computing device 104 is a sensor or a machinery at an industrial complex; a computer or an office equipment at a business or government office; a point-of-sale machine at a market place or a vending machine; a construction equipment or a vehicle; a power generation or distribution equipment; a power substation or a transmission equipment; a building meter; a server; a networking or routing equipment; a smart appliance; an exercise machine; a medical device or a prosthesis device; a medical diagnostic device or a hospital equipment; a commercial vehicle or a transport container; a motor vehicle or an electric bicycle; a cellphone, a laptop, a tablet, an electronic reader; or a clothing electronic-tag.


While serving data and information for sets of computing devices 104, one or more edge servers 106 communicate to an intermediary server, referred to as an API server 110 (or “connection server 110”). In some implementation, the communication exchange occurs across a network infrastructure 112, such as the Internet 112a, a Wide-area network 112b, or a third-party network 112c. In turn, one or more API servers 110 communicate to the platform server 102. The platform server 102, the API servers 110, and the edge servers 106, collectively, form a distributed computing environment for serving data and information of the computing devices 104. In some implementations, a given API server 110 communicates to a set of edge servers 106 through a set of network security equipment 114 that secures the API server 110 and the platform server 102 from the network infrastructure 112 and that secures the groups of edge servers 106 and computing devices 104. For example, the network security equipment 114 may run a firewall or Network Address Translation (NAT) protocol.



FIG. 2 is a block diagram of an example communication channel 200 for transmitting and receiving messages 202 formatted according to an API protocol in accordance with an embodiment of the invention. The persistent communication channels 200 generally refer to persistent connections, such as the first persistent connection 103 and the second persistent connection 105, as described in relation to FIG. 1.


The platform server 102 runs a server-client application having an API protocol library 204 defining the API protocol. The edge server 106 runs a server-client application having the same API protocol library 204. To this end, messages being communicated between the platform server 102 and the edge servers 106 share, for the most part, the same structure. In some implementations, the same API protocol is employed among all of the components within the distributed computing environment.


This symmetry is intended to reduce the complexity of operation of the connection server 110 as the connection server 110 can service each communicated message in the same manner without much regard to the source or target.


The API protocol library 204 operates with a number of server-client application functions that dynamically generates application interfaces for servicing data and information. In some implementation, the application interface is based on a Dynamic REST API that generates binary message. In other implementations, the interface is based on JavaScript Object Notation (“JSON”) or Extensive Markup Language (“XML”) data formatting. Examples of usage of Dynamic REST APIs in a model-based development application is described in U.S. patent application Ser. No. 13/678,885, titled “METHODS FOR DYNAMICALLY GENERATING APPLICATION INTERFACES FOR MODELED ENTITIES AND DEVICES THEREOF,” filed Nov. 16, 2012. The application is incorporated by reference in its entirety.



FIG. 3A is a block diagram of the API protocol library 204 in accordance with an embodiment of the invention. The API protocol library 204 includes a binary Dynamic-REST API component 302 and a fixed-HTTP REST API component 304.


The Dynamic REST API 302 employs a model-based schema to describe data and information in which the inputs and outputs of the schema is expressed in a self-describing textual data format, such as JSON or XML. The application interface is “dynamic” in that data and information are represented in an evolving and modify-able framework. Specifically, the application interface employs a series of characteristic definitions to describe types of information relating to a given entity, such as a physical asset/device, a computer application/system, a person, a data object, or a platform service.


In some implementations, the binary Dynamic REST API component 302 outputs serialized binary data representing data- and informational-models.


In some implementations, these characteristic definitions include a “property” definition 303a, a “service” definition 303b, an “event” definition 303c and an “attribute” definition 303d. Each of these characteristic definitions serves as an elementary building block in describing a model of the entity and is expressed as an abstract class that can inherit one or more classes, abstract classes, and data structures. The characteristic definitions are organized, collectively, in a template class with other characteristic definitions. To this end, a developer of applications to service data and information of a computing device may model an entity (also referred to as a “Thing”) that represents a physical-world equivalent containing the complete set of data, services, events, historical activities, collaboration, relationships that define a Thing and its place in the organizational landscape.


In some implementations, a “Thing” is defined as an instance of a “Thing Template.” A “Thing Template” is also an abstract class that can inherit from one or more “Thing Shapes.” Properties, services, and events can be defined at the “Thing Shape”, “Thing Template” or “Thing instance.” If a “Thing Template” inherits from one or more “Thing Shapes”, all of the properties, events, and services of the “Thing Shapes” are a part of the “Thing Template.” When a “Thing instance” is created from a “Thing Template”, all of the properties, events, and services of the “Thing Template” are realized within the “Thing instance.”


In some implementations, data objects may be represented as “InfoTables” and “Streams.” “InfoTables” and “Streams” may be beneficially described and defined by “DataShapes 305,” which are reusable, abstract data object definitions. An “InfoTable” is similar to a relational database table, which represents a two dimensional data object (having columns and rows). A “Stream” is designed to capture time series data. Time series data is the data that is most often found as part of the communication flow for devices and machines. “Streams” and “InfoTables” also have services and events.


All of the entities can, based on authorizations, subscribe to any other entities events and can consume other entity services. When an entity is defined, it is immediately discoverable through a standard Representational State Transfer (REST) interface over HTTP or HTTPS. Therefore, the complete model namespace is available over a dynamic REST interface. Whatever a user defines the model to be appears as a REST interface. The REST interface for the model also includes a full description of the properties, services, and events for each entity. A service is a simple or complex function provided on a server, which is accessible to a State Representational State Transfer (REST) interface. A service has inputs, processing, and outputs. An event is a simple or complex change of data and/or status of an entity. An event has a well-defined complex data output that is sent to each event subscriber when the event is detected.


The dynamic REST interface is based on an inheritance or object oriented model. If a new service, property, or capability is defined at the “Thing Shape” or “Thing Template” level, each “Thing” instance that is derived from those entities immediately inherits that service, property or capability. The Dynamic REST API 302 employs this dynamic REST interface.


The REST interface for the namespace describes how to consume services for each entity in the model. As soon as a new “Thing” is defined in the model, the full set of services and data for the “Thing” is available as a set of REST interfaces.



FIG. 3B shows an example structure of message output of the binary Dynamic REST API component 302 in accordance with an embodiment of the invention.


A message generated from the binary Dynamic REST API may include a metadata construct and a message construct. The metadata construct describes a given structure of the message construct. Collectively, in some implementations, the metadata construct 306 and a message construct 308 forms a message body 307.


The message construct may include the actual data sets that a server-client application intends to transmit. In some implementations, these data sets are referred to as “Row Data 308”. The datasets may include one or more data values 310. The metadata construct 306 may include one or more description sets 312 corresponding to a given data value forming the data set. The description sets 312 may include one or more description values 314. In some implementations, the metadata construct 306 is referred to as a “Datashape 306” where each of the description sets 312 forms a given field definition of the Datashape. Examples of field definitions may include a name, description, type, and aspects. These definitions describe a given data 316 in the Row Data 310.


In some implementations, the message generated from the binary Dynamic REST API preferably includes a first type of binary markers 318 to delineate each of the data sets 310 and each of the description sets 312. These binary markers 318 may mark the beginning of the data sets and the description sets. Additionally, each of the metadata construct and the message construct may include a second binary marker 320 to mark the end of the metadata construct 306 and the message construct 308.


In some implementation, each of the data sets 310 and the description sets 312 may include a data expressed as character strings 322, numbers 324, and enumerations 326. Character strings are text data. Numbers may include floating and fixed point numbers. Enumeration generally includes data types. Each character strings 322 may include a length-description field preceding the actual string value to provide a forward descriptor of the content. To this end, a given character string 322 in encoded form may be parsed without the complete character string 322 being available. To this end, groups of unknown data may include a count field 328 to identifier the number of such data to follow.


To reduce the memory requirement for the protocol, in some implementations, the protocol encodes a first portion set of a message using binary representations defined as symbols stored in a codebook library. In some implementations, the binary representation includes byte enumerations.


The protocol may convert a second portion set of the message using standard data formats that are native to a given computing device. Examples of such standard data formats may include the Unicode characters, such as UTF-8.


The message may be formatted as a binary string optimized for transmission using a WebSocket protocol.


Turning back to FIG. 3A, the HTTP REST API 304 may include messaging-type definition codes 330 and status codes 332 derived from the HTTP framework as defined the Hypertext Transfer Protocol application protocol version 1.1 (commonly referred to as “HTTP/1.1” or “HTTP”) and published in IETF/W3C RFC 2616. The HTTP REST API codes are provided in FIG. 3C. Examples of status codes 332 include success code 332a, client error codes 332b, and server error codes 332c. Examples of messaging-type definition codes 330 include those related to device binding, authentication, and request messaging.


In some implementations, the messaging-type definition codes 330 and status codes 332 may be a part of a message header 338 having routing information for the message. An example of the structure of the message header is shown in FIG. 3D. In some implementations, the message header 338 may include a header identification number 340, routing information 342 (such as request identification number 342a, session number 342b, and endpoint identification number 342c), and method codes 344. The method codes 344 may be used to specify the type of message located in the message content. The message header 338 may include a multipart marker 346 to indicate the message being a part of a collection of messages in which all of the data content of these messages form a single message.


Turning back to FIG. 3A, in some implementations, the API protocol library 204 may include a message partitioning module 334 for segmenting a given message into a fixed size for transport. The segmenting may facilitate the transmission of large messages using a small fixed memory usage for each of the connection. The message partitioning module 334 may chunk or partition a given message and reassemble them at the application level rather than at the transport level.


The API protocol library 204 may inject metadata, such as the length-description field for character strings 322 or the count fields 328, as described in relation to FIG. 3B, to allow parsing of a given message content without the complete message. That is, the metadata describes the content that is to follow. Using the message partitioning module 334, a given message generated by the binary Dynamic REST API 302 may be partitioned into chunks where each of the chunks may be decoded prior to the complete message is received.


To this end, a message of any length may be decoded using a buffer of only two message lengths for the decoding. In some implementation, the server-client side application may employ a fixed-buffer preferably between 1 Kbytes and 1 MBytes buffer, even more preferably between 4 Kbytes and 64 Kbytes, even more preferably between 4 Kbytes and 8 Kbytes.


An example of the structure of the message multipart header is shown in FIGS. 3F and 3G. As shown in the figure, the message multipart header 348 may include a current chunk identification number 350a, a total chunk number 350b, and a chunk size identifier 350c. The message multipart header 348 may be inserted between the header 338 and the message body 339.


In some implementations, the API protocol library 204 may employ different message structures depending on the direction of message flow. For example, for an inbound message from a client-side application to the server-side application, the routing information 342d may be reproduced in the multi-part message header 348 to provide the destination information.


Turning back to FIG. 3A, in some implementation, the API protocol library 204 may be used in conjunction with the WebSocket API 336 to communicate the output message of the API protocol library 204 via WebSocket. WebSocket API 336 may be employed to stream messages on top of the Transmission Control Protocol (TCP). In some implementation, the WebSocket API 336 is a part of HTML5 WebSocket protocol. The message output of the API protocol library 204 may be configured to be entirely binary to further improve communication over the WebSocket API 336.



FIG. 4 is a block diagram of an example message transmission and reception using the API protocol library 204 in accordance with an embodiment of the invention. A client-server application 400a may call a function to transmit a message to another client-server application 400b. The call function may be a part of the API protocol library 204.


In some implementations, the binary Dynamic REST API 302 outputs a serialized binary stream corresponding to a self-described message.



FIG. 6A illustrates an example encoded message 402 generated by the binary dynamic REST API 302 in accordance with an embodiment of the invention. FIG. 6B illustrates the example encoded message 602 of FIG. 6A represented in a JavaScript Object Notation (JSON) format.


To this end, the example shows a reduction of over 50 percent of the message length compared to a JSON format message of the same message content. A typical JSON message is organized having an attribute-value pair delimited by colons “:” in which the pair values may be another nest attribute-value pair delimited by an open bracket “{” and a closed bracket “}”. The attribute-value pair format provides a flexible schema to describe a message.


To improve the information efficiency of a given message, the binary dynamic REST API 302 may generate the message 402 with only the data object. The binary dynamic REST API 302 may store a structural description of the description values 314 that form the metadata construct 312, namely the DataShape 312. The description values 314, in turn, may provide a definition for the data values 316, namely the Row Data 316 in the message construct 310. In some implementations, the binary dynamic REST API 302 may inject a first binary markers 318 to mark the beginning of the data sets 310 the description sets 312 and a second binary marker 320 to mark the end of the metadata construct 306 and the message construct 308. To this end, the various punctuation and label elements such as those associated with JSON-base message may not be necessary to include.



FIGS. 7A-7C illustrate an example method of generating a serialized binary Dynamic REST API message in accordance with an embodiment of the invention.


Specifically, FIGS. 7A and 7B show examples of generating a metadata portion of a message in accordance with an embodiment of the invention. FIG. 7C shows an example of generating the data portion of the message in accordance with an embodiment of the invention.


Turning now to FIG. 7A, the message structure of the metadata portion 702 is shown along with a marked-up 704 of the JSON message shown in FIG. 6B. The JSON message shows a self-describing message having a metadata construct and a message construct.


The metadata portion may include one or more field definitions corresponding to the “Datashape” 312, as described in relation to FIG. 3B. As indicated, each of the field definitions includes a marker field 712, a name field 714, a description field 716, a type field 718, an aspect count field 720, and an aspect field 722.


A given message construct may include groups of data values to which a given metadata construct may include one or more groups of description values that describes this group of data value. As described in relation to FIG. 3B, the message construct may refer to the “Row Data” (shown in the example as “rows” 724), and the metadata construct may refer to the “DataShape” (shown in the example as “datashape” 726).


As shown, the “datashape” 726 includes three field-definitions. Encoding of two of the three field-definitions (“pushThreshold” 728 and “push Type” 732) are discussed in FIG. 7A, and the third three field-definition (“edge Name” 730) is discussed in FIG. 7B.


As shown, each of the field definitions 728, 730, and 732 includes a group of description values 734 common to each other, namely “name”, “description”, “baseType”, and “aspects”. These description values are example implementations of a type of the characteristic definitions that may collectively form a template class of the model-based schema used by the dynamic REST API 302, as described in relation to FIG. 2.


As shown, each of the group of definitions has an “attribute”−“value” pair, as is the style of the JSON format. In encoding the message, only the “value” portion of the pair is used. The attribute is stored as part of a structural definition of the model-based schema that is incorporated into the binary dynamic REST API 302.


To generate a binary message of this JSON example message 602, in some implementations, a marker value is first added to the binary message. As discussed in relation to FIG. 3B, a marker 712 delineates each of the data sets (such as the “row data”) of the message construct and each of the description sets (such as the “field definitions”) of the metadata construct. The marker marks the beginning of the data sets and the description sets. Additionally, a second type of marker marks the end of the metadata construct and the message construct. In some implementations, the marker value may be a single digit binary value (i.e., “1” or “0”).


In some implementations, a “name” value 736, a “description” value 738, a “baseType” value 740, and an “aspect” value 742 may follow the marker 712.


The “name” value 736 may be expressed as a character string. In the binary message, a given character string may be defined by a length identifier 744 that precedes the value 746 of the character string, which is expressed in UTF-8 format (Unicode standard). As shown, the character string “pushThreshold” has a length of “13” characters (which can be represented in hexadecimal code as “0x0d”) and has a data value (in hexadecimal code) of “0x70 0x75 0x73 0x68 0x54 0x68 0x72 0x65 0x73 0x68 0x6f 0x6c 0x64” when expressed in UTF-8. This conversion is annotated in box 748. To this end, the hexadecimal value “0x0d 0x70 0x75 0x73 0x68 0x54 0x68 0x72 0x65 0x73 0x68 0x6f 0x6c 0x64” is appended to the binary message.


As shown, the “description” value 738 is a character string having “39” characters (hexadecimal code “0x57”). In UTF-8, the character string “Change threshold to generate event for numeric properties” is expressed, in hex-value, as:


0x43 0x68 0x61 0x6e 0x67 0x65 0x20 0x74 0x68 0x72 0x65 0x73 0x68 0x6f 0x6c


0x64 0x20 0x74 0x6f 0x20 0x67 0x65 0x6e 0x65 0x72 0x61 0x74 0x65 0x20 0x65


0x76 0x65 0x6e 0x74 0x20 0x66 0x6f 0x72 0x20 0x6e 0x75 0x6d 0x65 0x72 0x69


0x63 0x20 0x70 0x72 0x6f 0x70 0x65 0x72 0x74 0x69 0x65 0x73.


As shown, the “baseType” value 740 is represented as a type of data format. In some implementations, the data format information is preferably expressed as a binary symbol that is defined in a codebook composing a portion the API protocol library 204. FIG. 3E is an example codebook of the API protocol library 204 in accordance with an embodiment of the invention. In some implementations, the binary symbol is preferably 8 bits long. This conversion is annotated in box 752.


As shown, the “aspects” value 742 is a number. In some implementations, the “aspects” value is a two byte SHORT (i.e., having two bytes, each being 4 bits in length). Here, the value is NULL or EMPTY and is expressed, in hex-value, as “0x00 0x00.” This conversion is annotated in box 754.


In some implementations, this process of appending binary representations of the group of definitions to form the metadata construct is repeated for the entirety of the message 602. To this end, the various data-values of the “edge Name” and “pushType” field-definitions are appended to the binary message. The values of these data-values are provided in annotated box (756, 758, 760, 762, 764, 766, 768, and 770). In some implementations, an end marker (e.g., code “0x00”) follows the data-values to delineate the end of the message construct. In some implementations, the sequencing of the field-definitions in the binary message is not relevant as each of the field-definitions is described as its “name” value.


Referring to FIG. 7B, in some implementations, a group of aspect value may be nested within the group of data-values. The aspect count field 720 may define number of such groups. In some implementations, each of the aspect groups may include an “aspect name” value 772, an “aspect type” value 774, and an “aspect data” value 776. Encoding of a given aspect-group may be similar to encoding of the other group in which, for example, character strings are preceded by a length identifier, and data types are expressed as binary symbols. In some implementations, the “aspect name” value is a character string; the “aspect type” value is a data type; and the “aspect data” value is a value having a format described by the “aspect type” value.


Referring now to FIG. 7C, encoding of the message construct of the example message 602 is described. As discussed in relation to FIG. 3B, the metadata construct describes a given structure of the message construct. To this end, in some implementations, each of the Row Data 316 of the message construct may be described by the description values 314 enunciated in the metadata construct.


As shown, the metadata construct includes three field definitions, namely a “pushThreshold” field definition 728, an “edge Name” field definition 730, and a “pushType” field-definition 732. To this end, the “Row Data” (778, 780, 782, 784, and 786) is preferably structured according to these field definitions 728, 730, 732.


In some implementations, a “Row Data” may include a marker 712, a row-count field 788, and a number of data groups 790 corresponding to the number of row-count field 788. Each of the data groups 790 may include a data type field 792 and a value field 794.


As shown, “Row Data” 778 includes a “pushThreshold” value “100000”, an “edge Name” value “InMemory_String”, and a “pushType” value “NEVER”.


As defined by the “pushThreshold” field-definition 728, the value “100000” is a “NUMBER.” In some implementations, a number is expressed as an 8-byte DOUBLE. To this end, the value “100000” is equivalent to hex-value “0x40 0f8 0x6a 0xa0 0x00 0x00 0x00 0x00”, as is shown in box 796.


The “edge Name” and “pushType” data are character strings, as defined by their respective field-definitions 730 and 732, and may be encoded in the manner described above.


In some implementations, binary representations of the Row Data are appended to form the message construct for the entirety of the message 602.


Of course, other means of generating a binary Dynamic REST message may be employed.


Turning back now to FIG. 4, subsequent to the binary Dynamic REST API 302 generating the serialized binary stream, the message partitioning module 334 of the API protocol library 204, as described in relation to FIG. 3A, may partition the encoded message 402 into a number of chunked messages 406.


The segmenting may facilitate the transmission of large messages using a small fixed memory usage of each of the connection. In some implementations, the message partitioning module 334 may chunk or partition a given message and reassemble them at the application level rather than at the transport level.


Moreover, the API protocol library 204 may inject metadata, such as the length-description field for character strings 322 or the count fields 328, to allow parsing of a given message content without the complete content object. To this end, a given message generated by the binary Dynamic REST API 302 may be partitioned into chunks where each of the chunks may be decoded prior to the complete message is received.



FIG. 8 illustrates an example method of partitioning an encoded message in accordance with an embodiment of the invention. The message partitioning module 334 may partition the encoded message 402 into a number of chunked message 406. In some implementations, the length of the message may be fixed or variable.


In some implementations, the message partitioning module 334 may inject metadata information relating to the partitioning into a header, such as, for example, the multipart header. FIGS. 3F-3G show example structures of multi-part headers utilized by the API protocol library 204 in accordance with an embodiment of the invention. In some implementations, the multi-part header may include a chunk-message identification number 350a, a total number of chunks 350b forming the message, and a chunk size 350c of a given chunked message. To this end, the message may be decoded in any order as the identification number allows for assembly of the chunks in any sequence. Moreover, the total number of chunk message allows the assembler to know the end of the message based on the number of chunks received. Moreover, the chunk size allows the chunked messages to be of variable length as defined by the size identifier.


In certain implementations, routing information 342d (see FIG. 3D) may be included in the multi-part message 348 to assist with the routing of the message, such as for outbound messages being transmitted from the platform server 102. The other implementations, the routing information may be included for inbound messages.


In some implementations, the message partitioning module 334 includes a buffer window having a size preferably between 4 Kbytes and 1024 Kbytes, even more preferably between 8 Kbytes and 16 Kbytes. For large files 804, the binary Dynamic REST API 302 may employ an external file transfer protocol that may operate independently of the binary Dynamic REST API 302 to transact the data exchange.


Turning back now to FIG. 4, subsequent to the message partitioning module 334 partitioning the encoded message 402 into one or more chunked messages 406, the API protocol library 204 packages the chunked message 406 with metadata information about the message in the message's header 338 and message's body 304 of the message.


The API protocol library 204 may add identity and target metadata information to the message's header and the message's body. The API protocol library 204 may encrypt the message using an encryption module 410a defined, in some implementations, within the API protocol library 204. The encrypted portion may include the entire message or a portion of the message.


Examples implementations that employ metadata information in the message's header and body is described in co-pending, concurrently filed U.S. patent application Ser. No. 14/222,123, titled “SYSTEM AND METHOD OF MESSAGE ROUTING USING NAME-BASED IDENTIFIER IN A DISTRIBUTED COMPUTING ENVIRONMENT”, filed Mar. 21, 2014, naming inventors Rick Bullotta, John Canosa, Bob DeRemer, and Mike Mahoney. The application is incorporated by reference herein in its entirety.



FIG. 3D shows an example structure of a message header utilized by the API protocol library 204 in accordance with an embodiment of the invention. In some implementations, the header 338 may include a request identification number 342a that is associated to a given message. In some implementations, the request identification number 342a is preferably a 24-digit long binary number with the most-significant digit (MSB) first, though it can be of various data length and endian.


In some implementations, the header 338 may include a session identification number 342b that is associated to a given name identifier belonging to a particular computing device 104. In some implementations, the session identification number 342b may be used by a given connection server 110 to determine binding path of a given computing device 104. In some implementations, the session identification number 342b is preferably a 32-digit long binary number with the most-significant digit (MSB) first, though it can be of various data length and endian.


In some implementations, the header 338 may include an endpoint identification number 342c that is associated to routing information for a given persistent connection 200. The endpoint identification number 342c is preferably a 32-digit long binary number with the most-significant digit (MSB) first.


In some implementations, the header 338 may include a message type field 344, referred to as a “Method code 344.” For request type messages, the message type field 344 may include a code corresponding to the request type message. In some implementations, the request type message may be based on an HTTP framework and, thus, may include a “GET” request, a “POST” request, a “PUT” request, or a “DELETE” request.


In some implementation, the metadata information may include an “entity name” 342d (corresponding to the source of the data or request), a “characteristic” field 342e, a “target name” 342f (corresponding to an intended recipient of the data or request), and a number of message count 342g.


In some implementations, the API protocol library 204 may generate message produced from the multiple binary Dynamic REST API 302.


Turning back now to FIG. 4, in some implementations, the client- or server-side application may employ a WebSocket protocol to transmit the output message 202 of the API protocol library 204 to a corresponding client- or server-side application. The corresponding client- or server-side application may be running a mirroring API protocol library 204 to decode the message.


To decode the received message 202, the encrypted portion of the received message 202 may be decrypted via a decryption module 410b. As indicated, the encrypted portion may include the entire message or a portion of the message. The decryption module 410b may return a decrypted message having the header 338 and the chunked message 406.


The API protocol library 204 may receive the header 338 and parse the method code field 334 of the header 338 to determine the type of message. In certain instances in which the method code field 334 includes a HTTP request code 330, the API protocol library 204 may send the message body for further processing.


To decode a request message, in some implementations, the API protocol library 204 processor may parse the chunked message 406 using marker identifiers, length identifier, field type identifier, and field counts identifier to retrieve the group of field definitions and message construct may include groups of data values. In some implementations in which all of the information needed to parse a given encoded portion of the message immediately precedes the encoded data, the API protocol library 204 may parse the message in portions (or chunks) without having to wait for the entirety of the message. In instances in which the message was chunked, the partial decoded message is stored in a buffer 418. Upon the message being decoded in its entirety, the API protocol library 204 may signal the buffer 418 or the client-server application to retrieve the complete message to be serviced by the client-server application 401b.


To perform the decoding in its entirety, the first encoded data stream may be organized with a known DataShape and may include metadata to describe unrestrictive elements within the data stream. In some implementations, the metadata may include forward descriptors of an unrestrictive element. Unrestrictive element may include objects having variable number of elements. This can include textual information, such as strings of text as well as variable numbers of objects. Unrestrictive element may also include the variable number of chunked message portions that constitute the entire message. The metadata may include markers to identify separations between the various DataShape.


In being able to decode partial messages independent of one another, the client-side application may be implemented as a light-weight application. A small-fixed decoding buffer typically reduces the cost of implementation for a given device.



FIG. 9 is a flowchart of an example method 900 of reassembling a message 404 in accordance with an embodiment of the invention. The edge server 106 may receive a first encoded data stream 902 (which is a part of the message 404) and decodes the stream 902 in its entirety. The edge server 106 may index the decoded portion of the message with an identifier 904 corresponding to the number of chunked messages. The identifier 904 may be the current chunk identification number 405a employed in the multipart header 405 (see FIGS. 3F and 3G).


The edge server 106 may continue to receives the subsequent encoded data streams 906, 908, and 910. The edge server 106 continues to index the decoded portions 906, 908, and 910 of the messages 404 in the memory.


If a message chunk 912 was corrupted or not received, the edge server 106 may wait for a retransmission of the missing chunk message 1112. Using the chunk identifier 1104, the edge server 106 can decode a given received encoded data stream out of its sequence from with the message 404.


Alternatively, the API protocol library 204 may be employed as an encoder or decoder. FIG. 5 is a block diagram of an example of a message transmission and reception using the API protocol library 204 in accordance with an alternative embodiment of the invention. In this embodiment, a client- or server-side application sends a message 402 to the API protocol library 204. The message 402 may be formatted in a human-readable text-language format. Examples include, for example, JSON and XML. The message 402 may include data objects delimited by one or more data objects.


The binary Dynamic REST API 302 may parse through the message 402 to retrieve one or more data objects according to the stored structural description, as shown and described in FIGS. 7A to 7C. The binary Dynamic REST API 302 may serially map each of the elements of a parsed data objects to a binary symbol that is defined in the codebook to produce a binary data stream.



FIG. 10 is a block diagram of an example computing device 104 running a client-application that is executing a software development kit (SDK) using the API protocol library 204. The SDK preferably resides on less than 75 Kbytes of flash memory 1002. In some implementation, the SDK may include the application and the protocol implementation, including an encryption mechanism.



FIG. 11 is a flowchart of an example method of communication across multiple communication protocols. The method may be performed, for example, by a software application cooperation with the API protocol library 204 executed upon the API server 110.


The API protocol library 204 provides a dynamic REST API interface that flexibly interoperate with other communication protocol.


In some implementations, the method may be performed at the API servers 110. To this end, legacy sensors and computing devices may be upgraded in the context of communication and controls.



FIG. 12 is a flowchart of an example method 1200 for parsing a self-describing message in accordance with an embodiment of the invention. The method may include storing, at a memory, a first structural description of the binary header and the binary body (step 1202) and a second structural description of the metadata construct wherein the metadata construct comprises one or more groups of description values corresponding to a given data value of the one or more data values forming the message construct (step 1204). The description values may include a data-value name descriptor, a data-value description-descriptor, and a data value type-descriptor.


In some implementations, the method 1200 include receiving, at a port, a plurality of binary data streams representing a plurality of messages (step 1206).


In some implementations, the method 1200 include parsing, using a processor, each of the plurality of received binary data stream using the first structural description to determine the binary header and the binary body (step 1208).


In some implementations, the method may include parsing, using the processor, the parsed 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 (step 1210). Each of the one or more data values of the message construct and each of the one or more description value of the metadata construct may be delineated by a binary marker.



FIG. 13 is a flowchart of an example method 1300 of using Web Socket to transmit Dynamic REST messages in accordance with an embodiment of the invention.


In some implementations, the method 1300 may include storing, at a memory of a device, a binary dynamic REST API model (step 1302). The dynamic REST API model may include a data model that includes a data object, an event object, a service object, a property object, and an attribute object.


In some implementations, the method 1300 may include formatting, via a processor at the device, a request message using the binary dynamic REST API model to produce a self-describing request message (step 1304).


In some implementations, the method 1300 may include transmitting, via a port of the device, the request message over a persistent state connection (step 1306). The persistent stateless connection may be over a Web socket connection using a HTTP or HTTPS port.



FIG. 14 is a flowchart of an example method 1400 of communication with a third party protocol in accordance with an embodiment of the invention. The method 1400 may include providing a first communication protocol and a second communication protocol in a memory of a device wherein the first communication protocol may include a plurality of control codes and binary messages having a self-describing schema. The self-describing schema may be a data object model. In some implementations, instances of the second communication protocol may be associatively mapped to the instances of the first communication protocol (step 1402). The data model may be structured in a dynamic REST API object model. The associative mapping of the control codes may be based on a HTML framework.


In some implementations, the method 1400 may include receiving, at a port of a computing device, a first instantiation of a message in the second communication protocol (1404).


In some implementations, the method 1400 may include classifying, by a processor of the computing device, the first instantiation of the message as being either a control message or a data message. The method 1400 then may include translating, by a processor of the computing device, the first instantiation of the message to produce a second instantiation of the message (step 1406). If the message has been classified as a control message, the processor may map the control message to one or more control codes. If the message has been classified as a data message, the processor may map the data message to a binary message having the self-describing schema, as described in relation to FIG. 7.


In some implementations, the method 1400 may include transmitting, at the port of the computing device, the second instantiation of the message (step 1406).



FIG. 15 is a flowchart of an example method 1500 of communication using chunked messages in accordance with an embodiment of the invention.


In some implementations, The method may include receiving, at a port, one or more data streams among a plurality of data streams, including a first data stream and a second data stream (1502).


In some implementations, the method 1500 may include storing, at a first buffer, a received first data stream and a received second data stream (step 1504).


In some implementations, the method 1500 may include storing, at a second buffer, portions of a decoded message (step 1506).


In some implementations, the method 1500 may include decoding, using a processor, the received data stream buffered within the first buffer to produce a given decoded portion. The processor may store 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.



FIG. 16 shows an example of a computing device 1600 and a mobile computing device 1650 that can be used to implement the techniques described in this disclosure. The computing device 1600 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The mobile computing device 1650 is intended to represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart-phones, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to be limiting.


The computing device 1600 may include a processor 1602, a memory 1604, a storage device 1606, a high-speed interface 1608 connecting to the memory 1604 and multiple high-speed expansion ports 1610, and a low-speed interface 1612 connecting to a low-speed expansion port 1614 and the storage device 1606. Each of the processor 1602, the memory 1604, the storage device 1604, the high-speed interface 1608, the high-speed expansion ports 1610, and the low-speed interface 1612, are interconnected using various busses, and may be mounted on a common motherboard or in other manners as appropriate. The processor 1602 can process instructions for execution within the computing device 1600, including instructions stored in the memory 1604 or on the storage device 1606 to display graphical information for a GUI on an external input/output device, such as a display 816 coupled to the high-speed interface 1608. In other implementations, multiple processors and/or multiple buses may be used, as appropriate, along with multiple memories and types of memory. Also, multiple computing devices may be connected, with each of the device providing portions of the necessary operations (e.g., as a server bank, a group of blade servers, or a multi-processor system).


The memory 1604 stores information within the computing device 1600. In some implementations, the memory 1604 is a volatile memory unit or units. In some implementations, the memory 1604 is a non-volatile memory unit or units. The memory 1604 may also be another form of computer-readable medium, such as a magnetic or optical disk.


The storage device 1606 is capable of providing mass storage for the computing device 1600. In some implementations, the storage device 1606 may be or contain a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid state memory device, or an array of devices, including devices in a storage area network or other configurations. Instructions can be stored in an information carrier. The instructions, when executed by one or more processing devices (for example, processor 1602), perform one or more methods, such as those described above. The instructions can also be stored by one or more storage devices such as computer- or machine-readable mediums (for example, the memory 1604, the storage device 1606, or memory on the processor 1602).


The high-speed interface 1608 manages bandwidth-intensive operations for the computing device 1600, while the low-speed interface 1612 manages lower bandwidth-intensive operations. Such allocation of functions is an example only. In some implementations, the high-speed interface 1608 is coupled to the memory 1604, the display 1616 (e.g., through a graphics processor or accelerator), and to the high-speed expansion ports 1610, which may accept various expansion cards (not shown). In the implementation, the low-speed interface 1612 is coupled to the storage device 806 and the low-speed expansion port 1614. The low-speed expansion port 1614, which may include various communication ports (e.g., USB, Bluetooth®, Ethernet, wireless Ethernet) may be coupled to one or more input/output devices, such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router, e.g., through a network adapter.


The computing device 1600 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a standard server 1620, or multiple times in a group of such servers. In addition, it may be implemented in a personal computer such as a laptop computer 1622. It may also be implemented as part of a rack server system 1624. Alternatively, components from the computing device 800 may be combined with other components in a mobile device (not shown), such as a mobile computing device 1650. Each of such devices may contain one or more of the computing device 1600 and the mobile computing device 1650, and an entire system may be made up of multiple computing devices communicating with each other.


The mobile computing device 1650 may include a processor 1652, a memory 1664, an input/output device such as a display 1654, a communication interface 1666, and a transceiver 868, among other components. The mobile computing device 1650 may also be provided with a storage device, such as a micro-drive or other device, to provide additional storage. Each of the processor 1652, the memory 1664, the display 1654, the communication interface 1666, and the transceiver 1668, are interconnected using various buses, and several of the components may be mounted on a common motherboard or in other manners as appropriate.


The processor 1652 can execute instructions within the mobile computing device 1650, including instructions stored in the memory 1664. The processor 1652 may be implemented as a chipset of chips that include separate and multiple analog and digital processors. The processor 1652 may provide, for example, for coordination of the other components of the mobile computing device 1650, such as control of user interfaces, applications run by the mobile computing device 1650, and wireless communication by the mobile computing device 1650.


The processor 1652 may communicate with a user through a control interface 1658 and a display interface 1656 coupled to the display 1654. The display 1654 may be, for example, a TFT (Thin-Film-Transistor Liquid Crystal Display) display or an OLED (Organic Light Emitting Diode) display, or other appropriate display technology. The display interface 1656 may comprise appropriate circuitry for driving the display 1654 to present graphical and other information to a user. The control interface 1658 may receive commands from a user and convert them for submission to the processor 1652. In addition, an external interface 1662 may provide communication with the processor 1652, so as to enable near area communication of the mobile computing device 1650 with other devices. The external interface 1662 may provide, for example, for wired communication in some implementations, or for wireless communication in other implementations, and multiple interfaces may also be used.


The memory 1664 stores information within the mobile computing device 1650. The memory 1664 can be implemented as one or more of a computer-readable medium or media, a volatile memory unit or units, or a non-volatile memory unit or units. An expansion memory 1674 may also be provided and connected to the mobile computing device 1650 through an expansion interface 1672, which may include, for example, a SIMM (Single In Line Memory Module) card interface. The expansion memory 1674 may provide extra storage space for the mobile computing device 1650, or may also store applications or other information for the mobile computing device 1650. Specifically, the expansion memory 1674 may include instructions to carry out or supplement the processes described above, and may include secure information also. Thus, for example, the expansion memory 1674 may be provide as a security module for the mobile computing device 1650, and may be programmed with instructions that permit secure use of the mobile computing device 1650. In addition, secure applications may be provided via the SIMM cards, along with additional information, such as placing identifying information on the SIMM card in a non-hackable manner.


The memory may include, for example, flash memory and/or NVRAM memory (non-volatile random access memory), as discussed below. In some implementations, instructions are stored in an information carrier. that the instructions, when executed by one or more processing devices (for example, processor 1652), perform one or more methods, such as those described above. The instructions can also be stored by one or more storage devices, such as one or more computer- or machine-readable mediums (for example, the memory 1664, the expansion memory 1674, or memory on the processor 1652). In some implementations, the instructions can be received in a propagated signal, for example, over the transceiver 1668 or the external interface 1662.


The mobile computing device 1650 may communicate wirelessly through the communication interface 1666, which may include digital signal processing circuitry where necessary. The communication interface 1666 may provide for communications under various modes or protocols, such as GSM voice calls (Global System for Mobile communications), SMS (Short Message Service), EMS (Enhanced Messaging Service), or MMS messaging (Multimedia Messaging Service), CDMA (code division multiple access), TDMA (time division multiple access), PDC (Personal Digital Cellular), WCDMA (Wideband Code Division Multiple Access), CDMA2000, or GPRS (General Packet Radio Service), among others. Such communication may occur, for example, through the transceiver 1668 using a radio-frequency. In addition, short-range communication may occur, such as using a Bluetooth®, Wi-Fi™, or other such transceiver (not shown). In addition, a GPS (Global Positioning System) receiver module 1670 may provide additional navigation- and location-related wireless data to the mobile computing device 1650, which may be used as appropriate by applications running on the mobile computing device 1650.


The mobile computing device 1650 may also communicate audibly using an audio codec 1660, which may receive spoken information from a user and convert it to usable digital information. The audio codec 1660 may likewise generate audible sound for a user, such as through a speaker, e.g., in a handset of the mobile computing device 1650. Such sound may include sound from voice telephone calls, may include recorded sound (e.g., voice messages, music files, etc.) and may also include sound generated by applications operating on the mobile computing device 1650.


The mobile computing device 1650 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a cellular telephone 1680. It may also be implemented as part of a smart-phone 1682, personal digital assistant, or other similar mobile device.


Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.


These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms machine-readable medium and computer-readable medium refer to any computer program product, apparatus and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term machine-readable signal refers to any signal used to provide machine instructions and/or data to a programmable processor.


To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well;


for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.


The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.


The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.


In view of the structure, functions and apparatus of the systems and methods described here, in some implementations, a system and method for communication using Dynamic REST messages are provided. Having described certain implementations of methods and apparatus for supporting communication using Dynamic REST messages, it will now become apparent to one of skill in the art that other implementations incorporating the concepts of the disclosure may be used. Therefore, the disclosure should not be limited to certain implementations, but rather should be limited only by the spirit and scope of the following claims.

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; anda 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; andin 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.
  • 2. The apparatus of claim 1, wherein the instructions, when executed by the processor, cause the processor to interrogate the first data stream at a current multi-part identifier field, a number of multi-part field, and a size field,wherein a first parameter interrogated at the number of multi-part field and a second parameter interrogated at the size field are used to determine a buffer size for the second buffer.
  • 3. The apparatus of claim 1, wherein the instructions, when executed by the processor, cause the processor to interrogate the first data stream at a current multi-part identifier field, a number of multi-part field, and a size field,wherein a second parameter interrogated at the current multi-part identifier field is used to determine a location to store the first decoded portion in the second buffer.
  • 4. The apparatus of claim 1, comprising a decryption engine that decodes the payload of the first data stream to produce the first decoded portion.
  • 5. The apparatus of claim 1, wherein the data structure includes an event object, a service object, a property object, and an attribute object.
  • 6. The apparatus of claim 2, wherein the first parameter associated with the number of multi-part field defines a number of the plurality of data streams that form the single serialized dynamic REST message, wherein the single serialized dynamic REST message comprises a complete message.
  • 7. The apparatus of claim 3, wherein the second parameter associated with the current multi-part identifier field defines a message number identifier that indicate a location of a given decoded data stream within the single serialized dynamic REST message, wherein the single serialized dynamic REST message comprises a complete message.
  • 8. The apparatus of claim 1, wherein the communication port receives the one or more data stream over a web-socket connection.
  • 9. The apparatus of claim 2, wherein the current multi-part identifier field, the number of multi-part field, and the size field are located in the header of the first data stream.
  • 10. The apparatus of claim 2, wherein the current multi-part identifier field, the number of multi-part field, and the size field are located in the payload of the first data stream.
  • 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; andin 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.
  • 12. The computer-implemented method of claim 11, comprising interrogating the first data stream at a current multi-part identifier field, a number of multi-part field, and a size field, wherein a first parameter interrogated at the number of multi-part field and a second parameter interrogated at the size field are used to determine a buffer size for the second buffer.
  • 13. The computer-implemented method of claim 11, comprising interrogating the first data stream at a current multi-part identifier field, a number of multi-part field, and a size field, wherein a second parameter interrogated at the current multi-part identifier field is used to determine a location to store the first decoded portion in the second buffer.
  • 14. The computer-implemented method of claim 11, wherein the port receives the plurality of data streams over a web-socket connection.
  • 15. The computer-implemented method of claim 11, wherein decoding of the payload is performed by a decryption engine.
  • 16. The computer-implemented method of claim 11, wherein the data structure includes an event object, a service object, a property object, and an attribute object.
  • 17. The computer-implemented method of claim 12, wherein the first parameter associated with the number of multi-part field defines a number of one or more data streams that form a given complete executable message.
  • 18. The computer-implemented method of claim 17, wherein the second parameter associated with the current multi-part identifier field defines a message number identifier that indicate a location of a given decoded data stream within the single serialized dynamic REST message, wherein the single serialized dynamic REST message comprises a complete message.
  • 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; andin 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.
US Referenced Citations (438)
Number Name Date Kind
3656112 Paull Apr 1972 A
3916412 Amoroso, Jr. Oct 1975 A
3983484 Hodama Sep 1976 A
4063173 Nelson et al. Dec 1977 A
4103250 Jackson Jul 1978 A
4134068 Richardson Jan 1979 A
4216546 Litt Aug 1980 A
4554668 Deman et al. Nov 1985 A
4601059 Gammenthaler Jul 1986 A
4680582 Mejia Jul 1987 A
4704585 Lind Nov 1987 A
4887204 Johnson et al. Dec 1989 A
4979170 Gilhousen et al. Dec 1990 A
5113416 Lindell May 1992 A
5134615 Freeburg et al. Jul 1992 A
5159704 Pirolli et al. Oct 1992 A
5276703 Budin et al. Jan 1994 A
5361401 Pirillo Nov 1994 A
5422889 Sevenhans et al. Jun 1995 A
5454010 Leveque Sep 1995 A
5479441 Tymes et al. Dec 1995 A
5493671 Pitt et al. Feb 1996 A
5515365 Sumner et al. May 1996 A
5734966 Farrer et al. Mar 1998 A
5737609 Reed et al. Apr 1998 A
5805442 Crater et al. Sep 1998 A
5892962 Cloutier Apr 1999 A
5909640 Farrer et al. Jun 1999 A
5925100 Drewry et al. Jul 1999 A
6169992 Beall et al. Jan 2001 B1
6182252 Wong et al. Jan 2001 B1
6198480 Cotugno et al. Mar 2001 B1
6377162 Delestienne et al. Apr 2002 B1
6430602 Kay et al. Aug 2002 B1
6473788 Kim et al. Oct 2002 B1
6510350 Steen, III et al. Jan 2003 B1
6553405 Desrochers Apr 2003 B1
6570867 Robinson et al. May 2003 B1
6618709 Sneeringer Sep 2003 B1
6675193 Slavin et al. Jan 2004 B1
6757714 Hansen Jun 2004 B1
6766361 Venigalla Jul 2004 B1
6797921 Niedereder et al. Sep 2004 B1
6810522 Cook et al. Oct 2004 B2
6813587 McIntyre et al. Nov 2004 B2
6850255 Muschetto Feb 2005 B2
6859757 Muehl et al. Feb 2005 B2
6880016 Van Der Heijden Apr 2005 B1
6915330 Hardy et al. Jul 2005 B2
6980558 Aramoto Dec 2005 B2
6993555 Kay et al. Jan 2006 B2
7031520 Tunney Apr 2006 B2
7046134 Hansen May 2006 B2
7047159 Muehl et al. May 2006 B2
7054922 Kinney et al. May 2006 B2
7082383 Baust et al. Jul 2006 B2
7082460 Hansen et al. Jul 2006 B2
7117239 Hansen Oct 2006 B1
7149792 Hansen et al. Dec 2006 B1
7178149 Hansen Feb 2007 B2
7185014 Hansen Feb 2007 B1
7250862 Bornhoevd et al. Jul 2007 B2
7254601 Baller et al. Aug 2007 B2
7269732 Kilian-Kehr Sep 2007 B2
7341197 Muehl et al. Mar 2008 B2
7380236 Hawley May 2008 B2
7496911 Rowley et al. Feb 2009 B2
7529570 Shirota May 2009 B2
7529750 Bair May 2009 B2
7536673 Brendle et al. May 2009 B2
7555355 Meyer Jun 2009 B2
7566005 Heusermann et al. Jul 2009 B2
7570755 Williams et al. Aug 2009 B2
7587251 Hopsecger Sep 2009 B2
7591006 Werner Sep 2009 B2
7593917 Werner Sep 2009 B2
7613290 Williams et al. Nov 2009 B2
7616642 Anke et al. Nov 2009 B2
7617198 Durvasula Nov 2009 B2
7624092 Lieske et al. Nov 2009 B2
7624371 Kulkarni et al. Nov 2009 B2
7644120 Todorov et al. Jan 2010 B2
7644129 Videlov Jan 2010 B2
7647407 Omshehe et al. Jan 2010 B2
7650607 Resnick et al. Jan 2010 B2
7653902 Bozak et al. Jan 2010 B2
7673141 Kilian-Kehr et al. Mar 2010 B2
7684621 Tunney Mar 2010 B2
7703024 Kautzleben et al. Apr 2010 B2
7707550 Resnick et al. Apr 2010 B2
7725815 Peters May 2010 B2
7728838 Forney et al. Jun 2010 B2
7730498 Resnick et al. Jun 2010 B2
7743015 Schmitt Jun 2010 B2
7743155 Pisharody et al. Jun 2010 B2
7752335 Boxenhorn Jul 2010 B2
7757234 Krebs Jul 2010 B2
7761354 Kling et al. Jul 2010 B2
7774369 Herzog et al. Aug 2010 B2
7779089 Hessmer et al. Aug 2010 B2
7779383 Bornhoevd et al. Aug 2010 B2
7783984 Roediger et al. Aug 2010 B2
7802238 Clinton Sep 2010 B2
7814044 Schwerk Oct 2010 B2
7814208 Stephenson et al. Oct 2010 B2
7817039 Bornhoevd et al. Oct 2010 B2
7827169 Enenkiel Nov 2010 B2
7831600 Kilian Nov 2010 B2
7840701 Hsu et al. Nov 2010 B2
7849213 Borghetti Dec 2010 B1
7852861 Wu et al. Dec 2010 B2
7853241 Harrison Dec 2010 B1
7853924 Curran Dec 2010 B2
7860968 Bornhoevd et al. Dec 2010 B2
7865442 Sowell Jan 2011 B1
7865731 Kilian-Kehr Jan 2011 B2
7865939 Schuster Jan 2011 B2
7873666 Sauermann Jan 2011 B2
7882148 Werner et al. Feb 2011 B2
7886278 Stulski Feb 2011 B2
7890388 Mariotti Feb 2011 B2
7890568 Belenki Feb 2011 B2
7895115 Bayyapu et al. Feb 2011 B2
7899777 Baier et al. Mar 2011 B2
7899803 Cotter et al. Mar 2011 B2
7908278 Akkiraju et al. Mar 2011 B2
7917629 Werner Mar 2011 B2
7921137 Lieske et al. Apr 2011 B2
7921686 Bagepalli et al. Apr 2011 B2
7925979 Forney et al. Apr 2011 B2
7937370 Hansen May 2011 B2
7937408 Stuhec May 2011 B2
7945691 Dharamshi May 2011 B2
7953219 Freedman et al. May 2011 B2
7954107 Mao et al. May 2011 B2
7954115 Gisolfi May 2011 B2
7966418 Shedrinsky Jun 2011 B2
7975024 Nudler Jul 2011 B2
7987176 Latzina et al. Jul 2011 B2
7987193 Ganapam et al. Jul 2011 B2
7992200 Kuehr-McLaren et al. Aug 2011 B2
8000991 Montagut Aug 2011 B2
8005879 Bornhoevd et al. Aug 2011 B2
8024218 Kumar et al. Sep 2011 B2
8024743 Werner Sep 2011 B2
8051045 Vogler Nov 2011 B2
8055758 Hansen Nov 2011 B2
8055787 Victor et al. Nov 2011 B2
8060886 Hansen Nov 2011 B2
8065397 Taylor et al. Nov 2011 B2
8069362 Gebhart et al. Nov 2011 B2
8073331 Mazed Dec 2011 B1
8074215 Cohen et al. Dec 2011 B2
8081584 Thibault et al. Dec 2011 B2
8082322 Pascarella et al. Dec 2011 B1
8090452 Johnson et al. Jan 2012 B2
8090552 Henry et al. Jan 2012 B2
8095632 Hessmer et al. Jan 2012 B2
8108543 Hansen Jan 2012 B2
8126903 Lehmann et al. Feb 2012 B2
8127237 Beringer Feb 2012 B2
8131694 Bender et al. Mar 2012 B2
8131838 Bornhoevd et al. Mar 2012 B2
8136034 Stanton et al. Mar 2012 B2
8145468 Fritzsche et al. Mar 2012 B2
8145681 Macaleer et al. Mar 2012 B2
8151257 Zachmann Apr 2012 B2
8156117 Krylov et al. Apr 2012 B2
8156208 Bornhoevd et al. Apr 2012 B2
8156473 Heidasch Apr 2012 B2
8166118 Borghetti Apr 2012 B1
8183995 Wang et al. May 2012 B2
8190708 Short et al. May 2012 B1
8229944 Latzina et al. Jul 2012 B2
8230333 Decherd et al. Jul 2012 B2
8249906 Ponce de Leon Aug 2012 B2
8250169 Beringer et al. Aug 2012 B2
8254249 Wen et al. Aug 2012 B2
8261193 Alur et al. Sep 2012 B1
8271935 Lewis Sep 2012 B2
8280009 Stepanian Oct 2012 B2
8284033 Moran Oct 2012 B2
8285807 Slavin et al. Oct 2012 B2
8291039 Shedrinsky Oct 2012 B2
8291475 Jackson et al. Oct 2012 B2
8296198 Bhatt et al. Oct 2012 B2
8296266 Lehmann et al. Oct 2012 B2
8296413 Bornhoevd et al. Oct 2012 B2
8301770 van Coppenolle et al. Oct 2012 B2
8306635 Pryor Nov 2012 B2
8312383 Gilfix Nov 2012 B2
8321790 Sherrill et al. Nov 2012 B2
8321792 Alur et al. Nov 2012 B1
8331855 Williams et al. Dec 2012 B2
8346520 Lu et al. Jan 2013 B2
8359116 Manthey Jan 2013 B2
8364300 Pouyez et al. Jan 2013 B2
8370479 Hart et al. Feb 2013 B2
8370826 Johnson et al. Feb 2013 B2
8375292 Coffman et al. Feb 2013 B2
8375362 Brette et al. Feb 2013 B1
RE44110 Venigalla Mar 2013 E
8392116 Lehmann et al. Mar 2013 B2
8392561 Dyer et al. Mar 2013 B1
8396929 Helfman et al. Mar 2013 B2
8397056 Malks et al. Mar 2013 B1
8406119 Taylor et al. Mar 2013 B2
8412579 Gonzalez Apr 2013 B2
8417764 Fletcher et al. Apr 2013 B2
8417854 Weng et al. Apr 2013 B2
8423418 Hald et al. Apr 2013 B2
8424058 Vinogradov et al. Apr 2013 B2
8433664 Ziegler et al. Apr 2013 B2
8433815 van Coppenolle et al. Apr 2013 B2
8438132 Dziuk et al. May 2013 B1
8442933 Baier et al. May 2013 B2
8442999 Gorelik et al. May 2013 B2
8443069 Bagepalli et al. May 2013 B2
8443071 Lu et al. May 2013 B2
8457996 Winkler et al. Jun 2013 B2
8458189 Ludwig et al. Jun 2013 B1
8458315 Miche et al. Jun 2013 B2
8458596 Malks et al. Jun 2013 B1
8458600 Dheap et al. Jun 2013 B2
8473317 Santoso et al. Jun 2013 B2
8478861 Taylor et al. Jul 2013 B2
8484156 Hancsarik et al. Jul 2013 B2
8489527 van Coppenolle et al. Jul 2013 B2
8490047 Petschnigg et al. Jul 2013 B2
8490876 Tan et al. Jul 2013 B2
8495072 Kapoor et al. Jul 2013 B1
8495511 Redpath Jul 2013 B2
8495683 van Coppenolle et al. Jul 2013 B2
8516296 Mendu Aug 2013 B2
8516383 Bryant et al. Aug 2013 B2
8521621 Hetzer et al. Aug 2013 B1
8522217 Dutta et al. Aug 2013 B2
8522341 Nochta et al. Aug 2013 B2
8532008 Das et al. Sep 2013 B2
8533660 Mehr et al. Sep 2013 B2
8538799 Haller et al. Sep 2013 B2
8543568 Wagenblatt Sep 2013 B2
8547838 Lee et al. Oct 2013 B2
8549157 Schnellbaecher Oct 2013 B2
8555248 Brunswig et al. Oct 2013 B2
8560636 Kieselbach Oct 2013 B2
8560713 Moreira Sa de Souza et al. Oct 2013 B2
8566193 Singh et al. Oct 2013 B2
8571908 Li et al. Oct 2013 B2
8572107 Fan et al. Oct 2013 B2
8577904 Marston Nov 2013 B2
8578059 Odayappan et al. Nov 2013 B2
8578328 Kamiyama et al. Nov 2013 B2
8578330 Dreiling et al. Nov 2013 B2
8584082 Baird et al. Nov 2013 B2
8588765 Harrison Nov 2013 B1
8594023 He et al. Nov 2013 B2
8635254 Harvey et al. Jan 2014 B2
8689181 Biron, III Apr 2014 B2
8745641 Coker Jun 2014 B1
8752074 Hansen Jun 2014 B2
8762497 Hansen Jun 2014 B2
8769095 Hart et al. Jul 2014 B2
8788632 Taylor et al. Jul 2014 B2
8898294 Hansen Nov 2014 B2
9002980 Shedrinsky Apr 2015 B2
20010054084 Kosmynin Dec 2001 A1
20020099454 Gerrity Jul 2002 A1
20020126703 Kovacevic Sep 2002 A1
20020138596 Darwin et al. Sep 2002 A1
20030005163 Belzile Jan 2003 A1
20030093710 Hashimoto et al. May 2003 A1
20030117280 Prehn Jun 2003 A1
20040027376 Calder et al. Feb 2004 A1
20040133635 Spriestersbach et al. Jul 2004 A1
20040158455 Spivack et al. Aug 2004 A1
20040158629 Herbeck et al. Aug 2004 A1
20040177124 Hansen Sep 2004 A1
20050015369 Styles et al. Jan 2005 A1
20050021506 Sauermann et al. Jan 2005 A1
20050027675 Schmitt et al. Feb 2005 A1
20050060186 Blowers et al. Mar 2005 A1
20050102362 Price et al. May 2005 A1
20050198137 Pavlik et al. Sep 2005 A1
20050213563 Shaffer et al. Sep 2005 A1
20050240427 Crichlow Oct 2005 A1
20050289154 Weiss et al. Dec 2005 A1
20060031520 Bedekar et al. Feb 2006 A1
20060186986 Ma et al. Aug 2006 A1
20060208871 Hansen Sep 2006 A1
20070005736 Hansen et al. Jan 2007 A1
20070016557 Moore et al. Jan 2007 A1
20070027854 Rao et al. Feb 2007 A1
20070027914 Agiwal Feb 2007 A1
20070104180 Aizu et al. May 2007 A1
20070162486 Brueggemann et al. Jul 2007 A1
20070174158 Bredehoeft et al. Jul 2007 A1
20070260593 Delvat Nov 2007 A1
20070266384 Labrou et al. Nov 2007 A1
20070300172 Runge et al. Dec 2007 A1
20080098085 Krane et al. Apr 2008 A1
20080104615 Nolan et al. May 2008 A1
20080172632 Stambaugh Jul 2008 A1
20080208890 Milam Aug 2008 A1
20080222599 Nathan et al. Sep 2008 A1
20080231414 Canosa Sep 2008 A1
20080244077 Canosa Oct 2008 A1
20080244594 Chen et al. Oct 2008 A1
20080255782 Bilac et al. Oct 2008 A1
20080319947 Latzina et al. Dec 2008 A1
20090006391 Ram Jan 2009 A1
20090006467 Visscher Jan 2009 A1
20090150431 Schmidt et al. Jun 2009 A1
20090193148 Jung et al. Jul 2009 A1
20090259442 Gandikota et al. Oct 2009 A1
20090265760 Zhu et al. Oct 2009 A1
20090299990 Setlur et al. Dec 2009 A1
20090300060 Beringer et al. Dec 2009 A1
20090319518 Koudas et al. Dec 2009 A1
20090327337 Lee et al. Dec 2009 A1
20100017379 Naibo et al. Jan 2010 A1
20100017419 Francis et al. Jan 2010 A1
20100064277 Baird et al. Mar 2010 A1
20100077001 Vogel et al. Mar 2010 A1
20100094843 Cras Apr 2010 A1
20100125584 Navas May 2010 A1
20100125826 Rice et al. May 2010 A1
20100250440 Wang et al. Sep 2010 A1
20100257242 Morris Oct 2010 A1
20100281107 Fallows et al. Nov 2010 A1
20100286937 Hedley et al. Nov 2010 A1
20100287075 Herzog et al. Nov 2010 A1
20100293360 Schoop et al. Nov 2010 A1
20100332454 Prahlad Dec 2010 A1
20110078599 Guertler et al. Mar 2011 A1
20110078600 Guertler et al. Mar 2011 A1
20110099190 Kreibe Apr 2011 A1
20110137883 Lagad et al. Jun 2011 A1
20110138354 Hertenstein et al. Jun 2011 A1
20110145712 Pontier et al. Jun 2011 A1
20110145933 Gambhir et al. Jun 2011 A1
20110153505 Brunswig et al. Jun 2011 A1
20110154226 Guertler et al. Jun 2011 A1
20110161409 Nair et al. Jun 2011 A1
20110173203 Jung et al. Jul 2011 A1
20110173220 Jung et al. Jul 2011 A1
20110173264 Kelly Jul 2011 A1
20110208788 Heller et al. Aug 2011 A1
20110209069 Mohler Aug 2011 A1
20110219327 Middleton, Jr. et al. Sep 2011 A1
20110222838 Dachiku Sep 2011 A1
20110231592 Bleier et al. Sep 2011 A1
20110276360 Barth et al. Nov 2011 A1
20110307295 Steiert et al. Dec 2011 A1
20110307363 N et al. Dec 2011 A1
20110307405 Hammer et al. Dec 2011 A1
20110320525 Agarwal et al. Dec 2011 A1
20120005577 Chakra et al. Jan 2012 A1
20120059856 Kreibe et al. Mar 2012 A1
20120072435 Han Mar 2012 A1
20120072885 Taragin et al. Mar 2012 A1
20120078959 Cho et al. Mar 2012 A1
20120096429 Desai et al. Apr 2012 A1
20120131473 Biron, III May 2012 A1
20120136649 Freising et al. May 2012 A1
20120143970 Hansen Jun 2012 A1
20120144370 Kemmler et al. Jun 2012 A1
20120150859 Hu Jun 2012 A1
20120158825 Ganser Jun 2012 A1
20120158914 Hansen Jun 2012 A1
20120166319 Deledda et al. Jun 2012 A1
20120167006 Tillert et al. Jun 2012 A1
20120173671 Callaghan et al. Jul 2012 A1
20120179905 Ackerly Jul 2012 A1
20120197488 Lee et al. Aug 2012 A1
20120197852 Dutta et al. Aug 2012 A1
20120197856 Banka et al. Aug 2012 A1
20120197898 Pandey et al. Aug 2012 A1
20120197911 Banka et al. Aug 2012 A1
20120239381 Heidasch Sep 2012 A1
20120239606 Heidasch Sep 2012 A1
20120254825 Sharma et al. Oct 2012 A1
20120259932 Kang et al. Oct 2012 A1
20120284259 Jehuda Nov 2012 A1
20120311501 Nonez et al. Dec 2012 A1
20120311526 DeAnna et al. Dec 2012 A1
20120311547 DeAnna et al. Dec 2012 A1
20120324066 Alam et al. Dec 2012 A1
20130006400 Caceres et al. Jan 2013 A1
20130036137 Ollis et al. Feb 2013 A1
20130054563 Heidasch Feb 2013 A1
20130060791 Szalwinski et al. Mar 2013 A1
20130067031 Shedrinsky Mar 2013 A1
20130067302 Chen et al. Mar 2013 A1
20130073969 Blank et al. Mar 2013 A1
20130080898 Lavian et al. Mar 2013 A1
20130110496 Heidasch May 2013 A1
20130110861 Roy et al. May 2013 A1
20130124505 Bullotta et al. May 2013 A1
20130124616 Bullotta et al. May 2013 A1
20130125053 Brunswig et al. May 2013 A1
20130132385 Bullotta et al. May 2013 A1
20130166563 Mueller et al. Jun 2013 A1
20130166568 Binkert et al. Jun 2013 A1
20130166569 Navas Jun 2013 A1
20130173062 Koenig-Richardson Jul 2013 A1
20130179565 Hart et al. Jul 2013 A1
20130185593 Taylor et al. Jul 2013 A1
20130185786 Dyer et al. Jul 2013 A1
20130191767 Peters et al. Jul 2013 A1
20130207980 Ankisettipalli et al. Aug 2013 A1
20130211555 Lawson et al. Aug 2013 A1
20130246897 O'Donnell Sep 2013 A1
20130246906 Hamon Sep 2013 A1
20130262641 Zur et al. Oct 2013 A1
20130275344 Heidasch Oct 2013 A1
20130275550 Lee et al. Oct 2013 A1
20130290441 Linden Levy Oct 2013 A1
20130304581 Soroca et al. Nov 2013 A1
20140016455 Ruetschi et al. Jan 2014 A1
20140019432 Lunenfeld Jan 2014 A1
20140032531 Ravi et al. Jan 2014 A1
20140040286 Maldivica Inc. Feb 2014 A1
20140040433 Russell, Jr. Feb 2014 A1
20140095211 Gloerstad et al. Apr 2014 A1
20140156725 Mandyam Jun 2014 A1
20140164358 Benzatti Jun 2014 A1
20140223334 Jensen et al. Aug 2014 A1
20140282370 Schaefer et al. Sep 2014 A1
20150007199 Valeva Jan 2015 A1
20150058833 Venkata Naga Ravi Feb 2015 A1
20150127810 Cao May 2015 A1
20150271229 Bullotta et al. Sep 2015 A1
20150271271 Bullotta et al. Sep 2015 A1
20150271272 Mahoney et al. Sep 2015 A1
20150271295 Mahoney et al. Sep 2015 A1
20150271299 Bullotta et al. Sep 2015 A1
20150271301 Mahoney et al. Sep 2015 A1
Foreign Referenced Citations (6)
Number Date Country
0497010 Aug 1992 EP
1187015 Mar 2002 EP
WO-9921152 Apr 1999 WO
WO-0077592 Dec 2000 WO
WO-2008115995 Sep 2008 WO
WO-2014145084 Sep 2014 WO
Non-Patent Literature Citations (8)
Entry
Shi, L. et al., Understanding Text Corpora with Multiple Facets, IEEE Symposium on Visual Analytics Science and Technology (VAST), 99-106 (2010).
International Search Report, PCT/US2015/021867, 4 pages, Jul. 31, 2015.
International Search Report, PCT/US2015/021882, 4 pages, Jul. 30, 2015.
Written Opinion, PCT/US2015/021867, 12 pages, Jul. 31, 2015.
Written Opinion, PCT/US2015/021882, 13 pages, Jul. 30, 2015.
Hart Server, retrieved from 2001 internet archive of hartcomm.org http://www.hartcomm.org/server2/index.html, 13 pages (2001).
Ray, Erik T., Learning XML, First Edition, 277 pages (2001).
Final Office Action issued in related U.S. Appl. No. 14/222,083, mailed Aug. 15, 2016.
Related Publications (1)
Number Date Country
20150271109 A1 Sep 2015 US