MQTT Message Segmentation via UUID and Segment Number Fields
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
MQTT implementations face limitations due to size constraints and efficiency concerns, resulting in a maximum message size limit that restricts the adoption and usage of MQTT services, especially for applications requiring larger message sizes.
Innovation Solution
The introduction of two new fields within the MQTT message format: a universally unique identifier (UUID) and a segment number, allowing for the segmentation of large messages into smaller segments and subsequent reassembly, which enables the transmission of messages exceeding the maximum transport unit (MTU) without incurring additional costs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If MQTT message size limit is increased to support larger messages, then message transmission capability is improved, but system complexity and cost increase
Solution Approach 1:
The patent divides large MQTT messages into multiple smaller segments, each fitting within the existing MTU limit. Each segment is assigned a segment number and total segment count, allowing the broker to reassemble them into the complete original message. This approach enables support for large messages without requiring changes to the underlying transport layer or increasing system complexity.
2Quantity of substance
If MQTT message size limit is increased to support larger messages, then message transmission capability is improved, but service cost increases
Solution Approach 1:
By segmenting large messages into smaller units that fit within existing MTU constraints, the patent avoids the need to upgrade infrastructure or pay for higher-tier service plans. The segmentation is handled transparently by the MQTT broker using existing protocol mechanisms, allowing large message transmission without incurring additional costs.
3Quantity of substance
If message segmentation is implemented, then large message transmission is enabled, but processing overhead increases
Solution Approach 1:
The patent implements segmentation by adding minimal metadata (segment number and total segments) to each message segment. The MQTT broker performs automatic reassembly of segments into complete messages, distributing the processing load efficiently. This approach enables large message transmission while keeping processing overhead manageable through automated, protocol-level handling.
Data Source
AI summary
This disclosure describes a method for segmenting large MQTT messages that exceed a maximum transport unit (MTU) for MQTT messages into smaller segments and then reassembling the segments into the original MQTT message. More particularly, the techniques and architecture provide two new fields within an existing MQTT message. In configurations, the two new fields may include a universally unique identifier (UUID) and a segment number. These two new fields enable segmentation of arbitrarily large messages at a publisher side of the MQTT message and reassembly of the segments of the large messages at the subscriber side so that the message size limitation may be overcome. This can allow for larger MQTT messages to be transmitted without the increased cost of larger maximum transport units.


