WO2011137810A1 - Method, system, and device for testing speech quality - Google Patents

Method, system, and device for testing speech quality Download PDF

Info

Publication number
WO2011137810A1
WO2011137810A1 PCT/CN2011/074496 CN2011074496W WO2011137810A1 WO 2011137810 A1 WO2011137810 A1 WO 2011137810A1 CN 2011074496 W CN2011074496 W CN 2011074496W WO 2011137810 A1 WO2011137810 A1 WO 2011137810A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice
voice quality
test
loopback
terminal
Prior art date
Application number
PCT/CN2011/074496
Other languages
French (fr)
Chinese (zh)
Inventor
李力
王勇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011137810A1 publication Critical patent/WO2011137810A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/242Testing correct operation by comparing a transmitted test signal with a locally generated replica
    • H04L1/243Testing correct operation by comparing a transmitted test signal with a locally generated replica at the transmitter, using a loop-back
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the embodiments of the present invention relate to voice testing technologies, and in particular, to a voice quality testing method, a system, a voice testing center, and a voice terminal, and belong to the field of communications technologies.
  • the existing voice service quality assessment methods are usually based on the Mean Opinion Score (MOS) mechanism.
  • MOS Mean Opinion Score
  • Common methods include subjective MOS value evaluation methods and objective MOS value evaluation methods.
  • MOS value is an important indicator for measuring the speech quality of the communication system, and according to the different distortion conditions of the speech quality, the MOS value is divided into five levels of 1 to 5 points.
  • Different MOS scores represent different voice qualities. The larger the MOS value, the better the voice quality is represented, and the MOS value can be accurate to the order of 0.1 MOS.
  • the subjective MOS value evaluation method uses ITU-T P.800 Recommendation, which is for speech. The test is carried out by comparing the subjective feelings of the original speech and the systematically processed degraded speech by different people, and then obtaining the MOS score, and finally obtaining the MOS average value; and the objective MOS value evaluation adopts ITU-T P.
  • the Perceptual evaluation of speech quality (PESQ) method provided by Recommendation 862, which is for speech The test is carried out by comparing the original speech with the system-processed degraded speech through a dedicated test instrument or software.
  • the objective MOS value evaluation method does not need to find multiple suitable reviewers for quality evaluation.
  • the test results are not affected by the test environment and subjective factors of the reviewer, and can objectively reflect the voice. Quality status, credibility and test efficiency are also relatively high.
  • the objective MOS value estimation method also has the following defects: Although the objective MOS value evaluation method can objectively test the degradation of speech quality in the path, it cannot further detect the specific node that causes the speech quality degradation or The path, that is, the detailed location of the speech quality problem cannot be detected, and the subsequent optimization of the degraded voice call cannot be performed on the basis that the cause of the speech quality degradation cannot be known.
  • the embodiments of the present invention provide a method, a system, and a device for testing voice quality, which are used to solve the problem that the existing voice quality assessment method cannot detect and determine the specific node or path that causes the voice quality degradation, and thus cannot perform the degraded voice call.
  • the problem of optimizing the processing is used to solve the problem that the existing voice quality assessment method cannot detect and determine the specific node or path that causes the voice quality degradation, and thus cannot perform the degraded voice call.
  • an embodiment of the present invention provides a method for testing voice quality, including: receiving, by a voice terminal that establishes a call connection, a voice quality assessment test for each voice connection that carries the call connection, and respectively returning the first Voice quality level information;
  • the voice terminal is instructed to perform a voice quality assessment test on the loopback path between itself and the core network element;
  • an embodiment of the present invention further provides a voice quality testing method, including: performing a voice quality assessment test on a voice path, and transmitting the first voice quality level information obtained by the test to a corresponding voice quality. test Center;
  • Receiving after receiving the indication information returned by the voice quality testing center for performing a voice quality assessment test on the loopback path between the core network element and the core network element, performing voice quality assessment test on the loopback path, generating a second voice quality level information, where the indication information is sent by the voice quality testing center after detecting that the first voice quality level information is lower than a preset voice quality standard; sending the second voice quality level information
  • the voice quality testing center is configured to determine, according to the second voice quality level information, the fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
  • an embodiment of the present invention further provides a voice quality testing center, including: a first receiving module, configured to receive a voice connection assessment voice test for a voice terminal that establishes a call connection The first voice quality level information returned afterwards;
  • test indication module configured to: when detecting that any of the first voice quality level information received by the first receiving module is lower than a preset voice quality standard, instructing the voice terminal to separately connect to the core network element Inter-loop path for voice quality assessment testing;
  • a second receiving module configured to receive second voice quality level information that is returned by the voice terminal after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively;
  • the second voice quality level letter received by the second receiving module And determining, by the faulty node, the voice quality of the voice path is lower than the preset voice quality standard.
  • the embodiment of the present invention further provides a voice terminal, including:
  • a first test module configured to perform a voice quality assessment test on the voice path in which the voice terminal is located, and send the first voice quality level information obtained by the test to a corresponding voice quality test center;
  • the first voice quality level information is sent after being lower than the preset voice quality standard
  • a second test module configured to perform a voice quality assessment test on the loopback path according to the indication information received by the indication information receiving module, to generate second voice quality level information
  • a second information sending module configured to send the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines, according to the second voice quality level information, that the voice path is caused The voice quality is lower than the faulty node of the preset voice quality standard.
  • an embodiment of the present invention further provides a voice quality testing system, including: the foregoing voice quality testing center, at least two voice terminals, and a core network element;
  • the voice quality testing center is respectively connected to the voice terminal and the core network element, and the voice terminal is connected to the core network element.
  • the method, system and device for testing the voice quality provided by the embodiment of the present invention, after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information,
  • the first voice quality level information is detected and detected
  • the voice terminal that establishes the call connection performs further voice quality assessment test on the loopback path between the core network element and the core network element, and returns The second voice quality level information respectively tested, so that according to the second voice quality level information returned by each voice terminal, it is possible to know a specific node or path that causes a quality problem of the voice path, and further, for a node or path where quality problems occur,
  • the voice path can be further optimized and improved, and finally the voice quality of the voice terminal is improved.
  • FIG. 1 is a flowchart of a method for testing voice quality according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for testing voice quality according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a voice quality test center according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of another voice quality test center according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a voice terminal according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of another voice terminal according to an embodiment of the present invention;
  • FIG. 8 is a schematic structural diagram of a voice quality test system according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for testing a voice quality according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes the following steps:
  • Step 100 Receive, by the voice terminal that establishes the call connection, the first voice quality level information respectively returned after performing voice quality assessment tests on the voice path that carries the call connection.
  • the voice terminal that initiates and establishes the call connection has the capability of voice quality assessment test, that is, the ability to test the voice quality level of the voice channel.
  • voice quality assessment test that is, the ability to test the voice quality level of the voice channel.
  • the voice quality degradation result can be analyzed and initiated according to the tested voice quality result, and the process of determining the voice quality degradation location path is determined.
  • a voice quality testing center is further provided for the voice terminal.
  • the voice quality test center is used to control the quality assessment test, detection and analysis of the voice path initiated by the voice terminal to cause the degradation of the voice quality, and to find a specific node or path that determines the degradation of the voice quality.
  • the two voice terminals that establish the call connection will respectively test and represent the voice quality status of the voice path between the two voice channels after performing voice quality assessment tests on the voice path carrying the call connection.
  • the first voice quality level information is returned to the voice quality testing center, so that the voice quality testing center detects the voice quality of the voice path according to the received first voice quality level information, thereby determining whether the voice path has degraded the voice quality. .
  • Step 101 If it is detected that any of the first voice quality level information is lower than the preset voice quality standard, the voice terminal is instructed to perform voice quality assessment on the loopback path between itself and the core network element. Try
  • the voice quality test center After receiving the first voice quality level information of the voice quality of the voice path between the voice terminals, the voice quality test center detects the received first voice quality level information, specifically detecting the first Whether the voice quality level information meets the preset voice quality standard.
  • the first voice quality level information sent by the voice terminal generally includes the tested MOS value corresponding to the voice path, and thus the voice quality testing center can detect according to the size of the MOS value included in the first voice quality level information. Know the voice quality of the voice path between two voice terminals.
  • a MOS threshold value representing the lowest normal voice quality is set (for example, the MOS gate The limit can usually be set to 3 based on the empirical value. If the voice quality test center detects that the MOS value in any of the first voice quality level information is lower than the MOS threshold, the voice quality of the voice path between the two voice terminals and the voice terminal is lower than a normal level. Therefore, in the embodiment of the present invention, in order to further detect the cause of degradation of the voice quality, and determine the specific node and path where the voice quality is degraded, the voice quality testing center controls the voice terminal to initiate a further voice quality testing process. Specifically, the voice quality testing center will instruct the two voice terminals that maintain the call connection to perform further voice quality assessment tests on the loopback path between themselves and the core network element.
  • Step 102 Receive second voice quality level information that is returned by the voice terminal after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively.
  • Step 103 Determine, according to the received second voice quality level information, a fault node that causes a voice quality of the voice path to be lower than a preset voice quality standard.
  • the loopback path between the voice terminal and the core network element that is, the voice path between the voice terminal and the core network element, represents that the voice stream is sent from the voice terminal to the core network element, and then from the core network element. Return to the self-loop path of the voice terminal.
  • the core network element in the embodiment of the present invention is usually a Media Gate Way (MGW) device or a Mobile Switching Center (MSC) device in the core network.
  • MGW Media Gate Way
  • MSC Mobile Switching Center
  • the voice quality test result of the loopback path substantially only involves the voice terminal and the core network element that initiate the test. Two devices. Therefore, the voice quality test is performed on each of the corresponding loopback paths by the two voice terminals, and the result of the test can at least reflect whether the voice terminals have voice quality problems when the voice terminals are individually carried. Therefore, it can reflect that the voice path quality detected by the voice quality testing center is lower than the specific fault node or the specific fault path of the voice quality standard problem.
  • it is a single-node single-path problem, that is, only one side of the voice terminal and one side of the voice terminal has a quality problem; or a two-node dual-channel problem, that is, the communication link between the voice terminals on both sides and the voice terminals on both sides A quality problem has occurred; or there is no quality problem with the voice terminals on both sides, but the voice stream quality of the core network element has a problem.
  • the voice quality testing center based on the received two second voice quality level information, can detect and analyze the reason why the voice quality of the voice channel is lower than the voice quality standard, and find a fault node that causes degradation of voice quality. And the fault path. Therefore, compared with the existing subjective MOS value evaluation method or the objective MOS value evaluation method, not only the quality degradation of the voice path is detected, but also the cause of the speech quality degradation is detected. Nodes and paths that cause degradation in speech quality are determined. Therefore, based on the results of the detection, the voice quality testing center can optimize and improve the quality degradation of the nodes or paths to improve the voice quality of the voice path.
  • the method for testing the voice quality in this embodiment after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, the first voice quality level The information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element.
  • the voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific fault node and the fault path that cause the quality problem of the voice path can be known, and then For the node or path where the quality problem occurs, the voice path can be further optimized and improved, and the voice quality of the voice terminal is improved.
  • FIG. 2 is a flowchart of another method for testing voice quality according to an embodiment of the present invention.
  • This embodiment describes a method for testing voice quality according to an embodiment of the present invention from the perspective of any voice terminal corresponding to a voice quality testing center.
  • the method in this embodiment specifically includes the following steps: Step 200: Perform a voice quality assessment test on the voice path, and send the first voice quality level information obtained by the test to the corresponding voice quality test center. ;
  • the voice terminal in addition to the voice call capability of the ordinary voice terminal, the voice terminal also has the ability to evaluate and test the voice quality of the voice path. Specifically, when the voice terminal establishes a call connection with another voice terminal, that is, after establishing a voice path between the two, the voice terminal can perform voice quality assessment test on the voice path in which the voice terminal is located.
  • the voice quality assessment test method is based on the existing PESQ test method, that is, the voice terminal passes the original voice and the voice pass After the transmission, there is a degraded voice for quality comparison, and the first voice quality level information representing the voice quality condition of the voice path in which the voice is located can be tested.
  • the voice terminal After the voice terminal obtains the first voice quality level information through the evaluation test, the first voice quality level information is sent to the corresponding voice quality test center, so that the voice quality test center can according to the received first voice quality level information.
  • the voice quality status of the voice path is known, and based on the learned status information, it can be determined whether the voice path has degraded the voice quality.
  • Step 201 If receiving the indication information returned by the voice quality testing center for indicating the voice quality assessment test of the loopback path between the core network element and the core network element, performing voice quality assessment test on the loopback path, generating the first Two voice quality level information;
  • the voice quality test center After receiving the first voice quality level information returned by the voice terminal and representing the voice quality of the voice path in which the voice terminal is located, the voice quality test center detects the first voice quality level information.
  • the first voice quality level information sent by the voice terminal usually includes a MOS value that directly reflects the voice quality condition of the voice path, and thus, according to the preset, the MOS value included in the first voice quality level information, and according to the preset
  • the MOS threshold the voice quality test center can directly detect the voice quality of the voice path in which the voice terminal is located, specifically detecting whether the voice quality of the voice path satisfies a preset voice quality standard, and the voice quality standard It is usually the minimum standard that can tolerate normal voice quality.
  • the voice quality test center detects that the voice quality of the voice path in which the voice terminal is located is lower than the preset normal standard, in order to further detect the cause of the degradation of the voice quality, and the faulty node and the fault path that cause the degradation of the voice quality.
  • the Voice Quality Test Center will control the initiation of further voice quality testing procedures. Specifically, the voice quality testing center separately sends indication information to two voice terminals in the voice path to indicate that each of the two voice terminals has a ring between itself and the core network element. The back channel performs a voice quality assessment test and returns the test result to the voice quality test center.
  • the voice quality assessment test is performed on the loopback path between the core network element and the core network element according to the indication information, When the test itself and the core network element carry the voice path, whether the voice path of the separately carried voice path will have a voice quality problem, thereby detecting whether the voice quality problem occurring when establishing the voice path with the peer is related to itself.
  • the voice quality test process performed by the voice terminal on the loopback path between the core network element and the core network element can also be performed based on the existing PESQ method, so as to finally obtain the MOS including at least the voice quality status reflecting the loopback path.
  • the second voice quality level information of the value can also be performed based on the existing PESQ method, so as to finally obtain the MOS including at least the voice quality status reflecting the loopback path.
  • Step 202 Send the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines, according to the received second voice quality level information, that the voice quality of the voice path is lower than a preset voice quality standard. Faulty node.
  • the voice terminal After the second voice quality level information representing the voice quality of the loopback path is obtained, the voice terminal returns the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines and generates the voice according to the analysis.
  • the fault node and the fault path of the voice quality problem of the path that is, the reason for detecting the voice quality problem according to this detection.
  • the second voice quality level information returned by the voice terminal directly reflects whether the two voice terminals on the voice path are connected to the core network element separately, whether voice quality problems occur, and voice quality problems occur. The severity of the situation. Therefore, according to the obtained second voice quality level information, the voice quality testing center can detect and analyze the faulty node and the path where the voice quality problem occurs, so that the reason for the voice quality degradation of the direct voice path of the two voice terminals can be known.
  • the voice path is a single-node single-channel problem, that is, only one side of the voice terminal and one side language
  • the embodiment of the present invention not only detects whether the quality of the voice path is degraded, but also detects the occurrence of speech quality degradation. The reason is that nodes and paths that cause degradation of speech quality are detected. Further, on the basis of this, the voice quality testing center can optimize and improve the processing operation on the node or path where the quality degradation occurs according to the detection result, thereby improving the quality of the voice path.
  • the voice quality testing method of the embodiment the first voice quality level information returned by the voice terminal that has established the call connection after performing the voice quality assessment test on the connected voice path, and the first voice quality level information is returned.
  • the information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element.
  • the voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific node or path that causes the quality problem of the voice path can be known, and then The node or path of the quality problem can further optimize the voice path and improve the voice quality of the voice terminal.
  • FIG. 3 is a signaling diagram of a voice quality test method according to an embodiment of the present invention.
  • a voice quality test center instructs voice terminal A to initiate a call to voice terminal B, and voice terminal A and voice terminal B respectively The established voice path is tested for voice quality.
  • the voice quality test center controls the voice terminal to initiate call and voice quality test, and the specific process of detecting and analyzing the cause of voice quality degradation based on the feedback voice quality level information is described. .
  • Step 300 The voice quality testing center sends a dialing test command to the voice terminal A.
  • the call connection is initiated and established between the voice terminals, and the voice quality test process for the voice path is performed under the control of the voice quality test center.
  • the voice quality test center can correspond to multiple voice terminals used for voice quality testing in the communication system, and simultaneously perform centralized monitoring on the dialing process of multiple voice terminals. .
  • the voice quality testing center according to the actual situation and the testing requirements of the corresponding multiple voice terminals, the sequence, time, and specific manner in which the voice terminals initiate call tests with each other can be pre-configured. Based on the pre-configured information, the voice quality test center can send a preset dialing command to the designated voice terminal at a time specified in the configuration information, thereby indicating the start of the test call. Further, when there are many voice paths to be tested, the voice quality test center can also perform voice to each voice terminal in an orderly manner by appropriately allocating the time and period of testing the voice paths in the configuration information.
  • the voice quality test of the channel when the voice terminal with voice quality test capability is deployed in the area to be tested according to the test requirements, based on the control of the voice quality test center, the voice communication system can be automated and large. Scaled voice service quality testing.
  • the voice quality test center sends a dialing command to the voice terminal A according to the configuration information, instructing the voice terminal A to initiate a call to the voice terminal B, and performing voice quality testing on the established voice path as an example.
  • the voice quality test method of the embodiment of the invention is described.
  • the dialing test command sent by the voice quality testing center may carry related indication information, such as call peer identification information, for instructing the voice terminal A to perform a call and perform a voice quality test operation.
  • the voice terminal A can know the object that initiated the call and performs the voice quality test. Therefore, the corresponding operation can be performed under the instruction of the dialing instruction.
  • the dialing command may further include other indication information related to establishing a call connection and performing a voice quality test, for example, the dialing command may further include a call connection hold duration information, and a call connection release mode. Information, etc.
  • the call connection hold duration information is used to inform the voice terminal of the time required for the call connection to be maintained, that is, to inform the voice terminal when to end the call connection, to avoid waste of resources caused by excessive call time, and the actual setting
  • the duration set in the dialing command will usually be greater than the total time required for the voice terminal to perform the voice quality test and the subsequent positioning procedure; and the call connection release mode information is used to inform the voice terminal when the call is terminated.
  • the dialing command carries the above two information, after the voice terminal that receives the dialing command establishes a call connection with the designated peer voice terminal, it also maintains the duration of the call connection according to the dialing command.
  • the information and the call connection release mode information release the resources occupied by the call connection after the specified call connection duration, and the specific mode of the release is in the release mode specified in the dial test command.
  • the dialing test command sent to the voice terminal may further include more information for instructing the voice terminal to perform related operations, thereby using the voice terminal.
  • the call is better controlled by the process and the voice test process, and the embodiment of the present invention does not specifically limit this.
  • Step 301 the voice terminal A initiates a call to the voice terminal B according to the dialing command, and establishes a call connection;
  • the voice terminal A After receiving the dialing test command sent by the voice quality testing center, the voice terminal A responds to the dialing test command, and sends the voice terminal B to the designated voice terminal B according to the identification information of the voice terminal B carried in the dialing test command.
  • the test call is initiated and a call connection with the voice terminal B is established after the call is initiated.
  • the call process is consistent with the existing voice call process, and is not described in the embodiment of the present invention.
  • Step 302 The voice terminal A sends the pre-stored test voice stream to the voice terminal B.
  • the voice terminal A and the voice terminal B respectively perform voice quality evaluation tests on the voice paths established between the two, and respectively return the voice quality level information obtained by the respective tests to the voice quality.
  • the test center performs test analysis. In the actual operation, the quality test of the voice path by the voice terminal A and the voice terminal B will be sequentially performed, and the sequence for performing the test is not limited in the embodiment of the present invention, and the sequence may be in the voice quality test center. It is specified in the dialing test command, or it can be randomly performed.
  • the specific method flow of the voice terminal for voice quality assessment test can be carried out by referring to the existing PESQ method, that is, according to the objective MOS value evaluation test method.
  • the voice terminal B first performs voice quality test on the voice path as an example.
  • voice quality test is pre-stored in both the voice terminal A and the voice terminal B before the voice quality test is performed.
  • Voice stream When the voice terminal B performs the voice quality test on the voice path, the voice terminal A first sends the pre-stored test voice stream to the voice terminal B through the established voice path. Since the voice path has a certain quality attenuation, it is transmitted to the voice path. The voice quality of the voice stream of the voice terminal B is usually lost.
  • Step 303 The voice terminal B compares the received test voice stream with the pre-stored test voice stream for voice quality
  • the voice terminal B After receiving the test voice stream sent by the voice terminal A through the voice path between the voice terminal B and the voice terminal A, the voice terminal B performs the voice quality comparison between the received test voice stream and the pre-stored test voice stream. Than. Since the test voice stream pre-stored by the voice terminal B is consistent with the original test voice stream sent by the voice terminal A, the voice quality comparison performed by the voice terminal B is substantially: the original test voice stream and the voice transmitted by the voice terminal A Voice quality comparison of a quality-degraded voice stream after transmission of the voice path. The voice quality comparison process is performed based on the PESQ protocol. In the embodiment of the present invention, the voice terminal B has the voice call capability of the voice terminal and the voice quality assessment test capability.
  • the voice terminal B performs the PESQ evaluation calculation as the two inputs of the PESQ algorithm, and the waveform corresponding to the two input voice streams in the process of the PESQ evaluation calculation.
  • the first speech quality level information reflecting the speech quality status of the speech path will be obtained after the comprehensive analysis.
  • the first voice quality level information includes a MOS value calculated by the PESQ evaluation that comprehensively reflects the voice quality status of the voice path.
  • Step 304 The voice terminal B reports the first voice quality level information obtained by the test to the voice quality testing center.
  • the voice quality level information is reported to the voice quality test center for the voice quality test center to perform detection and analysis.
  • Step 305 The voice terminal B sends the pre-stored test voice stream to the voice terminal A.
  • Step 306 the voice terminal A compares the received test voice stream with the pre-stored test voice stream for voice quality
  • Step 307 the voice terminal A reports the first voice quality level information obtained by the test to the voice quality testing center;
  • the voice terminal A After the voice terminal B performs the voice quality evaluation test on the voice path, the voice terminal A is notified to perform the same voice quality evaluation test on the voice path. Specifically, voice terminal B will be tested After the first voice quality level information is reported to the voice quality testing center, the pre-stored test voice stream is sent to the voice terminal A through the voice path between the two in the same manner as the voice terminal A. After receiving the voice stream transmitted through the voice path, the voice terminal A also compares the received voice stream with the voice memory of the pre-stored test voice stream, so that the voice quality representing the voice path can also be tested. First voice quality level information. The voice terminal A sends the tested first voice quality level information to the voice quality testing center, and completes the voice quality testing process. Similarly, the first voice quality level information tested by the voice terminal A also includes the MOS value obtained by the test analysis and comprehensively reflecting the voice quality of the voice path between the voice terminal A and the voice terminal B.
  • the voice quality testing center indicates that the two ends of the voice path respectively perform voice quality testing on the voice path, and the purpose of obtaining two first voice quality level information is: substantially, the voice terminal A detects The first voice quality level information reflects the voice stream transmission quality from the voice terminal B to the voice terminal A, and the first voice quality level information detected by the voice terminal B reflects the voice terminal A to the voice terminal B. Voice streaming quality, there is a difference between the two voice transmission qualities.
  • the voice terminal A performs two voice quality tests, and the voice quality test center judges whether the voice path has a quality problem based on the two test results, and can more accurately and comprehensively detect the quality degradation problem that may occur in the voice path.
  • Step 308 the voice quality testing center detects the language according to the received first voice quality level information. Voice quality of the audio path;
  • the voice quality test center After receiving the first voice quality level information returned by the voice terminal A and the voice terminal B, the voice quality test center can detect the voice quality of the voice channel between the two voice terminals according to the first voice quality level information. Specifically, the voice quality testing center can detect, according to the size of the MOS value included in the first voice quality level information, and according to the preset MOS threshold, whether the voice quality of the voice path is lower than a preset voice quality standard. That is, whether the degradation of voice quality has occurred. When the voice quality test center detects that the voice quality status reflected by any of the first voice quality level information is lower than the preset voice quality standard, a voice quality problem occurs on the voice path between the voice terminal A and the voice terminal B. The quality testing center will control voice terminal A and voice terminal B to initiate a further voice quality testing process to detect the cause of the voice quality problem.
  • Step 309 If it is detected that any of the first voice quality level information is lower than the preset voice quality standard, the voice quality test center sends a loopback rule identifier corresponding to the voice terminal A and the voice terminal B to the core network element.
  • the voice quality test center When the voice quality test center detects that the voice quality represented by any of the first voice quality level information is lower than the preset voice quality standard, the voice path between the voice terminal A and the voice terminal B has a voice quality problem.
  • the voice quality testing center will respectively instruct the voice terminal A and the voice terminal B to initiate a voice quality assessment test for the loopback path between the core terminal A and the core network element.
  • the loopback path refers to the loopback path after the voice stream is sent from the voice terminal to the core network element and back from the core network element to the voice terminal.
  • the core network element can usually be the MGW device or MSC device of the core network.
  • the core network element can receive the specified loopback rule when receiving the voice stream sent by the voice terminal.
  • the voice stream is looped back and then returned to the voice terminal, so that the voice terminal performs voice quality test on different loopback paths with the core network element, and the voice quality test center performs voice terminal A and voice terminal B.
  • the loopback rule identifier corresponding to the voice terminal A and the voice terminal B respectively is sent to the core network element, and the loopback rule identifier is used to indicate the core.
  • the network element performs loopback processing on the test voice stream sent by the voice terminal according to the specified loopback rule.
  • the loopback processing performed by the core network element on the received voice stream generally includes two modes:
  • the first type is that after the core network element receives the voice stream sent by the voice terminal from the first port, it does not go through itself. The internal port is transmitted, and the received voice stream is directly returned to the voice terminal at the first port.
  • the node involved in the loopback path only includes the voice terminal itself, and the core The transmission quality of the network element is irrelevant;
  • the second loopback processing method is that after the core network element receives the voice stream sent by the voice terminal from the first port, the voice stream is returned from the first port to the second ring. The port is then returned to the voice terminal from the second port.
  • the voice quality involved in the loopback path includes not only the voice terminal but also the core network element itself.
  • the loopback rule configured by the voice quality test center for the core network element usually includes the above two Kind of rules.
  • the loopback rule corresponding to the first loopback processing mode is referred to as a first loopback rule
  • the loopback rule corresponding to the second loopback processing manner is called For the second loopback rule.
  • the core network element After the voice quality test center sends the standard loopback rule identifier corresponding to the two loopback rules to the core network element, the core network element usually has a corresponding loopback processing method.
  • the loopback detection table is configured to identify the meaning of each loopback rule identifier sent by the voice quality test center, so that the core network element is sent by the voice terminal during the subsequent voice quality test of the loopback path.
  • the voice loop can also be subjected to corresponding loopback processing according to the identified loopback rule.
  • an end flag is usually set at the end of the test voice stream, and the end is ended.
  • the flag bit identifies the end of the voice stream, and when the receiving end recognizes the end flag bit, it will know that the voice stream sent by the sender has been received. Therefore, if the voice path is blocked or other abnormal phenomena cause the receiving end to fail to receive the end flag of the voice stream for a predetermined period of time, there is a quality problem on the voice path.
  • the voice terminal B After the voice terminal A has sent the test voice stream to the voice terminal B, and the voice terminal B has not received the end flag bit of the voice stream in the preset time, the voice terminal B The voice quality test center can directly inform the voice path of the fault, and the voice quality test center does not need to wait for the first voice quality level information returned by the voice terminal, and the first voice quality level information is detected, but can be directly performed.
  • the fault location process in this step directly instructs the voice terminal A and the voice terminal B to detect the quality of the loopback path.
  • Step 310 The voice quality testing center sends the indication information to the voice terminal A, where the indication information is used to indicate that the voice terminal A performs the voice quality assessment test of the loopback path.
  • the voice quality test center instructs the voice terminal to initiate a voice quality test procedure for the corresponding loopback path. Specifically, the voice quality test center instructs the voice terminal to perform the voice quality test process on the voice path, and the voice quality test center instructs the voice terminal A and the voice terminal B to perform the measurement.
  • the order of the trials may be performed at random, and is not specifically limited in the embodiment of the present invention.
  • the voice quality test center first instructs the voice terminal A to perform the loopback path voice quality test as an example, and describes the voice quality test process of the loopback path.
  • the voice quality test center sends the indication information to the voice terminal A to instruct the voice terminal A to perform voice quality assessment on the loopback path between itself and the core network element. test.
  • Step 311 The voice terminal A sends the pre-stored test voice stream to the core network element.
  • Step 312 The core network element performs the loopback processing on the received test voice stream according to the loopback rule corresponding to the loopback rule identifier.
  • Step 313 The core network element returns the loopback processed test voice stream to the voice terminal A.
  • the test voice stream is similar to the voice terminal A in performing voice quality detection on the voice path between the voice terminal B and the voice terminal.
  • the voice quality assessment and detection process of the loopback path between the voice terminal A and the core network element is also based on the PESQ protocol.
  • the voice terminal A when the voice terminal A performs the voice quality test on the loopback path, the voice terminal A sends the pre-stored test voice stream to the core network element, and after receiving the test voice stream, the core network element receives the test voice stream according to the previously received
  • the loopback rule identifier corresponding to the voice terminal A is looped back according to the loopback rule corresponding to each loopback rule identifier.
  • the loopback rule identifier sent by the voice quality test center includes at least an identifier corresponding to the first loopback rule that the voice network stream received by the core network element returns from the original receiving port, and the received voice stream is looped back to After the other port, the second loopback rule returned from the other port corresponds to the identifier, and accordingly, according to the two loopback rule identifiers, the core network element correspondingly receives the test voice from the voice terminal A.
  • the flow performs these two loopback processes internally, and returns the looped voice stream in turn. Give voice terminal A.
  • the core network element in order to inform the voice terminal A of the loopback processing corresponding to the voice stream returned by the voice terminal A, the core network element carries the corresponding loopback rule identifier in the voice stream returned to the voice terminal A.
  • Step 314 The voice terminal A compares the received test voice stream with the pre-stored test voice stream.
  • Step 315 the voice terminal A reports the second voice quality level information obtained by the test to the voice quality testing center;
  • the voice terminal A After receiving the voice stream carrying the loopback rule identifier, the voice terminal A compares the received voice stream with the pre-stored test voice stream, and the quality comparison process is performed based on the PESQ protocol, thereby obtaining a loopback rule, ie,
  • the voice quality level information corresponding to the loopback path, and the voice quality level information reflects the voice quality status corresponding to different loopback processing and different loopback paths.
  • the voice terminal A reports the voice quality level information together with the corresponding loopback rule identifier, and reports the second voice quality level information to the voice quality testing center, where the second voice quality level information represents the voice terminal A and the core network.
  • the second voice quality level information includes at least two MOS value information respectively corresponding to the two loopback rules.
  • Step 316 The voice quality testing center sends the indication information to the voice terminal B, where the indication information is used to indicate that the voice terminal B performs the voice quality assessment test of the loopback path.
  • the voice quality test center can instruct the voice terminal B to perform the same voice on the loopback path between itself and the core network element. Quality assessment test.
  • Step 317 The voice terminal B sends the pre-stored test voice stream to the core network element.
  • Step 318 The core network element performs the loopback processing on the received test voice stream according to the loopback rule corresponding to the loopback rule identifier.
  • Step 319 The core network element returns the looped test voice stream to the voice terminal B.
  • Step 320 The voice terminal B compares the received test voice stream with the pre-stored test voice stream.
  • Step 321 the voice terminal B reports the tested second voice quality level information to the voice quality testing center;
  • the voice terminal B performs the voice quality assessment test on the loopback path in the same manner as the voice terminal A test method, and sends the pre-stored test voice stream to the core network element to make the core network element follow the loopback rule.
  • the corresponding loopback rule is identified, and the received voice stream is subjected to corresponding loopback processing, and the loopback processed voice stream is returned to the voice terminal B together with the corresponding loopback rule identifier.
  • the voice terminal B compares the voice stream returned via the loopback path with the original test voice stream before transmission, and obtains voice quality level information corresponding to each loopback rule.
  • the voice terminal B reports the voice quality level information together with the corresponding loopback rule identifier as the second voice quality level information to the voice quality test center for the voice quality test center to perform detection and analysis.
  • Step 322 The voice quality testing center detects, according to the received second voice quality level information, a fault node that causes the voice quality of the voice path to be lower than the voice quality standard.
  • the voice quality assessment test of the loopback path between the voice terminal A and the voice network terminal B is respectively performed by the voice terminal A and the voice terminal B, respectively, and the second voice quality level information returned by the two voice terminals respectively reflects:
  • the second voice quality level information can also reflect whether the voice quality problem occurring in the voice path between the voice terminals is related to the core network element itself, that is, the voice terminal does not cause the quality problem of the voice path, but the core network element. There is a problem with the transmission performance.
  • the voice quality level information corresponding to the loopback rule returned by the core network element from the original receiving port is not in the second voice quality level information returned by the voice terminal.
  • the voice quality level information corresponding to the loopback rule that the core network element receives the voice stream after the internal port is self-looped and then returned to the voice terminal is lower than the voice quality standard, which represents For the voice terminal, at least the voice terminal itself does not have a problem of failure, but the core network element itself has a problem of failure.
  • the voice quality test center can specifically detect the cause of the voice quality degradation of the voice path between the two voice terminals, and the fault that causes the voice quality to degenerate. Node and path.
  • the voice quality testing center determines that the voice terminal that sends the second voice quality level information is caused a faulty node of the voice quality problem, and if the voice quality level information corresponding to the first loopback rule in any second voice quality level information is not lower than the voice quality standard, but the voice quality level information corresponding to the second loopback rule However, when the voice quality standard is lower than the voice quality standard, the voice quality test center determines that the core network element is a fault node that has a voice quality problem.
  • the voice quality testing center can know that the voice path has a single-node single-path problem, or there is a two-node dual-path problem.
  • the voice quality test center can optimize and improve the processing operation on the node or path that causes the voice quality degradation according to the detection result, or report the alarm or report the power supply network operation and maintenance personnel to the server. To further improve the voice quality of the voice terminal.
  • the voice quality testing center may be embedded in the core network element in addition to an independent device in the communication network, and the voice quality testing center is set in the core network element.
  • the core network element carrying the voice quality test function is configured to correspond to the voice terminal A and the voice terminal B loopback rule identifier respectively, and the other steps are consistent with the foregoing embodiments.
  • the benefits of setting up the core network element of the voice quality test center are as follows: reducing the number of telecommunication network nodes and the maintenance workload, saving the use of IP addresses and forwarding of IP packets, but it is necessary to carry out the existing telecommunication network equipment. The transformation and so on.
  • the testing of the voice quality by the testing device is nothing more than attenuation of the original voice stream after the transmission process.
  • the waveform of the voice stream is compared according to various performance indicators, such as whether there is crosstalk, the magnitude of the gain change, whether there is noise, whether there is echo, the tail length of the echo, etc., and finally a comprehensive reflection is obtained.
  • the MOS value of the voice quality condition that is, the voice quality level information. Therefore, in the embodiment of the present invention, after the voice terminal performs voice quality test on the corresponding loopback path, the tested MOS value is fed back to the voice quality testing center, and the second voice level information is also available.
  • the test results of various performance indicators tested by Captain General are simultaneously fed back to the voice quality testing center.
  • the voice quality test center can more accurately analyze the specific causes of voice quality problems in the voice path between voice terminals based on the test results of various performance indicators fed back by the voice terminal, so as to facilitate optimization and improvement operations.
  • the voice terminal for testing can be placed at the base station control.
  • BSC Base Station Controller
  • RNC Radio Network Controller
  • the voice quality test center can be deployed in the same network as the core network element, and the core network element needs to be opened.
  • the related interface is provided for the voice quality test center to access the core network element and perform related control operations.
  • the voice terminal and the voice quality test center need information such as interactive dialing command and voice quality level information, and since the voice terminal has the voice call function of the ordinary voice terminal, it can also be opened as much as possible in the voice quality test center. Similar to the function of SMS Center, General Packet Radio Service (GPRS) or Unstructured Supplementary Service Data (USSD) service center for voice terminal and voice quality test center Implement message interaction.
  • GPRS General Packet Radio Service
  • USB Unstructured Supplementary Service Data
  • the voice quality testing method of the embodiment the first voice quality level information returned by the voice terminal that has established the call connection after performing the voice quality assessment test on the connected voice path, and the first voice quality level information is returned.
  • the information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element.
  • the voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific node or path that causes the quality problem of the voice path can be known, and then The node or path of the quality problem can further optimize the voice path and improve the voice quality of the voice terminal.
  • the voice quality testing center can automatically control the voice communication system by controlling the voice quality testing center based on the pre-configured process of establishing a call connection between the voice terminals and initiating a voice quality test.
  • Large-scale voice service quality testing function Large-scale voice service quality testing function.
  • the standard loopback rule identifier is sent to the core network element to indicate that the core network element receives the network.
  • the obtained voice stream is subjected to corresponding loopback processing, so that the second voice quality level information fed back by the voice terminal can also reflect whether the voice quality problem occurring in the voice path is related to the core network element itself, thereby enabling more accurate detection.
  • the voice quality testing center of the embodiment includes: a first receiving module 11, a test indicating module 12, and a second receiving module. 13 and determination module 14.
  • the first receiving module 11 is configured to receive the first voice quality level information returned by the voice terminal that establishes the call connection after performing voice quality assessment tests on the voice path that carries the call connection.
  • the test indication module 12 is configured to: when detecting that any of the first voice quality level information received by the first receiving module 11 is lower than a preset voice quality standard, instructing the voice terminal to respectively perform a loopback path between itself and the core network element Conduct a voice quality assessment test;
  • the second receiving module 13 is configured to receive second voice quality level information that the voice terminal returns after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively.
  • the determining module 14 is configured to determine, according to the second voice quality level information received by the second receiving module 13, a faulty node that causes the voice quality of the voice path to be lower than a preset voice quality standard.
  • all the functional modules involved in the voice quality testing center and the specific working processes involved therein may refer to the related content disclosed in the embodiments related to the voice quality testing method, and Let me repeat.
  • the voice quality testing center of the embodiment after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, the first voice quality level information Performing detection, and when detecting that any of the received first voice quality level information is lower than a preset voice quality standard, indicating that the voice terminal establishing the call connection performs further voice on the loopback path between the core network element and the core network element respectively Quality assessment test, and returning the second voice quality level information tested by each, so that according to the second voice quality level information returned by each voice terminal, the specific node or path causing the quality problem of the voice path can be known, and then the quality is generated.
  • the problem node or path can further optimize the voice path and improve the voice quality of the voice terminal.
  • FIG. 5 is a schematic structural diagram of another voice quality testing center according to an embodiment of the present invention.
  • the voice quality testing center of the embodiment further includes an identifier.
  • Send module 15. The identifier sending module 15 is configured to send a loopback rule corresponding to the voice terminal to the core network element before the test indicating module 12 instructs the voice terminal to perform a voice quality assessment test on the loopback path between itself and the core network element.
  • the ringback rule identifier is used to indicate that the core network element receives the test voice stream sent by the voice terminal according to the ring corresponding to the loopback rule identifier.
  • the return rule performs corresponding loopback processing on the test voice stream and returns to the voice terminal.
  • the loopback rule identifier sent by the identifier sending module 15 includes at least a first loopback rule identifier for instructing the core network element to return the received test voice stream from the original receiving port to the voice terminal, and is used to indicate the core. After the network NE returns the received test voice stream from the original receiving port to another port, the network loop returns the second loopback rule identifier from the other port to the voice terminal.
  • the determining module 14 is specifically configured to detect the following two situations: if the determining module 14 detects any of the received second voice quality level information corresponding to the first loopback rule identifier When the voice quality level information is lower than the preset voice quality standard, determining that the voice terminal that sends the second voice quality level information is a fault node that causes the voice quality of the voice path to be lower than a preset voice quality standard;
  • the determining module 14 detects that the voice quality level information corresponding to the first loopback rule identifier in any of the received second voice quality level information is not lower than the preset voice quality standard, but the second loopback rule identifier is When the corresponding voice quality level information is lower than the preset voice quality standard, the core network element is determined to be a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
  • the voice quality testing center may further include a dialing instruction sending module 16.
  • the dialing command sending module 16 is configured to send a dialing test command to any voice terminal before the first receiving module 11 receives the first voice quality level information, where the dialing command carries the call peer identification information, and the dialing command
  • the voice terminal for instructing to receive the dialing command initiates a call connection to the voice terminal corresponding to the call peer identification information, and after establishing the call connection, performs voice quality assessment test on the voice path carrying the call connection.
  • the voice quality testing center of the embodiment after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, the first voice quality level information Performing detection, and when detecting that any of the received first voice quality level information is lower than a preset voice quality standard, indicating that the voice terminal establishing the call connection performs further voice on the loopback path between the core network element and the core network element respectively Quality assessment test, and returning the second voice quality level information tested by each, so that according to the second voice quality level information returned by each voice terminal, the specific node or path causing the quality problem of the voice path can be known, and then the quality is generated.
  • the problem node or path can further optimize the voice path and improve the voice quality of the voice terminal.
  • the voice quality testing center can automatically control the voice communication system by controlling the voice quality testing center based on the pre-configured process of establishing a call connection between the voice terminals and initiating a voice quality test.
  • Large-scale voice service quality testing function Large-scale voice service quality testing function.
  • FIG. 6 is a schematic structural diagram of a voice terminal according to an embodiment of the present invention. As shown in FIG. 6, the voice terminal of this embodiment includes a first test module 21, an indication information receiving module 22, a second test module 23, and an information sending module 24.
  • the first test module 21 is configured to perform voice quality assessment on a voice path in which the voice terminal is located. Testing, and transmitting the first voice quality level information obtained by the test to the corresponding voice quality testing center;
  • the indication information receiving module 22 is configured to receive indication information returned by the voice quality testing center for indicating a voice quality assessment test on the loopback path between the core network element and the core network element, where the indication information is detected by the voice quality testing center.
  • the first voice quality level information is sent after being lower than the preset voice quality standard;
  • the second test module 23 is configured to perform a voice quality assessment test on the loopback path between itself and the core network element according to the indication information received by the indication information receiving module 22, to generate second voice quality level information;
  • the information sending module 24 is configured to send the second voice quality level information generated by the second testing module 23 to the voice quality testing center, so that the voice quality testing center determines the voice that causes the voice path according to the received second voice quality level information.
  • all the functional modules involved in the voice terminal of the present embodiment, and the specific working processes involved in the voice terminal may refer to the related content disclosed in the embodiment of the voice quality testing method, and details are not described herein.
  • the voice terminal of the embodiment returns the first voice quality level information generated by the test to the voice quality test center after performing the voice quality evaluation test on the voice path, and detects the first detected voice quality test center.
  • the voice quality level information is lower than the preset voice quality standard
  • the voice quality evaluation test is performed on the loopback path between the core network element and the core network element, and the tested second voice quality level is returned again.
  • the information is sent to the voice quality testing center, so that the voice quality testing center can know the specific node or path that causes the quality problem of the voice path according to the returned second voice quality level information, and then the node for the quality problem occurs. Or the path can further optimize and improve the voice path, and improve the voice quality of the voice terminal.
  • the second test module 23 may specifically include: a voice stream sending submodule 231, a voice stream receiving submodule 232, and information.
  • a submodule 233 is generated.
  • the voice stream sending sub-module 231 is configured to send the pre-stored test voice stream to the core network element.
  • the voice stream receiving sub-module 232 is configured to receive the core network element according to the loopback rule identifier obtained from the voice quality testing center.
  • the loopback rule after the loopback processing of the test voice stream, returns the looped back test voice stream, and the loopback rule identifier includes at least the test voice stream that the core network element receives the test voice stream from the original Receiving, by the receiving port, the first loopback rule identifier returned to the voice terminal, and instructing the core network element to return the received test voice stream from the original receiving port to another port, and returning from the other port to the second terminal of the voice terminal Loopback rule identifier;
  • the information generation sub-module 233 is configured to compare the voice quality of the looped test voice stream with the pre-stored test voice stream to generate second voice quality level information, where the second voice quality level information includes at least a first The loopback rule identifier and the second loopback rule identifier correspond to voice quality level information.
  • the voice terminal may further include an identifier information receiving module 25 and a call connection establishing module 26.
  • the identifier information receiving module 25 is configured to receive a dialing test command sent by the voice quality testing center before the first test module 21 performs a voice quality assessment test on the voice path, where the dialing command carries the call peer identification information;
  • the connection establishing module 26 is configured to initiate a call connection to the voice terminal corresponding to the call peer identification information, and establish a call connection between the voice terminals corresponding to the call peer identification information.
  • all the functional modules involved in the voice terminal of the embodiment, and the specific working processes involved in the voice terminal may also refer to the related content disclosed in the embodiment of the voice quality testing method, and details are not described herein again.
  • the voice terminal of the embodiment returns the first voice quality level information generated by the test to the voice quality testing center after performing the voice quality assessment test on the voice path, and detects the first in the received voice quality testing center.
  • the voice quality level information is lower than the preset voice quality standard
  • the voice quality evaluation test is performed on the loopback path between the core network element and the core network element, and the tested second voice quality level information is returned again.
  • the voice quality testing center is configured to enable the voice quality testing center to know the specific node or path that causes the quality problem of the voice path according to the returned second voice quality level information, and then the voice or the path to the node or path where the quality problem occurs
  • the channel is further optimized and improved to improve the voice quality of the voice terminal.
  • the voice quality testing center can automatically control the voice communication system by controlling the voice quality testing center based on the pre-configured process of establishing a call connection between the voice terminals and initiating a voice quality test.
  • Large-scale voice service quality testing function Large-scale voice service quality testing function.
  • the standard loopback rule identifier is sent to the core network element to indicate that the core network element receives the network.
  • the obtained voice stream is subjected to corresponding loopback processing, so that the second voice quality level information fed back by the voice terminal can also reflect whether the voice quality problem occurring in the voice path is related to the core network element itself, thereby enabling more accurate detection.
  • FIG. 8 is a schematic structural diagram of a voice quality testing system according to an embodiment of the present invention.
  • the voice quality testing system of this embodiment includes the foregoing voice quality testing center. Two of the above-described voice terminals 2 (only two are shown), and a core network element 3.
  • the voice quality testing center 1 is connected to the voice terminal 2 and the core network element 3, respectively, and the voice terminal 2 is connected to the core network element 3.
  • the core network element 3 in this embodiment may be an MGW device or an MSC device in the core network.
  • the voice quality test center 1 can be set as a separate device in the communication network, and can also be embedded in the core network element 3.
  • all the functional modules involved in the voice quality testing center 1 and the voice terminal 2 of the embodiment, and the specific working processes involved in the voice quality testing center 1 and the voice terminal 2 may refer to the related content disclosed in the embodiment of the voice quality testing method. , will not repeat them here.
  • the voice quality testing system of this embodiment by receiving the voice quality assessment test of the connected voice path after receiving the voice connection with the call connection established, and returning the first voice quality level information, the first voice quality level The information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element.
  • the voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific node or path that causes the quality problem of the voice path can be known, and then The node or path of the quality problem can further optimize the voice path and improve the voice quality of the voice terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A method, a system and a device for testing speech quality are provided. The method includes that first speech quality level information, returned respectively from the speech terminals establishing calling connection, after speech quality tests to speech paths bearing the calling connection are carried out independently by the speech terminals, is received (100); if it is detected that any one piece of first speech quality level information is lower than a preset speech quality standard, the speech terminals are indicated to respectively carry out speech quality tests for loop back paths between a core network element and themselves (101); second speech quality level information, respectively returned from the speech terminals, after speech quality tests are carried out for the loop back paths between the core network element and themselves, is received (102); according to the received second speech quality level information, fault nodes, causing that the speech quality of the paths is lower than the preset speech quality standard, are determined (103). Detection of fault nodes causing quality problems in speech paths are realized using the method, and thereby speech paths can be optimized and improved, and speech quality of speech terminals is enhanced.

Description

语音质量的测试方法、 系统及 i殳备  Voice quality test method, system and equipment
本申请要求于 2010 年 08 月 31 日提交中国专利局、 申请号为 This application is submitted to the Chinese Patent Office on August 31, 2010, and the application number is
201010270617.7、 发明名称为 "语音质量的测试方法、 系统及设备" 的中国专 利申请的优先权, 其全部内容通过 )用结合在本申请中。 201010270617.7, the priority of the Chinese patent application entitled "Test Method, System and Apparatus for Voice Quality", the entire contents of which are incorporated herein by reference.
技术领域 Technical field
本发明实施例涉及语音测试技术, 尤其涉及一种语音质量的测试方法、 系 统及语音测试中心、 语音终端, 属于通信技术领域。  The embodiments of the present invention relate to voice testing technologies, and in particular, to a voice quality testing method, a system, a voice testing center, and a voice terminal, and belong to the field of communications technologies.
背景技术 Background technique
随着通信技术的不断成熟,语音业务得到了越来越广泛的应用,为了更好 地进行语音信号的传输, 以满足终端用户对语音业务的良好体验,需要对通信 网络的语音业务质量进行评估测试。  With the continuous maturity of communication technologies, voice services have become more and more widely used. In order to better transmit voice signals to meet the good experience of end users for voice services, it is necessary to evaluate the voice service quality of communication networks. test.
现有的语音业务质量评估方法通常基于平均意见得分 (Mean Opinion Score,简称 MOS )机制而进行,常见的包括主观 MOS值评估方法和客观 MOS 值评估方法两种。 MOS机制中, MOS值为衡量通信系统的语音质量的重要指 标,且按照语音质量的不同失真状况, MOS值被划分成了 1 ~ 5分的五个级别。 不同的 MOS分值代表了不同的语音质量, MOS值越大, 代表的语音质量越 好, 同时 MOS值还可以被精确到 0.1 MOS的数量级。  The existing voice service quality assessment methods are usually based on the Mean Opinion Score (MOS) mechanism. Common methods include subjective MOS value evaluation methods and objective MOS value evaluation methods. In the MOS mechanism, the MOS value is an important indicator for measuring the speech quality of the communication system, and according to the different distortion conditions of the speech quality, the MOS value is divided into five levels of 1 to 5 points. Different MOS scores represent different voice qualities. The larger the MOS value, the better the voice quality is represented, and the MOS value can be accurate to the order of 0.1 MOS.
虽然均是基于 MOS值来衡量语音通信的质量, 但主观 MOS值评估方法 和客观 MOS值评估方法的不同之处在于: 主观 MOS值评估方法采用 ITU-T P.800建议书, 其对语音的测试通过由不同的人分别对原始语音和经过系统处 理后有衰退的语音进行主观感觉对比, 得出 MOS分, 最后求得 MOS平均值 而实现; 而客观 MOS值评估则采用 ITU-T P.862建议书提供的客观语音质量 评估 ( Perceptual evaluation of speech quality, 简称 PESQ ) 方法, 其对语音的 测试则通过专门的测试仪器或软件,分别对原始语音和经过系统处理后有衰退 的语音进行对比而得以实现。 Although the quality of voice communication is measured based on MOS values, the difference between the subjective MOS value evaluation method and the objective MOS value evaluation method is: The subjective MOS value evaluation method uses ITU-T P.800 Recommendation, which is for speech. The test is carried out by comparing the subjective feelings of the original speech and the systematically processed degraded speech by different people, and then obtaining the MOS score, and finally obtaining the MOS average value; and the objective MOS value evaluation adopts ITU-T P. The Perceptual evaluation of speech quality (PESQ) method provided by Recommendation 862, which is for speech The test is carried out by comparing the original speech with the system-processed degraded speech through a dedicated test instrument or software.
相比于主观 MOS值评估方法, 客观 MOS值评估方法无需寻找多名合适 的评测者进行质量测评, 测试的结果也不会受到测试环境、评测者的主观因素 的影响, 能够客观地反映出语音质量的状况, 可信度及测试效率也相对更高。 但是, 客观 MOS值评估方法同样存在下述的缺陷: 客观 MOS值评估方法虽 然能客观地测试出语音质量在通路中发生退化的现象,但是却不能进一步地检 测确定引起语音质量退化的具体节点或路径,即不能检测得知发生语音质量问 题的详细定位, 而在无法得知语音质量退化原因的基础上,也无法对发生退化 的语音通话进行后续的优化处理。  Compared with the subjective MOS value evaluation method, the objective MOS value evaluation method does not need to find multiple suitable reviewers for quality evaluation. The test results are not affected by the test environment and subjective factors of the reviewer, and can objectively reflect the voice. Quality status, credibility and test efficiency are also relatively high. However, the objective MOS value estimation method also has the following defects: Although the objective MOS value evaluation method can objectively test the degradation of speech quality in the path, it cannot further detect the specific node that causes the speech quality degradation or The path, that is, the detailed location of the speech quality problem cannot be detected, and the subsequent optimization of the degraded voice call cannot be performed on the basis that the cause of the speech quality degradation cannot be known.
发明内容 Summary of the invention
本发明实施例提供一种语音质量的测试方法、 系统及设备, 用以解决现有 的语音质量评估方法无法检测确定引起语音质量退化的具体节点或路径, 从 而无法对发生退化的语音通话进行后续的优化处理的问题。  The embodiments of the present invention provide a method, a system, and a device for testing voice quality, which are used to solve the problem that the existing voice quality assessment method cannot detect and determine the specific node or path that causes the voice quality degradation, and thus cannot perform the degraded voice call. The problem of optimizing the processing.
为实现上述目的, 本发明实施例提供一种语音质量的测试方法, 包括: 接收建立呼叫连接的语音终端在各自对承载所述呼叫连接的语音通路进 行语音质量评估测试后、 分别返回的第一语音质量等级信息;  To achieve the above object, an embodiment of the present invention provides a method for testing voice quality, including: receiving, by a voice terminal that establishes a call connection, a voice quality assessment test for each voice connection that carries the call connection, and respectively returning the first Voice quality level information;
若检测到任一所述第一语音质量等级信息低于预设的语音质量标准时,指 示所述语音终端分别对自身与核心网网元间的环回通路进行语音质量评估测 试;  If it is detected that any of the first voice quality level information is lower than a preset voice quality standard, the voice terminal is instructed to perform a voice quality assessment test on the loopback path between itself and the core network element;
接收所述语音终端在各自对自身与所述核心网网元的环回通路进行语音 质量评估测试后、 分别返回的第二语音质量等级信息; 根据接收到的所述第二语音质量等级信息,确定引起所述语音通路的语音 质量低于所述预设的语音质量标准的故障节点。 Receiving, by the voice terminal, the second voice quality level information respectively returned after performing voice quality assessment tests on the loopback path of the core network element and the core network element; And determining, according to the received second voice quality level information, a fault node that causes a voice quality of the voice path to be lower than the preset voice quality standard.
为实现上述目的, 本发明实施例还提供一种语音质量的测试方法, 包括: 对所处的语音通路进行语音质量评估测试,并将测试得到的第一语音质量 等级信息发送给对应的语音质量测试中心;  To achieve the above object, an embodiment of the present invention further provides a voice quality testing method, including: performing a voice quality assessment test on a voice path, and transmitting the first voice quality level information obtained by the test to a corresponding voice quality. test Center;
若接收到所述语音质量测试中心返回的、用于指示对自身与核心网网元间 的环回通路进行语音质量评估测试的指示信息,则对所述环回通路进行语音质 量评估测试, 生成第二语音质量等级信息, 所述指示信息由所述语音质量测试 中心在检测到所述第一语音质量等级信息低于预设的语音质量标准后发出; 将所述第二语音质量等级信息发送给所述语音质量测试中心,以使所述语 音质量测试中心根据所述第二语音质量等级信息,确定引起所述语音通路的语 音质量低于所述预设的语音质量标准的故障节点。  Receiving, after receiving the indication information returned by the voice quality testing center for performing a voice quality assessment test on the loopback path between the core network element and the core network element, performing voice quality assessment test on the loopback path, generating a second voice quality level information, where the indication information is sent by the voice quality testing center after detecting that the first voice quality level information is lower than a preset voice quality standard; sending the second voice quality level information And the voice quality testing center is configured to determine, according to the second voice quality level information, the fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
为实现上述目的, 本发明实施例还提供一种语音质量测试中心, 包括: 第一接收模块,用于接收建立呼叫连接的语音终端在各自对承载所述呼叫 连接的语音通路进行语音质量评估测试后、 分别返回的第一语音质量等级信 息;  To achieve the above object, an embodiment of the present invention further provides a voice quality testing center, including: a first receiving module, configured to receive a voice connection assessment voice test for a voice terminal that establishes a call connection The first voice quality level information returned afterwards;
测试指示模块,用于当检测到所述第一接收模块接收到的任一所述第一语 音质量等级信息低于预设的语音质量标准时,指示所述语音终端分别对自身与 核心网网元间的环回通路进行语音质量评估测试;  a test indication module, configured to: when detecting that any of the first voice quality level information received by the first receiving module is lower than a preset voice quality standard, instructing the voice terminal to separately connect to the core network element Inter-loop path for voice quality assessment testing;
第二接收模块,用于接收所述语音终端在各自对自身与所述核心网网元的 环回通路进行语音质量评估测试后、 分别返回的第二语音质量等级信息; 确定模块,用于根据所述第二接收模块接收到的所述第二语音质量等级信 息,确定引起所述语音通路的语音质量低于所述预设的语音质量标准的故障节 点。 a second receiving module, configured to receive second voice quality level information that is returned by the voice terminal after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively; The second voice quality level letter received by the second receiving module And determining, by the faulty node, the voice quality of the voice path is lower than the preset voice quality standard.
为实现上述目的, 本发明实施例还提供一种语音终端, 包括:  To achieve the above, the embodiment of the present invention further provides a voice terminal, including:
第一测试模块,用于对所述语音终端所处的语音通路进行语音质量评估测 试, 并将测试得到的第一语音质量等级信息发送给对应的语音质量测试中心; 指示信息接收模块, 用于接收所述语音质量测试中心返回的、用于指示对 自身与核心网网元间的环回通路进行语音质量评估测试的指示信息,所述指示 信息由所述语音质量测试中心在检测到所述第一语音质量等级信息低于预设 的语音质量标准后发出;  a first test module, configured to perform a voice quality assessment test on the voice path in which the voice terminal is located, and send the first voice quality level information obtained by the test to a corresponding voice quality test center; Receiving, by the voice quality testing center, indication information for indicating a voice quality assessment test on a loopback path between the core network element and the core network element, where the indication information is detected by the voice quality testing center The first voice quality level information is sent after being lower than the preset voice quality standard;
第二测试模块, 用于根据所述指示信息接收模块接收到的所述指示信息, 对所述环回通路进行语音质量评估测试, 生成第二语音质量等级信息;  a second test module, configured to perform a voice quality assessment test on the loopback path according to the indication information received by the indication information receiving module, to generate second voice quality level information;
第二信息发送模块,用于将所述第二语音质量等级信息发送给所述语音质 量测试中心, 以使所述语音质量测试中心根据所述第二语音质量等级信息,确 定引起所述语音通路的语音质量低于所述预设的语音质量标准的故障节点。  a second information sending module, configured to send the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines, according to the second voice quality level information, that the voice path is caused The voice quality is lower than the faulty node of the preset voice quality standard.
为实现上述目的, 本发明实施例还提供一种语音质量的测试系统, 包括: 上述的语音质量测试中心、 至少两个上述的语音终端、 以及核心网网元; 其中,  In order to achieve the above object, an embodiment of the present invention further provides a voice quality testing system, including: the foregoing voice quality testing center, at least two voice terminals, and a core network element;
所述语音质量测试中心分别与所述语音终端和核心网网元连接,所述语音 终端和所述核心网网元连接。  The voice quality testing center is respectively connected to the voice terminal and the core network element, and the voice terminal is connected to the core network element.
本发明实施例提供的语音质量的测试方法、 系统及设备,通过在接收到建 立了呼叫连接的语音终端分别对连接的语音通路进行语音质量评估测试后、返 回的第一语音质量等级信息,对该第一语音质量等级信息进行检测,且在检测 到接收到的任一第一语音质量等级信息低于预设的语音质量标准时,指示建立 呼叫连接的语音终端对各自与核心网网元间的环回通路进行进一步的语音质 量评估测试, 并返回各自测试出的第二语音质量等级信息,从而根据各语音终 端返回的第二语音质量等级信息,能够得知引起语音通路发生质量问题的具体 节点或路径, 进而针对发生质量问题的节点或路径, 可以对语音通路进行进一 步的优化改善, 最终提高语音终端的语音质量。 The method, system and device for testing the voice quality provided by the embodiment of the present invention, after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, The first voice quality level information is detected and detected When any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection performs further voice quality assessment test on the loopback path between the core network element and the core network element, and returns The second voice quality level information respectively tested, so that according to the second voice quality level information returned by each voice terminal, it is possible to know a specific node or path that causes a quality problem of the voice path, and further, for a node or path where quality problems occur, The voice path can be further optimized and improved, and finally the voice quality of the voice terminal is improved.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描 述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出 创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明实施例提供的一种语音质量的测试方法的流程图; 图 2为本发明实施例提供的另一种语音质量的测试方法的流程图; 图 3为本发明实施例提供的又一种语音质量的测试方法的信令图; 图 4为本发明实施例提供的一种语音质量测试中心的结构示意图; 图 5为本发明实施例提供的另一种语音质量测试中心的结构示意图; 图 6为本发明实施例提供的一种语音终端的结构示意图; 图 7为本发明实施例提供的另一种语音终端的结构示意图;  In order to more clearly illustrate the embodiments of the present invention or the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor. 1 is a flowchart of a method for testing voice quality according to an embodiment of the present invention; FIG. 2 is a flowchart of another method for testing voice quality according to an embodiment of the present invention; A signaling diagram of a voice quality test method; FIG. 4 is a schematic structural diagram of a voice quality test center according to an embodiment of the present invention; FIG. 5 is a schematic diagram of another voice quality test center according to an embodiment of the present invention. FIG. 6 is a schematic structural diagram of a voice terminal according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of another voice terminal according to an embodiment of the present invention;
图 8为本发明实施例提供的一种语音质量的测试系统的结构示意图。  FIG. 8 is a schematic structural diagram of a voice quality test system according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明实施例的目的、技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。基于本发明中 的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. Based on the present invention All other embodiments obtained by those skilled in the art without creative efforts are within the scope of the present invention.
图 1为本发明实施例提供的一种语音质量的测试方法的流程图, 如图 1所 示, 本实施例的方法包括如下步骤:  FIG. 1 is a flowchart of a method for testing a voice quality according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes the following steps:
步骤 100, 接收建立呼叫连接的语音终端在各自对承载该呼叫连接的语音 通路进行语音质量评估测试后、 分别返回的第一语音质量等级信息;  Step 100: Receive, by the voice terminal that establishes the call connection, the first voice quality level information respectively returned after performing voice quality assessment tests on the voice path that carries the call connection.
本发明实施例中,发起并建立呼叫连接的语音终端除了具备普通语音终端 的语音呼叫能力之外,还同时具备语音质量评估测试的能力, 即具备对语音通 路的语音质量等级进行测试的能力。 同时, 在本发明实施例中, 为了在语音终 端分别对语音通路进行语音质量评估测试后,还能够依据测试出的语音质量结 果, 分析并发起后续的检测确定语音质量退化定位路径的流程, 在本发明实施 例的语音质量测试系统中, 相对语音终端还设置了语音质量测试中心。  In the embodiment of the present invention, in addition to the voice call capability of the ordinary voice terminal, the voice terminal that initiates and establishes the call connection has the capability of voice quality assessment test, that is, the ability to test the voice quality level of the voice channel. In the embodiment of the present invention, in order to perform a voice quality assessment test on the voice path after the voice terminal separately, the voice quality degradation result can be analyzed and initiated according to the tested voice quality result, and the process of determining the voice quality degradation location path is determined. In the voice quality testing system of the embodiment of the present invention, a voice quality testing center is further provided for the voice terminal.
语音质量测试中心用于控制语音终端发起对语音通路的质量评估测试、检 测和分析引起语音质量退化原因、 以及寻找确定引起语音质量退化的具体节 点或路径。 基于语音质量测试中心的设置, 建立呼叫连接的两个语音终端在 分别对承载该呼叫连接的语音通路进行语音质量评估测试后, 将分别将测试 出、代表两者间语音通路的语音质量状况的第一语音质量等级信息返回给语音 质量测试中心,以便语音质量测试中心根据接收到的第一语音质量等级信息对 语音通路的语音质量进行检测,从而判断该语音通路是否发生了语音质量的退 化现象。  The voice quality test center is used to control the quality assessment test, detection and analysis of the voice path initiated by the voice terminal to cause the degradation of the voice quality, and to find a specific node or path that determines the degradation of the voice quality. Based on the setting of the voice quality test center, the two voice terminals that establish the call connection will respectively test and represent the voice quality status of the voice path between the two voice channels after performing voice quality assessment tests on the voice path carrying the call connection. The first voice quality level information is returned to the voice quality testing center, so that the voice quality testing center detects the voice quality of the voice path according to the received first voice quality level information, thereby determining whether the voice path has degraded the voice quality. .
步骤 101, 若检测到任一第一语音质量等级信息低于预设的语音质量标准 时,指示语音终端分别对自身与核心网网元间的环回通路进行语音质量评估测 试; Step 101: If it is detected that any of the first voice quality level information is lower than the preset voice quality standard, the voice terminal is instructed to perform voice quality assessment on the loopback path between itself and the core network element. Try
语音质量测试中心分别接收到语音终端各自返回的、代表两者间语音通路 的语音质量的第一语音质量等级信息之后,对接收到的第一语音质量等级信息 进行检测, 具体指检测该第一语音质量等级信息是否满足预设的语音质量标 准。 具体地, 语音终端发送的第一语音质量等级信息中通常包括测试出的、 语 音通路对应的 MOS值, 因而根据第一语音质量等级信息中包含的 MOS值的大 小, 语音质量测试中心能够检测得知两个语音终端间语音通路的语音质量情 况。  After receiving the first voice quality level information of the voice quality of the voice path between the voice terminals, the voice quality test center detects the received first voice quality level information, specifically detecting the first Whether the voice quality level information meets the preset voice quality standard. Specifically, the first voice quality level information sent by the voice terminal generally includes the tested MOS value corresponding to the voice path, and thus the voice quality testing center can detect according to the size of the MOS value included in the first voice quality level information. Know the voice quality of the voice path between two voice terminals.
通常地, 为了根据第一语音质量等级信息中的 MOS值, 界定语音通路是 否发生语音质量问题,在语音质量测试中心中,会设置代表最低正常语音质量 的 MOS门限值(例如, 该 MOS门限值通常可以根据经验值设置为 3 )。 若语音 质量测试中心检测到任一第一语音质量等级信息中的 MOS值低于该 MOS门限 值时,代表两个语音终端和语音终端之间的语音通路的语音质量低于了正常水 平, 因而在本发明实施例中, 为了进一步地检测出语音质量发生退化的原因, 确定语音质量发生退化的具体节点和路径,语音质量测试中心将控制语音终端 发起进一步的语音质量测试流程。具体指语音质量测试中心将指示保持呼叫连 接的两个语音终端分别对自身与核心网网元间的环回通路进行进一步的语音 质量评估测试。  Generally, in order to define whether the voice path has a voice quality problem according to the MOS value in the first voice quality level information, in the voice quality test center, a MOS threshold value representing the lowest normal voice quality is set (for example, the MOS gate The limit can usually be set to 3 based on the empirical value. If the voice quality test center detects that the MOS value in any of the first voice quality level information is lower than the MOS threshold, the voice quality of the voice path between the two voice terminals and the voice terminal is lower than a normal level. Therefore, in the embodiment of the present invention, in order to further detect the cause of degradation of the voice quality, and determine the specific node and path where the voice quality is degraded, the voice quality testing center controls the voice terminal to initiate a further voice quality testing process. Specifically, the voice quality testing center will instruct the two voice terminals that maintain the call connection to perform further voice quality assessment tests on the loopback path between themselves and the core network element.
步骤 102, 接收所述语音终端在各自对自身与所述核心网网元的环回通路 进行语音质量评估测试后、 分别返回的第二语音质量等级信息;  Step 102: Receive second voice quality level information that is returned by the voice terminal after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively.
步骤 103, 根据接收到的第二语音质量等级信息, 确定引起语音通路的语 音质量低于预设的语音质量标准的故障节点。 具体地,语音终端与核心网网元之间的环回通路即语音终端与核心网网元 之间的语音通路, 代表语音流从语音终端发送至核心网网元后, 又从核心网网 元返回至语音终端的自环通路。而本发明实施例中所指的核心网网元通常为核 心网中的媒体网关( Media Gate Way,简称 MGW )设备或移动交换中心( Mobile Switching Center, 简称 MSC )设备 。 Step 103: Determine, according to the received second voice quality level information, a fault node that causes a voice quality of the voice path to be lower than a preset voice quality standard. Specifically, the loopback path between the voice terminal and the core network element, that is, the voice path between the voice terminal and the core network element, represents that the voice stream is sent from the voice terminal to the core network element, and then from the core network element. Return to the self-loop path of the voice terminal. The core network element in the embodiment of the present invention is usually a Media Gate Way (MGW) device or a Mobile Switching Center (MSC) device in the core network.
由于对于任一语音终端与核心网网元的环回通路而言,均与另一语音终端 无关,即对环回通路的语音质量测试结果实质上仅涉及发起测试的语音终端与 核心网网元两个设备。 因而,通过两个语音终端分别对各自对应的环回通路进 行语音质量测试,该测试的结果至少能够反映出这两个语音终端在各自单独承 载语音链路时,是否会存在语音质量的问题,从而能够反映出上述语音质量测 试中心检测到的语音通路质量低于语音质量标准问题的具体故障节点或具体 故障路径。 例如是单节点单通路问题, 即仅有一侧语音终端及一侧语音终端 的通信路径发生了质量问题; 或者是双节点双通路问题, 即两侧语音终端及两 侧语音终端的通信链路均发生了质量问题;或者两侧的语音终端均未发生质量 问题, 而是核心网网元的语音流传送质量出现了问题。  Since the loopback path of any voice terminal and the core network element is independent of another voice terminal, the voice quality test result of the loopback path substantially only involves the voice terminal and the core network element that initiate the test. Two devices. Therefore, the voice quality test is performed on each of the corresponding loopback paths by the two voice terminals, and the result of the test can at least reflect whether the voice terminals have voice quality problems when the voice terminals are individually carried. Therefore, it can reflect that the voice path quality detected by the voice quality testing center is lower than the specific fault node or the specific fault path of the voice quality standard problem. For example, it is a single-node single-path problem, that is, only one side of the voice terminal and one side of the voice terminal has a quality problem; or a two-node dual-channel problem, that is, the communication link between the voice terminals on both sides and the voice terminals on both sides A quality problem has occurred; or there is no quality problem with the voice terminals on both sides, but the voice stream quality of the core network element has a problem.
因而,当语音终端各自对自身与核心网网元之间的环回通路进行语音质量 评估测试后,将测试出的反映各自对应的环回通路的语音质量状况的第二语音 质量等级信息返回给语音质量测试中心,语音质量测试中心根据接收到的两个 第二语音质量等级信息,能够检测分析出语音通路的语音质量低于语音质量标 准的原因, 并寻找出引起语音质量发生退化的故障节点及故障路径。从而相对 于现有的无论主观 MOS值评估方法或客观 MOS值评估方法而言, 不但实现了 对语音通路是否发生质量退化的检测, 还检测出了发生语音质量退化的原因, 确定了引起语音质量发生退化的节点及路径。从而在此基础上,语音质量测试 中心可以根据检测的结果,有针对性的对发生质量退化的节点或路径进行优化 改善处理, 以提高语音通路的语音质量。 Therefore, after the voice terminals perform voice quality assessment tests on the loopback path between themselves and the core network element, the tested second voice quality level information reflecting the voice quality status of the corresponding loopback path is returned to The voice quality testing center, based on the received two second voice quality level information, can detect and analyze the reason why the voice quality of the voice channel is lower than the voice quality standard, and find a fault node that causes degradation of voice quality. And the fault path. Therefore, compared with the existing subjective MOS value evaluation method or the objective MOS value evaluation method, not only the quality degradation of the voice path is detected, but also the cause of the speech quality degradation is detected. Nodes and paths that cause degradation in speech quality are determined. Therefore, based on the results of the detection, the voice quality testing center can optimize and improve the quality degradation of the nodes or paths to improve the voice quality of the voice path.
本实施例的语音质量的测试方法,通过在接收到建立了呼叫连接的语音终 端分别对连接的语音通路进行语音质量评估测试后、返回的第一语音质量等级 信息,对该第一语音质量等级信息进行检测,且在检测到接收到的任一第一语 音质量等级信息低于预设的语音质量标准时,指示建立呼叫连接的语音终端对 各自与核心网网元间的环回通路进行进一步的语音质量评估测试,并返回各自 测试出的第二语音质量等级信息,从而根据各语音终端返回的第二语音质量等 级信息, 能够得知引起语音通路发生质量问题的具体故障节点和故障路径,进 而针对发生质量问题的节点或路径, 可以对语音通路进行进一步的优化改善, 提高了语音终端的语音质量。  The method for testing the voice quality in this embodiment, after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, the first voice quality level The information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element. The voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific fault node and the fault path that cause the quality problem of the voice path can be known, and then For the node or path where the quality problem occurs, the voice path can be further optimized and improved, and the voice quality of the voice terminal is improved.
图 2为本发明实施例提供的另一种语音质量的测试方法的流程图。 本实施 例从对应于语音质量测试中心的任一语音终端的角度,对本发明实施例的语音 质量的测试方法进行了描述。如图 2所示, 本实施例的方法具体包括如下步骤: 步骤 200, 对所处的语音通路进行语音质量评估测试, 并将测试得到的第 一语音质量等级信息发送给对应的语音质量测试中心;  FIG. 2 is a flowchart of another method for testing voice quality according to an embodiment of the present invention. This embodiment describes a method for testing voice quality according to an embodiment of the present invention from the perspective of any voice terminal corresponding to a voice quality testing center. As shown in FIG. 2, the method in this embodiment specifically includes the following steps: Step 200: Perform a voice quality assessment test on the voice path, and send the first voice quality level information obtained by the test to the corresponding voice quality test center. ;
在本实施例中,语音终端除了具备普通语音终端的语音呼叫能力之外,还 同时具备对所处语音通路的语音质量进行评估测试的能力。具体地, 当语音终 端与另一语音终端建立了呼叫连接, 即建立了两者间的语音通路后,该语音终 端可以对所处的语音通路进行语音质量评估测试。该语音质量评估测试的方法 基于现有的 PESQ测试方法而进行, 即语音终端通过对原始语音和经过语音通 路传送后有衰退的语音进行质量对比,可以测试得到代表该所处的语音通路的 语音质量状况的第一语音质量等级信息。 In this embodiment, in addition to the voice call capability of the ordinary voice terminal, the voice terminal also has the ability to evaluate and test the voice quality of the voice path. Specifically, when the voice terminal establishes a call connection with another voice terminal, that is, after establishing a voice path between the two, the voice terminal can perform voice quality assessment test on the voice path in which the voice terminal is located. The voice quality assessment test method is based on the existing PESQ test method, that is, the voice terminal passes the original voice and the voice pass After the transmission, there is a degraded voice for quality comparison, and the first voice quality level information representing the voice quality condition of the voice path in which the voice is located can be tested.
语音终端经过评估测试得到该第一语音质量等级信息后, 将该第一语音质 量等级信息发送给对应的语音质量测试中心, 从而语音质量测试中心根据接收 到的该第一语音质量等级信息, 能够获知语音通路的语音质量状况, 且根据获 知的状况信息, 能够判断出该语音通路是否发生了语音质量的退化现象。  After the voice terminal obtains the first voice quality level information through the evaluation test, the first voice quality level information is sent to the corresponding voice quality test center, so that the voice quality test center can according to the received first voice quality level information. The voice quality status of the voice path is known, and based on the learned status information, it can be determined whether the voice path has degraded the voice quality.
步骤 201, 若接收到语音质量测试中心返回的、 用于指示对自身与核心网 网元间的环回通路进行语音质量评估测试的指示信息,对该环回通路进行语音 质量评估测试, 生成第二语音质量等级信息;  Step 201: If receiving the indication information returned by the voice quality testing center for indicating the voice quality assessment test of the loopback path between the core network element and the core network element, performing voice quality assessment test on the loopback path, generating the first Two voice quality level information;
语音质量测试中心接收到语音终端返回的、代表其所处的语音通路的语音 质量的第一语音质量等级信息之后,对该第一语音质量等级信息进行检测。具 体地,由于语音终端发送的第一语音质量等级信息中通常包括直接反映语音通 路的语音质量状况的 MOS值, 因而根据第一语音质量等级信息中包含的 MOS 值的高低, 以及根据预设的 MOS门限值, 语音质量测试中心能够直接地检测 得知语音终端所处的语音通路的语音质量情况,具体指检测得知语音通路的语 音质量是否满足预设的语音质量标准,该语音质量标准通常为可容忍接受的正 常语音质量的最低标准。  After receiving the first voice quality level information returned by the voice terminal and representing the voice quality of the voice path in which the voice terminal is located, the voice quality test center detects the first voice quality level information. Specifically, the first voice quality level information sent by the voice terminal usually includes a MOS value that directly reflects the voice quality condition of the voice path, and thus, according to the preset, the MOS value included in the first voice quality level information, and according to the preset The MOS threshold, the voice quality test center can directly detect the voice quality of the voice path in which the voice terminal is located, specifically detecting whether the voice quality of the voice path satisfies a preset voice quality standard, and the voice quality standard It is usually the minimum standard that can tolerate normal voice quality.
若语音质量测试中心检测出语音终端所处的语音通路的语音质量低于了 预设的正常标准, 为了进一步地检测出语音质量发生退化的原因, 及引起语音 质量发生退化的故障节点和故障路径,语音质量测试中心将控制发起进一步的 语音质量测试流程。具体地,语音质量测试中心将向处于语音通路的两个语音 终端分别发送指示信息,以指示两个语音终端各自对自身与核心网网元间的环 回通路进行语音质量评估测试, 并将测试结果返回给语音质量测试中心。 If the voice quality test center detects that the voice quality of the voice path in which the voice terminal is located is lower than the preset normal standard, in order to further detect the cause of the degradation of the voice quality, and the faulty node and the fault path that cause the degradation of the voice quality. The Voice Quality Test Center will control the initiation of further voice quality testing procedures. Specifically, the voice quality testing center separately sends indication information to two voice terminals in the voice path to indicate that each of the two voice terminals has a ring between itself and the core network element. The back channel performs a voice quality assessment test and returns the test result to the voice quality test center.
因而,对于语音终端而言, 若接收到语音质量测试中心发送的该指示信息 时,将根据该指示信息,对自身与核心网网元之间的环回通路进行进一步地语 音质量评估测试, 以测试自身在单独与核心网网元承载语音通路时, 该单独承 载的语音通路是否会发生语音质量问题,从而检测在与对端建立语音通路时发 生的语音质量问题是否与自身有关。而语音终端分别对自身与核心网网元之间 的环回通路进行的语音质量测试的过程,同样可以基于现有的 PESQ方法进行, 以最终得到至少包括反映环回通路的语音质量状况的 MOS值的第二语音质量 等级信息。  Therefore, for the voice terminal, if the indication information sent by the voice quality testing center is received, the voice quality assessment test is performed on the loopback path between the core network element and the core network element according to the indication information, When the test itself and the core network element carry the voice path, whether the voice path of the separately carried voice path will have a voice quality problem, thereby detecting whether the voice quality problem occurring when establishing the voice path with the peer is related to itself. The voice quality test process performed by the voice terminal on the loopback path between the core network element and the core network element can also be performed based on the existing PESQ method, so as to finally obtain the MOS including at least the voice quality status reflecting the loopback path. The second voice quality level information of the value.
步骤 202, 将第二语音质量等级信息发送给语音质量测试中心, 以使语音 质量测试中心根据接收到的第二语音质量等级信息,确定引起语音通路的语音 质量低于预设的语音质量标准的故障节点。  Step 202: Send the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines, according to the received second voice quality level information, that the voice quality of the voice path is lower than a preset voice quality standard. Faulty node.
具体地, 测试得到代表环回通路的语音质量的第二语音质量等级信息后, 语音终端将该第二语音质量等级信息返回给语音质量测试中心,以供语音质量 测试中心据此分析确定引起语音通路的语音质量问题的故障节点和故障路径, 即据此检测分析发生语音质量问题的原因。  Specifically, after the second voice quality level information representing the voice quality of the loopback path is obtained, the voice terminal returns the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines and generates the voice according to the analysis. The fault node and the fault path of the voice quality problem of the path, that is, the reason for detecting the voice quality problem according to this detection.
由于语音终端分别返回的第二语音质量等级信息,直接反映了语音通路上 的两个语音终端在各自单独与核心网网元进行呼叫连接时,是否会发生语音质 量问题, 以及发生的语音质量问题的严重程度。 因而根据得到的该第二语音质 量等级信息,语音质量测试中心能够检测分析出发生了语音质量问题的故障节 点及路径,从而能够得知两个语音终端直接的语音通路发生语音质量退化的原 因。例如该语音通路是存在单节点单通路问题, 即仅有一侧语音终端及一侧语 音终端的通信链路发生了质量问题; 或者是存在双节点双通路问题, 即两侧语 音终端及两侧语音终端的通信链路均发生了质量问题等。 The second voice quality level information returned by the voice terminal directly reflects whether the two voice terminals on the voice path are connected to the core network element separately, whether voice quality problems occur, and voice quality problems occur. The severity of the situation. Therefore, according to the obtained second voice quality level information, the voice quality testing center can detect and analyze the faulty node and the path where the voice quality problem occurs, so that the reason for the voice quality degradation of the direct voice path of the two voice terminals can be known. For example, the voice path is a single-node single-channel problem, that is, only one side of the voice terminal and one side language There is a quality problem in the communication link of the audio terminal; or there is a two-node dual-path problem, that is, quality problems occur in the communication links of the voice terminals on both sides and the voice terminals on both sides.
从而相对于现有的无论主观 MOS值评估方法或客观 MOS值评估方法而 言, 本发明实施例不但实现了对语音通路是否发生质量退化的检测,语音质量 测试中心还检测出了发生语音质量退化的原因,检测出了引起语音质量发生退 化的节点及路径。 进一步地, 在此基础上, 语音质量测试中心可以根据检测的 结果,有针对性的对发生质量退化的节点或路径进行优化改善处理操作, 以此 提高语音通路的质量。  Therefore, compared with the existing subjective MOS value evaluation method or the objective MOS value evaluation method, the embodiment of the present invention not only detects whether the quality of the voice path is degraded, but also detects the occurrence of speech quality degradation. The reason is that nodes and paths that cause degradation of speech quality are detected. Further, on the basis of this, the voice quality testing center can optimize and improve the processing operation on the node or path where the quality degradation occurs according to the detection result, thereby improving the quality of the voice path.
本实施例的语音质量的测试方法, 通过在接收到建立了呼叫连接的语音终 端分别对连接的语音通路进行语音质量评估测试后、返回的第一语音质量等级 信息,对该第一语音质量等级信息进行检测,且在检测到接收到的任一第一语 音质量等级信息低于预设的语音质量标准时,指示建立呼叫连接的语音终端对 各自与核心网网元间的环回通路进行进一步的语音质量评估测试,并返回各自 测试出的第二语音质量等级信息,从而根据各语音终端返回的第二语音质量等 级信息, 能够得知引起语音通路发生质量问题的具体节点或路径, 进而针对发 生质量问题的节点或路径, 可以对语音通路进行进一步的优化改善,提高了语 音终端的语音质量。  The voice quality testing method of the embodiment, the first voice quality level information returned by the voice terminal that has established the call connection after performing the voice quality assessment test on the connected voice path, and the first voice quality level information is returned. The information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element. The voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific node or path that causes the quality problem of the voice path can be known, and then The node or path of the quality problem can further optimize the voice path and improve the voice quality of the voice terminal.
图 3为本发明实施例提供的又一种语音质量的测试方法的信令图, 本实施 例以语音质量测试中心指示语音终端 A向语音终端 B发起呼叫,语音终端 A和语 音终端 B分别对建立的语音通路进行语音质量测试为例, 对语音质量测试中心 控制语音终端发起呼叫及语音质量测试,以及根据反馈的语音质量等级信息对 语音质量退化的原因进行检测分析的具体过程做出了描述。 如图 3所示, 本实 施例的方法具体包括如下步骤: FIG. 3 is a signaling diagram of a voice quality test method according to an embodiment of the present invention. In this embodiment, a voice quality test center instructs voice terminal A to initiate a call to voice terminal B, and voice terminal A and voice terminal B respectively The established voice path is tested for voice quality. The voice quality test center controls the voice terminal to initiate call and voice quality test, and the specific process of detecting and analyzing the cause of voice quality degradation based on the feedback voice quality level information is described. . As shown in Figure 3, this is The method of the embodiment specifically includes the following steps:
步骤 300, 语音质量测试中心向语音终端 A发送拨测指令;  Step 300: The voice quality testing center sends a dialing test command to the voice terminal A.
本实施例中,各语音终端之间发起并建立呼叫连接,对语音通路进行语音 质量的测试过程均在语音质量测试中心的控制下进行。 作为总的控制测试中 心, 在本发明实施例中, 语音质量测试中心可以对应通信系统中多个用于语音 质量测试的语音终端,并同时对多个语音终端彼此间的拨测过程进行集中监控。  In this embodiment, the call connection is initiated and established between the voice terminals, and the voice quality test process for the voice path is performed under the control of the voice quality test center. As a total control test center, in the embodiment of the present invention, the voice quality test center can correspond to multiple voice terminals used for voice quality testing in the communication system, and simultaneously perform centralized monitoring on the dialing process of multiple voice terminals. .
具体地, 在语音质量测试中心中, 根据对应的多个语音终端的实际情况和 测试需求, 可以对各语音终端彼此间相互发起呼叫测试的顺序、 时间以及具体 方式进行预先的配置。 基于该预先配置的信息, 语音质量测试中心可以在配置 信息中指定的时间, 向指定的语音终端发送预设的拨测指令, 从而指示此次测 试呼叫的开始。 进一步地, 当需要测试的语音通路较多时, 语音质量测试中心 还可以通过在配置信息中合理地分配对各路语音通路进行测试的时间、 周期, 有序地进行对各语音终端彼此间的语音通路的语音质量测试, 当具备语音质量 测试能力的语音终端被按照测试需求遍布部署在待测的区域内时, 基于语音质 量测试中心的控制, 还能以此实现对语音通信系统的自动化、 大规模化的语音 业务质量测试。  Specifically, in the voice quality testing center, according to the actual situation and the testing requirements of the corresponding multiple voice terminals, the sequence, time, and specific manner in which the voice terminals initiate call tests with each other can be pre-configured. Based on the pre-configured information, the voice quality test center can send a preset dialing command to the designated voice terminal at a time specified in the configuration information, thereby indicating the start of the test call. Further, when there are many voice paths to be tested, the voice quality test center can also perform voice to each voice terminal in an orderly manner by appropriately allocating the time and period of testing the voice paths in the configuration information. The voice quality test of the channel, when the voice terminal with voice quality test capability is deployed in the area to be tested according to the test requirements, based on the control of the voice quality test center, the voice communication system can be automated and large. Scaled voice service quality testing.
在本实施例中, 以语音质量测试中心才艮据配置信息向语音终端 A发送拨测 指令, 指示语音终端 A向语音终端 B发起呼叫, 并对建立的语音通路进行语音质 量测试为例, 对本发明实施例的语音质量测试方法进行描述。 具体地, 语音质 量测试中心发送的该拨测指令中可以携带用于指示语音终端 A进行呼叫及进行 语音质量测试操作的相关指示信息, 例如呼叫对端标识信息等。 才艮据该呼叫对 端标识信息, 语音终端 A能够得知此次发起呼叫以及进行语音质量测试的对象, 从而在拨测指令的指示下可以进行相应的操作。 In this embodiment, the voice quality test center sends a dialing command to the voice terminal A according to the configuration information, instructing the voice terminal A to initiate a call to the voice terminal B, and performing voice quality testing on the established voice path as an example. The voice quality test method of the embodiment of the invention is described. Specifically, the dialing test command sent by the voice quality testing center may carry related indication information, such as call peer identification information, for instructing the voice terminal A to perform a call and perform a voice quality test operation. According to the call identity identification information, the voice terminal A can know the object that initiated the call and performs the voice quality test. Therefore, the corresponding operation can be performed under the instruction of the dialing instruction.
而进一步地, 实际应用中, 该拨测指令中还可以包括与建立呼叫连接和进 行语音质量测试相关的其他指示信息, 例如拨测指令中还可以包括呼叫连接保 持时长信息、 以及呼叫连接释放模式信息等。 其中, 呼叫连接保持时长信息用 于告知语音终端此次呼叫连接需保持的时间, 即告知语音终端应当在何时结束 此次呼叫连接, 以避免呼叫时间过长而引起的资源浪费, 而实际设置中, 拨测 指令中设置的该时长通常将大于语音终端进行语音质量测试以及后续的定位流 程所需的总时间; 而呼叫连接释放模式信息则用于告知语音终端在结束本次呼 叫时、 所采用的语音资源的释放模式。  Further, in an actual application, the dialing command may further include other indication information related to establishing a call connection and performing a voice quality test, for example, the dialing command may further include a call connection hold duration information, and a call connection release mode. Information, etc. The call connection hold duration information is used to inform the voice terminal of the time required for the call connection to be maintained, that is, to inform the voice terminal when to end the call connection, to avoid waste of resources caused by excessive call time, and the actual setting The duration set in the dialing command will usually be greater than the total time required for the voice terminal to perform the voice quality test and the subsequent positioning procedure; and the call connection release mode information is used to inform the voice terminal when the call is terminated. The release mode of the voice resource used.
因而若拨测指令中携带了上述两个信息, 接收到拨测指令的语音终端在建 立了与指定的对端语音终端之间的呼叫连接后, 还会根据拨测指令中的呼叫连 接保持时长信息以及呼叫连接释放模式信息, 在指定的呼叫连接时长后, 对呼 叫连接所占用的资源进行释放,且释放的具体模式采用拨测指令中指定的释放 模式。  Therefore, if the dialing command carries the above two information, after the voice terminal that receives the dialing command establishes a call connection with the designated peer voice terminal, it also maintains the duration of the call connection according to the dialing command. The information and the call connection release mode information release the resources occupied by the call connection after the specified call connection duration, and the specific mode of the release is in the release mode specified in the dial test command.
需要说明的是, 在本发明实施例中, 根据实际的需求, 下发给语音终端的 拨测指令中还可以包含更多的信息, 以用于指示语音终端进行相关的操作, 从 而对语音终端的呼叫以过程及语音测试过程进行更好的控制, 而本发明实施例 并不对此进行具体的限制。  It should be noted that, in the embodiment of the present invention, according to actual requirements, the dialing test command sent to the voice terminal may further include more information for instructing the voice terminal to perform related operations, thereby using the voice terminal. The call is better controlled by the process and the voice test process, and the embodiment of the present invention does not specifically limit this.
步骤 301, 语音终端 A根据拨测指令向语音终端 B发起呼叫, 并建立呼叫连 接;  Step 301, the voice terminal A initiates a call to the voice terminal B according to the dialing command, and establishes a call connection;
语音终端 A接收到语音质量测试中心发送的拨测指令后, 响应该拨测指 令, 并根据拨测指令中携带的语音终端 B的标识信息, 向指定的语音终端 B发 起测试呼叫, 并在发起呼叫后建立与语音终端 B之间的呼叫连接。 该呼叫流程 与现有的语音呼叫流程一致, 在本发明实施例中不再进行赞述。 After receiving the dialing test command sent by the voice quality testing center, the voice terminal A responds to the dialing test command, and sends the voice terminal B to the designated voice terminal B according to the identification information of the voice terminal B carried in the dialing test command. The test call is initiated and a call connection with the voice terminal B is established after the call is initiated. The call process is consistent with the existing voice call process, and is not described in the embodiment of the present invention.
步骤 302, 语音终端 A向语音终端 B发送预存的测试语音流;  Step 302: The voice terminal A sends the pre-stored test voice stream to the voice terminal B.
在建立了彼此间的呼叫连接后, 语音终端 A和语音终端 B将分别对两者之 间建立的语音通路进行语音质量的评估测试,并分别将各自测试得到的语音质 量等级信息返回给语音质量测试中心进行检测分析。 实际操作中, 语音终端 A 和语音终端 B对语音通路的质量测试将依次进行, 而对于进行测试的先后顺序 在本发明实施例中则并不予以限定,该顺序可以在语音质量测试中心中下发的 拨测指令中指定, 或者还可以随机进行。 而语音终端进行语音质量评估测试的 具体方法流程则可以参照现有的 PESQ方法, 即依据客观 MOS值评估测试方法 而进行。  After the call connection between the two parties is established, the voice terminal A and the voice terminal B respectively perform voice quality evaluation tests on the voice paths established between the two, and respectively return the voice quality level information obtained by the respective tests to the voice quality. The test center performs test analysis. In the actual operation, the quality test of the voice path by the voice terminal A and the voice terminal B will be sequentially performed, and the sequence for performing the test is not limited in the embodiment of the present invention, and the sequence may be in the voice quality test center. It is specified in the dialing test command, or it can be randomly performed. The specific method flow of the voice terminal for voice quality assessment test can be carried out by referring to the existing PESQ method, that is, according to the objective MOS value evaluation test method.
具体地, 以语音终端 B先对语音通路进行语音质量测试为例进行说明。 为 了实现测试过程中的将原始语音和经过语音通路传送后有衰退的语音进行质 量对比, 以得到测试结果, 在进行语音质量测试之前, 在语音终端 A和语音终 端 B中均预先存储相同的测试语音流。 语音终端 B在对语音通路进行语音质量 测试时, 语音终端 A首先将预存的测试语音流通过建立的语音通路发送给语音 终端 B, 由于语音通路多少存在一定的质量衰减, 因而经语音通路传送至语音 终端 B的测试语音流的语音质量通常会有所亏损。  Specifically, the voice terminal B first performs voice quality test on the voice path as an example. In order to achieve quality comparison between the original voice and the degraded voice transmitted through the voice path during the test to obtain the test result, the same test is pre-stored in both the voice terminal A and the voice terminal B before the voice quality test is performed. Voice stream. When the voice terminal B performs the voice quality test on the voice path, the voice terminal A first sends the pre-stored test voice stream to the voice terminal B through the established voice path. Since the voice path has a certain quality attenuation, it is transmitted to the voice path. The voice quality of the voice stream of the voice terminal B is usually lost.
步骤 303, 语音终端 B将接收到的测试语音流与预存的测试语音流进行语 音质量对比;  Step 303: The voice terminal B compares the received test voice stream with the pre-stored test voice stream for voice quality;
语音终端 B经与语音终端 A间的语音通路接收到语音终端 A发送的测试语 音流后, 将接收到的该测试语音流与自身预存的测试语音流进行语音质量对 比。 由于语音终端 B预存的测试语音流与语音终端 A发送的原始测试语音流是 一致的, 因而语音终端 B进行的此次语音质量对比实质上为: 对语音终端 A发 送的原始测试语音流和经语音通路传送后的发生质量衰减的语音流进行的语 音质量对比。 该语音质量的对比过程基于 PESQ协议进行, 即在本发明实施例 中, 语音终端 B除了具备普通语音终端的语音呼叫能力之外, 还同时具备语音 质量评估测试的能力。 After receiving the test voice stream sent by the voice terminal A through the voice path between the voice terminal B and the voice terminal A, the voice terminal B performs the voice quality comparison between the received test voice stream and the pre-stored test voice stream. Than. Since the test voice stream pre-stored by the voice terminal B is consistent with the original test voice stream sent by the voice terminal A, the voice quality comparison performed by the voice terminal B is substantially: the original test voice stream and the voice transmitted by the voice terminal A Voice quality comparison of a quality-degraded voice stream after transmission of the voice path. The voice quality comparison process is performed based on the PESQ protocol. In the embodiment of the present invention, the voice terminal B has the voice call capability of the voice terminal and the voice quality assessment test capability.
具体地,语音终端 B将进行对比的两路语音流作为 PESQ算法的两个输入进 行 PESQ评估计算, 而在 PESQ评估计算的过程中, 语音终端 B将对两个输入语 音流所对应的波形图进行详细地对比,在综合分析后将得出反映该语音通路的 语音质量状况的第一语音质量等级信息。该第一语音质量等级信息中包括此次 PESQ评估计算出的、 综合反映该语音通路的语音质量状况的 MOS值。  Specifically, the voice terminal B performs the PESQ evaluation calculation as the two inputs of the PESQ algorithm, and the waveform corresponding to the two input voice streams in the process of the PESQ evaluation calculation. In a detailed comparison, the first speech quality level information reflecting the speech quality status of the speech path will be obtained after the comprehensive analysis. The first voice quality level information includes a MOS value calculated by the PESQ evaluation that comprehensively reflects the voice quality status of the voice path.
步骤 304, 语音终端 B将测试得到的第一语音质量等级信息上报给语音质 量测试中心;  Step 304: The voice terminal B reports the first voice quality level information obtained by the test to the voice quality testing center.
语音终端 B测试得到第一语音质量等级信息后, 将该第一语音质量等级信 息上报给语音质量测试中心, 以供语音质量测试中心据此进行检测分析。  After the voice terminal B test obtains the first voice quality level information, the voice quality level information is reported to the voice quality test center for the voice quality test center to perform detection and analysis.
步骤 305, 语音终端 B向语音终端 A发送预存的测试语音流;  Step 305: The voice terminal B sends the pre-stored test voice stream to the voice terminal A.
步骤 306, 语音终端 A将接收到的测试语音流与预存的测试语音流进行语 音质量对比;  Step 306, the voice terminal A compares the received test voice stream with the pre-stored test voice stream for voice quality;
步骤 307, 语音终端 A将测试得到的第一语音质量等级信息上报给语音质 量测试中心;  Step 307, the voice terminal A reports the first voice quality level information obtained by the test to the voice quality testing center;
语音终端 B对语音通路进行完语音质量评估测试后, 将通知语音终端 A对 该语音通路进行同样的语音质量评估测试。 具体地, 语音终端 B在将测试得出 的第一语音质量等级信息上报给语音质量测试中心之后, 将按照语音终端 A同 样的方法, 将预存的测试语音流通过两者间的语音通路发送给语音终端 A。 而 语音终端 A在接收到经语音通路传送的该语音流后, 同样将接收到的语音流同 自身预存的测试语音流进行语音质量对比,从而同样能够测试得出代表该语音 通路的语音质量的第一语音质量等级信息。 语音终端 A将测试出的第一语音质 量等级信息发送给语音质量测试中心, 完成了此次的语音质量测试流程。 同样 地, 语音终端 A测试出的该第一语音质量等级信息中也包括了测试分析得到 的、 综合反映了语音终端 A和语音终端 B间的语音通路的语音质量的 MOS值。 After the voice terminal B performs the voice quality evaluation test on the voice path, the voice terminal A is notified to perform the same voice quality evaluation test on the voice path. Specifically, voice terminal B will be tested After the first voice quality level information is reported to the voice quality testing center, the pre-stored test voice stream is sent to the voice terminal A through the voice path between the two in the same manner as the voice terminal A. After receiving the voice stream transmitted through the voice path, the voice terminal A also compares the received voice stream with the voice memory of the pre-stored test voice stream, so that the voice quality representing the voice path can also be tested. First voice quality level information. The voice terminal A sends the tested first voice quality level information to the voice quality testing center, and completes the voice quality testing process. Similarly, the first voice quality level information tested by the voice terminal A also includes the MOS value obtained by the test analysis and comprehensively reflecting the voice quality of the voice path between the voice terminal A and the voice terminal B.
需要说明的是, 语音终端 A和语音终端 B分别对两者间的语音通路进行语 音质量测试、 而得出的第一语音质量等级信息, 实质上均反映了两者间唯一的 语音通路的语音质量。 而在本发明实施例中,语音质量测试中心指示语音通路 的两端分别进行对语音通路的语音质量测试,而得到两个第一语音质量等级信 息的目的在于: 实质上, 语音终端 A检测得到的第一语音质量等级信息反映的 是从语音终端 B到语音终端 A的语音流传输质量,而语音终端 B检测得到的第一 语音质量等级信息反映的则是从语音终端 A到语音终端 B的语音流传输质量, 这两个语音传输质量存在一定区别。  It should be noted that the voice quality test performed by the voice terminal A and the voice terminal B respectively on the voice path between the two, and the first voice quality level information obtained substantially reflects the voice of the unique voice path between the two. quality. In the embodiment of the present invention, the voice quality testing center indicates that the two ends of the voice path respectively perform voice quality testing on the voice path, and the purpose of obtaining two first voice quality level information is: substantially, the voice terminal A detects The first voice quality level information reflects the voice stream transmission quality from the voice terminal B to the voice terminal A, and the first voice quality level information detected by the voice terminal B reflects the voice terminal A to the voice terminal B. Voice streaming quality, there is a difference between the two voice transmission qualities.
而实际应用中, 在同一次语音通话中, 即使语音终端 A发送的语音流能以 很好的传输质量被传送至语音终端 B时, 也并不代表语音终端 B发送的语音流 能以很好的传输质量被传送至语音终端 A。 因此语音终端进行两次的语音质量 测试,而语音质量测试中心根据两次的测试结果判断语音通路是否发生了质量 问题, 能够更准确更全面地检测出语音通路中可能出现的质量退化问题。  In practical applications, even in the same voice call, even if the voice stream sent by voice terminal A can be transmitted to voice terminal B with good transmission quality, it does not mean that the voice stream sent by voice terminal B can be very good. The transmission quality is transmitted to the voice terminal A. Therefore, the voice terminal performs two voice quality tests, and the voice quality test center judges whether the voice path has a quality problem based on the two test results, and can more accurately and comprehensively detect the quality degradation problem that may occur in the voice path.
步骤 308, 语音质量测试中心根据接收到的第一语音质量等级信息检测语 音通路的语音质量; Step 308, the voice quality testing center detects the language according to the received first voice quality level information. Voice quality of the audio path;
语音质量测试中心分别接收到语音终端 A和语音终端 B返回的第一语音质 量等级信息后,根据该第一语音质量等级信息能够检测得知两个语音终端间语 音通路的语音质量情况。 具体地,语音质量测试中心根据第一语音质量等级信 息中包含的 MOS值的大小, 以及根据预设的 MOS门限值, 能够检测出语音通 路的语音质量是否低于预设的语音质量标准, 即是否发生了语音质量的退化。 而当语音质量测试中心检测到任一第一语音质量等级信息反映的语音质量状 况低于预设的语音质量标准时, 代表语音终端 A和语音终端 B之间的语音通路 发生了语音质量问题, 语音质量测试中心将控制语音终端 A和语音终端 B发起 进一步的语音质量测试流程, 以求检测出发生语音质量问题的原因。  After receiving the first voice quality level information returned by the voice terminal A and the voice terminal B, the voice quality test center can detect the voice quality of the voice channel between the two voice terminals according to the first voice quality level information. Specifically, the voice quality testing center can detect, according to the size of the MOS value included in the first voice quality level information, and according to the preset MOS threshold, whether the voice quality of the voice path is lower than a preset voice quality standard. That is, whether the degradation of voice quality has occurred. When the voice quality test center detects that the voice quality status reflected by any of the first voice quality level information is lower than the preset voice quality standard, a voice quality problem occurs on the voice path between the voice terminal A and the voice terminal B. The quality testing center will control voice terminal A and voice terminal B to initiate a further voice quality testing process to detect the cause of the voice quality problem.
步骤 309, 若检测到任一第一语音质量等级信息低于预设语音质量标准, 语音质量测试中心向核心网网元发送分别与语音终端 A和语音终端 B对应的环 回规则标识;  Step 309: If it is detected that any of the first voice quality level information is lower than the preset voice quality standard, the voice quality test center sends a loopback rule identifier corresponding to the voice terminal A and the voice terminal B to the core network element.
而当语音质量测试中心检测到任一第一语音质量等级信息所代表的语音 质量低于预设的语音质量标准时, 代表语音终端 A和语音终端 B之间的语音通 路出现了语音质量问题, 因而该语音质量测试中心将分别指示语音终端 A和语 音终端 B各自发起对自身与核心网网元之间的环回通路进行语音质量评估测 试的流程。 该环回通路指语音流从语音终端发送至核心网网元后, 又从核心网 网元返回至语音终端的自环通路。 而核心网网元通常可以为核心网的 MGW设 备或 MSC设备。  When the voice quality test center detects that the voice quality represented by any of the first voice quality level information is lower than the preset voice quality standard, the voice path between the voice terminal A and the voice terminal B has a voice quality problem. The voice quality testing center will respectively instruct the voice terminal A and the voice terminal B to initiate a voice quality assessment test for the loopback path between the core terminal A and the core network element. The loopback path refers to the loopback path after the voice stream is sent from the voice terminal to the core network element and back from the core network element to the voice terminal. The core network element can usually be the MGW device or MSC device of the core network.
具体地,为了在语音终端对各自对应的环回通路进行语音质量测试的过程 中,核心网网元在接收到语音终端发送的语音流时, 能够以指定的环回规则对 该语音流进行环回处理, 再返回给语音终端,从而使语音终端对与核心网网元 间的不同的环回路径进行语音质量测试, 语音质量测试中心在指示语音终端 A 和语音终端 B进行对各自对应的环回通路的语音质量测试之前, 还将向核心网 网元发送预先配置的、 分别与语音终端 A和语音终端 B对应的环回规则标识, 该环回规则标识用于指示核心网网元按照指定的环回规则对语音终端发送的 测试语音流进行环回处理。 Specifically, in the process of performing voice quality testing on the corresponding loopback path of the voice terminal, the core network element can receive the specified loopback rule when receiving the voice stream sent by the voice terminal. The voice stream is looped back and then returned to the voice terminal, so that the voice terminal performs voice quality test on different loopback paths with the core network element, and the voice quality test center performs voice terminal A and voice terminal B. Before the voice quality test of the corresponding loopback path, the loopback rule identifier corresponding to the voice terminal A and the voice terminal B respectively is sent to the core network element, and the loopback rule identifier is used to indicate the core. The network element performs loopback processing on the test voice stream sent by the voice terminal according to the specified loopback rule.
具体地,由于核心网网元对接收到的语音流进行的环回处理通常包括两种 方式: 第一种为核心网网元从第一端口接收到语音终端发送的语音流后, 不经 过自身内部的端口间传送,而直接在该第一端口将接收到的语音流返回给语音 终端,对于这种环回处理方法而言,环回通路所涉及的节点仅包括语音终端自 身, 而与核心网网元的传输质量无关; 而第二种环回处理方式则为核心网网元 从第一端口接收到语音终端发送的语音流后,将该语音流从第一端口内环回到 第二端口, 再从第二端口返回给语音终端, 对于这种环回处理方式而言, 环回 通路的语音质量所涉及的节点不仅包括语音终端, 而包括核心网网元自身。  Specifically, the loopback processing performed by the core network element on the received voice stream generally includes two modes: The first type is that after the core network element receives the voice stream sent by the voice terminal from the first port, it does not go through itself. The internal port is transmitted, and the received voice stream is directly returned to the voice terminal at the first port. For the loopback processing method, the node involved in the loopback path only includes the voice terminal itself, and the core The transmission quality of the network element is irrelevant; the second loopback processing method is that after the core network element receives the voice stream sent by the voice terminal from the first port, the voice stream is returned from the first port to the second ring. The port is then returned to the voice terminal from the second port. For the loopback processing mode, the voice quality involved in the loopback path includes not only the voice terminal but also the core network element itself.
因而优选地, 为了最大限度地、 更准确地检测出语音通路产生质量问题的 原因、 引起语音质量问题的故障节点,语音质量测试中心为核心网网元配置的 环回规则中通常会包括上述两种规则。 具体地, 在本发明实施例中, 将上述第 一种环回处理方式对应的环回规则称为第一环回规则,而将上述与第二种环回 处理方式所对应的环回规则称为第二环回规则。  Therefore, in order to detect the quality problem of the voice path and the faulty node that causes the voice quality problem to the maximum extent and more accurately, the loopback rule configured by the voice quality test center for the core network element usually includes the above two Kind of rules. Specifically, in the embodiment of the present invention, the loopback rule corresponding to the first loopback processing mode is referred to as a first loopback rule, and the loopback rule corresponding to the second loopback processing manner is called For the second loopback rule.
语音质量测试中心向核心网网元发送与上述两种环回规则分别对应的标 准的环回规则标识后,由于核心网网元中通常设置有包含与各种可实现的环回 处理方式相对应的标准环回规则标识的环回检测表,因而核心网网元才艮据自身 设置的环回检测表,能够识别出语音质量测试中心发送的各环回规则标识所代 表的含义,从而后续对环回通路的语音质量测试过程中,核心网网元在接收到 语音终端发送的测试语音流时, 也能够按照所识别出的环回规则,对语音流进 行相应的环回处理。 After the voice quality test center sends the standard loopback rule identifier corresponding to the two loopback rules to the core network element, the core network element usually has a corresponding loopback processing method. The loopback detection table identified by the standard loopback rule, so the core network element is based on itself The loopback detection table is configured to identify the meaning of each loopback rule identifier sent by the voice quality test center, so that the core network element is sent by the voice terminal during the subsequent voice quality test of the loopback path. When the voice stream is tested, the voice loop can also be subjected to corresponding loopback processing according to the identified loopback rule.
而对于本步骤还需要说明的是, 由于在进行语音质量测试的过程中, 为了 使语音流接收端得知接收的语音流的结束,通常会在测试语音流的末端设置结 束标志位, 该结束标志位标识这段语音流的结束, 而当接收端识别到该结束标 志位时,将得知发送端发送的语音流已经接收完毕。 因而若语音通路发生堵塞 或者出现其他异常现象而导致接收端在预定的时间内一直未能收到语音流的 结束标志位时, 则代表该段语音通路存在了质量问题。 因此, 在本实施例中, 若在语音终端 A向语音终端 B发送了测试语音流之后,语音终端 B在预设的时间 内还未接收到该段语音流的结束标志位时, 语音终端 B可以直接告知语音质量 测试中心语音通路出现了故障,而语音质量测试中心此时也无需等待语音终端 返回的第一语音质量等级信息, 以及对第一语音质量等级信息进行检测, 而是 可以直接进行本步骤的故障定位流程, 直接指示发起语音终端 A和语音终端 B 对环回通路的质量检测。  For this step, it should be noted that, in the process of performing the voice quality test, in order to enable the voice stream receiving end to know the end of the received voice stream, an end flag is usually set at the end of the test voice stream, and the end is ended. The flag bit identifies the end of the voice stream, and when the receiving end recognizes the end flag bit, it will know that the voice stream sent by the sender has been received. Therefore, if the voice path is blocked or other abnormal phenomena cause the receiving end to fail to receive the end flag of the voice stream for a predetermined period of time, there is a quality problem on the voice path. Therefore, in this embodiment, after the voice terminal A has sent the test voice stream to the voice terminal B, and the voice terminal B has not received the end flag bit of the voice stream in the preset time, the voice terminal B The voice quality test center can directly inform the voice path of the fault, and the voice quality test center does not need to wait for the first voice quality level information returned by the voice terminal, and the first voice quality level information is detected, but can be directly performed. The fault location process in this step directly instructs the voice terminal A and the voice terminal B to detect the quality of the loopback path.
步骤 310, 语音质量测试中心向语音终端 A发送指示信息, 该指示信息用 于指示语音终端 A进行环回通路的语音质量评估测试;  Step 310: The voice quality testing center sends the indication information to the voice terminal A, where the indication information is used to indicate that the voice terminal A performs the voice quality assessment test of the loopback path.
在向核心网网元发送了与各语音终端对应的环回规则标识后,语音质量测 试中心指示语音终端发起对各自对应的环回通路的语音质量测试流程。 具体 地,与上述语音质量测试中心控制语音终端发起对语音通路的语音质量测试过 程一样, 在本步骤中, 语音质量测试中心指示语音终端 A和语音终端 B进行测 试的先后顺序可以随机进行,在本发明实施例中并不对此进行具体限定。 而在 本实施例中, 以语音质量测试中心先指示语音终端 A进行环回通路语音质量测 试为例, 对环回通路的语音质量测试过程进行说明。 为了指示语音终端 A开始 启动对环回通路的语音质量测试操作, 语音质量测试中心向语音终端 A发送指 示信息, 以指示语音终端 A对自身与核心网网元间的环回通路进行语音质量评 估测试。 After the loopback rule identifier corresponding to each voice terminal is sent to the core network element, the voice quality test center instructs the voice terminal to initiate a voice quality test procedure for the corresponding loopback path. Specifically, the voice quality test center instructs the voice terminal to perform the voice quality test process on the voice path, and the voice quality test center instructs the voice terminal A and the voice terminal B to perform the measurement. The order of the trials may be performed at random, and is not specifically limited in the embodiment of the present invention. In this embodiment, the voice quality test center first instructs the voice terminal A to perform the loopback path voice quality test as an example, and describes the voice quality test process of the loopback path. In order to instruct the voice terminal A to start the voice quality test operation on the loopback path, the voice quality test center sends the indication information to the voice terminal A to instruct the voice terminal A to perform voice quality assessment on the loopback path between itself and the core network element. test.
步骤 311, 语音终端 A将预存的测试语音流发送给核心网网元;  Step 311: The voice terminal A sends the pre-stored test voice stream to the core network element.
步骤 312, 核心网网元按照与环回规则标识对应的环回规则, 将接收到的 测试语音流进行相应的环回处理;  Step 312: The core network element performs the loopback processing on the received test voice stream according to the loopback rule corresponding to the loopback rule identifier.
步骤 313, 核心网网元将环回处理后的测试语音流返回给语音终端 A; 测试语音流与上述语音终端 A对与语音终端 B间的语音通路进行语音质量 检测的方法类似, 在语音终端 A接收到语音测试中心发送的指示信息后, 语音 终端 A对自身与核心网网元间的环回通路的语音质量评估检测过程同样基于 PESQ协议进行。 具体地, 在语音终端 A对环回通路进行语音质量测试时, 语 音终端 A将预存的测试语音流发送给核心网网元, 核心网网元接收到该测试语 音流后, 根据之前接收到的与语音终端 A对应的环回规则标识, 将该测试语音 流按照与各环回规则标识对应的环回规则进行环回处理。  Step 313: The core network element returns the loopback processed test voice stream to the voice terminal A. The test voice stream is similar to the voice terminal A in performing voice quality detection on the voice path between the voice terminal B and the voice terminal. After receiving the indication information sent by the voice test center, the voice quality assessment and detection process of the loopback path between the voice terminal A and the core network element is also based on the PESQ protocol. Specifically, when the voice terminal A performs the voice quality test on the loopback path, the voice terminal A sends the pre-stored test voice stream to the core network element, and after receiving the test voice stream, the core network element receives the test voice stream according to the previously received The loopback rule identifier corresponding to the voice terminal A is looped back according to the loopback rule corresponding to each loopback rule identifier.
由于语音质量测试中心发送的环回规则标识中至少包含指示核心网网元 将接收到的语音流从原接收端口返回的第一环回规则对应的标识,以及将接收 到的语音流环回至另一端口后,再从该另一端口返回的第二环回规则对应的标 识, 因而才艮据这两种环回规则标识, 核心网网元对应地将从语音终端 A接收到 的测试语音流在内部进行这两种环回处理,并依次将环回处理后的语音流返回 给语音终端 A。同时为了告知语音终端 A每次返回的语音流所对应的环回处理, 核心网网元还在返回给语音终端 A的语音流中携带对应的环回规则标识。 The loopback rule identifier sent by the voice quality test center includes at least an identifier corresponding to the first loopback rule that the voice network stream received by the core network element returns from the original receiving port, and the received voice stream is looped back to After the other port, the second loopback rule returned from the other port corresponds to the identifier, and accordingly, according to the two loopback rule identifiers, the core network element correspondingly receives the test voice from the voice terminal A. The flow performs these two loopback processes internally, and returns the looped voice stream in turn. Give voice terminal A. At the same time, in order to inform the voice terminal A of the loopback processing corresponding to the voice stream returned by the voice terminal A, the core network element carries the corresponding loopback rule identifier in the voice stream returned to the voice terminal A.
步骤 314, 语音终端 A将接收到的测试语音流与预存的测试语音流进行质 量对比;  Step 314: The voice terminal A compares the received test voice stream with the pre-stored test voice stream.
步骤 315, 语音终端 A将测试得到的第二语音质量等级信息上报给语音质 量测试中心;  Step 315, the voice terminal A reports the second voice quality level information obtained by the test to the voice quality testing center;
语音终端 A接收到携带环回规则标识的语音流后, 将接收到的语音流与预 存的测试语音流进行质量对比, 该质量对比过程基于 PESQ协议进行, 从而得 出与各环回规则、 即环回路径对应的语音质量等级信息, 该语音质量等级信息 反映了对应不同的环回处理、 不同环回路径的语音质量状况。  After receiving the voice stream carrying the loopback rule identifier, the voice terminal A compares the received voice stream with the pre-stored test voice stream, and the quality comparison process is performed based on the PESQ protocol, thereby obtaining a loopback rule, ie, The voice quality level information corresponding to the loopback path, and the voice quality level information reflects the voice quality status corresponding to different loopback processing and different loopback paths.
语音终端 A将测试出的各语音质量等级信息与对应的环回规则标识一起, 作为第二语音质量等级信息上报给语音质量测试中心,该第二语音质量等级信 息代表了语音终端 A与核心网网元之间的环回通路的语音质量状态, 以供语音 质量测试中心据此对语音终端 A对应的环回通路的语音质量进行检测分析, 从 而能够得知语音终端 A和语音终端 B之间语音质量较低的原因。 具体地, 第二 语音质量等级信息中至少包括了分别与上述两种环回规则分别对应的两个 MOS值信息。  The voice terminal A reports the voice quality level information together with the corresponding loopback rule identifier, and reports the second voice quality level information to the voice quality testing center, where the second voice quality level information represents the voice terminal A and the core network. The voice quality status of the loopback path between the network elements, so that the voice quality test center can detect and analyze the voice quality of the loopback path corresponding to the voice terminal A, so that the voice terminal A and the voice terminal B can be known. The reason for the low voice quality. Specifically, the second voice quality level information includes at least two MOS value information respectively corresponding to the two loopback rules.
步骤 316, 语音质量测试中心向语音终端 B发送指示信息, 该指示信息用 于指示语音终端 B进行环回通路的语音质量评估测试;  Step 316: The voice quality testing center sends the indication information to the voice terminal B, where the indication information is used to indicate that the voice terminal B performs the voice quality assessment test of the loopback path.
在语音终端 A对自身与核心网网元之间的环回通路进行了语音质量检测 后, 语音质量测试中心可以指示语音终端 B对自身与核心网网元之间的环回通 路进行同样的语音质量评估测试。 步骤 317, 语音终端 B向核心网网元发送预存的测试语音流; After the voice terminal A performs voice quality detection on the loopback path between itself and the core network element, the voice quality test center can instruct the voice terminal B to perform the same voice on the loopback path between itself and the core network element. Quality assessment test. Step 317: The voice terminal B sends the pre-stored test voice stream to the core network element.
步骤 318, 核心网网元按照与环回规则标识对应的环回规则, 将接收到的 测试语音流进行相应的环回处理;  Step 318: The core network element performs the loopback processing on the received test voice stream according to the loopback rule corresponding to the loopback rule identifier.
步骤 319, 核心网网元将环回处理后的测试语音流返回给语音终端 B; 步骤 320, 语音终端 B将接收到的测试语音流与预存的测试语音流进行质 量对比;  Step 319: The core network element returns the looped test voice stream to the voice terminal B. Step 320: The voice terminal B compares the received test voice stream with the pre-stored test voice stream.
步骤 321, 语音终端 B将测试出的第二语音质量等级信息上报给语音质量 测试中心;  Step 321, the voice terminal B reports the tested second voice quality level information to the voice quality testing center;
而语音终端 B对环回通路进行语音质量评估测试的方法与语音终端 A的测 试方法相同, 均是通过向核心网网元发送预存的测试语音流, 以使核心网网元 按照与环回规则标识对应的环回规则, 将接收到的语音流进行对应的环回处 理, 并将环回处理后的语音流与对应的环回规则标识一起返回给语音终端 B而 实现。 而语音终端 B将经由环回通路返回的语音流与传送前原始的测试语音流 进行质量对比后, 将得到与各环回规则分别对应的语音质量等级信息。语音终 端 B将各语音质量等级信息与对应的环回规则标识一起, 作为第二语音质量等 级信息上报给语音质量测试中心, 以供语音质量测试中心进行检测分析。  The voice terminal B performs the voice quality assessment test on the loopback path in the same manner as the voice terminal A test method, and sends the pre-stored test voice stream to the core network element to make the core network element follow the loopback rule. The corresponding loopback rule is identified, and the received voice stream is subjected to corresponding loopback processing, and the loopback processed voice stream is returned to the voice terminal B together with the corresponding loopback rule identifier. The voice terminal B compares the voice stream returned via the loopback path with the original test voice stream before transmission, and obtains voice quality level information corresponding to each loopback rule. The voice terminal B reports the voice quality level information together with the corresponding loopback rule identifier as the second voice quality level information to the voice quality test center for the voice quality test center to perform detection and analysis.
步骤 322, 语音质量测试中心根据接收到的第二语音质量等级信息, 检测 引起语音通路的语音质量低于语音质量标准的故障节点。  Step 322: The voice quality testing center detects, according to the received second voice quality level information, a fault node that causes the voice quality of the voice path to be lower than the voice quality standard.
由于通过分别指示语音终端 A和语音终端 B分别进行对自身与核心网网元 之间的环回通路的语音质量评估测试,两个语音终端分别返回的第二语音质量 等级信息能够反映出: 这两个语音终端在单独承载与核心网之间的语音通路 时,其语音业务是否也会发生质量问题。优选地,通过对不同环回规则的设定, 该第二语音质量等级信息还能够反映出语音终端间的语音通路发生的语音质 量问题是否与核心网网元自身有关,即并非是语音终端引起了语音通路的质量 问题, 而是核心网网元的传输性能出现了问题。 The voice quality assessment test of the loopback path between the voice terminal A and the voice network terminal B is respectively performed by the voice terminal A and the voice terminal B, respectively, and the second voice quality level information returned by the two voice terminals respectively reflects: When two voice terminals separately carry the voice path between the core network and the voice network, whether the voice service also has quality problems. Preferably, by setting different loopback rules, The second voice quality level information can also reflect whether the voice quality problem occurring in the voice path between the voice terminals is related to the core network element itself, that is, the voice terminal does not cause the quality problem of the voice path, but the core network element. There is a problem with the transmission performance.
例如若对于任一语音终端而言, 语音终端返回的第二语音质量等级信息 中,与核心网网元将接收到的语音流从原接收端口返回的环回规则对应的语音 质量等级信息并未低于语音质量标准,而与核心网网元将接收到的语音流在内 部端口自环后、再返回给语音终端的环回规则对应的语音质量等级信息却低于 了语音质量标准, 这代表对于该语音终端而言, 至少该语音终端自身并未出现 故障问题, 而是核心网网元自身出现了故障问题。  For example, if for any voice terminal, the voice quality level information corresponding to the loopback rule returned by the core network element from the original receiving port is not in the second voice quality level information returned by the voice terminal. Below the voice quality standard, the voice quality level information corresponding to the loopback rule that the core network element receives the voice stream after the internal port is self-looped and then returned to the voice terminal is lower than the voice quality standard, which represents For the voice terminal, at least the voice terminal itself does not have a problem of failure, but the core network element itself has a problem of failure.
因而才艮据语音终端 A和语音终端 B分别返回的语音质量测试结果, 语音质 量测试中心能够具体检测出两个语音终端间的语音通路发生语音质量退化的 原因, 以及引起语音质量发生退化的故障节点和路径。 具体地, 若任一第二语 音质量等级信息中与第一环回规则对应的语音质量等级信息低于了语音质量 标准时,语音质量测试中心确定发送该第二语音质量等级信息的语音终端为引 起语音质量问题的故障节点,而若任一第二语音质量等级信息中与第一环回规 则对应的语音质量等级信息未低于语音质量标准,但与第二环回规则对应的语 音质量等级信息却低于语音质量标准时,语音质量测试中心确定核心网网元为 弓 )起语音质量问题的故障节点。  Therefore, according to the voice quality test results returned by the voice terminal A and the voice terminal B respectively, the voice quality test center can specifically detect the cause of the voice quality degradation of the voice path between the two voice terminals, and the fault that causes the voice quality to degenerate. Node and path. Specifically, if the voice quality level information corresponding to the first loopback rule in any second voice quality level information is lower than the voice quality standard, the voice quality testing center determines that the voice terminal that sends the second voice quality level information is caused a faulty node of the voice quality problem, and if the voice quality level information corresponding to the first loopback rule in any second voice quality level information is not lower than the voice quality standard, but the voice quality level information corresponding to the second loopback rule However, when the voice quality standard is lower than the voice quality standard, the voice quality test center determines that the core network element is a fault node that has a voice quality problem.
从而语音质量测试中心根据检测分析,能够得知该语音通路是存在单节点 单通路问题, 或者是存在双节点双通路问题等。 在此基础上, 语音质量测试中 心可以根据检测的结果,有针对性的对引起语音质量退化的节点或路径进行优 化改善处理操作, 或者向服务器上报告警或者报告供电信网络运维人员参考, 以进一步提高语音终端的语音质量。 Therefore, according to the detection and analysis, the voice quality testing center can know that the voice path has a single-node single-path problem, or there is a two-node dual-path problem. On this basis, the voice quality test center can optimize and improve the processing operation on the node or path that causes the voice quality degradation according to the detection result, or report the alarm or report the power supply network operation and maintenance personnel to the server. To further improve the voice quality of the voice terminal.
需要说明的是, 本发明实施例中,语音质量测试中心除了设置为通信网络 中一个独立的设备外,还可以内嵌在核心网网元中, 而当语音质量测试中心设 置在核心网网元中时, 上述步骤 309具体为携带语音质量测试功能的核心网网 元在自身配置分别对应于语音终端 A和语音终端 B环回规则标识, 其他的步骤 均与上述实施例一致。 而将语音质量测试中心设置核心网网元益处在于: 减少 电信网络节点以及带来的维护工作量, 节省 IP地址的使用和 IP报文的转发量 等, 但需要对现有的电信网络设备进行的改造等。  It should be noted that, in the embodiment of the present invention, the voice quality testing center may be embedded in the core network element in addition to an independent device in the communication network, and the voice quality testing center is set in the core network element. In the above step, the core network element carrying the voice quality test function is configured to correspond to the voice terminal A and the voice terminal B loopback rule identifier respectively, and the other steps are consistent with the foregoing embodiments. The benefits of setting up the core network element of the voice quality test center are as follows: reducing the number of telecommunication network nodes and the maintenance workload, saving the use of IP addresses and forwarding of IP packets, but it is necessary to carry out the existing telecommunication network equipment. The transformation and so on.
另外还需要说明的是, 由于对于 PESQ语音质量测试方法而言, 测试设备 (在本发明实施例中为语音终端)对语音质量的测试, 无非是通过将原始语音 流与经传输处理后有衰减的语音流的波形图进行质量对比,根据对比各种性能 指标, 例如有无串话、 增益的变化幅度、 是否存在杂音以及是否存在回声、 回 声的尾长等, 而最终综合得出一个反映综合语音质量状况的 MOS值, 即语音 质量等级信息。 因而优选地, 在本发明实施例中, 在语音终端对各自对应的环 回通路进行语音质量测试后, 将测试出的 MOS值反馈给语音质量测试中心的 同时,还可以在第二语音等级信息中将测试出的各种性能指标测试结果同时反 馈给语音质量测试中心。而语音质量测试中心根据语音终端反馈回的各种性能 指标测试结果,能够更加准确地分析出语音终端间语音通路发生语音质量问题 的具体原因, 以便于之后的优化改善操作。  In addition, it should be noted that, for the PESQ voice quality testing method, the testing of the voice quality by the testing device (in the embodiment of the present invention) is nothing more than attenuation of the original voice stream after the transmission process. The waveform of the voice stream is compared according to various performance indicators, such as whether there is crosstalk, the magnitude of the gain change, whether there is noise, whether there is echo, the tail length of the echo, etc., and finally a comprehensive reflection is obtained. The MOS value of the voice quality condition, that is, the voice quality level information. Therefore, in the embodiment of the present invention, after the voice terminal performs voice quality test on the corresponding loopback path, the tested MOS value is fed back to the voice quality testing center, and the second voice level information is also available. The test results of various performance indicators tested by Lieutenant General are simultaneously fed back to the voice quality testing center. The voice quality test center can more accurately analyze the specific causes of voice quality problems in the voice path between voice terminals based on the test results of various performance indicators fed back by the voice terminal, so as to facilitate optimization and improvement operations.
其次还需要说明的是,在本发明实施例中, 考虑到语音业务质量需要尽可 能的获取到更多的信息, 可以尽可能地将语音终端部署在每个基站小区,或者 电信运营商所关注的热点区域。例如可以将测试用的语音终端安置在基站控制 器( Base Station Controller,简称 BSC )/无线网络控制( Radio Network Controller, 简称 RNC )的机房; 或者安置在热点区域, 如比赛场馆、 商业中心; 还可以安 置在移动的载体上, 如巴士、 出租车等。 It should be further noted that, in the embodiment of the present invention, in consideration of the quality of the voice service, it is required to obtain more information as much as possible, and the voice terminal can be deployed in each base station cell as much as possible, or the attention of the telecommunication operator. Hotspot area. For example, the voice terminal for testing can be placed at the base station control. Base Station Controller (BSC) / Radio Network Controller (RNC) room; or placed in hotspots, such as competition venues, commercial centers; can also be placed on mobile carriers, such as buses, rental Car and so on.
同时,考虑到语音质量测试中心需要和电信系统的核心网网元进行通信交 互, 可以尽可能地将该语音质量测试中心部署在和核心网网元同一个网络中, 并且核心网网元需要开放相关接口,以供语音质量测试中心可以访问核心网网 元, 并进行相关控制操作。  At the same time, considering that the voice quality test center needs to communicate with the core network element of the telecommunication system, the voice quality test center can be deployed in the same network as the core network element, and the core network element needs to be opened. The related interface is provided for the voice quality test center to access the core network element and perform related control operations.
其次, 由于语音终端和语音质量测试中心之间需要交互拨测指令、语音质 量等级信息等信息,且由于语音终端具备普通语音终端的语音呼叫功能, 因而 还可以尽可能在语音质量测试中心上开放类似短信中心、通用分组无线服务技 术 (General Packet Radio Service , 简称 GPRS ) 或非结构化补充数据业务 ( Unstructured Supplementary Service Data, 简称 USSD )服务中心的功能, 以 供语音终端和语音质量测试中心之间实现消息交互。  Secondly, since the voice terminal and the voice quality test center need information such as interactive dialing command and voice quality level information, and since the voice terminal has the voice call function of the ordinary voice terminal, it can also be opened as much as possible in the voice quality test center. Similar to the function of SMS Center, General Packet Radio Service (GPRS) or Unstructured Supplementary Service Data (USSD) service center for voice terminal and voice quality test center Implement message interaction.
本实施例的语音质量的测试方法, 通过在接收到建立了呼叫连接的语音终 端分别对连接的语音通路进行语音质量评估测试后、返回的第一语音质量等级 信息,对该第一语音质量等级信息进行检测,且在检测到接收到的任一第一语 音质量等级信息低于预设的语音质量标准时,指示建立呼叫连接的语音终端对 各自与核心网网元间的环回通路进行进一步的语音质量评估测试,并返回各自 测试出的第二语音质量等级信息,从而根据各语音终端返回的第二语音质量等 级信息, 能够得知引起语音通路发生质量问题的具体节点或路径, 进而针对发 生质量问题的节点或路径, 可以对语音通路进行进一步的优化改善,提高了语 音终端的语音质量。 进一步地, 本实施例中通过由语音质量测试中心才艮据预先配置控制语音终 端间建立呼叫连接并发起语音质量测试的流程,基于语音质量测试中心的控制, 还能实现对语音通信系统的自动化、 大规模化的语音业务质量测试功能。 The voice quality testing method of the embodiment, the first voice quality level information returned by the voice terminal that has established the call connection after performing the voice quality assessment test on the connected voice path, and the first voice quality level information is returned. The information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element. The voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific node or path that causes the quality problem of the voice path can be known, and then The node or path of the quality problem can further optimize the voice path and improve the voice quality of the voice terminal. Further, in the embodiment, the voice quality testing center can automatically control the voice communication system by controlling the voice quality testing center based on the pre-configured process of establishing a call connection between the voice terminals and initiating a voice quality test. Large-scale voice service quality testing function.
更进一步地, 本实施例中还通过在语音质量测试中心检测到语音终端的通 路发生质量退化问题时, 通过向核心网网元配置发送标准的环回规则标识, 以 指示核心网网元对接收到的语音流进行相应的环回处理, 从而使得语音终端反 馈的第二语音质量等级信息中还能够反映出语音通路发生的语音质量问题是 否与核心网网元自身有关,从而能够更准确地检测出引起语音通路的语音质量 发生问题的故障节点。  Further, in this embodiment, when the quality degradation problem of the voice terminal is detected in the voice quality testing center, the standard loopback rule identifier is sent to the core network element to indicate that the core network element receives the network. The obtained voice stream is subjected to corresponding loopback processing, so that the second voice quality level information fed back by the voice terminal can also reflect whether the voice quality problem occurring in the voice path is related to the core network element itself, thereby enabling more accurate detection. A faulty node that causes problems with the voice quality of the voice path.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可 以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存 储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储 介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
图 4为本发明实施例提供的一种语音质量测试中心的结构示意图, 如图 4 所示,本实施例的语音质量测试中心包括:第一接收模块 11、测试指示模块 12、 第二接收模块 13和确定模块 14。  4 is a schematic structural diagram of a voice quality testing center according to an embodiment of the present invention. As shown in FIG. 4, the voice quality testing center of the embodiment includes: a first receiving module 11, a test indicating module 12, and a second receiving module. 13 and determination module 14.
其中,第一接收模块 11用于接收建立呼叫连接的语音终端在各自对承载该 呼叫连接的语音通路进行语音质量评估测试后、分别返回的第一语音质量等级 信息;  The first receiving module 11 is configured to receive the first voice quality level information returned by the voice terminal that establishes the call connection after performing voice quality assessment tests on the voice path that carries the call connection.
测试指示模块 12用于当检测到第一接收模块 11接收到的任一第一语音质 量等级信息低于预设的语音质量标准时,指示语音终端分别对自身与核心网网 元间的环回通路进行语音质量评估测试; 第二接收模块 13用于接收语音终端在各自对自身与核心网网元的环回通 路进行语音质量评估测试后、 分别返回的第二语音质量等级信息; The test indication module 12 is configured to: when detecting that any of the first voice quality level information received by the first receiving module 11 is lower than a preset voice quality standard, instructing the voice terminal to respectively perform a loopback path between itself and the core network element Conduct a voice quality assessment test; The second receiving module 13 is configured to receive second voice quality level information that the voice terminal returns after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively.
而确定模块 14则用于根据第二接收模块 13接收到的第二语音质量等级信 息, 确定引起语音通路的语音质量低于预设的语音质量标准的故障节点。  The determining module 14 is configured to determine, according to the second voice quality level information received by the second receiving module 13, a faulty node that causes the voice quality of the voice path to be lower than a preset voice quality standard.
具体地, 在本实施例中, 语音质量测试中心所涉及的所有功能模块、 以及 其所涉及的具体工作过程,可以参考上述语音质量的测试方法所涉及的实施例 揭露的相关内容, 在此不再赘述。  Specifically, in this embodiment, all the functional modules involved in the voice quality testing center and the specific working processes involved therein may refer to the related content disclosed in the embodiments related to the voice quality testing method, and Let me repeat.
本实施例的语音质量测试中心,通过在接收到建立了呼叫连接的语音终端 分别对连接的语音通路进行语音质量评估测试后、返回的第一语音质量等级信 息,对该第一语音质量等级信息进行检测,且在检测到接收到的任一第一语音 质量等级信息低于预设的语音质量标准时,指示建立呼叫连接的语音终端对各 自与核心网网元间的环回通路进行进一步的语音质量评估测试,并返回各自测 试出的第二语音质量等级信息,从而根据各语音终端返回的第二语音质量等级 信息, 能够得知引起语音通路发生质量问题的具体节点或路径, 进而针对发生 质量问题的节点或路径, 可以对语音通路进行进一步的优化改善,提高了语音 终端的语音质量。  The voice quality testing center of the embodiment, after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, the first voice quality level information Performing detection, and when detecting that any of the received first voice quality level information is lower than a preset voice quality standard, indicating that the voice terminal establishing the call connection performs further voice on the loopback path between the core network element and the core network element respectively Quality assessment test, and returning the second voice quality level information tested by each, so that according to the second voice quality level information returned by each voice terminal, the specific node or path causing the quality problem of the voice path can be known, and then the quality is generated. The problem node or path can further optimize the voice path and improve the voice quality of the voice terminal.
图 5为本发明实施例提供的另一种语音质量测试中心的结构示意图,如图 5 所示,在上一实施例的技术方案的基础上, 本实施例的语音质量测试中心中还 包括标识发送模块 15。该标识发送模块 15用于在测试指示模块 12指示语音终端 分别对自身与核心网网元间的环回通路进行语音质量评估测试之前,向核心网 网元发送分别与语音终端对应的环回规则标识,该环回规则标识用于指示核心 网网元在接收到语音终端发送的测试语音流时,按照与环回规则标识对应的环 回规则, 对测试语音流进行对应的环回处理, 并返回给语音终端。 其中,标识发送模块 15发送的该环回规则标识至少包括用于指示核心网网 元将接收到的测试语音流从原接收端口返回给语音终端的第一环回规则标识, 以及用于指示核心网网元将接收到的测试语音流从原接收端口环回至另一端 口后, 从另一端口返回给语音终端的第二环回规则标识。 FIG. 5 is a schematic structural diagram of another voice quality testing center according to an embodiment of the present invention. As shown in FIG. 5, based on the technical solution of the previous embodiment, the voice quality testing center of the embodiment further includes an identifier. Send module 15. The identifier sending module 15 is configured to send a loopback rule corresponding to the voice terminal to the core network element before the test indicating module 12 instructs the voice terminal to perform a voice quality assessment test on the loopback path between itself and the core network element. The ringback rule identifier is used to indicate that the core network element receives the test voice stream sent by the voice terminal according to the ring corresponding to the loopback rule identifier. The return rule performs corresponding loopback processing on the test voice stream and returns to the voice terminal. The loopback rule identifier sent by the identifier sending module 15 includes at least a first loopback rule identifier for instructing the core network element to return the received test voice stream from the original receiving port to the voice terminal, and is used to indicate the core. After the network NE returns the received test voice stream from the original receiving port to another port, the network loop returns the second loopback rule identifier from the other port to the voice terminal.
相应地, 本实施例中, 确定模块 14具体用于对下述两种情况进行检测: 若确定模块 14检测到接收到的任一第二语音质量等级信息中与第一环回 规则标识对应的语音质量等级信息低于预设的语音质量标准时,则确定发送该 第二语音质量等级信息的语音终端为引起语音通路的语音质量低于预设的语 音质量标准的故障节点;  Correspondingly, in this embodiment, the determining module 14 is specifically configured to detect the following two situations: if the determining module 14 detects any of the received second voice quality level information corresponding to the first loopback rule identifier When the voice quality level information is lower than the preset voice quality standard, determining that the voice terminal that sends the second voice quality level information is a fault node that causes the voice quality of the voice path to be lower than a preset voice quality standard;
而若确定模块 14检测到接收到的任一第二语音质量等级信息中与第一环 回规则标识对应的语音质量等级信息未低于预设的语音质量标准,但与第二环 回规则标识对应的语音质量等级信息却低于预设的语音质量标准时,则确定核 心网网元为引起语音通路的语音质量低于预设的语音质量标准的故障节点。  If the determining module 14 detects that the voice quality level information corresponding to the first loopback rule identifier in any of the received second voice quality level information is not lower than the preset voice quality standard, but the second loopback rule identifier is When the corresponding voice quality level information is lower than the preset voice quality standard, the core network element is determined to be a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
更进一步地, 本实施例中,语音质量测试中心还可以包括拨测指令发送模 块 16。该拨测指令发送模块 16用于在第一接收模块 11接收第一语音质量等级信 息之前,向任一语音终端发送拨测指令,该拨测指令中携带呼叫对端标识信息, 该拨测指令用于指示接收到拨测指令的语音终端向与呼叫对端标识信息对应 的语音终端发起呼叫连接, 并在建立呼叫连接后,对承载呼叫连接的语音通路 进行语音质量评估测试。  Further, in this embodiment, the voice quality testing center may further include a dialing instruction sending module 16. The dialing command sending module 16 is configured to send a dialing test command to any voice terminal before the first receiving module 11 receives the first voice quality level information, where the dialing command carries the call peer identification information, and the dialing command The voice terminal for instructing to receive the dialing command initiates a call connection to the voice terminal corresponding to the call peer identification information, and after establishing the call connection, performs voice quality assessment test on the voice path carrying the call connection.
其中, 本实施例的语音质量测试中心所涉及的所有功能模块、 以及其所涉 及的具体工作过程,同样可以参考上述语音质量的测试方法所涉及的实施例揭 露的相关内容, 在此不再赘述。 All the functional modules involved in the voice quality testing center of the embodiment, and the specific working processes involved in the voice quality testing center may also refer to the embodiments of the voice quality testing method. The relevant content of the disclosure is not repeated here.
本实施例的语音质量测试中心,通过在接收到建立了呼叫连接的语音终端 分别对连接的语音通路进行语音质量评估测试后、返回的第一语音质量等级信 息,对该第一语音质量等级信息进行检测,且在检测到接收到的任一第一语音 质量等级信息低于预设的语音质量标准时,指示建立呼叫连接的语音终端对各 自与核心网网元间的环回通路进行进一步的语音质量评估测试,并返回各自测 试出的第二语音质量等级信息,从而根据各语音终端返回的第二语音质量等级 信息, 能够得知引起语音通路发生质量问题的具体节点或路径, 进而针对发生 质量问题的节点或路径, 可以对语音通路进行进一步的优化改善,提高了语音 终端的语音质量。  The voice quality testing center of the embodiment, after receiving the voice quality assessment test of the connected voice path by the voice terminal that has established the call connection, and returning the first voice quality level information, the first voice quality level information Performing detection, and when detecting that any of the received first voice quality level information is lower than a preset voice quality standard, indicating that the voice terminal establishing the call connection performs further voice on the loopback path between the core network element and the core network element respectively Quality assessment test, and returning the second voice quality level information tested by each, so that according to the second voice quality level information returned by each voice terminal, the specific node or path causing the quality problem of the voice path can be known, and then the quality is generated. The problem node or path can further optimize the voice path and improve the voice quality of the voice terminal.
进一步地, 本实施例中通过由语音质量测试中心才艮据预先配置控制语音终 端间建立呼叫连接并发起语音质量测试的流程,基于语音质量测试中心的控制, 还能实现对语音通信系统的自动化、 大规模化的语音业务质量测试功能。  Further, in the embodiment, the voice quality testing center can automatically control the voice communication system by controlling the voice quality testing center based on the pre-configured process of establishing a call connection between the voice terminals and initiating a voice quality test. Large-scale voice service quality testing function.
更进一步地, 本实施例中还通过在语音质量测试中心检测到语音终端的通 路发生质量退化问题时, 通过向核心网网元配置发送标准的环回规则标识, 以 指示核心网网元对接收到的语音流进行相应的环回处理, 从而使得语音终端反 馈的第二语音质量等级信息中还能够反映出语音通路发生的语音质量问题是 否与核心网网元自身有关,从而能够更准确地检测出引起语音通路的语音质量 发生问题的故障节点。图 6为本发明实施例提供的一种语音终端的结构示意图。 如图 6所示, 本实施例的语音终端包括第一测试模块 21、指示信息接收模块 22、 第二测试模块 23和信息发送模块 24。  Further, in this embodiment, when the quality degradation problem of the voice terminal is detected in the voice quality testing center, the standard loopback rule identifier is sent to the core network element to indicate that the core network element receives the network. The obtained voice stream is subjected to corresponding loopback processing, so that the second voice quality level information fed back by the voice terminal can also reflect whether the voice quality problem occurring in the voice path is related to the core network element itself, thereby enabling more accurate detection. A faulty node that causes problems with the voice quality of the voice path. FIG. 6 is a schematic structural diagram of a voice terminal according to an embodiment of the present invention. As shown in FIG. 6, the voice terminal of this embodiment includes a first test module 21, an indication information receiving module 22, a second test module 23, and an information sending module 24.
其中,第一测试模块 21用于对语音终端所处的语音通路进行语音质量评估 测试, 并将测试得到的第一语音质量等级信息发送给对应的语音质量测试中 心; The first test module 21 is configured to perform voice quality assessment on a voice path in which the voice terminal is located. Testing, and transmitting the first voice quality level information obtained by the test to the corresponding voice quality testing center;
指示信息接收模块 22用于接收语音质量测试中心返回的、用于指示对自身 与核心网网元间的环回通路进行语音质量评估测试的指示信息,该指示信息由 语音质量测试中心在检测到第一语音质量等级信息低于预设的语音质量标准 后发出;  The indication information receiving module 22 is configured to receive indication information returned by the voice quality testing center for indicating a voice quality assessment test on the loopback path between the core network element and the core network element, where the indication information is detected by the voice quality testing center. The first voice quality level information is sent after being lower than the preset voice quality standard;
第二测试模块 23用于根据指示信息接收模块 22接收到的指示信息,对自身 与核心网网元之间的环回通路进行语音质量评估测试,生成第二语音质量等级 信息;  The second test module 23 is configured to perform a voice quality assessment test on the loopback path between itself and the core network element according to the indication information received by the indication information receiving module 22, to generate second voice quality level information;
信息发送模块 24用于将第二测试模块 23生成的第二语音质量等级信息发 送给语音质量测试中心,以使语音质量测试中心根据接收到的第二语音质量等 级信息, 确定引起语音通路的语音质量低于预设的语音质量标准的故障节点。  The information sending module 24 is configured to send the second voice quality level information generated by the second testing module 23 to the voice quality testing center, so that the voice quality testing center determines the voice that causes the voice path according to the received second voice quality level information. A faulty node with a quality lower than the preset voice quality standard.
具体地, 本实施例的语音终端所涉及的所有功能模块、 以及其所涉及的具 体工作过程,可以参考上述语音质量的测试方法所涉及的实施例揭露的相关内 容, 在此不再赘述。  For example, all the functional modules involved in the voice terminal of the present embodiment, and the specific working processes involved in the voice terminal, may refer to the related content disclosed in the embodiment of the voice quality testing method, and details are not described herein.
本实施例的语音终端, 通过在对所处的语音通路进行语音质量评估测试 后、将测试生成的第一语音质量等级信息返回给语音质量测试中心, 并在接收 到语音质量测试中心检测到第一语音质量等级信息低于预设的语音质量标准 时发出的指示信息时,对自身与核心网网元间的环回通路进行进一步的语音质 量评估测试, 并再次返回测试出的第二语音质量等级信息给语音质量测试中 心,从而使得语音质量测试中心根据返回的第二语音质量等级信息, 能够得知 引起语音通路发生质量问题的具体节点或路径,进而针对发生质量问题的节点 或路径,可以对语音通路进行进一步的优化改善,提高了语音终端的语音质量。 图 7为本发明实施例提供的另一种语音终端的结构示意图。如图 7所示,在 上一实施例的语音终端的基础上, 本实施例的语音终端中, 第二测试模块 23 具体可以包括: 语音流发送子模块 231、语音流接收子模块 232和信息生成子模 块 233。 The voice terminal of the embodiment returns the first voice quality level information generated by the test to the voice quality test center after performing the voice quality evaluation test on the voice path, and detects the first detected voice quality test center. When the voice quality level information is lower than the preset voice quality standard, the voice quality evaluation test is performed on the loopback path between the core network element and the core network element, and the tested second voice quality level is returned again. The information is sent to the voice quality testing center, so that the voice quality testing center can know the specific node or path that causes the quality problem of the voice path according to the returned second voice quality level information, and then the node for the quality problem occurs. Or the path can further optimize and improve the voice path, and improve the voice quality of the voice terminal. FIG. 7 is a schematic structural diagram of another voice terminal according to an embodiment of the present invention. As shown in FIG. 7, on the basis of the voice terminal of the previous embodiment, in the voice terminal of the embodiment, the second test module 23 may specifically include: a voice stream sending submodule 231, a voice stream receiving submodule 232, and information. A submodule 233 is generated.
其中, 语音流发送子模块 231用于向核心网网元发送预存的测试语音流; 语音流接收子模块 232用于接收核心网网元按照与从语音质量测试中心获 取到的环回规则标识对应的环回规则, 对测试语音流进行对应的环回处理后, 返回的经环回处理后的测试语音流,该环回规则标识至少包括指示核心网网元 将接收到的测试语音流从原接收端口返回给语音终端的第一环回规则标识,以 及指示核心网网元将接收到的测试语音流从原接收端口环回至另一端口后,从 另一端口返回给语音终端的第二环回规则标识;  The voice stream sending sub-module 231 is configured to send the pre-stored test voice stream to the core network element. The voice stream receiving sub-module 232 is configured to receive the core network element according to the loopback rule identifier obtained from the voice quality testing center. The loopback rule, after the loopback processing of the test voice stream, returns the looped back test voice stream, and the loopback rule identifier includes at least the test voice stream that the core network element receives the test voice stream from the original Receiving, by the receiving port, the first loopback rule identifier returned to the voice terminal, and instructing the core network element to return the received test voice stream from the original receiving port to another port, and returning from the other port to the second terminal of the voice terminal Loopback rule identifier;
信息生成子模块 233用于将经环回处理后的测试语音流与预存的测试语音 流进行语音质量对比, 生成第二语音质量等级信息,该第二语音质量等级信息 中至少包括分别与第一环回规则标识和第二环回规则标识对应的语音质量等 级信息。  The information generation sub-module 233 is configured to compare the voice quality of the looped test voice stream with the pre-stored test voice stream to generate second voice quality level information, where the second voice quality level information includes at least a first The loopback rule identifier and the second loopback rule identifier correspond to voice quality level information.
进一步地, 本实施例中,语音终端还可以包括标识信息接收模块 25和呼叫 连接建立模块 26。 其中, 标识信息接收模块 25用于在第一测试模块 21对语音通 路进行语音质量评估测试之前,接收语音质量测试中心发送的拨测指令, 该拨 测指令中携带呼叫对端标识信息;而呼叫连接建立模块 26则用于向与呼叫对端 标识信息对应的语音终端发起呼叫连接,并建立与呼叫对端标识信息对应的语 音终端之间的呼叫连接。 具体地, 本实施例的语音终端所涉及的所有功能模块、 以及其所涉及的具 体工作过程,同样可以参考上述语音质量的测试方法所涉及的实施例揭露的相 关内容, 在此不再赘述。 Further, in this embodiment, the voice terminal may further include an identifier information receiving module 25 and a call connection establishing module 26. The identifier information receiving module 25 is configured to receive a dialing test command sent by the voice quality testing center before the first test module 21 performs a voice quality assessment test on the voice path, where the dialing command carries the call peer identification information; The connection establishing module 26 is configured to initiate a call connection to the voice terminal corresponding to the call peer identification information, and establish a call connection between the voice terminals corresponding to the call peer identification information. For example, all the functional modules involved in the voice terminal of the embodiment, and the specific working processes involved in the voice terminal, may also refer to the related content disclosed in the embodiment of the voice quality testing method, and details are not described herein again.
本实施例的语音终端, 通过对所处的语音通路进行语音质量评估测试后、 将测试生成的第一语音质量等级信息返回给语音质量测试中心,并在接收到语 音质量测试中心检测到第一语音质量等级信息低于预设的语音质量标准时发 出的指示信息时,对自身与核心网网元间的环回通路进行进一步的语音质量评 估测试, 并再次返回测试出的第二语音质量等级信息给语音质量测试中心,从 而使得语音质量测试中心根据返回的第二语音质量等级信息,能够得知引起语 音通路发生质量问题的具体节点或路径, 进而针对发生质量问题的节点或路 径, 可以对语音通路进行进一步的优化改善, 提高了语音终端的语音质量。  The voice terminal of the embodiment returns the first voice quality level information generated by the test to the voice quality testing center after performing the voice quality assessment test on the voice path, and detects the first in the received voice quality testing center. When the voice quality level information is lower than the preset voice quality standard, the voice quality evaluation test is performed on the loopback path between the core network element and the core network element, and the tested second voice quality level information is returned again. The voice quality testing center is configured to enable the voice quality testing center to know the specific node or path that causes the quality problem of the voice path according to the returned second voice quality level information, and then the voice or the path to the node or path where the quality problem occurs The channel is further optimized and improved to improve the voice quality of the voice terminal.
进一步地, 本实施例中通过由语音质量测试中心才艮据预先配置控制语音终 端间建立呼叫连接并发起语音质量测试的流程,基于语音质量测试中心的控制, 还能实现对语音通信系统的自动化、 大规模化的语音业务质量测试功能。  Further, in the embodiment, the voice quality testing center can automatically control the voice communication system by controlling the voice quality testing center based on the pre-configured process of establishing a call connection between the voice terminals and initiating a voice quality test. Large-scale voice service quality testing function.
更进一步地, 本实施例中还通过在语音质量测试中心检测到语音终端的通 路发生质量退化问题时, 通过向核心网网元配置发送标准的环回规则标识, 以 指示核心网网元对接收到的语音流进行相应的环回处理, 从而使得语音终端反 馈的第二语音质量等级信息中还能够反映出语音通路发生的语音质量问题是 否与核心网网元自身有关,从而能够更准确地检测出引起语音通路的语音质量 发生问题的故障节点。  Further, in this embodiment, when the quality degradation problem of the voice terminal is detected in the voice quality testing center, the standard loopback rule identifier is sent to the core network element to indicate that the core network element receives the network. The obtained voice stream is subjected to corresponding loopback processing, so that the second voice quality level information fed back by the voice terminal can also reflect whether the voice quality problem occurring in the voice path is related to the core network element itself, thereby enabling more accurate detection. A faulty node that causes problems with the voice quality of the voice path.
图 8为本发明实施例提供的一种语音质量的测试系统的结构示意图,如图 8 所示, 本实施例的语音质量的测试系统包括上述的语音质量测试中心 1、 至少 两个上述的语音终端 2 (图中仅示出两个)、 以及核心网网元 3。 其中, 语音质 量测试中心 1分别与语音终端 2和核心网网元 3连接, 语音终端 2和核心网网元 3 连接。 FIG. 8 is a schematic structural diagram of a voice quality testing system according to an embodiment of the present invention. As shown in FIG. 8, the voice quality testing system of this embodiment includes the foregoing voice quality testing center. Two of the above-described voice terminals 2 (only two are shown), and a core network element 3. The voice quality testing center 1 is connected to the voice terminal 2 and the core network element 3, respectively, and the voice terminal 2 is connected to the core network element 3.
具体地, 本实施例中的核心网网元 3可以为核心网络中的 MGW设备或 MSC设备。 而语音质量测试中心 1除了可以设置为通信网络中一个独立的设备 夕卜, 还可以内嵌在核心网网元 3中。 而具体地, 本实施例的语音质量测试中心 1 和语音终端 2所涉及的所有功能模块、 以及其所涉及的具体工作过程, 可以参 考上述语音质量的测试方法所涉及的实施例揭露的相关内容, 在此不再赘述。  Specifically, the core network element 3 in this embodiment may be an MGW device or an MSC device in the core network. The voice quality test center 1 can be set as a separate device in the communication network, and can also be embedded in the core network element 3. Specifically, all the functional modules involved in the voice quality testing center 1 and the voice terminal 2 of the embodiment, and the specific working processes involved in the voice quality testing center 1 and the voice terminal 2 may refer to the related content disclosed in the embodiment of the voice quality testing method. , will not repeat them here.
本实施例的语音质量的测试系统,通过在接收到建立了呼叫连接的语音终 端分别对连接的语音通路进行语音质量评估测试后、返回的第一语音质量等级 信息,对该第一语音质量等级信息进行检测,且在检测到接收到的任一第一语 音质量等级信息低于预设的语音质量标准时,指示建立呼叫连接的语音终端对 各自与核心网网元间的环回通路进行进一步的语音质量评估测试,并返回各自 测试出的第二语音质量等级信息,从而根据各语音终端返回的第二语音质量等 级信息, 能够得知引起语音通路发生质量问题的具体节点或路径, 进而针对发 生质量问题的节点或路径, 可以对语音通路进行进一步的优化改善,提高了语 音终端的语音质量。  The voice quality testing system of this embodiment, by receiving the voice quality assessment test of the connected voice path after receiving the voice connection with the call connection established, and returning the first voice quality level information, the first voice quality level The information is detected, and when it is detected that any of the received first voice quality level information is lower than the preset voice quality standard, the voice terminal that establishes the call connection further performs a loopback path between the core network element and the core network element. The voice quality assessment test returns the second voice quality level information that is tested, so that according to the second voice quality level information returned by each voice terminal, the specific node or path that causes the quality problem of the voice path can be known, and then The node or path of the quality problem can further optimize the voice path and improve the voice quality of the voice terminal.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限 制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员 应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改,或者对其 中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的 本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the same. However, the modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 Rights request
1、 一种语音质量的测试方法, 其特征在于, 包括:  A method for testing voice quality, characterized in that it comprises:
接收建立呼叫连接的语音终端在各自对承载所述呼叫连接的语音通路进 行语音质量评估测试后、 分别返回的第一语音质量等级信息;  Receiving, by the voice terminal establishing the call connection, the first voice quality level information respectively returned after performing voice quality assessment tests on the voice path carrying the call connection;
若检测到任一所述第一语音质量等级信息低于预设的语音质量标准时,指 示所述语音终端分别对自身与核心网网元间的环回通路进行语音质量评估测 试;  If it is detected that any of the first voice quality level information is lower than a preset voice quality standard, the voice terminal is instructed to perform a voice quality assessment test on the loopback path between itself and the core network element;
接收所述语音终端在各自对自身与所述核心网网元的环回通路进行语音 质量评估测试后、 分别返回的第二语音质量等级信息;  Receiving, by the voice terminal, the second voice quality level information respectively returned after performing voice quality assessment tests on the loopback path of the core network element and the core network element;
根据接收到的所述第二语音质量等级信息,确定引起所述语音通路的语音 质量低于所述预设的语音质量标准的故障节点。  And determining, according to the received second voice quality level information, a faulty node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
2、 根据权利要求 1所述的语音质量的测试方法, 其特征在于, 所述指示所 述语音终端分别对自身与核心网网元间的环回通路进行语音质量评估测试之 前, 所述方法还包括:  The method for testing a voice quality according to claim 1, wherein the method further comprises: before the voice terminal is instructed to perform a voice quality assessment test on a loopback path between itself and a core network element, Includes:
向所述核心网网元发送分别与所述语音终端对应的环回规则标识,所述环 回规则标识用于指示所述核心网网元在接收到所述语音终端发送的测试语音 流时,按照与所述环回规则标识对应的环回规则,对所述测试语音流进行对应 的环回处理, 并返回给所述语音终端;  Sending, to the core network element, a loopback rule identifier corresponding to the voice terminal, where the loopback rule identifier is used to indicate that the core network element receives the test voice stream sent by the voice terminal, Performing a loopback process on the test voice stream according to the loopback rule corresponding to the loopback rule identifier, and returning to the voice terminal;
所述环回规则标识至少包括第一环回规则标识和第二环回规则标识, 其 中,所述第一环回规则标识用于指示所述核心网网元将接收到的所述测试语音 流从原接收端口返回给所述语音终端,所述第二环回规则标识用于指示所述核 心网网元将接收到的所述测试语音流从原接收端口环回至另一端口后,从所述 另一端口返回给所述语音终端。 The loopback rule identifier includes at least a first loopback rule identifier and a second loopback rule identifier, where the first loopback rule identifier is used to indicate the test voice stream that the core network element will receive. Returning from the original receiving port to the voice terminal, the second loopback rule identifier is used to instruct the core network element to loop back the received test voice stream from the original receiving port to another port. Said Another port is returned to the voice terminal.
3、 根据权利要求 2所述的语音质量的测试方法, 其特征在于, 所述根据接 收到的所述第二语音质量等级信息,确定引起所述语音通路的语音质量低于所 述预设的语音质量标准的故障节点具体包括:  The method for testing voice quality according to claim 2, wherein the determining, according to the received second voice quality level information, that the voice quality of the voice path is lower than the preset The fault nodes of the voice quality standard specifically include:
若检测到任一所述第二语音质量等级信息中与所述第一环回规则标识对 应的语音质量等级信息低于所述预设的语音质量标准时,则确定低于所述预设 的语音质量标准的第二语音质量等级信息对应的语音终端为引起所述语音通 路的语音质量低于所述预设的语音质量标准的故障节点;  If it is detected that the voice quality level information corresponding to the first loopback rule identifier in the second voice quality level information is lower than the preset voice quality standard, determining that the voice is lower than the preset voice The voice terminal corresponding to the second voice quality level information of the quality standard is a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard;
若检测到任一所述第二语音质量等级信息中与所述第一环回规则标识对 应的语音质量等级信息未低于所述预设的语音质量标准、但与所述第二环回规 则标识对应的语音质量等级信息却低于所述预设的语音质量标准时,则确定所 述核心网网元为引起所述语音通路的语音质量低于所述预设的语音质量标准 的故障节点。  If the voice quality level information corresponding to the first loopback rule identifier in the second voice quality level information is not lower than the preset voice quality standard, but the second loopback rule is detected When the corresponding voice quality level information is lower than the preset voice quality standard, the core network element is determined to be a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
4、 根据权利要求 1 ~ 3任一所述的语音质量的测试方法, 其特征在于, 所 述接收建立呼叫连接的语音终端在各自对承载所述呼叫连接的语音通路进行 语音质量评估测试后、分别返回的第一语音质量等级信息之前, 所述方法还包 括:  The voice quality testing method according to any one of claims 1 to 3, wherein the voice terminal receiving the call connection connection performs a voice quality evaluation test on the voice path carrying the call connection, Before the first voice quality level information returned, the method further includes:
向任一所述语音终端发送拨测指令,所述拨测指令中携带呼叫对端标识信 息,所述拨测指令用于指示接收到所述拨测指令的语音终端向与所述呼叫对端 标识信息对应的语音终端发起呼叫连接, 并在建立所述呼叫连接后,对承载所 述呼叫连接的语音通路进行语音质量评估测试。  Sending a dialing command to any of the voice terminals, where the dialing command carries the call peer identification information, where the dialing command is used to indicate that the voice terminal that receives the dialing command is directed to the opposite end of the call The voice terminal corresponding to the identification information initiates a call connection, and after establishing the call connection, performs voice quality assessment test on the voice path carrying the call connection.
5、 一种语音质量的测试方法, 其特征在于, 包括: 对所处的语音通路进行语音质量评估测试,并将测试得到的第一语音质量 等级信息发送给对应的语音质量测试中心; 5. A method for testing voice quality, characterized in that it comprises: Performing a voice quality assessment test on the voice path, and transmitting the first voice quality level information obtained by the test to the corresponding voice quality test center;
若接收到所述语音质量测试中心返回的、用于指示对自身与核心网网元间 的环回通路进行语音质量评估测试的指示信息,则对所述环回通路进行语音质 量评估测试, 生成第二语音质量等级信息, 所述指示信息由所述语音质量测试 中心在检测到所述第一语音质量等级信息低于预设的语音质量标准后发出; 将所述第二语音质量等级信息发送给所述语音质量测试中心,以使所述语 音质量测试中心根据所述第二语音质量等级信息,确定引起所述语音通路的语 音质量低于所述预设的语音质量标准的故障节点。  Receiving, after receiving the indication information returned by the voice quality testing center for performing a voice quality assessment test on the loopback path between the core network element and the core network element, performing voice quality assessment test on the loopback path, generating a second voice quality level information, where the indication information is sent by the voice quality testing center after detecting that the first voice quality level information is lower than a preset voice quality standard; sending the second voice quality level information And the voice quality testing center is configured to determine, according to the second voice quality level information, the fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
6、 根据权利要求 5所述的语音质量的测试方法, 其特征在于, 所述对所述 环回通路进行语音质量评估测试, 生成第二语音质量等级信息具体包括: 向所述核心网网元发送预存的测试语音流;  The voice quality testing method according to claim 5, wherein the performing the voice quality assessment test on the loopback path, the generating the second voice quality level information specifically includes: to the core network element Send a pre-stored test voice stream;
接收所述核心网网元按照与从所述语音质量测试中心获取到的环回规则 标识对应的环回规则、对所述测试语音流进行对应的环回处理后,返回的经环 回处理后的测试语音流,所述环回规则标识至少包括第一环回规则标识和第二 环回规则标识, 其中, 所述第一环回规则标识用于指示所述核心网网元将接收 到的所述测试语音流从原接收端口返回给所述语音终端,所述第二环回规则标 识用于指示所述核心网网元将接收到的所述测试语音流从原接收端口环回至 另一端口后, 从所述另一端口返回给所述语音终端;  After receiving the loopback rule corresponding to the loopback rule identifier obtained from the voice quality test center, and performing loopback processing on the test voice stream, the loopback processing is performed after the loopback processing is performed. a test voice stream, the loopback rule identifier includes at least a first loopback rule identifier and a second loopback rule identifier, where the first loopback rule identifier is used to indicate that the core network element is to receive The test voice stream is returned from the original receiving port to the voice terminal, and the second loopback rule identifier is used to instruct the core network element to loop back the received test voice stream from the original receiving port to another After a port, returning from the other port to the voice terminal;
将所述经环回处理后的测试语音与预存的测试语音流进行语音质量对比, 生成所述第二语音质量等级信息,所述第二语音质量等级信息中至少包括分别 与所述第一环回规则标识和第二环回规则标识对应的语音质量等级信息。 Comparing the voice quality of the looped test voice with the pre-stored test voice stream to generate the second voice quality level information, where the second voice quality level information includes at least the first ring The return rule identifier and the second loopback rule identifier correspond to voice quality level information.
7、 根据权利要求 5或 6所述的语音质量的测试方法, 其特征在于, 所述对 所处的语音通路进行语音质量评估测试之前, 所述方法还包括: The method for testing the voice quality according to claim 5 or 6, wherein before the performing the voice quality assessment test on the voice path, the method further includes:
接收所述语音质量测试中心发送的拨测指令,所述拨测指令中携带呼叫对 端标识信息;  Receiving a dialing test command sent by the voice quality testing center, where the dialing test command carries caller end identification information;
向与所述呼叫对端标识信息对应的语音终端发起呼叫连接,并建立与呼叫 对端标识信息对应的语音终端之间的呼叫连接。  And making a call connection to the voice terminal corresponding to the call peer identification information, and establishing a call connection between the voice terminals corresponding to the call peer identification information.
8、 一种语音质量测试中心, 其特征在于, 包括:  8. A voice quality testing center, characterized in that:
第一接收模块,用于接收建立呼叫连接的语音终端在各自对承载所述呼叫 连接的语音通路进行语音质量评估测试后、 分别返回的第一语音质量等级信 息;  a first receiving module, configured to receive, by the voice terminal that establishes the call connection, the first voice quality level information respectively returned after performing voice quality assessment tests on the voice path that carries the call connection;
测试指示模块,用于当检测到所述第一接收模块接收到的任一所述第一语 音质量等级信息低于预设的语音质量标准时,指示所述语音终端分别对自身与 核心网网元间的环回通路进行语音质量评估测试;  a test indication module, configured to: when detecting that any of the first voice quality level information received by the first receiving module is lower than a preset voice quality standard, instructing the voice terminal to separately connect to the core network element Inter-loop path for voice quality assessment testing;
第二接收模块,用于接收所述语音终端在各自对自身与所述核心网网元的 环回通路进行语音质量评估测试后、 分别返回的第二语音质量等级信息; 确定模块,用于根据所述第二接收模块接收到的所述第二语音质量等级信 息,确定引起所述语音通路的语音质量低于所述预设的语音质量标准的故障节 点。  a second receiving module, configured to receive second voice quality level information that is returned by the voice terminal after performing voice quality assessment tests on the loopback path of the core network element and the core network element respectively; The second voice quality level information received by the second receiving module determines a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
9、 根据权利要求 8所述的语音质量测试中心, 其特征在于, 还包括: 标识发送模块,用于在所述测试指示模块指示所述语音终端分别对自身与 核心网网元间的环回通路进行语音质量评估测试之前,向所述核心网网元发送 分别与所述语音终端对应的环回规则标识,所述环回规则标识用于指示所述核 心网网元在接收到所述语音终端发送的测试语音流时,按照与所述环回规则标 识对应的环回规则,对所述测试语音流进行对应的环回处理, 并返回给所述语 音终端; The voice quality testing center according to claim 8, further comprising: an identifier sending module, configured to: in the test indication module, instruct the voice terminal to respectively loopback between itself and the core network element Before the voice quality assessment test is performed, the loopback rule identifier corresponding to the voice terminal is sent to the core network element, where the loopback rule identifier is used to indicate the core When receiving the test voice stream sent by the voice terminal, the network network element performs corresponding loopback processing on the test voice stream according to the loopback rule corresponding to the loopback rule identifier, and returns the Voice terminal
所述环回规则标识至少包括第一环回规则标识和第二环回规则标识, 其 中,所述第一环回规则标识用于指示所述核心网网元将接收到的所述测试语音 流从原接收端口返回给所述语音终端,所述第二环回规则标识用于指示所述核 心网网元将接收到的所述测试语音流从原接收端口环回至另一端口后,从所述 另一端口返回给所述语音终端。  The loopback rule identifier includes at least a first loopback rule identifier and a second loopback rule identifier, where the first loopback rule identifier is used to indicate the test voice stream that the core network element will receive. Returning from the original receiving port to the voice terminal, the second loopback rule identifier is used to instruct the core network element to loop back the received test voice stream from the original receiving port to another port. The other port is returned to the voice terminal.
10、 根据权利要求 9所述的语音质量测试中心, 其特征在于, 所述确定模 块具体用于:  The voice quality testing center according to claim 9, wherein the determining module is specifically configured to:
若检测到任一所述第二语音质量等级信息中与所述第一环回规则标识对 应的语音质量等级信息低于所述预设的语音质量标准时,则确定低于所述预设 的语音质量标准的第二语音质量等级信息对应的语音终端为引起所述语音通 路的语音质量低于所述预设的语音质量标准的故障节点;  If it is detected that the voice quality level information corresponding to the first loopback rule identifier in the second voice quality level information is lower than the preset voice quality standard, determining that the voice is lower than the preset voice The voice terminal corresponding to the second voice quality level information of the quality standard is a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard;
若检测到任一所述第二语音质量等级信息中与所述第一环回规则标识对 应的语音质量等级信息未低于所述预设的语音质量标准,但与所述第二环回规 则标识对应的语音质量等级信息却低于所述预设的语音质量标准时,则确定所 述核心网网元为引起所述语音通路的语音质量低于所述预设的语音质量标准 的故障节点。  If the voice quality level information corresponding to the first loopback rule identifier in the second voice quality level information is not lower than the preset voice quality standard, but the second loopback rule is detected When the corresponding voice quality level information is lower than the preset voice quality standard, the core network element is determined to be a fault node that causes the voice quality of the voice path to be lower than the preset voice quality standard.
11、 根据权利要求 8 ~ 10任一所述语音质量测试中心, 其特征在于, 还包 括:  The voice quality testing center according to any one of claims 8 to 10, further comprising:
拨测指令发送模块,用于在所述第一接收模块接收所述第一语音质量等级 信息之前, 向任一所述语音终端发送拨测指令, 所述拨测指令中携带呼叫对端 标识信息,所述拨测指令用于指示接收到所述拨测指令的语音终端向与所述呼 叫对端标识信息对应的语音终端发起呼叫连接, 并在建立所述呼叫连接后,对 承载所述呼叫连接的语音通路进行语音质量评估测试。 a dialing command sending module, configured to receive the first voice quality level at the first receiving module Before the information, the dialing command is sent to any of the voice terminals, where the dialing command carries the call peer identification information, where the dialing command is used to indicate that the voice terminal that receives the dialing command is The voice terminal corresponding to the caller identification information initiates a call connection, and after establishing the call connection, performs voice quality assessment test on the voice path carrying the call connection.
12、 一种语音终端, 其特征在于, 包括:  12. A voice terminal, comprising:
第一测试模块,用于对所述语音终端所处的语音通路进行语音质量评估测 试, 并将测试得到的第一语音质量等级信息发送给对应的语音质量测试中心; 指示信息接收模块, 用于接收所述语音质量测试中心返回的、用于指示对 自身与核心网网元间的环回通路进行语音质量评估测试的指示信息,所述指示 信息由所述语音质量测试中心在检测到所述第一语音质量等级信息低于预设 的语音质量标准后发出;  a first test module, configured to perform a voice quality assessment test on the voice path in which the voice terminal is located, and send the first voice quality level information obtained by the test to a corresponding voice quality test center; Receiving, by the voice quality testing center, indication information for indicating a voice quality assessment test on a loopback path between the core network element and the core network element, where the indication information is detected by the voice quality testing center The first voice quality level information is sent after being lower than the preset voice quality standard;
第二测试模块, 用于根据所述指示信息接收模块接收到的所述指示信息, 对所述环回通路进行语音质量评估测试, 生成第二语音质量等级信息;  a second test module, configured to perform a voice quality assessment test on the loopback path according to the indication information received by the indication information receiving module, to generate second voice quality level information;
信息发送模块,用于将所述第二语音质量等级信息发送给所述语音质量测 试中心, 以使所述语音质量测试中心根据所述第二语音质量等级信息, 确定引 起所述语音通路的语音质量低于所述预设的语音质量标准的故障节点。  An information sending module, configured to send the second voice quality level information to the voice quality testing center, so that the voice quality testing center determines, according to the second voice quality level information, a voice that causes the voice path A faulty node of lower quality than the preset voice quality standard.
13、 根据权利要求 12所述的语音终端, 其特征在于, 第二测试模块具体包 括:  The voice terminal according to claim 12, wherein the second test module specifically includes:
语音流发送子模块, 用于向所述核心网网元发送预存的测试语音流; 语音流接收子模块,用于接收所述核心网网元按照与从所述语音质量测试 中心获取到的环回规则标识对应的环回规则、对所述测试语音流进行对应的环 回处理后,返回的经环回处理后的测试语音流, 所述环回规则标识至少包括第 一环回规则标识和第二环回规则标识, 其中, 所述第一环回规则标识用于指示 所述核心网网元将接收到的所述测试语音流从原接收端口返回给所述语音终 端,所述第二环回规则标识用于指示所述核心网网元将接收到的所述测试语音 流从原接收端口环回至另一端口后, 从所述另一端口返回给所述语音终端; 信息生成子模块,用于将所述经环回处理后的测试语音流与预存的测试语 音流进行语音质量对比, 生成所述第二语音质量等级信息, 所述第二语音质量 等级信息中至少包括分别与所述第一环回规则标识和第二环回规则标识对应 的语音质量等级信息。 a voice stream sending sub-module, configured to send a pre-stored test voice stream to the core network element; a voice stream receiving sub-module, configured to receive the core network element according to a ring obtained from the voice quality testing center The loopback rule corresponding to the loopback rule and the loopback processing corresponding to the test voice stream, and the loopback processed test voice stream returned, the loopback rule identifier includes at least the first a loopback rule identifier and a second loopback rule identifier, where the first loopback rule identifier is used to instruct the core network element to return the received test voice stream from the original receiving port to the voice And the second loopback rule identifier is used to indicate that the core network element returns the received test voice stream from the original receiving port to another port, and returns the a voice generation sub-module, configured to compare the looped processed test voice stream with a pre-stored test voice stream to generate the second voice quality level information, where the second voice quality level is generated The information includes at least voice quality level information corresponding to the first loopback rule identifier and the second loopback rule identifier respectively.
14、 根据权利要求 12或 13所述的语音终端, 其特征在于, 还包括: 标识信息接收模块,用于在所述第一测试模块对所述语音通路进行语音质 量评估测试之前,接收所述语音质量测试中心发送的拨测指令, 所述拨测指令 中携带呼叫对端标识信息; 呼叫连接建立模块,用于向与所述呼叫对端标识信息对应的语音终端发起 呼叫连接, 并建立与呼叫对端标识信息对应的语音终端之间的呼叫连接。 The voice terminal according to claim 12 or 13, further comprising: an identifier information receiving module, configured to receive the voice quality assessment test before the first test module performs the voice quality assessment test on the voice path a dialing test command sent by the voice quality test center, where the dialing test command carries the call peer identification information; the call connection establishing module is configured to initiate a call connection to the voice terminal corresponding to the call peer identification information, and establish and Calling the call connection between the voice terminals corresponding to the peer identification information.
15、 一种语音质量的测试系统, 其特征在于, 包括: 如权利要求 8 ~ 11任一所述的语音质量测试中心、 至少两个如权利要求 A voice quality testing system, comprising: the voice quality testing center according to any one of claims 8 to 11, at least two according to the claims
12 ~ 14任一所述的语音终端、 以及核心网网元; 其中, The voice terminal of any of 12 to 14 and the core network element; wherein
所述语音质量测试中心分别与所述语音终端和核心网网元连接,所述语音 终端与所述核心网网元连接。  The voice quality testing center is respectively connected to the voice terminal and the core network element, and the voice terminal is connected to the core network element.
PCT/CN2011/074496 2010-08-31 2011-05-23 Method, system, and device for testing speech quality WO2011137810A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010270617.7 2010-08-31
CN2010102706177A CN102143524B (en) 2010-08-31 2010-08-31 Method, system and device for detecting voice quality

Publications (1)

Publication Number Publication Date
WO2011137810A1 true WO2011137810A1 (en) 2011-11-10

Family

ID=44410684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074496 WO2011137810A1 (en) 2010-08-31 2011-05-23 Method, system, and device for testing speech quality

Country Status (2)

Country Link
CN (1) CN102143524B (en)
WO (1) WO2011137810A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581934A (en) * 2012-07-19 2014-02-12 中兴通讯股份有限公司 Terminal voice quality evaluation method and terminal
CN103067963B (en) * 2012-12-25 2016-02-24 上海大唐移动通信设备有限公司 A kind of voice dial testing apparatus and method
CN103249061B (en) * 2013-04-27 2015-12-02 深圳市网信联动通信技术股份有限公司 Voice quality method of testing and system
CN106332166B (en) 2015-06-18 2019-10-18 华为技术有限公司 Speech quality assessment method and device
CN106550375B (en) * 2015-09-22 2021-01-29 深圳市赛格导航科技股份有限公司 Automatic test method for vehicle-mounted navigator call
CN108712204A (en) * 2018-05-18 2018-10-26 广东电网有限责任公司 A kind of satellite phone speech quality detection method, device, equipment and storage medium
CN109979487B (en) * 2019-03-07 2021-07-30 百度在线网络技术(北京)有限公司 Voice signal detection method and device
CN110503982B (en) * 2019-09-17 2024-03-22 腾讯科技(深圳)有限公司 Voice quality detection method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1098458A2 (en) * 1999-11-08 2001-05-09 Fujitsu Limited An apparatus and a method for locating a fault of a transmission line
CN1780333A (en) * 2004-11-17 2006-05-31 华为技术有限公司 Audio fault positioning method for telecommunication system
CN101534353A (en) * 2009-03-31 2009-09-16 华为技术有限公司 Wireless network vocal quality measuring method and terminal thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499694C (en) * 2004-11-23 2009-06-10 华为技术有限公司 Method and device for testing speech quality
CN1988708B (en) * 2006-12-29 2010-04-14 华为技术有限公司 Method and device for detecting voice quality
CN101697565A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Fault detection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1098458A2 (en) * 1999-11-08 2001-05-09 Fujitsu Limited An apparatus and a method for locating a fault of a transmission line
CN1780333A (en) * 2004-11-17 2006-05-31 华为技术有限公司 Audio fault positioning method for telecommunication system
CN101534353A (en) * 2009-03-31 2009-09-16 华为技术有限公司 Wireless network vocal quality measuring method and terminal thereof

Also Published As

Publication number Publication date
CN102143524B (en) 2013-09-11
CN102143524A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
WO2011137810A1 (en) Method, system, and device for testing speech quality
US10326640B2 (en) Knowledge base radio and core network prescriptive root cause analysis
US8248953B2 (en) Detecting and isolating domain specific faults
CN102075988B (en) System and method for locating end-to-end voice quality fault in mobile communication network
JP2000209339A (en) Method for automatically monitoring communication trunk of communication system
JP5792379B2 (en) Message flow route change for autonomously and automatically interrupted network elements
EP3393084B1 (en) System and method for accurate reporting of fault for failed internet protocol-based calls
EP2503816B1 (en) Method and apparatus for monitoring service quality
EP3799406A1 (en) Method, system, and device for cloud voice quality monitoring
CN109525736B (en) Voice dial testing loopback method and device
US8538416B2 (en) Remote initiation of collecting diagnostic information for network communications
CN106804049A (en) A kind of different-system switching method and device
CN102137420A (en) Voice channel detection method and base station controller
CN105828354A (en) LTE network service downlink rate estimation method and LTE network service downlink rate estimation device
WO2015089732A1 (en) Service testing method, device and system, network node and quality processing node
WO2012000346A1 (en) Method and device for detecting telephone channel fault
JP2010239239A (en) Radio base station, radio communication system, fault notification method, and radio base station program
WO2013181893A1 (en) Method and terminal for performing mdt measurement at terminal
WO2012079324A1 (en) Media gateway and method for detecting high way resources thereof
WO2011091684A1 (en) Device and method for locating voice transmission problems
CN103517287A (en) An end-to-end bidirectional voice quality test method, a system and a voice test server
US10284452B2 (en) VoIP quality test via manual phone call into VoIP monitoring system
CN114157761A (en) System and method for voice test of multi-channel voice gateway equipment based on router
US10531342B2 (en) VoIP service state aware hand over execution
KR101084355B1 (en) System and method for checking call quality of Voice over Internet Protocol terminal and apparatus therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11777229

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11777229

Country of ref document: EP

Kind code of ref document: A1