Method for evaluating the anti-interference performance of Bluetooth headsets by quantifying simulated interference environment

By building a quantitative Bluetooth simulation interference environment and automatically determining connection interruption methods, the problem of traditional methods being difficult to quantify the anti-interference performance of Bluetooth headphones is solved, and efficient and accurate test results are achieved.

CN114786110BActive Publication Date: 2025-02-11SHENZHEN BE-COMFORTABLE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210371504.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-11
Publication Date
2025-02-11
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

Traditional methods are difficult to quantify the anti-interference performance of Bluetooth headphones in interfering environments, resulting in the test results being of no reference significance.

Method used

By building a quantitative Bluetooth analog interference environment, using WiFi data simulation field and Bluetooth to combat the analog field in the shielded room, controlling the signal strength, and comparing the sampled audio signal with the standard audio signal, automatically determining whether the Bluetooth headset connection is interrupted.

Benefits of technology

The quantitative evaluation of the anti-interference performance of Bluetooth headphones is achieved, which avoids the failure of test results caused by changes in the interference environment, and automatically determines the connection interruption through the algorithm, solving the problem of inconsistent manual judgment standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114786110B_ABST
    Figure CN114786110B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for evaluating the anti-interference performance of a Bluetooth headset by quantifying a simulated interference environment, comprising: building a quantified Bluetooth simulated interference environment; placing a Bluetooth headset to be tested and a first Bluetooth pairing device in the Bluetooth simulated interference environment and establishing a connection, transmitting data information to the Bluetooth headset to be tested through the first Bluetooth pairing device; continuously sampling the sound signal emitted by the Bluetooth headset to be tested within a time period to obtain a sampled audio signal; comparing the sampled audio signal with a pre-selected standard audio signal to determine whether the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is interrupted, and counting the interruption information. In the present invention, the interference signal can be quantified, and the standard for determining the interruption of the connection of the Bluetooth headset to be tested can be quantified, which solves the problem that the interference environment changes during the test process and the judgment standard is not unified when manually judging the connection status, making the test result lose its reference significance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of anti-interference performance testing of Bluetooth headsets, and in particular relates to a method for evaluating the anti-interference performance of Bluetooth headsets by quantifying and simulating an interference environment. Background Art

[0002] Since the 2.4GHz ISM band does not require authorization and is open to the world, it is very convenient and has many users, such as mobile phones, WIFI, Bluetooth, IoT, microwave ovens, etc., which are all in this band. When the signal is crowded, the Bluetooth headset connection will be interrupted, which will bring a bad user experience. Due to the existence of interference, there is a need to test the anti-interference ability of Bluetooth headsets. The traditional way to test the anti-interference performance of Bluetooth headsets is to choose scenes with more interference signals, such as airports, high-speed rail stations, etc., and judge the sound quality of Bluetooth headsets by human listening. However, the amount of interference signals in these scenes changes at any time and fluctuates greatly. The battery power of the device will also affect the Bluetooth connection. Moreover, it is impossible to unify the judgment standard by human listening, so it is impossible to quantitatively analyze the anti-interference test of Bluetooth headsets, and the test results are of little reference value. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a method for evaluating the anti-interference performance of a Bluetooth headset by quantifying a simulated interference environment.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] A method for evaluating the anti-interference performance of a Bluetooth headset by quantifying a simulated interference environment comprises the following steps:

[0006] S1. Build a quantitative Bluetooth simulation interference environment;

[0007] S2, placing the Bluetooth headset to be tested and the first Bluetooth pairing device in a Bluetooth simulated interference environment and establishing a connection, and transmitting data information to the Bluetooth headset to be tested through the first Bluetooth pairing device; wherein the data information includes a pre-selected standard audio signal;

[0008] S3, continuously sampling the sound signal emitted by the Bluetooth headset to be tested within a period of time to obtain a sampled audio signal;

[0009] S4. Compare the sampled audio signal with a pre-selected standard audio signal to determine whether the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is interrupted, and count the interruption information.

[0010] Furthermore, building a quantitative Bluetooth simulation interference environment includes:

[0011] S11. Set up a shielding room;

[0012] S12, building a WiFi data simulation field and a Bluetooth confrontation simulation field in the shielding room, wherein the WiFi data simulation field is used to simulate a WiFi data transmission scenario, and the Bluetooth confrontation simulation field is used to simulate a Bluetooth transmission scenario;

[0013] S13, controlling the signal strength of the WiFi data simulation field and the Bluetooth countermeasure simulation field.

[0014] Furthermore, building a WiFi data simulation field includes setting up a number of WiFi access devices and WiFi terminal devices connected to the WiFi access devices one by one in the shielded room, and enabling each WiFi access device to perform data transmission with the corresponding WiFi terminal device through WiFi connection;

[0015] Building a Bluetooth confrontation simulation field includes setting up a plurality of second Bluetooth pairing devices and interfering Bluetooth headsets connected to the second Bluetooth pairing devices one by one in a shielded room, and enabling each second Bluetooth pairing device to transmit data with the corresponding interfering Bluetooth headset through a Bluetooth connection; the WiFi access device, the WiFi terminal device, the first Bluetooth pairing device and the second Bluetooth pairing device are all electrically connected to a server set up outside the shielded room.

[0016] Furthermore, by setting parameters on the server, the number of connections between the WiFi access device and the WiFi terminal device, as well as the number of connections between the second Bluetooth pairing device and the interfering Bluetooth headset are controlled.

[0017] Furthermore, the method further comprises the following steps:

[0018] S5. Check the connection status between each WiFi access device and the corresponding WiFi terminal device, and the connection status between each second Bluetooth pairing device and the corresponding interfering Bluetooth headset through the server to determine whether the test is valid.

[0019] Furthermore, the method for collecting the sound signal emitted by the Bluetooth headset to be tested is:

[0020] An artificial ear is made by simulating a human ear, a Bluetooth headset to be tested is fixed on the artificial ear, and a speaker of the Bluetooth headset to be tested is extended into the artificial ear, a first sound collecting device is arranged in the artificial ear, the first sound collecting device is electrically connected to a signal analyzing device, and the signal analyzing device stores an audio signal collected by the first sound collecting device as a sampled audio signal.

[0021] Furthermore, the method for collecting the sound signal emitted by the Bluetooth headset to be tested is:

[0022] An artificial ear is made by simulating a human ear, a Bluetooth headset to be tested is fixed on the artificial ear, and a speaker of the Bluetooth headset to be tested is extended into the artificial ear, a first sound collecting device is arranged in the artificial ear, and the first sound collecting device is electrically connected to a signal analyzing device; a second sound collecting device is also arranged in the shielding room, and the second sound collecting device is electrically connected to the signal analyzing device; the signal analyzing device stores the audio signal collected by the first sound collecting device and the audio signal collected by the second sound collecting device, and removes the audio signal collected by the second sound collecting device from the audio signal collected by the first sound collecting device, and uses the obtained signal as a sampled audio signal.

[0023] Furthermore, the pre-selected standard audio signal is a sine wave signal in an audio frequency band; the step S4 includes the following sub-steps:

[0024] S41, presetting a first time threshold and a peak error threshold, where the first time threshold is greater than or equal to a half period of a standard audio signal;

[0025] S42, replacing all sample values ​​of the sampled audio signal with their absolute values;

[0026] S43, selecting a sampling point, finding the maximum value of the sampling values ​​within the first time threshold range starting from the sampling point, and calculating the absolute value of the difference between the maximum value and the peak value of the standard audio signal;

[0027] S44, comparing whether the absolute value of the difference between the maximum value and the peak value of the standard audio signal is less than or equal to a peak error threshold, if it is less than or equal to the peak error threshold, executing step S47; otherwise, executing step S48;

[0028] S47, determining that the Bluetooth headset to be tested and the first Bluetooth paired device are connected normally at the time corresponding to the sampling point;

[0029] S48, determining that the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is disconnected at the moment corresponding to the sampling point;

[0030] S49, repeating steps S43 and S44, determining in turn whether the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is interrupted at the time corresponding to each sampling point in the test period, and counting the interruption information.

[0031] Further, in the step S44, when the absolute value of the difference between the maximum value and the peak value of the standard audio signal is less than or equal to the peak error threshold, the following steps are first performed:

[0032] S45, calculating an average value of sampling values ​​obtained by sampling the standard audio signal within a first time threshold range starting from the sampling point as an ideal average value, and calculating an average value of sampling values ​​in the sampled audio signal within the first time threshold range starting from the sampling point as an actual average value; and calculating an absolute value of a difference between the ideal average value and the actual average value;

[0033] S46, preset mean error threshold, compare the absolute value of the difference between the ideal mean value and the actual mean value with the preset mean error threshold, if the absolute value of the difference between the ideal mean value and the actual mean value is less than or equal to the preset mean error threshold, execute step S47; otherwise, execute step S48.

[0034] Furthermore, the interruption information includes the interruption rate, the number of interruptions, and the start time and end time of each interruption during the test period.

[0035] In the present invention, by building a quantified Bluetooth simulated interference environment, the interference signal can be quantified, so as to avoid changes in the interference environment during the test process that make the test result lose its reference significance; by comparing the sampled audio signal with the pre-selected standard audio signal, the standard for determining whether the connection of the Bluetooth headset to be tested is interrupted can be quantified, which is convenient for using an algorithm to automatically determine whether the connection of the Bluetooth headset to be tested is interrupted, avoiding the problem of inconsistent judgment standards caused by manual judgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0037] Figure 1 The present invention is a flowchart of a preferred embodiment of a method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment.

[0038] Figure 2 Flowchart for building a quantitative Bluetooth simulation interference environment.

[0039] Figure 3 It is a system connection block diagram of the present invention;

[0040] Figure 4 A flow chart for determining whether the connection between a Bluetooth headset to be tested and a first Bluetooth paired device is interrupted, and counting interruption information. DETAILED DESCRIPTION

[0041] The following describes the implementation methods of the present invention through specific examples. The illustrations provided in the following embodiments are only used to schematically illustrate the basic concept of the present invention. The following embodiments and features in the embodiments may be combined with each other without conflict.

[0042] like Figure 1 As shown, a preferred embodiment of the method for evaluating the anti-interference performance of a Bluetooth headset by quantifying a simulated interference environment of the present invention comprises the following steps:

[0043] S1. Build a quantitative Bluetooth simulation interference environment. Figure 2 As shown, this step may specifically include the following sub-steps:

[0044] S11. Setting up a shielding room. The method for setting up a shielding room is prior art and will not be described in detail here.

[0045] S12. Build a WiFi data simulation field and a Bluetooth confrontation simulation field in the shielding room.

[0046] Wherein, the WiFi data simulation field is used to simulate the WiFi data transmission scenario. Figure 3 As shown, building a WiFi data simulation field includes setting up a number of WiFi access devices and WiFi terminal devices connected to the WiFi access devices in a shielded room, and enabling each WiFi access device to perform data transmission with the corresponding WiFi terminal device through a WiFi connection. The WiFi access device can be a WiFi router, a portable WiFi terminal device, a WiFi hotspot device, or other device for realizing WiFi access function, preferably a WiFi router. The WiFi terminal device is preferably a mobile phone with WiFi transmission function.

[0047] The Bluetooth confrontation simulation field is used to simulate Bluetooth transmission scenarios. Figure 3 , building a Bluetooth confrontation simulation field includes setting up a number of second Bluetooth pairing devices and interference Bluetooth headsets connected to the second Bluetooth pairing devices in a shielded room, and making each second Bluetooth pairing device transmit data with the corresponding interference Bluetooth headset through a Bluetooth connection. A server is set up outside the shielded room, and each WiFi access device, WiFi terminal device and second Bluetooth pairing device are electrically connected to the server. The second Bluetooth pairing device is preferably a mobile phone with Bluetooth transmission function.

[0048] When setting up the WiFi data simulation field and the Bluetooth confrontation simulation field, the setting positions of each WiFi access device, WiFi terminal device, second Bluetooth pairing device and interfering Bluetooth headset can also be selected through the electromagnetic field simulation software, so that the WiFi signals of each WiFi access device and WiFi terminal device and the Bluetooth signals of each second Bluetooth pairing device and the interfering Bluetooth headset form interference superposition at the Bluetooth headset to be tested, so as to increase the interference of the WiFi data simulation field and the Bluetooth confrontation simulation field on the Bluetooth headset to be tested, and minimize the superimposed interference of the WiFi data simulation field and the Bluetooth confrontation simulation field on each WiFi access device, WiFi terminal device, second Bluetooth pairing device and interfering Bluetooth headset.

[0049] S13, control the signal strength of the WiFi data simulation field and the Bluetooth confrontation simulation field. By setting parameters on the server, it is possible to control whether each WiFi access device is connected to the corresponding connected WiFi terminal device, thereby controlling the number of connections between the WiFi access device and the WiFi terminal device, and controlling the interference signal strength formed by the WiFi data simulation field; and controlling whether each second Bluetooth pairing device is connected to the corresponding interfering Bluetooth headset, thereby controlling the number of connections between the second Bluetooth pairing device and the interfering Bluetooth headset, and controlling the interference signal strength formed by the Bluetooth confrontation simulation field. If necessary, the strength of the WiFi signal emitted by each WiFi access device and the strength of the Bluetooth signal emitted by each second Bluetooth pairing device can also be controlled by the server.

[0050] Since the signals of mobile communication base stations are almost everywhere in real life, and the signals of mobile communication base stations can also cause interference to Bluetooth headsets, in order to better simulate the interference environment of Bluetooth headsets, in the S12 step, a small or micro communication base station device can also be set up in the shielding room, and a mobile terminal device (such as a mobile phone) connected to the communication base station device can be set up to build a base station signal simulation field, simulate the interference of the mobile communication base station signal to the Bluetooth headset, and make the interference environment closer to the actual use environment. The small or micro communication base station device and each mobile terminal device can be electrically connected to the server. In the S13 step, the transmission power of the communication base station device and the data transmitted by each mobile terminal device can also be controlled by the server to control the signal strength of the base station signal simulation field.

[0051] S2. Please continue to refer to Figure 3 , place the Bluetooth headset to be tested and the first Bluetooth pairing device in a Bluetooth simulated interference environment and establish a connection, and the first Bluetooth pairing device is preferably a mobile phone with Bluetooth function. Data information is transmitted to the Bluetooth headset to be tested through the first Bluetooth pairing device, and the data information includes a pre-selected standard audio signal. To facilitate subsequent analysis, the pre-selected standard audio signal can be selected as a sine wave signal in the audio frequency band, so that the Bluetooth headset to be tested can emit a corresponding sound signal; in this embodiment, the sine wave signal is preferably a kilohertz signal. The kilohertz signal is transmitted to the Bluetooth headset to be tested through the BLE 2.4GHz frequency band, and the Bluetooth headset to be tested starts to play the audio of the kilohertz signal after receiving the data information; because the audio is interfered by other signals during the stage of transmission from the first Bluetooth pairing device to the Bluetooth headset to be tested, it is possible to judge whether the connection between the first Bluetooth pairing device and the Bluetooth headset to be tested is interrupted by the kilohertz audio played by the Bluetooth headset to be tested.

[0052] S3, continuously sampling the sound signal emitted by the Bluetooth headset to be tested within a period of time to obtain a sampled audio signal. The method for collecting the sound signal emitted by the Bluetooth headset to be tested is:

[0053] An artificial ear is made by simulating a human ear, and the Bluetooth headset to be tested is fixed on the artificial ear. Since a Bluetooth headset generally has a speaker for each of the two ears of a corresponding person, two artificial ears can be made to simulate the left ear and the right ear of a person, respectively, and the two speakers of the Bluetooth headset to be tested are respectively extended into the two artificial ears to simulate the situation when a person wears headphones. A first sound collection device is respectively set in the two artificial ears to collect sound signals and convert them into corresponding audio signals. The first sound collection device is preferably a microphone. The first sound collection device is electrically connected to a signal analysis device, and the signal analysis device stores the audio signal collected by the first sound collection device as a sampled audio signal. The signal analysis device can be a computer with sound analysis software. Of course, for a Bluetooth headset with only one speaker, only one artificial ear can be set to collect audio signals.

[0054] Since the interfering Bluetooth headset will also make sounds when in use, and there may be other sounds that interfere with the test during the test, in order to eliminate the interfering sounds, a second sound collection device can also be set in the shielding room, and the second sound collection device is preferably a microphone. The second sound collection device needs to maintain a certain position with the first sound collection device to avoid the second sound collection device collecting the sound emitted by the Bluetooth headset to be tested. The second sound collection device is electrically connected to the signal analysis device, and the signal analysis device simultaneously stores the audio signal collected by the first sound collection device and the audio signal collected by the second sound collection device, and removes the audio signal collected by the second sound collection device from the audio signal collected by the first sound collection device, and uses the obtained signal as a sampled audio signal, thereby removing the background noise in the shielding room from the audio signal collected by the first sound collection device.

[0055] S4, the signal analysis device compares the sampled audio signal with the kHz signal (i.e., the pre-selected standard audio signal) to determine whether the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is interrupted. If the kHz signal played by the Bluetooth headset is interrupted, it means that the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is interrupted. Therefore, by counting the number of interruptions of the kHz signal played by the Bluetooth headset, the stability of the connection between the Bluetooth headset to be tested and the first Bluetooth paired device can be truly reflected.

[0056] The most direct way to compare the sampled audio signal with the chirp signal and determine whether the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is interrupted is to sample the chirp signal at the same sampling interval as the sampled audio signal, and compare the deviation amplitude of the sampling value of each sampling point of the sampled audio signal relative to the sampling value of the corresponding sampling point of the chirp signal one by one. If the deviation amplitude is less than or equal to the preset amplitude (such as ±5%), it is determined that the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is normal at the moment corresponding to the sampling point; otherwise, it is determined that the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is interrupted at the moment corresponding to the sampling point. However, this method is too strict in determining the standard for normal connection, and many situations that have no effect on the human ear will also be determined as interruptions, making the test results inconsistent with the actual user experience. Therefore, if Figure 4 As shown, in this embodiment, step S4 preferably includes the following sub-steps:

[0057] S41. Pre-set a first time threshold and a peak error threshold in the signal analysis device, where the first time threshold is greater than or equal to half a period of the kilocycle signal. Because when the first time threshold is less than half a period of the kilocycle signal, the first time threshold may not contain signal peaks (including positive peaks and negative peaks). Therefore, the first time threshold should be selected to be greater than or equal to half a period of the kilocycle signal. In this embodiment, it is preferred that the first time threshold is equal to two periods of the kilocycle signal.

[0058] S42: The signal analysis device replaces all sampling values ​​of the sampled audio signal with their absolute values, thereby changing the negative values ​​of the sampling values ​​into positive values ​​to facilitate subsequent calculations.

[0059] S43, select a sampling point, find the maximum value of the sampling value within the first time threshold range with the sampling point as the starting point, that is, find the peak value of the sampled audio signal within the first time threshold range; and calculate the absolute value of the difference between the maximum value and the peak value of the kilohertz signal.

[0060] S44. Compare whether the absolute value of the difference between the maximum value and the peak value of the kilohertz signal is less than or equal to the peak error threshold. If it is less than or equal to the peak error threshold, it means that the peak value of the sampled audio signal within the first time threshold range is close to the peak value of the kilohertz signal, and execute step S47 to determine that the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is normal; otherwise, it means that the peak value of the sampled audio signal within the first time threshold range is too large or too small, and execute step S48 to determine that the connection between the Bluetooth headset to be tested and the first Bluetooth pairing device is interrupted.

[0061] S47: Determine whether the Bluetooth headset to be tested and the first Bluetooth paired device are connected normally at the time corresponding to the sampling point.

[0062] S48: Determine that the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is disconnected at the moment corresponding to the sampling point.

[0063] S49, repeating steps S43 and S44, determining in turn whether the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is interrupted at each sampling point in the test period, and counting the interruption information. The interruption information includes the interruption rate, the number of interruptions, the start time and the end time of each interruption in the test period; the calculation formula of the interruption rate is:

[0064] Interruption rate = cumulative interruption duration during the test period / total duration of the test period.

[0065] The interruption rate and the number of interruptions can be used to quantitatively evaluate the anti-interference ability of the Bluetooth headset to be tested. Since the performance of different individuals of the same model is different, these differences can be eliminated by the following measures: prepare 2 pairs of each Bluetooth headset to be tested, and prepare 2 corresponding first Bluetooth pairing devices, and test the two pairs of the same Bluetooth headset to be tested separately; in addition, the test can be repeated for each pair of Bluetooth headsets to be tested multiple times to obtain the average value.

[0066] In order to make the determination result closer to the actual experience of the user, in the step S44, when the absolute value of the difference between the maximum value and the peak value of the kilohertz signal is less than or equal to the peak error threshold, the following steps may be performed first:

[0067] S45, calculating an average value of sampling values ​​obtained by sampling the kilohertz signal within a first time threshold range starting from the sampling point as an ideal average value, and calculating an average value of sampling values ​​in the sampled audio signal within a first time threshold range starting from the sampling point as an actual average value;

[0068] S46, preset mean error threshold, compare the absolute value of the difference between the ideal mean value and the actual mean value with the preset mean error threshold, if the absolute value of the difference between the ideal mean value and the actual mean value is less than or equal to the preset mean error threshold, execute step S47; otherwise, execute step S48.

[0069] S5. Check the connection status of each WiFi access device with the corresponding WiFi terminal device, and the connection status of each second Bluetooth pairing device with the corresponding interfering Bluetooth headset through the server to determine whether the test is valid. When the number of WiFi access devices disconnected from the WiFi terminal device reaches a predetermined number, or the number of second Bluetooth pairing devices disconnected from the interfering Bluetooth headset reaches a predetermined number, the test is determined to be invalid; otherwise, the test is determined to be valid. This avoids the interruption caused by the interference of the WiFi access device, WiFi terminal device, second Bluetooth pairing device or interfering Bluetooth headset itself, which changes the simulated interference environment and causes the test results to lose reference value.

[0070] In the present invention, by building a quantified Bluetooth simulation interference environment, the interference signal can be quantified to avoid changes in the interference environment during the test process, which makes the test result lose its reference significance; and the intensity of the interference signal can be controlled, so that the interference condition can be adjusted according to the test requirements; by comparing the sampled audio signal with the pre-selected standard audio signal, the standard for determining whether the connection of the Bluetooth headset to be tested is interrupted can be quantified, so that the algorithm can be used to automatically determine whether the connection of the Bluetooth headset to be tested is interrupted, avoiding the problem of inconsistent judgment standards caused by manual judgment. By optimizing the algorithm, the judgment result can be closer to the actual experience of the user, making the test result more realistic.

[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A method for evaluating the anti-interference performance of a Bluetooth headset by quantifying a simulated interference environment, characterized in that: The following steps are involved: S1. Build a quantitative Bluetooth simulation interference environment; S2, placing the Bluetooth headset to be tested and the first Bluetooth pairing device in a Bluetooth simulated interference environment and establishing a connection, and transmitting data information to the Bluetooth headset to be tested through the first Bluetooth pairing device; wherein the data information includes a pre-selected standard audio signal; the pre-selected standard audio signal is a sine wave signal in an audio frequency band; S3, continuously sampling the sound signal emitted by the Bluetooth headset to be tested within a period of time to obtain a sampled audio signal; S4, comparing the sampled audio signal with a pre-selected standard audio signal, determining whether the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is interrupted, and counting the interruption information; the S4 step includes the following sub-steps: S41, presetting a first time threshold and a peak error threshold, where the first time threshold is greater than or equal to a half period of a standard audio signal; S42, replacing all sample values ​​of the sampled audio signal with their absolute values; S43, selecting a sampling point, finding the maximum value of the sampling values ​​within the first time threshold range starting from the sampling point, and calculating the absolute value of the difference between the maximum value and the peak value of the standard audio signal; S44, comparing whether the absolute value of the difference between the maximum value and the peak value of the standard audio signal is less than or equal to a peak error threshold, if it is less than or equal to the peak error threshold, executing step S47; otherwise, executing step S48; S47, determining that the Bluetooth headset to be tested and the first Bluetooth paired device are connected normally at the time corresponding to the sampling point; S48, determining that the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is disconnected at the moment corresponding to the sampling point; S49, repeating steps S43 and S44, determining in turn whether the connection between the Bluetooth headset to be tested and the first Bluetooth paired device is interrupted at the time corresponding to each sampling point in the test period, and counting the interruption information.

2. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 1, characterized in that: Building a quantified Bluetooth simulation interference environment includes: S11. Set up a shielding room; S12, building a WiFi data simulation field and a Bluetooth confrontation simulation field in the shielding room, wherein the WiFi data simulation field is used to simulate a WiFi data transmission scenario, and the Bluetooth confrontation simulation field is used to simulate a Bluetooth transmission scenario; S13, controlling the signal strength of the WiFi data simulation field and the Bluetooth countermeasure simulation field.

3. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 2, characterized in that: Building a WiFi data simulation field includes setting up a number of WiFi access devices and WiFi terminal devices connected to the WiFi access devices one by one in the shielded room, and enabling each WiFi access device to perform data transmission with the corresponding WiFi terminal device through WiFi connection; Building a Bluetooth confrontation simulation field includes setting up a plurality of second Bluetooth pairing devices and interfering Bluetooth headsets connected to the second Bluetooth pairing devices one by one in a shielded room, and enabling each second Bluetooth pairing device to transmit data with the corresponding interfering Bluetooth headset through a Bluetooth connection; the WiFi access device, the WiFi terminal device, the first Bluetooth pairing device and the second Bluetooth pairing device are all electrically connected to a server set up outside the shielded room.

4. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 3, characterized in that: By setting parameters on the server, the number of connections between the WiFi access device and the WiFi terminal device, as well as the number of connections between the second Bluetooth pairing device and the interfering Bluetooth headset are controlled.

5. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 4, characterized in that: The following steps are also included: S5. Check the connection status between each WiFi access device and the corresponding WiFi terminal device, and the connection status between each second Bluetooth pairing device and the corresponding interfering Bluetooth headset through the server to determine whether the test is valid.

6. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 1, characterized in that: The method for collecting the sound signal emitted by the Bluetooth headset to be tested is: An artificial ear is made by simulating a human ear, a Bluetooth headset to be tested is fixed on the artificial ear, and a speaker of the Bluetooth headset to be tested is extended into the artificial ear, a first sound collecting device is arranged in the artificial ear, the first sound collecting device is electrically connected to a signal analyzing device, and the signal analyzing device stores an audio signal collected by the first sound collecting device as a sampled audio signal.

7. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 2, characterized in that: The method for collecting the sound signal emitted by the Bluetooth headset to be tested is: An artificial ear is made by simulating a human ear, a Bluetooth headset to be tested is fixed on the artificial ear, and a speaker of the Bluetooth headset to be tested is extended into the artificial ear, a first sound collecting device is arranged in the artificial ear, and the first sound collecting device is electrically connected to a signal analyzing device; a second sound collecting device is also arranged in the shielding room, and the second sound collecting device is electrically connected to the signal analyzing device; the signal analyzing device stores the audio signal collected by the first sound collecting device and the audio signal collected by the second sound collecting device, and removes the audio signal collected by the second sound collecting device from the audio signal collected by the first sound collecting device, and uses the obtained signal as a sampled audio signal.

8. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 6 or 7, characterized in that: In the step S44, when the absolute value of the difference between the maximum value and the peak value of the standard audio signal is less than or equal to the peak error threshold, the following steps are first performed: S45, calculating an average value of sampling values ​​obtained by sampling the standard audio signal within a first time threshold range starting from the sampling point as an ideal average value, and calculating an average value of sampling values ​​in the sampled audio signal within the first time threshold range starting from the sampling point as an actual average value; and calculating an absolute value of a difference between the ideal average value and the actual average value; S46, preset a mean error threshold, compare the absolute value of the difference between the ideal mean value and the actual mean value with the preset mean error threshold, if the absolute value of the difference between the ideal mean value and the actual mean value is less than or equal to the preset mean error threshold, execute step S47; Otherwise, execute step S48.

9. The method for evaluating the anti-interference performance of a Bluetooth headset by quantifying and simulating an interference environment according to claim 1, characterized in that: The interruption information includes the interruption rate, the number of interruptions, and the start and end time of each interruption during the test period.

Citation Information

Patent Citations

  • Bluetooth earphone detection method and Bluetooth earphone detection device based on human head model, and human head model

    CN108540916A

  • Automatic testing system and method for Bluetooth equipment

    CN110535494A