Search

US-20260125028-A1 - VEHICLE CONTROL SYSTEM AND METHOD, AND ELECTRONIC DEVICE

US20260125028A1US 20260125028 A1US20260125028 A1US 20260125028A1US-20260125028-A1

Abstract

A first communication connection is established between a first electronic device and a second electronic device, a second communication connection is established between the first electronic device and a first vehicle, and the second electronic device stores a first digital vehicle key of the first vehicle. The second electronic device may receive a first user operation, and send a first control instruction and vehicle information of the first vehicle to the first electronic device; and after the first electronic device determines a second digital vehicle key of the first vehicle based on the vehicle information of the first vehicle, it is determined that both the first electronic device and the second electronic device have applied for the digital vehicle key of the first vehicle. The first electronic device may send the first control instruction to the first vehicle.

Inventors

  • Shizhu Bian
  • Shijie DING

Assignees

  • HUAWEI TECHNOLOGIES CO., LTD.

Dates

Publication Date
20260507
Application Date
20251230
Priority Date
20230630

Claims (20)

  1. 1 . A vehicle control method, the method comprising: receiving, by a first electronic device through a first communication connection, a first control instruction and vehicle information of a first vehicle sent by a second electronic device, the first control instruction and the vehicle information of the first vehicle being sent to the first electronic device after the second electronic device receives a first user operation of a user, the first control instruction instructing the first vehicle to perform a first operation; determining, by the first electronic device based on the vehicle information of the first vehicle that the first electronic device stores the second digital vehicle key, the second electronic device storing a first digital vehicle key of the first vehicle; and sending, by the first electronic device, the first control instruction to the first vehicle through the second communication connection.
  2. 2 . The method according to claim 1 , wherein before the sending, by the first electronic device, the first control instruction to the first vehicle through the second communication connection, the method further comprises: determining, by the first electronic device, that a key type of the first digital vehicle key is the same as a key type of the second digital vehicle key.
  3. 3 . The method according to claim 2 , wherein before the sending, by the first electronic device, the first control instruction to the first vehicle through the second communication connection, the method further comprises: receiving, by the first electronic device through the first communication connection, key information of the first digital vehicle key that is sent by the second electronic device; and the determining, by the first electronic device, that the key type of the first digital vehicle key is the same as the key type of the second digital vehicle key comprises: determining, by the first electronic device based on the key information of the first digital vehicle key and key information of the second digital vehicle key that the key type of the first digital vehicle key is the same as the key type of the second digital vehicle key.
  4. 4 . The method according to claim 1 , wherein the sending, by the first electronic device, the first control instruction to the first vehicle through the second communication connection comprises: encrypting, by the first electronic device, the first control instruction based on the second digital vehicle key to obtain an encrypted first control instruction; and sending, by the first electronic device, the encrypted first control instruction to the first vehicle through the second communication connection.
  5. 5 . The method according to claim 1 , wherein 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 are associated with each other.
  6. 6 . The method according to claim 1 , wherein before the receiving, by the first electronic device through the first communication connection, the first control instruction and the vehicle information of the first vehicle that are sent by the second electronic device, the method further comprises: establishing, by the first electronic device, a trusted connection to the second electronic device by scanning, using a camera, a QR code displayed on the second electronic device.
  7. 7 . The method according to claim 1 , wherein before the receiving, by the first electronic device through the first communication connection, the first control instruction and the vehicle information of the first vehicle that are sent by the second electronic device, the method further comprises: displaying, by the first electronic device, a first user interface, wherein a first option is displayed in the first user interface; receiving and responding to a second user operation for the first option and sending a trusted connection establishment request to the second electronic device, the trusted connection request indicating the second electronic device establish a trusted connection to the first electronic device; receiving, by the first electronic device, a trusted connection establishment confirmation message sent by the second electronic device, the trusted connection establishment confirmation message being sent by the second electronic device after the second electronic device receives an operation of confirming establishment of the trusted connection of the user; and in response to the trusted connection establishment confirmation message, establishing, by the first electronic device, the trusted connection to the first electronic device and the second electronic device.
  8. 8 . The method according to claim 1 , wherein after the sending, by the first electronic device, the first control instruction to the first vehicle through the second communication connection, the method further comprises: receiving, by the first electronic device through the second communication connection, a first message sent by the first vehicle, the first message being sent after the first vehicle executes the first control instruction; and sending, by the first electronic device, the first message to the second electronic device through the first communication connection, the first message being used by the second electronic device to display third prompt information, the third prompt information being used to inform the user that the second electronic device has controlled, using the first electronic device, the first vehicle to perform the first operation.
  9. 9 . The method according to claim 1 , wherein the method further comprises: sending a second message to the second electronic device through the first communication connection when one or both of the second digital vehicle key stored in the first electronic device fails to be determined based on the vehicle information of the first vehicle or the key type of the first digital vehicle key is different from the key type of the second digital vehicle key, the second message being used by the second electronic device to display fourth prompt information and the fourth prompt information being used to inform the user that the first electronic device cannot currently control the first vehicle to perform the first operation.
  10. 10 . The method according to claim 1 , wherein the key information of the first digital vehicle key comprises one or more of: a key type, or a key identifier; and the vehicle information of the first vehicle comprises one or more of: a vehicle identification number, a vehicle model, a vehicle manufacturer, a vehicle production date, a vehicle engine model, or a vehicle license plate number.
  11. 11 . The method according to claim 1 , wherein the first communication connection comprises one of: a Bluetooth® connection, a network connection, or a server connection; and the second communication connection comprising a Bluetooth® connection.
  12. 12 . The method according to claim 1 , wherein the first control instruction comprises one of: unlocking the vehicle, locking the vehicle, opening a vehicle window, closing the vehicle window, turning on an air conditioner, turning off the air conditioner, opening a trunk, closing the trunk, starting playing music, and pausing playing music.
  13. 13 . A vehicle control method, the method comprising: receiving and responding to, by a second electronic device, a first user operation, and sending a first control instruction and vehicle information of a first vehicle to a first electronic device through a first communication connection, the first control instruction instructing the first vehicle to perform a first operation, the vehicle information of the first vehicle being used for sending 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; and storing, by the second electronic device, a first digital vehicle key of the first vehicle.
  14. 14 . The method according to claim 13 , wherein after the receiving and responding to, by the second electronic device, the first user operation, the method further comprises: sending, by the second electronic device, key information of the first digital vehicle key of the first vehicle to the first electronic device, the key information of the first digital vehicle key being used by the first electronic device to determine, with reference to key information of the second digital vehicle key, that a key type of the first digital vehicle key is the same as a key type of the second digital vehicle key.
  15. 15 . The method according to claim 13 , wherein 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 are associated with each other.
  16. 16 . The method according to claim 13 , wherein before the sending, by the second electronic device, 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 comprises: displaying, by the second electronic device, a QR code, the QR code being used by the first electronic device to establish a trusted connection to the second electronic device after the first electronic device scans the QR code using a camera of the first electronic device.
  17. 17 . The method according to claim 13 , wherein before the sending, by the second electronic device, 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 comprises: receiving, by the second electronic device, a trusted connection establishment request sent by the first electronic device, the trusted connection establishment request being sent after the first electronic device receives a second user operation; displaying, by the second electronic device, first prompt information, the first prompt information being used to prompt a user whether to establish a trusted connection to the first electronic device; receiving, by the second electronic device, an input operation of the user for a second option in the first prompt information; sending, by the second electronic device, a trusted connection establishment confirmation message to the first electronic device; and establishing, by the second electronic device, the trusted connection to the first electronic device.
  18. 18 . The method according to claim 13 , wherein after the sending, by the second electronic device, 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 comprises: receiving, by the second electronic device through the first communication connection, a first message sent by the first electronic device, the first message being sent to the first electronic device through the second communication connection after the first vehicle executes the first control instruction; and displaying, by the second electronic device, third prompt information in response to the first message, the third prompt information being used to inform the user that the second electronic device has controlled, using the first electronic device, the first vehicle to perform the first operation.
  19. 19 . The method according to claim 18 , wherein the method further comprises: receiving, by the second electronic device through the first communication connection, a second message sent by the first electronic device, the second message being sent when the first electronic device does not determine, based on the vehicle information of the first vehicle, one or more of the second digital vehicle key being stored in the first electronic device, or the key type of the first digital vehicle key is different from the key type of the second digital vehicle key; and displaying fourth prompt information in response to the second message, the fourth prompt information being used to inform the user that the first electronic device cannot currently control the first vehicle to perform the first operation.
  20. 20 . The method according to claim 13 , wherein the key information of the first digital vehicle key comprises one or more of: a key type; or a key identifier; and the vehicle information of the first vehicle comprises one or more of: a vehicle identification number, a vehicle model, a vehicle manufacturer, a vehicle production date, a vehicle engine model, or a vehicle license plate number.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2024/082270, filed on Mar. 18, 2024, which claims priority to Chinese Patent Application No. 202310802998.6, filed on Jun. 30, 2023. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of vehicle technologies, and in particular, to a vehicle control system and method, and an electronic device. BACKGROUND As the society develops, vehicles have become an indispensable means of transportation in people's daily lives. During vehicle usage, a user may use a vehicle key to control opening or closing of a vehicle door, control startup or shutdown of an engine, and the like. As the science and technology develop, vehicle keys are also continuously upgraded. For example, the vehicle key evolves from a physical vehicle key to a digital vehicle key. When the user forgets to carry the physical vehicle key, the user may establish a communication connection between a terminal device and a vehicle, and control the vehicle by using a digital vehicle key stored in the terminal device. However, when the vehicle supports connection to only one Bluetooth® device, another device that does not establish a Bluetooth® connection to the vehicle cannot be connected to the vehicle through Bluetooth®, and therefore cannot control the vehicle by using a digital vehicle key. SUMMARY This application provides a vehicle control system and method, and an electronic device, so that when a vehicle supports connection to only one Bluetooth® device, a plurality of devices can collaboratively control the vehicle based on a digital vehicle key. This improves convenience of controlling the vehicle by the plurality of devices. According to a first aspect, this application provides a vehicle control system. 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. The second electronic device stores a first digital vehicle key of the first vehicle, and the first electronic device stores a second digital vehicle key of the first vehicle. The second electronic device is configured 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. The first control instruction indicates the first vehicle to perform a first operation. The first electronic device is configured to: receive the first control instruction and the vehicle information of the first vehicle, and determine, based on the vehicle information of the first vehicle, that the first electronic device stores the second digital vehicle key. The first electronic device is further configured to send the first control instruction to the first vehicle through the second communication connection. The first vehicle is configured to: receive the first control instruction, and perform the first operation based on the first control instruction. 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 is also applied for. The second electronic device can control the first vehicle based on the digital vehicle key by using the first electronic device only when both the first electronic device and the second electronic device apply for the digital vehicle key of the first vehicle. This improves vehicle control security. Optionally, the first control instruction and the vehicle information of the first vehicle may be separately sent to the first electronic device. 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. Optionally, in some embodiments, the first control instruction sent by the first electronic device to the first vehicle needs to meet a fixed format, so that the first vehicle can correctly identify the first control instruction. Different types of control instructions have different formats. For example, a format of an unlock control instruction is different from a format of a window opening control instruction. Before sending the first control instruction to the first vehicle, the first electronic device may obtain a vehicle-to-everything specification standard for a digital vehicle key. The vehicle-to-everything specification standard for a digital vehicle key specifies formats of different types of control instructions. The first control instruction carries an instruction type. The first electronic device may obtain a first