Vehicle control method, electronic device and vehicle

By obtaining vehicle status and slope information, the vehicle is prohibited from entering the creeping mode, the collision risk problem caused by unanticipated departure after the vehicle stops, and the driving safety and intelligence of vehicle control logic are improved.

CN118618357BActive Publication Date: 2024-11-22ZHANGJIAGANG GREAT WALL MOTOR R&D CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411107028.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-22
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

If the vehicle does not enter the parking gear and leaves the driving position after brake stop, it may lead to unexpected departure and increase the risk of collision.

Method used

By obtaining vehicle status information, road slope information and current vehicle speed, we can determine whether the collision risk conditions are met, and prohibit the vehicle from entering the creeping mode when the conditions are met to avoid unexpected departure.

Benefits of technology

Effectively avoid unexpected departure of the vehicle when the driver fails to take over, reduces collision risks, improves driving safety, and optimizes vehicle control logic without increasing hardware costs, improving intelligence and humanization levels .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118618357B_ABST
    Figure CN118618357B_ABST
Patent Text Reader

Abstract

The present application provides a vehicle control method, an electronic device and a vehicle, which are applied to the field of vehicle technology. The method includes obtaining vehicle status information, road slope information, current vehicle speed and current brake pedal opening. In response to the current vehicle speed being zero and the current brake pedal opening being zero, it indicates that the vehicle is currently in a brake stop state and the driver has not stepped on the brake pedal. Whether the vehicle meets the preset collision risk condition is determined based on the vehicle status information and the slope information. In response to the vehicle meeting the collision risk condition, it indicates that if the vehicle unexpectedly leaves, that is, the vehicle starts to drive slowly without the driver taking over the vehicle, there may be a risk of collision. Therefore, prohibiting the vehicle from entering the creep mode at this time can avoid the vehicle from unexpectedly leaving, thereby avoiding a collision and improving driving safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As the number of cars continues to increase, there are more and more car travel scenarios. After the vehicle stops, when the driver leaves the driving position and the vehicle is not in P gear, the vehicle will enter creep mode, resulting in unexpected departure and a collision risk. Summary of the invention

[0003] In view of this, the purpose of the present application is to propose a vehicle control method, an electronic device and a vehicle to solve the problem of collision risk when the vehicle leaves unexpectedly.

[0004] Based on the above purpose, the first aspect of the present application provides a vehicle control method, comprising:

[0005] Obtain vehicle status information, road slope information, current vehicle speed and current brake pedal opening;

[0006] In response to the current vehicle speed being zero and the current brake pedal opening being zero, determining whether the vehicle meets a preset collision risk condition according to the vehicle state information and the slope information;

[0007] In response to the vehicle satisfying the collision risk condition, the vehicle is prohibited from entering the creep mode.

[0008] Optionally, the vehicle state information includes current gear position and current driver side state information; and judging whether the vehicle meets a preset collision risk condition according to the vehicle state information and the slope information includes:

[0009] In response to the current gear being a preset gear, determining whether the slope information satisfies a first preset slope condition;

[0010] In response to the slope information satisfying the first preset slope condition, it is determined whether the current driving side state information satisfies an activation condition for automatically entering the parking gear. If not, it is determined that the vehicle satisfies a preset collision risk condition.

[0011] Optionally, the slope information includes a slope direction and a slope angle; and the determining whether the slope information satisfies a first preset slope condition includes:

[0012] In response to the slope direction being downhill, or the slope direction being uphill and the slope angle being within a first preset range, it is determined that the slope information satisfies a first preset slope condition.

[0013] Optionally, the current driver-side state information includes driver-side door opening information and seat belt unlocking information; and the determining whether the current driver-side state information satisfies an activation condition for automatically entering the parking gear includes:

[0014] In response to the driver's side door opening information being opened and the seat belt unlocking information being unlocked, it is determined that the current driver's side state information meets an activation condition for automatically entering the parking gear.

[0015] Optionally, before determining that the vehicle meets a preset collision risk condition, the method includes:

[0016] Obtain in-vehicle image information;

[0017] determining whether the driver is in the driving position according to the in-vehicle image information;

[0018] In response to the driver not being in the driving position, it is determined that the vehicle meets a preset collision risk condition.

[0019] Optionally, the vehicle status information includes current gear position and current driver side status information; the method further includes:

[0020] In response to the vehicle not satisfying the collision risk condition and the current gear position being a preset gear position, determining whether the slope information satisfies a second preset slope condition;

[0021] In response to the slope information satisfying the second preset slope condition, it is determined whether the current driver-side state information satisfies an activation condition for automatically entering the parking gear. If not, a gear warning message is issued.

[0022] Optionally, the slope information includes a slope direction and a slope angle; and the determining whether the slope information satisfies a second preset slope condition includes:

[0023] In response to the slope direction being uphill and the slope angle being within a second preset range, it is determined that the slope information satisfies a second preset slope condition.

[0024] Optionally, after prohibiting the vehicle from entering the creep mode, the method further includes:

[0025] Get the accelerator pedal opening in real time;

[0026] In response to the accelerator pedal opening being not zero, prohibiting the vehicle from entering the creep mode is released.

[0027] The second aspect of the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0028] A third aspect of the present application also provides a vehicle, comprising the electronic device as described in the second aspect.

[0029] From the above, it can be seen that the vehicle control method, electronic device and vehicle provided by the present application include obtaining vehicle status information, road slope information, current vehicle speed and current brake pedal opening. In response to the current vehicle speed being zero and the current brake pedal opening being zero, it indicates that the vehicle is currently in a brake stop state and the driver has not stepped on the brake pedal. It is determined whether the vehicle meets the preset collision risk condition based on the vehicle status information and the slope information. In response to the vehicle meeting the collision risk condition, it indicates that if the vehicle unexpectedly leaves, that is, the vehicle starts to drive slowly without the driver taking over the vehicle, there may be a collision risk. Therefore, prohibiting the vehicle from entering the creeping mode at this time can avoid the vehicle from unexpectedly leaving, thereby avoiding a collision and improving driving safety. At the same time, without increasing the vehicle hardware, the vehicle control logic is optimized and the hardware cost is not increased, so as to make the vehicle more intelligent and humane. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0031] Figure 1 A schematic flow chart of a vehicle control method according to an embodiment of the present application;

[0032] Figure 2 A schematic flow chart of a vehicle control method according to another embodiment of the present application;

[0033] Figure 3 A schematic diagram of the structure of a vehicle control device according to an embodiment of the present application;

[0034] Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0036] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0037] In the related art, after the vehicle stops, in order to prevent the driver from forgetting to put the vehicle into the parking gear when leaving the vehicle, the control logic of automatically entering the parking gear is added to the vehicle control strategy. When it is detected that the driver's door opening information is opened and the seat belt unlocking information is unlocked, it is considered that the driver has left the vehicle. If the gear is not in the parking gear at this time, the trigger condition for automatically entering the parking gear is met, and the vehicle gear is automatically put into the parking gear to ensure the safety of the vehicle. However, in actual use scenarios, if the driver uses irregular vehicle use methods such as seat belt lock extenders to keep the seat belt in a locked state, when the driver stops the vehicle and does not put the vehicle into the parking gear to get off, the trigger condition for automatically entering the parking gear is not met, and the vehicle control strategy will not execute the control logic of automatically entering the parking gear. If the vehicle is on a downhill section or the vehicle enters the creeping mode at this time, it will cause the vehicle to drive away unexpectedly, and there is a risk of vehicle collision.

[0038] In addition, when the vehicle stops on a slope, the uphill assist function will be activated when the driver steps on the brake pedal. After the uphill assist function is activated, the vehicle can still maintain the original braking force for 2~4s even if the driver no longer steps on the brake pedal. During this period, the vehicle stays in place and does not enter the creeping mode. If at this time, the driver stops the vehicle and does not shift the vehicle gear into the parking gear and leaves the vehicle, when the driver just gets off the vehicle, the uphill assist function is activated and the vehicle will not move, causing the driver to mistakenly believe that the vehicle has been shifted into the parking gear and then leave the vehicle. If the seat belt is still locked at this time, the vehicle will not activate the function of automatically entering the parking gear, and the current gear of the vehicle will remain in the non-parking gear. After the uphill assist function is executed, since the vehicle is currently in the driving gear or reverse gear, the vehicle will automatically enter the creeping mode, causing the vehicle to unexpectedly leave after the driver leaves, posing a safety hazard. Especially in cities with many slopes, the probability of unexpected vehicle departure due to the above reasons is high, and the collision caused by the unexpected departure of the vehicle will cause certain losses to users, leading to user complaints and reduced user satisfaction.

[0039] In view of this, the present application provides a vehicle control method, which prohibits the vehicle from entering the creeping mode if it is determined that there is a risk of collision after the vehicle stops, so as to avoid the vehicle from unexpectedly driving away and improve the safety of vehicle use. The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0040] This application proposes a vehicle control method, referring to Figure 1 , including the following steps:

[0041] Step 102: Obtain vehicle status information, road slope information, current vehicle speed, and current brake pedal opening.

[0042] Specifically, the vehicle status information includes the current gear position, the driver's door opening information, and the seat belt unlocking information. The vehicle status information, the current vehicle speed, and the current brake pedal opening can be used to know the current driving state of the vehicle and the state of the driver controlling the vehicle. If the current vehicle speed is greater than the vehicle speed threshold (such as 5km / h), the current gear position is the forward gear or the reverse gear, indicating that the vehicle is in a driving state. If the current vehicle speed is less than or equal to the vehicle speed threshold, the current gear position is the parking gear, indicating that the vehicle is in a parking state or is about to be in a parking state. If the brake pedal opening is not zero, it means that the driver currently has the intention to slow down or brake. If the driver's door opening information is opened, the seat belt unlocking information is unlocked, indicating that the driver has left the vehicle. If the driver's door opening information is not opened, it means that the driver has not left the vehicle. The slope information includes the slope direction and slope angle of the current road. The slope of the road can be obtained through the slope information. According to the slope direction, it can be determined whether the current road is an uphill road or a downhill road, and according to the slope angle, the slope resistance of the slope can be determined. If it is an uphill road, the slope angle is large, the slope resistance is large, and the slope angle is small, the slope resistance is small. The uphill assist function will only be activated when the slope angle of the uphill road is greater than the slope threshold (such as 4%). When the slope angle of the uphill road is less than or equal to the slope threshold, the uphill assist function will not be activated. The slope information is combined with the vehicle's driving status and the driver's control of the vehicle to determine whether there is a collision risk. The collision risk refers to the risk of the vehicle colliding with other vehicles or obstacles in the event of an unexpected departure.

[0043] Step 104 : In response to the current vehicle speed being zero and the current brake pedal opening being zero, determine whether the vehicle meets a preset collision risk condition based on the vehicle state information and the slope information.

[0044] Specifically, if the current vehicle speed is zero and the current brake pedal opening is zero, it means that the vehicle has stopped and the driver has released the brake pedal. As can be seen from the above analysis, in the current situation, if the vehicle gear is not in the parking gear, the vehicle is on a downhill section or enters the creep mode, the vehicle may unexpectedly drive off. Therefore, it is necessary to determine whether the vehicle will have a collision risk. The judgment of the collision risk needs to be specifically analyzed based on the vehicle status information and slope information, that is, to determine whether the vehicle meets the preset collision risk conditions based on the vehicle status information and slope information. The collision risk conditions are pre-established based on the vehicle status information and road condition information of the vehicle at the time of a collision. If the collision risk conditions are met, it means that the vehicle is at risk of collision. If the collision risk conditions are not met, it means that the vehicle is not at risk of collision.

[0045] Step 106: In response to the vehicle satisfying the collision risk condition, prohibiting the vehicle from entering the creep mode.

[0046] Specifically, if the vehicle meets the collision risk condition, it means that the current driver has not taken over the vehicle, and the vehicle has unexpectedly driven away, and there is a risk of collision. In order to avoid the risk of collision, it is necessary to prohibit the vehicle from unexpectedly driving away. After the vehicle stops, if the current gear of the vehicle is the parking gear, the vehicle will not drive away unexpectedly. However, if the current gear of the vehicle is the forward gear or the reverse gear, the vehicle will enter the creeping mode driven by the creeping torque, which will cause the vehicle to drive away unexpectedly. Therefore, in order to avoid vehicle collisions, it is necessary to ensure that the vehicle stays in place and does not move, and the vehicle is prohibited from entering the creeping mode. At this time, the vehicle will not generate creeping torque, thereby ensuring that the vehicle does not generate any displacement. After that, even if the gear of the vehicle is the forward gear or the reverse gear, the vehicle will not drive away unexpectedly, and the safety of the vehicle can be guaranteed when the driver has not taken over the vehicle (such as when leaving the vehicle).

[0047] Based on the above steps 102 to 108, the vehicle control method provided in this embodiment includes obtaining vehicle status information, road slope information, current vehicle speed and current brake pedal opening. In response to the current vehicle speed being zero and the current brake pedal opening being zero, it indicates that the vehicle is currently in a brake stop state and the driver has not stepped on the brake pedal. It is determined whether the vehicle meets the preset collision risk condition based on the vehicle status information and the slope information. In response to the vehicle meeting the collision risk condition, it indicates that if the vehicle unexpectedly leaves, that is, the vehicle starts to drive slowly without the driver taking over the vehicle, there may be a collision risk. Therefore, prohibiting the vehicle from entering the creeping mode at this time can avoid the vehicle from unexpectedly leaving, thereby avoiding a collision and improving driving safety. Even if the driver forgets to shift the gear into the parking gear when leaving the vehicle, the vehicle will not move, avoiding the loss to the user caused by the risk of vehicle collision. When a vehicle has both the automatic parking gear function and the hill-start assist function, it can avoid the hidden dangers of vehicle use caused by the failure of the automatic parking gear function to be successfully triggered in specific scenarios, making the vehicle control logic more intelligent and humane, providing users with better intelligent control services, ensuring that the safety needs of users when actually using the vehicle are met, and significantly improving users' vehicle satisfaction.

[0048] The following describes a situation where a vehicle meets the collision risk condition through a specific embodiment.

[0049] In some embodiments, the vehicle state information includes current gear position and driver's door opening information; and judging whether the vehicle meets a preset collision risk condition based on the vehicle state information and the slope information includes:

[0050] In response to the current gear being a preset gear, it is determined whether the slope information satisfies a first preset slope condition; in response to the slope information satisfying the first preset slope condition, it is determined whether the current driving side status information satisfies an activation condition for automatically entering the parking gear; if not, it is determined that the vehicle satisfies a preset collision risk condition.

[0051] Specifically, the preset gear is a non-parking gear, including a forward gear and a reverse gear. If the current gear is a forward gear or a reverse gear, it means that the vehicle has not been engaged in a parking gear after braking, and there is a possibility that the vehicle will enter a creeping mode. If the driver leaves the vehicle or fails to take over the vehicle, the vehicle will unexpectedly leave. If the vehicle does not activate the uphill assist function at this time, the vehicle will enter the creeping mode quickly, and the vehicle will start to move when the driver just gets off the vehicle. At this time, the driver can easily find the unexpected departure of the vehicle and can immediately take over the vehicle to prevent the vehicle from continuing to move. Therefore, in this case, it can be regarded as no collision risk. However, if the vehicle activates the uphill assist function, the vehicle will remain in place under the control of the uphill assist function when the driver just gets off the vehicle, and will not move. When the driver moves away from the vehicle, the vehicle will enter the creeping mode and start to move. The driver cannot find the unexpected departure of the vehicle in time or cannot take over the vehicle in time, resulting in a collision. Therefore, the collision risk is relatively high at this time. The hill-start assist function is activated only when the slope angle is greater than the slope threshold and the brake pedal is depressed. Therefore, when the current gear is the preset gear, it is also necessary to combine the slope information to further determine whether the vehicle will face a collision risk in order to improve the accuracy of the collision risk judgment.

[0052] If the current road is downhill, and the vehicle is not engaged in the parking gear after braking, the vehicle will roll. If it enters the creep mode, the speed will be further accelerated, and there is a risk of collision. If the current road is uphill, the slope angle must also be considered. The control logic and driving state of the vehicle are different at different slope angles. When the slope angle is less than the slope threshold, the uphill assist function will not be activated, and the speed from the vehicle braking to entering the creep mode is faster. When the slope angle is greater than or equal to the slope threshold, the uphill assist function is activated. The time from the vehicle braking to entering the creep mode is the length of time the uphill assist function is activated, which is usually 2~4s. There is a possibility that the driver will not find that the vehicle has entered the creep mode in time. When the slope angle is greater than the slope limit, even if the uphill assist function is activated, the vehicle stays for 2~4s to enter the creep mode, but because the slope angle is large at this time (for example, the slope angle is greater than 8%), the creep torque of the vehicle is not enough to overcome the slope resistance, and the vehicle will not move forward. Entering the creep mode at this time can also slow down the vehicle from sliding backward due to the large slope angle. It can be seen that the slope angle is an important factor in assessing collision risk.

[0053] When the slope information meets the first preset slope condition, it means that the vehicle will unexpectedly leave when going uphill or downhill, and there will be a risk of collision if the driver does not take over the vehicle. However, if the vehicle can activate the function of automatically entering the parking gear, even if the driver forgets to engage the parking gear, the vehicle can automatically enter the parking gear, thereby avoiding the occurrence of a collision. Therefore, in this case, it can also be regarded as no collision risk. Therefore, it is necessary to further determine whether the vehicle will activate the function of automatically entering the parking gear. If the function of automatically entering the parking gear cannot be activated, there is a risk of collision. When determining whether the function of automatically entering the parking gear will be activated, it is necessary to determine based on the current driver's side status information. The current driver's side status information includes the driver's side door opening information and the seat belt unlocking information. The driver's side door opening information includes opened and not opened, and the seat belt unlocking information includes unlocked and not unlocked. If the driver's side door opening information is opened, and the seat belt unlocking information is unlocked, it is generally considered that the driver has left the driving position. At this time, the function of automatically entering the parking gear is activated, and the vehicle does not have a collision risk. If the driver's door opening information is not open or the seat belt unlocking information is not unlocked, the function of automatically entering the parking gear cannot be activated, and the vehicle is at risk of collision. In summary, when judging whether the vehicle meets the preset collision risk conditions, it is necessary to combine various information for judgment to improve the accuracy of the judgment. When it is accurately determined that there is a collision risk, the strategy of prohibiting creeping is executed to avoid erroneously prohibiting the vehicle from creeping when there is no collision risk, affecting the normal control logic of the vehicle, causing inconvenience to the user or causing the user to mistakenly believe that the vehicle has a fault. Furthermore, in order to facilitate the user to understand the control strategy currently implemented by the vehicle, when creeping is prohibited, the user can be prompted by voice, text or light prompts that the current vehicle has activated the prohibition of creeping function, so that the user can understand the vehicle status in a timely manner.

[0054] Through the method of this embodiment, combined with the vehicle status information and slope information, it is possible to accurately determine whether the vehicle has a collision risk. If it is determined that there is a collision risk, the vehicle can be promptly controlled to prohibit entering the creep mode, so as to effectively avoid a collision in the event of an unexpected departure of the vehicle, thereby improving the safety of vehicle use.

[0055] The following describes a specific embodiment in which the first preset slope condition is met.

[0056] In some embodiments, the slope information includes a slope direction and a slope angle; and determining whether the slope information satisfies a first preset slope condition includes:

[0057] In response to the slope direction being downhill, or the slope direction being uphill and the slope angle being within a first preset range, it is determined that the slope information satisfies a first preset slope condition.

[0058] Specifically, satisfying the first preset slope condition includes two situations:

[0059] First, when the slope direction is downhill, it is determined that the slope information meets the first preset slope condition. When the vehicle stops on a downhill section, if the vehicle's current gear is forward gear or reverse gear, and the automatic parking gear function cannot be activated, the vehicle will enter creep mode. In addition, the downhill section will cause the vehicle to roll, and the unexpected departure of the vehicle will pose a risk of collision.

[0060] Secondly, when the slope direction is uphill and the slope angle is within the first preset range, it is determined that the slope information meets the first preset slope condition. Exemplarily, the first preset range is 4% <slope angle ≤ 8%. When the slope angle is within the first preset range, the uphill assist function will be activated after the driver steps on the brake pedal, and the braking force will be released after 4s. At this time, the vehicle enters the creep mode. Since the slope angle is relatively slow, the creep torque can overcome the slope resistance, resulting in unexpected vehicle departure, and there is a risk of collision. When the slope angle is less than or equal to 4%, the uphill assist function will not be activated, and the vehicle will quickly enter the creep mode. The driver can easily find the unexpected departure of the vehicle and take over the vehicle in time to avoid the risk of collision. When the slope angle is greater than 8%, the uphill assist function will be activated after the driver steps on the brake pedal, and the braking force will be released after 4s. At this time, the vehicle enters the creep mode. Since the slope angle is relatively large, the creep torque is not enough to overcome the slope resistance, and the vehicle will not leave unexpectedly, and there is no risk of collision.

[0061] Through the method of this embodiment, various scenarios that a vehicle may encounter on a ramp are fully considered, and a comprehensive analysis is performed in combination with the slope direction and slope angle. Regardless of whether the vehicle is on an uphill section or a downhill section, by reasonably formulating the first preset slope condition, it is possible to accurately determine whether the vehicle has a collision risk, thereby improving the safety of vehicle use.

[0062] The following describes the situation where the activation conditions for automatically entering the parking gear are met through a specific embodiment.

[0063] In some embodiments, the current driver-side state information includes driver-side door opening information and seat belt unlocking information; and the determining whether the current driver-side state information satisfies the activation condition for automatically entering the parking gear includes:

[0064] In response to the driver's side door opening information being opened and the seat belt unlocking information being unlocked, it is determined that the current driver's side state information meets an activation condition for automatically entering the parking gear.

[0065] Specifically, when the driver's door opening information is open and the seat belt unlocking information is unlocked, it is generally considered that the driver has left the driving position, and it is determined that the activation conditions for automatically entering the parking gear are met. After activating the automatic entry into the parking gear function, the vehicle switches from the current non-parking gear to the parking gear.

[0066] The current driver's side status information does not meet the activation conditions for automatically entering the parking gear, including three situations:

[0067] 1) If the driver's door is open and the seat belt unlocking information is not unlocked, it is usually considered that the driver is in the driving position, and the vehicle cannot activate the automatic parking function. However, if the driver uses the seat belt lock delay, even if the seat belt unlocking information is not unlocked, it cannot be accurately determined whether the driver is in the vehicle. After the vehicle leaves unexpectedly, the driver may not be able to take over the vehicle immediately, and the vehicle is at risk of collision.

[0068] 2) The driver's door opening information is not opened, and the seat belt unlocking information is not unlocked. It is usually considered that the driver is in the driving position. At this time, the vehicle cannot activate the function of automatically entering the parking gear. If the vehicle enters the creep mode, the driver can take over the vehicle in time and there is no risk of collision.

[0069] 3) The driver's door opening information is not opened, and the seat belt unlocking information is unlocked. It is usually considered that the driver is in the driving position. At this time, the vehicle cannot activate the function of automatically entering the parking gear. If the vehicle enters the creep mode, the driver can take over the vehicle in time and there is no risk of collision.

[0070] Based on the above three situations, when the vehicle does not meet the activation conditions for automatically entering the parking gear, there is a possibility of collision. Therefore, the vehicle’s failure to automatically enter the parking gear is also used as one of the factors in assessing whether there is a collision risk.

[0071] The method of this embodiment can accurately determine whether the vehicle meets the activation conditions for automatically entering the parking gear. If so, after the vehicle activates the automatic parking gear function, the current gear is switched to the parking gear, which can prevent the vehicle from unexpectedly driving away. If not, it is determined that there is a collision risk, and the vehicle is prohibited from entering the creep mode, which can prevent the vehicle from unexpectedly driving away, thereby improving the safety of vehicle use.

[0072] In a specific usage scenario, even if the driver's door opening information is open and the seat belt unlocking information is unlocked, it is possible that the driver has not left the driving position. At this time, if the vehicle unexpectedly leaves, the driver can take over the vehicle in time and control the vehicle brakes to avoid a collision. At this time, it can be considered that there is no collision risk, that is, there is no need to prohibit the vehicle from entering the creeping mode. Therefore, in order to further accurately determine whether the driver has left the vehicle, it can be judged by detecting the image information inside the vehicle.

[0073] In some embodiments, before determining that the vehicle meets a preset collision risk condition, the method includes:

[0074] Obtain in-vehicle image information;

[0075] determining whether the driver is in the driving position according to the in-vehicle image information;

[0076] In response to the driver not being in the driving position, it is determined that the vehicle meets a preset collision risk condition.

[0077] Specifically, before determining that the vehicle meets the preset collision risk conditions, the in-vehicle image information is obtained. Among them, the in-vehicle image information can be obtained by the on-board camera, and the real-time image of the interior of the vehicle is captured by the on-board camera. According to the in-vehicle image information, it is determined whether the driver is in the driving position. If the driver is in the driving position, when the vehicle unexpectedly leaves, the driver can take over the vehicle in time, and it is determined that there is no collision risk. If the driver is not in the driving position, when the vehicle unexpectedly leaves, the driver cannot take over the vehicle in time, and it is determined that there is a collision risk. Through the method of this embodiment, it is possible to accurately determine whether the driver is in the driving position, and then accurately determine whether there is a collision risk at present.

[0078] When there is no camera installed in the car, it is impossible to obtain image information inside the car, and thus it is impossible to accurately determine whether the driver has left the vehicle. It is also possible to further determine whether the driver has left the vehicle through other means. If pressure is continuously detected in the driving position, it can also assist in determining that the driver is in the driving position, which is described below through a specific embodiment.

[0079] In some embodiments, before determining that the vehicle meets a preset collision risk condition, the method includes:

[0080] Obtaining pressure signals from the driving position;

[0081] determining whether the driver is in the driving position according to the pressure signal;

[0082] In response to the driver not being in the driving position, it is determined that the vehicle meets a preset collision risk condition.

[0083] Specifically, the pressure signal is obtained by a pressure sensor arranged at the driving position. According to the pressure signal, it can be determined whether the driver is in the driving position. If the pressure signal exceeds a certain limit, it is determined that the driver is in the driving position. If the pressure signal is less than or equal to a certain limit, it is determined that the driver is not in the driving position. If the driver is in the driving position, when the vehicle leaves unexpectedly, the driver can take over the vehicle in time, then it is determined that there is no collision risk. If the driver is not in the driving position, when the vehicle leaves unexpectedly, the driver cannot take over the vehicle in time, then it is determined that there is a collision risk. Through the method of this embodiment, it is possible to accurately determine whether the driver is in the driving position, and then accurately determine whether there is a collision risk at present.

[0084] When there is no risk of collision, if the vehicle unexpectedly drives away, a warning message needs to be sent to the driver to remind the driver to switch the vehicle gear to the parking gear to improve the safety of the vehicle. Specific embodiments are described below.

[0085] In some embodiments, the vehicle status information includes current gear position and current driver side status information; the method further includes:

[0086] In response to the vehicle not satisfying the collision risk condition and the current gear is a preset gear, it is determined whether the slope information satisfies a second preset slope condition; in response to the slope information satisfying the second preset slope condition, it is determined whether the current driving side status information satisfies the activation condition for automatically entering the parking gear, and if not, a gear warning message is issued.

[0087] Specifically, even if the vehicle does not meet the collision risk condition, after the driver leaves the vehicle, if the vehicle gear is in a non-parking gear and the function of automatically entering the parking gear cannot be activated, the vehicle still has certain safety risks and needs to send a warning message to the driver. First, determine whether the current gear is a preset gear. For example, the preset gear is a non-parking gear, specifically including a forward gear and a reverse gear. If the current gear is a forward gear or a reverse gear, it means that the vehicle can enter the creep mode. Further determine whether the slope information meets the second preset slope condition. The slope corresponding to the second preset slope condition is the critical slope at which the creep torque of the vehicle is equal to the slope resistance. When the slope information meets the second preset slope condition, the slope is steeper and the slope resistance is larger. The creep torque of the vehicle when entering the creep mode cannot overcome the slope resistance. At the same time, entering the creep mode can also prevent the vehicle from slipping due to the steep slope. At this time, there is no collision risk. However, since the vehicle is not in the parking gear at this time and the vehicle cannot activate the function of automatically entering the parking gear, the vehicle still has certain safety risks, and it is necessary to send a gear warning message to the driver to prompt the driver to switch the current gear to the parking gear to improve the safety of vehicle use. It should be noted that the gear warning message may include voice prompt information, display prompt information or light prompt information, etc., and this embodiment does not make specific restrictions on this.

[0088] The following describes the situation where the second preset slope condition is met through a specific embodiment.

[0089] In some embodiments, the slope information includes a slope direction and a slope angle; and determining whether the slope information satisfies a second preset slope condition includes:

[0090] In response to the slope direction being uphill and the slope angle being within a second preset range, it is determined that the slope information satisfies a second preset slope condition.

[0091] Specifically, when the slope direction is uphill and the slope angle is within the second preset range, it is determined that the slope information meets the second preset slope condition. Exemplarily, the second preset slope range is: 8% <slope angle ≤ 30%. When the slope angle is within the second preset range, the driver will activate the uphill assist function after stepping on the brake pedal, and the braking force will be released after 4 seconds, at which time the vehicle enters the creep mode. Compared with the first preset slope range, since the slope angle of the second preset slope range is relatively steep, the creep torque cannot overcome the slope resistance. At the same time, entering the creep mode can also prevent the vehicle from slipping due to the steep slope, and there is no risk of collision at this time. Therefore, there is no need to prohibit the vehicle from entering the creep mode. If the creep mode is prohibited at this time, the risk of the vehicle slipping backwards will increase. However, when the slope angle exceeds 30%, the braking force when the uphill assist function is activated cannot overcome the slope resistance, the uphill assist function fails, the vehicle will slip backwards, and there is a risk of collision. At this time, a warning message needs to be issued to the driver. Through the method of this embodiment, even if the vehicle is on an uphill section, by reasonably formulating the second preset slope condition and comprehensively considering the force conditions of the vehicle at different slopes, it is possible to accurately determine whether the vehicle is at risk of collision. When there is no collision risk, there is no need to prohibit the vehicle from entering the creep mode, which optimizes the vehicle's control logic and improves the safety of vehicle use.

[0092] After the vehicle is prohibited from entering the creeping mode, if the vehicle is running normally, it is necessary to release the function of prohibiting the vehicle from entering the creeping mode, which is explained below through a specific embodiment.

[0093] In some embodiments, after prohibiting the vehicle from entering the creep mode, the method further comprises:

[0094] The accelerator pedal opening is acquired in real time; in response to the accelerator pedal opening being not zero, the prohibition of the vehicle from entering the creep mode is lifted.

[0095] Specifically, after the vehicle is prohibited from entering the creep mode, the accelerator pedal opening is obtained in real time. The accelerator pedal opening can reflect the driver's driving demand. If the accelerator pedal opening is zero, it means that there is no driving demand at present, and the vehicle is in static mode or enters creep mode. If the accelerator pedal opening is not zero, it means that there is a driving demand at present, and the driver has taken over the vehicle. The vehicle needs to respond to the driver's driving demand to restore the vehicle to a driving state. At this time, it is necessary to lift the prohibition on the vehicle from entering the creep mode to avoid conflicts with the control strategy under the normal driving state of the vehicle. Through the method of this embodiment, when the driver takes over the vehicle and there is a certain driving demand, the prohibition on the vehicle from entering the creep mode can be lifted in time to ensure the normal driving of the vehicle.

[0096] It should be noted that the reference Figure 2 , the embodiments of the present application may be further described in the following manner:

[0097] Step 1: Obtain the current vehicle speed and the current brake pedal opening, and determine whether the current vehicle speed is zero and the current brake pedal opening is zero. If not, continue to obtain the current vehicle speed and the current brake pedal opening; if yes, proceed to step 2 and step 3;

[0098] Step 2: Obtain vehicle status information and road slope information. Vehicle status information includes current gear position and current driver side status information. Slope information includes slope direction and slope angle. Determine whether the current gear position is a preset gear position (including forward gear D and reverse gear R), and whether the slope direction is downhill. If yes, proceed to step 4.

[0099] Step 3: Obtain vehicle status information and road slope information. Vehicle status information includes current gear position and current driver side status information. Slope information includes slope direction and slope angle. Determine whether the current gear position is a preset gear position (including forward gear D and reverse gear R), and whether the slope direction is uphill. If yes, proceed to step 6, step 7 and step 8;

[0100] Step 4: Determine whether the activation condition for automatically entering the parking gear is met based on the current driver's side status information. The current driver's side status information includes the driver's side door opening information and the seat belt unlocking information. If the driver's side door opening information is open, and the seat belt unlocking information is unlocked, it is determined that the current driver's side status information meets the activation condition for automatically entering the parking gear, and the vehicle gear position is automatically switched to the parking gear; if not, proceed to step 5;

[0101] Step 5: Disable the vehicle from entering creep mode;

[0102] Step 6: Determine whether the slope angle is ≤4%. If yes, proceed to step 9;

[0103] Step 7: Determine whether 4% < slope angle ≤ 8% (first preset slope condition), if yes, proceed to step 11;

[0104] Step 8: Determine whether 8% < slope angle ≤ 30% (second preset slope condition). If yes, proceed to step 14;

[0105] Step 9: judging whether the activation condition for automatically entering the parking gear is met according to the current driver's side state information, the current driver's side state information includes the driver's side door opening information and the seat belt unlocking information. If the driver's side door opening information is opened, and the seat belt unlocking information is unlocked, it is determined that the current driver's side state information meets the activation condition for automatically entering the parking gear, and the vehicle gear position is automatically switched to the parking gear; if not, proceeding to step 10;

[0106] Step 10: The vehicle enters creep mode;

[0107] Step 11: Activate the hill-start assist function and go to step 12;

[0108] Step 12: judging whether the activation condition for automatically entering the parking gear is met according to the current driver's side state information, the current driver's side state information includes the driver's side door opening information and the seat belt unlocking information. If the driver's side door opening information is opened and the seat belt unlocking information is unlocked, it is determined that the current driver's side state information meets the activation condition for automatically entering the parking gear, and the vehicle gear position is automatically switched to the parking gear; if not, proceeding to step 13;

[0109] Step 13: The vehicle is prohibited from entering the creep mode, and a gear position warning message is issued;

[0110] Step 14: Activate the hill-start assist function and go to step 15;

[0111] Step 15: judging whether the activation condition for automatically entering the parking gear is met according to the current driver's side state information, the current driver's side state information includes the driver's side door opening information and the seat belt unlocking information. If the driver's side door opening information is opened, and the seat belt unlocking information is unlocked, it is determined that the current driver's side state information meets the activation condition for automatically entering the parking gear, and the vehicle gear position is automatically switched to the parking gear; if not, proceeding to step 16;

[0112] Step 16: The vehicle enters creep mode and issues a gear warning message.

[0113] Through the method of this embodiment, when the vehicle gear is in the preset gear, the force condition of the vehicle is analyzed according to the slope direction and slope angle, and then it is accurately determined whether it is necessary to prohibit the vehicle from entering the creeping mode under different road conditions, and whether it is necessary to send a gear warning message to the driver. The control logic of the vehicle is optimized, the intelligent service of the vehicle is improved, and the user's safety vehicle use needs are met.

[0114] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0115] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0116] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle control device.

[0117] refer to Figure 3 , the vehicle control device comprises:

[0118] The acquisition module 302 is configured to acquire vehicle state information, road slope information, current vehicle speed and current brake pedal opening;

[0119] The judgment module 304 is configured to judge whether the vehicle meets a preset collision risk condition according to the vehicle state information and the slope information in response to the current vehicle speed being zero and the current brake pedal opening being zero;

[0120] The prohibition module 306 is configured to prohibit the vehicle from entering the creep mode in response to the vehicle satisfying the collision risk condition.

[0121] In some embodiments, the vehicle state information includes the current gear position and the current driver side state information; the judgment module 304 is further configured to judge whether the slope information satisfies a first preset slope condition in response to the current gear position being a preset gear position;

[0122] In response to the slope information satisfying the first preset slope condition, it is determined whether the current driving side state information satisfies an activation condition for automatically entering the parking gear. If not, it is determined that the vehicle satisfies a preset collision risk condition.

[0123] In some embodiments, the slope information includes a slope direction and a slope angle; the judgment module 304 is also configured to determine that the slope information satisfies a first preset slope condition in response to the slope direction being downhill, or the slope direction being uphill and the slope angle being within a first preset range.

[0124] In some embodiments, the current driver side status information includes driver side door opening information and seat belt unlocking information; the judgment module 304 is also configured to determine that the current driver side status information meets the activation conditions for automatically entering the parking gear in response to the driver side door opening information being opened and the seat belt unlocking information being unlocked.

[0125] In some embodiments, before determining that the vehicle meets the preset collision risk condition, it also includes an image recognition module, which is configured to obtain in-vehicle image information; determine whether the driver is in the driving position based on the in-vehicle image information; and determine that the vehicle meets the preset collision risk condition in response to the driver not being in the driving position.

[0126] In some embodiments, the vehicle state information includes the current gear position and the current driver side state information; and further includes an early warning module, the early warning module being configured to determine whether the slope information satisfies a second preset slope condition in response to the vehicle not satisfying the collision risk condition and the current gear position being a preset gear position;

[0127] In response to the slope information satisfying the second preset slope condition, it is determined whether the current driver-side state information satisfies an activation condition for automatically entering the parking gear. If not, a gear warning message is issued.

[0128] In some embodiments, the warning module is further configured to determine that the slope information satisfies a second preset slope condition in response to the slope direction being uphill and the slope angle being within a second preset range.

[0129] In some embodiments, a release module is further included, and the release module is configured to obtain the accelerator pedal opening in real time; in response to the accelerator pedal opening being not zero, release the prohibition of the vehicle from entering the creep mode.

[0130] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0131] The device of the above embodiment is used to implement the corresponding vehicle control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0132] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle control method described in any of the above embodiments is implemented.

[0133] Figure 4A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0134] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0135] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0136] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0137] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0138] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0139] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0140] The electronic device of the above embodiment is used to implement the corresponding vehicle control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0141] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle control method described in any of the above embodiments.

[0142] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0143] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the vehicle control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0144] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0145] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0146] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0147] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to the electronic device providing personal information.

[0148] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0149] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0150] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0151] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0152] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A vehicle control method, characterized in that: include: Acquiring vehicle status information, road slope information, current vehicle speed and current brake pedal opening; the vehicle status information includes current gear position and current driver side status information; In response to the current vehicle speed being zero and the current brake pedal opening being zero, judging whether the vehicle meets a preset collision risk condition according to the vehicle state information and the slope information includes: In response to the current gear being a preset gear, determining whether the slope information satisfies a first preset slope condition; wherein the preset gear is a non-parking gear; when the slope information satisfies the first preset slope condition, an unexpected departure may occur when the vehicle is on an uphill road or a downhill road; The slope information includes a slope direction and a slope angle; and the determining whether the slope information satisfies a first preset slope condition includes: In response to the slope direction being downhill, or the slope direction being uphill and the slope angle being within a first preset range, determining that the slope information satisfies a first preset slope condition; wherein, when the slope angle is within the first preset range, the creep torque generated after the vehicle enters the creep mode can overcome the slope resistance, and the vehicle unexpectedly drives off; In response to the slope information satisfying the first preset slope condition, determining whether the current driver-side state information satisfies an activation condition for automatically entering the parking gear, and if not, determining that the vehicle satisfies a preset collision risk condition; wherein the activation condition for automatically entering the parking gear is a condition indicating that the driver has left the driving position; In response to the vehicle satisfying the collision risk condition, the vehicle is prohibited from entering the creep mode.

2. The method according to claim 1, characterized in that The current driver-side state information includes driver-side door opening information and seat belt unlocking information; the determining whether the current driver-side state information satisfies the activation condition for automatically entering the parking gear includes: In response to the driver's side door opening information being opened and the seat belt unlocking information being unlocked, it is determined that the current driver's side state information meets an activation condition for automatically entering the parking gear.

3. The method according to claim 1, characterized in that Before determining that the vehicle meets a preset collision risk condition, the method includes: Obtain in-vehicle image information; determining whether the driver is in the driving position according to the in-vehicle image information; In response to the driver not being in the driving position, it is determined that the vehicle meets a preset collision risk condition.

4. The method according to claim 1, characterized in that The method further comprises: In response to the vehicle not satisfying the collision risk condition and the current gear being a non-parking gear, determining whether the slope information satisfies a second preset slope condition; wherein, when the slope information satisfies the second preset slope condition, the creep torque of the vehicle when entering the creep mode cannot overcome the slope resistance; In response to the slope information satisfying the second preset slope condition, it is determined whether the current driving side status information satisfies the activation condition for automatically entering the parking gear. If not, a gear warning message is issued; wherein, the activation condition for automatically entering the parking gear is a condition that indicates that the driver has left the driving position.

5. The method according to claim 4, characterized in that The determining whether the slope information satisfies a second preset slope condition includes: In response to the slope direction being uphill and the slope angle being within a second preset range, it is determined that the slope information satisfies a second preset slope condition; wherein, when the slope angle is within the second preset range, the creep torque when the vehicle enters the creep mode cannot overcome the slope resistance.

6. The method according to claim 1, characterized in that After prohibiting the vehicle from entering the creep mode, the method further includes: Get the accelerator pedal opening in real time; In response to the accelerator pedal opening being not zero, prohibiting the vehicle from entering the creep mode is released.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.

8. A vehicle, characterized in that: The vehicle comprises the electronic device as claimed in claim 7.