학술논문
利用MQTT通信实现图像广播功能 / Utilizing MQTT Communication to Achieve Image Broadcasting Function
Document Type
Academic Journal
Author
Source
福建电脑 / Fujian Computer. 40(1):94-98
Subject
Language
Chinese
ISSN
1673-2782
Abstract
图像广播功能不仅可以降低项目建设成本,而且能够提高图像采集设备的利用效率.为有效解除应用程序耦合及简化代码复杂度,本文提出一种基于MQTT通信的图像广播功能的方案.该系统采用EMQX软件搭建MQTT服务端,使用paho-mqtt客户端库创建客户端应用程序,并采用BASE64对图像进行编解码.测试结果表明,该图像广播系统基本达到了设计要求.
The image broadcasting function can not only reduce project construction costs,but also improve the utilization efficiency of image acquisition equipment.To effectively decouple applications and simplify code complexity,this article proposes a solution for image broadcasting based on MQTT communication.The system uses EMQX software to build an MQTT server,uses the paho mqtt client library to create a client application,and uses BASE64 to encode and decode images.The test results indicate that the image broadcasting system basically meets the design requirements.
The image broadcasting function can not only reduce project construction costs,but also improve the utilization efficiency of image acquisition equipment.To effectively decouple applications and simplify code complexity,this article proposes a solution for image broadcasting based on MQTT communication.The system uses EMQX software to build an MQTT server,uses the paho mqtt client library to create a client application,and uses BASE64 to encode and decode images.The test results indicate that the image broadcasting system basically meets the design requirements.