Message processing method, device, electronic control unit and readable storage medium
An electronic control unit and message processing technology, applied in the field of communications, can solve problems such as hidden safety hazards, serious accidents of unmanned vehicles, and not being executed by vehicles, and achieve the effect of improving safety.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 It is a flow chart of the message processing method provided by Embodiment 1 of the present invention. The embodiment of the present invention aims at the situation that multiple electronic control units simultaneously send messages of the same instruction to the CAN bus in the prior art, and multiple messages with the same message ID are sent to the CAN bus at the same time, and the Message ID conflicts lead to these messages being discarded, resulting in the control commands such as braking commands and parking commands sent by these electronic control units not being executed by the vehicle, which can easily cause serious accidents of unmanned vehicles, and there is a huge risk. In view of potential safety hazards, a packet processing method is provided.
[0031] The method in this embodiment is applied to an electronic control unit for sending messages to the CAN bus in an unmanned driving system. For example, the electronic control unit corresponding to ...
Embodiment 2
[0046] figure 2 It is a flow chart of the packet processing method provided by Embodiment 2 of the present invention. On the basis of the first embodiment above, in this embodiment, before sending the message to the CAN bus, before the electronic control unit obtains the time configuration information, it also includes: the electronic control unit receives the time calibration information sent by the central control device; The electronic control unit calibrates the local time according to the time calibration information. Such as figure 2 As shown, the specific steps of the method are as follows:
[0047] Step S201, the electronic control unit receives the time calibration information sent by the clock calibration device.
[0048] In this embodiment, when the unmanned driving system is initialized, the local time of the multiple electronic control units corresponding to the same message ID is calibrated, so that the time of the multiple electronic control units correspon...
Embodiment 3
[0075] image 3 It is a schematic structural diagram of a message processing device provided in Embodiment 3 of the present invention. The packet processing apparatus provided in the embodiment of the present invention can execute the processing flow provided in the packet processing method embodiment. Such as image 3 As shown, the device 30 includes: a configuration information acquisition module 301 and a message sending module 302 .
[0076] Specifically, the configuration information acquisition module 301 is used to obtain the corresponding sending time configuration information by the electronic control unit when sending a message to the CAN bus, and the sending time configuration information is used to determine that the electronic control unit can send a message to the CAN bus. The time available for sending messages corresponding to any two different electronic control units with the same message ID is different when sending messages to the CAN bus.
[0077] The mes...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


