地学前缘 ›› 2024, Vol. 31 ›› Issue (4): 165-182.DOI: 10.13745/j.esf.sf.2024.5.12

• 物联网在线监测大数据 • 上一篇    下一篇

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

王汉雨1,2,3(), 周永章1,2,3,*(), 许娅婷1,2,3, 王维曦1,2,3, 曹伟1,2,3,*(), 刘永强1,2,3, 贺炬翔1,2,3, 陆可飞2   

  1. 1.中山大学 地球科学与工程学院, 广东 珠海 519000
    2.中山大学 地球环境与地球资源研究中心, 广东 珠海 519000
    3.广东省地质过程与矿产资源探查重点实验室, 广东 珠海 519000
  • 收稿日期:2023-09-03 修回日期:2024-03-14 出版日期:2024-07-25 发布日期:2024-07-10
  • 通信作者: * 周永章(1963—),男,教授,主要从事大数据与数学地球科学、地球化学方面的研究。E-mail: zhouyz@mail.sysu.edu.cn;曹 伟(1989—),男,博士后,主要从事三维地质建模、大数据与数学地球科学方面的研究。E-mail: caow25@mail.sysu.edu.cn
  • 作者简介:王汉雨(1990—),男,博士研究生,主要从事地球化学、大数据与数学地球科学方面的研究。E-mail: wanghy327@mail2.sysu.edu.cn
  • 基金资助:
    广东省重点研发计划项目(2020B1111370001);国家重点研发计划项目(2022YFF0801201);国家自然科学基金联合基金项目(U1911202);广东省科学技术厅科技特派员项目(GDKTP2020053500)

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

WANG Hanyu1,2,3(), ZHOU Yongzhang1,2,3,*(), XU Yating1,2,3, WANG Weixi1,2,3, CAO Wei1,2,3,*(), LIU Yongqiang1,2,3, HE Juxiang1,2,3, LU Kefei2   

  1. 1. School of Earth Sciences & Engineering, Sun Yat-sen University, Zhuhai 519000, China
    2. Center of Earth Environment & Resources, Sun Yat-sen University, Zhuhai 519000, China
    3. Guangdong Provincial Key Lab of Geological Process and Mineral Resource Survey, Zhuhai 519000, China
  • Received:2023-09-03 Revised:2024-03-14 Online:2024-07-25 Published:2024-07-10

摘要:

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

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

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.

Key words: urban soil pollution, Internet of Things, microservice architecture, Spring Cloud Alibaba, Docker, visualization system, big data

中图分类号: