微服务架构的测量设备溯源系统设计

2021-06-11 10:33:10郑晓健郑晓兰
计算机时代 2021年5期

郑晓健 郑晓兰

摘  要: 介绍一种微服务架构的测量设备溯源管理系统的设计。通过微服务架构与传统单体架构的对比,分析了微服务架构的优势和设计原则,将其运用于企业测量设备溯源系统中,实现了系统的设备管理、设备检定管理、设备溯源审批管理和系统信息维护等功能。由于采用Spring Could微服务架构,使得系统具有良好的可扩展性,方便后期维护。

关键词: 软件体系结构; 微服务架构; 分布式应用; 测量设备溯源; Spring Could

中图分类号:TP393          文献标识码:A     文章编号:1006-8228(2021)05-06-04

Design of measurement equipment traceability system of microservice architecture

Zheng Xiaojian1, Zheng Xiaolan2

(1. School of Electrical and Information Engineering, Oxbridge College, Kunming University of Science and Technology, Kunming, Yunnan 650106, China; 2. Yunnan Institute of Metrology and Testing Technology)

Abstract: This paper introduces the design of a measurement equipment traceability management system of microservice architecture. By comparing the microservice architecture with the traditional monolith architecture, the advantages and design principles of the microservice architecture are analyzed. The microservice architecture is applied to the enterprise measurement equipment traceability system, and the functions of equipment management, equipment verification management, equipment traceability approval management and system information maintenance are realized. Due to the use of Spring Could microservice architecture, the system has a good scalability and is convenient for later maintenance.

Key words: software architecture; microservice architecture; distributed application; traceability of measurement equipment; Spring Could

0 引言

近年来随着供给侧结构性改革的推进,企业对产品质量的把控能力的要求愈加重视,对生产环节中质量监控的重要设备,测量仪器的监管更加严格。在这方面国家计量法有相应规定,所有企事业单位的测量仪器要定期检定,要求达到国家量值规定的统一标准,并出具检定证书后方可进入下一使用周期,同时要求测量仪器在整个使用期内的检定结果都能追根溯源。在此情况下,各企业检定部门对测量仪器溯源管理系统有着广泛的需求。

目前一些大中型企业正推行一体化管理战略,对于信息系统在其功能扩展、快速迭代、快速部署、持续可用性等方面的要求越来越高。然而,企业已有的信息系统多数是采用传统的单体式架构开发,要实现期望的目标还存在较大距离。本文采用基于Spring Cloud微服务架构[1-3]对测量仪器溯源管理系统进行架构设计可以有效实现既定的目标。

1 微服务架构

登录APP查看全文