Binary Dynamic REST API Protocol for IoT Bandwidth Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current communication protocols for machine-to-machine communications, such as HTTP RESTful API, are inefficient due to verbosity and unidirectional limitations, leading to high latency and bandwidth consumption, which hinders scalability and operability in IoT applications.
Innovation Solution
A compressed and binarized dynamic REST API protocol using WebSocket connections for efficient, low-latency, bidirectional communication, reducing message size by over 50% through exclusion of verbose notation and replacement with binary symbols, and facilitating chunked message transmission to alleviate memory constraints.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If HTTP RESTful API with JSON/XML is used for communication, then flexibility and open standard compliance are improved, but message verbosity and bandwidth consumption increase
Solution Approach 1:
The patent changes the parameter of message format from human-readable text (JSON/XML) to binary representation. This transformation maintains the same data structure and semantics while dramatically reducing message size by eliminating verbose notation, quotes, and structural delimiters inherent in text-based formats.
Solution Approach 2:
The patent substitutes the mechanical/text-based communication system with a binary/digital representation system. By replacing human-readable text with binary symbols, the system achieves more efficient transmission while maintaining compatibility with the underlying RESTful architecture and data models.
2Adaptability or versatility
If HTTP polling is used to overcome unidirectional communication limitations, then bidirectional communication capability is improved, but latency and server utilization increase
Solution Approach 1:
The patent implements persistent WebSocket connections that maintain a continuous, open communication channel between client and server. This eliminates the need for repeated HTTP request-response cycles, allowing both parties to send messages at any time without waiting for the other to initiate a new connection, thus achieving true bidirectional communication with minimal latency.
3Quantity of substance
If compressed and binarized dynamic REST API protocol is used, then bandwidth efficiency is improved, but message complexity and processing requirements increase
Solution Approach 1:
The patent performs message compression and binarization in advance, during the message creation phase, rather than compressing at transmission time. By pre-processing messages into compact binary format using defined schemas and codecs, the system reduces the computational burden during transmission and reception while maintaining efficient bandwidth utilization.
Data Source
AI summary
A system and method of a communication device including a port configured to receive a plurality of binary data streams having a binary header and a binary body. The device includes a memory storing a first message structure description of the binary header and the binary body, and a second message structure description of a metadata construct of the message. The device includes a processor configured to parse a received binary data stream using the first message structure description to determine the binary header and the binary body. The processor parses the binary body using the second message structure description to determine the one or more groups of description values forming the metadata construct. 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.


