CN115150731A - Earphone testing method, earphone testing system, electronic device and storage medium - Google Patents

Earphone testing method, earphone testing system, electronic device and storage medium Download PDF

Info

Publication number
CN115150731A
CN115150731A CN202210761520.9A CN202210761520A CN115150731A CN 115150731 A CN115150731 A CN 115150731A CN 202210761520 A CN202210761520 A CN 202210761520A CN 115150731 A CN115150731 A CN 115150731A
Authority
CN
China
Prior art keywords
earphone
data
audio data
performance
equipment
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
CN202210761520.9A
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.)
Shanghai Wuqi Microelectronics Co Ltd
Original Assignee
Shanghai Wuqi Microelectronics 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 Shanghai Wuqi Microelectronics Co Ltd filed Critical Shanghai Wuqi Microelectronics Co Ltd
Priority to CN202210761520.9A priority Critical patent/CN115150731A/en
Publication of CN115150731A publication Critical patent/CN115150731A/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

Abstract

The application provides an earphone testing method, an earphone testing system, electronic equipment and a storage medium, and relates to the technical field of earphones. The method is respectively applied to the earphone device and the analysis device, and the method applied to the earphone device comprises the following steps: configuring a target noise reduction mode according to the received configuration instruction; when the earphone equipment is in a target noise reduction mode, collecting corresponding audio data in the auditory canal of a person to be detected, wherein the audio data is used for detecting the performance of the earphone equipment; the audio data is sent to an analysis device. The method applied to the analysis device comprises the following steps: sending a configuration instruction to the connected earphone device; receiving audio data sent by the earphone equipment; performance data of the headphone device is determined based on the audio data. The real-time acquisition of data in the real auditory canal can be carried out to this application to test and the analysis can be carried out to the multiple performance of earphone, can carry out on-line test to the multiple performance of earphone equipment, improved the accuracy and the efficiency of test.

Description

Earphone testing method, earphone testing system, electronic device and storage medium
Technical Field
The present disclosure relates to the field of earphone technologies, and in particular, to an earphone testing method, an earphone testing system, an electronic device, and a storage medium.
Background
The existing earphone equipment generally has an active noise reduction function, when the earphone equipment actively reduces noise, an external noise signal is recorded through a microphone, processed through a filter in the system, and played at a loudspeaker. When the noise is reduced, the frequency response of the filter is reasonably designed, so that noise signals heard by human ears can be reduced, and the effect of noise reduction is achieved.
Because the user demand for the noise reduction function of the earphone device is higher and higher, the noise reduction effect of the earphone device is generally tested first, so that different noise reduction schemes are evaluated and compared according to test data, and the performance of the earphone device is determined. In the existing method for testing the performance of active noise reduction, an artificial ear is usually used to replace a human ear for testing, and additional measuring equipment such as a sound box, a power amplifier and the like is needed, so that the difference between the hearing sense of wearing the earphone and the actual human ear during testing is large, the real earphone working environment cannot be simulated, and the tested data needs to be compensated by additional means, so that the accuracy in testing the performance of the earphone equipment is low at present.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide an earphone testing method, an earphone testing system, an electronic device, and a storage medium, so as to solve the problem in the prior art that the accuracy is low when testing the performance of an earphone device.
In order to solve the above problem, in a first aspect, an embodiment of the present application provides an earphone testing method, which is applied to an earphone device, where the method includes:
configuring a target noise reduction mode according to the received configuration instruction;
when the target noise reduction mode is applied to the earphone equipment, acquiring corresponding audio data in the auditory canal of a person to be tested, wherein the audio data is used for detecting the performance of the earphone equipment;
and sending the audio data to an analysis device.
In the implementation process, the earphone device to be tested can work in a target noise reduction mode corresponding to the configuration instruction, and can collect real audio data in an auditory canal of a person to be tested in the work process, so that the effectiveness and the real-time performance of the audio data can be effectively improved, and the audio data do not need to be compensated and corrected. The audio data used for detecting the performance of the earphone device is sent to the analysis device, so that the analysis device can analyze various performances of the earphone device according to the audio data, and the efficiency of earphone testing is effectively improved. Need not to use extra measuring equipment during the test, can gather respectively and send the audio data of the multiple mode of making an uproar of falling of earphone equipment to multiple performance is tested in the earphone equipment, accuracy and efficiency when having improved the test.
Optionally, the acquiring corresponding audio data in the ear canal of the person to be tested includes:
setting a corresponding data acquisition mode;
and acquiring the corresponding type of the audio data in the auditory canal of the person to be detected according to the data acquisition mode.
In the implementation process, the earphone device can set a corresponding data acquisition mode according to a transmission instruction sent by the analysis device, so that the data type acquired in the real auditory canal of a person to be tested is determined, audio data consisting of one or more types of data required by testing is acquired, and the performance of the earphone device is detected according to the audio data. The data types in the audio data are limited during collection, so that the corresponding audio data during testing of different testing project performances of the earphone device can be obtained, interference caused by other data during performance testing is reduced, and the accuracy during testing of the earphone performance is further improved.
Optionally, after the corresponding audio data is collected in the ear canal of the person to be tested, the method further includes:
processing the audio data to obtain performance data;
and sending the performance data to the analysis equipment so that the analysis equipment can display the performance data.
In the implementation process, the earphone device may further include a corresponding data processing module, which may directly process the collected audio data in the earphone device to determine performance data, where the performance data is data representing performance of a test item corresponding to the audio data. The performance data can be directly sent to the analysis equipment, so that the analysis equipment can display the performance data, the working personnel can acquire and check the performance data, the processing efficiency of the analysis equipment and the testing efficiency of the performance of the earphone are effectively improved, and the visibility of the performance data is also improved.
Optionally, the method further comprises:
receiving the analysis device sending an adjusting instruction;
adjusting the current audio parameters based on the adjusting instruction to obtain adjusted audio parameters;
when the earphone equipment applies the adjusted audio parameters, acquiring corresponding adjusted audio data in the auditory canal of the person to be tested;
sending the adjusted audio data to the analysis device.
In the implementation process, in the test process, the earphone device can also adjust the current audio parameters according to the received adjustment instruction, and when the earphone device applies the adjustment audio parameters to work, corresponding types of adjustment audio data can be continuously collected, and new adjustment audio data is sent to the analysis device, so that the analysis device can continuously test various performances of the adjusted earphone device according to the adjustment audio data. The earphone performance of the earphone equipment can be further optimized through multiple times of collection and adjustment when the test result of the earphone performance is not good.
In a second aspect, an embodiment of the present application further provides an earphone testing method, which is applied to an analysis device, and the method includes:
sending a configuration instruction to the connected earphone device;
receiving audio data sent by the earphone equipment, wherein the audio data is used for detecting the performance of the earphone equipment;
determining performance data of the headset device based on the audio data.
In the implementation process, the analysis device can determine a corresponding configuration instruction according to a test item to be tested, and sends the instruction to the connected earphone device, so as to acquire audio data sent by the earphone device for detecting the performance of the earphone device after the earphone device configures a target noise reduction mode to collect and process data. By analyzing the audio data, the corresponding performance data under the current test item of the earphone equipment can be determined and expressed, so that the test of multiple performances of the earphone equipment is realized, the audio data is not required to be compensated and corrected, and the efficiency of the earphone during test is effectively improved. The test method has the advantages that extra measuring equipment is not needed during testing, data of various noise reduction modes of the earphone equipment can be collected and received respectively, various performances are tested, and accuracy and efficiency during testing are improved.
Optionally, after determining the performance data of the headset device based on the audio data, the method further comprises:
judging whether the performance data meets the performance index corresponding to the earphone equipment;
if the performance data does not meet the performance index, generating a corresponding adjusting instruction according to the performance data;
and sending the adjusting instruction to the earphone equipment.
In the implementation process, the performance data is compared with the performance index corresponding to the earphone device, so that whether the performance data meets the use requirement of the earphone device can be judged, if not, the performance of the current earphone device is indicated to be poor, and a corresponding adjusting instruction can be generated and sent to inform and feed back the judgment result and the adjusting mode. The next test can be carried out according to the last test result in the test process, and the accuracy and the real-time performance of the control of the analysis equipment in the test process are effectively improved.
Optionally, after receiving the audio data sent by the headset device, the method further includes:
receiving the adjusted audio data sent by the earphone equipment;
and determining the current adjustment performance data of the earphone device based on the adjustment audio data until the adjustment performance data meets the performance index.
In the implementation process, the analysis device can receive new adjustment audio data sent by the earphone device based on the adjustment instruction, so that adjustment performance data of various performances after parameter adjustment of the earphone device is continuously analyzed and determined according to the adjustment audio data. And continuously judging the adjustment performance data, and continuously adjusting the earphone equipment through multiple judging and adjusting steps until the current adjustment performance data meets the performance index, so that the current performance of the earphone equipment is better and the adjustment is not needed. The performance of the earphone device after the test is finished is effectively optimized, and the use experience of a user when the user uses the earphone device is improved.
Optionally, before sending the configuration instruction to the connected earphone device, the method further includes:
determining a test item of the headset device;
determining a data acquisition mode of the headset device based on the test item;
and generating a corresponding transmission instruction according to the data acquisition mode so as to send the transmission instruction to the earphone equipment.
In the implementation process, different test items in the headset device are involved in the testing of the headset performance, and the types of audio data analyzed for the different test items are different. Therefore, by determining the test items during the testing of the earphone device, the data acquisition mode for limiting the data types can be determined, and the corresponding transmission instruction generated according to the data acquisition mode is sent to the earphone device, so that the earphone device can set the corresponding data acquisition mode according to the received transmission instruction to acquire and transmit the data. The method can correspondingly limit the data types during transmission according to different test items, is suitable for various different test items, thereby improving the pertinence of the received audio data, reducing the interference of other data during various performance tests, and further improving the accuracy during testing the performance of the earphone.
In a third aspect, an embodiment of the present application further provides an earphone testing system, where the system includes an analysis device and an earphone device, and the analysis device is in communication connection with the earphone device;
the analysis equipment is used for sending a configuration instruction to the earphone equipment;
the earphone equipment is used for configuring a target noise reduction mode according to the received configuration instruction; when the target noise reduction mode is applied to the earphone equipment, acquiring corresponding audio data in the auditory canal of a person to be tested, wherein the audio data is used for detecting the performance of the earphone equipment; sending the audio data to an analysis device;
the analysis device is further configured to receive the audio data sent by the earphone device; determining performance data of the headset device based on the audio data.
In the implementation process, various performances of the earphone device can be tested through the tested earphone device and the analysis device in the system, the real auditory canal is tested during testing, the environment in the real auditory canal cannot be affected, the testing is not required by additional testing equipment, the collected audio data is not required to be compensated or calibrated, and the accuracy and the efficiency of testing various performances of the earphone are effectively improved.
In a fourth aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores program instructions, and the processor executes steps in any implementation manner of the above earphone testing method when reading and executing the program instructions.
In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the steps in any implementation manner of the above earphone testing method are executed.
In summary, the present application provides an earphone testing method, an earphone testing system, an electronic device, and a storage medium, which can collect and process data in a real ear canal to test and analyze various performances of an earphone, and can test performances of various noise reduction modes, thereby improving accuracy and efficiency during testing.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, and it should be understood that the following drawings only show some embodiments of the present application, and therefore should not be considered as limiting the scope, from which other related figures can be derived by those of ordinary skill in the art without inventive faculty.
Fig. 1 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic view of an operating environment of an earphone testing system according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an earphone testing method applied to an earphone device according to an embodiment of the present disclosure;
fig. 4 is a detailed flowchart of step S430 according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another earphone testing method applied to an earphone device according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a further method for testing an earphone applied to an earphone device according to an embodiment of the present application;
fig. 7 is a schematic flowchart of an earphone testing method applied to an analysis device according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of another earphone testing method applied to an analysis device according to an embodiment of the present application;
fig. 9 is a schematic flowchart of a further earphone testing method applied to an analysis device according to an embodiment of the present application;
fig. 10 is a schematic flowchart of another earphone testing method applied to an analysis device according to an embodiment of the present application.
An icon: 100-an electronic device; 111-a memory; 112-storage a controller; 113-a processor; 114-peripheral interfaces; 115-a communication unit; 116-a display unit; 200-an analysis device; 300-a headset device.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the embodiments of the present application.
With the continuous development of industrialization, noise pollution gradually becomes an important problem affecting people's life, and the processing aiming at noise problems can be mainly divided into two categories at present: active noise reduction and passive noise reduction. Passive noise reduction has a poor ability to handle low frequency noise, while active noise reduction can effectively suppress low frequency noise by means of destructive interference. With the increasing sophistication of theoretical and technical solutions to various problems, the trend in active noise reduction is towards more extensive algorithms to suppress complex noise patterns.
In order to improve the noise reduction effect and the use experience of the earphone, the current earphone equipment, such as a TWS (True Wireless Stereo) earphone, generally has an active noise reduction ANC function, records an external noise signal through a microphone, processes the external noise signal through a filter in the system, and plays the external noise signal at a loudspeaker; by reasonably designing the frequency response of the filter, the noise signal heard by human ears is reduced, and the effect of noise reduction is achieved.
In order to make the headphone apparatus have good performance, the noise reduction effect of the headphone needs to be evaluated first. Different noise reduction schemes and modes can be compared during evaluation, for example, the ambient audio spectrum received by the earphone or the secondary channel of the earphone is measured, and therefore the noise reduction effect of all aspects of the earphone device is comprehensively detected.
In the prior art, when testing the active noise reduction performance of the earphone device, it is usually necessary to test with the help of external measuring devices, such as a sound box, an artificial ear, and a power amplifier. The test procedure may be: the method comprises the steps that a specific audio signal is sent by an external sound box, an artificial ear is adopted to replace a human ear for testing, an earphone to be tested is placed on the artificial ear, the artificial ear is provided with a cylindrical cavity to simulate the acoustic characteristics of an auditory canal of the human ear, a sound collecting microphone is arranged at a position corresponding to a tympanic membrane of the human ear, an active noise reduction function is respectively closed and opened for measurement and analysis, and the noise reduction performance brought by the active noise reduction function can be obtained.
However, in the current testing method, a plurality of external devices are required to be matched for testing, the testing cost is high, and the ear canal information of the artificial ear and the ear canal information of the real human ear are generally different, so that an additional means is required for compensation, and the accuracy of testing the performance of the earphone device is low.
The embodiment of the application provides an earphone testing method, which is applied to electronic equipment, wherein the electronic equipment can be earphone equipment, a server, a Personal Computer (PC), a tablet Personal Computer, a smart phone, a Personal Digital Assistant (PDA) and other electronic equipment with a logic computing function, and can accurately test various performances of the earphone equipment.
Optionally, referring to fig. 1, fig. 1 is a block schematic diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 may include a memory 111, a memory controller 112, a processor 113, a peripheral interface 114, a communication unit 115, and a display unit 116. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely exemplary and is not intended to limit the structure of the electronic device 100. For example, electronic device 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The above-mentioned memory 111, memory controller 112, processor 113, peripheral interface 114, communication unit 115 and display unit 116 are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 113 is used to execute the executable modules stored in the memory.
The Memory 111 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 111 is used for storing a program, and the processor 113 executes the program after receiving an execution instruction, and the method executed by the electronic device 100 defined by the process disclosed in any embodiment of the present application may be applied to the processor 113, or implemented by the processor 113.
The processor 113 may be an integrated circuit chip having signal processing capability. The Processor 113 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. The general purpose processor may be a microprocessor, any conventional processor, etc.
The peripheral interface 114 couples various input/output devices to the processor 113 and memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip. In other examples, they may be implemented separately from each other.
The communication unit 115 is used for providing communication connection with other devices, and may be connected through a wired or wireless network, or may be connected through bluetooth. The communication unit 115 may be, but is not limited to, various types of communication chips and the like.
The display unit 116 provides an interactive interface (e.g., a user operation interface) between the electronic device 100 and the user or is used for displaying image data to the user for reference. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are sent to the processor for calculation and processing. In the embodiment of the present application, the display unit 116 may display performance data of the headphone apparatus obtained during testing, and the like.
Referring to fig. 2, fig. 2 is a schematic diagram of an operating environment of a headset testing system according to an embodiment of the present application, where the system includes the following interaction devices: an analysis device 200 and a headphone device 300. Wherein, the analysis device 200 is connected with the earphone device 300 through a wired network, a wireless network or bluetooth communication for data transmission and interaction.
Optionally, one analysis device 200 may also be connected to a plurality of earphone devices 300, thereby simultaneously testing various performances of the plurality of earphone devices 300.
It should be noted that, when the analysis device 200 is in communication connection with the earphone device 300, the connection device may be connected by wire or wirelessly, and the connection device may be a bluetooth adapter or other device, and can be connected with the analysis device 200 and the earphone device 300 to be tested at the same time, so as to implement data transmission. The connection device may support bi-directional or unidirectional transmission, and may be a separate device or a component integrated in the analysis device 200.
Alternatively, the analysis device 200 may be an electronic device with a logic calculation function, such as an audio analyzer, a server, a personal computer, a tablet computer, a smart phone, and a personal digital assistant, and may implement the bluetooth adapter connection and the running function of the online test software. The configuration instruction can be transmitted to the headset device 300 and the audio data transmitted by the headset device 300 can be received to determine the performance data of the headset device 300 based on the audio data, thereby accurately testing various performances of the headset device 300.
For example, when the analysis device 200 performs a test, the online test function may include: analyzing a data stream sent by the to-be-tested earphone device 300, configuring an active noise reduction scheme and parameters of the earphone device 300, calculating the frequency response of audio data in real time, calculating the noise reduction performance of the to-be-tested earphone device 300 in real time, calculating the secondary channel response of the to-be-tested earphone device 300, and the like. The plurality of functions may be independently run as part of a plurality of pieces of software on the analysis apparatus 200, or may be simultaneously run in the same piece of software.
Optionally, the earphone device 300 may configure the target noise reduction mode according to the received configuration instruction, so as to work in the target noise reduction mode, and when working, collect corresponding audio data in the ear canal of the person to be tested, and send the audio data for detecting the performance of the earphone device to the analysis device 200. The earphone device 300 to be tested can directly collect and transmit data in a real auditory canal, measurement by external equipment is not needed, compensation and correction processing on the collected data are also not needed, the accuracy of the data to be tested in the test process is effectively improved, and therefore the accuracy of the earphone performance test is improved.
The earphone device 300 is illustratively a plurality of types of noise reduction earphones, and has structures such as an ear microphone, an in-ear speaker, etc., and can receive a command sent by the connection device, configure a noise reduction mode according to the command, the audio signal of the out-of-the-ear microphone (and/or) the in-the-ear microphone (and/or) speaker may also be transmitted to the analysis device 200 via an adapter, data computed inside the headset chip may also be transmitted to the analysis device 200 through an adapter.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a method for testing an earphone applied to an earphone device according to an embodiment of the present disclosure, where the method includes steps S410 to S440.
And step S410, configuring a target noise reduction mode according to the received configuration instruction.
When the active noise reduction is started, the earphone device has different noise reduction schemes corresponding to different noise reduction modes. In order to test the noise reduction effect of the earphone device in each noise reduction mode, the earphone device may configure a corresponding noise reduction scheme according to the configuration instruction sent by the analysis device, so as to configure a corresponding target noise reduction mode for testing.
Step S420, when the target noise reduction mode is applied to the earphone device, corresponding audio data is collected in the ear canal of the person to be tested.
Wherein, when the earphone equipment is testing, can be by the personnel that await measuring according to the earphone equipment that the normal use custom was worn closely to await measuring to make earphone equipment can set up on the personnel's that are surveyed ear, gather the audio data in the true auditory canal of the personnel that await measuring. The audio data is sound data collected after the earphone device plays in the auditory canal of the person to be tested based on the target noise reduction mode.
Optionally, because different test items exist when the performance of the headset device is tested, and the types of data required when different test items are analyzed are also different, the audio data collected by the headset device may be data collected according to the types of data required by the test items, so as to detect the performance of the headset device. For example, the noise reduction performance of the headphone device may be detected according to the audio data, in some application scenarios, after the noise reduction mode is configured, other performances of the headphone device may also be detected according to the audio data, for example, the attenuation amplitude of the playing audio, and different performances of the headphone device may be detected according to actual scenarios and requirements.
By way of example, different test items may include: debugging the active noise reduction mode, testing the active noise reduction secondary channel, testing the earphone leakage frequency response, analyzing and measuring the audio frequency response and the like.
For example, the noise reduction performance of the earphone device can be measured according to audio data, audio frequency spectrums received by different microphones of the earphone can be measured, the frequency response of a secondary channel of an ear canal can be measured, the wearing leakage of the earphone can be measured, and the like.
Optionally, when the target noise reduction mode is applied to the headset mode to work, all types of data may be collected, and during transmission, types of the collected multiple types of data may be screened according to the data collection mode, so that one or more types of data that satisfy the data type in the data collection mode are used as audio data for detecting the performance of the headset device.
Step S430, the audio data is sent to the analysis device.
The earphone device can send the collected audio data to the analysis device through the communication connection, so that the analysis device can analyze various performances of the earphone device according to the audio data, the audio data do not need to be compensated and corrected, and the earphone testing efficiency is effectively improved.
In the embodiment shown in fig. 3, when various performances of the headset device are tested, the influence of the external device on the measurement environment can be effectively reduced, the difference between the measurement scene and the real use scene is eliminated, data of various noise reduction modes of the headset device can be respectively collected and sent to test various performances, and the accuracy and the efficiency in the test are improved.
Optionally, referring to fig. 4, fig. 4 is a detailed flowchart of step S430 provided in the embodiment of the present application, and step S420 may further include steps S421 to S422.
Step S421, a corresponding data acquisition mode is set.
In order to send data of corresponding types aiming at the test items, the earphone equipment can set a corresponding data acquisition mode to limit the data types during acquisition.
Optionally, the headset device may determine a test item during the test according to a transmission instruction sent by the analysis device, so as to set a corresponding data acquisition mode.
For example, when the test item is to debug the active noise reduction mode, the data collection mode set in the headset device may be to collect and transmit sound data of an out-of-ear microphone and sound data of an in-ear microphone in the audio data. When the test item is to test the active noise reduction secondary channel, the data acquisition mode set in the earphone device may be to acquire and transmit sound data of an in-ear microphone and sound data of a speaker in the audio data. When the test item is to test the leakage of the earphone, the data acquisition mode set in the earphone device can acquire and transmit the sound data of the microphone outside the ear and the sound data of the loudspeaker in the audio data. When the test item is to analyze and measure the audio frequency response, the data acquisition mode set in the headset device may be to acquire and transmit sound data of a designated microphone or sound data of a speaker in the audio data.
And step S422, acquiring corresponding types of audio data in the auditory canals of the person to be detected according to the data acquisition mode.
The data type during collection is limited by the data collection mode set in the earphone device, so that one or more types of data of corresponding types can be collected according to the data collection mode, and audio data consisting of one or more types of data of the data types in the data collection mode is obtained.
Illustratively, when the data collection mode of the headset device is collection and transmission of sound data of an out-of-ear microphone and sound data of an in-ear microphone in the audio data, then the audio data is sound data of the out-of-ear microphone and sound data of the in-ear microphone. When the data acquisition mode of the earphone device is to acquire and transmit the sound data of the in-ear microphone and the sound data of the loudspeaker in the audio data, the audio data is the sound data of the in-ear microphone and the sound data of the loudspeaker. When the data acquisition mode of the earphone device is to acquire and transmit the sound data of the microphone and the sound data of the loudspeaker in the audio data, the audio data is the sound data of the microphone and the sound data of the loudspeaker. When the data acquisition mode of the earphone device is to acquire and transmit the sound data of a specified microphone or the sound data of a specified loudspeaker in the audio data, the audio data is the sound data of the specified microphone or the sound data of the specified loudspeaker.
In the embodiment of fig. 4, by limiting the data types in the audio data, the audio data corresponding to the performance test of different test items of the headset device can be obtained, interference caused by other data to various performance tests is reduced, and the accuracy of the performance test of the headset is further improved.
Optionally, referring to fig. 5, fig. 5 is a schematic flowchart of another earphone testing method applied to an earphone device according to an embodiment of the present application, and after step S420, the method may further include steps S440 to S450.
Step S440, processing the audio data to obtain performance data.
The earphone equipment can also be provided with a corresponding data processing module, the audio data can be directly processed in the earphone equipment to determine performance data, and the performance data can represent the performance of a test item corresponding to the audio data.
Optionally, the performance data obtained by processing is different due to different test items.
For example, when the test item is to debug the active noise reduction mode, the processing procedure may be: and during the subsequent test, calculating the frequency response difference between the sound data of the in-ear microphone and the sound data of the out-of-ear microphone as the total noise reduction performance, and taking the value obtained by subtracting the passive noise reduction performance from the total noise reduction performance as the active noise reduction performance data. When the test item is to test the active noise reduction secondary channel, the processing procedure may be: the difference in frequency response between the sound data of the in-ear microphone and the sound data of the loudspeaker is calculated, and the response of the secondary channel is obtained as performance data. When the test item is to test the earphone leakage, the processing procedure may be: a frequency response difference between sound data of the out-of-ear microphone and sound data of the speaker is calculated, thereby obtaining a leakage frequency response as performance data. When the test item is to analyze and measure the audio frequency response, the processing procedure may be: spectral analysis is performed based on the sound data of the specified microphone and the sound data of the speaker, thereby obtaining an audio spectrum as performance data.
And step S450, sending the performance data to the analysis equipment so that the analysis equipment can display the performance data.
After the earphone device processes the performance data, the performance data can be sent to the analysis device so that the display unit on the analysis device can display various types of performance data, and therefore workers can acquire and check the performance data.
In the embodiment shown in fig. 5, the processing efficiency of the analysis device and the testing efficiency of the performance of the earphone are effectively improved, and the visibility of the performance data is also improved.
Optionally, referring to fig. 6, fig. 6 is a schematic flowchart of another earphone testing method applied to an earphone device according to an embodiment of the present application, where the method may further include steps S461 to S464.
In step S461, the adjustment instruction sent by the analysis device is received.
After the performance data of the earphone device is determined by the earphone device or the analysis device, in order to enable various performances of the earphone device to meet the use requirements of users, the analysis device can also send corresponding adjustment instructions to the earphone device according to the actual conditions of performance data analysis, and the noise reduction function of the earphone device can be adjusted in real time when the performance of the earphone device is poor.
Step S462, adjusting the current audio parameter based on the adjustment instruction to obtain an adjusted audio parameter.
The earphone equipment can respond to the adjusting instruction to adjust the audio parameters in the earphone equipment to obtain the adjusted audio parameters.
Step S463, when the earphone device is used to adjust the audio parameter, corresponding adjustment audio data is collected in the ear canal of the person to be tested.
Wherein, after the noise reduction parameters are adjusted, the earphone device can continue to work by applying the obtained adjusted audio parameters, and the adjusted audio data of the corresponding type after adjustment can be continuously acquired in the auditory canal of the person to be detected according to the data acquisition mode.
In step S464, the adjusted audio data is sent to the analysis device.
The earphone device can send the adjusted audio data to the analysis device through communication connection, so that the analysis device can analyze multiple performances of the earphone device according to the adjusted audio data.
It should be noted that the earphone device may also directly process the adjusted audio data to obtain corresponding adjustment performance data, and send the adjustment performance data to the analysis device for display, where a processing manner of adjusting the audio data is similar to that of the audio data, and is not described again.
In the embodiment shown in fig. 6, feedback can be performed in real time during the testing process, and when the testing result of the performance of the headset is poor, various performances of the headset device can be further optimized through multiple times of acquisition and adjustment.
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for testing an earphone applied to an analysis device according to an embodiment of the present application, where the method may include steps S510-S530.
Step S510, sending a configuration instruction to the connected earphone device.
The analysis equipment can determine a corresponding configuration instruction according to a test item to be tested and sends the instruction to the connected earphone equipment.
Optionally, when the active noise reduction scheme needs to be debugged, the configuration instruction may be an instruction to set the earphone device to a noise reduction mode off state when the active noise reduction scheme is debugged for the first time, and the configuration instruction may be an instruction to set the earphone device to a certain preset noise reduction mode with specified parameters when the active noise reduction scheme is debugged for the subsequent time. When a secondary channel or headphone leakage of the headphone device needs to be measured, the configuration instruction may be an instruction to turn off a feedback noise reduction function of the headphone device and play a specific audio, and the specific audio may also be sent to the headphone device, and may be full-band noise such as frequency sweeping sound and noise. When the audio frequency response of the earphone device needs to be analyzed and measured, the configuration instruction may be to set the earphone device to any noise reduction mode.
Step S520, receiving the audio data sent by the earphone device.
Wherein, the earphone device can configure a corresponding target noise reduction mode according to the configuration instruction to collect and process the audio data, the analysis device is able to receive audio data obtained in the headset device for detecting the performance of the headset device via the communication connection.
In step S530, performance data of the headphone apparatus is determined based on the audio data.
The analysis equipment can directly analyze various performances of the earphone equipment according to the received audio data, so that performance data corresponding to the current test items of the earphone equipment are obtained.
It should be noted that the manner in which the analysis device processes the audio data is the same as that in the embodiment of fig. 5, and is not described again.
In the embodiment shown in fig. 7, the audio data can be directly analyzed without performing compensation and correction processing, thereby effectively improving the efficiency and accuracy of the earphone test.
Optionally, referring to fig. 8, fig. 8 is a schematic flowchart of another earphone testing method applied to an analysis device according to an embodiment of the present application, and after step S530, the method may further include steps S541-S543.
Step S541, determining whether the performance data meets a performance index corresponding to the earphone device.
The analysis device can also judge whether the current performance of the earphone device meets the use requirement of the user according to the performance data, the judgment mode can be that the performance data is compared with the performance index corresponding to the earphone device, and the performance index can be index data determined according to the model of the earphone device and the actual requirement of the user.
And step S542, if the performance data does not meet the performance index, generating a corresponding adjusting instruction according to the performance data.
When the performance data of the earphone device does not meet the corresponding performance indexes, the analysis device can generate corresponding adjustment instructions to inform the earphone device of adjusting the parameters during noise reduction.
Step S543, sending the adjustment instruction to the earphone device.
The analysis device can send the generated adjusting instruction to the earphone device through the communication connection so as to perform subsequent data acquisition and test processing.
In the embodiment shown in fig. 8, the next test can be performed according to the previous test result in the test process, so that the accuracy and the real-time performance of the control of the analysis device in the test process are effectively improved.
Optionally, referring to fig. 9, fig. 9 is a schematic flowchart of another earphone testing method applied to an analysis device according to an embodiment of the present application, and after step S520, the method may further include steps S551 to S552.
Step S551, receiving the adjusted audio data sent by the headphone apparatus.
The earphone device can adjust the audio parameters when the noise is reduced after receiving the adjusting instruction, acquire and send the audio data again, and the analysis device can receive the adjusted audio data sent after the earphone device processes again through communication connection.
Step S552, determining the current adjustment performance data of the earphone device based on the adjustment audio data until the adjustment performance data meets the performance index.
The analysis equipment can continuously analyze various current performances of the earphone equipment according to the adjustment audio data so as to determine the current adjustment performance data, continuously judge whether the adjustment performance data meets the performance indexes, repeatedly send an adjustment instruction, receive the adjustment audio data, determine the adjustment performance data and judge whether the adjustment performance data meets the performance indexes when the adjustment performance data does not meet the performance indexes, and the current performance of the earphone equipment is better when the adjustment performance data obtained by the current test meets the performance indexes, the adjustment is not needed, and the test is completed.
In the embodiment shown in fig. 9, the earphone device can be continuously adjusted through the steps of determining and adjusting a plurality of times. Various performances of the earphone device after the test is finished are effectively optimized, and the use experience of a user when the user uses the earphone device is improved.
Optionally, referring to fig. 10, fig. 10 is a schematic flowchart illustrating a further earphone testing method applied to an analysis device according to an embodiment of the present application, where before step S510, the method may further include steps S561-S563.
In step S561, a test item of the headset device is determined.
Before testing, the analysis device may determine a test item currently tested by the earphone device, where the test item may include: debugging the active noise reduction mode, testing the active noise reduction secondary channel, testing the earphone leakage frequency response, analyzing and measuring the audio frequency response and the like.
Step S562, determining a data acquisition mode of the headphone apparatus based on the test item.
The data types required by different test items are different, so that the data acquisition mode for transmitting the required data types can be determined according to the test items.
Illustratively, the data acquisition mode for debugging the active noise reduction mode is to transmit sound data of an ear microphone and sound data of an ear microphone in the audio data; the data acquisition mode for testing the active noise reduction secondary channel is to transmit the sound data of an in-ear microphone and the sound data of a loudspeaker in the audio data; the data acquisition mode for testing the earphone leakage frequency response is to transmit the sound data of an ear microphone and the sound data of a loudspeaker in the audio data; the data acquisition mode for analyzing and measuring the audio frequency response is to transmit the sound data of a specified microphone or the sound data of a specified speaker in the audio data.
Step S563, generating a corresponding transmission instruction according to the data acquisition mode, so as to send the transmission instruction to the earphone device.
The corresponding transmission instruction can be generated according to the determined data acquisition mode, and the transmission instruction is sent to the earphone device, so that the earphone device can set the corresponding data acquisition mode according to the received transmission instruction, and can screen according to the acquired data type when transmitting data, so that the analysis device can receive the corresponding audio data.
In the embodiment shown in fig. 10, the data types during transmission can be correspondingly defined according to different test items, and the method is suitable for various different test items, so that the pertinence of the received audio data is improved, the interference of other data during the performance test of the headset is reduced, and the accuracy during the performance test of the headset is further improved.
The embodiment of the present application further provides a computer-readable storage medium, where computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are read and executed by a processor, the steps in any one of the methods for testing an earphone provided in the present embodiment are executed.
In summary, the embodiment of the present application provides an earphone testing method, an earphone testing system, an electronic device, and a storage medium, which can collect and process data in a real ear canal to test and analyze multiple performances of an earphone, can test performances of multiple noise reduction modes, and improve accuracy and efficiency during testing.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. The apparatus embodiments described above are merely illustrative, and for example, the block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of devices according to various embodiments of the present application. In this regard, each block in the block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams, and combinations of blocks in the block diagrams, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.
It is noted that, herein, 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 phrases "comprising 8230; \8230;" comprises 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (11)

1. An earphone testing method is applied to earphone equipment, and is characterized by comprising the following steps:
configuring a target noise reduction mode according to the received configuration instruction;
when the target noise reduction mode is applied to the earphone equipment, collecting corresponding audio data in the auditory canal of a person to be detected, wherein the audio data are used for detecting the performance of the earphone equipment;
and sending the audio data to an analysis device.
2. The method of claim 1, wherein the collecting corresponding audio data in the ear canal of the person under test comprises:
setting a corresponding data acquisition mode;
and acquiring the corresponding type of audio data in the ear canal of the person to be tested according to the data acquisition mode.
3. The method of claim 1, wherein after the corresponding audio data is collected in the ear canal of the person under test, the method further comprises:
processing the audio data to obtain performance data;
and sending the performance data to the analysis equipment so that the analysis equipment can display the performance data.
4. The method according to any one of claims 1-3, further comprising:
receiving an adjusting instruction sent by the analysis equipment;
adjusting the current audio parameter based on the adjusting instruction to obtain an adjusted audio parameter;
when the earphone equipment applies the adjusted audio parameters, acquiring corresponding adjusted audio data in the auditory canal of the person to be tested;
sending the adjusted audio data to the analysis device.
5. An earphone testing method applied to analysis equipment is characterized by comprising the following steps:
sending a configuration instruction to the connected earphone device;
receiving audio data sent by the earphone equipment, wherein the audio data is used for detecting the performance of the earphone equipment;
determining performance data of the headset device based on the audio data.
6. The method of claim 5, wherein after determining performance data for the headset device based on the audio data, the method further comprises:
judging whether the performance data meets the performance index corresponding to the earphone equipment;
if the performance data do not meet the performance index, generating a corresponding adjusting instruction according to the performance data;
and sending the adjusting instruction to the earphone equipment.
7. The method of claim 6, wherein after receiving the audio data transmitted by the headset device, the method further comprises:
receiving the adjusted audio data sent by the earphone equipment;
and determining the current adjustment performance data of the earphone equipment based on the adjustment audio data until the adjustment performance data meets the performance index.
8. The method of claim 5, wherein prior to sending the configuration instructions to the connected headset device, the method further comprises:
determining a test item of the earphone device;
determining a data acquisition mode of the headset device based on the test item;
and generating a corresponding transmission instruction according to the data acquisition mode so as to send the transmission instruction to the earphone equipment.
9. The earphone testing system is characterized by comprising analysis equipment and earphone equipment, wherein the analysis equipment is in communication connection with the earphone equipment;
the analysis equipment is used for sending a configuration instruction to the earphone equipment;
the earphone device is used for configuring a target noise reduction mode according to the received configuration instruction; when the target noise reduction mode is applied to the earphone equipment, acquiring corresponding audio data in the auditory canal of a person to be tested, wherein the audio data is used for detecting the performance of the earphone equipment; sending the audio data to an analysis device;
the analysis device is further configured to receive the audio data sent by the earphone device; determining performance data of the headset device based on the audio data.
10. An electronic device comprising a memory having stored therein program instructions and a processor that, when executed, performs the steps of the method of any of claims 1-8.
11. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, perform the steps of the method of any one of claims 1-8.
CN202210761520.9A 2022-06-29 2022-06-29 Earphone testing method, earphone testing system, electronic device and storage medium Pending CN115150731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210761520.9A CN115150731A (en) 2022-06-29 2022-06-29 Earphone testing method, earphone testing system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210761520.9A CN115150731A (en) 2022-06-29 2022-06-29 Earphone testing method, earphone testing system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115150731A true CN115150731A (en) 2022-10-04

Family

ID=83409368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210761520.9A Pending CN115150731A (en) 2022-06-29 2022-06-29 Earphone testing method, earphone testing system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115150731A (en)

Similar Documents

Publication Publication Date Title
CN101411213B (en) Calibration steps in audio system and device
CN103179495B (en) The ear microphone of mobile terminal and the audio testing method of receiver and system
CN108702581A (en) Method and apparatus for testing ear speaker device
CN105530565A (en) Automatic sound equalization device
US11215500B2 (en) Environmental and aggregate acoustic dosimetry
CN107566936A (en) Earphone and its method, the storage device of adjust automatically music data
EP3905721A1 (en) Method for calibrating an ear-level audio processing device
US20220178738A1 (en) Headset playback acoustic dosimetry
CN115604628B (en) Filter calibration method and device based on earphone loudspeaker frequency response
CN112468924A (en) Earphone noise reduction method and device
EP3480809B1 (en) Method for determining a response function of a noise cancellation enabled audio device
CN110557711B (en) Earphone testing method and earphone
CN103983345A (en) Single-frequency tone acoustic signal automatic monitoring method based on human auditory characteristics
CN115150731A (en) Earphone testing method, earphone testing system, electronic device and storage medium
US10237667B2 (en) Measurement system and measurement method
CN111637965A (en) Noise information detection method and related equipment thereof
US20230370788A1 (en) Method, apparatus and system for testing a bone conduction communication device
WO2022006806A1 (en) Stereo effect testing method for dual-channel device
CN109029710A (en) The method of monitoring and test sound and test ambient sound
CN115086851A (en) Human ear bone conduction transfer function measuring method, device, terminal equipment and medium
CN109391875B (en) Audio debugging method and device, storage medium and processor
CN202261796U (en) Effect evaluation instrument for hearing aid
CN108871549A (en) Intelligent aircraft NVH test device, system and test method
Chung Calibration matters: I. Sound level meter basics
CN113225662B (en) TWS earphone awakening test method with G-sensor

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