Vehicle control system and method and electronic equipment
Patent Information
- Application Number
- CN202480000599.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-30
- Filing Date
- 2024-03-18
- Publication Date
- 2025-02-28
AI Technical Summary
If a vehicle only supports connecting to one Bluetooth device, other devices that have not established a Bluetooth connection with the vehicle cannot control the vehicle via the digital car key, resulting in insufficient control convenience.
A communication connection is established between a first electronic device and a second electronic device. The second electronic device stores the digital car key of the first vehicle. The first electronic device and the first vehicle establish a communication connection to realize multi-device collaborative control of the vehicle. Control is performed using the digital car key, and security is improved through encryption and authentication mechanisms.
When a vehicle only supports one Bluetooth device connection, multiple devices can work together to control the vehicle, improving control convenience and safety.
Smart Images

Figure CN119547118A_ABST
Abstract
Description
Vehicle control system, method and electronic equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on June 30, 2023, with application number 202310802998.6, and priority to the Chinese patent application entitled “A Vehicle Control System, Method and Electronic Device”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of vehicle technology, and in particular to a vehicle control system, method, and electronic equipment. Background Art
[0003] With the development of society, vehicles have become an indispensable means of transportation in people's daily lives. During vehicle use, users can use car keys to control the opening or closing of vehicle doors and the start or shutdown of the engine.
[0004] With technological advancements, car keys are constantly evolving. For example, car keys have evolved from physical keys to digital keys. If a user forgets their physical keys, they can establish a communication connection between their terminal device and the vehicle and control the vehicle using the digital key stored on the terminal device. However, if a vehicle only supports connecting to one Bluetooth device, other devices that haven't established a Bluetooth connection with the vehicle cannot connect to it via Bluetooth, and thus cannot control the vehicle using the digital key.
[0005] Summary of the Invention
[0006] The present application provides a vehicle control system, method and electronic device, which enable multiple devices to collaboratively control the vehicle based on a digital car key when the vehicle only supports connection to one Bluetooth device, thereby improving the convenience of multiple devices controlling the vehicle.
[0007] In the first aspect, the present application provides a vehicle control system, characterized in that the system includes a first electronic device, a second electronic device and a first vehicle, the first electronic device and the second electronic device establish a first communication connection, the first electronic device and the first vehicle establish a second communication connection, the second electronic device stores a first digital car key of the first vehicle, and the first electronic device stores a second digital car key of the first vehicle; wherein the second electronic device is used to receive and respond to a first user operation, and send a first control instruction and vehicle information of the first vehicle to the first electronic device through the first communication connection, and the first control instruction is used to instruct the first vehicle to perform a first operation; the first electronic device is used to receive the first control instruction and the vehicle information of the first vehicle, and determine that the second digital car key is stored in the first electronic device based on the vehicle information of the first vehicle; the first electronic device is also used to send the first control instruction to the first vehicle through the second communication connection; the first vehicle is used to receive the first control instruction and perform the first operation based on the first control instruction.
[0008] The first vehicle's vehicle information is used by the first electronic device to determine whether it has also applied for the first vehicle's digital key. Only if both the first and second electronic devices have applied for the first vehicle's digital key can the second electronic device control the first vehicle using the digital key through the first electronic device, thereby improving vehicle control security.
[0009] Optionally, the first control instruction and the vehicle information of the first vehicle may be sent to the first electronic device separately. For example, the second electronic device first sends the vehicle information of the first vehicle to the first electronic device, and then sends the first control instruction to the first electronic device.
[0010] Optionally, in some embodiments, the first control instruction sent by the first electronic device to the first vehicle must conform to a fixed format so that the first vehicle can correctly recognize the first control instruction. Different types of control instructions have different formats. For example, the format of an unlocking control instruction differs from that of a window opening control instruction. Before sending the first control instruction to the first vehicle, the first electronic device may obtain the digital car key vehicle-connected standard, which specifies the formats of different types of control instructions. The first control instruction carries an instruction type. The first electronic device may obtain the first instruction type from the first control instruction. For example, the first instruction type may be an unlocking operation. The first electronic device may then obtain the fixed format of the first instruction type from the digital car key vehicle-connected standard. The first electronic device may then determine whether the format of the first control instruction is the same as the fixed format of the first instruction type. If so, the first electronic device may then send the first control instruction to the first vehicle. If not, the first electronic device may combine the first control instruction with the fixed format of the first instruction type to generate a third control instruction. The third control instruction has the same instruction type as the first instruction type and conforms to the fixed format of the first instruction type. The third control instruction is also used to perform the first operation. The first electronic device then sends the third control instruction to the first vehicle, so that the first vehicle can correctly identify the third control instruction and perform the first operation based on the third control instruction.
[0011] Optionally, in some embodiments, the first control instruction also carries a version number. The first electronic device can verify the legitimacy of the first control instruction based on the version number carried by the first control instruction. Specifically, the first electronic device can obtain the version number of the fourth vehicle control instruction in the first electronic device based on the first instruction type in the first control instruction. The fourth vehicle control instruction has the same vehicle control operation type as the first vehicle control instruction, for example, the fourth vehicle control instruction and the first vehicle control instruction are both unlocking operations. In the case that the fourth vehicle control instruction version number is the same as the first vehicle control instruction version number, the first control instruction is legal, and the first electronic device can send the first control instruction to the first vehicle. If the fourth vehicle control instruction version number is different from the first vehicle control instruction version number, the first control instruction is illegal, and the first electronic device will not send the first control instruction to the first vehicle.
[0012] Through this method, when the vehicle only supports connecting to one Bluetooth device, multiple devices can collaboratively control the vehicle based on the digital car key, thereby improving the convenience of multiple devices controlling the vehicle.
[0013] In combination with the first aspect, in a possible implementation, the first electronic device is further configured to determine that the first digital car key and the second digital car key are of the same key type.
[0014] In one possible implementation, the second electronic device is further used to send key information of the first digital car key to the first electronic device; the first electronic device is further used to determine that the key types of the first digital car key and the second digital car key are the same based on the key information of the first digital car key and the key information of the second digital car key.
[0015] The first electronic device can determine the key information of the second digital vehicle key based on the vehicle information of the first vehicle. The first electronic device then determines whether the first and second digital vehicle keys are of the same key type based on the key information of the first and second digital vehicle keys. Only if the first and second digital vehicle keys are of the same key type can the second electronic device control the first vehicle using the digital vehicle key through the first electronic device, thereby improving vehicle control security.
[0016] In combination with the first aspect, in one possible implementation, the first electronic device is specifically used to: encrypt the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction; send the encrypted first control instruction to the first vehicle through a second communication connection; the first vehicle is specifically used to: receive the encrypted first control instruction; decrypt the encrypted first control instruction based on the second digital vehicle key to obtain the first control instruction, and perform a first operation based on the first control instruction.
[0017] Optionally, the first electronic device is also used to send the device information of the first electronic device to the first vehicle, so that the first vehicle can obtain the second digital car key based on the device information of the first electronic device, and decrypt the encrypted first control instruction based on the second digital car key to obtain the first control instruction, and then execute the first operation based on the first control instruction.
[0018] In this way, if the first electronic device determines that both the first electronic device and the second electronic device have applied for the digital vehicle key of the first vehicle, the first electronic device can encrypt the first control instruction based on the second digital vehicle key to obtain the encrypted first control instruction, and then send the encrypted first control instruction to the second electronic device. On the one hand, this improves the security of the control instruction transmission between the device and the vehicle. On the other hand, it also improves the security of the device to the vehicle.
[0019] In combination with the first aspect, in a possible implementation, a first user account is logged in to the first electronic device, and a second user account is logged in to the first electronic device, and the first user account and the second user account are the same or associated with each other.
[0020] In this way, if the user account logged into the first and second electronic devices is the same, the first and second electronic devices can be considered multiple devices of the same user, and a trusted connection can be established between the multiple devices of the same user. For example, the second electronic device can be a watch or bracelet of the first user, and the first electronic device can be the first user's mobile phone.
[0021] In some embodiments, if the user accounts logged into the first and second electronic devices are different, but the first and second user accounts are associated with each other, the first and second electronic devices can be considered multiple devices in a family group, and multiple devices in a family group can also be a trusted connection. The first and second electronic devices can be multiple devices of the same user or multiple devices of different users.
[0022] In this way, only trusted devices can collaborate to control the first vehicle based on the digital car key, thereby improving the security of vehicle control.
[0023] In one possible implementation, the second electronic device is further configured to display a QR code; the first electronic device is further configured to scan the QR code via a camera to establish a trusted connection with the second electronic device. In this way, if the second electronic device is unable to log in to the user account, the first and second electronic devices can establish a trusted connection by scanning the QR code. The first and second electronic devices can be multiple devices of the same user or multiple devices of different users. For example, the second electronic device can be a watch or a bracelet, and the first electronic device can be a mobile phone.
[0024] In this way, only trusted devices can collaborate to control the first vehicle based on the digital car key, thereby improving the security of vehicle control.
[0025] In combination with the first aspect, in one possible implementation, the first electronic device is further used to: display a first user interface, in which a first option is displayed; receive and, in response to a second user operation for the first option, send a request to the second electronic device to establish a trusted connection; the second electronic device is further used to: display a first prompt message in response to the request to establish a trusted connection, the first prompt message being used to prompt the user whether to establish a trusted connection with the first electronic device; receive an input operation from the user for the second option in the first prompt message, and send a message to the first electronic device confirming the establishment of a trusted connection; the first electronic device is further used to: establish a trusted connection with the second electronic device in response to the message confirming the establishment of a trusted connection.
[0026] For example, the first electronic device and the second electronic device can be multiple devices owned by different users. Thus, if a trusted connection between the first electronic device and the second electronic device has not yet been established based on a user account or QR code, the first electronic device and the second electronic device can establish a trusted relationship through active sharing. Devices of different users can establish a trusted connection in this manner, enabling devices of different users to collaboratively control the first vehicle using a digital vehicle key.
[0027] In some embodiments, the user accounts logged into the first electronic device and the second electronic device are different, but the first user account and the second user account are associated with each other. It can also be determined that the relationship between the two devices is untrusted, and the two devices still need to establish a trusted connection by actively establishing a trusted relationship.
[0028] In conjunction with the first aspect, in one possible implementation, the first electronic device is specifically configured to, in response to a message confirming establishment of an association relationship, generate a first random number and send the first random number to the second electronic device; the second electronic device is further configured to, in response to receiving the first random number sent by the first electronic device, generate a second random number and send the second random number to the first electronic device; and generate a first trusted credential based on the first random number and the second random number. The first electronic device is specifically configured to generate a second trusted credential based on the first random number and the second random number.
[0029] In this way, when the first electronic device and the second electronic device have not established a trusted connection based on a user account or a QR code before, when the first electronic device and the second electronic device establish a trusted relationship through active sharing, the first electronic device and the second electronic device can each generate and save a trusted credential. When the first electronic device and the second electronic device interact subsequently, they can verify whether the two parties are in a trusted connection based on the trusted credentials saved by each.
[0030] In combination with the first aspect, in one possible implementation, the second electronic device is also used to send the first trusted credential to the first electronic device; the first electronic device is specifically used to send the first control instruction to the first vehicle through the second communication connection when the first trusted credential and the second trusted credential meet preset conditions.
[0031] Optionally, when a second electronic device needs to control a first vehicle through a first electronic device using a digital car key, and the first electronic device determines that it is not connected to the first electronic device in a trusted manner, the first electronic device may prompt the user whether to establish a trusted relationship with the first electronic device through active sharing to ensure that the second electronic device can control the first vehicle through the first electronic device using the digital car key. Upon user confirmation, the first and second electronic devices may establish a trusted connection in the manner described above.
[0032] Optionally, the second electronic device is further configured to send device information of the second electronic device to the first electronic device, and the first electronic device can obtain a second trusted credential associated with the second electronic device based on the device information of the second electronic device. If it is determined that the first trusted credential and the second trusted credential meet preset conditions, the first electronic device can determine that the second electronic device is a trusted device and then send the first control instruction to the first vehicle via the second communication connection, thereby improving the security of the device to the vehicle.
[0033] In combination with the first aspect, in one possible implementation, the first electronic device is further used to delete the second trusted credential after the storage time of the second trusted credential exceeds the first time; the second electronic device is further used to delete the first trusted credential after the storage time of the first trusted credential exceeds the first time.
[0034] In this way, the trusted credentials stored in the electronic device have a certain time limit. After the first time period has expired, the first electronic device and the second electronic device can delete the trusted credentials stored therein, thereby improving the credibility of the trusted connection between the first electronic device and the second electronic device.
[0035] In conjunction with the first aspect, in one possible implementation, the system further includes a third electronic device, in which a third digital vehicle key of the first vehicle is stored; the first vehicle is further configured to send a broadcast, where the broadcast is used for other devices to discover the first vehicle; the third electronic device is further configured to: receive and respond to a third user operation, where the third user operation is used to control the first vehicle to perform a second operation; receive and respond to the broadcast sent by the first vehicle to send a request to establish a third communication connection to the vehicle; the first vehicle is further configured to send a request to disconnect the second communication connection to the first electronic device in response to the third communication connection request;
[0036] The first electronic device is further used to receive a fourth user operation to disconnect the second communication connection with the first vehicle; the first vehicle is further used to establish a third communication connection with a third electronic device; the third electronic device is further used to send the second control instruction to the first vehicle through the third communication connection; the first vehicle is further used to receive the second control instruction and perform a second operation based on the second control instruction.
[0037] In this way, when the vehicle only supports connecting to one Bluetooth device, for example, the first vehicle is connected to the first electronic device, when the second electronic device needs to control the first vehicle, the second electronic device can actively initiate a connection request to the first vehicle, and the first vehicle can disconnect the communication connection with the first electronic device and establish a communication connection with the second electronic device, so that the second electronic device can directly control the first vehicle through the first digital car key.
[0038] Optionally, in the present application, when the first vehicle is connected to the first electronic device, the first vehicle can still send a broadcast so that other devices can obtain the address of the first vehicle based on the broadcast and establish a communication connection with the first vehicle.
[0039] In other embodiments, when the first vehicle is connected to the first electronic device, the first vehicle may not send a broadcast. When the second electronic device applies for a digital car key, the first vehicle may send the address of the first vehicle to the second electronic device, so that when the second electronic device needs to control the first vehicle, the second electronic device can actively initiate a communication connection with the first vehicle based on the saved address of the first vehicle.
[0040] In combination with the first aspect, in one possible implementation, the first electronic device is further used to display a second prompt message in response to a request to disconnect the second communication connection, and the second prompt message is used to prompt the user whether to disconnect the second communication connection with the first vehicle; the first electronic device is specifically used to receive and respond to a fourth user operation for the second option in the second prompt message to disconnect the second communication connection with the first vehicle.
[0041] In this way, the first electronic device can disconnect the communication connection with the first vehicle only after receiving the disconnection operation from the user.
[0042] In combination with the first aspect, in one possible implementation, the first vehicle is further used to send a first message to the first electronic device through a second communication connection after executing the first control instruction; the first electronic device is further used to send the first message to the second electronic device through the first communication connection; the second electronic device is further used to display a third prompt message in response to the first message, and the third prompt message is used to prompt the user that the second electronic device has controlled the first vehicle to perform the first operation through the first electronic device.
[0043] In this way, after the second electronic device controls the first vehicle through the first electronic device, the second electronic device may display a prompt message to remind the user that the second electronic device controls the first vehicle through the first electronic device.
[0044] In conjunction with the first aspect, in one possible implementation, the first electronic device is further configured to send a second message to the second electronic device via the first communication connection if the second digital vehicle key stored in the first electronic device is not determined based on the vehicle information of the first vehicle, and / or the first digital vehicle key and the second digital vehicle key are of different key types; and the second electronic device is further configured to display a fourth prompt message in response to the second message, the fourth prompt message being configured to prompt a user that the first electronic device is currently unable to control the first vehicle to perform the first operation. In this way, if the vehicle cannot be controlled, the second electronic device may also display a prompt message to prompt the user that the first vehicle cannot be controlled.
[0045] In combination with the first aspect, in one possible implementation, the key information of the first digital car key includes any one or more of the following: key type, key identification; the vehicle information of the first vehicle includes any one or more of the following: vehicle identification code, vehicle model, vehicle manufacturer, vehicle production date, vehicle engine model, and vehicle license plate number.
[0046] In combination with the first aspect, in a possible implementation, the first communication connection includes any one of the following: a Bluetooth connection, a network connection, a server connection; and the second communication connection includes a Bluetooth connection.
[0047] In combination with the first aspect, in one possible implementation, the first control instruction includes any one of the following: opening the car lock, closing the car lock, opening the car window, closing the car window, turning on the air conditioner, turning off the air conditioner, opening the trunk, closing the trunk, starting to play music, and pausing to play music.
[0048] In second aspect, the present application provides a vehicle control method, the method comprising: a first electronic device receives a first control instruction and vehicle information of a first vehicle sent by a second electronic device through a first communication connection, wherein the first control instruction and the vehicle information of the first vehicle are sent to the first electronic device after the second electronic device receives a first user operation of the user, the first control instruction is used to instruct the first vehicle to perform a first operation, the first electronic device determines that a second digital car key is stored in the first electronic device based on the vehicle information of the first vehicle, wherein the first digital car key of the first vehicle is stored in the second electronic device; the first electronic device sends the first control instruction to the first vehicle through the second communication connection.
[0049] In combination with the second aspect, in one possible implementation, before the first electronic device sends the first control instruction to the first vehicle through the second communication connection, the method also includes: the first electronic device determines that the key type of the first digital car key and the second digital car key are the same.
[0050] In combination with the second aspect, in a possible implementation, before the first electronic device sends the first control instruction to the first vehicle through the second communication connection, the method also includes: the first electronic device receives the key information of the first digital car key sent by the second electronic device through the first communication connection; the first electronic device determines that the key types of the first digital car key and the second digital car key are the same, specifically including: the first electronic device determines that the key types of the first digital car key and the second digital car key are the same based on the key information of the first digital car key and the key information of the second digital car key.
[0051] In combination with the second aspect, in one possible implementation, the first electronic device sends the first control instruction to the first vehicle through the second communication connection, specifically including: the first electronic device encrypts the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction; the first electronic device sends the encrypted first control instruction to the first vehicle through the second communication connection.
[0052] In combination with the second aspect, in a possible implementation, a first user account is logged in to the first electronic device, and a second user account is logged in to the first electronic device, and the first user account and the second user account are the same or associated with each other.
[0053] In combination with the second aspect, in one possible implementation, before the first electronic device receives the first control instruction and vehicle information of the first vehicle sent by the second electronic device through the first communication connection, the method also includes: the first electronic device establishes a trusted connection with the second electronic device by scanning the QR code displayed on the second electronic device through a camera.
[0054] In combination with the second aspect, in a possible implementation, before the first electronic device receives the first control instruction and vehicle information of the first vehicle sent by the second electronic device through the first communication connection, the method also includes: the first electronic device displays a first user interface, in which a first option is displayed; receives and responds to a second user operation for the first option, sends a request to establish a trusted connection to the second electronic device, and the trusted connection request is used to instruct the second electronic device to establish a trusted connection with the first electronic device; the first electronic device receives a confirmation message sent by the second electronic device to establish a trusted connection, wherein the confirmation message to establish a trusted connection is sent by the second electronic device after receiving the user's confirmation operation to establish a trusted connection; in response to the confirmation message to establish a trusted connection, the first electronic device establishes a trusted connection with the first electronic device and the second electronic device.
[0055] In combination with the second aspect, in one possible implementation, in response to a confirmation message for establishing an association relationship, the first electronic device establishes a trusted connection with the first electronic device and the second electronic device, specifically including: in response to the confirmation message for establishing an association relationship, the first electronic device generates a first random number and sends the first random number to the second electronic device; the first electronic device receives the second random number sent by the second electronic device, wherein the first random number and the second random number are used by the second electronic device to generate a first trusted credential; the first electronic device generates a second trusted credential based on the first random number and the second random number.
[0056] In combination with the second aspect, in one possible implementation, before the first electronic device sends the first control instruction to the first vehicle through the second communication connection, the method also includes: the first electronic device receives the first trusted credential sent by the second electronic device; the first electronic device sends the first control instruction to the first vehicle through the second communication connection, specifically including: sending the first control instruction to the first vehicle through the second communication connection when the first trusted credential and the second trusted credential meet preset conditions.
[0057] In combination with the second aspect, in one possible implementation, after the first electronic device generates a second trusted credential based on the first random number and the second random number, the method further includes: after the duration of storing the second trusted credential exceeds the first duration, the first electronic device deletes the second trusted credential.
[0058] In combination with the second aspect, in one possible implementation, after the first electronic device sends the first control instruction to the first vehicle through the second communication connection, the method also includes: the first electronic device receives a first message sent by the first vehicle through the second communication connection, wherein the first message is sent after the first vehicle executes the first control instruction; the first electronic device sends the first message to the second electronic device through the first communication connection, the first message is used for the second electronic device to display a third prompt message, and the third prompt message is used to prompt the user that the second electronic device has controlled the first vehicle to perform the first operation through the first electronic device.
[0059] In combination with the second aspect, in a possible implementation, the method also includes: when the second digital car key stored in the first electronic device is not determined based on the vehicle information of the first vehicle, and / or the key types of the first digital car key and the second digital car key are different, sending a second message to the second electronic device through the first communication connection, the second message is used for the second electronic device to display a fourth prompt information, and the fourth prompt information is used to prompt the user that the first electronic device is currently unable to control the first vehicle to perform the first operation.
[0060] In combination with the second aspect, in one possible implementation, the key information of the first digital car key includes any one or more of the following: key type, key identification; the vehicle information of the first vehicle includes any one or more of the following: vehicle identification code, vehicle model, vehicle manufacturer, vehicle production date, vehicle engine model, and vehicle license plate number.
[0061] In combination with the second aspect, in a possible implementation, the first communication connection includes any one of the following: a Bluetooth connection, a network connection, a server connection; and the second communication connection includes a Bluetooth connection.
[0062] In combination with the second aspect, in one possible implementation, the first control instruction includes any one of the following: opening the car lock, closing the car lock, opening the car window, closing the car window, turning on the air conditioner, turning off the air conditioner, opening the trunk, closing the trunk, starting to play music, and pausing to play music.
[0063] In terms of the third aspect, the present application provides a vehicle control method, which includes: the second electronic device receives and responds to the first user operation, sends a first control instruction and vehicle information of the first vehicle to the first electronic device through a first communication connection, the first control instruction is used to instruct the first vehicle to perform a first operation, and the vehicle information of the first vehicle is used to send the first control instruction to the first vehicle through the second communication connection between the first electronic device and the first vehicle after the first electronic device determines the second digital vehicle key of the first vehicle; wherein the first digital vehicle key of the first vehicle is stored in the second electronic device.
[0064] In combination with the third aspect, in one possible implementation, after the second electronic device receives and responds to the first user operation, the method also includes: the second electronic device sends the key information of the first digital car key of the first vehicle to the first electronic device, and the key information of the first digital car key is used by the first electronic device in combination with the key information of the second digital car key to determine that the key types of the first digital car key and the second digital car key are the same.
[0065] In combination with the third aspect, in a possible implementation, a first user account is logged in to the first electronic device, and a second user account is logged in to the first electronic device, and the first user account and the second user account are the same or associated with each other.
[0066] In combination with the third aspect, in one possible implementation, before the second electronic device sends the first control instruction and vehicle information of the first vehicle to the first electronic device through the first communication connection, the method also includes: the second electronic device displays a QR code, which is used by the first electronic device to establish a trusted connection with the second electronic device after being scanned by the camera of the first electronic device.
[0067] In combination with the third aspect, in a possible implementation, before the second electronic device sends the first control instruction and the vehicle information of the first vehicle to the first electronic device through the first communication connection, the method also includes: the second electronic device receives the request for establishing a trusted connection sent by the first electronic device, and the request for establishing a trusted connection is sent after the first electronic device receives the second user operation; the second electronic device displays a first prompt message, and the first prompt message is used to prompt the user whether to establish a trusted connection with the first electronic device; the second electronic device receives the user's input operation for the second option in the first prompt message, sends a confirmation message for establishing a trusted connection to the first electronic device, and establishes a trusted connection with the first electronic device.
[0068] In combination with the third aspect, in one possible implementation, the second electronic device establishes a trusted connection with the first electronic device, specifically including: in response to the user's input operation for the second option in the first prompt information, the second electronic device sends a second random number to the first electronic device; the second electronic device receives the first random number sent by the first electronic device, and the first random number and the second random number are used by the first electronic device to generate a second trusted credential; the second electronic device generates a first trusted credential based on the first random number and the second random number.
[0069] In combination with the third aspect, in one possible implementation, after the second electronic device receives and responds to the first user operation, the method also includes: sending a first trusted credential to the first electronic device, and the first trusted credential is used by the second electronic device to send a first control instruction to the first vehicle through a second communication connection when the preset conditions are met in combination with the second trusted credential.
[0070] In combination with the third aspect, in one possible implementation, after the second electronic device generates a first trusted credential based on the first random number and the second random number, the method also includes: after the length of time for storing the first trusted credential exceeds the first length of time, the second electronic device deletes the first trusted credential.
[0071] In combination with the third aspect, in one possible implementation, after the second electronic device sends the first control instruction and vehicle information of the first vehicle to the first electronic device through the first communication connection, the method also includes: the second electronic device receives the first message sent by the first electronic device through the first communication connection, and the first message is sent to the first electronic device through the second communication connection after the first vehicle executes the first control instruction; in response to the first message, the second electronic device displays a third prompt message, and the third prompt message is used to prompt the user that the second electronic device has controlled the first vehicle to perform the first operation through the first electronic device.
[0072] In combination with the third aspect, in a possible implementation, the method also includes: the second electronic device receives a second message sent by the first electronic device through the first communication connection, the second message is sent when the first electronic device has not determined the second digital car key stored in the first electronic device based on the vehicle information of the first vehicle, and / or the key types of the first digital car key and the second digital car key are different; in response to the second message, a fourth prompt message is displayed, and the fourth prompt message is used to prompt the user that the first electronic device is currently unable to control the first vehicle to perform the first operation.
[0073] In combination with the third aspect, in one possible implementation, the key information of the first digital car key includes any one or more of the following: key type, key identification; the vehicle information of the first vehicle includes any one or more of the following: vehicle identification code, vehicle model, vehicle manufacturer, vehicle production date, vehicle engine model, and vehicle license plate number.
[0074] In combination with the third aspect, in a possible implementation, the first communication connection includes any one of the following: a Bluetooth connection, a network connection, a server connection; and the second communication connection includes a Bluetooth connection.
[0075] In combination with the third aspect, in one possible implementation, the first control instruction includes any one of the following: opening the car lock, closing the car lock, opening the car window, closing the car window, turning on the air conditioner, turning off the air conditioner, opening the trunk, closing the trunk, starting to play music, and pausing to play music.
[0076] In a third aspect, the present application provides an electronic device, which is a first electronic device, and the first electronic device includes a processor and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, and the computer program code includes computer instructions, and the processor calls the computer instructions to execute a vehicle control method provided in any possible implementation of the above second aspect.
[0077] In a fourth aspect, the present application provides an electronic device, which is a second electronic device, and the second electronic device includes a processor and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, and the computer program code includes computer instructions. The processor calls the computer instructions to execute a vehicle control method provided in any possible implementation of the third aspect above.
[0078] In a fifth aspect, the present application provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed on a first electronic device, the first electronic device executes a vehicle control method provided in any possible implementation of the second aspect.
[0079] In a sixth aspect, the present application provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed on a second electronic device, the second electronic device executes a vehicle control method provided in any possible implementation of the third aspect.
[0080] In a seventh aspect, the present application provides a computer program product, which, when running on a first electronic device, enables the first electronic device to execute a vehicle control method provided in any possible implementation of the second aspect above.
[0081] In an eighth aspect, the present application provides a computer program product, which, when running on a second electronic device, enables the second electronic device to execute a vehicle control method provided in any possible implementation of the third aspect above.
[0082] For the beneficial effects of the second to eighth aspects, reference may be made to the description of the beneficial effects in the first aspect, and this application will not go into details here. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] FIG1 exemplarily shows a structural diagram of a communication system 10;
[0084] FIG2 exemplarily shows a schematic structural diagram of another communication system 20;
[0085] FIG3 exemplarily shows a structural diagram of an electronic device 200 provided in an embodiment of the present application;
[0086] FIG4 exemplarily shows a software structure block diagram of the electronic device 200;
[0087] FIG5 shows a schematic structural diagram of a vehicle 100;
[0088] FIG6 shows a schematic diagram of the software structure of a vehicle 100;
[0089] 7A-7L are schematic diagrams showing a user applying for a digital car key for a vehicle 100 in a first application;
[0090] 7M-7P are schematic diagrams showing another example of a user applying for a digital car key for a vehicle 100 within a first application;
[0091] 7Q-7T show another schematic diagram of a user applying for a digital car key for a vehicle 100 in a first application;
[0092] 7U-7W are schematic diagrams showing another example of a user applying for a digital car key for a vehicle 100 within a first application;
[0093] 8A-8E are schematic diagrams showing an electronic device 300 controlling a vehicle via the electronic device 200;
[0094] FIG9A shows a flow chart of a method in which the electronic device 300 controls the vehicle 100 via the electronic device 200;
[0095] FIG9B shows a QR code image 9001 displayed by the electronic device 300 ;
[0096] 10A-10J are schematic diagrams showing an electronic device 300 controlling a vehicle via an electronic device 200;
[0097] FIG11 shows a schematic diagram of another electronic device 300 controlling a vehicle 100 via the electronic device 200;
[0098] 12A-12B show a schematic diagram of an electronic device 300 controlling a vehicle 100 via a Bluetooth connection;
[0099] FIG13 is a flow chart showing a method for the electronic device 300 to establish a Bluetooth connection with the vehicle 100 and to control the vehicle 100 . DETAILED DESCRIPTION
[0100] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0101] References to "one embodiment" or "some embodiments" etc. described in this specification mean that the specific features, structures or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0102] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0103] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application (APP) or an operating system (OS) and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0104] The following describes the communication system provided by the embodiments of the present application.
[0105] FIG1 exemplarily shows a structural diagram of a communication system 10 .
[0106] As shown in FIG. 1 , a communication system 10 may include a vehicle 100 , an electronic device 200 , and an electronic device 300 .
[0107] Among them, a first application is installed on the electronic device 200 and the electronic device 300. The user can apply for and save the digital car key of the vehicle 100 through the first application, and operate on the first application to control the vehicle based on the digital car key stored in the electronic device, such as controlling the vehicle to unlock, open / close windows, open / close doors, turn on / off the air conditioner, adjust seats, play music, etc.
[0108] The electronic devices 200 and 300 may be mobile phones, tablet computers, in-vehicle computers, wearable devices (such as smart watches, smart bracelets, and smart glasses), ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not limit the specific types of the electronic devices 200 and 300.
[0109] In some embodiments, the electronic device 200 may be a watch, the electronic device 300 may be a mobile phone, and the electronic device 200 and the electronic device 300 may be multiple devices of the same user.
[0110] In other embodiments, the electronic device 200 and the electronic device 300 may both be mobile phones, and the electronic device 200 and the electronic device 300 may be devices of different users.
[0111] After electronic device 200 and electronic device 300 establish a trusted relationship, electronic device 300 can send control instructions to vehicle 100 through electronic device 200. Specifically, electronic device 200 and vehicle 100 establish a Bluetooth connection, and electronic device 300 and electronic device 200 establish a communication connection. This application does not limit the order of the steps for establishing the Bluetooth connection between electronic device 200 and vehicle 100, nor the order of the steps for establishing the communication connection between electronic device 300 and electronic device 200. A user can operate within a first application on electronic device 300 to control vehicle 100 using the digital car key. Specifically, in response to user operation, if electronic device 200 and electronic device 300 are trusted devices and both electronic device 200 and electronic device 300 have applied for the digital car key of vehicle 100, electronic device 300 can send a first control instruction to electronic device 200, which then transmits the first control instruction to vehicle 100 via the Bluetooth connection between electronic device 200 and vehicle 100. Vehicle 100 receives and responds to the first control instruction, executing the first control instruction.
[0112] The communication system 10 is not limited to the vehicle 100 , the electronic device 200 , and the electronic device 300 shown in FIG. 1 , and may include more or fewer devices.
[0113] FIG2 exemplarily shows a structural diagram of another communication system 20 .
[0114] As shown in FIG. 2 , the communication system 20 may include a vehicle 100 , an electronic device 200 , and an electronic device 300 .
[0115] Among them, the first application can also be installed on the electronic device 200 and the electronic device 300. The user can apply for and save the digital car key of the vehicle 100 through the first application, and operate on the first application to control the vehicle based on the digital car key stored in the electronic device, such as controlling the vehicle to unlock, open / close windows, open / close doors, turn on / off the air conditioner, adjust seats, play music, etc.
[0116] Exemplarily, both the electronic device 200 and the electronic device 300 may be mobile phones, and the electronic device 200 and the electronic device 300 may be devices of different users.
[0117] Electronic device 200 establishes a Bluetooth connection with vehicle 100. After vehicle 100 and electronic device 200 establish a Bluetooth connection, vehicle 100 continues to periodically / irregularly send Bluetooth broadcasts. Other electronic devices near vehicle 100 can receive the Bluetooth broadcasts sent by vehicle 100. For example, electronic device 300 receives and responds to the Bluetooth broadcast sent by vehicle 100 and sends a Bluetooth connection establishment request to vehicle 100.
[0118] In response to the Bluetooth connection establishment request, the vehicle 100 sends a Bluetooth disconnection request to the electronic device 200. The electronic device 200 receives the request and, in response to the user operation, disconnects the Bluetooth connection with the vehicle 100. After the vehicle 100 disconnects the Bluetooth connection with the electronic device 200, the vehicle 100 can establish a Bluetooth connection with the electronic device 300.
[0119] After establishing a Bluetooth connection between vehicle 100 and electronic device 300, the user can operate within the first application on electronic device 300 to issue a first control command to vehicle 100. If electronic device 300 has applied for the digital key for vehicle 100, electronic device 300 can send the first control command to vehicle 100 via the Bluetooth connection between electronic device 300 and vehicle 100. Vehicle 100 receives and responds to the first control command, executing the first control command.
[0120] The communication system 10 is not limited to the vehicle 100 , the electronic device 200 , and the electronic device 300 shown in FIG. 2 , and may further include more or fewer devices.
[0121] The following takes the electronic device 200 as an example to introduce the structure of the electronic device in the communication system shown in FIG. 1 or FIG. 2 .
[0122] FIG3 exemplarily shows a structural diagram of an electronic device 200 provided in an embodiment of the present application.
[0123] As shown in Figure 3, the electronic device 200 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0124] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0125] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0126] The controller may be the nerve center and command center of the electronic device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0127] Processor 110 may also include a memory for storing instructions and data. In some examples, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces processor 110 latency, and thus improves system efficiency.
[0128] USB port 130 is an interface that complies with USB standards and may be a Mini USB port, a Micro USB port, a USB Type-C port, or the like. USB port 130 can be used to connect a charger to charge electronic device 200, transfer data between electronic device 200 and peripheral devices, or connect headphones to play audio.
[0129] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While charging the battery 142, the charging management module 140 can also power the electronic device through the power management module 141.
[0130] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160.
[0131] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0132] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0133] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for the electronic device 200. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low-noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via the antenna 1.
[0134] The wireless communication module 160 can provide wireless communication solutions 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., which are applied to the electronic device 200. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0135] Electronic device 200 implements display functions through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
[0136] The display screen 194 is used to display images, videos, etc. In some embodiments, the electronic device 200 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
[0137] The electronic device 200 can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0138] The ISP is used to process data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then transmitted to the ISP for processing and converted into an image visible to the naked eye.
[0139] The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 200 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0140] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0141] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 200, such as image recognition, face recognition, speech recognition, and text comprehension.
[0142] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0143] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0144] The electronic device 200 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0145] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some examples, the audio module 170 can be set in the processor 110, or some functional modules of the audio module 170 can be set in the processor 110. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.
[0146] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0147] Buttons 190 include a power button, a volume button, etc. Motor 191 can generate vibration prompts. Indicator 192 can be an indicator light that can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0148] SIM card interface 195 is used to connect a SIM card. A SIM card can be connected to and disconnected from electronic device 200 by inserting or removing it from SIM card interface 195. Electronic device 200 may support one or N SIM card interfaces, where N is a positive integer greater than 1. Electronic device 200 interacts with the network through the SIM card to implement functions such as calls and data communications. In some examples, electronic device 200 uses an eSIM, or embedded SIM card. The eSIM card can be embedded in electronic device 200 and cannot be separated from it.
[0149] The electronic device 200 may be equipped with Hongmeng system ( OS) or other operating systems, such as mobile phones, tablet computers, laptop computers, smart watches, smart bracelets, etc. The embodiment of the present application does not limit the specific type of the electronic device 200.
[0150] The software system of the electronic device 200 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 200 is exemplified.
[0151] FIG. 4 exemplarily shows a software structure block diagram of the electronic device 200 .
[0152] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, The system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime (Android Runtime) and system library, and kernel layer.
[0153] The application layer can include a series of application packages.
[0154] As shown in FIG4 , the application package may include applications such as a camera, calendar, first application, second application, short messaging, gallery, call, and navigation. The first application may be used to provide functionality for applying for a digital key for vehicle 100 and for controlling vehicle 100 based on the functionality of the digital key. The second application may be a vehicle owner application, which may be an application for vehicle management. Vehicles manufactured by different manufacturers may have different corresponding vehicle owner applications. The second application may also be used to provide functionality for an electronic device to apply for a digital key for vehicle 100 and for controlling vehicle 100 based on the functionality of the digital key.
[0155] The application framework layer provides APIs and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.
[0156] As shown in FIG4 , the application framework layer may include a communication module and a digital car key management module.
[0157] The communication module can be used for the electronic device 200 to communicate with other devices. For example, the electronic device 200 can communicate with the electronic device 200 and the vehicle 100 through the communication module. For example, the communication module can be a Bluetooth communication module.
[0158] The digital car key management module can be used to store, load, and use the digital car key of the vehicle 100. For example, the digital car key management module can store the digital car key of the vehicle 100 in a security chip to prevent the digital car key of the vehicle 100 from being leaked.
[0159] Android Runtime includes core libraries and a virtual machine. Android Runtime is responsible for scheduling and management of the Android system.
[0160] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0161] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0162] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0163] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0164] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0165] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0166] A 2D graphics engine is a drawing engine for 2D drawings.
[0167] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0168] FIG5 shows a schematic structural diagram of a vehicle 100 .
[0169] As shown in FIG5 , a vehicle 100 includes a controller area network (CAN) bus 11, multiple electronic control units (ECUs), an engine 13, a telematics box (T-box) 14, a transmission 15, a driving recorder 16, an anti-lock brake system (ABS) 17, a sensor system 18, a camera system 19, a microphone 20, and the like.
[0170] The CAN bus 11 is a serial communication network that supports distributed control or real-time control and is used to connect the various components of the vehicle 100. Any component on the CAN bus 11 can monitor all data transmitted on the CAN bus 11. Frames transmitted by the CAN bus 11 may include data frames, remote frames, error frames, and overload frames, with different frames transmitting different types of data. In the embodiments of the present application, the CAN bus 11 can be used to transmit data involved in a vehicle safety communication method between various components. The specific implementation of this method can be found in the detailed description of the method embodiment below.
[0171] The various components of the vehicle 100 may be connected and communicated via other methods, not limited to the CAN bus 11. In other embodiments, the various components of the vehicle 100 may also communicate via other methods. For example, the various components may communicate via an in-vehicle Ethernet (Ethernet), a local interconnect network (LIN) bus, FlexRay, or a common in-vehicle media-oriented system (MOST) bus, etc., although this is not a limitation in the present embodiment. The following embodiments are described using the assumption that the various components communicate via the CAN bus 11.
[0172] The ECU is the processor or brain of vehicle 100, instructing components to perform actions based on instructions received from the CAN bus 11 or user input. The ECU may consist of a security chip, a microprocessor (MCU), random access memory (RAM), read-only memory (ROM), input / output (I / O) interfaces, an analog / digital converter (A / D converter), and large-scale integrated circuits for input, output, shaping, and driver functions.
[0173] There are many types of ECUs, and different types of ECUs can be used to achieve different functions.
[0174] The multiple ECUs in the vehicle 100 may include, for example, an engine ECU 121 , a telematics box (T-box) ECU 122 , a transmission ECU 123 , a driving recorder ECU 124 , an anti-lock brake system (ABS) ECU 125 , and the like.
[0175] The engine ECU 121 is used to manage the engine and coordinate its various functions, such as starting and shutting down the engine. The engine is a device that provides power to the vehicle 100. An engine is a machine that converts a certain form of energy into mechanical energy. The vehicle 100 can be used to convert the chemical energy of liquid or gas combustion, or electrical energy into mechanical energy and output power externally. The engine components can include two major mechanisms: the crankshaft and the valve mechanism, as well as five major systems: cooling, lubrication, ignition, energy supply, and starting system. The main components of the engine include the cylinder block, cylinder head, piston, piston pin, connecting rod, crankshaft, flywheel, etc.
[0176] The T-box ECU 122 is used to manage the T-box 14 .
[0177] T-box 14 is mainly responsible for communicating with the Internet, providing a remote communication interface for vehicle 100, and providing services including navigation, entertainment, driving data collection, driving route recording, vehicle fault monitoring, vehicle remote query and control (such as unlocking and closing, air conditioning control, window control, engine torque limit, engine start and stop, seat adjustment, query of battery power, fuel level, door status, etc.), driving behavior analysis, wireless hotspot sharing, roadside assistance, abnormal reminders, etc.
[0178] The T-box 14 can be used to communicate with a telematics service provider (TSP) and a user (e.g., driver)-side electronic device (e.g., electronic device 200) to display and control the vehicle status on the electronic device 200. When the user sends a control command through the vehicle management application on the electronic device 200, the TSP will issue a request instruction to the T-box 14. After receiving the control command, the T-box 14 sends a control message through the CAN bus to control the vehicle 100, and finally feeds back the operation results to the vehicle management application on the user-side electronic device 200. In other words, the data read by the T-box 14 through the CAN bus 11, such as vehicle condition reports, driving reports, fuel consumption statistics, violation inquiries, location, driving behavior, etc., can be transmitted to the TSP backend system via the network, and then forwarded by the TSP backend system to the user-side electronic device 200 for the user to view.
[0179] The T-box 14 may specifically include a communication module and a display screen.
[0180] Among them, the communication module can be used to provide wireless communication functions, supporting the vehicle 100 to communicate with other devices through 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 technology (IR), ultra-wideband (UWB) and other wireless communication technologies. The communication module can also be used to provide mobile communication functions, supporting the vehicle 100 to communicate with other devices through communication technologies such as global system for mobile communications (GSM), universal mobile telecommunications system (UMTS), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), 5G and the future 6G.
[0181] The communication module can establish connections and communicate with other devices such as servers and user-side electronic devices through cellular V2X (vehicle to everything) communication technology (C-V2X) based on cellular networks. C-V2X can include, for example, long-term evolution (LTE)-based V2X (LTE-V2X) and 5G-V2X.
[0182] In the embodiment of the present application, the communication module may be used to negotiate a key with the electronic device 200, or to notify the electronic device 200 of a key determined by the vehicle 100, or to receive a key determined by the electronic device 200. The key negotiation process between the communication module and the electronic device 200 may be described in detail in the subsequent method embodiments.
[0183] In the embodiment of the present application, the communication module is also used to perform key-based communication with the electronic device 200. Specifically, the communication module can be used to send data encrypted using the key to the electronic device 200, and can also receive data encrypted using the key sent by the electronic device 200. The communication process between the communication module and the electronic device 200 can be referred to the detailed description of the subsequent method embodiments.
[0184] The display screen is used to provide a visual interface for the driver. The vehicle 100 may include one or more display screens, for example, it may include an on-board display screen arranged in front of the driver's seat, a display screen arranged above the seat for displaying the surrounding situation, and a head-up digital display (HUD) that projects information onto the windshield, etc. The display screen for displaying the user interface in the vehicle 100 provided in the subsequent embodiments may be an on-board display screen arranged next to the seat, a display screen arranged above the seat, a HUD, etc., which are not limited here. The user interface displayed on the display screen in the vehicle 100 can be specifically described in detail in the subsequent embodiments and will not be described here.
[0185] T-box 14 may also be referred to as a vehicle system, a telematics processor, a vehicle gateway, etc., which is not limited in the embodiments of the present application.
[0186] The transmission ECU 123 is used to manage the transmission.
[0187] The transmission 15 is a mechanism used to change the engine's speed and torque. It can change the output-to-input ratio in a fixed or step-by-step manner. Transmission 15 components may include a transmission mechanism, an operating mechanism, and a power take-off mechanism. The transmission mechanism primarily changes the magnitude and direction of torque and speed; the operating mechanism primarily controls the transmission mechanism to achieve gear shifting, thereby changing the transmission ratio and achieving speed and torque variations.
[0188] The drive recorder ECU 124 is used to manage the drive recorder 16 .
[0189] The components of the driving recorder 16 may include a host computer, a vehicle speed sensor, and data analysis software. The driving recorder 16 is a device that records images and sounds of a vehicle while it is in motion, including relevant information such as driving time, speed, and location. In this embodiment of the present application, while the vehicle is in motion, the vehicle speed sensor collects wheel speed information and transmits it to the driving recorder 16 via the CAN bus.
[0190] The ABS ECU 125 is used to manage the ABS 17 .
[0191] ABS17 automatically controls the braking force during vehicle braking to prevent the wheels from locking and maintain a rolling and sliding state, thereby ensuring maximum adhesion between the wheels and the ground. During braking, if the electronic control unit determines that a wheel is approaching locking based on the wheel speed signal input by the wheel speed sensor, the ABS will enter the anti-lock brake pressure adjustment process.
[0192] Sensor system 18 may include: acceleration sensors, vehicle speed sensors, vibration sensors, gyroscope sensors, radar sensors, signal transmitters, signal receivers, etc. Acceleration sensors and vehicle speed sensors are used to detect the speed of vehicle 100. Vibration sensors can be installed under the seat, on the seat belt, on the seat back, on the operating panel, on the airbag, or in other locations to detect whether vehicle 100 has been hit and the user's location. Gyroscope sensors can be used to determine the motion posture of vehicle 100. Radar sensors may include laser radar, ultrasonic radar, millimeter wave radar, etc. Radar sensors, signal transmitters, and signal receivers can be used to detect the user's location.
[0193] The camera system 19 may include multiple cameras for capturing still images or videos. The cameras in the camera system 19 may be located in front of, behind, on the sides of, or inside the vehicle, to facilitate functions such as assisted driving, driving recording, panoramic surround view, and in-vehicle monitoring.
[0194] The sensor system 18 and the camera system 19 can be used to detect the surrounding environment, so that the vehicle 100 can make corresponding decisions to cope with environmental changes. For example, they can be used to complete the task of paying attention to the surrounding environment during the autonomous driving stage.
[0195] The microphone 20, also known as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or outputting a voice command, the user can speak by putting their mouth close to the microphone 20 to input the sound signal into the microphone 20. The vehicle 100 can be provided with at least one microphone 20. In other embodiments, the vehicle 100 can be provided with two microphones 20, which can not only collect sound signals but also realize noise reduction. In other embodiments, the vehicle 100 can also be provided with three, four or more microphones 20 to form a microphone array to collect sound signals, reduce noise, identify the sound source, realize directional recording functions, etc.
[0196] In addition, the vehicle 100 may also include multiple interfaces, such as a USB interface, an RS-232 interface, an RS485 interface, etc., which can be connected to an external camera, a microphone, headphones, and an electronic device 200 on the user side.
[0197] It should be understood that the illustrated structures of the embodiments of this application do not constitute specific limitations on the vehicle system. Vehicle 100 may include more or fewer components than shown, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0198] FIG6 shows a schematic diagram of the software structure of a vehicle 100 .
[0199] As shown in FIG6 , the vehicle 100 may include but is not limited to: a communication module, a control module, an authentication module, and a digital vehicle key management module.
[0200] The communication module can be used for the vehicle 100 to communicate with other devices. For example, the vehicle 100 can communicate with the electronic device 300 and the electronic device 200 through the communication module. For example, the communication module can be a Bluetooth communication module, and the vehicle 100 can establish Bluetooth connections with the electronic device 200 and the electronic device 300, and communicate with the electronic device 200 and the electronic device 300 respectively based on the Bluetooth connections.
[0201] The control module can be used to control the vehicle 100. For example, it can control the vehicle 100 to open / close the locks, open / close the trunk, open / close the windows, start / stop the engine, etc.
[0202] The authentication module can be used to implement security verification functions between the vehicle 100 and other devices, including key management, authentication control and other functions.
[0203] The digital car key management module can be used to store, load, and use the digital car key of the vehicle 100. For example, the digital car key management module can store the digital car key of the vehicle 100 in the security chip of the vehicle 100 to prevent the digital car key of the vehicle 100 stored in the vehicle 100 from being leaked.
[0204] Next, the electronic device applying for the digital car key of the vehicle 100 and the electronic device controlling the vehicle 100 based on the digital car key of the vehicle 100 will be described in detail.
[0205] First, it is introduced how the electronic device applies for the digital car key of the vehicle 100.
[0206] The user can apply for the digital car key of the vehicle 100 in the first application, the user can also apply for the digital car key of the vehicle 100 in the second application, or the user can apply for the digital car key of the vehicle 100 on the vehicle.
[0207] The second application establishes a binding relationship with the vehicle 100 , and the vehicle information of the vehicle 100 is stored in the second application.
[0208] 7A-7L are schematic diagrams showing a user applying for a digital car key for a vehicle 100 within a first application.
[0209] In Figures 7A to 7L, the first application needs to obtain the vehicle information of the vehicle 100 from the second application, and then apply for the digital car key of the vehicle 100 based on the vehicle information of the vehicle 100.
[0210] FIG7A shows a main interface 710 of the electronic device 200. The main interface 710 includes multiple application icons, such as a weather application icon, a Honor Store application icon, a smart home application icon, a sports and health application icon, a memo application icon, a calendar application icon, a second application icon, a first application icon, a camera application icon, a contact application icon, a phone application icon, and a message application icon, etc. The main interface 710 also displays a battery indicator, a weather indicator, a date indicator, a network signal indicator, a page indicator, etc.
[0211] In some embodiments, the second application may be referred to as a vehicle owner application.
[0212] As shown in Figure 7A, electronic device 200 may receive a user input operation (e.g., a single click) on the icon of the first application. In response to the user input operation, electronic device 200 may display user interface 720 shown in Figure 7B. User interface 720 is the main interface of the first application.
[0213] As shown in FIG7B , the user interface 720 displays multiple options, such as payment options, ride options, door opening options, card wallet options, key options, transportation options, discount gas options, my bill options, life information options, etc. Different options may correspond to different functional features.
[0214] For example, as shown in FIG7B , the electronic device 200 may receive a user input operation (eg, a single click) for a key option in the user interface 720 . In response to the user input operation, the electronic device 200 may display the user interface 730 shown in FIG7C .
[0215] As shown in Figure 7C, user interface 730 displays multiple key options and a "My Keys" option. The multiple key options may include, for example, an access card option, a car key option, a door lock key option, a luggage key option, and so on. Users can set digital keys for different objects in user interface 730. For example, a user can use the access card option to set a digital key for a door. A user can use the car key option to set a digital key for a vehicle. A user can use the door lock key option to set a digital key for a door lock. A user can use the luggage key option to set a digital key for a luggage. The user can use the "My Keys" option to view the digital keys for different objects that the user has set.
[0216] For example, as shown in FIG7C , the electronic device 200 may receive a user input operation (eg, a single click) for the My Keys option in the user interface 730 . In response to the user input operation, the electronic device 200 may display the user interface 740 shown in FIG7D .
[0217] As shown in FIG7D , the user has not set a digital key yet. The user can add digital keys for different objects through the add option in the user interface 740 .
[0218] For example, as shown in FIG7D , the electronic device 200 may receive a user input operation (e.g., a single click) for adding an option in the user interface 740. In response to the user input operation, the electronic device 200 may display the user interface 750 shown in FIG7E . The user interface 750 includes digital key setting options for multiple objects, such as digital key setting options for doors, digital key setting options for vehicles, digital key setting options for smart door locks, and digital key setting options for luggage.
[0219] As shown in FIG7E , electronic device 200 may receive a user input operation (e.g., a single click) for a digital key setting option for a car in user interface 750. In response to the user input operation, electronic device 200 may display user interface 760 shown in FIG7F . User interface 760 shows digital key setting options for cars of different brands, such as AA, BB, CC, DD, EE, FF, and GG.
[0220] As shown in FIG7F , the electronic device 200 may receive a user input operation (e.g., a single click) for the digital key setting option for the AA vehicle in the user interface 760. In response to the user input operation, the electronic device 200 may display the user interface 770 shown in FIG7G . The user interface 770 may include a create digital car key option, through which the user may create a digital car key for the vehicle 100.
[0221] Before the first application in the electronic device 200 obtains the digital key of the vehicle 100, it needs to obtain the vehicle information of the vehicle 100 and obtain the digital key of the vehicle 100 based on the vehicle information of the vehicle 100. The vehicle information of the vehicle 100 includes, but is not limited to, one or more of the following: vehicle identification number (or vehicle ID), vehicle model, vehicle license plate number, vehicle manufacturer, vehicle production date, vehicle engine model, etc.
[0222] For example, as shown in FIG7G , the electronic device 200 may receive a user input operation (e.g., a single click) for the option to create a digital car key in the user interface 770. In response to the user input operation, the electronic device 200 may display the user interface 7710 shown in FIG7H . The user interface 7710 displays a prompt message “Loading” to prompt the user that the electronic device 200 is acquiring the digital car key of the vehicle 100.
[0223] In one embodiment, the first application can jump to the interface of the second application. For example, the electronic device 200 can display the user interface 780 shown in Figure 7I, and the user interface 780 can be the main interface of the second application. The user interface 780 can include the driving information of the vehicle 100. The name of the vehicle 100 can be "AA M7". For example, the driving information of the vehicle 100 can include a total mileage of 1100km, the remaining power of the vehicle 100 can still travel 200km, and the remaining fuel of the vehicle 100 can still travel 900km. The user interface 780 also shows multiple options, such as the option to create an activation code and the option to add a digital car key to the wallet.
[0224] For example, as shown in Figure 7I, the electronic device 200 can receive a user input operation (such as a single click) to add a digital car key to the wallet. In response to the user's input operation, the second application can send the vehicle information of the vehicle 100 to the first application, and the first application in the electronic device 200 can obtain the vehicle information of the vehicle 100.
[0225] Optionally, in response to the user's input operation to add the digital car key to the wallet, the electronic device 200 may display the prompt message "Applying for the digital car key for the vehicle M7, please wait" as shown in FIG7J to remind the user that the digital car key for the vehicle 100 is being applied for. The electronic device 200 may also not display the prompt message shown in FIG7J , and this application is not limited thereto.
[0226] In other embodiments, after the electronic device 200 displays the user interface 780 shown in FIG. 7I , the electronic device 200 may not receive the user's input operation to add the digital car key to the wallet, and the electronic device 200 may obtain the vehicle information of the vehicle 100 from the second application. The electronic device 200 then jumps to the first application and displays the prompt information shown in FIG. 7J , allowing the first application to obtain the vehicle information of the vehicle 100.
[0227] In other embodiments, the first application may not jump to the interface of the second application. The first application may be integrated with a software development kit (SDK) for storing and obtaining vehicle information in the second application, and the first application may obtain the vehicle information of the vehicle 100 stored in the second application through the SDK of the second application.
[0228] After the first application obtains the vehicle information of vehicle 100, electronic device 200 can send the vehicle information of vehicle 100 and the device information of electronic device 200 to the first application server through the first application. The first application server then sends the vehicle information of vehicle 100 to the vehicle server. After receiving the vehicle information of vehicle 100 sent by the first application server, the vehicle server can generate a second digital vehicle key for vehicle 100 and bind and store the device information of electronic device 200 with the second digital vehicle key.
[0229] After generating the second digital car key, the vehicle server sends the second digital car key to the first application server, and the first application server then sends the second digital car key to the first application.
[0230] After the first application obtains the second digital car key, the first application can display the user interface 790 shown in Figure 7K. A card 7401 is displayed in the user interface 790, and the vehicle logo "Wenjie M7" is displayed on the card 7401 to prompt the user that the card 7401 is the card corresponding to the second digital car key of the vehicle 100. A plurality of control options are also shown on the card 7401, such as a car lock open / close option, a trunk open / close option, a window open / close option, an engine open / close option, etc. Only some control options of the vehicle 100 are shown on the card 7401. The electronic device 200 can receive a sliding operation (such as a right or left sliding operation) applied by the user on the card 7401 and display other control options that are not displayed. The user interface 790 also shows an identity authentication option and a credibility authentication option. The user can actively establish a trusted relationship with other devices through the credibility authentication option.
[0231] Optionally, after the first application obtains the second digital car key, the first application may send a message to the second application to indicate that the first application has obtained the digital car key of the vehicle 100. In response to the message sent by the first application, the electronic device 200 may display the user interface 7990 shown in Figure 7L within the second application. The user interface 7990 includes a card 7911, which may include a view option and a delete option. The user can view detailed information about the second digital car key, such as the application time and validity period, by using the view option. The user can delete the second digital car key stored on the electronic device 200 by using the delete option.
[0232] 7M-7P show another schematic diagram of a user applying for a digital car key for a vehicle 100 within a first application.
[0233] In FIG7M-FIG7P , the first application does not need to obtain the vehicle information of the vehicle 100 from the second application. However, it needs to obtain the activation code from the second application, which is used by the first application to apply for the digital car key of the vehicle 100.
[0234] For example, as shown in Figure 7M, the electronic device 200 can receive a user input operation (such as a single click) on the application icon of the second application in the user interface 710. In response to the user input operation, the electronic device 200 can display the user interface 780 shown in Figure 7N, and the user interface 780 can be the main interface of the second application.
[0235] As shown in FIG7N , the electronic device 200 may receive a user input operation for the Create Activation Code option in the user interface 780. In response to the user input operation, in one possible implementation, the second application may send a request for an activation code to the vehicle server. After the vehicle server generates the activation code, the vehicle server sends the activation code to the second application, and the second application may obtain the activation code. In other possible implementations, the second application may randomly generate an activation code and then send the activation code to the vehicle server.
[0236] After the second application obtains the activation code, the electronic device 200 may display a window 7701 as shown in FIG7O . Window 7701 displays the activation code "123456." The user may enter the activation code in the first application, allowing the first application to apply for a digital key for the vehicle 100 based on the activation code.
[0237] Referring to the description in the embodiments of Figures 7A-7D, the electronic device 200 receives and responds to the user's input operation (such as a single click) for adding an option in the user interface 740. In response to the user's input operation, the electronic device 200 can display the window 7702 shown in Figure 7P, and the user can enter the activation code generated by the second application in window 7702.
[0238] After the user enters the activation code generated by the second application in window 7702, the electronic device 200 may receive the user's input operation (e.g., a single click) for the Continue option in window 7701. In response to the user's input operation, the first application may send the device information of the electronic device 200 and the activation code entered by the user to the vehicle server. After the vehicle server receives the device information of the electronic device 200 and the activation code entered by the user sent by the first application, if the activation code entered by the user is the same as the activation code of the vehicle 100 generated by the vehicle server or the activation code of the vehicle 100 generated by the second application, the vehicle server may obtain the vehicle information of the vehicle 100 and generate a second digital vehicle key. The vehicle server then sends the second digital vehicle key and the vehicle information of the vehicle 100 to the first application. The first application may save the second digital vehicle key and the vehicle information of the vehicle 100.
[0239] After the first application obtains the second digital car key, the first application may display the user interface 790 shown in FIG7K. Optionally, the electronic device 200 may also display the user interface 7990 shown in FIG7L within the second application. This application will not be repeated here.
[0240] 7Q-7T show another schematic diagram of a user applying for a digital car key for a vehicle 100 within a first application.
[0241] In the embodiment of Figures 7Q-7T , the first application also does not need to obtain vehicle information of vehicle 100 from the second application. The difference between the embodiment of Figures 7Q-7T and the embodiment of Figures 7M-7P is that in the embodiment of Figures 7Q-7T , the first application obtains the activation code from vehicle 100, while in the embodiment of Figures 7M-7P , the first application obtains the activation code from the second application.
[0242] 7Q exemplarily illustrates a user interface 7910 displayed by vehicle 100. User interface 7910 may be provided by a vehicle management application in vehicle 100. User interface 7910 may be displayed by vehicle 100 in response to a user operation on a vehicle management application icon in the main interface, a user operation on a user avatar in the main interface, or other user operation.
[0243] The user interface 7910 displays: a top status bar, a login avatar 402, a login account 403, a control 404 for switching accounts, a control 405 for logging out, a control 406 for starting face recognition, a control 407 for generating a digital car key for the vehicle 100, user local data management information 408, and a bottom task bar 409.
[0244] The top status bar may include: an avatar corresponding to the user account currently logged in to the vehicle 100, a message notifier, a weather indicator, a time indicator, a battery status indicator, a Bluetooth indicator, one or more signal strength indicators of Wi-Fi signals, one or more signal strength indicators of mobile communication signals (also known as cellular signals), and the like.
[0245] The login avatar 402 is the avatar corresponding to the user account currently logged in to the vehicle 100. A prompt message is also displayed on the login avatar 402 in Figure 7Q, indicating that the current login account is the vehicle owner account.
[0246] The user local data management information 408 is used to display the local user data of the vehicle 100, such as historically logged-in account information, etc., and can also be used to provide an entry for the user to delete part or all of the local user data.
[0247] The bottom task bar 409 may include: a control for entering the main interface, a multi-tasking key, a seat adjustment control, an air conditioning temperature adjustment control, a volume adjustment control, and the like.
[0248] Control 407 is used to monitor user operations (such as touch operations, click operations, etc.), and the vehicle 100 can respond to the user operation and display one or more devices for displaying the currently applied digital car keys.
[0249] For example, as shown in FIG7Q , the vehicle 100 may receive a user input operation (e.g., a click) on the control 407. In response to the user input operation, the vehicle 100 may display the window shown in FIG7R . The window shown in FIG7R displays the number and device identification of devices that have applied for the digital car key of the vehicle 100. The window shown in FIG7R also displays a Create Activation Code option. The user can use this Create Activation Code option to have the vehicle 100 generate an activation code.
[0250] As shown in Figure 7R, the vehicle 100 can receive a user input operation (such as a single click) for the option to create an activation code in the window shown in Figure 7R. In response to the user's input operation, in one possible implementation, the vehicle 100 can send a request for an activation code to the vehicle server. After the vehicle server generates the activation code, the vehicle server sends the activation code to the vehicle 100, and the vehicle 100 can obtain the activation code. In other possible implementations, the vehicle 100 can randomly generate an activation code and then send the activation code to the vehicle server. After the vehicle 100 obtains the activation code, the vehicle 100 can display the window shown in Figure 7S. The window shown in Figure 7S shows the activation code 7913, and the activation code 7913 can be "123953". The window shown in Figure 7S also shows a prompt message "Please open the first application on your phone and enter the activation code."
[0251] In some embodiments, to ensure the security of the digital key of vehicle 100, the activation code 7913 displayed in the window shown in FIG7S has a certain time limit and expires after being displayed for a predetermined period of time. After expiration, vehicle 100 can proactively refresh the activation code and display the refreshed activation code on the display screen. Alternatively, vehicle 100 can notify the user that the current activation code has expired and prompt the user to refresh and obtain a new activation code.
[0252] After the vehicle 100 generates the activation code 7913, the vehicle 100 may send the activation code 7913 to the vehicle server.
[0253] Referring to the description in the embodiments of Figures 7A-7D, the electronic device 200 receives and responds to the user's input operation (such as a single click) for adding an option in the user interface 740. In response to the user's input operation, the electronic device 200 can display the window 7702 shown in Figure 7P, and the user can enter the activation code generated by the vehicle 100 in the window 7702.
[0254] After the user enters the activation code generated by the second application in window 7702, the electronic device 200 may receive the user's input operation (e.g., a click) for the Continue option in window 7701. In response to the user's input operation, the first application may send the device information of the electronic device 200 and the activation code entered by the user to the vehicle server. After the vehicle server receives the device information of the electronic device 200 and the activation code entered by the user sent by the first application, if the activation code entered by the user is the same as the activation code of the vehicle 100 generated by the vehicle server or the activation code of the vehicle 100 generated by the vehicle 100, the vehicle server may obtain the vehicle information of the vehicle 100 and generate a second digital vehicle key. The vehicle server then sends the second digital vehicle key and the vehicle information of the vehicle 100 to the first application. The first application may save the second digital vehicle key and the vehicle information of the vehicle 100.
[0255] After the first application obtains the second digital car key, the first application may display the user interface 790 shown in FIG7K. Optionally, the electronic device 200 may also display the user interface 7990 shown in FIG7L within the second application. This application will not be repeated here.
[0256] Optionally, after the first application in the electronic device 200 obtains the second digital car key, the vehicle server may send a feedback message to the vehicle 100 to inform the vehicle 100 that the first application has obtained the second digital car key. In response to the feedback message sent by the vehicle server, the vehicle 100 may display the prompt message 7914 shown in Figure 7T. The prompt message 7914 may include "Lisa has applied for the digital car key for car AA M7" to prompt the user that the electronic device 200 has successfully applied for the digital car key for the vehicle 100. The electronic device 200 may also not display the prompt message 7914 shown in Figure 7T, and this application does not limit this.
[0257] Alternatively, in other implementations, the user may not enter the activation code 7913 in the first application. Instead, the user may enable the near field communication (NFC) function of the electronic device 200 and place the electronic device 200 close to the NFC sensing area of the vehicle 100. The vehicle 100 may then send the activation code 7913 to the first application in the electronic device 200 via NFC. The vehicle 100 may also send the activation code 7913 to the electronic device 200 via other methods, which are not limited in this application.
[0258] 7U-7W show another schematic diagram of a user applying for a digital car key for a vehicle 100 within a first application.
[0259] In the embodiments of Figures 7U-7W , the first application does not need to obtain the vehicle information of vehicle 100 from the second application, nor does the first application require the user to enter an activation code. The first application can prompt the user to enter their identity information, which is bound to the vehicle information. The first application can then apply for a digital key for vehicle 100 based on the user's identity information entered by the user.
[0260] The user's identity information includes but is not limited to any of the following: mobile phone number, ID number, etc. The embodiment of this application uses the mobile phone number as an example. The user's identity information can also be other information, which is not limited in this application.
[0261] For example, referring to the description in the embodiments of Figures 7A-7D, the electronic device 200 receives and responds to the user's input operation (such as a single click) for adding an option in the user interface 740. In response to the user's input operation, the electronic device 200 can display the window 7904 shown in Figure 7U, and the user can enter the user's mobile phone number in window 7702.
[0262] As shown in Figure 7V, after the user enters the user's mobile phone number "12345678" in window 7702, the electronic device 200 can receive the user's input operation for the continue option in window 7701. In response to the user's input operation, the first application can send the user's mobile phone number to the vehicle server.
[0263] Optionally, after the electronic device 200 receives the user's input operation for the continue option in window 7701, the electronic device 200 may prompt the user to enter the SMS verification code corresponding to the mobile phone number. If the SMS verification code is entered correctly, the first application then sends the user's mobile phone number to the vehicle server.
[0264] Optionally, after the electronic device 200 receives the user's input operation for the Continue option in window 7701, the electronic device 200 can verify the user's identity, including but not limited to: face recognition, fingerprint recognition, and voiceprint recognition. After the identity verification is passed, the first application then sends the user's mobile phone number to the vehicle server.
[0265] After the vehicle server obtains the user's mobile phone number sent by the first application, the vehicle server can determine the vehicle information of one or more vehicles bound to the user's mobile phone number based on the user's mobile phone number.
[0266] When the number of vehicles bound to the user's mobile phone number is one, the vehicle server can obtain the vehicle information of the vehicle (for example, the vehicle information of vehicle 100), the vehicle server generates a second digital car key for vehicle 100, and sends the second digital car key and the vehicle information of vehicle 100 to the first application.
[0267] When there are more than one vehicles bound to the user's mobile phone number, the vehicle server can send the identifications of multiple vehicles to the first application, and the user can select the target vehicle from the multiple vehicles. For example, when the number of vehicles bound to the user's mobile phone number is greater than or equal to 2, the electronic device 200 can display the prompt information 7905 shown in Figure 7W. The prompt information 7905 may include the vehicle identifications of multiple vehicles, such as the vehicle identification of the vehicle "Wenjie M5" and the vehicle identification of the vehicle "Wenjie M7". The user can select a vehicle from multiple vehicles for which a digital car key is currently required. For example, the vehicle identification of vehicle 100 may be "Wenjie M7".
[0268] For example, as shown in FIG7W , the electronic device 200 may receive a user's selection operation for the vehicle identification of "Ask World M7". Subsequently, the electronic device 200 may receive a user's input operation (e.g., a single click) for confirming an option in the prompt information 7905. In response to the user's input operation, the first application may send the vehicle identification of the vehicle 100 to the vehicle server. The vehicle server may obtain the vehicle information of the vehicle 100 based on the vehicle identification of the vehicle 100. The vehicle server may generate a second digital car key for the vehicle 100 and send the second digital car key and the vehicle information of the vehicle 100 to the first application.
[0269] After the first application obtains the second digital car key, the first application may display the user interface 790 shown in FIG7K. Optionally, the electronic device 200 may also display the user interface 7990 shown in FIG7L within the second application. This application will not be repeated here.
[0270] In other embodiments, the user can also operate within the second application to apply for a schematic diagram of the digital car key of the vehicle 100. Referring to the description in the embodiments of Figures 7M-7N, the electronic device 200 can receive the user operation and display the user interface 780 shown in Figure 7N. For example, as shown in Figure 7I, the electronic device 200 can receive the user's input operation (such as a single click) for the option of adding a digital car key to the wallet in the user interface 780. In response to the user's input operation, the second application can obtain the vehicle information of the vehicle 100 and send the vehicle information of the vehicle 100 to the first application. At the same time, the electronic device 200 can jump to display the first application and display the prompt information shown in Figure 7J. After the first application obtains the vehicle information of the vehicle 100 sent by the second application, the second application can apply for the second digital car key of the vehicle 100 based on the vehicle information of the vehicle 100. Specifically, please refer to the description in the embodiments of Figures 7J-7L, and this application will not be repeated here.
[0271] The electronic device 200 is not limited to obtaining the second digital car key of the vehicle 100 in the above manner. The electronic device 200 can also obtain the second digital car key of the vehicle 100 in other manners, which is not limited in this application.
[0272] Optionally, this application uses the example of how the electronic device 200 applies for the digital key of the vehicle 100 to illustrate. The electronic device 300 or other devices can also apply for the digital key of the vehicle 100 in the manner shown in FIG. 7A to FIG. 7U .
[0273] Optionally, for different devices, the digital car keys of the vehicle 100 generated by the vehicle server may be the same or different, and this application does not limit this.
[0274] Optionally, in some embodiments, the electronic device 300 may rely solely on the second application to apply for the digital key of the vehicle 100 in the manner shown in FIG7A to FIG7W . This application does not limit this.
[0275] When electronic device 200 or electronic device 300 obtains the digital key of vehicle 100, electronic device 200 or electronic device 300 can receive the user's operation in the first application and control vehicle 100 based on the digital key of vehicle 100. Electronic device 200 or electronic device 300 can also receive the user's operation in the second application and control vehicle 100 based on the digital key of vehicle 100. The following embodiments of this application are described using the example of a user operating the first application to control vehicle 100 based on the digital key of vehicle 100.
[0276] Next, the vehicle control method provided in this application is described in detail in combination with application scenarios.
[0277] Multiple devices of the same user control the vehicle 100
[0278] In some embodiments, a user may own multiple devices. For example, user A owns both electronic device 200 and electronic device 300. User A's electronic devices 200 and 300 have established a trusted relationship, and a communication connection may also be established between electronic devices 300 and 200. When user A approaches vehicle 100 and needs to control vehicle 100, electronic device 200 first establishes a Bluetooth connection with vehicle 100, and electronic device 300 loses the Bluetooth connection with vehicle 100. Without disconnecting electronic device 200 from vehicle 100, user A can operate electronic device 300 to issue a first control command to vehicle 100. If electronic devices 200 and 300 have established a communication connection, are trusted devices, and both have applied for a digital key for vehicle 100, electronic device 300 can send the first control command to electronic device 200, which then transmits the first control command to vehicle 100 via the Bluetooth connection. Vehicle 100 receives and responds to the first control command, executing it. This allows other devices to send vehicle control commands via the Bluetooth channel between the device and the vehicle without disconnecting the Bluetooth connection between the device and the vehicle.
[0279] Exemplarily, when the electronic device 200 is the mobile phone of user A and the electronic device 300 is the watch of user A, a trusted relationship has been established between user A's mobile phone and user A's watch. When user A approaches the vehicle 100 and needs to control the vehicle 100, user A's mobile phone has established a Bluetooth connection with the vehicle 100, and user A's mobile phone is placed in user A's backpack and is inconvenient to take out. Then at this time, user A can operate on the watch worn on the wrist and send a first control instruction to the vehicle 100. The first control instruction can be sent to the vehicle 100 through the Bluetooth connection channel between user A's mobile phone and the vehicle 100. In this way, the convenience of controlling the vehicle by multiple devices of the same user is greatly improved.
[0280] FIGS. 8A-8E illustrate a schematic diagram of an electronic device 300 controlling a vehicle through an electronic device 200.
[0281] Exemplarily, the electronic device 200 can be a mobile phone, and the electronic device 300 can be a watch.
[0282] A third application is installed on the electronic device 300, and the user can operate on the third application to control the vehicle 100. The third application can be an application that is the same as or similar to the first application or the second application in the electronic device.
[0283] The electronic device 300 can receive an input operation (such as a click) on the application icon of the third application. In response to the user's input operation, the electronic device 300 can display the user interface 810 shown in FIG. 8A.
[0284] When the electronic device 300 also applies for the digital car key of the vehicle 100, a card corresponding to the first digital car key of the vehicle 100 is displayed in the user interface 810. The logo of the vehicle, "AITO M7", is shown on the card to prompt the user that this card is the card corresponding to the digital car key of the vehicle 100. Multiple control options are also shown on the card, such as the car lock open / close option, the trunk open / close option, the window open / close option, the engine open / close option, etc. Only some control options of the vehicle 100 are shown on the card, and the electronic device 200 can receive a sliding operation (such as a right or left sliding operation) on the card 7401 by the user and display other control options that are not shown.
[0285] In some embodiments, the electronic device 300 can obtain the first digital car key of the vehicle 100 in the manner shown in FIGS. 7A-7O.
[0286] In other embodiments, the electronic device 300 establishes a trusted relationship with the electronic device 200. After the electronic device 200 applies for the first digital car key of the vehicle 100 in the manner of Figures 7A-7O, the electronic device 200 can synchronize the first digital car key of the vehicle 100 and save it on the electronic device 300. The electronic device 200 no longer needs to apply for the first digital car key of the vehicle 100 in the manner of Figures 7A-7O, so as to save the operation of the electronic device 300.
[0287] For example, as shown in Figure 8A, the electronic device 300 can receive a user input operation (such as a single click) for the vehicle lock open / close option in the user interface 810. In response to the user's input operation, when the electronic device 300 has not established a Bluetooth connection with the vehicle 100, the electronic device 300 can generate a first control instruction and send the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction to the electronic device 200.
[0288] Optionally, in some embodiments, after the electronic device 300 receives a user input operation for the vehicle lock on / off option in the user interface 810, the electronic device 300 may verify the user's identity and, if the identity verification is successful, perform subsequent operations. This improves the security of the electronic device 300 controlling the vehicle 100 via the digital vehicle key.
[0289] Optionally, before the user operates the third application to control the vehicle 100 via the digital vehicle key, the electronic device 300 may receive a user operation to enable an identity verification function in the third application. After the identity verification function is enabled, the electronic device 300 may verify the user's identity after receiving the user's input operation for the vehicle lock on / off option in the user interface 810. In other embodiments, if the identity verification function is disabled in the third application, the electronic device 300 may not verify the user's identity after receiving the user's input operation for the vehicle lock on / off option in the user interface 810.
[0290] Optionally, the electronic device 300 may also require verification of the user's identity by default, which is not limited in this application.
[0291] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0292] After receiving the vehicle information of vehicle 100, key information of the first digital vehicle key, and the first control instruction from electronic device 300, electronic device 200 can determine whether electronic device 200 has applied for the digital vehicle key of vehicle 100 based on the vehicle information of vehicle 100. For example, electronic device 200 determines that electronic device 200 has applied for the second digital vehicle key of vehicle 100. If the second digital vehicle key and the first digital vehicle key are of the same key type, electronic device 200 can encrypt the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction. Electronic device 200 then transmits the encrypted first control instruction and the device information of electronic device 200 to vehicle 100 via Bluetooth. After receiving the encrypted first control instruction and the device information of electronic device 200, vehicle 100 can obtain the second digital vehicle key based on the device information of electronic device 200, decrypt the encrypted first control instruction based on the second digital vehicle key to obtain the first control instruction, and execute the first control instruction, for example, to unlock vehicle 100. In this way, electronic device 300 controls vehicle 100 through electronic device 200.
[0293] Optionally, in some embodiments, after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control instruction sent by the electronic device 300, the electronic device 200 may also verify the user's identity and, if the identity verification is successful, perform subsequent operations. This improves the security of the electronic device 200 controlling the vehicle 100 via the digital vehicle key.
[0294] Optionally, before the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control command sent by the electronic device 300, the electronic device 200 may receive a user operation to enable the identity verification function. After the identity verification function is enabled, the electronic device 200 may verify the user's identity after receiving the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control command sent by the electronic device 300. In other embodiments, if the identity verification function is disabled, the electronic device 200 may not verify the user's identity after receiving the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control command sent by the electronic device 300.
[0295] Optionally, the electronic device 200 may also require verification of the user's identity by default, which is not limited in this application.
[0296] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0297] Optionally, after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, if the electronic device 200 needs to verify the user's identity, the electronic device 200 and the electronic device 300 have established a trusted relationship, and the electronic device 200 can also verify the user's identity through the electronic device 300.
[0298] After the vehicle 100 executes the first control instruction, the vehicle 100 may send a feedback message to the electronic device 200 via the Bluetooth connection. The electronic device 200 then sends the feedback message to the electronic device 300 to prompt the user A that the user A has successfully controlled the vehicle 100 through the electronic device 300.
[0299] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may display the prompt message 8101 shown in Figure 8B. The prompt message 8101 may include the text "The HUA WEIP60 has been unlocked by "Lisa's HUA WEIP60"". The prompt message 8101 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 200.
[0300] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display the user interface 820 shown in FIG8C . The user interface 820 is similar to the user interface 810 , except that the electronic device 300 changes the display format of the vehicle lock on / off option to prompt the user that the vehicle 100 is currently unlocked.
[0301] In some embodiments, after the electronic device 300 receives a user input operation for the vehicle lock on / off option in the user interface 810, and if a Bluetooth connection is established between the electronic device 300 and the vehicle 100, the electronic device 300 can directly control the vehicle 100 based on the first digital vehicle key obtained by the application. Specifically, the electronic device 300 can encrypt the first control instruction based on the first digital vehicle key to obtain an encrypted second control instruction, and then send the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100 via the Bluetooth connection. After receiving the encrypted second control instruction and the device information of the electronic device 300, the vehicle 100 can obtain the first digital vehicle key based on the device information of the electronic device 300, decrypt the encrypted second control instruction based on the first digital vehicle key to obtain the first control instruction, and execute the first control instruction, for example, to unlock the vehicle 100. In this way, the electronic device 300 can directly control the vehicle 100 using the first digital vehicle key.
[0302] After the vehicle 100 executes the first control instruction, the vehicle 100 may send a feedback message to the electronic device 300 via the Bluetooth connection to prompt the user A that the user A has successfully controlled the vehicle 100 through the electronic device 300 .
[0303] Optionally, after the electronic device 300 receives the feedback message sent by the vehicle 100, the electronic device 300 may display the prompt message 8102 shown in Figure 8D. The prompt message 8102 may include the text "The WATCH GT 3 has been unlocked by Lisa's WATCH GT 3". The prompt message 8102 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 300.
[0304] Optionally, the prompt information shown in FIG8D is different from the prompt information shown in FIG8C , thereby notifying the user which device the electronic device 300 uses to control the vehicle 100. In other embodiments, the prompt information shown in FIG8D and the prompt information shown in FIG8C may also be the same, and this application does not limit this.
[0305] In some embodiments, after the electronic device 300 can receive the user's input operation for the vehicle lock open / close option in the user interface 810, the electronic device 300 has not established a communication connection with the electronic device 200, and the electronic device 300 cannot control the vehicle 100 through the electronic device 200. The electronic device 300 can display the prompt message 8103 shown in Figure 8E, which is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0306] In some embodiments, after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, the electronic device 200 does not establish a Bluetooth connection with the vehicle 100, or after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, the electronic device 300 determines that the electronic device 300 has not applied for the digital car key of the vehicle 100, or after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, the electronic device 200 determines that the digital car key of the vehicle 100 applied for by the electronic device 200 is different from the type of the digital car key of the vehicle 100 applied for by the electronic device 300, the electronic device 200 may send a feedback message to the electronic device 300, which is used to indicate that the vehicle 100 cannot be controlled at present. For example, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display the prompt message 8103 shown in FIG8E. The prompt message 8103 is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0307] FIG9A shows a flow chart of a method in which the electronic device 300 controls the vehicle 100 via the electronic device 200 .
[0308] Optionally, the electronic device 200 may be referred to as a first electronic device, the electronic device 300 may be referred to as a second electronic device, and the vehicle 100 may be referred to as a first vehicle.
[0309] S901: The electronic device 300 and the electronic device 200 establish a trusted communication connection.
[0310] For example, the electronic device 300 may be a watch, and the electronic device 200 may be a mobile phone.
[0311] The electronic device 300 may establish a trusted relationship with the electronic device 200 in the following manners, but not limited to the following.
[0312] Method 1: The electronic device 200 establishes a trusted relationship with the electronic device 300 by scanning a code.
[0313] For example, as shown in FIG9B , the electronic device 300 may display a QR code image 9001 , and the electronic device 200 may scan the QR code image 9001 through a camera to establish a trusted relationship with the electronic device 300 .
[0314] Method 2: The electronic device 200 and the electronic device 300 establish a trusted relationship by logging into the same user account.
[0315] When electronic device 300 and electronic device 200 are multiple devices of the same user, a first user account is logged in on electronic device 200, and the user can also log in to the first account on electronic device 300. There is a trusted relationship between electronic device 200 and electronic device 300 that are logged in with the first user account.
[0316] Method 3: The electronic device 200 and the electronic device 300 log in to different user accounts, and the different user accounts are associated with each other, so there is a trusted relationship between the electronic device 200 and the electronic device 300.
[0317] In the case where electronic device 300 and electronic device 200 are different users or multiple devices of the same user, a first user account is logged into electronic device 200, and a second user account is logged into electronic device 300. The first user account and the second user account are different, but the first user account and the second user account are associated with each other. For example, if electronic device 200 and electronic device 300 are two devices owned by different family members in a household, then a trusted relationship exists between electronic device 200 and electronic device 300.
[0318] The method of determining the trust relationship is not limited to the above method. The electronic device 200 and the electronic device 300 can also establish a trust relationship in other ways, which is not limited in this application.
[0319] The communication connection between the electronic device 300 and the electronic device 200 can be any one of a Bluetooth connection, a network connection or a server connection. The communication connection between the electronic device 300 and the electronic device 200 can also be other methods, which is not limited in this application.
[0320] Optionally, the trust relationship between the electronic device 200 and the electronic device 300 may be authenticated periodically or irregularly. This application does not limit the order of authenticating the trust relationship and establishing the communication relationship between the electronic device 200 and the electronic device 300.
[0321] Optionally, the communication connection between the electronic device 200 and the electronic device 200 can be referred to as a first communication connection. The first communication connection can be any one of a Bluetooth connection, a network connection, or a server connection. The first communication connection can also be other connection modes, which are not limited in this application.
[0322] Exemplarily, when the distance between the location of the electronic device 300 and the location of the electronic device 200 is within a preset distance, a Bluetooth connection, a network connection, or a server connection can be established between the electronic device 300 and the electronic device 200, and the electronic device 300 and the electronic device 200 can communicate via the Bluetooth connection, the network connection, or the server connection. The electronic device 300 and the electronic device 200 also need to determine whether they are trusted devices. In one possible implementation, the electronic device 300 and the electronic device 200 can respectively send the account ID of the user account logged in on their respective devices to the server. The server can determine the relationship between the two user accounts based on the account ID of the user account sent by the electronic device 300 and the electronic device 200. If the account IDs of the two user accounts are the same or correlated with each other, the server can determine that there is a trusted relationship between the electronic device 200 and the electronic device 300. The server can send messages to the electronic device 200 and the electronic device 300 respectively to inform the electronic device 200 and the electronic device 300 that there is a trusted relationship between the two. In other possible implementations, the electronic device 300 may send the account ID of the user account logged in on the electronic device 300 to the electronic device 200, and the electronic device 200 may obtain the account ID of the user account logged in on the electronic device 200. The electronic device 200 may determine the relationship between the two user accounts. If the account IDs of the two user accounts are the same or related to each other, the electronic device 200 may determine that there is a trusted relationship between the electronic device 200 and the electronic device 300. The electronic device 200 may send a message to the electronic device 300 to inform the electronic device 300 that there is a trusted relationship between the two. In other possible implementations, the electronic device 200 may also send the account ID of the user account logged in on the electronic device 200 to the electronic device 300, and the electronic device 300 may obtain the account ID of the user account logged in on the electronic device 300. The electronic device 300 may determine the relationship between the two user accounts. If the account IDs of the two user accounts are the same or related to each other, the electronic device 300 may determine that there is a trusted relationship between the electronic device 200 and the electronic device 300. The electronic device 300 may send a message to the electronic device 200 to inform the electronic device 200 that there is a trusted relationship between the two.
[0323] Exemplarily, when the distance between the location of the electronic device 300 and the location of the electronic device 200 is not within the preset distance, a server connection can be established between the electronic device 300 and the electronic device 200. The electronic device 300 and the electronic device 200 can communicate with each other through the server connection. The electronic device 300 and the electronic device 200 also need to determine whether both are trusted devices. The electronic device 300 and the electronic device 200 can respectively send the account ID of the user account logged in on their respective devices to the server. The server can determine the relationship between the two user accounts based on the account ID of the user account sent by the electronic device 300 and the electronic device 200. If the account IDs of the two user accounts are the same or related to each other, the server can determine that there is a trusted relationship between the electronic device 200 and the electronic device 300. The server can send messages to the electronic device 200 and the electronic device 300 respectively to inform the electronic device 200 and the electronic device 300 that there is a trusted relationship between the two.
[0324] S902 : The electronic device 200 and the vehicle 100 establish a Bluetooth connection.
[0325] Optionally, if the electronic device 200 has previously established a Bluetooth connection with the vehicle 100 , the electronic device 200 may automatically establish a Bluetooth connection with the vehicle 100 when the user approaches the vehicle 100 .
[0326] For example, the communication connection between the electronic device 200 and the vehicle 100 may be referred to as a second communication connection. The second communication connection may include a Bluetooth connection. The second communication connection is not limited to a Bluetooth connection and may also be other connection methods, which are not limited in this application.
[0327] S903 : The electronic device 300 receives a user operation and controls the vehicle 100 based on the first digital vehicle key.
[0328] Optionally, the user can operate within a third application in the electronic device 300 to control the vehicle 100 based on the digital car key of the vehicle 100 applied for by the electronic device 300.
[0329] For example, the user operation may be an input operation of the user for the vehicle lock on / off option in the user interface 810 shown in FIG8A .
[0330] Optionally, the user's input operation for the vehicle lock on / off option in the user interface 810 may also be referred to as a first user operation.
[0331] Optionally, in some embodiments, after the user operates the electronic device 300, the electronic device 300 may verify the user's identity and, if the identity verification is successful, perform subsequent operations to improve the security of the electronic device 300 controlling the vehicle 100 through the digital car key.
[0332] Optionally, before the electronic device 300 receives the user operation, the electronic device 300 may receive the user operation to enable the identity verification function in the third application. After the identity verification function is enabled, the electronic device 300 may verify the user's identity after receiving the user operation. In other embodiments, if the identity verification function in the third application is disabled, the electronic device 300 may not verify the user's identity after receiving the user operation.
[0333] Optionally, the electronic device 300 may also require verification of the user's identity by default, which is not limited in this application.
[0334] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0335] S904 : The electronic device 300 needs to determine whether a communication connection has been established between the electronic device 300 and the electronic device 200 .
[0336] If the electronic device 300 determines that the electronic device 300 has not established a Bluetooth connection with the vehicle 100, the electronic device 300 needs to determine whether the electronic device 300 has established a communication connection with the electronic device 200. If it is determined that the electronic device 300 has established a communication connection with the electronic device 200, the electronic device 300 can control the vehicle 100 through the electronic device 200 that has established a communication connection with the electronic device 300, that is, execute S905-S919.
[0337] When it is determined that the electronic device 300 has not established a communication connection with the electronic device 200 , the electronic device 300 is also unable to control the vehicle 100 through the electronic device 200 that has established a communication connection with the electronic device 300 , and the process ends.
[0338] Optionally, when the electronic device 300 has not established a communication connection with the electronic device 200 and the electronic device 300 is currently unable to send a first control instruction to the vehicle 100 through the electronic device 300, the electronic device 300 may display a prompt message 8103 as shown in FIG8E , and the prompt message 8103 is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0339] S905 : The electronic device 300 sends the vehicle information of the vehicle 100 and the key information of the first digital vehicle key to the electronic device 200 .
[0340] Optionally, in some embodiments, after the electronic device 200 receives the vehicle information of the vehicle 100 and the key information of the first digital vehicle key from the electronic device 300, the electronic device 200 may also verify the user's identity and, if the identity verification is successful, perform subsequent operations. This improves the security of the electronic device 200 controlling the vehicle 100 via the digital vehicle key.
[0341] Optionally, before the electronic device 200 receives the vehicle information of the vehicle 100 and the key information of the first digital vehicle key sent by the electronic device 300, the electronic device 200 may receive a user operation to enable the identity verification function. After the identity verification function is enabled, the electronic device 200 may verify the user's identity after receiving the vehicle information of the vehicle 100 and the key information of the first digital vehicle key sent by the electronic device 300. In other embodiments, if the identity verification function is disabled, the electronic device 200 may not verify the user's identity after receiving the vehicle information of the vehicle 100 and the key information of the first digital vehicle key sent by the electronic device 300.
[0342] Optionally, the electronic device 200 may also require verification of the user's identity by default, which is not limited in this application.
[0343] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0344] When the electronic device 300 determines that the electronic device 300 has established a communication connection with the electronic device 200, the electronic device 300 can control the vehicle 100 through the electronic device 200 that has established a communication connection with the electronic device 300, and the electronic device 300 can send the vehicle information of the vehicle 100 and the key information of the first digital car key to the electronic device 200.
[0345] The vehicle information of the vehicle 100 is used by the electronic device 200 to determine whether the electronic device 200 has applied for a digital vehicle key for the vehicle 100 .
[0346] The key information of the first digital car key is used by the electronic device 200 to determine whether the electronic device 200 and the electronic device 300 have applied for the same type of digital car key. Only when the electronic device 300 has applied for the same type of digital car key for the same car can the electronic device 300 control the vehicle 100 through the electronic device 200.
[0347] Exemplarily, the key information of the first digital car key may include but is not limited to one or more of the following: key type, key identification, etc. For example, when the first digital car key is a Bluetooth car key, the key type of the first digital car key may be a Bluetooth car key.
[0348] The vehicle information of vehicle 100 may include but is not limited to one or more of the following: vehicle identification code (or vehicle identification), vehicle model, vehicle license plate number, vehicle manufacturer, vehicle production date, vehicle engine model, etc.
[0349] S906 : The electronic device 200 obtains key information of the second digital vehicle key based on the vehicle information of the vehicle 100 .
[0350] If the electronic device 200 can obtain the key information of the second digital key based on the vehicle information of the vehicle 100, it means that the electronic device 200 has applied for the digital key of the vehicle 100. That is, the electronic device 300 and the electronic device 200 have applied for the digital key of the same vehicle.
[0351] If the electronic device 200 fails to obtain the digital car key based on the vehicle information of the vehicle 100 , it means that the electronic device 200 has not applied for the digital car key of the vehicle 100 , that is, the electronic device 300 and the electronic device 200 have not applied for the digital car key of the same vehicle.
[0352] S907: The electronic device 200 needs to determine whether the first digital car key and the second digital car key are of the same key type.
[0353] Optionally, the vehicle 100 may provide different types of digital car keys, such as a Bluetooth car key, an NFC car key, an ultra wide band (UWB) car key, etc. The embodiment of the present application is described by taking a Bluetooth car key as an example.
[0354] After receiving the vehicle information of the vehicle 100 and the key information of the first digital vehicle key sent by the electronic device 300 , the electronic device 200 can obtain the key information of the second digital vehicle key based on the vehicle information of the vehicle 100 .
[0355] The key information of the second digital car key may include but is not limited to one or more of the following: key type, key identification, etc. For example, when the second digital car key is a Bluetooth car key, the key type of the second digital car key may be a Bluetooth car key.
[0356] After obtaining the key information of the first digital vehicle key and the key information of the second digital vehicle key, the electronic device 200 needs to determine whether the key type of the first digital vehicle key and the key type of the second digital vehicle key are the same. Only when the key type of the first digital vehicle key and the key type of the second digital vehicle key are the same can the electronic device 300 control the vehicle 100 through the electronic device 200.
[0357] Optionally, the electronic device 200 further needs to determine whether the electronic device 200 has established a Bluetooth connection with the vehicle 100. Only when the electronic device 200 has established a Bluetooth connection with the vehicle 100 can the electronic device 300 control the vehicle 100 through the electronic device 200.
[0358] When the key type of the first digital car key and the key type of the second digital car key are the same, for example, the key type of the first digital car key and the key type of the second digital car key are both Bluetooth car keys, and the electronic device 200 and the vehicle 100 have established a Bluetooth connection, the electronic device 200 can control the vehicle 100 through the electronic device 300.
[0359] When the electronic device 300 determines that the key types of the first digital car key and the second digital car key are different, and / or the electronic device 200 has not established a Bluetooth connection with the vehicle 100, the electronic device 300 is also unable to control the vehicle 100 through the electronic device 200, and S907-S909 are executed.
[0360] When the electronic device 300 determines that the key types of the first digital car key and the second digital car key are the same and the electronic device 200 has established a Bluetooth connection with the vehicle 100, the electronic device 300 can control the vehicle 100 through the electronic device 200 and execute S910-S919.
[0361] It should be noted that S905, S906, and S907 are not limited to being executed after S904. S905, S906, and S907 can be executed periodically or irregularly. For example, before executing S904, S905, S906, and S907 have already been executed, and the electronic device 200 can directly obtain the execution results. In this way, on the one hand, when the electronic device 300 needs to control the vehicle 100 through the electronic device 200, the electronic device 300 does not need to execute S905, S906, and S907 again, and can directly determine whether the vehicle 100 can be controlled by the electronic device 200 based on the results of the periodic execution, which can speed up the speed at which the electronic device 300 controls the vehicle 100 through the electronic device 200. On the other hand, the digital car keys of the vehicles applied for by the electronic device 200 and the electronic device 300 may also change. For example, if a user applies for a new digital car key for a vehicle, S905, S906 and S907 are executed periodically or irregularly, and the execution results can be updated periodically or irregularly.
[0362] Optionally, the electronic device 200 may not execute S907 , and the electronic device 300 may not send the key information of the first digital car key to the electronic device 200 .
[0363] S908 : The electronic device 200 sends a verification failure message to the electronic device 300 .
[0364] S909. In response to the verification failure message, the electronic device 300 prompts that the operation has failed.
[0365] If the electronic device 300 determines that the first digital car key and the second digital car key are of different key types and / or the electronic device 200 has not established a Bluetooth connection with the vehicle 100, the electronic device 200 may send a verification failure message to the electronic device 300. In response to the verification failure message, the electronic device 300 prompts that the operation has failed.
[0366] For example, after receiving the verification failure message sent by the electronic device 200, the electronic device 300 may display a prompt message 8103 shown in FIG8E , where the prompt message 8103 is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0367] S910 , the electronic device 200 sends a verification passed message to the electronic device 300 .
[0368] S911. In response to the verification passed message, the electronic device 300 generates a first control instruction.
[0369] S912 : The electronic device 300 sends the first control instruction to the electronic device 200 .
[0370] When the electronic device 300 determines that the first digital vehicle key and the second digital vehicle key are of the same key type and the electronic device 200 has established a Bluetooth connection with the vehicle 100, the electronic device 200 may send a verification pass message to the electronic device 300. In response to the verification pass message, the electronic device 300 may generate a first control instruction and send the first control instruction to the electronic device 200.
[0371] The first control instruction may include, but is not limited to, one or more of the following: a version number of the first vehicle control instruction, a vehicle control operation type, etc. The vehicle control operation type may include, but is not limited to, any one of the following: unlock, lock, raise window, lower window, turn on air conditioning, turn off air conditioning, play music, pause music, etc.
[0372] Optionally, after the electronic device 200 receives the first control instruction sent by the electronic device 200, the electronic device 200 also needs to verify the legitimacy of the first control instruction. Specifically, the electronic device 200 can obtain the fourth vehicle control instruction version number in the electronic device 200 based on the vehicle control operation type in the first control instruction. The fourth vehicle control instruction has the same vehicle control operation type as the first vehicle control instruction. When the fourth vehicle control instruction version number is the same as the first vehicle control instruction version number, the first control instruction is legal, and the electronic device 200 can execute S913. If the fourth vehicle control instruction version number is different from the first vehicle control instruction version number, the first control instruction is illegal, the electronic device 200 cannot execute S913, and the electronic device 200 can send a feedback message to the electronic device 300 to inform the electronic device 300 that the vehicle 100 cannot be controlled by the electronic device 200 at present. Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may display a prompt message 8103 as shown in FIG8E , where the prompt message 8103 is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0373] Optionally, in addition to sending the first control instruction to the electronic device 200, the electronic device 300 may also send the vehicle information of the vehicle 100 and the key information of the first digital key to the electronic device 200. In this way, in addition to verifying the legitimacy of the first control instruction, the electronic device 200 also needs to verify whether the vehicle information of the vehicle 100 and the key information of the first digital key sent along with the first control instruction are consistent with the vehicle information of the vehicle 100 and the key information of the first digital key sent by the electronic device 300 in S905. If they are consistent, the electronic device 300 can then determine whether the first control instruction is legitimate.
[0374] S913: The electronic device 200 encrypts the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction.
[0375] Optionally, before executing S913, the electronic device 200 may determine whether the first control command complies with the digital car key vehicle connection standard. It is understood that the digital car key vehicle connection standard specifies the formats of different types of control commands. For example, the format of the unlocking control command is different from the format of the window opening control command, so that the vehicle 100 can correctly identify different types of control commands.
[0376] When it is determined that the format of the first control instruction meets the requirements of the digital car key vehicle connection standard, the electronic device 200 may execute S913.
[0377] If it is determined that the format of the first control instruction does not meet the requirements of the digital car key vehicle connection standard, the electronic device 200 needs to generate a third control instruction based on the first control instruction, and the format of the third control instruction meets the requirements of the digital car key vehicle connection standard. Specifically, after the electronic device 300 obtains the first control instruction, the electronic device 300 can obtain the first vehicle control instruction version number and vehicle control operation type from the first control instruction. The electronic device 300 can obtain the third control instruction based on the first vehicle control instruction version number, vehicle control operation type, and the digital car key vehicle connection standard.
[0378] Optionally, the electronic device 200 may not perform the judgment step. After obtaining the first control instruction, the electronic device 200 may directly obtain the first vehicle control instruction version number and vehicle control operation type from the first control instruction, and then obtain the third control instruction based on the first vehicle control instruction version number, vehicle control operation type and digital car key vehicle connection specification standard.
[0379] The specific implementation of the electronic device 200 sending the third control instruction to the vehicle 100 is similar to the specific implementation of the electronic device 200 sending the first control instruction to the vehicle 100, and will not be repeated in this application.
[0380] S914 : The electronic device 200 sends the encrypted first control instruction and the device information of the electronic device 200 to the vehicle 100 via the first Bluetooth connection.
[0381] After the electronic device 200 confirms that the first control instruction is legitimate, the electronic device 200 may encrypt the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction, and transmit the encrypted first control instruction and the device information of the electronic device 200 to the vehicle 100 via a Bluetooth connection.
[0382] The device information of the electronic device 200 is used by the vehicle 100 to obtain the second digital vehicle key.
[0383] S915 : The vehicle 100 obtains the second digital vehicle key based on the device information of the electronic device 200 .
[0384] S916 : The vehicle 100 decrypts the encrypted first control instruction based on the second digital vehicle key to obtain the first control instruction.
[0385] Optionally, steps S913 to S916 may not be executed, and the electronic device 200 may only send the first control instruction to the first vehicle.
[0386] S917 : The vehicle 100 executes the first control instruction.
[0387] S918 , the vehicle 100 sends the execution result to the electronic device 200 .
[0388] S919 , the electronic device 200 sends the execution result to the electronic device 300 .
[0389] Optionally, the vehicle 100 stores the correspondence between device information of one or more devices and the digital car key.
[0390] Table 1
[0391] Table 1 shows a correspondence between device information stored in a vehicle 100 and a digital vehicle key. For example, the vehicle 100 stores device information for an electronic device 200 and a second digital vehicle key. Based on the device information of the electronic device 200, the vehicle 100 can obtain the second digital vehicle key and use the second digital vehicle key to control the vehicle 100.
[0392] The vehicle 100 also stores a correspondence between the device information of the electronic device 300 and the first digital car key. The vehicle 100 can obtain the first digital car key based on the device information of the electronic device 300, and the electronic device 300 can control the vehicle 100 through the first digital car key.
[0393] The vehicle 100 may also store the correspondence between device information of other devices and the digital vehicle key.
[0394] After the vehicle 100 receives the encrypted second control instruction and the device information of the electronic device 300 sent by the electronic device 300 , the vehicle 100 can obtain the first digital vehicle key based on the device information of the electronic device 300 .
[0395] The vehicle 100 can decrypt the encrypted second control instruction based on the first digital vehicle key to obtain the first control instruction and execute the first control instruction. After executing the first control instruction, the vehicle 100 also needs to send the execution result to the electronic device 300 to inform the electronic device 300 of the execution result of the vehicle 100.
[0396] For example, the first control instruction may be used to control the unlocking of the vehicle 100. After the vehicle 100 is unlocked, the vehicle 100 may inform the electronic device 300 of the execution result that the vehicle has been unlocked.
[0397] Optionally, after receiving the execution result sent by the vehicle 100, the electronic device 300 may display a prompt message, which is used to prompt the vehicle 100 that the first control instruction has been executed. For example, after the electronic device 300 receives the execution result sent by the vehicle 100 indicating that the vehicle has been unlocked, the electronic device 300 may display the prompt message 8101 shown in Figure 8B, which is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 300.
[0398] Optionally, the prompt information 8101 shown in FIG8B may also be referred to as third prompt information.
[0399] Optionally, before executing S904 , the electronic device 300 needs to determine whether a Bluetooth connection has been established between the electronic device 300 and the vehicle 100 .
[0400] When the electronic device 300 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 can directly control the vehicle 100 based on the first digital vehicle key. Specifically, after the electronic device 300 receives a user operation and determines that a Bluetooth connection has been established between the electronic device 300 and the vehicle 100, the electronic device 300 can determine the first digital vehicle key based on the vehicle information of the vehicle currently to be controlled (e.g., the vehicle information of the vehicle 100). The first digital vehicle key is the digital vehicle key used to control the vehicle 100. After obtaining the first digital vehicle key, the electronic device 300 encrypts the first control instruction using the first digital vehicle key to obtain an encrypted second control instruction. The electronic device 300 then sends the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100. The device information of the electronic device 300 is used by the vehicle 100 to determine the first digital vehicle key. Referring to the description in S915-S919, there are multiple device information within the vehicle 100 that correspond to digital vehicle keys. After vehicle 100 receives the encrypted second control instruction and device information of electronic device 300 sent by electronic device 200, vehicle 100 can obtain the first digital vehicle key based on the device information of electronic device 300. Vehicle 100 can decrypt the encrypted second control instruction using the first digital vehicle key to obtain the first control instruction and execute the first control instruction. After executing the first control instruction, vehicle 100 must also send the execution result to electronic device 300 to inform electronic device 300 of the execution result of vehicle 100. For example, the first control instruction can be used to control the unlocking of vehicle 100. After vehicle 100 unlocks vehicle 100, vehicle 100 can notify electronic device 300 of the execution result that the vehicle has been unlocked. Optionally, after receiving the execution result sent by vehicle 100, electronic device 300 can display a prompt message, which is used to indicate that vehicle 100 has executed the first control instruction. For example, after the electronic device 300 receives the vehicle unlocking result sent by the vehicle 100, the electronic device 300 may display the prompt message 8102 shown in FIG8D . The prompt message 8102 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 200. Optionally, the prompt message 8102 shown in FIG8D may also be referred to as the fourth prompt message.
[0401] When the electronic device 300 has not established a Bluetooth connection with the vehicle 100 , the electronic device 300 may control the vehicle 100 through the electronic device 200 that has established a communication connection with the electronic device 300 .
[0402] Optionally, in the embodiment of FIG9A , the data transmission path between the electronic device 300 and the electronic device 200 may be as follows: the first application in the electronic device 300 may obtain the transmission data (e.g., the first control instruction or vehicle information of the vehicle 100), the third application in the electronic device 300 may send the transmission data to the fourth application (e.g., a sports and health application) on the electronic device 200, and the fourth application on the electronic device 200 may then send the transmission data to the first application on the electronic device 200. The third application on the electronic device 300 may be the same or similar application as the first application on the electronic device 200.
[0403] Optionally, the data transmission path between the electronic device 200 and the electronic device 300 in the embodiment of Figure 9A can be as follows: the first application on the electronic device 200 sends the transmission data (such as a verification pass message or execution result, etc.) to the fourth application on the electronic device 200, and the fourth application on the electronic device 200 then sends the transmission data to the third application in the electronic device 300.
[0404] Multiple devices of different users control the vehicle 100
[0405] In other embodiments, user A owns electronic device 200, and user B owns electronic device 300. Electronic devices 200 and 300 have not established a trusted relationship, and devices that have not established a trusted relationship cannot collaboratively control the vehicle. Alternatively, electronic device 200 can proactively establish a trusted relationship with electronic device 300 and generate a trusted credential. Each electronic device 200 and electronic device 300 stores a trusted credential, which is used to verify whether the device is a trusted device.
[0406] Specifically, if electronic device 200 first establishes a Bluetooth connection with vehicle 100, electronic device 300 cannot continue to establish a Bluetooth connection with vehicle 100. When user B needs to control vehicle 100 on electronic device 300, without disconnecting the Bluetooth connection established between electronic device 200 and vehicle 100, user B can operate on electronic device 300 and send a first control instruction and a trusted credential to electronic device 200. After electronic device 300 receives the first control instruction and trusted credential sent by electronic device 200, electronic device 200 determines that electronic device 200 is a trusted device based on the trusted credential. If both electronic device 200 and electronic device 300 have applied for a digital key for vehicle 100, electronic device 200 can send the first control instruction to vehicle 100. Vehicle 100 receives and responds to the first control instruction, executing the first control instruction. This allows users to actively trigger the establishment of a trusted relationship between non-trusted devices. Without disconnecting the Bluetooth connection between the device and the vehicle, devices that the user has actively established a trusted relationship with can collaboratively control the vehicle.
[0407] For example, when electronic device 200 is the mobile phone of user A and electronic device 300 is the mobile phone of user B, user A and user B are friends, but electronic device 200 and electronic device 300 have not established a trusted relationship. Then user A can actively establish a trusted relationship with user B's electronic device 300 through electronic device 200, and trusted credentials are stored in electronic device 200 and electronic device 300 respectively. User A and user B are both riding in vehicle 100, and user A's electronic device 200 has established a Bluetooth connection with vehicle 100. When user B needs to control vehicle 100 through electronic device 300, without disconnecting the Bluetooth connection established between electronic device 200 and vehicle 100, electronic device 200 can establish a communication connection with electronic device 300 and send a first control instruction and a trusted credential to electronic device 200. After receiving the first control instruction and trusted credentials sent by electronic device 200, electronic device 200 determines that electronic device 200 is a trusted device based on the trusted credentials. If electronic device 200 and electronic device 300 have both applied for the digital key of vehicle 100, electronic device 200 will then send the first control instruction to vehicle 100, and vehicle 100 can execute the first control instruction. This greatly improves the convenience of different users using different electronic devices to control the vehicle.
[0408] 10A-10J are schematic diagrams showing an electronic device 300 controlling a vehicle via an electronic device 200 .
[0409] The electronic device 200 actively establishes a trusted relationship with the electronic device 300 ( FIG. 10A - FIG. 10D ).
[0410] After the electronic device 200 applies for the digital car key of the vehicle 100 , the electronic device 300 may display the user interface 790 shown in FIG. 10A .
[0411] For example, as shown in FIG10A , the electronic device 200 may receive a user input operation (e.g., a single click) for a credibility authentication option in the user interface shown in FIG10A . In response to the user input operation, the electronic device 200 may display a window 1101 shown in FIG10B . Window 1101 includes device identifiers of one or more devices discovered by the electronic device 200, such as “TOM’s Mate 50” and “Nacy’s NOVA 11.” The device identifier “TOM’s Mate 50” may be the device identifier of the electronic device 300, and the device identifier “Nacy’s NOVA 11” may be the device identifiers of other devices near the electronic device 200.
[0412] Optionally, before the electronic device 200 displays the window 1101 shown in Figure 10B, the electronic device 200 may display a prompt message, which is used to instruct the user to turn on the Bluetooth of the electronic device 200 and turn on the Bluetooth of other devices that need to establish a trusted relationship with the electronic device 200, so that the electronic device 200 can discover other devices near the electronic device 200.
[0413] When electronic device 200 needs to establish a trusted relationship with electronic device 300, as shown in Figure 10B, electronic device 200 can receive the user's input operation (such as a single click) for the device identifier "TOM's Mate 50" in window 1101. In response to the user's input operation, electronic device 200 can display window 1002 shown in Figure 10C, which is used to indicate that electronic device 200 is negotiating to establish a trusted relationship with electronic device 300.
[0414] In response to the user's input operation, the electronic device 200 may send a request to establish a trusted relationship to the electronic device 300 .
[0415] After electronic device 300 receives the request to establish a trusted relationship from electronic device 200, electronic device 300 may display window 1006 shown in FIG10D . Window 1006 includes a prompt message "Do you want to establish a trusted relationship with Lisa's HUA WEIP60?" Window 1006 also includes a Continue option and a Cancel option. The user can select Continue to establish a trusted relationship with electronic device 200, or select Cancel to refuse to establish a trusted relationship with electronic device 200.
[0416] For example, as shown in FIG10D , the electronic device 300 may receive a user input operation (eg, a single click) for the Continue option in the window 1006 . In response to the user input operation, the electronic device 300 may establish a trusted relationship with the electronic device 200 .
[0417] In one possible implementation, the steps for establishing a trusted relationship between electronic device 200 and electronic device 300 may be as follows: electronic device 200 may obtain parameter information of electronic device 200. The parameter information of electronic device 200 may include, but is not limited to, one or more of the following: a device identifier of electronic device 200, a device type of electronic device 200, a first random number, etc. The first random number is used by electronic device 200 and electronic device 300 to generate a trusted credential. Electronic device 200 may also send the parameter information of electronic device 200 to electronic device 300. After receiving the parameter information of electronic device 200 sent by electronic device 200, electronic device 300 stores the parameter information of electronic device 200 and obtains the parameter information of electronic device 300. Thereafter, electronic device 300 sends the parameter information of electronic device 300 to electronic device 200. The parameter information of electronic device 300 may include, but is not limited to, one or more of the following: a device identifier of electronic device 300, a device type of electronic device 300, a second random number, etc. The second random number is also used by electronic device 200 and electronic device 300 to generate a trusted credential. After the electronic device 200 and the electronic device 300 obtain the first random number and the second random number, the electronic device 200 and the electronic device 300 can generate a trusted credential based on the first random number and the second random number, and save the trusted credential. The trusted credential is used by the electronic device 200 and the electronic device 300 to verify whether the two parties are trusted devices. Optionally, after the electronic device 300 generates the trusted credential based on the first random number and the second random number, the electronic device 300 can send a feedback message to the electronic device 200, which is used to indicate to the electronic device 300 that the electronic device 200 has generated the trusted credential.
[0418] In other possible implementations, the steps for establishing a trusted relationship between electronic device 200 and electronic device 300 may be as follows: electronic device 200 may obtain device information of electronic device 200. The device information of electronic device 200 may include, but is not limited to, one or more of the following: a device identifier of electronic device 200, a device type of electronic device 200, etc. Electronic device 200 may also transmit the device information of electronic device 200 to electronic device 300. After receiving the device information of electronic device 200 transmitted by electronic device 200, electronic device 300 may store the device information of electronic device 200. Based on the device information of electronic device 200, electronic device 300 may determine that electronic device 200 is a trusted device. Electronic device 300 may also obtain device information of electronic device 300. The device information of electronic device 300 may include, but is not limited to, one or more of the following: a device identifier of electronic device 300, a device type of electronic device 300, etc. Electronic device 300 may also transmit the device information of electronic device 300 to electronic device 200. After receiving the device information of electronic device 300 transmitted by electronic device 300, electronic device 200 may store the device information of electronic device 300. The electronic device 200 may determine that the electronic device 300 is a trusted device based on the device information of the electronic device 300 .
[0419] Not limited to the above methods, the electronic device 200 and the electronic device 300 can also establish a trusted relationship based on other methods, which is not limited in this application.
[0420] Optionally, after the electronic device 200 and the electronic device 300 establish a trusted relationship, the electronic device 200 may display a prompt message 1003 as shown in FIG10E . The prompt message 1003 is used to prompt the user that the electronic device 200 and the electronic device 300 have established a trusted relationship.
[0421] Optionally, after the electronic device 200 and the electronic device 300 establish a trusted relationship, the electronic device 200 may also display a message "A trusted relationship has been established with Tom's Mate 50" in the user interface 1004 shown in FIG10F to prompt the user that the electronic device 200 and the electronic device 300 have established a trusted relationship.
[0422] Optionally, Figures 10A-10F illustrate the example of electronic device 200 actively initiating trusted authentication to electronic device 300. In other embodiments, electronic device 300 may also actively initiate trusted authentication to electronic device 200, and this application does not limit this.
[0423] Optionally, Figures 10A-10F are described using the first application as an example. In other embodiments, the electronic device 200 may also proactively initiate trusted authentication to the electronic device 300 in the second application, or the electronic device 200 may proactively initiate trusted authentication to the electronic device 300 in combination with the first application and the second application, and this application does not limit this. This application only describes the example of the electronic device 200 proactively initiating trusted authentication to the electronic device 300 in the first application.
[0424] The electronic device 300 controls the vehicle 100 via the electronic device 200 based on the digital vehicle key ( FIG. 10F to FIG. 10J ).
[0425] After the electronic device 200 actively establishes a trusted relationship with the electronic device 300 in accordance with Figures 10A to 10F, when a communication connection is established between the electronic device 300 and the electronic device 200, a Bluetooth connection is established between the electronic device 200 and the vehicle 100, and both the electronic device 300 and the electronic device 200 apply for the digital car key of the vehicle 100, the electronic device 300 can control the vehicle 100 based on the digital car key through the electronic device 200.
[0426] For example, a first application may also be installed on the electronic device 300 , and the user may control the vehicle 100 based on the digital car key within the first application.
[0427] For example, the electronic device 300 may be the mobile phone of user B, and the electronic device 200 may be the mobile phone of user A.
[0428] Electronic device 300 may receive a user input operation (e.g., a single click) on the application icon of the first application. In response to the user input operation, electronic device 300 may display user interface 1004 shown in FIG10F . If electronic device 300 has also applied for a digital key for vehicle 100, after opening the first application, electronic device 300 may display card 1005 in user interface 1004. Card 1005 displays the vehicle's logo "Wenjie M7" to indicate to the user that card 1005 corresponds to the digital key for vehicle 100. Card 1005 also displays multiple control options, such as an option to open / close the locks, open / close the trunk, open / close the windows, and start / stop the engine. Card 1005 only displays some of the control options for vehicle 100. Electronic device 300 may receive a user swipe operation (e.g., a swipe to the right or left) on card 1005 to display other control options not displayed.
[0429] For example, as shown in Figure 10F, the electronic device 300 can receive a user input operation (such as a single click) for the window opening / closing option in the card 1005. In response to the user's input operation, when the electronic device 300 has not established a Bluetooth connection with the vehicle 100, the electronic device 300 can generate a first control instruction and send the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction to the electronic device 200.
[0430] Optionally, in some embodiments, after the electronic device 300 receives the user's input operation for the window opening / closing option on the card 1005, the electronic device 300 can verify the user's identity and, if the identity verification is successful, perform subsequent operations. This improves the security of the electronic device 300 controlling the vehicle 100 through the digital car key.
[0431] Optionally, before the user operates the first application to control the vehicle 100 via the digital car key, the electronic device 300 may receive a user operation to enable the identity verification function in the first application. After the identity verification function is enabled, the electronic device 300 may verify the user's identity after receiving the user's input operation for the window open / close option in the user interface 810. FIG10F shows that the identity verification function of the electronic device 300 is enabled. In other embodiments, if the identity verification function in the first application is disabled, the electronic device 300 may not verify the user's identity after receiving the user's input operation for the window open / close option in the user interface 810.
[0432] Optionally, the electronic device 300 may also require verification of the user's identity by default, which is not limited in this application.
[0433] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0434] After receiving the vehicle information of vehicle 100, key information of the first digital vehicle key, and the first control instruction from electronic device 300, electronic device 200 can determine whether electronic device 200 has applied for the digital vehicle key of vehicle 100 based on the vehicle information of vehicle 100. For example, electronic device 200 determines that electronic device 200 has applied for the second digital vehicle key of vehicle 100. If the second digital vehicle key and the first digital vehicle key are of the same key type, electronic device 300 can encrypt the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction. Electronic device 200 then transmits the encrypted first control instruction and the device information of electronic device 200 to vehicle 100 via Bluetooth. After receiving the encrypted first control instruction and the device information of electronic device 200, vehicle 100 can obtain the second digital vehicle key based on the device information of electronic device 200, decrypt the encrypted first control instruction based on the second digital vehicle key to obtain the first control instruction, and execute the first control instruction, for example, to unlock vehicle 100. In this way, electronic device 300 controls vehicle 100 through electronic device 200.
[0435] Optionally, in some embodiments, after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control instruction sent by the electronic device 300, the electronic device 200 may also verify the user's identity and, if the identity verification is successful, perform subsequent operations. This improves the security of the electronic device 200 controlling the vehicle 100 via the digital vehicle key.
[0436] Optionally, before the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control command sent by the electronic device 300, the electronic device 200 may receive a user operation to enable the identity verification function. After the identity verification function is enabled, the electronic device 200 may verify the user's identity after receiving the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control command sent by the electronic device 300. In other embodiments, if the identity verification function is disabled, the electronic device 200 may not verify the user's identity after receiving the vehicle information of the vehicle 100, the key information of the first digital vehicle key, and the first control command sent by the electronic device 300.
[0437] Optionally, the electronic device 200 may also require verification of the user's identity by default, which is not limited in this application.
[0438] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0439] Optionally, after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, if the electronic device 200 needs to verify the user's identity, the electronic device 200 and the electronic device 300 have established a trusted relationship, and the electronic device 200 can also verify the user's identity through the electronic device 300.
[0440] After the vehicle 100 executes the first control instruction, the vehicle 100 may send a feedback message to the electronic device 200 via the Bluetooth connection. The electronic device 200 then sends the feedback message to the electronic device 300 to prompt the user B that the user B has successfully controlled the vehicle 100 through the electronic device 300.
[0441] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may display the window 1009 shown in Figure 10G. The window 1009 may include the text "The right front window of the HUA WEIP60 of the HUAWEI M7 has been checked in through "Lisa's HUA WEIP60"". The window 1009 is used to prompt the user that user B has successfully controlled the vehicle 100 through the electronic device 200.
[0442] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display the user interface shown in Figure 10H. The user interface shown in Figure 10H displays a card 7812. Card 7812 is similar to card 1005, except that the display format of the window open / close option is changed in card 7812 to prompt the user that the right front window of the current vehicle 100 is open.
[0443] In some embodiments, after the electronic device 300 receives a user input operation for the window open / close option on the card 1005, and if a Bluetooth connection is established between the electronic device 300 and the vehicle 100, the electronic device 300 can directly control the vehicle 100 based on the first digital vehicle key obtained by the application. Specifically, the electronic device 300 can encrypt the first control instruction based on the first digital vehicle key to obtain an encrypted second control instruction, and then send the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100 via the Bluetooth connection. After receiving the encrypted second control instruction and the device information of the electronic device 300, the vehicle 100 can obtain the first digital vehicle key based on the device information of the electronic device 300, decrypt the encrypted second control instruction based on the first digital vehicle key to obtain the first control instruction, and execute the first control instruction, for example, to unlock the vehicle 100. In this way, the electronic device 300 can directly control the vehicle 100 using the first digital vehicle key.
[0444] After the vehicle 100 executes the first control instruction, the vehicle 100 may send a feedback message to the electronic device 300 via the Bluetooth connection to prompt the user A that the user A has successfully controlled the vehicle 100 through the electronic device 300 .
[0445] Optionally, after the electronic device 300 receives the feedback message sent by the vehicle 100, the electronic device 300 may display the prompt message 1009 shown in Figure 10I. The prompt message 1009 may include the text "The right front window of the M7 has been opened through "TOM's Mate 50"". The prompt message 1009 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 300.
[0446] Optionally, the prompt information shown in FIG10I is different from the prompt information shown in FIG10G , thereby notifying the user which device the electronic device 300 uses to control the vehicle 100. In other embodiments, the prompt information shown in FIG10H and the prompt information shown in FIG10F may also be the same, and this application does not limit this.
[0447] In some embodiments, after the electronic device 300 can receive the user's input operation for the window opening / closing option, the electronic device 300 has not established a communication connection with the electronic device 200, and the electronic device 300 cannot control the vehicle 100 through the electronic device 200. In this case, the electronic device 300 can display the prompt message 1010 shown in Figure 10J, which is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0448] In some embodiments, after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, the electronic device 200 does not establish a Bluetooth connection with the vehicle 100, or after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, the electronic device 300 determines that the electronic device 300 has not applied for the digital car key of the vehicle 100, or after the electronic device 200 receives the vehicle information of the vehicle 100, the key information of the first digital car key and the first control instruction sent by the electronic device 300, the electronic device 200 determines that the digital car key of the vehicle 100 applied for by the electronic device 200 is different from the type of the digital car key of the vehicle 100 applied for by the electronic device 300, the electronic device 200 may send a feedback message to the electronic device 300, which is used to indicate that the vehicle 100 cannot be controlled at present. For example, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display the prompt message 1010 shown in FIG10J. The prompt message 1010 is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0449] FIG11 shows a schematic diagram of another electronic device 300 controlling a vehicle 100 via the electronic device 200 .
[0450] S1101. The electronic device 200 displays a first user interface, which includes a first option.
[0451] For example, the first user interface may be the user interface 790 shown in FIG. 10A , and the first option may be the credibility authentication option shown in the user interface 790 .
[0452] S1102: The electronic device 200 receives a user operation on a first option.
[0453] For example, the electronic device 200 may receive a user input operation (eg, a single click) for a credibility authentication option shown in the user interface 790 to establish a trusted relationship with the electronic device 300 .
[0454] Optionally, the user's input operation on the credibility authentication option shown in the user interface 790 may also be referred to as a second user operation.
[0455] In this way, when the electronic device 200 has not established a trusted relationship with the electronic device 300 , the electronic device 200 can proactively initiate the establishment of a trusted relationship with the electronic device 300 .
[0456] S1103 . In response to a user operation, the electronic device 200 displays device identifications of multiple devices, including the device identification of the electronic device 300 .
[0457] In response to user operations, the electronic device 200 can discover nearby devices and display device identifications of multiple devices, including the device identification of the electronic device 300. For example, the device identification of the electronic device 300 can be "Lisa's HUA WEIP60".
[0458] Optionally, before the electronic device 200 displays the device identifications of multiple devices, the electronic device 200 may display a prompt message, which is used to instruct the user to turn on the Bluetooth of the electronic device 200 and turn on the Bluetooth of other devices that need to establish a trusted relationship with the electronic device 200, so that the electronic device 200 can discover other devices near the electronic device 200.
[0459] S1104 : The electronic device 200 receives the user's input operation for the device identification of the electronic device 300 .
[0460] After the electronic device 200 displays the device identifications of multiple devices, the electronic device 300 may receive an input operation from the user for the device identification of the electronic device 200 and actively establish a trusted relationship with the electronic device 300 .
[0461] For example, the electronic device 200 may receive a user input operation for the device identifier “Lisa's HUA WEIP60” and proactively establish a trusted relationship with the electronic device 300 .
[0462] S1105 : The electronic device 200 sends a request to the electronic device 300 to establish a trusted relationship.
[0463] In response to the user's input operation for the device identification of the electronic device 300 , the electronic device 200 may send a request to establish a trusted relationship to the electronic device 300 .
[0464] Optionally, the request to establish a trusted relationship may also be referred to as a request to establish a trusted connection.
[0465] S1106. In response to the request to establish a trusted relationship, the electronic device 300 may display prompt information.
[0466] The prompt information is used to indicate to the electronic device 300 that the electronic device 200 requests to establish a trusted relationship with the electronic device 300 .
[0467] Exemplarily, the prompt information may be the window 1006 shown in FIG. 10D .
[0468] Optionally, the window 1006 shown in FIG. 10D may also be referred to as the first prompt information.
[0469] S1107: The electronic device 300 receives the user's confirmation operation for establishing a trusted relationship.
[0470] For example, the electronic device 300 may receive a user input operation (eg, a single click) for the Continue option in the window 1006 shown in FIG. 10D . In response to the user input operation, the electronic device 300 confirms the establishment of the trusted relationship.
[0471] Optionally, the Continue option in the window 1006 shown in FIG. 10D may also be referred to as a second option.
[0472] S1108. The electronic device 300 sends a message to the electronic device 200 to confirm the establishment of the trusted relationship.
[0473] S1109 : Electronic device 200 and electronic device 300 establish a trusted relationship.
[0474] Optionally, the message confirming establishment of a trusted relationship may also be referred to as a message confirming establishment of a trusted connection.
[0475] In response to the user's operation of confirming the establishment of the trusted relationship, the electronic device 300 may send a message confirming the establishment of the trusted relationship to the electronic device 200 to indicate to the electronic device 200 that the electronic device 300 has confirmed the establishment of the trusted relationship.
[0476] After the electronic device 200 receives the message sent by the electronic device 300 confirming the establishment of the trusted relationship, the electronic device 200 may establish a trusted relationship with the electronic device 300 .
[0477] The electronic device 200 and the electronic device 300 may establish a trusted relationship in the following manners, but not limited to the following.
[0478] Method 1: Electronic device 200 can obtain parameter information of electronic device 200. The parameter information of electronic device 200 may include, but is not limited to, one or more of the following: a device identifier of electronic device 200, a device type of electronic device 200, a first random number, etc. The first random number is used by electronic device 200 and electronic device 300 to generate a trusted credential. Electronic device 200 also needs to send the parameter information of electronic device 200 to electronic device 300. After receiving the parameter information of electronic device 200 sent by electronic device 200, electronic device 300 saves the parameter information of electronic device 200 and obtains the parameter information of electronic device 300. Thereafter, electronic device 300 sends the parameter information of electronic device 300 to electronic device 200. The parameter information of electronic device 300 may include, but is not limited to, one or more of the following: a device identifier of electronic device 300, a device type of electronic device 300, a second random number, etc. The second random number is also used by electronic device 200 and electronic device 300 to generate a trusted credential. After the electronic device 200 and the electronic device 300 obtain the first random number and the second random number, the electronic device 200 can generate a second trusted credential based on the first random number and the second random number, and the electronic device 300 can generate a first trusted credential based on the first random number and the second random number, and save the first trusted credential and the second trusted credential. The trusted credential is used by the electronic device 200 and the electronic device 300 to verify whether the two parties are trusted devices. Optionally, after the electronic device 300 generates the trusted credential based on the first random number and the second random number, the electronic device 300 can send a feedback message to the electronic device 200, which is used to indicate to the electronic device 300 that the electronic device 200 has generated a trusted credential.
[0479] In other embodiments, the electronic device 300 may not provide the parameter information of the electronic device 300 , and the electronic device 200 and the electronic device 300 may only generate a trusted credential based on the first random number, and this application does not limit this.
[0480] After the electronic device 200 and the electronic device 300 both save the first trusted credential and the second trusted credential, the electronic device 200 and the electronic device 300 may determine that both are trusted devices based on the first trusted credential and the second trusted credential.
[0481] In some embodiments, the first trusted credential and the second trusted credential are time-limited. If the length of time that electronic device 200 stores the first trusted credential and the length of time that electronic device 300 stores the second trusted credential exceed the first length of time, electronic device 200 and electronic device 300 can delete the first trusted credential and the second trusted credential, and re-determine a new trusted credential according to method one, and re-establish the trusted relationship between electronic device 200 and electronic device 300.
[0482] Method 2: Electronic device 200 can obtain device information of electronic device 200. The device information of electronic device 200 may include, but is not limited to, one or more of the following: the device identification of electronic device 200, the device type of electronic device 200, etc. Electronic device 200 also needs to send the device information of electronic device 200 to electronic device 300. After receiving the device information of electronic device 200 sent by electronic device 200, electronic device 300 saves the device information of electronic device 200. Based on the device information of electronic device 200, electronic device 300 can determine that electronic device 200 is a trusted device. Electronic device 300 also needs to obtain device information of electronic device 300. The device information of electronic device 300 may include, but is not limited to, one or more of the following: the device identification of electronic device 300, the device type of electronic device 300, etc. Electronic device 300 also needs to send the device information of electronic device 300 to electronic device 200. After receiving the device information of electronic device 300 sent by electronic device 300, electronic device 200 saves the device information of electronic device 300. Based on the device information of electronic device 300, electronic device 200 can determine that electronic device 300 is a trusted device.
[0483] Not limited to the above methods, the electronic device 200 and the electronic device 300 can also establish a trusted relationship based on other methods, which is not limited in this application.
[0484] Optionally, the electronic device 300 may proactively initiate the establishment of a trusted relationship with the electronic device 200 .
[0485] Optionally, in some embodiments, the user accounts logged into the electronic device 200 and the electronic device 300 are different, but the first user account and the second user account are associated with each other, and the relationship between the two devices can also be deemed to be untrusted. The two devices still need to establish a trusted connection through S1101-S1109.
[0486] S1110 : The electronic device 300 controls the vehicle 100 based on the digital vehicle key.
[0487] After the electronic device 200 and the electronic device 300 save the first trusted credential and the second trusted credential, when the electronic device 300 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 can directly control the vehicle 100 through the first digital car key. For details, please refer to the description in the embodiment of Figure 9A, and this application will not go into details here.
[0488] When the electronic device 200 has established a Bluetooth connection with the vehicle 100, the electronic device 300 cannot establish a Bluetooth connection with the vehicle 100, and the electronic device 300 cannot directly control the vehicle 100 through the first digital car key. However, the electronic device 200 and the electronic device 300 have established a trusted relationship through S1101-S1108, and the electronic device 200 and the electronic device 300 are trusted devices. Then the electronic device 200 can control the vehicle 100 through the electronic device 300. Specifically, it is similar to the description in the S905-S919 embodiment of the embodiment of Figure 9A. Specifically, reference can be made to the description in the S905-S919 embodiment of Figure 9A, and this application will not repeat them here.
[0489] However, the present application differs from the S905-S919 embodiments in the following ways.
[0490] If the electronic device 200 and the electronic device 300 establish a trusted relationship through the above-mentioned method 1, the present application differs from the embodiments S905-S919 in the following ways.
[0491] Difference 1: In S905, in addition to sending the vehicle information of the vehicle 100 and the key information of the first digital vehicle key to the electronic device 200, the electronic device 300 also needs to send the first trusted credential and the device information of the electronic device 300 to the electronic device 300. The first trusted credential and the device information of the electronic device 300 are used by the electronic device 300 to verify whether the electronic device 200 is a trusted device.
[0492] Difference 2: Before executing S910 , the electronic device 200 can obtain the second trusted credential stored in the electronic device 200 based on the device information of the electronic device 300 .
[0493] If the second trusted credential stored in electronic device 200 is the same as the first trusted credential sent by electronic device 300 or meets a preset condition, electronic device 200 can determine that electronic device 300 is a trusted device and send a verification pass message to electronic device 300. After receiving the verification pass message, electronic device 300 can control vehicle 100 through electronic device 200.
[0494] When the second trusted credential stored in the electronic device 200 is different from the first trusted credential sent by the electronic device 300 or does not meet the preset conditions, the electronic device 200 can determine that the electronic device 300 is an untrusted device. Then the electronic device 200 can send a verification failure message to the electronic device 300, and the electronic device 300 cannot control the vehicle 100 through the electronic device 200.
[0495] If the electronic device 200 and the electronic device 300 establish a trusted relationship through the above-mentioned method 2, the present application differs from the embodiments S905-S919 in the following ways.
[0496] Difference 1: In S905, in addition to sending the vehicle information of the vehicle 100 and the key information of the first digital vehicle key to the electronic device 200, the electronic device 300 also needs to send the device information of the electronic device 300 to the electronic device 300. The device information of the electronic device 300 is used by the electronic device 300 to verify whether the electronic device 200 is a trusted device.
[0497] When the electronic device 200 determines that the electronic device 300 is a trusted device based on the device information of the electronic device 300, the electronic device 200 may send a verification pass message to the electronic device 300. After receiving the verification pass message, the electronic device 300 may control the vehicle 100 through the electronic device 200.
[0498] If electronic device 200 determines that electronic device 300 is not a trusted device based on the device information of electronic device 300, for example, electronic device 200 and electronic device 300 have not established a trusted relationship, and electronic device 200 does not store the device information of electronic device 300, electronic device 200 cannot confirm that electronic device 300 is a trusted device. In this case, electronic device 200 can send a verification failure message to electronic device 300, and electronic device 300 cannot control vehicle 100 through electronic device 200.
[0499] Optionally, when the electronic device 200 determines that the electronic device 300 is not a trusted device, the electronic device 300 may also prompt the user to negotiate and determine a trusted relationship through S1101-S1108. After that, after the electronic device 300 and the electronic device 200 establish a trusted relationship, the electronic device 300 may control the vehicle 100 through the electronic device 200.
[0500] Multiple users' different devices control the vehicle 100
[0501] User A owns electronic device 200, and user B owns electronic device 300. User A and user B approach a vehicle simultaneously. If electronic device 300 has first established a Bluetooth connection with vehicle 100, electronic device 300 will no longer be able to establish a Bluetooth connection with vehicle 100. Electronic device 300 will no longer be able to control vehicle 100 using the digital car key. In this case, after establishing a Bluetooth connection with electronic device 200, vehicle 100 can periodically or irregularly broadcast Bluetooth signals so that other devices near vehicle 100 can discover vehicle 100. For example, electronic device 300 receives and responds to the Bluetooth broadcast sent by vehicle 100, sending a request to establish a Bluetooth connection to vehicle 100. In response to the request to establish a Bluetooth connection, vehicle 100 can send a request to disconnect the Bluetooth connection to electronic device 200. After receiving the request to disconnect the Bluetooth connection and disconnecting the Bluetooth connection with vehicle 100, vehicle 100 can then establish a Bluetooth connection with electronic device 300. Electronic device 300 can then control vehicle 100 using the digital car key.
[0502] 12A-12B show a schematic diagram of an electronic device 300 controlling a vehicle 100 via a Bluetooth connection.
[0503] The vehicle 100 disconnects the Bluetooth connection with the electronic device 200 and establishes a Bluetooth connection with the electronic device 300 ( FIG. 12A-FIG . 12B ).
[0504] First, the electronic device 200 establishes a Bluetooth connection with the vehicle 100. However, the vehicle 100 still periodically / irregularly sends Bluetooth broadcasts so that other devices near the vehicle 100 can discover the vehicle 100. For example, the electronic device 300 can receive the Bluetooth broadcasts sent by the vehicle 100.
[0505] Referring to the description in the embodiment of Figure 10A, the electronic device 300 can receive the user's input operation for the window opening / closing option on the card 1005 displayed in the user interface shown in Figure 10E. In response to the user's input operation, when the electronic device 300 receives the Bluetooth broadcast sent by the vehicle 100, the electronic device 300 can send a request to establish a Bluetooth connection to the vehicle 100.
[0506] In response to the Bluetooth connection establishment request sent by the electronic device 300, the vehicle 100 determines whether a Bluetooth connection has been established with the other device. If no Bluetooth connection has been established with the other device, the vehicle 100 may directly establish a Bluetooth connection with the electronic device 300. If a Bluetooth connection has been established with the other device, the vehicle 100 may request to disconnect the Bluetooth connection with the other device.
[0507] For example, when the vehicle 100 determines that a Bluetooth connection is established with the electronic device 200 , the vehicle 100 may send a request to disconnect the Bluetooth connection to the electronic device 200 .
[0508] In response to the Bluetooth disconnect request sent by vehicle 100, electronic device 200 may display prompt message 1201 shown in FIG12A . The prompt message may include "TOM's Mate 50 requests to connect to the Bluetooth of the QNEX M7. Do you want to disconnect the Bluetooth connection with the QNEX M7?" Prompt message 1201 also includes confirmation and cancellation options. The user can confirm the connection between electronic device 200 and vehicle 100, or cancel the connection to maintain the Bluetooth connection.
[0509] For example, as shown in FIG12A , the electronic device 200 may receive a user input operation (eg, a single click) for a confirmation option in the prompt message 1201 . In response to the user's input operation, the electronic device 200 may disconnect the Bluetooth connection with the vehicle 100 .
[0510] After receiving the Bluetooth connection establishment request sent by the electronic device 300 , in response to disconnecting the Bluetooth connection with the vehicle 100 , the vehicle 100 may establish a Bluetooth connection with the electronic device 300 .
[0511] Optionally, after the electronic device 300 establishes a Bluetooth connection with the vehicle 100 , the electronic device 300 may display a prompt message 1202 as shown in FIG. 12B , which is used to prompt the user that the electronic device 300 has established a Bluetooth connection with the vehicle 100 .
[0512] After the electronic device 300 establishes a Bluetooth connection with the vehicle 100 and the electronic device 300 applies for the digital key of the vehicle 100, in response to a user input operation for the window open / close option on the card 1005 displayed in the user interface 1004 shown in FIG10E , the electronic device 300 may generate a first control instruction and send the first control instruction to the vehicle 100. The vehicle 100 may execute the first control instruction and return the execution result to the electronic device 300.
[0513] After receiving the execution result sent by the vehicle 100 , the electronic device 300 may display a prompt message 1009 as shown in FIG10H . The prompt message 1009 is used to prompt the user that the right front window of the vehicle 100 has been opened through the electronic device 300 .
[0514] In some embodiments, if vehicle 100 can only establish a Bluetooth connection with one device at a time, if electronic device 200 establishes a Bluetooth connection with vehicle 100, electronic device 300 cannot connect to vehicle 100 via Bluetooth. Electronic device 300 also cannot control vehicle 100 via the Bluetooth car key. Optionally, after establishing a Bluetooth connection with electronic device 200, vehicle 100 may periodically or sporadically send Bluetooth broadcasts so that other devices near vehicle 100 can discover vehicle 100. For example, electronic device 300 receives and responds to the Bluetooth broadcasts sent by vehicle 100, sending a Bluetooth connection establishment request to vehicle 100. In response to the Bluetooth connection establishment request, vehicle 100 may send a Bluetooth connection disconnection request to electronic device 200. After receiving the Bluetooth connection disconnection request and disconnecting the Bluetooth connection with vehicle 100, vehicle 100 may establish a Bluetooth connection with electronic device 300. Electronic device 300 can then control vehicle 100 via the digital car key.
[0515] FIG13 is a flow chart showing a method for the electronic device 300 to establish a Bluetooth connection with the vehicle 100 and to control the vehicle 100 .
[0516] S1301 : The electronic device 200 establishes a Bluetooth connection with the vehicle 100 .
[0517] The connection between the electronic device 200 and the vehicle 100 may be referred to as a second communication connection. The second communication connection may be a Bluetooth connection or other connection methods, which is not limited in this application.
[0518] S1302 : Periodically / erratically transmit Bluetooth broadcasts to the vehicle 100 .
[0519] After the vehicle 100 establishes a Bluetooth connection with the electronic device 200, the vehicle 100 may periodically / occasionally send Bluetooth broadcasts so that other devices near the vehicle 100 can discover the vehicle 100. For example, the electronic device 300 may receive the Bluetooth broadcast sent by the vehicle 100.
[0520] Not limited to Bluetooth broadcasts, the vehicle 100 can also send other broadcasts, which is not limited in this application.
[0521] S1303 : The electronic device 300 receives a user operation and controls the vehicle 100 based on the first digital vehicle key.
[0522] Optionally, the electronic device 300 has applied for the digital car key of the vehicle 100, then the card corresponding to the digital car key of the vehicle 100 can be displayed in the first application on the electronic device 300, such as the card 1005 shown in Figure 10E.
[0523] For example, as described in the embodiment with reference to FIG10A , the electronic device 300 can receive a user's input operation for the window opening / closing option on the card 1005 displayed in the user interface shown in FIG10E , and the electronic device 300 can control the vehicle 100 based on the first digital car key.
[0524] S1304 : The electronic device 300 needs to determine whether a Bluetooth connection is established between the electronic device 300 and the vehicle 100 .
[0525] When a Bluetooth connection is established between the electronic device 300 and the vehicle 100 , the electronic device 300 can directly control the vehicle 100 based on the first digital vehicle key through the Bluetooth connection between the electronic device 300 and the vehicle 100 , that is, execute S1311 .
[0526] In the case that the electronic device 300 has not established a Bluetooth connection with the vehicle 100 , the electronic device 300 needs to request to establish a Bluetooth connection with the vehicle 100 , ie, execute S1305 .
[0527] S1305 : The electronic device 300 sends a request to the vehicle 100 to establish a Bluetooth connection.
[0528] In response to a user operation, when a Bluetooth connection is established between the electronic device 300 and the vehicle 100 , after the electronic device 300 receives a Bluetooth broadcast sent by the vehicle 100 , the electronic device 300 may send a request to establish a Bluetooth connection to the vehicle 100 .
[0529] S1306 : The vehicle 100 sends a request to disconnect the Bluetooth connection to the electronic device 200 .
[0530] After the vehicle 100 receives the Bluetooth connection establishment request sent by the electronic device 300 , if the vehicle 100 determines that the vehicle 100 has a Bluetooth connection with the electronic device 200 , the vehicle 100 may send a Bluetooth connection disconnection request to the electronic device 200 .
[0531] Optionally, after the vehicle 100 receives the Bluetooth connection establishment request sent by the electronic device 300, if the vehicle 100 determines that the vehicle 100 has not established a Bluetooth connection with other devices, the vehicle 100 can directly establish a Bluetooth connection with the electronic device 300, that is, execute S1309.
[0532] S1307 . The electronic device 200 displays a prompt message, which is used to prompt the user whether to disconnect the Bluetooth connection with the vehicle 100 .
[0533] Optionally, the prompt information in S1307 may also be referred to as second prompt information.
[0534] S1308 : The electronic device 200 receives the user operation and confirms to disconnect the Bluetooth connection with the vehicle 100 .
[0535] Optionally, in some embodiments, S1307 and S1308 may not be executed. After the electronic device 200 receives the request to disconnect the Bluetooth connection sent by the vehicle 100, the electronic device 200 may automatically disconnect the Bluetooth connection with the vehicle 100 without user intervention.
[0536] S1309 : The electronic device 200 disconnects the Bluetooth connection with the vehicle 100 .
[0537] In response to the Bluetooth disconnection request sent by the vehicle 100, the electronic device 200 may prompt information, where the prompt information is used to prompt the user whether to disconnect the Bluetooth connection with the vehicle 100. The electronic device 200 may receive a user operation and confirm to disconnect the Bluetooth connection with the vehicle 100.
[0538] For example, the prompt information may be the prompt information 1201 shown in FIG12A . The electronic device 200 may receive a user input operation (eg, a single click) for a confirmation option in the prompt information 1201 . In response to the user input operation, the electronic device 200 may disconnect the Bluetooth connection with the vehicle 100 .
[0539] S1310 : The vehicle 100 establishes a Bluetooth connection with the electronic device 300 .
[0540] Optionally, the communication connection between the vehicle 100 and the electronic device 300 may be called a third communication connection. The third communication connection may be a Bluetooth connection. The third communication connection may also be other connection methods, which is not limited in this application.
[0541] After the vehicle 100 disconnects the Bluetooth connection with the electronic device 200 , the vehicle 100 may establish a Bluetooth connection with the electronic device 300 in response to a Bluetooth connection establishment request sent by the electronic device 300 .
[0542] Optionally, after the electronic device 300 establishes a Bluetooth connection with the vehicle 100 , the electronic device 300 may display a prompt message 1202 as shown in FIG. 12B , which is used to prompt the user that the electronic device 300 has established a Bluetooth connection with the vehicle 100 .
[0543] Optionally, before establishing a Bluetooth connection between the vehicle 100 and the electronic device 300, the vehicle 100 must also perform Bluetooth authentication with the electronic device 300 in response to a Bluetooth connection establishment request sent by the electronic device 300. Specifically, the electronic device 300 sends Bluetooth authentication information to the vehicle 100, and the vehicle 100 determines whether the Bluetooth authentication information sent by the electronic device 300 is legal. If it is legal, the vehicle 100 can establish a Bluetooth connection with the electronic device 300. If it is not legal, the vehicle 100 cannot establish a Bluetooth connection with the electronic device 300.
[0544] Optionally, when the Bluetooth connection between the vehicle 100 and the electronic device 300 fails, the electronic device 300 may display a prompt message, which is used to remind the user that the Bluetooth connection with the vehicle 100 cannot be established at present and please try again later.
[0545] The Bluetooth authentication information includes, but is not limited to, one or more of the following: device information of the electronic device 300, Bluetooth version number, etc. The vehicle 100 primarily verifies whether the Bluetooth version number of the electronic device 300 is consistent with the Bluetooth version number of the vehicle 100 and whether the electronic device 300 is a legitimate device. The vehicle 100 may also verify other information, which is not limited in this application.
[0546] S1311. The electronic device 300 encrypts the second control instruction based on the first digital vehicle key to obtain an encrypted second control instruction.
[0547] Optionally, the digital car key vehicle connection specifications and standards corresponding to digital car keys of different key types are different. For example, the digital car key vehicle connection specifications and standards corresponding to a Bluetooth digital car key are different from those corresponding to an NFC digital car key.
[0548] For example, the first digital car key may be a Bluetooth digital car key. The electronic device 300 may obtain the digital car key vehicle connection specification corresponding to the Bluetooth digital car key based on the identifier of the Bluetooth digital car key. The electronic device 300 may also generate a second control instruction based on the digital car key vehicle connection specification corresponding to the Bluetooth digital car key. The format of the second control instruction complies with the requirements of the digital car key vehicle connection specification corresponding to the Bluetooth digital car key.
[0549] S1312 : The electronic device 300 sends the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100 .
[0550] After the electronic device 300 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 can determine the first digital vehicle key based on the vehicle information currently to be controlled (e.g., the vehicle information of the vehicle 100). The first digital vehicle key is the digital vehicle key used to control the vehicle 100. After obtaining the first digital vehicle key, the electronic device 300 encrypts the second control instruction using the first digital vehicle key to obtain an encrypted second control instruction.
[0551] The electronic device 300 then sends the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100. The device information of the electronic device 300 is used by the vehicle 100 to determine the first digital vehicle key.
[0552] S1313 : The vehicle 100 obtains the first digital vehicle key based on the device information of the electronic device 300 .
[0553] S1314 : The vehicle 100 decrypts the encrypted second control instruction based on the first digital vehicle key to obtain the second control instruction.
[0554] Optionally, steps S1311 to S1314 may not be executed, and the electronic device 300 may directly send the second control instruction to the first vehicle.
[0555] S1315: The vehicle 100 executes the second control instruction.
[0556] S1316 , the vehicle 100 sends the execution result to the electronic device 300 .
[0557] It is understandable that the vehicle 100 stores the correspondence between device information of one or more devices and the digital car key.
[0558] It is understood that the vehicle 100 stores a correspondence between device information of one or more devices and the digital vehicle key. After receiving the encrypted second control instruction and the device information of the electronic device 300, the vehicle 100 can obtain the first digital vehicle key based on the device information of the electronic device 300.
[0559] The vehicle 100 can decrypt the encrypted second control instruction based on the first digital vehicle key to obtain the second control instruction and execute the second control instruction. After executing the second control instruction, the vehicle 100 also needs to send the execution result to the electronic device 300 to inform the electronic device 300 of the execution result of the vehicle 100.
[0560] For example, the second control instruction may be used to control the unlocking of the vehicle 100. After the vehicle 100 is unlocked, the vehicle 100 may inform the electronic device 300 of the execution result that the vehicle has been unlocked.
[0561] Optionally, after receiving the execution result sent by the vehicle 100, the electronic device 300 may display a prompt message, which is used to prompt the vehicle 100 that the second control instruction has been executed. For example, after the electronic device 300 receives the execution result sent by the vehicle 100 indicating that the right front window has been opened, the electronic device 300 may display the prompt message 1009 shown in Figure 10H, which is used to prompt the user that the right front window of the vehicle 100 has been opened through the electronic device 300.
[0562] The present application provides an electronic device, which is a first electronic device, and the first electronic device includes a processor and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, the computer program code includes computer instructions, and the processor calls the computer instructions to execute a vehicle control method provided in the present application.
[0563] The present application provides an electronic device, which is a second electronic device, and the second electronic device includes a processor and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, the computer program code includes computer instructions, and the processor calls the computer instructions to execute a vehicle control method provided in the present application.
[0564] The present application provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed on a first electronic device, the first electronic device executes a vehicle control method provided by the present application.
[0565] The present application provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed on a second electronic device, the second electronic device executes a vehicle control method provided by the present application.
[0566] The present application provides a computer program product. When the computer program product runs on a first electronic device, it enables the first electronic device to execute a vehicle control method provided by the present application.
[0567] The present application provides a computer program product. When the computer program product runs on a second electronic device, the second electronic device executes a vehicle control method provided by the present application.
[0568] It is understood that the various user interfaces described in the embodiments of this application are merely exemplary interfaces and do not limit the scope of this application. In other embodiments, the user interface may adopt a different interface layout, include more or fewer controls, and add or remove other functional options. As long as they are based on the same inventive concept provided by this application, they are all within the scope of protection of this application.
[0569] It should be noted that, without causing any contradiction or conflict, any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.
[0570] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle control system, characterized in that: The system includes a first electronic device, a second electronic device and a first vehicle, wherein a first communication connection is established between the first electronic device and the second electronic device, a second communication connection is established between the first electronic device and the first vehicle, a first digital vehicle key of the first vehicle is stored in the second electronic device, and a second digital vehicle key of the first vehicle is stored in the first electronic device; wherein The second electronic device is configured to receive and, in response to a first user operation, send a first control instruction and vehicle information of the first vehicle to the first electronic device through the first communication connection, wherein the first control instruction is used to instruct the first vehicle to perform a first operation; The first electronic device is used to receive the first control instruction and the vehicle information of the first vehicle, and determine that the second digital vehicle key is stored in the first electronic device based on the vehicle information of the first vehicle; The first electronic device is further used to send the first control instruction to the first vehicle through the second communication connection; The first vehicle is used to receive the first control instruction and perform the first operation based on the first control instruction.
2. The system according to claim 1, characterized in that The first electronic device is further used to determine that the first digital vehicle key and the second digital vehicle key are of the same key type.
3. The system according to claim 2, characterized in that The second electronic device is further used to send key information of the first digital vehicle key to the first electronic device; The first electronic device is further used to determine that the first digital car key and the second digital car key have the same key type based on the key information of the first digital car key and the key information of the second digital car key.
4. The system according to any one of claims 1 to 3, characterized in that: The first electronic device is specifically used for: Encrypting the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction; sending the encrypted first control instruction to the first vehicle via the second communication connection; The first vehicle is specifically used for: receiving the encrypted first control instruction; The encrypted first control instruction is decrypted based on the second digital vehicle key to obtain the first control instruction, and the first operation is performed based on the first control instruction.
5. The system according to any one of claims 1 to 4, characterized in that: A first user account is logged in to the first electronic device, and a second user account is logged in to the first electronic device. The first user account and the second user account are the same or associated with each other.
6. The system according to any one of claims 1 to 4, characterized in that: The second electronic device is further used to display a QR code; the first electronic device is further used to scan the QR code through a camera to establish a trusted connection with the second electronic device.
7. The system according to any one of claims 1 to 4, characterized in that: The first electronic device is further used for: Displaying a first user interface, wherein a first option is displayed in the first user interface; receiving and, in response to a second user operation on the first option, sending a request to establish a trusted connection to the second electronic device; The second electronic device is further used for: In response to the request to establish a trusted connection, displaying first prompt information, wherein the first prompt information is used to prompt a user whether to establish a trusted connection with the first electronic device; receiving a user input operation for a second option in the first prompt information, and sending a message confirming establishment of a trusted connection to the first electronic device; The first electronic device is further configured to establish a trusted connection with the second electronic device in response to the confirmation message for establishing a trusted connection.
8. The system according to any one of claims 1 to 7, characterized in that: The system further includes a third electronic device, in which a third digital vehicle key of the first vehicle is stored; The first vehicle is further used to send a broadcast, where the broadcast is used for other devices to discover the first vehicle; The third electronic device is further used for: receiving and responding to a third user operation, the third user operation being used to control the first vehicle to perform a second operation; receiving and responding to the broadcast sent by the first vehicle, and sending a request to establish a third communication connection to the vehicle; The first vehicle is further configured to send a request to disconnect the second communication connection to the first electronic device in response to the request to establish the third communication connection; The first electronic device is further configured to receive a fourth user operation to disconnect the second communication connection with the first vehicle; The first vehicle is further configured to establish the third communication connection with the third electronic device; The third electronic device is further used to send the second control instruction to the first vehicle through the third communication connection; The first vehicle is further used to receive the second control instruction and perform the second operation based on the second control instruction.
9. The system according to claim 8, characterized in that The first electronic device is further configured to display second prompt information in response to the request to disconnect the second communication connection, wherein the second prompt information is configured to prompt a user whether to disconnect the second communication connection with the first vehicle; The first electronic device is specifically configured to receive and respond to the fourth user operation on the second option in the second prompt information, and disconnect the second communication connection with the first vehicle.
10. The system according to any one of claims 1 to 9, characterized in that: The first vehicle is further configured to send a first message to the first electronic device through the second communication connection after executing the first control instruction; The first electronic device is further configured to send the first message to the second electronic device via the first communication connection; The second electronic device is further used to display a third prompt message in response to the first message, and the third prompt message is used to prompt the user that the second electronic device has controlled the first vehicle to perform the first operation through the first electronic device.
11. The system according to claim 2 or 3, characterized in that: The first electronic device is further configured to send a second message to the second electronic device through the first communication connection if the second digital vehicle key stored in the first electronic device is not determined based on the vehicle information of the first vehicle, and / or the first digital vehicle key and the second digital vehicle key are of different key types; The second electronic device is further used to display a fourth prompt message in response to the second message, and the fourth prompt message is used to prompt the user that the first electronic device is currently unable to control the first vehicle to perform the first operation.
12. The system according to any one of claims 1 to 11, characterized in that: The key information of the first digital vehicle key includes any one or more of the following: key type, key identification; The vehicle information of the first vehicle includes any one or more of the following: vehicle identification code, vehicle model, vehicle manufacturer, vehicle production date, vehicle engine model, and vehicle license plate number.
13. The system according to any one of claims 1 to 12, characterized in that: The first communication connection includes any one of the following: Bluetooth connection, network connection, server connection; The second communication connection comprises a Bluetooth connection.
14. The system according to any one of claims 1 to 13, characterized in that: The first control instruction includes any one of the following: unlock the car, lock the car, open the window, close the window, turn on the air conditioner, turn off the air conditioner, open the trunk, close the trunk, start playing music, and pause playing music.
15. A vehicle control method, characterized in that: The method comprises: The first electronic device receives a first control instruction and vehicle information of a first vehicle sent by a second electronic device through a first communication connection, wherein the first control instruction and the vehicle information of the first vehicle are sent to the first electronic device after the second electronic device receives a first user operation of a user, and the first control instruction is used to instruct the first vehicle to perform a first operation. The first electronic device determines, based on vehicle information of the first vehicle, that the second digital vehicle key is stored in the first electronic device, wherein the first digital vehicle key of the first vehicle is stored in the second electronic device; The first electronic device sends the first control instruction to the first vehicle through the second communication connection.
16. The method according to claim 15, characterized in that Before the first electronic device sends the first control instruction to the first vehicle via the second communication connection, the method further includes: The first electronic device determines that the first digital vehicle key and the second digital vehicle key are of the same key type.
17. The method according to claim 16, characterized in that Before the first electronic device sends the first control instruction to the first vehicle via the second communication connection, the method further includes: The first electronic device receives key information of the first digital vehicle key sent by the second electronic device through the first communication connection; The first electronic device determines that the first digital vehicle key and the second digital vehicle key are of the same key type, specifically including: The first electronic device determines, based on the key information of the first digital vehicle key and the key information of the second digital vehicle key, that the first digital vehicle key and the second digital vehicle key have the same key type.
18. The method according to any one of claims 15 to 17, characterized in that: The first electronic device sends the first control instruction to the first vehicle through the second communication connection, specifically including: The first electronic device encrypts the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction; The first electronic device sends the encrypted first control instruction to the first vehicle through the second communication connection.
19. The method according to any one of claims 15 to 18, characterized in that: A first user account is logged in to the first electronic device, and a second user account is logged in to the first electronic device. The first user account and the second user account are the same or associated with each other.
20. The method according to any one of claims 15 to 18, characterized in that: Before the first electronic device receives the first control instruction and the vehicle information of the first vehicle sent by the second electronic device through the first communication connection, the method further includes: The first electronic device establishes a trusted connection with the second electronic device by scanning the QR code displayed on the second electronic device through a camera.
21. The method according to any one of claims 15 to 18, characterized in that: Before the first electronic device receives the first control instruction and the vehicle information of the first vehicle sent by the second electronic device through the first communication connection, the method further includes: The first electronic device displays a first user interface, wherein a first option is displayed in the first user interface; receiving and, in response to a second user operation on the first option, sending a trusted connection establishment request to the second electronic device, wherein the trusted connection request is used to instruct the second electronic device to establish a trusted connection with the first electronic device; The first electronic device receives a message for confirming the establishment of a trusted connection sent by the second electronic device, wherein the message for confirming the establishment of a trusted connection is sent by the second electronic device after receiving an operation for confirming the establishment of a trusted connection from a user; In response to the confirming the establishing trusted connection message, the first electronic device establishes a trusted connection with the first electronic device and the second electronic device.
22. The method according to any one of claims 15 to 21, characterized in that: After the first electronic device sends the first control instruction to the first vehicle through the second communication connection, the method further includes: The first electronic device receives a first message sent by the first vehicle through the second communication connection, wherein the first message is sent after the first vehicle executes the first control instruction; The first electronic device sends the first message to the second electronic device through the first communication connection, and the first message is used for the second electronic device to display third prompt information, and the third prompt information is used to prompt a user that the second electronic device has controlled the first vehicle to perform the first operation through the first electronic device.
23. The method according to claim 16 or 17, characterized in that The method further comprises: When the second digital car key stored in the first electronic device is not determined based on the vehicle information of the first vehicle, and / or the first digital car key and the second digital car key are of different key types, a second message is sent to the second electronic device through the first communication connection, and the second message is used for the second electronic device to display a fourth prompt message, and the fourth prompt message is used to prompt the user that the first electronic device is currently unable to control the first vehicle to perform the first operation.
24. The method according to any one of claims 15 to 23, characterized in that: The key information of the first digital vehicle key includes any one or more of the following: key type, key identification; The vehicle information of the first vehicle includes any one or more of the following: vehicle identification code, vehicle model, vehicle manufacturer, vehicle production date, vehicle engine model, and vehicle license plate number.
25. The method according to any one of claims 15 to 24, characterized in that: The first communication connection includes any one of the following: Bluetooth connection, network connection, server connection; The second communication connection comprises a Bluetooth connection.
26. The method according to any one of claims 15 to 25, characterized in that: The first control instruction includes any one of the following: unlock the car, lock the car, open the window, close the window, turn on the air conditioner, turn off the air conditioner, open the trunk, close the trunk, start playing music, and pause playing music.
27. A vehicle control method, characterized in that: The method comprises: The second electronic device receives and responds to the first user operation, and sends a first control instruction and vehicle information of the first vehicle to the first electronic device through the first communication connection, wherein the first control instruction is used to instruct the first vehicle to perform a first operation, and the vehicle information of the first vehicle is used to send the first control instruction to the first vehicle through the second communication connection between the first electronic device and the first vehicle after the first electronic device determines the second digital vehicle key of the first vehicle; The second electronic device stores the first digital vehicle key of the first vehicle.
28. The method according to claim 27, characterized in that After the second electronic device receives and responds to the first user operation, the method further includes: The second electronic device sends key information of the first digital car key of the first vehicle to the first electronic device, and the key information of the first digital car key is used by the first electronic device to determine that the key types of the first digital car key and the second digital car key are the same in combination with the key information of the second digital car key.
29. The method according to claim 27 or 28, characterized in that A first user account is logged in to the first electronic device, and a second user account is logged in to the first electronic device. The first user account and the second user account are the same or associated with each other.
30. The method according to claim 27 or 28, characterized in that Before the second electronic device sends the first control instruction and the vehicle information of the first vehicle to the first electronic device through the first communication connection, the method further includes: The second electronic device displays a QR code, and the QR code is used by the first electronic device to establish a trusted connection with the second electronic device after the first electronic device scans the QR code through the camera of the first electronic device.
31. The method according to claim 27 or 28, characterized in that Before the second electronic device sends the first control instruction and the vehicle information of the first vehicle to the first electronic device through the first communication connection, the method further includes: The second electronic device receives a request for establishing a trusted connection sent by the first electronic device, wherein the request for establishing a trusted connection is sent after the first electronic device receives an operation by a second user; The second electronic device displays first prompt information, where the first prompt information is used to prompt a user whether to establish a trusted connection with the first electronic device; The second electronic device receives an input operation of the user for the second option in the first prompt information, sends a message confirming establishment of a trusted connection to the first electronic device, and establishes a trusted connection with the first electronic device.
32. The method according to any one of claims 27 to 31, characterized in that: After the second electronic device sends the first control instruction and the vehicle information of the first vehicle to the first electronic device through the first communication connection, the method further includes: The second electronic device receives a first message sent by the first electronic device through the first communication connection, wherein the first message is sent to the first electronic device through the second communication connection after the first vehicle executes the first control instruction; In response to the first message, the second electronic device displays a third prompt message, where the third prompt message is used to prompt the user that the second electronic device has controlled the first vehicle to perform the first operation through the first electronic device.
33. The method according to claim 28, characterized in that The method further comprises: The second electronic device receives, through the first communication connection, a second message sent by the first electronic device, wherein the second message is sent when the first electronic device fails to determine the second digital vehicle key stored in the first electronic device based on the vehicle information of the first vehicle, and / or the first digital vehicle key and the second digital vehicle key are of different key types; In response to the second message, a fourth prompt message is displayed, where the fourth prompt message is used to prompt the user that the first electronic device is currently unable to control the first vehicle to perform the first operation.
34. The method according to any one of claims 27 to 33, characterized in that: The key information of the first digital vehicle key includes any one or more of the following: key type, key identification; The vehicle information of the first vehicle includes any one or more of the following: vehicle identification code, vehicle model, vehicle manufacturer, vehicle production date, vehicle engine model, and vehicle license plate number.
35. The method according to any one of claims 27 to 34, characterized in that: The first communication connection includes any one of the following: Bluetooth connection, network connection, server connection; The second communication connection comprises a Bluetooth connection.
36. The method according to any one of claims 27 to 35, characterized in that The first control instruction includes any one of the following: unlock the car, lock the car, open the window, close the window, turn on the air conditioner, turn off the air conditioner, open the trunk, close the trunk, start playing music, and pause playing music.
37. An electronic device, being a first electronic device, characterized in that: The first electronic device includes a processor and a memory; the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and the processor calls the computer instructions to execute the method described in any one of claims 15-26.
38. A computer-readable storage medium, characterized in that: Used to store computer instructions, when the computer instructions are executed on a first electronic device, the first electronic device executes the method described in any one of claims 15 to 26.
39. A computer program product, characterized in that When the computer program product is executed on a first electronic device, the first electronic device is enabled to execute the method according to any one of claims 15 to 26.
Citation Information
Patent Citations
Printed-circuit board and manufacture method thereof
CN103068156A
A method of binding a bracelet and a smartphone
CN106231104A
Information processing method and device and computer readable storage medium
CN112810567A
Bluetooth connection method and system based on multiple terminals
CN112911563A
Vehicle control method and system, medium and vehicle
CN115426650A