摘要
为了构建航电仿真系统,提出了一种基于多线程MVC(modal view controller)模式的航电仿真系统软件的设计与实现。软件架构采用多线程MVC模式,在保证系统实时性和数据的可靠性的同时,简化了软件设计的复杂度。对于多线程间的数据同步问题,采用由内存映射技术设计的共享变量池,为系统仿真模块、数据监控模块与参数设置模块之间的大量数据交互提供了可靠的解决方案。测试实验结果证实了该航电仿真系统软件的实时性与可靠性。
In order to build an avionics simulation system, software design and implementation for avionics simulation based on multi-thread MVC (modal view controller) model are proposed. By using the multi-thread MVC mode, the complexity of software design is simplified, and the real-time performance and the reliability of data transmission are guaranteed. For the problem of data synchronization, a shared variable pool based on the memory mapping technique is employed so that a reliable solution is provided for the interaction of large a- mounts of data among the system simulation module, the data monitoring module and the parameter setting module. Finally, an experiment is carried out and the results verify the real-time performance and reliability of the avionics simulation system software.
出处
《测控技术》
CSCD
北大核心
2012年第6期120-123,共4页
Measurement & Control Technology
关键词
多线程
MVC模式
航电仿真
共享变量池
高精度定时
multi-thread
MVC model
avionics simulation
shared variable pool
high resolution timing