Terminal device and data processing method of terminal device

The terminal device with a communication device adapts to public protocols, addressing low applicability and high costs by enabling digital vehicle key functionality across devices, reducing the need for private protocol components and lowering setup costs.

JP2024137643AActive Publication Date: 2024-10-07XIAOMI EV TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2023189599
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-24
Filing Date
2023-11-06
Publication Date
2024-10-07
Estimated Expiration
2043-11-06

AI Technical Summary

Technical Problem

Existing digital vehicle key solutions for terminal devices have low applicability and high setup costs due to the need for both public and private protocol implementations, limiting compatibility and increasing development costs.

Method used

A terminal device equipped with a communication device that adapts the native system to a public protocol, enabling communication with target communicators via the public protocol, even if the native system lacks required components, by incorporating modules for digital key functionality, such as a digital key module, local application module, digital key framework module, and key management module.

Benefits of technology

Enables digital vehicle key functionality across various terminal devices without the need for private protocol components, reducing setup costs and expanding the scope of application for public protocols like ICCOA.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024137643000001_ABST
    Figure 2024137643000001_ABST
Patent Text Reader

Abstract

To provide a terminal device and a data processing method of the terminal device.SOLUTION: In a data processing method of a terminal device including a communication apparatus, the communication apparatus detects (S91) whether a native system of the terminal device includes a component for adapting to a public protocol of a digital vehicle key, and if the native system lacks at least one component, performs (S92) communication based on the public protocol with a target communicator who is a participant of the public protocol.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to the field of terminal technology, and in particular to a terminal device and a data processing method for a terminal device. [Background technology]

[0002] Terminal devices as vehicle keys are a popular technology that has emerged in recent years, and this function is also called digital vehicle keys. Unlike traditional physical vehicle keys, digital vehicle keys integrate the functions of vehicle keys into mobile terminal devices, enabling functions such as opening and closing car doors and starting the vehicle. At present, some vehicle manufacturers and mobile terminal manufacturers are working together to develop solutions for digital vehicle keys. However, these solutions have low applicability and high setup costs. Summary of the Invention

[0003] To solve the problems existing in the related art, the present disclosure provides a terminal device and a data processing method for the terminal device.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a terminal device comprising a communication device configured to detect whether a native system of the terminal device includes a component for complying with a public protocol for a digital vehicle key, and if the native system is missing at least one of the components, to communicate based on the public protocol with a target communicator that is a participant of the public protocol.

[0005] Optionally, the communication device includes a digital key module capable of communicating with a vehicle server and configured to realize functions of a vehicle manufacturer application defined in the public protocol, a local application module capable of communicating with a terminal device server and configured to realize functions of a terminal device manufacturer application defined in the public protocol, a digital key framework module configured to realize functions of a digital key framework defined in the public protocol, and a key management module configured to realize functions of a digital key program defined in the public protocol.

[0006] Optionally, the communication device comprises a cryptographic whitebox module configured to store digital vehicle key data.

[0007] Optionally, the local application module is configured to communicate with the terminal device server based on a terminal device service module in a vehicle server.

[0008] Optionally, the public protocol is a public protocol based on certificate authentication, and the target communicator comprises a vehicle server and a terminal device server, and the terminal device is used to communicate with the vehicle server via the digital key module and with the terminal device server via the local application module in response to receiving a key sharing request, thereby completing the authentication step of key sharing and obtaining a shared digital vehicle key.

[0009] Optionally, the public protocol is the CCC protocol or the ICCOA protocol.

[0010] Optionally, the target communicator comprises a vehicle, and the terminal device is used to establish a security channel with the vehicle via the communication apparatus by communicating based on the public protocol, and to transmit a target control command to the vehicle via the security channel for controlling the vehicle to perform a target operation.

[0011] According to a second aspect of an embodiment of the present disclosure, there is provided a data processing method for a terminal device applied to a terminal device according to any one of the first aspects, the method comprising: detecting whether a native system of the terminal device includes a component for complying with a public protocol for a digital vehicle key; and, if the native system is missing at least one of the components, communicating based on the public protocol with a target communicator who is a participant of the public protocol.

[0012] Optionally, the public protocol is a public protocol based on certificate authentication, and the target communicator comprises a vehicle server and a terminal device server, and the step of communicating with the target communicator based on the public protocol includes, in response to receiving a key sharing request, communicating with the vehicle server via a digital key module in a communication device and communicating with the terminal device server via a local application module in the communication device to complete an authentication step of key sharing and obtain a shared digital vehicle key.

[0013] Optionally, the target communicator comprises a vehicle, and the step of communicating with the target communicator based on the public protocol includes a step of establishing a security channel with the vehicle by communicating with the vehicle based on the public protocol via the communication device, and a step of transmitting a target control command to the vehicle via the security channel for controlling the vehicle to perform a target operation.

[0014] In the above technical solution, a communication device is installed in a terminal device, and the communication device can detect whether the native system of the terminal device includes a component for conforming to a public protocol of a digital vehicle key, and if the native system is missing at least one of the components, communication according to the public protocol is performed with a target communicator that is a participant of the public protocol. Effect of the Invention

[0015] In this way, the terminal device can communicate with a target communicator based on the public protocol via the communication device, and thus realize the function of a digital vehicle key based on the public protocol. In this manner, the public protocol can be applied to various terminal devices, and thus the application range of the public protocol is expanded. At the same time, a terminal device that does not support the public protocol can also communicate based on the public protocol via the communication device, and thus realize the digital vehicle key function. Therefore, it is not necessary to arrange a component for realizing a digital vehicle key based on a private protocol in the terminal device, and thus the setting cost of the digital vehicle key is reduced.

[0016] It should be noted that the above general description and the following detailed description are exemplary and explanatory only and are not intended to limit the scope of the present disclosure. [Brief description of the drawings]

[0017] The drawings herein are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description serve to explain the principles of the present disclosure. [Figure 1] FIG. 1 is an architecture diagram of a digital vehicle key system based on the ICCOA protocol as shown in one exemplary embodiment. [Diagram 2] FIG. 2 is a block diagram of a terminal device shown in an exemplary embodiment. [Diagram 3] FIG. 2 is a block diagram of a communication device in an exemplary embodiment. [Figure 4] FIG. 2 is a block diagram of a communication device and a cryptographic white-box as shown in an exemplary embodiment. [Diagram 5] 1 is a flow chart for activating a digital vehicle key according to an example embodiment. [Figure 6] FIG. 2 is an architecture diagram of an ICCOA digital vehicle key as shown in one exemplary embodiment. [Figure 7] 4 is a flowchart of key sharing according to an exemplary embodiment. [Figure 8] 4 is a flow chart of standard authentication of a mobile terminal and a vehicle according to an exemplary embodiment. [Figure 9] 4 is a flowchart of a data processing method of a terminal device shown in an exemplary embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] DETAILED DESCRIPTION OF THE ILLUSTRATIVE EMBODIMENTS Now, exemplary embodiments will be described in detail, examples of which are illustrated in the drawings. When the following description refers to the drawings, the same numerals in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure, as detailed in the appended claims.

[0019] Before describing the terminal device and the data processing method for the terminal device according to the present disclosure, a scenario in which the present disclosure is applied will be described first.

[0020] Using a terminal device as a vehicle key is a popular technology that has emerged in recent years, and this function is also called a digital vehicle key. Different from the traditional physical vehicle key, the digital vehicle key integrates the vehicle key function into a mobile terminal device, which can realize functions such as opening and closing the car door and starting the vehicle.

[0021] For example, in some scenarios, an automobile manufacturer may develop a digital vehicle key based on a private protocol. By encapsulating data related to the private protocol into an automobile manufacturer application, a terminal device having the automobile manufacturer application installed can interact with a vehicle and a vehicle server based on the private protocol, thereby realizing the functions of the digital vehicle key, such as vehicle control, key sharing, etc. To realize the functions of the digital vehicle key, the automobile manufacturer application needs to run on the terminal device, for example, in the foreground, which consumes a lot of resources of the terminal device, or it can be reserved in the background.

[0022] For this reason, some automobile manufacturers and mobile terminal manufacturers have jointly developed a digital vehicle key solution, namely a digital vehicle key solution based on a public protocol. Compared with a private protocol, a public protocol can realize the function of a digital vehicle key based on the lowest layer of the operating system.

[0023] Here, a public protocol called "ICCOA" is taken as an example for explanation, and the architecture diagram of a digital vehicle key system based on the ICCOA protocol is shown in FIG. 1. In the solution of a vehicle digital key based on a public protocol, operations related to the digital vehicle key can be encapsulated as a digital key framework (DKF). The digital key framework can provide various APIs (Application Programming Interfaces) for higher-level applications to call, such as device pairing, key lifecycle management, key unlocking, key locking, sharing, and vehicle control. By setting the digital key framework at the system level, the terminal device can realize the function of the digital vehicle key based on the lowest layer of the operating system, which has the advantages of consuming less resources and providing a better user experience.

[0024] In addition, since the public protocol is developed in cooperation between automobile manufacturers and mobile terminal manufacturers, the type of terminal device is limited. For example, when terminal manufacturer A and automobile manufacturers develop public protocol 1 in cooperation, a terminal device A1 under terminal manufacturer A can support the public protocol 1, but a terminal device B1 under terminal manufacturer B is unlikely to support the public protocol 1, which affects the user experience. For example, in some scenarios, the vehicle users may include the vehicle owner and his / her friends, however, the vehicle owner uses the terminal device A1 that supports the public protocol 1, and the friend uses the terminal device B1 that does not support the public protocol 1, so the vehicle owner cannot share the digital vehicle key with the friend.

[0025] Therefore, to ensure compatibility, automakers usually need to simultaneously develop a private protocol-based digital vehicle key solution and a public protocol-based digital vehicle key solution, both of which can be configured on terminal devices, but this brings about high development and implementation costs for the digital vehicle key solution.

[0026] Therefore, the present disclosure provides a terminal device, which may be a mobile terminal device such as a mobile phone, a tablet, or other type of terminal device capable of implementing a digital key function.

[0027] FIG. 2 is a block diagram of a terminal device shown in the present disclosure. Referring to FIG. 2, the terminal device includes a communication device, which is configured to detect whether a native system of the terminal device includes a component for complying with a public protocol of a digital vehicle key, and, if the native system is missing at least one of the components, to communicate based on the public protocol with a target communicator who is a participant of the public protocol.

[0028] Here, the native system of the terminal device may be a system installed at the time of shipment of the terminal device, and according to the difference of the terminal device, the native system may have various forms, such as iOS system, Hongmeng system, Android system, etc., and is not limited in the present disclosure. To realize the digital vehicle key based on the public protocol, corresponding components need to be configured in the terminal device. These components may include a security unit, a digital key framework, a trusted execution environment, etc., and the types thereof may be specifically referred to the description of the related digital vehicle key public protocol.

[0029] The communication device can detect whether the native system of the terminal device includes components for conformance with a public protocol for digital vehicle keys, and if the native system is missing one or more of the components, the communication device can communicate based on the public protocol with a target communicator that is a participant of the public protocol.

[0030] Here, the communication device can be represented in the form of software, hardware, or a combination of software and hardware. For example, in one possible embodiment, the communication device can be represented in the form of a Software Development Kit (SDK). The public protocol can be a public protocol based on a certificate system, such as the Car Connectivity Consortium (CCC) protocol or the Intelligent Car Connectivity Open Alliance (ICCOA) protocol. The public protocol can be a public protocol based on cryptographic key authentication, such as the Intelligent Car Connectivity Industry Ecosystem Alliance Digital Key System (ICCE) protocol.

[0031] The communication device will be described below using a public protocol called "ICCOA" as an example.

[0032] 3 is a block diagram of a communication device as described herein. In one possible embodiment, the communication device may include a digital key module capable of communicating with a vehicle server and configured to implement the functionality of a vehicle manufacturer application defined in the public protocol.

[0033] The ICCOA protocol stipulates that a vehicle manufacturer application must provide a functional interface related to a digital vehicle key to a user. Therefore, the digital key module can be obtained by encapsulating related key management functional methods. Here, the key management functional methods can include key creation, key sharing, key deletion, RKE (Remote Keyless Entry), etc. The digital key module can be expressed in the form of an SDK and provide an interface for the key management functional methods.

[0034] With reference to FIG. 3, in one possible embodiment, the communication device comprises a local application module adapted to implement the functionality of a terminal device manufacturer application defined in the public protocol.

[0035] The local application module can communicate with a terminal device server. In some implementations, the local application module can be configured to communicate directly with the terminal device server. In some implementations, a terminal device service module can be configured in a vehicle server. In this way, the local application module is configured to communicate with the terminal device server based on the terminal device service module in the vehicle server.

[0036] The ICCOA protocol specifies that the terminal device manufacturer application needs to provide a user with a functional interface related to the digital vehicle key and execute service processes such as activating, updating, sharing, and revoking the digital vehicle key. Therefore, the relevant functional methods can be encapsulated to obtain the local application module. The local application module can also be presented in the form of an SDK and provides interfaces for business functions such as activating, updating, sharing, and revoking the vehicle key.

[0037] Referring to FIG. 3, in one possible embodiment, the communication device comprises a digital key framework module configured to implement functions of a digital key framework defined in the public protocol.

[0038] For example, operations related to a digital vehicle key TA (Trusted Application) in the digital vehicle key lifecycle can be encapsulated, thereby resulting in the digital key framework module. The digital key framework module can provide vehicle key management services in the form of APIs to the digital key module and local application modules for invocation, including but not limited to device pairing, key lifecycle management, key unlocking, key locking, sharing, vehicle control, etc. The digital key framework module can further interact with the key management module, thereby facilitating the key management module to receive and respond to authentication messages sent from the vehicle in a timely manner.

[0039] In addition, the digital key framework module may be configured to perform Bluetooth pairing with the vehicle to establish a Bluetooth connection, and the Bluetooth pairing and connection method may be a general-purpose method or a user-defined method. In interacting with the vehicle, the digital key framework module may perform parsing and encapsulation on a Bluetooth authentication data packet.

[0040] Referring to FIG. 3, in one possible embodiment, the communication device comprises a key management module configured to implement the functionality of a digital key program defined in the public protocol.

[0041] Here, the key management module may include a TA module, which may call the security capability provided by the security storage unit to construct and store key data. Referring to the block diagram of the communication device and the cryptographic white box shown in FIG. 4, unlike the related art which stores key data through a secure element (SE), in this disclosure, the TA module may store key data in the manner of a cryptographic white box. In some implementation scenarios, the TA module may store key data through a security storage technology of the terminal device native system. For example, in the Android system, the key data may be stored through a key-store (Android encryption key) technology.

[0042] In addition, in the service processes of pairing, unlocking, locking, sharing, vehicle control, etc. of digital vehicle keys, the TA module can further perform encryption, decryption and security control on data. In some implementation scenarios, the TA module can also be used to verify the identity of the user.

[0043] In some implementation scenarios, the TA module may be configured to have a call interface. The key management module may further include a Client Application (CA) module. The CA module can execute TA-related functions by calling the interface of the TA module.

[0044] Also, the communication device may be encapsulated in an application within the terminal, which is not limited in this disclosure.

[0045] Based on said communication apparatus, a terminal device is able to carry out communication with a target correspondent based on said public protocol.

[0046] For example, in one possible embodiment, the public protocol is a public protocol based on certificate authentication, and the terminal device is used to communicate with a vehicle server, a terminal device server and a vehicle via the communication device to complete the activation step of a digital vehicle key and obtain a digital vehicle key.

[0047] Please refer to the digital vehicle key activation flow chart shown in Figure 5 and the ICCOA digital vehicle key architecture diagram shown in Figure 6. In this disclosure, the digital vehicle key flow based on communication device activation ICCOA protocol includes the following steps:

[0048] In steps 511 to 513, the user can start the key activation flow via the communication device of the terminal device. Here, the user can input pairing information. The pairing information can be generated by a vehicle server, and the digital key module in the communication device can obtain the pairing information from the vehicle server. The vehicle server can transmit initial pairing parameters to the vehicle side.

[0049] In step 52, the vehicle side can interact with the DKF module of the terminal device, and perform two-way authentication based on the SPAKE2+ algorithm and the terminal device to establish a SPAKE2+ security channel, where if the vehicle is bound to the vehicle owner's terminal device, the key activation flow is terminated, and if the vehicle is not bound to the vehicle owner's terminal device, the subsequent flow is continued based on the SPAKE2+ security channel.

[0050] The vehicle (or the terminal device) can further check whether the current state meets the conditions for key activation, which can be set according to the needs of the application. In step 53, if the conditions for key activation are met, the vehicle transmits a vehicle public key certificate [F] to the terminal device, where the vehicle public key certificate [F] includes the vehicle public key and the vehicle server CA signature.

[0051] In steps 541-543, the key management module of the terminal device can verify the vehicle public key certificate [F] using the vehicle server CA certificate [C], where the vehicle server CA certificate [C] includes the vehicle server CA public key and a trusted CA signature. After successful verification, the terminal device can store the vehicle public key certificate [F]. For example, the terminal device can store the vehicle public key certificate in a cryptographic white box. In addition, the terminal device can generate a digital vehicle key public-private key pair [K], where the digital vehicle key public-private key pair [K] can include a digital vehicle key public key and a digital vehicle key private key. The terminal device can further sign the digital vehicle key public key through the key management module certificate [H] to generate a digital vehicle key public key certificate [L]. Here, the key management module certificate [H] includes the key management module CA public key and the key management module CA private key, and the digital vehicle key public key certificate [L] includes the digital vehicle key public key and the key management module CA signature.

[0052] In step 55, the terminal device sequentially transmits the terminal device server CA certificate [D], the key management module certificate [J] and the digital vehicle key public key certificate [L] to the vehicle, where the terminal device server CA certificate [D] includes the terminal device server CA public key and the vehicle server CA signature, and the key management module certificate [J] includes the key management module CA public key and the terminal device server CA signature.

[0053] In step 56, the vehicle sequentially verifies the certificate chain transmitted from the terminal device. Here, the vehicle can verify the terminal device server CA certificate [D] through the vehicle server CA certificate [G], which includes the vehicle server CA public key and a trusted CA signature. The vehicle can also verify the key management module's certificate [J] through the terminal device server CA certificate [D], which includes the terminal device server CA public key and the vehicle server CA signature. The vehicle can verify the digital vehicle key public key certificate [L] through the key management module's certificate [J].

[0054] If the verification is successful, the vehicle can store the digital vehicle key public key and the corresponding digital vehicle key information. In this way, the terminal device verifies and stores the vehicle public key, and the vehicle verifies and stores the digital vehicle key public key, thereby completing the encryption key generation and verification steps of the vehicle owner's key pairing stage. At this time, the terminal device and the vehicle are successfully paired.

[0055] In step 57, the vehicle indicates the transmission status to the terminal device and indicates the pairing status of the vehicle's digital vehicle key.

[0056] In steps 581-583, the vehicle synchronizes the activation status of the vehicle's digital vehicle key with the vehicle server, and the terminal device transmits the activation status of the terminal device's digital vehicle key to the terminal device server. The terminal device server synchronizes the activation status of the digital vehicle key with the vehicle server.

[0057] In step 59, the vehicle server notifies the vehicle owner by sending a key activation message.

[0058] In step 510, a first standard authentication is performed between the terminal device and the vehicle, and a standard authentication security channel is established.

[0059] In step 511, if the digital vehicle key service data needs to be set, the vehicle sends a request to the terminal device to store the digital vehicle key service data.

[0060] By using the above technical solution, for terminal devices whose native systems do not support the ICCOA protocol, it is possible to start operating digital vehicle keys based on the ICCOA protocol based on the communication device, thereby expanding the scope of application of the ICCOA protocol.

[0061] In one possible embodiment, the public protocol is a public protocol based on certificate authentication, the target communicators include a vehicle server and a terminal device server, and the terminal device is used to communicate with the vehicle server via the digital key module and with the terminal device server via the local application module in response to receiving a key sharing request, thereby completing the authentication step of key sharing and obtaining a shared digital vehicle key. Of course, in some implementation scenarios, the terminal device may be the initiator of key sharing (i.e., the terminal device of the vehicle owner) and share the digital vehicle key with another terminal device.

[0062] An example of a flow for sharing a digital vehicle key will be described below.

[0063] FIG. 7 is a flowchart of the key agreement shown in the present disclosure. Referring to FIG. 7, the flow of the key agreement includes the following steps:

[0064] In step 71, a user can set friend key sharing information, such as expiration date and authority. Here, if the native system of the vehicle owner's terminal device supports the ICCOA protocol, the user can set the friend key sharing information in a terminal device manufacturer application of the vehicle owner's terminal device, which may be, for example, a wallet application. If the native system of the vehicle owner's terminal device does not support the ICCOA protocol, the user can set the friend key sharing information via the communication device.

[0065] In step 72, the vehicle owner's terminal device signs the friend key-sharing information with the vehicle owner's digital vehicle key private key to generate a friend key-sharing request.

[0066] In step 73, the vehicle owner's terminal device sends a friend key sharing request to the vehicle owner's terminal device server, which forwards the sharing request to the vehicle server.

[0067] In step 74, the vehicle server receives the sharing request and verifies the signature of the sharing information using the vehicle owner's digital vehicle key public key.

[0068] In step 75, the vehicle server generates a shared link SessionID after successfully verifying the signature of the shared information, and the SessionID can be randomly generated by a random number generator, thus avoiding the risk of incremental prediction.

[0069] In step 76, the vehicle server sends the shared link SessionID to the vehicle owner's terminal device server, which forwards the shared link SessionID to the vehicle owner's terminal device.

[0070] In step 77, after receiving the sharing link SessionID, the terminal device of the vehicle owner generates a sharing link including the SessionID and shares it with friends by the vehicle owner.

[0071] In step 78, the friend can open a sharing link through the friend terminal device. If the native system of the friend terminal device supports the ICCOA protocol, the friend terminal device jumps to a terminal device manufacturer application and obtains friend key sharing information from the friend terminal device server based on the SessionID. Here, the friend terminal device server can obtain the friend key sharing information from the vehicle server. Also, if the native system of the friend terminal device does not support the ICCOA protocol, the friend terminal device can obtain the friend key sharing information from the friend terminal device server based on the SessionID through the digital key module when opening the sharing link.

[0072] In step 79, the vehicle server transmits the friend key sharing information to the friend terminal device server, and the friend terminal server forwards the friend key sharing information to the friend terminal device.

[0073] In step 710, the friend terminal device presents information related to friend key sharing, and continues after being confirmed by the user. Here, if the current friend terminal device already has a corresponding vehicle key, it ends the key sharing flow and presents the corresponding information.

[0074] In step 711, the friend terminal device generates a friend digital vehicle key public-private key pair.

[0075] In step 712, if the native system of the friend terminal device supports the ICCOA protocol, the friend terminal device can sign the already-generated friend digital vehicle key public key based on a trusted execution environment CA to generate a friend digital vehicle key public key certificate. If the native system of the friend terminal device supports the ICCOA protocol, the friend terminal device can sign the already-generated friend digital vehicle key public key based on a key management module in a communication device to generate a friend digital vehicle key public key certificate.

[0076] In step 713, the friend terminal device can initiate a transmission request to the friend terminal device server, and the transmission contents include the friend digital vehicle key public key certificate, the friend terminal device TEE CA certificate (if the native system of the friend terminal device does not support the ICCOA protocol, it is the key management module CA certificate, and the key management module CA certificate is obtained by the friend terminal server CA private key signing the key management module CA public key), and the friend terminal device server CA certificate. The friend terminal device server forwards the transmission contents to the vehicle server, and the vehicle server further forwards it to the vehicle owner's terminal device server. Then, the vehicle owner's terminal device server further forwards the transmission contents to the vehicle owner's terminal device.

[0077] In step 714, after receiving the above transmission content, the vehicle owner's terminal device can verify the friend terminal device server CA certificate using the vehicle server CA certificate stored in the vehicle owner's terminal device, then verify the friend terminal device TEE CA certificate using the friend terminal device server CA certificate, and finally verify the friend digital vehicle key public key certificate using the friend terminal device TEE CA certificate.

[0078] Or, if the transmission content includes the friend digital vehicle key public key certificate, the key management module CA certificate and the friend terminal device server CA certificate, the vehicle owner's terminal device uses the vehicle server CA certificate to verify the friend terminal device server CA certificate, then uses the friend terminal device server CA certificate to verify the key management module CA certificate, and finally uses the key management module CA certificate to verify the friend digital vehicle key public key certificate.

[0079] In step 715, if the vehicle owner's terminal device confirms that the above certificate chain verification is successful, it obtains the friend digital vehicle key public key. In this way, the vehicle owner's terminal device can use the vehicle owner's digital vehicle key private key to sign the friend key sharing information and the friend digital vehicle key public key to generate the friend key authentication information.

[0080] In step 716, the vehicle owner's terminal device sends a transmission request to the vehicle owner's terminal device server, where the transmission content may include the friend key authentication information and the vehicle public key certificate. The vehicle owner's terminal device server forwards the transmission content to the vehicle server, which then forwards the transmission content to the friend terminal device server, which then forwards the transmission content to the friend terminal device.

[0081] In step 717, after receiving the friend key authentication information and the vehicle public key certificate, the friend terminal device stores the friend key authentication information and the vehicle public key certificate, where the friend key authentication information is used for the first standard authentication of the friend key and the vehicle, and is deleted after the transaction is completed. In this manner, the friend key validation is completed.

[0082] The friend terminal device can further synchronize the friend key state to a friend terminal device server, which synchronizes the friend key state to a vehicle server, which further synchronizes the friend key state to a vehicle owner's terminal device server, which then synchronizes the friend key state to a vehicle owner's terminal device server, which then synchronizes the friend key state to a vehicle owner's terminal device server.

[0083] In step 718, the vehicle server records and tracks friend key state changes and notifies the vehicle owner and friends in the form of short messages.

[0084] With the above technical solution, the flow of digital vehicle key sharing can also be carried out based on the communication device for terminal devices whose native systems do not support the ICCOA protocol, thus expanding the scope of application of the ICCOA protocol.

[0085] In one possible embodiment, the target communicator includes a vehicle, and the terminal device is used to establish a security channel with the vehicle via the communication apparatus by communicating based on the public protocol, and to transmit a target control command to the vehicle via the security channel for controlling the vehicle to perform a target operation.

[0086] For example, after digital vehicle key activation, a terminal device can use the digital vehicle key. When using the digital vehicle key, the terminal device can authenticate the vehicle based on the communication device.

[0087] Here, the authentication process may include standard authentication and rapid authentication. In standard authentication, the vehicle uses a pre-stored digital vehicle key public key to verify the legitimacy of the digital vehicle key of the mobile terminal. In rapid authentication, the vehicle uses a rapid authentication encryption key generated and stored in the previous standard authentication to verify the legitimacy of the digital vehicle key of the mobile terminal.

[0088] FIG. 8 is a flowchart of the standard authentication of a mobile terminal and a vehicle described in the present disclosure. Referring to FIG. 8, the standard authentication process includes the following steps:

[0089] In step 81, the vehicle generates a vehicle ephemeral public-private key pair.

[0090] In step 82, the vehicle sends a public key exchange request to the mobile terminal, transmitting a temporary vehicle public key and a vehicle ID (Vehicle_ID), the generation rules of the vehicle Vehicle_ID can be found in the ICCOA protocol.

[0091] The mobile terminal generates a digital vehicle key temporary public-private key pair in step 83. For example, the mobile terminal may generate the temporary public-private key pair via a key management module.

[0092] In step 84, the mobile terminal sends a public key exchange request response to the vehicle, and returns a digital vehicle key temporary public key and a digital vehicle key ID (KeyID). The generation rules of the digital vehicle key KeyID can be found in the ICCOA protocol.

[0093] In step 85, the vehicle generates a vehicle authentication information, which includes the digital vehicle key temporary public key, the vehicle temporary public key, and the associated information of the digital vehicle key ID. The vehicle may further sign the vehicle authentication information with the vehicle private key.

[0094] In step 86, the vehicle sends a standard authentication request to the mobile terminal and transmits a vehicle authentication information signature to the mobile terminal.

[0095] In step 87, the mobile terminal verifies the signature using the vehicle public key, and the vehicle public key certificate is sent to the mobile terminal through a key validation flow. In this way, the mobile terminal can verify the signature of the vehicle using the vehicle public key, thereby verifying the identity of the vehicle and thus preventing a counterfeit vehicle from obtaining the mobile terminal information.

[0096] In step 88, if the vehicle authentication information signature passes verification, the mobile terminal generates a digital vehicle key authentication information, which may include the digital vehicle key temporary public key, the vehicle temporary public key, and vehicle ID related information. Then, the mobile terminal can sign the digital vehicle key authentication information with the digital vehicle key private key.

[0097] In steps 891 and 892, the mobile terminal can generate a security channel encryption key and a fast authentication encryption key by using a KDF algorithm according to the agreed symmetric encryption key, and the vehicle side generates a security channel encryption key and a fast authentication encryption key by using the same encryption key agreement algorithm and KDF algorithm. Based on the same security channel encryption key, both sides establish a security channel.

[0098] In step 810, based on the established security channel, the mobile terminal sends a standard authentication request response to the vehicle and sends a digital vehicle key authenticator signature to the vehicle.

[0099] In step 811, based on the digital vehicle key ID sent from the mobile terminal, the vehicle queries the digital vehicle key ID to obtain the corresponding digital vehicle key public key. If the digital vehicle key public key is found, the vehicle executes step 815. If the vehicle cannot find the digital vehicle key ID and the corresponding digital vehicle key public key, the vehicle executes steps 812 to 814 based on the established security channel, and the vehicle obtains the digital vehicle key public key of the friend key through steps 812 to 814.

[0100] Here, in step 812, the vehicle-oriented mobile terminal sends a digital vehicle key data request, which is used to obtain friend key authentication information.

[0101] In step 813, the mobile terminal sends a digital vehicle key data request response to the vehicle returning the friend key authentication information.

[0102] In step 814, the vehicle decrypts the Friend Key Certification Information using the security channel encryption key, and then verifies the signature of the Friend Key Certification Information using the vehicle owner digital vehicle key public key, and if the verification is successful, stores the Friend Digital Vehicle Key Public Key in the Friend Key Certification Information.

[0103] In step 815, the vehicle uses the digital vehicle key public key corresponding to the digital vehicle key ID to verify the digital vehicle key authentication information signature sent from the mobile terminal. If the verification is successful, the standard authentication is successful. After the standard authentication is passed, the vehicle and the mobile terminal synchronously store the generated quick authentication encryption key for subsequent quick authentication. For example, the mobile terminal can store the quick authentication encryption key in an encryption white box module.

[0104] In step 816, after the authentication is successful, the vehicle sends a status report to the mobile terminal to inform the mobile terminal of the authentication status of the vehicle. In some implementation scenarios, before sending the status report, the vehicle can perform read and write operations on the service data of the mobile terminal based on the established security channel.

[0105] After standard authentication, the mobile terminal can transmit commands based on the established security channel, thereby controlling the vehicle.

[0106] In the above embodiment, the manner in which the mobile terminal of the present disclosure performs public protocol communication is described by taking key activation, key sharing, and key use as examples. However, as can be understood by those skilled in the art, the mobile terminal provided by the present disclosure can perform various communications based on public protocols based on the communication device, and further realize corresponding functions, including but not limited to key activation, key sharing, key use, key revocation, etc.

[0107] In addition, in the above embodiment, the embodiment of the mobile terminal provided by the present disclosure is described using the ICCOA protocol as an example, but in other implementation scenarios, the public protocol may be the CCC protocol, the ICCE protocol, etc.

[0108] For example, in the ICCE protocol, the digital key module in the communication device is configured to communicate with a vehicle server and realize the functions of the vehicle manufacturer application defined in the public protocol. These functions can include providing a user interface for managing and querying keys, providing an interaction channel for the key and the vehicle server, executing service flows such as activation, update, sharing, and revocation, pairing and connecting to the vehicle Bluetooth / UWB (Ultra Wide Band) during the key activation stage, and sending commands to the key management module via an API provided by the DKF. Thus, the above functional methods can be encapsulated to obtain the digital key module. The digital key module can also be expressed in the form of an SDK and provide interfaces for the above functions.

[0109] The local application module of the communication device can communicate with a terminal device server and is configured to realize the functions of the terminal device manufacturer application defined in the public protocol. These functions include providing a user interface for related functions of the digital vehicle key, interacting with the vehicle server, executing service flows such as activation, update, sharing, revocation, etc., triggering state synchronization with the car manufacturer server after performing operations to complete key lifecycle state changes, etc. Thus, the local application module can be obtained by encapsulating the above related function methods. The local application module can also be expressed in the form of an SDK and provide interfaces for the above functions.

[0110] The digital key framework module of the communication device is configured to implement digital key framework functions defined in the public protocol. These functions include device pairing, vehicle key distribution and management. The digital key framework module can also interact with a digital vehicle key program to facilitate the key management module to receive and respond to authentication messages sent from the vehicle in a timely manner. The digital key framework module can further perform access control to APs of the key management module and maintain access control rules.

[0111] The key management module is configured to realize the functions of the digital key program defined in the public protocol. For example, the key management module can provide a security transaction function based on the cryptographic white box. To meet the requirements of multiple vehicle keys, the key management module instance can use a unified AID (application identifier), and ensure that different manufacturer key data are separated to avoid unauthorized query requests.

[0112] Based on the communication device, the terminal device can communicate with the target correspondent according to the ICCE protocol, and the communication method thereof is referred to as the ICCE protocol, and the detailed description thereof is omitted in this disclosure for the sake of brevity of the specification. Similarly, the communication device may be used to realize the functions of the terminal device defined in the CCC protocol, and the communication device is configured to establish communication between the terminal device and the target correspondent according to the CCC protocol, and the detailed description thereof is omitted in this disclosure.

[0113] Based on the same invention idea, the present disclosure further provides a data processing method of a terminal device, which is applied to the terminal device provided by the present disclosure. Figure 9 is a flowchart of the data processing method of a terminal device shown in the present disclosure, and referring to Figure 9, the method includes the following steps:

[0114] In step S91, it is detected whether the native system of the terminal device includes a component that complies with the public protocol of the digital vehicle key.

[0115] In step S92, if the native system is missing at least one component, communication based on the public protocol is conducted with the target communicator, and the target communicator is a participant of the public protocol.

[0116] For example, in one possible embodiment, the public protocol is a public protocol based on certificate authentication, the target communicator includes a vehicle server and a terminal device server, and the step of communicating with the target communicator based on the public protocol includes a step of completing a digital vehicle key activation step defined in the public protocol by communicating with the vehicle server, the terminal device server and the vehicle via the communication device to obtain the digital vehicle key.

[0117] Referring to FIG. 5 and FIG. 6, in the present disclosure, a flow of starting up a digital vehicle key of ICCOA protocol based on a communication device includes the following steps:

[0118] In steps 511 to 513, the user can start the key activation flow via the communication device of the terminal device. Here, the user can input pairing information. The pairing information can be generated by a vehicle server, and the digital key module in the communication device can obtain the pairing information from the vehicle server. The vehicle server can transmit initial pairing parameters to the vehicle side.

[0119] In step 52, the vehicle side can interact with the DKF module of the terminal device and perform two-way authentication based on the SPAKE2+ algorithm and the terminal device, thereby establishing a SPAKE2+ security channel, where if the vehicle is already bound to the vehicle owner's terminal device, the key activation flow is terminated, and if the vehicle is not bound to the vehicle owner's terminal device, the subsequent flow is continued based on the SPAKE2+ security channel.

[0120] The vehicle (or the terminal device) can further check whether the current state meets the condition for key activation, which can be set according to the needs of the application. In step 53, if the key activation condition is met, the vehicle transmits a vehicle public key certificate [F] to the terminal device, where the vehicle public key certificate [F] includes the vehicle public key and the vehicle server CA signature.

[0121] In steps 541-543, the key management module of the terminal device can verify the vehicle public key certificate [F] using the vehicle server CA certificate [C], where the vehicle server CA certificate [C] includes the vehicle server CA public key and a trusted CA signature. After the verification is successful, the terminal device can store the vehicle public key certificate [F]. For example, the terminal device can store the vehicle public key certificate in a cryptographic white box. In addition, the terminal device can generate a digital vehicle key public-private key pair [K], where the digital vehicle key public-private key pair [K] includes the digital vehicle key public key and the digital vehicle key private key. The terminal device can further sign the digital vehicle key public key with the key management module certificate [H] to generate a digital vehicle key public key certificate [L]. Here, the key management module certificate [H] includes the key management module CA public key and the key management module CA private key, and the digital vehicle key public key certificate [L] includes the digital vehicle key public key and the key management module CA signature.

[0122] In step 55, the terminal device sequentially transmits the terminal device server CA certificate [D], the key management module certificate [J] and the digital vehicle key public key certificate [L] to the vehicle, where the terminal device server CA certificate [D] includes the terminal device server CA public key and the vehicle server CA signature, and the key management module certificate [J] includes the key management module CA public key and the terminal device server CA signature.

[0123] In step 56, the vehicle sequentially verifies the certificate chain transmitted from the terminal device. Here, the vehicle can verify the terminal device server CA certificate [D] through the vehicle server CA certificate [G], which includes the vehicle server CA public key and a trusted CA signature. The vehicle can also verify the key management module's certificate [J] through the terminal device server CA certificate [D], which includes the terminal device server CA public key and the vehicle server CA signature. The vehicle can verify the digital vehicle key public key certificate [L] through the key management module's certificate [J].

[0124] If the verification is successful, the vehicle can store the digital vehicle key public key and the corresponding digital vehicle key information. In this way, the terminal device verifies and stores the vehicle public key, and the vehicle verifies and stores the digital vehicle key public key, thereby completing the encryption key generation and verification steps of the vehicle owner's key pairing stage. At this time, the terminal device and the vehicle are successfully paired.

[0125] In step 57, the vehicle indicates the transmission status to the terminal device and indicates the pairing status of the vehicle's digital vehicle key.

[0126] In steps 581-583, the vehicle synchronizes the activation status of the vehicle's digital vehicle key with the vehicle server, and the terminal device transmits the activation status of the terminal device's digital vehicle key to the terminal device server. The terminal device server synchronizes the activation status of the digital vehicle key with the vehicle server.

[0127] In step 59, the vehicle server notifies the vehicle owner by sending a key activation message.

[0128] In step 510, a first standard authentication is performed between the terminal device and the vehicle, and a standard authentication security channel is established.

[0129] In step 511, if the digital vehicle key service data needs to be set, the vehicle sends a request to the terminal device to store the digital vehicle key service data.

[0130] By using the above technical solution, for terminal devices whose native systems do not support the ICCOA protocol, it is possible to start operating digital vehicle keys based on the ICCOA protocol based on the communication device, thereby expanding the scope of application of the ICCOA protocol.

[0131] In one possible embodiment, the public protocol is a public protocol based on certificate authentication, and the target communicator includes a vehicle server and a terminal device server, and in response to receiving a key sharing request, the target communicator includes a step of communicating with the vehicle server via a digital key module in a communication device and communicating with the terminal device server via a local application module in the communication device to complete an authentication step of key sharing and obtain a shared digital vehicle key.

[0132] Referring to FIG. 7, the key sharing flow includes the following steps.

[0133] In step 71, a user can set friend key sharing information, such as expiration date and authority. Here, if the native system of the vehicle owner's terminal device supports the ICCOA protocol, the user can set the friend key sharing information in a terminal device manufacturer application of the vehicle owner's terminal device, which may be, for example, a wallet application. If the native system of the vehicle owner's terminal device does not support the ICCOA protocol, the user can set the friend key sharing information via the communication device.

[0134] In step 72, the vehicle owner's terminal device signs the friend key-sharing information with the vehicle owner's digital vehicle key private key to generate a friend key-sharing request.

[0135] In step 73, the vehicle owner's terminal device sends a friend key sharing request to the vehicle owner's terminal device server, which forwards the sharing request to the vehicle server.

[0136] In step 74, the vehicle server receives the sharing request and verifies the signature of the sharing information using the vehicle owner's digital vehicle key public key.

[0137] In step 75, the vehicle server generates a shared link SessionID after successfully verifying the signature of the shared information, and the SessionID can be generated by a random number generator, thus avoiding the risk of random prediction.

[0138] In step 76, the vehicle server sends the shared link SessionID to the vehicle owner's terminal device server, which forwards the shared link SessionID to the vehicle owner's terminal device.

[0139] In step 77, after receiving the sharing link SessionID, the terminal device of the vehicle owner generates a sharing link including the SessionID and shares it with friends by the vehicle owner.

[0140] In step 78, the friend can open a sharing link through the friend terminal device. If the native system of the friend terminal device supports the ICCOA protocol, the friend terminal device jumps to a terminal device manufacturer application and obtains friend key sharing information from the friend terminal device server based on the SessionID. Here, the friend terminal device server can obtain the friend key sharing information from the vehicle server. Also, if the native system of the friend terminal device does not support the ICCOA protocol, the friend terminal device can obtain the friend key sharing information from the friend terminal device server based on the SessionID through the digital key module when opening the sharing link.

[0141] In step 79, the vehicle server transmits the friend key sharing information to the friend terminal device server, and the friend terminal server forwards the friend key sharing information to the friend terminal device.

[0142] In step 710, the friend terminal device presents information related to friend key sharing, and continues after being confirmed by the user. Here, if the current friend terminal device already has a corresponding vehicle key, it ends the key sharing flow and presents the corresponding information.

[0143] In step 711, the friend terminal device generates a friend digital vehicle key public-private key pair.

[0144] In step 712, if the native system of the friend terminal device supports the ICCOA protocol, the friend terminal device can sign the already-generated friend digital vehicle key public key based on a trusted execution environment CA to generate a friend digital vehicle key public key certificate. If the native system of the friend terminal device supports the ICCOA protocol, the friend terminal device can sign the already-generated friend digital vehicle key public key based on a key management module in a communication device to generate a friend digital vehicle key public key certificate.

[0145] In step 713, the friend terminal device can initiate a transmission request to the friend terminal device server, and the transmission contents include the friend digital vehicle key public key certificate, the friend terminal device TEE CA certificate (if the native system of the friend terminal device does not support the ICCOA protocol, it is the key management module CA certificate, and the key management module CA certificate is obtained by the friend terminal server CA private key signing the key management module CA public key), and the friend terminal device server CA certificate. The friend terminal device server forwards the transmission contents to the vehicle server, and the vehicle server further forwards it to the vehicle owner's terminal device server. Then, the vehicle owner's terminal device server further forwards the transmission contents to the vehicle owner's terminal device.

[0146] In step 714, after receiving the above transmission content, the vehicle owner's terminal device can verify the friend terminal device server CA certificate using the vehicle server CA certificate stored in the vehicle owner's terminal device, then verify the friend terminal device TEE CA certificate using the friend terminal device server CA certificate, and finally verify the friend digital vehicle key public key certificate using the friend terminal device TEE CA certificate.

[0147] Or, if the transmission content includes the friend digital vehicle key public key certificate, the key management module CA certificate and the friend terminal device server CA certificate, the vehicle owner's terminal device uses the vehicle server CA certificate to verify the friend terminal device server CA certificate, then uses the friend terminal device server CA certificate to verify the key management module CA certificate, and finally uses the key management module CA certificate to verify the friend digital vehicle key public key certificate.

[0148] In step 715, if the vehicle owner's terminal device confirms that the above certificate chain verification is successful, it obtains the friend digital vehicle key public key. In this way, the vehicle owner's terminal device can use the vehicle owner's digital vehicle key private key to sign the friend key sharing information and the friend digital vehicle key public key to generate the friend key authentication information.

[0149] In step 716, the vehicle owner's terminal device sends a transmission request to the vehicle owner's terminal device server, where the transmission content may include the friend key authentication information and the vehicle public key certificate. The vehicle owner's terminal device server forwards the transmission content to the vehicle server, which then forwards the transmission content to the friend terminal device server, which then forwards the transmission content to the friend terminal device.

[0150] In step 717, after receiving the friend key authentication information and the vehicle public key certificate, the friend terminal device stores the friend key authentication information and the vehicle public key certificate, where the friend key authentication information is used for the first standard authentication of the friend key and the vehicle, and is deleted after the transaction is completed. In this manner, the friend key validation is completed.

[0151] The friend terminal device can further synchronize the friend key state to a friend terminal device server, which synchronizes the friend key state to a vehicle server, which further synchronizes the friend key state to a vehicle owner's terminal device server, which then synchronizes the friend key state to a vehicle owner's terminal device server, which then synchronizes the friend key state to a vehicle owner's terminal device server.

[0152] In step 718, the vehicle server records and tracks friend key state changes and notifies the vehicle owner and friends in the form of short messages.

[0153] With the above technical solution, the flow of digital vehicle key sharing can also be carried out based on the communication device for terminal devices whose native systems do not support the ICCOA protocol, thus expanding the scope of application of the ICCOA protocol.

[0154] In one possible embodiment, the target communicator includes a vehicle, and the step of communicating with the target communicator based on the public protocol includes a step of establishing a security channel with the vehicle by communicating with the vehicle based on the public protocol via the communication device, and a step of transmitting a target control command to the vehicle via the security channel for controlling the vehicle to perform a target operation.

[0155] FIG. 8 is a flowchart of standard authentication of a mobile terminal and a vehicle described in the present disclosure. Referring to FIG. 8, the standard authentication flow may include the following steps.

[0156] In step 81, the vehicle generates a vehicle ephemeral public-private key pair.

[0157] In step 82, the vehicle sends a public key exchange request to the mobile terminal, transmitting a temporary vehicle public key and a vehicle ID (Vehicle_ID), the generation rules of the vehicle Vehicle_ID can be found in the ICCOA protocol.

[0158] The mobile terminal generates a digital vehicle key temporary public-private key pair in step 83. For example, the mobile terminal may generate the temporary public-private key pair via a key management module.

[0159] In step 84, the mobile terminal sends a public key exchange request response to the vehicle, and returns a digital vehicle key temporary public key and a digital vehicle key ID (KeyID), and the generation rules of the digital vehicle key KeyID can be found in the ICCOA protocol.

[0160] In step 85, the vehicle generates a vehicle authentication information, which includes the digital vehicle key temporary public key, the vehicle temporary public key, and the associated information of the digital vehicle key ID. The vehicle may further sign the vehicle authentication information with the vehicle private key.

[0161] In step 86, the vehicle sends a standard authentication request to the mobile terminal and transmits a vehicle authentication information signature to the mobile terminal.

[0162] In step 87, the mobile terminal verifies the signature using the vehicle public key, and the vehicle public key certificate is sent to the mobile terminal through a key validation flow. In this way, the mobile terminal can verify the signature of the vehicle using the vehicle public key, thereby verifying the identity of the vehicle and thus avoiding a counterfeit vehicle from obtaining the mobile terminal information.

[0163] In step 88, if the vehicle authentication information signature passes verification, the mobile terminal generates a digital vehicle key authentication information, which may include the digital vehicle key temporary public key, the vehicle temporary public key, and vehicle ID related information. Then, the mobile terminal can sign the digital vehicle key authentication information with the digital vehicle key private key.

[0164] In steps 891 and 892, the mobile terminal can generate a security channel encryption key and a rapid authentication encryption key according to the agreed symmetric encryption key by using a KDF algorithm, and the vehicle side generates a security channel encryption key and a rapid authentication encryption key by using the same encryption key agreement algorithm and KDF algorithm. Based on the same security channel encryption key, the two sides establish a security channel.

[0165] In step 810, based on the established security channel, the mobile terminal sends a standard authentication request response to the vehicle and sends a digital vehicle key authenticator signature to the vehicle.

[0166] In step 811, based on the digital vehicle key ID sent from the mobile terminal, the vehicle queries the digital vehicle key ID to obtain the corresponding digital vehicle key public key. If the digital vehicle key public key is found, the vehicle executes step 815. If the vehicle cannot find the digital vehicle key ID and the corresponding digital vehicle key public key, the vehicle executes steps 812 to 814 based on the established security channel, and the vehicle obtains the digital vehicle key public key of the friend key through steps 812 to 814.

[0167] Here, in step 812, the vehicle-oriented mobile terminal sends a digital vehicle key data request, which is used to obtain friend key authentication information.

[0168] In step 813, the mobile terminal sends a digital vehicle key data request response to the vehicle returning the friend key authentication information.

[0169] In step 814, the vehicle decrypts the Friend Key Certification Information using the security channel encryption key, and then verifies the signature of the Friend Key Certification Information using the vehicle owner digital vehicle key public key, and if the verification is successful, stores the Friend Digital Vehicle Key Public Key in the Friend Key Certification Information.

[0170] In step 815, the vehicle uses the digital vehicle key public key corresponding to the digital vehicle key ID to verify the digital vehicle key authentication information signature sent from the mobile terminal. If the verification is successful, the standard authentication is successful. After the standard authentication is passed, the vehicle and the mobile terminal synchronously store the generated quick authentication encryption key for subsequent quick authentication. For example, the mobile terminal can store the quick authentication encryption key in an encryption white box module.

[0171] In step 816, after the authentication is successful, the vehicle sends a status report to the mobile terminal to inform the mobile terminal of the authentication status of the vehicle. In some implementation scenarios, before sending the status report, the vehicle can perform read and write operations on the service data of the mobile terminal based on the established security channel.

[0172] After standard authentication, the mobile terminal can transmit commands based on the established security channel, thereby controlling the vehicle.

[0173] In the above technical solution, a communication device is installed in a terminal device, and the communication device can detect whether a native system of the terminal device includes a component for conforming to a public protocol of a digital vehicle key, and if the native system is missing at least one of the components, communication according to the public protocol is performed with a target communicator who is a participant of the public protocol.

[0174] In this way, the terminal device can communicate with a target communicator based on the public protocol via the communication device, and thus realize the function of a digital vehicle key based on the public protocol. In this manner, the public protocol can be applied to various terminal devices, and thus the application range of the public protocol is expanded. At the same time, a terminal device that does not support the public protocol can also communicate based on the public protocol via the communication device, and thus realize the digital vehicle key function. Therefore, it is not necessary to arrange a component for realizing a digital vehicle key based on a private protocol in the terminal device, and thus the setting cost of the digital vehicle key is reduced.

[0175] In another exemplary embodiment, a computer program product is further provided, the computer program product including a computer program executable by a programmable device, the computer program having code portions for performing the data processing method of the terminal device when executed by the programmable device.

[0176] Those skilled in the art will readily conceive other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which modifications, uses or adaptations follow the general principles of the present disclosure and include common general knowledge or commonly used technical means in the art not disclosed in the present disclosure. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0177] It should be understood that the present disclosure is not limited to the exact construction described above and illustrated in the drawings, and various modifications and changes can be made without departing from the scope of the present disclosure, which is limited only by the appended claims.

Claims

1. A communication device is provided. The communication apparatus is configured to detect whether a native system of a terminal device includes a component for conforming to a public protocol of a digital vehicle key, and if the native system is missing at least one of the components, to communicate based on the public protocol with a target communicator who is a participant of the public protocol.

2. The communication device, a digital key module capable of communicating with a vehicle server and configured to implement functions of a vehicle manufacturer application defined in the public protocol; a local application module capable of communicating with a terminal device server and configured to implement functions of a terminal device manufacturer application defined in said public protocol; a digital key framework module configured to implement functions of a digital key framework defined in the public protocol; a key management module configured to implement the functionality of a digital key program defined in the public protocol; The terminal device according to claim 1 , comprising:

3. The terminal device of claim 2 , wherein the communication unit comprises a cryptographic whitebox module configured to store digital vehicle key data.

4. The terminal device of claim 2 , wherein the local application module is configured to communicate with the terminal device server based on a terminal device service module in a vehicle server.

5. the public protocol is a public protocol based on certificate authentication; The target communicator comprises a vehicle server and a terminal device server; 3. The terminal device of claim 2, wherein the terminal device is adapted to communicate with the vehicle server via the digital key module and with the terminal device server via the local application module in response to receiving a key sharing request, thereby completing a key sharing authentication step and obtaining a shared digital vehicle key.

6. The terminal device according to claim 5 , wherein the public protocol is a CCC protocol or an ICCOA protocol.

7. The target communicator comprises a vehicle; A terminal device as described in any one of claims 1 to 6, wherein the terminal device is used to establish a security channel with the vehicle by communicating with the vehicle based on the public protocol via the communication device, and to transmit a target control command to the vehicle via the security channel for controlling the vehicle to perform a target operation.

8. A terminal device according to any one of claims 1 to 6, detecting whether the native system of the terminal device includes a component for complying with a public protocol for digital vehicle keys; if the native system is missing at least one of the components, communicating according to the public protocol with a target communicator who is a participant of the public protocol; A data processing method for a terminal device, comprising:

9. the public protocol is a public protocol based on certificate authentication; The target communicator comprises a vehicle server and a terminal device server; The step of communicating with a target correspondent based on the public protocol includes:

10. The method of claim 8, further comprising the step of: in response to receiving a key sharing request, communicating with the vehicle server via a digital key module in a communication device and communicating with the terminal device server via a local application module in the communication device to complete a key sharing authentication step and obtain a shared digital vehicle key.

10. The target communicator comprises a vehicle; The step of communicating with a target correspondent based on the public protocol includes: establishing a security channel with the vehicle through communication device based on the public protocol; transmitting a target control command to the vehicle over the secure channel for controlling the vehicle to perform a target action; 9. The method of claim 8, comprising:

Citation Information

Patent Citations

  • Cloud digital key generation and authorization method

    CN112373431A

  • Method and system for realizing digital key based on MCU and wireless communication module

    CN114821867A

  • Backend system

    CN115766021A

  • Terminal equipment and data processing method of terminal equipment

    CN116366759A

  • How to securely transmit virtual keys and authenticate mobile devices

    JP2018502505A