CN108810786A - A kind of audio testing method, device and equipment - Google Patents
A kind of audio testing method, device and equipment Download PDFInfo
- Publication number
- CN108810786A CN108810786A CN201810414926.3A CN201810414926A CN108810786A CN 108810786 A CN108810786 A CN 108810786A CN 201810414926 A CN201810414926 A CN 201810414926A CN 108810786 A CN108810786 A CN 108810786A
- Authority
- CN
- China
- Prior art keywords
- signal
- radio reception
- reception component
- pronunciation part
- component
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 117
- 238000000034 method Methods 0.000 claims description 26
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 7
- 230000005236 sound signal Effects 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/004—Monitoring arrangements; Testing arrangements for microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of audio testing method, device and equipment, including:The first test signal that the first pronunciation part is sent out is received by the first radio reception component and the second radio reception component, obtains the first of the first radio reception component the second reception signal for receiving signal and the second radio reception component;Signal and second is received according to first and receives the audio frequency parameter of signal, determines the working condition of the first radio reception component, the second radio reception component and the first pronunciation part.So, after the first pronunciation part sends out the first test signal, the audio frequency parameter that first obtained after first test signal receives signal and the second reception signal can be respectively received according to the first radio reception component and the second radio reception component, determine the working condition of the first radio reception component, the second radio reception component and the first pronunciation part, without manual testing, reduce test used time and human cost, improves testing efficiency.
Description
Technical field
The present invention relates to a kind of field of terminal technology more particularly to audio testing method, device and equipment.
Background technology
Currently, for terminal devices such as smart mobile phones, the test session before equipment manufacture need to usually carry out testing current
With work mould audio-frequency test.Wherein, testing current refers to the standby current of test equipment, shutdown electric current, starup current, charging current
Equal current parameters, audio-frequency test refer to the loudspeaker, receiver, main MIC (microphone, microphone) of test equipment, secondary MIC whether
It is working properly.
It is generally desirable to first carry out testing current, then carry out work mould audio-frequency test.In the prior art, testing current has been
It can be carried out by test platform, but audio-frequency test is then also in the stage of manual testing, it is not only less efficient, while also consuming
A large amount of human cost.
In conclusion there is an urgent need for a kind of audio testing methods at present, to improve the audio-frequency test efficiency of terminal device.
Invention content
A kind of audio testing method of present invention offer, device and equipment, to improve the audio-frequency test efficiency of terminal device.
A kind of audio testing method provided in an embodiment of the present invention, the method are applied to terminal;The method includes:
The first test signal that the first pronunciation part is sent out is received by the first radio reception component and the second radio reception component, is obtained
The first of the first radio reception component receives signal and the second of the second radio reception component and receives signal;
Signal and described second is received according to described first and receives the audio frequency parameter of signal, determines first radio reception portion
The working condition of part, the second radio reception component and first pronunciation part.
Optionally, the method further includes:
The second test that the second pronunciation part is sent out is received by the first radio reception component and the second radio reception component
Signal, the third for obtaining the first radio reception component receive the 4th reception signal of signal and the second radio reception component;
Signal, the second reception signal, the third are received according to described first to receive signal and the described 4th and receive
The audio frequency parameter of signal determines the first radio reception component, the second radio reception component, first pronunciation part and described
The working condition of two pronunciation parts.
Optionally, the second test that the second pronunciation part is sent out is received by the first radio reception component and the second radio reception component to believe
Before number, further include:
Determine that the first reception signal and the audio frequency parameter of the second reception signal do not meet established standards.
Optionally, signal, the second reception signal, third is received according to described first to receive signal and the described 4th and connect
The audio frequency parameter collected mail number, determines the first radio reception component, the second radio reception component, first pronunciation part and described
The working condition of second pronunciation part, including:
Third receives signal and the audio frequency parameter of the 4th reception signal meets the established standards there are at least one,
Determine that the second pronunciation part is normal, the first pronunciation part is abnormal.
Optionally, according to described first receive signal, described second receive signal, the third receives signal and described the
Four receive signals audio frequency parameter, determine the first radio reception component, the second radio reception component, first pronunciation part and
The working condition of second pronunciation part, including:
If it is determined that the audio frequency parameter of the first reception signal and the second reception signal does not meet first hair
The corresponding established standards of sound component, it is determined that the first pronunciation part operation irregularity;
If it is determined that the third receives signal and the audio frequency parameter of the 4th reception signal does not meet second hair
The corresponding established standards of sound component, it is determined that the second pronunciation part operation irregularity;
If it is determined that the audio frequency parameter of the first reception signal does not meet the corresponding established standards of the first pronunciation outbox,
And the audio frequency parameter of the third reception signal meets the corresponding established standards of second pronunciation part, it is determined that described first
Radio reception component operation irregularity;
If it is determined that the audio frequency parameter of the second reception signal does not meet the corresponding established standards of first pronunciation part,
And the audio frequency parameter of the 4th reception signal does not meet the corresponding established standards of second pronunciation part, it is determined that described the
Two radio reception component operation irregularities.
Optionally, first pronunciation part is the loudspeaker or the receiver, and second pronunciation part is the loudspeaker
And the receiver in another pronunciation part in addition to first pronunciation part.
Based on same inventive concept, the present invention also provides a kind of audio test devices, including:
Transceiver module, first for being sent out by the first radio reception component and the second radio reception component the first pronunciation part of reception
Test signal obtains the first of the first radio reception component the second reception signal for receiving signal and the second radio reception component;
Determining module receives the audio frequency parameter of signal for receiving signal and described second according to described first, determines institute
State the working condition of the first radio reception component, the second radio reception component and first pronunciation part.
Optionally, the transceiver module is specifically used for:
The second test that the second pronunciation part is sent out is received by the first radio reception component and the second radio reception component
Signal, the third for obtaining the first radio reception component receive the 4th reception signal of signal and the second radio reception component;
The determining module is specifically used for:
Signal, the second reception signal, the third are received according to described first to receive signal and the described 4th and receive
The audio frequency parameter of signal determines the first radio reception component, the second radio reception component, first pronunciation part and described
The working condition of two pronunciation parts.
Optionally, the transceiver module is additionally operable to:
Before the second test signal that the second pronunciation part is sent out being received by the first radio reception component and the second radio reception component,
Determine that the first reception signal and the audio frequency parameter of the second reception signal do not meet established standards.
Optionally, the determining module also particularly useful for:
Third receives signal and the audio frequency parameter of the 4th reception signal meets the established standards there are at least one,
Determine that the second pronunciation part is normal, the first pronunciation part is abnormal.
Optionally, the determining module is specifically used for:
If it is determined that the audio frequency parameter of the first reception signal and the second reception signal does not meet first hair
The corresponding established standards of sound component, it is determined that the first pronunciation part operation irregularity;
If it is determined that the third receives signal and the audio frequency parameter of the 4th reception signal does not meet second hair
The corresponding established standards of sound component, it is determined that the second pronunciation part operation irregularity;
If it is determined that the audio frequency parameter of the first reception signal does not meet the corresponding established standards of the first pronunciation outbox,
And the audio frequency parameter of the third reception signal meets the corresponding established standards of second pronunciation part, it is determined that described first
Radio reception component operation irregularity;
If it is determined that the audio frequency parameter of the second reception signal does not meet the corresponding established standards of first pronunciation part,
And the audio frequency parameter of the 4th reception signal does not meet the corresponding established standards of second pronunciation part, it is determined that described the
Two radio reception component operation irregularities.
Optionally, first pronunciation part is loudspeaker or receiver, and second pronunciation part is loudspeaker and described
Another pronunciation part in receiver in addition to first pronunciation part;
The first radio reception component is main MIC or secondary MIC, and second pronunciation part is to be removed in the main MIC or secondary MIC
Another radio reception component other than the first radio reception component.
Another embodiment of the present invention provides a kind of test equipment comprising memory and processor, wherein the storage
Device is for storing program instruction, and the processor is for calling the program instruction stored in the memory, according to the journey of acquisition
Sequence executes any of the above-described kind of method.
Another embodiment of the present invention provides a kind of computer storage media, and the computer-readable recording medium storage has
Computer executable instructions, the computer executable instructions are for making the computer execute any of the above-described kind of method.
The embodiment of the present invention provides a kind of audio testing method, including:Pass through the first radio reception component and the second radio reception component
The first test signal that the first pronunciation part is sent out is received, obtain the first radio reception component first receives signal and the second radio reception portion
The second of part receives signal;Signal and second is received according to first and receives the audio frequency parameter of signal, determines the first radio reception component, institute
State the working condition of the second radio reception component and the first pronunciation part.
In this way, after the first pronunciation part sends out the first test signal, it can be according to the first radio reception component and the second radio reception portion
Part, which is respectively received first obtained after first test signal and receives signal and second, receives the audio frequency parameter of signal, determines the
The working condition of one radio reception component, the second radio reception component and the first pronunciation part reduces test and uses without manual testing
When and human cost, improve testing efficiency.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings
His attached drawing.
The system architecture diagram that Fig. 1 is applicable in by audio testing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram corresponding to audio testing method provided in an embodiment of the present invention;
Fig. 3 is the flow signal corresponding to the realization method two of the audio testing method provided in the specific embodiment of the invention
Figure;
Fig. 4 is the structural schematic diagram of audio test device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of test equipment provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
One step it is described in detail, it is clear that described embodiment, only a part of the embodiment of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
Fig. 1 schematically illustrates the applicable system architecture diagram of audio testing method provided in an embodiment of the present invention, such as Fig. 1
Shown, which includes test platform, the radio reception component (loudspeaker and receiver as shown in Figure 1) of terminal device to be measured, hair
Sound component (main MIC and secondary MIC as shown in Figure 1).Arrow shown in Fig. 1 for identify control command, test signal or
Receive the transmission direction of signal.
Wherein, the test platform can be a plurality of types of computer equipments, as desktop computer, laptop,
Tablet computer etc., the present invention is not particularly limited this.When needing to test a certain terminal device to be measured, this can be waited for
It surveys terminal device with test platform to be connected, such as can be connected by USB.It is sent out by receiver for ease of main MIC and secondary MIC receptions
Receiver in the embodiment of the present invention, can be also connected by test signal by external connection line with main MIC, secondary MIC.
Fig. 2 illustrates the flow diagram of audio testing method provided in an embodiment of the present invention, as shown in Fig. 2,
Described method includes following steps S201 to step S202:
Step S201:The first test that the first pronunciation part is sent out is received by the first radio reception component and the second radio reception component
Signal obtains the first of the first radio reception component the second reception signal for receiving signal and the second radio reception component;
Step S202:Signal and described second is received according to described first and receives the audio frequency parameter of signal, determines described the
The working condition of one radio reception component, the second radio reception component and first pronunciation part.
In this way, after the first pronunciation part sends out the first test signal, it can be according to the first radio reception component and the second radio reception portion
Part, which is respectively received first obtained after first test signal and receives signal and second, receives the audio frequency parameter of signal, determines the
The working condition of one radio reception component, the second radio reception component and the first pronunciation part reduces test and uses without manual testing
When and human cost, improve testing efficiency.
It should be noted that audio testing method provided in an embodiment of the present invention can be with the current test method of terminal device
It combines closely.Specifically, the test platform can be the test platform for carrying out testing current to terminal device, when to certain
After the completion of the testing current of one terminal device to be measured, then it can be executed according to the method in above-mentioned steps S201 to step S202 follow-up
Audio-frequency test step.
In the specific implementation of step S201, test platform can be after completing testing current, the ADB of calling platform
(Android Debug Bridge debug bridge) instruction, the first pronunciation part of triggering send out the first test signal.Described first surveys
Trial signal can be setpoint frequency and/or set the audio signal of amplitude, for example, frequency is the audio signal of 1kHz.
Then, after the first radio reception component and the second radio reception component receive first test signal, due to the first test signal
For audio signal, it can be also converted into electroacoustic signal, the first reception signal and second is obtained and receive signal, and they are sent
To test platform.
In the specific implementation of step S202, test platform, which receives first and receives signal and second, receives signal, according to the
One, which receives signal and second, receives the audio frequency parameter of signal, determines the first radio reception component, the second radio reception component and the first pronunciation part
The working condition of part.
Specifically, following 4 kinds of situations may be present in step S202:
If the audio frequency parameter of the first reception signal and the second reception signal meets the established standards of the first pronunciation part,
Indicate that the first radio reception component, the second radio reception component and the first pronunciation part are working properly;
If the audio frequency parameter of the first reception signal meets the established standards of the first pronunciation part, but the second reception signal is not inconsistent
Close the established standards of the first pronunciation part, then it represents that the first radio reception component and the first pronunciation part are working properly, but the second radio reception
Component working is abnormal;
If the audio frequency parameter of the first reception signal does not meet the established standards of the first pronunciation part, but second receives signal symbol
Close the established standards of the first pronunciation part, then it represents that the second radio reception component and the first pronunciation part are working properly, but the first radio reception
Component working is abnormal;
If the audio frequency parameter of the first reception signal and the second reception signal does not meet the established standards of the first pronunciation part,
It then can not accurately determine component of the work at present normally with exception, it may be possible to the first pronunciation part operation irregularity, it is also possible to
First radio reception component and the second radio reception component work at the same time exception, it is also possible to while the first pronunciation part operation irregularity, the
One of in one radio reception component, the second radio reception component or two also operation irregularities.
In order to more accurately determine that the working condition of each pronunciation part and radio reception component, the embodiment of the present invention may also be combined with
The test signal of second pronunciation part come determine jointly it is each pronunciation and radio reception component working condition, in this way, provide following two
Kind concrete implementation mode:
Realization method one:
If it is determined that the first reception signal is received with second after signal do not comply with the established standards of the first pronunciation part, then survey
Examination platform triggers the second pronunciation part and sends out the second test signal.Wherein, the second test signal is alternatively setpoint frequency and/or sets
Determine the audio signal of amplitude, and can be identical as the frequency of the first test signal and/or amplitude or differ, the present invention to this not
Do concrete restriction.
After first radio reception component and the second radio reception component receive second test signal, respectively obtains third and receive signal
Signal is received with the 4th, and sends it to test platform.
In turn, test platform receives signal, the second reception signal, third according to first and receives signal and the 4th and receive signal
Audio frequency parameter, the common work for determining the first radio reception component, the second radio reception component, the first pronunciation part and the second pronunciation part
State.
It is specific as follows:
If the audio frequency parameter of third reception signal and the 4th reception signal meets the established standards of the second pronunciation part,
Indicate that the first radio reception component, the second radio reception component and the second pronunciation part are working properly, but the first pronunciation part operation irregularity;
If the audio frequency parameter of third reception signal meets the established standards of the second pronunciation part, but the 4th reception signal is not inconsistent
Close the established standards of the second pronunciation part, then it represents that the first radio reception component and the second pronunciation part are working properly, but the second radio reception
Component and the first pronunciation part operation irregularity;
If the audio frequency parameter of third reception signal does not meet the established standards of the second pronunciation part, but the 4th receives signal symbol
Close the established standards of the first pronunciation part, then it represents that the second radio reception component and the second pronunciation part are working properly, but the first radio reception
Component and the first pronunciation part operation irregularity;
If the audio frequency parameter of third reception signal and the 4th reception signal does not meet the established standards of the second pronunciation part,
May be then the first pronunciation part and the second pronunciation part works at the same time exception or the first radio reception component and the second radio reception component
Work at the same time exception.
If there are at least one for the audio frequency parameter of third reception signal and the 4th reception signal it can be seen from the above
In the case of the established standards for meeting the second pronunciation part, then it can clearly determine that the second pronunciation part is normal, the first pronunciation part
Part is abnormal.
It should be noted that the first pronunciation part and the second pronunciation part respectively can phases to the established standards of audio frequency parameter
Together, can not also be identical, the present invention is not particularly limited this.
Realization method two:
As a kind of preferred realization method, test platform can send out the first ADB instructions, triggering the in step s 201
One pronunciation part sends out the first test signal.Then, the first radio reception component and the second radio reception component receive first test signal,
Corresponding electroacoustic signal is converted into retransmit to test platform after that is, first receives signal and the second reception signal.
It in turn, can be in step S203 again after test platform determination receives the first reception signal and the second reception signal
Secondary to send out the 2nd ADB instructions, the second pronunciation part of triggering sends out the second test signal.
In this way, the first radio reception component and the second radio reception component receive second test signal, it is converted into corresponding electricity
Acoustical signal, i.e. third receive signal and the 4th and receive signal, and are sent to test platform.
Test platform receives signal and the 4th if it is determined that having received above-mentioned first and receiving signal, the second reception signal, third
After receiving signal, according to their audio frequency parameter, the working condition of each component is determined jointly, it is specific as follows:
If it is determined that the audio frequency parameter of the first reception signal and the second reception signal does not meet first hair
The corresponding established standards of sound component, it is determined that the first pronunciation part operation irregularity;
If it is determined that the third receives signal and the audio frequency parameter of the 4th reception signal does not meet second hair
The corresponding established standards of sound component, it is determined that the second pronunciation part operation irregularity;
If it is determined that the audio frequency parameter of the first reception signal does not meet the corresponding established standards of the first pronunciation outbox,
And the audio frequency parameter of the third reception signal meets the corresponding established standards of second pronunciation part, it is determined that described first
Radio reception component operation irregularity;
If it is determined that the audio frequency parameter of the second reception signal does not meet the corresponding established standards of first pronunciation part,
And the audio frequency parameter of the 4th reception signal does not meet the corresponding established standards of second pronunciation part, it is determined that described the
Two radio reception component operation irregularities.
It should be noted that the first pronunciation part being related in the embodiment of the present invention is loudspeaker or receiver, described second
Pronunciation part is another pronunciation part in addition to first pronunciation part in the loudspeaker and the receiver;
The first radio reception component is the main MIC or secondary MIC, and second pronunciation part is the main MIC or secondary MIC
In another radio reception component in addition to the first radio reception component.
Below using the first pronunciation part as loudspeaker, the second pronunciation part be receiver, the first radio reception component be main MIC, second
Radio reception component is secondary MIC, the method in realization method two by a specific embodiment to illustrate the embodiment of the present invention.
The flow diagram that Fig. 3 is provided by the realization method two of the embodiment of the present invention, as shown in Figure 3:
First, after test platform completes testing current, ADB instructions is sent out, allow sound horn, send out the sound that frequency is 1kHz
Frequency signal, while main MIC, secondary MIC being allowed to start reception task;
After loudspeaker send out audio, main MIC, secondary MIC receive the audio signal, and the signal received is converted to electroacoustic letter
Number, and determine the audio frequency parameter of the electroacoustic signal, such as may include amplitude, frequency.The signal that main MIC, secondary MIC are received
Audio frequency parameter compared with established standards, comply with standard as Y, it is N not to be inconsistent standardization.
After showing that loudspeaker send out audio, main MIC, secondary MIC reception result after, again call ADB instruction, allow receiver to send out
Sound equally sends out the audio signal that frequency is 1kHz.Main MIC, secondary MIC receive the audio signal, and the signal received is turned
It is changed to electroacoustic signal, determines the audio frequency parameter of the electroacoustic signal, such as may include amplitude, frequency.Equally, by main MIC, pair
The audio frequency parameter for the signal that MIC is received is compared with established standards, is complied with standard as Y, and it is N not to be inconsistent standardization.
In order to distinguish each signal that major and minor MIC is received, when loudspeaker being sent out audio below, electricity that main MIC is received
Acoustical signal is denoted as the first reception signal, and the electroacoustic signal that secondary MIC is received is denoted as the second reception signal;When receiver sends out audio,
The electroacoustic signal that main MIC is received is denoted as third and receives signal, and the electroacoustic signal that secondary MIC is received is denoted as the 4th reception signal.
In this way, if the audio frequency parameter of the first reception signal and the second reception signal is unsatisfactory for established standards simultaneously, then it is assumed that
Loudspeaker operation irregularity, i.e. fail;
If the audio frequency parameter that the first reception signal and third receive signal is unsatisfactory for established standards simultaneously, then it is assumed that main MIC
Operation irregularity, i.e. fail;
If the audio frequency parameter of the second reception signal and the 4th reception signal is unsatisfactory for established standards simultaneously, then it is assumed that secondary MIC
Operation irregularity, i.e. fail;
If third receives signal and the audio frequency parameter of the 4th reception signal is unsatisfactory for established standards simultaneously, then it is assumed that receiver work
Make abnormal, i.e. fail.
To can determine that the working condition of loudspeaker, receiver, four main MIC, secondary MIC components.
Based on same inventive concept, the embodiment of the present invention also provides a kind of audio test device, and Fig. 4 is that the present invention is implemented
The structural schematic diagram of a kind of audio test device provided in example, as shown in figure 4, the device 400 includes:
Transceiver module 401, for receiving what the first pronunciation part was sent out by the first radio reception component and the second radio reception component
First test signal obtains the first of the first radio reception component the second reception letter for receiving signal and the second radio reception component
Number;
Determining module 402 receives the audio frequency parameter of signal for receiving signal and described second according to described first, determines
The working condition of the first radio reception component, the second radio reception component and first pronunciation part.
Optionally, the transceiver module 401 is specifically used for:
The second test that the second pronunciation part is sent out is received by the first radio reception component and the second radio reception component
Signal, the third for obtaining the first radio reception component receive the 4th reception signal of signal and the second radio reception component;
The determining module 402 is specifically used for:
Signal, the second reception signal, the third are received according to described first to receive signal and the described 4th and receive
The audio frequency parameter of signal determines the first radio reception component, the second radio reception component, first pronunciation part and described
The working condition of two pronunciation parts.
Optionally, the transceiver module 401 is additionally operable to:
Before the second test signal that the second pronunciation part is sent out being received by the first radio reception component and the second radio reception component,
Determine that the first reception signal and the audio frequency parameter of the second reception signal do not meet established standards.
Optionally, the determining module 402 also particularly useful for:
Third receives signal and the audio frequency parameter of the 4th reception signal meets the established standards there are at least one,
Determine that the second pronunciation part is normal, the first pronunciation part is abnormal.
Optionally, the determining module 402 is specifically used for:
If it is determined that the audio frequency parameter of the first reception signal and the second reception signal does not meet first hair
The corresponding established standards of sound component, it is determined that the first pronunciation part operation irregularity;
If it is determined that the third receives signal and the audio frequency parameter of the 4th reception signal does not meet second hair
The corresponding established standards of sound component, it is determined that the second pronunciation part operation irregularity;
If it is determined that the audio frequency parameter of the first reception signal does not meet the corresponding established standards of the first pronunciation outbox,
And the audio frequency parameter of the third reception signal meets the corresponding established standards of second pronunciation part, it is determined that described first
Radio reception component operation irregularity;
If it is determined that the audio frequency parameter of the second reception signal does not meet the corresponding established standards of first pronunciation part,
And the audio frequency parameter of the 4th reception signal does not meet the corresponding established standards of second pronunciation part, it is determined that described the
Two radio reception component operation irregularities.
Optionally, first pronunciation part is loudspeaker or receiver, and second pronunciation part is loudspeaker and described
Another pronunciation part in receiver in addition to first pronunciation part;
The first radio reception component is main MIC or secondary MIC, and second pronunciation part is to be removed in the main MIC or secondary MIC
Another radio reception component other than the first radio reception component.
Based on same inventive concept, the embodiment of the present invention also provides another test equipment, which specifically may be used
Think desktop computer, portable computer, smart mobile phone, tablet computer, personal digital assistant (Personal Digital
Assistant, PDA) etc..As shown in figure 5, the test equipment 500 may include central processing unit (Center Processing
Unit, CPU) 501, memory 502, input-output apparatus 503 and bus system 504 etc..Wherein, input equipment may include
Keyboard, mouse, touch screen etc., output equipment may include display equipment, such as liquid crystal display (Liquid Crystal
Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) etc..
Memory may include read-only memory (ROM) and random access memory (RAM), and provide storage to processor
The program instruction and data stored in device.In embodiments of the present invention, memory can be used for storing above-mentioned audio testing method
Program.
Processor is by the program instruction for calling memory to store, and processor according to the program instruction of acquisition for executing
State audio testing method.
Based on same inventive concept, an embodiment of the present invention provides a kind of computer storage medias, for being stored as
The computer program instructions used in test equipment are stated, it includes the programs for executing above-mentioned audio testing method.
The computer storage media can be any usable medium or data storage device that computer can access, packet
Include but be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.), optical memory (such as CD, DVD,
BD, HVD etc.) and semiconductor memory (such as it is ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid
State hard disk (SSD)) etc..
By the above it can be seen that:
The embodiment of the present invention provides a kind of audio testing method, including:Pass through the first radio reception component and the second radio reception component
The first test signal that the first pronunciation part is sent out is received, obtain the first radio reception component first receives signal and the second radio reception portion
The second of part receives signal;Signal and second is received according to first and receives the audio frequency parameter of signal, determines the first radio reception component, institute
State the working condition of the second radio reception component and the first pronunciation part.
In this way, after the first pronunciation part sends out the first test signal, it can be according to the first radio reception component and the second radio reception portion
Part, which is respectively received first obtained after first test signal and receives signal and second, receives the audio frequency parameter of signal, determines the
The working condition of one radio reception component, the second radio reception component and the first pronunciation part reduces test and uses without manual testing
When and human cost, improve testing efficiency.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the meter of computer usable program code that the present invention, which can be used at one or more,
The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of sequence product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The function of being specified in present one flow of flow chart or more than two one box of flow and/or block diagram or more than two boxes
Device.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
The manufacture of device is enabled, which realizes in one side of one flow of flow chart or more than two flows and/or block diagram
The function of being specified in frame or more than two boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or more than two flows and/or box
The step of function of being specified in one box of figure or more than two boxes.
Although the alternative embodiment of the present invention has been described, created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as include can
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (9)
1. a kind of audio testing method, which is characterized in that the method is applied to terminal, the method includes:
The first test signal that the first pronunciation part is sent out is received by the first radio reception component and the second radio reception component, is obtained described
The first of first radio reception component receives signal and the second of the second radio reception component and receives signal;
Signal and described second is received according to described first and receives the audio frequency parameter of signal, determines the first radio reception component, institute
State the working condition of the second radio reception component and first pronunciation part.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The second test signal that the second pronunciation part is sent out is received by the first radio reception component and the second radio reception component,
The third for obtaining the first radio reception component receives the 4th reception signal of signal and the second radio reception component;
Signal, the second reception signal, the third are received according to described first to receive signal and the described 4th and receive signal
Audio frequency parameter, determine the first radio reception component, the second radio reception component, first pronunciation part and it is described second hair
The working condition of sound component.
3. according to the method described in claim 2, it is characterized in that, receiving the by the first radio reception component and the second radio reception component
Before the second test signal that two pronunciation parts are sent out, further include:
Determine that the first reception signal and the audio frequency parameter of the second reception signal do not meet established standards.
4. according to the method described in claim 3, it is characterized in that, receiving signal according to described first, second reception is believed
Number, third receive signal and it is described 4th receive signal audio frequency parameter, determine the first radio reception component, second radio reception
The working condition of component, first pronunciation part and second pronunciation part, including:
Third receives signal and the audio frequency parameter of the 4th reception signal meets the established standards there are at least one, determines
Second pronunciation part is normal, and the first pronunciation part is abnormal.
5. according to the method described in claim 2, it is characterized in that, receiving signal according to described first, second reception is believed
Number, the third receive signal and it is described 4th receive signal audio frequency parameter, determine the first radio reception component, described second
The working condition of radio reception component, first pronunciation part and second pronunciation part, including:
If it is determined that the audio frequency parameter of the first reception signal and the second reception signal does not meet first pronunciation part
The corresponding established standards of part, it is determined that the first pronunciation part operation irregularity;
If it is determined that the third receives signal and the audio frequency parameter of the 4th reception signal does not meet second pronunciation part
The corresponding established standards of part, it is determined that the second pronunciation part operation irregularity;
If it is determined that the audio frequency parameter of the first reception signal does not meet the corresponding established standards of the first pronunciation outbox, and institute
The audio frequency parameter for stating third reception signal meets the corresponding established standards of second pronunciation part, it is determined that first radio reception
Component working is abnormal;
If it is determined that the audio frequency parameter of the second reception signal does not meet the corresponding established standards of first pronunciation part, and institute
The audio frequency parameter for stating the 4th reception signal does not meet the corresponding established standards of second pronunciation part, it is determined that described second receives
Sound component operation irregularity.
6. the method according to any one of claims 1 to 5, it is characterized in that, first pronunciation part be loudspeaker or
Receiver, second pronunciation part are another pronunciation part in addition to first pronunciation part in the loudspeaker and the receiver
Part;
The first radio reception component is main MIC or secondary MIC, and second pronunciation part is in the main MIC or secondary MIC except described
Another radio reception component other than first radio reception component.
7. a kind of audio test device, which is characterized in that including:
Transceiver module, for receiving the first test that the first pronunciation part is sent out by the first radio reception component and the second radio reception component
Signal obtains the first of the first radio reception component the second reception signal for receiving signal and the second radio reception component;
Determining module receives the audio frequency parameter of signal for receiving signal and described second according to described first, determines described the
The working condition of one radio reception component, the second radio reception component and first pronunciation part.
8. a kind of test equipment, which is characterized in that including:
Memory, for storing program instruction;
Processor, for calling the program instruction stored in the memory, according to acquisition program execute as claim 1 to
Method described in any one of 6.
9. a kind of computer storage media, which is characterized in that the computer-readable recording medium storage has computer executable
Instruction, the computer executable instructions are for making the computer execute such as side according to any one of claims 1 to 6
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810414926.3A CN108810786A (en) | 2018-05-03 | 2018-05-03 | A kind of audio testing method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810414926.3A CN108810786A (en) | 2018-05-03 | 2018-05-03 | A kind of audio testing method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810786A true CN108810786A (en) | 2018-11-13 |
Family
ID=64094105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810414926.3A Pending CN108810786A (en) | 2018-05-03 | 2018-05-03 | A kind of audio testing method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810786A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111988722A (en) * | 2019-05-22 | 2020-11-24 | 和硕联合科技股份有限公司 | Test audio generation method and analysis method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060039568A1 (en) * | 2004-08-20 | 2006-02-23 | Yi-Bing Lee | Electro acoustic system built-in test and calibration method |
KR20070012097A (en) * | 2005-07-22 | 2007-01-25 | 엘지전자 주식회사 | Self-Test Method of Speaker Path in Stereo Speaker System Phone and Mobile Communication Terminal Using the Same |
CN103167391A (en) * | 2011-12-12 | 2013-06-19 | 英业达股份有限公司 | Audio test system and audio test method of device under test |
CN104243652A (en) * | 2014-09-25 | 2014-12-24 | 南京声准科技有限公司 | Audio self-test method of communication terminals |
CN104780280A (en) * | 2014-01-09 | 2015-07-15 | 纬创资通股份有限公司 | Audio signal detection method and device |
US20160360332A1 (en) * | 2015-06-04 | 2016-12-08 | Samsung Electronics Co., Ltd. | Electronic device and method for controlling input and output by electronic device |
-
2018
- 2018-05-03 CN CN201810414926.3A patent/CN108810786A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060039568A1 (en) * | 2004-08-20 | 2006-02-23 | Yi-Bing Lee | Electro acoustic system built-in test and calibration method |
KR20070012097A (en) * | 2005-07-22 | 2007-01-25 | 엘지전자 주식회사 | Self-Test Method of Speaker Path in Stereo Speaker System Phone and Mobile Communication Terminal Using the Same |
CN103167391A (en) * | 2011-12-12 | 2013-06-19 | 英业达股份有限公司 | Audio test system and audio test method of device under test |
CN103167391B (en) * | 2011-12-12 | 2016-04-13 | 英业达股份有限公司 | Audio test system and audio test method of device under test |
CN104780280A (en) * | 2014-01-09 | 2015-07-15 | 纬创资通股份有限公司 | Audio signal detection method and device |
CN104243652A (en) * | 2014-09-25 | 2014-12-24 | 南京声准科技有限公司 | Audio self-test method of communication terminals |
US20160360332A1 (en) * | 2015-06-04 | 2016-12-08 | Samsung Electronics Co., Ltd. | Electronic device and method for controlling input and output by electronic device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111988722A (en) * | 2019-05-22 | 2020-11-24 | 和硕联合科技股份有限公司 | Test audio generation method and analysis method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112463634B (en) | Software testing method and device under micro-service architecture | |
CN101729635B (en) | Method and device for testing audio loop of communication terminal | |
CN105022687B (en) | The implementation method and device of slide in automatic test scheme | |
CN105487966A (en) | Program testing method, device and system | |
US20220353227A1 (en) | Message processing method, apparatus and electronic device | |
CN109542777A (en) | A kind of method for testing pressure, device and readable medium | |
CN107276688B (en) | Radio frequency interference processing method, device, storage medium and mobile terminal | |
CN106951361A (en) | SDK method of testing and its device, test system | |
CN111225285A (en) | Bluetooth device display name modification and display method, device, equipment and medium | |
CN105988925A (en) | Method, device and system for testing start-up time of application program | |
CN105468504A (en) | Program test method and device | |
CN102752059A (en) | Automatic equipment test method and system | |
CN109379690A (en) | Earphone quality detecting method, device and computer readable storage medium | |
CN108810786A (en) | A kind of audio testing method, device and equipment | |
CN110517708B (en) | Audio processing method and device and computer storage medium | |
CN114489989A (en) | Method and system for parallel scheduling based on proxy client | |
CN103927197A (en) | Method And Apparatus For Executing Application Program In Electronic Device | |
CN105242900A (en) | Audio parameter adjustment method and device for mobile device | |
CN107391361A (en) | A kind of POS terminal automatic test approach and device | |
CN116150029A (en) | Automatic overdue batch testing method and device for loan system | |
CN113434423B (en) | Interface testing method and device | |
CN115880067A (en) | Transaction abnormal data processing method and device | |
US10783020B2 (en) | Method for invoking component, and terminal | |
CN114945188A (en) | Bluetooth device testing method and device, electronic device and readable storage medium | |
CN107957899A (en) | Record screen method, apparatus, computer-readable recording medium and a kind of mobile 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |