基于移动终端的IoT模拟器设计与教学应用
Design and teaching application of IoT simulator based on mobile terminal
摘要 物联网实验教学过程中,基于MQTT over WebSocket通信模式,设计开发小程序作为物联网虚拟化实验的模拟设备,实现物联网上层业务开发.能够有效解决传统实验中,硬件开发涉及电路板接线、固件编译和烧录、串口联调等影响实验教学效率的问题.微程序可以在微信内被便捷地获取和传播实验数据,并兼具出色的用户体验.设计MQTT模拟器小程序的实现原理、开发过程、开发源码,完善云端远程开放平台与终端之间的业务场景,补足高校物联网实验课程混合教学方法的短板.同时,结合已有的分布式云端IoT平台,设计虚拟化物联网设备,将其纳人物联网实验教学课程体系,进一步拓展边缘设备的扩展能力和网络计算性能.
Abstract:
In the IoT scenario,hardware development involves circuit board wiring,firmware compila-tion and burning,serial port joint debugging,etc.,which seriously affects development efficiency.WeChat applets can be easily acquired and disseminated within WeChat,while having an excellent us-er experience.With the help of WeChat and MQTT over WebSocket,the applet can be used as an an-alog device to facilitate the development of upper-level services for IoT.This solution mainly completes the realization principle and complete development process of the MQTT simulator applet,and provides complete source code to facilitate the realization of own equipment simulation needs according to busi-ness scenarios.At the same time,the current IoT experiment courses in colleges and universities lack online resources.Combined with this IoT cloud platform,the simulation of sensor-side applets and vir-tualization of IoT devices can well support the opening and remote of course experiments and the expan-sion of edge devices and network computing power.
刊 名 实验室科学
年,卷(期): 2026, 29(4)
分类号: G482
机标分类号: TP311.52 TN915.04 G434
在线出版日期: 2026年9月24日
基金项目: 61175062:国家自然科学基金2023IT011:教育部人文社会科学研究项目,