CN109195090B - Method and system for testing electroacoustic parameters of microphone in product - Google Patents

Method and system for testing electroacoustic parameters of microphone in product Download PDF

Info

Publication number
CN109195090B
CN109195090B CN201811030477.9A CN201811030477A CN109195090B CN 109195090 B CN109195090 B CN 109195090B CN 201811030477 A CN201811030477 A CN 201811030477A CN 109195090 B CN109195090 B CN 109195090B
Authority
CN
China
Prior art keywords
audio
recording
test
electroacoustic
microphone
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
CN201811030477.9A
Other languages
Chinese (zh)
Other versions
CN109195090A (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
AI Speech 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 AI Speech Ltd filed Critical AI Speech Ltd
Priority to CN201811030477.9A priority Critical patent/CN109195090B/en
Publication of CN109195090A publication Critical patent/CN109195090A/en
Application granted granted Critical
Publication of CN109195090B publication Critical patent/CN109195090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

The embodiment of the invention provides a method for testing electroacoustic parameters of a microphone in a product. The method comprises the following steps: determining a reference parameter according to a test item in the test instruction, and generating a test audio and a recording instruction through the reference parameter; sending the recording instruction to a silencing indoor agent end; responding to a recording starting state fed back by a microphone in a tested product through a silencing indoor agent end, and sending a test audio to a simulation mouth in a silencing room for playing; receiving a recording audio recorded by a microphone in a tested product fed back by a silencing indoor agent end; analyzing the actual parameters of the recorded audio, and determining the electroacoustic parameters of the microphone in the product through a tracking algorithm according to the actual parameters and the reference parameters. The embodiment of the invention also provides a system for testing the microphone electro-acoustic parameters in the product. According to the embodiment of the invention, the agent terminal is used for establishing connection between the electroacoustic test terminal and the tested product, so that the problem of data loss or time delay in the Bluetooth transmission process is avoided, and the accuracy of the test result is ensured.

Description

Method and system for testing electroacoustic parameters of microphone in product
Technical Field
The invention relates to the field of electronic product testing, in particular to a method and a system for testing electroacoustic parameters of a microphone in a product.
Background
With the rapid development of voice technology, various products are gradually equipped with voice interaction functions, and in order to implement the voice interaction functions, a microphone needs to be adapted to receive voice spoken by a user. And then the voice is transmitted or the meaning corresponding to the voice input by the user is identified and corresponding operation is executed. For example, products such as telephones and interphones for transmitting voice, or smart speakers, smart televisions, and products for performing corresponding operations also have a function of receiving voice.
Although the intelligent product with the microphone can realize more functions, if the sound reception of the microphone has poor frequency response and poor sound reception quality, the product has low awakening rate or poor accuracy in identification. Therefore, it is necessary to perform electro-acoustic parameter testing of the microphone on the product with the microphone to ensure stable operation of the microphone within the product.
The electroacoustic test system is connected with a tested product through Bluetooth, actual audio recorded by a microphone of the tested product is transmitted to the electroacoustic test system in real time through Bluetooth, the electroacoustic test system controls the simulation nozzle to play specific audio at the same time, and the performance of the microphone in the product is determined by calculating the actual audio and the specific audio after the playing is finished. The testing method is a closed-loop test, and most microphones of tested products are sealed in a circuit, so that PIN PINs (PINs) of the microphones cannot be directly connected into a testing system, and data cannot be transmitted, so that a required closed loop is formed in a Bluetooth mode.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the related art:
form the closed loop through the mode of bluetooth, just need to be surveyed the product and must have the bluetooth function, if do not have bluetooth function module by the product of being surveyed (many white telegrams do not all have bluetooth function module), then can't test. Meanwhile, due to the consideration of cost, the performance of the carried bluetooth functional module is not good, and the problems of data loss, large delay or unstable delay exist in some tested products, which can also lead to inaccurate test results.
Disclosure of Invention
The problem that in the prior art, at least part of tested products do not have Bluetooth function modules, the microphones in the products cannot be tested, or the performance of the Bluetooth function modules of part of products is poor, so that the result of testing the microphones is inaccurate is solved.
In a first aspect, an embodiment of the present invention provides a method for testing an electroacoustic parameter of a microphone in a product, where the method is used in an electroacoustic testing terminal outside a anechoic chamber, and includes:
determining a reference parameter according to a test item in the test instruction, and generating a test audio and a recording instruction according to the reference parameter;
sending the recording instruction to an agent end in a silencing room;
responding to a recording starting state fed back by a microphone in a tested product through an agent end in the anechoic chamber, and sending the test audio to a simulation mouth in the anechoic chamber for playing;
receiving a recording audio recorded by a microphone in a tested product and fed back by the agent end in the anechoic chamber;
analyzing the actual parameters of the recorded audio, and determining the microphone audio parameters in the product through a tracking algorithm according to the actual parameters and the reference parameters.
In a second aspect, an embodiment of the present invention provides a method for testing an electroacoustic parameter of a microphone in a product, which is used at an agent end in a anechoic chamber, and includes:
responding to a recording instruction sent by an electroacoustic testing end outside the anechoic chamber, and generating an effective recording instruction for controlling a tested product;
controlling the tested product to start recording through the effective recording instruction based on physical connection and/or wireless ADB connection established with the tested product in advance;
responding to a recording starting state fed back by a tested product, and feeding back the recording starting state to an electroacoustic testing end outside the anechoic chamber;
and receiving the recording audio recorded by the microphone in the tested product, and feeding the recording audio back to the electroacoustic testing end outside the anechoic chamber.
In a third aspect, an embodiment of the present invention provides a system for testing an electroacoustic parameter of a microphone in a product, where the system is used for an electroacoustic testing terminal outside a sound-deadening chamber, and the system includes:
the test information generation program module is used for determining a reference parameter according to a test item in the test instruction and generating a test audio and a recording instruction according to the reference parameter;
the recording instruction sending program module is used for sending the recording instruction to an agent end in the anechoic chamber;
the test audio playing program module is used for responding to a recording starting state fed back by a microphone in a tested product through the agent end in the anechoic chamber and sending the test audio to a simulation mouth in the anechoic chamber for playing;
the recording audio receiving program module is used for receiving the recording audio recorded by the microphone in the tested product fed back by the agent end in the anechoic chamber;
and the electroacoustic parameter determining program module is used for analyzing the actual parameters of the recorded audio and determining the electroacoustic parameters of the microphone in the product through a tracking algorithm according to the actual parameters and the reference parameters.
In a fourth aspect, an embodiment of the present invention provides a system for testing an acoustic parameter of a microphone in a product, where the system is used at an agent end in a anechoic chamber, and the system includes:
the effective instruction generation program module is used for responding to a recording instruction sent by an electroacoustic testing end outside the anechoic chamber and generating an effective recording instruction for controlling a tested product;
the effective instruction forwarding program module is used for controlling the tested product to start recording through the effective recording instruction based on physical connection and/or wireless ADB connection which is established with the tested product in advance;
the recording state forwarding program module is used for responding to a recording starting state fed back by a tested product and feeding back the recording starting state to an electroacoustic testing end outside the anechoic chamber;
and the recording audio forwarding program module is used for receiving the recording audio recorded by the microphone in the tested product and feeding the recording audio back to the electroacoustic testing end outside the anechoic chamber.
In a fifth 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 method for testing of microphone electroacoustic parameters within a product of any of the embodiments of the present invention.
In a sixth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, where the program is executed by a processor to implement the steps of the method for testing an electroacoustic parameter of a microphone in a product according to any of the embodiments of the present invention.
The embodiment of the invention has the beneficial effects that: the transmission method of the Bluetooth is replaced by using the agent terminal to establish connection for the electroacoustic test terminal and the tested product. The electroacoustic test terminal can be connected with microphones of various tested products, so that the problems of data loss, large delay or unstable delay in the Bluetooth transmission process are solved, and the accuracy of the test result is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flow chart of an electroacoustic testing terminal used outside a anechoic chamber for a testing method of electroacoustic parameters of a microphone in a product according to an embodiment of the present invention;
fig. 2 is a flow chart of an agent end in a anechoic chamber, according to an embodiment of the present invention, for a method for testing electroacoustic parameters of a microphone in a product;
fig. 3 is a schematic structural diagram of an electroacoustic testing terminal used outside a sound attenuation chamber, where the electroacoustic testing terminal is used for testing an electroacoustic parameter of a microphone in a product according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an agent end in a anechoic chamber, where the testing system for the acoustic parameters of a microphone in a product is provided 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.
Fig. 1 shows a flow chart of an electroacoustic testing terminal used outside a anechoic chamber for a testing method of electroacoustic parameters of a microphone in a product according to an embodiment of the present invention, which includes the following steps:
s11: determining a reference parameter according to a test item in the test instruction, and generating a test audio and a recording instruction according to the reference parameter;
s12: sending the recording instruction to an agent end in a silencing room;
s13: responding to a recording starting state fed back by a microphone in a tested product through an agent end in the anechoic chamber, and sending the test audio to a simulation mouth in the anechoic chamber for playing;
s14: receiving a recording audio recorded by a microphone in a tested product and fed back by the agent end in the anechoic chamber;
s15: analyzing the actual parameters of the recorded audio, and determining the microphone audio parameters in the product through a tracking algorithm according to the actual parameters and the reference parameters.
In the present embodiment, the present method can be incorporated into an electroacoustic test apparatus or an electroacoustic test system. When the electroacoustic tester is used for testing a microphone of a product, the tested product may not have Bluetooth or the performance of a Bluetooth functional module is poor, but most products have usb debugging ports (some usb debugging ports are visible outside the product, and some usb debugging ports are inside the product and are invisible outside).
Because few electroacoustic test ends can call the command of an operating system through a built-in interface, the product is directly controlled through physical connection and wireless ADB (Android Debug Bridge). If possible, implementation is very difficult. In addition, because the electroacoustic test system is arranged outside the silencing room, the distance between the electroacoustic test system and the silencing room is several meters, and excessive loss is introduced due to the fact that a usb data line is too long in physical connection, so that the problem of incapability of communication is caused. Therefore, the agent terminal is used as the transfer of the electroacoustic test terminal and the tested product.
Since the test needs to be performed in the anechoic chamber, the electroacoustic test terminal is outside the anechoic chamber, the tested product is in the anechoic chamber, and the proxy terminal as a relay is also in the anechoic chamber.
For step S11, in response to a test command issued by a tester, the electroacoustic test terminal determines a corresponding reference parameter according to the item tested in the command. The corresponding test audio is generated by the reference parameters, and the corresponding test item is determined in the test since there are many types of test items. For example, in the first test of a microphone in a product, each test item needs to be tested. In this case, the number of reference parameters to be determined is large, and the time for generating the test audio is long. After the first test, for example, it is determined that part of the electroacoustic parameters pass through, and when part of the electroacoustic parameters do not pass through, all the items can be selected for testing after the corresponding parts of the microphone in the product are adjusted for higher accuracy; for testing efficiency, only the items which fail in the first test can be selected for testing. Therefore, when testing, a tester can select corresponding test items according to actual needs, so that the testing time is controlled. At the same time of generating the test audio, a recording instruction for controlling a microphone in the tested product needs to be generated.
In step S12, the recording command determined in step S11 is transmitted to the agent in the anechoic room based on the connection established in advance with the agent in the anechoic room.
For step S13, the electroacoustic test terminal responds to the recording on state fed back by the agent terminal, and plays the test audio generated in step S11 through the simulated mouth in the electroacoustic test system control anechoic chamber.
For step S14, since the recording command has been sent to the product under test in step S12, the microphone of the product under test is in the recording state, the simulated mouth in step S13 plays the test audio, and the microphone records the audio played by the simulated mouth to determine the recorded audio. And after the recording is finished, receiving the recording audio recorded by the microphone in the tested product fed back from the silencing indoor agent end.
For step S15, the actual parameters of the recorded audio are analyzed by an existing method, and then the electroacoustic parameters of the microphone in the product are determined by a tracking algorithm, such as a harmonic tracking algorithm, according to the actual parameters and the reference parameters.
Through the implementation method, the proxy terminal is used for establishing connection for the electroacoustic test terminal and the tested product, and the Bluetooth transmission method is replaced. The electroacoustic test terminal can be connected with microphones of various tested products, so that the problems of data loss, large delay or unstable delay in the Bluetooth transmission process are solved, and the accuracy of the test result is ensured.
As an implementation manner, in this embodiment, after determining a reference parameter according to a test item in the test instruction and generating a test audio and a recording instruction by using the reference parameter, the method further includes:
determining a first audio duration of the test audio;
after receiving the recording audio recorded by the microphone in the tested product and sent by the agent end in the anechoic chamber, the method further comprises the following steps:
determining a recording waveform of the recording audio, segmenting the recording audio according to the waveform, and determining an effective recording audio with a second audio duration, wherein the first audio duration is the same as the second audio duration.
In this embodiment, since a part of blank audio may be recorded during the process of recording audio, a segmentation is performed according to the waveform of the recorded audio to determine an effective recorded audio, and the test audio needs to have the same length and frequency range as the effective recorded audio, so as to be used for calculating the harmonic tracking algorithm.
The principle of segmentation is that the frequency range of the waveform is consistent with the frequency range of the sweep wave played by the artificial mouth. Allowing the cut audio to have a non-swept frequency wave signal with a certain time length at the beginning, wherein the time length does not exceed the record filling time set by the test system. And then, exporting a cut waveform file, wherein the sampling rate of the exported waveform is required to be consistent with the sampling rate of a microphone of the electroacoustic testing system.
For example, the sweep wave generated by the electro-acoustic testing system is known, with a frequency from 8000Hz to 100Hz, a duration of 8.3s, and a set recording fill time of 100 ms. The cut-off audio is then also 8000Hz to 100Hz for a duration of 8.35s, allowing a non-swept wave signal of no more than 100ms to begin because of the 100ms recording fill. The electroacoustic test system sampling rate is 44100Hz, so the cut audio is re-sampled to 44100Hz when derived.
According to the implementation method, the effective recording audio time length is segmented by determining the time length of the testing audio, so that two inputs (the testing audio and the recording audio) of the tracking algorithm are completely aligned, and the testing accuracy is improved.
As an implementation manner, in this embodiment, the test instruction at least includes: detecting a frequency wave signal;
when the test instruction at least comprises a detection frequency wave signal, the test item at least comprises: frequency response, total harmonic distortion, phase.
After the electro-acoustic parameters of the microphone in the product are determined through the tracking algorithm, the method further comprises the following steps:
and detecting the electroacoustic parameters, and feeding back at least the abnormal assembly of the sound receiving channel and/or the abnormal length of the sound receiving channel and/or the abnormal audio recording when the frequency response and/or the total harmonic distortion and/or the phase parameters are abnormal.
In this embodiment, the microphone frequency response, phase, and total harmonic distortion can be obtained by a harmonic tracking algorithm of the electroacoustic test system. After the electroacoustic parameters have been determined, they can be used to evaluate whether the microphone within the product meets certain requirements.
For all products with microphones (single microphone, microphone array), the fluctuations of the frequency response, total harmonic distortion, cannot be too large. For example, the radio channel assembly does not meet the standard, the radio channel is too long, which causes large frequency response fluctuation, and the total harmonic distortion of the low-cost microphone is large, which all destroy the voice quality, affect the performance of the voice signal processing algorithm, and reduce the experience of voice interaction, such as low wake-up rate, poor recognition accuracy, and the like.
For the production of microphone arrays, it is also required that the frequency response uniformity and phase difference between each microphone be within a certain range. If the range is exceeded, the performance of the microphone array speech enhancement algorithm is reduced, the experience of speech interaction is also reduced, and the problems of low awakening rate, poor recognition accuracy and the like occur.
According to the implementation method, the configuration of the tested product is inquired about which configuration is abnormal according to the determined electroacoustic parameters as reference, so that the position of the tested product to be improved is determined according to the parameters, and the microphone of the tested product is prompted to indicate the position to be improved. Thereby improving the testing effect.
Fig. 2 shows a flowchart of an agent end in a anechoic chamber for a method for testing electroacoustic parameters of a microphone in a product according to an embodiment of the present invention, which includes the following steps:
s21: responding to a recording instruction sent by an electroacoustic testing end outside the anechoic chamber, and generating an effective recording instruction for controlling a tested product;
s22: controlling the tested product to start recording through the effective recording instruction based on physical connection and/or wireless ADB connection established with the tested product in advance;
s23: responding to a recording starting state fed back by a tested product, and feeding back the recording starting state to an electroacoustic testing end outside the anechoic chamber;
s24: and receiving the recording audio recorded by the microphone in the tested product, and feeding the recording audio back to the electroacoustic testing end outside the anechoic chamber.
In the present embodiment, the agent terminal inside the noise elimination chamber is connected in advance to the electroacoustic test terminal outside the noise elimination chamber. And the agent end can interact with the electroacoustic test end.
For step S21, the agent end receives the recording command sent by the electroacoustic testing end outside the anechoic chamber, and since the connection has been established in advance, information and data can be mutually transmitted. After receiving the recording command, the electroacoustic test terminal may not know the specific product to be tested, and thus cannot generate the command for controlling the product to be tested. Therefore, after the electroacoustic test end issues the control command to the agent end, the agent end can acquire a corresponding product signal of the tested product due to the fact that the agent end is connected with the tested product in advance, and therefore the electroacoustic test end sends out control to the corresponding effective recording command of the tested product according to different products.
For step S22, the agent terminal is connected to the tested product through a physical connection and/or a wireless ADB (Android Debug Bridge) established in advance, and since most of the products are ADB shell tinycap/arecord and other instructions to control the microphone to start recording, the recording file is stored in the flash of the tested product.
For step S23, the agent end responds to the recording start state fed back by the tested product, and feeds back the recording start state to the electroacoustic testing end outside the anechoic chamber to remind the electroacoustic testing end to control the simulation mouth to play the test audio.
And step S24, after the recording starting state is fed back to the electroacoustic testing end, the electroacoustic testing end controls the simulation mouth to play a testing audio, the tested product is also recorded through the microphone to generate a recording audio, after the audio to be tested is played, the agent end receives the recording audio recorded by the microphone in the flash of the tested product, and feeds the recording audio back to the electroacoustic testing end outside the anechoic chamber.
Through the implementation method, the proxy terminal is used for establishing connection for the electroacoustic test terminal and the tested product, and the Bluetooth transmission method is replaced. The electroacoustic test terminal can be connected with microphones of various tested products, so that the problems of data loss, large delay or unstable delay in the Bluetooth transmission process are solved, and the accuracy of the test result is ensured.
Fig. 3 is a schematic structural diagram of an electroacoustic testing terminal used outside a sound-deadening chamber, which is provided by an embodiment of the present invention, and the system can execute the testing method for the electroacoustic parameters of the microphone in the product according to any of the above embodiments, and is configured in a terminal.
The embodiment provides a test system for microphone electroacoustical parameter in product for the outdoor electroacoustic test end of noise elimination includes: a test information generation program module 11, a recording instruction transmission program module 12, a test audio playback program module 13, a recording audio reception program module 14, and an electroacoustic parameter determination program module 15.
The test information generation program module 11 is configured to determine a reference parameter according to a test item in the test instruction, and generate a test audio and a recording instruction according to the reference parameter; the recording instruction sending program module 12 is used for sending the recording instruction to an agent end in the anechoic chamber; the test audio playing program module 13 is configured to send the test audio to a simulation mouth in the anechoic chamber for playing in response to a recording start state fed back by a microphone in the product to be tested through the agent end in the anechoic chamber; the recording audio receiving program module 14 is configured to receive a recording audio recorded by a microphone in the product to be tested, which is fed back by the agent end in the anechoic chamber; and the electroacoustic parameter determining program module 15 is used for analyzing the actual parameters of the recorded audio, and determining the electroacoustic parameters of the microphone in the product through a tracking algorithm according to the actual parameters and the reference parameters.
Further, after the test information generating program module, the method further includes: an audio duration determination program module for determining a first audio duration of the test audio;
after the recorded audio receiving program module, the method further comprises:
and the audio segmentation program module is used for determining a recording waveform of the recording audio, segmenting the recording audio according to the waveform and determining an effective recording audio with a second audio duration, wherein the first audio duration is the same as the second audio duration.
Further, the test instructions include at least: detecting a frequency wave signal;
when the test instruction at least comprises a detection frequency wave signal, the test item at least comprises: frequency response, total harmonic distortion, phase.
Further, after the electroacoustic parameter determination program module, the method further comprises:
and the abnormity feedback program module is used for detecting the electroacoustic parameters and feeding back at least the abnormal assembly of the sound receiving channel and/or the abnormal length of the sound receiving channel and/or the abnormal recording of the audio when the frequency response and/or the total harmonic distortion and/or the abnormal phase parameters are abnormal.
Fig. 4 is a schematic structural diagram of an agent end in a anechoic chamber, where the system is used for testing an electroacoustic parameter of a microphone in a product according to an embodiment of the present invention, and the system can perform the testing method for the electroacoustic parameter of the microphone in the product according to any of the above embodiments, and is configured in a terminal.
The system for testing the microphone electro-acoustic parameters in the product provided by the embodiment is used for an agent end in a silencing room, and comprises: an effective instruction generation program module 21, an effective instruction forwarding program module 22, a recording state feedback program module 23 and a recording audio feedback program module 24.
The effective instruction generation program module 21 is configured to generate an effective recording instruction for controlling a product to be tested in response to a recording instruction sent by an electroacoustic testing terminal outside the anechoic chamber; the effective instruction forwarding program module 22 is configured to control the tested product to start recording through the effective recording instruction based on a physical connection and/or a wireless ADB connection established with the tested product in advance; the recording state feedback program module 23 is configured to respond to a recording start state fed back by a product to be tested, and feed back the recording start state to an electroacoustic testing end outside the anechoic chamber; the recording audio feedback program module 24 is configured to receive the recording audio recorded by the microphone in the product to be tested, and feed the recording audio back to the electroacoustic testing terminal outside the anechoic chamber.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores computer executable instructions which can execute the test method for the electroacoustic parameters of the microphone in the product in any method embodiment;
as one embodiment, a non-volatile computer storage medium of the present invention stores computer-executable instructions configured to:
determining a reference parameter according to a test item in the test instruction, and generating a test audio and a recording instruction according to the reference parameter;
sending the recording instruction to an agent end in a silencing room;
responding to a recording starting state fed back by a microphone in a tested product through an agent end in the anechoic chamber, and sending the test audio to a simulation mouth in the anechoic chamber for playing;
receiving a recording audio recorded by a microphone in a tested product and fed back by the agent end in the anechoic chamber;
analyzing the actual parameters of the recorded audio, and determining the microphone audio parameters in the product through a tracking algorithm according to the actual parameters and the reference parameters.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores computer executable instructions which can execute the test method for the electroacoustic parameters of the microphone in the product in any method embodiment;
as one embodiment, a non-volatile computer storage medium of the present invention stores computer-executable instructions configured to:
responding to a recording instruction sent by an electroacoustic testing end outside the anechoic chamber, and generating an effective recording instruction for controlling a tested product;
controlling the tested product to start recording through the effective recording instruction based on physical connection and/or wireless ADB connection established with the tested product in advance;
responding to a recording starting state fed back by a tested product, and feeding back the recording starting state to an electroacoustic testing end outside the anechoic chamber;
and receiving the recording audio recorded by the microphone in the tested product, and feeding the recording audio back to the electroacoustic testing end outside the anechoic chamber.
As a non-volatile computer readable storage medium, may be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the methods of testing software in embodiments of the present invention. One or more program instructions are stored in a non-transitory computer readable storage medium that, when executed by a processor, perform a method for testing of microphone electroacoustic parameters within a product in any of the method embodiments described above.
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 a device of test software, 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-transitory computer readable storage medium optionally includes memory located remotely from the processor, which may be connected to the means for testing software over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
An embodiment of the present invention further provides an electronic device, which 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 enable the at least one processor to perform the steps of the method for testing of microphone electroacoustic parameters within a product of any of the embodiments of the present invention.
The client of the embodiment of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer 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, such as ipads.
(3) Portable entertainment devices such devices may 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) Other electronic devices with microphone functionality.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
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 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 described in the 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 (10)

1. A method for testing electroacoustic parameters of a microphone in a product, which is used for an electroacoustic testing end outside a anechoic chamber, comprises the following steps:
determining a reference parameter according to a test item in the test instruction, and generating a test audio and a recording instruction according to the reference parameter;
sending the recording instruction to an agent end in a silencing room;
responding to a recording starting state fed back by a microphone in a tested product through an agent end in the anechoic chamber, and sending the test audio to a simulation mouth in the anechoic chamber for playing;
receiving a recording audio recorded by a microphone in a tested product and fed back by the agent end in the anechoic chamber;
analyzing the actual parameters of the recorded audio, and determining the microphone audio parameters in the product through a tracking algorithm according to the actual parameters and the reference parameters.
2. The method of claim 1, wherein after determining the reference parameters according to the test items in the test instruction and generating the test audio and the recording instruction by using the reference parameters, the method further comprises:
determining a first audio duration of the test audio;
after receiving the recording audio recorded by the microphone in the tested product and sent by the agent end in the anechoic chamber, the method further comprises the following steps:
determining a recording waveform of the recording audio, segmenting the recording audio according to the waveform, and determining an effective recording audio with a second audio duration, wherein the first audio duration is the same as the second audio duration.
3. The method of claim 1, wherein the test instructions comprise at least: detecting a frequency wave signal;
when the test instruction at least comprises a detection frequency wave signal, the test item at least comprises: frequency response, total harmonic distortion, and phase.
4. The method of claim 1, wherein said determining by a tracking algorithm of said in-product speaker electroacoustic parameters further comprises:
and detecting the electroacoustic parameters, and feeding back at least the abnormal assembly of the sound receiving channel and/or the abnormal length of the sound receiving channel and/or the abnormal audio recording when the frequency response and/or the total harmonic distortion and/or the phase parameters are abnormal.
5. A testing method for electroacoustic parameters of a microphone in a product, which is used for an agent end in a anechoic chamber, comprises the following steps:
responding to a recording instruction sent by an electroacoustic testing end outside the anechoic chamber, and generating an effective recording instruction for controlling a tested product;
controlling the tested product to start recording through the effective recording instruction based on physical connection and/or wireless ADB connection established with the tested product in advance;
responding to a recording starting state fed back by a tested product, and feeding back the recording starting state to an electroacoustic testing end outside the anechoic chamber;
and receiving the recording audio recorded by the microphone in the tested product, and feeding the recording audio back to the electroacoustic testing end outside the anechoic chamber.
6. A test system for the electroacoustic parameters of a microphone in a product, which is used for an electroacoustic test end outside a sound attenuation chamber, comprises:
the test information generation program module is used for determining a reference parameter according to a test item in the test instruction and generating a test audio and a recording instruction according to the reference parameter;
the recording instruction sending program module is used for sending the recording instruction to an agent end in the anechoic chamber;
the test audio playing program module is used for responding to a recording starting state fed back by a microphone in a tested product through the agent end in the anechoic chamber and sending the test audio to a simulation mouth in the anechoic chamber for playing;
the recording audio receiving program module is used for receiving the recording audio recorded by the microphone in the tested product fed back by the agent end in the anechoic chamber;
and the electroacoustic parameter determining program module is used for analyzing the actual parameters of the recorded audio and determining the electroacoustic parameters of the microphone in the product through a tracking algorithm according to the actual parameters and the reference parameters.
7. The system of claim 6, wherein after the test information generation program module, further comprising: an audio duration determination program module for determining a first audio duration of the test audio;
after the recorded audio receiving program module, the method further comprises:
and the audio segmentation program module is used for determining a recording waveform of the recording audio, segmenting the recording audio according to the waveform and determining an effective recording audio with a second audio duration, wherein the first audio duration is the same as the second audio duration.
8. The system of claim 6, wherein the test instructions comprise at least: detecting a frequency wave signal;
when the test instruction at least comprises a detection frequency wave signal, the test item at least comprises: frequency response, total harmonic distortion, and phase.
9. The system of claim 6, wherein said electroacoustic parameter determination program module is followed by further comprising:
and the abnormality feedback program module is used for detecting the electroacoustic parameters and feeding back at least the abnormal assembly of the sound receiving channel and/or the abnormal length of the sound receiving channel and/or the abnormal recording of the audio when the frequency response and/or the total harmonic distortion and/or the phase parameters are abnormal.
10. A system for testing acoustic parameters of a microphone in a product for use at an agent end in a anechoic chamber, comprising:
the effective instruction generation program module is used for responding to a recording instruction sent by an electroacoustic testing end outside the anechoic chamber and generating an effective recording instruction for controlling a tested product;
the effective instruction forwarding program module is used for controlling the tested product to start recording through the effective recording instruction based on physical connection and/or wireless ADB connection which is established with the tested product in advance;
the recording state forwarding program module is used for responding to a recording starting state fed back by a tested product and feeding back the recording starting state to an electroacoustic testing end outside the anechoic chamber;
and the recording audio forwarding program module is used for receiving the recording audio recorded by the microphone in the tested product and feeding the recording audio back to the electroacoustic testing end outside the anechoic chamber.
CN201811030477.9A 2018-09-05 2018-09-05 Method and system for testing electroacoustic parameters of microphone in product Active CN109195090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811030477.9A CN109195090B (en) 2018-09-05 2018-09-05 Method and system for testing electroacoustic parameters of microphone in product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811030477.9A CN109195090B (en) 2018-09-05 2018-09-05 Method and system for testing electroacoustic parameters of microphone in product

Publications (2)

Publication Number Publication Date
CN109195090A CN109195090A (en) 2019-01-11
CN109195090B true CN109195090B (en) 2021-01-22

Family

ID=64914647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811030477.9A Active CN109195090B (en) 2018-09-05 2018-09-05 Method and system for testing electroacoustic parameters of microphone in product

Country Status (1)

Country Link
CN (1) CN109195090B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982228B (en) * 2019-02-27 2020-11-03 维沃移动通信有限公司 Microphone fault detection method and mobile terminal
CN110337055A (en) 2019-08-22 2019-10-15 百度在线网络技术(北京)有限公司 Detection method, device, electronic equipment and the storage medium of speaker
CN110636432A (en) * 2019-09-29 2019-12-31 深圳市火乐科技发展有限公司 Microphone testing method and related equipment
CN111182434A (en) * 2019-12-31 2020-05-19 深圳市潮流网络技术有限公司 Conference system microphone anomaly detection method, conference system and test system
CN112261566B (en) * 2020-09-15 2022-04-12 杭州兆华电子有限公司 AI intelligent glasses audio test method based on cloud service

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929544B (en) * 2014-04-30 2016-02-10 广东欧珀移动通信有限公司 A kind of method and system realizing pc end and mobile terminal automatic recording
CN104618846A (en) * 2015-02-12 2015-05-13 歌尔声学股份有限公司 Electronic product loudspeaker and microphone testing system and testing method
US10299037B2 (en) * 2016-03-03 2019-05-21 Lenovo (Singapore) Pte. Ltd. Method and apparatus for identifying audio output outlet
CN107465572A (en) * 2017-08-02 2017-12-12 华数传媒网络有限公司 Intelligent terminal method of testing, apparatus and system
CN108184201A (en) * 2017-12-28 2018-06-19 上海传英信息技术有限公司 audio testing method, audio test system
CN108366160B (en) * 2018-01-26 2021-03-26 努比亚技术有限公司 Audio testing method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109195090A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109195090B (en) Method and system for testing electroacoustic parameters of microphone in product
CN110288997B (en) Device wake-up method and system for acoustic networking
CN109195089B (en) Method and system for testing electroacoustic parameters of loudspeaker in product
CN106302997B (en) Output control method, electronic equipment and system
US20090034750A1 (en) System and method to evaluate an audio configuration
JP2019159307A (en) Terminal bracket and far-field voice interaction system
US9439012B2 (en) Method and apparatus for audio testing
CN106612482B (en) Method for adjusting audio parameters and mobile terminal
CN106504770A (en) The test system and method for testing of speech quality, test device
CN107371115A (en) A kind of detection method, storage medium and the terminal of complete machine loudspeaker performance
CN103281425A (en) Method and device for analyzing contact through conversation voice
JP2019128586A (en) Audio processing method and apparatus, and computer-readable storage medium
CN109658935B (en) Method and system for generating multi-channel noisy speech
CN109040911B (en) Intelligent sound box and determination method for target placement position thereof
CN111145773A (en) Sound field restoration method and device
TW201617847A (en) Audio playing system and audio playing method
CN105306685B (en) The test method and mobile terminal of signal quality
CN111798852A (en) Voice wake-up recognition performance test method, device and system and terminal equipment
CN109510636A (en) Receive test method, device, medium and the equipment of FM signal function
CN104469250A (en) Information processing method and electronic devices
WO2019174492A1 (en) Voice call data detection method, device, storage medium and mobile terminal
CN106168755A (en) A kind of intelligent alarm clock implementation method
EP2961173B1 (en) Mobile electronic device and method for controlling a media player device to play back media
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof
CN112104969B (en) Detection method and device for Bluetooth headset

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 215123 14 Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou, Jiangsu.

Patentee after: Sipic Technology Co.,Ltd.

Address before: 215123 14 Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou, Jiangsu.

Patentee before: AI SPEECH Ltd.

CP01 Change in the name or title of a patent holder