Vehicle-mounted sound effect regulation and control method and device, related equipment and vehicle
By obtaining the emotional state data of users in the car and adjusting the sound effects, it solves the problem of the inability of traditional car audio systems to dynamically adjust the sound effects, and improves the comfort of the users in the car and the coordination of the atmosphere in the car.
Patent Information
- Application Number
- CN202411070735.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-29
AI Technical Summary
Traditional car audio systems cannot dynamically adjust the sound effects according to the emotional changes of the users in the car, resulting in a reduction in the overall comfort of the users in the car.
By obtaining the emotional state data of the user in the car, the dominant emotional state is determined according to the preconfigured emotional decision-making strategy, and the sound effect adjustment method is matched according to the state, including pitch, equalizer parameters and rhythm adjustment, to dynamically adjust the in-vehicle sound effects.
It improves the overall comfort of users in the car, especially in multi-user scenarios, it can comprehensively consider the emotional needs of multiple users and promote a positive and harmonious in-car atmosphere.
Smart Images

Figure CN118870261A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and more specifically, to a vehicle-mounted sound control method, device, related equipment, vehicle and computer program product. Background Art
[0002] With the development of smart cars, in-car entertainment and comfort have become increasingly important considerations. Traditional in-car audio systems mainly focus on providing high-quality sound effects, but lack personalized consideration of the emotions of in-car users. They cannot dynamically adjust the sound effects according to the emotional changes of in-car users, thus reducing the overall comfort of in-car users. Summary of the invention
[0003] In view of the above problems, this application is proposed to provide a method, device, related equipment, vehicle and computer program product for controlling in-vehicle sound effects, so as to dynamically adjust the in-vehicle sound effects according to the emotions of the in-vehicle users and improve the overall comfort of the in-vehicle users. The specific scheme is as follows:
[0004] In a first aspect, a method for controlling vehicle sound effects is provided, comprising:
[0005] Obtain emotional status data of each user in the car;
[0006] Processing the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the vehicle;
[0007] Determining a sound effect adjustment method that matches the dominant emotional state, wherein the sound effect adjustment method satisfies the sound effect requirements of the dominant emotional state;
[0008] The sound effect adjustment method is executed to control the speaker to output the adjusted content.
[0009] In one possible design, in another implementation of the first aspect of the embodiment of the present application, the process of processing the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the car includes:
[0010] Based on the emotional state data of each user, determining whether there is a first user in a negative emotional state;
[0011] If so, the dominant emotional state in the vehicle is determined based on the emotional state data of each of the first users.
[0012] In a possible design, in another implementation of the first aspect of the embodiments of the present application, the emotional state data includes an emotional state category and a quantitative score thereof;
[0013] Then, based on the emotional state data of each user, the process of determining whether there is a first user with a negative emotional state includes:
[0014] According to the emotional state category of each user, determining whether there is a first user with a negative emotional state;
[0015] The process of determining the dominant emotional state in the vehicle based on the emotional state data of each of the first users includes:
[0016] Combining the emotional quantitative scores of the first users to obtain a quantitative total score;
[0017] An emotional state category corresponding to the quantified total score is determined as the dominant emotional state in the vehicle.
[0018] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the process of fusing the emotion quantization scores of the first users to obtain the quantized total score includes:
[0019] The emotion quantization scores of the first users are weighted and summed to obtain a total quantization score, wherein the weight of each user is related to the identity of the user.
[0020] In a possible design, in another implementation of the first aspect of the embodiment of the present application, each emotional state category corresponds to a quantitative scoring interval, and the quantitative scoring intervals corresponding to different emotional state categories do not overlap;
[0021] Then, the process of determining the emotional state category corresponding to the quantified total score as the dominant emotional state in the vehicle includes:
[0022] A target quantitative score interval to which the quantitative total score belongs is determined, and an emotion category corresponding to the target quantitative score interval is used as a dominant emotion state in the vehicle.
[0023] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the method further includes:
[0024] If there is no first user with a negative emotional state in the car, the emotional quantitative scores of each user in the car are integrated to obtain a quantitative total score;
[0025] An emotional state category corresponding to the quantified total score is determined as the dominant emotional state in the vehicle.
[0026] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the process of determining the sound effect adjustment method matching the dominant emotional state includes:
[0027] A preconfigured first correspondence is queried to determine a sound effect adjustment method corresponding to the dominant emotional state, wherein the first correspondence includes a matching correspondence between each type of dominant emotional state and the sound effect adjustment method.
[0028] In one possible design, in another implementation of the first aspect of the embodiment of the present application, the sound effect adjustment method includes at least one of the following: a pitch adjustment method, an equalizer parameter adjustment method, and a rhythm adjustment method.
[0029] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the process of obtaining the emotional state data of each user in the vehicle includes:
[0030] Acquire visual data of each user in the vehicle collected by an in-vehicle camera, and / or acquire physiological data of each user in the vehicle collected by a physiological sensor;
[0031] Analyze the visual data to obtain emotional state data of each user; and / or analyze the physiological data to obtain emotional state data of each user.
[0032] In a second aspect, a vehicle-mounted sound effect control device is provided, comprising:
[0033] An emotional state data acquisition unit, used to acquire emotional state data of each user in the vehicle;
[0034] a dominant emotional state determination unit, for processing the emotional state data of each user according to a configured emotional decision strategy to determine the dominant emotional state in the vehicle;
[0035] A sound effect adjustment mode determining unit, used to determine a sound effect adjustment mode that matches the dominant emotional state, wherein the sound effect adjustment mode satisfies the sound effect requirements of the dominant emotional state;
[0036] The sound effect execution unit is used to execute the sound effect adjustment method to control the speaker to output the adjusted content.
[0037] In a third aspect, an electronic device is provided, comprising: a memory and a processor;
[0038] The memory is used to store programs;
[0039] The processor is used to execute the program to implement the vehicle-mounted sound effect control method described in any one of the first aspects of the present application.
[0040] In a fourth aspect, a vehicle is provided, comprising the electronic device described in the third aspect.
[0041] In a fifth aspect, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vehicle-mounted sound effect control method described in any one of the first aspects of the present application is implemented.
[0042] In a sixth aspect, a computer program product is provided, including a computer program, which, when executed by a processor, implements the vehicle-mounted sound effect control method described in any one of the aforementioned first aspects of the present application.
[0043] By means of the above technical scheme, the present application actively obtains the emotional state data of each user in the car (such as the driver and each passenger) for the in-car scene, and then processes the emotional state data of each user according to the pre-configured emotional decision strategy, so as to determine the dominant emotional state in the current car. The dominant emotional state can be understood as the dominant emotion in the car. Guided by the dominant emotional state, the sound effect adjustment method matching it is determined, and the sound effect adjustment method can meet the demand for sound effects of the dominant emotional state. For example, if the dominant emotional state is happy, the sound effect adjustment method can be to increase the pitch, rhythm, etc. to create an exciting and active auditory experience. For another example, if the dominant emotional state is angry, the pitch and balance parameters can be reduced to reduce the intensity and aggressiveness of the music, so that people feel calmer, effectively block or reduce the spread of such negative emotions, and promote a positive and harmonious in-car atmosphere. After determining the sound effect adjustment method, the sound effect adjustment method can be executed to control the speaker to output the adjusted content. Obviously, the present application scheme takes into account the personalized emotional needs of users in the car, and can dynamically adjust the car sound effects to improve the overall comfort of users in the car.
[0044] Furthermore, in this embodiment, the emotional state of individual users in the car (such as only the driver) is not considered separately, but the emotional needs of all users in the car are comprehensively considered to determine the dominant emotional state in the car, which can take care of the emotional needs of multiple users in the car to the greatest extent and promote the coordination of the overall atmosphere in the car. Especially for the scenario of multiple users in the car, the effect of adopting this application solution is particularly prominent. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0046] Figure 1 A schematic diagram of a system architecture for implementing the vehicle sound effect control method provided in an embodiment of the present application;
[0047] Figure 2A schematic diagram of a process of a vehicle sound effect control method provided in an embodiment of the present application;
[0048] Figure 3 A schematic diagram of the structure of a vehicle-mounted sound effect control device provided in an embodiment of the present application;
[0049] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] This application provides a method for controlling vehicle sound effects, which can be applied to Figure 1 The system architecture shown may include an in-vehicle speaker system, an amplifier, a vehicle computer system, sensors, and a server (optional).
[0052] Among them, the in-car speaker system is used to play sound signals.
[0053] A power amplifier is an audio power amplifier that can select and pre-process input audio signals and amplify the power of audio signals.
[0054] The vehicle system is the central controller of the vehicle, responsible for the coordination of various tasks, data calculation and processing, etc. In this embodiment, the vehicle system can be responsible for processing the user's emotional state data, determining the dominant emotional state, determining the matching sound effect adjustment method, and other tasks.
[0055] The sensor may include one or more types, and may include visual sensors, physiological sensors, etc. For example, the visual sensor may include an in-car camera, which can collect images of each user in the car, such as face images, torso images, etc. Physiological sensors include but are not limited to: heart rate monitors, skin electrical sensors, etc., which can collect the user's physiological data to assist in confirming the user's emotional state data.
[0056] The server can be a remote device connected to the vehicle system. In this application, the server is optional. When the vehicle sound control system does not include a server, the vehicle sound control method can be implemented by the vehicle system. When the vehicle sound control system includes a server, the server can cooperate with the vehicle system to complete the vehicle sound control method.
[0057] Traditional car audio systems on the market generally focus on how to provide users with higher quality sound effects, such as improving the quality of speakers. Or, voice control mode is provided to support users to issue voice commands to adjust the sound effects. For example, users can issue a voice command: "Please increase the current volume." These functions facilitate the use of car users to a certain extent.
[0058] However, the current in-car audio system lacks personalized consideration for the emotions of in-car users, that is, it is unable to dynamically and autonomously adjust the in-car sound effects according to the emotional changes of in-car users to match the current emotional needs of users. For example, when the user is in a low mood, the pitch and rhythm can be appropriately lowered to reduce the intensity and aggressiveness of the music, making people feel calmer, and effectively blocking or reducing the spread of such negative emotions.
[0059] In view of the above problems, the present application provides a dynamic control scheme for in-vehicle sound effects based on user emotions, which can dynamically adjust the sound effects according to the emotional changes of the users in the car, thereby improving the overall comfort of the users in the car. It should be noted that the present application scheme is particularly suitable for in-vehicle multi-user scenarios, that is, scenarios where the car contains more than two users. It can comprehensively consider the emotions of multiple users in the car, determine the dominant emotional state in the car, and based on this, give and execute a matching sound effect adjustment method. Of course, this does not limit the present application scheme to only be applicable to in-vehicle multi-user scenarios. For in-vehicle single-user scenarios, the in-vehicle sound effect control method provided in the embodiments of the present application can still be used.
[0060] Before introducing the in-vehicle sound effect control method of the present application, it is first explained that the "in-vehicle users" referred to in the present application are generally users inside the vehicle cabin, which may include the driver and passengers in various cabin seats.
[0061] The present invention provides a method for controlling vehicle sound effects. Figure 1 Taking the computer device in the example as an example, the computer device can be Figure 1 The vehicle computer system or the system consisting of the vehicle computer system and the server. Figure 2 The vehicle-mounted sound effect control method specifically includes the following steps:
[0062] Step S100: Acquire emotional state data of each user in the car.
[0063] The emotional state data represents the emotional state of the user, and the emotional state data may refer to emotional state categories, such as happy, sad, angry, neutral, and the like.
[0064] In some other optional implementations, the emotional state data may further include a quantitative score of the emotional state category. For example, for the emotional state of sadness, the score range may be from -1 to -5, with -1 representing mild sadness and -5 representing extreme sadness. For another example, for the emotional state of anger, the score range may be from -6 to -10, with -6 representing mild anger and -10 representing extreme anger. By adding the quantitative score of the emotional state category, the user's current true emotion can be more accurately assessed.
[0065] In this application, the emotion categories can be divided into negative emotion categories and non-negative emotion categories. Negative emotion categories refer to a series of unpleasant, negative or stressful emotional reactions experienced by individuals when facing specific situations or events, including but not limited to: anger, sadness, anxiety, disappointment, guilt and other emotion categories. Non-negative emotion categories can be further divided into neutral emotion categories and positive emotion categories.
[0066] Neutral emotions refer to an emotional state that is neither positive nor negative. Such emotions often appear in daily life, such as calmness and neutrality. The characteristics of neutral emotions are that they do not carry obvious emotional colors, neither triggering strong pleasure nor causing obvious pain or dissatisfaction.
[0067] Positive emotion type refers to a person's positive emotional state, which can bring pleasure, satisfaction and happiness, including but not limited to: happiness, optimism, self-confidence, relaxation and other emotional categories.
[0068] In this step, a variety of technologies can be used to obtain the emotional state data of each user in the car. Exemplarily, data collected by sensors in the car can be obtained, and the emotional state data of each user can be analyzed based on the sensor data.
[0069] When the sensor includes a visual sensor such as an in-car camera, the visual data of each user in the car collected by the in-car camera can be obtained, and then the visual data can be analyzed to obtain the emotional state data of each user.
[0070] When the sensor includes a physiological sensor (eg, a heart rate monitor, a skin electrical sensor, etc.), the physiological data of each user in the car collected by the physiological sensor can be obtained, and then the physiological data can be analyzed to obtain the emotional state data of each user.
[0071] The above-mentioned example of data collection and analysis using visual sensors and physiological sensors can be used alone or in combination to jointly determine the user's emotional state data.
[0072] For the process of analyzing visual data to determine the user's emotional state data, image processing algorithms such as facial expression recognition algorithms and body movement recognition algorithms can be used. Exemplarily, a visual emotion recognition model can be pre-trained, and during training, the visual data collected from the user is used as a sample, and the user's real emotional state data is used as a sample label. Based on the trained visual emotion recognition model, the collected visual data of the current user is sent to the visual emotion recognition model to obtain the emotional state data of the current user output by the model.
[0073] For the process of analyzing physiological data to determine the user's emotional state data, a physiological emotion recognition model can also be pre-trained, with the physiological data collected from the user as samples and the user's real emotional state data as sample labels. Based on the trained physiological emotion recognition model, the collected physiological data of the current user is sent to the physiological emotion recognition model to obtain the emotional state data of the current user output by the model.
[0074] In addition, this embodiment can also receive emotional state data of each user in the car transmitted by other functional modules, for example, obtaining user emotional state data actively sent by the wearable device of each user in the car (or the server of the wearable device), and the user emotional state data is obtained by detection and analysis of the wearable device.
[0075] Step S110: Process the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the vehicle.
[0076] In this embodiment, an emotion decision strategy is pre-configured, which specifies specific rules for determining the dominant emotion state in the current vehicle based on the emotion state data of each user in the vehicle. That is, the emotion decision strategy can comprehensively consider the emotion state data of each user in the vehicle and determine the dominant emotion state in the current vehicle. The dominant emotion state can be understood as the current mainstream emotion in the vehicle or the emotion that is given priority.
[0077] The following embodiments of the present application will elaborate on the optional implementation methods of determining the dominant emotional state.
[0078] Step S120: determining a sound effect adjustment method that matches the dominant emotional state, wherein the sound effect adjustment method satisfies the sound effect requirements of the dominant emotional state.
[0079] Specifically, after the dominant emotional state in the current vehicle is obtained in the previous step, in order to meet the demand for sound effects of the dominant emotional state, a sound effect adjustment method that matches the dominant emotional state can be determined.
[0080] The sound effect adjustment method includes a parameter setting method for one or more factors that can affect the sound effect of the audio played by the speaker, including but not limited to: pitch adjustment method, equalizer parameter adjustment method (such as low frequency, medium frequency, high frequency adjustment method), rhythm adjustment method (rhythm can also be understood as playback speed), etc.
[0081] In an optional implementation, a first correspondence may be preconfigured, which is a matching correspondence between various types of dominant emotional states and sound effect adjustment methods, and specifies how to adjust the sound effects in each type of dominant emotional state. On this basis, in this step, the first correspondence may be queried to determine the sound effect adjustment method corresponding to the current dominant emotional state.
[0082] Refer to Table 1 below, which takes pitch adjustment, equalizer parameter adjustment and rhythm adjustment as examples to introduce the sound effect adjustment methods corresponding to different types of dominant emotional states.
[0083] Table 1
[0084]
[0085] In Table 1 above, dB stands for decibel, which is the unit of volume; BPM is the abbreviation of Beat Per Minute, which is called beat number in Chinese and means the unit of beats per minute.
[0086] Combined with Table 1 above, it can be seen that for the dominant emotional state of the anger category, lowering the pitch and reducing the high, medium and low frequencies can help reduce the intensity and aggressiveness of the music. In addition, the rhythm can be adjusted to a medium rhythm (such as 70BPM), which helps to reduce the heart rate and make people feel calmer.
[0087] For the dominant emotional state of sadness, it is not appropriate to adjust the pitch, so the current pitch can be kept unchanged. The low and mid frequencies can be moderately increased to increase the warmth and inclusiveness of the music, which helps to soothe the emotions. The high frequencies can be moderately reduced to avoid stimulation and help maintain emotional stability.
[0088] For a dominant emotional state in the happy category, the pitch can be raised to increase the pleasantness of the music, as higher pitches are often associated with happiness and positive emotions. In addition, the tempo can be raised; a slightly faster tempo can match the happy mood and create an exciting and active listening experience.
[0089] For the dominant emotional state of the neutral category, the neutral emotional state itself refers to an emotional state that is neither obviously positive nor obviously negative. Therefore, in this case, adjusting the sound effect may not bring additional emotional benefits, but may disturb the individual's current emotional balance. In this embodiment, for the dominant emotional state of the neutral category, the sound effect adjustment strategy can be to keep the pitch, equalizer parameters and rhythm unchanged, so as to avoid causing unnecessary emotional fluctuations.
[0090] In addition to using the above-mentioned method of querying the first corresponding relationship to determine the sound effect adjustment method that matches the current dominant emotional state, other strategies can also be used. For example, a preconfigured neural network model is used to predict the sound effect adjustment method that matches the current dominant emotional state based on the current dominant emotional state. The neural network model can be pre-trained using the pairing data between the various types of dominant emotional states and sound effect adjustment methods exemplified in Table 1 above. Alternatively, a large model technology can be used to predict the sound effect adjustment method that matches the current dominant emotional state based on the large model's powerful natural language understanding, logical reasoning capabilities, and rich knowledge. Here, the large model can use a general large model, or it can use the pairing data exemplified in Table 1 above to fine-tune the general large model, and then use the large model after fine-tuning training.
[0091] Step S130, executing the sound effect adjustment method to control the speaker to output the adjusted content.
[0092] Specifically, a specific sound effect adjustment method can be executed to control the speaker to output the adjusted content.
[0093] According to the different specific adjustment factors of the sound effect adjustment method, the sound effect can be adjusted for different devices. For example, the adjustment of pitch and rhythm can be performed on the vehicle computer side, and the adjustment of equalizer parameters can be performed on the power amplifier side.
[0094] The in-vehicle sound effect adjustment method provided in the embodiment of the present application, for the in-vehicle scene, actively obtains the emotional state data of each user in the car (such as the driver and each passenger), and then processes the emotional state data of each user according to the pre-configured emotional decision strategy, so as to determine the dominant emotional state in the current car. The dominant emotional state can be understood as the dominant emotion in the car. Guided by the dominant emotional state, the sound effect adjustment method matching it is determined, and the sound effect adjustment method can meet the demand for sound effects of the dominant emotional state. For example, if the dominant emotional state is happy, the sound effect adjustment method can be to increase the pitch, rhythm, etc. to create an exciting and active auditory experience. For another example, if the dominant emotional state is anger, the pitch and balance parameters can be lowered to reduce the intensity and aggressiveness of the music, so that people feel calmer, effectively block or reduce the spread of such negative emotions, and promote a positive and harmonious atmosphere in the car. After the sound effect adjustment method is determined, the sound effect adjustment method can be executed to control the speaker to output the adjusted content. Obviously, this application scheme takes into account the personalized emotional needs of users in the car, and can dynamically adjust the in-car sound effects to enhance the overall comfort of users in the car.
[0095] Furthermore, in this embodiment, the emotional state of individual users in the car (such as only the driver) is not considered separately, but the emotional needs of all users in the car are comprehensively considered to determine the dominant emotional state in the car, which can take care of the emotional needs of multiple users in the car to the greatest extent and promote the coordination of the overall atmosphere in the car. Especially for the scenario of multiple users in the car, the effect of adopting this application solution is particularly prominent.
[0096] In some embodiments of the present application, the process of processing the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the car is introduced in the aforementioned step S110.
[0097] The emotional decision strategy specifies the specific rules for determining the dominant emotional state in the vehicle based on the emotional state data of each user in the vehicle. The emotional decision strategy can be implemented in a variety of ways.
[0098] One possible implementation method is to quantify and score the emotional state data of each user in the car, and then comprehensively consider the emotional quantification scores of each user, calculate the total emotional quantification score, and determine the dominant emotional state based on the total score.
[0099] Furthermore, in this embodiment, in view of the social psychological basis of emotional contagion, especially the rapid spread of negative emotions, the emotional decision-making strategy can give priority to negative types of emotional states in the car, so as to timely and effectively prevent or slow down the spread of negative emotions, and give priority to adjusting sound effects to alleviate or transform negative emotional states.
[0100] Under the guidance of this strategy, a possible implementation method is that when the aforementioned emotional quantitative scores of each user in the car are comprehensively considered, corresponding weights can be set for different users, where the weight of users in negative emotional states is higher than that of other types of emotional states (i.e., neutral and positive emotional states). On this basis, the emotional quantitative scores of each user are weighted and added, the total emotional quantitative score is calculated, and the dominant emotional state is determined. In this way, when determining the dominant emotional state, more emphasis can be placed on considering the negative emotional state in the car.
[0101] In another possible implementation, when determining the dominant emotional state in the car, only users who are currently in a negative emotional state in the car (defined as the first user) may be considered, and the dominant emotional state in the car may be determined based only on the emotional state data of the first user.
[0102] Specific implementation process:
[0103] First, based on the emotional state data of each user, it can be determined whether there is a first user in a negative emotional state.
[0104] The user's emotional state data may include emotional state categories, such as anger, sadness, happiness, neutrality, etc. Furthermore, the emotional state data may also include a quantitative score of each category of emotional state, that is, the degree of each category of emotional state is further refined through the quantitative score.
[0105] On this basis, it is possible to determine whether the emotional state belongs to a negative type of emotional state according to the emotional state category in the emotional state data. Taking the several categories of emotional states in the above examples as an example, anger and sadness belong to negative emotional types, and happiness belongs to positive emotional types.
[0106] There are two situations in the above judgment results:
[0107] First, the first user is in a negative emotional state.
[0108] At this time, the dominant emotional state in the car can be determined based on the emotional state data of each first user. In this way, the negative emotional state in the car can be given priority to determine the dominant emotional state, which can avoid or slow down the spread of negative emotions.
[0109] Second, there is no first user with a negative emotional state, that is, the emotional states of all users in the car are not negative, but either positive or neutral.
[0110] At this time, the emotional state data of each user in the car can be comprehensively considered to determine the dominant emotional state in the car.
[0111] Take the first case above as an example:
[0112] If the emotional state data includes both the emotional state category and its quantitative score, the process of determining the dominant emotional state in the vehicle according to the emotional state data of each first user may include:
[0113] S1. The emotional quantitative scores of the first users are integrated to obtain a quantitative total score.
[0114] Among them, the process of integrating the emotional quantitative scores of each first user can be calculated by a weighted average method, that is, the emotional quantitative scores of each first user are weighted and summed to obtain a quantitative total score. Among them, the weight of each user can be the same, or it can be related to the identity of the user, for example, different weights are set for users with different identities. Among them, the identity of the user can be determined based on the current position of the user in the cabin. For example, the users in the car can be divided into two identities, namely drivers and passengers, and the weight of the driver can be set greater than the weight of the passenger. For another example, the passengers can be further divided into front passengers and back passengers, and the weight of the back passengers can be set greater than the weight of the front passengers, etc.
[0115] In addition, the identity of the user can also be determined based on the user's attribute information, for example, considering one or more factors such as the user's age, gender, position, etc. to divide different user identities, and pre-set weight values for users with different identities.
[0116] For ease of presentation, in the following embodiments of the present application, the identities of users in the vehicle are only divided into two categories: driver and passenger, and the weight of the driver is set to 60%, and the sum of the weights of the remaining passengers is set to 40%.
[0117] The quantitative total score can be expressed as the following formula:
[0118]
[0119] in, Represents the total quantitative score, represents the weight of the driver, represents the weight of the i-th passenger, and defines the total number of passengers in the car as n. represents the driver's emotional quantitative score, represents the quantitative emotion score of the i-th passenger.
[0120] S2. Determine the emotional state category corresponding to the quantified total score as the dominant emotional state in the vehicle.
[0121] Specifically, each emotional state category may be provided with a corresponding quantitative scoring interval. The quantitative scoring intervals corresponding to different emotional state categories may not overlap with each other.
[0122] On this basis, the target quantitative score interval to which the total quantitative score belongs can be determined, and the emotion category corresponding to the target quantitative score interval can be used as the dominant emotional state in the car.
[0123] For example, the quantitative scoring interval of sadness is [-1, -5], and the quantitative scoring interval of anger is [-6, -10].
[0124] In an exemplary description, it is defined that there is a driver and two passengers in the car, and the emotional state categories and quantitative scores of the driver and the two passengers are shown in Table 2:
[0125] Table 2
[0126]
[0127] Define the driver's weight as 60% and each passenger's weight as 20%. Then, according to the above quantitative total score calculation formula, we can get:
[0128] =(-3×0.6)+(-8×0.2)+(-2×0.2) =-3.8
[0129] The total quantitative score belongs to the quantitative score interval corresponding to the sad emotion category, so it can be determined that the dominant emotional state is sadness.
[0130] For the second case mentioned above, that is, when there is no first user with a negative emotional state in the car, the emotional quantitative scores of each user in the car can be combined to obtain a quantitative total score; the emotional state category corresponding to the quantitative total score is determined as the dominant emotional state in the car.
[0131] The calculation process of the above quantitative total score can be shown in the above formula.
[0132] For example, the quantitative scoring interval of happiness is [1, 5], and the quantitative scoring interval of neutrality is [-0.9, +0.9]. Here, the interval from 0.9 to 1 can be regarded as a transition interval, starting from neutrality to a slightly positive state, which may be manifested as relaxation, slight pleasure or satisfaction, and these emotions have not yet reached a clear state of happiness.
[0133] It should be noted that the quantitative scoring intervals of the above-mentioned emotional states are only used as an exemplary description. In addition, they can also be set according to actual scenarios or user needs. For example, the quantitative scoring interval of neutral is set to (-1,1), that is, the quantitative scoring interval is between sadness and happiness.
[0134] In an exemplary description, it is defined that there is a driver and two passengers in the car, and the emotional state categories and quantitative scores of the driver and the two passengers are shown in Table 3:
[0135] Table 3
[0136]
[0137] Define the driver's weight as 60% and each passenger's weight as 20%. Then, according to the above quantitative total score calculation formula, we can get:
[0138] =(1×0.6)+(1×0.2)+(0×0.2) =0.8
[0139] The total quantitative score belongs to the quantitative score interval corresponding to the neutral emotion category, so it can be determined that the dominant emotional state is neutral.
[0140] The above-mentioned embodiments of the present application provide several optional emotional decision strategies, which can comprehensively analyze the emotional state data of each passenger in the car, identify and determine the dominant emotional state in the car in real time, and adjust the sound effects in the car through matching sound effect adjustment methods to promote a positive and harmonious atmosphere in the car. In addition, in some implementations, negative emotions in the car, such as sadness, anger, etc., can be processed and adjusted first, and the spread of negative emotional states in the car can be prevented or slowed down through sound effect adjustment, reducing the emotional impact on other passengers in the car and maintaining the emotional balance in the car.
[0141] The vehicle-mounted sound effect control device provided in an embodiment of the present application is described below. The vehicle-mounted sound effect control device described below and the vehicle-mounted sound effect control method described above can be referenced to each other.
[0142] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a vehicle-mounted sound effect control device disclosed in an embodiment of the present application.
[0143] like Figure 3 As shown, the device may include: The emotional state data acquisition unit 11 is used to acquire the emotional state data of each user in the vehicle; A dominant emotional state determination unit 12, for processing the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the vehicle; A sound effect adjustment mode determining unit 13, configured to determine a sound effect adjustment mode that matches the dominant emotional state, wherein the sound effect adjustment mode satisfies the sound effect requirements of the dominant emotional state; The sound effect execution unit 14 is used to execute the sound effect adjustment method to control the speaker to output the adjusted content.
[0144] In some possible implementations, the process in which the dominant emotional state determination unit processes the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the vehicle includes: Based on the emotional state data of each user, determining whether there is a first user in a negative emotional state; If so, the dominant emotional state in the vehicle is determined based on the emotional state data of each of the first users.
[0145] In some possible implementations, the emotional state data includes emotional state categories and quantitative scores thereof; then, the process of the dominant emotional state determination unit determining whether there is a first user with a negative emotional state based on the emotional state data of each user includes: According to the emotional state category of each user, determining whether there is a first user with a negative emotional state; The process of the dominant emotional state determining unit determining the dominant emotional state in the vehicle based on the emotional state data of each of the first users includes: Combining the emotional quantitative scores of the first users to obtain a quantitative total score; An emotional state category corresponding to the quantified total score is determined as the dominant emotional state in the vehicle.
[0146] In some possible implementations, the process of the dominant emotional state determination unit fusing the emotional quantitative scores of each of the first users to obtain a quantitative total score includes: The emotion quantization scores of the first users are weighted and summed to obtain a total quantization score, wherein the weight of each user is related to the identity of the user.
[0147] In some possible implementations, each emotional state category corresponds to a quantitative scoring interval, and the quantitative scoring intervals corresponding to different emotional state categories do not overlap. Then the dominant emotional state determination unit determines the emotional state category corresponding to the quantitative total score as the dominant emotional state in the vehicle, including: A target quantitative score interval to which the quantitative total score belongs is determined, and an emotion category corresponding to the target quantitative score interval is used as a dominant emotion state in the vehicle.
[0148] In some possible implementations, the process in which the dominant emotional state determination unit processes the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the vehicle may also include: If it is determined that there is no first user in a negative emotional state in the car, the emotional quantitative scores of each user in the car are integrated to obtain a quantitative total score; An emotional state category corresponding to the quantified total score is determined as the dominant emotional state in the vehicle.
[0149] In some possible implementations, the process of the sound effect adjustment mode determining unit determining the sound effect adjustment mode matching the dominant emotional state includes: A preconfigured first correspondence is queried to determine a sound effect adjustment method corresponding to the dominant emotional state, wherein the first correspondence includes a matching correspondence between each type of dominant emotional state and the sound effect adjustment method.
[0150] In some possible implementations, the sound effect adjustment method includes at least one of the following: a pitch adjustment method, an equalizer parameter adjustment method, and a rhythm adjustment method.
[0151] In some possible implementations, the process of the emotional state data acquisition unit acquiring the emotional state data of each user in the vehicle includes: Acquire visual data of each user in the vehicle collected by an in-vehicle camera, and / or acquire physiological data of each user in the vehicle collected by a physiological sensor; Analyze the visual data to obtain emotional state data of each user; and / or analyze the physiological data to obtain emotional state data of each user.
[0152] The present application also provides an electronic device in an embodiment. Figure 4 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to a fixed terminal such as a vehicle terminal, a vehicle controller, and the like. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0153] like Figure 4 As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage device 608 to the random access memory (RAM) 603 to implement the vehicle sound effect control method of the aforementioned embodiment of the present application. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 603. The processing device 601, the ROM 602 and the RAM 603 are connected to each other via a bus 604. The input / output (I / O) interface 605 is also connected to the bus 604.
[0154] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0155] A vehicle is also provided in an embodiment of the present application, which includes the above-mentioned electronic device.
[0156] Also provided in an embodiment of the present application is a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any of the vehicle-mounted sound effect control methods provided in the embodiments of the present application.
[0157] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When one or more computer programs are executed by an electronic device, the electronic device can implement any of the vehicle-mounted sound effect control methods provided in the embodiment of the present application.
[0158] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0159] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0160] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0161] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0162] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
Claims
1. A vehicle sound effect control method, characterized in that: include: Obtain emotional state data of each user in the car; Processing the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the vehicle; Determining a sound effect adjustment method that matches the dominant emotional state, wherein the sound effect adjustment method satisfies the sound effect requirements of the dominant emotional state; The sound effect adjustment method is executed to control the speaker to output the adjusted content.
2. The method according to claim 1, characterized in that The process of processing the emotional state data of each user according to the configured emotional decision strategy to determine the dominant emotional state in the car includes: Based on the emotional state data of each user, determining whether there is a first user in a negative emotional state; If so, the dominant emotional state in the vehicle is determined based on the emotional state data of each of the first users.
3. The method according to claim 2, characterized in that The emotional state data includes emotional state categories and quantitative scores thereof; Then, based on the emotional state data of each user, the process of determining whether there is a first user with a negative emotional state includes: According to the emotional state category of each user, determining whether there is a first user with a negative emotional state; The process of determining the dominant emotional state in the vehicle based on the emotional state data of each of the first users includes: Combining the emotional quantitative scores of the first users to obtain a quantitative total score; An emotional state category corresponding to the quantified total score is determined as the dominant emotional state in the vehicle.
4. The method according to claim 3, characterized in that The process of integrating the emotional quantitative scores of the first users to obtain a quantitative total score includes: The emotion quantization scores of the first users are weighted and summed to obtain a total quantization score, wherein the weight of each user is related to the identity of the user.
5. The method according to claim 3, characterized in that: in, Each emotional state category corresponds to a quantitative scoring interval, and the quantitative scoring intervals corresponding to different emotional state categories do not overlap; Then, the process of determining the emotional state category corresponding to the quantified total score as the dominant emotional state in the vehicle includes: A target quantitative score interval to which the quantitative total score belongs is determined, and an emotion category corresponding to the target quantitative score interval is used as a dominant emotion state in the vehicle.
6. The method according to claim 3, characterized in that: Also includes: If there is no first user with a negative emotional state in the car, the emotional quantitative scores of each user in the car are integrated to obtain a quantitative total score; An emotional state category corresponding to the quantified total score is determined as the dominant emotional state in the vehicle.
7. The method according to claim 1, characterized in that The process of determining a sound effect adjustment method that matches the dominant emotional state includes: A preconfigured first correspondence is queried to determine a sound effect adjustment method corresponding to the dominant emotional state, wherein the first correspondence includes a matching correspondence between each type of dominant emotional state and the sound effect adjustment method.
8. The method according to claim 1, characterized in that The sound effect adjustment method includes at least one of the following: a pitch adjustment method, an equalizer parameter adjustment method, and a rhythm adjustment method.
9. The method according to any one of claims 1 to 8, characterized in that: The process of obtaining the emotional state data of each user in the car includes: Acquire visual data of each user in the vehicle collected by an in-vehicle camera, and / or acquire physiological data of each user in the vehicle collected by a physiological sensor; Analyze the visual data to obtain emotional state data of each user; and / or analyze the physiological data to obtain emotional state data of each user.
10. A vehicle-mounted sound effect control device, characterized in that: include: An emotional state data acquisition unit, used to acquire emotional state data of each user in the vehicle; a dominant emotional state determination unit, for processing the emotional state data of each user according to a configured emotional decision strategy to determine the dominant emotional state in the vehicle; A sound effect adjustment mode determining unit, used to determine a sound effect adjustment mode that matches the dominant emotional state, wherein the sound effect adjustment mode satisfies the sound effect requirements of the dominant emotional state; The sound effect execution unit is used to execute the sound effect adjustment method to control the speaker to output the adjusted content.
11. An electronic device, characterized in that: include: Memory and processor; The memory is used to store programs; The processor is used to execute the program to implement each step of the vehicle sound effect control method as described in any one of claims 1 to 9.
12. A vehicle, characterized in that: The electronic device comprising claim 11.
13. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, each step of the vehicle sound effect control method as described in any one of claims 1 to 9 is implemented.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, each step of the vehicle sound effect control method as described in any one of claims 1 to 9 is implemented.
Citation Information
Cited By
Driving style switching method based on facial recognition and apparatus
WO2026157355A1
