Protocol Gateway Batching MQTT to HTTP Payloads

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing technologies face challenges in enabling efficient communication between Internet devices using HTTP/HTTPS protocols and IoT devices using MQTT protocols due to the lack of protocol support in many devices, making interconversion difficult.

Innovation Solution

A method for interconversion between protocols involves pre-establishing a publication/subscription list to record relationships between publishers and subscribers, extracting packet data payloads based on protocol types, determining payload sizes, and performing protocol conversion when necessary to send packets to corresponding subscribers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If protocol conversion is performed for every packet between MQTT and HTTP/HTTPS, then communication compatibility between IoT devices and Internet devices is improved, but data transmission efficiency deteriorates due to increased processing overhead

Engineering Contradiction:
Improveprotocol compatibilityVSAvoiddata transmission efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent combines multiple small packet data payloads into a single batch for processing and transmission. The gateway accumulates packets from multiple IoT devices and merges their payloads before converting to HTTP/HTTPS format, reducing the number of conversion operations and improving transmission efficiency while maintaining protocol compatibility

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent performs preliminary extraction of packet data payloads from MQTT packets before protocol conversion. By separating the payload extraction step from the full protocol conversion process, the system prepares data in advance for efficient batch processing and reduces the processing overhead of individual packet conversions

Inventive Principle:
Principle #10Preliminary action

2Speed

If packet data payloads are sent individually to subscribers, then real-time communication is improved, but data transmission efficiency deteriorates due to increased network overhead

Engineering Contradiction:
Improvereal-time communication speedVSAvoiddata transmission efficiency
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The patent merges packet data payloads from multiple sources into batches before transmission to HTTP/HTTPS subscribers. By combining multiple small payloads into larger batch transmissions, the system reduces network overhead and improves transmission efficiency while still maintaining acceptable real-time communication through controlled batching with preset waiting durations

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If protocol conversion is performed for each packet, then communication accuracy between different protocols is improved, but processing overhead increases reducing overall system performance

Engineering Contradiction:
Improvecommunication accuracyVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary extraction of packet data payloads from MQTT packets before protocol conversion to HTTP/HTTPS. By separating payload extraction from the full conversion process and processing payloads in batches, the system reduces the computational overhead of individual packet conversions while maintaining communication accuracy through structured batch processing and protocol type matching

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11743364B2Method for interconversion between protocols
Publication Date: 2023.08.29 BEIJING JIAOTONG UNIV
  • US11743364B2 patent drawing
  • US11743364B2 patent drawing
  • US11743364B2 patent drawing

AI summary

A method for interconversion between protocols, including the following steps: pre-establishing a publication/subscription list; when a packet published by a publisher is received, searching the publication/subscription list for a protocol type of the packet; extracting a packet data payload from the packet; determining whether a size of the packet data payload is less than a preset combination threshold; if yes, sending the packet data payload to a packet data payload queue of the publisher, and combining a packet data payload in the packet data payload queue when a size of the packet data payload queue reaches a preset transmission threshold or no new packet is received after a preset waiting duration; searching the publication/subscription list for all subscribers corresponding to the publisher; and performing protocol conversion on the packet one by one based on protocol types used by the corresponding subscribers, and sending protocol-converted packets to the corresponding subscribers.