Communication method and communication apparatus for message queue telemetry transport

US11411897B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11411897-B2
Application numberUS-202016928204-A
CountryUS
Kind codeB2
Filing dateJul 14, 2020
Priority dateJan 16, 2018
Publication dateAug 9, 2022
Grant dateAug 9, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application provides a communication method that 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. The method further includes receiving a publish request sent by a first client, where the publish request includes first data that corresponds to a first topic. The publish request is used to request a message queue telemetry transport (MQTT) server to publish the first data. After it is determined that a first device group to which the first client belongs from the at least two device groups, a publish message that includes the first data is sent to a second client in the first device group.

First claim

Opening claim text (preview).

What is claimed is: 1. A communication method, wherein the method is applied to a message queue telemetry transport (MQTT) server, and the method comprises: grouping a plurality of clients to obtain at least two device groups, wherein each of the at least two device groups comprises at least two clients, including determining a grouping condition, wherein the grouping condition is specified by a preset grouping rule and comprises a condition that identity identifiers of clients grouped into a same device group need to satisfy, and one identity identifier can uniquely indicate one client, and grouping the plurality of clients based on the identity identifiers of the plurality of clients and the grouping condition; receiving a publish request sent by a first client, wherein the publish request comprises 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 selecting, using an identity identifier of the first client, a first device group to which the first client belongs, wherein the first device group is either device group in the at least two device groups, and sending a publish message to a second client in the first device group, wherein the publish message comprises the first data. 2. The method according to claim 1 , wherein before the receiving a publish request sent by a first client, the method further comprises: receiving a subscribe request sent by the second client, wherein the subscribe request carries indication information of the first topic, and the subscribe request is used to request the MQTT server to send data corresponding to the first topic to the second client. 3. The method according to claim 1 , wherein before the grouping the plurality of clients based on the identity identifiers of the plurality of clients and the grouping condition, the method further comprises: receiving identification information of each client in the plurality of clients sent by the client, wherein the identification information of the client is used to indicate the identity identifier of the client. 4. The method according to claim 1 , wherein the determining a first device group to which the first client belongs comprises: determining the first device group based on the identity identifier of the first client and the grouping condition. 5. The method according to claim 1 , wherein before the grouping a plurality of clients, the method comprises: determining that each client in the plurality of clients allows being grouped into a device group. 6. The method according to claim 5 , wherein the determining that each client in the plurality of clients allows being grouped into a device group comprises: receiving a grouping flag sent by each client in the plurality of clients, wherein each grouping flag is used to indicate whether a corresponding client allows being grouped into a device group. 7. The method according to claim 6 , wherein the grouping flag is carried in a connection request message, wherein the connection request message is used to request to establish a connection with the MQTT server. 8. A communications apparatus, wherein the apparatus is applied to a message queue telemetry transport (MQTT) server comprising: a memory and one or more processors, the one or more processors including: a grouping unit, configured to group a plurality of clients, to obtain at least two device groups, wherein each of the at least two device groups comprises at least two clients, the grouping unit being further configured to determine a grouping condition, wherein the grouping condition is specified by a preset grouping rule and comprises a condition that identity identifiers of clients grouped into a same device group need to satisfy, and one identity identifier can uniquely indicate one client, and group the plurality of clients based on the identity identifiers of the plurality of clients and the grouping condition; a receiving unit, configured to receive a publish request sent by a first client, wherein the publish request comprises 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; a determining unit, configured to use an identity identifier of the first client to select a first device group to which the first client belongs, wherein the first device group is either device group in the at least two device groups; and a sending unit, configured to send a publish message to a second client in the first device group, wherein the publish message comprises the first data. 9. The apparatus according to claim 8 , wherein the receiving unit is further configured to receive a subscribe request sent by the second client, wherein the subscribe request carries indication information of the first topic, and the subscribe request is used to request the MQTT server to send data corresponding to the first topic to the second client. 10. The apparatus according to claim 8 , wherein the receiving unit is further configured to: before grouping the plurality of clients based on the identity identifiers of the plurality of clients and the grouping condition, receive identification information of each client in the plurality of clients sent by the client, wherein the identification information of the client is used to indicate the identity identifier of the client. 11. The apparatus according to claim 8 , wherein the determining unit is configured to select the first device group based on the identity identifier of the first client and the grouping condition. 12. The apparatus according to claim 8 , wherein the determining unit is further configured to: before the MQTT server groups the plurality of clients, determine that each client in the plurality of clients allows being grouped into a device group. 13. The apparatus according to claim 12 , wherein that the determining unit determines that each client in the plurality of clients allows being grouped into a device group comprises: receiving, by the receiving unit, a grouping flag sent by each client in the plurality of client, wherein each grouping flag is used to indicate whether a corresponding client allows being grouped into a device group. 14. The apparatus according to claim 13 , wherein the grouping flag is carried in a connection request message, wherein the connection request message is used to request to establish a connection with the MQTT server.

Assignees

Inventors

Classifications

  • H04L51/04Primary

    Real-time or near real-time messaging, e.g. instant messaging [IM] · CPC title

  • H04L51/046Primary

    Interoperability with other network applications or services · CPC title

  • specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks · CPC title

  • Push-based network services · CPC title

  • Electricity · mapped topic

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11411897B2 cover?
This application provides a communication method that 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. The method further includes receiving a publish request sent by a first client, where the publish request includes first data that corresponds to a first topic. The publish request is used…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L51/04. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 09 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).