Automobile CAN communication module interface software automatic test device and test method

A CAN communication and module interface technology, applied in the field of automotive network testing, can solve problems such as low degree of automation, and achieve the effect of ensuring correctness, easy test operation, and improving test sufficiency

Pending Publication Date: 2022-01-07
重庆长安新能源汽车科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The test method generates test scripts that rely on dbc files and cannot be completed using the original CAN protocol files; human intervention is required in many parts of the operation process, including loading cmm script files, viewing test results, and outputting test results, with a low degree of automation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automobile CAN communication module interface software automatic test device and test method
  • Automobile CAN communication module interface software automatic test device and test method
  • Automobile CAN communication module interface software automatic test device and test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention also proposes an automatic test device for the interface software of a CAN communication module of an automobile, including a controller, a protocol analysis unit, and a test unit. The protocol analysis unit loads the CAN protocol and parses the contents of the CAN protocol to generate corresponding test cases, test scripts, and scripts. The files correspond to two types of test cases, one is related to CAN sending signals, and the other is related to CAN receiving signals; the test unit, according to whether the controller is sending signals or receiving signals, selects different tools to automatically load the use case files, and compares the controller sending Or the data value of the received signal and the data value sent or received in the test case, if they are consistent, the test passes, otherwise the test fails. The protocol analysis unit generates the script *.cmm (file type with suffix .cmm) file of Lauterbach tool and the script *.can ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an automatic test method for automobile CAN communication module interface software, and relates to automobile network communication interface software testing. A CAN protocol is loaded, a corresponding test case is generated according to the content of the CAN protocol, the CAN protocol is analyzed, row and column information in the CAN protocol is identified, the information of all messages is obtained, two types of test cases of a *.cmm file and a *.can file are generated, wherein one type of test cases is related to a CAN sending signal, and the other type of test cases is related to a CAN receiving signal; and a test unit selects different tools to automatically load the case file according to the condition that the controller sends or receives the signal, compares the data value of the signal sent or received by the controller with the data value sent or received in the test case, passes the test if the data value is consistent with the data value sent or received in the test case, or does not pass the test, and reports the test result. According to the invention, the test efficiency and test sufficiency of the controller CAN communication interface software are greatly improved, and the communication correctness of the vehicle control unit assembly is ensured.

Description

technical field [0001] The invention relates to the technical field of automobile network testing, in particular to a vehicle body CAN communication network interface testing technology. Background technique [0002] With the development of automobile intelligence, there are more and more controllers on the car, and the functions are becoming more and more complex. As the main communication method on the car, CAN communication plays a very important role. As the "brain" of the car, the vehicle controller is associated with multiple controllers on the vehicle and communicates with each other. Therefore, the vehicle controller involves many network segments, and there are many communication messages and signals; the main controller on the vehicle Functional changes will almost always cause CAN protocol changes, so the frequency of CAN protocol changes in vehicle project development is very high. [0003] In the development of each round of vehicle controller software, the mo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L43/50H04L12/40H04L69/22
CPCH04L43/50H04L12/40H04L69/22H04L2012/40215H04L2012/40273Y02P90/02
Inventor 廖娇顾远芳吴晓东刘海洋
Owner 重庆长安新能源汽车科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products