IP Library Granted Patent US 11,362,857
Granted Patent B2
US 11,362,857 · App. 16/505,826 · Granted Jun 14, 2022

Message processing method, apparatus, electronic control unit and readable storage medium

Inventors: Kai Yang (Beijing, CN); Hongda Zhang (Beijing, CN); Qijuan Yin (Beijing, CN); Wuzhao Zhang (Beijing, CN); Baisheng Wang (Beijing, CN); Zhuo Chen (Beijing, CN)
Assignee: APOLLO INTELLIGENT DRIVING TECHNOLOGY (BEIJING) CO., LTD.
H04L12/4015H04L12/08H04L2012/40215H04L2012/40273
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,362,857
App. No.
16/505,826
Granted
Jun 14, 2022
Kind
B2
Abstract

Provided are a message processing method, an apparatus, an electronic control unit, and a readable storage medium. The method includes configuring different sending times for any two different electronic control units corresponding to the same message ID in sending time configuration information of electronic control units; and when sending messages to a CAN bus, sending, by the electronic control units, the messages to the CAN bus at available sending times according to corresponding sending time configuration information, so that the time for any two different electronic control units corresponding to the same message ID to send messages to the CAN bus is separated. The method can improve the safety of the unmanned system.

Claims (43)

1. A message processing method, comprising:

obtaining, by an electronic control unit, corresponding sending time configuration information when sending a message to a CAN bus, wherein the sending time configuration information is used to determine an available sending time when the electronic control unit sends the message to the CAN bus, and available sending times of any two different electronic control units, which correspond to the same message ID, are different when the two electronic control units send messages to the CAN bus; and

sending, by the electronic control unit, the message to the CAN bus at the available sending time according to the sending time configuration information;

wherein the sending time configuration information corresponding to the electronic control unit comprises a time offset corresponding to the electronic control unit, and the time offset corresponding to the electronic control unit refers to the time offset of a first available sending time when the electronic control unit sends the message to the CAN bus within one clock unit from a start time of the clock unit; and

time offsets corresponding to any two different electronic control units corresponding to the same message ID are different.

2. The method of claim 1 , wherein before the electronic control unit obtains the sending time configuration information before sending the message to the CAN bus, the method further comprises:

receiving, by the electronic control unit, time calibration information sent by a clock calibration device;

calibrating, by the electronic control unit, local time according to the time calibration information.

3. The method of claim 2 , wherein the time calibration information comprises sending time stamp information,

The calibrating, by the electronic control unit, local time according to the time calibration information, comprises:

calibrating, by the electronic control unit, the local time according to the sending time stamp information.

4. The method of claim 1 , wherein the sending, by the electronic control unit, the message to the CAN bus at the available sending time according to the sending time configuration information, comprises:

calculating, by the electronic control unit, the available sending time within a current clock unit according to a corresponding time offset, when sending the message to the CAN bus; and

sending the message to the CAN bus at the available sending time within the current clock unit.

5. The method of claim 4 , wherein the sending the message to the CAN bus at the available sending time within the current clock unit, comprises:

sending the message to the CAN bus at a next available sending time available within the current clock unit.

6. The method of claim 1 , wherein before the obtaining, by an electronic control unit, the sending time configuration information when sending a message to a CAN bus, the method further comprises:

receiving, by the electronic control unit, the sending time configuration information corresponding to the electronic control unit and sent by a central control device, and storing the sending time configuration information corresponding to the electronic control unit.

7. The method of claim 6 wherein the sending time configuration information corresponding to a plurality of electronic control units corresponding to the same message ID is different.

8. The method of claim 6 , wherein the central control device is a clock calibration device.

9. A message processing apparatus, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, causes the processor to:

obtain, by an electronic control unit, corresponding sending time configuration information when sending a message to a CAN bus, wherein the sending time configuration information is used to determine an available sending time when the electronic control unit sends the message to the CAN bus, and available sending times of any two different electronic control units, which correspond to the same message ID, are different when the two electronic control units send messages to the CAN bus; and

send, by the electronic control unit, the message to the CAN bus at the available sending time according to the sending time configuration information;

wherein the sending time configuration information corresponding to the electronic control unit comprises a time offset corresponding to the electronic control unit, and the time offset corresponding to the electronic control unit refers to the time offset of a first available sending time when the electronic control unit sends the message to the CAN bus within one clock unit from a start time of the clock unit; and

time offsets corresponding to any two different electronic control units corresponding to the same message ID are different.

10. The apparatus of claim 9 , wherein the computer program further causes the processor to:

receive, by the electronic control unit, time calibration information sent by a clock calibration device; and

calibrate, by the electronic control unit, local time according to the time calibration information.

11. The apparatus of claim 10 , wherein the time calibration information comprises sending time stamp information, and the computer program further causes the processor to:

calibrate, by the electronic control unit, the local time according to the sending time stamp information.

12. The apparatus of claim 9 , wherein the computer program further causes the processor to:

calculate, by the electronic control unit, an available sending time within a current clock unit according to a corresponding time offset, when sending the message to the CAN bus; and

send the message to the CAN bus at the available sending time within the current clock unit.

13. The apparatus of claim 12 , wherein the computer program further causes the processor to:

send a message to the CAN bus at a next available sending time within the current clock unit.

14. The apparatus according to claim 9 , wherein the computer program further causes the processor to:

receive, by the electronic control unit, the sending time configuration information corresponding to the electronic control unit and sent by a central control device, and store the sending time configuration information corresponding to the electronic control unit.

15. The apparatus of claim 14 , wherein the sending time configuration information corresponding to a plurality of electronic control units corresponding to the same message ID is different.

16. The apparatus of claim 15 , wherein the central control device is a clock calibration device.

17. An electronic control unit, comprising:

a memory, a processor, and a computer program stored on the memory and executable on the processor,

the method according to claim 1 is implemented when the processor runs the computer program.

18. A computer readable storage medium, storing a computer program, which, when being executed by a processor, implements the method according to claim 1 .

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE APPLICANT NAME PREVIOUSLY RECORDED AT REEL: 057933 FRAME: 0812. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Dec 28, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: APOLLO INTELLIGENT DRIVING TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 058594/0836 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO., LTD.
Reel/Frame 057933/0812 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2019
From: YANG, KAI; ZHANG, HONGDA; YING, QIJUAN; ZHANG, WUZHAO; WANG, BAISHENG; CHEN, ZHUO
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 049696/0713 →
Priority Claims (1)
CN 201811001612.7 · Aug 30, 2018 · national
Continuity (1)
Related Publication 20200076642A1 · Mar 5, 2020