CN112104969B - Detection method and device for Bluetooth headset - Google Patents

Detection method and device for Bluetooth headset Download PDF

Info

Publication number
CN112104969B
CN112104969B CN202011146956.4A CN202011146956A CN112104969B CN 112104969 B CN112104969 B CN 112104969B CN 202011146956 A CN202011146956 A CN 202011146956A CN 112104969 B CN112104969 B CN 112104969B
Authority
CN
China
Prior art keywords
audio
bluetooth headset
tested
recording
energy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011146956.4A
Other languages
Chinese (zh)
Other versions
CN112104969A (en
Inventor
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sipic Technology Co Ltd
Original Assignee
Sipic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sipic Technology Co Ltd filed Critical Sipic Technology Co Ltd
Priority to CN202011146956.4A priority Critical patent/CN112104969B/en
Publication of CN112104969A publication Critical patent/CN112104969A/en
Application granted granted Critical
Publication of CN112104969B publication Critical patent/CN112104969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/004Monitoring arrangements; Testing arrangements for microphones

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a detection method and a detection device for a Bluetooth headset, wherein the detection device comprises the following steps: controlling a player of the Bluetooth headset to be tested to play a first test audio frequency which is pre-built in and synchronously starting a microphone of the Bluetooth headset to be tested for recording, wherein the first test audio frequency comprises preset audio frequency energy; responding to audio data which are acquired by microphone recording and leaked inside a player of the Bluetooth headset to be tested, and calculating the audio data to obtain recording audio energy; and comparing the recording audio energy with the preset audio energy in the first test audio to obtain a detection result. The testing audio with fixed energy and frequency is played through the earphone loudspeaker, the microphone of the earphone is started to record, audio data leaked through the inside of the earphone is picked up, the audio energy with the specified frequency is obtained after calculation, a testing result is obtained, the defect that the influence of the leaked audio in the earphone cannot be measured is overcome, and therefore the accuracy of subsequent audio processing and analysis is improved.

Description

Detection method and device for Bluetooth headset
Technical Field
The invention belongs to the technical field of Bluetooth audio testing, and particularly relates to a detection method and device for a Bluetooth headset.
Background
The bluetooth audio tester is a separate external device. Fixed frequency audio is typically played using the bluetooth audio advanced distribution framework protocol, and analyzed by external microphone recording. This device is dedicated to high quality audio testing of bluetooth products using the bluetooth audio advanced distribution framework protocol or the hand-held protocol. This test method requires the installation of a separate calibrated microphone in the audio shielded box. And (4) picking up the test audio played by the loudspeaker of the Bluetooth product, and obtaining a test result after decoding and analyzing.
The existing audio test method cannot measure the influence of sound played by a Bluetooth headset loudspeaker on the sound pickup of a microphone of the existing audio test method through the headset.
The inventor finds that the above method often causes that during the audio playing of the bluetooth headset, the microphone picks up the external audio and also picks up the playing content of the bluetooth headset, which affects the subsequent audio processing and analysis.
Disclosure of Invention
An embodiment of the present invention provides a method and an apparatus for detecting a bluetooth headset, so as to solve at least one of the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for controlling a player of a bluetooth headset to be tested to play a first test audio that is pre-embedded and synchronously start a microphone of the bluetooth headset to be tested for recording, where the first test audio is an audio that includes preset audio energy; responding to audio data which are acquired by the microphone in a recording mode and leaked inside the player of the Bluetooth headset to be tested, and calculating the audio data to obtain recording audio energy; and comparing the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
In a second aspect, an embodiment of the present invention provides a device for detecting internal noise leakage of a bluetooth headset, including: the device comprises an output unit, a control unit and a control unit, wherein the output unit is configured to control a player of the Bluetooth headset to be tested to play a first test audio which is built in advance and synchronously start a microphone of the Bluetooth headset to be tested for recording, and the first test audio is an audio containing preset audio energy; the computing unit is configured to respond to audio data obtained by microphone recording and leaked inside the player of the Bluetooth headset to be tested, and compute the audio data to obtain recording audio energy; and the comparison unit is configured to compare the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
In a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the detection method for a bluetooth headset of any of the embodiments of the present invention.
In a fourth aspect, the present invention also provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, the computer program including program instructions, which, when executed by a computer, cause the computer to execute the steps of the detection method for a bluetooth headset according to any one of the embodiments of the present invention.
According to the method and the device, the test audio with fixed energy and frequency is played through the earphone loudspeaker, the microphone of the earphone is started to record, the audio data leaked through the inside of the earphone is picked up, the audio energy with the specified frequency is obtained after calculation, the test result is obtained, the defect that the influence of the leaked audio in the earphone cannot be measured is overcome, and therefore the accuracy of subsequent audio processing and analysis is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a detection method for a bluetooth headset according to an embodiment of the present invention;
fig. 2 is a flowchart of a detection method for a bluetooth headset according to an embodiment of the present invention;
FIG. 3 is a flow chart of a detection phase according to one embodiment of the present invention;
fig. 4 is a block diagram of a detection apparatus for a bluetooth headset according to an embodiment of the present invention;
fig. 5 is a block diagram of another detecting device for a bluetooth headset according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which shows a flowchart of an embodiment of a detection method for a bluetooth headset according to the present application, the detection method for a bluetooth headset according to the present embodiment can be applied to terminals with data transmission, such as wireless bluetooth headsets and other existing intelligent terminals.
As shown in fig. 1, the detection method for a bluetooth headset of the present embodiment includes the following steps:
step 101, controlling a player of a to-be-tested Bluetooth headset to play a first test audio which is pre-built in and synchronously starting a microphone of the to-be-tested Bluetooth headset to record, wherein the first test audio is an audio containing preset audio energy.
In this embodiment, for step 101, a test audio is pre-stored in the bluetooth headset, where the test audio includes a preset audio energy, and after the start detection, the bluetooth headset to be tested controls the built-in player to play the test audio, and at this time, the bluetooth headset to be tested synchronously controls the built-in microphone to record. For example, a player in the wireless Bluetooth headset is controlled to start a playing function so as to play pre-stored test audio, and a microphone is synchronously controlled to start a recording function.
And step 102, responding to the audio data which are acquired by the microphone in a recording manner and leaked inside the player of the Bluetooth headset to be tested, and calculating the audio data to obtain recording audio energy.
In this embodiment, for step 102, when the player of the bluetooth headset to be tested plays the test audio, because there may be a small amount of audio leaked due to the defect of the player device, the microphone in the bluetooth headset to be tested picks up the small amount of leaked audio to obtain audio data leaked inside the player of the bluetooth headset to be tested, and the bluetooth headset to be tested calculates the leaked audio data to obtain recording audio energy, where the recording audio energy is less than the preset audio energy.
Step 103, comparing the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
In this embodiment, for step 103, the to-be-tested bluetooth headset compares the obtained recording audio energy with the fixed energy in the test audio preset in the player, and by comparing the difference, the detection result of the internal sound leakage of the to-be-tested bluetooth headset can be obtained.
According to the method, the Bluetooth headset to be tested plays the test audio with fixed energy and frequency by controlling the player of the Bluetooth headset to be tested, meanwhile, the microphone of the Bluetooth headset to be tested is started to record, the audio data leaked through the interior of the headset is picked up, the recorded audio energy with the specified frequency is obtained after calculation, and the test result is obtained by comparing the recorded audio energy with the audio energy preset in the test audio, so that the defect that the influence of the audio leaked through the interior of the headset cannot be measured is overcome, and the accuracy of subsequent audio processing and analysis is effectively improved.
In some alternative embodiments, the bluetooth headset under test is placed in a shielded box filled with sound-insulating material. Like this, can guarantee that the bluetooth headset that awaits measuring can be by the complete seamless parcel of sound-absorbing material that gives sound insulation to realize good syllable-dividing effect.
Referring to fig. 2, a flowchart of another detection method for a bluetooth headset according to an embodiment of the present application is shown. The flowchart is mainly a flowchart of a further limited step of playing a first test audio which is built in advance and synchronously starting a microphone of the bluetooth headset to be tested for recording in step 101 in the flowchart 1.
As shown in fig. 2, in step 201, a bluetooth instruction sent by a master device is acquired;
in step 202, based on the bluetooth instruction, the player of the bluetooth headset to be tested is controlled to play a preset first test audio and the microphone of the bluetooth headset to be tested is synchronously started to record.
In this embodiment, for step 201, the bluetooth headset to be tested acquires the bluetooth instruction sent by the host device, for example, the host device may be an intelligent computer with bluetooth data transmission, and the intelligent computer sends the bluetooth instruction to the bluetooth headset to be tested, where the bluetooth instruction includes a first control instruction for starting a playing function of a player in the bluetooth headset to be tested and a second control instruction for starting a recording function of a microphone in the bluetooth headset to be tested. Then, in step 202, the to-be-tested bluetooth headset controls the player of the to-be-tested bluetooth headset to play a preset first test audio based on the bluetooth instruction and synchronously starts the microphone of the to-be-tested bluetooth headset to record.
In the method, the master device sends the Bluetooth command, so that the placement tightness of the to-be-tested Bluetooth headset can be ensured, remote control can be realized, and the requirement on a Bluetooth headset detection scene is reduced.
In some optional embodiments, the master device may be connected to multiple bluetooth headsets to be tested at the same time to send bluetooth instructions, so as to implement internal sound leakage detection on multiple bluetooth headsets to be tested at the same time.
In some optional embodiments, the bluetooth headset to be tested is placed in the shielding box filled with the sound insulation material, one end of a conducting wire extends into the shielding box to be connected with the bluetooth headset to be tested, and the other end of the conducting wire is connected with the main device, so that the main device can be connected with the bluetooth headset to be tested through the data wire, and the main device transmits a control command to the bluetooth headset to be tested through the data wire.
Although the design method can cause the shielding box to be not closed enough, the requirement degree on the detection field of the to-be-detected Bluetooth headset can be reduced.
In some optional embodiments, before responding to the acquisition of audio data leaked inside the player of the bluetooth headset under test and performing calculation on the audio data to obtain recorded audio energy, the method further includes: and responding to the second test audio acquired in real time, and the player of the Bluetooth headset to be tested plays the second test audio and synchronously starts the microphone of the Bluetooth headset to be tested for recording.
In this embodiment, the to-be-tested bluetooth headset responds to the second test audio acquired in real time, and controls the player of the to-be-tested bluetooth headset to play the second test audio and synchronously start the microphone of the to-be-tested bluetooth headset for recording.
According to the method, the Bluetooth headset to be tested is adopted to directly play the test audio received in real time, so that the problem that the software development amount of the Bluetooth headset is increased due to the fact that the test audio is pre-stored in the Bluetooth headset to be tested in advance can be avoided.
In some alternative embodiments, the second test audio is transmitted based on a bluetooth audio advanced distribution framework protocol or a hand-held protocol.
In an embodiment, the master device transmits the second test audio to the bluetooth headset under test based on the bluetooth audio advanced distribution framework protocol or the hand-held protocol.
In the method, the function provided by the service discovery application framework is to provide the service provided by the service discovery application framework to other Bluetooth devices, and the service and the function provided by the remote device can be used. In practical application, all the enabled frameworks support the service discovery protocol, and the bluetooth audio and video remote control application framework realizes remote control functions among bluetooth devices, such as transmission of control signals of forward, backward, stop, play and the like of a music player.
The advanced audio distribution framework defines the steps of setting audio and video streams depending on a general audio and video distribution framework, and the Bluetooth advanced audio distribution framework further defines the steps and details of audio stream transmission, so that the Bluetooth audio advanced distribution framework protocol or a handheld protocol can ensure the stability of transmission of a bottom layer protocol and simultaneously support the expandability of an upper layer application protocol.
It should be noted that the above method steps are not intended to limit the execution order of the steps, and in fact, some steps may be executed simultaneously or in the reverse order of the steps, which is not limited herein.
The following description is provided to enable those skilled in the art to better understand the present disclosure by describing some of the problems encountered by the inventors in implementing the present disclosure and by describing one particular embodiment of the finally identified solution.
The inventor finds that the defects in the prior art are mainly caused by the following reasons in the process of implementing the application: the measurement method needs an independent microphone to pick up sound, and cannot measure the influence of the audio played by the earphone loudspeaker leaking to the microphone through the inside of the earphone.
The inventor also found that: the test of the internal sound leakage of the Bluetooth headset generally adopts a sampling test mode. Products are randomly extracted in the production process, test software is manually connected, and manual experience test is carried out.
For technical reasons, software in bluetooth headsets on the market cannot meet specific requirements.
The scheme of this application mainly starts to design and optimize from following several aspects and solves the technical problem that can't measure the audio frequency that earphone speaker broadcast leaks to self microphone through the earphone is inside:
as shown in fig. 3, step one, the entire headset needs to be placed in a special shielded box. The general shielding box is a box with a cavity inside, and is guaranteed not to be influenced by sound outside the box. However, in this test, the inside of the shielding box was filled with a soft sound insulating and absorbing material to ensure that the bluetooth headset could be completely wrapped by the sound insulating and absorbing material without gaps.
And step two, playing test audio with fixed energy and frequency through an earphone loudspeaker, simultaneously starting a microphone of the earphone to record, picking up audio data leaked through the inside of the earphone, obtaining audio energy with specified frequency after calculation, and obtaining a test result.
Wherein, the specific description of the second step is as follows:
1) put into the shielded cell that is full of sound-proof material to bluetooth headset, fully isolated earphone outside sound guarantees that the sound that the earphone recorded is the sound of the earphone speaker broadcast through the inside transmission of earphone.
2) The main equipment controls the Bluetooth headset to start testing through the Bluetooth instruction, and the Bluetooth headset plays testing audio with fixed energy and frequency. And simultaneously turning on the microphone for recording.
3) And (4) calculating the data obtained by recording to obtain audio energy with the designated frequency, comparing the audio energy with the playing energy to obtain a test result, and simultaneously returning the test result to the main equipment.
In conclusion, the measuring scheme is very suitable for manufacturers of intelligent earphones. The internal sound leakage problem of the earphone can seriously affect the final use effect of the intelligent earphone. By introducing the measuring scheme, each device can be quantitatively tested in the production link, and the yield of products is ensured.
The inventors have also adopted the following alternatives in the course of carrying out the present application and summarized the advantages and disadvantages of the alternatives.
Beta version: test audio is generated by relying on an external host device and is transmitted to the Bluetooth headset for playing by using a Bluetooth audio advanced distribution framework protocol or a handheld protocol.
The advantages are that: the software development amount of the Bluetooth headset is reduced.
The disadvantages are as follows: the energy of the test audio played out by the bluetooth headset speaker is not accurate.
Referring to fig. 4, a block diagram of a detection apparatus for a bluetooth headset according to an embodiment of the present invention is shown.
As shown in fig. 4, the detecting apparatus 300 includes an output unit 310, a calculating unit 320, and a comparing unit 330.
The output unit 310 is configured to play a first test audio which is pre-built in a player of the bluetooth headset to be tested and synchronously start a microphone of the bluetooth headset to be tested for recording, wherein the first test audio is an audio containing fixed energy; the calculating unit 320 is configured to respond to the acquired audio data leaked inside the player of the bluetooth headset to be tested, and calculate the audio data to obtain recorded audio energy; a comparing unit 330 configured to compare the recording audio energy with the fixed energy in the first test audio to obtain a detection result.
It should be understood that the elements described in fig. 4 correspond to various steps in the method described with reference to fig. 1. Thus, the operations and features described above for the method and the corresponding technical effects are also applicable to the units in fig. 4, and are not described again here.
As shown in fig. 5, the output unit 310 includes an obtaining module 311 and an operating module 312.
The obtaining module 311 is configured to obtain a bluetooth instruction sent by a master device; the operation module 312 is configured to, based on the bluetooth instruction, play a preset first test audio by the player of the bluetooth headset to be tested and synchronously start the microphone of the bluetooth headset to be tested for recording.
It should be understood that the modules recited in fig. 5 correspond to various steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method and the corresponding technical effects are also applicable to the modules in fig. 5, and are not described again here.
In other embodiments, the present invention further provides a non-volatile computer storage medium, where the computer storage medium stores computer-executable instructions, where the computer-executable instructions may perform the detection method for a bluetooth headset in any of the above method embodiments;
as one embodiment, a non-volatile computer storage medium of the present invention stores computer-executable instructions configured to:
controlling a player of the Bluetooth headset to be tested to play a first test audio frequency which is pre-built in and synchronously starting a microphone of the Bluetooth headset to be tested for recording, wherein the first test audio frequency comprises preset audio frequency energy;
responding to audio data which are acquired by the microphone in a recording mode and leaked inside the player of the Bluetooth headset to be tested, and calculating the audio data to obtain recording audio energy;
and comparing the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
The non-volatile computer-readable storage medium may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the detection apparatus for the bluetooth headset, and the like. Further, the non-volatile computer-readable storage medium may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the non-volatile computer readable storage medium optionally includes memory located remotely from the processor, which may be connected over a network to the detection apparatus for the bluetooth headset. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform any of the above-mentioned detection methods for a bluetooth headset.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device includes: one or more processors 410 and a memory 420, with one processor 410 being an example in fig. 6. The apparatus for the detection method of the bluetooth headset may further include: an input device 430 and an output device 440. The processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, such as the bus connection in fig. 6. The memory 420 is a non-volatile computer-readable storage medium as described above. The processor 410 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory 420, that is, implements the above-described method embodiments for the detection method of the bluetooth headset. The input device 430 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the detection device for the bluetooth headset. The output device 440 may include a display device such as a display screen.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
As an embodiment, the electronic device is applied to a detection apparatus for a bluetooth headset, and is used for a client, and includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to:
controlling a player of the Bluetooth headset to be tested to play a first test audio frequency which is pre-built in and synchronously starting a microphone of the Bluetooth headset to be tested for recording, wherein the first test audio frequency comprises preset audio frequency energy;
responding to audio data which are acquired by the microphone in a recording mode and leaked inside the player of the Bluetooth headset to be tested, and calculating the audio data to obtain recording audio energy;
and comparing the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A testing method for a bluetooth headset, wherein a bluetooth headset under test is placed in a shielded box filled with a sound-insulating material for testing, the method comprising:
controlling a player built in the Bluetooth headset to be tested to play a first test audio frequency which is built in advance and synchronously starting a microphone of the Bluetooth headset to be tested for recording, wherein the first test audio frequency is an audio frequency containing preset audio frequency energy;
responding to audio data which are acquired by the microphone in a recording mode and leaked inside the player of the Bluetooth headset to be tested, and calculating the audio data to obtain recording audio energy;
and comparing the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
2. The method of claim 1, wherein the playing of the pre-built first test audio by the player of the bluetooth headset to be tested and the synchronous turning on of the microphone of the bluetooth headset to be tested for recording comprise:
acquiring a Bluetooth instruction sent by a master device;
and based on the Bluetooth instruction, controlling a player of the Bluetooth headset to be tested to play a preset first test audio and synchronously starting a microphone of the Bluetooth headset to be tested for recording.
3. The method of claim 2, wherein the detection result is sent to the master device after the detection result is obtained.
4. A device for detecting internal sound leakage of a bluetooth headset, wherein a bluetooth headset to be tested is placed in a shielding box filled with a sound insulating material for testing, the device comprising:
the output unit is configured to control a player built in the Bluetooth headset to be tested to play a first test audio frequency which is built in advance and synchronously start a microphone of the Bluetooth headset to be tested for recording, wherein the first test audio frequency is an audio frequency containing preset audio frequency energy;
the computing unit is configured to respond to audio data obtained by microphone recording and leaked inside the player of the Bluetooth headset to be tested, and compute the audio data to obtain recording audio energy;
and the comparison unit is configured to compare the recording audio energy with the preset audio energy in the first test audio to obtain a detection result.
5. The apparatus according to claim 4, wherein the output unit comprises an acquisition module and an operation module, the acquisition module is configured to acquire a Bluetooth instruction sent by a master device;
the operation module is configured to control the player of the Bluetooth headset to be tested to play a preset first test audio and synchronously start the microphone of the Bluetooth headset to be tested for recording based on the Bluetooth instruction.
6. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of any of claims 1 to 3.
7. A storage medium having stored thereon a computer program, characterized in that the program, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 3.
CN202011146956.4A 2020-10-23 2020-10-23 Detection method and device for Bluetooth headset Active CN112104969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011146956.4A CN112104969B (en) 2020-10-23 2020-10-23 Detection method and device for Bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011146956.4A CN112104969B (en) 2020-10-23 2020-10-23 Detection method and device for Bluetooth headset

Publications (2)

Publication Number Publication Date
CN112104969A CN112104969A (en) 2020-12-18
CN112104969B true CN112104969B (en) 2022-02-22

Family

ID=73784855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011146956.4A Active CN112104969B (en) 2020-10-23 2020-10-23 Detection method and device for Bluetooth headset

Country Status (1)

Country Link
CN (1) CN112104969B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412824A (en) * 2021-05-27 2022-11-29 Oppo广东移动通信有限公司 Detection method, detection device, earphone and computer readable storage medium
CN113630709A (en) * 2021-08-19 2021-11-09 深圳市指南测控技术有限公司 Data detection device for Bluetooth transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212833A (en) * 2006-12-25 2008-07-02 索尼株式会社 Audio output apparatus, audio output method, audio output system, and program for audio output processing
CN101378606A (en) * 2008-09-17 2009-03-04 深圳华为通信技术有限公司 Method and system for testing earpiece sound leakage
CN107835482A (en) * 2017-10-17 2018-03-23 广东欧珀移动通信有限公司 Detection method, device and the electronic equipment of sound leakage rate

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10104459B2 (en) * 2016-10-14 2018-10-16 Htc Corporation Audio system with conceal detection or calibration
CN110221944B (en) * 2019-06-11 2022-07-29 思必驰科技股份有限公司 Method and system for self-testing by using audio equipment to be tested

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212833A (en) * 2006-12-25 2008-07-02 索尼株式会社 Audio output apparatus, audio output method, audio output system, and program for audio output processing
CN101378606A (en) * 2008-09-17 2009-03-04 深圳华为通信技术有限公司 Method and system for testing earpiece sound leakage
CN107835482A (en) * 2017-10-17 2018-03-23 广东欧珀移动通信有限公司 Detection method, device and the electronic equipment of sound leakage rate

Also Published As

Publication number Publication date
CN112104969A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN112104969B (en) Detection method and device for Bluetooth headset
CN108462895A (en) Sound effect treatment method, device and machine readable media
CN103905925B (en) The method and terminal that a kind of repeated program plays
WO2017215512A1 (en) Audio stream processing method and related devices
CN102510418B (en) Intelligibility of speech method of measurement under noise circumstance and device
CN109474879A (en) Microphone test method, device and storage medium
CN105100794B (en) Audio-visual synchronization method of testing and device
CN109658935B (en) Method and system for generating multi-channel noisy speech
CN105979462A (en) Test processing method and device based on microphone
CN111405416B (en) Stereo recording method, electronic device and storage medium
CN109195090A (en) Test method and system for microphone electro mechanical parameter in product
CN110267083A (en) Detection method, device, equipment and the storage medium of audio-visual synchronization
CN103081517B (en) Message handler, audio process, audio frequency processing system, program and video game program
CN104707331A (en) Method and device for generating game somatic sense
CN115604621A (en) Earphone testing method, device, equipment and computer readable storage medium
CN110290453B (en) Delay testing method and system of wireless playing device
CN112787894A (en) Wireless device test system, method, apparatus, medium, and device
CN102638756A (en) Mobile terminal voice frequency test method, test device and mobile terminal
WO2023284414A1 (en) Audio merging method, audio uploading method, device and program product
US20240040191A1 (en) Livestreaming audio processing method and device
CN108055633A (en) A kind of audio frequency playing method and mobile terminal
US20230101944A1 (en) Multi-channel audio system, multi-channel audio device, program, and multi-channel audio playback method
CN106341436B (en) Method and device for detecting acceleration effect
CN110297543B (en) Audio playing method and terminal equipment
CN114222234A (en) Microphone array consistency detection method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant after: Sipic Technology Co.,Ltd.

Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant before: AI SPEECH Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant