Bluetooth audio testing method
By generating digital audio test signals using a Bluetooth adapter and converting them into PCM data, analyzing signal indicators, and testing the output and compatibility of Bluetooth audio devices, this technology solves the problem of incomplete Bluetooth audio testing in existing technologies and achieves efficient and accurate device performance evaluation.
Patent Information
- Application Number
- CN202511417724.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-01-16
AI Technical Summary
Existing technologies lack comprehensive and efficient Bluetooth audio testing methods, making it impossible to systematically test the output function of the audio source device and the receiving function of the receiving device simultaneously, resulting in unmet needs for Bluetooth audio device quality testing.
The system sends or receives Bluetooth signals via a Bluetooth adapter, generates digital audio test signals, converts them into PCM data, analyzes signal metrics, generates test results, tests the output performance of the Bluetooth receiving device, establishes multi-device connections for compatibility assessment, and generates a device compatibility report.
It enables comprehensive performance testing of Bluetooth audio devices, improves testing efficiency and accuracy, provides objective evaluation of device performance and directions for improvement, and lowers the barrier to entry for users.
Smart Images

Figure CN121357484A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of device detection, and in particular to a Bluetooth audio testing method. BACKGROUND
[0002] With the rapid development of Bluetooth technology, Bluetooth audio devices have been widely used in people's daily life, such as Bluetooth earphones, Bluetooth speakers, Bluetooth sound boxes, etc. However, there are often compatibility problems between Bluetooth audio devices of different brands and different models, and the audio transmission quality of the devices themselves is also uneven.
[0003] At present, there is a lack of a comprehensive and efficient Bluetooth audio testing method that can simultaneously detect the output function of the audio source device and the receiving function of the receiving device. The existing testing methods can only test a single device or have limited testing dimensions, which cannot meet the growing quality detection needs of Bluetooth audio devices. SUMMARY
[0004] In view of the above problems, the present application is proposed to provide a Bluetooth audio testing method to overcome the above problems or at least partially solve the problems.
[0005] The embodiment of the present application discloses a Bluetooth audio testing method, which transmits or receives Bluetooth signals through a Bluetooth adapter. The method is used to detect the Bluetooth audio output performance of an audio source device or provide Bluetooth audio signals to a receiving device, and includes the following steps:
[0006] Generating a first digital audio test signal according to the device to be tested;
[0007] Inputting the first digital audio test signal into the device to be tested, and receiving the Bluetooth radio frequency signal emitted by the device to be tested through a Bluetooth adapter;
[0008] Generating PCM data according to the Bluetooth radio frequency signal;
[0009] Generating a first test result by the PCM data and the first digital audio test signal.
[0010] Further, the step of generating a first test result by the PCM data and the first digital audio test signal includes:
[0011] Obtaining a signal index of the PCM data; wherein the signal index includes one or more of frequency response, signal-to-noise ratio (SNR), total harmonic distortion plus noise (THD+N), and stereo crosstalk;
[0012] Comparing the signal index with the initial index of the first digital audio test signal to generate a first test result.
[0013] Further, the method further comprises testing the output performance of the Bluetooth receiving device, comprising the steps of:
[0014] generating a second digital audio test signal according to the test requirement, wherein the second digital audio test signal is adapted to the Bluetooth receiving device;
[0015] sending the second digital audio test signal to the Bluetooth receiving device through the Bluetooth adapter in a corresponding receiving format of the Bluetooth receiving device;
[0016] obtaining an audio signal of the Bluetooth receiving device, and generating a second test result according to the audio signal.
[0017] Further, the step of obtaining the audio signal of the Bluetooth receiving device and generating the second test result according to the audio signal comprises:
[0018] collecting the audio signal played by the receiving device through an audio collection device, and converting the audio signal into an electrical signal;
[0019] performing audio analysis on the electrical signal to obtain analysis data, wherein the audio analysis comprises one or more of sound pressure analysis, frequency response analysis, and harmonic distortion analysis;
[0020] generating the second test result according to the analysis data and a preset standard index.
[0021] Further, the method further comprises:
[0022] establishing simultaneous connection between the Bluetooth adapter and a plurality of receiving devices;
[0023] sending the same test Bluetooth audio signal to each of the receiving devices in turn;
[0024] obtaining the sound signal of each of the receiving devices and generating independent second test results;
[0025] generating a device compatibility evaluation report according to the second test results of the plurality of receiving devices.
[0026] Further, before obtaining the Bluetooth audio signal of the sound source device, the method further comprises:
[0027] establishing Bluetooth connection between the Bluetooth adapter and the sound source device, and detecting connection stability;
[0028] if the connection stability meets a preset condition, performing the step of obtaining the Bluetooth audio signal of the sound source device; if the connection stability does not meet the preset condition, issuing a connection abnormality prompt and re-establishing Bluetooth connection.
[0029] Further, before sending the test Bluetooth audio signal to the receiving device, further comprising:
[0030] establishing Bluetooth connection between the Bluetooth adapter and the receiving device and negotiating to determine the audio transmission protocol;
[0031] sending the test Bluetooth audio signal based on the negotiated audio transmission protocol.
[0032] Further, further comprising:
[0033] generating a test report according to the first test result, the test report comprising test time, audio source device information, receiving device information, test item and test result.
[0034] Further, the method further comprises a transmission distance test step, comprising:
[0035] controlling the distance between the audio source device and the Bluetooth adapter to change according to a preset gradient;
[0036] obtaining the first test result under different distances;
[0037] generating an effective distance evaluation of Bluetooth audio transmission according to the correlation between distance change and test result.
[0038] Further, further comprising:
[0039] adding a preset audio marker signal in the first digital audio test signal;
[0040] re-encoding the first digital audio test signal containing the marker signal into a Bluetooth audio signal;
[0041] detecting the integrity and time delay of the marker signal in the sound signal of the receiving device;
[0042] generating audio transmission integrity and synchronization evaluation data according to the detection result.
[0043] The present application has the following advantages:
[0044] In the embodiments of the present application, in order to solve the problems of the prior art that the Bluetooth audio device test is not comprehensive and low in efficiency, the present application provides a Bluetooth audio test method, which is used for detecting the Bluetooth audio output performance of a sound source device or providing a Bluetooth audio signal to a receiving device, and includes the following steps: generating a first digital audio test signal according to a device to be tested; inputting the first digital audio test signal to the device to be tested, and receiving a Bluetooth radio frequency signal emitted by the device to be tested through a Bluetooth adapter; generating PCM data according to the Bluetooth radio frequency signal; and generating a first test result through the PCM data and the first digital audio test signal. The Bluetooth radio frequency signal is converted into PCM data through the Bluetooth adapter, and the PCM data and the first digital audio test signal are analyzed synchronously and compared to obtain the frequency of the waveform, harmonic distortion, etc., and the digital output in the sound pressure test is measured, so that the test of the sound source device is realized, or the audio test signal can be sent to the receiving device to assist the test of the receiving device. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and all other drawings obtained by those skilled in the art without creative labor on the basis of these drawings are within the scope of protection of the present application.
[0046] Figure 1 is a step flow chart of a Bluetooth audio test method provided by an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purposes, features and advantages of the present application more obvious and easy to understand, the present application will be further described in detail below in combination with the drawings and specific embodiments. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0048] The inventors found through analyzing the prior art that there is a lack of a comprehensive and efficient Bluetooth audio test method in the market at present, which can simultaneously detect the output function of a sound source device and the receiving function of a receiving device. The existing test methods can only test a single device or have limited test dimensions, and cannot meet the growing quality detection requirements of Bluetooth audio devices.
[0049] In the embodiment of the present application, in order to solve the problems of the prior art, such as the incomplete test and low efficiency of the Bluetooth audio device, the present application provides a Bluetooth audio test method, which is used for detecting the Bluetooth audio output performance of a sound source device or providing a Bluetooth audio signal to a receiving device, and comprises the following steps of: generating a first digital audio test signal according to a device to be tested; inputting the first digital audio test signal into the device to be tested, and receiving a Bluetooth radio frequency signal emitted by the device to be tested through a Bluetooth adapter; generating PCM data according to the Bluetooth radio frequency signal; and generating a first test result through the PCM data and the first digital audio test signal. The Bluetooth radio frequency signal is converted into PCM data through the Bluetooth adapter, and the PCM data and the first digital audio test signal are analyzed synchronously and compared to obtain the frequency of the waveform, the harmonic distortion, etc., and the digital output in the sound pressure test, so that the test of the sound source device is realized, or the audio test signal can be sent to the receiving device to assist the test of the receiving device.
[0050] Referring to Figure 1 A Bluetooth audio test method is shown, which is used for detecting the Bluetooth audio output performance of a sound source device and providing a Bluetooth audio signal to a receiving device, and comprises the following steps of:
[0051] S110, generating a first digital audio test signal according to a device to be tested;
[0052] S120, inputting the first digital audio test signal into the device to be tested, and receiving a Bluetooth radio frequency signal emitted by the device to be tested through a Bluetooth adapter;
[0053] S130, generating PCM data according to the Bluetooth radio frequency signal;
[0054] S140, generating a first test result through the PCM data and the first digital audio test signal.
[0055] It should be noted that the present application takes the PCM data as a unified reference, so as to ensure the consistency and accuracy of the test; through the generation of the first test result, the problem in the Bluetooth audio transmission can be accurately located; the test process is scientific and reasonable, covers the key links of the Bluetooth audio transmission, and can fully reflect the Bluetooth audio performance of the device.
[0056] In the following, the Bluetooth audio test method in the present exemplary embodiment will be further described.
[0057] As shown in step S110, a first digital audio test signal is generated according to a device to be tested.
[0058] It should be noted that, based on the first digital audio test signal generated by the device under test, the core audio characteristic parameters of the audio source device under test are first analyzed, including its supported sampling rate (such as 44.1kHz, 48kHz), bit depth (16bit, 24bit), Bluetooth audio encoding format (such as SBC, AAC, aptX, etc.) and target test items (such as frequency response, total harmonic distortion, etc.). Then, an adapted digital audio signal is generated based on these parameters.
[0059] As described in step S120, the first digital audio test signal is input to the device under test, and the Bluetooth radio frequency signal emitted by the device under test is received through the Bluetooth adapter.
[0060] It should be noted that the pre-generated first digital audio test signal is transmitted to the device under test (DUT) through the audio input method supported by the DUT, triggering the device to process the signal internally. Subsequently, the DUT transmits the processed signal in radio frequency form through its Bluetooth module. At this time, the Bluetooth adapter in receive mode will capture the Bluetooth radio frequency signal and perform preliminary demodulation and protocol parsing, completing the signal link transmission from the DUT to the test system, providing the original radio frequency signal source for subsequent parsing and generation of PCM data.
[0061] As described in step S130, PCM data is generated based on the Bluetooth radio frequency signal.
[0062] It should be noted that the Bluetooth radio frequency signal received by the Bluetooth adapter is first processed by radio frequency demodulation to remove the high-frequency carrier and extract the baseband signal; then, according to the negotiated Bluetooth audio transmission protocol, the protocol layer is parsed to separate the audio encoded data; then, the compressed audio data is decoded by the decoder of the corresponding encoding format, while timing synchronization and data error correction are performed, and finally the pulse code modulation (PCM) data with the same sampling rate and bit depth as the original test signal is restored.
[0063] As described in step S140, a first test result is generated by combining the PCM data with the first digital audio test signal.
[0064] By timing alignment and point-by-point comparison of the received restored PCM data and the original first digital audio test signal, the differences between them in key audio indicators are extracted: first, the frequency response curve of the PCM data is calculated and compared with the theoretical frequency characteristics of the original signal to analyze the gain attenuation deviation in the frequency band; the noise component in the PCM data is extracted by a noise separation algorithm, the signal-to-noise ratio is calculated and compared with the ideal signal-to-noise ratio of the original signal to evaluate the degree of noise introduction; the harmonic component in the PCM data is separated by using spectrum analysis technology, the total harmonic distortion plus noise value is calculated and compared with the distortion reference of the original signal; for stereo signals, the crosstalk attenuation amount of the left and right channels is additionally calculated. Finally, these indicator differences are matched with the preset qualified threshold to generate the first test result containing the measured values of each indicator, the deviation degree and the qualification determination, which fully reflects the Bluetooth audio output performance of the device under test.
[0065] In an embodiment of the present application, the specific process of "generating a first test result from the PCM data and the first digital audio test signal" in step S140 can be further described in combination with the following description.
[0066] The PCM encoding is converted into a preset format Bluetooth audio encoding as described in the following steps; wherein the preset format is one or more of SBC, AAC, aptX, LDAC and LHDC;
[0067] The signal indicators of the PCM data are obtained as described in the following steps; wherein the signal indicators include one or more of frequency response, signal-to-noise ratio (SNR), total harmonic distortion plus noise (THD+N) and stereo crosstalk;
[0068] The first test result is generated by comparing the signal indicators with the initial indicators of the first digital audio test signal.
[0069] It should be noted that when obtaining the signal indicators of the PCM data, the restored PCM data is analyzed by professional audio analysis tools in multiple dimensions: the signal amplitude at different frequency points is analyzed by using fast Fourier transform (FFT) to draw a frequency response curve to reflect the gain characteristics of each frequency band; the signal-to-noise ratio (SNR) is calculated to evaluate the interference degree of noise on the signal by separating the effective component and the noise component in the signal; the total harmonic distortion plus noise (THD+N) value is obtained by extracting the total energy ratio of the fundamental signal and the harmonic, noise by spectrum analysis to measure the signal distortion level; for stereo PCM data, the penetration amount of the left channel signal to the right channel and the crosstalk attenuation value of the right channel to the left channel are analyzed separately. Then, these measured indicators are quantitatively compared with the initial indicators of the first digital audio test signal, the deviation values of each indicator are calculated, and the preset qualified threshold is combined to determine the compliance of each indicator, and finally the first test result containing the measured values of the indicators, the deviation analysis and the comprehensive performance rating is integrated.
[0070] In an embodiment of the present application, the output performance of the Bluetooth receiving device sound is also tested, including the steps of:
[0071] Generating a second digital audio test signal adapted to the Bluetooth receiving device according to the test requirements;
[0072] Sending the second digital audio test signal to the Bluetooth receiving device through the Bluetooth adapter in the corresponding receiving format of the Bluetooth receiving device;
[0073] Obtaining the audio signal of the Bluetooth receiving device and generating a second test result according to the audio signal.
[0074] It should be noted that according to the specific requirements of the Bluetooth receiving device test, such as sound quality restoration ability, volume linearity, delay performance, etc., combined with the supported Bluetooth encoding format of the device (such as SBC, AAC, aptX), sampling rate (44.1kHz / 48kHz), channel mode (stereo / monaural), etc. Parameters, generate an adapted second digital audio test signal; then, the Bluetooth adapter encapsulates and modulates the test signal according to the transmission protocol and encoding format compatible with the receiving device, and sends it to the receiving device through the Bluetooth link to ensure that the device can normally receive and decode; In the acoustic test environment, the acoustic signal played by the receiving device is captured by the audio acquisition device and converted into an electrical signal, and its sound pressure level, frequency response, harmonic distortion, etc. Index analysis, and then compare the analysis data with the initial index of the second digital audio test signal or the preset standard, determine whether each performance meets the standard, and finally generate a second test result containing the measured value, deviation analysis and comprehensive rating.
[0075] In an embodiment of the present application, the specific process of the step "obtaining the audio signal of the Bluetooth receiving device and generating a second test result according to the audio signal" can be further described in combination with the following description.
[0076] As described in the following steps, the audio signal played by the receiving device is collected by the audio acquisition device, and the audio signal is converted into an electrical signal;
[0077] A calibrated high-precision audio acquisition device is used, which usually includes a professional-grade microphone, an audio interface, and a preamplifier to ensure the accuracy of the collected signal; In the acoustic test environment (such as anechoic chamber or soundproof box), avoid environmental noise interference on the test result; Accurately control the playback state of the receiving device (such as volume, equalizer settings, etc.) to ensure consistent test conditions; The audio acquisition device is directly opposite the sound unit of the receiving device, maintaining a fixed distance and angle; Through the built-in analog-to-digital converter (ADC) of the acquisition device, the collected sound signal (mechanical wave) is converted into an electrical signal, and then further converted into digital audio data to provide raw data for subsequent analysis.
[0078] Ensure the authenticity and integrity of the collected signal, avoid introducing additional distortion or noise due to the collection link.
[0079] According to the following steps, audio analysis is performed on the electrical signal to obtain analysis data; wherein the audio analysis includes one or more of sound pressure analysis, frequency response analysis and harmonic distortion analysis;
[0080] Sound pressure analysis:
[0081] Measure the sound pressure level (SPL) of the output sound of the receiving device, usually in decibels (dB); analyze the stability of the sound pressure to evaluate the consistency of the device output at different volume settings; detect the dynamic range of the sound pressure to evaluate the device's ability to restore strong and weak signals
[0082] Frequency response analysis:
[0083] Test the output performance of the receiving device at different frequency points, usually covering the human audible range of 20Hz-20kHz; generate a frequency response curve to visually display the gain or attenuation characteristics of the device at each frequency band; analyze the flatness of the frequency response curve to evaluate the device's equalization and restoration ability for different frequency sounds
[0084] Harmonic distortion analysis:
[0085] Measure the content of harmonic components in the output signal of the device, usually expressed as total harmonic distortion; analyze the frequency distribution and amplitude characteristics of harmonics to determine the distortion type (such as second harmonic, third harmonic, etc.); evaluate the distortion trend at different volumes and frequencies; the analysis process uses professional audio analysis algorithms to ensure the accuracy and repeatability of the data.
[0086] According to the following steps, the second test result is generated based on the analysis data and the preset standard index.
[0087] Based on the Bluetooth audio device industry standards and user experience requirements, develop the qualified threshold and scoring criteria for each analysis project; compare the actual analysis data with the preset standard index item by item to calculate the deviation value
[0088] Result comprehensive judgment:
[0089] Qualitative results: Determine whether the audio output performance of the receiving device is qualified;
[0090] Quantitative scoring: Give a quantitative score (such as percentage or grade) according to the size of the deviation value;
[0091] Performance profile: summarize the strengths and weaknesses of the device in terms of sound pressure, frequency response, distortion, etc.
[0092] Problem diagnosis: For the exceeding items, analyze the possible technical reasons (such as Bluetooth decoding problems, speaker performance limitations, etc.).
[0093] Through sound pressure, frequency response, harmonic distortion and other aspects of analysis, the audio restoration ability of the receiving device is comprehensively reflected; subjective sound quality evaluation is converted into objective numerical indicators to avoid subjective bias in human evaluation; the specific problems of the receiving device in the audio processing link can be located to provide a clear direction for product improvement; a unified test and evaluation standard is established to make the test results of different devices comparable.
[0094] In an embodiment of the present application, it further comprises:
[0095] The simultaneous connection of the Bluetooth adapter and a plurality of receiving devices is established according to the following steps:
[0096] The Bluetooth adapter starts the multi-connection mode, which supports stable connection with multiple Bluetooth receiving devices at the same time. The number of connections can be set according to the hardware performance of the adapter and the test requirements, and usually can support 4-8 devices to connect at the same time.
[0097] Each receiving device completes the connection with the adapter according to the standard Bluetooth pairing process. The adapter will allocate an independent communication channel for each device to ensure that the signal transmission between devices does not interfere with each other. It is like a switchboard connecting multiple extensions at the same time, and each extension can communicate with the switchboard independently.
[0098] After the connection is established, the system will automatically detect the connection state of each device to ensure that all receiving devices are in normal communication state and prepare for the subsequent transmission of test signals.
[0099] The same test Bluetooth audio signal is sent to each receiving device in turn according to the following steps:
[0100] The test system generates a set of standardized test Bluetooth audio signals, which contain a variety of audio parameter combinations (such as different sampling rates, bit rates, music types, etc.), which can fully cover the actual use scenarios.
[0101] The Bluetooth adapter sends the same test signal to each connected receiving device in turn according to the preset order, strictly controls the transmission parameters of the signal (such as transmission power, encoding format, etc.) during the sending process, ensures that the signals received by each receiving device are completely consistent, and eliminates the test deviation caused by signal differences.
[0102] The sound signals of each receiving device are obtained and independent second test results are generated according to the following steps:
[0103] Each receiving device is equipped with an independent audio acquisition device (such as a high-precision microphone). The relative positions of the acquisition device and the receiving device are kept consistent and in a soundproof environment to avoid sound crosstalk affecting the test results.
[0104] When the receiving device plays the test signal, the corresponding acquisition device synchronously acquires the sound signal and generates an independent second test result for each device. These results record in detail the reproduction performance of each device for the test signal.
[0105] As described in the following steps, a device compatibility assessment report is generated based on the second test results of the plurality of receiving devices.
[0106] The report makes a horizontal comparison of the second test results of each receiving device, and statistically analyzes the differences in various audio indicators, such as calculating the frequency response deviation of different devices at the same frequency point, and the maximum and minimum values of total harmonic distortion.
[0107] It's worth noting that simultaneous multi-device connection testing significantly shortens the testing cycle for multiple receiving devices. Compared to traditional single-device testing, this method improves testing efficiency and is particularly suitable for compatibility testing of batch devices. Using the same test signal and environment ensures completely consistent testing conditions for all receiving devices, avoiding result deviations caused by changes in testing time and environment, making performance comparisons between devices more objective. It can simultaneously cover receiving devices of different brands, models, and price ranges, and the test results comprehensively reflect the compatibility performance of audio source devices in complex usage scenarios, providing a more comprehensive reference for device optimization. The generated compatibility assessment report can be directly used to guide users in selecting compatible devices and also provides device manufacturers with clear improvement directions, effectively lowering the barrier to entry for Bluetooth devices and reducing after-sales disputes.
[0108] In one embodiment of this application, before acquiring the Bluetooth audio signal from the audio source device, the method further includes:
[0109] Establish a Bluetooth connection between the Bluetooth adapter and the audio source device, and test the connection stability;
[0110] If the connection stability meets the preset conditions, the step of acquiring the Bluetooth audio signal from the audio source device will be executed; if the connection stability does not meet the preset conditions, a connection error message will be issued and the Bluetooth connection will be re-established.
[0111] Set acceptable thresholds for connection stability based on the required test accuracy. For example: signal strength not lower than -80dBm, no connection interruption for 30 consecutive seconds, data transmission rate fluctuation ≤15%, and retransmission rate ≤5%. Different types of audio source devices (such as professional audio players and consumer mobile phones) can have different thresholds set according to their application scenarios.
[0112] Operations that meet preset conditions: When all connection stability parameters meet preset standards, the connection status is deemed qualified, and the test system automatically proceeds to the next step, namely, executing the step of acquiring the Bluetooth audio signal of the audio source device in claim 1, to ensure that subsequent signal acquisition is carried out in a stable link environment.
[0113] Operations that do not meet preset conditions: If one or more connection stability parameters fail to meet the standards, the testing system will immediately issue a connection error message. The message can be displayed through a software interface pop-up, audible alarm, or flashing indicator light, while recording the specific values of the abnormal parameters (e.g., "Signal strength -92dBm, below threshold -80dBm"). Subsequently, the system will automatically execute a reconnection process, including disconnecting the current unstable connection, clearing pairing information (optional), and re-initiating the pairing request. A maximum number of retries can be set. If the stability requirements still cannot be met after multiple retries, it will be determined that the audio source device may have a Bluetooth module malfunction or compatibility issue, the test will be terminated, and a connection error report will be generated.
[0114] It's important to note that connection stability testing ensures all audio source devices are tested under identical connection quality conditions, avoiding discrepancies in test results due to connection differences and improving the comparability of test results between different devices. Eliminating invalid tests due to connection issues in advance saves testing time and costs, significantly improving testing efficiency, especially in batch device testing scenarios. The connection stability test results themselves can serve as a reference indicator for the Bluetooth performance of audio source devices. Devices with repeated connection failures or poor stability may have Bluetooth hardware design flaws or insufficient firmware optimization, providing early feedback for device development. By setting stability thresholds that closely resemble real-world usage, the testing environment more closely mirrors actual user conditions, ensuring the practical reference value of the test results. For example, in scenarios with significant signal strength fluctuations, it can reflect the device's connectivity capabilities in complex environments.
[0115] In one embodiment of this application, before sending the test Bluetooth audio signal to the receiving device, the method further includes:
[0116] Establish a Bluetooth connection between the Bluetooth adapter and the receiving device, and negotiate and determine the audio transmission protocol;
[0117] Test Bluetooth audio signals are sent based on the negotiated audio transmission protocol.
[0118] It's important to note that Bluetooth devices transmit audio via a negotiation protocol. This solution simulates this real-world process, allowing test results to more accurately reflect the performance of the receiving device in actual use and providing a more reliable basis for device evaluation. Different receiving devices may support different audio transmission protocols. By negotiating and determining the protocol, the test signal can precisely adapt to the device's protocol support capabilities, avoiding invalid results caused by testing with unsupported protocols and making the test more targeted. Sending signals based on the negotiated protocol reduces signal loss and latency issues caused by protocol incompatibility, much like using the right container to reduce damage. This ensures the test signal is processed by the receiving device in optimal condition, resulting in a more accurate performance evaluation of the receiving device. Regardless of the protocol supported by the receiving device, this solution can find a suitable transmission method through negotiation, making it applicable to various types of Bluetooth receiving devices. This significantly expands the applicability of the testing method, allowing a single testing process to handle multiple devices.
[0119] In one embodiment of this application, it further includes:
[0120] A test report is generated based on the first test result. The test report includes the test time, audio source device information, receiving device information, test items, and test results.
[0121] Test time: Accurately record the date and time of the test. This is like putting a timestamp on the test results, making it easy to trace the history of the test and also helping to compare and analyze test results from different times.
[0122] Audio source device information: This includes detailed information such as device name, model, brand, and Bluetooth version, clearly defining the basic information of the test object. When testing different audio source devices, the test results can be clearly distinguished.
[0123] Receiving device information: This also includes the device name, model, brand, Bluetooth version, etc., which corresponds to the audio source device information, clearly identifying the identity of the receiving end test object and providing basic information for evaluating the performance of the receiving device.
[0124] Test Items and Results: A detailed list of the specific content of each test and its corresponding results. For example, test items such as the audio source device encoding accuracy test and the receiver device frequency response test will clearly present their test data and judgment results.
[0125] It's important to note that transforming complex test data into clearly structured reports allows even non-professionals to easily understand the results, much like translating complex technical jargon into plain language, lowering the barrier to information access. These reports include key information such as test time, equipment information, test items, and results, comprehensively reflecting the entire testing process, avoiding omissions, and providing ample evidence for equipment performance evaluation. When reviewing a specific test, relevant information can be quickly located; furthermore, test reports from different devices or the same device at different times can be compared to identify changes or differences in equipment performance. Test reports clearly pinpoint equipment problems, providing clear direction for product design improvements; for consumers, reports can serve as a reference when purchasing equipment, helping them make more suitable choices.
[0126] In one embodiment of this application, the method further includes a transmission distance testing step, comprising:
[0127] The distance between the audio source device and the Bluetooth adapter changes according to a preset gradient;
[0128] Obtain the first test results at different distances;
[0129] Based on the correlation between distance changes and test results, an effective distance assessment for Bluetooth audio transmission is generated.
[0130] It's important to note that the test simulated various distance scenarios users might encounter in real-world use, making the results more closely reflect actual user experience and avoiding the limitations of testing only at fixed close ranges. By using preset gradients and averaging multiple tests, the accuracy of the distance-performance correlation data was ensured, providing a reliable basis for effective distance evaluation. The generated effective distance evaluation clearly informs users of the device's optimal operating range and provides manufacturers with targeted directions for improving Bluetooth module power, signal reception sensitivity, and other aspects. Building upon the basic tests, distance-based testing was added, making the evaluation of Bluetooth audio devices more comprehensive and covering key factors affecting device performance.
[0131] In one embodiment of this application, it further includes:
[0132] A preset audio marker signal is added to the first digital audio test signal;
[0133] The first digital audio test signal containing the marker signal is re-encoded into a Bluetooth audio signal;
[0134] The integrity and delay of the marked signal are detected in the audio signal of the receiving device;
[0135] Based on the test results, audio transmission integrity and synchronization assessment data are generated.
[0136] It's worth noting that the unique audio tagging signal enables full tracking of the Bluetooth audio signal transmission process. Compared to traditional overall signal analysis, this allows for more precise identification of transmission problems. It can detect subtle signal loss or distortion, as well as minute latency deviations—details often overlooked in conventional testing. This solution captures this information, providing a more refined basis for device performance optimization. It also considers both transmission integrity and synchronization. Integrity reflects the reliability of signal transmission, while synchronization relates to the experience of multi-device collaboration (such as synchronization between Bluetooth headsets and video playback). Combining these two aspects makes the evaluation more comprehensive. The evaluation data can be directly used to guide the research and development of Bluetooth audio devices. For example, it can optimize encoding algorithms or transmission protocols to address missing tagging signals, and adjust signal processing procedures to address latency issues. It also provides important reference for users when selecting devices. This solution plays a crucial role in the research, development, testing, and quality control of Bluetooth audio devices, effectively improving the accuracy and depth of Bluetooth audio transmission performance evaluation.
[0137] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0138] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only 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, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0139] The above provides a detailed description of a Bluetooth audio testing method provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and its core ideas. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method of Bluetooth audio testing, the method comprising: The method is used for detecting Bluetooth audio output performance of a sound source device or providing a Bluetooth audio signal to a receiving device, and comprises the steps of: generating a first digital audio test signal according to the device to be tested; inputting the first digital audio test signal to the device to be tested, and receiving a Bluetooth radio frequency signal emitted by the device to be tested through a Bluetooth adapter; generating PCM data according to the Bluetooth radio frequency signal; generating a first test result through the PCM data and the first digital audio test signal.
2. The Bluetooth audio test method of claim 1, wherein, The step of generating the first test result through the PCM data and the first digital audio test signal comprises: obtaining a signal index of the PCM data, wherein the signal index comprises one or more of frequency response, signal-to-noise ratio (SNR), total harmonic distortion plus noise (THD+N), and stereo crosstalk; comparing the signal index with an initial index of the first digital audio test signal to generate the first test result.
3. The Bluetooth audio test method of claim 1, wherein, The method further comprises testing the output performance of a Bluetooth receiving device, comprising the steps of: generating a second digital audio test signal for the Bluetooth receiving device according to test requirements; sending the second digital audio test signal to the Bluetooth receiving device in a corresponding receiving format of the Bluetooth receiving device through the Bluetooth adapter; obtaining an audio signal of the Bluetooth receiving device, and generating a second test result according to the audio signal.
4. The Bluetooth audio test method of claim 3, wherein, The step of obtaining the audio signal of the Bluetooth receiving device and generating the second test result according to the audio signal comprises: collecting the audio signal played by the receiving device through an audio collection device, and converting the audio signal into an electric signal; performing audio analysis on the electric signal to obtain analysis data, wherein the audio analysis comprises one or more of sound pressure analysis, frequency response analysis, and harmonic distortion analysis; generating the second test result according to the analysis data and a preset standard index.
5. The Bluetooth audio test method of claim 4, wherein, The method further comprises: simultaneously connecting the Bluetooth adapter to multiple receiving devices; sending the same test Bluetooth audio signal to each receiving device in turn; obtaining the sound signal of each receiving device and generating an independent second test result; generating a device compatibility evaluation report according to the second test results of the multiple receiving devices.
6. The Bluetooth audio test method of claim 1, wherein, Before obtaining the Bluetooth audio signal of the sound source device, the method further comprises: establishing a Bluetooth connection between the Bluetooth adapter and the sound source device, and detecting the connection stability; if the connection stability meets a preset condition, performing the step of obtaining the Bluetooth audio signal of the sound source device; if the connection stability does not meet the preset condition, issuing a connection exception prompt and re-establishing the Bluetooth connection.
7. The Bluetooth audio test method of claim 1, wherein, Before sending the test Bluetooth audio signal to the receiving device, the method further comprises: establishing a Bluetooth connection between the Bluetooth adapter and the receiving device, and negotiating and determining an audio transmission protocol; sending the test Bluetooth audio signal based on the negotiated and determined audio transmission protocol.
8. The Bluetooth audio test method of claim 1, wherein, The method further comprises: generating a test report according to the first test result, wherein the test report comprises test time, sound source device information, receiving device information, test items, and test results.
9. The Bluetooth audio test method of claim 1, wherein, The method further comprises a transmission distance test, comprising steps of: Controlling the distance between the sound source device and the Bluetooth adapter to change according to a preset gradient; Obtaining the first test result under different distances; Generating an effective distance evaluation of Bluetooth audio transmission according to the correlation between distance change and test result.
10. The Bluetooth audio test method of claim 1, wherein, Further comprising: Adding a preset audio marker signal to the first digital audio test signal; Re-encoding the first digital audio test signal containing the marker signal into a Bluetooth audio signal; Detecting the integrity and time delay of the marker signal in the sound signal of the receiving device; Generating audio transmission integrity and synchronization evaluation data according to the detection result.