Summary of the invention
The technical problem to be solved in the present invention is, during at the voice quality test of the above-mentioned cordless communication network of prior art, the low and low defective of testing efficiency of resource utilization provides a kind of voice quality method of testing and system.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of voice quality method of testing, the call voice quality for the testing wireless communication network said method comprising the steps of:
Steps A, first test terminal receive the voice quality test request, the sign and the called number that comprise cordless communication network to be measured in the described voice quality test request, described called number are the number that belongs to described cordless communication network to be measured in the number of second test terminal;
Step B, first test terminal send the voice call connection request according to described voice quality test request by cordless communication network to be measured to second test terminal;
After step C, voice call connection were set up, the received pronunciation that is used for the voice quality test was play in first test terminal, and the received pronunciation of first test terminal broadcast that receives is recorded in second test terminal;
After the received pronunciation of playing described first test terminal has been recorded in step D, second test terminal, play the received pronunciation that is used for test, the received pronunciation of second test terminal broadcast that receives is recorded in first test terminal;
After the received pronunciation of described second test terminal playing has been recorded in step e, first test terminal, disconnect with second test terminal between voice call be connected;
The first average suggestion value is analyzed and calculated in step F, first test terminal according to voice and the received pronunciation recorded; The second average suggestion value is analyzed and calculated in second test terminal according to voice and the received pronunciation recorded;
Step G, second test terminal send to first test terminal with the second average suggestion value;
Step H, first test terminal compare the smaller value in the first average suggestion value and the second average suggestion value and the average suggestion value of presetting of standard, to obtain test result.
Preferably, in the described step F, described first test terminal utilizes the PESQ algorithm to calculate the described first average suggestion value; Described second test terminal utilizes the PESQ algorithm to calculate the second average suggestion value.
Preferably, described step C also comprises: the first conversation parameter in the playing standard voice process is gathered in first test terminal, and the second conversation parameter in the recorded speech process is gathered in second test terminal; The described first and second conversation parameters include signal strength signal intensity;
Described step D also comprises: the 3rd conversation parameter in the recorded speech process is gathered in first test terminal, and the four-way words parameter in the playing standard voice process is gathered in second test terminal; The described third and fourth conversation parameter includes signal strength signal intensity.
Preferably, described step G also comprises:
Described second test terminal sends to first test terminal with the described second conversation parameter and four-way words parameter.
Preferably, described test result also comprises: first test terminal result that the smaller value in the parameter and default parameter value compare with the described first conversation parameter and second conversation, and first test terminal will described the 3rd conversation parameter and four-way words parameter in the result that compares of smaller value and the parameter value of presetting.
Preferably, described method also comprises:
Step I, after step H, described result is shown to the interface of first test terminal and/or described result is sent to a predefined terminal.
A kind of phonetic quality testing system, for the communication speech quality of testing wireless communication network, described system comprises: first test terminal and second test terminal, described first test terminal and second test terminal communicate by cordless communication network to be measured;
Wherein, described first test terminal comprises: the first resource scheduling management module, the first speech play module that is connected with the first resource scheduling management module respectively, the first voice recording module, first data processing module;
Described second test terminal comprises: the second resource scheduling management module, the second speech play module that is connected with the second resource scheduling management module respectively, the second voice recording module, second data processing module;
The first resource scheduling management module, be used for receiving the voice quality test request, and send the voice call connection request according to described voice quality test request to second test terminal by cordless communication network to be measured, also be used for the first speech play module, the first voice recording module and first data processing module are controlled;
The first speech play module is used for playing the received pronunciation that is used for test to second test terminal after the voice call of first test terminal and second test terminal is connected foundation;
The first voice recording module is used for recording the voice that the second speech play module is play;
First data processing module is used for voice and the received pronunciation analysis of recording according to the first voice recording module and calculates the first average suggestion value;
The second resource scheduling management module is used for receiving the connection request that first test terminal sends voice call, and controls the second speech play module, the second voice recording module and second data processing module;
The second speech play module is used for playing for the received pronunciation of testing to first test terminal;
The second voice recording module is used for recording the received pronunciation that the first speech play module is play;
Second data processing module is used for the speech analysis of recording according to the second voice recording module and calculates the second average suggestion value, and the described second average suggestion value is sent to first test terminal;
Described first data processing module also is used for the smaller value of the first average suggestion value and the second average suggestion value is compared with the average suggestion value of presetting of standard, to obtain test result;
The sign and the called number that comprise cordless communication network to be measured in the voice quality test request that the described first resource scheduling management module receives, described called number are the number that belongs to described cordless communication network to be measured in the number of described second test terminal.
Preferably, described first test terminal also comprises the first parameter acquisition module, and described second test terminal also comprises the second parameter acquisition module;
The first parameter acquisition module is used for gathering the first conversation parameter of the first speech play module playing standard voice process, and gathers the conversation of the 3rd in first voice recording module recorded speech process parameter;
The second parameter acquisition module is used for the second conversation parameter of the second voice recording module recorded speech process of gathering, and gathers the four-way words parameter in the second speech play module playing standard voice process;
Described first, second, third and four-way words parameter include: signal strength signal intensity;
The described first resource scheduling management module also is used for the described first parameter acquisition module is controlled;
The described second resource scheduling management module also is used for the described second parameter acquisition module is controlled.
Preferably, described second data processing module is used for that also the second conversation parameter and four-way are crossed parameter and sends to first test terminal; Described first data processing module also is used for the smaller value of the described first conversation parameter and the second conversation parameter is compared with the parameter value of presetting, and the smaller value in described the 3rd conversation parameter and the four-way words parameter and default parameter value compared, to obtain test result.
Preferably, described first data processing module utilizes the PESQ algorithm to calculate the described first average suggestion value; Described second data processing module utilizes the PESQ algorithm to calculate the second average suggestion value.
Implement voice quality method of testing of the present invention and system, have following beneficial effect: in test process, reduce conflict, the minimizing wasting of resources between the test resource, improved the utilance of resource; Test result is more accurate; Automatically perform test assignment, therefore need not to take a lot of human resources, improved testing efficiency; And for the tester, easy to operate, reduce tester's testing complex degree.
Embodiment
Understand for technical characterictic of the present invention, purpose and effect being had more clearly, now contrast accompanying drawing and describe the specific embodiment of the present invention in detail.
In the description of the embodiment of the invention, it will be appreciated that " first " of first test terminal only is used for distinguishing 2 different test terminals with " second " of second test terminal.In addition, " first " in " the first average suggestion value " that occurs during the present invention describes, " the second average suggestion value " etc., " second " etc. only are used for describing purpose, and can not be interpreted as indication or hint relative importance.
Voice quality method of testing and the system of the embodiment of the invention can make things convenient for the tester that the cordless communication network of different systems is carried out tone testing; In test process, by in the voice quality test request, increasing the sign of cordless communication network to be tested, with the voice quality of accurate test corresponding network, improve test accuracy; Adopt method of testing and the system of the embodiment of the invention, first test terminal and second test terminal all utilize subjective speech quality assessment (Perceptual evaluation of speech quality, PESQ) algorithm averages suggestion value (Mean Opinion Score, MOS) calculating makes that the MOS value that obtains is more accurate; And all calculate the MOS value first test terminal and second test terminal, and caller and called voice quality all can get access to, and makes more realistic to the evaluation of voice quality.Voice quality method of testing and system that the embodiment of the invention provides automatically perform test assignment, therefore need not to take a lot of human resources, have improved testing efficiency.And for the tester, easy to operate, reduce tester's testing complex degree.
In an embodiment of the present invention, tested cordless communication network can comprise GSM, WCDMA, TD-SCDMA, CDMA20001xEV-DO, 4G network etc.
The voice quality test of two or more at least cordless communication networks is all supported in first test terminal and second test terminal in an embodiment of the present invention.The test terminal supports the implementation method of the voice quality test of two or more cordless communication networks to be: plural at least network card (GSM, EVDO, WCDMA or TD-SCDMA etc.) interface or draw-in groove are set in the test terminal, and corresponding the communication unit corresponding with network card interface or draw-in groove be set, make the test terminal can be at least establish a communications link with two or more cordless communication network.
Be illustrated in figure 1 as the flow chart of the voice quality method of testing of the embodiment of the invention.This method comprises:
Step S101, first test terminal receive the voice quality test request, the sign and the called number that comprise cordless communication network to be measured in the described voice quality test request, described called number are the number that belongs to described cordless communication network to be measured in the number of second test terminal.
Also comprised before step S101: first test terminal receives called number and selects, and receives the calling number selection.
In an embodiment of the present invention, different calling numbers belongs to different cordless communication networks, and different called numbers also belongs to different cordless communication networks.If the voice quality test of EVDO, WCDMA and these 3 kinds of cordless communication networks of TD-SCDMA is supported in first test terminal, then first test terminal should comprise three calling numbers corresponding with EVDO, WCDMA and TD-SCDMA network respectively.Selected some calling numbers, cordless communication network to be measured just is determined, and then called number should select to belong in the number of second test terminal number of this cordless communication network to be measured.Can guarantee that so just voice quality test undertaken by same cordless communication network.
The user can be according to test needs, the corresponding number of cordless communication network arbitrary with to be tested of selecting the test terminal to support.
In an embodiment of the present invention, calling number and called number can be by a kind of generations of following three kinds of modes: imported generation, selected calling number and called number automatically, imported by input keyboard or the touch-screen of test terminal by the user according to preset rules by the test terminal by the smart machine (as PC or mobile phone, Pad etc.) that is connected the test terminal by the user.The voice quality test request also can be by a kind of generation in following three kinds of modes: imported generation, sent test request automatically, import generation by the user by input keyboard or the touch-screen of test terminal according to preset rules by the test terminal by the smart machine (as PC or mobile phone, Pad etc.) that connects the test terminal by the user.Wherein, select caller and called number by the test terminal automatically according to preset rules, and send test request automatically, can carry out in the following manner: preestablish time of sending test request automatically and calling number, called number.When the test terminal detects preset rules and satisfies, namely send test request automatically.Because calling number and cordless communication network to be measured are one to one, therefore, the cordless communication network that this voice quality test will be tested can be judged according to calling number in first test terminal.In addition, preset rules also can comprise other rule.
Step S102, first test terminal send the voice call connection request according to described voice quality test request by cordless communication network to be measured to second test terminal.
Before carrying out the voice quality test, need between first test terminal and second test terminal, connect to carry out voice call.
In step S102, need to judge whether first test terminal and second test terminal are successfully set up voice call and be connected.If not, then wait for, when default dialing time threshold value then, first test terminal sends the voice call connection request again to second test terminal.After resending connection request, do not connect if also successfully set up voice call, then wait for again, so circulation connects up to successfully setting up conversation.But connect when setting up the request threshold value if first test terminal sends the voice call connection request by stand-by period from cordless communication network to be measured to second test terminal reaches, first test terminal stops to send to second test terminal request of connecting.Then in such cases, the voice quality test will stop.
Connect then continuation execution subsequent step if successfully set up voice call.
After step S103, voice call connection were set up, the received pronunciation that is used for the voice quality test was play in first test terminal, and the received pronunciation of first test terminal broadcast that receives is recorded in second test terminal.
In the first test terminal playing standard voice, the first conversation parameter of first test terminal and the second test terminal communication process will be gathered in first test terminal.
The second conversation parameter of second test terminal and the first test terminal communication process also will be gathered in second test terminal.
The described first conversation parameter and the second conversation parameter comprise: signal strength signal intensity.In addition, the described first conversation parameter and the second conversation parameter also can comprise cell information etc.
After the received pronunciation of playing described first test terminal has been recorded in step S104, second test terminal, play the received pronunciation that is used for test, the received pronunciation of second test terminal broadcast that receives is recorded in first test terminal.
Play end when the received pronunciation of first test terminal, then second test terminal begins the playing standard voice, and the received pronunciation of second test terminal broadcast that receives is recorded in first test terminal.
Record in the process of received pronunciation at the second test terminal playing standard voice and first test terminal, the 3rd conversation parameter of first test terminal and the second test terminal communication process will be gathered in first test terminal.And the four-way words parameter of second test terminal and the first test terminal communication process also will be gathered in second test terminal.
Described the 3rd conversation parameter and four-way words parameter comprise: signal strength signal intensity.In addition, described the 3rd conversation parameter and four-way words parameter also can comprise cell information etc.
In an embodiment of the present invention, the received pronunciation that play first test terminal is identical with the received pronunciation that play second test terminal, like this can be so that the MOS value in the subsequent step, parameter value etc. calculate more convenient.
After the received pronunciation of described second test terminal playing has been recorded in step S105, first test terminal, disconnect with second test terminal between voice call be connected.
The first average suggestion value is analyzed and calculated in step S106, first test terminal according to voice and the received pronunciation recorded; The second average suggestion value is analyzed and calculated in second test terminal according to voice and the received pronunciation recorded.
In this step, it is different probably with the received pronunciation of storage in advance that the voice that received pronunciation obtains are recorded in first test terminal, and it determines the MOS value by voice and the received pronunciation relatively recorded.When the MOS value (the first average suggestion value) of this voice quality test was calculated in first test terminal, the MOS value (the second average suggestion value) of this voice quality test was also calculated in second test terminal.The voice that the same employing in second test terminal is relatively recorded and the difference that identifies voice are to determine the MOS value of this tone testing.
Wherein, first test terminal and second test terminal are all used subjective speech quality assessment (Perceptual evaluation of speech quality, PESQ) algorithm are calculated the MOS value, thereby makes the MOS value of acquisition more accurate.
Subjective speech quality assessment (Perceptual evaluation of speech quality, PESQ) algorithm be with standard voice signals and by the degraded signal after the wireless network transmissions (voice of namely recording) by the level adjustment, carry out filtering with input filter mock standard telephone receiver again.These two signals are aimed in time, and by sense of hearing conversion.This conversion comprises compensation and the equilibrium to system's neutral line filtering and change in gain, passes through cognitive model again, thereby is mapped to the prediction to subjective Mean Opinion Score.Generally speaking, the otherness of recording signal and standard voice signals is more big, and the MOS score value that calculates is just more low.
Step S107, second test terminal send to first test terminal with the second average suggestion value.
In this step, second test terminal also sends to first test terminal with the second conversation parameter and the four-way words parameter that obtains in step 103 and 104.
Step S108, first test terminal compare the smaller value in the first average suggestion value and the second average suggestion value and the average suggestion value of presetting of standard, to obtain test result.
In this step, the second average suggestion value and the first average suggestion value that second test terminal is calculated in first test terminal compare, and the smaller value in the two and the average suggestion value of presetting of standard are compared.When the first average suggestion value and the second average suggestion value are equal, then any average suggestion value are compared with the average suggestion value of presetting of standard and all can.For example, the first average suggestion value is that 3.4, the second average suggestion values are 3.3, and the default average suggestion value of standard is 3.7.Then first test terminal compares the second average suggestion value 3.3 and the default average suggestion value 3.7 of standard, can obtain test result for the average suggestion value of this time voice quality test less than the average suggestion value of presetting of standard.The voice quality that can further learn this voice quality test according to this test result does not meet standard.
In addition, first test terminal result that also smaller value in the parameter and default parameter value compare with the described first conversation parameter and second conversation is as test result, and first test terminal will described the 3rd conversation parameter and four-way words parameter in the result that compares of smaller value and the parameter value of presetting as test result.For example, the signal strength signal intensity in the first conversation parameter is-82dBm that the signal strength signal intensity in the second conversation parameter is-85dBm that the signal strength signal intensity in the 3rd conversation parameter is-82dBm that the signal strength signal intensity in the four-way words parameter is-84dBm that default parameter value is-90dBm.Then the first test terminal general-85dBm and-84dBm compares with-90dBm respectively, the comparative result that obtains is the conversation parameter greater than default parameter value.
In an embodiment of the present invention, record first, second, third, fourth conversation parameter, and the smaller value in the parameter of will converse compares with the parameter value of presetting, and is in order to reflect caller and called voice call quality respectively.
And adopt smaller value and default average suggestion value in the first and second average suggestion values to compare, be because average suggestion value is directly proportional with voice call quality, in caller test terminal or the called test terminal, as long as average suggestion value that a side calculates is arranged less than default average suggestion value, even then the average suggestion value that calculates of the opposing party is more than or equal to default average suggestion value, the test result of the voice quality of this time conversation also be that average suggestion value is less than the average suggestion value of presetting.
Described method also comprises: step S109, after step S108 is shown to described result the interface of first test terminal and/or described result is sent to a predefined terminal.For example, test result can be sent to the server of administrative center, by this server the problem that reflects in the test result be analyzed.
As shown in Figure 2, be the structure chart of the phonetic quality testing system of the embodiment of the invention.In an embodiment of the present invention, phonetic quality testing system comprises:
First test terminal 10 and 20, the first test terminals 10, second test terminal and second test terminal 20 communicate by cordless communication network to be measured.
First test terminal 10 comprises: the first resource scheduling management module 101, the first speech play module 102 that is connected with the first resource scheduling management module 101 respectively, the first voice recording module 103, first data processing module 104, the first parameter acquisition module 105;
Second test terminal 20 comprises: the second resource scheduling management module 201, the second speech play module 202 that is connected with the second resource scheduling management module 201 respectively, the second voice recording module 203, second data processing module 204, the second parameter acquisition module 205;
The first resource scheduling management module 101 is used for receiving the voice quality test request, and sends voice call connection request by cordless communication network to be measured to second test terminal 20 according to described voice quality test request.The first resource scheduling management module 101 also can be used for the first speech play module 102, the first voice recording module 103, first data processing module 104 and the first parameter acquisition module 105 are controlled, to realize the integral body scheduling to test process.Control to the first speech play module 102, the first voice recording module 103, first data processing module 104 and the first parameter acquisition module 105 comprises: control that each module is started working and time of power cut-off, and call different module etc. as required.
The first speech play module 102 is used for after the voice call of first test terminal 10 and second test terminal 20 is connected foundation, plays the received pronunciation that is used for the voice quality test to second test terminal 20.
The first voice recording module 103 is used for recording the received pronunciation that the second speech play mould 203 is play.
First data processing module 104 is used for voice and the received pronunciation analysis of recording according to the first voice recording module 103 and calculates the first average suggestion value.
The first parameter acquisition module 105 is used for gathering the first conversation parameter of the first speech play mould, 102 playing standard voice process, and gathers the conversation of the 3rd in the first voice recording module, 103 recorded speech processes parameter.
The second resource scheduling management module 201 is used for receiving the voice call connection request that first test terminal 10 sends.The second resource scheduling management module 201 also can be used for the second speech play module 202, the second voice recording module 203, second data processing module, 204 second parameter acquisition modules 205 are controlled, to realize the integral body scheduling to test process.Control to the second speech play module 202, the second voice recording module 203, second data processing module 204 and the second parameter acquisition module 205 comprises: control that each module is started working and time of power cut-off, and call different module etc. as required.
The second speech play module 202 is used for playing the received pronunciation that is used for the voice quality test to first test terminal 10.
The second voice recording module 203 is used for recording the received pronunciation that the first speech play module 103 is play.
Second data processing module 204 is used for voice and the received pronunciation analysis of recording according to the second voice recording module 203 and calculates the second average suggestion value, and the described second average suggestion value is sent to first test terminal 10.
The second parameter acquisition module 205 is used for gathering the second conversation parameter of the second voice recording mould, 203 recorded speech processes, and gathers the four-way words parameter in the second speech play module, the 202 playing standard voice process.
First data processing module 104 also is used for the smaller value of the first average suggestion value and the second average suggestion value is compared with the average suggestion value of presetting of standard, to obtain test result;
Second data processing module 204 is used for that also the second conversation parameter and four-way are crossed parameter and sends to first test terminal.
First data processing module 104 also is used for the smaller value of the first conversation parameter and the second conversation parameter is compared with the parameter value of presetting, and the smaller value in the 3rd conversation parameter and the four-way words parameter and default parameter value compared, to obtain test result.
The sign and the called number that comprise cordless communication network to be measured in the voice quality test request that the first resource scheduling management module 101 receives, called number are the number that belongs to cordless communication network to be measured in the number of second test terminal 20.
Described first, second, third and four-way words parameter include: signal strength signal intensity.
First test terminal 10 is the caller test terminal, and second test terminal 20 is called test terminal.
Phonetic quality testing system of the present invention is treated the testing wireless communication network according to the tone testing request and is tested automatically, and can be dispatched each module by the first and second resource scheduling management modules, thereby the resource in the control whole test process is distributed, can reasonably distribute, utilize every resource, reduce resource contention, reduce wasting of resources phenomenon, improve the utilance of resource.
Should be understood that in the above embodiment of the present invention first test terminal 10 and second test terminal 20 can be hardware devices such as testing mobile phone, computer, also can be the special test equipments with communication function.This special test equipment comprises that necessary hardware, circuit and/or program are to realize functions such as communication, demonstration, input.
By reference to the accompanying drawings embodiments of the invention are described above; but the present invention is not limited to above-mentioned embodiment; above-mentioned embodiment only is schematic; rather than it is restrictive; those of ordinary skill in the art is under enlightenment of the present invention; not breaking away under the scope situation that aim of the present invention and claim protect, also can make a lot of forms, these all belong within the protection of the present invention.