# US 12,010,091 B2 · Topic handling in MQTT networks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,010,091 B2
- Document ID: US12010091B2
- Status: Granted
- Kind: B2
- Application number: 16/611,741
- Filed: 2017-05-15
- Published: 2020-04-09
- Granted: 2024-06-11
- Earliest claimed: 2017-05-15
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Srinivasa Rao Nalluri; Ari Keränen
- Web page: https://patentgrep.com/patent/US12010091B2

## CPC

- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 67/55: Push-based network services
- H04W 8/26: Network addressing or numbering for mobility support
- H04W 80/04: Network layer protocols, e.g. mobile IP [Internet Protocol]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

There is provided mechanisms for configuring an MQTT client node with a topic prefix. A method is performed by the MQTT client node. The method comprises sending a request to a DHCP server for configuration. The method comprises receiving a response from the DHCP server. The response comprises configuration information and at least one prefix string defining the topic prefix to be used together with a topic by the MQTT client node when publishing data on said topic.

## Claims

### Claim 1

A method for configuring a Message Queue Telemetry Transport, MQTT, client node with a topic prefix, the method being performed by the MQTT client node, the method comprising:
sending a Dynamic Host Configuration Protocol, DHCP solicit message or a DHCP discover message, wherein the DHCP solicit message or the DHCP discover message comprises a request for configuration;
after sending the DHCP solicit message or the DHCP discover message, receiving a DHCP advertise message or a DHCP offer message comprising configuration information and at least one prefix string defining the topic prefix to be used together with a topic by the MQTT client node when publishing data on said topic, wherein the DHCP advertise message or the DHCP offer message was sent by a DHCP server; and
sending towards an MQTT broker node a publication message, wherein
the publication message comprises a topic identifier identifying said topic, data to be published, and the received prefix string as prefix to said topic, and
each of the at least one prefix string is provided in an MQTT protocol topic prefix, MQTT_TOPIC_PREFIX, data structure.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
registering with the MQTT broker node for at least one of publishing and subscribing to data at least on said topic.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
obtaining from the DHCP server a first unique prefix string for (i) a first application running on the MQTT client node that is to publish data or subscribe to data on said topic or (ii) a first user of the MQTT client node; and
obtaining from the DHCP server a second unique prefix string for (i) a second application running on the MQTT client node that is to publish data or subscribe to data on said topic or (ii) a second user of the MQTT client node.

### Claim 4 (depends on 1)

The method according to claim 1, wherein each of the at least one prefix string is a cryptographic hash of a medium access control, MAC, address of the MQTT client node.

### Claim 5 (depends on 1)

The method according to claim 1, wherein
the DHCP server is an Internet Protocol version six DHCP server, DHCPv6 server,
the request is sent in a DHCPv6 solicit message, and
the response is received in a DHCPv6 advertise message.

### Claim 6 (depends on 1)

The method according to claim 1, wherein
the DHCP server is an Internet Protocol version four DHCP server, DHCPv4 server,
the request is sent in a DHCPv4 discover message, and
the response is received in a DHCPv4 offer message.

### Claim 7 (depends on 1)

The method of claim 1, wherein the prefix string is unique to the MQTT client node among a plurality of MQTT client nodes.

### Claim 8 (depends on 1)

The method of claim 1, wherein
said at least one prefix string comprises a first part and a second part,
the first part defines the topic prefix, and
the second part identifies a particular user of the MQTT client node or a particular application of the MQTT client node.

### Claim 9

A Message Queue Telemetry Transport, MQTT, client node for configuring the MATT client node with a topic prefix, the MATT client node comprising:
a processing circuitry; and
a storage medium storing instructions that, when executed by the processing circuitry, cause the MATT client node to:
send a Dynamic Host Configuration Protocol, DHCP solicit message or a DHCP discover message, wherein the DHCP solicit message or the DHCP discover message comprises a request for configuration;
after sending the DHCP solicit message or the DHCP discover message, receive a DHCP advertise message or a DHCP offer message, the DHCP advertise message or the DHCP offer message comprising configuration information and at least one prefix string defining the topic prefix to be used together with a topic by the MATT client node when publishing data on said topic, wherein the DHCP advertise message or the DHCP offer message was sent by the DHCP server; and
send towards an MATT broker node a publication message, wherein
the publication message comprises a topic identifier identifying said topic, data to be published, and the received prefix string as prefix to said topic, and
each of the at least one prefix string is provided in an MATT protocol topic prefix, MQTT_TOPIC_PREFIX, data structure.
