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
CN113452743AActive Publication Date: 2021-09-28ZHEJIANG HUAYUN INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG HUAYUN INFORMATION TECH CO LTD
Publication Date
2021-09-28

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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