|
- 2016
汽车统一诊断服务诊断协议栈网络层测试方法DOI: 10.11908/j.issn.0253-374x.2016.04.020 Abstract: 提出了一种基于CAN总线的汽车统一诊断服务(UDS)诊断协议栈开发过程中的网络层功能测试方法.利用AutoCAN总线设计工具,将位于PC机的上层测试仪与搭载有被测协议栈的下层测试仪连接,形成实际总线测试网络.通过参数分层法,结合实际被测协议栈通信要求,建立测试用例集,并据此编写测试脚本和仿真运行.通过监控每一条测试用例的报文流记录,判断其是否符合测试要求.该方法能够实现UDS诊断协议栈的网络层测试,验证网络层是否符合国际标准.The paper presents an approach for network layer test, which is important during the development of unified diagnostic service(UDS) diagnostic stack. The upper tester in PC was connected to the lower tester, which carried the protocol stack under test, by a network design tool called AutoCAN to build a test network. After analyzing the characteristics of network parameters and the demands of the device under test, a test case set was designed with the parameters classified method. Then the scripts were programmed and AutoCAN simulated the progress of all the designed communications. By monitoring every record of CAN frames transmission, it is clear to decide if this test meets the requirements of the specification. This method can accomplish the network layer functional tests and find whether it works correctly based on the relevant international standards
|