福建电脑2026,Vol.42Issue(2):1-6,6.DOI:10.16707/j.cnki.fjpc.2026.02.001
面向航空领域系统的hiredis C++单例动态库
A hiredis C++Singleton Dynamic Library for Qt:Design and Implementation in Aviation Systems
张振华 1苑博亚2
作者信息
- 1. 中国人民解放军海军装备部 成都 610074
- 2. 四川川大智胜软件股份有限公司 成都 610041
- 折叠
摘要
Abstract
This research aims to develop a highly reliable Redis access library for Air Traffic Control(ATC)systems,meeting stringent requirements for predictable operations,fault fallback,and auditable behavior.Based on the Qt framework and the hiredis library,the library is implemented in C++and packaged as a dynamic link library.It adopts the singleton pattern to unify connection and configuration management,supporting automatic reconnection upon disconnection and a mandatory connection check before each call.The interface design avoids implicit retries and blocking operations,providing a concise calling method and clear error codes to ensure rapid response and deterministic behavior of business modules.The library has been successfully applied in critical modules such as control workstations and monitoring backends,demonstrating good reusability and controllable recovery capabilities,thereby providing technical support for the reliable operation of safety-critical aviation systems.关键词
空中交通管制/远程字典服务器/动态库/单例模式/连接管理Key words
Air Traffic Control/Redis/Dynamic Library/Singleton Pattern/Connection Management分类
信息技术与安全科学引用本文复制引用
张振华,苑博亚..面向航空领域系统的hiredis C++单例动态库[J].福建电脑,2026,42(2):1-6,6.