CN103024657A - Method and system for testing audio port of handhold device - Google Patents

Method and system for testing audio port of handhold device Download PDF

Info

Publication number
CN103024657A
CN103024657A CN2012105604437A CN201210560443A CN103024657A CN 103024657 A CN103024657 A CN 103024657A CN 2012105604437 A CN2012105604437 A CN 2012105604437A CN 201210560443 A CN201210560443 A CN 201210560443A CN 103024657 A CN103024657 A CN 103024657A
Authority
CN
China
Prior art keywords
audio signal
checking data
channel
data
audio
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
CN2012105604437A
Other languages
Chinese (zh)
Other versions
CN103024657B (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 CN201210560443.7A priority Critical patent/CN103024657B/en
Publication of CN103024657A publication Critical patent/CN103024657A/en
Application granted granted Critical
Publication of CN103024657B publication Critical patent/CN103024657B/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 a handhold device. The method comprises that a tested device transmits testing audio signals of which initial checking data are modulated to the handhold device, the initial checking data are recorded, the handhold device receives the testing audio signals through a microphone channel, first audio signals and second audio signals generated based on testing audio signals are output to the tested device through the left vocal tract and the right vocal tract of the audio port, the tested device demodulates first audio signals and second audio signals which are transmitted to the tested device sequentially and generates first checking data and second checking data sequentially, and whether corresponding vocal tracts of the audio port are normal can be determined in accordance with the sameness initial checking data and first checking data and the sameness of initial checking data and second checking data.

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:
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.
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 part flow chart of handheld device audio port method of testing in another specific embodiment;
Fig. 4 is the module map of handheld device audio port test macro in an embodiment of the present invention;
Fig. 5 is the structure chart of handheld device audio port test macro in the specific embodiment;
Fig. 6 is the module map of testing equipment in the specific embodiment;
Fig. 7 is the module map of data reception module in the specific embodiment;
Fig. 8 is the module map of data reception module in another specific embodiment;
Fig. 9 is handheld device audio port method of testing flow chart in another execution mode of the present invention;
Figure 10 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: 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.

Claims (10)

1. a handheld device audio port method of testing is characterized in that, comprising:
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.
2. handheld device audio port method of testing according to claim 1, it is characterized in that specifically the comprising of described " 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 ":
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.
3. handheld device audio port method of testing according to claim 1, it is characterized in that specifically the comprising of described " 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 ":
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.
4. each described handheld device audio port method of testing is characterized in that: by FSK or PSK mode described initial checking data, the first checking data, the second checking data are modulated according to claim 1-3.
5. handheld device audio port method of testing according to claim 4 characterized by further comprising: described testing equipment shows whether normal result of determination of described audio port.
6. a handheld device audio port test macro is characterized in that, comprising: testing equipment and handheld device, described testing equipment comprise 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.
7. handheld device audio port test macro according to claim 6 is characterized in that, 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.
8. handheld device audio port test macro according to claim 6 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 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.
9. each described handheld device audio port test macro according to claim 6-8, 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, the second checking data by FSK or PSK mode.
10. whether normally handheld device audio port test macro according to claim 9 is characterized in that described testing equipment also comprises display module, be used for showing described audio port result of determination.
CN201210560443.7A 2012-12-18 2012-12-18 Audio port of handheld equipment method of testing and system Active CN103024657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210560443.7A CN103024657B (en) 2012-12-18 2012-12-18 Audio port of handheld equipment method of testing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210560443.7A CN103024657B (en) 2012-12-18 2012-12-18 Audio port of handheld equipment method of testing and system

Publications (2)

Publication Number Publication Date
CN103024657A true CN103024657A (en) 2013-04-03
CN103024657B CN103024657B (en) 2015-09-23

Family

ID=47972699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210560443.7A Active CN103024657B (en) 2012-12-18 2012-12-18 Audio port of handheld equipment method of testing and system

Country Status (1)

Country Link
CN (1) CN103024657B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
TWI558154B (en) * 2014-01-09 2016-11-11 緯創資通股份有限公司 Method and apparatus for audio testing
CN111683180A (en) * 2020-05-19 2020-09-18 王天宝 Method, device and system for testing voice call quality

Citations (2)

* 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
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method

Patent Citations (2)

* 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
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
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
CN103297909B (en) * 2013-04-23 2016-04-13 加一联创电子科技有限公司 A kind of earphone method of testing and device
TWI558154B (en) * 2014-01-09 2016-11-11 緯創資通股份有限公司 Method and apparatus for audio testing
CN111683180A (en) * 2020-05-19 2020-09-18 王天宝 Method, device and system for testing voice call quality

Also Published As

Publication number Publication date
CN103024657B (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN103312419B (en) Method and system for data communication based on audio or ultrasonic
US20090280800A1 (en) Testing system and method for testing mobile phone
KR101462364B1 (en) Near field communication implementation method and system
CN105790854B (en) A kind of short range data transmission method and device based on sound wave
CN103167260B (en) The sending, receiving method of voice data and device
CN103079161B (en) Method and system for testing audio port of handheld equipment
CN108344914A (en) The vehicle grade audio system electromagnetism interference test device and evaluation test method of user oriented experience
CN105322985A (en) System and method for testing Bluetooth connection of vehicle-borne multimedia equipment
CN102664837B (en) Method for automatically detecting and completing setting matching of high speed digital signal in receiving and transmitting directions
CN103024657B (en) Audio port of handheld equipment method of testing and system
CN105188008B (en) A kind of method and device of testing audio output unit
CN100566394C (en) The Apparatus and method for that is used for processing audio signal
CN110324094A (en) Sound wave communication method and device, storage medium and electronic device
CN104038257A (en) Antenna multiplexing method and device of mobile terminal
CN102821076B (en) Audio communication modulation way self-adaptive method, system, device and electronic sign tool
CN102769591B (en) Self-adaptive method, self-adaptive system and self-adaptive device for audio communication modulation modes and electronic signature implement
CN104469912A (en) Environment detection device and data transmission method thereof
CN106612487B (en) System and method for testing terminal audio index of private network system
CN109347571B (en) Wireless broadcast communication method and system based on ultrasonic waves
CN103731163B (en) A kind of wireless transmitting system
CN101938671A (en) Digital television integrated test system and method thereof
CN105845157A (en) Method, device and system for link controlling of music playing system
CN103532821A (en) Comparison testing method for audio transmission time delay of instant messaging software and testing equipment
CN102932076B (en) A kind of sensitivity test method based on mobile terminal FM receiver and system
CN104219005A (en) Vehicle-mounted radio anti-interference testing system and method

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
TR01 Transfer of patent right

Effective date of registration: 20221102

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.

CP01 Change in the name or title of a patent holder
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.