CN113419910A - Audio function test system and method - Google Patents

Audio function test system and method Download PDF

Info

Publication number
CN113419910A
CN113419910A CN202110688736.2A CN202110688736A CN113419910A CN 113419910 A CN113419910 A CN 113419910A CN 202110688736 A CN202110688736 A CN 202110688736A CN 113419910 A CN113419910 A CN 113419910A
Authority
CN
China
Prior art keywords
audio
test
function
board
host
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.)
Granted
Application number
CN202110688736.2A
Other languages
Chinese (zh)
Other versions
CN113419910B (en
Inventor
张�杰
余田
张永升
张坚强
刘连
朱海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202110688736.2A priority Critical patent/CN113419910B/en
Publication of CN113419910A publication Critical patent/CN113419910A/en
Application granted granted Critical
Publication of CN113419910B publication Critical patent/CN113419910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Abstract

The invention provides an audio function test system and method, the audio function test system includes: the test system comprises a test host, a control panel and an audio board to be tested, wherein the test host is respectively connected with the control panel and the audio board to be tested, and an audio function port of the control panel is connected with an audio function port of the audio board to be tested; the control board is used for selecting an audio function test item according to an instruction of the test host, selecting a connection port of the audio board to be tested, entering an automatic test mode, acquiring audio signals of audio input and output channels, analyzing and processing the acquired audio signals, and uploading a processing result to the test host; and the test host is used for comparing the processing result with the audio test index to obtain an audio function test result. The invention can realize the automatic test of the audio function, saves time and cost and has higher reliability and accuracy.

Description

Audio function test system and method
Technical Field
The invention relates to the technical field of audio test, in particular to an audio function test system and method.
Background
At present, for electronic devices with audio input and output, such as mobile phones, smart watches, bluetooth headsets, and the like, before audio signals enter audio effect debugging, in order to ensure the smoothness of an audio signal channel of a product and ensure the normality of the audio channel of each tested product, the audio function of the electronic devices needs to be tested.
At present, a typical audio function testing system comprises an artificial ear, an artificial mouth, a testing cable, a testing instrument and the like, wherein the artificial ear is used for collecting sound signals, the artificial mouth is used for emitting the sound signals, the testing cable connects the detection equipment with electronic equipment to be tested, and the collected data are transmitted to the testing instrument through the testing cable.
The existing audio function testing method needs manual work to build a testing environment, is externally connected with different testing instruments, tests through manual work, and judges a sound signal through manual work. The manual testing process takes a lot of time and is not reliable and accurate.
Disclosure of Invention
The audio function testing system and the audio function testing method provided by the invention can realize automatic testing of the audio function, save time and cost and have higher reliability and accuracy.
In a first aspect, the present invention provides an audio function testing system, comprising: the test system comprises a test host, a control panel and an audio board to be tested, wherein the test host is respectively connected with the control panel and the audio board to be tested, and an audio function port of the control panel is connected with an audio function port of the audio board to be tested;
the control board is used for selecting an audio function test item according to an instruction of the test host, selecting a connection port of the audio board to be tested, entering an automatic test mode, acquiring audio signals of audio input and output channels, analyzing and processing the acquired audio signals, and uploading a processing result to the test host;
and the test host is used for comparing the processing result with the audio test index to obtain an audio function test result.
Optionally, the audio signal output end of the control panel is connected with the audio signal input end of the audio board to be tested, the audio signal input end of the control panel is connected with the audio signal output end of the audio board to be tested, and the earphone function port of the control panel is connected with the earphone function port of the audio board to be tested.
Optionally, still be provided with multichannel switch and single channel switch on the control panel, multichannel switch is used for control audio frequency function port on the control panel with the audio frequency is waited to be connected between the audio frequency function port on the board and is connected for the multichannel, single channel switch is used for control audio frequency function port on the control panel with audio frequency is waited to be connected for the single channel between the audio frequency function port on the board and is connected.
Optionally, the control board is further configured to initialize all the parameters to be adjusted and recorded according to the instruction of the test host.
Optionally, the test host is further configured to display that the audio function is normal when the audio function test result is normal; and when the audio function test result shows that the fault exists, storing audio function fault information.
In a second aspect, the present invention provides an audio function testing method, including:
according to the instruction of the test host, the control board selects the audio function test item;
according to the instruction of the test host, the control board selects a connection port with the audio board to be tested and enters an automatic test mode;
the control panel collects audio signals of audio input and output channels, analyzes and processes the collected audio signals, and uploads a processing result to the test host;
and the test host compares the processing result with the audio test index to obtain an audio function test result.
Optionally, before the controlling board selects the audio function test item according to the instruction of the testing host, the method further includes:
and the control board initializes all the parameters of regulation and recording according to the instruction of the test host.
Optionally, after the test host compares the processing result with the audio test index to obtain an audio function test result, the method further includes:
the test host displays that the audio function is normal when the audio function test result is normal; and when the audio function test result shows that the fault exists, storing audio function fault information.
Optionally, the audio signal output end of the control panel is connected with the audio signal input end of the audio board to be tested, the audio signal input end of the control panel is connected with the audio signal output end of the audio board to be tested, and the earphone function port of the control panel is connected with the earphone function port of the audio board to be tested.
In a third aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions, when executed by a processor, implement the above-mentioned audio function testing method.
According to the audio function test system and method provided by the embodiment of the invention, only the audio function port of the control board is required to be connected with the audio function port of the audio board to be tested, the control board can select the audio function test item and the connection port of the audio board to be tested according to the instruction of the test host, enter an automatic test mode, analyze and process the collected audio signals of the audio input and output channels, upload the processing result to the test host, and compare the processing result with the audio test index by the test host to obtain the audio function test result. Compared with the prior art, the method does not need an external test instrument, does not need to judge the sound signal manually, does not need manual intervention in the whole test process, can realize automatic test of the audio function only by fixing the corresponding relation between the control panel and the audio input/output channel on the audio board to be tested, can save time and cost, and has higher reliability and accuracy.
Drawings
FIG. 1 is a schematic diagram of an audio function testing system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an audio function testing method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an audio function testing method according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides an audio function testing system, as shown in fig. 1, the system includes: the test system comprises a test host, a control panel and an audio board to be tested, wherein the test host is respectively connected with the control panel and the audio board to be tested, and an audio function port of the control panel is connected with an audio function port of the audio board to be tested;
the control board is used for selecting an audio function test item according to an instruction of the test host, selecting a connection port of the audio board to be tested, entering an automatic test mode, acquiring audio signals of audio input and output channels, analyzing and processing the acquired audio signals, and uploading a processing result to the test host;
and the test host is used for comparing the processing result with the audio test index to obtain an audio function test result.
The audio signal output end of the control panel is connected with the audio signal input end of the audio board to be tested, the audio signal input end of the control panel is connected with the audio signal output end of the audio board to be tested, and the earphone function port of the control panel is connected with the earphone function port of the audio board to be tested.
Optionally, the test host, the control board and the audio board to be tested may be connected by a USB connection line, the test host sends a control instruction to the control board by the USB connection line, the control board transmits a processing result of the collected audio signal to the test host by the USB connection line, and the test host controls the audio board to be tested to operate by the USB connection line.
Optionally, still be provided with multichannel switch and single channel switch on the control panel, multichannel switch is used for control audio frequency function port on the control panel with the audio frequency is waited to be connected between the audio frequency function port on the board and is connected for the multichannel, single channel switch is used for control audio frequency function port on the control panel with audio frequency is waited to be connected for the single channel between the audio frequency function port on the board and is connected.
The audio function test items comprise a main microphone, an auxiliary microphone, a loudspeaker 1, a loudspeaker 2, a receiver, an earphone left channel, an earphone right channel, an earphone microphone, data storage detection, USB communication signal detection and the like. The loudspeaker 1, the loudspeaker 2 and the receiver are mainly used for outputting audio signals, the main microphone and the auxiliary microphone are mainly used for inputting audio signals, and the earphone test items comprise audio signal outputs of a left sound channel and a right sound channel and audio signal inputs of the microphones.
Optionally, the control board is further configured to initialize all the parameters to be adjusted and recorded according to the instruction of the test host. The initialization information mainly comprises an MCU, a register, a memory, a communication protocol and the like.
Optionally, the test host is further configured to display that the audio function is normal when the audio function test result is normal; and when the audio function test result shows that the fault exists, storing audio function fault information.
According to the audio function test system provided by the embodiment of the invention, only the audio function port of the control board is required to be connected with the audio function port of the audio board to be tested, the control board can select the audio function test item and the connection port of the audio board to be tested according to the instruction of the test host, enter an automatic test mode, analyze and process the collected audio signals of the audio input and output channels, upload the processing result to the test host, and compare the processing result with the audio test index by the test host to obtain the audio function test result. Compared with the prior art, the method does not need an external test instrument, does not need to judge the sound signal manually, does not need manual intervention in the whole test process, can realize automatic test of the audio function only by fixing the corresponding relation between the control panel and the audio input/output channel on the audio board to be tested, can save time and cost, and has higher reliability and accuracy.
An embodiment of the present invention further provides an audio function testing method, as shown in fig. 2, the method includes:
s21, according to the instruction of the test host, the control board selects the audio function test item;
s22, according to the instruction of the test host, the control board selects a connection port with the audio board to be tested and enters an automatic test mode;
s23, the control board collects audio signals of audio input and output channels, analyzes and processes the collected audio signals, and uploads the processing result to the test host;
and S24, the test host compares the processing result with the audio test index to obtain an audio function test result.
According to the audio function testing method provided by the embodiment of the invention, only the audio function port of the control board is connected with the audio function port of the audio board to be tested, the control board can select the audio function test item and the connection port of the audio board to be tested according to the instruction of the testing host, enter an automatic testing mode, analyze and process the collected audio signals of the audio input and output channels, upload the processing result to the testing host, and compare the processing result with the audio testing index by the testing host to obtain the audio function testing result. Compared with the prior art, the method does not need an external test instrument, does not need to judge the sound signal manually, does not need manual intervention in the whole test process, can realize automatic test of the audio function only by fixing the corresponding relation between the control panel and the audio input/output channel on the audio board to be tested, can save time and cost, and has higher reliability and accuracy.
An embodiment of the present invention further provides another audio function testing method, as shown in fig. 3, the method includes:
and S31, initializing all the parameters of regulation and recording by the control board according to the instruction of the test host.
S32, according to the instruction of the test host, the control board selects the audio function test item;
the test method can be used for carrying out single test on a certain test index, and can also be used for selecting a plurality of test indexes to carry out test.
And S33, according to the instruction of the test host, the control board selects a connection port with the audio board to be tested and enters an automatic test mode.
And S34, the control board collects the audio signals of the audio input and output channels and analyzes and processes the collected audio signals.
And S35, the control board uploads the processing result to the test host.
And S36, the test host compares the processing result with the audio test index to obtain an audio function test result.
And S37, the test host judges whether the audio function of the audio board to be tested has a fault according to the audio function test result, if so, the step S38 is executed, and if not, the step S39 is executed.
And S38, the test host stores the audio function fault information.
The test host saves the fault information in a fixed path document, and the storage files of the fault information are named by time, so that the fault information can be conveniently consulted by a tester.
And S39, the test host displays that the audio function is normal.
According to the audio function testing method provided by the embodiment of the invention, only the audio function port of the control board is connected with the audio function port of the audio board to be tested, the control board can select the audio function test item and the connection port of the audio board to be tested according to the instruction of the testing host, enter an automatic testing mode, analyze and process the collected audio signals of the audio input and output channels, upload the processing result to the testing host, and compare the processing result with the audio testing index by the testing host to obtain the audio function testing result. Compared with the prior art, the method does not need an external test instrument, does not need to judge the sound signal manually, does not need manual intervention in the whole test process, can realize automatic test of the audio function only by fixing the corresponding relation between the control panel and the audio input/output channel on the audio board to be tested, can save time and cost, and has higher reliability and accuracy.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions, when executed by a processor, implement the above-mentioned audio function testing method.
It will be understood by those skilled in the art that all or part of the processes of the embodiments of the methods described above may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An audio function testing system, the system comprising: the test system comprises a test host, a control panel and an audio board to be tested, wherein the test host is respectively connected with the control panel and the audio board to be tested, and an audio function port of the control panel is connected with an audio function port of the audio board to be tested;
the control board is used for selecting an audio function test item according to an instruction of the test host, selecting a connection port of the audio board to be tested, entering an automatic test mode, acquiring audio signals of audio input and output channels, analyzing and processing the acquired audio signals, and uploading a processing result to the test host;
and the test host is used for comparing the processing result with the audio test index to obtain an audio function test result.
2. The system of claim 1, wherein the audio signal output terminal of the control board is connected to the audio signal input terminal of the audio board under test, the audio signal input terminal of the control board is connected to the audio signal output terminal of the audio board under test, and the earphone function port of the control board is connected to the earphone function port of the audio board under test.
3. The system according to claim 1, wherein a multi-channel switch and a single-channel switch are further disposed on the control board, the multi-channel switch is configured to control a connection between the audio function port on the control board and the audio function port on the audio board under test to be a multi-channel connection, and the single-channel switch is configured to control a connection between the audio function port on the control board and the audio function port on the audio board under test to be a single-channel connection.
4. The system of any one of claims 1 to 3, wherein the control board is further configured to initialize all the adjusted and recorded parameters according to the instructions of the test host.
5. The system according to any one of claims 1 to 3, wherein the test host is further configured to display that the audio function is normal when the audio function test result is normal; and when the audio function test result shows that the fault exists, storing audio function fault information.
6. An audio function testing method, the method comprising:
according to the instruction of the test host, the control board selects the audio function test item;
according to the instruction of the test host, the control board selects a connection port with the audio board to be tested and enters an automatic test mode;
the control panel collects audio signals of audio input and output channels, analyzes and processes the collected audio signals, and uploads a processing result to the test host;
and the test host compares the processing result with the audio test index to obtain an audio function test result.
7. The method of claim 6, wherein before the control board selects the audio function test item according to the instruction of the test host, the method further comprises:
and the control board initializes all the parameters of regulation and recording according to the instruction of the test host.
8. The method of claim 6, wherein after the testing host compares the processing result with the audio test indicator to obtain an audio function test result, the method further comprises:
the test host displays that the audio function is normal when the audio function test result is normal; and when the audio function test result shows that the fault exists, storing audio function fault information.
9. The method according to any one of claims 6 to 8, wherein the audio signal output terminal of the control board is connected to the audio signal input terminal of the audio board under test, the audio signal input terminal of the control board is connected to the audio signal output terminal of the audio board under test, and the earphone function port of the control board is connected to the earphone function port of the audio board under test.
10. A computer readable storage medium, wherein the computer readable storage medium stores computer instructions which, when executed by a processor, implement the method of any one of claims 6 to 9.
CN202110688736.2A 2021-06-21 2021-06-21 Audio function testing system and method Active CN113419910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110688736.2A CN113419910B (en) 2021-06-21 2021-06-21 Audio function testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110688736.2A CN113419910B (en) 2021-06-21 2021-06-21 Audio function testing system and method

Publications (2)

Publication Number Publication Date
CN113419910A true CN113419910A (en) 2021-09-21
CN113419910B CN113419910B (en) 2023-03-14

Family

ID=77789695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110688736.2A Active CN113419910B (en) 2021-06-21 2021-06-21 Audio function testing system and method

Country Status (1)

Country Link
CN (1) CN113419910B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494818A (en) * 2008-12-26 2009-07-29 广州励丰声光科技有限公司 Multichannel audio standby system
CN103747408A (en) * 2013-12-30 2014-04-23 深圳市广和通实业发展有限公司 Audio performance test system and method
CN108540918A (en) * 2018-06-19 2018-09-14 深圳市海能达通信有限公司 A kind of intercom audio-frequency function detection device
CN111182116A (en) * 2019-12-31 2020-05-19 紫光展讯通信(惠州)有限公司 Multi-channel audio testing device and testing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494818A (en) * 2008-12-26 2009-07-29 广州励丰声光科技有限公司 Multichannel audio standby system
CN103747408A (en) * 2013-12-30 2014-04-23 深圳市广和通实业发展有限公司 Audio performance test system and method
CN108540918A (en) * 2018-06-19 2018-09-14 深圳市海能达通信有限公司 A kind of intercom audio-frequency function detection device
CN111182116A (en) * 2019-12-31 2020-05-19 紫光展讯通信(惠州)有限公司 Multi-channel audio testing device and testing method

Also Published As

Publication number Publication date
CN113419910B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US8879744B2 (en) Audio testing system and audio testing method for device under test
CN103167391B (en) The audio testing method of audio test system and test system
CN104349090A (en) System for tuning audio processing features and method thereof
CN108234034B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN103179496A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN105979462A (en) Test processing method and device based on microphone
CN108199789B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN115604628B (en) Filter calibration method and device based on earphone loudspeaker frequency response
CN111866690A (en) Microphone testing method and device
CN104105047A (en) Audio detection apparatus and method
CN115604621A (en) Earphone testing method, device, equipment and computer readable storage medium
CN114614915A (en) Radio frequency transceiving test method, radio frequency transceiving test device, computer equipment and medium
CN113419910B (en) Audio function testing system and method
KR20070112520A (en) Testing sound quality using audio loop back
CN111988722A (en) Test audio generation method and analysis method
CN112741622B (en) Audiometric system, audiometric method, audiometric device, earphone and terminal equipment
KR20130029635A (en) Evaluation module for speech recognition performance and method thereof
CN111486885A (en) Measurement system and method for recording measured context information
CN111163310B (en) Television audio test method, device, equipment and computer readable storage medium
US20140049649A1 (en) Portable device and signal converting method thereof
KR100289619B1 (en) Speech recognition performance evaluation apparatus and its method
US8686741B2 (en) Excessive noise ratio deriving device, noise figure deriving device, method, program, and recording medium
CN219459062U (en) Bluetooth communication device and Bluetooth equipment testing system
KR100339974B1 (en) System for measuring voice quality of mobile communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant