Topic handling in MQTT networks
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsSrinivasa Rao Nalluri, Ari Keränen
Life of this patent
Estimating the term…
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.
Claims9
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.
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.
Dependencies are inferred from the claim text.