Nothing Special   »   [go: up one dir, main page]

WO2011120367A1 - Method and device for analyzing voice quality - Google Patents

Method and device for analyzing voice quality Download PDF

Info

Publication number
WO2011120367A1
WO2011120367A1 PCT/CN2011/071464 CN2011071464W WO2011120367A1 WO 2011120367 A1 WO2011120367 A1 WO 2011120367A1 CN 2011071464 W CN2011071464 W CN 2011071464W WO 2011120367 A1 WO2011120367 A1 WO 2011120367A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
bearer
analyzed
information
bearer information
Prior art date
Application number
PCT/CN2011/071464
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 WO2011120367A1 publication Critical patent/WO2011120367A1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/69Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for evaluating synthetic or decoded voice signals

Definitions

  • the commonly used voice quality analysis method is: deploying a device with a network data packet capture tool in the bearer network, and mirroring all network data of the network switch to the device; A signaling message for a call with a specified feature filters the IP packet to obtain a voice packet for the call.
  • the embodiment of the invention provides a voice quality analysis method, which is used to reduce the workload of voice quality analysis and improve the efficiency of voice quality analysis.
  • the method includes: Acquiring the bearer information of the call to be analyzed, the call to be analyzed having the specified feature; obtaining the voice data packet of the call to be analyzed according to the bearer information;
  • the embodiment of the invention further provides a voice quality analysis device, which is used to reduce the workload of voice quality analysis and improve the efficiency of voice quality analysis.
  • the device includes:
  • a first obtaining module configured to obtain bearer information of the call to be analyzed, where the to-be-analyzed call has a designated feature
  • a second obtaining module configured to obtain, according to the bearer information, a voice data packet of the to-be-analyzed call
  • An analysis module is configured to perform voice quality analysis on the voice data packet.
  • the bearer information of the call to be analyzed with the specified feature is obtained, and the voice data packet of the call to be analyzed is obtained according to the bearer information, and the voice data packet is analyzed for voice quality, so After all the network data is captured, the data filtering process is performed, and the amount of processed data is greatly reduced, thereby effectively reducing the workload of voice quality analysis and improving the efficiency of voice quality analysis.
  • the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
  • FIG. 1 is a flowchart of processing of a voice quality analysis method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a specific example of voice quality analysis according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another specific example of voice quality analysis according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a voice quality analysis apparatus according to an embodiment of the present invention. Schematic;
  • FIG. 5 is a schematic structural diagram of a voice quality analysis apparatus according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a voice quality analysis apparatus according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a specific example of a voice quality analysis apparatus according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
  • the illustrative embodiments of the present invention and the description thereof are intended to be illustrative of the invention, and are not intended to limit the invention.
  • the processing procedure of the voice quality analysis method may include: Step 101: Obtain bearer information of a call to be analyzed that has a specified feature;
  • Step 102 Obtain a voice data packet of the call to be analyzed according to the bearer information.
  • Step 103 Perform voice quality analysis on the voice data packet.
  • the bearer information of the call to be analyzed with the specified feature is obtained first, and then the voice data packet of the call to be analyzed is obtained according to the bearer information, and the voice quality analysis is performed on the voice data packet. Therefore, it is not necessary to perform data filtering processing after all network data is captured, and the amount of processed data is greatly reduced, thereby effectively reducing the workload of voice quality analysis and improving the efficiency of voice quality analysis.
  • the embodiment of the invention implements voice packet capture and voice quality analysis of the call level in the IP network, and can implement voice stream analysis according to some related information of the call, including specified features of the call and bearer information of the call, instead of Network level speech analysis in the prior art.
  • the process shown in FIG. 1 may be implemented by a device capable of implementing its functions.
  • the device may be a Media Gateway Controller (MGC).
  • MMC Media Gateway Controller
  • the device may be other independent devices, or may be embedded in the media.
  • Some kind of device of the gateway controller Since the media gateway controller itself has signaling analysis capabilities, it is more convenient to implement the device as a media gateway controller when implemented.
  • step 101 may be specifically implemented as: performing feature analysis on all calls in the call setup process, determining a call with the specified feature, and obtaining the Bearer information for the call.
  • the signaling analysis capability of the media gateway controller may still be used to perform step 101, SP: the device provides the specified feature to the media gateway controller; The media gateway controller performs feature analysis on all calls in the call setup process, determines a call with the specified feature, and obtains bearer information of the call; and the device receives the call with the specified feature sent by the media gateway controller. Carry information.
  • the implementation device of the flow shown in FIG. 1 in this example is independent of the media gateway controller, and may be referred to as a voice quality analysis device for convenience of description.
  • the user initiates voice quality analysis on the call with certain specified features through the voice quality analysis device; the media gateway controller analyzes all call signaling in the call setup process, such as signaling of protocols such as SIP, SIP-I, or BICC. , obtain bearer information for calls with these specified characteristics.
  • the foregoing specified features may be multiple, and may be set according to actual needs, for example, may be a calling number, a called number, or a CALL-ID (call identity).
  • the foregoing bearer information may include SDP (Session Description Protocol) information of the caller side and the called side of the call to be analyzed, and the SDP information includes an IP address and a port number; of course, the foregoing bearer information may further include other Information related to bearer control of the call to be analyzed.
  • SDP Session Description Protocol
  • the voice data packet of the call to be analyzed according to the bearer information may be implemented in multiple manners, for example, may be implemented as: sending, according to the bearer information, image information to the IP bearer device, where the image information includes the voice data packet.
  • step 103 may be specifically implemented as: Voice quality analysis.
  • the image information of the call voice data packet is obtained according to the bearer information of the to-be-analyzed call with the specified feature, and the image information is sent to the IP bearer device, and the IP bearer device can obtain the source of the voice data packet according to the image information.
  • the voice data packet is obtained by the IP address and the port number, and the voice data packet is mirrored to the destination IP address according to the destination IP address of the voice data packet of the voice data packet in the mirror information, that is, the foregoing voice quality.
  • the analysis device the voice quality analysis device, can perform voice quality analysis on the mirrored data of the voice data packet.
  • the foregoing IP bearer devices may be multiple, and may be, for example, a media gateway (MGW), a network switching device, or the like.
  • the voice quality analysis device can analyze the parameter values such as packet delay or packet loss of the received voice data packet, and can also convert the voice data packet into a voice file of an equal format for the user.
  • the mirroring information can be implemented by extending the media gateway control signaling, for example, scalable H.248 signaling.
  • the analysis process is shown in FIG. 2 and may include:
  • Step 201 The user determines a specified feature of the call to be analyzed, for example, the designated feature is a call number or a CALL-ID. If the call number is 888001, the voice quality analysis device sends the designated feature to the media gateway controller.
  • Step 202 The media gateway controller analyzes the characteristics of all the calls during the call setup process. After analyzing the call of the specified feature, the bearer information is sent to the voice quality analysis device during the call setup process, and the bearer information includes the master.
  • the SDP (Session Description Protocol) information of the side and the called side is called, and the SDP information includes the IP address and port number of the media gateway corresponding to the calling party and the called party respectively.
  • the media gateway controller includes the MGC1 and the MGC2, and analyzes the signaling of the SIP, SIP_I, or BICC protocol. After the call with the call number 888001 is known, the calling number of the calling party in the call is 888001, corresponding to the MGW1.
  • the IP address and port number are 192. 168. 1. 200 : 4500, the called number in the call is 888002, and the corresponding MGW2 IP address and port number is 192. 168. 3. 240 : 3853.
  • Step 203 The voice quality analysis device sends the mirror information to the corresponding media gateway according to the bearer information, where the mirror information includes a mirror object, that is, a source IP address and a port number of the voice packet, and a destination IP address of the mirror data.
  • the mirror information includes a mirror object, that is, a source IP address and a port number of the voice packet, and a destination IP address of the mirror data.
  • the source IP address and port number of the voice data packet here include: IP address and port number of MGW1 and MGW2, the mirrored data destination is voice quality analysis device, and the source IP address and port number of the voice data packet sent to MGW1 is 192. 1. 200 : 4500, the mirrored data destination IP address is 192. 168. 10. 244, The source IP address and port number of the voice packet sent to MGW2 is 192. 168. 1. 20 0 : 3853 , and the destination IP address of the mirrored data is 192. 168. 10. 244.
  • Step 204 After receiving the image information, the media gateway sends the interaction data of the mirror object to the voice quality analysis device.
  • MGW1 and MGW2 respectively send the interaction data of the calling party and the called party to the voice quality analyzing device.
  • Step 205 The voice quality analysis device analyzes the received voice data packet, and obtains a parameter value such as delay/drop packet, and converts the voice data packet into an audio file of an equivalent format for the experience.
  • this example also comprehensively utilizes the voice data transmission capability of the IP bearer device to implement call-level voice capture and voice quality analysis in the IP network.
  • obtaining the bearer information in step 101 may be further implemented as: obtaining bearer information of the calling party and the called side of the call to be analyzed; and obtaining, in step 102, the voice data packet of the call to be analyzed according to the bearer information, which may be implemented as: According to the bearer information of the calling party and the called side of the call to be analyzed, the media negotiation of the calling party and the called side of the call to be analyzed is performed; and the voice data packet sent by the calling party and the called party to be analyzed is received. That is, through the media negotiation on the calling party side, the voice data packet on the calling party side is sent to the voice quality analyzing device, and the voice quality analyzing device can perform the voice quality analysis.
  • the specific negotiation process may include: the voice quality analysis device selects the local bearer information to form the virtual calling side bearer information, replaces the original calling side bearer information, and performs media negotiation with the called side; and selects the local bearer information to form a virtual called side bearer. The information replaces the original called side bearer information, and performs media negotiation with the calling side.
  • the voice quality analysis is performed.
  • the received voice data packet copy can also be sent to the calling peer end to keep the call processing in the normal call state.
  • the voice quality analysis process in this example is as shown in FIG. 3, and may include: Step 301: The user determines a designated feature of the call to be analyzed as a calling number (CallerNo) 888 001, and the voice quality analyzing device sends the media to the media.
  • the gateway controller provides the specified feature.
  • Step 302 After the user 888001 calls in, the media gateway controller analyzes the calling number (Ca HerNo), to determine that the call is a call to be analyzed, then initiate a voice quality analysis process for the call.
  • the calling number Ci HerNo
  • Step 303 The media gateway controller sends the bearer side bearer information (the real IP address and port number of the terminal where the user 888001 is located: 192.168. 1.200/2544) to the voice quality analysis device.
  • Step 305 The media gateway controller replaces the virtual IP address/port number (the IP address/port number of the terminal where the virtual user 888001 is located: 192. 168. 1. 244/4330) instead of the real IP address/port of the calling side. No. (the real IP address and port number of the terminal where the user 888001 is located: 192. 168. 1. 200/ 2544), media negotiation with the called side;
  • Step 306 During the negotiation process of the called side, send the bearer information of the segment (the real IP address/port number of the terminal where the called user 888002 is located: 192. 168. 1. 201/3372) to the media gateway controller to complete the media.
  • the bearer information of the segment the real IP address/port number of the terminal where the called user 888002 is located: 192. 168. 1. 201/3372
  • Step 307 The media gateway controller sends the called side bearer information (the real IP address/port number of the terminal where the called user 888002 is located: 192.168. 1. 201/3372) to the voice quality analysis device.
  • the called side bearer information the real IP address/port number of the terminal where the called user 888002 is located: 192.168. 1. 201/3372
  • Step 308 The voice quality analysis device selects a local IP address and a port number to form a virtual called side bearer information (the IP address/port number of the terminal where the virtual called user 888002 is located: 192. 168. 1. 244/ 5508) sent to the media gateway controller;
  • Step 309 The media gateway controller replaces the virtual IP address/port number (the IP address/port number of the terminal where the virtual called user 88 8002 is located: 192. 168. 1. 244/5508) to replace the real IP address of the called side.
  • Address/port number (the real IP address/port number of the terminal where the called user 888002 is located: 192. 168. 1. 201/3372), media negotiation with the calling side;
  • Step 310 After the media gateway controller completes the media negotiation on the calling and called sides, the call enters a call state, and the voice quality analysis device starts to receive the voice data packet of the calling and called parties one after another, and analyzes the call. Voice quality; At the same time, the received voice packet copy can be sent to the peer to keep the call in normal call state.
  • the virtual called side bearer information is replaced by the original called side bearer information, and media negotiation on the calling and called side is performed.
  • the voice data packet of the calling party and the called party can be sent to the voice quality analyzing device for the purpose of voice quality analysis.
  • the storage medium may include: ROM, RAM, magnetic disk, optical disk, and the like.
  • a voice quality analysis apparatus is also provided in the embodiment of the present invention, as described in the following embodiments. Since the principle of solving the problem of the device is similar to the voice quality analysis method, the implementation of the device can be referred to the implementation of the method, and the repeated description is not repeated.
  • the embodiment of the present invention provides a voice quality analysis apparatus, and the structure thereof is as shown in FIG. 4, which may include:
  • the first obtaining module 401 is configured to obtain bearer information of the call to be analyzed, and the call to be analyzed has the specified feature;
  • the second obtaining module 402 is configured to obtain a voice data packet of the call to be analyzed according to the bearer information, and the analyzing module 403 is configured to perform voice quality analysis on the voice data packet.
  • the first obtaining module 401 is specifically configured to:
  • the second obtaining module 402 may include:
  • the sending unit 501 is configured to send the mirroring information to the IP bearer device according to the bearer information, and the mirror image
  • the information includes a source IP address of the voice data packet, a port number, and a destination IP address of the mirrored data.
  • the first receiving unit 502 is configured to receive mirror data of the voice data packet returned by the IP bearer device according to the mirroring information.
  • the analysis module 403 can be specifically configured to: perform voice quality analysis on the mirrored data.
  • the sending unit 501 is specifically configured to:
  • the image information is sent to the IP bearer device by extending the media gateway control signaling.
  • the first obtaining module 401 is specifically configured to: obtain bearer information of a calling party to be analyzed on the call to be analyzed;
  • the second obtaining module 402 can include:
  • the negotiating unit 601 is configured to perform media negotiation on the called party side to be analyzed according to the bearer information of the calling party and the called side to be analyzed;
  • the second receiving unit 602 is configured to receive a voice data packet sent by the calling party and the called party to be analyzed.
  • the negotiating unit 601 can be specifically configured to:
  • the local bearer information is selected to form a virtual called side bearer information, which replaces the original called side bearer information, and performs media negotiation with the calling side.
  • the voice quality analysis apparatus shown in FIG. 6 may further include: a sending module 701, configured to: after the second receiving unit receives the voice data packet sent by the calling party and the called party to be analyzed, Send a copy of the received voice packet to the calling peer.
  • a sending module 701 configured to: after the second receiving unit receives the voice data packet sent by the calling party and the called party to be analyzed, Send a copy of the received voice packet to the calling peer.
  • the bearer information of the call to be analyzed with the specified feature is obtained, and the voice data packet of the call to be analyzed is obtained according to the bearer information, and the voice data packet is analyzed for voice quality, so that it is not necessary to capture all the network data.
  • the amount of processed data is greatly reduced, thereby effectively reducing the workload of voice quality analysis and improving the efficiency of voice quality analysis.
  • the embodiment of the invention implements voice packet capture and voice quality analysis of the call level in the IP network, and can be based on some related information of the call, including specified features of the call and bearer information of the call, etc. Implement voice stream analysis instead of network-level voice analysis in the prior art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method and a device for analyzing voice quality are provided. The method comprises: obtaining bearer information of a call to be analyzed, wherein the call to be analyzed has designated characters; obtaining a voice data package of the call to be analyzed according to the bearer information (102); performing the voice quality analysis for the voice data package (103). The method and the device can perform the processing of filtering data without waiting to capture all network data, and the amount of the data to be processed is greatly reduced, thus effectively reducing the work of analyzing the voice quality, and increasing the efficiency of analyzing the voice quality.

Description

语音质量分析方法及装置  Voice quality analysis method and device
本申请要求于 2010 年 3 月 29 日提交中国专利局、 申请号为 2010101 37008. 4 , 发明名称为 "语音质量分析方法及装置" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信技术领域, 尤其涉及语音质量分析方法及装置。 背景技术 在醫 (Next Generation Network, 下一代网络) /IMS ( IP Multimedia Subsystem , IP多媒体子系统) 组网的应用下, IP ( Internet Protocol , 网 际协议)化呼叫的 SIP ( Session initiation protocol ,会话发起协议) /BICC (Bearer Independent Cal l Control protocol , 呼口 L|保持协议) 得到了广泛 应用。 呼叫语音流承载在 IP网络中, 由于 IP网络的开放性, 承载于 IP网络 的呼叫难免出现语音质量问题, 因此, 语音质量的监控成为一个例行化的网 络维护工作, 如何在大量呼叫中, 针对具备某种特征的呼叫进行语音质量分 析, 成为一个难题。  This application claims priority to Chinese Patent Application No. 2010101 37008. 4, entitled "Voice Quality Analysis Method and Apparatus", filed on March 29, 2010, the entire contents of which are incorporated herein by reference. In the application. TECHNICAL FIELD The present invention relates to the field of communications technologies, and in particular, to a voice quality analysis method and apparatus. BACKGROUND OF THE INVENTION SIP (Session initiation protocol) of IP (Internet Protocol) calls under the application of a network of Next Generation Network (IMS)/IMS (IP Multimedia Subsystem) Protocol) /BICC (Bearer Independent Cal l Control protocol) has been widely used. The call voice stream is carried in the IP network. Due to the openness of the IP network, the call carried on the IP network is inevitably subject to voice quality problems. Therefore, voice quality monitoring becomes a routine network maintenance work. How to make a large number of calls, Voice quality analysis for calls with certain characteristics becomes a problem.
在 NGN/IMS 组网网络中, 常用的语音质量分析方法是: 在承载网中部署 一个装有网络数据抓包工具的设备, 将网络交换机的所有网络数据镜像到该 设备上; 该设备再根据具备指定特征的呼叫的信令消息过滤 IP数据包得到该 呼叫的语音数据包。  In the NGN/IMS networking network, the commonly used voice quality analysis method is: deploying a device with a network data packet capture tool in the bearer network, and mirroring all network data of the network switch to the device; A signaling message for a call with a specified feature filters the IP packet to obtain a voice packet for the call.
发明人在实现本发明的过程中, 发现上述现有技术存在如下不足: 现有技术中语音质量分析的工作量非常大, 语音质量分析工作效率低下。 发明内容  In the process of implementing the present invention, the inventors have found that the above prior art has the following disadvantages: In the prior art, the workload of voice quality analysis is very large, and the voice quality analysis work is inefficient. Summary of the invention
本发明实施例提供一种语音质量分析方法, 用以减少语音质量分析的工 作量, 提高语音质量分析效率, 该方法包括: 获得待分析呼叫的承载信息, 所述待分析呼叫具备指定特征; 根据所述承载信息获得所述待分析呼叫的语音数据包; The embodiment of the invention provides a voice quality analysis method, which is used to reduce the workload of voice quality analysis and improve the efficiency of voice quality analysis. The method includes: Acquiring the bearer information of the call to be analyzed, the call to be analyzed having the specified feature; obtaining the voice data packet of the call to be analyzed according to the bearer information;
对所述语音数据包进行语音质量分析。  Performing speech quality analysis on the voice data packet.
本发明实施例还提供一种语音质量分析装置, 用以减少语音质量分析的 工作量, 提高语音质量分析效率, 该装置包括:  The embodiment of the invention further provides a voice quality analysis device, which is used to reduce the workload of voice quality analysis and improve the efficiency of voice quality analysis. The device includes:
第一获得模块, 用于获得待分析呼叫的承载信息, 所述待分析呼叫具备 指定特征;  a first obtaining module, configured to obtain bearer information of the call to be analyzed, where the to-be-analyzed call has a designated feature;
第二获得模块, 用于根据所述承载信息获得所述待分析呼叫的语音数据 包;  a second obtaining module, configured to obtain, according to the bearer information, a voice data packet of the to-be-analyzed call;
分析模块, 用于对所述语音数据包进行语音质量分析。  An analysis module is configured to perform voice quality analysis on the voice data packet.
本发明实施例中, 先获得具备指定特征的待分析呼叫的承载信息, 再根 据所述承载信息获得所述待分析呼叫的语音数据包, 对所述语音数据包进行 语音质量分析, 因此不必在抓取所有网络数据后再进行数据过滤处理, 所处 理的数据量大大减少, 从而有效减少了语音质量分析的工作量, 提高了语音 质量分析效率。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In the embodiment of the present invention, the bearer information of the call to be analyzed with the specified feature is obtained, and the voice data packet of the call to be analyzed is obtained according to the bearer information, and the voice data packet is analyzed for voice quality, so After all the network data is captured, the data filtering process is performed, and the amount of processed data is greatly reduced, thereby effectively reducing the workload of voice quality analysis and improving the efficiency of voice quality analysis. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1为本发明实施例中语音质量分析方法的处理流程图;  1 is a flowchart of processing of a voice quality analysis method according to an embodiment of the present invention;
图 2为本发明实施例中语音质量分析的一个具体实例的示意图; 图 3为本发明实施例中语音质量分析的另一具体实例的示意图; 图 4为本发明实施例中语音质量分析装置的结构示意图;  2 is a schematic diagram of a specific example of voice quality analysis according to an embodiment of the present invention; FIG. 3 is a schematic diagram of another specific example of voice quality analysis according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a voice quality analysis apparatus according to an embodiment of the present invention; Schematic;
图 5为本发明实施例中语音质量分析装置的结构示意图; 图 6为本发明实施例中语音质量分析装置的结构示意图; FIG. 5 is a schematic structural diagram of a voice quality analysis apparatus according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of a voice quality analysis apparatus according to an embodiment of the present invention;
图 7为本发明实施例中语音质量分析装置的具体实例的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚明白, 下面结合附 图对本发明实施例做进一歩详细说明。 在此, 本发明的示意性实施例及其说 明用于解释本发明, 但并不作为对本发明的限定。  FIG. 7 is a schematic structural diagram of a specific example of a voice quality analysis apparatus according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The illustrative embodiments of the present invention and the description thereof are intended to be illustrative of the invention, and are not intended to limit the invention.
如图 1所示, 本发明实施例中, 语音质量分析方法的处理流程可以包括: 歩骤 101、 获得具备指定特征的待分析呼叫的承载信息;  As shown in FIG. 1 , in the embodiment of the present invention, the processing procedure of the voice quality analysis method may include: Step 101: Obtain bearer information of a call to be analyzed that has a specified feature;
歩骤 102、 根据承载信息, 获得待分析呼叫的语音数据包;  Step 102: Obtain a voice data packet of the call to be analyzed according to the bearer information.
歩骤 103、 对语音数据包进行语音质量分析。  Step 103: Perform voice quality analysis on the voice data packet.
由图 1所示流程可以得知, 本发明实施例中, 先获得具备指定特征的待 分析呼叫的承载信息, 再根据承载信息获得待分析呼叫的语音数据包, 对语 音数据包进行语音质量分析, 因此不必在抓取所有网络数据后再进行数据过 滤处理, 所处理的数据量大大减少, 从而有效减少了语音质量分析的工作量, 提高了语音质量分析效率。本发明实施例实现了 IP网络中呼叫级的语音抓包、 语音质量分析, 并能够根据呼叫的一些相关信息, 包括呼叫所具备的指定特 征和呼叫的承载信息等, 实现语音流分析, 而不是现有技术中的网络级语音 分析。  It can be seen from the flow shown in FIG. 1 that, in the embodiment of the present invention, the bearer information of the call to be analyzed with the specified feature is obtained first, and then the voice data packet of the call to be analyzed is obtained according to the bearer information, and the voice quality analysis is performed on the voice data packet. Therefore, it is not necessary to perform data filtering processing after all network data is captured, and the amount of processed data is greatly reduced, thereby effectively reducing the workload of voice quality analysis and improving the efficiency of voice quality analysis. The embodiment of the invention implements voice packet capture and voice quality analysis of the call level in the IP network, and can implement voice stream analysis according to some related information of the call, including specified features of the call and bearer information of the call, instead of Network level speech analysis in the prior art.
图 1 所示流程可由能够实现其功能的装置实施, 例如该装置可以是媒体 网关控制器 (Media Gateway Control ler , MGC) , 当然该装置也可以是其它 独立装置, 还可以是能够内嵌于媒体网关控制器的某种装置。 由于媒体网关 控制器本身已具备信令分析能力, 因此实施时, 将该装置实现为媒体网关控 制器时更为方便。  The process shown in FIG. 1 may be implemented by a device capable of implementing its functions. For example, the device may be a Media Gateway Controller (MGC). Of course, the device may be other independent devices, or may be embedded in the media. Some kind of device of the gateway controller. Since the media gateway controller itself has signaling analysis capabilities, it is more convenient to implement the device as a media gateway controller when implemented.
例如, 当该装置为媒体网关控制器时, 歩骤 101 可具体实施为: 对呼叫 建立过程中的所有呼叫进行特征分析, 确定具备指定特征的呼叫, 并获得该 呼叫的承载信息。 又如, 当该装置为独立于媒体网关控制器的某一装置时, 仍可利用媒体网关控制器的信令分析能力实施歩骤 101, SP : 该装置向媒体网 关控制器提供上述指定特征; 媒体网关控制器对呼叫建立过程中的所有呼叫 进行特征分析, 确定具备上述指定特征的呼叫, 并获得该呼叫的承载信息; 该装置再接收媒体网关控制器发来的具备上述指定特征的呼叫的承载信息。 For example, when the device is a media gateway controller, step 101 may be specifically implemented as: performing feature analysis on all calls in the call setup process, determining a call with the specified feature, and obtaining the Bearer information for the call. For another example, when the device is a device independent of the media gateway controller, the signaling analysis capability of the media gateway controller may still be used to perform step 101, SP: the device provides the specified feature to the media gateway controller; The media gateway controller performs feature analysis on all calls in the call setup process, determines a call with the specified feature, and obtains bearer information of the call; and the device receives the call with the specified feature sent by the media gateway controller. Carry information.
举一具体实例, 本例中图 1所示流程的实施装置独立于媒体网关控制器, 为描述方便, 可称为语音质量分析装置。 用户通过该语音质量分析装置发起 对具备某些指定特征的呼叫进行语音质量分析; 媒体网关控制器分析呼叫建 立过程中的所有呼叫信令, 例如 SIP、 SIP-I、 或 BICC等协议的信令, 获得具 备这些指定特征的呼叫的承载信息。 实施中前述指定特征可以有多种, 可根 据实际需要设定, 例如可以是主叫号码、 被叫号码或 CALL-ID (呼叫标识)等 信息。 前述承载信息可以包括待分析呼叫主叫侧和被叫侧的 SDP (Session D escription Protocol ,会话描述协议)信息, SDP信息包括 IP地址和端口号; 当然实施时, 前述承载信息还可以包括其它一些与待分析呼叫的承载控制有 关的信息。  As a specific example, the implementation device of the flow shown in FIG. 1 in this example is independent of the media gateway controller, and may be referred to as a voice quality analysis device for convenience of description. The user initiates voice quality analysis on the call with certain specified features through the voice quality analysis device; the media gateway controller analyzes all call signaling in the call setup process, such as signaling of protocols such as SIP, SIP-I, or BICC. , obtain bearer information for calls with these specified characteristics. In the implementation, the foregoing specified features may be multiple, and may be set according to actual needs, for example, may be a calling number, a called number, or a CALL-ID (call identity). The foregoing bearer information may include SDP (Session Description Protocol) information of the caller side and the called side of the call to be analyzed, and the SDP information includes an IP address and a port number; of course, the foregoing bearer information may further include other Information related to bearer control of the call to be analyzed.
具体实施时, 歩骤 102 中根据承载信息获得待分析呼叫的语音数据包可 以有多种实现方式, 例如可实施为: 根据上述承载信息向 IP承载设备发送镜 像信息, 镜像信息包括语音数据包的源 IP地址、 端口号、 和镜像数据的目的 IP地址; 接收 IP承载设备根据镜像信息返回的语音数据包的镜像数据; 按此 实施方式, 歩骤 103可具体实施为: 对接收的镜像数据进行语音质量分析。  In a specific implementation, the voice data packet of the call to be analyzed according to the bearer information may be implemented in multiple manners, for example, may be implemented as: sending, according to the bearer information, image information to the IP bearer device, where the image information includes the voice data packet. The source IP address, the port number, and the destination IP address of the mirrored data; the mirrored data of the voice packet returned by the IP bearer device according to the mirroring information; According to this embodiment, step 103 may be specifically implemented as: Voice quality analysis.
本实施例中, 根据具备指定特征的待分析呼叫的承载信息获得该呼叫语 音数据包的镜像信息, 将该镜像信息发往 IP承载设备, IP承载设备就可以根 据镜像信息中语音数据包的源 IP地址和端口号获得语音数据包, 并根据镜像 信息中语音数据包的镜像数据目的 IP地址 (即语音质量分析装置的目的 IP 地址) , 将语音数据包镜像至目的 IP地址, 即前述语音质量分析装置, 语音 质量分析装置就可以对语音数据包的镜像数据进行语音质量分析了。 前述 IP承载设备可以有多种, 例如可以是媒体网关 (Media Gateway, M GW) 、 网络交换设备等。 实施中语音质量分析装置在进行语音质量分析时, 可以分析接收到的语音数据包的报文时延或丢包等参数值的情况, 还可以将 语音数据包转换为 等格式的语音文件供用户体验。 将镜像信息发往 IP承 载设备时可以通过扩展媒体网关控制信令来实现, 例如可扩展 H. 248信令。 In this embodiment, the image information of the call voice data packet is obtained according to the bearer information of the to-be-analyzed call with the specified feature, and the image information is sent to the IP bearer device, and the IP bearer device can obtain the source of the voice data packet according to the image information. The voice data packet is obtained by the IP address and the port number, and the voice data packet is mirrored to the destination IP address according to the destination IP address of the voice data packet of the voice data packet in the mirror information, that is, the foregoing voice quality. The analysis device, the voice quality analysis device, can perform voice quality analysis on the mirrored data of the voice data packet. The foregoing IP bearer devices may be multiple, and may be, for example, a media gateway (MGW), a network switching device, or the like. During the speech quality analysis, the voice quality analysis device can analyze the parameter values such as packet delay or packet loss of the received voice data packet, and can also convert the voice data packet into a voice file of an equal format for the user. Experience. When the mirroring information is sent to the IP bearer device, it can be implemented by extending the media gateway control signaling, for example, scalable H.248 signaling.
下面给出本发明实施例中语音质量分析的一个具体实例, 其分析过程示 意图如图 2所示, 可以包括:  A specific example of the voice quality analysis in the embodiment of the present invention is shown below. The analysis process is shown in FIG. 2 and may include:
歩骤 201、用户确定待分析呼叫的指定特征, 例如该指定特征为呼叫号码 或 CALL-ID, 如呼叫号码为 888001, 语音质量分析装置向媒体网关控制器发 送该指定特征。  Step 201: The user determines a specified feature of the call to be analyzed, for example, the designated feature is a call number or a CALL-ID. If the call number is 888001, the voice quality analysis device sends the designated feature to the media gateway controller.
歩骤 202、 媒体网关控制器在呼叫建立过程中, 分析所有呼叫的特征, 当 分析到上述指定特征的呼叫后, 在该呼叫建立过程中将承载信息发送给语音 质量分析装置, 承载信息包括主叫侧和被叫侧的 SDP (Session Description Protocol , 会话描述协议) 信息, 而该 SDP信息包含了主叫和被叫分别对应 的媒体网关的 IP地址和端口号。  Step 202: The media gateway controller analyzes the characteristics of all the calls during the call setup process. After analyzing the call of the specified feature, the bearer information is sent to the voice quality analysis device during the call setup process, and the bearer information includes the master. The SDP (Session Description Protocol) information of the side and the called side is called, and the SDP information includes the IP address and port number of the media gateway corresponding to the calling party and the called party respectively.
例如: 媒体网关控制器包括 MGC1和 MGC2, 对 SIP、 SIP_I、 或 BICC等协 议的信令进行分析, 获知呼叫号码为 888001的呼叫后, 该呼叫中的主叫的呼 叫号码为 888001, 对应的 MGW1的 IP地址和端口号为 192. 168. 1. 200 : 4500, 该呼叫中的被叫号码为 888002, 对应的 MGW2的 IP地址和端口号为 192. 168. 3. 240 : 3853。  For example: The media gateway controller includes the MGC1 and the MGC2, and analyzes the signaling of the SIP, SIP_I, or BICC protocol. After the call with the call number 888001 is known, the calling number of the calling party in the call is 888001, corresponding to the MGW1. The IP address and port number are 192. 168. 1. 200 : 4500, the called number in the call is 888002, and the corresponding MGW2 IP address and port number is 192. 168. 3. 240 : 3853.
歩骤 203、语音质量分析装置根据承载信息分别向对应的媒体网关发送镜 像信息, 镜像信息包括镜像对象, 即语音数据包的源 IP地址和端口号、 镜像 数据目的 IP地址。  Step 203: The voice quality analysis device sends the mirror information to the corresponding media gateway according to the bearer information, where the mirror information includes a mirror object, that is, a source IP address and a port number of the voice packet, and a destination IP address of the mirror data.
例如: 这里的语音数据包的源 IP地址和端口号包括: MGW1和 MGW2的 IP 地址和端口号, 镜像数据目的为语音质量分析装置, 发往 MGW1的语音数据包 的源 IP地址和端口号为 192. 168. 1. 200 : 4500, 镜像数据目的 IP地址为 192. 168. 10. 244, 发往 MGW2的语音数据包的源 IP地址和端口号为 192. 168. 1. 20 0 : 3853 , 镜像数据目的 IP为 192. 168. 10. 244。 For example: The source IP address and port number of the voice data packet here include: IP address and port number of MGW1 and MGW2, the mirrored data destination is voice quality analysis device, and the source IP address and port number of the voice data packet sent to MGW1 is 192. 1. 200 : 4500, the mirrored data destination IP address is 192. 168. 10. 244, The source IP address and port number of the voice packet sent to MGW2 is 192. 168. 1. 20 0 : 3853 , and the destination IP address of the mirrored data is 192. 168. 10. 244.
歩骤 204、媒体网关在收到镜像信息后, 将镜像对象的交互数据发送给语 音质量分析装置。  Step 204: After receiving the image information, the media gateway sends the interaction data of the mirror object to the voice quality analysis device.
MGW1和 MGW2在收到镜像信息后,分别将主叫和被叫的交互数据发送给语 音质量分析装置。  After receiving the mirror information, MGW1 and MGW2 respectively send the interaction data of the calling party and the called party to the voice quality analyzing device.
歩骤 205、语音质量分析装置对收到的语音数据包进行分析, 得出报文时 延 /丢包等参数值的情况,并将语音数据包转换为 等格式语音文件供体验。  Step 205: The voice quality analysis device analyzes the received voice data packet, and obtains a parameter value such as delay/drop packet, and converts the voice data packet into an audio file of an equivalent format for the experience.
本例除利用了媒体网关控制器的信令分析能力外, 还综合利用了 IP承载 设备的语音数据传输能力,实现 IP网络中呼叫级的语音抓包、语音质量分析。  In addition to utilizing the signaling analysis capability of the media gateway controller, this example also comprehensively utilizes the voice data transmission capability of the IP bearer device to implement call-level voice capture and voice quality analysis in the IP network.
另一实施例中, 歩骤 101 中获得承载信息还可实施为: 获得待分析呼叫 主被叫侧的承载信息; 歩骤 102 中根据承载信息获得待分析呼叫的语音数据 包, 可实施为: 根据待分析呼叫主被叫侧的承载信息, 进行待分析呼叫主被 叫侧的媒体协商; 接收待分析呼叫主被叫侧发来的语音数据包。 即通过主被 叫侧的媒体协商, 达到将主被叫侧的语音数据包发往语音质量分析装置, 进 行语音质量分析装置能够进行语音质量分析的目的。 具体协商过程可以包括: 语音质量分析装置选择本地承载信息组成虚拟的主叫侧承载信息, 替代 原主叫侧承载信息, 与被叫侧进行媒体协商; 选择本地承载信息组成虚拟的 被叫侧承载信息, 替代原被叫侧承载信息, 与主叫侧进行媒体协商。  In another embodiment, obtaining the bearer information in step 101 may be further implemented as: obtaining bearer information of the calling party and the called side of the call to be analyzed; and obtaining, in step 102, the voice data packet of the call to be analyzed according to the bearer information, which may be implemented as: According to the bearer information of the calling party and the called side of the call to be analyzed, the media negotiation of the calling party and the called side of the call to be analyzed is performed; and the voice data packet sent by the calling party and the called party to be analyzed is received. That is, through the media negotiation on the calling party side, the voice data packet on the calling party side is sent to the voice quality analyzing device, and the voice quality analyzing device can perform the voice quality analysis. The specific negotiation process may include: the voice quality analysis device selects the local bearer information to form the virtual calling side bearer information, replaces the original calling side bearer information, and performs media negotiation with the called side; and selects the local bearer information to form a virtual called side bearer. The information replaces the original called side bearer information, and performs media negotiation with the calling side.
在接收到待分析呼叫主被叫侧发来的语音数据包后, 进行语音质量分析, 此时还可以将接收的语音数据包拷贝发送给呼叫对端, 以保持呼叫处理于正 常通话状态。  After receiving the voice data packet sent by the calling party and the called party to be analyzed, the voice quality analysis is performed. At this time, the received voice data packet copy can also be sent to the calling peer end to keep the call processing in the normal call state.
下面举一例, 本例中的语音质量分析过程示意图如图 3所示, 可以包括: 歩骤 301、 用户确定待分析呼叫的指定特征为主叫号码 (CallerNo) 888 001, 语音质量分析装置向媒体网关控制器提供该指定特征。  As shown in FIG. 3, the voice quality analysis process in this example is as shown in FIG. 3, and may include: Step 301: The user determines a designated feature of the call to be analyzed as a calling number (CallerNo) 888 001, and the voice quality analyzing device sends the media to the media. The gateway controller provides the specified feature.
歩骤 302、 当用户 888001呼入后, 媒体网关控制器分析出主叫号码 (Ca HerNo) , 确定该呼叫为待分析的呼叫, 则针对该呼叫启动语音质量分析流 程。 Step 302: After the user 888001 calls in, the media gateway controller analyzes the calling number (Ca HerNo), to determine that the call is a call to be analyzed, then initiate a voice quality analysis process for the call.
歩骤 303、 媒体网关控制器将主叫侧承载信息 (用户 888001所在终端的 真实 IP地址和端口号: 192. 168. 1. 200/2544) 发送给语音质量分析装置; 歩骤 304、 语音质量分析装置选择一个本地 IP地址与端口号, 组成一个 虚拟的主叫侧承载信息(虚拟的用户 888001所在终端的 IP地址 /端口号:192. 168. 1. 244/4330)发送媒体网关控制器;  Step 303: The media gateway controller sends the bearer side bearer information (the real IP address and port number of the terminal where the user 888001 is located: 192.168. 1.200/2544) to the voice quality analysis device. Step 304: Voice quality The analyzing device selects a local IP address and a port number to form a virtual calling side bearer information (the IP address/port number of the terminal where the virtual user 888001 is located: 192.168. 1. 244/4330) sends the media gateway controller;
歩骤 305、 媒体网关控制器将虚拟的 IP地址 /端口号(虚拟的用户 888001 所在终端的 IP地址 /端口号: 192. 168. 1. 244/4330)替代主叫侧真实的 IP地 址 /端口号 (用户 888001所在终端的真实 IP地址和端口号: 192. 168. 1. 200/ 2544) , 与被叫侧进行媒体协商;  Step 305: The media gateway controller replaces the virtual IP address/port number (the IP address/port number of the terminal where the virtual user 888001 is located: 192. 168. 1. 244/4330) instead of the real IP address/port of the calling side. No. (the real IP address and port number of the terminal where the user 888001 is located: 192. 168. 1. 200/ 2544), media negotiation with the called side;
歩骤 306、 被叫侧协商过程中, 将本段的承载信息 (被叫用户 888002所 在终端的真实 IP地址 /端口号: 192. 168. 1. 201/3372) 发送给媒体网关控制 器完成媒体协商;  Step 306: During the negotiation process of the called side, send the bearer information of the segment (the real IP address/port number of the terminal where the called user 888002 is located: 192. 168. 1. 201/3372) to the media gateway controller to complete the media. Negotiate
歩骤 307、 媒体网关控制器再将被叫侧承载信息 (被叫用户 888002所在 终端的真实 IP地址 /端口号: 192. 168. 1. 201/3372) 发送给语音质量分析装 置;  Step 307: The media gateway controller sends the called side bearer information (the real IP address/port number of the terminal where the called user 888002 is located: 192.168. 1. 201/3372) to the voice quality analysis device.
歩骤 308、 语音质量分析装置选择一个本地 IP地址与端口号, 组成一个 虚拟的被叫侧承载信息(虚拟的被叫用户 888002所在终端的 IP地址 /端口号: 192. 168. 1. 244/5508)发送给媒体网关控制器;  Step 308: The voice quality analysis device selects a local IP address and a port number to form a virtual called side bearer information (the IP address/port number of the terminal where the virtual called user 888002 is located: 192. 168. 1. 244/ 5508) sent to the media gateway controller;
歩骤 309、 媒体网关控制器将虚拟的 IP地址 /端口号 (虚拟的被叫用户 88 8002所在终端的 IP地址 /端口号: 192. 168. 1. 244/5508)替代被叫侧真实的 I P地址 /端口号(被叫用户 888002所在终端的真实 IP地址 /端口号: 192. 168. 1. 201/3372) , 与主叫侧进行媒体协商;  Step 309: The media gateway controller replaces the virtual IP address/port number (the IP address/port number of the terminal where the virtual called user 88 8002 is located: 192. 168. 1. 244/5508) to replace the real IP address of the called side. Address/port number (the real IP address/port number of the terminal where the called user 888002 is located: 192. 168. 1. 201/3372), media negotiation with the calling side;
歩骤 310、待媒体网关控制器完成主被叫侧的媒体协商后, 呼叫进入通话 状态, 语音质量分析装置开始陆续收到主被叫侧的语音数据包, 分析通话的 语音质量; 同时可以将收到的语音数据包拷贝发送给对端, 保持呼叫处于正 常通话状态。 Step 310: After the media gateway controller completes the media negotiation on the calling and called sides, the call enters a call state, and the voice quality analysis device starts to receive the voice data packet of the calling and called parties one after another, and analyzes the call. Voice quality; At the same time, the received voice packet copy can be sent to the peer to keep the call in normal call state.
由此可见, 本实施例中通过将虚拟的主叫侧承载信息替代原主叫侧承载 信息, 将虚拟的被叫侧承载信息替代原被叫侧承载信息, 进行主被叫侧的媒 体协商, 可以达到将主被叫侧的语音数据包发往语音质量分析装置, 从而进 行语音质量分析的目的。  Therefore, in this embodiment, by replacing the original calling side bearer information with the virtual calling side bearer information, the virtual called side bearer information is replaced by the original called side bearer information, and media negotiation on the calling and called side is performed. The voice data packet of the calling party and the called party can be sent to the voice quality analyzing device for the purpose of voice quality analysis.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分歩骤 是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一计算机可 读取存储介质中, 该程序在执行时, 可以包括上述实施例方法中的全部或部 分歩骤, 所述的存储介质可以包括: R0M、 RAM, 磁盘、 光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, and the program is executed. All or part of the steps of the foregoing embodiment may be included. The storage medium may include: ROM, RAM, magnetic disk, optical disk, and the like.
本发明实施例中还提供了一种语音质量分析装置, 如下面的实施例所述。 由于该装置解决问题的原理与语音质量分析方法相似, 因此该装置的实施可 以参见方法的实施, 重复之处不再赘述。  A voice quality analysis apparatus is also provided in the embodiment of the present invention, as described in the following embodiments. Since the principle of solving the problem of the device is similar to the voice quality analysis method, the implementation of the device can be referred to the implementation of the method, and the repeated description is not repeated.
本发明实施例提供一种语音质量分析装置, 其结构如图 4所示, 可以包 括:  The embodiment of the present invention provides a voice quality analysis apparatus, and the structure thereof is as shown in FIG. 4, which may include:
第一获得模块 401, 用于获得待分析呼叫的承载信息, 待分析呼叫具备指 定特征;  The first obtaining module 401 is configured to obtain bearer information of the call to be analyzed, and the call to be analyzed has the specified feature;
第二获得模块 402, 用于根据承载信息获得待分析呼叫的语音数据包; 分析模块 403, 用于对语音数据包进行语音质量分析。  The second obtaining module 402 is configured to obtain a voice data packet of the call to be analyzed according to the bearer information, and the analyzing module 403 is configured to perform voice quality analysis on the voice data packet.
一个实施例中, 第一获得模块 401具体可以用于:  In an embodiment, the first obtaining module 401 is specifically configured to:
对呼叫建立过程中的所有呼叫进行特征分析, 确定具备指定特征的呼叫, 并获得该呼叫的承载信息;  Perform feature analysis on all calls in the call setup process, determine a call with the specified feature, and obtain bearer information of the call;
或, 向媒体网关控制器提供指定特征; 接收媒体网关控制器返回的具备 指定特征的呼叫的承载信息。  Or, providing a specified feature to the media gateway controller; receiving bearer information of the call with the specified feature returned by the media gateway controller.
如图 5所示, 一个实施例中, 第二获得模块 402可以包括:  As shown in FIG. 5, in an embodiment, the second obtaining module 402 may include:
发送单元 501, 用于根据承载信息向 IP承载设备发送镜像信息, 镜像信 息包括语音数据包的源 IP地址、 端口号和镜像数据的目的 IP地址; 第一接收单元 502, 用于接收 IP承载设备根据镜像信息返回的语音数据 包的镜像数据; The sending unit 501 is configured to send the mirroring information to the IP bearer device according to the bearer information, and the mirror image The information includes a source IP address of the voice data packet, a port number, and a destination IP address of the mirrored data. The first receiving unit 502 is configured to receive mirror data of the voice data packet returned by the IP bearer device according to the mirroring information.
此时分析模块 403具体可以用于: 对镜像数据进行语音质量分析。  At this time, the analysis module 403 can be specifically configured to: perform voice quality analysis on the mirrored data.
一个实施例中, 发送单元 501具体可以用于:  In an embodiment, the sending unit 501 is specifically configured to:
通过扩展媒体网关控制信令, 向 IP承载设备发送镜像信息。  The image information is sent to the IP bearer device by extending the media gateway control signaling.
一个实施例中, 第一获得模块 401 具体可以用于: 获得待分析呼叫主被 叫侧的承载信息;  In an embodiment, the first obtaining module 401 is specifically configured to: obtain bearer information of a calling party to be analyzed on the call to be analyzed;
如图 6所示, 此时第二获得模块 402可以包括:  As shown in FIG. 6, the second obtaining module 402 can include:
协商单元 601,用于根据待分析呼叫主被叫侧的承载信息, 进行待分析呼 叫主被叫侧的媒体协商;  The negotiating unit 601 is configured to perform media negotiation on the called party side to be analyzed according to the bearer information of the calling party and the called side to be analyzed;
第二接收单元 602, 用于接收待分析呼叫主被叫侧发来的语音数据包。 一个实施例中, 协商单元 601具体可以用于:  The second receiving unit 602 is configured to receive a voice data packet sent by the calling party and the called party to be analyzed. In an embodiment, the negotiating unit 601 can be specifically configured to:
选择本地承载信息组成虚拟的主叫侧承载信息, 替代原主叫侧承载信息, 与被叫侧进行媒体协商;  Selecting the local bearer information to form the virtual bearer side bearer information, replacing the original calling side bearer information, and performing media negotiation with the called side;
选择本地承载信息组成虚拟的被叫侧承载信息, 替代原被叫侧承载信息, 与主叫侧进行媒体协商。  The local bearer information is selected to form a virtual called side bearer information, which replaces the original called side bearer information, and performs media negotiation with the calling side.
如图 7所示, 一个实施例中, 图 6所示语音质量分析装置还可以包括: 发送模块 701,用于在第二接收单元接收待分析呼叫主被叫侧发来的语音 数据包后, 将接收的语音数据包拷贝发送给呼叫对端。  As shown in FIG. 7, in an embodiment, the voice quality analysis apparatus shown in FIG. 6 may further include: a sending module 701, configured to: after the second receiving unit receives the voice data packet sent by the calling party and the called party to be analyzed, Send a copy of the received voice packet to the calling peer.
本发明实施例中, 先获得具备指定特征的待分析呼叫的承载信息, 再根 据承载信息获得待分析呼叫的语音数据包, 对语音数据包进行语音质量分析, 因此不必在抓取所有网络数据后再进行数据过滤处理, 所处理的数据量大大 减少, 从而有效减少了语音质量分析的工作量, 提高了语音质量分析效率。 本发明实施例实现了 IP网络中呼叫级的语音抓包、 语音质量分析, 并能够根 据呼叫的一些相关信息, 包括呼叫所具备的指定特征和呼叫的承载信息等, 实现语音流分析, 而不是现有技术中的网络级语音分析。 In the embodiment of the present invention, the bearer information of the call to be analyzed with the specified feature is obtained, and the voice data packet of the call to be analyzed is obtained according to the bearer information, and the voice data packet is analyzed for voice quality, so that it is not necessary to capture all the network data. After the data filtering process, the amount of processed data is greatly reduced, thereby effectively reducing the workload of voice quality analysis and improving the efficiency of voice quality analysis. The embodiment of the invention implements voice packet capture and voice quality analysis of the call level in the IP network, and can be based on some related information of the call, including specified features of the call and bearer information of the call, etc. Implement voice stream analysis instead of network-level voice analysis in the prior art.
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进行了 进一歩详细说明, 所应理解的是, 以上所述仅为本发明的具体实施例而已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任 何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the invention, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求 Rights request
1、 一种语音质量分析方法, 其特征在于, 该方法包括:  A voice quality analysis method, characterized in that the method comprises:
获得待分析呼叫的承载信息, 所述待分析呼叫具备指定特征;  Obtaining bearer information of the call to be analyzed, where the call to be analyzed has a designated feature;
根据所述承载信息获得所述待分析呼叫的语音数据包;  Obtaining, according to the bearer information, a voice data packet of the to-be-analyzed call;
对所述语音数据包进行语音质量分析。  Performing speech quality analysis on the voice data packet.
2、 如权利要求 1所述的方法, 其特征在于, 获得所述承载信息, 包括: 对呼叫建立过程中的所有呼叫进行特征分析, 确定具备所述指定特征的 呼叫, 并获得该呼叫的承载信息;  2. The method according to claim 1, wherein the obtaining the bearer information comprises: performing feature analysis on all calls in the call setup process, determining a call with the specified feature, and obtaining a bearer of the call. Information
或, 向媒体网关控制器提供所述指定特征; 接收媒体网关控制器返回的 具备所述指定特征的呼叫的承载信息。  Or providing the specified feature to the media gateway controller; receiving bearer information of the call with the specified feature returned by the media gateway controller.
3、 如权利要求 1所述的方法, 其特征在于, 根据所述承载信息获得所述 待分析呼叫的语音数据包, 包括:  The method of claim 1, wherein the obtaining the voice data packet of the call to be analyzed according to the bearer information comprises:
根据所述承载信息向 IP承载设备发送镜像信息, 所述镜像信息包括所述 语音数据包的源 IP地址、 端口号和镜像数据的目的 IP地址;  Transmitting the mirroring information to the IP bearer device according to the bearer information, where the mirroring information includes a source IP address, a port number, and a destination IP address of the mirrored data packet;
接收 IP承载设备根据所述镜像信息返回的所述语音数据包的镜像数据; 对所述语音数据包进行语音质量分析, 包括:  And receiving the image data of the voice data packet returned by the IP bearer device according to the image information; performing voice quality analysis on the voice data packet, including:
对所述镜像数据进行语音质量分析。  Performing voice quality analysis on the mirrored data.
4、 如权利要求 3所述的方法, 其特征在于, 向 IP承载设备发送所述镜 像信息, 包括:  The method of claim 3, wherein the transmitting the mirror information to the IP bearer comprises:
通过扩展的媒体网关控制信令, 向 IP承载设备发送所述镜像信息。  The mirroring information is sent to the IP bearer device by the extended media gateway control signaling.
5、 如权利要求 1所述的方法, 其特征在于, 获得所述承载信息, 包括: 获得所述待分析呼叫主被叫侧的承载信息;  The method according to claim 1, wherein the obtaining the bearer information comprises: obtaining bearer information of the calling party and the called side of the to-be-analyzed call;
根据所述承载信息获得所述待分析呼叫的语音数据包, 包括:  Obtaining the voice data packet of the to-be-analyzed call according to the bearer information, including:
根据所述待分析呼叫主叫侧和被叫侧的承载信息, 进行所述待分析呼叫 主叫侧和被叫侧的媒体协商;  Performing media negotiation between the calling side and the called side of the to-be-analyzed call according to the bearer information of the calling party and the called side to be analyzed;
接收所述待分析呼叫主叫侧和被叫侧发来的语音数据包。 Receiving a voice data packet sent by the calling side and the called side of the to-be-analyzed call.
6、 如权利要求 5所述的方法, 其特征在于, 根据所述待分析呼叫主被叫 侧的承载信息, 进行所述待分析呼叫主被叫侧的媒体协商, 包括: The method according to claim 5, wherein, according to the bearer information of the calling party and the called party to be analyzed, the media negotiation of the calling party and the called party to be analyzed is performed, including:
选择本地承载信息组成虚拟的主叫侧承载信息, 替代原主叫侧承载信息, 与被叫侧进行媒体协商;  Selecting the local bearer information to form the virtual bearer side bearer information, replacing the original calling side bearer information, and performing media negotiation with the called side;
选择本地承载信息组成虚拟的被叫侧承载信息, 替代原被叫侧承载信息, 与主叫侧进行媒体协商。  The local bearer information is selected to form a virtual called side bearer information, which replaces the original called side bearer information, and performs media negotiation with the calling side.
7、 如权利要求 5所述的方法, 其特征在于, 接收所述待分析呼叫主被叫 侧发来的语音数据包后, 还包括:  The method of claim 5, after receiving the voice data packet sent by the calling party and the called party to be analyzed, the method further includes:
将接收的语音数据包拷贝发送给呼叫对端。  Send a copy of the received voice packet to the calling peer.
8、 一种语音质量分析装置, 其特征在于, 该装置包括:  8. A voice quality analysis device, the device comprising:
第一获得模块, 用于获得待分析呼叫的承载信息, 所述待分析呼叫具备 指定特征;  a first obtaining module, configured to obtain bearer information of the call to be analyzed, where the to-be-analyzed call has a designated feature;
第二获得模块, 用于根据所述承载信息获得所述待分析呼叫的语音数据 包;  a second obtaining module, configured to obtain, according to the bearer information, a voice data packet of the to-be-analyzed call;
分析模块, 用于对所述语音数据包进行语音质量分析。  An analysis module is configured to perform voice quality analysis on the voice data packet.
9、如权利要求 8所述的装置, 其特征在于,所述第一获得模块具体用于: 对呼叫建立过程中的所有呼叫进行特征分析, 确定具备所述指定特征的 呼叫, 并获得该呼叫的承载信息;  The device according to claim 8, wherein the first obtaining module is specifically configured to: perform feature analysis on all calls in the call setup process, determine a call with the specified feature, and obtain the call. Bearer information;
或, 向媒体网关控制器提供所述指定特征; 接收媒体网关控制器返回的 具备所述指定特征的呼叫的承载信息。  Or providing the specified feature to the media gateway controller; receiving bearer information of the call with the specified feature returned by the media gateway controller.
10、 如权利要求 8所述的装置, 其特征在于, 所述第二获得模块包括: 发送单元, 用于根据所述承载信息向 IP承载设备发送镜像信息, 所述镜 像信息包括所述语音数据包的源 IP地址、 端口号和镜像数据的目的 IP地址; 第一接收单元, 用于接收 IP承载设备根据所述镜像信息返回的所述语音 数据包的镜像数据;  The device according to claim 8, wherein the second obtaining module comprises: a sending unit, configured to send mirroring information to the IP bearer device according to the bearer information, where the mirroring information includes the voice data a source IP address, a port number, and a destination IP address of the mirrored data; the first receiving unit is configured to receive mirror data of the voice data packet returned by the IP bearer device according to the mirroring information;
所述分析模块具体用于: 对所述镜像数据进行语音质量分析。 The analyzing module is specifically configured to: perform voice quality analysis on the mirrored data.
11、 如权利要求 10所述的装置, 其特征在于, 所述发送单元具体用于: 通过扩展媒体网关控制信令, 向 IP承载设备发送所述镜像信息。 The device according to claim 10, wherein the sending unit is specifically configured to: send the mirroring information to the IP bearer by extending the media gateway control signaling.
12、 如权利要求 8所述的装置, 其特征在于, 所述第一获得模块具体用 于: 获得所述待分析呼叫主被叫侧的承载信息;  The device according to claim 8, wherein the first obtaining module is specifically configured to: obtain bearer information of the calling party and the called side of the to-be-analyzed call;
所述第二获得模块包括:  The second obtaining module includes:
协商单元, 用于根据所述待分析呼叫主被叫侧的承载信息, 进行所述待 分析呼叫主被叫侧的媒体协商;  a negotiating unit, configured to perform, according to the bearer information of the calling party and the called side of the to-be-analyzed call, the media negotiation of the calling party and the called party to be analyzed;
第二接收单元, 用于接收所述待分析呼叫主被叫侧发来的语音数据包。 The second receiving unit is configured to receive the voice data packet sent by the calling party and the called party to be analyzed.
13、 如权利要求 12所述的装置, 其特征在于, 所述协商单元具体用于: 选择本地承载信息组成虚拟的主叫侧承载信息, 替代原主叫侧承载信息, 与被叫侧进行媒体协商; The apparatus according to claim 12, wherein the negotiating unit is specifically configured to: select local bearer information to form virtual bearer side bearer information, replace the original calling side bearer information, and perform media with the called side Negotiate
选择本地承载信息组成虚拟的被叫侧承载信息, 替代原被叫侧承载信息, 与主叫侧进行媒体协商。  The local bearer information is selected to form a virtual called side bearer information, which replaces the original called side bearer information, and performs media negotiation with the calling side.
14、 如权利要求 12所述的装置, 其特征在于, 还包括:  14. The device of claim 12, further comprising:
发送模块, 用于在所述第二接收单元接收所述待分析呼叫主被叫侧发来 的语音数据包后, 将接收的语音数据包拷贝发送给呼叫对端。  And a sending module, configured to: after the second receiving unit receives the voice data packet sent by the calling party and the called party to be analyzed, send the received voice data packet copy to the calling peer end.
PCT/CN2011/071464 2010-03-29 2011-03-02 Method and device for analyzing voice quality WO2011120367A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201010137008 CN102208990B (en) 2010-03-29 2010-03-29 Voice quality analysis method and device
CN201010137008.4 2010-03-29

Publications (1)

Publication Number Publication Date
WO2011120367A1 true WO2011120367A1 (en) 2011-10-06

Family

ID=44697662

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071464 WO2011120367A1 (en) 2010-03-29 2011-03-02 Method and device for analyzing voice quality

Country Status (2)

Country Link
CN (1) CN102208990B (en)
WO (1) WO2011120367A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710513A (en) * 2012-05-24 2012-10-03 华为技术有限公司 Message mirror image method and equipment
CN105897511A (en) * 2016-04-11 2016-08-24 烽火通信科技股份有限公司 Analysis method and system for sending packet to CPU for screening based on packet loss reason
CN110730274B (en) * 2019-10-17 2021-11-19 厦门快商通科技股份有限公司 Voice packet capture analysis method, system, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036945A (en) * 1999-07-22 2001-02-09 Nec Corp Cellular system and voice quality evaluating method
CN1625086A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Method and system for detecting voice quality
CN1705266A (en) * 2004-05-29 2005-12-07 华为技术有限公司 Method for acquiring specified message from remote and uses and system thereof
CN101425935A (en) * 2007-11-01 2009-05-06 中兴通讯股份有限公司 VoIP service customer experience quality test and monitoring method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421734B2 (en) * 2003-10-03 2008-09-02 Verizon Services Corp. Network firewall test methods and apparatus
CN101123612B (en) * 2007-08-02 2010-04-21 华为技术有限公司 Method and communication device for virtual media capability negotiation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036945A (en) * 1999-07-22 2001-02-09 Nec Corp Cellular system and voice quality evaluating method
CN1625086A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Method and system for detecting voice quality
CN1705266A (en) * 2004-05-29 2005-12-07 华为技术有限公司 Method for acquiring specified message from remote and uses and system thereof
CN101425935A (en) * 2007-11-01 2009-05-06 中兴通讯股份有限公司 VoIP service customer experience quality test and monitoring method and system

Also Published As

Publication number Publication date
CN102208990A (en) 2011-10-05
CN102208990B (en) 2013-10-09

Similar Documents

Publication Publication Date Title
US10778731B2 (en) Communications methods, apparatus and systems for conserving media resource function resources
JP4763800B2 (en) Method and apparatus for establishing a multimedia communication session
JP2004088772A (en) Monitor of real-time transport protocol (rtp) data stream by call
US20080165787A1 (en) Method for negotiating about the media stream packet time length
JP4268129B2 (en) Signaling packet delivery control with specific commands from applications to optimize delivery to wireless networks
US20160308919A1 (en) Speech communication terminal, intermediate node, processing device, connection method, and non-transitory computer-readable recording medium
JP2008541532A (en) Signaling of quality of service (QoS) parameters for multimedia sessions
WO2015192682A1 (en) Communication method and terminal
US9826072B1 (en) Network-terminal interoperation using compatible payloads
WO2010020169A1 (en) Media bypass method, system and apparatus
WO2017173903A1 (en) Video call implementation method, terminal, and computer storage medium
CN113395284B (en) Multi-scene voice service real-time matching method, system, equipment and storage medium
KR20160026631A (en) Hybrid cloud media architecture for media communications
JP2009194674A (en) Communication terminal device and control method of communication terminal device
WO2012075966A1 (en) Processing method for media streams, and media gateway
WO2011120367A1 (en) Method and device for analyzing voice quality
WO2013189430A2 (en) Method, system, and media server for implementing automatic speech recognition service
WO2008086741A1 (en) Method, apparatus and system for realizing et.38 facsimile service in internet
JP6405804B2 (en) Codec arbitration device and program
WO2017152566A1 (en) Method for negotiating media coding/decoding, and terminal device
KR20140001477A (en) Apparatus and method for efficient session negotiation for video telephony system
JP2017028591A (en) Resource securing device and resource securing method
RU2446605C2 (en) Method, system and device for reconciliation of session initiation protocol signaling data service
WO2014000429A1 (en) Method and device for realizing terminal mobile service in internet protocol (ip) multimedia subsystem architecture
JP6348875B2 (en) RELAY DEVICE, CALL CONTROL SYSTEM, CALL CONTROL METHOD, AND CALL CONTROL PROGRAM

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: 11761941

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: 11761941

Country of ref document: EP

Kind code of ref document: A1