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

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

作者简介:

通讯作者:

中图分类号:

TP2

基金项目:

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


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

Fund Project:

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

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

    Abstract:

    Network Management (NM) is an essential foundational function in modern automobiles. With the rise of intelligent connected vehicles, the increasing number of Electronic Control Units (ECUs) 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 (Automotive Open System Architecture) 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 (Testing and Test Control Notation Version 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 (BNF) 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.S

    参考文献
    相似文献
    引证文献
引用本文
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-01-23
  • 最后修改日期:2024-04-15
  • 录用日期:2024-04-15
  • 在线发布日期:
  • 出版日期: