A Bluetooth headset performance testing method based on audio analysis and related device

By conducting a detailed analysis of the audio signal data of Bluetooth headsets in an interference environment, combined with signal transmission strength and frequency response curve, the problems of incomplete anti-interference evaluation, inaccurate time delay evaluation and insufficient sound quality detection accuracy in the existing technology are solved. A more comprehensive and accurate Bluetooth headset performance test is achieved.

CN118450309BActive Publication Date: 2024-09-03DONGGUAN JINWENHUA DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410906998.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-09-03
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

The anti-interference evaluation of existing Bluetooth headsets is not comprehensive enough, the delay evaluation is inaccurate, and the sound quality detection accuracy under different connection distances is insufficient, resulting in large errors in performance test results.

Method used

By obtaining the test audio signal data of Bluetooth headsets in an interference environment, calculating the stutter distribution value and noise detection results, combined with signal transmission strength and frequency response curve analysis, we conduct anti-interference, delay and distance performance evaluation, and comprehensively evaluate the performance of the headset .

Benefits of technology

It improves the accuracy and efficiency of stutter detection, provides high-precision noise detection, ensures the reliability of delay evaluation, and achieves a more comprehensive and accurate Bluetooth headset performance test to achieve more ideal test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118450309B
    Figure CN118450309B
Patent Text Reader

Abstract

The present invention discloses a Bluetooth headset performance test method based on audio analysis and a related device, and relates to the field of headset testing technology. The method includes: calculating a jam distribution value based on the jam observation window using test audio signal data; performing noise detection based on frequency domain energy distribution and harmonic distortion coefficient; performing anti-interference evaluation based on the jam distribution value and the noise detection result; performing delay evaluation based on audio output delay; performing signal transmission strength detection based on different connection distances, and performing sound quality detection based on different connection distances combined with frequency response curve analysis, and performing distance performance evaluation based on a number of signal transmission strength data and sound quality detection data; performing comprehensive evaluation based on anti-interference evaluation results, delay evaluation results, and distance performance evaluation results to divide its performance test level. The present invention realizes a more comprehensive and reliable Bluetooth headset performance test, so that the Bluetooth headset performance test can achieve a more ideal effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of earphone testing, and in particular to a Bluetooth earphone performance testing method based on audio analysis and a related device. Background Art

[0002] Bluetooth headsets are common electronic devices in modern life. In order to ensure the quality of Bluetooth headsets, performance tests need to be performed on them. In the performance test of Bluetooth headsets, anti-interference evaluation is a very important test. In the current anti-interference evaluation of Bluetooth headsets, the audio stuttering of Bluetooth headsets is usually evaluated through the subjective hearing of testers, but this method cannot guarantee the accuracy and stability of stuttering detection. At the same time, the detection efficiency is low, resulting in large errors in the final stuttering detection results. At the same time, the current anti-interference evaluation is mainly aimed at audio stuttering detection, while ignoring noise detection, making the anti-interference evaluation of Bluetooth headsets not comprehensive enough and unable to better reflect the anti-interference performance of Bluetooth headsets. For the delay evaluation of Bluetooth headsets, the audio output delay of Bluetooth headsets is currently determined only by the audio writing duration, but this method is not accurate for delay evaluation, resulting in a large deviation between the obtained delay evaluation results and the actual situation. At the same time, for the performance evaluation of Bluetooth headsets at different connection distances, the sound quality of the headset is usually tested by simply comparing the test frequency response curve at different connection distances with the standard frequency response curve, and then the performance at different connection distances is evaluated. However, the evaluation accuracy of this method is insufficient and it is impossible to reliably detect the sound quality of Bluetooth headsets at different connection distances. At the same time, in the performance test of Bluetooth headsets at different connection distances, the detection of signal transmission strength is ignored, making the performance test of Bluetooth headsets not comprehensive enough, resulting in the failure of the Bluetooth headset performance test to achieve the expected results. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a Bluetooth headset performance testing method and related devices based on audio analysis to achieve a more comprehensive and reliable Bluetooth headset performance test, so that the Bluetooth headset performance test can achieve a more ideal effect.

[0004] In order to solve the above technical problems, the present invention provides a Bluetooth headset performance testing method based on audio analysis, the method comprising:

[0005] Acquire test audio signal data of the Bluetooth headset in an interference environment, set a jamming observation window, and calculate a jamming distribution value using the test audio signal data based on the jamming observation window;

[0006] Acquire frequency domain energy distribution and harmonic distortion coefficient of an audio signal frame based on the test audio signal data, perform noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtain a noise detection result;

[0007] Based on the stutter distribution value and the noise detection result, an anti-interference evaluation of the Bluetooth headset is performed to obtain an anti-interference evaluation result;

[0008] Determine the audio output delay using the data compression time window based on the test audio signal data, and perform a delay evaluation based on the audio output delay to obtain a delay evaluation result;

[0009] Perform signal transmission strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal transmission strength data, perform sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, and perform distance performance evaluation of the Bluetooth headset based on the number of signal transmission strength data and the number of sound quality detection data to obtain a distance performance evaluation result;

[0010] Based on the anti-interference evaluation results, the delay evaluation results and the distance performance evaluation results, the performance of the Bluetooth headset is comprehensively evaluated to obtain a comprehensive evaluation result, and the performance test level of the Bluetooth headset is divided based on the comprehensive evaluation result.

[0011] Optionally, setting a jam observation window, and calculating a jam distribution value using the test audio signal data based on the jam observation window, includes:

[0012] Setting a jam observation window based on a preset jam window condition and a preset window length;

[0013] Calculate the number of freeze windows in the test audio signal data based on the freeze observation window;

[0014] Counting the jam frame segments in the test audio signal data based on the jam observation window;

[0015] Acquire a single-frame audio decoding processing time in the test audio signal data based on an audio decoding function and a hook function, and calculate a jam rate based on the single-frame audio decoding processing time by using the jam observation window in combination with a jam detection model;

[0016] The jam distribution value is calculated based on the number of jam windows, the jam frame segments and the jam rate.

[0017] Optionally, the acquiring frequency domain energy distribution and harmonic distortion coefficient of the audio signal frame based on the test audio signal data, performing noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtaining the noise detection result includes:

[0018] Obtaining the sum of signal frame energy and frame energy change trend value of the test audio signal data within a preset frequency domain range, and calculating the ratio of the sum of signal frame energy to the frame energy change trend value;

[0019] Calculating a derivative of a ratio of the sum of the signal frame energies to the frame energy change trend value, and generating a frequency domain energy distribution of the audio signal frame based on the derivative of the ratio of the sum of the signal frame energies to the frame energy change trend value;

[0020] Calculating harmonic distortion and higher harmonic distortion in the test audio signal data, and generating a harmonic distortion coefficient based on the harmonic distortion and higher harmonic distortion;

[0021] Noise type detection and noise degree detection are performed based on the frequency domain energy distribution and the harmonic distortion coefficient to obtain noise type information and noise degree information.

[0022] Optionally, the performing anti-interference evaluation of the Bluetooth headset based on the jamming distribution value and the noise detection result to obtain the anti-interference evaluation result includes:

[0023] A difference operation is performed between the jam distribution value and the first preset expected value to obtain a first difference, and the anti-interference performance of the Bluetooth headset is evaluated based on the first difference and the noise type information and the noise degree information in the noise detection result to obtain an anti-interference performance evaluation result.

[0024] Optionally, determining the audio output delay using a data compression time window based on the test audio signal data, and performing a delay evaluation based on the audio output delay to obtain a delay evaluation result includes:

[0025] Calculate the audio writing duration and the audio playing duration based on the test audio signal data;

[0026] Obtaining an association relationship between a data compression time window and a delay time, and obtaining a load condition of the Bluetooth headset, generating an adjustment parameter based on the association relationship and the load condition, and generating a target data compression time window based on the adjustment parameter and the association relationship;

[0027] Calculate a delay value of a frame number based on the target data compression time window using the audio writing duration and the audio playing duration, and determine an audio output delay based on the delay value of the frame number;

[0028] A difference operation is performed based on the audio output delay and a second preset expected value to obtain a second difference, and a delay evaluation is performed based on the second difference to obtain a delay evaluation result.

[0029] Optionally, the signal transmission strength detection is performed based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal transmission strength data, including:

[0030] Perform signal strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal strength data;

[0031] Performing distance attenuation calculation on a plurality of signal strength data to obtain a plurality of signal strength attenuation data;

[0032] Performing transmission rate analysis based on a plurality of signal strength attenuation data to obtain a plurality of signal transmission rate data;

[0033] A transmission path loss power analysis is performed based on a plurality of signal strength data to obtain a plurality of transmission path loss power data, and a plurality of signal transmission strength data is generated based on the plurality of signal strength attenuation data, the plurality of signal transmission rate data and the plurality of transmission path loss power data.

[0034] Optionally, the sound quality detection is performed based on different connection distances in combination with frequency response curve analysis to obtain a number of sound quality detection data, including:

[0035] Obtain several frequency response detection curves corresponding to the Bluetooth headset at different connection distances, and obtain a frequency response standard curve corresponding to each frequency response detection curve;

[0036] Calculate a first low frequency ratio and a first high frequency ratio of a frequency response standard curve, and calculate a second low frequency ratio and a second high frequency ratio of a frequency response detection curve;

[0037] Generate a discrete sequence of the standard frequency response curve using the standard frequency response curve based on the first low-frequency ratio and the first high-frequency ratio, calculate a first information entropy of the discrete sequence of the standard frequency response curve, calculate a second information entropy of the discrete sequence of the standard frequency response curve within a preset window, and calculate the standard sound quality stability based on the first information entropy and the second information entropy;

[0038] generating a discrete sequence of frequency response detection curves using the frequency response detection curve based on the second low-frequency ratio and the second high-frequency ratio, calculating a third information entropy of the discrete sequence of frequency response detection curves, calculating a fourth information entropy of the discrete sequence of frequency response detection curves within a preset window, and calculating a test sound quality stability based on the third information entropy and the fourth information entropy;

[0039] Based on the standard sound quality stability and the test sound quality stability, sound quality detection is performed at different connection distances to obtain a number of sound quality detection data.

[0040] In addition, the present invention also provides a Bluetooth headset performance test device based on audio analysis, the device comprising:

[0041] A jam distribution value calculation module is used to obtain test audio signal data of the Bluetooth headset in an interference environment, set a jam observation window, and calculate the jam distribution value based on the jam observation window using the test audio signal data;

[0042] Noise detection module: used for obtaining frequency domain energy distribution and harmonic distortion coefficient of the audio signal frame based on the test audio signal data, performing noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtaining a noise detection result;

[0043] An anti-interference evaluation module: used to perform an anti-interference evaluation of the Bluetooth headset based on the stutter distribution value and the noise detection result to obtain an anti-interference evaluation result;

[0044] A delay evaluation module: used to determine the audio output delay based on the test audio signal data using a data compression time window, and perform a delay evaluation based on the audio output delay to obtain a delay evaluation result;

[0045] Distance performance evaluation module: used to test the signal transmission strength based on different connection distances between the test mobile terminal and the Bluetooth headset, obtain a number of signal transmission strength data, and perform sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, and perform distance performance evaluation of the Bluetooth headset based on a number of signal transmission strength data and a number of sound quality detection data to obtain a distance performance evaluation result;

[0046] Comprehensive evaluation module: used to comprehensively evaluate the performance of the Bluetooth headset based on the anti-interference evaluation results, delay evaluation results and distance performance evaluation results, obtain comprehensive evaluation results, and divide the performance test level of the Bluetooth headset based on the comprehensive evaluation results.

[0047] In addition, the present invention also provides an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the above-mentioned Bluetooth headset performance testing method based on audio analysis.

[0048] In addition, the present invention also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned Bluetooth headset performance testing method based on audio analysis.

[0049] In an embodiment of the present invention, the jamming distribution value is calculated based on the jamming observation window using the test audio signal data, which not only improves the accuracy and stability of jamming detection, but also improves the efficiency of jamming detection. Noise detection based on frequency domain energy distribution and harmonic distortion coefficient can provide high-precision noise detection. In the anti-interference evaluation of Bluetooth headsets, noise detection is added to make the anti-interference evaluation more accurate and comprehensive. Based on the test audio signal data, the audio output delay is determined using the data compression time window to perform delay evaluation, ensuring the reliability of the delay evaluation, so that the obtained delay evaluation result is closer to the actual situation. Based on the different connection distances between the test mobile terminal and the Bluetooth headset, the signal transmission strength detection is performed, and the sound quality detection of different connection distances is performed based on the standard sound quality stability generated by information entropy and the test sound quality stability. Through signal transmission strength detection and sound quality detection, a more comprehensive and accurate distance performance evaluation of the Bluetooth headset is achieved, and a more comprehensive and reliable Bluetooth headset performance test is achieved, so that the Bluetooth headset performance test can achieve a more ideal effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 is a flowchart of a method for testing Bluetooth headset performance based on audio analysis in an embodiment of the present invention;

[0052] Figure 2 Schematic diagram of the structure of a Bluetooth headset performance test device based on audio analysis in an embodiment of the present invention;

[0053] Figure 3 It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Embodiment 1

[0056] See also Figure 1 , Figure 1It is a flowchart of a method for testing the performance of a Bluetooth headset based on audio analysis in an embodiment of the present invention.

[0057] like Figure 1 As shown, a Bluetooth headset performance testing method based on audio analysis, the method comprising:

[0058] S11: Acquire test audio signal data of the Bluetooth headset in an interference environment, set a jamming observation window, and calculate a jamming distribution value using the test audio signal data based on the jamming observation window;

[0059] In the specific implementation process of the present invention, the setting of a jamming observation window and the calculation of a jamming distribution value based on the jamming observation window using the test audio signal data include: setting a jamming observation window based on a preset jamming window condition and a preset window length; calculating the number of jamming windows in the test audio signal data based on the jamming observation window; counting the jamming frame segments in the test audio signal data based on the jamming observation window; obtaining a single-frame audio decoding processing time in the test audio signal data based on an audio decoding function and a hook function, and calculating a jamming rate based on the single-frame audio decoding processing time using the jamming observation window combined with a jamming detection model; and calculating a jamming distribution value based on the number of jamming windows, jamming frame segments, and jamming rate.

[0060] Specifically, the test audio signal data of the Bluetooth headset in the interference environment state is obtained, and the interference signal is transmitted through the interference signal transmitter to put the Bluetooth headset in the interference environment state. The test audio signal data is obtained through the data acquisition device. The test audio signal data is the test audio attribute information, including the total number of audio playback samples, the total number of audio bytes written, the audio sampling rate, the number of channels, each audio frame, frame energy and the number of sampling bits. The jamming observation window is set based on the preset jamming window condition and the preset window length. The preset jamming window condition is whether the number of empty frames of the audio frames in the test audio signal data is greater than or equal to the preset empty frame number threshold or the silent frame with zero frame energy. The number of jamming windows in the test audio signal data is calculated based on the jamming observation window, and the number of audio frames in the test audio signal data that are greater than or equal to the preset empty frame number threshold is counted through the jamming observation window, which is the number of jamming windows. Based on the jam observation window, the jam frame segments in the test audio signal data are counted, and the silent frames with zero frame energy in the test audio signal data are detected through the jam observation window. The frame segments with a continuous number of silent frames reaching a preset number of frames are regarded as jam frame segments, and the number of jam frame segments is counted. Based on the audio decoding function and the hook function, the single-frame audio decoding processing time in the test audio signal data is obtained, and the time recording function is obtained by combining the audio decoding function with the hook function, and the single-frame audio decoding processing time in the test audio signal data is obtained based on the time recording function. The jam rate is calculated based on the single-frame audio decoding processing time using the jam observation window in combination with a jam detection model. The jam detection model includes a continuous audio jam detection model and a continuous audio jam detection model. The continuous audio jam detection model and the continuous audio jam detection model are convergence models obtained by inputting a sample data set into a deep neural network for training. By inputting the single-frame audio decoding processing time into the audio jam detection model, it is determined whether continuous jamming or continuous jamming occurs in the single-frame audio decoding processing time. If it is determined that continuous jamming or continuous jamming occurs, the number of continuous jamming or continuous jamming is counted through the jam observation window. The jam rate is obtained by dividing the number of continuous jamming or continuous jamming by the total number of the two. The jam observation window can improve the accuracy of the jam rate evaluation by identifying the scene that causes the jam, and the use of the jam observation window simplifies the calculation process of jam quantification and evaluation. The jamming distribution value is calculated based on the number of jamming windows, jamming frame segments and jamming rate, and the number of jamming windows, the number of jamming frame segments and the jamming rate are multiplied by their corresponding weight ratios, which can be obtained from the database. Then, the respective products are added together to obtain the jamming distribution value.

[0061] S12: acquiring frequency domain energy distribution and harmonic distortion coefficient of an audio signal frame based on the test audio signal data, performing noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtaining a noise detection result;

[0062] In a specific implementation of the present invention, the frequency domain energy distribution and harmonic distortion coefficient of the audio signal frame are obtained based on the test audio signal data, and noise detection is performed based on the frequency domain energy distribution and harmonic distortion coefficient to obtain a noise detection result, including: obtaining the sum of signal frame energies and frame energy change trend values ​​of the test audio signal data within a preset frequency domain range, and calculating the ratio of the signal frame energy sum to the frame energy change trend value; calculating the derivative of the ratio of the signal frame energy sum to the frame energy change trend value, and generating the frequency domain energy distribution of the audio signal frame based on the derivative of the ratio of the signal frame energy sum to the frame energy change trend value; calculating the harmonic distortion and higher-order harmonic distortion in the test audio signal data, and generating the harmonic distortion coefficient based on the harmonic distortion and higher-order harmonic distortion; performing noise type detection and noise degree detection based on the frequency domain energy distribution and harmonic distortion coefficient to obtain noise type information and noise degree information.

[0063] Specifically, the sum of the signal frame energy and the frame energy change trend value of the test audio signal data within a preset frequency domain range are obtained, the test audio signal data contains frame energy, the sum of the signal frame energy and the average value of the signal frame energy are calculated according to the frame energy contained in the test audio signal data within the preset range, the frame energy change trend value is calculated according to the signal frame energy average value, and the ratio of the sum of the signal frame energy to the frame energy change trend value is calculated. The derivative of the ratio of the sum of the signal frame energy to the frame energy change trend value is calculated, and the derivative of the ratio of the sum of the signal frame energy to the frame energy change trend value is calculated according to the Lagrange numerical differentiation method, wherein the numerical differentiation order is used in the calculation process, and the frequency domain energy distribution of the audio signal frame is generated based on the derivative of the ratio of the sum of the signal frame energy to the frame energy change trend value, the maximum distribution parameter is obtained according to the derivative of the ratio of the sum of the signal frame energy to the frame energy change trend value, and the frequency domain energy distribution is generated according to the maximum distribution parameter. Calculate the harmonic distortion and higher harmonic distortion in the test audio signal data, perform Fourier transform on the test audio signal data, that is, decompose the audio frame into a superposition of sine waves and cosine waves of different frequencies, obtain the target spectrum, obtain the fundamental wave amplitude and the harmonic wave amplitude in the target spectrum, calculate the harmonic distortion based on the fundamental wave amplitude and the harmonic wave amplitude, calculate the higher harmonic distortion by combining the fundamental wave amplitude and the harmonic wave amplitude with a preset multiple, and construct a harmonic distortion coefficient based on the harmonic distortion and the higher harmonic distortion. Noise type detection and noise degree detection are performed based on the frequency domain energy distribution and the harmonic distortion coefficient. If the maximum distribution parameter in the frequency domain energy distribution is greater than or equal to the first preset distribution threshold, the noise type is speech noise. If it is greater than or equal to the second preset distribution threshold, it is non-speech noise. Non-speech noise includes background noise and metallic sound, etc. After determining the noise type information, the noise degree is divided according to the harmonic distortion and high-order harmonic distortion in the harmonic distortion coefficient. Different values ​​of harmonic distortion and high-order harmonic distortion represent different noise degrees, so the noise type information and noise degree information can be obtained, that is, the noise detection result.

[0064] S13: performing an anti-interference evaluation of the Bluetooth headset based on the jamming distribution value and the noise detection result to obtain an anti-interference evaluation result;

[0065] In the specific implementation process of the present invention, the anti-interference evaluation of the Bluetooth headset is performed based on the jamming distribution value and the noise detection result to obtain the anti-interference evaluation result, including: performing a difference operation on the jamming distribution value and a first preset expected value to obtain a first difference, and performing an anti-interference evaluation on the Bluetooth headset based on the first difference and the noise type information and the noise degree information in the noise detection result to obtain the anti-interference evaluation result.

[0066] Specifically, the stutter distribution value is subjected to a difference operation with a first preset expected value to obtain a first difference value, and the stuttering situation of the Bluetooth headset in an interference environment is analyzed according to the first difference value. Different differences correspond to different stuttering situations, so the anti-interference performance of the Bluetooth headset can be judged according to the first difference value, and whether the noise of the Bluetooth headset in an interference environment is serious is analyzed through the noise type information and the noise degree information in the noise detection result. The noise type information can be used to determine whether there is an abnormality in the speaker of the Bluetooth headset in the interference environment or whether the digital signal processing chip fails, and the noise degree information can be used to analyze the anti-interference performance of the Bluetooth headset in this state. The noise distribution value is generated through the noise type information and the noise degree information, and the anti-interference performance of the Bluetooth headset is evaluated through the stutter distribution value and the noise distribution value to obtain the anti-interference performance evaluation value. The anti-interference performance of the Bluetooth headset can be evaluated more comprehensively and accurately through the stutter distribution value and the noise detection result.

[0067] S14: determining an audio output delay using a data compression time window based on the test audio signal data, and performing a delay evaluation based on the audio output delay to obtain a delay evaluation result;

[0068] In the specific implementation process of the present invention, the audio output delay is determined based on the test audio signal data using a data compression time window, and a delay evaluation is performed based on the audio output delay to obtain a delay evaluation result, including: calculating the audio writing duration and the audio playback duration based on the test audio signal data; obtaining the correlation between the data compression time window and the delay time, and obtaining the load condition of the Bluetooth headset, generating adjustment parameters based on the correlation and the load condition, and generating a target data compression time window based on the adjustment parameters and the correlation; calculating the delay value of the frame sequence number based on the target data compression time window using the audio writing duration and the audio playback duration, and determining the audio output delay based on the delay value of the frame sequence number; performing a difference operation based on the audio output delay and a second preset expected value to obtain a second difference, and performing a delay evaluation based on the second difference to obtain a delay evaluation result.

[0069] Specifically, the audio writing duration is obtained by dividing the total number of audio writing samples in the test audio signal data by the audio sampling rate, wherein the total number of audio writing samples is obtained by dividing the total number of audio writing bytes by the product of the number of channels and the number of sampling bits, and the audio playing duration is obtained by dividing the total number of audio playback samples in the test audio signal data by the audio sampling rate. The correlation between the data compression time window and the delay time is obtained, and the association rule analysis is performed on different data compression time windows and delay times based on the Apriori algorithm. The Apriori algorithm is an association rule mining algorithm that uses an iterative method of layer-by-layer search to find the relationship between item sets in the data to form rules; the minimum support threshold and the minimum confidence are set, and frequent item sets are generated for different data compression time windows and delay times through iteration. After one iteration of the algorithm, different data compression time windows and delay times are scanned once, and a candidate set set is generated using the frequent item sets according to the scanning results. A new frequent item set is determined in the candidate set set according to the set minimum support threshold, and a frequent set is obtained by analogy. On the basis of the frequent set, a rule that meets the minimum confidence is generated. The generated rule is called a strong association rule. In this way, a strong association rule can be obtained, and a correlation analysis is performed on different data compression time windows and delay times based on the strong association rule. The strong association rule covers the relevant features and attributes between the data compression time window and the delay time, and the correlation relationship between the data compression time window and the delay time is obtained. The load condition of the Bluetooth headset is obtained from the database, and adjustment parameters are generated based on the correlation relationship and the load condition. The adjustment parameters are generated using a preset adjustment parameter relationship according to the correlation relationship and the load condition, and a target data compression time window is generated based on the adjustment parameters and the correlation relationship. The preset data compression time window is dynamically adjusted according to the adjustment parameters and the correlation relationship to obtain the target data compression time window. The target data compression time window can provide a delay value analysis that is closer to the actual situation, while speeding up the efficiency and accuracy of the delay calculation. Based on the target data compression time window, the delay value of the frame number is calculated using the audio writing time and the audio playing time, and the audio writing time is subtracted from the audio playing time to obtain the time difference, and the delay value of the frame number is obtained by multiplying the time difference by the value of the target data compression time window, and the audio output delay is determined based on the delay value of the frame number, and the delay value of the frame number is the audio output delay. A difference operation is performed based on the audio output delay and the second preset expected value to obtain a second difference, and a delay evaluation is performed based on the second difference. The delay is analyzed based on the second difference, and different differences correspond to different delay degrees, and a delay evaluation result is obtained.

[0070] S15: performing signal transmission strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal transmission strength data, performing sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, and performing distance performance evaluation of the Bluetooth headset based on the number of signal transmission strength data and the number of sound quality detection data to obtain a distance performance evaluation result;

[0071] In the specific implementation process of the present invention, the signal transmission strength detection is performed based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal transmission strength data, including: performing signal strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal strength data; performing distance attenuation calculation on a number of signal strength data to obtain a number of signal strength attenuation data; performing transmission rate analysis based on a number of signal strength attenuation data to obtain a number of signal transmission rate data; performing transmission path loss power analysis based on a number of signal strength data to obtain a number of transmission path loss power data, and generating a number of signal transmission strength data based on the number of signal strength attenuation data, a number of signal transmission rate data and a number of transmission path loss power data.

[0072] Furthermore, the sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data includes: obtaining a number of frequency response detection curves corresponding to the Bluetooth headset at different connection distances, and obtaining a frequency response standard curve corresponding to each frequency response detection curve; calculating a first low frequency ratio and a first high frequency ratio of the frequency response standard curve, and calculating a second low frequency ratio and a second high frequency ratio of the frequency response detection curve; generating a discrete sequence of the frequency response standard curve based on the first low frequency ratio and the first high frequency ratio using the frequency response standard curve, calculating a first information entropy of the discrete sequence of the frequency response standard curve, and calculating the a second information entropy of a discrete sequence of a frequency response standard curve within a preset window, and calculating the standard sound quality stability based on the first information entropy and the second information entropy; generating a discrete sequence of a frequency response detection curve using the frequency response detection curve based on the second low-frequency ratio and the second high-frequency ratio, calculating the third information entropy of the discrete sequence of the frequency response detection curve, calculating the fourth information entropy of the discrete sequence of the frequency response detection curve within the preset window, and calculating the test sound quality stability based on the third information entropy and the fourth information entropy; performing sound quality detection at different connection distances based on the standard sound quality stability and the test sound quality stability, and obtaining a plurality of sound quality detection data.

[0073] Specifically, based on the different connection distances between the test mobile terminal and the Bluetooth headset, the signal strength detection is performed by obtaining the receiving strength of the Bluetooth headset connection signal at different connection distances, and the signal strength detection is performed based on the receiving strength to obtain several signal strength data. The signal strength data can be used to evaluate the stability and reliability of the connection. A stronger signal strength usually indicates a better connection quality. The distance attenuation calculation is performed on several signal strength data. The attenuation of the signal during the transmission process is calculated based on the signal strength data and the connection distance combined with the free space propagation model. The free space propagation model is used to predict the field strength of the received signal when there is a completely unobstructed line-of-sight path between the receiver and the transmitter. It is a model of radio wave propagation with large-scale path loss. The free space model predicts the attenuation of the received power as a function of the distance between the transmitter and the receiver. Several signal strength attenuation data are obtained. The signal strength attenuation data helps to understand the stability and accessibility of the signal at different connection distances. The transmission rate analysis is performed based on several signal strength attenuation data. The transmission rate is evaluated based on the signal strength data and the signal strength attenuation data. Several signal transmission rate data can be used to determine the current data transmission capacity and obtain several signal transmission rate data. Based on a number of signal strength data, a transmission path loss power analysis is performed. Based on the weighted least squares method, the signal strength data is used to construct a minimization function of the loss function. The minimization function of the loss function is converted into a weighted least squares problem. The weighted least squares problem is solved by iterative weighted least squares method to obtain a number of transmission path loss power data. Based on the said number of signal strength attenuation data, a number of signal transmission rate data and a number of transmission path loss power data, a number of signal transmission strength data are generated, that is, a number of signal strength attenuation data, a number of signal transmission rate data and a number of transmission path loss power data obtained by analyzing different connection distances between the test mobile terminal and the Bluetooth headset constitute a number of signal transmission strength data. Obtain a number of frequency response detection curves corresponding to the Bluetooth headset at different connection distances, and obtain a frequency response standard curve corresponding to each frequency response detection curve. The frequency response standard curve is the frequency response curve obtained by the standard Bluetooth headset at the corresponding connection distance. Calculate the first low-frequency ratio and the first high-frequency ratio of the frequency response standard curve, obtain the average amplitude corresponding to the octave band in the frequency response standard curve, obtain the upper limit frequency of the preset low-frequency part energy and the upper limit frequency of the preset low- and medium-frequency band range, and calculate the first low-frequency ratio according to the average amplitude corresponding to the octave band, the upper limit frequency of the preset low-frequency part energy and the upper limit frequency of the preset low- and medium-frequency band range. The calculation expression of the first low-frequency ratio is:

[0074] ,

[0075] in, is the first low frequency ratio, To preset the upper limit frequency of the low-frequency energy, The upper limit frequency of the preset mid-low frequency band range, is the average amplitude corresponding to the octave band, The real part and imaginary part of the sound frequency domain data in the frequency response standard curve are obtained, and the first high frequency ratio is calculated according to the real part and imaginary part of the sound frequency domain data, and the second low frequency ratio and the second high frequency ratio of the frequency response detection curve are calculated, and the average amplitude corresponding to the detection octave band in the frequency response detection curve are obtained, and the upper limit frequency of the preset low frequency part energy and the upper limit frequency of the preset low-frequency band range corresponding to the frequency response detection curve are obtained, and then the second low frequency ratio is calculated, and the real part and imaginary part of the sound frequency domain data in the frequency response detection curve are obtained, and then the second high frequency ratio is calculated. Based on the first low frequency ratio and the first high frequency ratio, the frequency response standard curve is used to generate a discrete sequence of the frequency response standard curve, and the lower bound is divided according to the first low frequency ratio, and the upper bound is divided according to the first high frequency ratio. The frequency response standard curve is divided into a plurality of standard sound pressure level sub-intervals according to the divided upper and lower bounds, and the plurality of standard sound pressure level sub-intervals are formed into a sequence to obtain a discrete sequence of the frequency response standard curve. The first information entropy of the discrete sequence of the frequency response standard curve is calculated, each standard sound pressure level sub-interval in the discrete sequence of the frequency response standard curve is used as a standard element, the first information entropy of all standard elements in the discrete sequence of the frequency response standard curve is calculated, and the first information entropy can characterize the overall sound quality disorder degree, the second information entropy of the discrete sequence of the frequency response standard curve in a preset window is calculated, that is, the second information entropy of the standard element of the discrete sequence of the frequency response standard curve in the preset window is calculated, and the second information entropy can characterize the local sound quality disorder degree, and the standard sound quality stability is calculated based on the first information entropy and the second information entropy, and the ratio of the first information entropy to the second information entropy is the standard sound quality stability. Based on the second low-frequency ratio and the second high-frequency ratio, the frequency response detection curve is used to generate a discrete sequence of frequency response detection curves, the second low-frequency ratio is used as the corresponding lower bound, the second high-frequency ratio is used as the corresponding upper bound, the frequency response detection curve is divided into a plurality of detection sound pressure level sub-intervals according to the divided upper bound and lower bound, and the plurality of detection sound pressure level sub-intervals are composed into a sequence to obtain a discrete sequence of frequency response detection curves. The third information entropy of the discrete sequence of the frequency response detection curve is calculated, each detection sound pressure level sub-interval in the discrete sequence of the frequency response detection curve is used as a detection element, the third information entropy of all detection elements in the discrete sequence of the frequency response detection curve is calculated, the fourth information entropy of the discrete sequence of the frequency response detection curve in a preset window is calculated, the fourth information entropy of the detection element in the discrete sequence of the frequency response detection curve in the preset window is calculated, and the test sound quality stability is calculated based on the third information entropy and the fourth information entropy, and the ratio of the third information entropy to the fourth information entropy is the test sound quality stability. Sound quality detection at different connection distances is performed based on the standard sound quality stability and the test sound quality stability, and a difference operation is performed based on the standard sound quality stability and the test sound quality stability at different connection distances. According to the difference in sound quality stability at different connection distances, the difference between the Bluetooth headset and the standard sound quality at different connection distances can be obtained, that is, a number of sound quality detection data are obtained.The distance performance of the Bluetooth headset is evaluated based on several signal transmission strength data and several sound quality detection data. The signal transmission strength data and sound quality detection data corresponding to different connection distances can be used to evaluate the performance of the Bluetooth headset at different connection distances. The signal transmission strength and sound quality of the Bluetooth headset when it is at different distances from the mobile terminal can be known, and the corresponding distance performance evaluation value and distance performance evaluation result can be obtained.

[0076] S16: Comprehensively evaluate the performance of the Bluetooth headset based on the anti-interference evaluation result, the delay evaluation result and the distance performance evaluation result to obtain a comprehensive evaluation result, and divide the performance test level of the Bluetooth headset based on the comprehensive evaluation result.

[0077] In the specific implementation process of the present invention, the performance of the Bluetooth headset is comprehensively evaluated based on the anti-interference evaluation results, the delay evaluation results and the distance performance evaluation results. The comprehensive performance evaluation of the Bluetooth headset can be performed according to the anti-interference evaluation value, the delay degree and the distance performance evaluation value to obtain a comprehensive performance evaluation value, that is, to obtain a comprehensive evaluation result. The performance test level of the Bluetooth headset is divided according to the comprehensive performance evaluation value, and the performance test level may include excellent performance, good performance, qualified performance and unqualified performance.

[0078] In an embodiment of the present invention, the jamming distribution value is calculated based on the jamming observation window using the test audio signal data, which not only improves the accuracy and stability of jamming detection, but also improves the efficiency of jamming detection. Noise detection based on frequency domain energy distribution and harmonic distortion coefficient can provide high-precision noise detection. In the anti-interference evaluation of Bluetooth headsets, noise detection is added to make the anti-interference evaluation more accurate and comprehensive. Based on the test audio signal data, the audio output delay is determined using the data compression time window to perform delay evaluation, ensuring the reliability of the delay evaluation, so that the obtained delay evaluation result is closer to the actual situation. Based on the different connection distances between the test mobile terminal and the Bluetooth headset, the signal transmission strength detection is performed, and the sound quality detection of different connection distances is performed based on the standard sound quality stability generated by information entropy and the test sound quality stability. Through signal transmission strength detection and sound quality detection, a more comprehensive and accurate distance performance evaluation of the Bluetooth headset is achieved, and a more comprehensive and reliable Bluetooth headset performance test is achieved, so that the Bluetooth headset performance test can achieve a more ideal effect.

[0079] Embodiment 2

[0080] See also Figure 2 , Figure 2 It is a schematic diagram of the structural composition of a Bluetooth headset performance testing device based on audio analysis in an embodiment of the present invention.

[0081] like Figure 2As shown, a Bluetooth headset performance test device based on audio analysis, the device comprises:

[0082] The jamming distribution value calculation module 21 is used to obtain the test audio signal data of the Bluetooth headset in the interference environment state, set the jamming observation window, and calculate the jamming distribution value based on the jamming observation window using the test audio signal data;

[0083] The noise detection module 22 is used to obtain the frequency domain energy distribution and harmonic distortion coefficient of the audio signal frame based on the test audio signal data, perform noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtain a noise detection result;

[0084] The anti-interference evaluation module 23 is used to perform an anti-interference evaluation of the Bluetooth headset based on the jamming distribution value and the noise detection result to obtain an anti-interference evaluation result;

[0085] The delay evaluation module 24 is used to determine the audio output delay based on the test audio signal data using the data compression time window, and perform delay evaluation based on the audio output delay to obtain a delay evaluation result;

[0086] Distance performance evaluation module 25: used to perform signal transmission strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset, obtain a number of signal transmission strength data, and perform sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, and perform distance performance evaluation of the Bluetooth headset based on the number of signal transmission strength data and the number of sound quality detection data to obtain a distance performance evaluation result;

[0087] Comprehensive evaluation module 26: used to comprehensively evaluate the performance of the Bluetooth headset based on the anti-interference evaluation result, the delay evaluation result and the distance performance evaluation result, obtain a comprehensive evaluation result, and classify the performance test level of the Bluetooth headset based on the comprehensive evaluation result.

[0088] In the specific implementation process of the present invention, the specific implementation method of the device item can refer to the implementation method of the above-mentioned method item, which will not be repeated here.

[0089] In an embodiment of the present invention, the jamming distribution value is calculated based on the jamming observation window using the test audio signal data, which not only improves the accuracy and stability of jamming detection, but also improves the efficiency of jamming detection. Noise detection based on frequency domain energy distribution and harmonic distortion coefficient can provide high-precision noise detection. In the anti-interference evaluation of Bluetooth headsets, noise detection is added to make the anti-interference evaluation more accurate and comprehensive. Based on the test audio signal data, the audio output delay is determined using the data compression time window to perform delay evaluation, ensuring the reliability of the delay evaluation, so that the obtained delay evaluation result is closer to the actual situation. Based on the different connection distances between the test mobile terminal and the Bluetooth headset, the signal transmission strength detection is performed, and the sound quality detection of different connection distances is performed based on the standard sound quality stability generated by information entropy and the test sound quality stability. Through signal transmission strength detection and sound quality detection, a more comprehensive and accurate distance performance evaluation of the Bluetooth headset is achieved, and a more comprehensive and reliable Bluetooth headset performance test is achieved, so that the Bluetooth headset performance test can achieve a more ideal effect.

[0090] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, a Bluetooth headset performance test method based on audio analysis in any of the above embodiments is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the storage device includes any medium that can store or transmit information in a readable form by a device (for example, a computer, a mobile phone), which can be a read-only memory, a disk or an optical disk, etc.

[0091] Embodiment 3

[0092] See also Figure 3 , Figure 3 It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention.

[0093] The embodiment of the present invention further provides an electronic device, such as Figure 3As shown, the electronic device includes a memory 31, a processor 33, and a computer program 32 stored in the memory 31 and executable on the processor 33. Those skilled in the art will appreciate that Figure 3 The electronic device shown does not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 31 can be used to store the computer program 32 and various functional modules, and the processor 33 runs the computer program 32 stored in the memory 31, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include both internal and external memories. The internal memory can include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory can include a hard disk, a floppy disk, a ZIP disk, a U disk, a magnetic tape, etc. The processor 33 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general processor may be a microprocessor, a single chip microcomputer or the processor 33 may also be any conventional processor, etc. The processor and memory disclosed in the present invention include but are not limited to these types of processors and memories. The processor and memory disclosed in the present invention are only examples and not limitations.

[0094] As an embodiment, the electronic device includes: one or more processors 33, a memory 31, and one or more computer programs 32, wherein the one or more computer programs 32 are stored in the memory 31 and are configured to be executed by the one or more processors 33, and the one or more computer programs 32 are configured to execute the Bluetooth headset performance testing method based on audio analysis in any of the above-mentioned embodiments. For the specific implementation process, please refer to the above-mentioned embodiments and will not be repeated here.

[0095] In an embodiment of the present invention, the jamming distribution value is calculated based on the jamming observation window using the test audio signal data, which not only improves the accuracy and stability of jamming detection, but also improves the efficiency of jamming detection. Noise detection based on frequency domain energy distribution and harmonic distortion coefficient can provide high-precision noise detection. In the anti-interference evaluation of Bluetooth headsets, noise detection is added to make the anti-interference evaluation more accurate and comprehensive. Based on the test audio signal data, the audio output delay is determined using the data compression time window to perform delay evaluation, ensuring the reliability of the delay evaluation, so that the obtained delay evaluation result is closer to the actual situation. Based on the different connection distances between the test mobile terminal and the Bluetooth headset, the signal transmission strength detection is performed, and the sound quality detection of different connection distances is performed based on the standard sound quality stability generated by information entropy and the test sound quality stability. Through signal transmission strength detection and sound quality detection, a more comprehensive and accurate distance performance evaluation of the Bluetooth headset is achieved, and a more comprehensive and reliable Bluetooth headset performance test is achieved, so that the Bluetooth headset performance test can achieve a more ideal effect.

[0096] In addition, the above is a detailed introduction to a Bluetooth headset performance testing method based on audio analysis and related devices provided in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a general technician in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A Bluetooth headset performance test method based on audio analysis, It is characterized in that The method comprises: Acquire test audio signal data of the Bluetooth headset in an interference environment, set a jamming observation window, and calculate a jamming distribution value using the test audio signal data based on the jamming observation window; Acquire frequency domain energy distribution and harmonic distortion coefficient of an audio signal frame based on the test audio signal data, perform noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtain a noise detection result; Based on the stutter distribution value and the noise detection result, an anti-interference evaluation of the Bluetooth headset is performed to obtain an anti-interference evaluation result; Determine the audio output delay using the data compression time window based on the test audio signal data, and perform a delay evaluation based on the audio output delay to obtain a delay evaluation result; Perform signal transmission strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal transmission strength data, perform sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, and perform distance performance evaluation of the Bluetooth headset based on the number of signal transmission strength data and the number of sound quality detection data to obtain a distance performance evaluation result; Based on the anti-interference evaluation results, the delay evaluation results and the distance performance evaluation results, the performance of the Bluetooth headset is comprehensively evaluated to obtain a comprehensive evaluation result, and the performance test level of the Bluetooth headset is divided based on the comprehensive evaluation result.

2. The Bluetooth headset performance testing method based on audio analysis according to claim 1, It is characterized in that The step of setting a jam observation window and calculating a jam distribution value based on the jam observation window using the test audio signal data includes: Setting a jam observation window based on a preset jam window condition and a preset window length; Calculate the number of freeze windows in the test audio signal data based on the freeze observation window; Counting the jam frame segments in the test audio signal data based on the jam observation window; Acquire a single-frame audio decoding processing time in the test audio signal data based on an audio decoding function and a hook function, and calculate a jam rate based on the single-frame audio decoding processing time by using the jam observation window in combination with a jam detection model; The jam distribution value is calculated based on the number of jam windows, the jam frame segments and the jam rate.

3. The Bluetooth headset performance testing method based on audio analysis according to claim 1, It is characterized in that The acquiring frequency domain energy distribution and harmonic distortion coefficient of the audio signal frame based on the test audio signal data, performing noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtaining the noise detection result includes: Obtaining the sum of signal frame energy and frame energy change trend value of the test audio signal data within a preset frequency domain range, and calculating the ratio of the sum of signal frame energy to the frame energy change trend value; Calculating a derivative of a ratio of the sum of the signal frame energies to the frame energy change trend value, and generating a frequency domain energy distribution of the audio signal frame based on the derivative of the ratio of the sum of the signal frame energies to the frame energy change trend value; Calculating harmonic distortion and higher harmonic distortion in the test audio signal data, and generating a harmonic distortion coefficient based on the harmonic distortion and higher harmonic distortion; Noise type detection and noise degree detection are performed based on the frequency domain energy distribution and the harmonic distortion coefficient to obtain noise type information and noise degree information.

4. The Bluetooth headset performance testing method based on audio analysis according to claim 1, It is characterized in that The anti-interference evaluation of the Bluetooth headset is performed based on the jamming distribution value and the noise detection result to obtain the anti-interference evaluation result, including: A difference operation is performed between the jam distribution value and the first preset expected value to obtain a first difference, and the anti-interference performance of the Bluetooth headset is evaluated based on the first difference and the noise type information and the noise degree information in the noise detection result to obtain an anti-interference performance evaluation result.

5. The Bluetooth headset performance testing method based on audio analysis according to claim 1, It is characterized in that The method of determining the audio output delay based on the test audio signal data by using a data compression time window, and performing a delay evaluation based on the audio output delay to obtain a delay evaluation result includes: Calculate the audio writing duration and the audio playing duration based on the test audio signal data; Obtaining an association relationship between a data compression time window and a delay time, and obtaining a load condition of the Bluetooth headset, generating an adjustment parameter based on the association relationship and the load condition, and generating a target data compression time window based on the adjustment parameter and the association relationship; Calculate a delay value of a frame number based on the target data compression time window using the audio writing duration and the audio playing duration, and determine an audio output delay based on the delay value of the frame number; A difference operation is performed based on the audio output delay and a second preset expected value to obtain a second difference, and a delay evaluation is performed based on the second difference to obtain a delay evaluation result.

6. The Bluetooth headset performance testing method based on audio analysis according to claim 1, It is characterized in that The signal transmission strength detection is performed based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal transmission strength data, including: Perform signal strength detection based on different connection distances between the test mobile terminal and the Bluetooth headset to obtain a number of signal strength data; Performing distance attenuation calculation on a plurality of signal strength data to obtain a plurality of signal strength attenuation data; Performing transmission rate analysis based on a plurality of signal strength attenuation data to obtain a plurality of signal transmission rate data; A transmission path loss power analysis is performed based on a plurality of signal strength data to obtain a plurality of transmission path loss power data, and a plurality of signal transmission strength data is generated based on the plurality of signal strength attenuation data, the plurality of signal transmission rate data and the plurality of transmission path loss power data.

7. The Bluetooth headset performance testing method based on audio analysis according to claim 1, It is characterized in that The sound quality detection is performed based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, including: Obtain several frequency response detection curves corresponding to the Bluetooth headset at different connection distances, and obtain a frequency response standard curve corresponding to each frequency response detection curve; Calculate a first low frequency ratio and a first high frequency ratio of a frequency response standard curve, and calculate a second low frequency ratio and a second high frequency ratio of a frequency response detection curve; Generate a discrete sequence of the standard frequency response curve using the standard frequency response curve based on the first low-frequency ratio and the first high-frequency ratio, calculate a first information entropy of the discrete sequence of the standard frequency response curve, calculate a second information entropy of the discrete sequence of the standard frequency response curve within a preset window, and calculate the standard sound quality stability based on the first information entropy and the second information entropy; generating a discrete sequence of frequency response detection curves using the frequency response detection curve based on the second low-frequency ratio and the second high-frequency ratio, calculating a third information entropy of the discrete sequence of frequency response detection curves, calculating a fourth information entropy of the discrete sequence of frequency response detection curves within a preset window, and calculating a test sound quality stability based on the third information entropy and the fourth information entropy; Based on the standard sound quality stability and the test sound quality stability, sound quality detection is performed at different connection distances to obtain a number of sound quality detection data.

8. A Bluetooth headset performance test device based on audio analysis, It is characterized in that The device comprises: A jam distribution value calculation module is used to obtain test audio signal data of the Bluetooth headset in an interference environment, set a jam observation window, and calculate the jam distribution value based on the jam observation window using the test audio signal data; Noise detection module: used for obtaining frequency domain energy distribution and harmonic distortion coefficient of the audio signal frame based on the test audio signal data, performing noise detection based on the frequency domain energy distribution and harmonic distortion coefficient, and obtaining a noise detection result; An anti-interference evaluation module: used to perform an anti-interference evaluation of the Bluetooth headset based on the stutter distribution value and the noise detection result to obtain an anti-interference evaluation result; A delay evaluation module: used to determine the audio output delay based on the test audio signal data using a data compression time window, and perform a delay evaluation based on the audio output delay to obtain a delay evaluation result; Distance performance evaluation module: used to test the signal transmission strength based on different connection distances between the test mobile terminal and the Bluetooth headset, obtain a number of signal transmission strength data, and perform sound quality detection based on different connection distances combined with frequency response curve analysis to obtain a number of sound quality detection data, and perform distance performance evaluation of the Bluetooth headset based on a number of signal transmission strength data and a number of sound quality detection data to obtain a distance performance evaluation result; Comprehensive evaluation module: used to comprehensively evaluate the performance of the Bluetooth headset based on the anti-interference evaluation results, delay evaluation results and distance performance evaluation results, obtain comprehensive evaluation results, and divide the performance test level of the Bluetooth headset based on the comprehensive evaluation results.

9. An electronic device, comprising a processor and a memory, It is characterized in that The memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the Bluetooth headset performance testing method based on audio analysis as described in any one of claims 1 to claim 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the Bluetooth headset performance testing method based on audio analysis as described in any one of claims 1 to 7.