MQTT protocol and COAP protocol fusion algorithm

A technology that integrates algorithms and protocols, applied in the field of Internet of Things communication, can solve problems such as large protocol differences and communication difficulties, and achieve the effect of reducing costs and improving data transmission efficiency

Active Publication Date: 2021-09-28
ZHEJIANG HUAYUN INFORMATION TECH CO LTD
View PDF17 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention mainly solves the problem of difficulty in communication caused by large differences in protocols used by IoT devices in the prior art; provides a fusion algorithm of MQTT protocol and COAP protocol, is compatible with multi-protocol conversion, and does not change the original data transmission of IoT devices agreements, lower costs

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
  • MQTT protocol and COAP protocol fusion algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0017] Embodiment: a kind of MQTT agreement and COAP agreement fusion algorithm, such as figure 1 As shown, it includes the following steps: establish a protocol fusion component, connect the component with a cloud server or a terminal device, and the terminal device includes a PC terminal device or a mobile terminal device; the protocol fusion component includes an MQTT server and a COAP server, and the MQTT server and the COAP server pass Local communication connection; determine the protocol information used by IoT devices and terminal devices; if both IoT devices and terminal devices use the same communication protocol, the protocol fusion component will distribute data and send the collected information of several IoT devices to the terminal device or send the collected information of the IoT device to several terminal devices; if the IoT device and the terminal device do not use the same communication protocol, after the message conversion is performed by the MQTT server ...

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 discloses an MQTT protocol and COAP protocol fusion algorithm, which comprises the following steps: establishing a protocol fusion component, and connecting the component with a cloud server or terminal equipment, wherein the protocol fusion component comprises an MQTT server and a COAP server; judging protocol information used by the Internet of Things equipment and the terminal equipment; if the Internet of Things devices and the terminal devices adopt the same communication protocol, sending the collection information of the plurality of Internet of Things devices to the terminal devices or sending the collection information of the Internet of Things devices to the plurality of terminal devices; if the Internet of Things equipment and the terminal equipment do not adopt the same communication protocol, performing message conversion through the MQTT server and the COAP server; According to the invention, coexistence of TCP and UDP protocols is solved through the MQTT server and the COAP server, multi-protocol conversion is compatible, the original data transmission protocol of the Internet of Things equipment is not changed, and the cost is effectively reduced.

Description

technical field [0001] The invention relates to the technical field of Internet of Things communication, in particular to a fusion algorithm of the MQTT protocol and the COAP protocol. Background technique [0002] The COAP (Constrained Application Protocol) protocol is a network-oriented protocol that is mainly used in IoT scenarios. In order to overcome the disadvantages of HTTP for constrained environments, COAP not only considers the optimization of datagram length, but also provides reliable communication. COAP is carried by UDP and follows the basic UDP protocol message format, and UDP data content is written and transmitted according to the COAP protocol message format. The COAP protocol adopts features similar to HTTP. The core content is resource abstraction, REST-style interaction, and extensible header options, etc., and supports embedded resource discovery. [0003] In an IoT environment, there are many types of devices and environments in which they work. For...

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): H04L29/08H04L29/06
CPCH04L67/12H04L69/08H04L69/18H04L69/22
Inventor 邬慧慧孙晨周旭光段光陈荣君黄笑笑张小健
Owner ZHEJIANG HUAYUN INFORMATION 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