Vehicle control method and device, terminal equipment and storage medium

By using an independent security chip between the vehicle and the terminal device to protect the digital key's data, the problem of low reliability during transmission is solved, achieving a higher level of vehicle security and anti-theft functions.

CN119261808APending Publication Date: 2025-01-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310813058.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-04
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

When transmitting digital keys between vehicles and terminal devices, existing technologies suffer from insufficient data protection, making the keys easy to intercept and tamper with, and resulting in low reliability during transmission.

Method used

An independent security chip is used to protect the digital key data. The digital key sent by the terminal device is verified through the vehicle's independent security chip to ensure that only authorized terminal devices can control the vehicle.

Benefits of technology

This improves the security and reliability of digital keys during transmission, prevents unauthorized access and tampering, and ensures that only authorized users can control the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119261808A_ABST
    Figure CN119261808A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle control method and device, terminal equipment and a storage medium, and belongs to the technical field of vehicles. The method is applied to terminal equipment and comprises the following steps: receiving a digital key acquisition request sent by a vehicle under the condition of establishing communication connection with the vehicle; in response to the digital key acquisition request, a first digital key is sent to the vehicle, so that the vehicle verifies the first digital key according to a second digital key in an independent security chip of the vehicle, and after the first digital key passes the verification, the control authority of the terminal equipment to the vehicle is unlocked, so that the terminal equipment controls the vehicle; wherein the independent security chip is used for providing data protection for the second digital key. In the application, the independent security chip of the vehicle provides data protection for the digital key, so that the reliability of transmitting the digital key between the vehicle-mounted terminal and the terminal equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, device, terminal equipment and storage medium. Background Art

[0002] With the development of science and technology, vehicles, as the most common means of transportation in people's daily lives, are becoming more and more intelligent. On-board terminals can be installed in vehicles to interact with other terminal devices through the on-board terminals.

[0003] For example, most vehicles can establish communication connections with other terminal devices through their own vehicle terminals, and the terminal devices can control the vehicle terminals in the vehicle to play music, play videos, and navigate in the vehicle through the established communication connections. At present, in order to facilitate the control of vehicle startup and other processes, the solution of controlling the vehicle through digital keys in terminal devices has also been widely used. After the vehicle itself creates a digital key through the vehicle terminal, the terminal device directly transmits the digital key to the vehicle terminal to control the vehicle.

[0004] In the above scheme, the vehicle-mounted terminal or terminal device usually does not perform data protection when transmitting the digital key. The digital key can be easily intercepted and tampered by other users during the transmission process, resulting in the problem of low reliability during the transmission of the digital key. Summary of the invention

[0005] In order to solve the problems of the prior art and improve the reliability of the digital key transmission process between the vehicle terminal and the terminal device, the embodiment of the present application provides a vehicle control method, device, terminal device and storage medium. The technical solution is as follows:

[0006] In one aspect, the present application provides a vehicle control method, applied to a terminal device, the method comprising:

[0007] When a communication connection is established with the vehicle, receiving a digital key acquisition request sent by the vehicle;

[0008] In response to the digital key acquisition request, sending a first digital key to the vehicle, so that the vehicle verifies the first digital key according to a second digital key in an independent security chip of the vehicle, and after the first digital key passes the verification, unlocking the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle;

[0009] Among them, the independent security chip is used to provide data protection for the second digital key.

[0010] In another aspect, the present application provides a vehicle control method, applied to a vehicle, the method comprising:

[0011] When a communication connection is established with a terminal device, sending a digital key acquisition request to the terminal device;

[0012] Receiving a first digital key sent by the terminal device;

[0013] Verifying the first digital key according to a second digital key stored in an independent security chip of the vehicle, the independent security chip being used to provide data protection for the second digital key;

[0014] After the first digital key passes the verification, the terminal device's control authority over the vehicle is unlocked so that the terminal device controls the vehicle.

[0015] In one aspect, the present application provides a vehicle control device, applied to a terminal device, the device comprising:

[0016] A first receiving module, configured to receive a digital key acquisition request sent by the vehicle when a communication connection is established with the vehicle;

[0017] a first sending module, configured to send a first digital key to the vehicle in response to the digital key acquisition request, so that the vehicle verifies the first digital key according to a second digital key in an independent security chip of the vehicle, and after the first digital key passes the verification, unlock the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle;

[0018] Among them, the independent security chip is used to provide data protection for the second digital key.

[0019] In one aspect, the present application provides a vehicle control device, applied to a vehicle, the device comprising:

[0020] A first sending module, configured to send a digital key acquisition request to the terminal device when a communication connection is established with the terminal device;

[0021] A second receiving module, used to receive a first digital key sent by the terminal device;

[0022] a first verification module, configured to verify the first digital key according to a second digital key stored in an independent security chip of the vehicle, the independent security chip being configured to provide data protection for the second digital key;

[0023] A vehicle control module is used to unlock the terminal device's control authority over the vehicle after the first digital key is verified, so that the terminal device can control the vehicle.

[0024] In another aspect, the present application provides a terminal device, which includes a processor and a memory, wherein the memory stores a computer program, and the computer program is executed by the processor to implement the vehicle control method as described in one aspect.

[0025] In another aspect, the present application provides a vehicle, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program is executed by the processor to implement the vehicle control method as described in yet another aspect.

[0026] In another aspect, the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the vehicle control method as described in one aspect.

[0027] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the vehicle control method as described in one aspect above.

[0028] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the vehicle control method as described in one aspect above.

[0029] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0030] When the terminal device establishes a communication connection with the vehicle, it receives a digital key acquisition request sent by the vehicle; in response to the digital key acquisition request, it sends a first digital key to the vehicle, so that the vehicle verifies the first digital key according to the second digital key in the independent security chip of the vehicle, and after the first digital key passes the verification, it unlocks the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle; wherein the independent security chip is used to provide data protection for the second digital key. In this application, the vehicle provides data protection for the created second digital key through its own independent security chip. When a terminal device needs to control the vehicle, the vehicle-mounted terminal verifies the first digital key sent by the terminal device through the second digital key in the independent security chip, and unlocks the terminal device's control authority over the vehicle when the verification passes. Whether the terminal device downloads the second digital key from the vehicle side or the vehicle itself saves the second digital key, the data protection is provided by the independent security chip of the vehicle, making the digital key more secure during the transmission process and the authentication process, and improving the reliability of the transmission of the digital key between the vehicle-mounted terminal and the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 This is a schematic diagram of a scenario in which a terminal device controls a vehicle according to an exemplary embodiment of the present application;

[0033] Figure 2 is a schematic diagram of an example structure of a terminal device provided in an embodiment of the present application;

[0034] Figure 3 is a method flow chart of a vehicle control method provided by an exemplary embodiment of the present application;

[0035] Figure 4 is a method flow chart of a vehicle control method provided by an exemplary embodiment of the present application;

[0036] Figure 5 is a method flow chart of a vehicle control method provided by an exemplary embodiment of the present application;

[0037] Figure 6 It is a schematic diagram of a process of generating a second digital key for a vehicle according to an exemplary embodiment of the present application;

[0038] Figure 7 It is a download flow chart of a terminal device downloading a digital key involved in an exemplary embodiment of the present application;

[0039] Figure 8 It is a structural diagram of an interaction between a vehicle-mounted terminal and a terminal device involved in an exemplary embodiment of the present application;

[0040] Fig. 9 is a structural block diagram of a vehicle control device provided by an exemplary embodiment of the present application;

[0041] Fig.10 is a structural block diagram of a vehicle control device provided by an exemplary embodiment of the present application;

[0042] Fig.11 It is a structural diagram of another example of a vehicle control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0044] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0045] The solution provided by the present application can be used in real-life scenarios where people control vehicles after activating digital keys through terminal devices during the use of vehicles in daily life. For ease of understanding, the application scenarios involved in the embodiments of the present application are first briefly introduced below.

[0046] With the continuous development of science and technology, vehicles, as the most common means of transportation in people's daily lives, are becoming more and more intelligent. Vehicle-mounted terminals can be installed in vehicles to interact with other terminal devices through the vehicle-mounted terminals. For example, terminal devices can control the vehicle-mounted terminals in the vehicle to play music, play videos, and navigate in the vehicle through the established communication connection.

[0047] In the process of starting a vehicle, most traditional solutions use physical keys to control the start of the vehicle. With the development of intelligent vehicles, the technology of using mobile devices such as terminal devices as car keys is becoming more and more mature. For example, the terminal device can use its own Subscriber Identity Module (SIM) card as a digital key. Based on the SIM card chip and the Near Field Communication (NFC) communication capability, the digital key is entered into the SIM card. When it is needed, the vehicle is controlled by the digital key in the SIM card.

[0048] Please refer to Figure 1 , which shows a schematic diagram of a scenario in which a terminal device controls a vehicle according to an exemplary embodiment of the present application. Figure 1 As shown, a vehicle 101 and a terminal device 102 are included.

[0049] Among them, the terminal device is a terminal device that can establish a communication connection with the vehicle. For example, the terminal device may include but is not limited to wearable devices (such as bracelets, smart watches, smart glasses, etc.), mobile phones, tablets, laptops, smart glasses, smart watches, MP3 players (Moving Picture Experts Group Audio Layer III, Dynamic Image Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Dynamic Image Experts Compression Standard Audio Layer 4) players, desktop computers, laptops, etc.

[0050] A communication connection may be established between the vehicle 101 and the terminal device 102 . Optionally, the communication connection may be a wired network connection or a wireless network connection.

[0051] Optionally, the wireless network connection or wired network connection described above uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or a virtual private network. In some embodiments, the data exchanged through the network is represented by technology and / or format including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0052] When the terminal device 102 uses its own SIM card as the digital key of the vehicle 101, the user can start the vehicle as follows: Figure 1 As shown, the vehicle 101 is started through the terminal device 102 outside the vehicle, and there is no need to enter the vehicle 101 and use a physical key to start the vehicle, which provides convenience for the user.

[0053] Optionally, in some digital key solutions, the terminal device can also activate the digital key in the digital wallet app, store the digital key in the digital wallet, interact with the vehicle through short-range wireless communication technology, and verify the digital key through the vehicle to start the vehicle. In addition to the above-mentioned digital wallet app, some vehicle manufacturers will also develop their own applications. Users can download the corresponding app in the terminal device and bind it to the system of the vehicle terminal through the app. After the terminal device's identity is authenticated by the vehicle, the vehicle can be remotely controlled through the terminal device later.

[0054] For the above-mentioned various digital key solutions, the terminal devices and vehicles usually store the digital keys in storage locations with poor security. The digital keys are easily tampered with and stolen during the transmission process. When the terminal device is lost, other users can also use the terminal device to unlock the vehicle and control the vehicle, resulting in low reliability during the transmission of the digital keys.

[0055] Please refer to Figure 2 , is a schematic diagram of an example structure of a terminal device provided in an embodiment of the present application. Figure 2 The terminal device shown includes components such as a processor 210, a memory 220, a transceiver 230, a display unit 240, and an input unit 250.

[0056] The processor 210 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 220, and calling data stored in the memory 220, the processor 210 performs various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. Optionally, the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.

[0057] The memory 220 can be used to store software programs and modules. The processor 210 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 220. The memory 220 can mainly include a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the memory 220 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0058] The transceiver 230 can provide wireless communication solutions applied to terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 230 can be one or more devices integrating at least one communication processing module, for example, integrating an antenna and a baseband processor into the transceiver 230, or integrating an antenna and a modem processor into the transceiver 230, etc., which are not limited here.

[0059] The display unit 240 may be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 240 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.

[0060] The input unit 250 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the terminal device. Specifically, the input unit 250 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 250 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel, the input unit 250 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.

[0061] Although not shown, the terminal device may further include a camera. Optionally, the camera may be located at the front or rear of the terminal device, which is not limited in the embodiment of the present application.

[0062] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0063] In order to solve the problems existing in the above-mentioned related technologies and improve the reliability of the digital key transmission process between the vehicle-mounted terminal and the terminal device, the present application provides a vehicle control method. After the vehicle creates a digital key, the digital key is protected by an independent security chip to provide reliable data protection when the digital key is transmitted or verified.

[0064] Please refer to Figure 3 , which shows a method flow chart of a vehicle control method provided by an exemplary embodiment of the present application. The vehicle control method can be executed by a terminal device, which can be the above-mentioned Figure 1 A terminal device that can establish a wireless connection with the vehicle. Figure 3 As shown, the vehicle control method may include the following steps:

[0065] Step 301: When a communication connection is established with a vehicle, a digital key acquisition request sent by the vehicle is received.

[0066] Optionally, the terminal device can establish a wireless communication connection such as NFC communication connection, Bluetooth communication connection, wireless fidelity (Wi-Fi) and the like with the vehicle. The terminal device can interact with the vehicle's onboard terminal, and the vehicle sends a digital key acquisition request to the terminal device through the onboard terminal, thereby acquiring the digital key on the terminal device side. Among them, the onboard terminal can send the digital key acquisition request to the terminal device autonomously, or the terminal device can request the onboard terminal to send the digital key acquisition request. Among them, the digital key acquisition request is used to request to acquire the digital key on the terminal device side.

[0067] Step 302, in response to the digital key acquisition request, sends a first digital key to the vehicle, so that the vehicle verifies the first digital key according to the second digital key in the vehicle's independent security chip, and after the first digital key passes the verification, unlocks the terminal device's control over the vehicle, so that the terminal device controls the vehicle.

[0068] Among them, the independent security chip is used to provide data protection for the second digital key.

[0069] Optionally, the terminal device sends its first digital key to the vehicle in response to the digital key acquisition request, so that the vehicle can receive the first digital key. The vehicle verifies the received first digital key based on the second digital key in its own independent security chip, thereby deciding whether to unlock the terminal device's control over the vehicle.

[0070] In this solution, the independent security chip used in the vehicle can provide physical-level data protection for the second digital key to prevent unauthorized access and attacks. The independent security chip can use encryption and digital signature technology to ensure the integrity and authenticity of the car key information and prevent unauthorized copying and tampering. When a terminal device wants to control the vehicle, the vehicle verifies the first digital key of the terminal device through the second digital key stored in its own independent security chip to achieve a higher level of vehicle safety and anti-theft functions. The second digital key in the vehicle can also achieve self-management. When the terminal device needs to download, it can also download the digital key of the vehicle from the independent security chip to ensure the security and reliability of the vehicle's digital key during transmission.

[0071] In summary, when the terminal device establishes a communication connection with the vehicle, it receives a digital key acquisition request sent by the vehicle; in response to the digital key acquisition request, it sends a first digital key to the vehicle, so that the vehicle verifies the first digital key according to the second digital key in the independent security chip of the vehicle, and after the first digital key passes the verification, the terminal device unlocks the control authority of the vehicle, so that the terminal device controls the vehicle; wherein the independent security chip is used to provide data protection for the second digital key. In this application, the vehicle provides data protection for the created second digital key through its own independent security chip. When a terminal device needs to control the vehicle, the vehicle-mounted terminal verifies the first digital key sent by the terminal device through the second digital key in the independent security chip, and unlocks the control authority of the terminal device to the vehicle when the verification passes. Whether the terminal device downloads the second digital key from the vehicle side or the vehicle itself saves the second digital key, the data protection is provided by the independent security chip of the vehicle, making the digital key more secure during the transmission process and the authentication process, and improving the reliability of the transmission of the digital key between the vehicle-mounted terminal and the terminal device.

[0072] The following is an introduction to the above solution from the vehicle side. Figure 4 , which shows a method flow chart of a vehicle control method provided by an exemplary embodiment of the present application, the vehicle control method can be applied in a vehicle and executed by an onboard terminal of the vehicle. Figure 4 As shown, the vehicle control method may include the following steps:

[0073] Step 401, when a communication connection is established with a terminal device, a digital key acquisition request is sent to the terminal device.

[0074] Optionally, the vehicle-mounted terminal in the vehicle can establish a wireless communication connection such as an NFC communication connection, a Bluetooth communication connection, etc. with the terminal device. When a communication connection is established with the terminal device, the vehicle sends a digital key acquisition request to the terminal device through the vehicle-mounted terminal, thereby acquiring the digital key on the terminal device side. The digital key acquisition request can be sent autonomously, or it can be sent to the terminal device after the terminal device initiates a request to send the digital key acquisition request.

[0075] Step 402: Receive a first digital key sent by a terminal device.

[0076] After receiving the above-mentioned digital key acquisition request, the terminal device can send the first digital key stored in itself to the vehicle-mounted terminal. Correspondingly, the vehicle-mounted terminal can receive the first digital key sent by the terminal device.

[0077] Step 403, verifying the first digital key based on the second digital key stored in the independent security chip of the vehicle, where the independent security chip is used to provide data protection for the second digital key.

[0078] Among them, the terminal device interacts with the vehicle. If it wants to obtain control authority of the vehicle, the terminal device needs to have the digital key corresponding to the vehicle. The terminal device must send its own first digital key to the vehicle, which will be verified by the vehicle. After the verification is passed, it means that the first digital key belongs to the vehicle and can control and start the vehicle.

[0079] Optionally, in the present application, after the vehicle generates a second digital key for controlling its own startup, the vehicle stores the second digital key in an independent security chip, and the independent security chip provides physical level data protection for the second digital key. After receiving the first digital key sent by the terminal device, the vehicle verifies the first digital key based on the second digital key stored in the independent security chip.

[0080] Step 404, after the first digital key passes the verification, unlock the terminal device's control authority over the vehicle so that the terminal device controls the vehicle.

[0081] After the first digital key passes the above verification, it means that the first digital key can control the vehicle, and the terminal device's control authority over the vehicle is unlocked, so that the terminal device can control the vehicle based on the first digital key.

[0082] In summary, when a communication connection is established with a terminal device, a digital key acquisition request is sent to the terminal device; the first digital key sent by the terminal device is received; the first digital key is verified according to the second digital key stored in the independent security chip of the vehicle, and the independent security chip is used to provide data protection for the second digital key; after the first digital key passes the verification, the terminal device's control authority over the vehicle is unlocked so that the terminal device can control the vehicle. In this application, the vehicle provides data protection for the created second digital key through its own independent security chip. When a terminal device needs to control the vehicle, the vehicle-mounted terminal verifies the first digital key sent by the terminal device through the second digital key in the independent security chip, and unlocks the terminal device's control authority over the vehicle when the verification passes. Whether the terminal device downloads the second digital key from the vehicle side or the vehicle itself saves the second digital key, the data protection is provided by the vehicle's independent security chip, making the digital key safer during the transmission process and the authentication process, and improving the reliability of the transmission of the digital key between the vehicle-mounted terminal and the terminal device.

[0083] In one possible implementation, when generating a digital key, the independent security chip of the vehicle can add the user authentication information to the digital key to generate the final digital key, and encrypt and sign the digital key and store it in the independent security chip, thereby improving the security and reliability of the digital key. The above embodiment is introduced below based on the interaction between the terminal device and the vehicle.

[0084] Please refer to Figure 5 , which shows a method flow chart of a vehicle control method provided by an exemplary embodiment of the present application, the vehicle control method can be executed by a terminal device and a vehicle (equivalent to an on-board terminal in the vehicle). Figure 5 As shown, the vehicle control method may include the following steps:

[0085] Step 501: The vehicle generates a second digital key in response to an operation to generate a second digital key.

[0086] Optionally, the user can trigger the digital key generation operation in the vehicle's onboard terminal, and the vehicle responds to the generation operation to generate the corresponding digital key for the vehicle. The digital key generated by the vehicle here is the second digital key. For example, a virtual control for triggering the generation of a digital key can be displayed in the display interface of the onboard terminal. The user clicks to trigger the virtual control, and the vehicle responds to the generation operation of the second digital key and generates a second digital key.

[0087] Optionally, when the user triggers the generation operation of the second digital key, the vehicle will determine whether the physical key of the vehicle is within the preset range. When the physical key of the vehicle is within the preset range, the process of generating the second digital key is executed. When the physical key of the vehicle is not within the preset range, the process is terminated directly and the second digital key will not be generated. Among them, the preset range can be pre-set in the vehicle terminal by the developer or operation and maintenance personnel. In other words, when the vehicle generates the second digital key, it will determine whether the physical key is near the vehicle. If it is near the vehicle, the second digital key will be generated. If the physical key is not near the vehicle, it will not be generated.

[0088] Optionally, the generated second digital key includes user authentication information. When the vehicle responds to the generation operation of the second digital key and determines that the physical key is within a preset distance range, the vehicle obtains the user authentication information; the user authentication information is added to the digital key to generate the second digital key. For example, the user authentication information can be the user's biometric information, such as face, fingerprint, iris and other biometric information. For example, when the vehicle responds to the generation operation of the second digital key and determines that the physical key is within a preset distance range, the vehicle displays an input interface for biometric information, allowing the user to input his or her biometric information through the input interface. After the vehicle obtains the user authentication information, the user authentication information is added to the generated string of digital keys to generate the second digital key.

[0089] Assuming that the terminal device is a mobile phone and the above biometric authentication information is fingerprint and face information, the process of generating the second digital key in the vehicle can be as follows. Figure 6 , which shows a schematic diagram of a process of generating a second digital key for a vehicle according to an exemplary embodiment of the present application. Figure 6 As shown, the process includes the following steps:

[0090] Step 601: The user clicks on a virtual control in the vehicle terminal to generate a second digital key.

[0091] Step 602 , the vehicle determines whether the physical key is within a preset distance range.

[0092] If the distance is within the preset range, step 603 is executed; if the distance is not within the preset range, step 606 is executed.

[0093] Step 603: The user enters fingerprint and face information for the vehicle.

[0094] Step 604, generate a second digital key containing the user's fingerprint and face information.

[0095] Step 605: encrypt and sign the generated second digital key.

[0096] Step 606, end the process.

[0097] Optionally, step 606 may be to end the process of generating the second digital key here, or may be to display information to prompt the user that the physical key is not within the preset distance range.

[0098] Optionally, in the above process, biometric information is exemplary. In actual applications, the user's authentication information may also be other information, such as the user's driver's license number, vehicle registration number, and other information that can illustrate the user's identity, etc., which will not be listed one by one here.

[0099] Step 502: The vehicle encrypts and signs the generated second digital key and stores it in an independent security chip of the vehicle.

[0100] After the vehicle generates the second digital key, the vehicle encrypts and signs the generated second digital key and stores it in an independent security chip. The independent security chip is used to provide data protection for the second digital key. Optionally, the independent security chip can provide physical-level data protection to prevent unauthorized access and attacks. The independent security chip can use encryption and digital signature technology to ensure the integrity and authenticity of the vehicle key information and prevent unauthorized copying and tampering.

[0101] The second digital key stored in an independent security chip can be used subsequently for security authentication of the vehicle and user identity. The digital key will only be valid after identity authentication, ensuring that only authorized car owners can access and use the vehicle.

[0102] Step 503, the vehicle obtains second authentication information in response to a trigger operation for downloading the second digital key, and verifies the second authentication information based on user authentication information contained in the second digital key.

[0103] Step 504, when the verification is passed, the vehicle sends a download instruction to the terminal device, so that the terminal device downloads the second digital key from the independent security chip of the vehicle through the download instruction.

[0104] Step 505: The terminal device downloads the second digital key from the vehicle and stores it in an independent security chip of the terminal device to obtain the first digital key.

[0105] Optionally, in steps 503 to 505, after the vehicle generates the second digital key, the terminal device needs to download the generated second digital key from the vehicle side before obtaining the second digital key. At this time, the user can trigger the trigger operation of downloading the second digital key in the vehicle's on-board terminal. At this time, the user needs to input his or her own biometric authentication information into the on-board terminal. The vehicle first authenticates the biometric authentication information. After passing the authentication, the terminal device can be allowed to download the second digital key from the vehicle's independent security chip.

[0106] That is to say, the second authentication information is the authentication information input by the user to the vehicle terminal. For example, when the user needs to download the second digital key, the trigger operation of downloading the second digital key is triggered in the vehicle terminal. At this time, the vehicle terminal can pop up an interface for obtaining the user's biometric information. After the user enters his own biometric information, the vehicle verifies the second authentication information according to the user authentication information contained in the second digital key generated previously. When the authentication is passed, it means that the two users are the same user and the second digital key can be downloaded from the independent security chip. At this time, the vehicle sends a download instruction to the terminal device, so that the terminal device downloads the second digital key from the independent security chip of the vehicle through the download instruction.

[0107] Optionally, in the process of the terminal device downloading the second digital key from the vehicle and storing it in the independent security chip of the terminal device, the terminal device receives a download instruction sent by the vehicle, the download instruction is used to download the second digital key from the independent security chip of the vehicle; obtains the user's confirmation operation on the download instruction; in response to the confirmation operation, downloads the second digital key from the vehicle and stores it in the independent security chip of the terminal device to obtain the first digital key. In other words, after the user's terminal device receives the download instruction, the user can click to confirm, thereby downloading the second digital key from the independent security chip of the vehicle through the download instruction.

[0108] Assuming that the terminal device is a mobile phone and the above biometric authentication information is fingerprint and face information, the process of the mobile phone downloading the second digital key from the independent security chip in the vehicle can be as follows. Figure 7 , which shows a download flow chart of a terminal device downloading a digital key according to an exemplary embodiment of the present application. Figure 7 As shown, the process includes the following steps:

[0109] Step 701: The user clicks on a virtual control to download a second digital key in the vehicle terminal.

[0110] Step 702: The vehicle-mounted terminal obtains the fingerprint and face input by the user.

[0111] Step 703: The vehicle-mounted terminal recognizes and verifies the fingerprint and face input by the user.

[0112] Step 704: When the verification is successful, a download instruction is sent to the mobile phone.

[0113] Step 705: The user clicks on the mobile phone to confirm the download instruction.

[0114] Step 706, the mobile phone downloads the second digital key from the vehicle's independent security chip.

[0115] Optionally, in the above process, the mobile phone can establish a communication connection with the vehicle terminal in advance, and the vehicle terminal sends the download instruction through the communication connection. In a possible implementation method, the mobile phone can be connected to the vehicle terminal through a universal serial bus (USB), and the vehicle terminal sends the download instruction through the USB line. In the USB line connection method, after the above verification is passed, the vehicle terminal can detect whether the mobile phone and the vehicle terminal are connected through USB. If so, the download instruction is sent through the USB line. If not, the download instruction is not sent to the mobile phone.

[0116] Optionally, the terminal device also includes an independent security chip, and the downloaded second digital key is stored in the independent security chip of the terminal device. In this solution, the downloaded second digital key is subsequently sent to the vehicle.

[0117] Step 506: When a communication connection is established with the terminal device, the vehicle sends a digital key acquisition request to the terminal device.

[0118] Step 507: The terminal device receives a digital key acquisition request sent by the vehicle.

[0119] Optionally, the terminal device establishes a communication connection with the vehicle terminal, and the vehicle can send a digital key acquisition request to the terminal device. For example, the user uses the terminal device to communicate with the vehicle terminal and informs the vehicle terminal that it needs to obtain the authority to control the vehicle. At this time, the vehicle needs to verify the terminal device and can send a digital key acquisition request to the terminal device to obtain the digital key provided by the terminal device.

[0120] Step 508: The terminal device sends the first digital key to the vehicle in response to the digital key acquisition request.

[0121] Optionally, after receiving the digital key acquisition request, the terminal device sends the first digital key stored in itself to the vehicle in response to the digital key acquisition request.

[0122] In one possible implementation, the terminal device may also authenticate the user's identity before sending the first digital key to the vehicle. If the authentication passes, the first digital key is sent to the vehicle; if the authentication fails, the first digital key is not sent.

[0123] For example, after receiving the digital key acquisition request, the terminal device may display the first prompt information, which is used to instruct the user to enter authentication information. The authentication information entered here is the first authentication information, and the terminal device obtains the first authentication information entered by the user; verifies the first authentication information entered by the user according to the user authentication information contained in the first digital key; and sends the first digital key to the vehicle if the verification is successful.

[0124] Optionally, the prompting method of the first prompting information may be in the form of lighting up the screen, vibration, prompting tone, etc., and the user may set it independently according to actual needs. Taking the form of vibration + prompting tone as an example, when the terminal device receives the digital key acquisition request, it may vibrate and play a prompting tone, thereby prompting the user to enter the authentication information. The authentication information entered here is the first authentication information, and the terminal device obtains the first authentication information entered by the user. In this solution, the first digital key stored in the terminal device is downloaded from an independent security chip in the vehicle, and the first digital key will also contain the user authentication information when it is generated. The terminal device verifies the first authentication information entered by the user through the user authentication information contained in the first digital key to ensure that the current user is the same as the user authentication information contained in the first digital key.

[0125] Taking the user authentication information as fingerprint or face as an example, if the user authentication information is fingerprint, then the first prompt information is used to prompt the user to input his fingerprint, and if the user authentication information is face, then the first prompt information is used to prompt the user to input his face. Regardless of the user authentication information, the terminal device verifies the first authentication information input by the user, and only sends its own first digital key to the vehicle terminal when the verification is passed. If the verification is not passed, the terminal device can refuse to send it.

[0126] Step 509: The vehicle receives the first digital key sent by the terminal device.

[0127] After the terminal device sends the first digital key, the vehicle will also receive the first digital key sent by the terminal device accordingly.

[0128] In step 510 , the vehicle verifies the first digital key based on the second digital key stored in the independent security chip of the vehicle.

[0129] After the vehicle receives the first digital key, it verifies the first digital key according to the second digital key stored in the independent security chip of the vehicle. Optionally, when the vehicle verifies, it can compare whether the two keys are the same. If the first digital key and the second digital key are the same, it means that the first digital key is the second digital key in the independent security chip downloaded and stored in the independent security chip in the terminal device, and the first digital key has the authority to control the vehicle.

[0130] Step 511: After the first digital key passes the verification, the vehicle unlocks the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle.

[0131] After the first digital key is verified, the terminal device's control over the vehicle is unlocked, and the terminal device can control the vehicle, start the vehicle, and perform other operations through the first digital key.

[0132] Step 512: When the first digital key fails to pass the verification, a second prompt message is displayed, and the second prompt message is used to indicate that the first digital key fails to pass the verification.

[0133] Optionally, when the first digital key fails the verification, a second prompt message can be displayed in the vehicle, indicating that the first digital key fails the verification. In actual application, when the verification fails, it means that the first digital key in the terminal device does not match the second digital key of the vehicle, or the first digital key is damaged. At this time, the vehicle cannot be controlled. If you still want to control the vehicle, you can re-download the second digital key of the vehicle and re-verify it.

[0134] Optionally, when the vehicle detects that the first digital key has not passed the verification, in addition to displaying the second prompt information itself, the vehicle can also send the second prompt information to the terminal device, so that the terminal device also receives the second prompt information. After receiving the second prompt information, the terminal device can also display it on its own display screen, thereby prompting the user that the first digital key of the terminal device has not passed the verification.

[0135] Please refer to Figure 8 , which shows a schematic diagram of the structure of the interaction between a vehicle-mounted terminal and a terminal device involved in an exemplary embodiment of the present application. Figure 8As shown, the vehicle terminal 800 includes a digital key generation module 801, a first key download module 802, a first wireless connection module 803, and a key matching module 804, and the terminal device 805 includes a second key download module 806, a second wireless connection module 807, and a key decryption module 808. The vehicle terminal 800 and the terminal device 805 establish a wireless connection through their respective wireless connection modules, and the vehicle terminal 800 generates a corresponding second digital key of the vehicle through the digital key generation module 801 and saves it in the independent security chip of the vehicle. The vehicle also transmits the digital key between the first key download module 802 and the second key download module 806, and transmits the second digital key to the terminal device 805, so that the terminal device parses the obtained second digital key through the key decryption module 808 and saves it in its own independent security chip as the first digital key of the terminal device. When the terminal device needs to control the vehicle, it sends the first digital key stored in itself to the key matching module 804, so that the vehicle completes the key matching process, that is, the above-mentioned verification process of the first digital key, thereby unlocking the terminal device's control authority over the vehicle.

[0136] It can be seen from the above scheme that in this application, when the vehicle senses that the physical key is within a preset distance range and the user needs to generate a digital key for the vehicle, the on-board terminal can authenticate the user as the owner, and the user enters the authentication information (such as fingerprint and facial information, etc.), which is stored in the independent security chip of the on-board terminal. The vehicle generates a digital key based on this information and encrypts and signs it.

[0137] When the terminal device is connected to the vehicle's onboard terminal via Bluetooth, Wi-Fi or USB, the onboard terminal successfully confirms the fingerprint or face information input by the user and confirms that the user is the owner of the vehicle, allowing the terminal device to download the vehicle's digital key. The terminal device can also store the downloaded digital key in its own independent security chip.

[0138] When the car owner brings the terminal device close to the vehicle, the mobile phone and the vehicle establish a connection through NFC, and the vehicle sends a digital key acquisition request to obtain the digital key of the terminal device. After receiving the digital key acquisition request, the terminal device can prompt the user by lighting up the screen, vibrating, and sounding a prompt. After the user enters the fingerprint or face information, the terminal device matches and verifies the fingerprint or face information in the digital key obtained by decrypting the digital key with the information entered by the user. After the verification is passed (when it is ensured that it is the car owner), the terminal sends its own digital key to the vehicle, and the vehicle compares the digital key stored in its own independent security chip. When the comparison results are the same, the vehicle is unlocked, and the user can open the door and start the engine through the terminal device.

[0139] It should be noted that this solution can also be applied to other smart digital key scenarios, such as smart door locks, control of smart home devices, etc., and examples will not be given one by one here.

[0140] In summary, when the terminal device establishes a communication connection with the vehicle, it receives a digital key acquisition request sent by the vehicle; in response to the digital key acquisition request, it sends a first digital key to the vehicle, so that the vehicle verifies the first digital key according to the second digital key in the independent security chip of the vehicle, and after the first digital key passes the verification, the terminal device unlocks the control authority of the vehicle, so that the terminal device controls the vehicle; wherein the independent security chip is used to provide data protection for the second digital key. In this application, the vehicle provides data protection for the created second digital key through its own independent security chip. When a terminal device needs to control the vehicle, the vehicle-mounted terminal verifies the first digital key sent by the terminal device through the second digital key in the independent security chip, and unlocks the control authority of the terminal device to the vehicle when the verification passes. Whether the terminal device downloads the second digital key from the vehicle side or the vehicle itself saves the second digital key, the data protection is provided by the independent security chip of the vehicle, making the digital key more secure during the transmission process and the authentication process, and improving the reliability of the transmission of the digital key between the vehicle-mounted terminal and the terminal device.

[0141] In addition, by adding the user's authentication information to the digital key, it can be used to perform security authentication of the vehicle and user identity. The digital key can be valid only after identity authentication, ensuring that only authorized car owners can access and use the vehicle. The car owner's fingerprint or facial information is embedded in the digital key, and the key and the car owner are matched one by one. The key of someone other than the car owner is invalid, which can improve the security of digital key use.

[0142] In addition, by storing the vehicle's digital key in an independent security chip, the car owner can self-manage the vehicle's digital key. According to the above process, the digital key can be downloaded to the second, third, and other terminal devices with independent security chips, and the vehicle can be controlled by flexibly using different terminal devices.

[0143] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0144] Please refer to Fig. 9 , which shows a structural block diagram of a vehicle control device provided by an exemplary embodiment of the present application. The vehicle control device 900 can be used in a terminal device. Figure 3 , Figure 5 or Figure 7The vehicle control device 900 includes:

[0145] A first receiving module 901 is used to receive a digital key acquisition request sent by the vehicle when a communication connection is established with the vehicle;

[0146] A first sending module 902 is used to send a first digital key to the vehicle in response to the digital key acquisition request, so that the vehicle verifies the first digital key according to a second digital key in an independent security chip of the vehicle, and after the first digital key passes the verification, unlock the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle;

[0147] Among them, the independent security chip is used to provide data protection for the second digital key.

[0148] In summary, when the terminal device establishes a communication connection with the vehicle, it receives a digital key acquisition request sent by the vehicle; in response to the digital key acquisition request, it sends a first digital key to the vehicle, so that the vehicle verifies the first digital key according to the second digital key in the independent security chip of the vehicle, and after the first digital key passes the verification, the terminal device unlocks the control authority of the vehicle, so that the terminal device controls the vehicle; wherein the independent security chip is used to provide data protection for the second digital key. In this application, the vehicle provides data protection for the created second digital key through its own independent security chip. When a terminal device needs to control the vehicle, the vehicle-mounted terminal verifies the first digital key sent by the terminal device through the second digital key in the independent security chip, and unlocks the control authority of the terminal device to the vehicle when the verification passes. Whether the terminal device downloads the second digital key from the vehicle side or the vehicle itself saves the second digital key, the data protection is provided by the independent security chip of the vehicle, making the digital key more secure during the transmission process and the authentication process, and improving the reliability of the transmission of the digital key between the vehicle-mounted terminal and the terminal device.

[0149] Optionally, the first digital key includes user authentication information, and the first sending module 902 includes: a first acquisition unit, a first verification unit, and a first sending unit;

[0150] The first acquiring unit is used to acquire first authentication information input by a user;

[0151] The first verification unit is used to verify the first authentication information input by the user according to the user authentication information contained in the first digital key;

[0152] The first sending unit is used to send the first digital key to the vehicle when the verification is passed.

[0153] Optionally, the device further comprises:

[0154] The first display module is used to display first prompt information before obtaining the first authentication information input by the user, wherein the first prompt information is used to instruct the user to input the authentication information.

[0155] Optionally, the device further comprises:

[0156] The first downloading module is used to download the second digital key from the vehicle and store it in the independent security chip of the terminal device after establishing a communication connection with the vehicle, so as to obtain the first digital key.

[0157] Optionally, the first download module includes: a first receiving unit, a second obtaining unit, and a first downloading unit;

[0158] The first receiving unit is used to receive a download instruction sent by the vehicle, where the download instruction is used to download the second digital key from the independent security chip of the vehicle;

[0159] The second acquisition unit is used to acquire a confirmation operation of the user on the download instruction;

[0160] The first downloading unit is used to download the second digital key from the vehicle in response to the confirmation operation and store it in the independent security chip of the terminal device to obtain the first digital key.

[0161] Please refer to Fig.10 , which shows a structural block diagram of a vehicle control device provided by an exemplary embodiment of the present application. The vehicle control device 1000 can be used in a vehicle-mounted terminal of a vehicle. Figure 4 , Figure 5 or Figure 6 The method provided in the illustrated embodiment includes all or part of the steps performed by the vehicle. The vehicle control device 1000 includes:

[0162] The second sending module 1001 is used to send a digital key acquisition request to the terminal device when a communication connection is established with the terminal device;

[0163] The second receiving module 1002 is used to receive the first digital key sent by the terminal device;

[0164] A first verification module 1003, configured to verify the first digital key according to a second digital key stored in an independent security chip of the vehicle, wherein the independent security chip is configured to provide data protection for the second digital key;

[0165] The vehicle control module 1004 is used to unlock the terminal device's control authority over the vehicle after the first digital key passes verification, so that the terminal device controls the vehicle.

[0166] In summary, when a communication connection is established with a terminal device, a digital key acquisition request is sent to the terminal device; the first digital key sent by the terminal device is received; the first digital key is verified according to the second digital key stored in the independent security chip of the vehicle, and the independent security chip is used to provide data protection for the second digital key; after the first digital key passes the verification, the terminal device's control authority over the vehicle is unlocked so that the terminal device can control the vehicle. In this application, the vehicle provides data protection for the created second digital key through its own independent security chip. When a terminal device needs to control the vehicle, the vehicle-mounted terminal verifies the first digital key sent by the terminal device through the second digital key in the independent security chip, and unlocks the terminal device's control authority over the vehicle when the verification passes. Whether the terminal device downloads the second digital key from the vehicle side or the vehicle itself saves the second digital key, the data protection is provided by the vehicle's independent security chip, making the digital key safer during the transmission process and the authentication process, and improving the reliability of the transmission of the digital key between the vehicle-mounted terminal and the terminal device.

[0167] Optionally, the device further comprises:

[0168] A first generating module, configured to generate the second digital key in response to a second digital key generation operation before sending the digital key acquisition request to the terminal device;

[0169] The first storage module is used to encrypt and sign the generated second digital key and store it in an independent security chip of the vehicle.

[0170] Optionally, the first generating module includes: a third acquiring unit and a second generating unit;

[0171] The third acquisition unit is used to acquire user authentication information in response to the generation operation of the second digital key when it is determined that the physical key is within a preset distance range;

[0172] The second generating unit is used to add the user authentication information to the digital key to generate the second digital key.

[0173] Optionally, the device further comprises:

[0174] The second display module is used to display a second prompt message when the first digital key fails to pass the verification, and the second prompt message is used to indicate that the first digital key fails to pass the verification.

[0175] Optionally, the device further comprises:

[0176] a second authentication module, configured to obtain second authentication information in response to a triggering operation for downloading the second digital key after the generated second digital key is encrypted and signed and stored in an independent security chip of the vehicle, and to verify the second authentication information according to the user authentication information contained in the second digital key;

[0177] The third sending module is used to send a download instruction to the terminal device when the verification is passed, so that the terminal device downloads the second digital key from the independent security chip of the vehicle through the download instruction.

[0178] Please refer to Fig.11 , which is a structural diagram of another example of the vehicle control device provided in the embodiment of the present application. Among them, the vehicle control device 1100 can be a vehicle-mounted terminal, which can realize the function of the vehicle-mounted terminal in the vehicle in the method provided in the embodiment of the present application; the vehicle control device 1100 can also be a device that can support the terminal device to realize the function of the terminal device in the method provided in the embodiment of the present application. Among them, the vehicle control device 1100 can be a chip system. In the embodiment of the present application, the chip system can be composed of chips, or it can include chips and other discrete devices.

[0179] In terms of hardware implementation, the communication module 1102 may be a transceiver, which is integrated into the vehicle control device 1100 to form a communication interface 1103 .

[0180] The vehicle control device 1100 includes at least one processor 1120, which is used to implement or support the vehicle control device 1100 to implement the functions of the terminal device in the method provided in the embodiment of the present application. Exemplarily, the processor 1120 can receive a digital key acquisition request sent by the vehicle when a communication connection is established with the vehicle; send a first digital key to the vehicle, see the detailed description in the method example for details, which will not be repeated here.

[0181] The vehicle control device 1100 may also include at least one memory 1130 for storing program instructions and / or data. The memory 1130 is coupled to the processor 1120. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 1120 may operate in conjunction with the memory 1130. The processor 1120 may execute program instructions stored in the memory 1130. At least one of the at least one memory may be included in the processor.

[0182] The vehicle control device 1100 may also include a communication interface 1103 for communicating with other devices via a transmission medium, so that the device in the vehicle control device 1100 can communicate with other devices. Exemplarily, the other device may be a network-side device. The processor 1120 may use the communication interface 1103 to send and receive data. The communication interface 1103 may specifically be a transceiver.

[0183] The specific connection medium between the communication interface 1103, the processor 1120 and the memory 1130 is not limited in the embodiment of the present application. Fig.11 The memory 1130, the processor 1120 and the communication interface 1103 are connected via a bus 1140. Fig.11 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0184] In the embodiment of the present application, the processor 1120 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0185] In an embodiment of the present application, the memory 1130 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random access memory (RAM). The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.

[0186] Optionally, an embodiment of the present application further provides a terminal device, the terminal device includes a processor and a memory, the memory stores a computer program, and the computer program is executed by the processor to implement all or part of the steps performed by the terminal device in the vehicle control method described in the above embodiments.

[0187] Optionally, an embodiment of the present application further provides a vehicle, the vehicle comprising a processor and a memory, the memory storing a computer program, the computer program being executed by the processor to implement all or part of the steps executed by the vehicle terminal in the vehicle control method described in the above embodiments.

[0188] Optionally, an embodiment of the present application also provides a computer-readable medium, which stores a computer program, and the computer program is executed by a processor to implement all or part of the steps performed by a vehicle-mounted terminal or terminal device in the vehicle control method described in the above embodiments.

[0189] Optionally, an embodiment of the present application also provides a computer program product, which stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the vehicle control method described in the above embodiments, and all or part of the steps executed by a vehicle-mounted terminal or a terminal device.

[0190] It should be noted that: when the device provided in the above embodiment performs the control of the terminal device, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

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

[0192] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0193] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A vehicle control method, characterized in that: Applied to a terminal device, the method comprises: When a communication connection is established with the vehicle, receiving a digital key acquisition request sent by the vehicle; In response to the digital key acquisition request, sending a first digital key to the vehicle, so that the vehicle verifies the first digital key according to a second digital key in an independent security chip of the vehicle, and after the first digital key passes the verification, unlocking the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle; Among them, the independent security chip is used to provide data protection for the second digital key.

2. The method according to claim 1, characterized in that The first digital key includes user authentication information, and the sending of the first digital key to the vehicle in response to the digital key acquisition request includes: acquiring first authentication information input by a user; verifying the first authentication information input by the user according to the user authentication information contained in the first digital key; If the verification is successful, the first digital key is sent to the vehicle.

3. The method according to claim 2, characterized in that Before obtaining the first authentication information input by the user, the method further includes: A first prompt information is displayed, where the first prompt information is used to instruct the user to input authentication information.

4. The method according to claim 1, characterized in that: After establishing the communication connection with the vehicle, the method further includes: The second digital key is downloaded from the vehicle and stored in an independent security chip of the terminal device to obtain the first digital key.

5. The method according to claim 4, characterized in that The downloading of the second digital key from the vehicle and storing it in the independent security chip of the terminal device to obtain the first digital key includes: receiving a download instruction sent by the vehicle, wherein the download instruction is used to download the second digital key from the independent security chip of the vehicle; Obtaining a user's confirmation operation on the download instruction; In response to the confirmation operation, the second digital key is downloaded from the vehicle and stored in an independent security chip of the terminal device to obtain the first digital key.

6. The method according to claim 1, characterized in that The method further comprises: When the first digital key fails to pass the verification, a second prompt message is received and displayed, where the second prompt message is used to indicate that the first digital key fails the verification.

7. A vehicle control method, characterized in that: Applied to a vehicle, the method comprises: When a communication connection is established with a terminal device, sending a digital key acquisition request to the terminal device; Receiving a first digital key sent by the terminal device; Verifying the first digital key according to a second digital key stored in an independent security chip of the vehicle, the independent security chip being used to provide data protection for the second digital key; After the first digital key passes the verification, the terminal device's control authority over the vehicle is unlocked so that the terminal device controls the vehicle.

8. The method according to claim 7, characterized in that Before sending the digital key acquisition request to the terminal device, the method further includes: In response to the second digital key generation operation, generating the second digital key; The generated second digital key is encrypted and signed, and stored in an independent security chip of the vehicle.

9. The method according to claim 8, characterized in that The step of generating the second digital key in response to the generating operation of the second digital key comprises: In response to the generation operation of the second digital key, when it is determined that the physical key is within a preset distance range, obtaining user authentication information; The user authentication information is added to the digital key to generate the second digital key.

10. The method according to claim 7, characterized in that The method further comprises: When the first digital key fails to pass the verification, a second prompt message is displayed and the second prompt message is sent to the terminal device, where the second prompt message is used to indicate that the first digital key fails the verification.

11. The method according to claim 8, characterized in that After encrypting and signing the generated second digital key and storing it in the independent security chip of the vehicle, the method further includes: In response to a triggering operation to download the second digital key, obtaining second authentication information, and verifying the second authentication information according to the user authentication information included in the second digital key; If the verification is successful, a download instruction is sent to the terminal device, so that the terminal device downloads the second digital key from the independent security chip of the vehicle through the download instruction.

12. A vehicle control device, characterized in that: Applied to a terminal device, the device comprises: A first receiving module, configured to receive a digital key acquisition request sent by the vehicle when a communication connection is established with the vehicle; a first sending module, configured to send a first digital key to the vehicle in response to the digital key acquisition request, so that the vehicle verifies the first digital key according to a second digital key in an independent security chip of the vehicle, and after the first digital key passes the verification, unlock the terminal device's control authority over the vehicle, so that the terminal device controls the vehicle; Among them, the independent security chip is used to provide data protection for the second digital key.

13. A vehicle control device, characterized in that: Applied to a vehicle, the device comprises: A second sending module, configured to send a digital key acquisition request to the terminal device when a communication connection is established with the terminal device; A second receiving module, used to receive a first digital key sent by the terminal device; a first verification module, configured to verify the first digital key according to a second digital key stored in an independent security chip of the vehicle, wherein the independent security chip is configured to provide data protection for the second digital key; A vehicle control module is used to unlock the terminal device's control authority over the vehicle after the first digital key is verified, so that the terminal device can control the vehicle.

14. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the vehicle control method as described in any one of claims 1 to 6.

15. A vehicle, characterized in that: The vehicle comprises a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the vehicle control method as claimed in any one of claims 7 to 11.

16. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to implement the vehicle control method as described in any one of claims 1 to 6 or 7 to 11.