Application method for digital key, system, electronic device and storage medium

WO2025185731A8PCT designated stage Publication Date: 2025-10-02ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/081256
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-08
Filing Date
2025-03-07
Publication Date
2025-10-02

AI Technical Summary

Technical Problem

The inconsistency of different digital key standards leads to adaptation issues between the terminal and the vehicle, affecting the user experience.

Method used

Through the software development kit (SDK), multiple digital key protocols are integrated into the terminal, and the protocol information of the vehicle and terminal is used for adaptation to realize the platform-based digital key protocol, which is combined with the BLE 5.0 interface for wireless communication.

Benefits of technology

It improves the compatibility between terminals and vehicles, enhances user experience, shortens development cycles and reduces design costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025081256_02102025_PF_FP_ABST
    Figure CN2025081256_02102025_PF_FP_ABST
Patent Text Reader

Abstract

An application method for a digital key, a system, an electronic device and a storage medium. The method is applied to a terminal, and comprises: acquiring protocol information of a digital key protocol of a vehicle and key information of a digital key of the terminal (S1); on the basis of the protocol information of the digital key protocol of the vehicle and device information of the terminal, determining a target digital key protocol from among a plurality of digital key protocols pre-fused in a software development kit (S2); and interacting with the vehicle on the basis of the target digital key protocol and the key information of the digital key of the terminal (S3). According to the method, different terminal models and vehicle types can be better compatible, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Digital key application method, system, electronic device and storage medium CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to Chinese patent application No. 202410265571.1, filed on March 8, 2024, the entire text of which is incorporated herein by reference. Technical Field

[0002] The present application relates to, but is not limited to, the field of digital key technology, and specifically to an application method, system, electronic device, and storage medium for a digital key. Background Art

[0003] Digital keys have become a necessary option for vehicles. The terminal connects to the vehicle via Bluetooth. After completing the necessary security authentication with the vehicle, the digital key can be used to unlock the vehicle and perform near-field communication. Summary of the Invention

[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0005] The present application provides a digital key application method, system, electronic device and computer-readable storage medium.

[0006] The present application provides a digital key application method, which is applied to a terminal, including: obtaining protocol information of a vehicle's digital key protocol and key information of a terminal's digital key; determining a target digital key protocol from a plurality of digital key protocols pre-integrated in a software development kit based on the protocol information of the vehicle's digital key protocol and the device information of the terminal; and interacting with the vehicle based on the target digital key protocol and the key information of the terminal's digital key.

[0007] Optionally, the multiple digital key protocols include a universal protocol and a private protocol, and the target digital key protocol is determined from the multiple digital key protocols pre-integrated in the software development kit based on the protocol information of the digital key protocol of the vehicle and the device information of the terminal, including: determining whether there is a digital key protocol in the universal protocol that is adapted to the device information of the terminal and the protocol information of the digital key protocol of the vehicle; if there is an adapted digital key protocol in the universal protocol, determining the adapted digital key protocol as the target digital key protocol; if there is no adapted digital key protocol in the universal protocol, determining the private protocol as the target digital key protocol, and / or sending a request to update the universal protocol.

[0008] Optionally, the multiple digital key protocols are pre-integrated in the following manner: integrating the interfaces corresponding to the multiple digital key protocols according to the standards corresponding to the multiple digital key protocols to obtain an integrated interface; and implementing a preset wireless communication interface based on the integrated interface to achieve pre-integration of the multiple digital key protocols.

[0009] Optionally, the method further includes: in response to a preset instruction, performing at least one of adding a digital key protocol, deleting a digital key protocol, and updating a digital key protocol on the pre-integrated multiple digital key protocols.

[0010] Optionally, the method further includes at least one of the following: before interacting with the vehicle based on the target digital key protocol and the key information of the terminal digital key, using a first security unit to encrypt the key information of the terminal digital key; and using a second security unit to store the key information.

[0011] Optionally, after adopting the second security unit to store the key information, the method further includes at least one of the following: when the terminal and / or the vehicle are not connected to the Internet, interacting with the vehicle based on the target digital key protocol and the key information stored in the second security unit; performing identity authentication at intervals of a preset time, and determining that the key information stored in the second security unit is invalid if the identity authentication fails; performing identity authentication when using a digital key in an offline state, and determining that the key information stored in the second security unit is invalid if the identity authentication fails.

[0012] Optionally, when interacting with the vehicle based on the target digital key protocol and the key information of the terminal digital key, the time interval from the last identity authentication is determined, and in response to the time interval being greater than a preset duration, identity authentication is performed, and when the identity authentication fails, the key information stored in the second security unit is determined to be invalid.

[0013] The present application also provides a digital key application method, which is applied to a server. The method includes the steps of: in response to a key acquisition request, sending the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key to the terminal, so that the terminal determines the target digital key protocol from the multiple digital key protocols pre-integrated in the software development kit based on the protocol information of the vehicle's digital key protocol and the device information of the terminal, and interacts with the vehicle based on the target digital key protocol and the key information of the terminal's digital key.

[0014] Optionally, the method further includes: acquiring vehicle parameters of the vehicle; and sending key information of the vehicle digital key to the vehicle based on the vehicle parameters.

[0015] Optionally, after sending the key information of the terminal digital key to the terminal and / or sending the key information of the vehicle digital key to the vehicle, the method also includes at least one of the following: sending a newly added digital key protocol and / or an updated digital key protocol to the terminal, so that the terminal performs at least one of adding a digital key protocol, deleting a digital key protocol, and updating a digital key protocol on the pre-integrated multiple digital key protocols; and sending identity authentication instructions to the terminal and / or vehicle at intervals of a preset time, and when the identity authentication fails, determining that the key information associated with the terminal and / or vehicle is invalid.

[0016] Optionally, when the terminal and / or the vehicle are not connected to the network, in response to the duration of the terminal and / or the vehicle not being connected to the network exceeding a predetermined time period: shortening the time interval for sending identity authentication instructions to the terminal and / or the vehicle.

[0017] Optionally, when the terminal and / or the vehicle are not connected to the Internet, in response to the duration of the terminal and / or the vehicle not being connected to the Internet exceeding a predetermined time period: an authentication instruction is sent to the vehicle when the vehicle is first monitored to be connected to the Internet and the terminal is not connected to the Internet, and the relevant information of the vehicle used to verify the terminal digital key is deleted after the authentication is passed.

[0018] The present application also provides a digital key system, including a terminal, a vehicle and a server; the server is configured to send the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key to the terminal, and send the key information of the vehicle's digital key to the vehicle; the terminal is configured to determine the target digital key protocol from a plurality of digital key protocols pre-integrated in a software development kit based on the protocol information of the vehicle's digital key protocol and the device information of the terminal, and interact with the vehicle based on the target digital key protocol and the key information of the terminal's digital key; and the vehicle is configured to interact with the terminal based on the protocol information of the vehicle's digital key protocol and the key information of the vehicle's digital key.

[0019] The present application also provides an electronic device, including: a memory and a processor, wherein an application is stored on the memory, and when the application is executed by the processor, the digital key application method as described above is implemented.

[0020] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for applying the digital key as described above is implemented.

[0021] Still other aspects will become apparent upon reading and understanding the accompanying drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for the description of the embodiments. It will be understood that for those skilled in the art, other drawings can be obtained based on these drawings without inventive work.

[0023] FIG1 is an architecture diagram of a digital key system provided in an embodiment of the present application.

[0024] FIG2 is a flow chart of a method for applying a digital key according to an embodiment of the present application.

[0025] The implementation of the objectives, features, and advantages of this application will be further illustrated with reference to the accompanying drawings and examples. The accompanying drawings illustrate exemplary embodiments of this application, which will be described in more detail below. These drawings and the accompanying text are not intended to limit the scope of the present application in any way, but are intended to illustrate the concepts of this application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0026] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present application, as described in the appended claims.

[0027] It should be noted that, in this document, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element, and / or, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0028] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the term "if" as used herein may be interpreted as "when," "when," or "in response to a determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, items, types, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups. The terms "or," "and / or," "including at least one of the following," etc., used herein, may be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”; and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0029] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise clearly stated herein, the execution of these steps is not strictly limited in order and can be performed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0030] Depending on the context, the words "if" or "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)."

[0031] It should be noted that the use of step codes such as S1 and S2 herein is intended to more clearly and concisely describe the corresponding content and does not constitute a substantial limitation on the order. Those skilled in the art may, in a specific implementation, execute S2 first and then S1, etc., but such execution is within the scope of protection of this application.

[0032] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0033] In the subsequent description, the use of suffixes such as "module", "component" or "unit" to represent elements is only for the purpose of facilitating the description of the present application and has no specific meaning. Therefore, "module", "component" or "unit" can be used interchangeably.

[0034] Currently, digital keys can be implemented using different digital key standards. Commonly used digital key standards include CCC (Car Connectivity Consortium), ICCE (Intelligent Car Connectivity Industry Ecosystem), ICCOA (Intelligent Car Connectivity Open Alliance), and proprietary standards developed by various manufacturers. However, these digital key standards are not unified, and different digital key standards cover different terminal and vehicle brands. This can lead to incompatibility issues when using the terminal's digital key function, impacting the user experience.

[0035] In view of this, embodiments of the present application provide a digital key application method, system, electronic device, and storage medium.

[0036] As shown in FIG1 , the digital key system of the present application includes a terminal, a vehicle and a server.

[0037] The server is used to send the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key to the terminal, and send the key information of the vehicle's digital key to the vehicle.

[0038] The terminal is used to determine the target digital key protocol among the multiple digital key protocols pre-integrated in the software development kit according to the protocol information of the vehicle's digital key protocol and the device information of the terminal, and interact with the vehicle based on the target digital key protocol and the key information of the terminal digital key.

[0039] The vehicle is used to interact with the terminal based on the protocol information of the vehicle's digital key protocol and the key information of the vehicle's digital key.

[0040] In an embodiment according to the present application, the protocol information of the digital key protocol of the vehicle refers to the protocol information of the digital key protocol used on the vehicle. The Software Development Kit (SDK) is used to realize the platformization of the key protocol, has the characteristics of plug-in, and can be quickly integrated into the terminal. Using the software development kit, multiple digital key protocols can be integrated into the terminal, and then the adapted digital key protocol can be selected based on the protocol information of the digital key protocol used by the vehicle and the device information of the terminal, so as to better be compatible with different terminal models and vehicle models and improve the user experience. At the same time, by using the software development kit to integrate multiple digital key protocols into the terminal, there is no need to design the compatibility of the digital key for the vehicle. After the vehicle receives the digital key, the digital key can be used by implementing the corresponding digital key protocol according to the original plan, which shortens the development cycle and reduces the design cost.

[0041] Optionally, the terminal's device information includes at least one of the terminal's brand, model, and implemented protocol. The protocol information for the digital key protocol includes the protocol name or type, such as CCC, and a general protocol or private protocol. General protocols include CCC, ICCE, ICCOA, and other protocols not developed by vehicle manufacturers. Private protocols refer to protocols developed by vehicle manufacturers. The digital key includes the terminal digital key and the vehicle digital key. The terminal digital key and the vehicle digital key are encrypted with certificates to ensure security, and the delivery channel undergoes two-way authentication to ensure channel security.

[0042] Optionally, the software development kit's functional upgrades can be performed via Over-the-Air Technology (OTA), eliminating the need to manually upgrade terminal applications and devices, which is more convenient.

[0043] Optionally, the server may be one or more, for example, a server for implementing digital key services, a server for maintaining multiple digital key protocols, and a server for providing digital key protocols, etc., or various digital key services may be integrated into one server.

[0044] The following is an introduction to the various modules of the system architecture of this application.

[0045] 1. Terminal

[0046] The terminal is equipped with a Digital Key application, which includes the Digital Key upper-layer business module, a platform-based key protocol SDK, and a Digital Key security unit. The Digital Key application is developed and architected separately from the SDK and business. This allows for independent business updates, either the business or the SDK, without impacting existing services. Upper-layer services are dynamically loaded.

[0047] The digital key upper-layer business module is mainly used to implement the UI (User Interface) functions of digital key creation and execution of digital key-related commands, including but not limited to digital key management, digital key issuance, and digital key near-field vehicle control commands.

[0048] The platform key protocol SDK (i.e. the software development kit) is used to integrate common digital key protocols on the market through the underlying library. Digital key protocols may include but are not limited to CCC, ICCE, ICCOA, and car manufacturer's private protocols. On the basis of integrating the digital key protocols, it is further integrated with the BLE 5.0 (Bluetooth Low Energy 5.0) official API (Application Programming Interface). The platform key protocol SDK can be configured to implement three functions: protocol identification, protocol judgment, and protocol determination.

[0049] Protocol identification may mean that the platform-based key protocol SDK receives and identifies the protocol information of the digital key protocol implemented by the current vehicle sent by the server.

[0050] Protocol judgment can mean that the platform key protocol SDK determines the matching protocol based on the digital key protocol implemented by the vehicle and the system, model and implemented protocol of the current terminal.

[0051] The protocol determination may indicate that the platformized key protocol SDK loads the matching protocol into the platformized key protocol SDK and instantiates it.

[0052] The digital key security unit is used to securely store and protect digital keys. The digital key security unit generates encrypted digital keys using encryption algorithms and lookup table technology.

[0053] 2. Server

[0054] The server may include a protocol maintenance module, a security service module, a tripartite protocol docking service module, and a platform protocol service module.

[0055] The protocol maintenance module is used to maintain the protocol types, distribution and management of different vehicle models.

[0056] Security service module, used for digital key security management and certificate management.

[0057] The tripartite agreement docking service module is used to connect with various servers of common protocols such as CCC, ICCE, ICCOA, and car manufacturer's private protocols.

[0058] The platform-based protocol service module is used for internal access to common protocols such as CCC, ICCE, and ICCOA, as well as vehicle manufacturer private protocol APIs.

[0059] 3. Vehicles

[0060] The vehicle can include a BLE module, a security chip, a communication module and a platform protocol service module.

[0061] The BLE module is a Bluetooth BLE chip module.

[0062] The security chip is a data security storage chip that can be used to ensure the security of digital keys and certificates.

[0063] Communication module, used to communicate with servers and terminals.

[0064] The platform-based protocol service module is used for hardware authentication and protocol access of common protocols such as CCC, ICCE, and ICCOA, as well as vehicle manufacturer-proprietary protocols.

[0065] This system utilizes a terminal SDK to integrate multiple digital key protocols, achieving platform-based digital key protocols. This system can select the appropriate digital key protocol based on the vehicle's digital key protocol information and the terminal's device information, providing greater compatibility with different terminal models and vehicle types, enhancing the user experience. Furthermore, there's no need to design digital key compatibility for the vehicle. Upon receiving the digital key, the vehicle simply implements the corresponding digital key protocol as originally planned, shortening the development cycle and reducing design costs.

[0066] The following introduces the method for implementing the above-mentioned digital key system.

[0067] Please refer to FIG2 , a method for applying a digital key, applied to a terminal, includes the following steps S1 to S3 .

[0068] In step S1, the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key are obtained.

[0069] In step S2, a target digital key protocol is determined from a plurality of digital key protocols pre-integrated in the software development kit according to the protocol information of the vehicle's digital key protocol and the device information of the terminal.

[0070] In step S3, the target digital key protocol and the key information of the terminal digital key are used to interact with the vehicle.

[0071] Optionally, the terminal application (the digital key application mentioned above) integrates multiple digital key protocols through the software development kit to realize the platformization of the digital key protocol. The software development kit forwards the key request to the upper-layer application, and the upper-layer application obtains the protocol information of the digital key protocol implemented by the vehicle bound to the user from the server through the cloud API interface, such as the protocol type. The server sends information related to the digital key and the protocol type of the digital key protocol used by the vehicle to the terminal application, and the terminal application sends this information to the software development kit. The software development kit binds the corresponding digital key protocol according to the protocol type of the digital key protocol used by the vehicle and the device information such as the terminal brand model. In this way, if the user switches the vehicle model, the server can re-send the corresponding digital key and protocol type to the terminal application according to the protocol type corresponding to the vehicle model switched by the user, and then bind the corresponding digital key protocol.

[0072] In this way, the functions of the digital key application can be upgraded through plug-in means, which includes but is not limited to, for example, adding a new digital key protocol to the digital key application, sending the library file corresponding to the new digital key protocol to the terminal through the server, and the digital key application adding the new digital key protocol to the digital key application through dynamic loading, and the user does not need to update the digital key application.

[0073] Optionally, the pre-integrated multiple digital key protocols include a universal protocol and a private protocol. Based on the protocol information of the vehicle's digital key protocol and the device information of the terminal, the target digital key protocol is determined among the multiple digital key protocols pre-integrated in the software development kit, including: determining whether there is a digital key protocol in the universal protocol that is adapted to the device information of the terminal and the protocol information of the vehicle's digital key protocol; if there is an adapted digital key protocol in the universal protocol, determining the adapted digital key protocol as the target digital key protocol; if there is no adapted digital key protocol in the universal protocol, determining the private protocol as the target digital key protocol, and / or sending a request to update the universal protocol.

[0074] In the embodiment of the present application, the universal protocol is a relatively mature and widely used protocol such as CCC, ICCE, and ICCOA. The adapted digital key protocol is first selected from the universal protocol to better ensure the terminal's performance and improve the user experience while adapting to the vehicle's protocol. When there is no adapted universal protocol, a request can be made to the server to obtain the universal protocol to update the universal protocol integrated in the terminal and then adapt again. If there is still no adapted universal protocol after the update, the car manufacturer's private protocol is determined to be the target digital key protocol, so that at least the use of the digital key can be guaranteed. Alternatively, when it is first determined that there is no adapted universal protocol, the car manufacturer's private protocol can be determined as the target digital key protocol. In actual implementation, when adapting the digital key, if it is first determined that there is no adapted universal protocol, it can be determined whether it is suitable to update the universal protocol in the terminal based on the terminal's network status, traffic status, etc. If it is suitable to update the universal protocol in the terminal, the universal protocol is updated and adaptation is restarted. If it is not suitable to update the universal protocol in the terminal, the car manufacturer's private protocol will be selected. When it is suitable to update the universal protocol, the user will be prompted whether to update the universal protocol to rebind a more suitable digital key protocol.

[0075] Optionally, multiple digital key protocols are integrated in the following ways: integrating interfaces corresponding to multiple digital key protocols according to the standards corresponding to the multiple digital key protocols to obtain an integrated interface; and implementing a preset wireless communication interface based on the integrated interface to achieve the integration of multiple digital key protocols.

[0076] In the embodiments of the present application, CCC, ICCE, ICCOA, and private protocols are all protocol standards implemented based on BLE5.0 low-power Bluetooth. CCC, ICCE, ICCOA, and private protocols can all implement the BLE5.0 interface based on the integration of corresponding interfaces through various protocol standards, thereby realizing a software development kit that integrates digital key protocols.

[0077] Optionally, the digital key application method further includes: in response to a preset instruction, performing at least one of adding a digital key protocol, deleting a digital key protocol, and updating a digital key protocol on the pre-integrated multiple digital key protocols.

[0078] Optionally, pre-set instructions can come from the server or user operations. Integrating multiple digital key protocols into the software development kit offers the advantage of plug-in functionality, allowing for more flexible and convenient addition, deletion, or update of digital key protocols. For example, unused digital key protocols can be deleted, new digital key protocols can be added / downloaded, and protocol information for digital key protocols can be updated.

[0079] Optionally, the digital key application method also includes at least one of the following: using a first security unit to encrypt the key information of the terminal digital key before interacting with the vehicle based on the target digital key protocol and the key information of the terminal digital key; and using a second security unit to store the key information.

[0080] In an embodiment of the present application, the first security unit and the second security unit may be encapsulated in the digital key security unit shown in FIG1 , or may be two independent units.

[0081] Optionally, after using the second security unit to store key information, the digital key application method also includes at least one of the following: when the terminal and / or vehicle is not connected to the Internet, interacting with the vehicle based on the target digital key protocol and the key information stored in the second security unit; performing identity authentication at intervals of a preset time, and determining that the key information stored in the second security unit is invalid if the identity authentication fails; performing identity authentication when using the digital key in an offline state, and determining that the key information stored in the second security unit is invalid if the identity authentication fails.

[0082] In an embodiment of the present application, after using the second security unit to store the key information, when the terminal and / or vehicle are not connected to the Internet, it is also possible to interact with the vehicle based on the target digital key protocol and the key information stored in the second security unit. The use of the digital key will not be affected in areas with poor signals such as garages or in the case of traffic restrictions.

[0083] After the second security unit stores the key information, identity verification is performed at preset intervals. If the identity verification fails, the key information stored in the second security unit is deemed invalid. In an embodiment of the present application, the identity verification can be one or a combination of fingerprint verification, face verification, and password verification, thereby ensuring the safety of the vehicle in the event of terminal loss.

[0084] Alternatively, when using a digital key without an internet connection, authentication is performed, and if authentication fails, the key information stored in the second security unit is deemed invalid. This approach allows verification using locally stored authentication information even when the server cannot monitor the security of the digital key, ensuring vehicle safety.

[0085] In actual implementation, when the terminal connects to the vehicle for key verification, it can determine whether the time interval since the last identity verification exceeds a preset time period. If so, identity verification is performed, and if the identity verification fails, the key information stored in the second security unit is determined to be invalid. Alternatively, a digital key information deletion function can be set in the vehicle. When identity verification information is entered on the vehicle and verification is passed, the relevant information on the vehicle used to verify the selected terminal digital key is deleted, thereby causing the terminal digital key verification to fail and achieving the purpose of invalidating the terminal digital key.

[0086] The interaction process between the terminal and the vehicle may include: Bluetooth connection, authentication, and communication.

[0087] Bluetooth connection: The terminal application connects to the vehicle via Bluetooth. To improve connection efficiency, the connection rules are as follows: the last four digits of the vehicle's VIN (Vehicle Identification Number) code are set to the last four digits of the vehicle's Bluetooth MAC (Media Access Control) address. When scanning, the terminal can quickly find the corresponding Bluetooth device through the last four digits of the vehicle's VIN code and establish a Bluetooth connection after finding the Bluetooth device.

[0088] Authentication: Authentication is performed after the Bluetooth connection is successful. Authentication is performed through the certificate transmitted by the terminal. If the certificate transmitted by the terminal is authenticated, subsequent services will continue. If the authentication fails, the current service will be terminated.

[0089] Communication: After authentication is passed, a secure interactive channel is successfully established, and digital key-related business operations can be performed, including but not limited to unlocking doors and closing doors without a network, opening / closing windows and the tailgate, etc.

[0090] As described above, the digital key application method of the embodiment of the present application is applied to the terminal, including the steps of: obtaining the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key; determining the target digital key protocol from the multiple digital key protocols pre-integrated in the software development kit based on the protocol information of the vehicle's digital key protocol and the terminal's device information; and interacting with the vehicle based on the target digital key protocol and the key information of the terminal's digital key. The technical solution of the present application utilizes a software development kit to integrate multiple digital key protocols in the terminal, and can select an adapted digital key protocol based on the protocol information of the digital key protocol used by the vehicle and the terminal's device information. Therefore, it is more compatible with different terminal models and vehicle types, and improves the user experience.

[0091] The present application also provides a digital key application method, which is applied to a server. The method includes the steps of: in response to a key acquisition request, sending the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key to the terminal, so that the terminal determines the target digital key protocol from the multiple digital key protocols pre-integrated in the software development kit based on the protocol information of the vehicle's digital key protocol and the terminal's device information, and interacts with the vehicle based on the target digital key protocol and the key information of the terminal's digital key.

[0092] In the embodiments of this application, the server integrates different digital key protocols and connects to different digital key protocol cloud services to achieve compatibility with different digital key protocols. Upon receiving a digital key request from a terminal, the server obtains the vehicle's corresponding protocol from the owner's bound vehicle and then issues a different digital key through the security service. The server also maintains data on the different protocols corresponding to different vehicle models.

[0093] Optionally, the method also includes: obtaining vehicle parameters of the vehicle; and sending key information of the vehicle digital key to the vehicle according to the vehicle parameters.

[0094] In an embodiment of the present application, after the vehicle receives the request from the server, it returns the vehicle parameters to the server. After the server receives the corresponding vehicle parameters, it sends the digital key of the corresponding vehicle parameters to the vehicle. After receiving the digital key, the vehicle stores the digital key in the vehicle safety chip and implements the corresponding digital key protocol as originally planned. There is no need for compatible adaptation, and the digital key protocols implemented by different vehicle models may be different.

[0095] Optionally, after sending the key information of the terminal digital key to the terminal and / or sending the key information of the vehicle digital key to the vehicle, the method also includes at least one of the following: sending the newly added digital key protocol and / or the updated digital key protocol to the terminal, so that the terminal performs at least one of adding a digital key protocol, deleting a digital key protocol, and updating a digital key protocol on the pre-integrated multiple digital key protocols; sending identity authentication instructions to the terminal and / or vehicle at intervals of a preset time, and when the identity authentication fails, determining that the key information associated with the terminal and / or vehicle is invalid.

[0096] In an embodiment of the present application, when a digital key protocol is updated or added, the newly added digital key protocol and / or the updated digital key protocol is sent to the terminal to continuously improve the user experience.

[0097] Authentication instructions are sent to the terminal and / or vehicle at intervals of a preset time, and when the authentication fails, the key information associated with the terminal and / or vehicle is determined to be invalid, thereby ensuring the safety of the vehicle when the terminal is lost. When the terminal and / or vehicle is not in an online state, the authentication instruction will fail to be sent. At this time, if it is determined that the network has not been connected for a period of time, the interval for sending the authentication instruction can be shortened to increase the success rate of sending (avoid missing the time to send the instruction when the network is briefly connected). Alternatively, when the network has not been connected for a period of time, when it is detected for the first time that the vehicle is connected to the network but the terminal is not connected to the network, an authentication instruction is sent to the vehicle, and the digital key deletion function is triggered when the verification passes. At this time, the user is allowed to delete the relevant information on the vehicle used to verify the selected terminal digital key, so that the terminal digital key verification fails, achieving the purpose of invalidating the terminal digital key.

[0098] As described above, the digital key application method of the embodiment of the present application is applied to the server and includes the following steps: in response to a key acquisition request, the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key are sent to the terminal, so that the terminal determines the target digital key protocol from the multiple digital key protocols pre-integrated in the software development kit based on the protocol information of the vehicle's digital key protocol and the terminal's device information, and interacts with the vehicle based on the target digital key protocol and the key information of the terminal's digital key. The technical solution of the present application utilizes a software development kit to integrate multiple digital key protocols in the terminal, and can select an adapted digital key protocol based on the protocol information of the digital key protocol used on the vehicle and the terminal's device information. Therefore, it is more compatible with different terminal models and vehicle types, and improves the user experience.

[0099] An embodiment of the present application also provides an electronic device, including: a memory and a processor, wherein an application is stored on the memory, and when the application is executed by the processor, the steps of the digital key application method described above are implemented.

[0100] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the digital key application method described above are implemented.

[0101] In the embodiments of the electronic device and computer-readable storage medium provided in the embodiments of the present application, all technical features of any of the above-mentioned device processing method embodiments may be included. The expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods and will not be repeated here.

[0102] An embodiment of the present application further provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer executes the methods in the various possible implementation modes described above.

[0103] An embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, so that a device equipped with the chip executes the methods in the various possible implementation modes as described above.

[0104] It is understood that the above scenarios are merely examples and do not limit the application scenarios of the technical solutions provided in the embodiments of this application. The technical solutions of this application can also be applied to other scenarios. For example, those skilled in the art will appreciate that with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application will also be applicable to similar technical problems.

[0105] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0106] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0107] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0108] In this application, the same or similar terminology, technical solutions and / or application scenario descriptions are generally only described in detail the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of this application, for the same or similar terminology, technical solutions and / or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.

[0109] In this application, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0110] The various technical features of the technical solution of this application can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for enabling a terminal device (such as a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the method of each embodiment of the present application.

[0112] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)).

[0113] The above are only some embodiments of the present application and are not intended to limit the scope of protection of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the present application specification and drawings, or directly or indirectly applied to other related technical fields, are also included in the scope of protection of the present application.

Claims

1. A method for applying a digital key, applied to a terminal, comprising: Obtain the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key; Determining a target digital key protocol from a plurality of digital key protocols pre-integrated in a software development kit according to the protocol information of the digital key protocol of the vehicle and the device information of the terminal; and Based on the target digital key protocol and the key information of the terminal digital key, interact with the vehicle.

2. The method according to claim 1, wherein The multiple digital key protocols include a general protocol and a private protocol, and determining a target digital key protocol from the multiple digital key protocols pre-integrated in a software development kit according to the protocol information of the digital key protocol of the vehicle and the device information of the terminal includes: determining whether there exists a digital key protocol in the general protocol that is compatible with the device information of the terminal and the protocol information of the digital key protocol of the vehicle; If the adapted digital key protocol exists in the general protocol, determining the adapted digital key protocol as the target digital key protocol; If the adapted digital key protocol does not exist in the universal protocol, the private protocol is determined as the target digital key protocol, and / or a request for updating the universal protocol is sent.

3. The method according to claim 1, wherein The aforementioned multiple digital key protocols are pre-integrated in the following ways: Integrating interfaces corresponding to the multiple digital key protocols according to standards corresponding to the multiple digital key protocols to obtain an integrated interface; A preset wireless communication interface is implemented based on the integrated interface to achieve pre-integration of the multiple digital key protocols.

4. The method according to claim 3, further comprising: In response to a preset instruction, at least one of adding a digital key protocol, deleting a digital key protocol, and updating a digital key protocol is performed on the pre-integrated multiple digital key protocols.

5. The method according to claim 1, further comprising at least one of the following: Before interacting with the vehicle based on the target digital key protocol and the key information of the terminal digital key, encrypting the key information of the terminal digital key using a first security unit; A second security unit is used to store the key information.

6. The method according to claim 5, wherein: After storing the key information in the second security unit, the method further includes at least one of the following: When the terminal and / or the vehicle are not connected to the network, interacting with the vehicle based on the target digital key protocol and the key information stored in the second security unit; Performing identity verification at intervals of a preset length, and determining that the key information stored in the second security unit is invalid if the identity verification fails; When the digital key is used in an offline state, identity authentication is performed, and if the identity authentication fails, the key information stored in the second security unit is determined to be invalid.

7. The method according to claim 5, wherein: When interacting with the vehicle based on the target digital key protocol and the key information of the terminal digital key, the time interval from the last identity authentication is determined, and in response to the time interval being greater than a preset duration, identity authentication is performed, and when the identity authentication fails, the key information stored in the second security unit is determined to be invalid.

8. A method for applying a digital key, applied to a server, comprising: In response to a key acquisition request, the protocol information of the vehicle's digital key protocol and the key information of the terminal's digital key are sent to the terminal, so that the terminal determines the target digital key protocol from the multiple digital key protocols pre-integrated in the software development kit based on the protocol information of the vehicle's digital key protocol and the device information of the terminal, and interacts with the vehicle based on the target digital key protocol and the key information of the terminal's digital key.

9. The method according to claim 8, further comprising: obtaining vehicle parameters of the vehicle; as well as The key information of the vehicle digital key is sent to the vehicle according to the vehicle parameters.

10. The method according to claim 9, wherein: After sending the key information of the terminal digital key to the terminal and / or sending the key information of the vehicle digital key to the vehicle, the method further includes at least one of the following: Sending the newly added digital key protocol and / or the updated digital key protocol to the terminal, so that the terminal performs at least one of adding a digital key protocol, deleting a digital key protocol, and updating a digital key protocol on the pre-integrated multiple digital key protocols; as well as An identity authentication instruction is sent to the terminal and / or the vehicle at intervals of a preset time, and when the identity authentication fails, the key information associated with the terminal and / or the vehicle is determined to be invalid.

11. The method according to claim 10, wherein: When the terminal and / or the vehicle is not connected to the network, in response to a duration in which the terminal and / or the vehicle is not connected to the network exceeding a predetermined time period: The time interval for sending identity authentication instructions to the terminal and / or the vehicle is shortened.

12. The method according to claim 10 or 11, wherein: When the terminal and / or the vehicle is not connected to the network, in response to a duration in which the terminal and / or the vehicle is not connected to the network exceeding a predetermined time period: When the vehicle is first detected to be connected to the Internet but the terminal is not, an identity authentication instruction is sent to the vehicle, and after the identity authentication is passed, the relevant information of the vehicle used to verify the terminal digital key is deleted.

13. A digital key system, comprising a terminal, a vehicle, and a server, wherein: The server is configured to send protocol information of the vehicle's digital key protocol and key information of the terminal digital key to the terminal, and send key information of the vehicle digital key to the vehicle; The terminal is configured to determine a target digital key protocol from a plurality of digital key protocols pre-integrated in a software development kit according to the protocol information of the digital key protocol of the vehicle and the device information of the terminal, and interact with the vehicle based on the target digital key protocol and the key information of the terminal digital key; as well as The vehicle is configured to interact with the terminal based on the protocol information of the digital key protocol of the vehicle and the key information of the vehicle digital key.

14. An electronic device comprising: A memory and a processor, wherein an application is stored on the memory, and when the application is executed by the processor, the digital key application method according to any one of claims 1 to 12 is implemented.

15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the digital key application method according to any one of claims 1 to 12.