引用本文
  •    [点击复制]
  •    [点击复制]
【打印本页】 【在线阅读全文】【下载PDF全文】 查看/发表评论下载PDF阅读器关闭

←前一篇|后一篇→

过刊浏览    高级检索

本文已被:浏览 708次   下载 873 本文二维码信息
码上扫一扫!
一种基于State模式的惯导系统软件设计方法
许静1,邹瑛1,解芳1,何长久1,李伟1,2
0
(1.北京自动化控制设备研究所,北京 100074;1.北京自动化控制设备研究所,北京 100074;2.惯性技术国防科技重点实验室,北京 100074)
摘要:
State模式是一种面向对象的设计方法。针对惯导系统软件设计中的问题,提出了一种基于State模式的惯导系统软件设计方法,并将其应用于惯导系统软件分支流程的设计过程中。与传统设计方法相比,该方法将逻辑判断和处理封装在状态对象中,为不同系统状态子类声明了一个公共接口,用子类实现特定状态下的行为操作,避免了多种状态转换时逻辑判断的复杂度,降低了惯导系统软件的耦合程度,增强了代码的可靠性、健壮性和可移植性,从而提高了软件质量。
关键词:  State模式  惯导系统软件  设计方法
DOI:
基金项目:
A Method of Inertial Navigation System Software Design Based on the State Pattern
XU Jing1,ZOU Ying1,XIE Fang1,HE Chang-jiu1,LI Wei1,2
(1.Beijing Institute of Automatic Control Equipment, Beijing 100074, China;1.Beijing Institute of Automatic Control Equipment, Beijing 100074, China; 2.Key Laboratory of Science and Technology for National Defence on Inertial Technology, Beijing 100074, China)
Abstract:
A State Pattern method is an object oriented design method.It is proposed according the existing problems in the software design of inertial navigation system.Different with traditional designed method, state pattern method encapsulates the logical judgement and handle process in one object, and one common interface is defined for various system statement.The detailed process method is implemented in subclass.With this method, the complexity of system state translation is reduced as well as the coupling of system software.As the results, the robustness of system software is improved and the quality of software is enhanced
Key words:  State pattern  Software of Inertial Navigation System  Method of design

用微信扫一扫

用微信扫一扫