基于微服务架构的城市土壤污染物联网监测及可视化系统研发

王汉雨, 周永章, 许娅婷, 王维曦, 曹伟, 刘永强, 贺炬翔, 陆可飞

PDF(5690 KB)
PDF(5690 KB)
地学前缘 ›› 2024, Vol. 31 ›› Issue (4) : 165-182. DOI: 10.13745/j.esf.sf.2024.5.12
物联网在线监测大数据

基于微服务架构的城市土壤污染物联网监测及可视化系统研发

作者信息 +

IoT monitoring and visualization of urban soil pollution based on microservice architecture

Author information +
History +

摘要

土壤污染具有累积性、隐蔽性、潜在性和不可逆性,对城市土壤污染进行预防和科学系统的监测至关重要。传统监测方法存在时效性差、数据处理能力有限等问题,无法满足城市土壤污染预防和科学系统监测的需求。本研究旨在开发一套能够实时在线监测、处理和分析城市土壤污染数据的系统,以提高预测和预警的时效性。基于微服务框架Spring Cloud Alibaba,整合开发基于EMQX平台的订阅端,实现土壤数据的采集和入库。同时,开发与Geoserver服务器对接的WebGIS功能模块,利用OpenLayers渲染地图和土壤元素浓度图,实现对土壤状态的监控和可视化分析,进而实现对土壤污染的预测和预警。突破相关监测元素的传感器技术,可以实现城市土壤污染的物联网实时在线监测,处理和分析土壤污染数据,显著提高土壤污染预测和预警的时效性。

Abstract

The nature of soil pollution—cumulative, hidden, latent, irreversible—makes it essential that urban soil pollution should be closely monitored and prevented. However, traditional monitoring methods cannot perform real-time pollution monitoring and have limited data processing capabilities. To address this issue, we aim to develop a pollution prediction and early warning system capable of real-time online monitoring, processing, and analyzing urban soil pollution data. In this paper we report the development of a monitoring and data visualization system based on microservice framework Spring Cloud Alibaba, whereby integrating the EMQX platform soil data are successfully collected and stored. Additionally, we develop a WebGIS module that interfaces with Geoserver—this module utilizes OpenLayers to render maps and soil element concentration charts, enabling the monitoring and visual analysis of soil conditions. We believe with breakthroughs in sensor technologies relating to chemical monitoring, real-time online monitoring, processing, and analysis of soil pollution data through Internet of Things (IoT) can be achieved. The IoT monitoring and visualization system has been tested and its effectiveness in identifying pollution changes, predicting trends, and devising effective prevention and control measures are demonstrated. Most importantly, practical applications confirm the system's notable advantages in enhancing the timeliness of soil pollution prediction and early warning.

关键词

城市土壤污染 / 物联网监测 / 微服务架构 / Spring Cloud Alibaba / Docker / 可视化系统 / 大数据

Key words

urban soil pollution / Internet of Things / microservice architecture / Spring Cloud Alibaba / Docker / visualization system / big data

中图分类号

X142;X833;X84

引用本文

导出引用
王汉雨 , 周永章 , 许娅婷 , . 基于微服务架构的城市土壤污染物联网监测及可视化系统研发. 地学前缘. 2024, 31(4): 165-182 https://doi.org/10.13745/j.esf.sf.2024.5.12
Hanyu WANG, Yongzhang ZHOU, Yating XU, et al. IoT monitoring and visualization of urban soil pollution based on microservice architecture[J]. Earth Science Frontiers. 2024, 31(4): 165-182 https://doi.org/10.13745/j.esf.sf.2024.5.12

参考文献

[1]
张甘霖, 朱永官, 傅伯杰. 城市土壤质量演变及其生态环境效应[J]. 生态学报, 2003, 23(3): 539-546.
[2]
邓飞, 郁斯贻, 朱梦杰. 土壤污染现状与监测方法概述[J]. 绿色科技, 2019(16): 181-183.
[3]
嵇华. 土壤环境污染监测技术的应用发展现状[J]. 化工管理, 2021(15): 165-166.
[4]
方銮燕. 城市表层土壤重金属污染监测[J]. 环境与发展, 2018, 30(4): 152-153.
[5]
国家环境保护总局. 土壤环境监测技术规范: HJ/T 166—2004[S]. 北京: 中国环境出版社, 2004.
[6]
姜德民. 土壤环境污染监测技术及方法[J]. 黑龙江环境通报, 2022, 46(4): 79-81.
[7]
肖宇. 土壤环境污染监测及治理措施[J]. 资源节约与环保, 2023(1): 55-58.
[8]
林娟, 张乐, 胡海锋, 等. 商洛市土壤污染防治现状及对策[J]. 现代农业科技, 2022(9): 147-149.
[9]
孙其博, 刘杰, 黎羴, 等. 物联网: 概念、架构与关键技术研究综述[J]. 北京邮电大学学报, 2010, 33(3): 1-9.
[10]
AL-FUQAHA A, GUIZANI M, MOHAMMADI M, et al. Internet of Things: a survey on enabling technologies, protocols, and applications[J]. IEEE Communications Surveysand Tutorials, 2015, 17(4): 2347-2376.
[11]
GAO S Z, SHI Z S. Industrial Internet cloud platform system based on EMQX[M]// Lecture notes in electrical engineering. Singapore: Springer, 2021: 183-192.
[12]
LING F, QING J, TIAN L. Design of data acquisition and control system based on MQTT[J]. International Journal of Frontiers in Sociology, 2020, 2(6): 24-31.
[13]
HOSKE M T. MQTT eases software development for Industrial Internet of Things: serving as a universal message transport for Industrial Internet of things (IIoT) application development, MQTT can be used to decouple devices from applications, thereby freeing infrastructures from any single operating system, application, or hardware platform[J]. Control Engineering, 2016, 63(11): 22-23.
[14]
QUINCOZES S, EMILIO T, KAZIENKO J. MQTT protocol: fundamentals, tools and future directions[J]. IEEE Latin America Transactions, 2019, 17(9): 1439-1448.
[15]
SANJUAN E B, ABAD CARDIEL I, CERRADA J A, et al. Message queuing telemetry transport (MQTT) security: a cryptographic smart card approach[J]. IEEE Access, 2020, 8: 115051-115062.
[16]
PHAM L M, LE N T T, NGUYEN X T. Multi-level just-enough elasticity for MQTT brokers of Internet of Things applications[J]. Cluster Computing, 2022, 25(6): 3961-3976.
[17]
EMQX. EMQX文档: 安全指南[EB/OL].(2023-07-14)[2023-08-21]. https://www.emqx.io/docs/zh/v5.1/access-control/security-guide.html.
[18]
LI L. dromara/RuoYi-Cloud-Plus[EB/OL]. (2023-03-14)[2023-08-23]. https://gitee.com/dromara/RuoYi-Cloud-Plus.
[19]
CHOPADE R, PACHGHARE V. A data recovery technique for Redis using internal dictionary structure[J]. Forensic Science International: Digital Investigation, 2021, 38: 301218.
[20]
邱宇. 基于MinI0分布式存储的微服务模块开发应用[J]. 互联网周刊, 2023(22): 38-40.
[21]
鲍珊珊, 侯伟, 赵辉, 等. 基于Web应用的全流程自动化性能测试方法分析[J]. 信息技术与标准化, 2023(10): 42-47.
[22]
BERNSTEIN D. Containers and cloud: from LXC to docker to Kubernetes[J]. IEEE Cloud Computing, 2014, 1(3): 81-84.
[23]
刘光, 曾敬文, 曾庆丰. Web GlS原理与应用开发[M]. 北京: 清华大学出版社, 2016.
[24]
YONG S. Abrowser/server product data management system[C]// 2010 Asia-Pacific Conference on Power Electronics and Design. Wuhan, China, IEEE, 2010: 43-46.
[25]
刘伯涛. 基于WebGIS的森林资源监管系统关键技术研究与实现[D]. 西安: 西安科技大学, 2021.
[26]
尤其浩. 基于WebGIS的土壤污染评价与三维可视化系统研究[D]. 杭州: 浙江大学, 2020.
[27]
蒋前凯, 李永树, 李何超, 等. 基于Web GIS的城镇近郊区空心化村庄信息系统的开发与设计[J]. 测绘与空间地理信息, 2018, 41(2): 68-71.
[28]
高文逸, 龚晓峰, 雒瑞森. 基于数据分析技术的无线电监测与管理系统设计[J]. 现代电子技术, 2021, 44(20): 12-16.
[29]
张大鹏, 张锦, 郭敏泰, 等. 开源WebGIS软件应用开发技术和方法研究[J]. 测绘科学, 2011, 36(5): 193-196.
[30]
郭鹏程, 李广宇. 基于GeoServer的地学数据共享系统设计与实现[J]. 工程建设与设计, 2017(15): 142-145.
[31]
张振伟. 基于Cesium的智慧场馆三维可视化系统设计实现与研究[D]. 西安: 长安大学, 2022.
[32]
胡观强, 向峰城, 欧阳绳武, 等. 基于高德地图的城市POI数据系统[C]// 第七届中国(国际)商业航天高峰论坛论文集. 武汉: 中国航天科工集团有限公司, 2021: 185-197.
[33]
邹永勋, 吴绍华, 胡伟, 等. 基于OpenLayers的贵州电网输电线路可视化系统研究[J]. 机电信息, 2020(33): 41-42.
[34]
戴瑶, 段增强, 艾东. 基于GeoServer的国土空间规划野外调查辅助平台搭建与应用[J]. 测绘通报, 2021(1): 121-123, 147.
[35]
朱二华. 基于Vue.js的Web前端应用研究[J]. 科技与创新, 2017(20): 119-121.

基金

广东省重点研发计划项目(2020B1111370001)
国家重点研发计划项目(2022YFF0801201)
国家自然科学基金联合基金项目(U1911202)
广东省科学技术厅科技特派员项目(GDKTP2020053500)

评论

PDF(5690 KB)

Accesses

Citation

Detail

段落导航
相关文章

/