基于VxWorks的信息传输管理平台开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着虚拟试验系统在分布式仿真领域越来越多的应用,对仿真节点之间数据交互和整个试验系统的实时性提出了更高的要求。在基于HIT-GPTA的虚拟试验系统中,信息传输管理平台负责实时信息交换与整个系统管理,是提高试验系统运行实时性的关键。
     本课题的目的是开发基于VxWorks操作系统的信息传输管理平台,保障信息传输管理平台软件运行和数据处理的实时性,减小网络传输延迟,为各参试成员提供高性能、低延迟、实时通信服务,并且对提高整个虚拟试验系统的实时性具有重要意义。
     本文介绍了现有信息传输管理平台的管理功能和实现机制,根据功能与性能开发需求,提出VxWorks操作系统下实时性软件开发和数据处理中哈希查找表应用的实时性保障方案。在完成VxWorks交叉开发环境硬件平台配置基础上,分析信息传输管理平台内部命令的数据流图和软件结构,在VxWorks操作系统下进行任务划分和任务优先级设置,采用基于缓冲队列的通信模式实现网络命令排队,选择信号量和共享内存作为任务间高速通信方式,拆分中断服务程序进行中断处理的性能优化,从而保障软件运行的实时性;采用哈希表存储本地关键表信息,完成试验系统成员管理和交互资源管理功能,提高数据查找、插入和删除等操作效率,从而保障信息传输管理平台数据处理的实时性;利用WindML组件实现中西文混合显示,挂接键盘响应函数,实现用户界面的显示刷新和运行控制。
     本文采用Tornado 2.2集成开发环境完成了VxWorks功能软件和用户界面开发,在虚拟试验系统中完成了软件测试,测试结果表明信息传输管理平台运行稳定,功能完善,提高了信息传输管理平台在数据处理和网络传输两方面的实时性能,满足开发需求。
With more applications of Virtual Test System (VTS) in the field of distributed simulation, it requests higher real-time performance in data exchange between nodes in the entire system. In the VTS based on HIT-GPTA (HIT-General Purpose Test Architecture), information transmission management platform in charge of real-time information exchange and system management, is the key of improving the real-time performance of VTS.
     The purpose of this paper is to develop the information transmission management platform based on VxWorks, protect real-time performance of software running and data processing, reduce network transmission delay, and provide each member with high performance, low latency and real-time services, which is of great significance in the entire VTS.
     This paper introduces management capabilities and realization mechanism of the existing information transmission management platform, according to requirements in functions and performance, puts forward a real-time protection method that includes developing real-time software under VxWorks and applying hash lookup table in data processing. On hardware configuration basis, this paper analyses data flow diagram and software structure, completes task division with priority settings, utilizes buffer queue to line commands, chooses semaphores and shared memory to communicate and optimizes interrupt service routine, in order to protect real-time software running; it apllies hash lookup table in local information storage to take charge management and speed data operation, so as to protect real-time data processing; it displays mixed fonts, adds an callback to keyboard, refreshes user interface and controls test operations by WindML.
     In this paper, Tornado 2.2 is utilized to develop software and user interface, software testing results show that the information transmission management platform runs stably, functions well, improves real-time performance both in data processing and network transmission, and meets development needs.
引文
[1]管良琴.基于HLA的斜视机载SAR成像仿真[D].成都:电子科技大学硕士学位论文,2010:1-2.
    [2] Tao You, Yi’an Zhu, Chenglie Du. Research on a supporting platform for Virtual Testing System Based on RTX[C]. 2009 Second International Conference on Information and Computing Science, 2009:393-396.
    [3]何立萍.国外电子战仿真技术及其应用[J].航天电子对抗,2004,21(1):51-54.
    [4]潘显俊,成群,吴彦鸿.科研试验中仿真技术应用综述[J].科技信息,2010,(16):475-475.
    [5]杨辉.虚拟试验系统运行支持平台开发[D].哈尔滨:哈尔滨工业大学硕士学位论文,2009:1-3.
    [6]周忠,吴威.分布式虚拟环境[M].北京:科学出版社,2009:268-269.
    [7] Institute of Electrical and Electronics Engineers, Inc. IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA)—Object Model Template (OMT) Specification (IEEE Std 1516.2-2000). 2001.
    [8] Luthi J, Grossmann S. The Resource Sharing System: Dynamic Federate Mapping for HLA-based Distributed Simulation[C]. Proceedings. 15th Workship on Parallel and Distributed Simulation, 2001:91-98.
    [9] MAK Technologies Inc. MAK RTI Reference Manual[M], 2008:46-48.
    [10]苏颖,康凤举,倪新尧.基于LabWorks/pRTI的水下战分布交互仿真系统开发研究[J].系统工程与电子技术,2004,26(5):682-685.
    [11] Noseworthy J. The TENA supporting the decentralized development of distributed applications and LVC simulations[C]. IEEE/ACM 2008: International Symposium on Distributed Simulation and Real-Time Applications, 2008:259-268.
    [12] Phil Zimmerman, George Rumford. Interoperability Efforts in Modeling & Simulation andi Test & Evaluation [R]. Proceeding of 8th Common Test and Training Range Architecture(CTTRA) Workshops, 21 July 1998.
    [13]徐忠富,王国玉,张玉竹,等. TENA的现状和展望[J].系统仿真学报,2008,20(28):6325-6337.
    [14] TENA-SDA. TENA Overview Briefing-14 Dec 2006 [EB/OL]. 2006. www.tena-sda.org.
    [15]卿杜政,李伯虎. HLA运行支撑框架(SSS-RTI)的研究与开发[J].系统仿真学报,2000,12(5):490-493.
    [16] Hao JG, Huang J. Implementation architecture of KD-RTI[J]. System Modeling&Simulation, 2002,1(1):48-52.
    [17]吕良权,周忠,吴威,等. DVE-RTI:一个基于组播技术的分布交互仿真运行基础机构[J].计算机研究与发展,2004,(5):828-834.
    [18] Noseworthy J. IKE2-implementing the stateful distributed object paradigm[C]. Proc. the Fifth IEEE ISORC,2002:45-53.
    [19]杨辉,杨京礼,姜守达.一种虚拟试验系统中的多节点信息交互机制[J].计算机仿真,2010,27(6):338-367.
    [20] Ren Shenzhen, Tan Liang, Li Yiping,etc. A Semi-physical Simulation Framework for Multiple Unmanned Underwater Vehicles[C]. Control and Decision Conference (CCDC), 2010:1798-1801.
    [21] Erjian Shen, Tao Zhang, Liangwei Huang, etc. A Real-Time Simulation System for Satellite Based on RTW and VxWorks[C]. 2010 3rd International Symposium on Systems and Control in Aeronautics and Astronautics (ISSCAA), 2010:859-864.
    [22]陈怀民,李晓珂,段晓军.基于VxWorks的地形跟随半物理仿真平台的研究[J].计算机测量与控制,2011,19(2):399-401.
    [23]杨京礼.光电对抗系统开发[D].哈尔滨:哈尔滨工业大学硕士学位论文,2008:13-25.
    [24] Liao Wenjiang, Dong Nanping, Fan Tongshun. Design of the Embedded Remote Monitor System for Building Automation System Based on the VxWorks[C]. 2009 Second Asia-Pacific Conference on Computational Intelligence and Industrial Applications, 2009:436-438.
    [25] ZhangHao, Xu Fei. A New Communication Model for Multi-Tasks in VxWorks[C]. 2010 International Conference on Computer Application and System Modeling (ICCASM 2010), 2010:558-560.
    [26] Haile Wu, Zunwen He, Jianguang Jia. An Interconneted Scheme Of Interphone Systems Via Ethernet Based On VxWorks[C]. 2010 6th International Conference on Wireless Communications Networking and Mobile Computing (WiCOM), 2010:1-4.
    [27] Kumar S, Crowley P. Segmented Hash: An Efficient Hash Table Implementation for High Performance Networking Subsystems[C]. ANCS 2005: Proceedings of Architecture for networking and communicationssystems. New York:ACM, 2005:91-103.
    [28]马如林,蒋华,张庆霞.一种哈希表快速查找的改进方法[J].计算机工程与科学,2008,30(9):66-68.
    [29] R(?)mulo Silva de Oliveira, Carlos Montez, Rodrigo Lange. On the Use of Hash Tables in Real-Time Applications[C]. ETFA 2009: IEEE Conference on Emerging Technologies & Factory Automation, 2009:1-8.
    [30]严蔚敏,吴伟民.数据结构(C语言版)[M].北京:清华大学出版社,2007:259-262.
    [31]孔祥营,张宝山,俞烈彬. VxWorks驱动及分布式编程[M].北京:中国电力出版社,2007:1-17.
    [32]蓝培钦.码垛机器人控制器系统软件的设计和研究[D].上海:上海交通大学硕士学位论文,2010:51-53.
    [33]陈燚. VxWorks for x86系统中实时时钟的应用[J].电子元器件应用,2010,12(3):61-64.
    [34]陈养平,贺占庄.基于VxWorks的实时多任务软件设计[J].微电子学与计算机,2002,(10):63-65.
    [35] Zhen Zhang, Yan Li, Yan Li, etc. Design and Implementation of Control System Software Based on VxWorks MultiTasks[C]. 2010 3rd International Conforence on Advanced Computer Theory and Engineering(1CACTE), 2010:285-288.
    [36]樊争奇. VxWorks操作系统下基于缓冲队列网络通信应用[J].电脑开发与应用,2009,22(3):67-68.
    [37]黄悦. VxWorks下基于客户机/服务器模式的网络通信设计[J].现代电子技术,2007,(14):143-146.
    [38]唐晓平,何峰,梁甸农.基于VxWorks的多中断处理设计[J].计算机工程,2009,35(13):249-251.
    [39]马睿,孙丽云.数据结构(C语言版)[M].北京:北京邮电大学出版社,2009:239-241.
    [40] David Eckhoff, Tobias Limmer, Falko Dressler. Hash Tables for Efficient Flow Monitoring: Vulnerabilities and Countermeasures[C]. LCN 2009: IEEE 34th Conference on Local Computer Networks, 2009:1087-1091.
    [41] Peng Yu, Lin Yuye. An Embedded GIS Integrating GSM and GPS under VxWorks Platform[C]. 2010 First International Conference on Pervasive Computing Signal Processing and Applications (PCSPA), 2010:220-223.
    [42] Wind River System Inc. Zine for VxWorks Getting Started Guide[M]. 1999:25-26.
    [43]梁小琴,王峰. WindML汉字显示技术[J].国外电子测量技术,2008,27(2):51-53.
    [44] WindRiver System Inc. WindML3.0 SDK Programmer’s Guide[M]. 2002:107-116.
    [45] WindRiver System Inc. WindML3.0 API Reference[M]. 2002:88-89.
    [46] Whittle J, Araujo J. Seenario modelling with aspects Software[C]. IEEE Proceedings Issue, 2004,4(151):157-171.
    [47] Russo Fabrizio. A user-friendly environment for the generation of highly portable software incomputer-based instrumentation[C]. IEEE Trans IM, 1990:432-436.
    [48]杨康.嵌入式操作系统VxWorks实时性能研究与测试[D].长沙:国防科学技术大学硕士学位论文,2009:43-44.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700