CN103079161A - Method and system for testing audio port of handheld equipment - Google Patents

Method and system for testing audio port of handheld equipment Download PDF

Info

Publication number
CN103079161A
CN103079161A CN2012105556448A CN201210555644A CN103079161A CN 103079161 A CN103079161 A CN 103079161A CN 2012105556448 A CN2012105556448 A CN 2012105556448A CN 201210555644 A CN201210555644 A CN 201210555644A CN 103079161 A CN103079161 A CN 103079161A
Authority
CN
China
Prior art keywords
audio signal
checking data
test
handheld device
data
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
CN2012105556448A
Other languages
Chinese (zh)
Other versions
CN103079161B (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.)
Yinjie Nico Fujian Technology Co ltd
Original Assignee
Fujian Landi Commercial Equipment 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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201210555644.8A priority Critical patent/CN103079161B/en
Publication of CN103079161A publication Critical patent/CN103079161A/en
Application granted granted Critical
Publication of CN103079161B publication Critical patent/CN103079161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for testing an audio port of handheld equipment. The method comprises the hollowing steps of: modulating initial checkout data, generating a test audio signal on the basis of the initial checkout data, sequentially outputting the test audio signal to the test equipment through a left channel and a right channel of the audio port and recording the initial checkout data by the handheld equipment; respectively generating a first audio signal and a second audio signal on the basis of the sequentially-received test audio signal and sequentially transmitting the first audio signal and the second audio signal to the handheld equipment by test equipment; and receiving the first audio signal and the second audio signal through a microphone channel, demodulating the first audio signal and the second audio signal which are sequentially received to respectively generate first checkout data and second checkout data and judging whether a corresponding channel of the audio port is normal or not by comparing whether the initial checkout data are consistent with the first checkout data or not and comparing whether the initial checkout data are consistent with the second checkout data or not by the handheld equipment.

Description

Handheld device audio port method of testing and system
Technical field
The present invention relates to handheld device manufacturing, field tests, relate in particular to a kind of handheld device audio port method of testing and system.
Background technology
Present mobile phone production field, after forming complete machine, mobile phone usually need to carry out the performance test of audio port, but the Performance Detection of audio port judges manually by plugged earphone whether earphone left and right acoustic channels and microphone channel be good often in the prior art, such method of testing inefficiency, and owing to affected by people's subjective factor and probably cause test result inaccurate.In view of this, be necessary to provide a kind of automatic test approach of audio port, avoid above-mentioned phenomenon.
Summary of the invention
The technical problem that the present invention mainly solves provides a kind of handheld device audio port method of testing and system, in order to realize the automatic test of handheld device audio port.
For addressing the above problem, a kind of technical scheme that the present invention adopts is: a kind of handheld device audio port method of testing is provided, comprises:
Handheld device is modulated initial checking data, generates test audio signal based on described initial checking data, and successively exports described test audio signal by L channel, the R channel of audio port to described testing equipment, and record described initial checking data;
Described testing equipment generates respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sends the first audio signal, the second audio signal first;
Described handheld device receives described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to comparison described initial checking data and the first checking data, all judge in the situation normally in the corresponding sound channel of the described audio port of judgement and to test successfully.
Wherein, described " generate respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sending the first audio signal, the second audio signal first " comprising:
The described test audio signal of demodulation obtains the first checking data and the second checking data;
Described the first checking data, the second checking data are modulated in the mode that handheld device is modulated initial checking data respectively, generate the first modulating data, the second modulating data, and generate the first audio signal, generate the second audio signal based on described the second modulating data based on described the first modulating data;
Backward described handheld device sends described the first audio signal, the second audio signal first.
Wherein, handheld device audio port method of testing is modulated described initial checking data, the first checking data, the second checking data according to the current amplitude that arranges by FSK or PSK mode.
Wherein, handheld device audio port method of testing also comprises: described handheld device records current result of determination, the test success rate of calculating under current amplitude, and whether determine the sensitivity of microphone of described audio port greater than first threshold according to current test success rate.
Wherein, whether determine that greater than first threshold the sensitivity of microphone of described audio port comprises according to current test success rate:
Judge whether current test success rate is not more than first threshold;
If not, then determine the sensitivity of the microphone of described audio port with the volume of described test audio signal;
If, then progressively turn the amplitude that FSK or PSK arrange down, obtain current amplitude, according to current amplitude described initial checking data is modulated, and continued to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
Wherein, handheld device audio port method of testing also comprises: whether normally described handheld device shows described audio port result of determination.
For addressing the above problem, the another kind of technical scheme that the present invention adopts is: a kind of handheld device audio port test macro is provided, comprise: handheld device and testing equipment, described handheld device comprises test data sending module and checking data comparing module, and described testing equipment comprises the test data receiver module;
Described test data sending module, be used for modulating initial checking data, generate test audio signal based on described initial checking data, and successively export described test audio signal by L channel, the R channel of audio port to described testing equipment, and record described initial checking data;
Described test data receiver module be used for generating respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sends the first audio signal, the second audio signal first;
Described checking data comparing module, be used for receiving described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to comparison described initial checking data and the first checking data, all judge in the situation normally in the corresponding sound channel of the described audio port of judgement and to test successfully.
Wherein, described test data receiver module comprises:
Demodulating unit is used for the described test audio signal of demodulation, obtains the first checking data and the second checking data;
Modulating unit, be used for described the first checking data, the second checking data are modulated in the mode that handheld device is modulated initial checking data respectively, generate the first modulating data, the second modulating data, and generate the first audio signal, generate the second audio signal based on described the second modulating data based on described the first modulating data;
Transmitting element, being used for first, backward described handheld device sends described the first audio signal, the second audio signal.
Described test data sending module is modulated described initial checking data by FSK or PSK mode, and described test data receiver module is modulated described the first checking data and the second checking data by FSK or PSK mode.
Wherein, handheld device audio port test macro also comprises the Sensitivity determination module, be used for recording current result of determination, calculate the test success rate under current amplitude, and whether determine the sensitivity of microphone of described audio port according to current test success rate greater than first threshold.
Wherein, described Sensitivity determination module also comprises:
Judging unit is used for judging whether current test success rate is not more than first threshold;
The first identifying unit is used for determining the sensitivity of the microphone of described audio port with the volume of described test audio signal in the situation of current test success rate greater than described first threshold;
The second identifying unit, be used for being not more than in the situation of described first threshold in current test success rate, progressively turn the amplitude that FSK or PSK arrange down, obtain current amplitude, according to current amplitude described initial checking data is modulated, and continued to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
Wherein, handheld device audio port test macro also comprises: whether normally display module is used for showing described audio port result of determination.
The invention has the beneficial effects as follows: the method for testing inefficiency that is different from prior art, and owing to affected by people's subjective factor and probably cause test result inaccurate, the invention provides a kind of handheld device audio port method of testing and system, by in the audio signal of simulation, modulating checking data, and whether the checking data of comparison transmitting-receiving is identical judges whether the audio port of handheld device is normal, realizes the automatic test of handheld device audio port.
Description of drawings
Fig. 1 is handheld device audio port method of testing flow chart in an embodiment of the present invention;
Fig. 2 is the part flow chart of handheld device audio port method of testing in the specific embodiment;
Fig. 3 is the module map of handheld device audio port test macro in an embodiment of the present invention;
Fig. 4 is the structure chart of handheld device audio port test macro in the present invention's one specific embodiment;
Fig. 5 is the module map of handheld device in the present invention's one specific embodiment;
Fig. 6 is handheld device audio port method of testing flow chart in another execution mode of the present invention;
Fig. 7 is the module map of handheld device audio port test macro in another execution mode of the present invention.
Embodiment
By describing technology contents of the present invention, structural feature in detail, realized purpose and effect, below in conjunction with execution mode and cooperate that accompanying drawing is detailed to give explanation.
For further explaining technical scheme of the present invention, the applicant explains first the technical terms of using in the present specification.
FSK(Frequency-shift keying): frequency shift keying is to utilize the frequency change of carrier wave to come transmitting digital information.It is to utilize the discrete value characteristics of baseband digital signal to go the keyed carrier frequency with a kind of digital modulation technique of transmission of information.
PSK(phase-shift keying): phase shift keying be utilize time-discrete modulation signal each significant condition all by the specific poor angle modulated that represents between the carrier phase before the phase place of modulated signal and the modulation.
Main invention thinking of the present invention is: handheld device has sent once ovennodulation the audio signal of checking data by the backward testing equipment of left and right acoustic channels elder generation, receive again audio signal after the device processes after tested (equally through ovennodulation checking data), and the checking data of comparison transmitting-receiving is whether identical judges whether the audio port of handheld device is normal.This test process is artificial the participation not, finishes whole flow process fully in equipment, can realize the automatic test of handheld device audio port.The present invention carries out in the normal situation of microphone channel performance of audio port.
See also Fig. 1 and Fig. 2, present embodiment provides a kind of handheld device audio port method of testing, as shown in Figure 1, at step S101, handheld device is modulated initial checking data, generate test audio signal based on described initial checking data, and successively export described test audio signal by L channel, the R channel of audio port to described testing equipment, and record described initial checking data.In specific embodiment, handheld device is exported test audio signal by the L channel of audio port to testing equipment first, exports test audio signal by R channel to testing equipment again.In other embodiment, the order interchangeable of left and right acoustic channels when handheld device sends test audio signal.
At step S102, described testing equipment generates respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sends the first audio signal, the second audio signal first.In specific embodiment, when handheld device is also exported test audio signal by R channel to testing equipment by the L channel of audio port to testing equipment output test audio signal first again, what the first audio signal was corresponding is the test audio signal that sends by L channel, and what the second audio signal was corresponding is the test audio signal that sends by R channel.
At step S103, described handheld device receives described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to the described initial checking data of comparison and the first checking data.
In the present invention, this method is by FSK or PSK mode described initial checking data, the first checking data, the second checking data to be modulated, and the used modulation-demodulation technique of testing equipment and handheld device is the same.This method is by modulating checking data in the audio signal of simulation, and the checking data of comparison transmitting-receiving whether the corresponding sound channel of the identical audio port of judging handheld device normal, thereby realize the automatic test of handheld device audio port.This test process is artificial the participation not, finishes whole flow process fully in equipment, can realize the automatic test of handheld device audio port, and test result is more objective and accurate.
In an above-mentioned specific embodiment, when step S101 handheld device " was exported test audio signal by the L channel of audio port to testing equipment first; export test audio signal by R channel to testing equipment again ", step S103 specifically comprised S1031 and S1032.
At step S1031, whether equally the handheld device comparison also judges described initial checking data, the first checking data; If described initial checking data, the first checking data are just the same, judge that then the L channel performance of audio port of handheld device is normal; If described initial checking data, the first checking data are different, then judge the L channel property abnormality of the audio port of handheld device.
At step S1032, whether equally the handheld device comparison also judges described initial checking data, the second checking data; If described initial checking data, the second checking data are just the same, judge that then the R channel performance of audio port of handheld device is normal; If described initial checking data, the second checking data are different, then judge the R channel property abnormality of the audio port of handheld device.
Step S103 the left and right acoustic channels performance of judging audio port all normal situation judge that this test result is success.
In another embodiment of the present invention, also comprise step S104 after the handheld device audio port method of testing S103: whether normally described handheld device shows described audio port result of determination.Concrete, in one embodiment, handheld device shows result of determination by display screen, or points out result of determination by sound.In a further embodiment, handheld device is sent to other equipment with concrete result of determination by FPDP and shows.
In present embodiment embodiment as shown in Figure 2, " generate respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sending the first audio signal, the second audio signal first " among the step S103 comprising:
S201, the described test audio signal of demodulation obtain the first checking data and the second checking data.
S202, described the first checking data, the second checking data are modulated in the mode that handheld device is modulated initial checking data respectively, generate the first modulating data, the second modulating data, and generate the first audio signal, generate the second audio signal based on described the second modulating data based on described the first modulating data.
S203, the backward described handheld device of elder generation send described the first audio signal, the second audio signal.
In said process, can also obtain the first audio signal, the second audio signal by another kind of execution mode, mainly comprise:
The described test audio signal of demodulation obtains the first checking data;
Modulate the mode of initial checking data with testing equipment and modulate the first check information, generate the first modulating data, generate the first audio signal based on described the first modulating data;
Record described the first audio signal, generate the second audio signal.
See also Fig. 3, corresponding with said method, present embodiment also provides a kind of handheld device audio port test macro, comprise: handheld device 301 and testing equipment 302, described handheld device 301 comprises test data sending module 3011 and checking data comparing module 3012, and described testing equipment 302 comprises test data receiver module 3021.
Described test data sending module 3011, be used for modulating initial checking data, generate test audio signal based on described initial checking data, and successively export described test audio signal to described testing equipment 302, and record described initial checking data by L channel, the R channel of audio port.
Described test data receiver module 3021 is used for generating respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and first backward handheld device 301 sends the first audio signal, the second audio signal.
Described checking data comparing module 3012, be used for receiving described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to the described initial checking data of comparison and the first checking data.
In the present invention, native system is by FSK or PSK mode described initial checking data, the first checking data, the second checking data to be modulated.Concrete, described test data sending module 3011 is modulated described initial checking data by FSK or PSK mode, and described test data receiver module 3021 is modulated described the first checking data, the second checking data by FSK or PSK mode.
In above-mentioned specific embodiment, test data sending module 3011 is exported test audio signal by the L channel of audio port to testing equipment first, exports test audio signal by R channel to testing equipment again.Test data receiver module 3021 generates respectively the first audio signal of corresponding L channel and the second audio signal of corresponding R channel, and then successively by microphone channel to testing equipment 302 first audio signals the second audio signal.Whether normal decision sub-module mainly comprises for the corresponding sound channel of judging described audio port in the checking data comparing module 3012: subelement and the second judgement subelement are judged in the first comparer unit, the second comparer unit, first.
The first comparer unit is used for comparison and whether equally judges described initial checking data, the first checking data.
First judges subelement, normal for the L channel performance of the audio port of judging handheld device 301 when initial checking data, when the first checking data is just the same; And, judge the L channel property abnormality of the audio port of handheld device 301 when described initial checking data, when the first checking data is different.
The second comparer unit is used for comparison and whether equally judges described initial checking data, the second checking data.
Second judges subelement, normal for the R channel performance of the audio port of judging handheld device 301 when initial checking data, when the second checking data is just the same; And, judge the R channel property abnormality of the audio port of handheld device 301 when described initial checking data, when the second checking data is different.
Judging that when checking data comparing module 3012 the left and right acoustic channels performance of audio port of handheld device 301 all in the normal situation, judges and this time test successfully that the audio port of handheld device 301 can normally use.
In embodiment as shown in Figure 4, native system comprises: testing equipment 402 and handheld device 401, and wherein, testing equipment 402 can be identified as a Headphone device by handheld device 401, and both connect by this Headphone device.When testing equipment 402 by this Headphone device with after handheld device 401 is connected, testing equipment 402 can be sent an off hook signal automatically verifying the handoff functionality of handheld device 401, thus whether audio port that can preliminary judgement handheld device 401 normal.
In embodiment as shown in Figure 5, testing equipment 50 mainly comprises: controller, audio signal receiver module 501, demodulation submodule 502, modulation submodule 503 and audio signal sending module 504.
Audio signal receiver module 501 is used for receiving the audio signal that handheld device sends.
Demodulation submodule 502 is used for that audio signal is carried out demodulation and obtains checking data.
Modulation submodule 503 is used for the data after processing through demodulation submodule 502 are modulated, and modulating the used modulation technique of the used modulation technique of submodule 503 and handheld device this moment is the same technology.
Audio signal sending module 504 is used for the data after modulation submodule 503 is processed are converted to audio signal and this audio signal is sent to handheld device.
In a specific embodiment, audio signal receiver module 501 successively receives the test video signal that is transmitted by the handheld device left and right acoustic channels.The demodulation submodule 502 respectively described test audio signal of demodulation obtains the first checking data and the second checking data, wherein, carry the test audio signal of the first checking data by the L channel transmission of handheld device audio port, carry the test audio signal of the second checking data by the R channel transmission of handheld device audio port.Modulation submodule 503 is modulated the first checking data, the second checking data with the modulation technique identical with handheld device, generates respectively the second modulating data that carries the first modulating data of the first checking data and carry the second checking data.Audio signal sending module 504 generates the first audio signal and generates the second audio signal based on the second modulating data based on described the first modulating data, and then successively play the first audio signal, the second audio signal, send this two audio signals to handheld device.
Whether normally in another embodiment, said system also comprises display module, be used for showing described audio port result of determination.Concrete, in one embodiment, handheld device shows result of determination by display screen, or points out result of determination by sound.In a further embodiment, handheld device is sent to other equipment with concrete result of determination by FPDP and shows.
See also Fig. 6, present embodiment provides a kind of handheld device audio port method of testing, at step S601, handheld device is modulated initial checking data, generate test audio signal based on described initial checking data, and successively export described test audio signal by L channel, the R channel of audio port to described testing equipment, and record described initial checking data.In specific embodiment, handheld device is exported test audio signal by the L channel of audio port to testing equipment first, exports test audio signal by R channel to testing equipment again.In other embodiment, the order interchangeable of left and right acoustic channels when handheld device sends test audio signal.
At step S602, described testing equipment generates respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sends the first audio signal, the second audio signal first.In specific embodiment, when handheld device is also exported test audio signal by R channel to testing equipment by the L channel of audio port to testing equipment output test audio signal first again, what the first audio signal was corresponding is the test audio signal that sends by L channel, and what the second audio signal was corresponding is the test audio signal that sends by R channel.
At step S603, described handheld device receives described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to the described initial checking data of comparison and the first checking data.
At step S604, described handheld device records current result of determination, calculates the test success rate under current amplitude, and whether determines the sensitivity of microphone of described audio port greater than first threshold according to current test success rate.In specific embodiment, step S604 " whether determining the sensitivity of microphone of described audio port according to current test success rate greater than first threshold " mainly comprises S6041 and S6042.
At step S6041, judge whether current test success rate is not more than first threshold.
At step S6042, if not, then determine the sensitivity of the microphone of described audio port with the volume of described test audio signal;
If, then progressively turn the amplitude that FSK or PSK arrange down, obtain current amplitude, S601 is modulated described initial checking data according to current amplitude, and continue to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
In the present invention, this method is by FSK or PSK mode described initial checking data, the first checking data, the second checking data to be modulated, and the used modulation-demodulation technique of testing equipment and handheld device is the same.This method is by modulating checking data in the audio signal of simulation, and the checking data of comparison transmitting-receiving whether the corresponding sound channel of the identical audio port of judging handheld device normal, thereby realize the automatic test of handheld device audio port.This test process is artificial the participation not, finishes whole flow process fully in equipment, can realize the automatic test of handheld device audio port, and test result is more objective and accurate.
In an above-mentioned specific embodiment, when step S601 handheld device " was exported test audio signal by the L channel of audio port to testing equipment first; export test audio signal by R channel to testing equipment again ", step S603 specifically comprised S6031 and S6032.
At step S6031, whether equally the handheld device comparison also judges described initial checking data, the first checking data; If described initial checking data, the first checking data are just the same, judge that then the L channel performance of audio port of handheld device is normal; If described initial checking data, the first checking data are different, then judge the L channel property abnormality of the audio port of handheld device.
At step S6032, whether equally the handheld device comparison also judges described initial checking data, the second checking data; If described initial checking data, the second checking data are just the same, judge that then the R channel performance of audio port of handheld device is normal; If described initial checking data, the second checking data are different, then judge the R channel property abnormality of the audio port of handheld device.
Step S603 the left and right acoustic channels performance of judging audio port all normal situation judge that this test result is success.
In present embodiment embodiment as shown in Figure 2, " generate respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sending the first audio signal, the second audio signal first " among the step S603 comprising:
The described test audio signal of demodulation obtains the first checking data and the second checking data.
Described the first checking data, the second checking data are modulated in the mode that handheld device is modulated initial checking data respectively, generate the first modulating data, the second modulating data, and generate the first audio signal, generate the second audio signal based on described the second modulating data based on described the first modulating data.
Backward described handheld device sends described the first audio signal, the second audio signal first.
In said process, can also obtain the first audio signal, the second audio signal by another kind of execution mode, mainly comprise:
The described test audio signal of demodulation obtains the first checking data;
Modulate the mode of initial checking data with testing equipment and modulate the first check information, generate the first modulating data, generate the first audio signal based on described the first modulating data;
Record described the first audio signal, generate the second audio signal.
In another embodiment, said method also comprises step S905: whether normally described handheld device shows described audio port result of determination.Concrete, in one embodiment, handheld device shows result of determination by display screen, or points out result of determination by sound.In a further embodiment, handheld device is sent to other equipment with concrete result of determination by FPDP and shows.In the present embodiment, step S904 and step S905 also can carry out in no particular order simultaneously.
See also Fig. 7, corresponding with said method, present embodiment also provides a kind of handheld device audio port test macro, comprise: handheld device 701 and testing equipment 702, described handheld device 701 comprises test data sending module 7011, checking data comparing module 7012 and Sensitivity determination module 7013, and described testing equipment 702 comprises test data receiver module 7021.
Described test data sending module 7011, be used for modulating initial checking data, generate test audio signal based on described initial checking data, and successively export described test audio signal to described testing equipment 702, and record described initial checking data by L channel, the R channel of audio port.
Described test data receiver module 7021 is used for generating respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and first backward handheld device 701 sends the first audio signal, the second audio signal.
Described checking data comparing module 7012, be used for receiving described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to the described initial checking data of comparison and the first checking data.
Described Sensitivity determination module 7013 is used for recording current result of determination, calculates the test success rate under current amplitude, and whether determines the sensitivity of microphone of described audio port greater than first threshold according to current test success rate.Concrete, Sensitivity determination module 7013 mainly comprises judging unit, the first identifying unit and the second identifying unit.
Judging unit is used for judging whether current test success rate is not more than first threshold.
The first identifying unit is used for determining the sensitivity of the microphone of described audio port with the volume of described test audio signal in the situation of current test success rate greater than described first threshold.
The second identifying unit, be used for being not more than in the situation of described first threshold in current test success rate, progressively turn the amplitude that FSK or PSK arrange down, obtain current amplitude, according to current amplitude described the first checking data is modulated, and continued to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
In the present invention, native system is by FSK or PSK mode described initial checking data, the first checking data, the second checking data to be modulated.Concrete, described test data sending module 7011 is modulated described initial checking data by FSK or PSK mode, and described test data receiver module 7021 is modulated described the first checking data, the second checking data by FSK or PSK mode.
In above-mentioned specific embodiment, test data sending module 7011 is exported test audio signal by the L channel of audio port to testing equipment first, exports test audio signal by R channel to testing equipment again.Test data receiver module 7021 generates respectively the first audio signal of corresponding L channel and the second audio signal of corresponding R channel, and then successively by microphone channel to testing equipment 702 first audio signals the second audio signal.Whether normal decision sub-module mainly comprises for the corresponding sound channel of judging described audio port in the checking data comparing module 7012: subelement and the second judgement subelement are judged in the first comparer unit, the second comparer unit, first.
The first comparer unit is used for comparison and whether equally judges described initial checking data, the first checking data.
First judges subelement, normal for the L channel performance of the audio port of judging handheld device 701 when initial checking data, when the first checking data is just the same; And, judge the L channel property abnormality of the audio port of handheld device 701 when described initial checking data, when the first checking data is different.
The second comparer unit is used for comparison and whether equally judges described initial checking data, the second checking data.
Second judges subelement, normal for the R channel performance of the audio port of judging handheld device 701 when initial checking data, when the second checking data is just the same; And, judge the R channel property abnormality of the audio port of handheld device 701 when described initial checking data, when the second checking data is different.
Judging that when checking data comparing module 7012 the left and right acoustic channels performance of audio port of handheld device 701 all in the normal situation, judges and this time test successfully that the audio port of handheld device 701 can normally use.
The result of determination of Sensitivity determination module 7013 record checking data comparing module 7012, and the test success rate of calculating under current amplitude.At this moment, whether the test success rate that judgment unit judges Sensitivity determination module 7013 is calculated is not more than first threshold: if not, then control the first identifying unit is determined the microphone of described audio port with the volume of described test audio signal sensitivity; If, then control the amplitude that the second identifying unit is progressively turned FSK or PSK setting down, obtain current amplitude.The second identifying unit triggers test data sending module 7011 and according to current amplitude described initial checking data is modulated, and continues to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
In above-mentioned specific embodiment, native system comprises: testing equipment 702 and handheld device 701, and wherein, testing equipment 702 can be identified as a Headphone device by handheld device 701, and both connect by this Headphone device.When testing equipment 702 by this Headphone device with after handheld device 701 is connected, testing equipment 702 can be sent an off hook signal automatically verifying the handoff functionality of handheld device 701, thus whether audio port that can preliminary judgement handheld device 701 normal.
In the above-described embodiments, testing equipment 702 mainly comprises: controller, audio signal receiver module, demodulation submodule, modulation submodule and audio signal sending module.
The audio signal receiver module is used for receiving the audio signal that handheld device 701 sends.
The demodulation submodule is used for that audio signal is carried out demodulation and obtains checking data.
The modulation submodule is used for the data after the demodulation submodule is processed are modulated, and modulating the used modulation technique of the used modulation technique of submodule and handheld device this moment is the same technology.
The audio signal sending module is used for the data after the modulation submodule is processed are converted to audio signal and this audio signal is sent to handheld device 701.
In a specific embodiment, the audio signal receiver module successively receives the test video signal that is transmitted by handheld device 701 left and right acoustic channels.The demodulation submodule respectively described test audio signal of demodulation obtains the first checking data and the second checking data, wherein, carry the test audio signal of the first checking data by the L channel transmission of handheld device 701 audio ports, carry the test audio signal of the second checking data by the R channel transmission of handheld device 701 audio ports.The modulation submodule is modulated the first checking data, the second checking data with the modulation technique identical with handheld device, generates respectively the second modulating data that carries the first modulating data of the first checking data and carry the second checking data.The audio signal sending module generates the first audio signal and generates the second audio signal based on the second modulating data based on described the first modulating data, and then successively play the first audio signal, the second audio signal, send these two audio signals to handheld device 701.
Whether normally in another embodiment, said system also comprises display module, be used for showing described audio port result of determination.Concrete, in one embodiment, handheld device 701 shows result of determination by display screen, or points out result of determination by sound.In a further embodiment, handheld device 701 is sent to other equipment with concrete result of determination by FPDP and shows.
The invention has the beneficial effects as follows: the method for testing inefficiency that is different from prior art, and owing to affected by people's subjective factor and probably cause test result inaccurate, the invention provides a kind of handheld device audio port method of testing and system, by in the audio signal of simulation, modulating checking data, and whether the checking data of comparison transmitting-receiving is identical judges whether the audio port of handheld device is normal, realizes the automatic test of handheld device audio port.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (12)

1. a handheld device audio port method of testing is characterized in that, comprising:
Handheld device is modulated initial checking data, generates test audio signal based on described initial checking data, and successively exports described test audio signal by L channel, the R channel of audio port to described testing equipment, and record described initial checking data;
Described testing equipment generates respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sends the first audio signal, the second audio signal first;
Described handheld device receives described the first audio signal, the second audio signal by microphone channel, the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to comparison described initial checking data and the first checking data, all judge in the situation normally in the corresponding sound channel of the described audio port of judgement and to test successfully.
2. handheld device audio port method of testing according to claim 1, it is characterized in that, described " generate respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sending the first audio signal, the second audio signal first " comprising:
The described test audio signal of demodulation obtains the first checking data and the second checking data;
Described the first checking data, the second checking data are modulated in the mode that handheld device is modulated initial checking data respectively, generate the first modulating data, the second modulating data, and generate the first audio signal, generate the second audio signal based on described the second modulating data based on described the first modulating data;
Backward described handheld device sends described the first audio signal, the second audio signal first.
3. handheld device audio port method of testing according to claim 1 and 2 is characterized in that: described initial checking data, the first checking data, the second checking data are modulated according to the current amplitude that arranges by FSK or PSK mode.
4. handheld device audio port method of testing according to claim 3 is characterized in that, also comprises:
Described handheld device records current result of determination, calculates the test success rate under current amplitude, and whether determines the sensitivity of microphone of described audio port greater than first threshold according to current test success rate.
5. handheld device audio port method of testing according to claim 4 is characterized in that, whether determines that greater than first threshold the sensitivity of microphone of described audio port comprises according to current test success rate:
Judge whether current test success rate is not more than first threshold;
If not, then determine the sensitivity of the microphone of described audio port with the volume of described test audio signal;
If, then progressively turn the amplitude that FSK or PSK arrange down, obtain current amplitude, according to current amplitude described initial checking data is modulated, and continued to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
6. handheld device audio port method of testing according to claim 1 is characterized in that, also comprises: whether normally described handheld device shows described audio port result of determination.
7. a handheld device audio port test macro is characterized in that, comprising: handheld device and testing equipment, described handheld device comprise test data sending module and checking data comparing module, and described testing equipment comprises the test data receiver module;
Described test data sending module, be used for modulating initial checking data, generate test audio signal based on described initial checking data, and successively export described test audio signal by L channel, the R channel of audio port to described testing equipment, and record described initial checking data;
Described test data receiver module be used for generating respectively the first audio signal and the second audio signal based on the test audio signal that successively receives, and backward handheld device sends the first audio signal, the second audio signal first;
Described checking data comparing module, be used for receiving described the first audio signal, the second audio signal by microphone channel, and the first audio signal of successively receiving and the second audio signal are carried out demodulation generate respectively the first checking data and the second checking data, and whether the same and compare initial checking data and whether the second checking data judges equally whether the corresponding sound channel of described audio port is normal according to comparison described initial checking data and the first checking data, all judge in the situation normally in the corresponding sound channel of the described audio port of judgement and to test successfully.
8. handheld device audio port test macro according to claim 7 is characterized in that, described test data receiver module comprises:
Demodulating unit is used for the described test audio signal of demodulation, obtains the first checking data and the second checking data;
Modulating unit, be used for described the first checking data, the second checking data are modulated in the mode that handheld device is modulated initial checking data respectively, generate the first modulating data, the second modulating data, and generate the first audio signal, generate the second audio signal based on described the second modulating data based on described the first modulating data;
Transmitting element, being used for first, backward described handheld device sends described the first audio signal, the second audio signal.
9. according to claim 7 or 8 described handheld device audio port test macros, it is characterized in that: described test data sending module is modulated described initial checking data by FSK or PSK mode, and described test data receiver module is modulated described the first checking data and the second checking data by FSK or PSK mode.
10. handheld device audio port test macro according to claim 9, it is characterized in that, also comprise: the Sensitivity determination module, be used for recording current result of determination, the test success rate of calculating under current amplitude, and whether determine the sensitivity of microphone of described audio port greater than first threshold according to current test success rate.
11. handheld device audio port test macro according to claim 10 is characterized in that, described Sensitivity determination module also comprises:
Judging unit is used for judging whether current test success rate is not more than first threshold;
The first identifying unit is used for determining the sensitivity of the microphone of described audio port with the volume of described test audio signal in the situation of current test success rate greater than described first threshold;
The second identifying unit, be used for being not more than in the situation of described first threshold in current test success rate, progressively turn the amplitude that FSK or PSK arrange down, obtain current amplitude, according to current amplitude described initial checking data is modulated, and continued to have sent through ovennodulation the test audio signal of initial checking data to testing equipment.
12. handheld device audio port test macro according to claim 7 is characterized in that, also comprises: whether normally display module is used for showing described audio port result of determination.
CN201210555644.8A 2012-12-18 2012-12-18 Method and system for testing audio port of handheld equipment Active CN103079161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210555644.8A CN103079161B (en) 2012-12-18 2012-12-18 Method and system for testing audio port of handheld equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210555644.8A CN103079161B (en) 2012-12-18 2012-12-18 Method and system for testing audio port of handheld equipment

Publications (2)

Publication Number Publication Date
CN103079161A true CN103079161A (en) 2013-05-01
CN103079161B CN103079161B (en) 2015-04-01

Family

ID=48155548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210555644.8A Active CN103079161B (en) 2012-12-18 2012-12-18 Method and system for testing audio port of handheld equipment

Country Status (1)

Country Link
CN (1) CN103079161B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618988A (en) * 2013-12-10 2014-03-05 惠州市德赛西威汽车电子有限公司 Sound track detection device and method
CN106686511A (en) * 2016-11-15 2017-05-17 歌尔股份有限公司 Earphone function testing method and testing system
CN108064347A (en) * 2017-11-28 2018-05-22 福建联迪商用设备有限公司 The audio pin test method and test device of communication module
CN109168120A (en) * 2018-11-16 2019-01-08 深圳市爱培科技术股份有限公司 A kind of loudspeaker and microphone test method, intelligent terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070005350A (en) * 2005-07-06 2007-01-10 주식회사 현대오토넷 Endurance test apparatus for audio
JP2009055153A (en) * 2007-08-24 2009-03-12 Yokogawa Electric Corp Cellular phone tester and test method of cellular phone
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070005350A (en) * 2005-07-06 2007-01-10 주식회사 현대오토넷 Endurance test apparatus for audio
JP2009055153A (en) * 2007-08-24 2009-03-12 Yokogawa Electric Corp Cellular phone tester and test method of cellular phone
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618988A (en) * 2013-12-10 2014-03-05 惠州市德赛西威汽车电子有限公司 Sound track detection device and method
CN106686511A (en) * 2016-11-15 2017-05-17 歌尔股份有限公司 Earphone function testing method and testing system
CN108064347A (en) * 2017-11-28 2018-05-22 福建联迪商用设备有限公司 The audio pin test method and test device of communication module
CN109168120A (en) * 2018-11-16 2019-01-08 深圳市爱培科技术股份有限公司 A kind of loudspeaker and microphone test method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN103079161B (en) 2015-04-01

Similar Documents

Publication Publication Date Title
US20090280800A1 (en) Testing system and method for testing mobile phone
CN103167260B (en) The sending, receiving method of voice data and device
CN103079161B (en) Method and system for testing audio port of handheld equipment
CN103609139A (en) Headphones, audio device, audio system and method for transmitting signals
CN106302997A (en) A kind of output control method, electronic equipment and system
CN105322985A (en) System and method for testing Bluetooth connection of vehicle-borne multimedia equipment
CN108024120A (en) Audio generation, broadcasting, answering method and device and audio transmission system
CN107566884B (en) Connection method, server and terminal
CN103024657B (en) Audio port of handheld equipment method of testing and system
JP4367479B2 (en) Digital radio station identification method and digital radio station identification apparatus
CN105635925A (en) Mobile terminal audio test method, system and audio test interface adapter
CN104038257A (en) Antenna multiplexing method and device of mobile terminal
CN103533126B (en) A kind of device and method automatically carrying out mobile phone test
CN105306685B (en) The test method and mobile terminal of signal quality
CN103647863A (en) Two mobile terminals-based method and system for mutually testing headset loop
CN110099350A (en) The test method of power amplifier
CN106612487A (en) Test system and test method of terminal audio index of special network standard
CN208541311U (en) Hearing test apparatus
CN103177731B (en) Improved method and device for CTCSS (Continuous Tone Controlled Squelch System) tail tone detecting simulation
CN105374354A (en) Terminal voice control method and device
CN102932076B (en) A kind of sensitivity test method based on mobile terminal FM receiver and system
CN107948790A (en) Earphone recognition methods and device
CN104464763A (en) Method and device for processing information
CN103165139B (en) Method and device for detecting figure infra-acoustic frequency signals
CN101364850A (en) Broadcast treating device and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221111

Address after: Floor 3-4, Building 3A, Area A, Fuzhou Software Park, No. 89, Software Avenue, Gulou District, Fuzhou City, Fujian Province 350003

Patentee after: Fujian Liandi Commercial Technology Co.,Ltd.

Address before: Building 23, Zone 1, Fuzhou Software Park, No. 89, Software Avenue, Fuzhou, Fujian 350003

Patentee before: FUJIAN LANDI COMMERCIAL EQUIPMENT Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: Floor 3-4, Building 3A, Area A, Fuzhou Software Park, No. 89, Software Avenue, Gulou District, Fuzhou City, Fujian Province 350003

Patentee after: Yinjie Nico (Fujian) Technology Co.,Ltd.

Address before: Floor 3-4, Building 3A, Area A, Fuzhou Software Park, No. 89, Software Avenue, Gulou District, Fuzhou City, Fujian Province 350003

Patentee before: Fujian Liandi Commercial Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder