Communication method and communication device

A communication method and client-side technology, applied in the field of communication, can solve problems such as reduced message forwarding performance, and achieve the effects of ensuring security and efficiency, ensuring security and improving efficiency

Active Publication Date: 2019-07-23
HUAWEI TECH CO LTD
View PDF8 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] In the existing publish / subscribe mode based on the MQTT protocol, the performance of message forwarding will decrease when there are a large number of clients

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method and communication device
  • Communication method and communication device
  • Communication method and communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] The following is a brief introduction to the concepts in the MQTT protocol.

[0078] In the MQTT protocol, the subscriber is the message consumer, and the publisher is the message generator. The relationship between the subscriber and the publisher is referred to as the topic ( topic) and topic filter (topic filter, TF) to establish a "connection". For the MQTT protocol, both message generators and message consumers are collectively referred to as clients.

[0079] MQTT message subscription and publishing are implemented based on topic names and topic filters. Therefore, topics are a bridge between subscribers in MQTT, which is very important. The concepts of topic names and topic filters are as follows:

[0080] Topic Name: The topic of the message publishing, which is a "clear" topic, and wildcards cannot be used.

[0081] Topic filter: The topic of the message subscription, which can contain special wildcards, allowing you to subscribe to multiple topics at a time. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a communication method and a communication device, and the method comprises the steps: carrying out the grouping of a plurality of clients, obtaining at least two equipment groups, wherein each equipment group of the at least two equipment groupscomprises at least two clients; receiving a release request sent by a first client, wherein the release request comprises first data, the first data corresponds to a first theme, and the release request is used for requesting the MQTT server to release the first data; and determining a first device group to which the first clientbelongs, and sending a release message to a second client in the first device group, the release message comprising the first data. According to the communication method provided by the embodiment ofthe invention, the MQTT server groups the clients, and publishes/subscribes messages in each equipment group, so that the efficiency and safety of message publish/subscribe can be enhanced.

Description

technical field [0001] The present application relates to the communication field, and more specifically, to a communication method and a communication device in the communication field. Background technique [0002] With the rapid development of intelligent hardware and mobile Internet technology, the Internet of Things technology is developing rapidly. However, due to its limited environmental characteristics, traditional Internet protocols are increasingly difficult to meet the needs of the Internet of Things. This is mainly reflected in the fact that mobile networks are expensive, Low bandwidth, poor reliability, and very limited processor and memory resources. At the same time, massive online devices under the Internet of Things generate huge data, which brings great network overhead and processing pressure to the cloud. In this context, the Message Queue Telemetry Transport (MQTT) protocol came into being. [0003] The MQTT protocol was originally an instant messaging...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/58H04L29/08
CPCH04L51/04H04L67/12H04L51/046H04L67/01H04L67/55
Inventor 崔高生程宝传林乐
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products