Vehicle-mounted software CAN message test method, device, equipment and medium
The invention discloses a vehicle-mounted software CAN message test method, device and equipment and a medium, and belongs to the technical field of vehicles. The method comprises the following steps: acquiring information of a CAN message to be tested, wherein the information at least comprises a m...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a vehicle-mounted software CAN message test method, device and equipment and a medium, and belongs to the technical field of vehicles. The method comprises the following steps: acquiring information of a CAN message to be tested, wherein the information at least comprises a message name, a message identifier and a message signal; generating a system variable according to the information, wherein the system variable comprises test data; generating a simulation code according to the CAN message to be tested; controlling the simulation code to run so as to assign data in the message signal as test data, and reading a value of a software internal variable updated after the tested software receives the assigned CAN message; obtaining values of internal variables of the software, and if the values of the test data are the same as the values of the internal variables of the software, obtaining a test result as passing; if the value of the test data is different from the value of the internal |
---|