CN111836180A - Electronic equipment earphone function test system and test method - Google Patents

Electronic equipment earphone function test system and test method Download PDF

Info

Publication number
CN111836180A
CN111836180A CN201910330299.XA CN201910330299A CN111836180A CN 111836180 A CN111836180 A CN 111836180A CN 201910330299 A CN201910330299 A CN 201910330299A CN 111836180 A CN111836180 A CN 111836180A
Authority
CN
China
Prior art keywords
audio signal
earphone
signal
analog
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.)
Pending
Application number
CN201910330299.XA
Other languages
Chinese (zh)
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910330299.XA priority Critical patent/CN111836180A/en
Publication of CN111836180A publication Critical patent/CN111836180A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

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 application relates to the technical field of communication, and particularly discloses a system and a method for testing earphone function of electronic equipment, wherein the test system comprises: the artificial mouth is used for outputting a preset first audio signal; the earphone is connected with the electronic equipment and used for collecting a first audio signal and outputting a second audio signal corresponding to the first audio signal when the electronic equipment starts an earphone microphone mode; the artificial ear is used for acquiring a second audio signal; the processor is connected with the electronic equipment, the artificial mouth and the artificial ear and used for controlling the electronic equipment to start an earphone microphone mode, comparing the first audio signal with the second audio signal and judging whether the earphone function of the electronic equipment is abnormal or not according to a comparison result. By the aid of the method, accuracy of testing functions of the earphone of the electronic equipment can be improved, testing efficiency and consistency of testing results are improved, and objectivity of the testing results is improved.

Description

Electronic equipment earphone function test system and test method
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a system and a method for testing an earphone function of an electronic device.
Background
With the development of electronic device technology, electronic devices such as mobile phones and the like are becoming more and more popular, and the requirements of people on the performance of the electronic devices are also becoming higher and higher. Since the electronic device is often used for communication, listening to songs, recording, etc. after being connected with the earphone, the quality of the earphone function of the electronic device is particularly important.
The manufacturer production line needs to test whether the earphone receiver/earphone microphone has noise, break sound and the like after the electronic equipment is connected with the earphone, so as to avoid the abnormal function of the earphone of the electronic equipment. When the earphone function of the electronic equipment is tested, manual testing is usually adopted, the manual testing efficiency is low, and the testing result is too subjective to cause low accuracy through the sensory testing of testers during testing.
Disclosure of Invention
The technical problem that this application mainly solved is when artifical manual test electronic equipment earphone function, and the test result is too subjective to lead to the degree of accuracy lower, for this reason, this application provides an electronic equipment earphone function test system and test method to improve the degree of accuracy of electronic equipment earphone function test, improve the uniformity of efficiency of software testing, test result, improve the objectivity of test result.
In order to solve the technical problem, the application adopts a technical scheme that: provided is an electronic device earphone function test system, comprising: the artificial mouth is used for outputting a preset first audio signal; the earphone is connected with the electronic equipment and used for collecting a first audio signal and outputting a second audio signal corresponding to the first audio signal when the electronic equipment starts an earphone microphone mode; the artificial ear is used for acquiring a second audio signal; the processor is connected with the electronic equipment, the artificial mouth and the artificial ear and used for controlling the electronic equipment to start an earphone microphone mode, comparing the first audio signal with the second audio signal and judging whether the earphone function of the electronic equipment is abnormal or not according to a comparison result.
In order to solve the technical problem, the application adopts a technical scheme that: the testing method is based on the electronic equipment earphone function testing system, and comprises the following steps: providing an electronic device; connecting the electronic equipment with the earphone; outputting a preset first audio signal through an artificial mouth; controlling the electronic equipment to start a microphone mode of the earphone so that the electronic equipment collects a first audio signal through the earphone and outputs a second audio signal corresponding to the first audio signal through the earphone; acquiring a second audio signal through an artificial ear, and comparing the first audio signal with the second audio signal through a processor; and judging whether the function of the earphone of the electronic equipment is abnormal or not according to the comparison result.
The beneficial effect of this application is: be different from prior art's condition, this application connects the earphone at electronic equipment, when opening earphone microphone mode, through artifical mouth output first audio signal that predetermines to and gather the second audio signal that corresponds with first audio signal of earphone output through artifical ear, first audio signal and second audio signal are compared to the rethread treater, according to comparing the result, judge whether electronic equipment earphone function is unusual. By adopting the electronic equipment earphone function testing system for testing, namely adopting machine testing, the testing result is objective, the accuracy of the electronic equipment earphone function testing can be improved, the testing efficiency and the consistency of the testing result are improved, and the objectivity of the testing result is improved.
Drawings
Fig. 1a is a schematic diagram of a first structure of a system for testing a function of an earphone of an electronic device according to the present application;
fig. 1b is a schematic diagram of a second structure of an earphone function testing system of an electronic device according to the present application;
fig. 1c is a schematic diagram of a third structure of an earphone function testing system of an electronic device according to the present application;
FIG. 2 is a schematic diagram of the earphone of FIG. 1 a;
fig. 3 is a schematic diagram of a fourth structure of an earphone function testing system of an electronic device according to the present application;
fig. 4 is a schematic flowchart illustrating a method for testing the earphone function of an electronic device according to the present application;
FIG. 5 is a schematic flowchart of step S40 in FIG. 4;
FIG. 6 is a schematic flowchart of step S50 in FIG. 4;
FIG. 7 is a schematic flowchart of step S60 in FIG. 4;
FIG. 8 is a schematic flowchart of step S62 in FIG. 7;
fig. 9 is a schematic flowchart of step S70 in fig. 4.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, first, embodiments of the electronic device earphone function test system according to the present application will be described, and then, embodiments of the electronic device earphone function test method according to the present application will be described.
The present application will be described in detail with reference to the accompanying drawings and examples.
Referring to fig. 1a to 1c, fig. 1a is a first structural schematic diagram of an electronic device earphone function testing system of the present application, fig. 1b is a second structural schematic diagram of an electronic device earphone function testing system of the present application, and fig. 1c is a third structural schematic diagram of an electronic device earphone function testing system of the present application. The earphone function test system of the electronic device 20 comprises: an artificial mouth 11, an earphone 12, an artificial ear 13, and a processor 14.
The artificial mouth 11 is used to output a preset first audio signal. The headset 12 is connected to the electronic device 20, and is configured to capture a first audio signal and output a second audio signal corresponding to the first audio signal when the electronic device 20 turns on the headset microphone 121 mode. The artificial ear 13 is used for acquiring a second audio signal. The processor 14 is connected to the electronic device 20, the artificial mouth 11 and the artificial ear 13, and the processor 14 is configured to control the electronic device 20 to start the earphone microphone 121 mode, compare the first audio signal with the second audio signal, and determine whether the earphone function of the electronic device 20 is abnormal according to the comparison result.
Specifically, the earphone microphone 121 is disposed near the artificial mouth 11, and the earphone speaker 122 is disposed near the artificial ear 13. The artificial mouth 11 is an audio source simulating the sound of a human mouth, and may be suitable for an acoustic test of a microphone of the electronic device 20, and in the present embodiment, the earphone microphone 121 may receive the first audio signal output by the artificial mouth 11. The artificial ear 13 is a receiver simulating the human ear to receive the audio source, and may be adapted for acoustic testing of the speaker of the electronic device 20, and in this embodiment, the second audio signal output by the earpiece speaker 122 will be received by the artificial ear 13.
The artificial mouth 11 and the artificial ear 13 are respectively connected to the processor 14 through a signal line, the processor 14 may include a sound card, the sound card may be used to control the artificial mouth 11 to output a preset first audio signal, and the processor 14 may receive a second audio signal from the artificial ear 13. The preset first audio signal may be a standard swept-frequency sound source signal, that is, the sound card may be used to control the artificial mouth 11 to output a first audio signal having a stable voltage and a continuously variable frequency.
The headset 12 may include a headset 12 connector that enables electrical connection between the headset 12 and the audio module of the electronic device 20 when the headset 12 connector is inserted into a headset jack of the electronic device 20. In other embodiments, the headset 12 may also be electrically connected to the audio module of the electronic device 20 by a wireless method such as bluetooth or NFC, so that signal transmission between the audio module of the electronic device 20 and the headset 12 can be performed.
The processor 14 may be connected to the electronic device 20 through a Universal Serial Bus (USB) or other connection means to establish an Android Debug Bridge (ADB) connection with the electronic device 20, and the processor 14 sends a control instruction for turning on the earphone microphone 121 mode to the electronic device 20 through the ADB connection to control the electronic device 20 to turn on the earphone microphone 121 mode.
Wherein, the processor 14 may be electrically connected to the electronic device 20 to control the electronic device 20 to turn on the earphone microphone 121 mode; or after the electronic device 20 is connected to the headset 12, the headset microphone 121 mode may be automatically started, that is, the first audio signal collected by the headset microphone 121 is transmitted to the first audio module 21 for processing. Meanwhile, the mode of the earphone speaker 122 is started, that is, the second audio signal obtained after the first audio signal is processed by the first audio module 21 is transmitted to the earphone speaker 122 for playing. It should be understood that the first audio module 21 may be implemented by an audio codec. After the second audio signal output by the earphone speaker 122 is received by the artificial ear 13, the second audio signal is reflected and vibrated by the artificial ear 13 to generate a corresponding feedback signal and feed the feedback signal back to the processor 14, so that the processor 14 compares the first audio signal with the second audio signal, and determines whether the earphone function of the electronic device 20 is abnormal according to the comparison result.
In other embodiments, the processor 14 may be electrically connected to the electronic device 20 to control the electronic device 20 to turn on the headset microphone 121 mode; or after the electronic device 20 is connected to the headset 12, the headset microphone 121 mode may be activated, i.e., the electronic device 20 may capture the first audio signal through the headset microphone 121. The earphone 12 may have a second audio module 123 built therein. It should be understood that the second audio module 123 may be implemented by an analog-to-digital conversion module and a digital-to-analog conversion module. The first audio signal collected by the earphone microphone 121 is processed by the audio module to obtain a second audio signal, and the second audio module 123 transmits the second audio signal to the earphone speaker 122, and the earphone speaker 122 outputs the second audio signal. After the second audio signal output by the earphone speaker 122 is received by the artificial ear 13, a corresponding feedback signal is generated and fed back to the processor 14 through the reflection and vibration of the artificial ear 13, so that the processor 14 compares the first audio signal and the second audio signal, and determines whether the earphone function of the electronic device 20 is abnormal according to the comparison result.
Different from the prior art, in the embodiment, when the electronic device 20 is connected to the earphone 12 and the earphone microphone 121 mode is turned on, the preset first audio signal is output through the artificial mouth 11, the second audio signal corresponding to the first audio signal and output by the earphone 12 is collected through the artificial ear 13, the first audio signal and the second audio signal are compared through the processor 14, and whether the earphone function of the electronic device 20 is abnormal or not is determined according to the comparison result. By adopting the earphone function testing system of the electronic equipment 20 for testing, namely adopting machine testing, the testing result is objective, the accuracy of the earphone function testing of the electronic equipment 20 can be improved, the testing efficiency and the consistency of the testing result are improved, and the objectivity of the testing result is improved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of the earphone in fig. 1a, and in an embodiment, the earphone 12 includes: an earphone microphone 121, an analog-to-digital conversion module 1231, a digital-to-analog conversion module 1232, a left channel speaker 1221, and a right channel speaker 1222.
The earphone microphone 121 is configured to collect a first audio signal to generate an analog microphone signal. The analog-to-digital conversion module 1231 is connected to the earphone microphone 121, and is configured to perform analog-to-digital conversion on the analog microphone signal to generate a microphone digital signal. The digital-to-analog conversion module 1232 is connected to the analog-to-digital conversion module 1231, and is configured to convert the microphone digital signal into a left-channel analog signal and a right-channel analog signal. The left channel speaker 1221 and the right channel speaker 1222 are connected to the digital-to-analog conversion module 1232, and are configured to obtain the left channel analog signal and the right channel analog signal from the digital-to-analog conversion module 1232, respectively, and convert the left channel analog signal and the right channel analog signal into a second audio signal, respectively, and output the second audio signal.
Specifically, it can be understood that, when the earphone function of the electronic device is normal, the electronic device 20 may receive the first audio signal through the earphone 12 after connecting the earphone 12 and turning on the earphone microphone 121 mode. The earphone microphone 121 generates an analog microphone signal by acquiring a first audio signal in an external environment. The earphone speaker 122 is used for converting the analog signal into a second audio signal and outputting the second audio signal, so that the second audio signal is played to the artificial ear. Preferably, the number of the earphone speakers 122 (also called earphone) is two, i.e., a left channel speaker 1221 and a right channel speaker 1222.
Through the manner, when the earphone function of the electronic device is normal, the electronic device 20 can receive the first audio signal through the earphone after connecting the earphone 12 and turning on the earphone microphone 121 mode. Therefore, the earphone 12 of the test system 10 includes the analog-to-digital conversion module 1231 and the digital-to-analog conversion module 1232, and the test system 10 can convert the first audio signal into the corresponding second audio signal without the electronic device 20 operating, thereby reducing the test power consumption of the electronic device 20.
In one embodiment, the artificial ear 13 is further configured to convert the second audio signal into a left channel digital signal and a right channel digital signal. The processor is further used for analyzing the left channel digital signal and the right channel digital signal to obtain a curve to be tested, comparing the curve to be tested with a standard curve obtained based on the first audio signal, and judging whether the curve to be tested is coincident with the standard curve.
Specifically, the artificial ear 13 collects a second audio signal, the second audio signal can be converted into a left channel digital signal and a right channel digital signal by the artificial ear 13, data stream information of the left channel digital signal and the right channel digital signal is collected by the processor, the data stream information of the left channel digital signal and the right channel digital signal is compared with the data stream information of the standard frequency sweeping sound source signal, and whether a frequency response curve to be tested and a harmonic component curve to be tested obtained based on the left channel digital signal and the right channel digital signal are in a standard frequency response curve and a standard harmonic component curve is analyzed. Wherein, the standard frequency response curve and the standard harmonic component curve are as follows: after the artificial mouth 11 outputs the standard sweep frequency sound source signal, the artificial ear 13 receives the standard sweep frequency sound source signal, and the standard frequency response curve and the standard harmonic component curve obtained by processing and analyzing the standard sweep frequency sound source signal are obtained through the artificial ear 13 and the processor.
Referring to fig. 3, fig. 3 is a fourth structural schematic diagram of an electronic device earphone function testing system according to the present application, in an embodiment, the testing system further includes: the sound muffling box 15, the sound muffling box 15 has a containing space. The artificial mouth 11, the artificial ear 13, the earphone 12, the processor 14, and the electronic device 20 are accommodated in the accommodating space.
Specifically, a drawer (not shown) for carrying the electronic device 20 may be disposed in the sound muffling box 15, and when the drawer carrying the electronic device 20 enters the sound muffling box 15, the earphone 12 may be automatically inserted into an earphone jack (not shown) of the electronic device 20, that is, when a test starts, the drawer carrying the electronic device 20 enters the sound muffling box 15, and the designed connector of the earphone 12 directly completes the insertion of the earphone jack; after the test is finished, the drawer carrying the electronic equipment 20 exits the sound muffling box 15, and the connector of the earphone 12 is automatically pulled out of the opening of the earphone 12. In other embodiments, the headset 12 may be automatically connected to the electronic device 20 through a wireless connection manner such as bluetooth or NFC, that is, when the test starts, the drawer carrying the electronic device 20 enters the sound muffling box 15, and the headset 12 may be automatically connected to the electronic device 20 through a wireless connection manner such as bluetooth or NFC; after the test is finished, the drawer with the electronic device 20 exits the sound muffling box 15, and the earphone 12 is disconnected from the wireless connection mode such as bluetooth or NFC between the electronic device 20.
Further, the processor 14 may automatically establish an ADB connection with the electronic device 20 when the drawer carrying the electronic device 20 enters the sound muffling enclosure 15. For example, when the drawer carrying the electronic device 20 enters the sound muffling box 15, the drawer is inserted into a USB jack of the electronic device 20 through a USB data line to connect the processor 14 and the electronic device 20, or the processor 14 and the electronic device 20 are connected by a wireless connection method such as bluetooth or WIFI, so as to establish an ADB connection between the processor 14 and the electronic device 20.
Please refer to fig. 4, fig. 4 is a schematic flow chart of a testing method for an earphone function of an electronic device according to the present application, where the testing method is based on the earphone function testing system of an electronic device in the above-mentioned embodiment, and the structure and working principle of the earphone function testing system 10 of an electronic device are please refer to the above-mentioned embodiment, which is not described herein again.
The method for testing the earphone function of the electronic equipment comprises the following steps:
s10: an electronic device 20 is provided.
Specifically, the electronic device 20 may be a mobile phone, a computer, a digital broadcast terminal device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
S20: the electronic device 20 is connected to the headset 12.
In particular, the headset 12 may include a headset 12 connector, and when the headset 12 connector is inserted into the headset 12 jack of the electronic device 20, the headset 12 is electrically connected to the first audio module 21 of the electronic device 20. In other embodiments, the headset 12 may also be electrically connected to the first audio module 21 of the electronic device 20 by a wireless method such as bluetooth or NFC, so that signal transmission between the first audio module 21 of the electronic device 20 and the headset 12 can be performed.
The electronic device 20 earphone function test system may include a mute box, a drawer for carrying the electronic device 20 may be disposed in the mute box, when the drawer carrying the electronic device 20 enters the mute box, the earphone 12 may be automatically inserted into the earphone 12 jack of the electronic device 20, that is, when the test starts, the drawer carrying the electronic device 20 enters the mute box, and the insertion of the earphone 12 jack is directly completed by the designed earphone 12 connector; after the test is finished, the drawer carrying the electronic device 20 exits the sound muffling box, and the connector of the earphone 12 is automatically pulled out of the opening of the earphone 12. In other embodiments, the headset 12 may be automatically connected to the electronic device 20 through a wireless connection manner such as bluetooth or NFC, that is, when the test starts, the drawer carrying the electronic device 20 enters the sound muffling box, and the headset 12 may be automatically connected to the electronic device 20 through a wireless connection manner such as bluetooth or NFC; after the test is completed, the drawer with the electronic device 20 exits the sound muffling box, and the earphone 12 is disconnected from the wireless connection mode such as bluetooth or NFC with the electronic device 20.
S30: a preset first audio signal is output through the artificial mouth 11.
Specifically, the artificial mouth 11 may be communicatively connected to the processor 14 through a signal line, and the processor 14 may include a sound card, which may be used to control the artificial mouth 11 to output a preset first audio signal.
S40: the control electronics 20 turn on the microphone mode of the headset 12.
In particular, processor 14 may be electrically connected to electronics 20, and processor 14 controls electronics 20 to turn on the microphone mode of headset 12.
S50: the first audio signal is collected through the headphones 12, and the second audio signal corresponding to the first audio signal is output through the headphones 12.
In particular, wherein the processor 14 may be electrically connected with the electronic device 20 to control the electronic device 20 to turn on the microphone mode of the headset 12; or after the electronic device 20 is connected to the headset 12, the microphone mode of the headset 12 may be automatically activated, that is, the first audio signal collected by the microphone of the headset 12 is transmitted to the first audio module 21 for processing. Meanwhile, the speaker mode of the earphone 12 is started, that is, the second audio signal obtained after the first audio signal is processed by the first audio module 21 is transmitted to the speaker of the earphone 12 for playing. It should be understood that the first audio module 21 may be implemented by an audio codec.
In other embodiments, the processor 14 may be electrically connected to the electronic device 20 to control the electronic device 20 to turn on the microphone mode of the headset 12; or after the electronic device 20 is connected to the headset 12, the headset 12 microphone mode may be activated, i.e., the electronic device 20 may capture the first audio signal via the headset 12 microphone. The earphone 12 may have a second audio module 123 built therein. It should be understood that the second audio module 123 may be implemented by an analog-to-digital conversion module and a digital-to-analog conversion module. The first audio signal collected by the microphone of the earphone 12 is processed by the second audio module 123 to obtain a second audio signal, and the second audio module 123 transmits the second audio signal to the loudspeaker of the earphone 12, and the loudspeaker of the earphone 12 outputs the second audio signal.
S60: the second audio signal is collected by the artificial ear 13 and compared to the first audio signal and the second audio signal by the processor 14.
Specifically, after the second audio signal output from the speaker of the earphone 12 is received by the artificial ear 13, a corresponding feedback signal is generated via reflection and vibration of the artificial ear 13 and fed back to the processor 14, so that the processor 14 compares the first audio signal with the second audio signal.
S70: and judging whether the earphone function of the electronic equipment 20 is abnormal or not according to the comparison result.
Different from the situation in the prior art, in the present embodiment, when the electronic device 20 is connected to the earphone 12 and the microphone mode of the earphone 12 is turned on, the artificial mouth 11 outputs a preset first audio signal, and the artificial ear 13 collects a second audio signal output by the earphone 12 and corresponding to the first audio signal, and then the processor 14 compares the first audio signal and the second audio signal, and determines whether the earphone function of the electronic device 20 is abnormal according to the comparison result. The testing is completed based on the electronic device 20 earphone function testing system, namely machine testing is adopted, the testing result is objective, the accuracy of the electronic device 20 earphone function testing can be improved, the testing efficiency and the consistency of the testing result are improved, and the objectivity of the testing result is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of step S40 in fig. 4, wherein step S40 in the above embodiment further includes:
s41: an ADB connection between the processor 14 and the electronic device 20 is established.
Specifically, the processor 14 may be connected to the electronic device 20 through a Universal Serial Bus (USB) or other connection methods, so as to establish an Android Debug Bridge (ADB) connection with the electronic device 20. That is, in this step, the electronic device 20 may be controlled by the debugging tool to turn on the microphone mode of the headset 12. Further, the commissioning tool may include, but is not limited to, an ADB connection. The ADB connects the instrument for the multiple use, plays the effect of debugging bridge, connects through the ADB and can debug electronic equipment 20's android program through virtual machine debugging monitoring service in integrated development environment.
S42: the processor 14 sends a control instruction to the electronic device 20 to turn on the microphone mode of the headset 12 through the ADB connection to control the electronic device 20 to turn on the microphone mode of the headset 12.
Through the mode, the processor 14 of the test system can automatically control the electronic device 20 to start the microphone mode of the earphone 12, and the earphone function of the electronic device 20 is tested, so that the test steps are simplified.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating the process of step S50 in fig. 4, in an embodiment, the earphone 12 includes: the earphone 12 comprises a microphone, a left channel loudspeaker, a right channel loudspeaker, an analog-to-digital conversion module and a digital-to-analog conversion module. Step S50 in the above embodiment further includes the steps of:
s51: the first audio signal is picked up by the headphone microphone 121 to generate an analog microphone signal.
S52: the analog microphone signal is analog-to-digital converted by the analog-to-digital conversion module 1231 to generate a microphone digital signal.
S53: the microphone digital signals are converted into left and right channel analog signals by the digital-to-analog conversion module 1232, and the left channel analog signals are transmitted to the left channel speaker 1221 and the right channel analog signals are transmitted to the right channel speaker 1222.
S54: the left channel analog signal and the right channel analog signal are converted into a second audio signal and output through the left channel speaker 1221 and the right channel speaker 1222, respectively.
Specifically, it can be understood that, when the electronic device 20 is in a normal earphone function, the electronic device 20 may receive the first audio signal through the earphone after connecting the earphone and turning on the earphone microphone 121 mode. The earphone microphone 121 generates an analog microphone signal by acquiring a first audio signal in an external environment. The earphone speaker 122 is used for converting the analog signal into a second audio signal and outputting the second audio signal, so that the second audio signal is played to the artificial ear 13. Preferably, the number of the earphone speakers 122 (also called earphone) is two, i.e., a left channel speaker 1221 and a right channel speaker 1222. The left channel analog signal and the right channel analog signal are converted into a second audio signal and output through the left channel speaker 1221 and the right channel speaker 1222, respectively.
Through the above manner, when the earphone function of the electronic device 20 is normal, the electronic device 20 can receive the first audio signal through the earphone after connecting the earphone and turning on the earphone microphone 121 mode. Therefore, the earphone of the test system includes the analog-to-digital conversion module 1231 and the digital-to-analog conversion module 1232, and the test system can convert the first audio signal into the corresponding second audio signal without the operation of the electronic device 20, thereby reducing the test power consumption of the electronic device 20.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating the step S60 in fig. 4, wherein in one embodiment, the step S60 further includes the following steps:
s61: the second audio signal is converted into a left channel digital signal and a right channel digital signal by the artificial ear 13.
S62: the left channel digital signal and the right channel digital signal are analyzed by the processor 14 to obtain a curve to be tested, and the curve to be tested is compared with a standard curve obtained based on the first audio signal to judge whether the curve to be tested is coincident with the standard curve.
Specifically, the artificial ear 13 collects a second audio signal, the second audio signal can be converted into a left channel digital signal and a right channel digital signal by the artificial ear 13, data stream information of the left channel digital signal and the right channel digital signal is collected by the processor 14, the data stream information of the left channel digital signal and the right channel digital signal is compared with the data stream information of the standard sweep sound source signal, and whether a curve to be tested obtained based on the left channel digital signal and the right channel digital signal is in a standard curve or not is analyzed. Wherein, the standard curve is: after the artificial mouth 11 outputs the standard sweep sound source signal, the artificial ear 13 receives the standard sweep sound source signal, and the standard curve obtained by processing and analyzing the standard sweep sound source signal is processed by the artificial ear 13 and the processor 14.
In one embodiment, the curve to be tested includes a frequency response curve to be tested and a harmonic component curve to be tested. Referring to fig. 8, fig. 8 is a schematic flowchart of step S62 in fig. 7, wherein step S62 further includes the following steps:
s621: and respectively comparing the frequency response curve to be tested and the harmonic component curve to be tested with the standard frequency response curve and the standard harmonic component curve of the first audio signal.
Specifically, the standard frequency response curve is: after the artificial mouth 11 outputs the standard sweep frequency sound source signal with stable voltage and continuously changing frequency, the artificial ear 13 receives the standard sweep frequency sound source signal, the artificial ear 13 and the processor 14 process the standard sweep frequency sound source signal received by the artificial ear 13, and the curve formed by the sound pressure (or level) of each frequency point is displayed through the display. The standard harmonic component curve is then: the standard swept source signal received by the artificial ear 13 is processed by the artificial ear 13 and the processor 14 to display a curve formed by the spectral harmonics on the display.
The processor 14 compares the frequency response curve to be tested and the harmonic component curve to be tested with the standard frequency response curve and the standard harmonic component curve of the first audio signal, respectively, and determines whether the earphone function of the electronic device 20 is abnormal.
In an embodiment, please refer to fig. 9, fig. 9 is a schematic flowchart illustrating the step S70 in fig. 4, and the step S70 further includes:
s71: and if the part of the curve to be tested is overlapped with the standard curve or is not overlapped at all, judging that the earphone function of the electronic equipment 20 is abnormal.
Specifically, if the curve to be tested is partially or completely not within the standard curve, that is, the curve to be tested and the standard curve are partially or completely not coincident, after the electronic device 20 is connected to the earphone 12, the first audio signal collected by the microphone 12 of the earphone 12 cannot be normally transmitted to the audio module of the electronic device 20, or the mode of the microphone 12 of the electronic device 20 is abnormal, so that the microphone 12 cannot normally collect the first audio signal, the processor 14 may determine that the earphone function of the electronic device 20 is abnormal.
If the curve to be tested is within the standard curve, that is, the curve to be tested completely coincides with the standard curve, the processor 14 may determine that the earphone function of the electronic device 20 is normal.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. An electronic device earphone function test system, comprising:
the artificial mouth is used for outputting a preset first audio signal;
the earphone is connected with the electronic equipment and used for collecting a first audio signal and outputting a second audio signal corresponding to the first audio signal when the electronic equipment starts the earphone microphone mode;
an artificial ear for acquiring the second audio signal;
and the processor is connected with the electronic equipment, the artificial mouth and the artificial ear and used for controlling the electronic equipment to start the earphone microphone mode, comparing the first audio signal with the second audio signal and judging whether the earphone function of the electronic equipment is abnormal or not according to a comparison result.
2. The test system of claim 1, wherein the headset comprises:
an earpiece microphone to collect the first audio signal to generate an analog microphone signal;
the analog-to-digital conversion module is connected with the earphone microphone and is used for performing analog-to-digital conversion on the analog microphone signal to generate a microphone digital signal;
the digital-to-analog conversion module is connected with the analog-to-digital conversion module and is used for converting the microphone digital signal into a left channel analog signal and a right channel analog signal;
and the left channel loudspeaker and the right channel loudspeaker are connected with the digital-to-analog conversion module and used for respectively acquiring the left channel analog signal and the right channel analog signal from the digital-to-analog conversion module and respectively converting the left channel analog signal and the right channel analog signal into the second audio signal for output.
3. The test system of claim 1,
the artificial ear is also used for converting the second audio signal into a left channel digital signal and a right channel digital signal;
the processor is further configured to analyze the left channel digital signal and the right channel digital signal to obtain a curve to be tested, compare the curve to be tested with a standard curve obtained based on the first audio signal, and determine whether the curve to be tested and the standard curve coincide with each other.
4. The test system of claim 1, further comprising:
the whistle box is provided with an accommodating space;
the artificial mouth, the artificial ear, the earphone, the processor and the electronic equipment are accommodated in the accommodating space.
5. A testing method for the earphone function of an electronic device, which is based on the earphone function testing system of the electronic device as claimed in claims 1-4, and comprises the following steps:
providing an electronic device;
connecting the electronic equipment and an earphone;
outputting a preset first audio signal through an artificial mouth;
controlling the electronic equipment to start an earphone microphone mode;
acquiring a first audio signal through the earphone, and outputting a second audio signal corresponding to the first audio signal through the earphone;
acquiring the second audio signal through an artificial ear, and comparing the first audio signal with the second audio signal through a processor;
and judging whether the function of the earphone of the electronic equipment is abnormal or not according to the comparison result.
6. The testing method of claim 5, wherein the step of controlling the electronic device to turn on a headset microphone mode comprises:
establishing an ADB connection between the processor and the electronic device;
the processor sends a control instruction for starting the earphone microphone mode to the electronic equipment through the ADB connection so as to control the electronic equipment to start the earphone microphone mode.
7. The testing method of claim 5, wherein the headset comprises: the system comprises an earphone microphone, a left sound channel loudspeaker, a right sound channel loudspeaker, an analog-to-digital conversion module and a digital-to-analog conversion module; the electronic equipment collects a first audio signal through the earphone, and outputs a second audio signal corresponding to the first audio signal through the earphone, wherein the step of the electronic equipment comprises the following steps:
acquiring the first audio signal by the headset microphone to generate an analog microphone signal;
performing analog-to-digital conversion on the analog microphone signal through the analog-to-digital conversion module to generate a microphone digital signal;
converting the microphone digital signal into a left channel analog signal and a right channel analog signal through the digital-to-analog conversion module, and transmitting the left channel analog signal to the left channel loudspeaker and transmitting the right channel analog signal to the right channel loudspeaker;
and respectively converting the left channel analog signal and the right channel analog signal into the second audio signal through the left channel loudspeaker and the right channel loudspeaker and outputting the second audio signal.
8. The method of claim 5, wherein the step of capturing the second audio signal by an artificial ear and comparing the first audio signal and the second audio signal by a processor comprises:
converting the second audio signal into a left channel digital signal and a right channel digital signal through the artificial ear;
analyzing the left channel digital signal and the right channel digital signal through the processor to obtain a curve to be tested, comparing the curve to be tested with a standard curve obtained based on the first audio signal, and judging whether the curve to be tested is superposed with the standard curve.
9. The testing method of claim 8, wherein the curves to be tested include a curve of frequency response to be tested and a curve of harmonic component to be tested, and the step of comparing the curves to be tested with a standard curve obtained based on the first audio signal comprises:
and respectively comparing the frequency response curve to be tested and the harmonic component curve to be tested with the standard frequency response curve and the standard harmonic component curve of the first audio signal.
10. The method according to claim 8, wherein the determining whether the function of the earphone of the electronic device is abnormal according to the comparison result comprises:
and if the to-be-tested curve is partially or completely not coincident with the standard curve, judging that the function of the earphone of the electronic equipment is abnormal.
CN201910330299.XA 2019-04-23 2019-04-23 Electronic equipment earphone function test system and test method Pending CN111836180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910330299.XA CN111836180A (en) 2019-04-23 2019-04-23 Electronic equipment earphone function test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910330299.XA CN111836180A (en) 2019-04-23 2019-04-23 Electronic equipment earphone function test system and test method

Publications (1)

Publication Number Publication Date
CN111836180A true CN111836180A (en) 2020-10-27

Family

ID=72911899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910330299.XA Pending CN111836180A (en) 2019-04-23 2019-04-23 Electronic equipment earphone function test system and test method

Country Status (1)

Country Link
CN (1) CN111836180A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method
CN101662719A (en) * 2008-08-29 2010-03-03 深圳富泰宏精密工业有限公司 Isolation box for audio-frequency test
CN101902677A (en) * 2010-06-23 2010-12-01 中兴通讯股份有限公司 Audio detection device and method
CN202035041U (en) * 2011-05-16 2011-11-09 杭州厚德通信技术有限公司 Voice frequency test system of mobile communication terminal
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
CN104144237A (en) * 2014-07-30 2014-11-12 南京声准科技有限公司 Communication terminal audio production line testing method and device
CN104640054A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Earphone/loudspeaker testing method and system for mobile terminal
CN106303877A (en) * 2015-05-21 2017-01-04 广西三创科技有限公司 The audio testing method of a kind of Windows panel computer and system
CN106535077A (en) * 2016-11-22 2017-03-22 歌尔股份有限公司 Earphone test circuit
CN207531083U (en) * 2017-06-22 2018-06-22 歌尔股份有限公司 Wirelessly communicate headset detection device
CN207911019U (en) * 2018-03-16 2018-09-25 深圳市指南测控技术有限公司 A kind of bluetooth headset acoustical testing device
CN109246574A (en) * 2018-10-17 2019-01-18 杭州兆华电子有限公司 A kind of Lightning ear microphone test macro and its test method
CN109413557A (en) * 2018-10-17 2019-03-01 杭州兆华电子有限公司 It is a kind of using android mobile phone as the bluetooth headset test macro and its test method of Bluetooth adapter

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method
CN101662719A (en) * 2008-08-29 2010-03-03 深圳富泰宏精密工业有限公司 Isolation box for audio-frequency test
CN101902677A (en) * 2010-06-23 2010-12-01 中兴通讯股份有限公司 Audio detection device and method
CN202035041U (en) * 2011-05-16 2011-11-09 杭州厚德通信技术有限公司 Voice frequency test system of mobile communication terminal
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
CN104144237A (en) * 2014-07-30 2014-11-12 南京声准科技有限公司 Communication terminal audio production line testing method and device
CN104640054A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Earphone/loudspeaker testing method and system for mobile terminal
CN106303877A (en) * 2015-05-21 2017-01-04 广西三创科技有限公司 The audio testing method of a kind of Windows panel computer and system
CN106535077A (en) * 2016-11-22 2017-03-22 歌尔股份有限公司 Earphone test circuit
CN207531083U (en) * 2017-06-22 2018-06-22 歌尔股份有限公司 Wirelessly communicate headset detection device
CN207911019U (en) * 2018-03-16 2018-09-25 深圳市指南测控技术有限公司 A kind of bluetooth headset acoustical testing device
CN109246574A (en) * 2018-10-17 2019-01-18 杭州兆华电子有限公司 A kind of Lightning ear microphone test macro and its test method
CN109413557A (en) * 2018-10-17 2019-03-01 杭州兆华电子有限公司 It is a kind of using android mobile phone as the bluetooth headset test macro and its test method of Bluetooth adapter

Similar Documents

Publication Publication Date Title
CN1972524B (en) Music file replaying method and apparatus
CN111541982B (en) Sound effect adjusting control method, processing terminal and earphone
CN109498030B (en) Free sound field hearing test system and method
CN103179495A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
US9439012B2 (en) Method and apparatus for audio testing
CN105530565A (en) Automatic sound equalization device
CN109413557B (en) Bluetooth headset testing system using android mobile phone as Bluetooth adapter and testing method thereof
CN208691496U (en) Headphone calibration structure and its earphone
CN111565354B (en) Testing method and testing system for bone conduction earphone
CN111800722B (en) Feedforward microphone function detection method and device, terminal equipment and storage medium
CN105262887B (en) Mobile terminal and audio setting method thereof
CN103179496A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN103260124A (en) Audio testing method and system of mobile terminal
CN104601769A (en) Automatic mobile phone main board audio testing system
CN111182116A (en) Multi-channel audio testing device and testing method
US20200335078A1 (en) Audio adjustment method and associated audio adjustment device for active noise cancellation
CN108235215B (en) Wire control earphone testing device and testing circuit thereof
CN105764008B (en) A kind of method and device for debugging sound reinforcement system transmission frequency characteristic
CN111063363B (en) Voice acquisition method, audio equipment and device with storage function
CN112261229B (en) Bone conduction call equipment testing method, device and system
CN101600132A (en) Method and device at portable handheld device adjusted audio file play effect
CN111836180A (en) Electronic equipment earphone function test system and test method
CN213186560U (en) Audio test system
CN112995882B (en) Intelligent equipment audio open loop test method
TWI411285B (en) Mobile phone testing apparatus and method of using the same

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201027