基于Spring Cloud的工厂可视化管理系统的设计与实现
2021-10-09黄静吴涵
黄静 吴涵



摘 要:为解决当下工厂管理成本高、效率低等问题,提出并实现了基于Spring Cloud的工厂可视化管理系统。采用Spring Cloud框架,根据工厂管理需求,划分出多个微服务并各自独立开发、部署,微服务之间通过相应的API(Application Programming Interface)进行相互调用,系统中包含Redis缓存、服务熔断等处理机制。采用该系统可实现对工厂进行可视化管理,模块化的设计使得工厂管理更有条理性。经过测试,该系统操作简明,流程明晰,集成度高,线上操作可视化,可拓展性高,可应对工厂管理流程中复杂的业务需求,减少了工厂管理成本,提高了工厂管理效率。
关键词:微服务;Spring Cloud;工厂管理;可视化
中图分类号:TP311.5 文献标识码:A
Design and Implementation of Factory Visual Management
System based on Spring Cloud
HUANG Jing, WU Han
(School of Information, Zhejiang Sci-Tech University, Hangzhou 310018, China)
syhj_sy@163.com; wuhan489200@163.com
Abstract: Aiming at high cost and low efficiency of factory management, this paper proposes to implement a factory visual management system based on Spring Cloud. Using the Spring Cloud framework, according to the requirements of factory management, multiple microservices are divided, developed and deployed independently. The microservices call each other through the corresponding API (Application Programming Interface). The system includes processing mechanism such as Redis caching, service fuse, etc.. Application of this system can realize visual management of the factory. Modular design makes the factory management more organized. Testing results show that the system is simple in operation, clear in process, highly integrated; it can be visually operated online and has high scalability. It can deal with complex business needs in the factory management process, so to reduce factory management cost and improve factory management efficiency.
Keywords: microservices; Spring Cloud; factory management; visualization
1 引言(Introduction)
在数字化转型[1]的背景下,工厂的发展规模进一步扩大,竞争愈发激烈,给车间生产管理和人员管理带来了严峻的考验。如何能够更及时、更直观地了解工厂的生产状况以做出合理的管控,从而提高生产效率,增强自身的竞争力,成为工厂急需解决的问题[2]。
本文提出的基于Spring Cloud的工厂可视化管理系统,采用前后端分离的开发模式,以Spring Cloud为框架,构建该系统的微服务架构;采用Vue.js和uni-app框架构建该平台PC端和移动端架构;以微服务的形式将服务端切分成若干个独立的服务进行部署运行,前端发送请求至服务端得到响应数据,再利用Element UI和Echarts相关组件对相应数据进行图表展示。经过测试、部署和试用,该系统运行稳定且具有很强的跨平台性能,提升了工厂管理效率和生产效率。
2 微服务架构(Microservice architecture)……p>
