The invention discloses an
analysis method of a CAN communication message of a vehicle controller. The method includes: a
DBC file is analyzed, and a configuration code is generated; whether a CAN message includes a Can message Id in the configuration code is determined, if the CAN message includes the Can message Id, a
signal list is searched according to the Can message Id, and if the CAN message does not include the Can message, the analysis is ended; the
signal arrangement format of the CAN message is determined,
original data is intercepted in the CAN message according to
signal configuration information, and information of a physical value is calculated and obtained; a
global variable in the configuration code is endowed with the physical value; and whether the final signal of the CAN message is reached is determined, if yes, the analysis is ended, and if not, the method is implemented again, and the analysis is accomplished until the final signal of the CAN message is reached. The invention also discloses a construction method of the CAN communication message of the vehicle controller. According to the
analysis method and the construction method of the CAN communication message of the vehicle controller, various
DBC files can be flexibly dealt with, and the ECU development efficiency is improved.