MQTT Topic-Payload Transformation for Runtime Format Compatibility

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

MQTT publishers and subscribers are tightly coupled, requiring manual coding and system updates to match topic-payload formats, which is cumbersome and time-consuming, especially when adding new subscribers.

Innovation Solution

A system that includes a transformation module external to the MQTT runtime environment, allowing dynamic conversion of topic-payload formats at runtime, enabling communication between MQTT clients with different formats without altering hard-coded configurations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual coding is used to match topic-payload formats between publishers and subscribers, then communication reliability is ensured, but system complexity and time consumption increase significantly when adding new subscribers

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a transformation module as an intermediary component between the MQTT runtime environment and subscribers. This module automatically transforms topic-payload formats based on configuration files, eliminating the need for manual coding in each subscriber. The intermediary handles format conversion centrally, reducing individual subscriber complexity while maintaining communication reliability through structured transformation rules.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary actions by pre-defining transformation rules in configuration files before runtime. When a new subscriber is added, the format transformation logic is already prepared in the configuration files, allowing the subscriber to immediately communicate with the publisher without manual coding. This preliminary preparation of transformation rules resolves the contradiction by ensuring reliability through predefined rules while reducing complexity through automation.

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If hard-coded topic-payload formats are used in MQTT clients, then format matching precision is maintained, but adaptability to new subscribers deteriorates

Engineering Contradiction:
Improveformat matching precisionVSAvoidadaptability to new subscribers
Core Design Contradiction:
Manufacturing precisionVSAdaptability or versatility

Solution Approach 1:

The patent transforms the static hard-coded format matching into a dynamic system. The transformation module reads configuration files at runtime and adapts the topic-payload format transformation based on the specific subscriber requirements. This dynamic approach maintains format matching precision through structured transformation rules while enabling adaptability to new subscribers by loading their specific format requirements from configuration files without modifying the core system code.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter representation of format matching from fixed hard-coded values to configurable parameters stored in files. The transformation module reads and applies format parameters from configuration files, allowing the same subscriber to work with different publishers using different formats. This parameterization maintains precision through defined transformation rules while providing adaptability through configurable parameters that can be adjusted for new subscribers without system updates.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If system updates are executed to add new subscribers with different formats, then communication compatibility is maintained, but time consumption and resource usage increase

Engineering Contradiction:
Improvecommunication compatibilityVSAvoidtime consumption
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary action by pre-defining all format transformation rules in configuration files before runtime. When a new subscriber is added, the system only needs to add or modify configuration file entries rather than executing system-wide updates. This preliminary preparation of transformation logic in external files maintains communication compatibility through structured rules while dramatically reducing time consumption by eliminating the need for system updates and recompilation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The transformation module acts as an intermediary that handles all format conversion logic centrally through configuration files. This intermediary approach maintains communication compatibility by ensuring all format transformations follow defined rules in the configuration files, while reducing time consumption by localizing the adaptation logic to file-based configurations rather than requiring system-wide updates. New subscribers can be integrated by simply adding their format specifications to the configuration files.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Ease of operation

If format transformation is performed externally at runtime, then ease of operation improves for adding new subscribers, but device complexity increases due to the transformation module

Engineering Contradiction:
Improveease of adding new subscribersVSAvoidcomplexity of transformation module
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent extracts the format transformation logic from the MQTT runtime environment itself and places it in an external transformation module that operates at runtime. This extraction improves ease of operation for adding new subscribers because the transformation rules are managed separately in configuration files rather than being embedded in the core runtime. The extracted module handles complexity isolately, allowing the main MQTT system to remain simple while the transformation functionality is added as a separate, manageable component.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12425485B2Servers, systems, and methods for automatically transforming a MQTT topic-payload into any format
Publication Date: 2025.09.23 AVEVA SOFTWARE LLC
  • US12425485B2 patent drawing
  • US12425485B2 patent drawing
  • US12425485B2 patent drawing

AI summary

In some embodiments, the disclosure is directed to systems and methods for automatically generation multiple topic-payload with different formats using a single instance of a topic-payload hard coded into an MQTT client. In some embodiments, the system is configured to allow a user to alter the output of an MQTT client while the MQTT program is executing in a runtime environment. In some embodiments, the system includes instructions hard coded into the MQTT client that cause the client to communication with a transformation module not executing in the runtime environment. In some embodiments, instructions stored on the transformation module can be updated and referenced during a publish and/or subscribe operation. In some embodiments, the MQTT client includes one or more of a publisher, a broker, and a client.