试验资源接口规范性检查设备研制
发布时间:2018-07-03 04:35
本文选题:接口测试 + 通讯协议 ; 参考:《哈尔滨工业大学》2012年硕士论文
【摘要】:HIT-TENA体系结构是在借鉴美军TENA体系结构的基础上,结合国内试验与训练领域建设的现状,提出开发的试验训练体系结构。为保证HIT-TENA试验资源能够正常接入到体系结构中,在接入之前需要对试验资源的接口进行规范性检查,针对这一问题,,本课题研制了试验资源接口规范性检查设备。 HIT-TENA体系结构支持试验资源通过RS-422/485接口、以太网、光纤网和反射内存网的方式进行接入且要求试验资源满足一定的软件接口规范,试验资源的软件服务接口分为通讯协议式和驱动程序式两种。这里,选用工控机作为系统的硬件平台并配置了相应的通讯板卡,并在此基础上开发了相应的应用程序。 为保证待测试验资源具备通过硬件接口与规范性检查设备连接的能力,开发了基本通讯测试软件。 针对通讯协议式试验资源中通讯协议种类繁多的问题,在分析了现有资源通讯协议的基础上,抽象出通讯协议模板,并根据此模板,开发了通讯协议编辑生成软件,利用软件能够配置生成待测试验资源所需的通讯协议格式的模板。 针对通讯协议式的试验资源,开发了通讯协议式接口测试软件,软件支持用户加载资源通讯协议,能够对数据进行编码和解码操作,支持用户以免编程的方式构建通讯协议式试验资源的接口检测方案。 针对驱动程序式的试验资源,开发了驱动程序式接口测试软件,软件支持用户加载驱动文件,获取驱动接口函数,支持用户以免编程的方式构建驱动程序式试验资源的接口测试方案。 本文采用UML工具对软件进行了需求分析,对软件的静态结构和动态行为进行了建模,在Visual C++环境下进行了软件开发。 测试结果表明,软件能够完全满足用户需求且运行可靠,设备能够对待测试验资源的接口进行检查。
[Abstract]:HIT-TENA architecture is based on the reference of the United States military Tena architecture, combined with the current situation of domestic test and training field construction, proposed the development of experimental training system structure. In order to ensure that HIT-TENA test resources can be accessed to the architecture normally, the interface of the test resources needs to be checked normative before access. The HIT-TENA architecture supports the test resource through RS-422 / 485 interface, Ethernet, Optical fiber network and reflective memory network are connected and the test resource is required to meet certain software interface specification. The software service interface of the test resource can be divided into two types: communication protocol and driver. Here, IPC is chosen as the hardware platform of the system and the corresponding communication board is configured, and the corresponding application program is developed on this basis. In order to guarantee the ability of connecting the test resource to the standard inspection equipment through the hardware interface, the basic communication test software is developed. In order to solve the problem that there are many kinds of communication protocols in the communication protocol test resources, the communication protocol template is abstracted on the basis of analyzing the existing resource communication protocols. According to this template, a communication protocol editing and generating software is developed. The software can configure the template of the communication protocol format needed to generate the test resource. Aiming at the experimental resources of communication protocol, a communication protocol interface testing software is developed. The software supports the user to load the resource communication protocol and can encode and decode the data. Interface detection scheme that supports users to avoid programming to build communication protocol test resources. A driver interface testing software is developed for the driver type test resource. The software supports the user to load the driver file and obtain the driver interface function. Interface test schemes that support user-friendly programming to build driver-type test resources. In this paper, UML tools are used to analyze the requirements of the software, the static structure and dynamic behavior of the software are modeled, and the software is developed in Visual C environment. The test results show that the software can fully meet the needs of users and run reliably, and the equipment can check the interface of test resources.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP334.7;TP311.53
【参考文献】
相关期刊论文 前8条
1 张娟锋;师卫;刘振国;;通用通信协议转换接口的研究与实现[J];电脑开发与应用;2009年05期
2 刘鑫 ,周金莲;CompactPCI总线工控机技术的现状与应用[J];电子技术应用;2002年07期
3 彭哲;马龙华;陈胜明;;基于ActiveX技术的组态软件通用报表控件的实现[J];化工自动化及仪表;2006年05期
4 赵新有;古天龙;董荣胜;李凤英;;异构网络协议转换器构造技术研究[J];计算机科学;2003年08期
5 赵锦蓉;通信协议转换器及其构造[J];软件学报;1995年02期
6 朱良;杜承烈;;通用航空总线测试与分析软件的设计和实现[J];微电子学与计算机;2007年07期
7 赵宇翔;樊晓光;王徐华;;基于总线ICD测试方法研究[J];现代电子技术;2010年08期
8 冯润明,王国玉,黄柯棣;TENA及其与HLA的比较[J];系统工程与电子技术;2005年02期
本文编号:2092416
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2092416.html