基于时间约束的CAN网络管理一致性测试
DOI:
CSTR:
作者:
作者单位:

1.安徽大学物质科学与信息技术研究院 合肥 230000; 2.中国科学院合肥物质科学研究院 合肥 230031

作者简介:

通讯作者:

中图分类号:

TP2

基金项目:

安徽省重点研究与开发计划项目(202004a05020041) 资助


Conformance testing of CAN network management based on time constraints
Author:
Affiliation:

1.School of Materials Science and Information Technology, Anhui University,Hefei 230000, China; 2.Hefei Institutes of Physical Science, Chinese Academy of Sciences,Hefei 230031, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    汽车网络管理是现代汽车必不可少的基础功能。随着智能网联汽车的兴起,ECU数量的增加使得车载网络系统的需求和复杂性不断提高。为了确保网络管理的安全性和稳定性,需要全面的测试解决方案。本研究在深入理解AUTOSARCAN网络管理规范的基础上,提出一种针对AUTOSAR CAN网络管理的测试方法。首先基于AUTOSAR提供的标准TTCN-3测试脚本搭建测试系统,设计不定长测试报文,实现对CAN网络管理的多场景测试。其次基于巴科斯范式定义一种新的语法格式,对TTCN-3进行时间约束,提高对CAN网络报文的监测准确度。利用此方法,在基于MPC5745B平台的实际测试中,定位到3处异常信息,评估了AUTOSAR CAN网络管理的安全性和稳定性。实验结果表明,该方法能够在节省测试软硬件资源的情况下,全面测试AUTOSAR CAN网络管理的一致性。

    Abstract:

    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.

    参考文献
    相似文献
    引证文献
引用本文

张建,王辉,李超超,徐封杰,方菱.基于时间约束的CAN网络管理一致性测试[J].电子测量技术,2024,47(7):19-27

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-07-10
  • 出版日期:
文章二维码
×
《电子测量技术》
财务封账不开票通知