CN108322617A - A kind of phone Handless system audio self checking method - Google Patents

A kind of phone Handless system audio self checking method Download PDF

Info

Publication number
CN108322617A
CN108322617A CN201711493549.9A CN201711493549A CN108322617A CN 108322617 A CN108322617 A CN 108322617A CN 201711493549 A CN201711493549 A CN 201711493549A CN 108322617 A CN108322617 A CN 108322617A
Authority
CN
China
Prior art keywords
phone
tested
test
audio
free
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
Application number
CN201711493549.9A
Other languages
Chinese (zh)
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.)
GRANDSTREAM NETWORKS Inc
SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd
Original Assignee
GRANDSTREAM NETWORKS Inc
SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY 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 GRANDSTREAM NETWORKS Inc, SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd filed Critical GRANDSTREAM NETWORKS Inc
Priority to CN201711493549.9A priority Critical patent/CN108322617A/en
Publication of CN108322617A publication Critical patent/CN108322617A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0081Network operation, administration, maintenance, or provisioning
    • H04M7/0084Network monitoring; Error detection; Error recovery; Network testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2236Quality of speech transmission monitoring

Abstract

The present invention mainly discloses a kind of phone Handless system audio self checking method, including following operation:Step a:A server and client side based on TCP is built on PC and tested phone, for establishing TCP communication connection between PC and tested phone;Step b:The audio data that test phase generates is sent under the specified directory of the ends PC by tested phone;Step c:PC is read automatically by LabVIEW test programs is tested the audio data post analysis judgement that phone is sent.By the audio self checking method, the measurement of tested phone and virtual instrument can be made to be combined together, realize and the voice signal for being tested the acquisition of phone hands-free microphone is analyzed and judged, phone is tested to quickly measure.Test system structure involved by audio self checking method provided by the invention is simple, and production test is of low cost, simple to operate, meets the use of production line scale.

Description

A kind of phone Handless system audio self checking method
Technical field
The invention belongs to audio detection field more particularly to communication apparatus audio detection technologies.
Background technology
With the development of voip technology and voice communication technology so that voice communication cost reduction, voice call quality carry Height, more and more VoIP end products are used as the tool of our live and work exchanges.Loud speaker and microphone conduct The necessary part of VoIP terminals first has to ensure loud speaker and microphone the two acoustics member before establishing smooth call Part can work normally.Currently, when producing phone on production line in enormous quantities, the audio-frequency test engineer for generally requiring profession passes through Artificial audition and the mode manually blown determine whether the two acoustic elements work normally, and this subjective sense by people Feel that, labor intensity low with the judgment method of experience time-consuming efficiency is big and the poor repeatability of judgement result, and in audio-frequency test The work of other dependence tests is also difficult to be unfolded when engineer is deficienter.
Therefore, in order to avoid the inefficiencies of artificial detection, labor intensity is big the deficiencies of, utilize existing technology automatic detection Whether mode automatic decision microphone works normally, and whether loud speaker is that defective products is of great significance.
Invention content
The purpose of the present invention is to provide a kind of phone Handless system audio self checking method, by using virtual instrument and Digital Signal Processing realizes that quickly detection is tested phone loud speaker and microphone for automation.
In order to achieve the above-mentioned object of the invention, a kind of phone Handless system audio self checking method of the invention, including following behaviour Make:Step a:A server and client side based on TCP is built on PC and tested phone, for PC and tested phone it Between establish TCP communication connection;Step b:The audio data that test phase generates is sent to the ends PC specified directory by tested phone Under;Step c:PC is read automatically by LabVIEW test programs is tested the audio data post analysis judgement that phone is sent.
Preferably, the test phase of tested phone includes in above-mentioned steps b:First stage hands-free microphone test and The hand-free loudspeaker of second stage is tested, when the first stage hands-free microphone test by after carry out the hands-free of second stage and raise Sound device is tested.
Preferably, the hands-free microphone of above-mentioned first stage, which is tested, is specially:LabVIEW test programs are opened at the ends PC, Into hands-free microphone test interface, microphone test is clicked, standard loudspeakers playing standard of the phone by USB connections is tested Source of sound A, tested phone acquisition generate audio data a and are sent to the ends PC.
Preferably, the hand-free loudspeaker of above-mentioned second stage, which is tested, is specially:When the test of first stage hands-free microphone is logical Later, LabVIEW test programs can click loud speaker test automatically into hand-free loudspeaker test interface, and tested phone passes through Hand-free loudspeaker playing standard source of sound B after finishing, is tested phone automatically by the collected audio data b of hands-free microphone It is sent to the ends PC.
Preferably, c program is write at the ends PC, plays source of sound, microphone acquisition for loud speaker and preserves audio file.
Preferably, in the first stage in the hand-free loudspeaker test of hands-free microphone test and second stage, hands-free wheat Gram wind converts the sound PCM format file of acquisition to WAV formatted files, and preserves to specified directory.
Preferably, at the ends PC, microphone decision procedure and loud speaker noise decision procedure are also write based on LabVIEW, are used It is tested the audio data of phone transmission in analysis, spectrum analysis and judgement are carried out to it.
Preferably, one http-server is installed at the ends PC, is arranged and specifies fixing end slogan, tested phone and PC are accessed In the same LAN and it is set as the static IP of the same network segment, while by the client-side program of tested phone and the ends PC c program Under the download directory for copying http-server to.
Preferably, after tested phone is restarted, tested phone can establish connection with http-server automatically by network and download File under catalogue, and jump to test prompts interface.
Preferably, after above-mentioned steps c is executed, test interface automatic jumps to the interface of next phone of test, carries out down Primary test.
Scheme overcomes the limitation of artificial detection through the invention, and test system structure is simple, and test mode is easy, at This is cheap, it is only necessary to a computer, a sound attenuator, a standard loudspeakers and a tested phone.
Measurement method provided by the invention can solve batch production phone when, to audio-frequency test engineer it is excessive according to Rely, reduce the waste of human and material resources and financial resources, when production line is tested, the operator of no test experience can also test, only Need to see final test result then can quickly judge whether tested phone hand-free loudspeaker and microphone are normal.
Description of the drawings
Fig. 1 is the flow chart of phone Handless system audio self checking method in the specific embodiment of the invention.
Specific implementation mode
The basic principle of invention:The present invention, which tests detecting system, only needs a computer, a sound attenuator, a standard to raise one's voice Device and a tested phone.Standard loudspeakers playing standard source of sound 1 of the phone by USB connections tested first, is tested words The hands-free microphone of machine acquires and preserves the audio received, judges the whether normal work of hands-free microphone by analyzing audio files Make;Hands-free microphone is judged as the hand-free loudspeaker playing standard source of sound 2 by and then by tested phone, is tested words The hands-free microphone of machine acquires and preserves the audio received, judges whether hand-free loudspeaker has exception by analyzing audio files Sound.
In order to illustrate more clearly of the technical solution of present example, below in conjunction with exemplary plot to the implementation of the present invention into The detailed introduction of row, description below is only some embodiments of the present invention.It should be appreciated that specific implementation described herein Example is only used to explain the present invention, is not intended to limit the present invention.For those of ordinary skill in the art, wound is not being paid Under the premise of the property made is worked, the other embodiment of the present invention can also be obtained according to these embodiments.
Further, it is also possible to carry out Digital Signal Processing by the audio files acquired to microphone, realizes and quickly judge to exempt from Carry whether microphone accesses or whether positive and negative anodes are reversed, realization quickly judges whether hand-free loudspeaker has abnormal sound.
The hand-free loudspeaker and microphone that are tested phone are carried out based on virtual instrument an embodiment of the present invention provides a kind of The method of spectrum analysis detection realizes that quickly detection is tested phone Handless system acoustic characteristic.
The method of the present invention includes mainly judging twice, is respectively:Hands-free microphone judges and hand-free loudspeaker judges.
(One)Hands-free microphone judges:
The hands-free microphone of the standard loudspeakers playing standard source of sound A of tested phone USB connections, tested phone are acquired and preserved The audio a received, tested phone establishes TCP connection with PC, and the audio data a of preservation is transmitted to PC, PC by TCP After the LabVIEW programs at end read audio data a, data-signal is converted to frequency domain and is analyzed, and does hands-free microphone threshold Value judgement, judgement pass through, and indicator light display green indicates that hands-free microphone is normal, and judgement does not pass through, and indicator light is displayed in red, It indicates that hands-free microphone is abnormal, hand-free loudspeaker judgement need not be done.
(Two)Hand-free loudspeaker judges:
When above-mentioned hands-free microphone is judged as the hand-free loudspeaker playing standard source of sound B by and then by tested phone. The hands-free microphone of tested phone acquires and preserves the audio b received, and tested phone establishes TCP connection with PC, and will preserve Audio data b PC is transmitted to by TCP, after the LabVIEW programs at the ends PC read audio data b, which is converted Noise analysis is carried out to frequency domain, and does threshold determination, judgement passes through, and indicator light display green, expression hand-free loudspeaker is non-defective unit, Judgement does not pass through, and indicator light is displayed in red, and expression hand-free loudspeaker is defective products.
Fig. 1 is the flow chart of phone Handless system audio self checking method in the specific embodiment of the invention.It, should be certainly with reference to figure 1 Detecting method detailed step is as follows:
Step 1:A server and client side based on TCP is built on PC and tested phone, for PC and tested phone it Between establish TCP communication connection.Wherein, phone is tested as client, and the ends PC are as server end.
Client on tested phone is write with c program, is mainly used for initiating TCP connection request and establish with PC to connect After send audio data.The server at the ends PC is write with Python, is mainly used for establishing the connection with tested phone and receives quilt Survey the audio data that phone is sent.
Step 2:C program is write at the ends PC, is mainly used for loud speaker and plays source of sound, microphone acquisition and preserve audio text Part.
When carrying out hands-free microphone test, it is tested the standard loudspeakers playing standard source of sound A of phone USB connections, will be talked about The collected sound PCM format file of machine hands-free microphone is converted into WAV formatted files, and preserves to specified directory.Into When row hand-free loudspeaker is tested, it is tested the hand-free loudspeaker playing standard source of sound B of phone, phone hands-free microphone is collected Sound PCM format file is converted into WAV formatted files, and preserves to specified directory.
Step 3:The LabVIEW test programs of server Python files in automatic read step 1 is write at the ends PC are used In the automatic audio data for reading and being tested phone and sending.
Meanwhile writing microphone decision procedure and loud speaker noise decision procedure respectively based on LabVIEW, for analyzing quilt The audio data that phone is transmitted to the ends PC is surveyed, spectrum analysis and judgement are carried out to it.
Step 4:One http-server is installed at the ends PC, is arranged and specifies fixing end slogan, tested phone and PC are accessed In the same LAN and it is set as the static IP of the same network segment, then the client-side program and step 2 of phone will be tested in step 1 Middle c program copies under the download directory of http-server.
Step 5:Restart tested phone, tested phone can establish connection download directory with http-server automatically by network Under file, and jump to test prompts interface.
Step 6:LabVIEW test programs are opened, into the hands-free microphone test interface of phone, microphone is clicked and surveys Examination is tested standard loudspeakers playing standard source of sound A of the phone by USB connections, and after finishing, tested phone will can exempt from automatically It carries the collected audio data a of microphone and is converted to WAV formats, preserve to specified directory, then click pass, be tested phone Audio data a can be sent under the specified directory of the ends PC, LabVIEW test programs can read the text of the audio under the catalogue automatically Part carries out analysis and determines whether to pass through, and if judgement passes through, indicator light display green, such as judgement does not pass through, and indicator light is displayed in red, It indicates that hands-free microphone is abnormal, machine check need to be torn open and judged without doing the hand-free loudspeaker of step 7.
Step 7:After hands-free microphone test passes through, LabVIEW test programs can be tested automatically into hand-free loudspeaker Loud speaker test is clicked at interface, is tested phone by hand-free loudspeaker playing standard source of sound B, after finishing, is tested phone meeting Automatically the collected audio files of hands-free microphone is converted to WAV formats, preserves to specified directory, then clicks pass, Audio data b can be sent under the specified directory of the ends PC by tested phone, and LabVIEW can read the audio file under the catalogue automatically It carries out analysis to determine whether to pass through, if judgement passes through, indicator light display green, such as judgement does not pass through, and indicator light is displayed in red, table Show that hand-free loudspeaker is defective products, machine check need to be torn open.
Step 8:Hands-free microphone and hand-free loudspeaker are all tested pass through after, test interface automatic jump to test next The interface of phone, is tested next time.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (10)

1. a kind of phone Handless system audio self checking method, which is characterized in that the method includes following operations:
Step a:A server and client side based on TCP is built on PC and tested phone, is used for the PC and the quilt TCP communication connection is established between survey phone;
Step b:The audio data that test phase generates is sent under the specified directory of the ends PC by the tested phone;
Step c:The PC reads the audio data post analysis that the tested phone is sent by LabVIEW test programs automatically Judgement.
2. audio self checking method according to claim 1, which is characterized in that be tested phone described in the step b Test phase includes:The hands-free microphone test of first stage and the hand-free loudspeaker of second stage are tested, when first rank The hands-free microphone test of section carries out the hand-free loudspeaker test of the second stage after passing through.
3. audio self checking method according to claim 2, which is characterized in that the hands-free microphone of the first stage is tested Specially:LabVIEW test programs are opened at the ends PC, into hands-free microphone test interface, click microphone test, institute Standard loudspeakers playing standard source of sound A of the tested phone by USB connections is stated, the tested phone acquisition generates audio data a And it is sent to the ends PC.
4. audio self checking method according to claim 3, which is characterized in that the hand-free loudspeaker of the second stage is tested Specially:After first stage hands-free microphone test passes through, the LabVIEW test programs can be raised automatically into hands-free Sound device test interface, clicks loud speaker test, and the tested phone is finished by hand-free loudspeaker playing standard source of sound B Afterwards, the collected audio data b of hands-free microphone is sent to the ends PC by the tested phone automatically.
5. audio self checking method according to claim 4, which is characterized in that c program is write at the ends PC, is used for loud speaker It plays source of sound, microphone acquisition and preserves audio file.
6. audio self checking method according to claim 5, which is characterized in that surveyed in the hands-free microphone of the first stage In the test of the hand-free loudspeaker of examination and the second stage, the hands-free microphone converts the sound PCM format file of acquisition For WAV formatted files, and preserve to specified directory.
7. audio self checking method according to claim 6, which is characterized in that at the ends PC, also write based on LabVIEW Microphone decision procedure and loud speaker noise decision procedure, the audio data for analyzing the tested phone transmission are right It carries out spectrum analysis and judgement.
8. audio self checking method according to claim 7, which is characterized in that install a http service at the ends PC Device is arranged and specifies fixing end slogan, and the tested phone and the PC are accessed in the same LAN and are set as same net The static IP of section, while copying the client-side program of the tested phone and the ends PC c program to the http-server Download directory under.
9. audio self checking method according to claim 8, which is characterized in that described tested after the tested phone is restarted Phone can establish the file under connection download directory with the http-server automatically by network, and jump to test prompts circle Face.
10. audio self checking method according to claim 9, which is characterized in that after the step c is executed, test circle Face automatic jumps to the interface of next phone of test, is tested next time.
CN201711493549.9A 2017-12-30 2017-12-30 A kind of phone Handless system audio self checking method Pending CN108322617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711493549.9A CN108322617A (en) 2017-12-30 2017-12-30 A kind of phone Handless system audio self checking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711493549.9A CN108322617A (en) 2017-12-30 2017-12-30 A kind of phone Handless system audio self checking method

Publications (1)

Publication Number Publication Date
CN108322617A true CN108322617A (en) 2018-07-24

Family

ID=62893684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711493549.9A Pending CN108322617A (en) 2017-12-30 2017-12-30 A kind of phone Handless system audio self checking method

Country Status (1)

Country Link
CN (1) CN108322617A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151460A (en) * 2018-10-17 2019-01-04 杭州兆华电子有限公司 A kind of IP Camera test macro and its test method
CN109168120A (en) * 2018-11-16 2019-01-08 深圳市爱培科技术股份有限公司 A kind of loudspeaker and microphone test method, intelligent terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510417A (en) * 2011-09-29 2012-06-20 太仓市同维电子有限公司 Hand-free tone quality testing system of IP (internet protocol) phone terminal device and method thereof
CN104105048A (en) * 2014-07-17 2014-10-15 福建星网视易信息系统有限公司 Detecting system, device and method for audio test of electronic device
CN105263096A (en) * 2015-10-28 2016-01-20 宁波萨瑞通讯有限公司 Method and apparatus for detecting audio device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510417A (en) * 2011-09-29 2012-06-20 太仓市同维电子有限公司 Hand-free tone quality testing system of IP (internet protocol) phone terminal device and method thereof
CN104105048A (en) * 2014-07-17 2014-10-15 福建星网视易信息系统有限公司 Detecting system, device and method for audio test of electronic device
CN105263096A (en) * 2015-10-28 2016-01-20 宁波萨瑞通讯有限公司 Method and apparatus for detecting audio device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151460A (en) * 2018-10-17 2019-01-04 杭州兆华电子有限公司 A kind of IP Camera test macro and its test method
CN109168120A (en) * 2018-11-16 2019-01-08 深圳市爱培科技术股份有限公司 A kind of loudspeaker and microphone test method, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN103179495B (en) The ear microphone of mobile terminal and the audio testing method of receiver and system
CN103167391B (en) The audio testing method of audio test system and test system
JP5053285B2 (en) Determining audio device quality
CN101132594A (en) Audio testing system and method for mobile communication terminal
CN103179240A (en) Audio test method and system for mobile terminal
CN112017693B (en) Audio quality assessment method and device
CN110337055A (en) Detection method, device, electronic equipment and the storage medium of speaker
CN112017687B (en) Voice processing method, device and medium of bone conduction equipment
CN104601769A (en) Automatic mobile phone main board audio testing system
CN105979255B (en) A kind of audio collection frock, method and cloud server
CN103179496A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN105979462A (en) Test processing method and device based on microphone
WO2015051630A1 (en) Detection method and detection system for audio transmission characteristic of building intercom system
CN109743665A (en) A kind of communication apparatus acoustic characteristic detection method
CN109068251A (en) A kind of automatic balancing method and system of intelligent hearing aid
CN105529037A (en) Communication equipment voice quality evaluation testing system and testing method
CN108322617A (en) A kind of phone Handless system audio self checking method
CN111491248A (en) Audio detection system and audio detection method of electronic product
CN109327788A (en) A kind of WiFi speaker test macro and its test method
CN115604621A (en) Earphone testing method, device, equipment and computer readable storage medium
CN107403629B (en) Far-field pickup performance evaluation method and system, and electronic device
CN203747882U (en) Test device used for efficiently detecting audio performance of IP telephone
CN107231597A (en) The method of testing and system of harmonic distortion of loudspeaker value
CN201699719U (en) Audio testing system for TD-SCDMA mobile communication terminal
CN103258544A (en) Recording testing method, recording testing device, examination terminal and examination system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180724

RJ01 Rejection of invention patent application after publication