Vehicle control system, method and electronic equipment
By establishing a communication connection between the first electronic device and the second electronic device, and using the Bluetooth connection between the first electronic device and the vehicle, the second electronic device controls the vehicle through the first electronic device, solving the problem that other devices cannot control the vehicle when the vehicle only supports connecting one Bluetooth device, and improving control convenience and safety.
Patent Information
- Application Number
- CN202310802998.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2043-06-30
AI Technical Summary
When the vehicle only supports connecting one Bluetooth device, other devices that do not establish a Bluetooth connection with the vehicle cannot connect to the vehicle through Bluetooth, resulting in the inability to control the vehicle through the digital car key.
By establishing a communication connection between the first electronic device and the second electronic device, and using the Bluetooth connection between the first electronic device and the vehicle, the second electronic device controls the vehicle through the first electronic device. The specific steps include: the first electronic device receives the control instructions and vehicle information sent by the second electronic device, determines whether the vehicle's digital vehicle key has been applied for, and sends the encrypted control instructions to the vehicle through a Bluetooth connection.
When the vehicle only supports connecting one Bluetooth device, multiple devices can coordinate the control of the vehicle based on the digital car key, improving the convenience and safety of multiple devices for vehicle control.
Smart Images

Figure CN117864059B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control system, method and electronic equipment. Background Art
[0002] With the development of society, vehicles have become an indispensable means of transportation in people's daily lives. During the use of the vehicle, users can use the car key to control the opening or closing of the door, and control the start or shutdown of the engine.
[0003] With the development of technology, car keys are constantly being updated. For example, car keys have evolved from physical car keys to digital car keys. If the user forgets to bring the physical car key, the user can establish a communication connection between the terminal device and the vehicle and control the vehicle through the digital car key stored in the terminal device. However, if the vehicle only supports connecting to one Bluetooth device, other devices that have not established a Bluetooth connection with the vehicle cannot connect to the vehicle via Bluetooth, and cannot control the vehicle through the digital car key. Summary of the invention
[0004] The present application provides a vehicle control system, method and electronic device, which realizes that when the vehicle only supports connection to one Bluetooth device, multiple devices can collaboratively control the vehicle based on a digital car key, thereby improving the convenience of multiple devices controlling the vehicle.
[0005] In a 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, 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 car key of the first vehicle is stored in the second electronic device, and a second digital car key of the first vehicle is stored in the first electronic device; 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.
[0006] The vehicle information of the first vehicle is used by the first electronic device to determine whether the digital vehicle key of the first vehicle has also been applied for. Only when the first electronic device and the second electronic device have applied for the digital vehicle key of the first vehicle at the same time, can the second electronic device control the first vehicle based on the digital vehicle key through the first electronic device, thereby improving the safety of vehicle control.
[0007] 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.
[0008] Optionally, in some embodiments, the first control instruction sent by the first electronic device to the first vehicle must meet a fixed format so that the first vehicle can correctly identify the first control instruction. The formats of different types of control instructions are different, for example, the format of the unlocking control instruction is different from the format of the window opening control instruction. Before sending the first control instruction to the first vehicle, the first electronic device can obtain the digital car key vehicle connection specification standard, which regulates the formats of different types of control instructions. The first control instruction carries an instruction type, and the first electronic device can obtain the first instruction type from the first control instruction. For example, the first instruction type can be an unlocking operation, and then obtain the fixed format of the first instruction type from the digital car key vehicle connection specification standard. And determine whether the format of the first control instruction is the same as the fixed format of the first instruction type. If they are the same, the first electronic device sends the first control instruction to the first vehicle. If they are not the same, the first electronic device can integrate the first control instruction according to the fixed format of the first instruction type to obtain a third control instruction. The instruction type of the third control instruction is the first instruction type, and the format of the third control instruction meets 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.
[0009] 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 where the version number of the fourth vehicle control instruction is the same as the version number of the first vehicle control instruction, the first control instruction is legal, and the first electronic device can send the first control instruction to the first vehicle. If the version number of the fourth vehicle control instruction is different from the version number of the first vehicle control instruction, the first control instruction is illegal, and the first electronic device does not send the first control instruction to the first vehicle.
[0010] 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.
[0011] In combination with the first aspect, in a possible implementation manner, the first electronic device is further used to determine that the first digital car key and the second digital car key are of the same key type.
[0012] 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.
[0013] The first electronic device can determine the key information of the second digital car key based on the vehicle information of the first vehicle. The first electronic device then determines whether 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. Only when the key types of the first digital car key and the second digital car key are the same, can the second electronic device control the first vehicle based on the digital car key through the first electronic device, thereby improving the safety of vehicle control.
[0014] In combination with the first aspect, in a possible implementation method, 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.
[0015] 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 vehicle key based on the device information of the first electronic device, and decrypt the encrypted first control instruction based on the second digital vehicle key to obtain the first control instruction, and then execute the first operation based on the first control instruction.
[0016] In this way, when the first electronic device determines that the first electronic device and the second electronic device have simultaneously applied for the digital car key of the first vehicle, the first electronic device can encrypt the first control instruction based on the second digital car 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, the security of transmitting control instructions between the device and the vehicle is improved. On the other hand, the security of the device to the vehicle is also improved.
[0017] In combination with the first aspect, in a possible implementation, a first user account is logged in to the first electronic device, 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.
[0018] In this way, if the user account logged in on the first electronic device and the second electronic device is the same, the first electronic device and the second electronic device can be identified as multiple devices of the same user, and the multiple devices of the same user are connected in a trusted manner. For example, the second electronic device can be a watch or bracelet of the first user, and the first electronic device can be a mobile phone of the first user.
[0019] 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, then it can be determined that the first electronic device and the second electronic device can be multiple devices in a family group, and multiple devices in a family group can also be trusted connections. The first electronic device and the second electronic device can be multiple devices of the same user or multiple devices of different users.
[0020] 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.
[0021] In a possible implementation, the second electronic device is also used to display a QR code; the first electronic device is also used to scan the QR code through a camera to establish a trusted connection with the second electronic device. In this way, when the second electronic device cannot log in to the user account, the first electronic device and the second electronic device can establish a trusted connection by scanning the QR code. The first electronic device and the second electronic device can be multiple devices of the same user or multiple devices of different users. Exemplarily, the second electronic device can be a watch or a bracelet, and the first electronic device can be a mobile phone.
[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 combination with the first aspect, in a possible implementation, the first electronic device is further used to: display a first user interface, in which a first option is displayed; receive and send a request to establish a trusted connection to the second electronic device in response to a second user operation on the first option; the second electronic device is further used to: in response to the request to establish a trusted connection, display a first prompt message, 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: in response to the message confirming the establishment of a trusted connection, establish a trusted connection with the second electronic device.
[0024] Exemplarily, the first electronic device and the second electronic device may be multiple devices of different users. 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, the first electronic device and the second electronic device may establish a trusted relationship by actively sharing. In this way, a trusted connection may be established between devices of different users, thereby enabling devices of different users to collaboratively control the first vehicle based on a digital car key.
[0025] 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, and the relationship between the two devices can also be determined to be untrusted. The two devices still need to establish a trusted connection by actively establishing a trusted relationship.
[0026] In combination with the first aspect, in a possible implementation, the first electronic device is specifically used to generate a first random number in response to a message confirming the establishment of an association relationship, and send the first random number to the second electronic device; the second electronic device is further used to: generate a second random number in response to receiving the first random number sent by the first electronic device, and send the second random number to the first electronic device; generate a first trusted credential based on the first random number and the second random number. The first electronic device is specifically used to generate a second trusted credential based on the first random number and the second random number.
[0027] 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, and 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 they save.
[0028] 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.
[0029] Optionally, when the second electronic device needs to control the first vehicle through the first electronic device based on the digital car key, the first electronic device determines that it is not in a trusted connection with the first electronic device, and the first electronic device can 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 based on the digital car key. With the user's confirmation, the first electronic device and the second electronic device can establish a trusted connection in the above manner.
[0030] Optionally, the second electronic device is further used 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. When 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 through the second communication connection, thereby improving the safety of the device to the vehicle.
[0031] 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 duration of storing the second trusted credential exceeds the first duration; the second electronic device is further used to delete the first trusted credential after the duration of storing the first trusted credential exceeds the first duration.
[0032] In this way, the trusted credentials stored in the electronic device have a certain time validity. After exceeding the first time period, the first electronic device and the second electronic device can delete the trusted credentials stored respectively, so as to improve the credibility of the trusted connection between the first electronic device and the second electronic device.
[0033] In combination with the first aspect, in a possible implementation, the system further includes a third electronic device, in which a third digital car key of the first vehicle is stored; the first vehicle is further used to send a broadcast, and the broadcast is used for other devices to discover the first vehicle; the third electronic device is further used to: receive and respond to a third user operation, and 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, and send a request to establish a third communication connection to the vehicle; the first vehicle is further used to send a request to disconnect the second communication connection to the first electronic device in response to the third communication connection request;
[0034] 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 via 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.
[0035] In this way, when the vehicle only supports connecting 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, thereby enabling the second electronic device to directly control the first vehicle through the first digital car key.
[0036] 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.
[0037] 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 vehicle 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 may actively initiate a communication connection with the first vehicle based on the saved address of the first vehicle.
[0038] In combination with the first aspect, in a possible implementation, the first electronic device is also 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.
[0039] In this way, the first electronic device can disconnect the communication connection with the first vehicle only after receiving a disconnection operation from the user.
[0040] 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.
[0041] In this way, after the second electronic device controls the first vehicle through the first electronic device, the second electronic device can display prompt information to prompt the user that the second electronic device controls the first vehicle through the first electronic device.
[0042] In combination with the first aspect, in a possible implementation, the first electronic device is further used to send a second message to the second electronic device through the first communication connection 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; 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. In this way, when the vehicle cannot be controlled, the second electronic device can also display a prompt message to prompt the user that the first vehicle cannot be controlled at present.
[0043] In combination with the first aspect, in a possible implementation method, 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.
[0044] In combination with the first aspect, in a possible implementation manner, the first communication connection includes any one of the following: Bluetooth connection, network connection, server connection; and the second communication connection includes a Bluetooth connection.
[0045] In combination with the first aspect, in a possible implementation method, 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.
[0046] In a second aspect, the present application provides a vehicle control 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 a 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 vehicle key is stored in the first electronic device based on the vehicle information of the first vehicle, 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.
[0047] 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 determines that the key type of the first digital vehicle key and the second digital vehicle key are the same.
[0048] 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 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.
[0049] In combination with the second aspect, in a possible implementation method, 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.
[0050] 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.
[0051] 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 establishes a trusted connection with the second electronic device by scanning the QR code displayed on the second electronic device through a camera.
[0052] 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.
[0053] In combination with the second aspect, in a possible implementation, in response to a message confirming the establishment of 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 message confirming the establishment of 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 for 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.
[0054] 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 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.
[0055] In combination with the second aspect, in a 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.
[0056] In combination with the second aspect, in a 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.
[0057] 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.
[0058] In combination with the second aspect, in a possible implementation method, 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.
[0059] In combination with the second aspect, in a possible implementation manner, the first communication connection includes any one of the following: Bluetooth connection, network connection, server connection; and the second communication connection includes a Bluetooth connection.
[0060] 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.
[0061] In a third aspect, the present application provides a vehicle control method, comprising: a second electronic device receives and responds to a first user operation, sends a first control instruction and vehicle information of a first vehicle to the first electronic device through a first communication connection, the first control instruction being used to instruct the first vehicle to perform a first operation, and the vehicle information of the first vehicle being used to send the first control instruction to the first vehicle through a second communication connection between the first electronic device and the first vehicle after the first electronic device determines a 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.
[0062] In combination with the third aspect, in a 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.
[0063] In combination with the third aspect, in a possible implementation, a first user account is logged in to the first electronic device, 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.
[0064] In combination with the third aspect, in a possible implementation method, before the second electronic device sends a first control instruction and vehicle information of the first vehicle to the first electronic device through a first communication connection, the method also 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 scanning it through the camera of the first electronic device.
[0065] 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 a 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 an operation by a second user; 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.
[0066] 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 for 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.
[0067] 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 second trusted credential meets a preset condition.
[0068] In combination with the third aspect, in a 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 a first length of time, the second electronic device deletes the first trusted credential.
[0069] In combination with the third aspect, in a 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, the first message being 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, the third prompt message being 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.
[0070] 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 being sent when the first electronic device has not determined 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, 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.
[0071] In combination with the third aspect, in a possible implementation method, 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.
[0072] In combination with the third aspect, in a possible implementation, the first communication connection includes any one of the following: Bluetooth connection, network connection, server connection; the second communication connection includes a Bluetooth connection.
[0073] In combination with the third aspect, in one possible implementation method, 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.
[0074] 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, 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.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] In a seventh aspect, 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 in any possible implementation of the second aspect.
[0079] In an eighth aspect, the present application provides a computer program product, which, when executed 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.
[0080] 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 repeat them here. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 A schematic diagram of the structure of a communication system 10 is exemplarily shown;
[0082] Figure 2 The structural diagram of another communication system 20 is exemplarily shown;
[0083] Figure 3 The schematic diagram of the structure of the electronic device 200 provided in the embodiment of the present application is exemplarily shown;
[0084] Figure 4 The software structure block diagram of the electronic device 200 is exemplarily shown;
[0085] Figure 5 A schematic structural diagram of a vehicle 100 is shown;
[0086] Figure 6 A schematic diagram of the software structure of a vehicle 100 is shown;
[0087] Figure 7A-7L A schematic diagram showing a user applying for a digital car key of a vehicle 100 in a first application is shown;
[0088] Figure 7M-7P Another schematic diagram showing a user applying for a digital car key of a vehicle 100 in a first application;
[0089] Figure 7Q-Figure 7T A schematic diagram showing another example of a user applying for a digital car key of a vehicle 100 in a first application;
[0090] Figure 7U-7W A schematic diagram showing another example of a user applying for a digital car key of a vehicle 100 in a first application is shown;
[0091] Figure 8A-8E A schematic diagram showing an electronic device 300 controlling a vehicle via an electronic device 200 is shown;
[0092] Fig.9A A flow chart of a method in which an electronic device 300 controls a vehicle 100 via an electronic device 200 is shown;
[0093] Fig. 9B The two-dimensional code image 9001 displayed by the electronic device 300 is shown;
[0094] Figures 10A-10J A schematic diagram showing an electronic device 300 controlling a vehicle via an electronic device 200 is shown;
[0095] Fig.11 A schematic diagram showing another electronic device 300 controlling a vehicle 100 via an electronic device 200 is shown;
[0096] Figure 12A-12B A schematic diagram showing an electronic device 300 controlling a vehicle 100 via a Bluetooth connection;
[0097] Fig.13 A schematic flow chart of a method for the electronic device 300 to establish a Bluetooth connection with the vehicle 100 and to control the vehicle 100 is shown. DETAILED DESCRIPTION
[0098] 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 the appended 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 indication to the contrary 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: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in a "or" relationship.
[0099] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear 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 other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0100] In the embodiments of the present application, the words "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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0101] The term "user interface (UI)" in the following embodiments of the present application refers to the 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 can be recognized by the user. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation 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.
[0102] The following introduces the communication system provided by the embodiments of the present application.
[0103] Figure 1 A schematic structural diagram of a communication system 10 is exemplarily shown.
[0104] like Figure 1 As shown, the communication system 10 may include a vehicle 100 , an electronic device 200 , and an electronic device 300 .
[0105] 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.
[0106] The electronic device 200 and the electronic device 300 may be a mobile phone, a tablet computer, a car computer, a wearable device (such as a smart watch, a smart bracelet, smart glasses), an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of the present application does not limit the specific types of the electronic device 200 and the electronic device 300.
[0107] 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.
[0108] 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.
[0109] After the electronic device 200 and the electronic device 300 establish a trusted relationship, the electronic device 300 can send a control instruction to the vehicle 100 through the electronic device 200. Specifically, the electronic device 200 and the vehicle 100 establish a Bluetooth connection, and the electronic device 300 and the electronic device 200 establish a communication connection. This application does not limit the steps of establishing a Bluetooth connection between the electronic device 200 and the vehicle 100, and the order of the steps of establishing a communication connection between the electronic device 300 and the electronic device 200. The user can operate in the first application on the electronic device 300 to control the vehicle 100 based on the digital car key. Specifically, in response to the user operation, when the electronic device 200 and the electronic device 300 are trusted devices and the electronic device 200 and the electronic device 300 have applied for the digital car key of the vehicle 100, the electronic device 300 can send the first control instruction to the electronic device 200, and the electronic device 300 then sends the first control instruction to the vehicle 100 through the Bluetooth connection between the electronic device 200 and the vehicle 100. The vehicle 100 receives and responds to the first control instruction and executes the first control instruction.
[0110] Not limited to Figure 1 The vehicle 100 , the electronic device 200 , and the electronic device 300 are shown, and the communication system 10 may also include more or fewer devices.
[0111] Figure 2 A schematic structural diagram of another communication system 20 is shown as an example.
[0112] like Figure 2 As shown, the communication system 20 may include a vehicle 100 , an electronic device 200 , and an electronic device 300 .
[0113] 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.
[0114] 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.
[0115] The electronic device 200 establishes a Bluetooth connection with the vehicle 100. After the vehicle 100 establishes a Bluetooth connection with the electronic device 200, the vehicle 100 still periodically / irregularly sends Bluetooth broadcasts. Other electronic devices near the vehicle 100 can receive the Bluetooth broadcasts sent by the vehicle 100. For example, the electronic device 300 receives and responds to the Bluetooth broadcast sent by the vehicle 100 and sends a request to establish a Bluetooth connection to the vehicle 100.
[0116] In response to the Bluetooth connection establishment request, the vehicle 100 sends a Bluetooth connection disconnection request to the electronic device 200. The electronic device 200 receives and disconnects the Bluetooth connection with the vehicle 100 in response to the user operation. 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.
[0117] After the vehicle 100 establishes a Bluetooth connection with the electronic device 300, the user can operate in the first application on the electronic device 300 to initiate a first control instruction to the vehicle 100. When the electronic device 300 has applied for a digital car key for the vehicle 100, the electronic device 300 can send the first control instruction to the vehicle 100 through the Bluetooth connection between the electronic device 300 and the vehicle 100. The vehicle 100 receives and responds to the first control instruction and executes the first control instruction.
[0118] Not limited to Figure 2 The vehicle 100 , the electronic device 200 , and the electronic device 300 are shown, and the communication system 10 may also include more or fewer devices.
[0119] Take the electronic device 200 as an example. Figure 1 or Figure 2 The structure of the electronic equipment in the communication system shown is introduced.
[0120] Figure 3 The structural diagram of the electronic device 200 provided in the embodiment of the present application is exemplarily shown.
[0121] like Figure 3As shown, 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.
[0122] It is to be understood that the structure illustrated in the embodiment of the present application does 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0123] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0124] 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.
[0125] The processor 110 may also be provided with a memory for storing instructions and data. In some examples, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0126] The USB interface 130 is an interface that complies with USB standard specifications, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 200, and can also be used to transmit data between the electronic device 200 and a peripheral device. It can also be used to connect headphones to play audio through the headphones.
[0127] 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 the charging management module 140 charges the battery 142, it can also power the electronic device through the power management module 141.
[0128] 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 power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
[0129] 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.
[0130] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0131] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to 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), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0132] 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 integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0133] The electronic device 200 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
[0134] 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.
[0135] The electronic device 200 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0136] The ISP is used to process data fed back by the camera 193. For example, when taking a photo, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, and the light signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
[0137] 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.
[0138] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0139] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0140] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0141] 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 may 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 may 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.
[0142] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0143] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged 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.
[0144] 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.
[0145] The buttons 190 include a power button, a volume button, etc. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, messages, missed calls, notifications, etc.
[0146] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 200 by inserting it into the SIM card interface 195 or removing it from the SIM card interface 195. The electronic device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The electronic device 200 interacts with the network through the SIM card to implement functions such as calls and data communications. In some examples, the electronic device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
[0147] The electronic device 200 may be equipped with Hongmeng system ( The electronic device 200 may be an electronic device running an operating system such as Windows XP or other operating systems, such as a mobile phone, a tablet computer, a laptop computer, a smart watch, a smart bracelet, etc. The specific type of the electronic device 200 is not limited in the embodiment of the present application.
[0148] The software system of the electronic device 200 may 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.
[0149] Figure 4 The software structure block diagram of the electronic device 200 is exemplarily shown.
[0150] 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. The system is divided into four layers, from top to bottom: application layer, application framework layer, Android Runtime and system library, and kernel layer.
[0151] The application layer can include a series of application packages.
[0152] like Figure 4 As shown, the application package may include applications such as camera, calendar, first application, second application, short message, gallery, call, navigation, etc. Among them, the first application can be used to provide the function of applying for the digital car key of the vehicle 100 and the function of controlling the vehicle 100 based on the function of the digital car key of the vehicle 100. The second application can be a car owner application, which can be an application for managing the vehicle. The corresponding car owner applications of vehicles produced by different manufacturers may be different. The second application can also be used to provide the function of applying for the digital car key of the vehicle 100 by the electronic device and the function of controlling the vehicle 100 based on the function of the digital car key of the vehicle 100.
[0153] The application framework layer provides API and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0154] like Figure 4 As shown, the application framework layer may include a communication module and a digital car key management module.
[0155] The communication module may be used for the electronic device 200 to communicate with other devices. For example, the electronic device 200 may communicate with the electronic device 200 and the vehicle 100 through the communication module. For example, the communication module may be a Bluetooth communication module.
[0156] 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.
[0157] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.
[0158] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0159] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0160] The system library may 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.
[0161] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0162] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0163] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0164] A 2D graphics engine is a drawing engine for 2D drawings.
[0165] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0166] Figure 5 A schematic structural diagram of a vehicle 100 is shown.
[0167] like Figure 5As shown, the vehicle 100 includes: a controller area network (CAN) bus 11, multiple electronic control units (ECU), 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.
[0168] The CAN bus 11 is a serial communication network that supports distributed control or real-time control and is used to connect various components of the vehicle 100. Any component on the CAN bus 11 can monitor all data transmitted on the CAN bus 11. The frames transmitted by the CAN bus 11 may include data frames, remote frames, error frames, and overload frames, and different frames transmit different types of data. In an embodiment of the present application, the CAN bus 11 can be used to transmit data involved in the safety communication method for the vehicle by various components. The specific implementation of the method can refer to the detailed description of the method embodiment below.
[0169] Not limited to the CAN bus 11, in some other embodiments, the various components of the vehicle 100 can also be connected and communicated through other methods. For example, the various components can also communicate through the vehicle Ethernet (Ethernet) local interconnect network (localinterconnect network, LIN) bus, FlexRay and common vehicle network system (media oriented systems, MOST) bus, etc., and the embodiments of the present application do not limit this. The following embodiments are described by each component communicating through the CAN bus 11.
[0170] The ECU is equivalent to the processor or brain of the vehicle 100, and is used to instruct the corresponding components to perform corresponding actions according to the instructions obtained from the CAN bus 11 or the operation input by the user. The ECU can be composed of a security chip, a microcontroller unit (MCU), a random access memory (RAM), a read-only memory (ROM), an input / output interface (I / O), an analog / digital converter (A / D converter), and large-scale integrated circuits such as input, output, shaping, and driving.
[0171] There are many types of ECUs, and different types of ECUs can be used to achieve different functions.
[0172] 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 antilock brake system (ABS) ECU 125 , and the like.
[0173] The engine ECU 121 is used to manage the engine and coordinate the various functions of the engine, for example, it can be used to start the engine, shut down the engine, etc. The engine is a device that provides power to the vehicle 100. The 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 convert electrical energy into mechanical energy and output power to the outside. The engine components can include two major mechanisms, the crank-connecting rod mechanism and the valve mechanism, as well as five major systems such as cooling, lubrication, ignition, energy supply, and starting system. The main components of the engine are the cylinder block, cylinder head, piston, piston pin, connecting rod, crankshaft, flywheel, etc.
[0174] The T-box ECU 122 is used to manage the T-box 14 .
[0175] T-box 14 is mainly responsible for communicating with the Internet, providing a remote communication interface for the vehicle 100, and providing services including navigation, entertainment, driving data collection, driving trajectory 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, road rescue, abnormal reminders, etc.
[0176] T-box 14 can be used to communicate with the telematics service provider (TSP) and the user (such as the driver) side electronic device (such as the electronic device 200) to realize the vehicle status display and control on the electronic device 200. When the user sends a control command through the vehicle management application on the electronic device 200, TSP will send a request instruction to T-box 14. After obtaining the control command, T-box 14 sends a control message through the CAN bus and realizes the control of the vehicle 100, and finally feeds back the operation result to the vehicle management application on the user side electronic device 200. In other words, the data read by T-box 14 through the CAN bus 11, such as vehicle condition report, driving report, fuel consumption statistics, violation query, location trajectory, driving behavior and other data, can be transmitted to the TSP background system through the network, and forwarded by the TSP background system to the user side electronic device 200 for the user to view.
[0177] The T-box 14 may specifically include a communication module and a display screen.
[0178] 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 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 future 6G and other communication technologies.
[0179] The communication module can establish a connection and communicate with other devices such as servers, user-side electronic devices, etc. through the vehicle to everything (V2X) communication technology (cellular V2X, C-V2X) based on the cellular network. C-V2X may include, for example, V2X (LTE-V2X) based on long term evolution (LTE), 5G-V2X, etc.
[0180] 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 refer to the detailed description of the subsequent method embodiments.
[0181] 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 a key to the electronic device 200, and can also receive data encrypted using a key sent by the electronic device 200. The communication process between the communication module and the electronic device 200 can refer to the detailed description of the subsequent method embodiment.
[0182] 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 conditions, and may also include a head up 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, or a display screen arranged above the seat, or a HUD, etc., which is not limited here. The user interface displayed on the display screen in the vehicle 100 can be specifically referred to the detailed description of the subsequent embodiments, which will not be repeated here.
[0183] 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.
[0184] The transmission ECU 123 is used to manage the transmission.
[0185] The transmission 15 is a mechanism that can be used to change the speed and torque of the engine. It can change the transmission ratio of the output shaft and the input shaft in a fixed or step-by-step manner. The components of the transmission 15 may include a speed change transmission mechanism, an operating mechanism, and a power output mechanism. The main function of the speed change transmission mechanism is to change the value and direction of the torque and speed; the main function of the operating mechanism is to control the transmission mechanism to achieve the change of the transmission ratio of the transmission, that is, to achieve gear shifting, so as to achieve speed and torque change.
[0186] The drive recorder ECU 124 is used to manage the drive recorder 16 .
[0187] The components of the driving recorder 16 may include a host, a vehicle speed sensor, data analysis software, etc. The driving recorder 16 refers to an instrument that records images and sounds of the vehicle during driving, including relevant information such as driving time, speed, and location. In the embodiment of the present application, when the vehicle is driving, the vehicle speed sensor collects the wheel speed and sends the vehicle speed information to the driving recorder 16 via the CAN bus.
[0188] The ABS ECU 125 is used to manage the ABS 17 .
[0189] ABS17 automatically controls the braking force when the vehicle is braking, so that the wheels are not locked and are in a rolling and sliding state, so as to ensure that the adhesion between the wheels and the ground is at the maximum. During the braking process, when the electronic control device determines that a wheel is tending to lock based on the wheel speed signal input by the wheel speed sensor, the ABS enters the anti-lock brake pressure adjustment process.
[0190] The sensor system 18 may include: an acceleration sensor, a vehicle speed sensor, a vibration sensor, a gyroscope sensor, a radar sensor, a signal transmitter, a signal receiver, etc. The acceleration sensor and the vehicle speed sensor are used to detect the speed of the vehicle 100. The vibration sensor can be set under the seat, the seat belt, the seat back, the operation panel, the airbag or other positions to detect whether the vehicle 100 is hit and the user's position. The gyroscope sensor can be used to determine the motion posture of the vehicle 100. The radar sensor may include a laser radar, an ultrasonic radar, a millimeter wave radar, etc. The radar sensor, the signal transmitter and the signal receiver can be used to detect the user's position.
[0191] The camera system 19 may include multiple cameras, which are used to capture static images or videos. The cameras in the camera system 19 can be set in front of the vehicle, behind the vehicle, on the side, inside the vehicle, etc., to facilitate the realization of functions such as assisted driving, driving recording, panoramic view, and in-vehicle monitoring.
[0192] 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 automatic driving stage.
[0193] The microphone 20, also called 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 make a sound by approaching the microphone 20 with his mouth 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 a noise reduction function. 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 a directional recording function, etc.
[0194] 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.
[0195] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the vehicle system. The vehicle 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0196] Figure 6 A schematic diagram of the software structure of a vehicle 100 is shown.
[0197] like Figure 6 As shown, 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, etc.
[0198] 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. Exemplarily, 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, respectively, and communicate with the electronic device 200 and the electronic device 300, respectively, based on the Bluetooth connection.
[0199] The control module can be used to control the vehicle 100. For example, the control module can control the vehicle 100 to open / close the locks, open / close the trunk, open / close the windows, start / stop the engine, etc.
[0200] 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.
[0201] 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.
[0202] 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.
[0203] First, it is introduced how the electronic device applies for the digital car key of the vehicle 100.
[0204] The user may apply for the digital car key of the vehicle 100 in the first application, the user may apply for the digital car key of the vehicle 100 in the second application, or the user may apply for the digital car key of the vehicle 100 on the vehicle.
[0205] Among them, the second application has established a binding relationship with the vehicle 100, and the vehicle information of the vehicle 100 is stored in the second application.
[0206] Figure 7A-7L A schematic diagram showing a user applying for a digital car key of a vehicle 100 in a first application is shown.
[0207] exist Figure 7A-7L In the process, 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.
[0208] Fig. 7A The main interface 710 of the electronic device 200 is shown. The main interface 710 includes icons of multiple applications, such as an icon of a weather application, an icon of a Honor Store application, an icon of a smart home application, an icon of a sports and health application, an icon of a memo application, an icon of a calendar application, an icon of a second application, an icon of a first application, an icon of a camera application, an icon of an address book application, an icon of a phone application, and an icon of a message application, etc. The main interface 710 also shows a battery indicator, a weather indicator, a date indicator, a network signal indicator, a page indicator, etc.
[0209] In some embodiments, the second application may be referred to as the owner application.
[0210] like Fig. 7A As shown, the electronic device 200 may receive an input operation (eg, a single click) from a user on the icon of the first application, and in response to the input operation from the user, the electronic device 200 may display Figure 7B User interface 720 is shown. User interface 720 is the main interface of the first application.
[0211] like Figure 7B As shown, the user interface 720 shows multiple options, such as payment options, ride options, door opening options, card package options, key options, transportation options, discount gas options, my bill options, life information options, etc. Different options may correspond to different functional characteristics.
[0212] For example, Figure 7B As shown, the electronic device 200 may receive a user input operation (eg, a single click) for a key option in the user interface 720, and in response to the user input operation, the electronic device 200 may display Figure 7C User interface 730 is shown.
[0213] like Figure 7CAs shown, multiple key options and my key options are shown in the user interface 730, and the multiple key options may be, for example, an access card option, a car key option, a door lock key option, a luggage key option, etc. The user can set digital keys for different objects in the user interface 730. For example, the user can set the digital key of the door through the access card option. The user can set the digital key of the vehicle through the car key option. The user can set the digital key of the door lock through the door lock key option. The user can set the digital key of the luggage through the luggage key option. The user can view the digital keys of different objects set by the user through the my key option.
[0214] For example, Figure 7C As shown, the electronic device 200 may receive an input operation (eg, a click) from a user for the My Keys option in the user interface 730. In response to the input operation from the user, the electronic device 200 may display Fig.7D User interface 740 is shown.
[0215] like Fig.7D As shown, the user has not set a digital key yet. The user can add digital keys of different objects through the add option in the user interface 740.
[0216] For example, Fig.7D As shown, the electronic device 200 may receive an input operation (eg, a click) from a user for adding an option in the user interface 740. In response to the input operation from the user, the electronic device 200 may display Fig. 7E User interface 750 is shown. 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, digital key setting options for luggage, etc.
[0217] like Fig. 7E As shown, the electronic device 200 may receive an input operation (eg, a single click) from a user for a digital key setting option of the vehicle in the user interface 750. In response to the input operation from the user, the electronic device 200 may display Figure 7F User interface 760 is shown. User interface 760 shows digital key setting options for different brands of cars, for example, digital key setting options for AA cars, digital key setting options for BB cars, digital key setting options for CC cars, digital key setting options for DD cars, digital key setting options for EE cars, digital key setting options for FF cars, and digital key setting options for GG cars.
[0218] like Figure 7FAs shown, the electronic device 200 may receive an input operation (eg, a single click) from a user for a digital key setting option for an AA vehicle in the user interface 760. In response to the input operation from the user, the electronic device 200 may display Figure 7G The user interface 770 shown. The user interface 770 may include a create digital car key option, through which the user can create a digital car key for the vehicle 100.
[0219] Before the first application in the electronic device 200 obtains the digital car key of the vehicle 100, it needs to obtain the vehicle information of the vehicle 100, and obtain the digital car 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 code (or vehicle identification), vehicle model, vehicle license plate number, vehicle manufacturer, vehicle production date, vehicle engine model, etc.
[0220] For example, Figure 7G As shown, the electronic device 200 may receive an input operation (eg, a click) from a user for creating a digital car key option in the user interface 770. In response to the user's input operation, the electronic device 200 may display Figure 7H User interface 7710 is shown. User interface 7710 shows a prompt message “Loading” to prompt the user that the electronic device 200 is acquiring the digital car key of the vehicle 100.
[0221] In one embodiment, the first application can jump to the interface of the second application, for example, the electronic device 200 can display Fig.7I The user interface 780 shown in the figure may be the main interface of the second application. The user interface 780 may include the driving information of the vehicle 100. The name of the vehicle 100 may be "AA M7". For example, the driving information of the vehicle 100 may include a total driving mileage of 1100 km, a remaining battery of the vehicle 100 that can still travel 200 km, and a remaining fuel of the vehicle 100 that can still travel 900 km. The user interface 780 also shows a plurality of options, such as an option to create an activation code, an option to add a digital car key to a wallet, etc.
[0222] For example, Fig.7I As shown, the electronic device 200 can receive a user input operation (such as a single click) for adding 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.
[0223] Optionally, in response to the user's input operation for adding a digital car key to the wallet, the electronic device 200 may display Figure 7J The prompt message "Applying for the digital car key of the vehicle 100, please wait" is used to prompt the user that the digital car key of the vehicle 100 is being applied for. The electronic device 200 may not display Figure 7J The prompt information shown is not limited in this application.
[0224] In other embodiments, the electronic device 200 displays Fig.7I After the user interface 780 shown, the electronic device 200 may not receive the user's input operation for adding 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. After that, the electronic device 200 jumps to the first application and displays Figure 7J The prompt information shown enables the first application to obtain vehicle information of the vehicle 100 .
[0225] 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) in the second application for storing and obtaining vehicle information, 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.
[0226] After the first application obtains the vehicle information of the vehicle 100, the electronic device 200 can send the vehicle information of the vehicle 100 and the device information of the electronic device 200 to the first application server through the first application, and the first application server then sends the vehicle information of the vehicle 100 to the vehicle server. After receiving the vehicle information of the vehicle 100 sent by the first application server, the vehicle server can generate a second digital car key for the vehicle 100, and bind and store the device information of the electronic device 200 and the second digital car key.
[0227] 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 sends the second digital car key to the first application.
[0228] After the first application obtains the second digital car key, the first application can display Figure 7KThe user interface 790 shown, in which a card 7401 is displayed. On the card 7401, the vehicle identification "AITO M7" is shown to prompt the user that the card 7401 corresponds to the second digital car key of the vehicle 100. Multiple control options are also shown on the card 7401, such as the vehicle lock opening / closing option, the trunk opening / closing option, the window opening / closing option, the engine opening / closing option, etc. Only some of the 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) performed by the user on the card 7401 to display other control options that are not shown. The user interface 790 also shows an identity authentication option and a credibility authentication option, and the user can actively establish a trusted relationship with other devices through the credibility authentication option.
[0229] Optionally, after the first application obtains the second digital car key, the first application can send a message to the second application to indicate to the second application 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 can display Figure 7L the user interface 7990 shown. The user interface 7990 includes a card 7911, and the card 7911 can include a viewing option and a deletion option. Among them, the user can view the detailed information of the second digital car key, such as the application time, the valid duration, etc., through the viewing option. The user can delete the second digital car key stored on the electronic device 200 through the deletion option.
[0230] Figure 7M-7P Shows another schematic diagram of the user operating in the first application to apply for the digital car key of the vehicle 100.
[0231] In Figure 7M-7P the first application does not need to obtain the vehicle information of the vehicle 100 from the second application. However, it is necessary to obtain an activation code from the second application, and this activation code is used for the first application to apply for the digital car key of the vehicle 100.
[0232] Exemplarily, as Figure 7M shown, the electronic device 200 can receive an input operation (such as a click) from the user on the application icon of the second application in the user interface 710. In response to the user's input operation, the electronic device 200 can display Figure 7N the user interface 780 shown. The user interface 780 can be the main interface of the second application.
[0233] As Figure 7NAs shown, the electronic device 200 can receive a user input operation for the option of creating an activation code in the user interface 780. In response to the user input operation, in one possible implementation, the second application 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 second application, and the second application can obtain the activation code. In other possible implementations, the second application can randomly generate an activation code and then send the activation code to the vehicle server.
[0234] After the second application obtains the activation code, the electronic device 200 can display Fig.7O Window 7701 is shown. Activation code “123456” is shown in window 7701. The user can enter the activation code in the first application, so that the first application can apply for the digital car key of the vehicle 100 based on the activation code.
[0235] refer to Figure 7A-7D In the description of the embodiment, the electronic device 200 receives and responds to the user's input operation (such as a click) for adding an option in the user interface 740. In response to the user's input operation, the electronic device 200 may display Figure 7P As shown in window 7702 , the user can enter the activation code generated by the second application in window 7702 .
[0236] 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., 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 after generating the second digital car key, the vehicle server sends the second digital car key and the vehicle information of the vehicle 100 to the first application. The first application may save the second digital car key and the vehicle information of the vehicle 100.
[0237] After the first application obtains the second digital car key, the first application can display Figure 7K The user interface 790 shown. Optionally, the electronic device 200 may also display the Figure 7L The user interface 7990 shown in the present application will not be described in detail here.
[0238] Figure 7Q-Figure 7T A schematic diagram showing another example of a user applying for a digital car key of a vehicle 100 within a first application.
[0239] exist Figure 7Q-Figure 7T In the embodiment, the first application does not need to obtain the vehicle information of the vehicle 100 from the second application. Figure 7Q-Figure 7T Example and Figure 7M-7P The difference between the embodiments is that Figure 7Q-Figure 7T In the embodiment, the first application obtains the activation code from the vehicle 100. Figure 7M-7P In the embodiment, the first application obtains the activation code from the second application.
[0240] For example, Figure 7Q The user interface 7910 displayed by the vehicle 100 is exemplarily shown. The user interface 7910 may be provided by a vehicle management application in the vehicle 100. The user interface 7910 may be displayed after the vehicle 100 receives a user operation on a vehicle management application icon in the main interface, or receives a user operation on a user avatar in the main interface, or receives other user operations.
[0241] Displayed in the user interface 7910 are: 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.
[0242] 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 referred to as cellular signals), and the like.
[0243] The login avatar 402 is the avatar corresponding to the user account currently logged in to the vehicle 100 . Figure 7Q A prompt message is also displayed on the login avatar 402, indicating that the current login account is the car owner's account.
[0244] 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.
[0245] 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.
[0246] 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.
[0247] For example, Figure 7Q As shown, the vehicle 100 may receive a user input operation (such as a click) on the control 407, and in response to the user's input operation, the vehicle 100 may display Figure 7R The window shown, Figure 7R The window shown displays the number of devices that have applied for the digital vehicle key of the vehicle 100 and the device IDs. Figure 7R The window shown also displays an activation code creation option. The user can use this activation code creation option to enable the vehicle 100 to generate an activation code.
[0248] like Figure 7R As shown, the vehicle 100 can receive the user's Figure 7R In the window shown, an input operation (e.g., click) is performed to create an activation code option. In response to the user's input operation, in one possible implementation, the vehicle 100 may send an activation code request 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 may obtain the activation code. In other possible implementations, the vehicle 100 may 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 may display Figure 7S The window shown. Figure 7S An activation code 7913 is shown in the window shown, and the activation code 7913 may be "123953". Figure 7S The window also shows a prompt message "Please open the first application on your phone and enter the activation code."
[0249] In some embodiments, in order to ensure the security of the digital car key of the vehicle 100, Figure 7S The activation code 7913 shown in the window shown has a certain time limit and becomes invalid after being displayed for a preset time. After the expiration, the vehicle 100 can actively refresh the activation code and display the refreshed activation code on the display screen, or the vehicle 100 can also prompt the user that the current activation code has expired and prompt the user to refresh and obtain a new activation code.
[0250] After the vehicle 100 generates the activation code 7913, the vehicle 100 may send the activation code 7913 to the vehicle server.
[0251] refer to Figure 7A-7DIn the description of the embodiment, the electronic device 200 receives and responds to the user's input operation (such as a click) for adding an option in the user interface 740. In response to the user's input operation, the electronic device 200 may display Figure 7P As shown in window 7702 , the user can enter the activation code generated by vehicle 100 in window 7702 .
[0252] 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., 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 after generating the second digital car key, the vehicle server sends the second digital car key and the vehicle information of the vehicle 100 to the first application. The first application may save the second digital car key and the vehicle information of the vehicle 100.
[0253] After the first application obtains the second digital car key, the first application can display Figure 7K The user interface 790 shown. Optionally, the electronic device 200 may also display the Figure 7L The user interface 7990 shown in the present application will not be described in detail here.
[0254] 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 Figure 7T The prompt information 7914 shown may include "Lisa has applied for the digital car key of the vehicle AA M7" to prompt the user that the electronic device 200 has successfully applied for the digital car key of the vehicle 100. The electronic device 200 may also not display Figure 7T The prompt information 7914 shown is not limited in this application.
[0255] Optionally, in other implementations, the user may not enter the activation code 7913 in the first application. The user may turn on the near field communication (NFC) function of the electronic device 200 and bring the electronic device 200 close to the NFC sensing area of the vehicle 100. The vehicle 100 may 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 is not limited in this application.
[0256] Figure 7U-7W Another schematic diagram is shown of a user applying for a digital car key of a vehicle 100 within a first application.
[0257] exist Figure 7U-7W In the embodiment, the first application does not need to obtain the vehicle information of the vehicle 100 from the second application, and the first application does not need the user to enter an activation code. The first application can prompt the user to enter the user's identity information, and the user's identity information is bound to the vehicle information of the vehicle. The first application can apply for a digital car key of the vehicle 100 based on the user's identity information entered by the user.
[0258] The user's identity information includes but is not limited to any of the following: mobile phone number, ID card number, etc. The present application embodiment uses the mobile phone number as an example for description. The user's identity information may also be other information, which is not limited in the present application.
[0259] Exemplary, reference Figure 7A-7D In the description of the embodiment, the electronic device 200 receives and responds to the user's input operation (such as a click) for adding an option in the user interface 740. In response to the user's input operation, the electronic device 200 may display Figure 7U In the window 7904 shown, the user can enter the user's mobile phone number in the window 7702.
[0260] like Figure 7V As shown, 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.
[0261] Optionally, after the electronic device 200 receives the user's input operation for the continue option in the 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 will then send the user's mobile phone number to the vehicle server.
[0262] Optionally, after the electronic device 200 receives the user's input operation for the continue option in the window 7701, the electronic device 200 can verify the user's identity, and the verification method includes but is not limited to: face recognition, fingerprint recognition, and voiceprint recognition. After the identity verification is passed, the first application sends the user's mobile phone number to the vehicle server.
[0263] 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.
[0264] 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.
[0265] If there are more than one vehicles bound to the user's mobile phone number, the vehicle server may send the identifiers of multiple vehicles to the first application, and the user may select a target vehicle from the multiple vehicles. For example, if the number of vehicles bound to the user's mobile phone number is greater than or equal to 2, the electronic device 200 may display Figure 7W The prompt information 7905 shown may include vehicle identifications of multiple vehicles, such as the vehicle identification of vehicle "Wenjie M5" and the vehicle identification of vehicle "Wenjie M7". The user may select a vehicle for which a digital car key is currently required from the multiple vehicles. For example, the vehicle identification of vehicle 100 may be "Wenjie M7".
[0266] For example, Figure 7W As shown, the electronic device 200 can receive the user's selection operation for the vehicle identification of "Ask the world M7", and then the electronic device 200 receives the user's input operation (such as a single click) for the confirmation option in the prompt information 7905. In response to the user's input operation, the first application sends the vehicle identification of the vehicle 100 to the vehicle server, and the vehicle server can obtain the vehicle information of the vehicle 100 based on the vehicle identification of the vehicle 100. The vehicle server generates a second digital car key for the vehicle 100, and sends the second digital car key and the vehicle information of the vehicle 100 to the first application.
[0267] After the first application obtains the second digital car key, the first application can display Figure 7K The user interface 790 shown. Optionally, the electronic device 200 may also display the Figure 7L The user interface 7990 shown in the present application will not be described in detail here.
[0268] In other embodiments, the user may also apply for a digital key of the vehicle 100 in the second application. Figure 7M-Figure 7N In the description of the embodiment, the electronic device 200 can receive user operations and display Figure 7N The user interface 780 shown. For example, Fig.7I As shown, the electronic device 200 can receive an input operation (e.g., a click) from a user for adding a digital car key to a wallet option in the user interface 780. In response to the user's input operation, the second application can obtain 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, displaying 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. Figure 7J-7L The description in the embodiments will not be repeated in this application.
[0269] 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, and this application does not limit this.
[0270] Optionally, this application is described by taking how the electronic device 200 applies for the digital car key of the vehicle 100 as an example. The electronic device 300 or other devices may also be Figure 7A-7U Apply for the digital car key of vehicle 100 in this way.
[0271] 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.
[0272] Optionally, in some embodiments, the electronic device 300 may only rely on the second application according to Figure 7A-7W The digital car key of the vehicle 100 is obtained by applying for the digital car key of the vehicle 100. This application does not limit this.
[0273] When the electronic device 200 or the electronic device 300 obtains the digital car key of the vehicle 100, the electronic device 200 or the electronic device 300 can receive the user's operation in the first application and control the vehicle 100 based on the digital car key of the vehicle 100. The electronic device 200 or the electronic device 300 can also receive the user's operation in the second application and control the vehicle 100 based on the digital car key of the vehicle 100. The following embodiments of the present application are described by taking the example of the user operating the digital car key of the vehicle 100 in the first application to control the vehicle 100.
[0274] Next, the vehicle control method provided by this application is described in detail in combination with application scenarios.
[0275] Multiple devices of the same user control the vehicle 100
[0276] In some embodiments, a user may have multiple devices, for example, user A has both electronic device 200 and electronic device 300. User A's electronic device 200 and electronic device 300 have established a trusted relationship, and a communication connection may also be established between electronic device 300 and electronic device 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 cannot continue to establish a Bluetooth connection with vehicle 100. In the case where electronic device 200 is not disconnected from vehicle 100, user A can operate on electronic device 300 to initiate a first control instruction to vehicle 100. In the case where electronic device 200 and electronic device 300 have established a communication connection, electronic device 200 and electronic device 300 are trusted devices, and electronic device 200 and electronic device 300 have both applied for the digital car key of vehicle 100, electronic device 300 can send the first control instruction to electronic device 200, and electronic device 200 then sends the first control instruction to vehicle 100 via Bluetooth connection. Vehicle 100 receives and responds to the first control instruction and executes the first control instruction. 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.
[0277] Exemplarily, when the electronic device 200 is the mobile phone of user A and the electronic device 300 is the watch of user A, the mobile phone of user A and the watch of user A have established a trusted relationship. When user A approaches the vehicle 100 and needs to control the vehicle 100, the mobile phone of user A has established a Bluetooth connection with the vehicle 100, and the mobile phone of user A is placed in the backpack of user A and is inconvenient to take out. Then at this time, user A can operate on the watch worn on his wrist to initiate 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 the mobile phone of user A and the vehicle 100. In this way, the convenience of multiple devices of the same user to control the vehicle is greatly improved.
[0278] Figure 8A-8E A schematic diagram showing an electronic device 300 controlling a vehicle via an electronic device 200 is shown.
[0279] Exemplarily, the electronic device 200 may be a mobile phone, and the electronic device 300 may be a watch.
[0280] The 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 the same as or similar to the first application or the second application in the electronic device.
[0281] The electronic device 300 can receive an input operation (such as a click) on the application icon of the third application by the user. In response to the user's input operation, the electronic device 300 can display Fig. 8A the user interface 810 shown.
[0282] When the electronic device 300 also applies for the digital vehicle key of the vehicle 100, a card corresponding to the first digital vehicle 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 the card is the one corresponding to the digital vehicle key of the vehicle 100. Multiple control options are also shown on the card, such as the vehicle lock opening / closing option, the trunk opening / closing option, the window opening / closing option, the engine opening / closing option, etc. Only some of the control options of the vehicle 100 are shown on the card. The electronic device 200 can receive a sliding operation (such as a right or left sliding operation) by the user on the card 7401 and display other control options that are not shown.
[0283] In some embodiments, the electronic device 300 can obtain the first digital vehicle key of the vehicle 100 in the manner of Figure 7A-Figure 7O .
[0284] In other embodiments, the electronic device 300 has established a trusted relationship with the electronic device 200. After the electronic device 200 obtains the first digital vehicle key of the vehicle 100 in the manner of Figure 7A-Figure 7O , the electronic device 200 can synchronize and save the first digital vehicle key of the vehicle 100 on the electronic device 300. The electronic device 200 does not need to obtain the first digital vehicle key of the vehicle 100 in the manner of Figure 7A-Figure 7O anymore, so as to save the operation of the electronic device 300.
[0285] Exemplarily, as Fig. 8A shown, the electronic device 300 can receive an input operation (such as a click) on the vehicle lock opening / closing option in the user interface 810 by the user. 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 vehicle key, and the first control instruction to the electronic device 200.
[0286] Optionally, in some embodiments, after the electronic device 300 receives the user's input operation for the vehicle lock opening / closing option in the user interface 810, the electronic device 300 can verify the user's identity, and then perform subsequent operations if the identity verification is passed, so as to improve the security of the electronic device 300 controlling the vehicle 100 through the digital car key.
[0287] Optionally, before the user operates in the third application to control the vehicle 100 through the digital car key, the electronic device 300 may receive a user operation to turn on the identity authentication function in the third application. After the identity authentication function is turned on, the electronic device 300 may verify the user's identity after receiving the user's input operation for the car lock on / off option in the user interface 810. In other embodiments, if the identity authentication function in the third application is turned off, the electronic device 300 may not verify the user's identity after receiving the user's input operation for the car lock on / off option in the user interface 810.
[0288] Optionally, the electronic device 300 may also need to verify the identity of the user by default, which is not limited in this application.
[0289] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0290] After receiving 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 can determine whether the electronic device 200 has applied for the digital car key of the vehicle 100 based on the vehicle information of the vehicle 100, for example, the electronic device 200 determines that the electronic device 200 has applied for the second digital car key of the vehicle 100. In the case where the key type of the second digital car key and the first digital car key is the same, the electronic device 200 can encrypt the first control instruction based on the second digital car key to obtain the encrypted first control instruction, and the electronic device 200 then sends the encrypted first control instruction and the device information of the electronic device 200 to the vehicle 100 through the Bluetooth connection. After receiving the encrypted first control instruction and the device information of the electronic device 200, the vehicle 100 can obtain the second digital car key based on the device information of the electronic device 200, decrypt the encrypted first control instruction based on the second digital car key, obtain the first control instruction, and execute the first control instruction, for example, unlock the vehicle 100. In this way, the electronic device 300 controls the vehicle 100 through the electronic device 200.
[0291] Optionally, 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 may also verify the user's identity, and perform subsequent operations if the identity verification is passed, so as to improve the security of the electronic device 200 controlling the vehicle 100 through the digital car key.
[0292] Optionally, before 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 may receive a user operation to turn on the identity authentication function. After the identity authentication function is turned on, 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 car key, and the first control instruction sent by the electronic device 300. In other embodiments, if the identity authentication function is turned off, 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 car key, and the first control instruction sent by the electronic device 300.
[0293] Optionally, the electronic device 200 may also need to verify the identity of the user by default, which is not limited in this application.
[0294] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0295] 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, when 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.
[0296] 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.
[0297] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may display Figure 8B The prompt information 8101 shown may include the text "The Huawei M7 has been unlocked through "Lisa's HUA WEI P60"". The prompt information 8101 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 200.
[0298] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display Figure 8C User interface 820 is shown. User interface 820 is similar to user interface 810, except that electronic device 300 changes the display form of the vehicle lock on / off option to prompt the user that the vehicle 100 is currently unlocked.
[0299] In some embodiments, after the electronic device 300 can receive the user's input operation for the car lock opening / closing option in the user interface 810, when the electronic device 300 and the vehicle 100 have established a Bluetooth connection, the electronic device 300 can directly control the vehicle 100 based on the first digital car key obtained by the application. Specifically, the electronic device 300 can encrypt the first control instruction based on the first digital car key to obtain an encrypted second control instruction, and send the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100 through the Bluetooth connection. After the vehicle 100 receives the encrypted second control instruction and the device information of the electronic device 300, the vehicle 100 can obtain the first digital car key based on the device information of the electronic device 300, and decrypt the encrypted second control instruction based on the first digital car 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 is directly controlled by the first digital car key.
[0300] 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 via the electronic device 300 .
[0301] Optionally, after the electronic device 300 receives the feedback message sent by the vehicle 100, the electronic device 300 may display Fig.8D The prompt information 8102 shown may include the text “The WATCH GT 3 of Lisa has been unlocked”. The prompt information 8102 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 300.
[0302] Optional, Fig.8D The prompt information shown is the same as Figure 8C The prompt information shown is different, so as to prompt the user which device the electronic device 300 uses to control the vehicle 100. In other embodiments, Fig.8D The prompt information shown is the same as Figure 8C The prompt information shown may also be the same, and this application does not limit this.
[0303] In some embodiments, after the electronic device 300 receives the user's input operation for the vehicle lock opening / closing option in the user interface 810, the electronic device 300 and the electronic device 200 do not establish a communication connection, and the electronic device 300 cannot control the vehicle 100 through the electronic device 200. Fig. 8E The prompt message 8103 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0304] 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, and the feedback message is used to indicate that the vehicle 100 cannot be controlled at present. Exemplarily, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display Fig. 8E The prompt message 8103 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0305] Fig.9A A flow chart of a method in which the electronic device 300 controls the vehicle 100 via the electronic device 200 is shown.
[0306] 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.
[0307] S901. The electronic device 300 and the electronic device 200 establish a trusted communication connection.
[0308] Exemplarily, the electronic device 300 may be a watch, and the electronic device 200 may be a mobile phone.
[0309] The electronic device 300 may establish a trusted relationship with the electronic device 200 in the following manners, but not limited to the following.
[0310] Method 1: The electronic device 200 establishes a trusted relationship with the electronic device 300 by scanning a code.
[0311] For example, Fig. 9B As shown, the electronic device 300 can display the QR code image 9001, and the electronic device 200 can scan the QR code image 9001 through a camera to establish a trusted relationship with the electronic device 300.
[0312] Method 2: The electronic device 200 and the electronic device 300 establish a trusted relationship by logging into the same user account.
[0313] When the electronic device 300 and the electronic device 200 are multiple devices of the same user, a first user account is logged into the electronic device 200, and the user can also log into the first account on the electronic device 300, and there is a trusted relationship between the electronic device 200 and the electronic device 300 logged into with the first user account.
[0314] Method three: 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.
[0315] In the case where the electronic device 300 and the electronic device 200 are different users or multiple devices of the same user, a first user account is logged in to the electronic device 200, and a second user account is logged in to the electronic device 300. The first user account and the second user account are different, but an association relationship is established between the first user account and the second user account. For example, if the electronic device 200 and the electronic device 300 are two devices of different family members in a family, then the electronic device 200 and the electronic device 300 are in a trusted relationship.
[0316] Not limited to the above method of determining a trusted relationship, the electronic device 200 and the electronic device 300 may also establish a trusted relationship in other ways, which is not limited in this application.
[0317] 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.
[0318] Optionally, the trust relationship between the electronic device 200 and the electronic device 300 may be authenticated periodically / irregularly. The present 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.
[0319] Optionally, the communication connection between the electronic device 200 and the electronic device 200 may be referred to as a first communication connection. The first communication connection may be any one of a Bluetooth connection, a network connection, or a server connection. The first communication connection may also be other connection modes, which are not limited in this application.
[0320] Exemplarily, when the distance between the position of the electronic device 300 and the position 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 through 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 a possible implementation, the electronic device 300 and the electronic device 200 can send the account ID of the user account logged in on each device to the server, and 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 the electronic device 200 and the electronic device 300 are in a trusted relationship. 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 the two are in a trusted relationship. 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, and 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 are related to each other, the electronic device 200 may determine that the electronic device 200 and the electronic device 300 are in a trusted relationship. The electronic device 200 may send a message to the electronic device 300 to inform the electronic device 300 that the two are in a trusted relationship. 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, and 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 are related to each other, the electronic device 300 may determine that the electronic device 200 and the electronic device 300 are in a trusted relationship. The electronic device 300 may send a message to the electronic device 200 to inform the electronic device 200 that the two are in a trusted relationship.
[0321] Exemplarily, when the distance between the position of the electronic device 300 and the position 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 through the server connection. The electronic device 300 and the electronic device 200 also need to determine whether the two 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, and 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 the electronic device 200 and the electronic device 300 are in a trusted relationship. 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 the two are in a trusted relationship.
[0322] S902 : A Bluetooth connection is established between the electronic device 200 and the vehicle 100 .
[0323] Optionally, if the electronic device 200 has previously established a Bluetooth connection with the vehicle 100 , then when the user approaches the vehicle 100 , the electronic device 200 may automatically establish a Bluetooth connection with the vehicle 100 .
[0324] Exemplarily, 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 modes, which are not limited in this application.
[0325] S903 : The electronic device 300 receives a user operation and controls the vehicle 100 based on the first digital vehicle key.
[0326] Optionally, the user may operate within a third application in the electronic device 300 to control the vehicle 100 based on the digital vehicle key of the vehicle 100 applied for by the electronic device 300.
[0327] Exemplarily, the user operation may be Fig. 8A The user input operation for the vehicle lock on / off option in the user interface 810 is shown.
[0328] 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.
[0329] Optionally, in some embodiments, after the user operates the electronic device 300, the electronic device 300 may verify the user's identity, and perform subsequent operations if the identity verification is passed, so as to improve the security of the electronic device 300 controlling the vehicle 100 through the digital car key.
[0330] Optionally, before the electronic device 300 receives the user operation, the electronic device 300 may receive the user operation to enable the identity authentication function in the third application. After the identity authentication function is enabled, the electronic device 300 may verify the user's identity after receiving the user operation. In other embodiments, if the identity authentication function in the third application is disabled, the electronic device 300 may not verify the user's identity after receiving the user operation.
[0331] Optionally, the electronic device 300 may also need to verify the identity of the user by default, which is not limited in this application.
[0332] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0333] S904 , the electronic device 300 needs to determine whether the electronic device 300 has established a communication connection with the electronic device 200 .
[0334] When 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. When 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.
[0335] 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.
[0336] 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 the first control instruction to the vehicle 100 through the electronic device 300, the electronic device 300 may display Fig. 8E The prompt message 8103 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0337] 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 .
[0338] 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 car key sent by the electronic device 300, the electronic device 200 may also verify the user's identity, and perform subsequent operations if the identity verification is passed, so as to improve the security of the electronic device 200 controlling the vehicle 100 through the digital car key.
[0339] Optionally, before the electronic device 200 receives the vehicle information of the vehicle 100 and the key information of the first digital car key sent by the electronic device 300, the electronic device 200 may receive a user operation to turn on the identity authentication function. After the identity authentication function is turned on, 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 car key sent by the electronic device 300. In other embodiments, if the identity authentication function is turned off, 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 car key sent by the electronic device 300.
[0340] Optionally, the electronic device 200 may also need to verify the identity of the user by default, which is not limited in this application.
[0341] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0342] 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 vehicle key to the electronic device 200.
[0343] 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 of the vehicle 100 .
[0344] 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 of the same vehicle can the electronic device 300 control the vehicle 100 through the electronic device 200.
[0345] 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.
[0346] 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.
[0347] S906 : The electronic device 200 obtains key information of the second digital vehicle key based on the vehicle information of the vehicle 100 .
[0348] When the electronic device 200 can obtain the key information of the second digital car key based on the vehicle information of the vehicle 100, it means that the electronic device 200 has applied for the digital car key of the vehicle 100. That is, the electronic device 300 and the electronic device 200 have applied for the digital car key of the same vehicle.
[0349] When 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.
[0350] 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.
[0351] 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.
[0352] 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 may acquire the key information of the second digital vehicle key based on the vehicle information of the vehicle 100 .
[0353] 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.
[0354] After acquiring the key information of the first digital car key and the key information of the second digital car key, the electronic device 200 needs to determine whether the key type of the first digital car key and the key type of the second digital car key are the same. Only when the key type of the first digital car key and the key type of the second digital car key are the same, can the electronic device 300 control the vehicle 100 through the electronic device 200.
[0355] Optionally, the electronic device 200 also 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.
[0356] 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, both the key type of the first digital car key and the key type of the second digital car key are 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.
[0357] When 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 300 is also unable to control the vehicle 100 through the electronic device 200, and S907-S909 are executed.
[0358] 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.
[0359] It should be noted that S905, S906 and S907 are not limited to being executed after S904, and S905, S906 and S907 can be executed periodically or irregularly. For example, before executing S904, S905, S906 and S907 have been executed, and the electronic device 200 can directly obtain the execution result. 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 directly determines whether the vehicle 100 can be controlled by the electronic device 200 based on the result of 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 may be updated periodically or irregularly.
[0360] Optionally, the electronic device 200 may not execute S907 , and then the electronic device 300 may not send the key information of the first digital vehicle key to the electronic device 200 .
[0361] S908 . The electronic device 200 sends a verification failure message to the electronic device 300 .
[0362] S909. In response to the verification failure message, the electronic device 300 prompts that the operation has failed.
[0363] 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 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.
[0364] For example, after receiving the verification failure message sent by the electronic device 200, the electronic device 300 may display Fig. 8E The prompt message 8103 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0365] S910 , the electronic device 200 sends a verification passed message to the electronic device 300 .
[0366] S911. In response to the verification passed message, the electronic device 300 generates a first control instruction.
[0367] S912 : The electronic device 300 sends the first control instruction to the electronic device 200 .
[0368] 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 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.
[0369] 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.
[0370] 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 legality 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 can display Fig. 8E The prompt message 8103 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0371] 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 car key to the electronic device 200. In this way, in addition to verifying whether the first control instruction is legal, the electronic device 200 also needs to verify whether the vehicle information of the vehicle 100 and the key information of the first digital car 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 car 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 legal.
[0372] S913: The electronic device 200 encrypts the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction.
[0373] Optionally, before executing S913, the electronic device 200 needs to determine whether the first control instruction complies with the digital car key vehicle connection specification standard. It is understandable that the digital car key vehicle connection specification standard specifies the formats of different types of control instructions, for example, the format of the unlocking control instruction is different from the format of the window opening control instruction, so that the vehicle 100 can correctly identify different types of control instructions.
[0374] 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.
[0375] When 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 the vehicle control operation type from the first control instruction, and the electronic device 300 can obtain the third control instruction based on the first vehicle control instruction version number, the vehicle control operation type and the digital car key vehicle connection standard.
[0376] 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 the 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, the vehicle control operation type and the digital car key vehicle connection specification standard.
[0377] 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.
[0378] 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.
[0379] 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 send the encrypted first control instruction and the device information of the electronic device 200 to the vehicle 100 via a Bluetooth connection.
[0380] The device information of the electronic device 200 is used by the vehicle 100 to obtain the second digital vehicle key.
[0381] S915 . The vehicle 100 obtains the second digital vehicle key based on the device information of the electronic device 200 .
[0382] S916. The vehicle 100 decrypts the encrypted first control instruction based on the second digital vehicle key to obtain the first control instruction.
[0383] Optionally, S913 to S916 may not be executed, and the electronic device 200 may only send the first control instruction to the first vehicle.
[0384] S917: The vehicle 100 executes the first control instruction.
[0385] S918 . The vehicle 100 sends the execution result to the electronic device 200 .
[0386] S919 , the electronic device 200 sends the execution result to the electronic device 300 .
[0387] Optionally, the vehicle 100 stores the correspondence between device information of one or more devices and the digital vehicle key.
[0388] Table 1
[0389] Device Information Digital car key Device information of the electronic device 200 Second digital car key Device information of the electronic device 300 The first digital car key
[0390] Table 1 shows a correspondence between device information of a storage device in a vehicle 100 and a digital car key. For example, a correspondence between device information of an electronic device 200 and a second digital car key is stored in the vehicle 100. The vehicle 100 can obtain the second digital car key based on the device information of the electronic device 200, and the electronic device 200 can control the vehicle 100 through the second digital car key.
[0391] The vehicle 100 also stores the 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.
[0392] The vehicle 100 may also store the correspondence between device information of other devices and the digital vehicle key.
[0393] After the vehicle 100 receives the encrypted second control instruction sent by the electronic device 300 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 .
[0394] 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 the vehicle 100 executes 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.
[0395] Exemplarily, 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.
[0396] 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 that the vehicle 100 has executed the first control instruction. For example, after the electronic device 300 receives the execution result sent by the vehicle 100 that the vehicle has been unlocked, the electronic device 300 may display Figure 8B The prompt information 8101 shown is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 300.
[0397] Optional, Figure 8B The prompt information 8101 shown may also be referred to as the third prompt information.
[0398] Optionally, before executing S904 , the electronic device 300 needs to determine whether a Bluetooth connection is established between the electronic device 300 and the vehicle 100 .
[0399] 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 car key. Specifically, after the electronic device 300 receives the user operation, when the electronic device 300 determines that the electronic device 300 has established a Bluetooth connection with the vehicle 100, the electronic device 300 can determine the first digital car key based on the vehicle information of the vehicle currently to be controlled (for example, the vehicle information of the vehicle 100), and the first digital car key is a digital car key used to control the vehicle 100. After obtaining the first digital car key, the electronic device 300 encrypts the first control instruction with the first digital car 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. Among them, the device information of the electronic device 300 is used by the vehicle 100 to determine the first digital car key. Referring to the description in S915-S919, there is a correspondence between the device information of multiple devices and the digital car key in the vehicle 100. After the vehicle 100 receives the encrypted second control instruction sent by the electronic device 200 and the device information of the electronic device 300, the vehicle 100 can obtain the first digital car key based on the device information of the electronic device 300. The vehicle 100 can decrypt the encrypted second control instruction based on the first digital car key, obtain the first control instruction, and execute the first control instruction. After the vehicle 100 executes 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. Exemplarily, the first control instruction can be used to control the unlocking of the vehicle 100. After the vehicle 100 unlocks the vehicle 100, the vehicle 100 can inform the electronic device 300 of the execution result that the vehicle has been unlocked. Optionally, after the electronic device 300 receives the execution result sent by the vehicle 100, the electronic device 300 can display a prompt message, which is used to prompt that the vehicle 100 has executed the first control instruction. For example, after the electronic device 300 receives the execution result sent by the vehicle 100 that the vehicle has been unlocked, the electronic device 300 can display Fig.8D The prompt information 8102 shown is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 200. Optionally, Fig.8D The prompt information 8102 shown may also be referred to as the fourth prompt information.
[0400] 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 which has established a communication connection with the electronic device 300 .
[0401] Optional, Fig.9AIn the embodiment, 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 (such as the first control instruction or the vehicle information of the vehicle 100, etc.), the third application in the electronic device 300 sends the transmission data to the fourth application (such as a sports and health application) on the electronic device 200, and the fourth application on the electronic device 200 sends 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.
[0402] Optional, Fig.9A In the embodiment, the data transmission path between the electronic device 200 and the electronic device 300 can be as follows: the first application on the electronic device 200 sends the transmission data (such as a verification pass message or an 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.
[0403] Multiple devices of different users control the vehicle 100
[0404] In other embodiments, user A owns electronic device 200, user B owns electronic device 300, electronic device 200 and electronic device 300 have not established a trusted relationship, and devices that have not established a trusted relationship cannot collaboratively control the vehicle. Optionally, electronic device 200 can actively establish a trusted relationship with electronic device 300 and generate a trusted credential, and electronic device 200 and electronic device 300 each store a trusted credential, which is used to verify whether the device is a trusted device.
[0405] Specifically, if the electronic device 200 first establishes a Bluetooth connection with the vehicle 100, the electronic device 300 cannot continue to establish a Bluetooth connection with the vehicle 100. When user B needs to control the vehicle 100 on the electronic device 300, without disconnecting the Bluetooth connection established between the electronic device 200 and the vehicle 100, user B can operate on the electronic device 300 and send the first control instruction and the trusted credential to the electronic device 200. After the electronic device 300 receives the first control instruction and the trusted credential sent by the electronic device 200, the electronic device 200 determines that the electronic device 200 is a trusted device based on the trusted credential, and when both the electronic device 200 and the electronic device 300 have applied for the digital car key of the vehicle 100, the electronic device 200 can send the first control instruction to the vehicle 100. The vehicle 100 receives and responds to the first control instruction and executes the first control instruction. It is realized that the user can actively trigger the establishment of a trusted relationship between non-trusted devices, and the devices that the user actively establishes a trusted relationship can collaboratively control the vehicle without disconnecting the Bluetooth connection between the device and the vehicle.
[0406] Exemplarily, when the electronic device 200 is the mobile phone of user A and the electronic device 300 is the mobile phone of user B, user A and user B are friends, but the electronic device 200 and the electronic device 300 have not established a trusted relationship. Then user A can actively establish a trusted relationship with the electronic device 300 of user B through the electronic device 200, and the electronic device 200 and the electronic device 300 respectively store trusted credentials. User A and user B are both riding in the vehicle 100, and the electronic device 200 of user A has established a Bluetooth connection with the vehicle 100. When user B needs to control the vehicle 100 through the electronic device 300, without disconnecting the Bluetooth connection established between the electronic device 200 and the vehicle 100, the electronic device 200 can establish a communication connection with the electronic device 300 and send a first control instruction and a trusted credential to the electronic device 200. After receiving the first control instruction and the trusted credential sent by the electronic device 200, the electronic device 200 determines that the electronic device 200 is a trusted device based on the trusted credential, and when both the electronic device 200 and the electronic device 300 have applied for the digital car key of the vehicle 100, the electronic device 200 sends the first control instruction to the vehicle 100, and the vehicle 100 can execute the first control instruction. In this way, the convenience of different electronic devices of different users to control the vehicle is greatly improved.
[0407] Figures 10A-10J A schematic diagram showing an electronic device 300 controlling a vehicle via an electronic device 200 is shown.
[0408] Electronic device 200 actively establishes a trusted relationship with electronic device 300 ( Figures 10A-10D ).
[0409] After the electronic device 200 applies for the digital key of the vehicle 100, the electronic device 300 may display Fig. 10A User interface 790 is shown.
[0410] For example, Fig. 10A As shown, the electronic device 200 can receive a user's Fig. 10A In response to the user's input operation, the electronic device 200 may display a Fig. 10B Window 1101 is shown. Window 1101 includes device identifications of one or more devices discovered by electronic device 200, such as “TOM’s Mate 50” and “Nacy’s NOVA 11”, where the device identification “TOM’s Mate 50” may be the device identification of electronic device 300, and the device identification “Nacy’s NOVA 11” may be the device identifications of other devices near electronic device 200.
[0411] Optionally, the electronic device 200 displays Fig. 10B Before the window 1101 shown, 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.
[0412] When electronic device 200 needs to establish a trusted relationship with electronic device 300, such as Fig. 10B As shown, the electronic device 200 may receive an input operation (eg, a click) from a user for the device identifier “TOM’s Mate 50” in the window 1101. In response to the input operation from the user, the electronic device 200 may display Fig. 10C The window 1002 is shown, and is used to indicate that the electronic device 200 is negotiating with the electronic device 300 to establish a trusted relationship.
[0413] 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 .
[0414] After the electronic device 300 receives the request to establish a trusted relationship sent by the electronic device 200, the electronic device 300 may display Fig. 10D The window 1006 shown includes a prompt message "Do you want to establish a trusted relationship with Lisa's HUA WEI P60?", and the window 1006 also includes a continue option and a cancel option. The user can establish a trusted relationship with the electronic device 200 through the continue option, and the user can also refuse to establish a trusted relationship with the electronic device 200 through the cancel option.
[0415] For example, Fig. 10D As shown, the electronic device 300 may receive a user input operation (eg, a single click) for the continue option in the window 1006 , and in response to the user input operation, the electronic device 300 may establish a trusted relationship with the electronic device 200 .
[0416] In a possible implementation, the steps of establishing a trusted relationship between the electronic device 200 and the electronic device 300 may be as follows: the electronic device 200 may obtain parameter information of the electronic device 200, and the parameter information of the electronic device 200 may include but is not limited to one or more of the following: the device identification of the electronic device 200, the device type of the electronic device 200, a first random number, etc., and the first random number is used for the electronic device 200 and the electronic device 300 to generate a trusted credential. The electronic device 200 also needs to send the parameter information of the electronic device 200 to the electronic device 300. After receiving the parameter information of the electronic device 200 sent by the electronic device 200, the electronic device 300 saves the parameter information of the electronic device 200 and obtains the parameter information of the electronic device 300. Afterwards, the electronic device 300 sends the parameter information of the electronic device 300 to the electronic device 200. The parameter information of the electronic device 300 may include but is not limited to one or more of the following: the device identification of the electronic device 300, the device type of the electronic device 300, a second random number, etc., and the second random number is also used for the trusted credential of the electronic device 200 and the electronic device 300. 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, respectively, 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, and the feedback message is used to indicate to the electronic device 300 that the electronic device 200 has generated a trusted credential.
[0417] In other possible implementations, the steps of establishing a trusted relationship between the electronic device 200 and the electronic device 300 may be as follows: the electronic device 200 may obtain the device information of the electronic device 200, which may include but is not limited to one or more of the following: the device identification of the electronic device 200, the device type of the electronic device 200, etc. The electronic device 200 also needs to send the device information of the electronic device 200 to the electronic device 300. After receiving the device information of the electronic device 200 sent by the electronic device 200, the electronic device 300 saves the device information of the electronic device 200. The electronic device 300 may determine that the electronic device 200 is a trusted device based on the device information of the electronic device 200. The electronic device 300 also needs to obtain the device information of the electronic device 300, which may include but is not limited to one or more of the following: the device identification of the electronic device 300, the device type of the electronic device 300, etc. The electronic device 300 also needs to send the device information of the electronic device 300 to the electronic device 200. After receiving the device information of the electronic device 300 sent by the electronic device 300, the electronic device 200 saves the device information of the 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 .
[0418] Not limited to the above methods, the electronic device 200 and the electronic device 300 may also establish a trusted relationship based on other methods, which is not limited in this application.
[0419] Optionally, after the electronic device 200 and the electronic device 300 establish a trusted relationship, the electronic device 200 may display Fig. 10E The prompt information 1003 shown is used to prompt the user that the electronic device 200 and the electronic device 300 have established a trusted relationship.
[0420] Optionally, after the electronic device 200 and the electronic device 300 establish a trusted relationship, the electronic device 200 may also Fig.10F The user interface 1004 shown displays a label “A trusted relationship has been established with Tom’s Mate 50” to prompt the user that the electronic device 200 and the electronic device 300 have established a trusted relationship.
[0421] Optional, Figures 10A-10F The example in which the electronic device 200 actively initiates trusted authentication to the electronic device 300 is used for explanation. In other embodiments, the electronic device 300 may actively initiate trusted authentication to the electronic device 200, and this application does not limit this.
[0422] Optional, Figures 10A-10FThis is illustrated by taking the first application as an example. In other embodiments, the electronic device 200 may also initiate a trusted authentication to the electronic device 300 actively in the second application, or the electronic device 200 may initiate a trusted authentication to the electronic device 300 actively in combination with the first application and the second application. This application does not make any limitations thereto. This application is only illustrated by taking the example that the electronic device 200 initiates a trusted authentication to the electronic device 300 actively in the first application.
[0423] The electronic device 300 controls the vehicle 100 through the electronic device 200 based on the digital vehicle key ( Figure 10F-10J ).
[0424] After the electronic device 200 actively establishes a trusted relationship with the electronic device 300 in the Figures 10A-10F way, when there is a communication connection established between the electronic device 300 and the electronic device 200, a Bluetooth connection established between the electronic device 200 and the vehicle 100, and both the electronic device 300 and the electronic device 200 have applied for the digital vehicle key of the vehicle 100, the electronic device 300 can control the vehicle 100 through the electronic device 200 based on the digital vehicle key.
[0425] Exemplarily, the first application may also be installed on the electronic device 300, and the user may control the vehicle 100 based on the digital vehicle key within the first application.
[0426] Exemplarily, 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.
[0427] The electronic device 300 may receive an input operation (such as a click) of the user on the application icon of the first application. In response to the user's input operation, the electronic device 300 may display Fig.10F the user interface 1004 as shown. When the electronic device 300 has also applied for the digital vehicle key of the vehicle 100, after the electronic device 300 activates the first application, the electronic device 300 may display a card 1005 in the user interface 1004. The vehicle identifier "AITO M7" is shown on the card 1005 to prompt the user that the card 1005 is the card corresponding to the digital vehicle key of the vehicle 100. Multiple control options are also shown on the card 1005, such as the vehicle lock opening / closing option, the trunk opening / closing option, the window opening / closing option, the engine opening / closing option, etc. Only some of the control options of the vehicle 100 are shown on the card 1005. The electronic device 300 may receive a sliding operation (such as a right or left sliding operation) of the user on the card 1005 and display other control options that are not shown.
[0428] Exemplarily, as Fig.10FAs shown, 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 and the vehicle 100 have not established a Bluetooth connection, 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.
[0429] Optionally, in some embodiments, after the electronic device 300 receives the user's input operation for the window opening / closing option in the card 1005, the electronic device 300 can verify the user's identity, and then perform subsequent operations if the identity verification is passed, so as to improve the security of the electronic device 300 controlling the vehicle 100 through the digital car key.
[0430] Optionally, before the user operates in the first application to control the vehicle 100 through the digital car key, the electronic device 300 may receive a user operation to enable an identity verification function in the first application. After the identity verification function is enabled, after the electronic device 300 receives a user input operation for the window opening / closing option in the user interface 810, the electronic device 300 may verify the user's identity. Fig.10F The identity verification function of the electronic device 300 is shown to be turned on. In other embodiments, if the identity verification function in the first application is turned off, after the electronic device 300 receives the user's input operation for the window opening / closing option in the user interface 810, the electronic device 300 may not verify the user's identity.
[0431] Optionally, the electronic device 300 may also need to verify the identity of the user by default, which is not limited in this application.
[0432] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0433] After receiving 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 can determine whether the electronic device 200 has applied for the digital car key of the vehicle 100 based on the vehicle information of the vehicle 100, for example, the electronic device 200 determines that the electronic device 200 has applied for the second digital car key of the vehicle 100. In the case where the key type of the second digital car key and the first digital car key is the same, the electronic device 300 can encrypt the first control instruction based on the second digital car key to obtain the encrypted first control instruction, and the electronic device 200 then sends the encrypted first control instruction and the device information of the electronic device 200 to the vehicle 100 through the Bluetooth connection. After receiving the encrypted first control instruction and the device information of the electronic device 200, the vehicle 100 can obtain the second digital car key based on the device information of the electronic device 200, decrypt the encrypted first control instruction based on the second digital car key, obtain the first control instruction, and execute the first control instruction, for example, unlock the vehicle 100. In this way, the electronic device 300 controls the vehicle 100 through the electronic device 200.
[0434] Optionally, 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 may also verify the user's identity, and perform subsequent operations if the identity verification is passed, so as to improve the security of the electronic device 200 controlling the vehicle 100 through the digital car key.
[0435] Optionally, before 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 may receive a user operation to turn on the identity authentication function. After the identity authentication function is turned on, 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 car key, and the first control instruction sent by the electronic device 300. In other embodiments, if the identity authentication function is turned off, 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 car key, and the first control instruction sent by the electronic device 300.
[0436] Optionally, the electronic device 200 may also need to verify the identity of the user by default, which is not limited in this application.
[0437] Optionally, identity authentication methods may include but are not limited to: face recognition, fingerprint recognition, voiceprint recognition, password matching, etc.
[0438] 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, when 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.
[0439] 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.
[0440] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may display Figure 10G As shown in the window 1009 , the window 1009 may include the text “The right front window of the HUA WEI P60 of Lisa has been checked in”. The window 1009 is used to prompt the user that the user B has successfully controlled the vehicle 100 through the electronic device 200 .
[0441] Optionally, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display Fig. 10H The user interface shown, Fig. 10H The user interface shown shows card 7812, which 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.
[0442] In some embodiments, after the electronic device 300 can receive the user's input operation for the window opening / closing option in the card 1005, when the electronic device 300 and the vehicle 100 have established a Bluetooth connection, the electronic device 300 can directly control the vehicle 100 based on the first digital car key obtained by the application. Specifically, the electronic device 300 can encrypt the first control instruction based on the first digital car key to obtain an encrypted second control instruction, and send the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100 through the Bluetooth connection. After the vehicle 100 receives the encrypted second control instruction and the device information of the electronic device 300, the vehicle 100 can obtain the first digital car key based on the device information of the electronic device 300, and decrypt the encrypted second control instruction based on the first digital car key to obtain the first control instruction, and execute the first control instruction, for example, unlock the vehicle 100. In this way, the electronic device 300 is directly controlled by the first digital car key.
[0443] 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 via the electronic device 300 .
[0444] Optionally, after the electronic device 300 receives the feedback message sent by the vehicle 100, the electronic device 300 may display Fig.10I The prompt information 1009 shown may include the text "The right front window of the QM7 has been opened through "TOM's Mate 50"". The prompt information 1009 is used to prompt the user that user A has successfully controlled the vehicle 100 through the electronic device 300.
[0445] Optional, Fig.10I The prompt information shown is the same as Figure 10G The prompt information shown is different, so as to prompt the user which device the electronic device 300 uses to control the vehicle 100. In other embodiments, Fig. 10H The prompt information shown is the same as Fig.10F The prompt information shown may also be the same, and this application does not limit this.
[0446] In some embodiments, after the electronic device 300 receives the user's input operation for the window opening / closing option, the electronic device 300 and the electronic device 200 do not establish a communication connection, and the electronic device 300 cannot control the vehicle 100 through the electronic device 200, the electronic device 300 can display Fig.10J The prompt information 1010 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0447] 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, and the feedback message is used to indicate that the vehicle 100 cannot be controlled at present. Exemplarily, after the electronic device 300 receives the feedback message sent by the electronic device 200, the electronic device 300 may also display Fig.10J The prompt information 1010 shown is used to prompt the user that the vehicle 100 is currently unable to be controlled.
[0448] Fig.11 A schematic diagram showing another electronic device 300 controlling a vehicle 100 via an electronic device 200 is shown.
[0449] S1101. The electronic device 200 displays a first user interface, which includes a first option.
[0450] Exemplarily, the first user interface may be Fig. 10A In the user interface 790 shown, the first option may be a credibility authentication option shown in the user interface 790 .
[0451] S1102: The electronic device 200 receives a user operation on a first option.
[0452] 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 .
[0453] 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.
[0454] In this way, when the electronic device 200 has not established a trusted relationship with the electronic device 300 , the electronic device 200 can actively initiate the establishment of a trusted relationship with the electronic device 300 .
[0455] 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 .
[0456] In response to user operations, the electronic device 200 may 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 may be "Lisa's HUA WEI P60".
[0457] 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.
[0458] S1104 , the electronic device 200 receives an input operation of the user for the device identification of the electronic device 300 .
[0459] 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 .
[0460] Exemplarily, the electronic device 200 may receive an input operation from the user for the device identifier “Lisa's HUA WEI P60” and actively establish a trusted relationship with the electronic device 300 .
[0461] S1105 . The electronic device 200 sends a request to the electronic device 300 to establish a trusted relationship.
[0462] 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 .
[0463] Optionally, the request to establish a trusted relationship may also be referred to as a request to establish a trusted connection.
[0464] S1106: In response to the request to establish a trusted relationship, the electronic device 300 may display prompt information.
[0465] 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 .
[0466] Exemplarily, the prompt information may be Fig. 10D Window 1006 is shown.
[0467] Optional, Fig. 10D The window 1006 shown may also be referred to as the first prompt information.
[0468] S1107. The electronic device 300 receives the user's confirmation operation to establish a trusted relationship.
[0469] For example, the electronic device 300 may receive a user's Fig. 10D In the window 1006 shown, an input operation (eg, click) of the Continue option is performed, and in response to the user's input operation, the electronic device 300 confirms the establishment of the trusted relationship.
[0470] Optional, Fig. 10D The Continue option in the illustrated window 1006 may also be referred to as a second option.
[0471] S1108. The electronic device 300 sends a message to the electronic device 200 to confirm the establishment of the trusted relationship.
[0472] S1109 . The electronic device 200 and the electronic device 300 establish a trusted relationship.
[0473] Optionally, the message for confirming establishment of a trusted relationship may also be referred to as a message for confirming establishment of a trusted connection.
[0474] 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.
[0475] 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 .
[0476] The electronic device 200 and the electronic device 300 may establish a trusted relationship in the following manners, but not limited to the following.
[0477] Method 1: The electronic device 200 can obtain the parameter information of the electronic device 200, and the parameter information of the electronic device 200 may include but is not limited to one or more of the following: the device identification of the electronic device 200, the device type of the electronic device 200, the first random number, etc., and the first random number is used for the electronic device 200 and the electronic device 300 to generate a trusted credential. The electronic device 200 also needs to send the parameter information of the electronic device 200 to the electronic device 300. After receiving the parameter information of the electronic device 200 sent by the electronic device 200, the electronic device 300 saves the parameter information of the electronic device 200 and obtains the parameter information of the electronic device 300. Afterwards, the electronic device 300 sends the parameter information of the electronic device 300 to the electronic device 200. The parameter information of the electronic device 300 may include but is not limited to one or more of the following: the device identification of the electronic device 300, the device type of the electronic device 300, the second random number, etc., and the second random number is also used for the electronic device 200 and the 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 the second trusted credential based on the first random number and the second random number, and the electronic device 300 can generate the 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, and the feedback message is used to indicate to the electronic device 300 that the electronic device 200 has generated a trusted credential.
[0478] 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.
[0479] 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 parties are trusted devices based on the first trusted credential and the second trusted credential.
[0480] 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 may 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.
[0481] Method 2: The electronic device 200 can obtain the device information of the electronic device 200, and the device information of the electronic device 200 may include but is not limited to one or more of the following: the device identification of the electronic device 200, the device type of the electronic device 200, etc. The electronic device 200 also needs to send the device information of the electronic device 200 to the electronic device 300. After receiving the device information of the electronic device 200 sent by the electronic device 200, the electronic device 300 saves the device information of the electronic device 200. The electronic device 300 can determine that the electronic device 200 is a trusted device based on the device information of the electronic device 200. The electronic device 300 also needs to obtain the device information of the electronic device 300, and the device information of the electronic device 300 may include but is not limited to one or more of the following: the device identification of the electronic device 300, the device type of the electronic device 300, etc. The electronic device 300 also needs to send the device information of the electronic device 300 to the electronic device 200. After receiving the device information of the electronic device 300 sent by the electronic device 300, the electronic device 200 saves the device information of the electronic device 300. The electronic device 200 can determine that the electronic device 300 is a trusted device based on the device information of the electronic device 300.
[0482] Not limited to the above methods, the electronic device 200 and the electronic device 300 may also establish a trusted relationship based on other methods, which is not limited in this application.
[0483] Optionally, the electronic device 300 may actively initiate the establishment of a trusted relationship with the electronic device 200 .
[0484] 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 determined to be untrusted. The two devices still need to establish a trusted connection through S1101-S1109.
[0485] S1110 : The electronic device 300 controls the vehicle 100 based on the digital vehicle key.
[0486] 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 and the vehicle 100 have established a Bluetooth connection, the electronic device 300 can directly control the vehicle 100 through the first digital vehicle key. For details, please refer to Fig.9A The description in the embodiments will not be repeated in this application.
[0487] 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, Fig.9A The descriptions in S905-S919 of the embodiments are similar. For details, please refer to Fig.9A The descriptions in embodiments S905-S919 in the embodiments will not be repeated in this application.
[0488] However, the present application differs from the S905-S919 embodiments in the following ways.
[0489] If the electronic device 200 and the electronic device 300 establish a trusted relationship through the above-mentioned method 1, the present application is different from the S905-S919 embodiments in the following ways.
[0490] Difference 1: In S905, in addition to sending the vehicle information of the vehicle 100 and the key information of the first digital car 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.
[0491] 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.
[0492] When the second trusted credential stored in the electronic device 200 is the same as the first trusted credential sent by the electronic device 300 or meets a preset condition, the electronic device 200 can determine that the electronic device 300 is a trusted device, and the electronic device 200 can send a verification pass message to the electronic device 300. After obtaining the verification pass message, the electronic device 300 can control the vehicle 100 through the electronic device 200.
[0493] 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.
[0494] If the electronic device 200 and the electronic device 300 establish a trusted relationship through the above-mentioned method 2, the present application is different from the S905-S919 embodiments in the following ways.
[0495] Difference 1: In S905, in addition to sending the vehicle information of the vehicle 100 and the key information of the first digital car 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.
[0496] 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 obtaining the verification pass message, the electronic device 300 may control the vehicle 100 through the electronic device 200.
[0497] When the electronic device 200 determines that the electronic device 300 is not a trusted device based on the device information of the electronic device 300, for example, the electronic device 200 and the electronic device 300 have not established a trusted relationship, and the device information of the electronic device 300 is not stored inside the electronic device 200, the electronic device 200 cannot confirm that the electronic device 300 is a trusted 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.
[0498] 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. Thereafter, 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.
[0499] Multiple users' different devices control the vehicle 100
[0500] User A owns electronic device 200, and user B owns electronic device 300. User A and user B approach the vehicle at the same time. If electronic device 300 first establishes a Bluetooth connection with vehicle 100, electronic device 300 cannot establish a Bluetooth connection with vehicle 100. Electronic device 300 cannot control vehicle 100 based on the digital car key. At this time, after vehicle 100 establishes a Bluetooth connection with electronic device 200, vehicle 100 can periodically / irregularly 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 broadcast sent by vehicle 100, and sends 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, electronic device 200 can establish a Bluetooth connection with electronic device 300. After that, electronic device 300 can control vehicle 100 through the digital car key.
[0501] Figure 12A-12B A schematic diagram showing an electronic device 300 controlling a vehicle 100 via a Bluetooth connection is shown.
[0502] The vehicle 100 disconnects the Bluetooth connection with the electronic device 200 and establishes a Bluetooth connection with the electronic device 300 ( Figure 12A-12B ).
[0503] 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 find the vehicle 100. For example, the electronic device 300 can receive the Bluetooth broadcast sent by the vehicle 100.
[0504] refer to Fig. 10A In the embodiment, the electronic device 300 can receive a user's Fig. 10E The input operation of the window opening / closing option on the card 1005 displayed in the user interface shown, 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.
[0505] In response to the Bluetooth connection establishment request sent by the electronic device 300, the vehicle 100 determines whether a Bluetooth connection is established with other devices. If no Bluetooth connection is established with other devices, the vehicle 100 can directly establish a Bluetooth connection with the electronic device 300. If a Bluetooth connection is established with other devices, the vehicle 100 can request to disconnect the Bluetooth connection with other devices.
[0506] 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 .
[0507] In response to the Bluetooth disconnection request sent by the vehicle 100, the electronic device 200 may display Fig. 12A The prompt information 1201 shown 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?" The prompt information 1201 also includes a confirmation option and a cancel option. The user can disconnect the Bluetooth connection between the electronic device 200 and the vehicle 100 by using the confirmation option, and the user can also continue to maintain the Bluetooth connection with the vehicle 100 by using the cancel option.
[0508] For example, Fig. 12A As shown, the electronic device 200 can receive a user input operation (such as a single click) for a confirmation option in the prompt information 1201 , and in response to the user's input operation, the electronic device 200 can disconnect the Bluetooth connection with the vehicle 100 .
[0509] 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 .
[0510] Optionally, after the electronic device 300 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 may display Fig. 12B The prompt information 1202 shown is used to prompt the user that the electronic device 300 has established a Bluetooth connection with the vehicle 100.
[0511] After the electronic device 300 establishes a Bluetooth connection with the vehicle 100, in the case where the electronic device 300 applies for the digital car key of the vehicle 100, in response to the user's Fig. 10E The electronic device 300 may generate a first control instruction and send the first control instruction to the vehicle 100 by inputting the window opening / closing option on the card 1005 displayed in the user interface 1004 shown. The vehicle 100 may execute the first control instruction and return the execution result to the electronic device 300.
[0512] After receiving the execution result sent by the vehicle 100, the electronic device 300 can display Fig. 10H The prompt information 1009 shown is used to prompt the user that the right front window of the vehicle 100 has been opened through the electronic device 300 .
[0513] In some embodiments, when the vehicle 100 can only establish a Bluetooth connection with one device at the same time, if the electronic device 200 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 can no longer connect to the vehicle 100 via Bluetooth. The electronic device 300 also cannot control the vehicle 100 via the Bluetooth car key. Optionally, after the vehicle 100 establishes a Bluetooth connection with the electronic device 200, the vehicle 100 can periodically / irregularly send Bluetooth broadcasts so that other devices located near the vehicle 100 can discover the vehicle 100. For example, the electronic device 300 receives and responds to the Bluetooth broadcast sent by the vehicle 100, and sends a request to establish a Bluetooth connection to the vehicle 100. In response to the request to establish a Bluetooth connection, the vehicle 100 can send a request to disconnect the Bluetooth connection to the electronic device 200. After the electronic device 200 receives the request to disconnect the Bluetooth connection and disconnects the Bluetooth connection with the vehicle 100, the vehicle 100 can establish a Bluetooth connection with the electronic device 300. After that, the electronic device 300 can control the vehicle 100 via the digital car key.
[0514] Fig.13 A schematic flow chart of a method for the electronic device 300 to establish a Bluetooth connection with the vehicle 100 and to control the vehicle 100 is shown.
[0515] S1301 . The electronic device 200 establishes a Bluetooth connection with the vehicle 100 .
[0516] 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. The second communication connection may also be other connection modes, which is not limited in the present application.
[0517] S1302 , periodically / erratically send Bluetooth broadcasts with the vehicle 100 .
[0518] 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 find the vehicle 100. For example, the electronic device 300 may receive the Bluetooth broadcast sent by the vehicle 100.
[0519] Not limited to Bluetooth broadcasts, the vehicle 100 can also send other broadcasts, which is not limited in this application.
[0520] S1303 : The electronic device 300 receives a user operation and controls the vehicle 100 based on the first digital vehicle key.
[0521] 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, for example Fig. 10E Card 1005 is shown.
[0522] Exemplary, reference Fig. 10A In the embodiment, the electronic device 300 can receive a user's Fig. 10E By inputting the window opening / closing option on the card 1005 displayed in the user interface shown, the electronic device 300 can control the vehicle 100 based on the first digital car key.
[0523] S1304 , the electronic device 300 needs to determine whether a Bluetooth connection is established between the electronic device 300 and the vehicle 100 .
[0524] 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 .
[0525] When 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 .
[0526] S1305 , the electronic device 300 sends a request to establish a Bluetooth connection to the vehicle 100 .
[0527] 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 .
[0528] S1306 : The vehicle 100 sends a request to disconnect the Bluetooth connection to the electronic device 200 .
[0529] After the vehicle 100 receives the request to establish a Bluetooth connection 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 request to disconnect the Bluetooth connection to the electronic device 200 .
[0530] Optionally, after receiving the request to establish a Bluetooth connection 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.
[0531] 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 .
[0532] Optionally, the prompt information in S1307 may also be referred to as second prompt information.
[0533] S1308 : The electronic device 200 receives the user operation and confirms to disconnect the Bluetooth connection with the vehicle 100 .
[0534] Optionally, in some embodiments, S1307 and S1308 may not be executed. After the electronic device 200 receives the Bluetooth disconnection request sent by the vehicle 100, the electronic device 200 may automatically disconnect the Bluetooth connection with the vehicle 100 without user intervention.
[0535] S1309 , the electronic device 200 disconnects the Bluetooth connection with the vehicle 100 .
[0536] 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 to confirm disconnecting the Bluetooth connection with the vehicle 100.
[0537] Exemplarily, the prompt information may be Fig. 12A The prompt information 1201 is shown. The electronic device 200 may receive a user input operation (eg, a single click) for a confirmation option in the prompt information 1201 , and in response to the user input operation, the electronic device 200 may disconnect the Bluetooth connection with the vehicle 100 .
[0538] S1310 : The vehicle 100 establishes a Bluetooth connection with the electronic device 300 .
[0539] Optionally, the communication connection between the vehicle 100 and the electronic device 300 may be called a third communication connection, and the third communication connection may be a Bluetooth connection, or other connection modes, which is not limited in the present application.
[0540] 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 request for establishing a Bluetooth connection sent by the electronic device 300 .
[0541] Optionally, after the electronic device 300 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 may display Fig. 12B The prompt information 1202 shown is used to prompt the user that the electronic device 300 has established a Bluetooth connection with the vehicle 100.
[0542] Optionally, before the vehicle 100 establishes a Bluetooth connection with the electronic device 300, in response to the Bluetooth connection establishment request sent by the electronic device 300, the vehicle 100 also needs to perform Bluetooth authentication with the electronic device 300. Specifically, the electronic device 300 sends Bluetooth authentication information to the vehicle 100, and the vehicle 100 needs to determine 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 illegal, the vehicle 100 cannot establish a Bluetooth connection with the electronic device 300.
[0543] 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 prompt the user that the Bluetooth connection with the vehicle 100 cannot be established at present, and please try again later.
[0544] 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 mainly verifies whether the Bluetooth version number of the electronic device 300 is consistent with the Bluetooth version number of the vehicle 100, whether the electronic device 300 is a legitimate device, etc. The vehicle 100 may also verify other more information, which is not limited in this application.
[0545] S1311. The electronic device 300 encrypts the second control instruction based on the first digital vehicle key to obtain an encrypted second control instruction.
[0546] Optionally, the digital car key vehicle connection specification standards corresponding to digital car keys of different key types are different. For example, the digital car key vehicle connection specification standard corresponding to a Bluetooth digital car key is different from the digital car key vehicle connection specification standard corresponding to an NFC digital car key.
[0547] Exemplarily, 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 standard corresponding to the Bluetooth digital car key based on the identifier of the Bluetooth digital car key. And generate the second control instruction based on the digital car key vehicle connection specification standard corresponding to the Bluetooth digital car key, wherein the format of the second control instruction meets the requirements of the digital car key vehicle connection specification standard corresponding to the Bluetooth digital car key.
[0548] S1312 , the electronic device 300 sends the encrypted second control instruction and the device information of the electronic device 300 to the vehicle 100 .
[0549] After the electronic device 300 establishes a Bluetooth connection with the vehicle 100, the electronic device 300 can determine the first digital car key based on the vehicle information of the vehicle to be controlled (e.g., the vehicle information of the vehicle 100), and the first digital car key is a digital car key used to control the vehicle 100. After obtaining the first digital car key, the electronic device 300 encrypts the second control instruction with the first digital car key to obtain an encrypted second control instruction.
[0550] 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.
[0551] S1313 : The vehicle 100 obtains the first digital vehicle key based on the device information of the electronic device 300 .
[0552] S1314. The vehicle 100 decrypts the encrypted second control instruction based on the first digital vehicle key to obtain the second control instruction.
[0553] 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.
[0554] S1315: The vehicle 100 executes the second control instruction.
[0555] S1316 , the vehicle 100 sends the execution result to the electronic device 300 .
[0556] It is understandable that the vehicle 100 stores the correspondence between device information of one or more devices and the digital car key.
[0557] It is understandable that the correspondence between device information of one or more devices and the digital car key is stored in the vehicle 100. After the vehicle 100 receives the encrypted second control instruction sent by the electronic device 300 and the device information of the electronic device 300, the vehicle 100 can obtain the first digital car key based on the device information of the electronic device 300.
[0558] The vehicle 100 can decrypt the encrypted second control instruction based on the first digital vehicle key, obtain the second control instruction, and execute the second control instruction. After the vehicle 100 executes 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.
[0559] Exemplarily, 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.
[0560] 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 that the right front window has been opened, the electronic device 300 may display Fig. 10H The prompt information 1009 shown is used to prompt the user that the right front window of the vehicle 100 has been opened through the electronic device 300 .
[0561] The present application provides an electronic device, which is a first electronic device. 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. The processor calls the computer instructions to execute a vehicle control method provided in the present application.
[0562] 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.
[0563] 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.
[0564] 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.
[0565] The present application provides a computer program product. When the computer program product is run on a first electronic device, the first 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 is run on a second electronic device, the second electronic device executes a vehicle control method provided by the present application.
[0567] It is understandable that the various user interfaces described in the embodiments of the present application are only example interfaces and do not limit the present application scheme. In other embodiments, the user interface may adopt a different interface layout, may include more or fewer controls, and may increase or decrease other functional options, as long as they are based on the same inventive concept provided by the present application, they are all within the scope of protection of the present application.
[0568] 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.
[0569] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned 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, the second communication connection includes a Bluetooth connection, a first digital car key of the first vehicle is stored in the second electronic device, and a second digital car 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 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.
3. The system according to claim 2, 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.
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 3, 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 3, 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 3, 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 3, 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 used 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 3 or claim 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 claim 2, 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 3 or claim 9, characterized in that: The first communication connection includes any one of the following: Bluetooth connection, network connection.
14. The system according to any one of claims 1 to 3 or claim 9, 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, the first control instruction is used to instruct the first vehicle to perform a first operation, and a first digital vehicle key of the first vehicle is stored in the second electronic device; The first electronic device determines, based on the vehicle information of the first vehicle, that a second digital vehicle key is stored in the first electronic device; The first electronic device sends the first control instruction to the first vehicle via a second communication connection; Wherein, the second communication connection includes a Bluetooth 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 receives key information of the first digital vehicle key sent by the second electronic device through the first communication connection; 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 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 17, 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 17, 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 17, 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 17, 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 claim 16 or 17, 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 17, characterized in that: The first communication connection includes any one of the following: Bluetooth connection, network connection.
26. The method according to any one of claims 15 to 17, 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 for the first electronic device 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 second electronic device stores a first digital vehicle key of the first vehicle; Wherein, the second communication connection includes a Bluetooth connection.
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 claim 27 or 28, 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 claim 27, 28 or 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 claim 27, 28 or 33, characterized in that The first communication connection includes any one of the following: Bluetooth connection, network connection.
36. The method according to claim 27, 28 or 33, 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
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
Method for transmitting file in application, electronic equipment and system for transmitting file in application
CN113068156A
Vehicle control method and system, medium and vehicle
CN115426650A
Cited By
Vehicle control system and method, and electronic device
EP4660020A1