首页|基于时间约束的CAN网络管理一致性测试

基于时间约束的CAN网络管理一致性测试

扫码查看
汽车网络管理是现代汽车必不可少的基础功能.随着智能网联汽车的兴起,ECU数量的增加使得车载网络系统的需求和复杂性不断提高.为了确保网络管理的安全性和稳定性,需要全面的测试解决方案.本研究在深入理解AUTOSARCAN网络管理规范的基础上,提出一种针对AUTOSAR CAN网络管理的测试方法.首先基于AUTOSAR提供的标准TTCN-3测试脚本搭建测试系统,设计不定长测试报文,实现对CAN网络管理的多场景测试.其次基于巴科斯范式定义一种新的语法格式,对TTCN-3进行时间约束,提高对CAN网络报文的监测准确度.利用此方法,在基于MPC5745B平台的实际测试中,定位到3处异常信息,评估了 AUTOSAR CAN网络管理的安全性和稳定性.实验结果表明,该方法能够在节省测试软硬件资源的情况下,全面测试AUTOSAR CAN网络管理的一致性.
Conformance testing of CAN network management based on time constraints
Network management is an essential foundational function in modern automobiles.With the rise of intelligent connected vehicles,the increasing number of Electronic Control Units has led to higher demands and complexities in in-vehicle network systems.To ensure the security and stability of network management,comprehensive testing solutions are required.This study proposes a testing method specifically for AUTOSAR CAN network management,based on a deep understanding of the AUTOSAR CAN network management specification.Firstly,a testing system is constructed using the standard TTCN-3 scripts provided by AUTOSAR.The system is designed to generate variable-length test messages and conduct multi-scenario testing of CAN network management.Secondly,a new syntax format is defined based on the Backus-Naur Form to impose time constraints on TTCN-3,thereby enhancing the accuracy of monitoring CAN network messages.Using this method,three abnormal messages were identified in practical tests on the MPC5745B platform,enabling the evaluation of the security and stability of AUTOSAR CAN network management.Experimental results demonstrate that this method enables comprehensive testing of the consistency of AUTOSAR CAN network management while conserving testing software and hardware resources.

AUTOSARCAN network managementTTCN-3conformance testing

张建、王辉、李超超、徐封杰、方菱

展开 >

安徽大学物质科学与信息技术研究院 合肥 230000

中国科学院合肥物质科学研究院 合肥 230031

AUTOSAR CAN网络管理 TTCN-3 一致性测试

安徽省重点研究与开发计划项目

202004a05020041

2024

电子测量技术
北京无线电技术研究所

电子测量技术

CSTPCD北大核心
影响因子:1.166
ISSN:1002-7300
年,卷(期):2024.47(7)