Application of microservice in development framework of coal mine monitoring software series
-
摘要: 针对煤矿监控类软件开发面临版本混乱、重复开发、维护困难,软件的定制化修改导致不同煤矿监控软件之间的通信变得困难等问题,提出了一种采用微服务架构的煤矿监控类软件开发框架。基于微服务架构,通过规范化开发流程、简化技术栈优化煤矿监控类软件的开发流程;将基础业务固化在开发框架中,专有业务通过微服务的方式进行加载运行,减少了基础代码的重复编码工作,并使得专有业务可以重用;沙盒运行方式让微服务的部署不受运行环境影响,部署方便,跨平台移植性强,微服务托管平台可对微服务进行统一的版本管理。实际应用结果表明:采用微服务架构的煤矿监控类软件通过将常用功能拆分为微服务,可以最大程度减少软件功能的重复开发,微服务的数据存储效率比现有垂直架构更高,使用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.
点击查看大图
计量
- 文章访问数: 104
- HTML全文浏览量: 19
- PDF下载量: 11
- 被引次数: 0