摘要
为了解决ETC系统应用庞大难以快速响应客户需求等问题,提出基于微服务架构理念、C++框架技术的ETC数据层平台。应用C++框架的动态库形式封装微服务,实现微服务的依赖注入控制反转;应用负载均衡、redis集群和服务分化等技术,提高框架的可用性和可伸缩性。该平台满足了ETC系统轻量级、松耦合、高扩展的目标,实现了平台全自动独立部署和热更新的运营维护,大大提升了ETC系统代码的复用性和兼容性,提高响应速率,并有效应对取消省间收费站和ETC业务扩展等新的国家政策。
In order to solve the problem of huge application of ETC system,which is difficult to respond to customer demand quickly,we propose an ETC data layer platform based on the microservice architecture concept and C++framework technology.The platform encapsulated the microservices in the form of a dynamic library of the C++framework,and implemented the dependency injection and control inversion of the microservices.The usability and scalability of this application were greatly improved by using load balancing,redis cluster and service differentiation technologies.The ETC system can meet the requirements of lightweight,loose coupling and high expansion,supporting platform hot update operation and maintenance automatic deployment.It greatly improves the reusability and compatibility of the ETC system code,and improves the response rate.It effectively responds to the new national policies,such as eliminating inter-provincial toll stations and supporting ETC business expansion.
作者
于曼
黄凯
张翔
Yu Man;Huang Kai;Zhang Xiang(Software Development Department,Beijing Express Technology Co.,Ltd.,Beijing 100000,China)
出处
《计算机应用与软件》
北大核心
2021年第7期29-34,105,共7页
Computer Applications and Software
关键词
微服务
热更新
高扩展
松耦合
数据层平台
Microservice
Hot update
High scalability
Low coupling
Data layer platform