Method and device for adjusting speed of vehicle cabin, computer device and storage medium

By collecting in-vehicle noise and speed data in real time, dynamically calculating the volume gain value, and automatically adjusting the output volume of the vehicle's infotainment system, the problem of in-vehicle noise affecting the auditory experience and the need for frequent manual volume adjustments is solved, thus improving driving safety and auditory experience.

CN117360419BActive Publication Date: 2026-07-21BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
Filing Date
2023-11-07
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

The impact of in-vehicle noise on the driver's auditory experience and the driving risks posed by frequent manual volume adjustments indicate that existing in-vehicle systems lack adaptability and intelligence to changes in environmental noise.

Method used

By collecting real-time in-vehicle ambient noise levels and combining this with vehicle speed analysis services, the system dynamically calculates volume gain and automatically adjusts the vehicle's output volume to adapt to different driving conditions and noise levels.

Benefits of technology

It enhances the driver's auditory experience, reduces driving risks, avoids the distraction of frequently manually adjusting the volume, and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117360419B_ABST
    Figure CN117360419B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a method for adjusting sound according to speed in a driving cabin, which is used for adjusting sound in the driving cabin, comprising: generating a vehicle speed-noise measurement value set queue according to a preset vehicle speed measurement value set and a noise measurement value set within a measurement time, wherein the vehicle speed measurement value and the noise measurement value in the vehicle speed-noise measurement value set queue correspond to each other based on a time node within the measurement time; configuring a volume gain value queue according to the vehicle speed-noise measurement value set queue; obtaining a plurality of noise measurement values corresponding to a plurality of vehicle speed measurement values within an actual driving time; obtaining a corresponding volume gain value in the volume gain value queue according to the noise measurement value; and calculating a predicted volume value according to a current volume value and the volume gain value to adjust an actual volume. Through the method, the car audio volume can be automatically adjusted by in-vehicle environment sensing and volume gain configuration, different driving states and noise levels can be automatically adapted, and driving safety can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent driving technology, and in particular to a method, device, computer equipment and storage medium for adjusting the sound of a vehicle cabin according to speed. Background Technology

[0002] With the increasing popularity of automobiles and the improvement of people's living standards, more and more vehicles are equipped with in-vehicle entertainment systems. Audio and video playback, map navigation, and intelligent voice assistants on these systems have become important factors for consumers when choosing a car. In-vehicle noise is one of the main factors affecting the audio entertainment experience. External noise and the noise from the engine, brakes, tires, and other components of the vehicle itself can all impact music quality, requiring frequent manual volume adjustments to improve the listening experience. This frequent operation increases driving risk and reduces driver satisfaction with volume control. With the continuous improvement of voice recognition and gesture recognition technologies, these two interaction methods have gradually entered people's daily lives. In-vehicle operation, both methods provide drivers with a more convenient and safer interface, reducing driving risks and the possibility of distraction. In-vehicle entertainment systems play a crucial role, and the development of advanced technologies such as environmental perception and automatic adjustment, voice control, and gesture recognition provides technical support and possibilities for the realization of this solution. However, the in-vehicle system suffers from insufficient adaptability and intelligence to changes in environmental noise during multimedia resource playback. This leads to issues such as the impact of in-vehicle noise on the driver's auditory experience, the driving risks associated with frequent manual volume adjustments, and the impact on driver satisfaction. Summary of the Invention

[0003] This application provides a method, apparatus, computer device, and storage medium for adjusting the volume of a vehicle cabin according to speed, aiming to solve the problems of the impact of in-vehicle noise on the driver's auditory experience and the driving risks caused by frequent manual volume adjustment.

[0004] In a first aspect, embodiments of this application provide a method for adjusting the sound in a vehicle cabin according to speed. This method includes adjusting the sound in the vehicle cabin by calculating a vehicle speed-noise measurement value set queue based on a set of vehicle speed measurements and a set of noise measurements. The vehicle speed measurement value set contains vehicle speed measurements within a preset measurement time period that correspond one-to-one with time nodes of the measurement time. The noise measurement value set contains noise measurements within the measurement time period that correspond one-to-one with time nodes of the measurement time. A volume gain value queue is configured based on the vehicle speed-noise measurement value set queue. The volume gain value queue includes several volume gain values ​​corresponding to the noise measurements. Several actual vehicle speed measurements within the actual driving time period are matched with the vehicle speed-noise measurement value set queue to obtain several noise measurements corresponding to the several actual vehicle speed measurements as target noise values. The volume gain value matching the target noise value in the volume gain value queue is obtained as a target volume gain value. If the target volume gain value is less than a preset sound buffer threshold, a predicted volume value is calculated based on the current volume value and the target volume gain value to adjust the actual volume.

[0005] Secondly, embodiments of this application also provide a vehicle cabin speed-sensitive audio adjustment device, comprising: a first queue generation unit, configured to generate a vehicle speed-noise measurement value set queue based on a preset set of vehicle speed measurement values ​​and a set of noise measurement values ​​within a measurement time; a second queue generation unit, configured to configure a volume gain value queue based on the vehicle speed-noise measurement value set queue; a first measurement value acquisition unit, configured to acquire several noise measurement values ​​corresponding to several vehicle speed measurement values ​​within the actual driving time; a second measurement value acquisition unit, configured to acquire the corresponding volume gain value in the volume gain value queue based on the noise measurement value; and a volume value generation unit, configured to generate a predicted volume value based on the current volume value and the volume gain value if the volume gain value is less than a preset audio buffer threshold.

[0006] Thirdly, embodiments of this application also provide a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0007] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, can implement the above-described method.

[0008] This application provides a method, device, computer equipment, and storage medium for adjusting the sound of a vehicle cabin according to its speed. The method includes: generating a vehicle speed-noise measurement value set queue based on a set of vehicle speed measurements and a set of noise measurements; the vehicle speed measurement value set containing vehicle speed measurements within a preset measurement time period that correspond one-to-one with time nodes of the measurement time; the noise measurement value set containing noise measurements within the measurement time period that correspond one-to-one with time nodes of the measurement time; configuring a volume gain value queue based on the vehicle speed-noise measurement value set queue, the volume gain value queue including several volume gain values ​​corresponding to the noise measurements; matching several actual vehicle speed measurements within the actual driving time period with the vehicle speed-noise measurement value set queue to obtain several noise measurements corresponding to the several actual vehicle speed measurements as target noise values; obtaining the matching volume gain value from the volume gain value queue based on the target noise value as a target volume gain value; if the target volume gain value is less than a preset tuning buffer threshold, calculating and generating a predicted volume value based on the current volume value and the target volume gain value to adjust the actual volume. The technical solution disclosed in this application uses in-vehicle environment perception technology to collect the in-vehicle ambient noise level in real time and combines it with a preset volume gain configuration. The optimal volume gain value is dynamically calculated during driving based on this configuration. When the vehicle system starts, the vehicle speed analysis service loads all volume gain configurations and registers vehicle speed monitoring. During driving, if this function is enabled, the vehicle speed analysis service monitors changes in vehicle speed and calculates the optimal volume gain value based on different driving states (such as acceleration, deceleration, and constant speed) and the volume gain configuration. This dynamic calculation method automatically adjusts the output volume of the vehicle system without manual intervention, automatically adapting to different driving conditions and noise levels. Through interaction with the Android volume adjustment interface, the volume gain value is passed layer by layer to the AudioHal layer, thereby adjusting the output volume of the vehicle system. This dynamic adjustment method not only improves the driver's auditory experience but also avoids the distraction of frequently manually adjusting the volume, reducing driving risks and allowing the driver to focus more on road and traffic conditions. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A schematic flowchart of the vehicle cabin speed-sensitive sound adjustment method provided in the embodiments of this application;

[0011] Figure 2 A schematic diagram of a sub-process of the vehicle cabin speed-sensitive sound adjustment method provided in the embodiments of this application;

[0012] Figure 3 Another sub-process diagram of the vehicle cabin speed-sensitive sound adjustment method provided in another embodiment of this application;

[0013] Figure 4 Another sub-process diagram of the vehicle cabin speed-sensitive sound adjustment method provided in another embodiment of this application;

[0014] Figure 5 Another embodiment of the vehicle cabin speed-sensitive sound adjustment method provided in this application is illustrated in another sub-process diagram.

[0015] Figure 6 A schematic block diagram of a vehicle cabin speed-sensitive audio tuning device provided in an embodiment of this application;

[0016] Figure 7 A schematic block diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0018] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0019] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0020] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any and all combinations of one or more of the associated listed items, and includes such combinations.

[0021] This application provides a method, apparatus, computer equipment, and storage medium for adjusting the audio in a vehicle cabin according to speed.

[0022] The vehicle cabin speed-sensitive audio tuning method can be implemented by the vehicle cabin speed-sensitive audio tuning device provided in the embodiments of this application, or by an in-vehicle intelligent device that integrates the vehicle cabin speed-sensitive audio tuning device. The vehicle cabin speed-sensitive audio tuning device can be implemented in hardware or software, and the computer device can be an in-vehicle terminal.

[0023] This method of adjusting the cabin noise at speed is applied to... Figure 7 Among the 500 computer devices.

[0024] Figure 1 This is a schematic flowchart of the vehicle cabin speed-sensitive sound adjustment method provided in the embodiments of this application. Figure 1 As shown, the method includes the following steps S110-S150.

[0025] S110. Calculate and generate a vehicle speed-noise measurement value set queue based on the set of vehicle speed measurement values ​​and the set of noise measurement values ​​within a preset measurement time.

[0026] Specifically, the vehicle speed measurement set contains vehicle speed measurements within a preset measurement time period, each corresponding to a specific time node. Similarly, the noise measurement set contains noise measurements within the same measurement time period, also corresponding to specific time nodes. Vehicle speed and noise are measured at fixed time intervals within the preset measurement time period. For example, vehicle speed and noise are measured once per second. At each time node, the current vehicle speed and noise measurement values ​​are recorded and stored in the vehicle speed measurement set and the noise measurement set, respectively. These sets are then linked chronologically to form a vehicle speed-noise measurement set. For example, assuming a preset time of 10 seconds, the vehicle speed-noise measurement set would include 10 sets of vehicle speed and noise measurements, each representing the measurement result at the current time node. Based on the vehicle speed-noise measurement set, a gain value for adjusting the volume is intelligently calculated. Specifically, the gain value calculation can be based on certain rules and algorithms, such as thresholding, linear regression, or neural networks. Different algorithms consider different factors, such as vehicle speed, noise, and the number of passengers, to determine the most suitable volume level. This method applies gain values ​​to the audio system in the vehicle cabin to automatically adjust the volume. For example, this can be achieved by adjusting the gain or volume of the audio equipment. In short, this speed-sensitive volume control method for the vehicle cabin intelligently processes vehicle speed and noise measurements to calculate the optimal volume level and automatically applies it to the audio equipment in the cabin, thereby improving the passenger's auditory experience and driving safety. Furthermore, this method can adapt to volume adjustment needs under different vehicle speeds and noise levels, demonstrating good adaptability and versatility.

[0027] S120. Configure a volume gain value queue based on the vehicle speed-noise measurement value set queue.

[0028] Specifically, the volume gain value queue includes several volume gain values ​​corresponding to noise measurement values. The volume gain value queue can be constructed based on the gain values ​​calculated from the vehicle speed-noise measurement value set queue. This queue includes several volume gain values ​​corresponding to noise measurement values, used to adjust the volume of audio equipment in the vehicle cabin according to speed. Specifically, the gain values ​​can be stored in the volume gain value queue in chronological order for quick subsequent lookup and application. For example, assuming the vehicle speed-noise measurement value set includes 10 sets of measurements, corresponding to time points t1 to t10, then the volume gain value queue can consist of 10 volume gain values, each corresponding to a noise measurement value at a given time point. When the vehicle cabin needs to adjust the volume, it only needs to query the noise measurement value at the current time point and retrieve the corresponding volume gain value from the volume gain value queue to achieve intelligent speed-sensitive volume adjustment. The volume gain queue is one of the keys to realizing speed-sensitive audio tuning in the vehicle cabin. It intelligently calculates the gain value and correlates it with time and noise measurements for quick lookup and application, enabling audio equipment in the vehicle cabin to automatically and accurately adjust the volume and provide a better audio experience.

[0029] S130. Match several actual vehicle speed measurements during the actual driving time with a set of vehicle speed-noise measurement values ​​to obtain several noise measurement values ​​corresponding to the several actual vehicle speed measurements as target noise values.

[0030] Specifically, obtaining several noise measurement values ​​corresponding to several vehicle speed measurements during actual driving time can be achieved through the following steps: Set the sampling time interval and sampling duration. For example, sample once per second for a sampling duration of 10 seconds. Within the sampling duration, measure vehicle speed and noise at the specified sampling time intervals. For example, measure vehicle speed and noise once per second for a total of 10 measurements within 10 seconds. Store the measurement results in chronological order in a set of vehicle speed measurement values ​​and a set of noise measurement values. For example, assume the obtained set of vehicle speed measurement values ​​is [20,25,30,35,40,45,50,55,60,65], and the set of noise measurement values ​​is [60,63,68,72,75,78,80,82,85,87]. Query the corresponding noise measurement value based on the desired vehicle speed measurement value. For example, to obtain noise measurement values ​​corresponding to vehicle speeds of 45 km / h and 55 km / h, one would query the 6th and 8th elements (i.e., 45 and 55) in the set of vehicle speed measurements, which correspond to noise measurements of 78 dB and 82 dB, respectively. Obtaining several noise measurement values ​​corresponding to several vehicle speed measurements over an actual driving period requires real-time sampling of both vehicle speed and noise, storing the measurement results in chronological order, and enabling rapid indexing and retrieval when needed.

[0031] S140. Obtain the matching volume gain value from the volume gain value queue based on the target noise value as the target volume gain value.

[0032] Specifically, obtaining the corresponding volume gain value from the volume gain value queue based on the noise measurement value can be achieved through the following steps: Obtain the desired noise measurement value. Iterate through each element in the volume gain value queue, comparing the corresponding noise measurement value with the queried noise measurement value. A certain error range can be used to determine whether two noise measurements are similar. For example, if the difference between two noise measurements is less than or equal to 2dB, they are considered similar. If a similar noise measurement value is found, the corresponding volume gain value is returned. If no similar noise measurement value is found, the volume gain value corresponding to the closest noise measurement value is selected. If the volume gain value queue is empty or no matching noise measurement value is found, a default value or an error message is returned. For example, to query a volume gain value with a noise measurement value of 73dB, the following steps can be performed: Obtain the desired noise measurement value of 73dB. Iterate through each element in the volume gain value queue, comparing the corresponding noise measurement value with 73dB. In this example, noise measurements close to 73dB are 70dB and 75dB. The volume gain value is -2dB for a noise measurement of 70dB and 0dB for a noise measurement of 75dB. Since 73dB falls between 70dB and 75dB, a linear interpolation of these two volume gain values ​​can be chosen as 73dB: (75-73) / (75-70)*(-2) + (73-70) / (75-70)*0 = -1. Therefore, the volume gain value corresponding to 73dB is -1dB. Obtaining the corresponding volume gain value from the volume gain value queue based on the noise measurement requires traversing the queue and performing the corresponding search and calculation. Methods such as linear interpolation can be used to handle unmatched noise measurements to improve the accuracy and precision of the query.

[0033] S150. If the target volume gain value is less than the preset tuning buffer threshold, a predicted volume value is calculated based on the current volume value and the target volume gain value to adjust the actual volume.

[0034] Specifically, if the volume gain value is less than a preset tuning buffer threshold, and a predicted volume value needs to be calculated based on the current volume value and the volume gain value, a specific algorithm is executed to calculate the predicted volume value. This algorithm can be determined based on specific needs. For example, the current volume value can be simply added to the volume gain value to obtain the predicted volume value. In short, if the volume gain value is less than the preset tuning buffer threshold, and a prediction calculation is performed based on the current volume value and the volume gain value, a specific algorithm or formula needs to be used to perform the calculation and generate the predicted volume value. This allows the current volume to be adjusted based on the volume gain to obtain the predicted volume value.

[0035] In summary, applying volume gain values ​​to the audio tuning process in a vehicle cabin brings the following effects and advantages: Volume gain values ​​allow for real-time adjustment of the cabin volume based on the current driving conditions. By acquiring vehicle speed and noise levels and generating a volume gain value queue based on a preset set of measurements, the system can accurately determine the current noise level and adjust the volume accordingly to adapt to different driving environments. Automatically adjusting the volume based on measured noise levels effectively reduces in-vehicle noise interference, providing a better listening experience. When vehicle speed is high or noise is loud, the volume gain value increases accordingly to ensure passengers can hear the audio clearly. Conversely, when vehicle speed is low or noise is low, the volume gain value decreases appropriately to avoid excessive volume causing discomfort. The application of volume gain values ​​automates the tuning process, reducing the operational burden on drivers and passengers. Without the need for manual volume adjustment, the system can intelligently judge and adjust based on real-time data, providing a consistent and suitable audio experience. Appropriate volume adjustment is crucial for driving safety. Excessively high or low volumes can interfere with the driver's perception of the external environment, thus affecting driving safety. By adjusting the volume gain value in real time, the volume can be kept within a suitable range, preventing negative impacts on the driver's attention and improving driving safety. In summary, the application of volume gain values ​​allows for intelligent adjustment of the vehicle's cabin volume based on real-time vehicle speed and noise levels, providing a better auditory experience. Furthermore, the automated tuning process reduces operational burden and enhances driving safety. This method achieves a dynamic correlation between volume and driving conditions through technological means, bringing a more comfortable and convenient audio experience to passengers. When volume gain values ​​are applied to the tuning process in the vehicle cabin, it achieves the following effects and advantages. First, by measuring vehicle speed and noise levels and generating a volume gain value queue based on a preset set of measurements, the system can adapt to different driving conditions in real time, providing a better auditory experience. Second, through the automated tuning process, volume adjustment requires no manual intervention; the system intelligently judges and adjusts based on real-time data, reducing the operational burden on the driver or passengers. In addition, the application of volume gain values ​​can also reduce in-vehicle noise interference, providing clear audio content and enhancing the auditory enjoyment of passengers. Meanwhile, appropriate volume adjustment can also improve driving safety, preventing excessively loud or soft volumes from negatively impacting the driver's attention. In short, this method intelligently adjusts volume to adapt to different driving environments, providing passengers with a more comfortable and convenient audio experience.

[0036] like Figure 2 As shown, before executing step S110, steps S111-S113 are also specifically included:

[0037] S111. Set a preset measurement time and determine several time nodes based on the unit time within the measurement time.

[0038] Specifically, when generating a vehicle speed-noise measurement value set queue based on a preset set of vehicle speed and noise measurement values ​​within a predetermined measurement time, one step involves determining several time nodes within the preset measurement time and based on the unit time within that time. For example, assuming the preset measurement time is 1 hour and the unit time is 10 minutes, the time nodes can be determined as follows: 1. Obtain the preset measurement time as 1 hour and the unit time as 10 minutes. 2. Calculate the required number of time nodes. 1 hour has 60 minutes, and the unit time is 10 minutes, therefore a total of 6 time nodes are needed. 3. Determine the specific time point of each time node. Starting from the start time of the measurement time, determine the time point of each time node sequentially at 10-minute intervals. In this way, several time nodes are determined based on the preset measurement time and unit time. The following steps can use these time nodes to calculate the vehicle speed-noise measurement values ​​and generate the set queue.

[0039] S112. Obtain several vehicle speed measurement values ​​and noise measurement values ​​corresponding to the time nodes.

[0040] Specifically, when obtaining several vehicle speed and noise measurement values ​​corresponding to a time node, it is necessary to find the corresponding measurement values ​​in the sets of vehicle speed and noise measurement values ​​based on the specific time point of the time node and establish a correspondence. This allows us to obtain the vehicle speed and noise measurement values ​​for each time node.

[0041] S113. Merge the generated vehicle speed measurement value set and noise measurement value set to obtain the vehicle speed-noise measurement value set queue.

[0042] Specifically, based on the start and end times within the preset measurement period and the measurement time interval, several time nodes are calculated. These time nodes can be obtained by progressively increasing the measurement time interval at equal intervals. For each time node, the corresponding vehicle speed and noise measurement values ​​are obtained. Based on the specific time point of each time node, the corresponding measurement values ​​are found in the sets of vehicle speed and noise measurement values. The found vehicle speed and noise measurement values ​​are merged into a vehicle speed-noise measurement value pair and added to the vehicle speed-noise measurement value set queue. The above steps are repeated until vehicle speed-noise measurement value pairs for all time nodes are obtained. For example, assuming the preset measurement period is one hour from the start time to the end time, and the measurement time interval is once every 10 minutes, then based on the measurement time interval, six time nodes can be obtained: start time, start time + 10 minutes, start time + 20 minutes, start time + 30 minutes, start time + 40 minutes, and start time + 50 minutes. Then, for each time node, the corresponding measurement value is found in the sets of vehicle speed and noise measurement values. The found vehicle speed and noise measurements are merged into vehicle speed-noise measurement pairs and added to the vehicle speed-noise measurement set queue in chronological order. Finally, the resulting vehicle speed-noise measurement set queue represents the result calculated from the vehicle speed and noise measurement sets within a preset measurement time.

[0043] like Figure 3 As shown, in a more specific embodiment, step S120 further includes performing steps S121-S124:

[0044] S121. Based on several time points within the measurement period, sort and organize the vehicle speed measurement values ​​and noise measurement values ​​respectively.

[0045] Specifically, based on the start and end times within the preset measurement period and the measurement time interval, several time nodes are calculated. These time nodes can be obtained by gradually increasing the measurement time interval at equal intervals. For each time node, the corresponding vehicle speed-noise measurement value pair is found in the vehicle speed-noise measurement value queue. For each vehicle speed-noise measurement value pair, the corresponding volume gain value is calculated based on the specific values ​​of vehicle speed and noise. The specific calculation method can be determined according to actual needs; for example, it can be calculated using a certain mathematical formula. The calculated volume gain value is added to the volume gain value queue, arranged in chronological order. The above steps are repeated until the volume gain values ​​for all time nodes are calculated. For example, assuming the preset measurement time is one hour from the start time to the end time, and the measurement time interval is once every 10 minutes, then based on the measurement time interval, six time nodes can be obtained: start time, start time + 10 minutes, start time + 20 minutes, start time + 30 minutes, start time + 40 minutes, and start time + 50 minutes. Then, for each time point, the corresponding vehicle speed-noise measurement value pair is found in the vehicle speed-noise measurement value set queue, and the corresponding volume gain value is calculated. The calculated volume gain values ​​are added to the volume gain value queue in chronological order, and the resulting volume gain value queue is the result configured according to the vehicle speed-noise measurement value set queue.

[0046] S122. Based on the sorted and organized vehicle speed measurement values ​​and noise measurement values, calculate and generate vehicle speed change curves and noise change curves respectively.

[0047] Specifically, based on vehicle speed and noise measurement values, separate curves for vehicle speed and noise variation can be generated. By observing the trends of these two curves, a preliminary assessment of the relationship between vehicle speed and noise can be made. The noise measurement values ​​are arranged chronologically and used as the horizontal axis. Calculating the difference between each adjacent noise measurement value yields a set of noise variation values. Using measurement time as the unit, the noise variation values ​​are plotted as a noise variation curve in chronological order. By observing the trends of the vehicle speed and noise variation curves, a preliminary assessment of the relationship between vehicle speed and noise can be made. For example, if the vehicle speed variation curve gradually rises while the noise variation curve gradually falls, it indicates that engine noise decreases at higher vehicle speeds; conversely, if both curves rise gradually, it indicates that engine noise increases at higher vehicle speeds.

[0048] S123. Generate volume gain information based on the vehicle speed change curve and noise change curve, and determine whether the volume gain information meets the volume gain standard. If the volume gain information meets the volume gain standard, generate the volume gain value.

[0049] Specifically, if the volume gain information meets the volume gain standard, a volume gain value is generated. Based on the vehicle speed change curve and the noise change curve, volume gain information can be generated, and it can be determined whether it meets the volume gain standard. First, based on the vehicle speed change curve and the noise change curve, a noise baseline value corresponding to the vehicle speed is determined. A time node in the vehicle speed change curve can be selected, and the corresponding noise value is used as the baseline value. The difference between the noise value at each time node and the baseline value is calculated, resulting in a set of noise gain values. That is, the noise value at the current time node minus the baseline value. According to the set volume gain standard, it is determined whether each noise gain value meets the standard. The standard can be a certain range or threshold; for example, a noise gain value within ±3dB is considered to meet the standard. Noise gain values ​​that meet the volume gain standard are considered valid volume gain information. Finally, the valid volume gain information is organized into a volume gain value queue, arranged in chronological order.

[0050] S124. Generate a volume gain value queue based on several volume gain values ​​within the measurement time.

[0051] Specifically, the volume gain value queue can list and store volume gain values ​​applicable to volume adjustment that correspond to noise measurements.

[0052] like Figure 4 As shown, in a more specific embodiment, step S140 further includes performing steps S141-S143:

[0053] S141. Set a vehicle speed range based on several vehicle speed measurements during the actual driving time. The vehicle speed range includes multiple noise measurement values ​​corresponding to the vehicle speed measurements.

[0054] Specifically, a speed range includes multiple noise measurements corresponding to the vehicle speed measurements. A speed range set based on several vehicle speed measurements taken during actual driving time typically includes multiple noise measurements corresponding to those speed measurements. First, the vehicle speed measurements recorded during the actual driving time are arranged in chronological order, and a time threshold is set to determine whether two vehicle speed measurements are within the same speed range. If the time difference between adjacent vehicle speed measurements is less than or equal to the time threshold, they are classified into the same speed range. Then, for each speed range, the corresponding noise measurement range needs to be determined. Generally, all noise measurements within a speed range can be sorted by size and divided into several sub-ranges. The specific partitioning method can be adjusted according to the actual situation, such as partitioning based on quantiles. By mapping noise measurements one-to-one with vehicle speed measurements, multiple speed ranges are formed, each containing multiple noise measurements corresponding to the vehicle speed measurements. Through the above steps, several vehicle speed measurements taken during actual driving time can be set into speed ranges, and the corresponding noise measurement range within each speed range can be determined for subsequent analysis and processing.

[0055] S142. Select the corresponding candidate volume gain value from the volume gain value queue based on the noise measurement value, and determine whether the candidate volume gain value reaches the upper limit of the vehicle speed range.

[0056] S143. If the candidate volume gain value reaches the upper limit of the vehicle speed range, then the candidate volume gain value shall be determined as the volume gain value.

[0057] Specifically, based on the noise measurement value, select the corresponding candidate volume gain value from the volume gain value queue, and determine whether the candidate volume gain value reaches the upper limit of the vehicle speed range. If it does, it is determined as the volume gain value. Compare the noise measurement value with the noise measurement value range corresponding to each candidate volume gain value, and find the candidate volume gain value within the first range. Obtain the vehicle speed range corresponding to the current vehicle speed, and obtain the upper limit of that range. Determine whether the selected candidate volume gain value reaches the upper limit of the vehicle speed range. Compare the selected candidate volume gain value with the upper limit of the vehicle speed range. If the candidate volume gain value is less than or equal to the upper limit of the vehicle speed range, it means that the candidate volume gain value meets the requirements; otherwise, the candidate volume gain value exceeds the upper limit of the vehicle speed range. If the candidate volume gain value reaches the upper limit of the vehicle speed range, it is determined as the volume gain value. Through the above steps, the corresponding candidate volume gain value can be selected based on the noise measurement value, and it can be determined whether the candidate volume gain value reaches the upper limit of the vehicle speed range. If the upper limit is reached, that value is set as the final volume gain. This allows the volume to be automatically adjusted based on noise levels and vehicle speed to meet noise control requirements.

[0058] like Figure 5 As shown, in a more specific embodiment, step S150 further includes performing steps S151-S153:

[0059] S151. Obtain the volume gain value corresponding to the vehicle speed range and calculate the average gain value.

[0060] Specifically, the system obtains the vehicle speed range corresponding to the current vehicle speed. It then retrieves all candidate volume gain values ​​within this speed range, i.e., all volume gain values ​​in the volume gain value queue corresponding to this speed range. The system calculates the average of these candidate volume gain values. Finally, it sums all the candidate volume gain values ​​and divides the sum by the number of candidate volume gain values ​​to obtain the average gain value. This calculated average gain value is used as the final volume gain value. This can be applied to the vehicle's audio system to control noise levels.

[0061] S152. Set the average gain value to the tuning buffer threshold and determine whether the volume gain value is less than the tuning buffer threshold.

[0062] S153. If the volume gain value is less than the tuning buffer threshold, the predicted volume value is obtained by summing the volume gain value with the current volume value.

[0063] Specifically, the calculated average gain value is used as the tuning buffer threshold. The current volume gain value is obtained. It is then determined whether the volume gain value is less than the tuning buffer threshold. The volume gain value is compared with the tuning buffer threshold. If the volume gain value is less than the tuning buffer threshold, the current volume gain value is low; otherwise, the current volume gain value has reached or exceeded the tuning buffer threshold. The calculated average gain value is set as the tuning buffer threshold. The current volume gain value is obtained. It is then determined whether the volume gain value is less than the tuning buffer threshold. The volume gain value is compared with the tuning buffer threshold. If the volume gain value is less than the tuning buffer threshold, the current volume gain value is low and volume adjustment is needed; otherwise, the current volume gain value has reached or exceeded the tuning buffer threshold and no volume adjustment is needed. If the volume gain value is less than the tuning buffer threshold, the predicted volume value is obtained by adding the current volume gain value to the current volume value. This allows for the prediction of the final volume value by adding the current volume gain value to the actual volume value.

[0064] Figure 6 This is a schematic block diagram of a vehicle cabin speed-sensitive audio adjustment device provided in an embodiment of this application. Figure 6 As shown, corresponding to the above-described vehicle cabin speed-sensitive audio tuning method, this application also provides a vehicle cabin speed-sensitive audio tuning device 100. This device includes a unit for performing the above-described vehicle cabin speed-sensitive audio tuning method, and can be configured in a desktop computer, tablet computer, laptop computer, or other terminal. Specifically, please refer to... Figure 6 The vehicle cabin speed-sensitive audio adjustment device 100 includes a first queue generation unit 110, a second queue generation unit 120, a first measurement value acquisition unit 130, a second measurement value acquisition unit 140, and a volume value generation unit 150.

[0065] The first pair of column generation unit 110 is used to calculate and generate a vehicle speed-noise measurement value set queue based on the vehicle speed measurement value set and the noise measurement value set within a preset measurement time.

[0066] The second queue generation unit 120 is used to configure a volume gain value queue according to the vehicle speed-noise measurement value set queue;

[0067] The first measurement value acquisition unit 130 is used to acquire several noise measurement values ​​corresponding to several vehicle speed measurement values ​​during the actual driving time.

[0068] The second measurement value acquisition unit 140 is used to acquire the corresponding volume gain value in the volume gain value queue based on the noise measurement value;

[0069] The volume value generation unit 150 is used to calculate and generate a predicted volume value based on the current volume value and the volume gain value if the volume gain value is less than the preset tuning buffer threshold.

[0070] In a more specific embodiment, the aforementioned vehicle cabin speed-sensitive audio adjustment device may further include a timing unit for presetting a measurement time and determining several time nodes based on unit time within the measurement time; a third measurement value acquisition unit for acquiring several vehicle speed measurement values ​​and noise measurement values ​​corresponding to the time nodes; a third queue generation unit for merging the generated vehicle speed measurement value set and noise measurement value set to obtain a vehicle speed-noise measurement value set queue; a sorting unit for sorting and organizing the vehicle speed measurement values ​​and noise measurement values ​​according to several time nodes within the measurement time; a calculation unit for calculating and generating vehicle speed change curves and noise change curves based on the sorted and organized vehicle speed measurement values ​​and noise measurement values; a volume gain information generation unit for generating volume gain information based on the vehicle speed change curve and noise change curve; a volume gain value generation unit for determining whether the volume gain information meets the volume gain standard, and if the volume gain information meets the volume gain standard, generating a volume gain value; and a fourth queue generation unit for generating a volume gain value queue based on several volume gain values ​​within the measurement time.

[0071] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned vehicle cockpit speed-sensitive audio adjustment device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0072] The aforementioned vehicle cabin speed-sensitive audio adjustment device can be implemented as a computer program, which can, for example... Figure 7 It runs on the computer device shown.

[0073] Please see Figure 7 , Figure 7 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a tablet computer, a laptop computer, a desktop computer, or an in-vehicle terminal device.

[0074] See Figure 7 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.

[0075] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a vehicle cabin speed-sensitive audio tuning method.

[0076] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0077] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a vehicle cabin speed-sensitive sound tuning method.

[0078] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0079] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0080] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0081] Therefore, this application also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the following steps:

[0082] A vehicle speed-noise measurement value queue is generated based on a set of vehicle speed measurements and a set of noise measurements within a preset measurement time. The vehicle speed and noise measurements in the queue correspond one-to-one with time nodes within the measurement time. A volume gain value queue is configured based on the vehicle speed-noise measurement value queue, which includes several volume gain values ​​corresponding to the noise measurements. Several noise measurements corresponding to several vehicle speed measurements within the actual driving time are obtained. The corresponding volume gain value in the volume gain value queue is obtained based on the noise measurements. If the volume gain value is less than a preset tuning buffer threshold, a predicted volume value is generated based on the current volume value and the volume gain value.

[0083] The storage medium can be any computer-readable storage medium that can store program code, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0084] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0085] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0086] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0087] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application.

[0088] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for adjusting the sound of a vehicle cabin according to speed, used for adjusting the sound in a vehicle cabin, characterized in that, include: A vehicle speed-noise measurement value set queue is generated based on the vehicle speed measurement value set and the noise measurement value set. The vehicle speed measurement value set contains vehicle speed measurement values ​​that are located within a preset measurement time and correspond one-to-one with the time nodes of the measurement time. The noise measurement value set contains noise measurement values ​​that are located within the measurement time and correspond one-to-one with the time nodes of the measurement time. A volume gain value queue is configured according to the vehicle speed-noise measurement value set queue, and the volume gain value queue includes several volume gain values ​​corresponding to the noise measurement values; Several actual vehicle speed measurements during the actual driving time are matched with the vehicle speed-noise measurement value set queue to obtain several noise measurement values ​​corresponding to the several actual vehicle speed measurements as target noise values. The target volume gain value is obtained by matching the volume gain value in the volume gain value queue based on the target noise value. If the target volume gain value is less than the preset tuning buffer threshold, a predicted volume value is calculated based on the current volume value and the target volume gain value to adjust the actual volume. Configure a volume gain value queue based on the vehicle speed-noise measurement value set queue, including: Based on several time points within the measurement time period, the vehicle speed measurement value and the noise measurement value are sorted and organized respectively. Based on the sorted and organized vehicle speed measurement values ​​and noise measurement values, vehicle speed change curves and noise change curves are calculated and generated respectively. Volume gain information is generated based on the vehicle speed change curve and the noise change curve. Determine whether the volume gain information conforms to the volume gain standard. If the volume gain information conforms to the volume gain standard, then generate a volume gain value. The volume gain value queue is generated based on a number of volume gain values ​​located within the measurement time. Obtaining the corresponding volume gain value from the volume gain value queue based on the noise measurement value includes: A vehicle speed range is set based on several vehicle speed measurements during the actual driving time, and the vehicle speed range includes multiple noise measurement values ​​corresponding to the vehicle speed measurements. Based on the noise measurement value, select the corresponding candidate volume gain value from the volume gain value queue, and determine whether the candidate volume gain value reaches the upper limit of the vehicle speed range; If the candidate volume gain value reaches the upper limit of the vehicle speed range, then the candidate volume gain value is determined as the volume gain value.

2. The method for adjusting the sound of a vehicle cabin according to speed as described in claim 1, characterized in that, Before generating the vehicle speed-noise measurement value set queue based on the vehicle speed measurement value set and the noise measurement value set within a preset measurement time, the method includes: Within a preset measurement time period, several time nodes are determined based on the unit time within the measurement time period; Acquire several vehicle speed measurement values ​​and noise measurement values ​​corresponding to the time node; The generated set of vehicle speed measurements and the set of noise measurements are merged to obtain the vehicle speed-noise measurement set queue.

3. The method for adjusting the sound of a vehicle cabin according to speed as described in claim 1, characterized in that, If the volume gain value is less than a preset tuning buffer threshold, a predicted volume value is calculated based on the current volume value and the volume gain value, including: Obtain the volume gain value corresponding to the vehicle speed range and calculate the average gain value; Set the average gain value to the tuning buffer threshold, and determine whether the volume gain value is less than the tuning buffer threshold; If the volume gain value is less than the tuning buffer threshold, the predicted volume value is obtained by summing the volume gain value with the current volume value.

4. A vehicle cabin speed-sensitive audio adjustment device, characterized in that, For performing the vehicle cabin speed-sensitive sound adjustment method according to any one of claims 1-3, the vehicle cabin speed-sensitive sound adjustment device comprises: The first pair of column generation units is used to calculate and generate a vehicle speed-noise measurement value set queue based on the vehicle speed measurement value set and the noise measurement value set within a preset measurement time. The second queue generation unit is used to configure a volume gain value queue according to the vehicle speed-noise measurement value set queue; configuring the volume gain value queue according to the vehicle speed-noise measurement value set queue includes: Based on several time points within the measurement time period, the vehicle speed measurement value and the noise measurement value are sorted and organized respectively. Based on the sorted and organized vehicle speed measurement values ​​and noise measurement values, vehicle speed change curves and noise change curves are calculated and generated respectively. Volume gain information is generated based on the vehicle speed change curve and the noise change curve. Determine whether the volume gain information conforms to the volume gain standard. If the volume gain information conforms to the volume gain standard, then generate a volume gain value. The volume gain value queue is generated based on a number of volume gain values ​​located within the measurement time. The first measurement value acquisition unit is used to acquire several noise measurement values ​​corresponding to several vehicle speed measurement values ​​during the actual driving time. The second measurement value acquisition unit is used to acquire the corresponding volume gain value in the volume gain value queue based on the noise measurement value; A volume value generation unit is used to calculate and generate a predicted volume value based on the current volume value and the volume gain value if the volume gain value is less than a preset tuning buffer threshold. The sorting unit is used to sort and organize the vehicle speed measurement value and the noise measurement value according to several time nodes within the measurement time period. The calculation unit is used to calculate and generate vehicle speed change curves and noise change curves based on the sorted and organized vehicle speed measurement values ​​and noise measurement values, respectively. A volume gain information generation unit is used to generate volume gain information based on the vehicle speed change curve and the noise change curve. A volume gain value generation unit is used to determine whether the volume gain information meets the volume gain standard. If the volume gain information meets the volume gain standard, a volume gain value is generated. The fourth queue generation unit is used to generate the volume gain value queue based on a plurality of volume gain values ​​located within the measurement time.

5. The vehicle cabin speed-sensitive audio adjustment device according to claim 4, characterized in that, Also includes: A timing unit is used to preset a measurement time and determine a number of time nodes based on the unit time within the measurement time. The third measurement value acquisition unit is used to acquire several vehicle speed measurement values ​​and noise measurement values ​​corresponding to the time node; The third queue generation unit is used to merge the generated set of vehicle speed measurements and the set of noise measurements to obtain the vehicle speed-noise measurement set queue.

6. A computer device, characterized in that, The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method as described in any one of claims 1-3.

7. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the method as described in any one of claims 1-3.