节点文献

基于VxWorks的信息传输管理平台开发

Development of Information Transmission Management Platform Based on VXWORKS

【作者】 高志良

【导师】 孙震;

【作者基本信息】 哈尔滨工业大学 , 仪器科学与技术, 2011, 硕士

【摘要】 随着虚拟试验系统在分布式仿真领域越来越多的应用,对仿真节点之间数据交互和整个试验系统的实时性提出了更高的要求。在基于HIT-GPTA的虚拟试验系统中,信息传输管理平台负责实时信息交换与整个系统管理,是提高试验系统运行实时性的关键。本课题的目的是开发基于VxWorks操作系统的信息传输管理平台,保障信息传输管理平台软件运行和数据处理的实时性,减小网络传输延迟,为各参试成员提供高性能、低延迟、实时通信服务,并且对提高整个虚拟试验系统的实时性具有重要意义。本文介绍了现有信息传输管理平台的管理功能和实现机制,根据功能与性能开发需求,提出VxWorks操作系统下实时性软件开发和数据处理中哈希查找表应用的实时性保障方案。在完成VxWorks交叉开发环境硬件平台配置基础上,分析信息传输管理平台内部命令的数据流图和软件结构,在VxWorks操作系统下进行任务划分和任务优先级设置,采用基于缓冲队列的通信模式实现网络命令排队,选择信号量和共享内存作为任务间高速通信方式,拆分中断服务程序进行中断处理的性能优化,从而保障软件运行的实时性;采用哈希表存储本地关键表信息,完成试验系统成员管理和交互资源管理功能,提高数据查找、插入和删除等操作效率,从而保障信息传输管理平台数据处理的实时性;利用WindML组件实现中西文混合显示,挂接键盘响应函数,实现用户界面的显示刷新和运行控制。本文采用Tornado 2.2集成开发环境完成了VxWorks功能软件和用户界面开发,在虚拟试验系统中完成了软件测试,测试结果表明信息传输管理平台运行稳定,功能完善,提高了信息传输管理平台在数据处理和网络传输两方面的实时性能,满足开发需求。

【Abstract】 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.

节点文献中: