基于MQTT的物联网系统文件传输方法的实现
- 事了拂衣去
-
257 次阅读
-
141 次下载
- 共 6 页(2.78 M)
-
2023-10-07 18:02:05
点此付费下载 ¥ 5 知币
无需注册也可下载,点击付费按钮在弹框页面选择 "扫码直接下载”
在线预览效果若不佳,推荐下载后阅读 建议在PC浏览器扫码下载
文档简介(最多显示3000字):
第36卷 第1期 陕西科技大学学报 Vol.36No.1 2018年2月 Journal of Shaanxi University of Science &Technology Feb.2018* 文章编号:2096-398X(2018)01-0154-06基于MQTT的物联网系统文件传输方法的实现张玉杰,刘 丽,冯春倩,张婷婷(陕西科技大学电气与信息工程学院,陕西西安 710021)摘 要:针对物联网系统中设备与设备之间的文件传输需求,结合MQTT协议在物联网系统中的应用特点,提出了一种基于MQTT协议的文件传输方案,在文件拆分传输基础上增加应答、重传等机制,解决了MQTT协议在实现文件传输时硬件设备资源有限、传输过程中信道占用时间长、文件丢包等问题,实现了文件上传和下载等功能.最后通过搭建硬件平台,对文件传输的功能和可靠性进行测试,实验结果表明该文件传输方案可靠性好,适应于物联网系统中设备之间的远程文件传输.关键词:物联网;文件传输;MQTT;应答确认;超时重传中图分类号:TP368.2 文献标志码:AImplementation of file transfer method for Internetof things system based on MQTTZHANG Yu-jie,LIU Li,FENG Chun-qian,ZHANG Ting-ting(College of Electrical and Information Engineering,Shaanxi University of Science &Technology,Xi′an710021,China)Abstract:Aiming at the requirement of file transfer between equipment and equipment in In-ternet of things system,combined with the application characteristics of MQTT protocol inInternet of things system,a file transfer scheme based on MQTT protocol is proposed,theconfirmation reply,timeout retransmission mechanism is added on the basis of file splittransmission t to solves the problem during the MQTT protocol in fulfilling the file transferthat has limited resource resources,the channel takes a long time in the transmission processand packet,to achieve the file upload and download functions.Finally,the function and relia-bility of the file transfer are tested by setting up the hardware platform.The experimental re-sults show that the file transfer scheme is reliable,and it is suitable for the remote file trans-fer between the devices in the Internet of things system.Key words:Internet of things;file transfer;MQTT;the confirmation reply;timeout re-transmission*收稿日期:2017-08-25基金项目:陕西省科技厅科技计划项目(2017GY-091);西安市科技计划项目(2017068CG/RC031(SXKD006))作者简介:张玉杰(1966-),男,陕西咸阳人,教授,硕士生导师,研究方向:信息采集与处理、模式识别、嵌入式系统开发DOI:10.19481/j.cnki.issn2096-398x.2018.01.029
评论
发表评论