COMMUNICATION METHOD AND COMMUNICATION APPARATUS
This application provides a communication method and a communications apparatus. The communication method includes: grouping a plurality of clients to obtain at least two device groups, where each of the at least two device groups includes at least two clients; receiving a publish request sent by a...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application provides a communication method and a communications apparatus. The communication method includes: grouping a plurality of clients to obtain at least two device groups, where each of the at least two device groups includes at least two clients; receiving a publish request sent by a first client, where the publish request includes first data, the first data corresponds to a first topic, and the publish request is used to request the MQTT server to publish the first data; and determining a first device group to which the first client belongs from the at least two device groups, and sending a publish message to a second client in the first device group, where the publish message includes the first data. |
---|