Computer Engineering and Applications ›› 2024, Vol. 60 ›› Issue (7): 248-257.DOI: 10.3778/j.issn.1002-8331.2211-0393

• Network, Communication and Security • Previous Articles     Next Articles

Research on Abnormal Diagnosis Mechanism of CAN Network Dormancy in AUTOSAR Standard

GAO Yongfan, LI Chaochao, XU Fengjie, QIU Bensheng, FANG Ling   

  1. 1.School of Information Science and Technology, University of Science and Technology of China, Hefei 230000, China
    2.Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230000, China
  • Online:2024-04-01 Published:2024-04-01

AUTOSAR标准的CAN网络休眠异常诊断机制研究

高永凡,李超超,徐封杰,邱本胜,方菱   

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

Abstract: The network management in the car is designed to ensure the synchronization of communication status between nodes and the detection of network faults, it is an important part of a reliable in-vehicle network. Aiming at the problem that it is difficult to locate and reproduce the occasional dormancy abnormality in AUTOSAR network management, a network dormancy abnormality diagnosis mechanism based on wake-up chain is proposed. Correspondingly, by carrying the location information in the network management message, the location of the network node in the wake-up chain is recorded in real time. When an accidental failure occurs, the relevant information is stored in the non-volatile memory, and then the failure is restored by rebuilding the wake-up chain. The wake-up sequence and related operating status information of each node in the network at the time of occurrence help locate the node that caused the fault more accurately and efficiently, and to a certain extent solve the problem that the sleep anomaly is difficult to reproduce and detect. At the same time, the validity of this method is verified on the experimental platform CANoe by using the CAN bus of the controller area network.

Key words: AUTOSAR, CAN bus, network management, wake-up chain, sleep abnormality

摘要: 汽车网络管理旨在保证节点间的通信状态同步及网络故障检测,是可靠的车载网络的重要组成部分。针对AUTOSAR网络管理中对于偶发的休眠异常难以定位与复现的问题,提出了一种基于唤醒链的网络休眠异常诊断机制,将管理报文在网络中出现的先后顺序与节点唤醒的先后顺序相对应,通过在网络管理报文中携带位置信息,实时记录网络节点在唤醒链中的位置,在偶发性故障出现时,将相关信息存入非易失性内存,之后通过重建唤醒链,恢复故障发生时网络中各节点的唤醒顺序及相关运行状态信息,帮助更准确高效地定位引发故障的节点,一定程度上解决了休眠异常难以复现和检测的问题。同时利用控制器局域网络CAN总线在实验平台CANoe上验证了该方法的有效性。

关键词: AUTOSAR, CAN总线, 网络管理, 唤醒链, 休眠异常