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...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | English French German |
Published |
24.02.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | 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. In the communication method in embodiments of this application, the MQTT server groups the clients, and performs message publishing/subscription in each device group, thereby improving efficiency and security of message publishing/subscription. |
---|---|
Bibliography: | Application Number: EP20190740907 |