MQTT Message Segmentation via UUID and Segment Number Fields

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvemessage sizeVSAvoidsystem complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

2Quantity of substance

If MQTT message size limit is increased to support larger messages, then message transmission capability is improved, but service cost increases

Engineering Contradiction:
Improvemessage sizeVSAvoidservice cost
Core Design Contradiction:
Quantity of substanceVSLoss of energy

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.

Inventive Principle:
Principle #1Segmentation

3Quantity of substance

If message segmentation is implemented, then large message transmission is enabled, but processing overhead increases

Engineering Contradiction:
Improvemessage sizeVSAvoidprocessing overhead
Core Design Contradiction:
Quantity of substanceVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12052325B1Segmenting large message queuing telemetry transport (MQTT) messages in a service provider network
Publication Date: 2024.07.30 AMAZON TECH INC
  • US12052325B1 patent drawing
  • US12052325B1 patent drawing
  • US12052325B1 patent drawing

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.