A sound adjustment method, device, electronic device and storage medium
By automatically collecting and calculating the vehicle's sound according to the vehicle's operating status and driving environment data, the problem of sound adjustment in the prior art relying on user instructions is solved, and the convenience and safety of sound adjustment are improved.
Patent Information
- Application Number
- CN202410466558.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-04-18
AI Technical Summary
In the prior art, the sound adjustment of a vehicle mainly depends on user instructions, and fails to automatically adjust according to the vehicle's operating status and driving environment, resulting in the inability to meet the driver's convenience needs, which may distract the driver's attention and increase safety risks.
By presetting the playback-related indicators of the target vehicle, determining the indicator-related parameters and impact relationships corresponding to these indicators, collecting data based on the vehicle operation data and driving environment data, and calculating the playback-related indicator values of the playback-related indicators, and then automatically adjusting the vehicle's sound.
The convenience and accuracy of sound adjustment are achieved, avoiding distraction from drivers' attention and improving driving safety and user experience.
Smart Images

Figure CN118163739B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a sound adjustment method, device, electronic device and storage medium. Background Art
[0002] With the development of vehicle intelligence and automation, drivers have higher requirements for convenience and safety during driving. In the interaction between vehicle and driver, prompt sound has become an indispensable part of modern vehicles, providing drivers with timely and accurate information feedback, thereby enhancing driving convenience and safety.
[0003] In the related art, the adjustment of the prompt tone or even the sound is only based on the instructions issued by the user, and does not involve automatic adjustment of the sound according to factors such as the vehicle operation status and driving environment. This not only fails to meet the driver's need for convenience during driving, but also distracts the driver's attention during driving, which may lead to safety hazards. Obviously, a new sound adjustment method is urgently needed to solve at least one of the above problems.
[0004] It should be noted that the above content only provides background technical information related to the present application and does not necessarily constitute prior art. Summary of the invention
[0005] In view of the shortcomings of the prior art described above, the present application provides a sound adjustment method, device, electronic device and storage medium to achieve at least one of improving the convenience of sound adjustment, improving the accuracy of sound adjustment, eliminating the need to distract the driver's attention and improving the user experience.
[0006] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0007] According to one aspect of an embodiment of the present application, a sound adjustment method is provided, comprising: pre-setting a playback-related index of a target vehicle, and determining an index-related parameter corresponding to the playback-related index, and an influence relationship between the playback-related index and the index-related parameter, wherein the influence relationship comprises a positive correlation or a negative correlation; collecting data on the target vehicle according to the index-related parameter to obtain a current parameter value corresponding to the index-related parameter; determining a coefficient of the current parameter value according to the influence relationship to obtain an index coefficient corresponding to the index-related parameter, and calculating according to the index coefficient to obtain a playback index value corresponding to the playback-related index; and controlling the target vehicle to adjust and play the sound data to be played according to the playback index value.
[0008] In one embodiment of the present application, based on the above scheme, if the playback-related index is a volume index, the playback index value corresponding to the volume index is calculated by the following method: obtaining vehicle operation data and driving environment data of the target vehicle, the vehicle operation data including driving speed, and the driving environment data including road speed limit information, noise information and light intensity information; if the driving speed is greater than the road speed limit information, then calculating the speeding ratio based on the driving speed and the road speed limit information, and determining the speeding increment coefficient corresponding to the speeding ratio from the preset speeding coefficient according to the matching result between the speeding ratio and the preset ratio range, wherein the volume index is positively correlated with the speeding increment coefficient; and according to the noise information and the speeding increment coefficient, calculating the speeding ratio based on the driving speed and the road speed limit information. Based on the matching result between the preset noise range, the target noise coefficient corresponding to the noise information is determined from the preset noise coefficient, wherein the volume index is positively correlated with the target noise coefficient; based on the matching result between the light intensity information and the preset light range, the target light coefficient corresponding to the light intensity information is determined from the preset light coefficient, wherein the volume index is negatively correlated with the target light coefficient; and a weighted summation calculation is performed according to the weights corresponding to the overspeed increment coefficient, the target noise coefficient, the target light coefficient and each parameter coefficient to obtain a playback index value corresponding to the volume index, wherein the parameter coefficient includes at least one of the overspeed increment coefficient, the target noise coefficient and the target light coefficient.
[0009] In one embodiment of the present application, based on the aforementioned scheme, if the playback-related indicator is a channel indicator, the playback indicator value corresponding to the channel indicator is determined by the following method: obtaining direction information and multiple channels corresponding to each direction; determining preset channel coefficients corresponding to each of the channels according to the influence relationship; determining the target channel coefficient corresponding to the direction information from each of the preset channel coefficients according to the matching result between the direction information and each of the channels, wherein the channel indicator and the target channel coefficient are positively correlated; and using the target channel coefficient as the playback indicator value corresponding to the channel indicator.
[0010] In one embodiment of the present application, based on the aforementioned scheme, if the playback-related indicator is a timbre indicator, the playback indicator value corresponding to the timbre indicator is determined by the following method: the sound source type of the sound data to be played is obtained; the target timbre coefficient is obtained based on the sound source type, wherein if the sound source type is an alarm type, the target timbre coefficient is an alarm coefficient, and if the sound source type is a prompt type, the target timbre coefficient is a prompt coefficient; the target timbre coefficient is used as the playback indicator value corresponding to the timbre indicator.
[0011] In one embodiment of the present application, based on the aforementioned scheme, if the playback-related indicators are the playback timing and the playback frequency, the playback indicator value corresponding to the playback timing and the playback indicator value corresponding to the playback frequency are determined by the following method: matching the overspeed ratio with a preset ratio; determining the playback frequency from the preset frequency change according to the matching result, and determining the playback timing from the preset timing change according to the matching result; using the playback frequency as the playback indicator value corresponding to the playback frequency, and using the playback timing as the playback indicator value corresponding to the playback timing.
[0012] In one embodiment of the present application, based on the aforementioned scheme, the coefficient of the current parameter value is determined according to the influence relationship to obtain the indicator coefficient corresponding to the indicator-related parameter, including: obtaining multiple value ranges corresponding to the indicator-related parameter; determining the target coefficient corresponding to each of the value ranges according to the influence relationship; and determining the indicator coefficient corresponding to the indicator-related parameter from each of the target coefficients according to the matching result between the current parameter value and each of the value ranges.
[0013] In one embodiment of the present application, based on the aforementioned scheme, data is collected for the target vehicle according to the indicator-related parameters, and before obtaining the current parameter values corresponding to the indicator-related parameters, the method also includes: receiving a sound playback request, the sound playback request including a sound data identifier; storing the sound data to be played corresponding to the sound data identifier in a sound playback queue to obtain the sound data to be played from the sound playback queue; obtaining the currently playing sound data; if the priority of the sound data to be played is lower than or equal to the priority of the currently playing sound data, continuing to play the currently playing sound data; if the priority of the sound data to be played is higher than the priority of the currently playing sound data, stopping playing the currently playing sound data.
[0014] According to one aspect of an embodiment of the present application, a sound adjustment device is provided, including: a setting module, used to pre-set the playback-related index of a target vehicle, and determine the index-related parameters corresponding to the playback-related index, and the influence relationship between the playback-related index and the index-related parameters, wherein the influence relationship includes a positive correlation or a negative correlation; a collection module, used to collect data on the target vehicle according to the index-related parameters, and obtain current parameter values corresponding to the index-related parameters; a calculation module, used to determine the coefficient of the current parameter value according to the influence relationship, obtain the index coefficient corresponding to the index-related parameters, and calculate according to the index coefficient to obtain the playback index value corresponding to the playback-related index; an adjustment module, used to control the target vehicle to adjust and play the sound data to be played according to the playback index value.
[0015] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the sound adjustment method as described in any one of the above embodiments.
[0016] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is enabled to execute the sound adjustment method as described in any one of the above embodiments.
[0017] Beneficial effects of the present application: The present application provides a sound adjustment method, device, electronic device and storage medium. The present application pre-sets the playback-related index of the target vehicle, determines the index-related parameters corresponding to the playback-related index, and the influence relationship between the playback-related index and the index-related parameters, collects data from the target vehicle according to the index-related parameters, obtains the current parameter value corresponding to the index-related parameter, determines the coefficient of the current parameter value according to the influence relationship, obtains the index coefficient corresponding to the index-related parameter, calculates according to the index coefficient, obtains the playback index value corresponding to the playback-related index, controls the target vehicle to adjust and play the sound data to be played according to the playback index value, and automatically controls the sound adjustment to improve the convenience and accuracy of the sound adjustment, improve the timeliness of the sound adjustment and sound playback, and does not need to distract the driver's attention, improve driving safety, and enhance user experience.
[0018] In addition, the present application also increases the dimension of sound adjustment by adjusting the target timbre coefficient, target channel coefficient, playback timing and playback frequency of the sound data to be played, thereby further improving the accuracy of sound adjustment, and improving the effects of sound adjustment and sound playback while ensuring that the sound data to be played can be heard by the driver.
[0019] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0021] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;
[0022] Figure 2 is a flowchart of a sound adjustment method shown in an exemplary embodiment of the present application;
[0023] Figure 3 is a flowchart of a sound adjustment method shown in another exemplary embodiment of the present application;
[0024] Figure 4 is a block diagram of a sound adjustment device shown in an exemplary embodiment of the present application;
[0025] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0027] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present application in a schematic manner, and therefore the illustrations only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0028] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0029] First of all, it should be noted that in the automotive field, Chime is usually used as an in-car audio prompt signal to provide timely and accurate information feedback to drivers and passengers. As a prompt sound, Chime has multiple functions in the car, aiming to improve driving convenience, safety and overall user experience.
[0030] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.
[0031] Reference Figure 1As shown, the system architecture may include a data acquisition device 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. The data acquisition device 101 is used to collect vehicle operation data and driving environment data of the target vehicle. The vehicle operation data includes driving speed and direction information, and the driving environment data includes road speed limit information, noise information, and light intensity information. In this embodiment, after the data acquisition device 101 obtains the vehicle operation data and driving environment data of the target vehicle, it provides the vehicle operation data and driving environment data to the computer device 102 for processing. Relevant technicians can use the computer device 102 to pre-set the playback-related index of the target vehicle, and determine the index-related parameters corresponding to the playback-related index, as well as the influence relationship between the playback-related index and the index-related parameters, collect data from the target vehicle according to the index-related parameters, obtain the current parameter value corresponding to the index-related parameter, determine the coefficient of the current parameter value according to the influence relationship, obtain the index coefficient corresponding to the index-related parameter, and calculate according to the index coefficient to obtain the playback index value corresponding to the playback-related index, and control the target vehicle to adjust and play the sound data to be played according to the playback index value. It should be noted that the data acquisition device 101 and the computer device 102 provided in this embodiment are only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0032] It should be noted that the sound adjustment method provided in the embodiment of the present application is generally executed by the computer device 102 , and accordingly, the sound adjustment device is generally disposed in the computer device 102 .
[0033] Figure 2 is a flow chart of a sound adjustment method shown in an exemplary embodiment of the present application. The sound adjustment method can be executed by a computing and processing device. The computing and processing device can be Figure 1 The computer device 102 shown in FIG. Figure 2 As shown, the sound adjustment method at least includes steps S210 to S240, which are described in detail as follows:
[0034] In step S210, the playback related index of the target vehicle is preset, and the index related parameters corresponding to the playback related index and the influence relationship between the playback related index and the index related parameters are determined.
[0035] Among them, the influence relationship includes a positive correlation or a negative correlation.
[0036] In one embodiment of the present application, a sound playback request is received, the sound playback request includes a sound data identifier; the sound data to be played corresponding to the sound data identifier is stored in a sound playback queue to obtain the sound data to be played from the sound playback queue; the currently playing sound data is obtained; if the priority of the sound data to be played is lower than or equal to the priority of the currently playing sound data, the currently playing sound data continues to be played; if the priority of the sound data to be played is higher than the priority of the currently playing sound data, the currently playing sound data is stopped.
[0037] In this embodiment, taking the Chime prompt sound as an example, the sound adjustment method is completed by an intelligent acoustic feedback system used in the field of vehicle technology. The intelligent acoustic feedback system includes a perception module, which opens three threads, one for receiving sound playback requests from other modules in real time. After receiving the sound playback request, the sound data to be played corresponding to the sound data identifier in the sound playback request will be stored in the sound playback queue, so that another thread can obtain the sound to be played, that is, the sound data to be played, from the sound playback queue.
[0038] In this embodiment, after obtaining the sound data to be played, it is determined whether there is currently played sound data being played. If not, data collection is performed on the target vehicle according to the index-related parameters to obtain the current parameter value corresponding to the index-related parameters. If there is currently played sound data being played, the priority of the sound data to be played is compared with the priority of the currently played sound data. If the priority of the sound data to be played is lower than or equal to the priority of the currently played sound data, the currently played sound data continues to be played until the currently played sound data is played, and then data collection is performed on the target vehicle according to the index-related parameters; if the priority of the sound data to be played is higher than the priority of the currently played sound data, the playback of the currently played sound data is immediately terminated to collect data on the target vehicle according to the index-related parameters.
[0039] In this embodiment, the priority setting methods include but are not limited to the following three methods: 1. Hard-coded logic, directly setting the priority of the alarm class higher than the priority of the prompt class in the system firmware, and the priority of the prompt class higher than the priority of the background entertainment music. 2. Configurable settings, allowing users to customize the volume and priority of various types of prompt sounds. 3. Event trigger mechanism, when a preset critical safety-related event occurs, such as a collision warning, the system will automatically interrupt or reduce non-important audio output, such as the sound output of multimedia playback (such as podcasts, audio books, movies or videos), to ensure that the alarm prompt sound is clearly heard.
[0040] In step S220, data is collected on the target vehicle according to the index-related parameters to obtain current parameter values corresponding to the index-related parameters.
[0041] In one embodiment of the present application, taking the sound data to be played as Chime prompt sound as an example, the intelligent acoustic feedback system combines the situational awareness function to realize the Chime prompt sound effect with a highly customized and humanized experience, so as to improve the information receiving efficiency and comfort of the driver and passengers. The vehicle data of the target vehicle is obtained through the vehicle sensor, and the vehicle data includes but is not limited to the vehicle operation data and driving environment data. The vehicle operation data includes but is not limited to the driving speed and direction information, and the driving environment data includes but is not limited to the road speed limit information, noise information and light intensity information.
[0042] In this embodiment, the speed of the vehicle can be monitored in real time through the speed sensor built into the target vehicle. When the vehicle speed is fast, the background noise increases, and the system needs to appropriately increase the volume of the Chime prompt sound to overcome noise interference. The increase in vehicle speed will lower the threshold for triggering the Chime, that is, the faster the speed, the earlier the time to trigger warning sounds such as collision warnings, so as to give the driver more sufficient reaction time. In the navigation scenario, when approaching a turn or exit, if the vehicle speed is fast, the timing of playing the Chime prompt sound may be earlier to ensure that the turn instructions are conveyed in time, and the beat and repetition rate of the Chime prompt sound will also increase.
[0043] In this embodiment, the direction information of the target vehicle is monitored by a direction sensor (gyroscope or GPS positioning) to monitor the change of the target vehicle's driving direction, such as when turning, changing lanes, etc., the chime prompt sound of the navigation or driving assistance system is broadcast in time. Although the direction itself does not directly affect the frequency of the chime, in a stereo or multi-channel environment, the difference between the left and right channels or the surround sound effect can be used to simulate the sense of direction of the sound, making it easier for the driver to determine the source of the signal.
[0044] In this embodiment, noise information is monitored by an environmental noise sensor. Environmental noise sensors include but are not limited to external noise sensors and internal noise sensors. The external noise sensor collects noise information from the surrounding environment of the target vehicle, and the internal noise sensor monitors the noise information inside the cabin of the target vehicle. The volume of the Chime prompt sound is dynamically adjusted according to the intensity of the noise information. When the external environmental noise is large, in order to ensure that the Chime prompt sound can be clearly perceived, the system will automatically increase the volume. Conversely, in a quiet environment, the volume is reduced to avoid discomfort or frightening the user.
[0045] In this embodiment, other vehicle data is monitored through other sensors. For example, the light intensity information of the target vehicle's driving environment is monitored through a light sensor, and the volume of the prompt sound is appropriately increased when the driver's attention may be affected at night or in a tunnel; another example is the temperature information of the target vehicle's driving environment is monitored through a temperature sensor, and corresponding adjustments are made considering that the acoustic environment in the car may change due to the closed windows in a cold environment.
[0046] In this embodiment, by integrating the data collected by the above-mentioned sensors, such as driving speed, direction information, noise information of the internal and external environment, etc., the volume, playback frequency and playback timing of the Chime prompt sound are automatically adjusted to ensure that the prompt sound can be effectively perceived under any circumstances.
[0047] In step S230, the coefficient of the current parameter value is determined according to the influence relationship to obtain the index coefficient corresponding to the index-related parameter, and calculation is performed based on the index coefficient to obtain the playback index value corresponding to the playback-related index.
[0048] In one embodiment of the present application, multiple value ranges corresponding to indicator-related parameters are obtained; target coefficients corresponding to each value range are determined according to the influence relationship; and indicator coefficients corresponding to the indicator-related parameters are determined from each target coefficient based on the matching results between the current parameter value and each value range.
[0049] In one embodiment of the present application, multiple historical parameter values and historical coefficients corresponding to each historical parameter value are obtained, wherein an influence relationship exists between the historical parameter values and the historical coefficients; a linear regression equation is established based on each historical parameter value and each historical coefficient to obtain a calculation formula; the current parameter value is input into the calculation formula to obtain the indicator coefficient corresponding to the indicator-related parameter, wherein an influence relationship exists between the input current parameter value and the indicator coefficient corresponding to the indicator-related parameter.
[0050] In one embodiment of the present application, if the playback-related index is a volume index, the playback index value corresponding to the volume index is calculated by the following method: obtaining vehicle operation data and driving environment data of the target vehicle, the vehicle operation data including the driving speed, and the driving environment data including the road speed limit information, noise information and light intensity information; determining the motion state of the target vehicle according to the driving speed, if the motion state of the target vehicle is moving, comparing the driving speed with the road speed limit information, if the driving speed is greater than the road speed limit information, determining that the target vehicle is speeding, calculating the speeding ratio based on the driving speed and the road speed limit information, determining the speeding increment coefficient corresponding to the speeding ratio from the preset speeding coefficient according to the matching result between the speeding ratio and the preset ratio range, and In the embodiment, the volume index is positively correlated with the overspeed increment coefficient; according to the matching result between the noise information and the preset noise range, the target noise coefficient corresponding to the noise information is determined from the preset noise coefficient, wherein the volume index is positively correlated with the target noise coefficient; based on the matching result between the light intensity information and the preset light range, the target light coefficient corresponding to the light intensity information is determined from the preset light coefficient, wherein the volume index is negatively correlated with the target light coefficient; a weighted sum calculation is performed according to the weights corresponding to the overspeed increment coefficient, the target noise coefficient, the target light coefficient and each parameter coefficient to obtain a playback index value corresponding to the volume index, wherein the parameter coefficient includes at least one of the overspeed increment coefficient, the target noise coefficient and the target light coefficient. Among them, the preset speeding coefficient is the speeding coefficient corresponding to each preset ratio range, for example, when the preset ratio range is less than 10%, the corresponding preset speeding coefficient is 0.2; the preset noise coefficient is the noise coefficient corresponding to each preset noise range, for example, when the preset noise range is 0-40, the corresponding preset noise coefficient is 0, when the preset noise range is 40-70, the corresponding preset noise coefficient is 0.5, and when the preset noise coefficient is 70-100, the corresponding preset noise coefficient is 1; the preset light coefficient is the light coefficient corresponding to each preset illumination range, for example, when the preset illumination range is 8-10, the corresponding preset light coefficient is 0, when the preset illumination range is 0-5, the corresponding preset light coefficient is 1, and when the preset illumination range is 5-8, the corresponding preset light coefficient is 0.5. It should be noted that the preset ratio range, preset speeding coefficient, preset noise range, preset noise coefficient, preset illumination range and preset light coefficient in this embodiment are only for example description and can be adjusted according to needs. This application does not limit this and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0051] In this embodiment, the data provided by the speed sensor, i.e., the driving speed, is used to determine whether the target vehicle is stationary; if the target vehicle is stationary, the speeding increment coefficient corresponding to the driving speed is not determined. If the target vehicle is in motion, it is determined whether the target vehicle is speeding, wherein whether the speeding can be determined according to the speed limit of the road, and the system can also actively set the speed limit size. For example, if the road speed limit information is 120km / h, the target vehicle is traveling at a speed of 130km / h, then the target vehicle is determined to be speeding, and the speeding ratio is calculated according to the driving speed and the road speed limit information: speeding ratio = (130km / h-120km / h) / 120km / h×100%, the speeding ratio is approximately equal to 8.33%, and the speeding increment coefficient corresponding to the speeding ratio is determined by looking up the speeding table (the speeding table can be set and changed by itself), for example, when the speeding ratio is less than 10%, the speeding increment coefficient is equal to 0.2, and the frequency is increased by 10%. It should be noted that this embodiment is only for example description, and should not bring any restrictions to the functions and scope of use of the embodiments of the present invention.
[0052] In this embodiment, the data uploaded by the environmental noise sensor, i.e., the noise information, is used to determine whether the noise information exceeds the noise threshold range. If the noise information is greater than the maximum value of the noise threshold range, the noise information is adjusted to the maximum value of the noise threshold range; if the noise information is less than the minimum value of the noise threshold range, the noise information is adjusted to the minimum value of the noise threshold range. Among them, the noise threshold ranges of different manufacturers are different, and the noise threshold range is determined by the sensor. The levels can be divided according to the noise threshold range. For example, the noise threshold range of a certain manufacturer is set to 0-100, where 0-40 is a noise-free environment, 40-70 is a weak noise environment, and 70-100 is a strong noise environment. By looking up the noise table, the noise coefficient corresponding to each noise environment is found, such as the noise coefficient of the noise-free environment is 0; the noise coefficient of the weak noise environment is 0.5, and the noise coefficient of the strong noise environment is 1, wherein the noise table can be modified. It should be noted that this embodiment is only for example and should not bring any limitation to the function and scope of use of the embodiment of the present invention.
[0053] In this embodiment, the data uploaded by the light sensor, i.e., the light intensity information, is used to determine whether the light intensity information exceeds the light intensity threshold range. If the light intensity information exceeds the maximum value of the light intensity threshold range, the light intensity information is adjusted to the maximum value of the light intensity threshold range; if the light intensity information is less than the minimum value of the light intensity threshold range, the light intensity information is adjusted to the minimum value of the light intensity threshold range. Among them, the light intensity threshold ranges of different manufacturers are different. The light intensity threshold range is determined by the sensor. The levels can be divided according to the range to determine whether it is in a dark environment. For example, the light intensity threshold range of a certain manufacturer is set to 0-10. When the light is sufficient, the output signal, i.e., the light intensity information, is higher than a certain threshold such as 8. The system will consider the environment to be bright and the light coefficient is set to 0; conversely, when the output signal is lower than another threshold such as 5, the system will determine that the environment is dark and the light coefficient is set to 1. When the output signal is between 5-8, it is considered to be relatively dark and the light coefficient is set to 0.5. It should be noted that this embodiment is only for illustrative purposes and should not bring any limitations to the functions and scope of use of the embodiments of the present invention.
[0054] In this embodiment, the playback index value corresponding to the volume index is calculated by calculating each parameter coefficient and the weight corresponding to each parameter coefficient. The parameter coefficient may include a target timbre coefficient, an overspeed increment coefficient, a target noise coefficient, and a target light coefficient. Each parameter coefficient is multiplied by a corresponding preset weight (assuming that the corresponding weights are 1:2:3:2, respectively) to obtain the coefficient of volume increase or decrease, that is, the playback index value corresponding to the volume index, as well as the channel and playback frequency. Among them, the preset weight can be adjusted according to user preferences.
[0055] In this embodiment, the third thread opened by the perception module is used to collect the target timbre coefficient, overspeed increment coefficient, target noise coefficient and target light coefficient in real time, and is used to adjust the chime's baseline value, that is, the playback index value corresponding to the volume index, as well as the triggered playback timing, playback frequency, etc. In addition, an operating threshold range of the chime baseline value is set. If the chime baseline value is greater than the maximum value of the operating threshold range, the chime baseline value is adjusted to the maximum value of the operating threshold range; if the chime baseline value is less than the minimum value of the operating threshold range, the chime baseline value is adjusted to the minimum value of the operating threshold range. For example, the operating threshold range is set to 0-10. When the chime baseline value is greater than 10, it is set to 10. When the chime baseline value is less than 0, it is set to 0. Taking formula (1) as an example, the calculation method of the target volume coefficient is explained:
[0056] chime 新基准值 =chime 原基准值 +chime 目标音色系数 ×1+chime 超速增量系数 ×2
[0057] +chime 目标噪声系数 ×3+chime 目标光线系数 ×2 formula (1)
[0058] Among them, chime 新基准值 is the new baseline value, chime 原基准值 is the original reference value, i.e. the reference value calculated last time, chime 目标音色系数 is the target timbre coefficient, chime 超速增量系数 is the speed increment coefficient, chime 目标噪声系数 is the target noise coefficient, chime 目标光线系数 is the target light coefficient.
[0059] In this embodiment, the playback index value corresponding to the volume index is calculated by calculating each parameter coefficient and the weight corresponding to each parameter coefficient, and the playback index value corresponding to the volume index is adjusted by each parameter coefficient and the weight corresponding to each parameter coefficient. 原基准值 That is, the initial playback index value corresponding to the volume index, expressed in chime 原基准值 is 6, chime 目标音色系数 is 0.5, chime 超速增量系数 is 0.2, chime 目标噪声系数 is 1, chime 目标光线系数 Taking 0.5 as an example, chime is calculated according to formula (1): 新基准值 That is, the playback index value corresponding to the volume index is 10.9, and since the chime reference value ranges from 0 to 10, the playback index value corresponding to the final volume index is 10. It should be noted that this embodiment is only for illustrative purposes and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0060] In this embodiment, after obtaining the playback index value corresponding to the volume index, it is determined whether the volume, i.e., the playback index value corresponding to the volume index, exceeds the volume threshold range. If the volume is greater than the maximum value of the volume threshold range, the volume is set to the maximum value of the volume threshold range; if the volume is less than the minimum value of the volume threshold range, the volume is set to the minimum value of the volume threshold range. For example, the volume threshold range is set to 0-10. If the volume exceeds the maximum volume value of 10, the volume is set to the maximum volume value of 10. If the calculated value is lower than the minimum volume value of 0, the volume is set to the minimum volume value of 0.
[0061] In one embodiment of the present application, if the playback-related indicator is a channel indicator, the playback index value corresponding to the channel indicator is determined by the following method: obtaining direction information and multiple channels corresponding to each direction; determining the preset channel coefficients corresponding to each channel according to the influence relationship; determining the target channel coefficient corresponding to the direction information from each preset channel coefficient according to the matching result between the direction information and each channel, wherein the channel indicator and the target channel coefficient are positively correlated; and using the target channel coefficient as the playback index value corresponding to the channel indicator.
[0062] In this embodiment, the direction is determined by the data provided by the direction sensor, that is, the direction information, and the channel coefficient is determined according to the direction. For example, the channel corresponding to the left direction is the left channel, and the channel corresponding to the right direction is the right channel, wherein the channel coefficient of the left channel is set to 1, and the channel coefficient of the right channel is set to 2. It should be noted that the examples in this embodiment are only for illustrative purposes to more clearly explain the determination of the playback index value corresponding to the channel index, and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
[0063] In one embodiment of the present application, if the playback-related index is a timbre index, the playback index value corresponding to the timbre index is determined by the following method: the sound source type of the sound data to be played is obtained; the target timbre coefficient is obtained based on the sound source type, wherein, if the sound source type is an alarm type, the target timbre coefficient is an alarm coefficient, and if the sound source type is a prompt type, the target timbre coefficient is a prompt coefficient; the target timbre coefficient is used as the playback index value corresponding to the timbre index. Among them, the alarm coefficient can be 1, and the prompt coefficient can be 0.5. It should be noted that the alarm coefficient and the prompt coefficient in this embodiment are only for example and can be adjusted according to needs. This application does not limit this, and should not bring any limitations to the functions and scope of use of the embodiments of the present invention.
[0064] In this embodiment, the sound source type is determined. If the sound source type is an alarm type, it is determined whether the user has customized the timbre of the alarm type sound data. If so, the alarm coefficient is adjusted according to the timbre of the user-defined alarm type sound data, and the adjusted alarm coefficient is used as the target timbre coefficient. If the sound source type is a prompt type, it is determined whether the user has customized the timbre of the prompt type sound data. If so, the prompt coefficient is adjusted according to the timbre of the user-defined prompt type sound data, and the adjusted prompt coefficient is used as the target timbre coefficient.
[0065] In one embodiment of the present application, if the playback-related indicators are playback timing and playback frequency, the playback indicator value corresponding to the playback timing and the playback indicator value corresponding to the playback frequency are determined by the following method: matching the overspeed ratio with the preset ratio; determining the playback frequency from the preset frequency change according to the matching result, and determining the playback timing from the preset timing change according to the matching result; using the playback frequency as the playback indicator value corresponding to the playback frequency, and using the playback timing as the playback indicator value corresponding to the playback timing. Among them, the preset frequency change is the frequency change corresponding to the preset ratio, and the preset timing change is the timing change corresponding to the preset ratio.
[0066] In this embodiment, the initial playback frequency and initial playback timing are obtained, and the overspeed ratio is matched with the preset ratio; the playback frequency change is determined from the preset frequency change according to the matching result, and the playback frequency is determined according to the initial playback frequency and the playback frequency change; the playback timing change is determined from the preset timing change according to the matching result, and the playback timing is determined according to the initial playback timing and the playback timing change. The playback timing and playback frequency corresponding to the overspeed ratio are determined by looking up the overspeed table. For example, when the overspeed ratio is less than 10%, the playback timing is advanced by 1 second and the frequency is increased by 10%. It should be noted that this embodiment is only for illustration and should not bring any limitations to the functions and scope of use of the embodiments of the present invention.
[0067] In step S240, the target vehicle is controlled to adjust and play the sound data to be played according to the playback index value.
[0068] In one embodiment of the present application, the target vehicle is controlled to adjust the sound data to be played according to the playback index value corresponding to the playback-related index, and the sound data to be played is played according to the adjustment result.
[0069] In this embodiment, the volume of the sound data to be played is adjusted according to the playback index value corresponding to the volume index, the channel of the sound data to be played is adjusted according to the playback index value corresponding to the channel index, the timbre of the sound data to be played is adjusted according to the playback index value corresponding to the timbre index, the playback timing of the sound data to be played is adjusted according to the playback index value corresponding to the playback timing, the playback frequency of the sound data to be played is adjusted according to the playback index value corresponding to the playback frequency, and the sound data to be played is played according to the adjustment result.
[0070] In one embodiment of the present application, the current scene is obtained, the playback index value corresponding to the current scene and each playback-related index is matched, and each playback index value is saved in a parameter set corresponding to the current scene; the number of playback index values in the parameter set corresponding to the current scene is counted; if the number of playback index values is greater than a preset number, the playback index values are averaged to obtain the average value, and the average value is determined as a new playback index value; if the usage scenario is the current scene, the sound data to be played is adjusted according to the new playback index value.
[0071] In this embodiment, assuming that the preset number is set to 1000, if the usage scenario is the current scenario, and the number of playback index values is less than or equal to 1000, the playback index value is used to adjust the sound data to be played. If the usage scenario is the current scenario, and the number of playback index values is greater than 1000, the average value of the 1000 playback index values saved most recently is calculated to obtain a new playback index value, and the sound data to be played is adjusted according to the new playback index value. This prevents the failure of the sensor to obtain the corresponding data in real time, thereby preventing the failure to adjust the sound data to be played.
[0072] Figure 3 FIG. 4 is a flow chart of a sound adjustment method shown in another exemplary embodiment of the present application.
[0073] Reference Figure 3 As shown, in this exemplary embodiment, Figure 3 The steps and specific contents in the above embodiments are described in detail and will not be repeated here. Figure 3 The determination of the sound source type, direction, whether it is still, noise environment and darkness are performed sequentially, but the execution order of the above five determinations is not limited here, that is, the above five determinations can be performed sequentially or simultaneously, and the order of the sequential execution can be arbitrarily, and this application does not impose any limitation on this.
[0074] This application determines the coefficient of the current parameter value through the influence relationship, obtains the index coefficient corresponding to the index-related parameter, and calculates according to the index coefficient to obtain the playback index value corresponding to the playback-related index. According to the playback index value, the target vehicle is controlled to adjust and play the sound data to be played, and the sound is automatically adjusted. There is no need for the driver to distract his attention to find and operate the physical button, which can reduce the driver's distraction risk and improve driving safety. This application uses the vehicle's sensor data (such as speed, noise, light intensity, etc.), and the vehicle can perceive the driving environment in real time, and automatically adjust the volume, timbre, playback timing and playback frequency of the prompt sound accordingly, ensuring that the best prompt effect can be achieved in any situation. It can not only enhance the timeliness of the vehicle's broadcast of various important information, but also improve the overall quality of the car interior, creating a more advanced and humane driving environment.
[0075] Figure 4 is a block diagram of a sound adjustment device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the computer device 102. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0076] like Figure 4 As shown, the exemplary sound adjustment device includes: a setting module 410 , a collection module 420 , a calculation module 430 and an adjustment module 440 .
[0077] Among them, the setting module 410 is used to pre-set the playback-related indicators of the target vehicle, and determine the indicator-related parameters corresponding to the playback-related indicators, and the influence relationship between the playback-related indicators and the indicator-related parameters, wherein the influence relationship includes a positive correlation or a negative correlation; the acquisition module 420 is used to collect data from the target vehicle according to the indicator-related parameters, and obtain the current parameter value corresponding to the indicator-related parameters; the calculation module 430 is used to determine the coefficient of the current parameter value according to the influence relationship, obtain the indicator coefficient corresponding to the indicator-related parameters, and calculate according to the indicator coefficient to obtain the playback index value corresponding to the playback-related indicator; the adjustment module 440 is used to control the target vehicle to adjust and play the sound data to be played according to the playback index value.
[0078] It should be noted that the sound adjustment device provided in the above embodiment and the sound adjustment method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the sound adjustment device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0079] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the sound adjustment method provided in the above-mentioned embodiments.
[0080] Figure 5 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0081] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the methods provided in the above-mentioned various embodiments. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0082] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0083] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0084] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0085] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0086] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0087] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the sound adjustment method provided in the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
[0088] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0089] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the sound adjustment method provided in each of the above embodiments.
[0090] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0091] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0092] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A sound adjustment method, characterized in that: include: Presetting a playback-related index of a target vehicle, and determining an index-related parameter corresponding to the playback-related index, and an influence relationship between the playback-related index and the index-related parameter, wherein the influence relationship includes a positive correlation or a negative correlation; Collect data on the target vehicle according to the index-related parameters to obtain current parameter values corresponding to the index-related parameters; Determine the coefficient of the current parameter value according to the influence relationship to obtain the index coefficient corresponding to the index-related parameter, and calculate according to the index coefficient to obtain the playback index value corresponding to the playback-related index; Controlling the target vehicle to adjust and play the sound data to be played according to the playback index value; If the playback-related indicator is a channel indicator, the playback indicator value corresponding to the channel indicator is determined by the following method: Obtain direction information and multiple channels corresponding to each direction; Determine preset channel coefficients corresponding to the channels respectively according to the influence relationship; Determining a target channel coefficient corresponding to the directional information from each of the preset channel coefficients according to a matching result between the directional information and each of the channels, wherein the channel index is positively correlated with the target channel coefficient; Using the target vocal channel coefficient as the playback index value corresponding to the vocal channel index; If the playback-related indicator is a volume indicator, the playback indicator value corresponding to the volume indicator is calculated by the following method: Acquiring vehicle operation data and driving environment data of the target vehicle, wherein the vehicle operation data includes driving speed, and the driving environment data includes road speed limit information, noise information, and light intensity information; If the driving speed is greater than the road speed limit information, the speeding ratio is calculated based on the driving speed and the road speed limit information, and the speeding increment coefficient corresponding to the speeding ratio is determined from the preset speeding coefficient according to the matching result between the speeding ratio and the preset ratio range, wherein the volume index is positively correlated with the speeding increment coefficient; According to the matching result between the noise information and the preset noise range, determining the target noise coefficient corresponding to the noise information from the preset noise coefficient, wherein the volume index is positively correlated with the target noise coefficient; Based on the matching result between the illumination intensity information and the preset illumination range, determining a target light coefficient corresponding to the illumination intensity information from preset light coefficients, wherein the volume index is negatively correlated with the target light coefficient; A weighted sum calculation is performed according to the overspeed increment coefficient, the target noise coefficient, the target light coefficient and the weights corresponding to each parameter coefficient to obtain a playback index value corresponding to the volume index, wherein the parameter coefficient includes at least one of the overspeed increment coefficient, the target noise coefficient and the target light coefficient.
2. The sound adjustment method according to claim 1, characterized in that: If the playback-related index is a timbre index, the playback index value corresponding to the timbre index is determined by the following method: Obtain the sound source type of the sound data to be played; The target timbre coefficient is obtained based on the sound source type, wherein if the sound source type is an alarm type, the target timbre coefficient is an alarm coefficient, and if the sound source type is a prompt type, the target timbre coefficient is a prompt coefficient; The target timbre coefficient is used as the playback index value corresponding to the timbre index.
3. The sound adjustment method according to claim 1, characterized in that: If the playback related index is the playback timing and the playback frequency, the playback index value corresponding to the playback timing and the playback index value corresponding to the playback frequency are determined by the following method: matching the overspeed ratio with a preset ratio; Determining the playback frequency from a preset frequency change according to the matching result, and determining the playback timing from a preset timing change according to the matching result; The playback frequency is used as the playback index value corresponding to the playback frequency, and the playback timing is used as the playback index value corresponding to the playback timing.
4. The sound adjustment method according to any one of claims 1 to 3, characterized in that: Determining the coefficient of the current parameter value according to the influence relationship to obtain the indicator coefficient corresponding to the indicator-related parameter includes: Obtain multiple value ranges corresponding to the indicator-related parameters; Determine the target coefficients corresponding to the respective value ranges according to the influence relationship; The indicator coefficient corresponding to the indicator-related parameter is determined from each of the target coefficients according to the matching result between the current parameter value and each of the value ranges.
5. The sound adjustment method according to any one of claims 1 to 3, characterized in that: Before collecting data of the target vehicle according to the index-related parameters and obtaining current parameter values corresponding to the index-related parameters, the method further includes: receiving a sound playing request, wherein the sound playing request includes a sound data identifier; The to-be-played sound data corresponding to the sound data identifier is stored in a sound playing queue, so as to obtain the to-be-played sound data from the sound playing queue; Get the currently playing sound data; If the priority of the to-be-played sound data is lower than or equal to the priority of the currently-played sound data, continue to play the currently-played sound data; If the priority of the to-be-played sound data is higher than the priority of the currently-played sound data, then the playing of the currently-played sound data is stopped.
6. A sound adjustment device, characterized in that: include: A setting module, used to pre-set the playback-related index of the target vehicle, and determine the index-related parameter corresponding to the playback-related index, and the influence relationship between the playback-related index and the index-related parameter, wherein the influence relationship includes a positive correlation or a negative correlation; A collection module, used for collecting data of the target vehicle according to the index-related parameters, and obtaining current parameter values corresponding to the index-related parameters; A calculation module, used to determine the coefficient of the current parameter value according to the influence relationship, obtain the index coefficient corresponding to the index-related parameter, and calculate according to the index coefficient to obtain the playback index value corresponding to the playback-related index; An adjustment module, used for controlling the target vehicle to adjust and play the sound data to be played according to the playback index value; If the playback-related index is a channel index, the calculation module determines the playback index value corresponding to the channel index by the following method: obtaining direction information and a plurality of channels corresponding to each direction; determining preset channel coefficients corresponding to each of the channels according to the influence relationship; determining a target channel coefficient corresponding to the direction information from each of the preset channel coefficients according to a matching result between the direction information and each of the channels, wherein the channel index is positively correlated with the target channel coefficient; and using the target channel coefficient as the playback index value corresponding to the channel index; If the playback-related index is a volume index, the calculation module calculates the playback index value corresponding to the volume index by the following method: obtaining vehicle operation data and driving environment data of the target vehicle, the vehicle operation data including driving speed, and the driving environment data including road speed limit information, noise information and light intensity information; if the driving speed is greater than the road speed limit information, calculating the speeding ratio based on the driving speed and the road speed limit information, and determining the speeding increment coefficient corresponding to the speeding ratio from the preset speeding coefficient according to the matching result between the speeding ratio and the preset ratio range, wherein the volume index is positively correlated with the speeding increment coefficient; and determining the speeding increment coefficient according to the matching result between the noise information and the preset noise range. Based on the matching result between the illumination intensity information and the preset illumination range, the target noise coefficient corresponding to the noise information is determined from the preset noise coefficient, wherein the volume index is positively correlated with the target noise coefficient; based on the matching result between the illumination intensity information and the preset illumination range, the target light coefficient corresponding to the illumination intensity information is determined from the preset light coefficient, wherein the volume index is negatively correlated with the target light coefficient; and a weighted sum calculation is performed according to the weights corresponding to the overspeed increment coefficient, the target noise coefficient, the target light coefficient and each parameter coefficient to obtain a playback index value corresponding to the volume index, wherein the parameter coefficient includes at least one of the overspeed increment coefficient, the target noise coefficient and the target light coefficient.
7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the sound adjustment method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the sound adjustment method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle warning system
CN100999215A
Volume adjustable pedestrian voice reminding device of new energy automobile
CN103927849A