A method for testing audio delay of Bluetooth headset
The Bluetooth headset audio delay test was carried out using two test mobile phones, and the time difference between the image and audio mutation points was used to calculate the delay value, which solved the problems of high equipment cost and long queuing time, and achieved the convenience of rapid iterative testing.
Patent Information
- Application Number
- CN202011544939.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-12-23
AI Technical Summary
In the existing technology, the equipment cost is high in the Bluetooth headset audio delay test and the multi-model test items increase the queuing time, which is not conducive to the rapid iteration test of the version.
Use two test mobile phones to conduct a Bluetooth headset audio delay test. Mobile phone A plays a specially processed video. Mobile phone B records the video and analyzes the image and audio mutation points. Calculate the time difference between the audio and image mutation points to estimate the delay value. Repeat for many times. The average of the sub-samples is taken as the final delay value.
It reduces the cost of test equipment, avoids the increase in queuing time for multi-model test projects, and improves the efficiency of rapid iteration testing of versions.
Smart Images

Figure CN112866893B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of Bluetooth headset audio delay testing, and in particular relates to a method for testing Bluetooth headset audio delay. Background Art
[0002] With the rapid development of the headphone industry, headphones have gradually entered the Bluetooth era from wired and head-mounted types. Bluetooth headphones use microphones to convert sound into electromagnetic waves, which are sent to the receiving end of the headphones using the Bluetooth communication system and then converted into sound. In recent years, Bluetooth headphones have developed rapidly and related performance parameters have been continuously improved. In functions such as playing games and watching videos, many headphones are trying to minimize latency as much as possible to meet the needs of audio-visual synchronization, which has spawned many low-latency algorithms, such as HWALHDC, APTX-LL, etc.
[0003] However, in the existing technology, in actual development and testing, because many software version iterations are involved, if precise equipment and instruments are used for each low-latency test, the cost requirements for the equipment will be relatively high; in addition, even if there are equipment, the waiting time will be increased due to the test items of multiple models, which is not conducive to the rapid iteration testing of versions.
[0004] To this end, we propose a method for testing Bluetooth headset audio latency to solve the problems existing in the existing technology, so that it can reduce the equipment cost of Bluetooth headset latency testing while facilitating rapid version iteration testing. Summary of the invention
[0005] The purpose of the present invention is to provide a method for testing the audio delay of a Bluetooth headset, so as to solve the problem in the prior art proposed in the above background technology that, in actual development and testing, because many software version iterations are involved, if precise equipment and instruments are used for each low-latency test, the cost requirement for the equipment will be relatively high; in addition, even if there is equipment, the queuing time will be increased due to the test items of multiple models, which is not conducive to the problem of rapid iteration testing of versions. The audio delay of the Bluetooth headset can be tested by two test mobile phones, and there is no need to use precise equipment and instruments, which reduces the cost of the test equipment to a certain extent, and does not increase the queuing time due to the test items of multiple models, which brings convenience to the rapid iteration testing of versions.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] A method for testing the audio delay of a Bluetooth headset comprises the following steps:
[0008] S1. Preparation before the test: prepare two test mobile phones and a headset to be tested, and mark the two test mobile phones as mobile phone A and mobile phone B;
[0009] S2, Bluetooth signal connection, connect mobile phone A and Bluetooth headset with Bluetooth signal;
[0010] S3, recording a video, using mobile phone A to play the specially processed video, mobile phone B to start the camera function, and use the camera of mobile phone B to record the video playback process of mobile phone A and the sound coming from the Bluetooth headset listening hole;
[0011] S4, video analysis, mobile phone B starts algorithm analysis and obtains image mutation points and audio mutation points through the recorded video;
[0012] S5. Obtain the delay value, and obtain the estimation of the Bluetooth headset delay through the time difference between the audio mutation point and the image mutation point;
[0013] S6. Calculate the final delay value, repeat steps S3-S5 to perform multiple sampling and delay calculations, and take the average of the multiple calculated delay values as the final delay value of the test.
[0014] Preferably, the mobile phone A described in step 1 is set as a smart phone capable of playing videos and connecting to Bluetooth signals, and the mobile phone B is set as a smart phone with algorithm analysis.
[0015] Preferably, the specially processed video in step 3 refers to a video in which the sound and image are synchronized, there is no delay when mobile phone B records the video played in mobile phone A, there is a delay after the sound passes through the Bluetooth link between mobile phone A and the Bluetooth headset, and the Bluetooth headset delay value is calculated through the video recorded by mobile phone B, and the special video includes a sudden hammer hitting a table, an artillery scene, a shooting range, a car collision and a ghost fright scene.
[0016] Preferably, the image mutation point in step 4 refers to the jump from one scene to another, the image mutation point includes the switch from black background to white background, no light to light, and the surface of an object is intact to damaged, the audio mutation point refers to the jump from nothing to something; the audio mutation point includes knocking, impact and shooting sounds.
[0017] Preferably, the algorithm analysis in step 4 includes image algorithm analysis and audio algorithm analysis. In the image algorithm analysis, the time T1 of the image mutation point is obtained, and in the audio algorithm analysis, the time T2 of the audio mutation point is obtained.
[0018] Preferably, the time difference in step 5 is set to T, and the time difference is calculated by subtracting the time T2 of obtaining the audio mutation point from the time T1 of obtaining the image mutation point, that is, T=T2-T1.
[0019] Preferably, the sampling in step 6 refers to recording the video playback process of mobile phone A and the sound emitted from the Bluetooth headset listening hole through the camera of mobile phone B, and performing at least ten samplings to take the average value of T.
[0020] Preferably, the unit of the delay in steps 5-6 is set to ms, and the delay value ranges from 150ms to 250ms.
[0021] Preferably, when calculating the final delay value in step 6, in order to reduce the error of a single measurement, the final delay value can be evaluated by eliminating singular values and taking the average value of multiple measurements, wherein a singular value refers to a value with a large difference in the delay values calculated multiple times.
[0022] The method for testing the audio delay of a Bluetooth headset proposed in the present invention has the following advantages compared with the prior art:
[0023] The present invention mainly connects mobile phone A and a Bluetooth headset through a Bluetooth signal first, uses mobile phone A to play a specially processed video, activates the camera function of mobile phone B, and uses the camera of mobile phone B to record the video playback process of mobile phone A and the video of the sound emitted from the Bluetooth headset listening hole, and mobile phone B activates algorithm analysis, and obtains image mutation points and audio mutation points through the recorded video, obtains an estimate of the Bluetooth headset delay through the time difference between the audio mutation point and the image mutation point, and calculates the delay value through multiple sampling to improve the test accuracy, and takes the average of the multiple calculated delay values as the final delay value of the test, and the Bluetooth headset audio delay can be tested by two test mobile phones, without the need to use precise equipment and instruments, which reduces the cost of the test equipment to a certain extent, and does not increase the queuing time due to the test items of multiple models, which brings convenience to the rapid iteration test of versions. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flow chart of a method for testing audio delay of a Bluetooth headset according to the present invention;
[0025] Figure 2 This is a flow chart of delay value calculation of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0027] Example 1
[0028] The present invention provides a method for testing the audio delay of a Bluetooth headset, comprising the following steps:
[0029] S1. Preparation before the test: prepare two test mobile phones and a headset to be tested, and mark the two test mobile phones as mobile phone A and mobile phone B;
[0030] S2, Bluetooth signal connection, connect mobile phone A and Bluetooth headset with Bluetooth signal;
[0031] S3, recording a video, using mobile phone A to play the specially processed video, mobile phone B to start the camera function, and use the camera of mobile phone B to record the video playback process of mobile phone A and the sound coming from the Bluetooth headset listening hole;
[0032] S4, video analysis, mobile phone B starts algorithm analysis and obtains image mutation points and audio mutation points through the recorded video;
[0033] S5. Obtain the delay value, and obtain the estimation of the Bluetooth headset delay through the time difference between the audio mutation point and the image mutation point;
[0034] S6, calculate the final delay value, repeat steps S3-S5 to perform multiple sampling and delay calculations, and take the average of the multiple calculated delay values as the final delay value of the test;
[0035] Wherein, the mobile phone A in step 1 is set as a smart phone capable of playing videos and connecting to Bluetooth signals, and the mobile phone B is set as a smart phone with algorithm analysis;
[0036] Among them, the specially processed video in step 3 refers to the video in which the sound and image are synchronized. There is no delay when mobile phone B records the video played in mobile phone A. There is a delay after the sound passes through the Bluetooth link between mobile phone A and the Bluetooth headset. There will be a time difference between the audio mutation point and the image mutation point in the recorded video. The time difference is the delay in the Bluetooth transmission process. The Bluetooth headset delay value is calculated through the video recorded by mobile phone B. Special videos include sudden hammer hitting the table, artillery scenes, shooting ranges, car collisions, ghost scaring scenes, etc.
[0037] The image mutation point in step 4 refers to the transition from one scene to another, including the switching from a black background to a white background, from no light to light, and from an intact surface to a damaged surface of an object. The audio mutation point refers to the transition from nothing to something. The audio mutation point includes knocking, impact and shooting sounds.
[0038] The algorithm analysis in step 4 includes image algorithm analysis and audio algorithm analysis. In the image algorithm analysis, the time T1 of the image mutation point is obtained, and in the audio algorithm analysis, the time T2 of the audio mutation point is obtained.
[0039] Wherein, in step 5, the time difference is set to T, and the time difference is calculated by subtracting the time T2 of obtaining the audio mutation point from the time T1 of obtaining the image mutation point, that is, T=T2-T1;
[0040] The sampling in step 6 refers to recording the video playback process of mobile phone A and the sound emitted from the Bluetooth headset listening hole through the camera of mobile phone B, and performing at least ten samplings to obtain the average value of T;
[0041] The unit of delay in steps 5-6 is set to ms, and the delay value ranges from 150ms to 250ms.
[0042] Among them, when calculating the final delay value in step 6, in order to reduce the error of a single measurement, the final delay value can be evaluated by eliminating singular values and calculating the average value of multiple measurements, where a singular value refers to a value with a large difference in the delay values calculated multiple times.
[0043] In summary, the video playback process of mobile phone A and the sound coming from the listening hole of the Bluetooth headset are recorded through the camera of mobile phone B. Mobile phone B starts algorithm analysis, and obtains the image mutation point and audio mutation point through the recorded video. The delay of the Bluetooth headset is estimated by the time difference between the audio mutation point and the image mutation point. In order to improve the test accuracy, the delay value is calculated through multiple sampling, and the average of the multiple calculated delay values is taken as the final delay value of the test. The audio delay of the Bluetooth headset can be tested by two test mobile phones, without the need to use precise equipment and instruments, which reduces the cost of the test equipment to a certain extent.
[0044] Example 2
[0045] According to the method for testing the audio delay of Bluetooth headsets provided by the present invention, the final delay of 5 sets of Bluetooth headsets was actually tested, and the test results are as follows:
[0046]
[0047]
[0048]
[0049] In summary, 5 groups of Bluetooth headsets were taken to perform audio delay tests using the method for testing audio delay of Bluetooth headsets provided by the present invention. From the delay values actually tested, it can be concluded that the test range of the Bluetooth headset delay value is between 150ms-250ms, and the final delay value is also between 150ms-250ms.
[0050] Working principle: First, connect mobile phone A and the Bluetooth headset with Bluetooth signals, use mobile phone A to play a specially processed video, start the camera function of mobile phone B, and use the camera of mobile phone B to record the video playback process of mobile phone A and the sound coming from the listening hole of the Bluetooth headset. Mobile phone B starts algorithm analysis, and obtains the image mutation point and audio mutation point through the recorded video. The delay of the Bluetooth headset is estimated through the time difference between the audio mutation point and the image mutation point. In order to improve the test accuracy, the delay value is calculated through multiple sampling, and the average of the multiple calculated delay values is taken as the final delay value of the test. The audio delay of the Bluetooth headset can be tested through two test mobile phones. There is no need to use precise equipment and instruments, which reduces the cost of the test equipment to a certain extent, and will not increase the queuing time due to the test items of multiple models, which brings convenience to the rapid iteration test of the version.
[0051] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for testing the audio delay of a Bluetooth headset, characterized by: The method comprises the following steps: S1, preparation before the test, preparing two test mobile phones and a headset to be tested, and marking the two test mobile phones as mobile phone A and mobile phone B; S2, Bluetooth signal connection, connecting mobile phone A to the Bluetooth headset through Bluetooth signal; S3, recording video, using mobile phone A to play a specially processed video, mobile phone B starts the camera function, and uses the camera of mobile phone B to record the video playback process of mobile phone A and the video of the sound emitted from the Bluetooth headset listening hole; S4, video analysis, mobile phone B starts algorithm analysis, and obtains the image mutation point and audio mutation point through the recorded video; S5, obtaining the delay value, and obtaining the estimation of the Bluetooth headset delay through the time difference between the audio mutation point and the image mutation point; S6, calculating the final delay value, repeating steps S3-S5 to perform multiple sampling and delay value calculation, and taking the average value of the multiple calculated delay values as the final delay value of the test; the mobile phone A described in step 1 is set as a smart phone that can play videos and connect to Bluetooth signals, and the mobile phone B is set as a smart phone with algorithm analysis; The specially processed video in step 3 refers to a video in which the sound and image are synchronized. There is no delay when mobile phone B records the video played in mobile phone A. There is a delay after the sound passes through the Bluetooth link between mobile phone A and the Bluetooth headset. The Bluetooth headset delay value is calculated based on the video recorded by mobile phone B. The specially processed videos include a sudden hammer hitting the table, an artillery scene, a shooting range, a car collision, and a ghost fright scene; The image mutation point in step 4 refers to the jump from one scene to another scene, and the image mutation point includes the switch from black background to white background, no light to light, and the surface of an object is intact to damaged. The audio mutation point refers to the jump from nothing to something; the audio mutation point includes knocking, impact and shooting sounds; The algorithm analysis in step 4 includes image algorithm analysis and audio algorithm analysis. In the image algorithm analysis, the time T1 of the image mutation point is obtained, and in the audio algorithm analysis, the time T2 of the audio mutation point is obtained. The time difference in step 5 is set to T, and the time difference is calculated by subtracting the time T2 of obtaining the audio mutation point from the time T1 of obtaining the image mutation point, that is, T=T2-T1.
2. A method for testing Bluetooth headset audio delay according to claim 1, characterized in that: The sampling in step 6 refers to recording the video playback process of mobile phone A and the sound emitted from the Bluetooth headset listening hole through the camera of mobile phone B, and performing at least ten samplings to obtain the average value of T.
3. A method for testing Bluetooth headset audio delay according to claim 2, characterized in that: The unit of the delay in steps 5-6 is set to ms, and the delay value ranges from 150ms to 250ms.
4. A method for testing Bluetooth headset audio delay according to claim 3, characterized in that: When calculating the final delay value in step 6, in order to reduce the error of a single measurement, the final delay value can be evaluated by eliminating singular values and taking the average value of multiple measurements, where a singular value refers to a value with a large difference in the delay values calculated multiple times.
Citation Information
Patent Citations
Multimedia audio video data synchronization computing method
CN108881992A
Apparatus and method for synchronization between video and audio in mobile communication terminal
US20100295993A1
Audio / video synchronization using a device with camera and microphone
US20160150129A1
