A test method and electronic equipment for a vehicle-mounted microphone-free karaoke system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-25
- Publication Date
- 2026-08-14
AI Technical Summary
然而,现有针对车载无麦K歌系统的啸叫测试多采用系统整体性测试方式,即仅对整体啸叫抑制性能进行验证
[0014]本申请的有益效果:本申请提供了一种车载无麦K歌系统的测试方法,方法包括获取车辆的运行状态数据,及根据运行状态数据合成环境噪声,车辆内具有多个预设区域且设置有车载无麦K歌系统,预设区域与车载无麦K歌系统的音频处理区域相对应;基于环境噪声,获取车载无麦K歌系统降噪处理后各个预设区域对应的残留噪声;基于各个残留噪声,获取车载无麦K歌系统啸叫抑制后各个预设区域对应的第一声压级;对运行状态数据、各个残留噪声及各个第一声压级进行融合,生成车载无麦K歌系统对应的第一测试结果,第一测试结果用于表征各个预设区域的啸叫风险分布。通过以上方式,本申请预先划分与车载无麦K歌系统的音频处理区域一一对应的车辆内的多个预设区域,通过获取车辆的运行状态数据并合成匹配的环境噪声,依次获取各预设区域降噪处理后的残留噪声和啸叫抑制后的第一声压级,再对运行状态数据、各个残留噪声及各个第一声压级进行融合处理,实现了车载无麦K歌系统的车内分区啸叫风险测试,生成了可表征车内各预设区域啸叫风险分布的测试结果,避免了传统测试方法仅能输出系统整体单一判定结果而无法反映不同区域风险差异的弊端,提高了测试效率以及为车载无麦K歌系统的硬件布局优化提供了可靠的数据支撑,保障了后续用户的使用体验。
Smart Images

Figure CN122575317A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, specifically to a test method and electronic device for an in-vehicle microphone-free karaoke system. Background Technology
[0002] With the increasing popularity of in-car karaoke systems without microphones, the problem of feedback and howling within vehicles has become increasingly prominent. Different areas of the vehicle (such as the area near the speakers on the passenger side) exhibit significantly different howling risks. However, existing howling tests for in-car karaoke systems mostly employ a system-wide testing approach, verifying only the overall howling suppression performance. This testing method is not only inefficient but also fails to visually demonstrate the distribution of howling risk in different areas of the vehicle. Furthermore, it cannot provide reliable references for optimizing the layout of the in-car microphones and speakers in in-car karaoke systems, ultimately impacting the user experience. Summary of the Invention
[0003] One objective of this application is to provide a testing method for an in-vehicle microphone-free karaoke system, which improves testing efficiency and provides reliable data support for optimizing the hardware layout of the in-vehicle microphone-free karaoke system, thus ensuring the user experience for subsequent users; another objective of this application is to provide an electronic device.
[0004] To achieve the above objectives, firstly, this application provides a testing method for an in-vehicle microphone-free karaoke system, comprising: The vehicle's operating status data is acquired, and environmental noise is synthesized based on the operating status data. The vehicle has multiple preset areas and is equipped with an in-vehicle microphone-free karaoke system. The preset areas correspond to the audio processing areas of the in-vehicle microphone-free karaoke system. Based on the environmental noise, obtain the residual noise corresponding to each preset area after the noise reduction processing of the in-vehicle microphoneless karaoke system; Based on the residual noise, the first sound pressure level of each preset area after the feedback suppression of the in-vehicle microphoneless karaoke system is obtained; The operating status data, each of the residual noises, and each of the first sound pressure levels are fused to generate the first test result corresponding to the in-vehicle microphoneless karaoke system. The first test result is used to characterize the howling risk distribution of each of the preset areas.
[0005] Optionally, the step of fusing the operating status data, each of the residual noises, and each of the first sound pressure levels to generate the first test result corresponding to the in-vehicle microphoneless karaoke system includes: Obtain the original noise corresponding to each preset area before noise reduction processing of the in-vehicle microphoneless karaoke system; For each preset region, the noise ratio between the residual noise and the original noise corresponding to the preset region is determined, and the noise ratio, the first sound pressure level and the operating status data corresponding to the preset region are weighted and fused to obtain the howling risk value corresponding to the preset region. Based on the howling risk value corresponding to each of the preset areas, the first test result corresponding to the in-vehicle microphoneless karaoke system is generated.
[0006] Optionally, obtaining the residual noise corresponding to each preset area after noise reduction processing by the in-vehicle microphoneless karaoke system based on the ambient noise includes: The system acquires resource usage data of the in-vehicle system and passenger noise in the vehicle, and the in-vehicle microphone-free karaoke system runs in the in-vehicle system. The environmental noise, passenger noise, and human voice signal are input into the in-vehicle microphone-free karaoke system, so that the in-vehicle microphone-free karaoke system performs noise reduction processing on the human voice signal based on the noise processing algorithm corresponding to the resource occupancy data, so as to obtain the residual noise corresponding to each preset area after the noise reduction processing of the in-vehicle microphone-free karaoke system.
[0007] Optionally, after obtaining each of the residual noises, the method further includes: Obtain the original noise corresponding to each preset area before noise reduction processing of the in-vehicle microphoneless karaoke system; For each preset region, the noise suppression amount corresponding to the preset region is determined based on the original noise and the residual noise corresponding to the preset region; Determine the first comparison result between the noise suppression amount corresponding to each preset region and the preset suppression amount threshold; Based on each of the first comparison results, a second test result is generated for the in-vehicle microphone-free karaoke system. The second test result is used to characterize the noise reduction processing performance of the in-vehicle microphone-free karaoke system.
[0008] Optionally, obtaining the resource usage data of the in-vehicle system includes: Define a preset task scenario, which is used to characterize the scenario in which multiple in-vehicle tasks run concurrently in the vehicle; The preset task scenario is run on the in-vehicle system within the vehicle; During the operation of the preset task scenario, the resource usage data of the vehicle's in-vehicle system is acquired.
[0009] Optionally, after obtaining the resource usage data, the method further includes: When the resource usage data exceeds a preset resource usage threshold, the end-to-end audio delay data of the in-vehicle microphoneless karaoke system is determined based on the resource usage data. Determine a second comparison result between the audio delay data and a preset audio delay threshold; Based on the second comparison result, a third test result is generated for the in-vehicle microphoneless karaoke system. The third test result is used to characterize the end-to-end latency performance of the in-vehicle microphoneless karaoke system.
[0010] Optionally, the resource usage data includes CPU utilization, memory usage, and network bandwidth usage; The determination of the end-to-end audio latency data of the in-vehicle microphoneless karaoke system includes: Determine a first ratio between the CPU utilization rate and a preset utilization rate threshold, a second ratio between the memory usage and a preset usage threshold, and a third ratio between the network bandwidth usage and a preset usage threshold; The first ratio, the second ratio, and the third ratio are weighted and fused to obtain the delayed data correction value; The baseline delay data is corrected using the delay data correction value to determine the end-to-end audio delay data of the in-vehicle microphoneless karaoke system.
[0011] Optionally, obtaining the first sound pressure level corresponding to each preset region after howling suppression of the in-vehicle microphone-free karaoke system based on each of the residual noises includes: For each preset region, a target frequency band is determined from the residual noise corresponding to the preset region, and a howling danger frequency point is determined from the target frequency band, wherein the energy of the target frequency band is greater than a preset energy threshold; An adaptive notch filter is inserted at each of the aforementioned dangerous frequency points to suppress the howling, so as to obtain the first sound pressure level corresponding to each of the preset areas after the howling of the in-vehicle karaoke system is suppressed.
[0012] Optionally, before obtaining each of the first sound pressure levels, the method further includes: A first audio test signal is continuously injected into the in-vehicle microphoneless karaoke system, and the volume of the audio output device in the in-vehicle microphoneless karaoke system is adjusted to the maximum volume and the gain of the audio input device in the in-vehicle microphoneless karaoke system is gradually increased. During the process of increasing the gain, the maximum gain of the audio input device is determined when the sound pressure level of the audio output device is less than a first preset sound pressure level threshold and a preset stability condition is met, and the second sound pressure level of the audio output device corresponding to the maximum gain is determined. The preset stability condition is used to characterize that the audio input device does not produce feedback under the maximum gain. After obtaining each of the first sound pressure levels, the method further includes: For each of the preset regions, the first sound pressure level corresponding to the preset region is compared with the second preset sound pressure level threshold to obtain a fourth comparison result; Based on the maximum gain and the second sound pressure level corresponding to each preset region and each of the fourth comparison results, a fourth test result is generated for the in-vehicle microphone-free karaoke system. The fourth test result is used to characterize the howling suppression performance of the in-vehicle microphone-free karaoke system.
[0013] To achieve the above objectives, in a second aspect, this application provides an electronic device, including: a processor and a memory, wherein the processor is configured to execute a test program for an in-vehicle karaoke system without microphone stored in the memory, so as to implement the test method for the in-vehicle karaoke system without microphone as described above.
[0014] The beneficial effects of this application are as follows: This application provides a testing method for an in-vehicle microphone-free karaoke system. The method includes acquiring vehicle operating status data and synthesizing environmental noise based on the operating status data. The vehicle has multiple preset areas and is equipped with an in-vehicle microphone-free karaoke system. The preset areas correspond to the audio processing areas of the in-vehicle microphone-free karaoke system. Based on the environmental noise, the residual noise corresponding to each preset area after noise reduction processing by the in-vehicle microphone-free karaoke system is acquired. Based on each residual noise, the first sound pressure level corresponding to each preset area after howling suppression by the in-vehicle microphone-free karaoke system is acquired. The operating status data, each residual noise, and each first sound pressure level are fused to generate a first test result corresponding to the in-vehicle microphone-free karaoke system. The first test result is used to characterize the howling risk distribution of each preset area. Through the above methods, this application pre-divides multiple preset areas within the vehicle that correspond one-to-one with the audio processing area of the in-vehicle microphoneless karaoke system. By acquiring the vehicle's operating status data and synthesizing matching environmental noise, the residual noise after noise reduction processing and the first sound pressure level after howling suppression are obtained sequentially for each preset area. Then, the operating status data, each residual noise, and each first sound pressure level are fused together to achieve in-vehicle zone howling risk testing for the in-vehicle microphoneless karaoke system. Test results that can characterize the howling risk distribution of each preset area within the vehicle are generated. This avoids the drawback of traditional testing methods that can only output a single overall judgment result of the system and cannot reflect the risk differences between different areas. This improves testing efficiency and provides reliable data support for the hardware layout optimization of the in-vehicle microphoneless karaoke system, ensuring the user experience for subsequent users. Attached Figure Description
[0015] Figure 1 This diagram illustrates a test method for an in-vehicle microphone-free karaoke system provided in an embodiment of this application. Figure 2This document illustrates a flowchart of a testing method for another in-vehicle microphone-free karaoke system provided in an embodiment of this application. Figure 3 This diagram illustrates a flowchart of an end-to-end delay testing method provided in an embodiment of this application. Figure 4 This diagram illustrates a flow chart of a noise reduction testing method provided in an embodiment of this application. Figure 5 This diagram illustrates a flow chart of a howling suppression testing method provided in an embodiment of this application. Figure 6 This is a flowchart illustrating a test method for another in-vehicle microphone-free karaoke system provided in an embodiment of this application; Figure 7 This diagram illustrates the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0016] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.
[0017] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0018] To facilitate understanding of the embodiments of this application, the following will provide further explanation and description with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of this application.
[0019] refer to Figure 1 , Figure 1 This is a flowchart illustrating a testing method for an in-vehicle microphone-free karaoke system provided in an embodiment of this application. The testing method for an in-vehicle microphone-free karaoke system provided in this embodiment of the application specifically includes the following steps: S101: Acquire vehicle operating status data and synthesize environmental noise based on the operating status data.
[0020] In this embodiment, the vehicle has multiple preset areas and is equipped with an in-vehicle microphone-free karaoke system. Each preset area corresponds one-to-one with the audio processing area of the in-vehicle microphone-free karaoke system. A preset area refers to a predefined location within the vehicle's interior space, corresponding to the audio processing area of the in-vehicle microphone-free karaoke system. In other words, these preset areas are the areas where the microphones of the in-vehicle microphone-free karaoke system pick up human voices and where the speakers cover sound, such as the area near the driver's headrest, the front passenger seat area, and the rear passenger area. By dividing the vehicle into multiple preset areas, the acoustic space within the entire vehicle is divided, allowing subsequent test data collection and analysis to be precise down to each specific location.
[0021] The vehicle's operating status data can be pre-set simulated operating parameters or real-time operating parameters obtained through the vehicle bus during simulated vehicle operation. The vehicle's operating status data includes vehicle speed, window open / closed status, air conditioning setting, and engine speed. Tire noise is synthesized from vehicle speed, with tire noise equal to 0.15 × vehicle speed. Wind noise is synthesized from closed windows, increasing by 3 dB for each closed window. Air conditioning noise is synthesized from air conditioning setting, increasing by 5 dB for each higher setting. Harmonic noise is synthesized from engine speed, with harmonic noise equal to engine speed / 60.
[0022] After obtaining the tire noise, wind noise, air conditioning noise, and harmonic noise, the sum of these noises is defined as the environmental noise. This environmental noise is essentially a background interference sound, designed to simulate the background noise that passengers inside a vehicle would hear when the vehicle is driving on a real road, thus providing a dynamic and realistic background sound field for the in-vehicle microphoneless karaoke system.
[0023] When testing an in-vehicle karaoke system without a microphone, the basic configuration work is completed before the test. Inside the vehicle under test, multiple preset areas are pre-divided according to the audio processing area of the installed in-vehicle karaoke system. Then, the operating status data of the vehicle under test can be obtained in real time through the vehicle's bus, or preset simulated operating condition parameters can be input. The preset in-vehicle noise synthesis model is called, and the collected vehicle operating status data is input into the in-vehicle noise synthesis model to synthesize environmental noise that perfectly matches the current operating status data, thus completing the preparation of the test environmental noise.
[0024] S102: Based on ambient noise, obtain the residual noise corresponding to each preset area after noise reduction processing of the in-vehicle microphoneless karaoke system.
[0025] In this embodiment, noise reduction processing is actually the core audio processing function built into the in-vehicle microphoneless karaoke system. It is an audio processing process used to suppress interference signals such as ambient noise inside the vehicle and retain the user's vocal signal while singing karaoke.
[0026] Residual noise can be understood as the noise that is not completely suppressed in the audio signals collected in each preset area after the synthesized environmental noise is input into the in-vehicle microphoneless karaoke system and processed by the noise reduction process inside the in-vehicle microphoneless karaoke system.
[0027] The process involves several steps. First, after obtaining the synthesized ambient noise, the in-vehicle microphone-free karaoke system is activated. The ambient noise and human voice signals are input into the system, which then performs its built-in noise reduction processing on the audio signals, including the ambient noise. After noise reduction, microphones pre-positioned in designated areas collect audio signals from each area. Finally, residual noise that was not completely suppressed after noise reduction is extracted from these collected audio signals.
[0028] S103: Based on each residual noise, obtain the first sound pressure level corresponding to each preset area after the feedback of the in-vehicle microphoneless karaoke system is suppressed.
[0029] In this embodiment, howling suppression can be understood as a protective function of the in-vehicle karaoke system without microphone, used to prevent audio signals in the vehicle from being played through the speakers and collected by the microphone in a loop, thus forming a closed-loop acoustic feedback and triggering howling noises.
[0030] The first sound pressure level can be understood as the sound pressure level of the audio signal collected in each preset area after the in-vehicle microphoneless karaoke system has completed the feedback suppression process.
[0031] In this process, after obtaining the residual noise corresponding to each preset area, the in-vehicle microphoneless karaoke system uses this residual noise as a basis to execute its built-in feedback suppression processing flow on the audio signal corresponding to each preset area, preventing feedback loops caused by residual noise from triggering feedback. After the in-vehicle microphoneless karaoke system completes feedback suppression, the real-time sound pressure level in each preset area is collected. These real-time sound pressure levels are the first sound pressure level corresponding to each preset area after feedback suppression is completed by the in-vehicle microphoneless karaoke system.
[0032] S104: The operating status data, various residual noises, and various first sound pressure levels are fused to generate the first test result corresponding to the in-vehicle microphoneless karaoke system.
[0033] In this embodiment, the first test result is used to characterize the howling risk distribution of each preset area.
[0034] Specifically, for each preset area, the residual noise, first sound pressure level and operating status data corresponding to the preset area are fused and calculated to obtain the howling risk value corresponding to the preset area, and the howling risk level corresponding to the preset area is determined based on the howling risk value. Thus, the first test result corresponding to the in-vehicle microphoneless karaoke system is generated based on the obtained howling risk values and howling risk levels.
[0035] Specifically, the howling risk value corresponding to the preset area can be determined in the following way: Determine the operational status risk value corresponding to the operational status data, the residual noise risk value corresponding to the residual noise, and the sound pressure level risk value corresponding to the first sound pressure level; Based on the operational status risk value, residual noise risk value, and sound pressure level risk value, determine the howling risk correction value; Based on the target scenario in which the vehicle is currently operating, the weights corresponding to the operating status risk value, residual noise risk value, and sound pressure level risk value are determined respectively. By using the weights corresponding to the operating status risk value, residual noise risk value, and sound pressure level risk value, the operating status risk value, residual noise risk value, and sound pressure level risk value are weighted and fused to obtain the fused risk value; The fusion risk value is corrected using the howling risk correction value to obtain the howling risk value corresponding to the preset area.
[0036] Furthermore, the operational status risk value can be the ratio between the vehicle speed and the preset speed threshold, the residual noise risk value can be the ratio between the residual noise and the preset residual noise threshold, and the sound pressure level risk value can be the ratio between the first sound pressure level and the preset sound pressure level threshold.
[0037] The whistling risk correction value is equal to the product of the operating status risk value, the residual noise risk value, and the sound pressure level risk value.
[0038] The target scenario can be automatically matched with a pre-calibrated library of real high-frequency vehicle usage scenarios based on vehicle operating status data. These scenarios include, for example, parking and idling scenarios, urban road driving scenarios, and highway driving scenarios. Different weights are preset for each scenario. After determining the target scenario, the weights of the corresponding operating status risk value, residual noise risk value, and sound pressure level risk value can be queried.
[0039] The howling risk value equals the fusion risk value × (1 + howling risk correction value).
[0040] Through the above methods, this embodiment uses scene adaptive weighted fusion of three types of data—operating status, residual noise, and sound pressure level—combined with a multi-dimensional howling risk correction mechanism, to avoid the technical limitations of the single-dimensional howling risk judgment in existing in-vehicle karaoke systems without microphones, and improves the accuracy of howling risk identification within the vehicle area.
[0041] This embodiment provides a testing method for an in-vehicle microphone-free karaoke system. It pre-divides multiple preset areas within the vehicle, each corresponding to a specific audio processing area of the system. By acquiring vehicle operating status data and synthesizing matching environmental noise, it sequentially acquires the residual noise after noise reduction processing and the first sound pressure level after howling suppression for each preset area. Then, it fuses the operating status data, each residual noise level, and each first sound pressure level, achieving in-vehicle zone howling risk testing for the in-vehicle microphone-free karaoke system. This generates test results that characterize the howling risk distribution in each preset area of the vehicle, avoiding the shortcomings of traditional testing methods that can only output a single overall system judgment result and cannot reflect the risk differences between different areas. This improves testing efficiency and provides reliable data support for optimizing the hardware layout of the in-vehicle microphone-free karaoke system, ensuring a better user experience.
[0042] refer to Figure 2 , Figure 2 This is a flowchart illustrating another testing method for an in-vehicle microphone-free karaoke system provided in this embodiment of the application. The testing method for an in-vehicle microphone-free karaoke system provided in this embodiment includes the following steps: S201: Acquire vehicle operating status data and synthesize environmental noise based on the operating status data.
[0043] In this embodiment, step S201 is the same as step S101 described above. For details, please refer to step S101 described above. This embodiment will not repeat the details here.
[0044] S202: Based on ambient noise, obtain the residual noise corresponding to each preset area after noise reduction processing of the in-vehicle microphoneless karaoke system.
[0045] In this embodiment, step S202 specifically includes: S2021: Obtain resource usage data of the in-vehicle system and passenger noise in the vehicle.
[0046] S2022: Input environmental noise, passenger noise and human voice signals into the in-vehicle microphoneless karaoke system, so that the in-vehicle microphoneless karaoke system can perform noise reduction processing on the human voice signals based on the noise processing algorithm corresponding to the resource occupancy data, so as to obtain the residual noise corresponding to each preset area after the noise reduction processing of the in-vehicle microphoneless karaoke system.
[0047] The in-vehicle karaoke system operates within the vehicle's infotainment system. The in-vehicle system can be understood as the vehicle's built-in entertainment system, which serves as the underlying operating platform for the in-vehicle karaoke system.
[0048] Resource usage data can be understood as the hardware resource usage parameters of the in-vehicle system in real time. The hardware resource usage of the in-vehicle system will directly affect the noise reduction algorithm of the upper-level in-vehicle microphoneless karaoke system, so as to restore the real vehicle usage scenario of the in-vehicle system and improve the accuracy of the test.
[0049] Passenger noise can be understood as the audio interference signals generated by passengers inside the vehicle when not singing karaoke. It is one of three independent audio signal types, separate from ambient noise and the vocal signals used for karaoke. This type of noise is the target of noise reduction processing in in-vehicle karaoke systems without microphones. By setting passenger noise, we supplement the ambient noise to cover the human voice interference inside the vehicle, ensuring that the test scenario fully reflects the acoustic environment inside the vehicle during actual use and avoiding discrepancies between ideal scenario test results (without passenger interference) and real-world scenarios.
[0050] Human voice signal can be understood as the human voice audio signal that simulates the user's karaoke singing behavior. It is the audio signal that needs to be completely preserved during the noise reduction process of the in-vehicle microphoneless karaoke system, and is different from passenger noise, which is an interference source.
[0051] The noise processing algorithm is built into the in-vehicle microphone-free karaoke system. Multiple noise processing algorithms can be used, each corresponding to different resource usage data ranges within the in-vehicle system. The core of the noise processing algorithm is to suppress noise interference signals while preserving the human voice signal. For example, in high-load scenarios (such as when the CPU utilization rate in the resource usage data exceeds a preset threshold), the noise processing algorithm prioritizes the human voice signal, simplifying and filtering low-frequency noise (such as harmonic noise) in the environment to reduce computational load. In low-load scenarios (such as when the CPU utilization rate in the resource usage data is below a preset threshold), the noise processing algorithm performs full-band noise reduction to ensure the integrity of sound quality.
[0052] In this process, after synthesizing environmental noise, resource usage data of the onboard system under its current operating status can be read and obtained in real time via the vehicle bus. Simultaneously, passenger noise for testing can be acquired using pre-recorded standard passenger interference audio that conforms to a real-world in-vehicle scenario, or human voice interference signals simulating passenger behavior can be used. This ensures that the acquired passenger noise is an independent audio signal from environmental noise and human voice signals, thus completing the acquisition of passenger noise.
[0053] The obtained environmental noise, passenger noise, and human voice signals are input into the in-vehicle microphone-free karaoke system to simulate a real user's karaoke singing input scenario, triggering the in-vehicle microphone-free karaoke system to enter normal working mode. Subsequently, the in-vehicle microphone-free karaoke system obtains real-time resource usage data of the in-vehicle system, and according to the preset correspondence rules between resource usage ranges and noise suppression algorithms, matches the noise processing algorithm corresponding to the current resource usage data, completing the invocation and loading of the noise reduction processing algorithm.
[0054] The in-vehicle microphone-free karaoke system uses pre-loaded noise processing algorithms to perform noise reduction processing on all audio signals, including environmental noise, passenger noise, and human voice signals. During the processing, the human voice signal is fully preserved, while environmental noise and passenger noise, which are interference sources, are suppressed simultaneously.
[0055] While the in-vehicle microphoneless karaoke system is performing adaptive noise reduction, audio signals from various preset areas are collected. For each preset area, the residual background noise (including environmental noise and passenger noise that are not completely suppressed) that remains after the noise reduction process of the in-vehicle microphoneless karaoke system is separated from the collected audio signal, thus obtaining the residual noise corresponding to each preset area.
[0056] Through the above methods, this embodiment obtains in-vehicle system resource occupancy data and in-vehicle passenger noise, inputs environmental noise, passenger noise, and human voice signals into the in-vehicle microphoneless karaoke system, and enables the in-vehicle microphoneless karaoke system to perform noise reduction processing based on the resource occupancy data and the corresponding noise reduction processing algorithm. Finally, it obtains the residual noise in each preset area, realizing the restoration of the real-world driving scenario of the noise reduction process of the in-vehicle microphoneless karaoke system. This avoids the distortion problem caused by the traditional testing method of using the same noise reduction strategy for evaluation under different loads. It can truly reflect the actual noise reduction participation level of each preset area of the vehicle under complex working conditions of different loads and passenger conversation interference in the vehicle, providing reliable support for the noise reduction optimization of the in-vehicle microphoneless karaoke system.
[0057] In this embodiment, reference Figure 3 As shown, the acquisition of resource usage data of the in-vehicle system in step S2021 above specifically includes: S301: Determine the preset task scenario.
[0058] S302: Run a preset task scenario on the vehicle's in-vehicle system.
[0059] S303: During the operation of a preset task scenario, acquire the resource usage data of the vehicle's in-vehicle system.
[0060] The preset task scenarios represent situations where multiple in-vehicle tasks run concurrently within the vehicle. An in-vehicle task can be understood as an in-vehicle application or system function process that is independently installed and runs on the in-vehicle system, possesses specific functions, and consumes in-vehicle system hardware resources during operation. Examples include in-vehicle navigation applications, online music playback applications, and Bluetooth phone functions. Concurrent operation can be understood as multiple independent in-vehicle tasks running simultaneously on the in-vehicle system, collectively consuming the system's hardware resources.
[0061] Specifically, based on the testing objectives, a specific combination of in-vehicle tasks is selected from the test case library or defined manually. This combination of in-vehicle tasks clarifies which applications or background services the in-vehicle system needs to run simultaneously during subsequent testing. This combination of in-vehicle tasks constitutes the preset task scenario.
[0062] Before testing, initialize the vehicle system to its factory default state, close all unnecessary background processes, and clear the vehicle system cache to ensure that the initial vehicle system state is completely consistent for each test. Trigger each vehicle task in the preset task scenario on the vehicle system to ensure that each vehicle task runs on the vehicle system.
[0063] During the continuous operation of various vehicle-mounted tasks on the vehicle system, the real-time resource usage data of the vehicle system is continuously read and collected through the vehicle bus according to the preset sampling frequency and sampling duration, thereby obtaining the resource usage data of the vehicle system.
[0064] Through the above methods, this embodiment determines a preset task scenario of multiple vehicle-mounted tasks running concurrently, runs the preset task scenario on the vehicle system, and synchronously collects the resource usage data of the vehicle system. This realizes the construction of a real vehicle load scenario and the accurate acquisition of the resource usage data of the vehicle system. By using the acquired resource usage data, the drawback of the disconnect between the noise reduction performance test in the idle random scenario and the real usage scenario is avoided, which improves the authenticity and accuracy of the noise reduction performance test and provides reliable data support for the optimization of noise reduction processing of the vehicle-mounted microphoneless karaoke system.
[0065] Continue to refer to Figure 3 As shown, after obtaining resource usage data, the testing method for an in-vehicle microphone-free karaoke system provided in this embodiment further includes the following steps: S304: When the resource usage data is greater than the preset resource usage threshold, determine the end-to-end audio delay data of the in-vehicle microphoneless karaoke system based on the resource usage data.
[0066] S305: Determine a second comparison result between the audio delay data and the preset audio delay threshold.
[0067] S306: Based on the second comparison result, generate the third test result for the in-vehicle microphoneless karaoke system.
[0068] Resource usage data includes CPU utilization, memory usage, and network bandwidth usage. The preset resource usage threshold is a pre-defined critical value used to measure whether the in-vehicle system is under high or low load. It can be a percentage of CPU utilization, specific values for memory and network bandwidth usage, or a combination thereof. This threshold acts as a trigger; only when resource usage data exceeds the preset threshold is it deemed necessary to test the end-to-end latency performance of the in-vehicle karaoke system. This latency test most accurately reflects the user experience under multi-tasking scenarios.
[0069] End-to-end audio latency data can be understood as the time it takes for an audio signal to travel from the input end (such as a microphone) of a car karaoke system, through a series of processing steps (such as noise reduction) within the system, to the output end (such as a speaker). The smaller the latency data, the better the synchronization between the vocals and the accompaniment will be for the user; the larger the latency, the easier it will be for the user to perceive sound lag or stuttering.
[0070] The preset audio latency threshold is the maximum allowable time set in advance to judge whether the end-to-end latency performance of the in-vehicle microphoneless karaoke system is up to standard. If the audio latency data is less than or equal to the preset audio latency threshold, the real-time performance of the in-vehicle microphoneless karaoke system is considered to meet the design requirements, and users will not perceive any significant latency; if the audio latency data is greater than the preset audio latency threshold, the latency performance of the in-vehicle microphoneless karaoke system is determined to be substandard.
[0071] The third test result is used to characterize the end-to-end latency performance of the in-vehicle microphoneless karaoke system.
[0072] Specifically, after acquiring resource usage data, the acquired data is compared with a pre-set resource usage threshold. Once the resource usage data is detected to exceed the pre-set threshold, the end-to-end audio latency data of the in-vehicle microphoneless karaoke system is determined based on the resource usage data.
[0073] The audio delay data is compared with the preset audio delay threshold, and the comparison conclusion is recorded (i.e., the second comparison result is exceeding the standard, not meeting the standard, or meeting the standard).
[0074] The second comparison result is encapsulated to generate a third test result characterizing the end-to-end latency performance of the in-vehicle microphoneless karaoke system under the current high-load scenario.
[0075] Through the above methods, this embodiment measures the end-to-end audio latency data of the in-vehicle microphoneless karaoke system under high-load scenarios where resource usage exceeds a preset resource usage threshold. The data is then compared with a preset audio latency threshold to generate a second comparison result. Finally, a third test result characterizing the latency performance under high load is output. This solves the problem of the disconnect between traditional no-load and low-load scenario tests and the user's real-world driving experience, improves the authenticity and accuracy of latency performance testing, and provides a reliable basis for optimizing the end-to-end latency performance of the in-vehicle microphoneless karaoke system.
[0076] In this implementation, the aforementioned determination of the end-to-end audio latency data of the in-vehicle microphoneless karaoke system specifically includes: Determine the first ratio between CPU utilization and a preset utilization threshold, the second ratio between memory usage and a preset usage threshold, and the third ratio between network bandwidth usage and a preset usage threshold; The first ratio, the second ratio, and the third ratio are weighted and fused to obtain the delayed data correction value; The baseline latency data is corrected using latency data correction values to determine the end-to-end audio latency data of the in-vehicle microphoneless karaoke system.
[0077] The preset utilization rate threshold is a pre-set reference upper limit for CPU utilization. The preset usage threshold is a pre-set reference upper limit for memory usage. The preset occupancy threshold is a pre-set reference upper limit for network bandwidth usage. The specific values of the preset utilization rate threshold, preset usage threshold, and preset occupancy threshold can be set according to actual needs, and this embodiment does not limit them.
[0078] The baseline latency data is a fixed value obtained through pre-experimental calibration. It represents the minimum end-to-end audio latency inherent in the in-vehicle microphoneless karaoke system when processing audio signals under ideal conditions without any additional load (i.e., the CPU, memory, and network are all idle).
[0079] Specifically, when resource usage exceeds a preset resource usage threshold, the system reads the corresponding thresholds for CPU utilization, memory usage, and network bandwidth usage from preset configuration files: preset utilization threshold, preset usage threshold, and preset occupancy threshold. The first ratio is obtained by dividing CPU utilization by the preset utilization threshold, the second ratio is obtained by dividing memory usage by the preset usage threshold, and the third ratio is obtained by dividing network bandwidth usage by the preset occupancy threshold.
[0080] Read the three pre-calibrated weights corresponding to the first, second, and third ratios, such as weight α, weight β, and weight γ. Multiply the first ratio by α, the second ratio by β, and the third ratio by γ, and then sum the results of these three products. This sum is the additional delay data correction value generated due to the busy vehicle system under the current vehicle system resource occupancy status.
[0081] The system reads the pre-determined baseline latency data and adds it to the latency correction value. The result of this addition is the final end-to-end audio latency data for the in-vehicle microphone-free karaoke system, taking into account the combined effects of current CPU, memory, and network loads.
[0082] The weights corresponding to the first, second, and third ratios mentioned above can be determined in the following way: Obtain a historical data sample set. Each historical data point in the historical data sample set includes historical CPU utilization, historical memory usage, historical network bandwidth usage, and historical audio latency data. For each historical data sample, the actual latency increment corresponding to the historical data sample is determined based on the historical audio latency data and the baseline latency data corresponding to the historical data sample. For each historical data sample, determine the first historical ratio between the historical CPU utilization rate and the preset utilization rate threshold, the second historical ratio between the historical memory usage and the preset usage threshold, and the third historical ratio between the network bandwidth usage and the preset usage threshold. Based on the first historical ratio, the second historical ratio, and the third historical ratio and their weights, determine the predicted latency increment corresponding to the historical data sample. Based on the actual delay increment and predicted delay increment corresponding to each historical data sample set, determine each weight; Each weight is determined as the weight corresponding to the first ratio, the second ratio, and the third ratio.
[0083] Furthermore, the actual delay increment equals the historical audio delay data minus the baseline delay data, which is measured by the time difference between the injected audio signal and the response audio signal. The predicted delay increment equals (weight corresponding to the first ratio × first historical ratio) + (weight corresponding to the second ratio × second historical ratio) + (weight corresponding to the third ratio × third historical ratio).
[0084] The least squares method is used to perform multiple linear regression on the actual and predicted delay increments for multiple historical data samples to find the weights that minimize the sum of squares of the predicted and actual delay increments. The formulas are as follows: Weights = , where i represents the i-th historical data sample, and n represents the number of historical data samples included in the historical data sample set.
[0085] By using the above methods, and through ratio calculation and weighted fusion of the loads of CPU, memory, and network bandwidth, a latency correction value is obtained and the baseline latency data is corrected. This achieves seamless latency calculation without injecting test signals or interfering with the operation of the in-vehicle microphoneless karaoke system, improving the real-time performance and scenario fit of latency calculation, while also increasing testing efficiency. This provides a reliable technical means for latency evaluation of in-vehicle microphoneless karaoke systems under different load scenarios.
[0086] It should be noted that the end-to-end audio latency data of the in-vehicle microphoneless karaoke system can also be determined in the following way: when the resource usage data is greater than the preset resource usage threshold, a second audio test signal is injected into the in-vehicle microphoneless karaoke system, and the injection time of the second audio test signal is recorded; after the second audio test signal is injected, the response time of the in-vehicle microphoneless karaoke system in response to the second audio test signal is obtained, that is, the time of the audio response signal output by the in-vehicle microphoneless karaoke system in response to the second audio test signal; the time difference between the response time and the injection time is calculated; and the time difference is determined as the end-to-end audio latency data of the in-vehicle microphoneless system.
[0087] In this embodiment, reference Figure 4 As shown, after obtaining the various residual noises, the testing method for a vehicle-mounted karaoke system without a microphone provided in this embodiment further includes the following steps: S401: Obtain the original noise corresponding to each preset area before noise reduction processing of the in-vehicle microphoneless karaoke system.
[0088] S402: For each preset area, determine the noise suppression amount corresponding to the preset area based on the original noise and residual noise corresponding to the preset area.
[0089] S403: Determine the first comparison result between the noise suppression amount corresponding to each preset region and the preset suppression amount threshold.
[0090] S404: Based on the first comparison results, generate the second test results for the in-vehicle microphoneless karaoke system.
[0091] For steps S401 to S404 above, the acquisition of the original noise corresponding to each preset area can be referred to the above description, and will not be repeated here in this embodiment. The second test result is used to characterize the noise reduction processing performance of the in-vehicle microphoneless karaoke system.
[0092] Specifically, for each preset area, the original noise corresponding to each preset area before noise reduction processing by the in-vehicle microphoneless karaoke system is obtained.
[0093] For each preset region, retrieve the original noise and residual noise corresponding to that preset region, and input the original noise and residual noise into the noise suppression formula to obtain the noise suppression amount corresponding to that preset region. The noise suppression amount formula includes: Noise suppression amount = 10.log10 (original noise / residual noise).
[0094] A preset suppression threshold is set to determine whether the noise reduction performance of the in-vehicle microphoneless karaoke system meets the standard. For each preset region, the noise suppression amount corresponding to that region is compared with the preset suppression threshold. Based on the comparison result, a first comparison result is generated for that preset region. The first comparison result is used to characterize whether the noise suppression amount corresponding to that preset region reaches the preset suppression threshold.
[0095] A pre-defined grading rule for noise reduction performance allows for classification into different performance levels based on the compliance status of each initial comparison result. For each preset region, the noise suppression performance level corresponding to that region is determined based on the initial comparison result. Subsequently, all noise suppression performance levels are integrated and summarized to generate the second test result for the tested in-vehicle microphoneless karaoke system.
[0096] Through the above methods, this embodiment obtains the original noise of each preset area, calculates the noise suppression amount corresponding to each preset area by combining it with the residual noise, and then compares it with the preset suppression threshold to obtain the first comparison result. Finally, it generates the second test result characterizing the noise reduction performance of the in-vehicle microphoneless karaoke system. This achieves an accurate evaluation of the regional noise reduction performance of the in-vehicle microphoneless karaoke system, avoids the shortcomings of existing tests that cannot reflect the differences in noise reduction effects in different areas of the vehicle, improves the accuracy of noise reduction performance testing, and provides a reliable basis for the noise reduction processing of the in-vehicle microphoneless karaoke system.
[0097] S203: Based on each residual noise, obtain the first sound pressure level corresponding to each preset area after the feedback of the in-vehicle karaoke system without microphone.
[0098] In this embodiment, reference Figure 5 Step S203 specifically includes: S501: For each preset area, determine the target frequency band from the residual noise corresponding to the preset area, and determine the howling danger frequency point from the target frequency band.
[0099] S502: Insert an adaptive notch filter into each of the dangerous frequency points of howling to suppress howling, so as to obtain the first sound pressure level corresponding to each preset area after howling suppression of the in-vehicle karaoke system without microphone.
[0100] Regarding steps S501 and S502 described above, the target frequency band energy is greater than a preset energy threshold. In other words, the target frequency band is a specific frequency range whose energy is significantly greater than the preset energy threshold, selected after performing spectral analysis on the residual noise in a preset area. The preset energy threshold is a pre-set numerical standard used to determine whether a certain frequency band in the residual noise has outstanding energy. The preset energy threshold can be set according to actual needs, and this embodiment does not limit it.
[0101] Feedback danger frequencies can be understood as one or more specific frequency points precisely located within a defined target frequency band through more refined scanning and analysis. These frequency points are identified as high-risk points that are highly likely to induce feedback, providing precise targets for subsequent feedback suppression processing. Feedback suppression will precisely target these frequency points, rather than processing the entire broad frequency band, in order to minimize damage to sound quality.
[0102] An adaptive notch filter can be understood as a digital signal processing algorithm module in a car-mounted karaoke system without a microphone. It is specifically designed to attenuate or filter out the energy at a specific frequency point in the signal, while having minimal impact on other frequency sound components. This prevents the formation of acoustic feedback loops in advance, thus preventing the actual occurrence of howling.
[0103] The process involves obtaining the residual noise corresponding to each preset region, then performing time-frequency transformation on the residual noise for each region, converting it from a time-varying waveform into an energy spectrum distributed with frequency. The energy value of each frequency point on the spectrum is compared with a pre-set energy threshold. All frequency points with energy values exceeding this threshold are grouped together to form a target frequency band. After obtaining the target frequency band, a frequency sweep signal is used to pinpoint the specific frequency points within the target band most prone to self-excited oscillations, i.e., the howling danger frequencies.
[0104] For each identified feedback hazard frequency, an adaptive notch filter with a center frequency precisely corresponding to it is dynamically generated or activated. These adaptive notch filters then process the audio signal to be output to the speaker, ensuring that other frequency components pass through normally while precisely attenuating the signal energy at the feedback hazard frequency, thereby fundamentally destroying the positive feedback condition required to generate feedback.
[0105] With the adaptive notch filter continuously working, audio signals from each preset area are collected, and the sound pressure level value is extracted from the collected audio signals. This value is the first sound pressure level corresponding to the preset area, completing a complete closed loop from detecting feedback risk to suppressing feedback risk, and then to obtaining the final sound pressure level data.
[0106] In this embodiment, by actively identifying the target frequency band with prominent energy from the residual noise and accurately locating the dangerous frequency point of howling, an adaptive notch filter is inserted in a targeted manner to suppress howling in advance. This achieves proactive prevention of howling rather than passive response, avoiding the response delay and user experience damage caused by the traditional method of suppressing howling only after it occurs.
[0107] In this embodiment, refer to Figure 5 Before obtaining the first sound pressure levels, the testing method for a car-mounted karaoke system without microphone provided in this embodiment also includes the following steps: S503: For each preset area, continuously inject the first audio test signal into the in-vehicle microphoneless karaoke system, adjust the volume of the audio output device in the in-vehicle microphoneless karaoke system to the maximum volume, and gradually increase the gain of the audio input device in the in-vehicle microphoneless karaoke system.
[0108] S504: During the process of increasing gain, determine the maximum gain of the audio input device when the sound pressure level of the audio output device is less than the first preset sound pressure level threshold and meets the preset stability condition, and determine the second sound pressure level of the audio output device corresponding to the maximum gain.
[0109] Regarding steps S503 and S504 above, the first audio test signal can be understood as a test signal continuously injected into the in-vehicle microphoneless karaoke system during the critical gain detection stage. This signal is used to excite and measure the acoustic characteristics of the in-vehicle microphoneless karaoke system, so as to provide a continuous and stable acoustic excitation source for the in-vehicle microphoneless karaoke system, enabling stable measurement of the output sound pressure level when adjusting the gain and volume.
[0110] Audio output devices can be understood as the components used to play sound in a car karaoke system without a microphone, i.e., the car speakers. Audio input devices can be understood as the components used to pick up sound in a car karaoke system without a microphone, i.e., the car microphone.
[0111] The preset stability condition is used to characterize that the audio input device does not oscillate under maximum gain. The preset stability condition is max|Hfb(f).G.Hpre(f)|<1, where Hfb(f) is the feedback path transfer function, G is the gain of the vehicle microphone, and Hpre(f) is the forward path transfer function.
[0112] The first preset sound pressure level threshold is the maximum permissible safe value for the sound loudness emitted by the audio output device that is monitored and constrained in real time during the test, so as to ensure that the output volume of the audio output device will not be too loud even if feedback has not occurred during the test.
[0113] Maximum gain can be understood as the last gain value recorded when the gain of the audio input device is gradually increased while the volume of the audio output device is turned up to the maximum: first, it meets the preset stability condition; second, the sound pressure level does not exceed the first preset sound pressure level threshold.
[0114] The second sound pressure level can be understood as the loudness of the sound emitted by the audio output device in a car karaoke system without a microphone, measured under maximum gain conditions.
[0115] The test involved continuously injecting the first audio test signal into the in-vehicle karaoke system without a microphone, while simultaneously adjusting the volume of the audio output devices (such as car speakers) in the system to their maximum allowable value to create the most stringent test conditions.
[0116] While maintaining maximum volume and continuously injecting the first audio test signal, the gain of the audio input device (such as a car microphone) in the in-vehicle microphoneless karaoke system is gradually increased in preset steps (e.g., 1 dB each time). With each gain increase, the stability of the closed-loop system is monitored in real time, i.e., whether the preset stability conditions are met, and whether the sound pressure level of the audio output device is less than the first preset sound pressure level threshold.
[0117] As the gain increases, the two monitoring metrics mentioned above will gradually approach their critical values. The gain increase process will terminate when either of the following conditions is met: I. The calculation results of the maximum gain indicate that the preset stability condition will not be met (i.e., further increasing the gain will trigger a howling sound).
[0118] Second, the sound pressure level exceeds the first preset sound pressure level threshold for the first time (i.e., the volume has reached the safe upper limit and cannot be increased further).
[0119] If the test terminates due to any of the above conditions, revert to the previous gain. This previous gain is the maximum gain that simultaneously satisfies both conditions. Record this maximum gain and simultaneously record the sound pressure level acquired at this maximum gain, i.e., the second sound pressure level.
[0120] After obtaining the first sound pressure levels, the testing method for a car-mounted karaoke system without microphone provided in this embodiment further includes the following steps: S505: For each preset region, compare the first sound pressure level corresponding to the preset region with the second preset sound pressure level threshold to obtain the fourth comparison result.
[0121] S506: Based on the maximum gain and second sound pressure level corresponding to each preset area and each fourth comparison result, generate the fourth test result corresponding to the in-vehicle microphoneless karaoke system.
[0122] Regarding steps S505 and S506 above, the second preset sound pressure level threshold is a pre-set standard value used to judge whether the first sound pressure level of the final output after active howling pre-suppression processing meets the safety requirements.
[0123] The fourth test result is used to characterize the howling suppression performance of the in-vehicle microphoneless karaoke system.
[0124] Specifically, after obtaining the first sound pressure level of each preset area after active howling pre-suppression processing, for each preset area (e.g., driver's seat, passenger seat), the first sound pressure level corresponding to that preset area is compared with a pre-stored second preset sound pressure level threshold to obtain a fourth comparison result. Each comparison will produce a clear logical conclusion, such as the passenger seat area meeting the standard or the rear seat area not meeting the standard.
[0125] The maximum gain and second sound pressure level obtained in the first stage, as well as the various fourth comparison results obtained in the second stage, are encapsulated to obtain the fourth test result.
[0126] Through the above methods, this embodiment adds critical gain detection constrained by both stability and sound pressure safety conditions before active feedback pre-suppression, calibrates the basic stability boundary of the in-vehicle microphoneless karaoke system, and compares the first sound pressure output of each preset area with the safety threshold after active feedback pre-suppression. Finally, the boundary data and the standard achievement conclusion are fused and output, realizing a two-dimensional evaluation of the feedback suppression performance of the in-vehicle microphoneless karaoke system from passive limit to active effectiveness.
[0127] S204: Obtain the original noise corresponding to each preset area before noise reduction processing of the in-vehicle microphoneless karaoke system.
[0128] S205: For each preset area, determine the noise ratio between the residual noise and the original noise corresponding to the preset area, and perform weighted fusion of the noise ratio, the first sound pressure level and the operating status data corresponding to the preset area to obtain the howling risk value corresponding to the preset area.
[0129] S206: Based on the howling risk value corresponding to each preset area, generate the first test result for the in-vehicle microphoneless karaoke system.
[0130] Regarding steps S204 to S206 above, the original noise can be understood as the background noise that is not suppressed and obtained in each preset area after the synthesized environmental noise is input into the in-vehicle microphoneless karaoke system without noise reduction processing.
[0131] In this process, the noise reduction function of the in-vehicle karaoke system is turned off. After the synthesized ambient noise is input into the in-vehicle karaoke system, the background noise that has not been suppressed is obtained in each preset area. This background noise is the original noise corresponding to the preset area before the noise reduction process of the in-vehicle karaoke system.
[0132] For each preset region, the residual noise and original noise corresponding to that preset region are retrieved, and the ratio of the residual noise to the original noise is calculated to obtain the noise ratio corresponding to that preset region. For the three parameters of noise ratio, first sound pressure level, and operating status data (which may be vehicle speed), the first preset weight corresponding to the noise ratio, the second preset weight corresponding to the first sound pressure level, and the third preset weight corresponding to the operating status data are obtained respectively. The sum of the weights of the first preset weight, the second preset weight, and the third preset weight is 1.
[0133] For each preset area, the noise ratio, first sound pressure level and operating status data corresponding to the preset area are weighted and summed according to preset weights to finally obtain the howling risk value corresponding to the preset area.
[0134] The system pre-sets the correspondence between howling risk values and howling risk levels, dividing the region into three basic howling risk levels: low, medium, and high, based on the numerical range of the howling risk value. Different risk levels correspond to different display colors. For each preset region, the howling risk level is determined according to the numerical range of its corresponding howling risk value.
[0135] The feedback risk values and feedback risk levels for all preset areas are integrated and summarized to generate the first test result for the tested in-vehicle karaoke system without microphone. This first test result can completely and intuitively present the differences in feedback risk levels between different preset areas inside the vehicle, that is, the feedback risk distribution of each preset area inside the vehicle. After obtaining the first test result, it can be rendered and displayed to intuitively show the feedback risk distribution of each preset area inside the vehicle.
[0136] Through the above methods, this embodiment obtains the original noise of each preset area before noise reduction, calculates the noise ratio of the residual noise to the original noise, and then weights and fuses the noise ratio, the first sound pressure level, and the operating status data to obtain the howling risk value corresponding to each preset area, and finally generates the first test result. This achieves multi-dimensional and accurate quantification of howling risk in each preset area of the vehicle, avoids the one-sidedness of single-dimensional risk assessment, improves the accuracy of the test results of the in-vehicle microphoneless karaoke system, and provides reliable data support for the audio optimization of the in-vehicle microphoneless karaoke system.
[0137] This embodiment provides a testing method for an in-vehicle microphone-free karaoke system. It pre-divides multiple preset areas within the vehicle, each corresponding to a specific audio processing area of the system. By acquiring vehicle operating status data and synthesizing matching environmental noise, it sequentially acquires the residual noise after noise reduction processing and the first sound pressure level after howling suppression for each preset area. Then, it fuses the operating status data, each residual noise level, and each first sound pressure level, achieving in-vehicle zone howling risk testing for the in-vehicle microphone-free karaoke system. This generates test results that characterize the howling risk distribution in each preset area of the vehicle, avoiding the shortcomings of traditional testing methods that can only output a single overall system judgment result and cannot reflect the risk differences between different areas. This improves testing efficiency and provides reliable data support for optimizing the hardware layout of the in-vehicle microphone-free karaoke system, ensuring a better user experience.
[0138] The following is an example for reference. Figure 6 As shown, the testing process for the entire in-car microphone-free karaoke system will be described in detail: Define the preset task scenario; Run preset task scenarios on the vehicle's in-vehicle system; During the operation of the preset task scenario, acquire the resource usage data of the vehicle's in-vehicle system; Acquire vehicle operating status data and synthesize environmental noise based on the operating status data; Determine the corresponding noise processing algorithm based on resource usage data; Environmental noise, passenger noise, and human voice signals are input into the in-vehicle microphoneless karaoke system so that the in-vehicle microphoneless karaoke system can perform noise reduction processing on the human voice signals based on noise processing algorithms, and obtain the residual noise corresponding to each preset area after noise reduction processing by the in-vehicle microphoneless karaoke system. For each preset area, target frequency bands with energy greater than a preset energy threshold are selected from the corresponding residual noise, and dangerous frequency points for howling are identified from the target frequency bands; An adaptive notch filter is inserted at each dangerous frequency point of howling to complete howling suppression, and the first sound pressure level of each preset area after howling suppression of the in-vehicle microphoneless karaoke system is obtained. By integrating operational status data, various first sound pressure levels, and various residual noises, the feedback risk value of each preset area is calculated and feedback risk level is divided through a weighted model. The first test result is generated to characterize the feedback risk distribution of each preset area, thus completing the entire process test.
[0139] refer to Figure 7 As shown, Figure 7This is a schematic diagram of an electronic device provided in an embodiment of this application. The electronic device 700 in this embodiment may include: at least one processor 701, a memory 702, at least one network interface 704, and other user interfaces 703. The various components in the electronic device 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to implement communication between these components. In addition to a data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity, all buses are referred to as bus system 705.
[0140] The user interface 703 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).
[0141] It is understood that the memory 702 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 702 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0142] In some implementations, memory 702 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 7021 and application program 7022.
[0143] The operating system 7021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 7022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of the embodiments of this application can be included in the application program 7022.
[0144] In the embodiments of this application, the processor 701 executes the methods provided in the various method embodiments by calling the program or instructions stored in the memory 702, specifically the program or instructions stored in the application program 7022.
[0145] The methods disclosed in the embodiments of this application can be applied to or implemented by processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 701 or by instructions in the form of software. The processor 701 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 702. Processor 701 reads the information in memory 702 and uses its hardware to complete the above method.
[0146] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0147] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0148] This application also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.
[0149] When one or more programs in a storage medium can be executed by one or more processors, the above-described method can be implemented when the storage medium is used in an electronic device. The processor executes the programs stored in the memory to implement the above-described execution method.
[0150] Those skilled in the art will further 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 implementation should not be considered beyond the scope of this application.
[0151] It should be noted that the terms "one implementation," "embodiment," "exemplary embodiment," and "some embodiments" used in the specification indicate that the described embodiment may include a specific feature, structure, or characteristic, but not every embodiment necessarily includes that specific feature, structure, or characteristic. Furthermore, such phrases do not necessarily refer to the same embodiment. Moreover, when a specific feature, structure, or characteristic is described in connection with an embodiment, implementing such a feature, structure, or characteristic in conjunction with other embodiments, whether explicitly described or not, is within the knowledge scope of those skilled in the art.
[0152] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, or article that comprises a list of elements, or not only those elements, but also other elements not expressly listed, or elements inherent to such a process, method, or article. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, or article that includes said element.
[0153] The above embodiments are merely preferred embodiments provided to fully illustrate this application, and the scope of protection of this application is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on this application are all within the scope of protection of this application.
Claims
1. A test method for a vehicle-mounted microphone-free karaoke system, characterized in that, include: The vehicle's operating status data is acquired, and environmental noise is synthesized based on the operating status data. The vehicle has multiple preset areas and is equipped with an in-vehicle microphone-free karaoke system. The preset areas correspond to the audio processing areas of the in-vehicle microphone-free karaoke system. Based on the environmental noise, obtain the residual noise corresponding to each preset area after the noise reduction processing of the in-vehicle microphoneless karaoke system; Based on the residual noise, the first sound pressure level of each preset area after the feedback suppression of the in-vehicle microphoneless karaoke system is obtained; The operating status data, each of the residual noises, and each of the first sound pressure levels are fused to generate the first test result corresponding to the in-vehicle microphoneless karaoke system. The first test result is used to characterize the howling risk distribution of each of the preset areas.
2. The test method for the in-vehicle microphoneless karaoke system according to claim 1, characterized in that, The process of fusing the operating status data, each residual noise level, and each first sound pressure level to generate the first test result corresponding to the in-vehicle microphoneless karaoke system includes: Obtain the original noise corresponding to each preset area before noise reduction processing of the in-vehicle microphoneless karaoke system; For each preset region, the noise ratio between the residual noise and the original noise corresponding to the preset region is determined, and the noise ratio, the first sound pressure level and the operating status data corresponding to the preset region are weighted and fused to obtain the howling risk value corresponding to the preset region. Based on the howling risk value corresponding to each of the preset areas, the first test result corresponding to the in-vehicle microphoneless karaoke system is generated.
3. The test method for the in-vehicle microphoneless karaoke system according to claim 1, characterized in that, The step of obtaining the residual noise corresponding to each preset area after noise reduction processing by the in-vehicle microphoneless karaoke system based on the ambient noise includes: The system acquires resource usage data of the in-vehicle system and passenger noise in the vehicle, and the in-vehicle microphone-free karaoke system runs in the in-vehicle system. The environmental noise, passenger noise, and human voice signal are input into the in-vehicle microphone-free karaoke system, so that the in-vehicle microphone-free karaoke system performs noise reduction processing on the human voice signal based on the noise processing algorithm corresponding to the resource occupancy data, so as to obtain the residual noise corresponding to each preset area after the noise reduction processing of the in-vehicle microphone-free karaoke system.
4. The test method for the in-vehicle microphoneless karaoke system according to claim 3, characterized in that, After obtaining each of the residual noises, the method further includes: Obtain the original noise corresponding to each preset area before noise reduction processing of the in-vehicle microphoneless karaoke system; For each preset region, the noise suppression amount corresponding to the preset region is determined based on the original noise and the residual noise corresponding to the preset region; Determine the first comparison result between the noise suppression amount corresponding to each preset region and the preset suppression amount threshold; Based on each of the first comparison results, a second test result is generated for the in-vehicle microphone-free karaoke system. The second test result is used to characterize the noise reduction processing performance of the in-vehicle microphone-free karaoke system.
5. The test method for the in-vehicle microphoneless karaoke system according to claim 3, characterized in that, The step of obtaining the resource usage data of the in-vehicle system includes: Define a preset task scenario, which is used to characterize the scenario in which multiple in-vehicle tasks run concurrently in the vehicle; The preset task scenario is run on the in-vehicle system within the vehicle; During the operation of the preset task scenario, the resource usage data of the vehicle's in-vehicle system is acquired.
6. The test method for the in-vehicle microphoneless karaoke system according to claim 5, characterized in that, After obtaining the resource usage data, the method further includes: When the resource usage data exceeds a preset resource usage threshold, the end-to-end audio delay data of the in-vehicle microphoneless karaoke system is determined based on the resource usage data. Determine a second comparison result between the audio delay data and a preset audio delay threshold; Based on the second comparison result, a third test result is generated for the in-vehicle microphoneless karaoke system. The third test result is used to characterize the end-to-end latency performance of the in-vehicle microphoneless karaoke system.
7. The test method for the in-vehicle microphoneless karaoke system according to claim 6, characterized in that, The resource usage data includes CPU utilization, memory usage, and network bandwidth usage. The determination of the end-to-end audio latency data of the in-vehicle microphoneless karaoke system includes: Determine a first ratio between the CPU utilization rate and a preset utilization rate threshold, a second ratio between the memory usage and a preset usage threshold, and a third ratio between the network bandwidth usage and a preset usage threshold; The first ratio, the second ratio, and the third ratio are weighted and fused to obtain the delayed data correction value; The baseline delay data is corrected using the delay data correction value to determine the end-to-end audio delay data of the in-vehicle microphoneless karaoke system.
8. The test method for the in-vehicle microphoneless karaoke system according to claim 1, characterized in that, The step of obtaining the first sound pressure level corresponding to each preset area after the feedback of the in-vehicle microphoneless karaoke system is based on each of the residual noises includes: For each preset region, a target frequency band is determined from the residual noise corresponding to the preset region, and a howling danger frequency point is determined from the target frequency band, wherein the energy of the target frequency band is greater than a preset energy threshold; An adaptive notch filter is inserted at each of the aforementioned dangerous frequency points to suppress the howling, so as to obtain the first sound pressure level corresponding to each of the preset areas after the howling of the in-vehicle karaoke system is suppressed.
9. The test method for the in-vehicle microphoneless karaoke system according to claim 8, characterized in that, Before obtaining each of the first sound pressure levels, the method further includes: A first audio test signal is continuously injected into the in-vehicle microphoneless karaoke system, and the volume of the audio output device in the in-vehicle microphoneless karaoke system is adjusted to the maximum volume and the gain of the audio input device in the in-vehicle microphoneless karaoke system is gradually increased. During the process of increasing the gain, the maximum gain of the audio input device is determined when the sound pressure level of the audio output device is less than a first preset sound pressure level threshold and a preset stability condition is met, and the second sound pressure level of the audio output device corresponding to the maximum gain is determined. The preset stability condition is used to characterize that the audio input device does not produce feedback under the maximum gain. After obtaining each of the first sound pressure levels, the method further includes: For each of the preset regions, the first sound pressure level corresponding to the preset region is compared with the second preset sound pressure level threshold to obtain a fourth comparison result; Based on the maximum gain and the second sound pressure level corresponding to each preset region and each of the fourth comparison results, a fourth test result is generated for the in-vehicle microphone-free karaoke system. The fourth test result is used to characterize the howling suppression performance of the in-vehicle microphone-free karaoke system.
10. An electronic device, characterized in that, include: A processor and a memory, wherein the processor is configured to execute a test program for an in-vehicle microphone-free karaoke system stored in the memory, in order to implement the test method for the in-vehicle microphone-free karaoke system as described in any one of claims 1 to 9.