基于CPCI架构的软硬件设备适配自动化测试平台
投稿时间:2025-01-15  修订日期:2025-05-08  点此下载全文
引用本文:
摘要点击次数: 18
全文下载次数: 0
作者单位邮编
王磊* 国网江苏省电力有限公司信息通信分公司 210000
中文摘要:摘要:不同类型、型号的硬件设备在处理器架构、内存容量、存储类型、接口规格等方面存在差异。自动化测试需要针对各种硬件配置编写适配的测试用例,考虑到硬件的多样性,这无疑增加了测试用例编写和维护的工作量。在软硬件设备适配自动化测试时,对软硬件设备适配情况进行集中分析,得到的适配状态更加随机,脚本缺乏适配信息、层次信息,导致自动化测试项目的通过率降低,耗时增加,无法满足设备与平台之间的运行需求。因此,设计了基于总线接口标准(Compact Peripheral Component Interconnect,CPCI)架构的软硬件设备适配自动化测试平台。硬件方面,设计了多协议无线适配器与CPCI连接器。软件方面,根据表现层、前端中间层、应用层、后端中间层、数据层等层次,建立软硬件设备适配CPCI层次架构,在数据层输出适配状态数据。根据软硬件设备的适配状态方程,对设备最优适配状态进行估计,产生随机触发信息,并在CPCI架构下,自动生成软硬件设备适配测试脚本,从而实现软硬件设备适配的自动化测试。最终的测试结果显示,该平台测试两个项目的通过率均为100%,耗时在50s之内,软硬件设备与平台具有良好的互操作性与兼容性,能够满足平台运行的稳定性需求。
中文关键词:关键词:CPCI架构  软硬件设备适配  自动化测试平台  多协议无线适配器  CPCI控制器  
 
Automated testing platform for software and hardware device adaptation based on CPCI architecture
Abstract:Abstract: There are differences in processor architecture, memory capacity, storage type, interface specifications, and other aspects among hardware devices of different types and models. Automated testing requires writing test cases that are adapted to various hardware configurations. Considering the diversity of hardware, this undoubtedly increases the workload of test case writing and maintenance. During the automation testing of software and hardware device adaptation, a centralized analysis of the adaptation status of the software and hardware devices is conducted, resulting in a more random adaptation state. The scripts lack adaptation and hierarchical information, leading to a decrease in the pass rate of automation testing projects, an increase in time, and an inability to meet the operational requirements between the devices and the platform. Therefore, an automated testing platform for software and hardware device adaptation based on CPCI architecture was designed. In terms of hardware, a multi protocol wireless adapter and CPCI connector have been designed. In terms of software, a CPCI hierarchical architecture for software and hardware device adaptation is established based on the presentation layer, front-end intermediate layer, application layer, back-end intermediate layer, data layer, and other layers, and adaptation status data is output at the data layer. Based on the adaptation state equation of software and hardware devices, estimate the optimal adaptation state of the device, generate random trigger information, and automatically generate software and hardware device adaptation test scripts under the CPCI architecture, thereby achieving automated testing of software and hardware device adaptation. The final test results show that the platform has a pass rate of 100% for both projects, taking less than 50 seconds. The software and hardware devices have good interoperability and compatibility with the platform, which can meet the stability requirements of the platform's operation.
keywords:Keywords: CPCI architecture  Adaptation of software and hardware devices  Automated testing platform  Multi protocol wireless adapter  CPCI controller  
查看全文   查看/发表评论   下载pdf阅读器