CN107528956B - Voice quality testing method and device - Google Patents

Voice quality testing method and device Download PDF

Info

Publication number
CN107528956B
CN107528956B CN201610451496.3A CN201610451496A CN107528956B CN 107528956 B CN107528956 B CN 107528956B CN 201610451496 A CN201610451496 A CN 201610451496A CN 107528956 B CN107528956 B CN 107528956B
Authority
CN
China
Prior art keywords
test
mode
test mode
user
processing module
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.)
Active
Application number
CN201610451496.3A
Other languages
Chinese (zh)
Other versions
CN107528956A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201610451496.3A priority Critical patent/CN107528956B/en
Publication of CN107528956A publication Critical patent/CN107528956A/en
Application granted granted Critical
Publication of CN107528956B publication Critical patent/CN107528956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method and a device for testing voice quality. The method comprises the following steps: receiving a test mode selected by a user, and entering a corresponding test mode configuration interface according to the test mode selected by the user, wherein the test mode configuration interface is used for providing configuration of test parameters; receiving the test parameters selected by the user on the test mode configuration interface, and performing configuration operation of the corresponding test parameters according to the test parameters selected by the user; and receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to the mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters. The invention can simulate various single network modes, avoids the influence of the network modes on the test result and has lower realization cost.

Description

Voice quality testing method and device
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for testing voice quality.
Background
In the process of manufacturing the mobile phone, the mobile phone assembled by the whole mobile phone needs to be subjected to final whole-machine test so as to ensure that the produced whole mobile phone meets the use requirements of users, wherein the voice quality test is an essential important link. The existing methods for testing the voice quality of the mobile phone comprise the following two methods:
1) a tester uses a mobile phone to be tested to communicate with another mobile phone in an actual network of an external field, and then the voice quality of the communication of the mobile phone to be tested is judged through the subjective feeling of the tester.
2) The comprehensive tester is connected with the mobile phone to be tested, the comprehensive tester is equivalent to a virtual base station and is communicated with the mobile phone to be tested, so that a tester can answer preset voice data of the mobile phone to be tested or input the voice data into the mobile phone to be tested to simulate a scene that the mobile phone receives and calls.
After the test is finished, the testers subjectively compare the voice data input by the mobile phone to be tested with the voice data recorded by the mobile phone to be tested so as to evaluate the voice quality in the sending mode; the tester subjectively compares the voice data preset by the mobile phone to be tested with the voice data answered by the mobile phone to be tested so as to evaluate the voice quality in the receiving mode; or the tester subjectively compares the voice data input by the mobile phone to be tested with the voice data generated by the electroacoustic device in the mobile phone to be tested to evaluate the voice quality in the loop mode.
In the process of implementing the invention, the inventor finds that at least the following technical problems exist in the prior art:
in the first voice quality testing method, it is difficult for the actual network in the outer testing site to have only a single network mode, so the test result is affected by other network modes, and all network modes cannot be tested because of the dependence on the outer field test.
Although the second voice quality testing method can simulate various single network modes to overcome the defects of the first testing method, the price of the current comprehensive testing instrument is very expensive, and therefore, not all mobile phone manufacturers can adopt the comprehensive testing instrument to perform voice quality testing based on research and development cost.
Disclosure of Invention
The voice quality testing method and the voice quality testing device provided by the invention can simulate various single network modes, avoid the influence of the network modes on the testing result and have lower implementation cost.
In a first aspect, the present invention provides a method for testing voice quality, which is applied to a PC terminal, and includes:
receiving a test mode selected by a user, and entering a corresponding test mode configuration interface according to the test mode selected by the user, wherein the test mode configuration interface is used for providing configuration of test parameters;
receiving test parameters selected by a user, and carrying out configuration operation of corresponding test parameters according to the test parameters selected by the user on the test mode configuration interface;
and receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to the mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters.
Optionally, the test mode includes a sending test mode, a receiving test mode, and a loop test mode.
Optionally, the test parameters include a network mode, a sampling rate, and a voice transceiving mode.
Optionally, the network modes include GSM, WCDMA, CDMA, VoLTE, and VOIP; the sampling rate comprises a narrow band and a wide band; the voice transceiving modes include an earpiece mode, a hands-free mode, an earpiece mode and a bluetooth mode.
In a second aspect, the present invention provides a testing apparatus for voice quality, which is disposed at a PC end, and includes a first processing module, a second processing module, and a third processing module;
the first processing module is used for receiving a test mode selected by a user and entering a corresponding test mode configuration interface according to the test mode selected by the user, wherein the test mode configuration interface is used for providing configuration of test parameters;
the second processing module is used for receiving the test parameters selected by the user on the test mode configuration interface and carrying out configuration operation of the corresponding test parameters according to the test parameters selected by the user;
the third processing module is configured to receive a test parameter configuration completion command input by a user, and send the test mode and the test parameter selected by the user to the mobile terminal to be tested through an AT command, so as to control the mobile terminal to be tested to configure a corresponding sound channel and audio parameter.
Optionally, the test mode includes a sending test mode, a receiving test mode, and a loop test mode.
Optionally, the test parameters include a network mode, a sampling rate, and a voice transceiving mode.
Optionally, the network modes include GSM, WCDMA, CDMA, VoLTE, and VOIP; the sampling rate comprises a narrow band and a wide band; the voice transceiving modes include an earpiece mode, a hands-free mode, an earpiece mode and a bluetooth mode.
The method and the device for testing the voice quality provided by the embodiment of the invention receive the test mode selected by the user and enter the corresponding test mode configuration interface according to the test mode selected by the user; receiving test parameters selected by a user, and carrying out configuration operation of corresponding test parameters according to the test parameters selected by the user on the test mode configuration interface; receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to the mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters, wherein the test mode configuration interface is used for providing the configuration of the test parameters. Compared with the prior art, the technical scheme can simulate various single network modes, avoids the influence of the network modes on the test result, and is low in implementation cost.
Drawings
FIG. 1 is a flow chart of a method for testing voice quality according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of different sound paths of the mobile terminal to be tested in the above embodiment;
fig. 3 is a schematic structural diagram of a device for testing voice quality according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a method for testing voice quality, which is applied to a PC (personal computer) end, and as shown in figure 1, the method comprises the following steps:
and S11, receiving the test mode selected by the user, and entering a corresponding test mode configuration interface according to the test mode selected by the user.
The test mode configuration interface is used for providing configuration of test parameters.
S12, receiving the test parameters selected by the user on the test mode configuration interface, and performing configuration operation of the corresponding test parameters according to the test parameters selected by the user.
And S13, receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to the mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters.
And finally, testing the voice quality of the configured mobile terminal to be tested by a tester. The voice quality testing method provided by the embodiment of the invention receives the testing mode selected by the user, and enters the corresponding testing mode configuration interface according to the testing mode selected by the user; receiving the test parameters selected by the user on the test mode configuration interface, and performing configuration operation of the corresponding test parameters according to the test parameters selected by the user; receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to the mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters, wherein the test mode configuration interface is used for providing the configuration of the test parameters. Compared with the prior art, the technical scheme can simulate various single network modes, avoids the influence of the network modes on the test result, and is low in implementation cost.
The test mode comprises a sending test mode, a receiving test mode and a loop test mode.
The test parameters comprise a network mode, a sampling rate and a voice transceiving mode. The network modes include GSM, WCDMA, CDMA, VoLTE and VOIP; the sampling rate comprises a narrow band and a wide band; the voice transceiving modes include an earpiece mode, a hands-free mode, an earpiece mode and a bluetooth mode.
Fig. 2 is a schematic diagram of different sound paths in the mobile terminal to be tested in the above embodiment. As can be seen from the figure, three sound paths are included, namely, a sound path in the transmission mode, a sound path in the reception mode, and a sound path in the loop mode.
1) Sound path of transmission mode
The sound channel of the sending mode is composed of an MIC microphone, an audio analog-digital conversion module, an audio processing module and an ARM processor, wherein the audio conversion module is used for carrying out analog-digital conversion on voice data input by the mobile terminal to be tested, the audio processing module is used for configuring corresponding audio parameters, and the ARM processor is used for carrying out real-time recording on the input voice data.
The mobile terminal to be tested receives an AT command comprising a test mode and test parameters, and configures corresponding sound channels and audio parameters according to the AT command.
The AT command is used to indicate a test mode and test parameters of the current test, where the test mode is a transmission mode, and correspondingly, the sound path is a sound path of a transmission mode, and the test parameters include a network mode, a sampling rate and a voice transceiving mode, for example, the network mode is GSM, the sampling rate is NB (narrowband), and the voice transceiving mode is a hands-free mode.
Then, a tester inputs voice data through the MIC microphone of the mobile terminal to be tested, the input voice data are subjected to analog-to-digital conversion and audio processing in sequence, and the ARM processor can record the voice data subjected to the audio processing in real time, so that the voice sending process is completed.
After the voice sending process is completed, the tester subjectively compares the voice data recorded by the ARM processor with the voice data input by the tester to determine the voice quality of the mobile terminal to be tested when the mobile terminal to be tested is in a sending mode.
2) Sound path of receiving mode
The sound path of the receiving mode comprises an ARM processor, an audio processing module, an audio A/D and D/A module and a loudspeaker, wherein the ARM processor is used for playing preset voice data, the audio processing module is used for configuring corresponding audio parameters, the audio conversion module is used for performing digital-to-analog conversion on the voice data input by the mobile terminal to be tested, and the ARM processor is used for recording the input voice data in real time.
The mobile terminal to be tested receives an AT command comprising a test mode and test parameters, and configures corresponding sound channels and audio parameters according to the AT command.
The AT command is used to indicate a test mode and test parameters of the current test, where the test mode is a receive mode, and correspondingly, the sound path is a sound path of the receive mode, and the test parameters include a network mode, a sampling rate, and a voice transceiving mode, for example, the network mode is GSM, the sampling rate is NB (narrowband), and the voice transceiving mode is a hands-free mode.
Then, the tester plays the voice data preset in the ARM processor of the mobile terminal to be tested, the played voice data are sequentially subjected to audio processing and digital-to-analog conversion, and the tester hears the voice data subjected to digital-to-analog conversion through a loudspeaker, so that the voice receiving process is completed.
After the voice sending process is completed, the tester subjectively compares voice data preset by the ARM processor with voice data heard by the tester in the loudspeaker to determine the voice quality of the mobile terminal to be tested when the mobile terminal to be tested is in a receiving mode.
3) Loop mode acoustic path
The sound path of the loop mode is composed of an MIC receiver, an audio conversion module, an audio processing module, an encoder, a decoder, an audio processing module, an audio conversion module and a loudspeaker.
The mobile terminal to be tested receives an AT command comprising a test mode and test parameters, and configures corresponding sound channels and audio parameters according to the AT command.
The AT command is used to indicate a test mode and a test parameter of the current test, where the test mode is a loop mode, and correspondingly, the sound path is a sound path of the loop mode, and the test parameter includes a network mode, a sampling rate and a voice transceiving mode, for example, the network mode is GSM, the sampling rate is NB (narrowband), and the voice transceiving mode is a hands-free mode.
Then, a tester inputs voice data through the MIC microphone of the mobile terminal to be tested, the input voice data sequentially undergoes analog-to-digital conversion, audio processing and coding, decoding, audio processing and digital-to-analog conversion, and the tester hears the voice data after the digital-to-analog conversion through a loudspeaker, so that the flow of a voice loop is completed.
After the voice loop process is completed, the tester subjectively compares voice data input by the tester through an MIC microphone with voice data heard in a loudspeaker to determine the voice quality of the mobile terminal to be tested when the mobile terminal to be tested is in a loop mode.
The embodiment of the present invention further provides a device for testing voice quality, which is disposed at a PC end, and as shown in fig. 3, the device includes a first processing module 21, a second processing module 22, and a third processing module 23;
the first processing module 21 is configured to receive a test mode selected by a user, and enter a corresponding test mode configuration interface according to the test mode selected by the user;
the test mode configuration interface is used for providing configuration of test parameters;
the second processing module 22 is configured to receive the test parameters selected by the user, and perform configuration operation of corresponding test parameters according to the test parameters selected by the user;
the third processing module 23 is configured to receive a test parameter configuration completion command input by a user, and instruct the test mode and the test parameter selected by the user to the mobile terminal to be tested through the AT, so as to control the mobile terminal to be tested to configure the corresponding sound channel and audio parameter.
Compared with the prior art, the voice quality testing device provided by the embodiment of the invention can simulate various single network modes, avoids the influence of the network modes on the testing result, and has lower implementation cost. Compared with the prior art, various single network modes can be simulated, the influence of the network modes on the test result is avoided, and the implementation cost is low.
The test mode comprises a sending test mode, a receiving test mode and a loop test mode.
The test parameters comprise a network mode, a sampling rate and a voice transceiving mode. The network modes include GSM, WCDMA, CDMA, VoLTE and VOIP; the sampling rate comprises a narrow band and a wide band; the voice transceiving modes include an earpiece mode, a hands-free mode, an earpiece mode and a bluetooth mode.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (4)

1. A method for testing voice quality is applied to a PC terminal, and is characterized by comprising the following steps:
receiving a test mode selected by a user, and entering a corresponding test mode configuration interface according to the test mode selected by the user, wherein the test mode comprises a sending test mode, a receiving test mode and a loop test mode, and the test mode configuration interface is used for providing configuration of test parameters;
receiving the test parameters selected by the user on the test mode configuration interface, and performing configuration operation of the corresponding test parameters according to the test parameters selected by the user; the test parameters comprise a network mode, a sampling rate and a voice transceiving mode;
receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to a mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters, wherein the sound channel for sending the test mode is composed of an MIC microphone, an audio analog-digital conversion module, an audio processing module and an ARM processor, the sound channel for receiving the test mode is composed of an ARM processor, an audio processing module, audio A/D and D/A modules and a loudspeaker, and the sound channel for loop test mode is composed of an MIC earphone, an audio conversion module, an audio processing module, an encoder, a decoder, a protocol processing module, a radio frequency module, an audio processing module, an audio conversion module and a loudspeaker in sequence.
2. The method of claim 1, wherein the network modes include GSM, WCDMA, CDMA, VoLTE, and VOIP; the sampling rate comprises a narrow band and a wide band; the voice transceiving modes include an earpiece mode, a hands-free mode, an earpiece mode and a bluetooth mode.
3. A voice quality testing device is arranged at a PC end and is characterized by comprising a first processing module, a second processing module and a third processing module;
the first processing module is used for receiving a test mode selected by a user and entering a corresponding test mode configuration interface according to the test mode selected by the user, wherein the test mode comprises a sending test mode, a receiving test mode and a loop test mode, and the test mode configuration interface is used for providing configuration of test parameters;
the second processing module is used for receiving the test parameters selected by the user on the test mode configuration interface and carrying out configuration operation of the corresponding test parameters according to the test parameters selected by the user; the test parameters comprise a network mode, a sampling rate and a voice transceiving mode;
the third processing module is used for receiving a test parameter configuration completion command input by a user, and sending the test mode and the test parameters selected by the user to the mobile terminal to be tested through an AT command so as to control the mobile terminal to be tested to configure corresponding sound channels and audio parameters, the voice channel of the loop test mode sequentially comprises an MIC receiver, an audio conversion module, an audio processing module, an encoder, a decoder, a protocol processing module, a radio frequency module, an audio processing module, an audio conversion module and a loudspeaker.
4. The apparatus of claim 3, wherein the network modes comprise GSM, WCDMA, CDMA, VoLTE, and VOIP; the sampling rate comprises a narrow band and a wide band; the voice transceiving modes include an earpiece mode, a hands-free mode, an earpiece mode and a bluetooth mode.
CN201610451496.3A 2016-06-21 2016-06-21 Voice quality testing method and device Active CN107528956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610451496.3A CN107528956B (en) 2016-06-21 2016-06-21 Voice quality testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610451496.3A CN107528956B (en) 2016-06-21 2016-06-21 Voice quality testing method and device

Publications (2)

Publication Number Publication Date
CN107528956A CN107528956A (en) 2017-12-29
CN107528956B true CN107528956B (en) 2020-10-27

Family

ID=60734964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610451496.3A Active CN107528956B (en) 2016-06-21 2016-06-21 Voice quality testing method and device

Country Status (1)

Country Link
CN (1) CN107528956B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147822B (en) * 2018-10-26 2023-05-09 上海创远仪器技术股份有限公司 System and method for VOLTE voice recording and voice quality evaluation
CN109828902B (en) * 2018-12-15 2023-05-26 中国平安人寿保险股份有限公司 Interface parameter determining method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method
CN102651671A (en) * 2011-02-23 2012-08-29 西安龙飞软件有限公司 Novel mobile phone audio test method
CN104601769A (en) * 2014-12-18 2015-05-06 上海斐讯数据通信技术有限公司 Automatic mobile phone main board audio testing system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8737571B1 (en) * 2004-06-29 2014-05-27 Empirix Inc. Methods and apparatus providing call quality testing
CN101605345B (en) * 2009-07-20 2013-08-07 华为终端有限公司 Method, equipment and system for testing external field services
CN102123294A (en) * 2010-12-30 2011-07-13 富泰华工业(深圳)有限公司 Electronic device test system
CN102420891B (en) * 2011-09-23 2014-05-28 展讯通信(上海)有限公司 Mobile terminal and test method, equipment and system thereof
CN103167391B (en) * 2011-12-12 2016-04-13 英业达股份有限公司 The audio testing method of audio test system and test system
CN103533126B (en) * 2012-07-06 2016-02-24 上海斐讯数据通信技术有限公司 A kind of device and method automatically carrying out mobile phone test

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426167A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Audio test system and method
CN102651671A (en) * 2011-02-23 2012-08-29 西安龙飞软件有限公司 Novel mobile phone audio test method
CN104601769A (en) * 2014-12-18 2015-05-06 上海斐讯数据通信技术有限公司 Automatic mobile phone main board audio testing system

Also Published As

Publication number Publication date
CN107528956A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
US8290537B2 (en) Sidetone adjustment based on headset or earphone type
CN102800323B (en) Method and device for reducing noises of voice of mobile terminal
CN108347686A (en) Audio testing method and device, intelligent equipment and storage medium
EP2039135B1 (en) Audio processing in communication terminals
US20100080143A1 (en) System and Method for Testing Mobile Telephone Data Services
JP6266494B2 (en) Audio signal reproduction system and wireless interaction test system between mobile phones and corresponding method and computer program product
CN111199743B (en) Audio coding format determining method and device, storage medium and electronic equipment
US20090061843A1 (en) System and Method for Measuring the Speech Quality of Telephone Devices in the Presence of Noise
EP2056634A2 (en) System and method for determining end-to-end speech quality of mobile telephone devices
CN104217750A (en) A holographic audio record and playback method
US20150195662A1 (en) Method and apparatus for audio testing
CN107528956B (en) Voice quality testing method and device
US20070155332A1 (en) Method and mobile communication device for characterizing an audio accessory for use with the mobile communication device
CN108259653B (en) Voice test method, device and system
CN109327593B (en) Satellite communication terminal audio test system and method
US10326867B2 (en) Measurement and tuning of hands free telephone systems
CN104254086A (en) Voice MOS testing loop-back recording and playing method and system
CN213186560U (en) Audio test system
CN114205798A (en) Bluetooth function test method
CN111193984B (en) Audio transmission device, audio signal processing method, and storage medium
CN219202747U (en) Audio quality testing device and system
CN116156390B (en) Audio processing method and electronic equipment
CN107124494B (en) Earphone noise reduction method and device
CN117560449A (en) Voice quality testing system and method
CN115150497A (en) Audio earphone head and voice call quality testing method

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
GR01 Patent grant
GR01 Patent grant