CPC H04J 3/0635 (2013.01) [H04L 49/109 (2013.01); H04L 67/12 (2013.01)] | 11 Claims |
1. A time synchronization method for a domain controller; the domain controller is mounted in a vehicle and comprises a plurality of system-on-chips (SOCs) and micro control units (MCUs); the plurality of the SOCs and the MCUs are respectively communicatively connected by a controller area network bus and are respectively communicatively connected to a switch via an Ethernet; the switch has external Ethernet interfaces; a main SOC among the plurality of the SOCs has external universal asynchronous receiver/transmitter (UART)/pulse per second (PPS) interfaces; and each of the micro control units has an external FlexRay interface; wherein the method comprises:
causing the domain controller to, under a normal operating phase of the vehicle, perform any of the steps as follows:
receiving a time service from an external device through the UART/PPS interfaces wherein the external device is another device inside the vehicle or a device on the external of the vehicle;
receiving a time service from the external device through the Ethernet interfaces via the switch;
and receiving a time service from the external device through the FlexRay interface.
|