This relates generally to data communication with electronic control units of a vehicle, such as an automobile.
Modern vehicles, especially automobiles, increasingly include connected features that allow the vehicle to communicate with other devices, often over the internet. For example, a smartphone can be used to lock and unlock car doors, and thus security becomes an issue for any connected vehicle. However, security protocols such as encryption can be time-consuming and system intensive, thus making it impractical for vehicle systems that need to communicate with each other in real time.
Embodiments of the present invention provide secure communication in a vehicle network by distinguishing communications at different layers of the vehicle network, and using different security levels depending on the network layer. For example, a communication between different electronic control units (ECUs) in the same domain (e.g., two ECUs in the powertrain domain) may not need as much as security as a communication that originates from an ECU in a different domain (e.g., the chassis domain) or from a device outside the vehicle. The present invention provides the advantage of providing increased security where compromise is a greater possibility, such as when communications originate from outside the vehicle, and decreased security where comprise is a lesser possibility and performance is a greater concern, such as communications between ECUs within the vehicle and/or in the same domain.
In the following description of embodiments, reference is made to the accompanying drawings which form a part hereof, and in which it is shown by way of illustration specific embodiments which can be practiced. It is to be understood that other embodiments can be used and structural changes can be made without departing from the scope of the disclosed embodiments.
Modern vehicles, especially automobiles, increasingly include connected features that allow the vehicle to communicate with other devices, often over the internet. For example, a smartphone can be used to lock and unlock car doors, and thus security becomes an issue for any connected vehicle. However, security protocols such as encryption can be time-consuming and system intensive, thus making it impractical for vehicle systems that need to communicate with each other in real time.
Embodiments of the present invention provides for secure communication in a vehicle network by distinguishing amongst communications at different layers of the vehicle network and using different security levels depending on the network layer.
Although examples of the present invention (e.g.,
In some embodiments, the ECUs can be organized by function into a plurality of domains. For example,
Communication between ECUs can use controller area network (CAN) messages. This communication protocol is widely used and has a low overhead. However, CAN packets are traditionally limited to 8 bytes, and standard CAN tools cannot be used to debug and view CAN traffic. In some embodiments, the domain controller for each domain can be connected to the center hub 102 via Ethernet, and the domain controller can act as a gateway between in-domain communications on a CAN bus and communications outside the domain over Ethernet. By sending CAN messages over Ethernet, security protocols such as encryption and authentication can be more readily employed.
As illustrated in
In some embodiments, any messages between domains or between the center hub and an ECU may be communicated using a medium security level. The medium security level may include a subset of the security protocols used for the high security level. For example, any communication at the medium security level may be authenticated (e.g., by authenticating the MAC address and/or authenticating the message type) but it may not be encrypted. In some examples, the medium security level may involve some encryption that is faster and/or less secure than an encryption method used at the high security level. The encryption and/or authentication at any security level may be performed at the center hub and/or at a domain controller of a particular domain. Because communication at the medium and high security levels can be carried out using protocols such as Ethernet, standard authentication and encryption methods may be easily implemented to secure the communication.
In some embodiments, any messages between ECUs in the same domain may be communicated using a low security level. The low security level may include a subset of the security protocols used for the medium security level. In some examples, the low security level may not include any kind of encryption or authentication and may be carried out over a CAN bus without using Ethernet.
If the source of the CAN message is not one of the plurality of electronic control units, the CAN message may be communicated to the first electronic control unit at a first security level (e.g., medium security level). For example, if the source of the CAN message is an additional plurality of ECUs that belong to a second domain, different from the first, then the CAN message may be communicated at a medium security level (203). In some embodiments, the source of the CAN message may be outside the vehicle, and as a result the CAN message may be communicated at a third security level (e.g., a high security level) (207). In either case, security protocols such as encryption and/or authentication may be used because the communication uses a protocol such as Ethernet that supports those security methods. In some embodiments, communicating at relatively high security levels (e.g., at a medium or high security level as described herein) may include performing encryption/decryption and/or authentication at a domain controller or at a center hub as described above.
The system 700 can communicate with one or more remote devices 712, 714, and 716 over a wired or wireless network 710, such as a local area network, wide-area network, or internet, among other possibilities. The steps of the methods disclosed herein may be performed on a single system 700 or on several systems including the remote devices 712, 714, and 716.
Although the disclosed embodiments have been fully described with reference to the accompanying drawings, it is to be noted that various changes and modifications will become apparent to those skilled in the art. Such changes and modifications are to be understood as being included within the scope of the disclosed embodiments as defined by the appended claims.
This application claims the benefit of U.S. Provisional Patent Application No. 62/258,348, filed on Nov. 20, 2015, the entire disclosures of which are incorporated herein by reference for all intended purposes.
Number | Date | Country | |
---|---|---|---|
62258348 | Nov 2015 | US |