基于鸿蒙系统和OTA技术的农业大棚测控系统OA
Measurement and Control System of Agricultural Greenhouse based on Harmony OS and OTA Technology
针对目前农业大棚物联网终端软件升级灵活性低、维护成本较高,棚内环境监控智能化程度低等问题,设计了一种基于鸿蒙系统和OTA技术(Over-The-Air technology,空中下载技术)的农业大棚测控系统.在OTA固件升级过程中加入签名、验签流程,确保OTA文件的合法性和完整性,提高系统的安全性.采用Hi3861 WLAN模组搭载鸿蒙系统,结合环境参数传感器模块、OLED显示模块实现对空气温湿度、光照强度、二氧化碳浓度等环境参数的实时采集和显示.使用WiFi通信结合MQTT(Message Queuing Telemetry Transport,消息队列遥测传输)协议将基于Django开发的Web设备管理系统和基于鸿蒙系统的终端设备相结合,通过浏览器登录Web设备管理系统,可实现系统的远程控制,如查看环境数据、开/关照明设备或通风电机等,可实现对终端设备进行OTA固件升级.测试结果表明,该系统能够有效地完成空气温度、空气湿度、光照强度、二氧化碳浓度等环境数据的实时监测,能够通过Web设备对终端环境进行远程监测和控制,对终端设备进行OTA固件升级.
Aiming at the problems of low flexibility and high maintenance cost for the upgrade and maintenance of the Internet of Things terminal software in agricultural greenhouses,and low intellectualization of environmental monitoring in the greenhouses,an agricultural greenhouses measurement and control system based on Harmony OS and OTA technology(Over-The-Air technology)was researched and designed.To ensure the validity and integrity of the OTA file and improve the security of the system,the signature and verification processes are added during the OTA firmware upgrade process.In this study,the Hi3861 WLAN module equipped with Harmony OS,combined with the environmental parameter sensor module and the OLED display module,realizes the real-time acquisition and display of environmental parameters such as air temperature and humidity,light intensity,and carbon dioxide concentration.Using WiFi communication combined with MQTT(Message Queuing Telemetry Transport)protocol,the Web device management system based on Django and the terminal device based on Harmony OS were combined.The greenhouse environment data can be viewed,the greenhouse facilities can be controlled accordingly,and the OTA firmware upgrade of the terminal equipment can be carried out.The test results show that the system can effectively complete the real-time monitoring of the agricultural greenhouse air temperature,air humidity,light intensity,carbon dioxide concentration,and other environmental data,and can remotely monitor and control the agricultural greenhouse through the Web equipment management system,and can perform OTA firmware upgrade of the terminal equipment.
罗玉海;王椿曦;熊正烨
广东海洋大学电子与信息工程学院,广东 湛江 524088广东海洋大学电子与信息工程学院,广东 湛江 524088广东海洋大学电子与信息工程学院,广东 湛江 524088
计算机与自动化
鸿蒙系统OTA技术农业大棚MQTT协议
Harmony OSOTA technologyagricultural greenhouseMQTT protocol
《现代农业装备》 2023 (6)
31-37,75,8
湛江市科技计划项目(2022A05022)广东省研究生示范课程建设项目(2021SFKC050)
评论