Certified Vehicle Diagnostic Access Technology
Through an asymmetric authentication system based on PKI, digital signatures are used to verify diagnostic roles, which solves the problem of insufficient security of traditional vehicle diagnostic access authentication technology and achieves higher security and authorized access control.
Patent Information
- Application Number
- CN202080062000.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-09-10
- Filing Date
- 2020-09-09
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-09-09
AI Technical Summary
Traditional vehicle diagnostic access authentication technology utilizing seed and key methods has insufficient security, and unauthorized maintenance personnel may lead to illegal operations or unintentional function access.
Using an asymmetric authentication system based on public key infrastructure (PKI), a public key certificate is obtained from the PKI computing system through an external test tool, and the diagnostic role is verified through a digital signature authentication challenge. The controller uses the public key certificate to determine the validity of the signature, Grant or deny diagnostic access.
Significantly improves the security of vehicle diagnostic access, prevents unauthorized access, ensures that only authorized maintenance personnel can perform matching diagnostic operations, and enhances system security.
Smart Images

Figure CN114342320B_ABST
Abstract
Description
Technical Field
[0001] The present application relates generally to vehicle diagnostics and, more particularly, to techniques for authenticated access to vehicle diagnostics. Background Art
[0002] The vehicle includes various systems and / or components that are configured as a set of diagnostic objects. Non-limiting examples of these diagnostics include oxygen sensor diagnostics, misfire diagnostics, evaporative emissions (EVAP) diagnostics, exhaust gas recirculation (EGR) diagnostics, and catalytic converter diagnostics. Vehicle diagnostics are typically performed by maintenance technicians using external test tools. In some cases, access to these vehicle diagnostics should be limited to authorized maintenance technicians, because access by unauthorized maintenance technicians may result in illegal operations or unconscious functions that customers do not want. Traditional diagnostic access authentication techniques utilize a seed and key method, in which the external test tool and the vehicle each know a secret algorithm. However, this secret algorithm can be shared publicly, so the security of these traditional techniques is not high. Therefore, although these traditional vehicle diagnostic access authentication systems work well for their intended purposes, there is still a need to improve the relevant technology. Summary of the invention
[0003] According to an exemplary aspect of the present invention, a diagnostic access authentication system for a vehicle is provided, wherein the vehicle has a controller area network (CAN). In an exemplary embodiment, the system includes: a diagnostic interface connected to the CAN and configured to interface with an external test tool, a set of components connected to the CAN and configured as a set of diagnostic objects, and a controller connected to the CAN and configured to perform a diagnostic authentication process, including: receiving a request for diagnostic access to the vehicle from the external test tool, the request including a public key certificate specifying a diagnostic role, wherein the external test tool obtains the public key certificate from a public key infrastructure (PKI) computing system, the public key infrastructure (PKI) computing system storing the corresponding private key certificate, transmitting an authentication challenge to the external test tool, wherein the authentication challenge receiving an authentication challenge that causes the external test tool to transmit to the PKI computing system, receiving the signed authentication challenge including a digital signature from the PKI computing system, and transmitting the signed authentication challenge to the controller via the diagnostic interface, receiving the signed authentication challenge from the external test tool, determining whether the digital signature of the signed authentication challenge is valid using the public key certificate, unlocking a set of diagnostics associated with the diagnostic role when the digital signature is valid, and granting the external test tool diagnostic access to the vehicle when any set of unlocked diagnostics associated with the diagnostic role matches any set of diagnostics for a set of components, thereby causing the external test tool to perform one or more matching diagnostics.
[0004] In some embodiments, the authentication process further includes denying the external test tool diagnostic access to the vehicle when the digital signature is invalid. In some embodiments, the authentication process further includes denying the external test tool diagnostic access to the vehicle when the diagnostic is not one of a set of unlocked vehicle diagnostics.
[0005] In some embodiments, the PKI computing system is a local or dedicated system of the external test tool. In some embodiments, the PKI computing system is a remote system connected to the external test tool via the Internet. In some embodiments, the controller and the external test tool do not share seeds and keys for authentication.
[0006] According to another exemplary aspect of the present invention, a diagnostic access authentication method for a vehicle is presented, which includes a set of components configured as a set of diagnostic objects. In an exemplary embodiment, the method includes: receiving a request for diagnostic access to the vehicle by a controller of the vehicle and from an external test tool, the request including a public key certificate specifying a diagnostic role, wherein the external test tool obtains the public key certificate from a PKI computing system, the PKI computing system stores a corresponding private key certificate, transmitting an authentication challenge by the controller and to the external test tool, wherein the receipt of the authentication challenge causes the external test tool to transmit the authentication challenge to the PKI computing system, receiving a signed authentication challenge including a digital signature from the PKI computing system, and transmitting the signed authentication challenge to the controller, receiving the signed authentication challenge by the controller and from the external test tool, determining by the controller whether the digital signature of the signed authentication challenge is valid using the public key certificate, unlocking by the controller a set of diagnoses associated with the diagnostic role when the digital signature is valid, and granting by the controller diagnostic access rights to the external test tool to the vehicle when any set of unlocked diagnoses associated with the diagnostic role matches any set of diagnoses of a set of components, thereby allowing the external test tool to perform one or more matching diagnoses.
[0007] In some embodiments, the method further includes denying, by the controller, diagnostic access to the vehicle by the external test tool when the digital signature is invalid. In some embodiments, the method further includes denying, by the controller, diagnostic access to the vehicle by the external test tool when the diagnostic is not one of a set of unlocked vehicle diagnostics.
[0008] In some embodiments, the PKI computing system is a local or dedicated system of the external test tool. In some embodiments, the PKI computing system is a remote system connected to the external test tool via the Internet. In some embodiments, the controller and the external test tool do not share seeds and keys for authentication.
[0009] Other areas of application of the teachings of the present disclosure will become apparent from the detailed description, claims, and drawings provided below, in which the same reference numerals refer to the same features in the several views of the drawings. It should be understood that the detailed description, including the disclosed embodiments and drawings cited therein, is merely exemplary in nature and is intended for illustrative purposes only and is not intended to limit the scope of the present disclosure, its application, or use. Therefore, changes that do not depart from the gist of the present disclosure are intended to fall within the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a functional block diagram of an example vehicle diagnostic access authentication system in accordance with the principles of the present disclosure;
[0011] as well as
[0012] Figure 2 is a flow chart of an example vehicle diagnostic access authentication method according to the principles of the present disclosure. DETAILED DESCRIPTION
[0013] As previously mentioned, there is still a need for more secure vehicle diagnostic access authentication technology. Therefore, this article proposes more secure vehicle diagnostic access authentication systems and methods. The access authentication technology implemented by these systems and methods utilizes asymmetric authentication based on public key infrastructure (PKI). The security of asymmetric cryptographic systems based on PKI relies on the computational infeasibility of solving non-deterministic polynomial time difficulties or "NP-hard" problems. The PKI computing system of the present disclosure can utilize any suitable NP-hard problems, such as but not limited to those used by Rivest-Shamir-Adleman (RSA) and elliptic curve cryptography (ECC) cryptographic systems. In order to ensure an appropriate level of security, asymmetric schemes require longer key lengths than symmetric schemes. This feature significantly increases the complexity and therefore reduces the performance or speed of asymmetric cryptographic systems. However, because they improve security and because performance or speed is not an important issue for diagnostic access authentication, asymmetric methods are desirable.
[0014] In the proposed system and method, the external test tool initially obtains or issues a public key certificate from a local or remote PKI computing system (authorized certificate authority or CA), which also stores but does not share the corresponding private key certificate. The public key certificate obtained by the external test tool also specifies or defines a diagnostic role, which has a set of diagnostics for a set of components associated with it. The vehicle manufacturer can assign different diagnostic roles to different service technicians / centers, who can also maintain the PKI computing system. The external test tool then provides the public key certificate to the vehicle, and the vehicle responds with a random authentication challenge. The external test tool provides a challenge to the PKI computing system, which responds with a signed challenge that includes a digital signature that the external test tool then provides to the vehicle. The vehicle then uses the public key certificate to verify the signed challenge. Any suitable digital signature generation and verification technology can be used, such as but not limited to a digital signature algorithm (DSA), an RSA digital signature algorithm, or an ECC digital signature algorithm (ECDSA). Therefore, the external test tool can only access public information (public key certificate) without providing any secret information (private key certificate) that may cause potential security issues.
[0015] When the vehicle controller verifies the signed challenge, the set of diagnostics is unlocked, and when any diagnostic requested by the external test tool matches the unlocked diagnostic, the diagnostic of the external test tool is automatically started. However, any unmatched requested diagnostic will be blocked or otherwise prevented from execution. The external test tool can also be notified of any diagnostic that is not authorized for the provided diagnostic role. Some conventional solutions will act as a gateway, authorizing or not authorizing access to the requested diagnostics. However, when unauthorized, the requested diagnostics will not be performed at all, and the service technician operating the external test tool will not know which diagnostics failed to execute and why. These diagnoses can utilize the results of previously performed vehicle on-board diagnostics (OBD) and corresponding OBD or diagnostic trouble codes (DTCs) set during vehicle operation. Access can also be temporary (i.e., the certificate may expire after a period of time or multiple uses) to further increase the security of the system.
[0016] Reference now Figure 1, a diagnostic access authentication system 100 for a vehicle 104 is shown. The three main components of the system 100 are a diagnostic access authentication system 108 of the vehicle 104, an external test tool 112, and a PKI computing system 116. The system 108 generally includes a set of components 120 of the vehicle 104, which are configured to be objects of a set of diagnostics, a controller 124, and a diagnostic interface 128. As previously described, non-limiting examples of the set of components 120 and a corresponding set of diagnostics include oxygen sensor diagnostics, engine misfire diagnostics, evaporative emissions (EVAP) diagnostics, exhaust gas recirculation (EGR) diagnostics, and catalytic converter diagnostics. However, it should be understood that any suitable diagnostics can be performed on any suitable vehicle component, including vehicle components that are not related to emissions. Although a single external test tool 112 is shown, it should be understood that the external test tool 112 can be a complex system of multiple test devices.
[0017] The set of components 120, the controller 124, and the diagnostic interface 128 are all connected to and communicate via a controller area network (CAN, not shown), which can be any combination of wired and / or wireless connections between the various components. The controller 120 is configured to perform at least a portion of the diagnostic access authentication technology of the present disclosure, as described in more detail below. It should be understood that the term "controller" as used herein refers to any suitable control device or a group of multiple control devices configured to perform at least a portion of the technology of the present disclosure. Non-limiting examples include an application specific integrated circuit (ASIC), one or more processors, and a non-transitory memory having instructions stored thereon, which, when executed by one or more processors, causes the controller to perform a set of operations corresponding to at least a portion of the technology of the present disclosure. The one or more processors can be a single processor or two or more processors running in a parallel or distributed architecture.
[0018] When connected to the CAN of the vehicle 104, the diagnostic interface 128 is also configured to communicate with the external test tool 112. This communication can be via a wired connection (e.g., a special port) or a wireless connection. The external test tool 112 typically includes one or more processors 132 (similar to the controller 124) and a network interface 136. The network interface 136 is configured to communicate with both the diagnostic interface 128 and the PKI computing system 116. The PKI system 116 can be a local or dedicated system (e.g., a group of external test tools specifically used for the external test tool 112 or associated with a specific service center) or a remote system that can be accessed by the external test tool 112 via a network such as the Internet. The PKI computing system 116 stores private key certificates that are not shared with other devices. The PKI computing system 116 also provides a public key certificate to the external test tool 112, which specifies the diagnostic role for the diagnostic access authentication technology, which will now be described in more detail.
[0019] Reference now Figure 2 , a flow chart of an exemplary diagnostic access authentication method 200 according to the principles of the present disclosure is shown. At 204, the external test tool 112 requests a public key certificate from the PKI computing system 116. This can be, for example, in response to a service technician's input to the external test tool 112. At 208, the PKI computing system 116 provides a public key certificate to the external test tool 112. The public key certificate specifies the diagnostic role of the external test tool 112 (i.e., what diagnostics the external test tool 112 is authorized to perform). The public key certificate also corresponds to or is otherwise associated with a private key certificate stored in the PKI computing system 116 and not shared by the PKI computing system 116. At 212, the external test tool 112 generates a diagnostic request and provides it to the vehicle 104. The diagnostic request specifies a set of requested diagnostics that the external test tool 112 wants to access to perform. The diagnostic request also includes a public key certificate.
[0020] At 216, the vehicle 104 generates a random authentication challenge for the public key certificate and provides the challenge to the external test tool 112. At 220, the external test tool 112 provides or forwards the challenge to the PKI computing system 116. At 224, the PKI computing system 116 digitally signs the challenge using the stored private key certificate and returns the signed challenge including the digital signature to the external test tool 112. At 228, the external test tool 112 provides or forwards the signed challenge to the vehicle 104. At 232, the vehicle 104 determines whether the digital signature is valid using the previously provided public key certificate. When valid, the method 200 proceeds to 236. When invalid, the method 200 ends or returns to 204. It should be understood that in the case of an invalid digital signature, the vehicle 104 can also provide a notification to the external test tool 112 so that the service technician knows that the digital signature is invalid and diagnostic access will not be provided. At 236, the vehicle 104 unlocks a set of diagnostics associated with the previously provided diagnostic role.
[0021] At 240, the vehicle 104 determines whether any requested diagnostics from the initial diagnostic request match the unlocked diagnostics. When there is at least one match, the method 200 proceeds to 240. When there is no match, the method 200 ends or returns to 204. Likewise, it should be understood that the vehicle 104 can provide such a notification to the external test tool 112 so that the service technician knows that the requested diagnostics are not associated with the diagnostic role they provide. At 240, the vehicle 104 initiates the matching diagnostics. This can include, for example, providing a notification to the external test tool 112 to perform the matching diagnostics. In the event that only some of the requested diagnostics match, it will be understood that the vehicle 104 can also provide a notification to the external test tool 112 so that the service technician knows that the requested diagnostics are not authorized by the diagnostic role they provide. The method 200 then ends or returns to 204.
[0022] It should be understood that the mixing and matching of features, elements, methods and / or functions between various examples may be expressly contemplated herein so that those skilled in the art can understand from the present teachings that the features, elements and / or functions of one example may be combined in another example as appropriate, unless otherwise stated above.
Claims
1. A diagnostic access authentication system for a vehicle having a controller area network (CAN), the system comprising: a diagnostic interface connected to the CAN and configured to connect to an external test tool; a set of components connected to the CAN and configured as a set of diagnostic objects; as well as A controller, connected to the CAN and configured to perform a diagnostic authentication process, comprising: receiving a request for diagnostic access to the vehicle from the external test tool, the request including a public key certificate specifying a diagnostic role, wherein the external test tool obtains the public key certificate from a public key infrastructure (PKI) computing system that stores a corresponding private key certificate and does not share the corresponding private key certificate; transmitting an authentication challenge to the external test tool, wherein receipt of the authentication challenge causes the external test tool to transmit the authentication challenge to the PKI computing system, receive a signed authentication challenge including a digital signature from the PKI computing system, and transmit the signed authentication challenge to the controller via the diagnostic interface; receiving the signature authentication challenge from the external testing tool; Determining whether the digital signature of the signature authentication challenge is valid using the public key certificate; When the digital signature is valid, unlocking a set of diagnoses associated with the diagnostic role; and When any set of unlocked diagnostics associated with the diagnostic role matches any set of diagnostics for the set of components, the external test tool is granted diagnostic access to the vehicle, thereby causing the external test tool to perform one or more matching diagnostics. 2 . The system of claim 1 , wherein the authentication process further comprises denying the external test tool diagnostic access to the vehicle when the digital signature is invalid. 3 . The system of claim 1 , wherein the authentication process further comprises denying the external test tool diagnostic access to the vehicle when the diagnostic is not one of a set of unlocked vehicle diagnostics.
4. The system of claim 1, wherein the PKI computing system is a local or dedicated system of the external testing tool.
5. The system of claim 1, wherein the PKI computing system is a remote system connected to the external testing tool via the Internet.
6. The system of claim 1, wherein the controller and the external test tool do not share a seed and a key for authentication.
7. A diagnostic access authentication method for a vehicle, the vehicle comprising a set of components configured as objects of a set of diagnoses, the method comprising: receiving, by a controller of the vehicle and from an external test tool, a request for diagnostic access to the vehicle, the request including a public key certificate specifying a diagnostic role, wherein the external test tool obtains the public key certificate from a public key infrastructure (PKI) computing system that stores a corresponding private key certificate and does not share the corresponding private key certificate; transmitting, by the controller and to the external test tool, an authentication challenge, wherein receipt of the authentication challenge causes the external test tool to transmit the authentication challenge to the PKI computing system, receive a signed authentication challenge including a digital signature from the PKI computing system, and transmit the signed authentication challenge to the controller; receiving, by the controller and from the external testing tool, the signature authentication challenge; Determining, by the controller, whether the digital signature of the signature authentication challenge is valid using the public key certificate; unlocking, by the controller, a set of diagnoses associated with the diagnostic role when the digital signature is valid; as well as Diagnostic access to the vehicle is granted by the controller to the external test tool when any set of unlocked diagnostics associated with the diagnostic role matches any set of diagnostics for the set of components, thereby causing the external test tool to perform one or more matching diagnostics. 8 . The method of claim 7 , further comprising denying, by the controller, diagnostic access to the vehicle by the external test tool when the digital signature is invalid. 9 . The method of claim 7 , further comprising denying, by the controller, diagnostic access to the vehicle by the external test tool when the diagnostic is not one of a set of unlocked vehicle diagnostics.
10. The method of claim 7, wherein the PKI computing system is a local or dedicated system of the external testing tool.
11. The method of claim 7, wherein the PKI computing system is a remote system connected to the external testing tool via the Internet.
12. The method of claim 7, wherein the controller and the external test tool do not share a seed and a key for authentication.
Citation Information
Patent Citations
Authorization system and method for vehicle remote diagnosis
CN104765357A
Method for certification by a control unit of a vehicle
CN107040379A
Confidential authentication and provisioning
CN107810617A
Update management method, update management device, and control program
EP3412514A1
Relay service for communication between controllers and accessories
US20160359629A1
