摘要
针对火箭遥测实时处理软件中不同位跳变指令处理代码复用性差的问题,通过分析几种典型的位跳变指令处理特点,抽象出位跳变指令处理的一般步骤,并从软件角度给出了位跳变指令的定义。根据C++语言多态性原理,将位跳变指令的软件实现划分为抽象基类和实现子类两个部分,规范了位跳变指令的处理逻辑、体现了不同种类位跳变指令处理特点。应用实践表明,经过重构的处理方法代码量显著减少,程序处理流程更加清晰,软件复用率有很大提高。
In aiming at the problem of poor reusing of different bit control instruction processing codes in rocket telemetry real-time processing software,the general steps of bit control instruction processing are abstracted by analyzing the processing characteristics of several typical bit control instructions,and the definition of bit control instruction is given from the point of view of software.According to the principle of C++language polymorphism,the software implementation of the bit control instruction is divided into abstract base class and implementation subclass,the processing logic of the bit control instruction is standardized,and the processing characteristics of different bit control instructions are presented.The application practice shows that the amount of code is significantly reduced,the process flow is more clearer,and the software reuse rate is greatly improved.
作者
石峰
SHI Feng(Xi’an Satellite Control Center,Xi’an 710043,China)
出处
《遥测遥控》
2022年第1期82-90,共9页
Journal of Telemetry,Tracking and Command
关键词
位跳变指令
实时处理
遥测
Bit conversion instruction
Real-time processing
Telemetry