Driver emotion recognition method and device based on various data

By calculating the emotional influence coefficient of vehicle data and environmental data, and combining the comprehensive impact of driving and environmental factors, the problem of inaccurate emotion recognition results in the existing technology is solved, and accurate emotion recognition is achieved in various scenarios.

CN118770233APending Publication Date: 2024-10-15HAINA XINSI ZHIXING SERVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310369489.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing driver emotion recognition methods use hypothetical scenarios to identify drivers and fail to effectively combine them with the actual situation, resulting in inaccurate recognition results. They also do not consider the characteristics and correlation of each feature, resulting in poor model recognition accuracy.

Method used

By calculating the emotional influence coefficients and environmental data of various vehicle data, and combining the comprehensive impact of driving and environmental factors, accurate emotion recognition results are calculated, taking into account the characteristics and correlation of vehicle data and environmental data, and applicable to various scenarios.

Benefits of technology

It achieves accurate recognition of driver emotions in actual situations, improves the accuracy and applicability of recognition results, and can provide realistic emotion recognition results in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118770233A_ABST
    Figure CN118770233A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a driver emotion recognition method and device based on various data. By respectively calculating the emotion influence coefficients of the various vehicle data, an accurate calculation result can be obtained according to respective characteristics of the various vehicle data; furthermore, a first emotion recognition result based on the driving comprehensive influence is calculated according to the emotion influence coefficients of the various vehicles, and a recognition result based on various vehicle data characteristics and considering the driving comprehensive influence can be obtained; moreover, the final emotion recognition result is calculated according to the recognition result based on the driving comprehensive influence and the recognition result based on the human body comfort obtained through calculation according to the environment data, the influence of the environment factors on the emotion is further considered on the basis of the driving comprehensive influence, and the emotion recognition result meeting the actual situation can be obtained. And the method is suitable for various scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a method and device for identifying driver emotions based on multiple data. Background Art

[0002] With the development of science and technology and the progress of urbanization, there are more and more vehicles on the road, and in recent years, the intelligence of vehicles has also developed rapidly. With the complexity of road conditions and traffic congestion, the state and mood of drivers have an important impact on the safety of drivers, passengers and roads.

[0003] Therefore, the recognition and monitoring of the driver's emotions is of great significance to personal safety and road safety. In addition, the recognition and monitoring of the driver's emotions helps to provide relevant safety services as well as personalized recommendations and services.

[0004] At present, existing emotion recognition methods are performed through assuming scenarios. For example, it is assumed that sudden braking is a negative emotion. In addition, all features are input into the model for training to obtain an emotion recognition model.

[0005] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present invention and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because these solutions are described in the background technology section of the present invention. Summary of the invention

[0006] However, the hypothetical scenarios are not combined with the actual situation, but are just assumptions and inferences, which are not in line with the actual situation in many scenarios, resulting in incorrect recognition results. In addition, all features are input into the model for training without considering the characteristics of each feature and the correlation between features, which makes the recognition accuracy of the trained model poor.

[0007] In order to solve at least one of the problems in the above-mentioned prior art, an embodiment of the present invention provides a method and device for driver emotion recognition based on multiple data. By calculating the emotion impact coefficients of multiple vehicle data respectively, accurate calculation results can be obtained according to the characteristics of each of the multiple vehicle data; and, by calculating the first emotion recognition result based on the comprehensive driving impact according to the emotion impact coefficients of multiple vehicles, a recognition result that takes into account the comprehensive driving impact based on the characteristics of various vehicle data can be obtained; and, by calculating the final emotion recognition result based on the recognition result based on the comprehensive driving impact and the recognition result based on human comfort calculated according to the environmental data, the influence of environmental factors on emotions is further considered on the basis of the comprehensive driving impact, and an emotion recognition result that conforms to the actual situation can be obtained and is applicable to various scenarios.

[0008] According to a first aspect of an embodiment of the present invention, a method for driver emotion recognition based on multiple data is provided, the method comprising: acquiring multiple vehicle data and environmental data; respectively calculating the emotion impact coefficients of the multiple vehicle data; calculating a first emotion recognition result based on the comprehensive driving impact according to the emotion impact coefficients of the multiple vehicles; calculating a second emotion recognition result based on the environmental impact according to the environmental data; and calculating the driver's emotion recognition result according to the first emotion recognition result and the second emotion recognition result.

[0009] According to a second aspect of an embodiment of the present invention, the multiple vehicle data include vehicle speed data, acceleration data, deceleration data and turn signals, the environmental data include at least one of temperature data, humidity data and weather data, and the emotional impact coefficients of the multiple vehicle data include an emotional impact coefficient based on vehicle speed, an emotional impact coefficient based on acceleration and deceleration, an emotional impact coefficient based on continuous deceleration, an emotional impact coefficient based on continuous acceleration and an emotional impact coefficient based on steering.

[0010] According to a third aspect of an embodiment of the present invention, the speed-based emotion impact coefficient is calculated based on a logarithmic function based on current vehicle speed data of the vehicle and speed limit data of the road section.

[0011] According to the fourth aspect of an embodiment of the present invention, the acceleration data includes the opening degree of an accelerator pedal, and the deceleration data includes the opening degree of a brake pedal, wherein an emotion impact coefficient based on acceleration is calculated according to a sigmoid function based on the opening degree of the accelerator pedal; an emotion impact coefficient based on deceleration is calculated according to a sigmoid function based on the opening degree of the brake pedal; and an emotion impact coefficient based on comprehensive acceleration and deceleration is calculated according to the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration.

[0012] According to the fifth aspect of the embodiment of the present invention, when the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are both not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on comprehensive acceleration and deceleration; when the current emotion impact coefficient based on acceleration is not zero and the emotion impact coefficient based on deceleration is zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on acceleration; when the current emotion impact coefficient based on acceleration is zero and the emotion impact coefficient based on deceleration is not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on deceleration.

[0013] According to the sixth aspect of an embodiment of the present invention, the emotion impact coefficient based on continuous deceleration is calculated based on the emotion impact coefficient based on deceleration within a preset time period from the current moment; and the emotion impact coefficient based on continuous acceleration is calculated based on the emotion impact coefficient based on acceleration within a preset time period from the current moment.

[0014] According to a seventh aspect of an embodiment of the present invention, the emotion impact coefficient based on steering is calculated based on a steering signal, an emotion impact coefficient based on vehicle speed, and an emotion impact coefficient based on deceleration.

[0015] According to the eighth aspect of an embodiment of the present invention, the calculation of the first emotion recognition result based on the comprehensive driving impact based on the emotion impact coefficients of the multiple vehicles includes: determining a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration based on the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, and using the combined term to calculate the first emotion recognition result.

[0016] According to the ninth aspect of an embodiment of the present invention, the first emotion recognition result based on the comprehensive driving impact is calculated based on the emotion impact coefficients of the multiple vehicles, including: assigning a weight greater than 1 to the steering-based emotion impact coefficient, and using the steering-based emotion impact coefficient weighted by the weight to calculate the first emotion recognition result.

[0017] According to the tenth aspect of an embodiment of the present invention, the second emotion recognition result based on the environmental influence is calculated based on the environmental data, including: calculating the second emotion recognition result based on the comparison result of the current temperature with the first threshold, the comparison result of the current humidity with the second threshold, and whether the current weather is a preset type of weather.

[0018] According to the eleventh aspect of an embodiment of the present invention, the driver's emotion recognition result is calculated based on the first emotion recognition result and the second emotion recognition result, including: when the absolute value of the first emotion recognition result is greater than 1, the driver's emotion recognition result is the first emotion recognition result; when the absolute value of the first emotion recognition result is less than or equal to 1, the driver's emotion recognition result is the sum of a logarithmic function with the first emotion recognition result as the base and the second emotion recognition result as the true number and the first emotion recognition result.

[0019] According to the twelfth aspect of an embodiment of the present invention, a device for identifying a driver's emotion based on multiple data is provided, the device comprising: an acquisition unit, which acquires multiple vehicle data and environmental data; a first calculation unit, which respectively calculates the emotion impact coefficients of the multiple vehicle data; a second calculation unit, which calculates a first emotion recognition result based on the comprehensive driving impact according to the emotion impact coefficients of the multiple vehicles; a third calculation unit, which calculates a second emotion recognition result based on the environmental impact according to the environmental data; and a fourth calculation unit, which calculates the driver's emotion recognition result according to the first emotion recognition result and the second emotion recognition result.

[0020] According to the thirteenth aspect of an embodiment of the present invention, the multiple vehicle data include vehicle speed data, acceleration data, deceleration data and turn signals, the environmental data include at least one of temperature data, humidity data and weather data, and the emotion impact coefficients of the multiple vehicle data include an emotion impact coefficient based on vehicle speed, an emotion impact coefficient based on acceleration and deceleration, an emotion impact coefficient based on continuous deceleration, an emotion impact coefficient based on continuous acceleration and an emotion impact coefficient based on steering.

[0021] According to the fourteenth aspect of the embodiment of the present invention, the first calculation unit includes: a first calculation module, which calculates the emotion impact coefficient based on the vehicle speed according to a logarithmic function based on the current vehicle speed data of the vehicle and the speed limit data of the road section.

[0022] According to the fifteenth aspect of an embodiment of the present invention, wherein the acceleration data includes the opening degree of an accelerator pedal, and the deceleration data includes the opening degree of a brake pedal, the first calculation unit includes: a second calculation module, which calculates an emotion impact coefficient based on acceleration according to a sigmoid function based on the opening degree of the accelerator pedal; calculates an emotion impact coefficient based on deceleration according to a sigmoid function based on the opening degree of the brake pedal; and calculates an emotion impact coefficient based on comprehensive acceleration and deceleration according to the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration, wherein, when the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are both not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on comprehensive acceleration and deceleration; when the current emotion impact coefficient based on acceleration is not zero and the emotion impact coefficient based on deceleration is zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on acceleration; when the current emotion impact coefficient based on acceleration is zero and the emotion impact coefficient based on deceleration is not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on deceleration.

[0023] According to the sixteenth aspect of an embodiment of the present invention, the first calculation unit includes: a third calculation module, which calculates the emotion impact coefficient based on continuous deceleration according to the emotion impact coefficient based on deceleration within a preset time period from the current moment; a fourth calculation module, which calculates the emotion impact coefficient based on continuous acceleration according to the emotion impact coefficient based on acceleration within a preset time period from the current moment; and a fifth calculation module, which calculates the emotion impact coefficient based on turning according to the turn signal, the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on deceleration.

[0024] According to the seventeenth aspect of an embodiment of the present invention, the second calculation unit determines a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration according to the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, and uses the combined term to calculate the first emotion recognition result.

[0025] According to the eighteenth aspect of an embodiment of the present invention, the second calculation unit assigns a weight greater than 1 to the turning-based emotion impact coefficient, and uses the turning-based emotion impact coefficient weighted by the weight to calculate the first emotion recognition result.

[0026] According to the nineteenth aspect of an embodiment of the present invention, the third calculation unit calculates the second emotion recognition result based on the comparison result between the current temperature and the first threshold, the comparison result between the current humidity and the second threshold, and whether the current weather is a preset type of weather.

[0027] According to the twentieth aspect of an embodiment of the present invention, when the absolute value of the first emotion recognition result is greater than 1, the emotion recognition result of the driver is the first emotion recognition result; when the absolute value of the first emotion recognition result is less than or equal to 1, the emotion recognition result of the driver is the sum of a logarithmic function with the first emotion recognition result as the base and the second emotion recognition result as the true number and the first emotion recognition result.

[0028] One of the beneficial effects of the embodiments of the present invention is:

[0029] By calculating the emotion impact coefficients of various vehicle data respectively, accurate calculation results can be obtained according to the characteristics of various vehicle data;

[0030] Furthermore, by calculating the first emotion recognition result based on the comprehensive driving influence according to the emotion influence coefficients of the various vehicles, it is possible to obtain the recognition result considering the comprehensive driving influence based on the data characteristics of various vehicles;

[0031] In addition, the final emotion recognition result is calculated based on the recognition result based on the comprehensive impact of driving and the recognition result based on human comfort calculated according to the environmental data. On the basis of the comprehensive impact of driving, the influence of environmental factors on emotions is further considered, and the emotion recognition result that conforms to the actual situation can be obtained and is suitable for various scenarios.

[0032] Furthermore, the multiple vehicle data include vehicle speed data, acceleration data, deceleration data and turning signals, the environmental data include at least one of temperature data, humidity data and weather data, and the emotion impact coefficients of the multiple vehicle data include an emotion impact coefficient based on vehicle speed, an emotion impact coefficient based on acceleration and deceleration, an emotion impact coefficient based on continuous deceleration, an emotion impact coefficient based on continuous acceleration and an emotion impact coefficient based on turning. In this way, the characteristics of various features can be further fully utilized to obtain accurate recognition results.

[0033] Furthermore, the emotion impact coefficient based on the vehicle speed is calculated according to a logarithmic function based on the vehicle's current speed data and the speed limit data of the road section, which can fully and reasonably utilize the correlation between the speed data and the emotion, and further improve the accuracy of the calculation result.

[0034] Furthermore, the emotion impact coefficient based on acceleration or deceleration is calculated according to the sigmoid function based on the opening and closing degree of the accelerator pedal or the decelerator pedal, and the emotion impact coefficient based on the comprehensive acceleration and deceleration is further calculated. This can fully and reasonably utilize the relationship between acceleration, deceleration data and emotions, and further improve the accuracy of the calculation results.

[0035] Furthermore, the emotion impact coefficient based on comprehensive acceleration and deceleration is determined according to whether the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are zero. The emotion impact coefficient based on comprehensive acceleration and deceleration can be calculated based on actual conditions, further improving the accuracy of the calculation results.

[0036] Furthermore, the emotion impact coefficients based on continuous deceleration and based on continuous acceleration are calculated according to the emotion impact coefficients based on deceleration and based on acceleration in a recent period of time, so as to further improve the accuracy of the calculation result.

[0037] Furthermore, the emotion impact coefficient based on steering is calculated according to the steering signal, the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on deceleration. When calculating the coefficient, the influence of the steering signal as well as the vehicle speed and deceleration is comprehensively considered, thereby further improving the accuracy of the calculation result.

[0038] Furthermore, based on the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration is determined, and the combined term is used to calculate the first emotion recognition result. This can take into account the mutual influence of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, thereby further improving the accuracy of the calculation results.

[0039] Furthermore, a weight greater than 1 is assigned to the turning-based emotion impact coefficient, and the turning-based emotion impact coefficient weighted by the weight is used to calculate the first emotion recognition result. When the turning-based emotion impact coefficient is not zero, its weight is increased, which can fully consider the impact of the turning and further improve the accuracy of the calculation result.

[0040] Furthermore, based on the comparison results of the current temperature and the first threshold, the comparison results of the current humidity and the second threshold, and whether the current weather is a preset type of weather, the second emotion recognition result is calculated, which can fully consider the impact of temperature, humidity and specific weather on emotions, thereby further improving the accuracy of the calculation results.

[0041] Furthermore, when the absolute value of the first emotion recognition result based on the comprehensive impact of driving is greater than 1, the driver's emotion recognition result is the first emotion recognition result; when the absolute value of the first emotion recognition result is less than or equal to 1, the driver's emotion recognition result is the sum of a logarithmic function with the first emotion result as the base and the second emotion recognition result based on environmental impact as the true number and the first emotion recognition result. In this way, the correlation between the first emotion recognition result based on the comprehensive impact of driving and the second emotion recognition result based on environmental impact can be fully considered, thereby further improving the accuracy of the calculation results.

[0042] With reference to the following description and accompanying drawings, the embodiments of the present invention are disclosed in detail. It should be understood that the embodiments of the present invention are not limited in scope. Within the spirit and scope of the appended claims, the embodiments of the present invention include many changes, modifications and equivalents.

[0043] Features described and / or illustrated with respect to one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments.

[0044] It should be emphasized that the terms “include / comprises / has” when used herein refer to the existence of a feature, an integer, or a component, but do not exclude the existence or addition of one or more other features, integers, or components. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The above and other objects, features and advantages of the embodiments of the present invention will become more apparent from the following detailed description in conjunction with the accompanying drawings, in which:

[0046] Figure 1 is a schematic diagram of a driver emotion recognition method based on multiple data according to Embodiment 1 of the present invention;

[0047] Figure 2 is a schematic diagram of a driver emotion recognition device based on multiple data according to Embodiment 2 of the present invention;

[0048] Figure 3 is a schematic diagram of a first computing unit in Embodiment 2 of the present invention;

[0049] Figure 4 is a schematic diagram of data processing of a driver emotion recognition device based on multiple data according to Embodiment 2 of the present invention;

[0050] Figure 5 is a schematic diagram of an electronic device according to Embodiment 3 of the present invention;

[0051] Figure 6 It is a schematic block diagram of the system structure of the electronic device according to the third embodiment of the present invention. DETAILED DESCRIPTION

[0052] With reference to the accompanying drawings, the above and other features of the present invention will become apparent through the following description. In the description and the accompanying drawings, specific embodiments of the present invention are specifically disclosed, which show some embodiments in which the principles of the present invention can be adopted, and it should be understood that the present invention is not limited to the described embodiments, but includes all modifications and equivalents falling within the scope of the attached claims.

[0053] The driver emotion recognition method based on multiple data according to an embodiment of the present invention is described below with reference to the accompanying drawings.

[0054] Example 1

[0055] Embodiment 1 of the present invention provides a method for identifying driver emotions based on multiple data.

[0056] Figure 1 FIG. 1 is a schematic diagram of a driver emotion recognition method based on multiple data according to Embodiment 1 of the present invention. Figure 1 As shown, the method includes:

[0057] Step 101: Acquire various vehicle data and environmental data;

[0058] Step 102: Calculate the emotion impact coefficients of various vehicle data respectively;

[0059] Step 103: Calculating a first emotion recognition result based on comprehensive driving impact according to the emotion impact coefficients of the multiple vehicles;

[0060] Step 104: Calculating a second emotion recognition result based on the environmental impact according to the environmental data; and

[0061] Step 105: Calculate the driver's emotion recognition result based on the first emotion recognition result and the second emotion recognition result.

[0062] In some embodiments, the method can be applied to emotion recognition of drivers of various vehicles.

[0063] The vehicle may be various types of vehicles, for example, a car, an electric car, or a hybrid car; for example, a private car, a public bus, a bus, a van, a truck, a motorcycle, a tour bus, etc.; for example, an unmanned car or an automatic driving car, etc.

[0064] In step 101 , various vehicle data and environmental data are acquired.

[0065] In some embodiments, the multiple vehicle data include vehicle speed data, acceleration data, deceleration data, and turn signals, and the environmental data include at least one of temperature data, humidity data, and weather data. However, the types of data included in the multiple vehicle data and the types of data included in the environmental data are not limited thereto and can be adjusted according to actual needs.

[0066] In some embodiments, various vehicle data can be obtained from a server or a vehicle, such as from a car manufacturer's cloud server.

[0067] In some embodiments, the environmental data may be obtained from a server, such as obtaining temperature, humidity, and weather condition information of the area where the vehicle is located from a server of a weather service provider.

[0068] In addition, temperature data and humidity data can also be obtained through temperature sensors and humidity sensors inside the vehicle.

[0069] In step 102 , emotion impact coefficients of various types of vehicle data are calculated respectively.

[0070] In some embodiments, the emotion impact coefficients of multiple vehicle data include emotion impact coefficients based on vehicle speed, emotion impact coefficients based on acceleration and deceleration, emotion impact coefficients based on continuous deceleration, emotion impact coefficients based on continuous acceleration, and emotion impact coefficients based on turning. In this way, the characteristics of various features can be further fully utilized to obtain accurate recognition results.

[0071] The specific method for calculating the above-mentioned emotion impact coefficients is described below.

[0072] In some embodiments, the speed-based emotion impact coefficient can be calculated based on a logarithmic function based on the current speed data of the vehicle and the speed limit data of the road section. In this way, the correlation between the speed data and the emotion can be fully and reasonably utilized, further improving the accuracy of the calculation result.

[0073] In some embodiments, the current speed data of the vehicle can be obtained from a server or the vehicle, and the speed limit data of the road section can be obtained from the navigation software.

[0074] Since the speed is strongly related to psychological fluctuations, drivers will experience tension, happiness, etc. at high speeds, and anger, excitement, etc. when speeding. When the speed exceeds a certain threshold, the impact is a constant value, and the threshold is related to the characteristics of the road section (such as speed limit). The characteristic of the emotion impact coefficient based on vehicle speed is that the impact is 0 when the speed is 0, and it increases rapidly at the beginning as the speed increases. After reaching a certain level, the rate of increase decreases. Therefore, by using a logarithmic function based on the current vehicle speed data and the speed limit data of the road section, this correlation can be well reflected.

[0075] For example, the emotion impact coefficient based on vehicle speed is calculated according to the following formula (1):

[0076] R = log n S (1)

[0077] Among them, R represents the emotion impact coefficient based on vehicle speed, S represents the current vehicle speed, and n represents the speed limit of the current road section.

[0078] For example, when a vehicle is traveling on a road with a speed limit of 40 km / h, the coefficient is 0 when the vehicle speed is 1, and is 1 when the vehicle speed is 40 km / h. When the vehicle speed exceeds 40 km / h, the coefficient is between 1 and 2. Therefore, it can well reflect the relationship between vehicle speed and emotion.

[0079] In some embodiments, considering the situation that the current vehicle speed is less than 1, the above formula (1) can be modified. For example, the emotion impact coefficient based on vehicle speed is calculated according to the following formula (2):

[0080] R=Min(log n (S+1),1) (2)

[0081] Among them, R represents the emotion impact coefficient based on vehicle speed, S represents the current vehicle speed, and n represents the speed limit of the current road section. In this way, the influence of the current vehicle speed less than 1 on the calculation result can be avoided, and the calculation accuracy can be further improved.

[0082] In some embodiments, the calculation process for the emotion impact coefficient based on acceleration and deceleration is as follows.

[0083] For example, the acceleration data includes the opening degree of the accelerator pedal, and the deceleration data includes the opening degree of the brake pedal.

[0084] In some embodiments, the emotion impact coefficient based on acceleration is calculated according to the sigmoid function based on the opening and closing degree of the accelerator pedal; the emotion impact coefficient based on deceleration is calculated according to the sigmoid function based on the opening and closing degree of the brake pedal; and the emotion impact coefficient based on comprehensive acceleration and deceleration is calculated according to the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration. In this way, the emotion impact coefficient based on acceleration or deceleration is calculated according to the sigmoid function based on the opening and closing degree of the accelerator pedal or the decelerator pedal, and the emotion impact coefficient based on comprehensive acceleration and deceleration is further calculated, which can fully and reasonably utilize the relationship between acceleration and deceleration data and emotions, and further improve the accuracy of the calculation results.

[0085] Acceleration and deceleration hazards are the detection of the degree of opening and closing of the accelerator pedal and the brake pedal. Since acceleration is equivalent to the positive direction and deceleration is equivalent to the negative direction, its characteristics are that when the acceleration or deceleration is particularly small, it will hardly have any psychological impact in most cases, and the psychology will fluctuate when it is decelerated or accelerated suddenly. Therefore, the coefficient is calculated when the acceleration and deceleration are within a certain range, and the improvement of the sigmoid function can well reflect the above correlation.

[0086] In some embodiments, considering that the opening and closing degrees of the accelerator pedal and the brake pedal range from 0 to 1, the sigmoid function is improved. For example, the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration can be calculated according to the following formulas (3) and (4), respectively:

[0087]

[0088]

[0089] Among them, E acc represents the emotion impact coefficient based on acceleration, E brake It represents the emotional impact coefficient based on deceleration, and D represents the degree of opening and closing of the accelerator pedal or the brake pedal.

[0090] In some embodiments, the emotion impact coefficient based on the acceleration and the emotion impact coefficient based on the deceleration is calculated, for example, the emotion impact coefficient based on the comprehensive acceleration and deceleration is calculated according to the following formula (5):

[0091]

[0092] Among them, E total represents the emotion impact coefficient based on comprehensive acceleration and deceleration, E acc represents the emotion impact coefficient based on acceleration, E brake Represents the emotion impact coefficient based on deceleration.

[0093] In some embodiments, when the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are both not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on comprehensive acceleration and deceleration; when the current emotion impact coefficient based on acceleration is not zero and the emotion impact coefficient based on deceleration is zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on acceleration; when the current emotion impact coefficient based on acceleration is zero and the emotion impact coefficient based on deceleration is not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on deceleration.

[0094] In this way, the emotion impact coefficient based on comprehensive acceleration and deceleration is determined according to whether the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are zero. The emotion impact coefficient based on comprehensive acceleration and deceleration can be calculated based on actual conditions, further improving the accuracy of the calculation results.

[0095] For example, the emotion impact coefficient based on acceleration and deceleration is calculated according to the following formula (6):

[0096]

[0097] Among them, E accel,t represents the emotion impact coefficient based on acceleration and deceleration at time t, E total represents the emotion impact coefficient based on comprehensive acceleration and deceleration, E acc represents the emotion impact coefficient based on acceleration, E brake Represents the emotion impact coefficient based on deceleration.

[0098] In some embodiments, the emotion impact coefficient based on continuous deceleration is calculated based on the emotion impact coefficient based on deceleration in a preset time period from the current moment; and the emotion impact coefficient based on continuous acceleration is calculated based on the emotion impact coefficient based on acceleration in a preset time period from the current moment. In this way, the emotion impact coefficients based on continuous deceleration and based on continuous acceleration are calculated based on the emotion impact coefficients based on deceleration and acceleration in the recent period, further improving the accuracy of the calculation result.

[0099] The length of the preset time period can be set according to actual needs. For example, the preset time period from the current moment is 5 seconds in the past.

[0100] For example, the emotion impact coefficient based on continuous deceleration is calculated according to the following formula (7):

[0101]

[0102]

[0103] Among them, B represents the emotion impact coefficient based on continuous deceleration, E brake,i-1 and E brake,i They represent the emotion impact coefficient based on deceleration at time i-1 and time i respectively.

[0104] For example, the emotion impact coefficient based on continuous deceleration is calculated according to the following formula (8):

[0105]

[0106]

[0107] Among them, ACC represents the emotion impact coefficient based on continuous acceleration, E acc,i-1 and E acc,i They represent the acceleration-based emotion impact coefficients at time i-1 and time i respectively.

[0108] In some embodiments, the emotion impact coefficient based on steering is calculated based on the steering signal, the emotion impact coefficient based on vehicle speed, and the emotion impact coefficient based on deceleration. In this way, the influence of the steering signal, vehicle speed, and deceleration is comprehensively considered when calculating the coefficient, further improving the accuracy of the calculation result.

[0109] For example, the emotion impact coefficient based on the turn is calculated according to the following formula (9):

[0110]

[0111] Among them, Eme t represents the emotion impact coefficient based on the turn at time t, R t represents the emotion impact coefficient based on vehicle speed at time t, E brake Represents the emotion impact coefficient based on deceleration.

[0112] In step 103, a first emotion recognition result based on comprehensive driving impact is calculated according to the emotion impact coefficients of the multiple vehicles.

[0113] The driving comprehensive impact calculation is to calculate the speed, acceleration, deceleration, steering and other effects and then get the emotion label. Through the calculation of the above-mentioned various emotion impact coefficients, the impact coefficients and frequencies are comprehensively counted to get the emotion.

[0114] For example, sudden braking is generally accompanied by negative emotions (such as fear), and sudden acceleration is often accompanied by positive emotions (such as excitement). However, repeated and frequent braking can also produce negative emotions (such as anger). Frequent small accelerations can also be accompanied by positive emotions (such as happiness). Sharp turns (fast steering) or drifting (fast steering, braking) can produce negative emotions (such as fear, irritability, and anger).

[0115] After the various emotion influence coefficients are calculated in step 102, for example, the first emotion recognition result based on the comprehensive driving influence is calculated according to the following formula (10):

[0116] E ve h icle =R t +E accel,t +B+ACC+Eme t (10)

[0117] Among them, E ve h icle represents the first emotion recognition result based on the comprehensive impact of driving, R t represents the emotion impact coefficient based on vehicle speed at time t, E accel,t represents the emotion impact coefficient based on acceleration and deceleration at time t, B represents the emotion impact coefficient based on continuous deceleration, ACC represents the emotion impact coefficient based on continuous acceleration, and Eme t represents the turn-based emotion impact coefficient at time t.

[0118] In some embodiments, taking into account the mutual influence of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, the calculation can be performed based on the combined item of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration; in addition, taking into account the significant impact of sharp turns (fast steering) or drifting (fast steering, braking) on ​​emotions, the weight of the emotion impact coefficient based on steering can be increased.

[0119] In some embodiments, according to the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration is determined, and the combined term is used to calculate the first emotion recognition result. In this way, the mutual influence of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration can be considered, further improving the accuracy of the calculation result.

[0120] In some embodiments, the emotion impact coefficient based on the turn is assigned a weight greater than 1, and the emotion impact coefficient based on the turn weighted by the weight is used to calculate the first emotion recognition result. In this way, when the emotion impact coefficient based on the turn is not zero, its weight is increased, which can fully consider the influence of the turn and further improve the accuracy of the calculation result.

[0121] For example, the above formula (10) is modified to calculate the first emotion recognition result based on the comprehensive driving impact and the combined term of the emotion impact coefficient based on the vehicle speed and the emotion impact coefficient based on acceleration and deceleration according to the following formulas (11) and (12):

[0122] E vehicle =Emo1+E accel,t +B+ACC+w×Eme t (11)

[0123]

[0124] Among them, E vehicle represents the first emotion recognition result based on the comprehensive driving impact, Emo1 represents the combined item of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, B represents the emotion impact coefficient based on continuous deceleration, ACC represents the emotion impact coefficient based on continuous acceleration, and Eme t represents the emotion impact coefficient based on the turn at time t, w represents the weight of the emotion impact coefficient based on the turn, and w is greater than 1. The specific value of w can be set according to actual needs, for example, w is equal to 4.

[0125] In step 104, a second emotion recognition result based on environmental influence is calculated according to the environmental data.

[0126] In the embodiment of the present invention, the execution order of step 104 and steps 102 - 103 is not limited. For example, step 104 and steps 102 - 103 may be executed simultaneously or sequentially.

[0127] In some embodiments, the second emotion recognition result is calculated based on the comparison result of the current temperature and the first threshold, the comparison result of the current humidity and the second threshold, and whether the current weather is a preset type of weather. In this way, the influence of temperature, humidity and specific weather on emotions can be fully considered, further improving the accuracy of the calculation results.

[0128] The preset types of weather can be set according to actual needs, including, for example, sunny, snowy, and rainy.

[0129] For example, the second emotion recognition result based on environmental influence is calculated according to the following formula (13):

[0130]

[0131] Among them, E weather Indicates the second emotion recognition result based on environmental influence, T represents temperature, H represents humidity, sunny represents that the current weather is sunny, snow represents that the current weather is snowing, and rainy represents that the current weather is raining.

[0132] In step 105, the driver's emotion recognition result is calculated according to the first emotion recognition result and the second emotion recognition result.

[0133] In some embodiments, when the absolute value of the first emotion recognition result is greater than 1, the emotion recognition result of the driver is the first emotion recognition result; when the absolute value of the first emotion recognition result is less than or equal to 1, the emotion recognition result of the driver is the sum of a logarithmic function with the first emotion recognition result as the base and the second emotion recognition result as the true number and the first emotion recognition result. In this way, the correlation between the first emotion recognition result based on the comprehensive impact of driving and the second emotion recognition result based on the impact of the environment can be fully considered, further improving the accuracy of the calculation results.

[0134] For example, the driver's emotion recognition result is calculated according to the following formula (14):

[0135]

[0136] Among them, Emo t represents the emotion recognition result of the driver at time t, E vehicle represents the first emotion recognition result based on the comprehensive impact of driving, E weather Represents the second emotion recognition result based on environmental influence.

[0137] In some embodiments, the calculated driver's emotion recognition result has a preset corresponding relationship with the specific emotion type.

[0138] For example, when the calculated result of the driver's emotion recognition is a positive number, it indicates a positive emotion, such as excitement, happiness, and comfort from high to low positivity; when the calculated result of the driver's emotion recognition is a negative number, it indicates a negative emotion, such as anger, fear, and sadness from high to low negativity, wherein the larger the absolute value of the calculated result of the driver's emotion recognition, the deeper the degree of positivity or negativity.

[0139] For example, the calculated driver's emotion recognition result ranges from -1 to 1, wherein when the calculated driver's emotion recognition result is 0.5, it indicates that the emotion is comfortable; when the calculated driver's emotion recognition result is -0.5, it indicates that the emotion is sad; when the calculated driver's emotion recognition result is 1, it indicates that the emotion is excited; and when the calculated driver's emotion recognition result is -1, it indicates that the emotion is angry.

[0140] It can be seen from the above embodiments that by respectively calculating the emotion impact coefficients of multiple vehicle data, accurate calculation results can be obtained according to the respective characteristics of the multiple vehicle data; and, by calculating the first emotion recognition result based on the comprehensive driving impact according to the emotion impact coefficients of multiple vehicles, it is possible to obtain a recognition result that takes into account the comprehensive driving impact based on the characteristics of various vehicle data; and, based on the recognition result based on the comprehensive driving impact and the recognition result based on human comfort calculated according to the environmental data, the final emotion recognition result is calculated, and on the basis of the comprehensive driving impact, the influence of environmental factors on emotions is further considered, so that an emotion recognition result that conforms to the actual situation can be obtained and is suitable for various scenarios.

[0141] Furthermore, the multiple vehicle data include vehicle speed data, acceleration data, deceleration data and turning signals, the environmental data include at least one of temperature data, humidity data and weather data, and the emotion impact coefficients of the multiple vehicle data include an emotion impact coefficient based on vehicle speed, an emotion impact coefficient based on acceleration and deceleration, an emotion impact coefficient based on continuous deceleration, an emotion impact coefficient based on continuous acceleration and an emotion impact coefficient based on turning. In this way, the characteristics of various features can be further fully utilized to obtain accurate recognition results.

[0142] Furthermore, the emotion impact coefficient based on the vehicle speed is calculated according to a logarithmic function based on the vehicle's current speed data and the speed limit data of the road section, which can fully and reasonably utilize the correlation between the speed data and the emotion, and further improve the accuracy of the calculation result.

[0143] Furthermore, the emotion impact coefficient based on acceleration or deceleration is calculated according to the sigmoid function based on the opening and closing degree of the accelerator pedal or the decelerator pedal, and the emotion impact coefficient based on the comprehensive acceleration and deceleration is further calculated. This can fully and reasonably utilize the relationship between acceleration, deceleration data and emotions, and further improve the accuracy of the calculation results.

[0144] Furthermore, the emotion impact coefficient based on comprehensive acceleration and deceleration is determined according to whether the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are zero. The emotion impact coefficient based on comprehensive acceleration and deceleration can be calculated based on actual conditions, further improving the accuracy of the calculation results.

[0145] Furthermore, the emotion impact coefficients based on continuous deceleration and based on continuous acceleration are calculated according to the emotion impact coefficients based on deceleration and based on acceleration in a recent period of time, so as to further improve the accuracy of the calculation result.

[0146] Furthermore, the emotion impact coefficient based on steering is calculated according to the steering signal, the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on deceleration. When calculating the coefficient, the influence of the steering signal as well as the vehicle speed and deceleration is comprehensively considered, thereby further improving the accuracy of the calculation result.

[0147] Furthermore, based on the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration is determined, and the combined term is used to calculate the first emotion recognition result. This can take into account the mutual influence of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, thereby further improving the accuracy of the calculation results.

[0148] Furthermore, a weight greater than 1 is assigned to the turning-based emotion impact coefficient, and the turning-based emotion impact coefficient weighted by the weight is used to calculate the first emotion recognition result. When the turning-based emotion impact coefficient is not zero, its weight is increased, which can fully consider the impact of the turning and further improve the accuracy of the calculation result.

[0149] Furthermore, based on the comparison results of the current temperature and the first threshold, the comparison results of the current humidity and the second threshold, and whether the current weather is a preset type of weather, the second emotion recognition result is calculated, which can fully consider the impact of temperature, humidity and specific weather on emotions, thereby further improving the accuracy of the calculation results.

[0150] Furthermore, when the absolute value of the first emotion recognition result based on the comprehensive impact of driving is greater than 1, the driver's emotion recognition result is the first emotion recognition result; when the absolute value of the first emotion recognition result is less than or equal to 1, the driver's emotion recognition result is the sum of a logarithmic function with the first emotion result as the base and the second emotion recognition result based on environmental impact as the true number and the first emotion recognition result. In this way, the correlation between the first emotion recognition result based on the comprehensive impact of driving and the second emotion recognition result based on environmental impact can be fully considered, thereby further improving the accuracy of the calculation results.

[0151] Example 2

[0152] Embodiment 2 of the present invention provides a driver emotion recognition device based on multiple data, which corresponds to the driver emotion recognition method based on multiple data described in Embodiment 1. For specific contents, please refer to the description in Embodiment 1, and repeated contents will not be described in detail.

[0153] Figure 2 FIG. 2 is a schematic diagram of a driver emotion recognition device based on multiple data according to Embodiment 2 of the present invention. Figure 2 As shown, the driver emotion recognition device 200 based on multiple data includes:

[0154] An acquisition unit 201, which acquires various vehicle data and environmental data;

[0155] A first calculation unit 202, which calculates emotion impact coefficients of various vehicle data respectively;

[0156] A second calculation unit 203 calculates a first emotion recognition result based on a comprehensive driving impact according to the emotion impact coefficients of the multiple vehicles;

[0157] A third calculation unit 204, which calculates a second emotion recognition result based on the environmental impact according to the environmental data; and

[0158] The fourth calculation unit 205 calculates the driver's emotion recognition result according to the first emotion recognition result and the second emotion recognition result.

[0159] In some embodiments, the plurality of vehicle data includes vehicle speed data, acceleration data, deceleration data, and turn signals.

[0160] The environmental data includes at least one of temperature data, humidity data and weather data.

[0161] The emotion impact coefficients of the various vehicle data include an emotion impact coefficient based on vehicle speed, an emotion impact coefficient based on acceleration and deceleration, an emotion impact coefficient based on continuous deceleration, an emotion impact coefficient based on continuous acceleration, and an emotion impact coefficient based on turning.

[0162] Figure 3 It is a schematic diagram of the first computing unit of embodiment 2 of the present invention.

[0163] like Figure 3 As shown, the first computing unit 202 includes:

[0164] The first calculation module 301 calculates the emotion impact coefficient based on the vehicle speed according to a logarithmic function based on the current vehicle speed data and the speed limit data of the road section.

[0165] In some embodiments, the acceleration data includes the opening and closing degree of the accelerator pedal, and the deceleration data includes the opening and closing degree of the brake pedal.

[0166] like Figure 3 As shown, the first computing unit 202 also includes:

[0167] The second calculation module 302 calculates the emotion impact coefficient based on acceleration according to the sigmoid function based on the opening and closing degree of the accelerator pedal; calculates the emotion impact coefficient based on deceleration according to the sigmoid function based on the opening and closing degree of the brake pedal; and calculates the emotion impact coefficient based on comprehensive acceleration and deceleration according to the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration.

[0168] Among them, when the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are both not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on comprehensive acceleration and deceleration; when the current emotion impact coefficient based on acceleration is not zero and the emotion impact coefficient based on deceleration is zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on acceleration; when the current emotion impact coefficient based on acceleration is zero and the emotion impact coefficient based on deceleration is not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on deceleration.

[0169] like Figure 3 As shown, the first computing unit 202 also includes:

[0170] A third calculation module 303, which calculates the emotion impact coefficient based on continuous deceleration according to the emotion impact coefficient based on deceleration within a preset time period from the current moment;

[0171] A fourth calculation module 304, which calculates the emotion impact coefficient based on continuous acceleration according to the emotion impact coefficient based on acceleration within a preset time period from the current moment; and

[0172] The fifth calculation module 305 calculates the emotion impact coefficient based on turning according to the turning signal, the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on deceleration.

[0173] In some embodiments, the second calculation unit 203 determines a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration according to the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, and uses the combined term to calculate the first emotion recognition result.

[0174] In some embodiments, the second calculation unit 203 assigns a weight greater than 1 to the turning-based emotion impact coefficient, and uses the turning-based emotion impact coefficient weighted by the weight to calculate the first emotion recognition result.

[0175] In some embodiments, the third calculation unit 204 calculates the second emotion recognition result according to the comparison result between the current temperature and the first threshold, the comparison result between the current humidity and the second threshold, and whether the current weather is a preset type of weather.

[0176] In some embodiments, when the absolute value of the first emotion recognition result is greater than 1, the driver's emotion recognition result is the first emotion recognition result; when the absolute value of the first emotion recognition result is less than or equal to 1, the driver's emotion recognition result is the sum of a logarithmic function with the first emotion recognition result as the base and the second emotion recognition result as the true number and the first emotion recognition result.

[0177] Figure 4 FIG. 2 is a schematic diagram of data processing of a driver emotion recognition device based on multiple data according to Embodiment 2 of the present invention. Figure 4 As shown, the emotion impact coefficient based on vehicle speed is calculated according to the vehicle speed data, the emotion impact coefficient based on acceleration and deceleration is calculated according to the acceleration data and the deceleration data, the emotion impact coefficient based on continuous deceleration is calculated according to the emotion impact coefficient based on deceleration, and the emotion impact coefficient based on continuous acceleration is calculated according to the emotion impact coefficient based on acceleration. In addition, the emotion impact coefficient based on steering is calculated according to the turning signal, the emotion impact coefficient based on vehicle speed, and the emotion impact coefficient based on deceleration; then, the first emotion recognition result based on the comprehensive driving impact is calculated according to these emotion impact coefficients. In addition, the second emotion recognition result based on the environmental impact is calculated according to the temperature, humidity and weather in the environmental data. Finally, the driver's emotion recognition result is calculated according to the first emotion recognition result and the second emotion recognition result.

[0178] It can be seen from the above embodiments that by respectively calculating the emotion impact coefficients of multiple vehicle data, accurate calculation results can be obtained according to the respective characteristics of the multiple vehicle data; and, by calculating the first emotion recognition result based on the comprehensive driving impact according to the emotion impact coefficients of multiple vehicles, it is possible to obtain a recognition result that takes into account the comprehensive driving impact based on the characteristics of various vehicle data; and, based on the recognition result based on the comprehensive driving impact and the recognition result based on human comfort calculated according to the environmental data, the final emotion recognition result is calculated, and on the basis of the comprehensive driving impact, the influence of environmental factors on emotions is further considered, so that an emotion recognition result that conforms to the actual situation can be obtained and is suitable for various scenarios.

[0179] Example 3

[0180] Embodiment 3 of the present invention provides an electronic device, which includes the driver emotion recognition device based on multiple data as described in Embodiment 2. For specific contents, please refer to the description in Embodiment 2, and repeated contents will not be described in detail.

[0181] In some embodiments, the electronic device may be arranged in a server, for example, in a cloud server; or, may be arranged in a vehicle, for example, in a vehicle-mounted terminal.

[0182] Figure 5 is a schematic diagram of an electronic device according to Embodiment 3 of the present invention. Figure 5 As shown, the electronic device 500 includes a driver emotion recognition device 200 based on a variety of data.

[0183] Figure 6 FIG. 1 is a schematic block diagram of the system structure of the electronic device according to the third embodiment of the present invention. Figure 6 As shown, the electronic device 500 may include a processor 510 and a memory 520; the memory 520 is coupled to the processor 510. It should be noted that this figure is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0184] In one embodiment, the processor 510 can be configured to: obtain multiple vehicle data and environmental data; calculate the emotion impact coefficients of the multiple vehicle data respectively; calculate a first emotion recognition result based on the comprehensive driving impact based on the emotion impact coefficients of the multiple vehicles; calculate a second emotion recognition result based on the environmental impact based on the environmental data; and calculate the driver's emotion recognition result based on the first emotion recognition result and the second emotion recognition result.

[0185] like Figure 6 As shown, the electronic device 500 may further include: a communication module 530, an input unit 540, a display 550, and a power supply 560. It is worth noting that the electronic device 500 does not necessarily have to include Figure 6 In addition, the electronic device 500 may also include Figure 6 For components not shown in the figure, reference may be made to the related art.

[0186] like Figure 6 As shown, the processor 510 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The processor 510 receives inputs and controls the operations of various components of the electronic device 500 .

[0187] The memory 520 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. Various data may be stored, and programs for executing related information may also be stored. The processor 510 may execute the program stored in the memory 520 to implement information storage or processing, etc. The functions of other components are similar to those of the prior art and will not be described in detail herein. The components of the electronic device 500 may be implemented by dedicated hardware, firmware, software or a combination thereof without departing from the scope of the present invention.

[0188] It can be seen from the above embodiments that by respectively calculating the emotion impact coefficients of multiple vehicle data, accurate calculation results can be obtained according to the respective characteristics of the multiple vehicle data; and, by calculating the first emotion recognition result based on the comprehensive driving impact according to the emotion impact coefficients of multiple vehicles, it is possible to obtain a recognition result that takes into account the comprehensive driving impact based on the characteristics of various vehicle data; and, based on the recognition result based on the comprehensive driving impact and the recognition result based on human comfort calculated according to the environmental data, the final emotion recognition result is calculated, and on the basis of the comprehensive driving impact, the influence of environmental factors on emotions is further considered, so that an emotion recognition result that conforms to the actual situation can be obtained and is suitable for various scenarios.

[0189] The above detailed description of the embodiments of the present invention with reference to the accompanying drawings indicates the manner in which the principles of the present invention can be adopted. However, it should be understood that the implementation of the present invention is not limited to the above embodiments, but also includes all changes, modifications and equivalents that do not depart from the scope of the present invention.

Claims

1. A driver emotion recognition method based on multiple data, characterized in that: The method comprises: Acquire various vehicle data and environmental data; Calculate the emotional impact coefficients of various vehicle data separately; Calculating a first emotion recognition result based on comprehensive driving impact according to the emotion impact coefficients of the multiple vehicles; Calculating a second emotion recognition result based on the environmental impact according to the environmental data; and The driver's emotion recognition result is calculated according to the first emotion recognition result and the second emotion recognition result.

2. The method according to claim 1, characterized in that The various vehicle data include vehicle speed data, acceleration data, deceleration data and turn signals, The environmental data includes at least one of temperature data, humidity data and weather data. The emotion impact coefficients of the various vehicle data include an emotion impact coefficient based on vehicle speed, an emotion impact coefficient based on acceleration and deceleration, an emotion impact coefficient based on continuous deceleration, an emotion impact coefficient based on continuous acceleration, and an emotion impact coefficient based on turning.

3. The method according to claim 2, characterized in that The speed-based emotion impact coefficient is calculated according to a logarithmic function based on the current vehicle speed data and the speed limit data of the road section.

4. The method according to claim 2, characterized in that: The acceleration data includes the opening and closing degree of the accelerator pedal, and the deceleration data includes the opening and closing degree of the brake pedal, wherein: Calculating an acceleration-based emotion impact coefficient according to a sigmoid function based on the opening and closing degree of the accelerator pedal; Calculating an emotion impact coefficient based on deceleration according to a sigmoid function based on the opening and closing degree of the brake pedal; and The emotion impact coefficient based on comprehensive acceleration and deceleration is calculated according to the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration.

5. The method according to claim 4, characterized in that When the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are both not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on comprehensive acceleration and deceleration; When the current emotion impact coefficient based on acceleration is not zero and the emotion impact coefficient based on deceleration is zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on acceleration; When the current emotion impact coefficient based on acceleration is zero and the emotion impact coefficient based on deceleration is not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on deceleration.

6. The method according to claim 4, characterized in that Calculating the emotion impact coefficient based on continuous deceleration according to the emotion impact coefficient based on deceleration within a preset time period from the current moment; as well as The emotion impact coefficient based on continuous acceleration is calculated according to the emotion impact coefficient based on acceleration within a preset time period from the current moment.

7. The method according to claim 4, characterized in that The emotion impact coefficient based on turning is calculated according to the turning signal, the emotion impact coefficient based on vehicle speed, and the emotion impact coefficient based on deceleration.

8. The method according to claim 2, characterized in that: The calculating, according to the emotion impact coefficients of the multiple vehicles, a first emotion recognition result based on the comprehensive driving impact comprises: According to the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration is determined, and the combined term is used to calculate the first emotion recognition result.

9. The method according to claim 2, characterized in that: The calculating, according to the emotion impact coefficients of the multiple vehicles, a first emotion recognition result based on the comprehensive driving impact comprises: A weight greater than 1 is assigned to the turning-based emotion impact coefficient, and the turning-based emotion impact coefficient weighted by the weight is used to calculate the first emotion recognition result.

10. The method according to claim 2, characterized in that The calculating, according to the environmental data, a second emotion recognition result based on environmental influence includes: The second emotion recognition result is calculated according to the comparison result between the current temperature and the first threshold, the comparison result between the current humidity and the second threshold, and whether the current weather is a preset type of weather.

11. The method according to claim 1, characterized in that: The calculating the driver's emotion recognition result according to the first emotion recognition result and the second emotion recognition result includes: When the absolute value of the first emotion recognition result is greater than 1, the emotion recognition result of the driver is the first emotion recognition result; When the absolute value of the first emotion recognition result is less than or equal to 1, the driver's emotion recognition result is the sum of a logarithmic function having the first emotion recognition result as a base and the second emotion recognition result as a true number and the first emotion recognition result.

12. A driver emotion recognition device based on multiple data, characterized in that: The device comprises: an acquisition unit, which acquires various vehicle data and environmental data; A first calculation unit, which calculates emotion impact coefficients of various vehicle data respectively; a second calculation unit, which calculates a first emotion recognition result based on a comprehensive driving impact according to the emotion impact coefficients of the plurality of vehicles; A third calculation unit, which calculates a second emotion recognition result based on the environmental impact according to the environmental data; and A fourth calculation unit calculates an emotion recognition result of the driver according to the first emotion recognition result and the second emotion recognition result.

13. The device according to claim 12, characterized in that The various vehicle data include vehicle speed data, acceleration data, deceleration data and turn signals, The environmental data includes at least one of temperature data, humidity data and weather data. The emotion impact coefficients of the various vehicle data include an emotion impact coefficient based on vehicle speed, an emotion impact coefficient based on acceleration and deceleration, an emotion impact coefficient based on continuous deceleration, an emotion impact coefficient based on continuous acceleration, and an emotion impact coefficient based on turning.

14. The device according to claim 13, characterized in that The first computing unit comprises: The first calculation module calculates the emotion impact coefficient based on the vehicle speed according to a logarithmic function based on the current vehicle speed data and the speed limit data of the road section.

15. The device according to claim 13, characterized in that The acceleration data includes the opening and closing degree of the accelerator pedal, and the deceleration data includes the opening and closing degree of the brake pedal. The first computing unit comprises: The second calculation module calculates the emotion impact coefficient based on acceleration according to the sigmoid function based on the opening and closing degree of the accelerator pedal; calculates the emotion impact coefficient based on deceleration according to the sigmoid function based on the opening and closing degree of the brake pedal; and calculates the emotion impact coefficient based on comprehensive acceleration and deceleration according to the emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration. Among them, when the current emotion impact coefficient based on acceleration and the emotion impact coefficient based on deceleration are both not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on comprehensive acceleration and deceleration; when the current emotion impact coefficient based on acceleration is not zero and the emotion impact coefficient based on deceleration is zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on acceleration; when the current emotion impact coefficient based on acceleration is zero and the emotion impact coefficient based on deceleration is not zero, the emotion impact coefficient based on acceleration and deceleration is the emotion impact coefficient based on deceleration.

16. The device according to claim 15, characterized in that The first computing unit comprises: A third calculation module, which calculates the emotion impact coefficient based on continuous deceleration according to the emotion impact coefficient based on deceleration within a preset time period from the current moment; a fourth calculation module, which calculates the emotion impact coefficient based on continuous acceleration according to the emotion impact coefficient based on acceleration within a preset time period from the current moment; and A fifth calculation module calculates the emotion impact coefficient based on turning according to the turning signal, the emotion impact coefficient based on vehicle speed, and the emotion impact coefficient based on deceleration.

17. The device according to claim 13, characterized in that The second calculation unit determines a combined term of the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration according to the absolute value of the difference between the emotion impact coefficient based on vehicle speed and the emotion impact coefficient based on acceleration and deceleration, and uses the combined term to calculate the first emotion recognition result.

18. The device according to claim 13, characterized in that The second calculation unit assigns a weight greater than 1 to the turning-based emotion impact coefficient, and uses the turning-based emotion impact coefficient weighted by the weight to calculate the first emotion recognition result.

19. The device according to claim 13, characterized in that The third calculation unit calculates the second emotion recognition result according to the comparison result between the current temperature and the first threshold, the comparison result between the current humidity and the second threshold, and whether the current weather is a preset type of weather.

20. The device according to claim 12, characterized in that When the absolute value of the first emotion recognition result is greater than 1, the emotion recognition result of the driver is the first emotion recognition result; When the absolute value of the first emotion recognition result is less than or equal to 1, the driver's emotion recognition result is the sum of a logarithmic function having the first emotion recognition result as a base and the second emotion recognition result as a true number and the first emotion recognition result.