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:
Testing equipment has sent through ovennodulation the test audio signal of initial checking data to handheld device, and records described initial checking data;
Handheld device receives described test audio signal by microphone channel, and successively by the L channel of audio port, the first audio signal, the second audio signal that R channel generates based on described test audio signal to described testing equipment output;
Whether testing equipment is carried out demodulation to the first audio signal of successively receiving and the second audio signal and is generated respectively the first checking data, the second checking data, and 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.
Wherein, specifically comprising of described " successively the L channel by audio port, R channel being to first audio signal, second audio signal of described testing equipment output based on described test audio signal ":
Record described test audio signal, obtain the first audio signal and the second audio signal;
Successively export the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.
Wherein, specifically comprising of described " successively the L channel by audio port, R channel being to first audio signal, second audio signal of described testing equipment output based on described test audio signal ":
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 testing equipment 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;
Successively export the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.
Wherein, by FSK or PSK mode described initial checking data, the first checking data, the second checking data are modulated.
Wherein, described handheld device audio port method of testing also comprises: whether normally described testing equipment shows described audio port result of determination.
For addressing the above problem, the present invention also adopts another kind of technical scheme: a kind of handheld device audio port test macro is provided, comprise: testing equipment and handheld device, described testing equipment comprises test data sending module and checking data comparing module, and described handheld device comprises the test data receiver module;
Described test data sending module is used for having sent through ovennodulation the test audio signal of initial checking data to handheld device, and records described initial checking data;
Described test data receiver module, be used for receiving described test audio signal by microphone channel, and successively by the L channel of audio port, the first audio signal, the second audio signal that R channel generates based on described test audio signal to described testing equipment output;
Described checking data comparing module, be used for that the first audio signal of successively receiving and the second audio signal are carried out demodulation and generate respectively the first checking data, 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 test data receiver module comprises:
Recording elements is used for recording described test audio signal, obtains the first audio signal and the second audio signal;
Transmitting element is used for successively exporting the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.
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 testing equipment 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 is used for successively exporting the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.
Wherein, 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, the second checking data by FSK or PSK mode.
Whether normally wherein, described testing equipment also comprises display module, be 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 the checking data of comparison transmitting-receiving whether the corresponding sound channel of the identical audio port of judging handheld device normal, realize 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: the audio port to handheld device has sent once ovennodulation the audio signal of checking data first, receive again audio signal after handheld device is processed (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.
Fig. 1 is the schematic flow diagram of execution mode handheld device audio port method of testing according to the present invention, as shown in Figure 1, at step S101, testing equipment has sent through ovennodulation the test audio signal of initial checking data to handheld device, and records described initial checking data.
At step S102, handheld device receives described test audio signal by microphone channel, and successively by the L channel of audio port, the first audio signal, the second audio signal that R channel generates based on described test audio signal to described testing equipment output.Concrete, handheld device is exported the first audio signal by the L channel of audio port to testing equipment first, exports the second audio signal by R channel to testing equipment.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
At step S103, whether testing equipment is carried out demodulation to the first audio signal of successively receiving and the second audio signal and is generated respectively the first checking data, the second checking data, and 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.
Concrete, in the situation of " handheld device is exported the first audio signal by the L channel of audio port to testing equipment first; export the second audio signal by R channel to testing equipment again ", the corresponding sound channel that step S103 judges described audio port whether normal this step mainly comprises step S1031 and S1032.
At step S1031, whether equally the testing equipment 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 testing equipment 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.
In a present embodiment embodiment as shown in Figure 2, specifically the comprising of " successively the L channel by audio port, R channel are to first audio signal, second audio signal of described testing equipment output based on described test audio signal " among the step S103:
S201, record described test audio signal, obtain the first audio signal and the second audio signal;
S202, priority are exported the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.Concrete, handheld device is exported the first audio signal by the L channel of audio port to testing equipment first, exports the second audio signal by R channel to testing equipment.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
In another embodiment of present embodiment, as shown in Figure 3, specifically the comprising of " successively the L channel by audio port, R channel are to first audio signal, second audio signal of described testing equipment output based on described test audio signal " among the step S103:
S301, the described test audio signal of demodulation obtain the first checking data, and copy the first checking data and generate the second checking data;
S302, described the first checking data, the second checking data are modulated in the mode that testing equipment 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;
S303, priority are exported the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.Concrete, handheld device is exported the first audio signal by the L channel of audio port to testing equipment first, exports the second audio signal by R channel to testing equipment.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
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. 4, corresponding with said method, present embodiment also provides a kind of handheld device audio port test macro, comprise: testing equipment 401 and handheld device 402, described testing equipment 401 comprises test data sending module 4011 and checking data comparing module 4022, and described handheld device 402 comprises test data receiver module 4021.
In native system, described test data sending module 4011 is used for having sent through ovennodulation the test audio signal of initial checking data to handheld device 402, and records described initial checking data.
Described test data receiver module 4021, be used for receiving described test audio signal by microphone channel, and successively by the L channel of audio port, the first audio signal, the second audio signal that R channel generates based on described test audio signal to described testing equipment 401 outputs.Concrete, export the first audio signal by the L channel of audio port to testing equipment 401 first, export the second audio signal by R channel to testing equipment 401.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
Described checking data comparing module 4012, be used for that the first audio signal of successively receiving and the second audio signal are carried out demodulation and generate respectively the first checking data, 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 4011 is modulated described initial checking data by FSK or PSK mode, and described test data receiver module 4021 is modulated described the first checking data, the second checking data by FSK or PSK mode.
Concrete, in the situation that test data receiver module 4021 " is exported the first audio signal by the L channel of audio port to testing equipment first; export the second audio signal by R channel to testing equipment ", whether judge equally according to comparison described the first checking data, the 3rd checking data whether normal decision sub-module mainly comprises: the first comparing unit, the second comparing unit, the first identifying unit and the second identifying unit for the corresponding sound channel of described audio port in the checking data comparing module 4012.
The first comparing unit is used for comparison and whether equally judges described initial checking data, the first checking data.
The first identifying unit is normal for the L channel performance of the audio port of judging handheld device 402 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 402 when described initial checking data, when the first checking data is different.
The second comparing unit is used for comparison and whether equally judges described initial checking data, the second checking data.
The second identifying unit is normal for the R channel performance of the audio port of judging handheld device 402 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 402 when described initial checking data, when the second checking data is different.
In embodiment as shown in Figure 5, native system comprises: testing equipment 501 and handheld device 502, and wherein, testing equipment 501 can be identified as a Headphone device by handheld device 502, and both connect by this Headphone device.When testing equipment 501 by this Headphone device with after handheld device 502 is connected, testing equipment 501 can be sent an off hook signal automatically verifying the handoff functionality of handheld device 502, thus whether audio port that can preliminary judgement handheld device 502 normal.
In embodiment as shown in Figure 6, testing equipment 600 mainly comprises: controller, test data sending module 601 and checking data comparing module 602.Wherein, test data sending module 601 comprises modulation submodule 6011 and audio signal sending module 6012, and checking data comparing module 602 comprises audio signal receiver module 6021, demodulation submodule 6022 and decision sub-module 6023.
Modulation submodule 6011 is used for initial checking data is modulated, and is concrete, adopts FSK or PSK mode that initial checking data is modulated.
Audio signal sending module 6012 is used for the data after processing through modulation submodule 6011 are converted into test audio signal, and sends described test audio signal to handheld device.
Audio signal receiver module 6021 is used for receiving the first audio signal, the second audio signal, and wherein the processing procedure of the first audio signal and the second audio signal is described in preamble, does not repeat them here.
Demodulation submodule 6022 is used for that the first audio signal that successively receives and the second audio signal are carried out demodulation and generates respectively the first checking data, the second checking data.
Whether decision sub-module 6023 is used for according to the described initial checking data of comparison and the first checking data 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.Concrete, export the first audio signal by the L channel of audio port to testing equipment first when handheld device, when exporting the second audio signal by R channel to testing equipment, decision sub-module 6023 mainly comprises:
The first comparing unit is used for comparison and whether equally judges described initial checking data, the first checking data.
The first identifying unit is normal for the L channel performance of the audio port of judging handheld device 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 when described initial checking data, when the first checking data is different.
The second comparing unit is used for comparison and whether equally judges described initial checking data, the second checking data.
The second identifying unit is normal for the R channel performance of the audio port of judging handheld device 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 when described initial checking data, when the second checking data is different.
In the present embodiment, in a specific embodiment as described in Figure 7, described test data receiver module 701 comprises:
Recording elements 7011 is used for recording described test audio signal, obtains the first audio signal and the second audio signal;
Transmitting element 7012 is used for successively exporting the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.
In the present embodiment, in another specific embodiment as described in Figure 8, described test data receiver module 801 comprises:
Demodulating unit 8011 is used for the described test audio signal of demodulation, obtains the first checking data and the second checking data;
Modulating unit 8012, be used for described the first checking data, the second checking data are modulated in the mode that testing equipment 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 8013 is used for successively exporting the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.
See also Fig. 9, Fig. 9 is the schematic flow diagram of another execution mode handheld device audio port method of testing according to the present invention, as shown in Figure 9, described handheld device audio port method of testing is at step S901, testing equipment has sent through ovennodulation the test audio signal of initial checking data to handheld device, and records described initial checking data.
At step S902, handheld device receives described test audio signal by microphone channel, and successively by the L channel of audio port, the first audio signal, the second audio signal that R channel generates based on described test audio signal to described testing equipment output.Concrete, handheld device is exported the first audio signal by the L channel of audio port to testing equipment first, exports the second audio signal by R channel to testing equipment.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
At step S903, whether testing equipment is carried out demodulation to the first audio signal of successively receiving and the second audio signal and is generated respectively the first checking data, the second checking data, and 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 S904, whether normally described testing equipment shows described audio port result of determination.Concrete, in one embodiment, testing equipment shows result of determination by display screen, or points out result of determination by sound.In a further embodiment, testing equipment is sent to other equipment with concrete result of determination by FPDP and shows.
In the present embodiment, 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.By in the audio signal of simulation, modulating checking data, 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.
Concrete, in the situation of " handheld device is exported the first audio signal by the L channel of audio port to testing equipment first; export the second audio signal by R channel to testing equipment again ", the corresponding sound channel that step S903 judges described audio port whether normal this step mainly comprises S9031 and S9032.
At step S9031, whether equally the testing equipment 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 S9032, whether equally the testing equipment 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.
In present embodiment one specific embodiment, the L channel of the priority among the step S903 by audio port, R channel are to first audio signal, second audio signal of described testing equipment output based on described test audio signal " specifically comprise:
Record described test audio signal, obtain the first audio signal and the second audio signal;
Successively export the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.Concrete, handheld device is exported the first audio signal by the L channel of audio port to testing equipment first, exports the second audio signal by R channel to testing equipment.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
In another specific embodiment of present embodiment, the step of " successively the L channel by audio port, R channel are to first audio signal, second audio signal of described testing equipment output based on described test audio signal " among the step S903 specifically comprises:
The described test audio signal of demodulation obtains the first checking data, and copies the first checking data and generate the second checking data;
Described the first checking data, the second checking data are modulated in the mode that testing equipment 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;
Successively export the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment.Concrete, handheld device is exported the first audio signal by the L channel of audio port to testing equipment first, exports the second audio signal by R channel to testing equipment.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
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 Figure 10, corresponding with above-mentioned execution mode, present embodiment also provides a kind of handheld device audio port test macro, comprise: testing equipment 1001 and handheld device 1002, described testing equipment 1001 comprises test data sending module 10011, checking data comparing module 10012 and display module 10013, and described handheld device 1002 comprises test data receiver module 10021.
In native system, described test data sending module 10011 is used for having sent through ovennodulation the test audio signal of initial checking data to handheld device 1002, and records described initial checking data.
Described test data receiver module 10021, be used for receiving described test audio signal by microphone channel, and successively by the L channel of audio port, the first audio signal, the second audio signal that R channel generates based on described test audio signal to described testing equipment 1001 outputs.Concrete, export the first audio signal by the L channel of audio port to testing equipment 1001 first, export the second audio signal by R channel to testing equipment 1001.Certainly, order and audio signal that left and right acoustic channels sends also can adaptively be changed, such as send the second audio signal by L channel.
Described checking data comparing module 10012, be used for that the first audio signal of successively receiving and the second audio signal are carried out demodulation and generate respectively the first checking data, 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.
Whether normally display module 10013 is used for showing described audio port result of determination.Concrete, in one embodiment, testing equipment 1001 shows result of determination by display screen, or points out result of determination by sound.In a further embodiment, testing equipment 1001 is sent to other equipment with concrete result of determination by FPDP and shows.
In the present invention, native system is modulated described initial checking data, the first checking data, the second checking data by FSK or PSK mode.Concrete, described test data sending module 10011 is modulated described initial checking data by FSK or PSK mode, and described test data receiver module 10021 is modulated described the first checking data, the second checking data by FSK or PSK mode.
Concrete, in the situation that test data receiver module 10021 " is exported the first audio signal by the L channel of audio port to testing equipment first; export the second audio signal by R channel to testing equipment ", whether judge equally according to comparison described the first checking data, the 3rd checking data whether normal decision sub-module mainly comprises: the first comparing unit, the second comparing unit, the first identifying unit and the second identifying unit for the corresponding sound channel of described audio port in the checking data comparing module 10012.
The first comparing unit is used for comparison and whether equally judges described initial checking data, the first checking data.
The first identifying unit is normal for the L channel performance of the audio port of judging handheld device 1002 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 1002 when described initial checking data, when the first checking data is different.
The second comparing unit is used for comparison and whether equally judges described initial checking data, the second checking data.
The second identifying unit is normal for the R channel performance of the audio port of judging handheld device 1002 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 1002 when described initial checking data, when the second checking data is different.
In present embodiment one specific embodiment, native system comprises: testing equipment 1001 and handheld device 1002, and wherein, testing equipment 1001 can be identified as a Headphone device by handheld device 1002, and both connect by this Headphone device.When testing equipment 1001 by this Headphone device with after handheld device 1002 is connected, testing equipment 1001 can be sent an off hook signal automatically verifying the handoff functionality of handheld device 1002, thus whether audio port that can preliminary judgement handheld device 1002 normal.
In another specific embodiment of present embodiment, testing equipment 1001 mainly comprises: controller, test data sending module 10011, checking data comparing module 10012 and display module 10013.Wherein, test data sending module 10011 comprises modulation submodule and audio signal sending module, and checking data comparing module 10012 comprises audio signal receiver module, demodulation submodule and decision sub-module.
The modulation submodule is used for initial checking data is modulated, and is concrete, adopts FSK or PSK mode that initial checking data is modulated.
The audio signal sending module is converted into test audio signal to the data after processing through the modulation submodule, and sends out 1002 to handheld device and send described test audio signal.
The audio signal receiver module is used for receiving the first audio signal, the second audio signal, and wherein the processing procedure of the first audio signal and the second audio signal is described in preamble, does not repeat them here.
The demodulation submodule is used for that the first audio signal that successively receives and the second audio signal are carried out demodulation and generates respectively the first checking data, the second checking data.
Whether decision sub-module is used for according to the described initial checking data of comparison and the first checking data 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.Concrete, export the first audio signal by the L channel of audio port to testing equipment first when handheld device, when exporting the second audio signal by R channel to testing equipment, decision sub-module mainly comprises:
The first comparing unit is used for comparison and whether equally judges described initial checking data, the first checking data.
The first identifying unit is normal for the L channel performance of the audio port of judging handheld device 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 when described initial checking data, when the first checking data is different.
The second comparing unit is used for comparison and whether equally judges described initial checking data, the second checking data.
The second identifying unit is normal for the R channel performance of the audio port of judging handheld device 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 when described initial checking data, when the second checking data is different.
In present embodiment one specific embodiment, described test data receiver module 10021 comprises:
Recording elements is used for recording described test audio signal, obtains the first audio signal and the second audio signal;
Transmitting element is used for successively exporting the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment 1001.
In another specific embodiment of present embodiment, described test data receiver module 10021 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 testing equipment 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 is used for successively exporting the first audio signal, the second audio signal by L channel, the R channel of audio port to described testing equipment 1001.
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 the checking data of comparison transmitting-receiving whether the corresponding sound channel of the identical audio port of judging handheld device normal, realize 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.