A method for automatically detecting a Bluetooth headset

Through the closed-loop testing system, the switch-off and sound-producing functions of Bluetooth headphones are automatically detected, which solves the problem of manual operation in the existing technology, realizes automatic testing, and improves the testing efficiency and efficiency.

CN115297395BActive Publication Date: 2025-01-14DONGGUAN HELE ELECTRONICS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210432463.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-23
Publication Date
2025-01-14
Estimated Expiration
2042-04-23

AI Technical Summary

Technical Problem

The on-off test of existing Bluetooth headphones requires manual operation, which takes a long time and is inefficient in testing, so it cannot be completed automatically.

Method used

By establishing a closed-loop testing system, computers and smart terminals automatically detect the power switch and sounding functions of Bluetooth headphones, including setting test parameters, controlling the charger to turn on and off, collecting headphones back connection data, playing audio and collecting audio signals through microphones, and performing statistics Analyze and judge to realize automated testing.

Benefits of technology

No manual operation is required, which significantly saves test time and improves test efficiency. It can complete stress tests and obtain test data without interfering with staff working hours.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention relates to the technical field of Bluetooth headsets, and in particular to an automatic detection method for Bluetooth headsets, in which the Bluetooth headset to be tested, a computer and an intelligent terminal are sequentially connected to form a closed-loop test system, the computer has a microphone for collecting audio played by the headset, and the charger is connected to the computer; the headset is connected to the intelligent terminal via Bluetooth, and the intelligent terminal is connected to the computer; the test is continuously cycled until the set test time or number of cycles is reached. After adopting the above technical solution, the Bluetooth headset is automatically tested using a computer and an intelligent terminal to detect the power on and off test and the normal sound test of the Bluetooth headset. This test is completed by the computer and the intelligent terminal independently without manual operation. The staff can connect the Bluetooth headset to be tested to the computer and the intelligent terminal before leaving get off work in the evening, and use the time after get off work to complete the stress test of the Bluetooth headset. After going to work the next day, the test data can be obtained, thereby saving a lot of test time and improving test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field:

[0001] The invention relates to the technical field of Bluetooth headsets, and in particular to an automatic detection method for Bluetooth headsets. Background technology:

[0002] Bluetooth headsets use Bluetooth wireless connection technology, which eliminates the constraints of wired connections and greatly facilitates users. Current Bluetooth headsets include headsets and a charging box for charging the headsets. The working mode is as follows: When the headset is taken out of the charging box, the headset will be paired and connected to the corresponding playback device (such as a mobile phone) via Bluetooth. When the headset is placed in the charging box, the headset is disconnected from the playback device and starts charging. In order to ensure the quality of the headset, all Bluetooth headsets must be tested after production. One of the tests is to test the power on and off of the headset, and this project test is currently completed manually:

[0003] 1. After manually taking out the earphones from the charging box, manually determine whether the earphones will be paired and connected with the corresponding playback device, which takes about 10 seconds;

[0004] 2. Manually operate the playback device to play audio and manually determine whether the earphones sound normally, which takes about 60 seconds;

[0005] 3. Place the earphones in the charging box and manually determine whether the earphones are disconnected from the playback device, which takes about 10 seconds.

[0006] The above three steps constitute the headphone power on / off test. The headphone power on / off test requires stress testing, that is, the test needs to be repeated at least 100 times to detect possible low-probability problems.

[0007] As mentioned above, it takes at least 2 hours to complete the power-on and power-off stress test of a Bluetooth headset. Usually, power-on problems in Bluetooth headsets can only be discovered through multiple stress tests, so this test takes a lot of time.

[0008] In response to the above problems, I propose the following technical solutions. Summary of the invention:

[0009] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide an automatic detection method for a Bluetooth headset, which can be completed automatically without manual operation, thus reducing the working time of personnel.

[0010] In order to solve the above technical problems, the present invention adopts the following technical solutions: a method for automatically detecting a Bluetooth headset, the Bluetooth headset comprising: a headset and a charger matched with the headset, the method sequentially connects the Bluetooth headset to be detected, a computer and a smart terminal to form a closed-loop test system, the computer has a microphone for collecting audio played by the headset, the charger is connected to the computer; the headset is connected to the smart terminal via Bluetooth, and the smart terminal is connected to the computer; during the test, in step 1, the test parameters are set on the computer; in step 2, the charger is controlled to turn on and off by the computer, thereby controlling whether the charger outputs a charging current; in step 3, the headset is connected to the smart terminal; in step 4, the charger is connected to the computer; in step 5, the charger is connected to the computer; in step 6, the charger is connected to the computer; in step 7, the charger is connected to the computer; in step 8, the charger is connected to the computer; in step 9, the charger is connected to the computer; in step 11, the charger is connected to the computer; in step 12, the charger is connected to the computer; in step 13, the charger is connected to the computer; in step 14, the charger is connected to the computer; in step 15, the charger is connected to the computer; in step 16, the charger is connected to the computer; in step 17, the charger is connected to the computer; in step 18, the charger is connected to the computer; in step 19, the charger is connected to the computer; in step 19, the charger is connected to the computer; in step 19, the charger is connected to the computer; in step 11, the charger is connected to the computer; in step 12, the charger is connected to the computer; in step 13, the charger is connected to the computer; in step 14, the charger is connected to the computer; in step 15, the charger is connected to the computer; in step 16, the charger is connected to the computer; in step 17, the charger is connected to the computer; in step 18, the The smart terminal is connected via Bluetooth. After the connection, the smart terminal collects the return data of the headset; in step 4, the smart terminal is connected to the computer and transmits the collected return data of the headset to the computer, and the computer performs statistical analysis on the data; in step 5, the smart terminal starts to play audio, and the audio is transmitted to the headset via Bluetooth connection and played through the headset; in step 6, the headset continues to play audio, and the played audio is collected by the microphone and transmitted back to the computer; in step 7, the computer records the collected audio data and determines whether the sound of the headset is normal, thereby completing a round of closed-loop testing; the above test is repeated until the set test time or number of cycles is reached.

[0011] Furthermore, in the above technical solution, the headphone reconnection data includes: Acl, HFP, AVRCP, and A2DP data.

[0012] Furthermore, in the above technical solution, after completing a round of closed-loop testing, a waiting time is set, during which the charger charges the earphones.

[0013] Furthermore, in the above technical solution, the microphone is arranged in a sound pickup unit, and the sound pickup unit includes a microprocessor and a microphone. The sound pickup unit is integrated in a computer or is an independent unit connected to the computer.

[0014] Furthermore, in the above technical solution, the smart terminal is: a smart phone or a tablet computer.

[0015] After adopting the above technical solution, the Bluetooth headset is automatically tested using a computer and a smart terminal to detect the power on and off test and the normal sound test of the Bluetooth headset. This test is completed by the computer and the smart terminal without manual operation. The staff can connect the Bluetooth headset to be tested with the computer and the smart terminal before leaving get off work at night, and use the time after get off work to complete the stress test of the Bluetooth headset. After going to work the next day, the test data can be obtained, which can save a lot of test time and improve test efficiency. Specific implementation method:

[0016] The present invention is further described below in conjunction with specific embodiments.

[0017] The present invention is a method for turning on and off a Bluetooth headset and detecting sound. The so-called turning on and off and detecting sound mainly refer to: when the headset is taken out of the charging box, the headset will be paired and connected with the corresponding playback device (such as a mobile phone) via Bluetooth. When the headset is placed in the charging box, the headset is disconnected from the playback device and charging begins. In addition, when the headset is connected to the corresponding playback device, the headset can normally play the audio generated by the playback device.

[0018] Therefore, the Bluetooth headset of the present invention comprises: a headset and a charger matched with the headset, and the charger is generally a charging box. During the implementation of the present invention, the Bluetooth headset, computer and smart terminal to be tested need to be connected in sequence to form a closed-loop test system.

[0019] The computer can be a personal computer terminal, which can be integrated with a sound pickup unit, or can be connected to an external sound pickup unit. If the external sound pickup unit is connected, the external sound pickup unit should include: a microprocessor and a microphone, and the sound pickup unit is integrated in the computer or connected to the computer as an independent unit. The sound pickup unit is mainly used to collect the audio signal played by the Bluetooth headset, and convert it into digital information, and transmit it to the computer processing unit, so as to determine whether the headset makes sound normally.

[0020] The intelligent terminal may be any mobile intelligent device such as a smart phone, a tablet computer, or a smart player.

[0021] When testing the present invention, the headset is first connected to the charger, which includes the following steps:

[0022] Step 1: Set the test parameters on the computer, such as the test duration, the number of loop tests, the time interval between loop tests, etc.

[0023] Step 2: Control the charger on and off through the computer, so as to control whether the charger outputs the charging current. For the external pickup unit, the charger can be directly controlled by the microprocessor in the pickup unit.

[0024] Step 3: The headset is connected to the smart terminal via Bluetooth. After the connection is established, the smart terminal collects the headset's return data.

[0025] Step 4: Connect the smart terminal to the computer and transmit the collected headphone data to the computer. The computer performs statistical analysis on the data. The smart terminal and the computer can be directly connected and output via a USB data cable.

[0026] Step 5: The smart terminal starts playing audio, and the audio is transmitted to the headset via Bluetooth connection and played through the headset;

[0027] Step 6: The headset continues to play audio, which is collected by the microphone and then transmitted back to the computer;

[0028] Step 7: The computer records the collected audio data and determines whether the sound of the earphone is normal, thus completing a round of closed-loop testing;

[0029] After completing a round of closed-loop testing, set a waiting time during which the charger charges the headset. Repeat the above test until the set test time or number of cycles is reached.

[0030] The specific testing process of the present invention is as follows.

[0031] 1) Conduct environmental testing of the entire test system and detect the connection status of computers, smart terminals, and Bluetooth headsets.

[0032] 2) Out-of-box command, i.e., sending a command through the computer, the pickup unit shuts down the charger, disconnecting the earphones from the charger, thereby simulating the scene of taking the earphones out of the charger;

[0033] 3) Start the connection test to detect whether the headset is paired and connected to the smart terminal through Bluetooth after being disconnected from the charger. Within the set time, the smart terminal will collect the headset's back-connection data, which includes any combination of Acl (access control list), HFP (hands-free function), AVRCP (audio remote control protocol), A2DP (Bluetooth audio transmission protocol), SCO (transmission-oriented for voice transmission), SPP (serial port configuration protocol), BLE (Bluetooth and other energy-consuming technologies) data. First, check whether Acl is connected, and then check whether HFP, AVRCP, A2DP and other back-connection data are connected. If the smart terminal collects the above data within the set time range, it means that the connection is completed and the connection is normal. If any data is not collected within the set time, it means that the connection is abnormal. If only A2DP is not connected, skip the subsequent audio test.

[0034] 4. After the startup connection test is normal, the audio test will be carried out. First, the computer sends a command to control the smart terminal to start playing the set audio. The audio played by the smart terminal will be transmitted to the headset via Bluetooth transmission, and the headset will start to make sound. At this time, the microphone in the sound pickup unit collects the sound played by the headset and converts the sound into a digital signal and transmits it to the computer. Within the set time range, the computer will judge whether the headset makes sound and whether the sound is normal through the returned audio signal.

[0035] 5. After the audio test is completed, the following test will be conducted: the computer will issue a command, and the pickup unit will turn on the charger, so that the earphones can be connected to the charger, thereby simulating the scene of the earphones being placed in the charger. In normal use, when the earphones are placed in the charger, the charger starts charging the earphones. At this time, the earphones should disconnect the Bluetooth connection with the smart terminal and enter the charging mode.

[0036] 6) Start the connection test again to detect whether the headset disconnects the Bluetooth connection with the smart terminal after connecting to the charger. Within the set time, the smart terminal will collect the headset's reconnection data, which includes: whether A2DP has been disconnected, whether AVRCP has been disconnected, whether HFP has been disconnected, whether Acl has been disconnected. If the smart terminal collects the above connections within the set time range, it means that the headset has been disconnected from the smart terminal normally. Otherwise, it means abnormal.

[0037] 7) Enter the waiting time, during which the charger charges the headset to ensure that the battery of the headset will not be exhausted during the entire test process and can continue to work.

[0038] 8) The above test is repeated continuously until the set test time or number of cycles is reached.

[0039] Of course, the above description is only a specific embodiment of the present invention and is not intended to limit the scope of implementation of the present invention. All equivalent changes or modifications made according to the structure, characteristics and principles described in the patent application scope of the present invention should be included in the patent application scope of the present invention.

Claims

1. A method for automatically detecting a Bluetooth headset, the Bluetooth headset comprising: The method connects the Bluetooth headset, computer and smart terminal to form a closed-loop test system, which is characterized by: The computer has a microphone for collecting the audio played by the headset, and the charger is connected to the computer; the headset is connected to the smart terminal via Bluetooth, and the smart terminal is connected to the computer; during the test, Step 1: Set the test parameters on the computer; Step 2: Use the computer to control the charger to turn on and off, control whether the charger outputs charging current, and shut down the charger to disconnect the earphones from the charger, thereby simulating the scene of taking the earphones out of the charger; Step 3: The headset is connected to the smart terminal via Bluetooth. After the connection is made, the smart terminal collects the headset's return connection data, and the headset return connection data includes any combination of Acl, HFP, AVRCP, A2DP, SCO, SPP, and BLE data. Step 4: The smart terminal is connected to the computer and the collected headphone back-connection data is transmitted to the computer, which then performs statistical analysis on the data. Step 5: The smart terminal starts playing audio, and the audio is transmitted to the headset via Bluetooth connection and played through the headset; Step 6: The headset continues to play audio, which is collected by the microphone and then transmitted back to the computer; Step 7: The computer records the collected audio data and determines whether the sound of the earphone is normal, thus completing a round of closed-loop testing; After completing a round of closed-loop testing, set a waiting time. During the waiting time, the charger is turned on by controlling the computer. At this time, the earphones are connected to the charger, thereby simulating the scene of the earphones being placed in the charger, and the charger charges the earphones. The above test is continuously cycled until the set test time or number of cycles is reached.

2. The method for automatically detecting a Bluetooth headset according to claim 1, characterized in that: The microphone is arranged in a sound pickup unit, which includes a microprocessor and a microphone. The sound pickup unit is integrated in a computer or is an independent unit connected to the computer.

3. The method for automatically detecting a Bluetooth headset according to claim 1, characterized in that: The intelligent terminal is: a smart phone, a tablet computer.

Citation Information

Patent Citations

  • Earphone test method and system, test terminal and storage medium

    CN112566003A