Vehicle control method and device, electronic device, vehicle and storage medium
By obtaining and analyzing vehicle information, determining the types of road surfaces and driver's emotions in the driving environment in rainy days, and carrying out corresponding vehicle control, the problems of vehicle out of control and driver's mood fluctuations during driving in rainy days are solved, and driving safety is improved.
Patent Information
- Application Number
- CN202310981341.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-04
- Publication Date
- 2025-02-14
AI Technical Summary
When driving in rainy days, the vehicle may slip or lose control due to water on the road, affecting the safety of the driver and passengers. At the same time, the driver's mood swings may also lead to dangerous driving operations.
By obtaining vehicle information, including driving environment information, vehicle speed information, vehicle image information and vehicle control information, we can determine the type of road surface of the current driving section and the driver's driving mood, and control the vehicle's driving based on this information.
This method can reduce the probability of vehicle out of control caused by road wading and driver irrational emotions to a certain extent, and ensure the safety of users in the car, vehicles and other users on the road.
Smart Images

Figure CN119428699A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle control method, a control device, an electronic device, a vehicle, and a computer-readable storage medium. Background Art
[0002] When users drive their vehicles on rainy days, the water on the road may cause the vehicle to slip or even lose control, which may affect the life safety of the passengers. In addition, when driving on rainy days, users may become irritable or even angry, and then, due to their emotions, they may perform dangerous driving operations, such as large acceleration or large turns, which may further affect the life safety of the passengers. Summary of the invention
[0003] The present application provides a vehicle control method, a control device, an electronic device, a vehicle, and a computer-readable storage medium.
[0004] The present application provides a vehicle control method, including:
[0005] Acquiring vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information, and vehicle control information;
[0006] The vehicle driving is controlled according to the type of the current driving section and the driving emotion of the target user, wherein the section type includes a wading section, and the section type is determined based on the driving environment information; the driving emotion includes road rage, and the driving emotion is determined based on at least one of the vehicle speed information, the in-vehicle image information and the vehicle control information.
[0007] In the vehicle control method provided in the embodiment of the present application, the vehicle can obtain vehicle information, that is, obtain driving environment information, and obtain at least one of vehicle speed information, in-vehicle image information, and vehicle control information. Then, the vehicle driving is controlled according to the type of the current driving section determined by the driving environment information and the driving emotion of the target user determined according to at least one of the vehicle speed information, in-vehicle image information, and vehicle control information.
[0008] In this way, the implementation mode of the present application enables the vehicle to determine the driving emotion of the target user based on one or more of the vehicle speed information, the in-vehicle image information and the vehicle control information. At the same time, based on the type of road surface of the current driving section determined by the driving environment information, the vehicle is controlled to perform corresponding operations, so that the vehicle's automatic driving behavior or assisted driving behavior can be executed based on the driver's driving emotion and the type of the current driving section. Furthermore, the probability of the vehicle losing control due to road wading and / or irrational user emotions can be reduced to a certain extent, thereby ensuring the safety of the users in the vehicle, the vehicle and other users on the road where the vehicle is driving to a certain extent.
[0009] In certain embodiments, the method further comprises:
[0010] The type of the road section is determined according to the detection result of the water-wading section, wherein the detection result of the water-wading section is determined according to a preset target detection model and the vehicle exterior image information in the driving environment information.
[0011] In this way, the implementation mode of the present application enables the vehicle to determine whether the current driving section is a water-wading section based on the detection result of the water-wading section, or in other words, based on the detection result output by the neural network model based on the external image information, thereby ensuring the credibility of the result of determining the type of the current driving section to a certain extent.
[0012] In some implementations, controlling the vehicle to travel according to the type of the current travel section and the driving emotion of the target user includes:
[0013] When the road section type is the wading road section and the driving emotion is not the road rage emotion, controlling the vehicle to enter the first working mode;
[0014] When the road section type is not the wading road section and the driving emotion is the road rage emotion, controlling the vehicle to enter the second working mode;
[0015] When the road section type is the wading section and the driving emotion is the road rage emotion, the vehicle is controlled to enter the third working mode.
[0016] In this way, the implementation mode of the present application enables the vehicle to enter a corresponding working mode according to the type of road surface and driving mood based on the pre-set operating mode, thereby achieving automated control of the vehicle to a certain extent.
[0017] In certain embodiments, the method further comprises:
[0018] The driving emotion is determined based on the first recognition result, the second recognition result and the third recognition result, wherein the first recognition result is determined based on the first preset recognition model and the vehicle speed information, the second recognition result is determined based on the second preset recognition model and the in-vehicle image information, and the third recognition result is determined based on the third preset recognition model and the vehicle control information, and the first recognition result, the second recognition result and the third recognition result all include the road rage emotion.
[0019] In this way, the implementation of the present application is based on the acquisition of vehicle speed information, in-vehicle image information and vehicle control information, so that the target user's driving emotion recognition can be completed through three dimensions of information. In other words, the driver's road rage recognition can be detected based on multi-dimensional information, thereby obtaining strong data support and high credibility. At the same time, the implementation of the present application can control the vehicle's driving according to the driving emotion determination result with high credibility, thereby ensuring the reliability of vehicle control to a certain extent, or enabling the vehicle's automatic driving or assisted driving to be reliably executed.
[0020] In certain embodiments, the method further comprises:
[0021] Based on the first preset recognition model, the first recognition result is determined according to the vehicle speed information and the type of the current driving section of the vehicle.
[0022] In this way, the implementation mode of the present application is based on the current driving section type and vehicle speed information, so that the first recognition result will match the type of the vehicle's current driving section. Furthermore, the first recognition result can be consistent with the actual driving conditions of the vehicle, and the credibility of the first recognition result can be guaranteed.
[0023] In certain embodiments, the method further comprises:
[0024] Determining the facial image of the target user according to the in-vehicle image information;
[0025] The second recognition result is determined according to the expression recognition result, wherein the expression recognition result is determined by the second preset recognition model according to the facial image.
[0026] In this way, the implementation mode of the present application enables the target user's driving emotion to be obtained based on the user's expression recognition result, thereby ensuring the credibility of the driving emotion detection result to a certain extent.
[0027] In certain embodiments, the method further comprises:
[0028] Based on the third recognition model, the third recognition result is determined according to vehicle brake information, vehicle pedal information and vehicle crankshaft information, wherein the vehicle brake information, the vehicle pedal information and the vehicle crankshaft information are determined according to the vehicle control information.
[0029] In this way, the implementation mode of the present application enables the third recognition result to be determined by the vehicle braking information, vehicle pedal information and vehicle crankshaft information, and further, enables the third recognition result to be associated with the user's operating behavior, and the credibility of the third recognition result can be guaranteed to a certain extent.
[0030] In some embodiments, determining the driving emotion according to the first recognition result, the second recognition result, and the third recognition result includes:
[0031] Based on a first confidence level corresponding to the first recognition result, a second confidence level corresponding to the second recognition result, and a third confidence level corresponding to the third recognition result, the driving emotion is determined according to the recognition result with the highest confidence level, wherein the first confidence level is generated according to the first preset recognition model and the vehicle speed information, the second confidence level is generated according to the second preset recognition model and the in-vehicle image information, and the third confidence level is generated according to the third preset recognition model and the vehicle control information.
[0032] In this way, the implementation method of the present application enables the target user's driving emotion to be determined based on the recognition result with the highest confidence, and thus the credibility of the driving emotion detection result can be guaranteed to a certain extent. At the same time, in the case where any one of the vehicle control information, the in-vehicle image information and the vehicle speed information is invalid, such as when the in-vehicle camera is damaged and the in-vehicle image information is not collected, the implementation method of the present application can also complete the determination of the driving emotion based on the remaining vehicle control information and vehicle speed information, thereby ensuring the robustness of the driving emotion detection.
[0033] The present application provides a control device, including:
[0034] A transceiver unit, used to obtain vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information and vehicle control information;
[0035] A processing unit is used to control the driving of the vehicle according to the type of the current driving section and the driving emotion of the target user, wherein the section type includes a wading section, and the section type is determined based on the driving environment information; the driving emotion includes road rage, and the driving emotion is determined based on at least one of the vehicle speed information, the in-vehicle image information and the vehicle control information.
[0036] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned vehicle control method is implemented.
[0037] An embodiment of the present application provides a vehicle, including a vehicle body;
[0038] The vehicle body is installed with the above-mentioned control device or the above-mentioned electronic device.
[0039] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by one or more processors, the above-mentioned vehicle control method is implemented.
[0040] The control device, electronic device, vehicle and computer-readable storage medium provided in the embodiments of the present application enable the vehicle to determine the driving emotion of the target user based on one or more of the vehicle speed information, the in-vehicle image information and the vehicle control information. At the same time, based on the type of road surface of the current driving section determined by the driving environment information, the vehicle is controlled to perform corresponding operations, so that the vehicle's automatic driving behavior or assisted driving behavior can be executed based on the driver's driving emotion and the type of the current driving section. Furthermore, the probability of the vehicle losing control due to road wading and / or irrational user emotions can be reduced to a certain extent, thereby ensuring the safety of the user in the vehicle, the vehicle and other users on the road where the vehicle is driving to a certain extent.
[0041] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0043] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0044] Figure 1 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0045] Figure 2 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0046] Figure 3 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0047] Figure 4 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0048] Figure 5 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0049] Figure 6 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0050] Figure 7 A flow chart of a vehicle control method in certain embodiments of the present application;
[0051] Figure 8 A schematic diagram of a vehicle in some embodiments of the present application;
[0052] Fig. 9 A schematic diagram of a domain controller in certain embodiments of the present application;
[0053] Fig.10 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0054] Fig.11 It is a flowchart of a vehicle control method in certain embodiments of the present application. DETAILED DESCRIPTION
[0055] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0056] During the driving process, the actions or behaviors performed by the vehicle are affected by various factors such as weather conditions, road conditions, driver emotions, and the status of components in the vehicle. For example, on a flooded or wading road, the tires of the vehicle may slip while moving forward, increasing the braking distance of the vehicle and even causing the vehicle to lose control.
[0057] Also, when the user's emotions are unstable, or when the driver's emotions are negative, such as anger or irritability, the risk of the driving behavior adopted or performed by the user is higher. For example, an angry driver tends to step on the accelerator or brake pedal with great force, which can easily cause the vehicle to lose control and even cause a traffic accident. Therefore, when the user is prone to anger, or when the user suffers from road rage, the user is more likely to cause a traffic accident.
[0058] For the above problems that may be encountered, please refer to Figure 1The present application provides a vehicle control method, comprising:
[0059] 01: Obtain vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information, and vehicle control information;
[0060] 02: Controlling vehicle driving according to the type of the current driving section and the driving emotion of the target user, wherein the section type includes a wading section, which is determined based on driving environment information, and the driving emotion includes road rage, which is determined based on at least one of vehicle speed information, in-vehicle image information, and vehicle control information.
[0061] The embodiment of the present application provides a control device. The control method of the vehicle of the embodiment of the present application can be implemented by the control device. Specifically, the control device includes a transceiver unit and a processing unit. The transceiver unit is used to obtain vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information and vehicle control information. The processing unit controls the vehicle driving according to the type of the current driving section and the driving emotion of the target user, wherein the section type includes a wading section, and the section type is determined based on the environmental information, and the driving emotion includes road rage emotion, and the driving emotion is determined based on at least one of the vehicle speed information, in-vehicle image information and vehicle control information.
[0062] The embodiment of the present application also provides an electronic device, which includes a memory and a processor. The control method of the vehicle of the embodiment of the present application can be implemented by the electronic device of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information and vehicle control information; according to the type of the current driving section and the driving emotion of the target user, the vehicle driving is controlled, wherein the section type includes a wading section, and the section type is determined based on the driving environment information, and the driving emotion includes road rage emotion, and the driving emotion is determined based on at least one of vehicle speed information, in-vehicle image information and vehicle control information.
[0063] That is, the vehicle of the embodiment of the present application can obtain driving environment information such as external images, external temperature and external humidity according to the vehicle sensors. At the same time, one or more of the vehicle information such as vehicle speed information, internal image information and vehicle control information is obtained according to the vehicle sensors. Then, according to the type of road section determined by the driving environment information and the driving emotion of the target user determined by one or more of the vehicle information such as vehicle speed information, internal image information and vehicle control information, the vehicle driving is controlled. In other words, the vehicle (or the controller in the vehicle) knows whether the road section ahead of the vehicle is a wading section according to the type of road section determined by the driving environment information, and knows whether the driver suffers from road rage according to the road rage detection result of the vehicle driver determined by at least one of the vehicle speed information, internal image information and vehicle control information. Finally, the vehicle is controlled to drive automatically according to the wading section detection result and the road rage detection result, or the driver is assisted in controlling the vehicle.
[0064] Regarding the determination of flooded sections, it is understandable that the method of obtaining driving environment information and the specific content of the driving environment information are contents that can be set according to actual conditions. The above-mentioned acquisition of outside images, outside temperature and outside humidity through sensors in the vehicle is only a feasible implementation method of this application.
[0065] It can also be understood that the specific process of determining the type of the current driving section according to the driving environment information in the implementation of the present application is a content set according to the actual situation. For example, in some implementations, the vehicle is equipped with a radar, and then the vehicle detects whether there is water on the road section through the radar, thereby knowing whether the current driving section is a wading section.
[0066] In addition, it is understood that the determination of the road type of the current driving section in the implementation mode of the present application can be completed by the vehicle and the radar in the vehicle as in the above implementation mode. In other implementation modes, the road type of the current driving section is completed by a remote electronic device. Specifically, after the vehicle in the implementation mode of the present application obtains the driving environment information, the driving environment information is sent to the remote electronic device, so that the electronic device determines the road type of the current driving section through the driving environment information according to the pre-installed function or model, and after determining the road type of the current driving section, the corresponding result is sent to the vehicle, so that the vehicle knows whether the current driving section is a wading section.
[0067] Regarding the determination of driving emotions, it is understandable that when a user suffers from road rage, the user is prone to adopt relatively dangerous driving operations due to the stimulation of the external environment, such as frequently controlling the vehicle to accelerate, frequently overtaking the vehicle in front, and frequently changing the driving road. Therefore, compared with users who do not suffer from road rage, when users with road rage control the vehicle, the speed is higher (corresponding to the vehicle speed information), the frequency of pedal pressing is higher (corresponding to the vehicle control information), and the expression may be more angry or irritable (corresponding to the in-vehicle image information).
[0068] For this reason, the implementation manner of the present application detects the emotions of the target user based on at least one of the collected vehicle information such as vehicle speed information, in-vehicle image information and vehicle control information, that is, detects the emotions of the user in the cab, so as to determine whether the target user suffers from road rage, or in other words, determines whether the driving emotion of the target user is road rage (or anger).
[0069] Among them, it can be understood that the vehicle speed information in the implementation mode of the present application can be understood as the vehicle speed. The in-vehicle image information can be understood as a video or image obtained by shooting the vehicle cockpit (or the main driving cabin) through a camera pre-installed in the vehicle. The vehicle control information can be understood as a specific value corresponding to the driving operation performed by the user. In some embodiments, the vehicle control information includes but is not limited to the braking torque, the accelerator pedal opening, and the brake pedal opening.
[0070] It can also be understood that the specific process of detecting the target user's driving emotion based on at least one of the vehicle information such as vehicle speed information, in-vehicle image information and vehicle control information is content that can be set according to actual conditions.
[0071] Exemplarily, in certain embodiments where the vehicle information only includes vehicle speed information, if it is determined based on the vehicle speed information that the vehicle speed has a large change amplitude (such as a minimum change amplitude of 20 km / h) within a certain period of time (such as within 10 minutes) and a high change frequency (such as a change every 10 seconds), then the target user's driving emotion can be determined to be road rage driving. Conversely, if it is determined based on the vehicle speed information that the vehicle speed has a small change amplitude (such as a minimum change amplitude of less than 20 km / h) within a certain period of time (such as within 10 minutes) or a low change frequency (such as a change every 30 seconds), then the target user's driving emotion can be determined not to be road rage driving.
[0072] In certain embodiments where the vehicle information only includes vehicle speed information and vehicle control information, if the vehicle speed information determines that the average vehicle speed within a certain period of time (e.g., 10 minutes) is higher than a preset vehicle speed, and the vehicle control information determines that the pedal usage frequency is high (e.g., the brake pedal or the accelerator pedal is pressed once every 10 seconds), then the target user's driving emotion can be determined to be road rage driving. On the contrary, if the vehicle speed average is not higher than the preset vehicle speed, or the pedal usage frequency is low (e.g., the brake pedal or the accelerator pedal is pressed once every 1 minute), then the target user's driving emotion is determined not to be road rage driving.
[0073] In certain embodiments where the vehicle information includes vehicle speed information, in-vehicle image information, and vehicle control information, if the average vehicle speed of the vehicle within a certain period of time (e.g., 10 minutes) is determined to be higher than a preset speed based on the vehicle speed information, the pedal usage frequency is determined to be high (e.g., the brake pedal or the accelerator pedal is pressed once every 10 seconds) based on the vehicle control information, and the target user's expression is determined to be angry or irritable based on the in-vehicle image information, then the target user's driving emotion can be determined to be road rage driving. On the contrary, if the average vehicle speed is not higher than the preset speed, or the pedal usage frequency is low (e.g., the brake pedal or the accelerator pedal is pressed once every 1 minute), or the target user's expression is not angry or irritable, then the target user's driving emotion can be determined not to be road rage driving.
[0074] In addition, it can be understood that the step of detecting the driving emotion of the target user based on at least one of the vehicle information such as vehicle speed information, in-vehicle image information and vehicle control information in the implementation mode of the present application can be completed by the vehicle of the implementation mode of the present application (or the controller in the vehicle), or the vehicle can send at least one of the vehicle information such as vehicle speed information, in-vehicle image information and vehicle control information to a remote electronic device (such as a server or an edge gateway) and complete it by the remote electronic device, that is, the remote electronic device detects the driving emotion of the target user based on at least one of the received vehicle information such as vehicle speed information, in-vehicle image information and vehicle control information, and sends the detection result to the vehicle.
[0075] After determining the type of the current driving section and the driving emotion of the target user, the vehicle can control the vehicle's driving according to the type of section and the driving emotion to reduce the probability of the vehicle's tires slipping or even losing control, or even causing a traffic accident due to water accumulation on the road (corresponding to the current driving section being a wading section) and / or irrational driver emotions (corresponding to the target user's driving emotion being road rage).
[0076] It is understandable that the specific method of controlling the vehicle's travel according to the road section type and driving emotion is a content that can be set according to actual conditions. For example, in some embodiments, when the road section type is a wading section, and / or the driving emotion is road rage, the vehicle in the embodiment of the present application will limit the maximum speed of the vehicle (such as limiting it to 10km / h), so that after the user steps on the accelerator pedal, the vehicle can only travel at the maximum speed after the limit (i.e. 10km / h). In this way, when the user's emotions are abnormal (the corresponding driving emotion is road rage), and / or the road surface state is abnormal (the corresponding road section type is a wading section), the vehicle tires have weak grip on the ground due to wading on the road surface, and / or the user adopts dangerous driving operations due to irrational emotions, resulting in the probability of losing control of the vehicle and causing traffic accidents.
[0077] It is conceivable that if the target user's driving emotion is not road rage and the road section type is not a wading section, the vehicle can drive normally, or in other words, the vehicle of the implementation mode of the present application does not perform vehicle operations similar to the above-mentioned limitation on the maximum speed of the vehicle.
[0078] In summary, the implementation methods of the present application enable the vehicle to determine the driving emotion of the target user based on one or more of the vehicle speed information, the in-vehicle image information and the vehicle control information. At the same time, based on the type of road surface of the current driving section determined by the driving environment information, the vehicle is controlled to perform corresponding operations, so that the vehicle's automatic driving behavior or assisted driving behavior can be executed based on the driver's driving emotion and the type of the current driving section. Furthermore, the probability of the vehicle losing control due to road wading and / or irrational user emotions can be reduced to a certain extent, thereby ensuring the safety of the users in the vehicle, the vehicle and other users on the road where the vehicle is driving to a certain extent.
[0079] In certain embodiments of the present application, the control method further includes:
[0080] The type of road section is determined according to the detection result of the water-wading section, wherein the detection result of the water-wading section is determined according to the preset target detection model and the vehicle exterior image information in the driving environment information.
[0081] The processing unit of the implementation mode of the present application is also used to determine the type of road section according to the detection result of the water-wading section, wherein the detection result of the water-wading section is determined based on the preset target detection model and the vehicle external image information in the driving environment information.
[0082] The processor of the implementation mode of the present application is also used to determine the type of road section based on the detection result of the water-wading section, wherein the detection result of the water-wading section is determined based on the preset target detection model and the vehicle external image information in the driving environment information.
[0083] That is, the implementation method of the present application can complete the determination of the type of the current driving section through a pre-trained neural network model.
[0084] Specifically, after acquiring the external image information, the vehicle of the embodiment of the present application can identify the external image information according to the pre-trained neural network model, that is, the preset target detection model, to identify whether the external image information contains a picture of "water on the road surface", thereby outputting the detection result of the wading section. If the detection result of the wading section is "water on the road surface", the current driving section is a wading section. If the detection result of the wading section is not "water on the road surface", the current driving section is not a wading section.
[0085] It is understandable that the output of the wading section detection result can also be performed by a remote electronic device. Specifically, after the vehicle in the implementation mode of the present application obtains the external image information, the external image information is sent to the remote electronic device, so that the remote electronic device calls the preset target detection model carried by itself, identifies the external image information to output the wading section detection result, and after outputting the wading section detection result, the wading section detection result is sent to the vehicle, so that the vehicle determines whether the current driving section is a wading section according to the wading section detection result.
[0086] It can also be understood that the specific structure of the preset target detection model in the embodiments of the present application can be set according to actual conditions. For example, in some embodiments, the preset target detection model is implemented based on the YoloV4 model. In other embodiments, the preset target detection model is implemented based on the R-CNN model.
[0087] In addition, it can also be understood that the training process of the preset target detection model can also be set according to actual conditions. For example, in some embodiments, the vehicle of the embodiments of the present application trains a preset initial model (such as a YoloV4 model or an R-CNN model, etc.) through a plurality of pre-received external image information samples containing images of wading sections and a plurality of external image information samples not containing images of wading sections, so that the initial model can learn the difference between the driving environment information containing images of wading sections and not containing images of wading sections. Furthermore, after the training is completed, the external image information samples acquired by the vehicle in real time can be correspondingly identified based on the learned knowledge, thereby outputting the above-mentioned wading section detection results.
[0088] In this way, the implementation mode of the present application enables the vehicle to determine whether the current driving section is a water-wading section based on the detection result of the water-wading section, or in other words, based on the detection result output by the neural network model based on the external image information, thereby ensuring the credibility of the result of determining the type of the current driving section to a certain extent.
[0089] In certain embodiments of this application, please refer to Figure 2 , step 02 includes:
[0090] 020: When the road section type is a wading section and the driving emotion is not road rage, control the vehicle to enter the first working mode;
[0091] 021: When the road type is not a wading road and the driver is in road rage, control the vehicle to enter the second working mode;
[0092] 022: When the road section type is a wading section and the driving emotion is road rage, the vehicle is controlled to enter the third working mode.
[0093] The processing unit of the implementation mode of the present application is also used to control the vehicle to enter the first working mode when the road section type is a wading section and the driving emotion is not road rage; control the vehicle to enter the second working mode when the road section type is not a wading section and the driving emotion is road rage; control the vehicle to enter the third working mode when the road section type is a wading section and the driving emotion is road rage.
[0094] The processor of the implementation mode of the present application is also used to control the vehicle to enter the first working mode when the road section type is a wading section and the driving emotion is not road rage; control the vehicle to enter the second working mode when the road section type is not a wading section and the driving emotion is road rage; control the vehicle to enter the third working mode when the road section type is a wading section and the driving emotion is road rage.
[0095] To more clearly illustrate the implementation of this application, please refer to Figure 3 , Figure 3 It is a flowchart of a vehicle control method in certain embodiments of the present application.
[0096] That is, the implementation mode of the present application will determine whether the current driving section is wading based on the external image information captured by the vehicle camera, and determine whether the driving emotion of the target user is road rage based on the vehicle information collected by the sensor, and then control the vehicle to enter any one of the preset first to third working modes based on the wading conditions of the road section and the road rage detection results.
[0097] It should be noted that the first working mode can be used to limit the running state of the vehicle in the wading section to improve the phenomenon that the vehicle tires slip due to excessive vehicle speed and slippery road surface. In some embodiments, after the vehicle enters the first working mode, the maximum speed of the vehicle will be limited to 30km / h. At the same time, the vehicle can also control the pre-installed ultrasonic radar to detect the depth of water on the road surface, so as to assist the user in driving the vehicle or control the vehicle to drive automatically according to the detected water depth.
[0098] It can also be understood that the second working mode can be used to limit the operating state of the vehicle when the target user's driving emotion is road rage, so as to reduce the probability that the vehicle is prone to traffic accidents due to the target user's tendency to adopt dangerous driving behaviors. In some embodiments, after the vehicle enters the second preset mode, the maximum driving speed and maximum turning angle of the vehicle will be subject to corresponding restrictions. Exemplarily, when it is determined that the user's driving emotion is road rage, the maximum driving speed of the vehicle will be limited to 20km / h.
[0099] And, the third working mode is used when the road is flooded and the target user is in a road rage mood. Because the wading road is slippery and the user is prone to dangerous driving behaviors such as stepping on the brakes hard or turning the steering wheel sharply, the vehicle is very likely to lose control, and the vehicle's operating state will be greatly restricted. In some embodiments, after the vehicle enters the third working mode, the maximum speed of the vehicle will be limited to 10km / h. At the same time, the vehicle can also control the pre-installed ultrasonic radar to detect the depth of water on the road, so as to assist the user in driving the vehicle or control the vehicle to drive automatically according to the detected water depth.
[0100] It should be noted that the first to third working modes of the implementation mode of the present application are contents that can be set according to actual conditions. However, it is understandable that when the vehicle enters any of the first to third working modes, the vehicle or various components in the vehicle will be subject to corresponding restrictions.
[0101] And, it can also be understood that, compared with the first working mode and the second working mode, the vehicle may be subject to greater restrictions when entering the third working mode, thereby effectively reducing the probability of the vehicle losing control and causing a traffic accident when the road is slippery and the driver is irrational.
[0102] In this way, the implementation mode of the present application enables the vehicle to enter a corresponding working mode according to the type of road surface and driving mood based on the pre-set operating mode, thereby achieving automated control of the vehicle to a certain extent.
[0103] In addition, it can be understood that when the road section type is not a wading section and the driving emotion is not road rage, the vehicle can operate normally, or in other words, it does not enter any of the above-mentioned first to third working modes.
[0104] In certain embodiments of this application, please refer to Figure 4 , the vehicle control method further includes:
[0105] 03: Determine the driving emotion based on the first recognition result, the second recognition result and the third recognition result, wherein the first recognition result is determined based on the first preset recognition model and the vehicle speed information, the second recognition result is determined based on the second preset recognition model and the in-vehicle image information, and the third recognition result is determined based on the third preset recognition model and the vehicle control information. The first recognition result, the second recognition result and the third recognition result all include road rage emotion.
[0106] The processing unit of the implementation mode of the present application is also used to determine the driving emotion according to the emotion recognition result, wherein the emotion recognition result is determined according to the preset recognition model and vehicle information.
[0107] The processor of the embodiment of the present application is also used to determine the driving emotion based on the emotion recognition result, wherein the emotion recognition result is determined based on a preset recognition model and vehicle information.
[0108] That is, the embodiment of the present application can identify the vehicle information according to the neural network model that has been trained and stored in advance, or according to the algorithm model that has been set and stored in advance, so as to obtain the emotion recognition result corresponding to the vehicle information, that is, the vehicle information is input into the preset recognition model to obtain the corresponding emotion recognition result. Furthermore, the vehicle of the embodiment of the present application can determine the driving emotion of the target user according to the emotion recognition result.
[0109] Specifically, the preset recognition models of the implementation mode of the present application may include three, one of which is a first preset recognition model that can determine whether the target user's driving emotion is road rage based on the vehicle speed information (corresponding to the first recognition result), the second is a second preset recognition model that can determine whether the target user's driving emotion is road rage based on the in-vehicle image information (corresponding to the second recognition result), and the third is a third preset recognition model that can determine whether the target user's driving emotion is road rage based on the vehicle control information (corresponding to the third recognition result). At the same time, the vehicle information of the implementation mode of the present application may include the above-mentioned vehicle speed information, in-vehicle image information and vehicle control information. The preset recognition results of the implementation mode of the present application may include the above-mentioned first to third recognition results. And, the implementation mode of the present application may determine whether the target user's driving emotion is road rage based on the above-mentioned first to third recognition results.
[0110] It can be understood that the implementation mode of the present application enables the driving emotion of the target user to be completed according to the user dimension and the vehicle dimension, that is, based on the in-vehicle image data that can characterize the user's body movements and the user's facial expressions, and the vehicle control information that can characterize the user's driving behavior, and the vehicle speed information that can characterize the vehicle's driving speed, to identify or detect the driving emotion of the target user, thereby realizing multi-dimensional detection of driving emotions, and thereby, the credibility of the detection results of driving emotions is guaranteed.
[0111] It can also be understood that the specific process of determining the target user's driving emotion based on the first to third recognition results is a content that can be set according to actual conditions. Exemplarily, in some embodiments, if at least two of the first to third recognition results are "road rage emotion", the target user's driving emotion can also be determined as road rage emotion. As a result, the target user's driving emotion will be determined by the majority of the first to third recognition results, so the credibility of the target user's driving emotion can be guaranteed.
[0112] In this way, the implementation of the present application is based on the acquisition of vehicle speed information, in-vehicle image information and vehicle control information, so that the target user's driving emotion recognition can be completed through three dimensions of information. In other words, the driver's road rage recognition can be detected based on multi-dimensional information, thereby obtaining strong data support and high credibility. At the same time, the implementation of the present application can control the vehicle's driving according to the driving emotion determination result with high credibility, thereby ensuring the reliability of vehicle control to a certain extent, or enabling the vehicle's automatic driving or assisted driving to be reliably executed.
[0113] In certain embodiments of the present application, the method further comprises:
[0114] Based on the first preset recognition model, a first recognition result is determined according to the vehicle speed information and the type of the current driving section of the vehicle.
[0115] The processing unit of the implementation mode of the present application is also used to determine a first recognition result based on a first preset recognition model, according to the vehicle speed information and the type of the current driving section of the vehicle.
[0116] The processor of the implementation mode of the present application is also used to determine a first recognition result based on a first preset recognition model, according to the vehicle speed information and the type of the current driving section of the vehicle.
[0117] It is understandable that the maximum speed of motor vehicles on different road sections has corresponding restrictions. Therefore, when the user controls the vehicle to travel on different types of road sections, the driving speed also varies accordingly. For example, when the user drives the vehicle on a highway, the speed may be between 60km / h and 120km / s, while when driving on a school road section, the speed may be between 10km / h and 30km / h.
[0118] For this reason, the implementation method of the present application will define whether the target user's driving emotion is road rage based on the vehicle speed and the type of the current driving section, that is, determine the first recognition result, and then make the first recognition result match the current driving section type, thereby ensuring the credibility of the first recognition result.
[0119] It is understandable that the specific process of determining the first recognition result according to the current driving section type and the speed information is a content that can be set according to the actual situation. For example, in some embodiments, the maximum speed (or speed limit) corresponding to the current driving section type can be determined according to the current driving section type. Then, according to the real-time speed information of the vehicle and the previously determined maximum speed, the real-time difference between the real-time speed and the maximum speed is calculated. Finally, if the real-time difference is always maintained within a preset interval (such as [-5km / h, +5km / h]) for a certain period of time (such as 3 minutes), it is determined that the user's driving behavior is relatively stable and the driving emotion is not road rage. On the contrary, if the real-time difference does not always remain within the preset interval for a certain period of time, it is determined that the user's driving behavior is relatively excited or intense, resulting in obvious fluctuations in the speed, and then, the driving emotion is determined to be road rage.
[0120] In this way, the implementation mode of the present application is based on the current driving section type and vehicle speed information, so that the first recognition result will match the type of the vehicle's current driving section. Furthermore, the first recognition result can be consistent with the actual driving conditions of the vehicle, and the credibility of the first recognition result can be guaranteed.
[0121] In certain embodiments of the present application, when it is determined according to the first preset recognition model that the vehicle speed information meets the speed condition corresponding to the current driving section type, the first recognition result is not road rage; and / or, when it is determined according to the first preset recognition model that the vehicle speed information does not meet the speed condition, the first recognition result is road rage.
[0122] That is, the vehicle of the implementation mode of the present application can define whether the driving emotion of the target user is road rage based on the pre-set vehicle speed conditions corresponding to each type of road section, thereby completing the determination of the first recognition result.
[0123] It should be understood that the vehicle speed condition in the implementation mode of the present application can be understood as "the speed of a user suffering from road rage when controlling the vehicle to travel on 'the road currently traveled by the vehicle'" and can also be understood as "the speed of a user who does not suffer from road rage when controlling the vehicle to travel on 'the road currently traveled by the vehicle'".
[0124] It should also be understood that the method for determining the vehicle speed condition in the embodiments of the present application can be set according to actual conditions. For example, in some embodiments, the embodiments of the present application collect the historical vehicle driving data of multiple users with road rage on different types of road sections in advance, and then perform a preset data analysis (such as cluster analysis) on the historical vehicle driving data of each type of road section to obtain the average vehicle speed of users with road rage on different types of road sections, and use the average vehicle speed as the above-mentioned vehicle speed condition.
[0125] Furthermore, after obtaining the vehicle speed information and the current type of road being driven, the vehicle of the implementation mode of the present application can determine the average vehicle speed of users suffering from road rage on the road section of the current type of road being driven based on the current type of road being driven, and then, based on the vehicle speed information, determine whether the difference between the vehicle speed and the average vehicle speed is within a preset range. If so, it is determined that the driving emotion of the user of the vehicle (or the target user) is road rage, otherwise it is not road rage.
[0126] In this way, the implementation mode of the present application enables efficient execution of the determination of the first recognition result through the vehicle speed condition corresponding to the current driving section type, and thus, the efficiency of detecting the driving emotion of the target user is guaranteed.
[0127] In addition, it should be noted that the first preset recognition model in the implementation mode of the present application is used to detect whether the vehicle speed information can meet the vehicle speed condition corresponding to the type of the current driving section. The specific setting method of the first preset recognition model can be set according to the actual situation.
[0128] In certain embodiments of this application, please refer to Figure 5 , the control method further includes:
[0129] 04: obtaining target vehicle speeds for multiple types of driving sections, wherein the target vehicle speeds for the driving sections are determined based on historical driving data corresponding to the driving sections by multiple users whose driving emotions are not road rage emotions;
[0130] 05: According to the target vehicle speed corresponding to each type of driving section, the vehicle speed condition corresponding to each type of driving section is determined.
[0131] The processing unit of the implementation mode of the present application is also used to obtain target vehicle speeds for multiple types of driving sections, wherein the target vehicle speeds for the driving sections are determined based on historical driving data corresponding to the driving sections for multiple users whose driving emotions are not road rage; and based on the target vehicle speeds corresponding to each type of driving section, the speed conditions corresponding to each type of driving section are determined.
[0132] The processor of the implementation mode of the present application is also used to obtain target vehicle speeds for multiple types of driving sections, wherein the target vehicle speeds for the driving sections are determined based on historical driving data corresponding to the driving sections for multiple users whose driving emotions are not road rage; and based on the target vehicle speeds corresponding to each type of driving section, the speed conditions corresponding to each type of driving section are determined.
[0133] It should be noted that when a "user with road rage" and a "user without road rage" control their vehicles to travel on the same road section, the speed of the vehicle of the "user with road rage" is usually higher, or in other words, there is a difference between the speed of the vehicle of the "user without road rage" and the speed of the vehicle of the "user with road rage".
[0134] Therefore, the implementation mode of the present application obtains historical vehicle data of multiple "users without road rage" controlling vehicles to travel on different types of road sections, and determines the usual vehicle speed (or average speed) of the "users without road rage" when controlling vehicles to travel on different types of road sections, that is, the target speed, and then sets the speed conditions for each type of road section according to the target speed for each type of road section.
[0135] Therefore, after the vehicle of the implementation mode of the present application obtains the vehicle speed information and the type of the current driving section, it determines whether the vehicle speed meets the vehicle speed condition based on the vehicle speed condition corresponding to the current driving section type. If so, it is determined that the driving habits of the target user are similar or match those of the "user who does not suffer from road rage", and then it is determined that the driving emotion of the target user is not road rage.
[0136] In this way, the implementation mode of the present application is based on the vehicle speed conditions corresponding to multiple types of driving sections that are predetermined, so that after the vehicle obtains the vehicle speed information and the current driving section type, it can determine the vehicle speed condition corresponding to the current driving section type from the multiple predetermined vehicle speed conditions, and determine the first recognition result in combination with the vehicle speed information, thereby enabling the first recognition result to be determined efficiently.
[0137] In addition, it should be noted that in some cases, when a "user with road rage" and a "user without road rage" control their vehicles to travel on the same road section, the speed of the "user with road rage" is 5 km / s higher than that of the "user without road rage". Therefore, in some embodiments, the speed condition in the embodiments of the present application is the sum of the target speed and 5 km / s, and the speed condition is used to characterize the driving habits of "users with road rage" on different types of roads. Therefore, the embodiments of the present application can also determine that the target user's driving emotion is road rage when "the difference between the vehicle speed and the 'sum of the target speed and 5 km / s' is within a preset error range".
[0138] In certain embodiments of this application, please refer to Figure 6 , the detection method also includes:
[0139] 06: Determine the target user’s facial image based on the in-car image information;
[0140] 07: Determine a second recognition result based on the expression recognition result, wherein the expression recognition result is determined by a second preset recognition model based on the facial image.
[0141] The processing unit of the implementation mode of the present application is also used to determine the facial image of the target user based on the in-vehicle image information; and determine the second recognition result based on the expression recognition result, wherein the expression recognition result is determined by the second preset recognition model based on the facial image.
[0142] The processor of the embodiment of the present application is also used to determine the facial image of the target user based on the in-vehicle image information; and determine the second recognition result based on the expression recognition result, wherein the expression recognition result is determined by the second preset recognition model based on the facial image.
[0143] That is, the vehicle of the implementation mode of the present application will determine the driving emotion of the target user based on the expression of the target user, that is, after extracting the facial image of the target user from the in-vehicle image information, the facial image of the target user is subjected to expression recognition based on a preset second preset recognition model, thereby obtaining the expression recognition result of the target user, and then obtaining the second recognition result based on the expression recognition result.
[0144] It is understandable that the expression recognition result of the embodiment of the present application can be completed by the vehicle itself or the remote electronic device, that is, when the second preset recognition model is mounted on the vehicle itself, the vehicle will automatically call the corresponding second preset recognition model to perform expression recognition on the facial image of the target user. When the second preset recognition model is mounted on the remote electronic device, the vehicle can send the facial image to the remote electronic device, so that the remote electronic device recognizes the expression recognition result corresponding to the facial image through the second preset recognition model, and then sends the expression recognition result to the vehicle.
[0145] It is also understandable that the specific method of determining the second recognition result according to the expression recognition result is a content that can be set according to the actual situation. For example, in some embodiments, the types of expression recognition results that can be output by the second preset recognition model include "road rage emotion" and "non-road rage emotion", and then the expression recognition result can be directly used as the second recognition result.
[0146] In other embodiments, the types of expression recognition results that can be output by the second preset recognition model include happiness, anger, sadness, irritability and other emotions. Furthermore, when the expression recognition result is a preset category (such as anger, irritability), the second preset recognition model is "road rage emotion". Conversely, when the expression recognition result is not a preset category, the second preset recognition model is not "road rage emotion".
[0147] Furthermore, it should be noted that the method of determining the facial image of the target user according to the in-car image information in the embodiments of the present application can be set according to the actual situation. For example, in some embodiments, because the shooting position of the in-car camera and the position of the main driving cabin are fixed, after the in-car image information is acquired, the facial image of the person at the position of the main driving cabin in the in-car image information (or the facial image of the person in the main driving cabin) is used as the above facial image.
[0148] In this way, the implementation mode of the present application enables the target user's driving emotion to be obtained based on the user's expression recognition result, thereby ensuring the credibility of the driving emotion detection result to a certain extent.
[0149] In certain embodiments of this application, please refer to Figure 7 , step 06 includes:
[0150] 060: Determine the original facial image information of the target user based on the in-car image information;
[0151] 061: Perform preset noise reduction processing on the original facial image information to obtain a facial image.
[0152] The processing unit of the implementation mode of the present application is also used to determine the original facial image information of the target user based on the in-vehicle image information; and perform a preset noise reduction process on the original facial image information to obtain a facial image.
[0153] The processor of the implementation mode of the present application is also used to determine the original facial image information of the target user based on the in-vehicle image information; and perform a preset noise reduction process on the original facial image information to obtain a facial image.
[0154] That is, after the vehicle implementing the method of the present application performs image extraction processing or target detection processing on the in-vehicle image information to obtain the facial image of the target user in the in-vehicle image information, it also performs a preset image noise reduction processing on the facial image of the target user, that is, the original facial image information of the target user is subjected to a preset noise reduction processing, thereby obtaining a facial image with higher image quality after noise reduction processing.
[0155] It is understood that the specific setting method of the preset noise reduction processing in the implementation mode of the present application can be set according to actual conditions. For example, in some embodiments, the preset noise reduction processing includes but is not limited to image scaling, pixel value normalization, image enhancement and Gaussian denoising.
[0156] In this way, the implementation mode of the present application enables the second recognition result to be obtained based on the facial image after noise reduction processing, and thus, the credibility of the second recognition result is guaranteed, and the accuracy of the detection result of the target user's driving emotion is also improved to a certain extent.
[0157] In addition, it should be noted that in certain embodiments where the second preset recognition model is implemented based on a neural network, the preset noise reduction processing in the embodiments of the present application can also be understood as an image preprocessing operation in the model training process (or reasoning process).
[0158] In certain embodiments of the present application, the detection method further comprises:
[0159] Based on the third recognition model, a third recognition result is determined according to the vehicle brake information, the vehicle pedal information and the vehicle crankshaft information, wherein the vehicle brake information, the vehicle pedal information and the vehicle crankshaft information are determined according to the vehicle control information.
[0160] The processing unit of the implementation mode of the present application is also used to determine a third recognition result based on the third recognition model according to the vehicle braking information, the vehicle pedal information and the vehicle crankshaft information.
[0161] The processor of the embodiment of the present application is also used to determine a third recognition result based on the third recognition model according to the vehicle braking information, the vehicle pedal information and the vehicle crankshaft information.
[0162] That is, the implementation mode of the present application will complete the determination of the third recognition result based on the vehicle braking information, the vehicle pedal information and the vehicle crankshaft information.
[0163] It should be understood that the vehicle brake information in the embodiments of the present application can be understood as information related to vehicle braking, including but not limited to brake torque, hydraulic pressure, hydraulic valve opening, etc. Also, the vehicle pedal information can be understood as brake pedal opening and accelerator pedal opening, etc. The vehicle crankshaft information can be understood as data related to the crankshaft in the engine, including but not limited to crankshaft position and crankshaft reverse rotation, etc.
[0164] It should also be understood that the vehicle braking information, vehicle pedal information and vehicle crankshaft information all change when the driver performs operations such as starting the vehicle, releasing the accelerator pedal and releasing the brake pedal. Therefore, the vehicle braking information, vehicle pedal information and vehicle crankshaft information can be used to characterize the driver's driving operation, and the vehicle braking information, vehicle pedal information and vehicle crankshaft information over a period of time can be used to characterize the driver's driving operation habits for the vehicle.
[0165] In this way, the implementation mode of the present application enables the third recognition result to be determined by the vehicle braking information, vehicle pedal information and vehicle crankshaft information, and further, enables the third recognition result to be associated with the user's operating behavior, and the credibility of the third recognition result can be guaranteed to a certain extent.
[0166] In certain embodiments of the present application, the third recognition model is determined based on historical vehicle control information corresponding to a target driving section type and a target time period for users whose driving emotion is road rage, and historical vehicle control information corresponding to a target driving section type and a target time period for users whose driving emotion is not road rage. The target driving section type is determined based on the type of the vehicle's current driving section, and the target time period is determined based on the current time.
[0167] That is, the implementation mode of the present application can determine users who suffer from road rage and users who do not suffer from road rage based on the time or time period when the user controls the vehicle (corresponding to the target time period) and the type of road the vehicle is currently traveling on (corresponding to the type of target driving section), and determine or train the above-mentioned third preset recognition model based on the vehicle control information when the vehicle is controlled to travel on a section of the target driving section type during the target time period.
[0168] For example, if the target user controls the vehicle to travel on the school road at 17:30 noon, the embodiment of the present application can extract or obtain the first historical vehicle control information of multiple users with road rage controlling the vehicle to travel on the school road section between 17:00 and 18:00. At the same time, the second historical vehicle control information of users with road rage controlling the vehicle to travel on the school road section between 17:00 and 18:00 is obtained.
[0169] Then, a preset initial model is trained according to the first historical vehicle control information and the second historical vehicle control information, thereby obtaining the third preset recognition model.
[0170] It can be understood that the specific type (or specific composition method) of the initial model or the third preset recognition model can be set according to actual conditions. For example, in some embodiments, the third preset recognition model is obtained by training any one of the support vector machine, K nearest neighbor model, and ADABOOST model using the first and second historical vehicle control information.
[0171] It can also be understood that the specific training process of the third preset recognition model is content that can be set according to actual conditions, and the evaluation indicators involved in the training process are also content that can be set according to actual conditions. For example, in some embodiments, the evaluation indicators involved in the training process of the third preset recognition model include accuracy, error rate, confidence, F1 parameter, etc.
[0172] In addition, it should be noted that after the third preset recognition model completes training, the third preset recognition model of the implementation mode of the present application can learn the differences in driving habits (or called vehicle control information differences) between users with road rage and users without road rage corresponding to the target driving section type and target time period based on the above-mentioned first historical vehicle control information and the second historical vehicle control information. Furthermore, the third preset recognition model can identify whether the target user is similar to a user without road rage or a user with road rage based on the learned knowledge and the currently input vehicle control information, thereby obtaining the above-mentioned third recognition result.
[0173] In this way, the implementation mode of the present application completes the training of the third preset recognition model through the historical vehicle control information of users whose driving emotion is road rage and the historical vehicle control information of users whose driving emotion is not road rage, so that the third preset recognition model can learn the difference in vehicle control information between users whose driving emotion is road rage and users who are not road rage during the training process, so as to effectively output the corresponding third recognition result according to the vehicle control information corresponding to the target user.
[0174] In certain embodiments of the present application, step 03 includes:
[0175] Based on a first confidence level corresponding to the first recognition result, a second confidence level corresponding to the second recognition result, and a third confidence level corresponding to the third recognition result, the driving emotion is determined according to the recognition result with the highest confidence level, wherein the first confidence level is generated according to a first preset recognition model and vehicle speed information, the second confidence level is generated according to a second preset recognition model and in-vehicle image information, and the third confidence level is generated according to a third preset recognition model and vehicle control information.
[0176] The processing unit of the embodiment of the present application is also used to determine the driving emotion according to the recognition result with the highest confidence based on a first confidence corresponding to the first recognition result, a second confidence corresponding to the second recognition result, and a third confidence corresponding to the third recognition result, wherein the first confidence is generated based on a first preset recognition model and vehicle speed information, the second confidence is generated based on a second preset recognition model and in-vehicle image information, and the third confidence is generated based on a third preset recognition model and vehicle control information.
[0177] The processor of the embodiment of the present application is also used to determine the driving emotion according to the recognition result with the highest confidence based on a first confidence corresponding to the first recognition result, a second confidence corresponding to the second recognition result, and a third confidence corresponding to the third recognition result, wherein the first confidence is generated based on a first preset recognition model and vehicle speed information, the second confidence is generated based on a second preset recognition model and in-vehicle image information, and the third confidence is generated based on a third preset recognition model and vehicle control information.
[0178] That is, the three preset recognition models of the implementation mode of the present application will output the confidence levels corresponding to the recognition results when outputting the corresponding recognition results, namely, the first confidence level corresponding to the first recognition result, the second confidence level corresponding to the second recognition result, and the third confidence level corresponding to the third recognition result.
[0179] Therefore, after obtaining the three confidence levels corresponding to the three recognition results, the embodiment of the present application will determine the target user's driving emotion based on the recognition result corresponding to the highest confidence level among the three recognition results. Thus, the target user's driving emotion can be determined based on the recognition result with the highest confidence level, and thus, the credibility of the driving emotion detection result can be guaranteed to a certain extent.
[0180] It can be understood that, since the implementation method of the present application determines the driving emotion based on three recognition results, or in other words, the driving emotion is determined based on three recognition results corresponding to three types of information (i.e., vehicle control information, in-vehicle image information, and vehicle speed information), and further, when any one type of information is invalid, such as when the in-vehicle camera is damaged and the in-vehicle image information cannot be collected, and the confidence of the first recognition result is low (or, the first recognition result is not output), the implementation method of the present application can also determine the driving emotion of the target user based on the second recognition result and the third recognition result corresponding to the other two types of information (i.e., vehicle control information and vehicle speed information). As a result, when the vehicle or in-vehicle parts are partially damaged, the driving emotion of the target user can still be determined. In other words, the robustness of driving emotion detection is guaranteed.
[0181] In this way, the implementation method of the present application enables the target user's driving emotion to be determined based on the recognition result with the highest confidence, and thus the credibility of the driving emotion detection result can be guaranteed to a certain extent. At the same time, in the case where any one of the vehicle control information, the in-vehicle image information and the vehicle speed information is invalid, such as when the in-vehicle camera is damaged and the in-vehicle image information is not collected, the implementation method of the present application can also complete the determination of the driving emotion based on the remaining vehicle control information and vehicle speed information, thereby ensuring the robustness of the driving emotion detection.
[0182] In certain embodiments of the present application, the in-vehicle image information is acquired based on the vehicle's driver monitoring system.
[0183] That is, the vehicle in the implementation mode of the present application is installed with a driver monitoring system (Driver Monitoring System, DMS). Therefore, while the implementation mode of the present application monitors the driver based on the driver monitoring system, it can also be used to complete the collection of in-vehicle image information, thereby providing information support for the subsequent determination of the first recognition result.
[0184] In certain embodiments of the present application, the vehicle speed information is determined based on the wheel speed information collected by the wheel speed sensor of the vehicle and the acceleration information collected by the inertial measurement unit of the vehicle.
[0185] That is, the vehicle in the embodiment of the present application is equipped with a wheel speed sensor and an inertial measurement unit. Furthermore, the vehicle in the embodiment of the present application can determine the vehicle speed, that is, the vehicle speed information, based on the wheel speed information collected by the wheel speed sensor and the acceleration information collected by the inertial measurement unit.
[0186] In certain embodiments of the present application, the vehicle control information is determined based on the vehicle braking information collected by the vehicle's brake sensor, the vehicle pedal information collected by the vehicle's pedal sensor, and the vehicle crankshaft information collected by the vehicle's crankshaft sensor.
[0187] That is, the vehicle of the embodiment of the present application is equipped with a brake sensor for collecting vehicle braking information, a pedal sensor for collecting vehicle pedal information, and a crankshaft sensor for collecting vehicle crankshaft information.
[0188] The brake sensor may be understood as one or more sensors capable of collecting brake-related information. For example, in some embodiments, the brake sensor includes a brake vacuum pressure sensor and a hydraulic pressure sensor.
[0189] Similarly, the crankshaft sensor may be understood as one or more sensors capable of collecting information related to the crankshaft. For example, in some embodiments, the crankshaft sensor includes a crankshaft position sensor for collecting the position of the crankshaft.
[0190] Similarly, the pedal sensor can be understood as one or more sensors that can collect information related to the brake pedal and the accelerator pedal. For example, in some embodiments, the pedal sensor includes an accelerator pedal position sensor and a brake pedal depth position sensor.
[0191] In certain embodiments of this application, please refer to Figure 8 , Figure 8Schematic diagram of a vehicle in some embodiments of the present application. That is, in some embodiments of the present application, an ultrasonic radar 101, a first camera 102, a second camera 103, a millimeter-wave radar 104, a wheel speed sensor 105, an inertial measurement unit 106, an accelerator pedal sensor 107, a radar system controller 108, a positioning module 109, a domain controller 110 and a vehicle networking module 111 are provided in the vehicle. Among them, the ultrasonic radar 101 can be used to detect the depth of water on the road surface. The first camera 102 is used to shoot the front, rear, left and right sides of the vehicle. The second camera 103 is used to cooperate with the millimeter-wave radar 104 to achieve automatic driving.
[0192] Further, to clearly explain the domain controller 110 in the embodiment of the present application, please refer to Fig. 9 , Fig. 9 It is a schematic diagram of the domain controller 110 in some embodiments of the present application. That is, the vehicle of the embodiment of the present application is equipped with 5 domain controllers 110, which are used for the front domain controller 112, the left domain controller 113, the right domain controller 114, the rear domain controller 115 and the cockpit and intelligent driving domain controller 116. Among them, the front domain controller 112 is responsible for the control of electrical equipment in the front area of the vehicle, the left domain controller 113 is responsible for the control of electrical equipment in the left area of the vehicle, the right domain controller 114 is responsible for the control of electrical equipment in the right area of the vehicle, the rear domain controller 115 is responsible for the control of electrical equipment in the rear area of the vehicle, and the cockpit and intelligent driving domain controller 116 is responsible for the control of electrical equipment related to the cockpit and automatic driving in the vehicle. It should be noted that the electrical equipment to be controlled by each domain controller can be set according to actual conditions.
[0193] At the same time, it should be noted that the vehicle control method in the embodiment of the present application can be executed by operating one or more domain controllers in the vehicle according to actual conditions. Fig.10 and Fig.11 , Fig.10 and Fig.11 All of them are flowchart diagrams of vehicle control methods in certain embodiments of the present application.
[0194] That is, the vehicle control method of the embodiment of the present application depends on the left domain controller 113. Specifically, the acceleration information collected by the inertial measurement unit and the wheel speed information collected by the wheel speed sensor are converted into vehicle speed information based on the left domain controller 113. And, the left domain controller 113 outputs a first recognition result based on the vehicle speed condition corresponding to the type of the current driving section and the vehicle speed information.
[0195] At the same time, after the driver monitoring system collects the in-vehicle image information, it sends it to the left domain controller 113. The left domain controller 113 calls the second preset recognition model to perform emotion recognition on the facial image of the target user in the in-vehicle image information, and then outputs a second recognition result.
[0196] Furthermore, the crankshaft sensor transmits the collected vehicle crankshaft information to the left domain controller 113, the brake sensor transmits the collected vehicle brake information to the left domain controller 113, and the pedal sensor transmits the collected vehicle pedal information to the left domain controller 113. The left domain controller 113 calls the third preset recognition model to recognize the vehicle crankshaft information, the vehicle pedal information and the vehicle brake information, thereby obtaining a third recognition result.
[0197] Finally, the crankshaft sensor integrates the first to third recognition results to obtain the driving emotion of the target user and controls the vehicle driving according to the driving emotion.
[0198] In addition, it can be understood that the number of domain controllers in the implementation of the present application can also be one, or in other words, the vehicle of the implementation of the present application can be set based on the cross-domain integrated electronic and electrical architecture, and then, the number of domain controllers in the vehicle is one, and the domain controller will be responsible for the control of all electrical equipment in the vehicle. It can be understood that in this implementation, all control logic and data logic in the vehicle will be completed by this domain controller (or central computing unit), and then, relative to the situation where multiple domain controllers are responsible for vehicle control, when the vehicle is controlled based on one domain controller, data does not need to flow or transmit in multiple domain controllers, and then, the data processing efficiency and control efficiency of the vehicle can be improved to a certain extent.
[0199] In addition, it should be noted that when the domain controller of the embodiment of the present application outputs the first recognition result, it can also determine it according to the oxygen concentration in the cabin space collected by the oxygen sensor. Fig.10 As shown, the left domain controller of the implementation mode of the present application can determine whether the first recognition result is road rage based on the oxygen concentration in the cabin space collected by the oxygen sensor.
[0200] It is understandable that when the user in the cabin is more excited or angry, the user's breathing rate increases, causing the oxygen concentration in the cabin to decrease and the carbon dioxide concentration to increase. For this reason, the embodiment of the present application can also input the facial image of the target user and the oxygen concentration of the cabin space into the left domain controller, so that the left domain controller calls the second preset model to identify the oxygen concentration and the facial image, thereby completing the determination of the second recognition result. For example, when the oxygen concentration is lower than the preset value and the user's expression is determined to be angry or irritable based on the facial image, the user's driving emotion is determined to be road rage.
[0201] The embodiment of the present application further provides a vehicle, including a vehicle body, on which the above-mentioned identification device or the above-mentioned electronic device is installed.
[0202] The present application also provides a computer-readable storage medium containing a computer program. When the computer program is executed by one or more processors, the one or more processors execute the vehicle control method of the present application.
[0203] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0204] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0205] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A vehicle control method, characterized in that: include: Acquiring vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information, and vehicle control information; The vehicle driving is controlled according to the type of the current driving section and the driving emotion of the target user, wherein the section type includes a wading section, and the section type is determined based on the driving environment information; the driving emotion includes road rage, and the driving emotion is determined based on at least one of the vehicle speed information, the in-vehicle image information and the vehicle control information.
2. The method according to claim 1, characterized in that The method further comprises: The type of the road section is determined according to the detection result of the water-wading section, wherein the detection result of the water-wading section is determined according to a preset target detection model and the vehicle exterior image information in the driving environment information.
3. The method according to claim 1, characterized in that The controlling the vehicle to travel according to the type of the current travel section and the driving emotion of the target user includes: When the road section type is the wading road section and the driving emotion is not the road rage emotion, controlling the vehicle to enter the first working mode; When the road section type is not the wading road section and the driving emotion is the road rage emotion, controlling the vehicle to enter the second working mode; When the road section type is the wading section and the driving emotion is the road rage emotion, the vehicle is controlled to enter the third working mode.
4. The method according to claim 1, characterized in that: The method further comprises: The driving emotion is determined based on the first recognition result, the second recognition result and the third recognition result, wherein the first recognition result is determined based on the first preset recognition model and the vehicle speed information, the second recognition result is determined based on the second preset recognition model and the in-vehicle image information, and the third recognition result is determined based on the third preset recognition model and the vehicle control information, and the first recognition result, the second recognition result and the third recognition result all include the road rage emotion.
5. The method according to claim 4, characterized in that The method further comprises: Based on the first preset recognition model, the first recognition result is determined according to the vehicle speed information and the type of the current driving section of the vehicle.
6. The method according to claim 4, characterized in that The method further comprises: Determining the facial image of the target user according to the in-vehicle image information; The second recognition result is determined according to the expression recognition result, wherein the expression recognition result is determined by the second preset recognition model according to the facial image.
7. The method according to claim 4, characterized in that The method further comprises: Based on the third recognition model, the third recognition result is determined according to vehicle brake information, vehicle pedal information and vehicle crankshaft information, wherein the vehicle brake information, the vehicle pedal information and the vehicle crankshaft information are determined according to the vehicle control information.
8. The method according to claim 4, characterized in that The determining the driving emotion according to the first recognition result, the second recognition result and the third recognition result includes: Based on a first confidence level corresponding to the first recognition result, a second confidence level corresponding to the second recognition result, and a third confidence level corresponding to the third recognition result, the driving emotion is determined according to the recognition result with the highest confidence level, wherein the first confidence level is generated according to the first preset recognition model and the vehicle speed information, the second confidence level is generated according to the second preset recognition model and the in-vehicle image information, and the third confidence level is generated according to the third preset recognition model and the vehicle control information.
9. A control device, characterized in that: include: A transceiver unit, used to obtain vehicle information, wherein the vehicle information includes driving environment information, and at least one of vehicle speed information, in-vehicle image information and vehicle control information; A processing unit is used to control the driving of the vehicle according to the type of the current driving section and the driving emotion of the target user, wherein the section type includes a wading section, the section type is determined according to the driving environment information, the driving emotion includes road rage, and the driving emotion is determined according to at least one of the vehicle speed information, the in-vehicle image information and the vehicle control information.
10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.
11. A vehicle, characterized in that: Including the body; The vehicle body is mounted with the control device according to claim 9 or the electronic device according to claim 10.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 8 is implemented.