微服务在煤矿监控类软件开发框架中的应用
Application of microservice in development framework of coal mine monitoring software series
【索引】荆诚,王爱军.微服务在煤矿监控类软件开发框架中的应用[J].工矿千亿国际app下载,2020,46(2):94-99.
【Reference】JING Cheng,WANG Aijun.Application of microservice in development framework of coal mine monitoring software series[J].Industry and Mine Automation,2020,46(2):94-99.
【DOI】10.13272/j.issn.1671-251x.2019070056
【作者】 荆诚1,2,王爱军3
【Author】 JING Cheng1,2,WANG Aijun3
【作者机构】1.中煤科工集团常州研究院有限公司, 江苏 常州213015;2.天地(常州)千亿国际app下载股份有限公司, 江苏 常州213015;3.内蒙古准格尔旗宏丰煤炭运销有限责任公司 红树梁矿, 内蒙古 鄂尔多斯 010400
【Unit】1.CCTEG Changzhou Research Institute, Changzhou 213015, China; 2.Tiandi(Changzhou) Automation Co., Ltd., Changzhou 213015, China; 3.Hongshuliang Coal Mine, Jungar Banner Hongfeng Coal Transport and Marketing Co., Ltd., Erdos 010400, China)
【摘要】针对煤矿监控类软件开发面临版本混乱、重复开发、维护困难,软件的定制化修改导致不同煤矿监控软件之间的通信变得困难等问题,提出了一种采用微服务架构的煤矿监控类软件开发框架。基于微服务架构,通过规范化开发流程、简化技术栈优化煤矿监控类软件的开发流程;将基础业务固化在开发框架中,专有业务通过微服务的方式进行加载运行,减少了基础代码的重复编码工作,并使得专有业务可以重用;沙盒运行方式让微服务的部署不受运行环境影响,部署方便,跨平台移植性强,微服务托管平台可对微服务进行统一的版本管理。实际应用结果表明:采用微服务架构的煤矿监控类软件通过将常用功能拆分为微服务,可以最大程度减少软件功能的重复开发,微服务的数据存储效率比现有垂直架构更高,使用Docker镜像部署,软件安装过程更为便捷,为监控类软件开发提供了一种更为高效的开发方式。
【Abstract】Development of coal mine monitoring software series faces version confusion, repeated development and maintenance difficulties, and the customized modification of software makes communication between different monitoring software series of coal mine difficult. In order to solve the above problems, a development framework of coal mine monitoring software series adopting microservice architecture was proposed. The development process of coal mine monitoring software series is optimized by standardizing development process, simplifying technology stack and adopting microservice architecture. The basic business is solidified in the development framework, and the proprietary business is loaded and run by means of microservice, which reduces the repetitive coding of the basic code and makes the proprietary business reusable. Sandbox operation mode makes the deployment of microservices not affected by the running environment, easy to deploy, and has strong cross-platform portability, microservice hosting platform can carry out unified version management of microservices. The practical application results show that coal mine monitoring software series using microservice architecture can minimize repeated development of software functions by splitting common functions into microservices. The data storage efficiency of microservice is higher than that of the existing vertical architecture, and the software installation process is more convenient when Docker image is used for deployment, which provides a more efficient development mode for monitoring software series development.
【关键词】 煤矿安全监控; 煤矿监控类软件; 微服务; 云端托管; 基础业务; 专有业务; 沙盒运行
【Keywords】coal mine safety monitoring; coal mine monitoring software series; microservice; cloud hosting; basic business; proprietary business; sandbox operation mode
【文献出处】工矿千亿国际app下载,2020年2期
【基金】天地(常州)千亿国际app下载股份有限公司研发项目(2018GY003)
【分类号】TD672
本网站仅提供本刊2009年之后的全文下载,其它年份的全文下载将自动转到中国知网。中国知网不支持迅雷等加速下载工具,请取消加速工具后下载。
【关 闭】