摘要
为了避免有毒化学品在交通运输过程中泄露对周围环境造成的严重危害,设计了基于微服务的有毒化学品运输泄漏信息系统。系统借助Spring Cloud框架下的服务注册中心、API网关、负载均衡、熔断保护以及作为分布式消息系统的Kafka等组件,各微服务被部署在Docker容器中,提高了系统的可扩展性、资源利用效率和容错性;借助大气扩散模型构建的大气扩散微服务,可预估出有毒化学品泄漏后的威胁范围;地理可视化微服务则将预估出的威胁范围绘制到地图应用程序上。实验结果表明,系统可为管理人员提供有毒化学品的预计泄露范围,并在可视化的地图应用程序中显示出来,可为相关管理人员及时采取救援措施提供依据,进而尽可能减少周边经济和环境的损失。
In order to avoid serious damage to the surrounding environment caused by the leakage of toxic chemicals during transportation,a microservice-based toxic chemical transportation leak information system has been designed.The system uses the service registry center,API gateway,load balance,fuse protection in the Spring Cloud framework,and Kafka as a distributed message system.Each microservice is deployed in the Docker container,which improves the scalability,resource utilization efficiency and fault tolerance of the system.The atmospheric diffusion microservice built with the atmospheric diffusion model can estimate the threat range after the leakage of toxic chemicals;the geographic visualization microservice maps the estimated threat range to the map application.Experiment result shows that the system can provide management personnel with the expected leakage of toxic chemicals,and display it in a visible map application like Google Map.It can provide a basis for relevant management personnel to make timely rescue measures,thereby minimizing the loss of surrounding economic and environment.
作者
王信
刘晓燕
张开琦
王星
严馨
WANG Xin;LIU Xiao-yan;ZHANG Kai-qi;WANG Xing;YAN Xin(Faculty of Information Engineering and Automation,Kunming University of Science and Technology,Kunming 650500,China)
出处
《陕西理工大学学报(自然科学版)》
2020年第3期60-67,共8页
Journal of Shaanxi University of Technology:Natural Science Edition
基金
国家自然科学基金资助项目(61462055)。
关键词
微服务
服务注册中心
网关
分布式消息系统
有毒化学品
运输
microservice
service registry center
gateway
distributed messaging system
toxic chemicals
transportation