| CPC H04L 63/1416 (2013.01) [H04L 51/046 (2013.01); H04L 51/56 (2022.05)] | 20 Claims |

|
1. A device communication method based on a Message Queuing Telemetry Transport (MQTT) protocol, comprising:
receiving, by an MQTT topic management server, a first message reported by a controlled node, wherein the first message comprises a device Identifier (ID) of the controlled node;
generating, by the MQTT topic management server, a random topic corresponding to the device ID of the controlled node, and returning, by the MQTT topic management server, the random topic to the controlled node; and
after authenticating a controlling node, sending, by the MQTT topic management server, the random topic to the controlling node, so that the controlling node and the controlled node perform MQTT protocol communication by using the random topic.
|