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.
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.