CN102638756A - Mobile terminal voice frequency test method, test device and mobile terminal - Google Patents
Mobile terminal voice frequency test method, test device and mobile terminal Download PDFInfo
- Publication number
- CN102638756A CN102638756A CN2012101243092A CN201210124309A CN102638756A CN 102638756 A CN102638756 A CN 102638756A CN 2012101243092 A CN2012101243092 A CN 2012101243092A CN 201210124309 A CN201210124309 A CN 201210124309A CN 102638756 A CN102638756 A CN 102638756A
- Authority
- CN
- China
- Prior art keywords
- chain
- recording
- reproducing
- testing
- opening
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention discloses a mobile terminal voice frequency test method, a test device and a mobile terminal. The voice frequency test method comprises the following steps of: a. selecting and opening a recording access; b. recording by an opened recording access, and storing a voice frequency file; c. selecting and opening a playback access; and d. playing and storing the voice frequency file by the opened playback access. With the test method, voice frequency hardware and the voice frequency access are detected by voice frequency access switching and the process of recording and playback, a terminal of which a built-in coder-decoder is not provided with a loop and can not realize direct connection of the voice frequency analog access can be subjected to an effective audio frequency test, and the applicable range of the mobile terminal voice frequency test is widened.
Description
Technical field
The present invention relates to the mobile terminal test technology, specifically, relate to audio frequency of mobile terminal method of testing, testing apparatus and portable terminal.
Background technology
In the portable terminal production process, need the function of its audio hardware and voice-frequency channel be detected, whether the hardware that relates to the checking audio frequency is normal.
Audio detection is examined process as a worker on the portable terminal production line usually, and method commonly used at present is to realize through the direct-connected mode of analog channel.The implementation procedure of the direct-connected mode of analog channel is following: the analog signal that portable terminal master Mike gathers is directly connected on the loud speaker through the inner analog channel of codec; If can send through loud speaker in a minute, can verify that then main Mike, loud speaker and voice-frequency channel between the two are normal facing to main Mike; The analog signal that main Mike is gathered is directly connected on the main receiver through the inner analog channel of codec, if can send through main receiver in a minute facing to main Mike, can verify that then main Mike, main receiver and voice-frequency channel between the two are normal; The analog signal that earphone Mike is gathered is directly connected on the headset earpiece through the inner analog channel of codec; If can send through headset earpiece in a minute, can verify that then earphone Mike, headset earpiece and voice-frequency channel between the two are normal facing to earphone Mike.Utilize above-mentioned three test accesss just can realize functional test to all audio frequency hardware such as portable terminal master Mike, main receiver, loud speaker, earphone Mike and headset earpiece and corresponding voice-frequency channel.
But there is disadvantage in the direct-connected test mode of above-mentioned this analog channel: at first, this method of testing requires codec inside to have winding, can realize the direct-connected of each analog channel.Codec inside in some portable terminal hardware platform can not realize that analog channel is direct-connected, then can't carry out the test of audio frequency.Secondly, analog channel is direct-connected when testing, not time-delay of sound in the process of the playback of recording, and the sound that difficult judgement is heard is the sound of recording or plays back through tone playing equipment, causes error in judgement easily and influences the accuracy of detection.Once more, when main receiver of checking and loud speaker, all need repeat to speak through main Mike, testing procedure be loaded down with trivial details, and test process is complicated.
Summary of the invention
One of the object of the invention is to provide a kind of audio frequency of mobile terminal method of testing; This method of testing is utilized switching and the process realization audio hardware of recording and playback and the detection of voice-frequency channel of voice-frequency channel, efficiently solves the above-mentioned defective that prior art adopts the direct-connected method of testing of analog channel to exist.
For realizing the foregoing invention purpose, audio testing method provided by the invention adopts following technical proposals to be achieved:
A kind of audio frequency of mobile terminal method of testing, said method of testing comprises the steps:
A, selection recording chain are also opened;
The recording chain recording that b, utilization are opened is also preserved audio file;
C, selection reproducing chain are also opened;
The reproducing chain that d, utilization are opened is play the audio file of preserving.
Aforesaid method of testing for avoiding sound interference, also comprises the steps: between said step b and said step c
B1, close the recording chain of opening.
Aforesaid method of testing for ease of the test of other voice-frequency channels, also comprises the steps: after said steps d
E, close the reproducing chain of opening.
Aforesaid method of testing obtains test result accurately and timely for ease of the tester, in said step b, if the recording chain of opening can not be recorded, then points out corresponding recording chain unusual; In said steps d,, then point out corresponding reproducing chain unusual if the reproducing chain opened can not playback.
Aforesaid method of testing, said path preferably carries out auditory tone cues through microphone device unusually.
Aforesaid method of testing, for shortening the test time spent, improving test speed, said method of testing preferably realizes in the portable terminal kernel.
Two of the object of the invention is to provide a kind of audio frequency of mobile terminal testing apparatus, and this testing apparatus can effectively solve prior art and adopt the direct-connected above-mentioned defective of testing existence of analog channel based on above-mentioned described method of testing.
For realizing the foregoing invention purpose, audio test device provided by the invention adopts following technical proposals to realize:
A kind of audio frequency of mobile terminal testing apparatus, said testing apparatus comprises:
The recording chain selected cell is used to select recording chain;
The recording chain control unit is used for the selected recording chain of opening/closing recording chain selected cell, and the recording chain of controlling after opening is carried out recording operation;
Audio file is preserved the unit, is used to store the audio file that recording chain is recorded;
The reproducing chain selected cell is used to select reproducing chain;
The reproducing chain control unit is used for the selected reproducing chain of opening/closing reproducing chain selected cell, and the reproducing chain displaying audio file that control is opened is preserved the audio file that the unit is stored.
Aforesaid testing apparatus obtains test result accurately and timely for ease of the tester, and said testing apparatus also comprises:
The recording chain abnormal deciding means is used to judge whether the recording chain of opening is unusual, and when unusual, points out;
The reproducing chain abnormal deciding means is used to judge whether the reproducing chain of opening is unusual, and when unusual, points out.
Aforesaid testing apparatus, said testing apparatus also comprise recording chain are reached the microphone device that reproducing chain carries out auditory tone cues unusually unusually.
In addition, the present invention also provides a kind of portable terminal that is provided with above-mentioned described audio test device.
Compared with prior art, advantage of the present invention and good effect are:
1, method of testing of the present invention and testing apparatus utilize switching and the process realization audio hardware of recording and playback and the detection of voice-frequency channel of voice-frequency channel; Built-in codec is not had winding, can't realize that the direct-connected terminal of audio frequency simulation path also can carry out effective audio-frequency test, expanded the audio frequency of mobile terminal test scope of application.
2, when audio-frequency test, the Recording Process of recording chain is separated execution with the playback process of reproducing chain, and the interference that playback can not be recorded is difficult for producing the test erroneous judgement, has improved the accuracy that detects.
3, because the recording chain test separates execution with the reproducing chain test; When having a plurality of reproducing chain; Can be only play through different reproducing chains and test a plurality of reproducing chains of card, simplified testing process, improved test speed through an audio file of recording chain record.
4, through in kernel, carrying out audio testing method of the present invention, the upper layer application that need not mobile terminal system starts fully and can test, and test process is simple, and test speed is fast, and suitable worker examines the application testing of pattern.
After advantages embodiment of the present invention, other characteristics of the present invention and advantage will become clearer.
Description of drawings
Fig. 1 is the structured flowchart of an embodiment of audio frequency of mobile terminal testing apparatus of the present invention;
Fig. 2 is the flow chart of an embodiment of audio frequency of mobile terminal method of testing of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment technical scheme of the present invention is done further detailed explanation.
At first; Brief description technical thought of the present invention: prior art is when carrying out audio-frequency test to portable terminal; Usually adopt the direct-connected mode of audio frequency simulation path, this has winding, supports direct-connected between recording chain and the reproducing chain with regard to the codec that requires portable terminal.In order to avoid the restriction of this hardware configuration; Also can carry out audio-frequency test to not having the direct-connected portable terminal of voice-frequency channel; The present invention proposes recording and the audio-frequency test thinking that the playback of reproducing chain separates execution, through each voice-frequency channel is switched, can either test, verify whether each recording chain hardware and reproducing chain hardware is normal recording chain; And can verify whether whole voice-frequency channel is normal, expand the scope of application of audio frequency of mobile terminal test.Below in conjunction with specific embodiment technical thought of the present invention is done to set forth in detail.
Please refer to Fig. 1, this Fig. 1 shows the structured flowchart of an embodiment of audio frequency of mobile terminal testing apparatus of the present invention.
As shown in Figure 2; In this embodiment; Portable terminal has multichannel recording chain 101 and multi-channel playback path 106, and recording chain includes main Mike's path, earphone Mike path etc., and reproducing chain includes main receiver path, headset earpiece path, loud speaker path etc.
For multichannel recording chain 101 and multi-channel playback path 106 are tested, structure and function that the audio test device of this embodiment specifically comprises are following:
Recording chain selected cell 102 is used for from multichannel recording chain 101 selecting wherein one road recording chain to test.
Recording chain control unit 103 is used for opening or closing recording chain selected cell 102 selected one road recording chains, and simultaneously, the recording chain after also control is opened is carried out recording operation.
Audio file is preserved unit 105, is used for storing the audio file that recording chain is recorded.
Reproducing chain selected cell 107 is used for from multi-channel playback path 106 selecting wherein one road reproducing chain to test.
Reproducing chain control unit 108 is used for opening or closing reproducing chain selected cell 107 selected one road reproducing chains, simultaneously, also controls the reproducing chain displaying audio file of opening and preserves the corresponding audio file that unit 105 is stored.
In test process; Obtain test result accurately and timely for ease of the tester; As preferred implementation, this embodiment also is provided with recording chain abnormal deciding means 104 and reproducing chain abnormal deciding means 109, is used for respectively judging whether recording chain of opening and the reproducing chain of opening be unusual; And when unusual, point out, handle in time when unusual to remind the user.
And when recording chain or reproducing chain were unusual, preferred 110 pairs of the microphone devices that are arranged in the testing apparatus that adopt carried out auditory tone cues unusually.Microphone device 110 specifically can be selected for use buzzer, loud speaker to wait and realize.
Abnormal prompt is not limited to above-mentioned auditory tone cues, can also carry out luminous prompting or text prompt through luminescent device or display screen etc.
The concrete test process of the audio test device of the foregoing description can be with reference to figure 2 and following description to Fig. 2.
Please refer to Fig. 2, this is shown in Figure 2 to be the flow chart based on an embodiment of audio frequency of mobile terminal method of testing of the present invention of Fig. 1 audio test device.This embodiment carries out audio-frequency test to portable terminal process realizes in the kernel of portable terminal; Also promptly start the back at the portable terminal kernel and just can carry out audio-frequency test, support and need not whole mobile terminal system, the testing time is short; Testing efficiency is high, is suitable for the application that the worker examines pattern.
In conjunction with the testing apparatus of Fig. 1, the flow process of the audio testing method of this embodiment is following:
Step 201: flow process begins.
Step 202: the selection recording chain is also opened.
For example, select main Mike's recording chain and opening.The selection of recording chain and open and to realize through the value of corresponding registers in the configuration portable terminal codec.
Step 203: utilize the recording chain recording of opening.
Step 204: judge that can corresponding recording chain normal recording.If normal recording, execution in step 206; If can not normal recording, then execution in step 205.
Step 205: when recording chain can not normal recording, the prompting recording chain was unusual.
The purpose that this step is set is to be convenient to the tester to know the test result in the test process in time, exactly.Through the recording chain abnormal results is in time offered the tester, be convenient to the tester and carry out the unusual handled of recording chain apace, improve test speed.Recording chain can adopt microphone device to carry out auditory tone cues unusually, perhaps adopts other prompting modes.After executing this step 205, go to step 213.
Step 206: if recording chain ability normal recording is then preserved the audio file that recording chain is recorded.
The form of audio file, size etc. all can carry out selecting to record according to the test needs.
Step 207: recording finishes, and closes the recording chain of opening.
The purpose of carrying out this step is that the recording chain of avoiding when the test reproducing chain, opening causes sound interference to reproducing chain.
Recording chain ability normal recording explains that the function of this recording chain corresponding audio hardware is normal.
In order to carry out performance test, continue to carry out following step to certain road reproducing chain and with voice-frequency channel that this recording chain constitutes.
Step 208: the selection reproducing chain is also opened.
For example, select main receiver reproducing chain and opening.The selection of reproducing chain and open also and can realize through the value of corresponding registers in the configuration portable terminal codec.
Step 209: utilize the reproducing chain of opening to play the audio file of preserving.
If preserve a plurality of audio files, the audio file that can select to record with the recording chain of certain road voice-frequency channel of reproducing chain formation is play.For example, test the performance of the voice-frequency channel between main Mike and the main receiver, then select the audio file of being recorded through main Mike's recording chain.
Step 210: judge that can reproducing chain normal playback.If the ability normal playback, execution in step 212; If can not normal recording, then execution in step 211.
Step 211: when reproducing chain can not normal playback, the prompting reproducing chain was unusual.And after executing this step 211, go to step 213.
The purpose that this step is set also is to be convenient to the tester to know the test result in the test process in time, exactly.Through the reproducing chain abnormal results is in time offered the tester, be convenient to the tester and carry out the unusual handled of reproducing chain apace, improve test speed.Unusual with recording chain, reproducing chain also can adopt microphone device to carry out auditory tone cues unusually, perhaps adopts other prompting modes.
Step 212: if reproducing chain ability normal playback judge that then corresponding recording and playback audio hardware are normal, and corresponding voice-frequency channel is also normal.Then, execution in step 213.
Step 213: flow process finishes.
After executing above-mentioned flow process; If can the sound that also will test through main Mike's path record pass through the playback of loud speaker path; The main receiver reproducing chain of opening before then closing, selection loud speaker reproducing chain is also opened, and the control loudspeaker path is play the audio file of recording through main Mike then.If audio file can pass through loud speaker path normal play, judge that then loud speaker reproducing chain hardware is normal, and the voice-frequency channel between itself and the main Mike is also normal.Utilize the method for testing of this embodiment, when the test loudspeaker reproducing chain, need not to pass through again main Mike's repeated taping, simplified test process, further improved test speed.And; Because what reproducing chain was play is to have recorded the audio file that finishes, also be that audio frequency exists one section time-delay from being recorded to play, therefore; The audio frequency that reproducing chain is emitted can only be really through reproducing chain output; Can not receive the interference of recording chain, thereby can not produce the test erroneous judgement, improve the accuracy that detects.
Above embodiment is only in order to explaining technical scheme of the present invention, but not limits it; Although the present invention has been carried out detailed explanation with reference to previous embodiment, for the person of ordinary skill of the art, still can make amendment to the technical scheme that previous embodiment is put down in writing, perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of relevant art scheme break away from the spirit and the scope of the present invention's technical scheme required for protection.
Claims (10)
1. an audio frequency of mobile terminal method of testing is characterized in that, said method of testing comprises the steps:
A, selection recording chain are also opened;
The recording chain recording that b, utilization are opened is also preserved audio file;
C, selection reproducing chain are also opened;
The reproducing chain that d, utilization are opened is play the audio file of preserving.
2. method of testing according to claim 1 is characterized in that, between said step b and said step c, also comprises the steps:
B1, close the recording chain of opening.
3. method of testing according to claim 1 is characterized in that, after said steps d, also comprises the steps:
E, close the reproducing chain of opening.
4. according to each described method of testing in the claim 1 to 3, it is characterized in that, in said step b,, then point out corresponding recording chain unusual if the recording chain of opening can not be recorded; In said steps d,, then point out corresponding reproducing chain unusual if the reproducing chain opened can not playback.
5. method of testing according to claim 4 is characterized in that said path carries out auditory tone cues through microphone device unusually.
6. according to each described method of testing in the claim 1 to 3, it is characterized in that said method of testing realizes in the portable terminal kernel.
7. an audio frequency of mobile terminal testing apparatus is characterized in that, said testing apparatus comprises:
The recording chain selected cell is used to select recording chain;
The recording chain control unit is used for the selected recording chain of opening/closing recording chain selected cell, and the recording chain of controlling after opening is carried out recording operation;
Audio file is preserved the unit, is used to store the audio file that recording chain is recorded;
The reproducing chain selected cell is used to select reproducing chain;
The reproducing chain control unit is used for the selected reproducing chain of opening/closing reproducing chain selected cell, and the reproducing chain displaying audio file that control is opened is preserved the audio file that the unit is stored.
8. testing apparatus according to claim 7 is characterized in that, said testing apparatus also comprises:
The recording chain abnormal deciding means is used to judge whether the recording chain of opening is unusual, and when unusual, points out;
The reproducing chain abnormal deciding means is used to judge whether the reproducing chain of opening is unusual, and when unusual, points out.
9. testing apparatus according to claim 8 is characterized in that, said testing apparatus also comprises recording chain is reached the microphone device that reproducing chain carries out auditory tone cues unusually unusually.
10. a portable terminal is characterized in that, is provided with each described audio test device in the aforesaid right requirement 7 to 9 in the said portable terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101243092A CN102638756A (en) | 2012-04-26 | 2012-04-26 | Mobile terminal voice frequency test method, test device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101243092A CN102638756A (en) | 2012-04-26 | 2012-04-26 | Mobile terminal voice frequency test method, test device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102638756A true CN102638756A (en) | 2012-08-15 |
Family
ID=46622954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101243092A Pending CN102638756A (en) | 2012-04-26 | 2012-04-26 | Mobile terminal voice frequency test method, test device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102638756A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333752A (en) * | 2014-11-25 | 2015-02-04 | 杭州海康威视数字技术股份有限公司 | Audio quality diagnostic method and device |
CN105448306A (en) * | 2015-11-05 | 2016-03-30 | 湖南工业大学 | Voice loop detection system |
CN106303877A (en) * | 2015-05-21 | 2017-01-04 | 广西三创科技有限公司 | The audio testing method of a kind of Windows panel computer and system |
CN108366160A (en) * | 2018-01-26 | 2018-08-03 | 努比亚技术有限公司 | Audio testing method, mobile terminal and computer readable storage medium |
CN110636428A (en) * | 2018-06-21 | 2019-12-31 | 杭州海康威视数字技术股份有限公司 | Audio fault detection method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026083A (en) * | 2009-09-16 | 2011-04-20 | 沈阳晨讯希姆通科技有限公司 | Earphone test device |
-
2012
- 2012-04-26 CN CN2012101243092A patent/CN102638756A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026083A (en) * | 2009-09-16 | 2011-04-20 | 沈阳晨讯希姆通科技有限公司 | Earphone test device |
Non-Patent Citations (1)
Title |
---|
狄得海: "WCDMA手机音频测试", 《中国测试》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333752A (en) * | 2014-11-25 | 2015-02-04 | 杭州海康威视数字技术股份有限公司 | Audio quality diagnostic method and device |
CN106303877A (en) * | 2015-05-21 | 2017-01-04 | 广西三创科技有限公司 | The audio testing method of a kind of Windows panel computer and system |
CN106303877B (en) * | 2015-05-21 | 2020-10-16 | 广西三创科技有限公司 | Audio test method and system for Windows tablet computer |
CN105448306A (en) * | 2015-11-05 | 2016-03-30 | 湖南工业大学 | Voice loop detection system |
CN105448306B (en) * | 2015-11-05 | 2019-02-19 | 湖南工业大学 | Voice loop detecting method |
CN108366160A (en) * | 2018-01-26 | 2018-08-03 | 努比亚技术有限公司 | Audio testing method, mobile terminal and computer readable storage medium |
CN108366160B (en) * | 2018-01-26 | 2021-03-26 | 努比亚技术有限公司 | Audio testing method, mobile terminal and computer readable storage medium |
CN110636428A (en) * | 2018-06-21 | 2019-12-31 | 杭州海康威视数字技术股份有限公司 | Audio fault detection method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104185132B (en) | Channel configuration method, intelligent terminal and corresponding system | |
CN102638756A (en) | Mobile terminal voice frequency test method, test device and mobile terminal | |
CN104267924A (en) | Mobile terminal and audio processing method thereof | |
CN104661169B (en) | A kind of audio testing method and device | |
CN110337055A (en) | Detection method, device, electronic equipment and the storage medium of speaker | |
CN103179495A (en) | Audio test method and system for earphone microphone and receiver of mobile terminal | |
CN107371115A (en) | A kind of detection method, storage medium and the terminal of complete machine loudspeaker performance | |
WO2012092731A1 (en) | Electronic terminal and ring prompt method of the electronic terminal | |
CN108564966A (en) | The method and its equipment of tone testing, the device with store function | |
CN109195090B (en) | Method and system for testing electroacoustic parameters of microphone in product | |
CN105979462A (en) | Test processing method and device based on microphone | |
CN108347686A (en) | Audio testing method, device, smart machine and storage medium | |
CN108922537A (en) | Audio identification methods, device, terminal, earphone and readable storage medium storing program for executing | |
CN113170268B (en) | Method and device for detecting probability silent fault | |
CN106302997A (en) | A kind of output control method, electronic equipment and system | |
CN109121035A (en) | Earphone abnormality eliminating method, earphone, system and storage medium | |
CN103179496A (en) | Audio test method and system for earphone microphone and receiver of mobile terminal | |
EP2879358A1 (en) | "System for testing wireless interaction between a system for reproducing audio signals and a mobile phone, and corresponding method and computer program product" | |
CN109510636A (en) | Receive test method, device, medium and the equipment of FM signal function | |
CN106293599A (en) | A kind of output control method, electronic equipment and output system | |
US8885852B2 (en) | Audio control system | |
CN106162489A (en) | A kind of earphone condition detection method and terminal | |
CN108206980B (en) | Audio accessory testing method, device and system | |
CN101600132B (en) | Method and device for adjusting audio file play effect on portable handheld device | |
CN105704607A (en) | Method and equipment for switching earphone modes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Applicant after: Qingdao Hisense Mobile Communication Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant before: Qingdao Hisense Mobile Communication Technology Co., Ltd. |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120815 |