摘要
传统的航天测控系统监控软件采用单体式应用架构,存在维护难度大、周期长、扩展性差等弊端,并且无法满足资源可动态重构扩展的需求。基于IceGrid微服务架构的系统监控软件具有良好的稳定性与分布式能力,可以很好地解决上述问题。阐述了IceGrid微服务架构的基础框架,并提出基于Redis的服务主备仲裁机制与竞争分布式锁的服务主备切换方式,实现各类服务自主切换,并且有效解决了系统网络不稳定或者单服务器死机等异常情况下系统出现严重卡顿甚至数据丢失的问题,提高了航天测控系统运行的稳定性与可靠性。
The monitoring software for the traditional aerospace TT&C system adopts the monolithic application architecture,which has disadvantages such as difficult maintenance,long cycle,and poor scalability,and it cannot meet the needs of dynamic reconstruction and expansion of resources.The system monitoring software based on the IceGrid microservice architecture has good stability and distributed capabilities,being able to solve the above problems well.The basic framework of the lceGrid microservice architecture is introduced,and a Redis-based service master-salve arbitration mechanism and a service master-salve switching method of the competitive distributed lock are proposed to achieve autonomous switching of various services,effectively solving the the problems of severe system freeze and data loss under abnormal conditions such as network instability or single server crash and improving the stability and reliability of the aerospace TT&C system.
作者
操礼长
王小雨
申健
王小旗
邓德鑫
CAO Lichang;WANG Xiaoyu;SHEN Jian;WANG Xiaoqi;DENG Dexin(Xi'an Satellite TT&C Center,Xi'an 710043,China;College of Artificial Intelligence,Nanjing Agricultural University,Nanjing 210032,China;School of Mechanical and Precision Instrument Engineering,Xi'an University of Technology,Xi'an 710048,China)
出处
《计算机与网络》
2022年第13期64-68,共5页
Computer & Network
关键词
微服务架构
REDIS
主备切换
分布式锁
micro-service architecture
Redis
master-salve switching
distributed lock