Vehicle Control Method, Vehicle Control Apparatus, and Vehicle
A vehicle control method includes obtaining a first user instruction, where the first user instruction instructs to enable an automatic vehicle hold function; controlling, based on the first user instruction, an automatic vehicle hold system to switch to a wake-up state; obtaining status information of a vehicle; and switching a status of the automatic vehicle hold system based on the status information of the vehicle.
1 . A method comprising:
obtaining a first user instruction instructing to enable an automatic vehicle hold function;
controlling, based on the first user instruction, an automatic vehicle hold system to switch to a wake-up state;
obtaining status information of a vehicle; and
switching, based on the status information, a status of the automatic vehicle hold system.
2 . The method of claim 1 , wherein switching the status comprises:
obtaining a user intention when the status information of the vehicle meets a first condition; and
switching, based on the user intention, the status.
3 . The method of claim 2 , further comprising:
sending first prompt information to prompt a user to confirm performing an automatic vehicle hold operation;
obtaining, from the user and in response to the first prompt information, a second user instruction; and
controlling the automatic vehicle hold system to switch to an activated state when the second user instruction instructs to confirm performing the automatic vehicle hold operation.
4 . The method of claim 3 , further comprising controlling the automatic vehicle hold system to switch to a sleep state when the second user instruction instructs to disable the automatic vehicle hold function.
5 . The method of claim 2 , further comprising sending second prompt information when the status information of the vehicle does not meet the first condition, wherein the second prompt information notifies a user of the status information of the vehicle that does not meet the first condition.
6 . The method of claim 2 , wherein the first condition comprises a brake pedal stroke is greater than a first threshold, a brake pedal force is greater than a second threshold, brake system pressure is greater than a third threshold, a vehicle speed is 0, an accelerator pedal stroke is 0, or an accelerator pedal force is 0.
7 . The method of claim 2 , wherein the first condition further comprises the automatic vehicle hold system is fault-free, a vehicle door is in a closed state, or a seat belt of a user is fastened.
8 . The method of claim 1 , further comprising enabling an electric parking brake when the status information of the vehicle meets a second condition wherein the second condition comprises a seat belt of a user is in an unlocked state, at least one vehicle door is in an open state, working time of the automatic vehicle hold system exceeds a threshold, or the user leaves the vehicle.
9 . The method of claim 1 , further comprising controlling, based on a third user instruction or when the status information of the vehicle meets a third condition, the automatic vehicle hold system to switch to a sleep state, wherein the third user instruction instructs to disable the automatic vehicle hold function, and wherein the third condition comprises an accelerator pedal stroke is not 0, an accelerator pedal force is not 0, a gear is a park gear, or an electric parking brake is enabled.
10 . The method of claim 1 , wherein the first user instruction comprises a voice instruction of a user, an operation instruction of the user on a touchscreen, or a gesture instruction of the user.
11 . An apparatus comprising:
a transceiver configured to:
obtain a first user instruction instructing to enable an automatic vehicle hold function; and
obtain status information of a vehicle; and
a controller coupled to the transceiver and configured to:
control, based on the first user instruction, an automatic vehicle hold system to switch to a wake-up state; and
switch, based on the status information, a status of the automatic vehicle hold system.
12 . The apparatus of claim 11 , wherein the controller further configured to:
obtain a user intention when the status information of the vehicle meets a first condition; and
switch, based on the user intention, the status.
13 . The apparatus of claim 12 , wherein the controller is further configured to:
send first prompt information to prompt a user to confirm performing an automatic vehicle hold operation;
obtain, from the user and in response to the first prompt information, a second user instruction; and
control the automatic vehicle hold system to switch to an activated state when the second user instruction instructs to confirm performing the automatic vehicle hold operation.
14 . The apparatus of claim 13 , wherein the controller is further configured to control the automatic vehicle hold system to switch to a sleep state when the second user instruction instructs to disable the automatic vehicle hold function.
15 . The apparatus of claim 12 , wherein the transceiver is further configured to send second prompt information when the status information of the vehicle does not meet the first condition, and wherein the second prompt information notifies a user of the status information of the vehicle that does not meet the first condition.
16 . The apparatus of claim 12 , wherein the first condition comprises a brake pedal stroke is greater than a first threshold, a brake pedal force is greater than a second threshold, brake system pressure is greater than a third threshold, a vehicle speed is 0, an accelerator pedal stroke is 0, or an accelerator pedal force is 0.
17 . The apparatus of claim 12 , wherein the first condition further comprises the automatic vehicle hold system is fault-free, a vehicle door is in a closed state, or a seat belt of a user is fastened.
18 . The apparatus of claim 11 , wherein the controller is further configured to enable an electric parking brake when the status information of the vehicle meets a second condition, and wherein the second condition comprises a seat belt of a user is in an unlocked state, at least one vehicle door is in an open state, working time of the automatic vehicle hold system exceeds a fourth threshold, or the user leaves the vehicle.
19 . The apparatus of claim 11 , wherein the controller is further configured to control, based on a third user instruction or when the status information of the vehicle meets a third condition, the automatic vehicle hold system to switch to a sleep state, wherein the third user instruction instructs to disable the automatic vehicle hold function, and wherein the third condition comprises an accelerator pedal stroke is not 0, an accelerator pedal force is not 0, a gear is a park gear, or an electric parking brake is enabled.
20 . A computer program product comprising computer-executable instructions that are stored on a non-transitory computer storage medium and that, when executed by one or more processors, cause an apparatus to:
obtain a first user instruction instructing to enable an automatic vehicle hold function;
control, based on the first user instruction an automatic vehicle hold system to switch to a wake-up state;
obtain status information of a vehicle; and
switch, based on the status information, a status of the automatic vehicle hold system.