CN102208990B - Speech quality analysis method and device - Google Patents
Speech quality analysis method and device Download PDFInfo
- Publication number
- CN102208990B CN102208990B CN 201010137008 CN201010137008A CN102208990B CN 102208990 B CN102208990 B CN 102208990B CN 201010137008 CN201010137008 CN 201010137008 CN 201010137008 A CN201010137008 A CN 201010137008A CN 102208990 B CN102208990 B CN 102208990B
- Authority
- CN
- China
- Prior art keywords
- call
- information
- bearer
- bearer information
- analyzed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/69—Speech 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
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)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及语音质量分析方法及装置。The invention relates to the technical field of communication, in particular to a voice quality analysis method and device.
背景技术Background technique
在NGN(Next Generation Network,下一代网络)/IMS(IP Multimedia Subsystem,IP多媒体子系统)组网的应用下,IP(Internet Protocol,网际协议)化呼叫的SIP(Session initiation protocol,会话发起协议)/BICC(Bearer Independent Call Control protocol,呼叫保持协议)得到了广泛应用。呼叫语音流承载在IP网络中,由于IP网络的开放性,承载于IP网络的呼叫难免出现语音质量问题,因此,语音质量的监控成为一个例行化的网络维护工作,如何在大量呼叫中,针对具备某种特征的呼叫进行语音质量分析,成为一个难题。Under the application of NGN (Next Generation Network, next-generation network)/IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) networking, SIP (Session initiation protocol, session initiation protocol) for IP (Internet Protocol, Internet Protocol) calls /BICC (Bearer Independent Call Control protocol, call hold protocol) has been widely used. The voice stream of the call is carried on the IP network. Due to the openness of the IP network, voice quality problems will inevitably occur in the calls carried on the IP network. Therefore, the monitoring of the voice quality has become a routine network maintenance work. It becomes a difficult problem to analyze the voice quality of calls with certain characteristics.
在NGN/IMS组网网络中,常用的语音质量分析方法是:在承载网中部署一个装有网络数据抓包工具的设备,将网络交换机的所有网络数据镜像到该设备上;该设备再根据具备指定特征的呼叫的信令消息过滤IP数据包得到该呼叫的语音数据包。In the NGN/IMS networking network, the commonly used voice quality analysis method is: deploy a device equipped with a network data packet capture tool in the bearer network, and mirror all network data of the network switch to the device; The signaling message of the call with the specified characteristics filters the IP data packet to obtain the voice data packet of the call.
发明人在实现本发明的过程中,发现上述现有技术存在如下不足:In the process of realizing the present invention, the inventor found that the above-mentioned prior art has the following deficiencies:
现有技术中语音质量分析的工作量非常大,语音质量分析工作效率低下。In the prior art, the workload of voice quality analysis is very large, and the working efficiency of voice quality analysis is low.
发明内容Contents of the invention
本发明实施例提供一种语音质量分析方法,用以减少语音质量分析的工作量,提高语音质量分析效率,该方法包括:An embodiment of the present invention provides a voice quality analysis method to reduce the workload of voice quality analysis and improve the efficiency of voice quality analysis. The method includes:
获得待分析呼叫的承载信息,所述待分析呼叫具备指定特征,所述承载信息包括与所述待分析呼叫的承载控制有关的信息;Obtaining bearer information of the call to be analyzed, the call to be analyzed has specified characteristics, and the bearer information includes information related to bearer control of the call to be analyzed;
根据所述承载信息获得所述待分析呼叫的语音数据包;Obtain the voice data packet of the call to be analyzed according to the bearer information;
对所述语音数据包进行语音质量分析;其中,根据所述承载信息获得所述待分析呼叫的语音数据包,包括:根据所述承载信息向IP承载设备发送镜像信息,所述镜像信息包括所述语音数据包的源IP地址、端口号和镜像数据的目的IP地址;接收IP承载设备根据所述镜像信息返回的所述语音数据包的镜像数据;对所述语音数据包进行语音质量分析,包括:对所述镜像数据进行语音质量分析。Performing voice quality analysis on the voice data packet; wherein, obtaining the voice data packet of the call to be analyzed according to the bearer information includes: sending mirror information to an IP bearer device according to the bearer information, and the mirror information includes the The source IP address of the voice data packet, the port number and the destination IP address of the mirror image data; receiving the mirror image data of the voice data packet returned by the IP bearer device according to the mirror image information; performing voice quality analysis on the voice data packet, The method includes: analyzing the voice quality of the image data.
本发明实施例还提供一种语音质量分析装置,用以减少语音质量分析的工作量,提高语音质量分析效率,该装置包括:The embodiment of the present invention also 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, the call to be analyzed has specified characteristics, and the bearer information includes information related to bearer control of the call to be analyzed;
第二获得模块,用于根据所述承载信息获得所述待分析呼叫的语音数据包;A second obtaining module, configured to obtain the voice data packet of the call to be analyzed according to the bearer information;
分析模块,用于对所述语音数据包进行语音质量分析;An analysis module, configured to analyze the voice quality of the voice data packet;
其中,所述第二获得模块包括:发送单元,用于根据所述承载信息向IP承载设备发送镜像信息,所述镜像信息包括所述语音数据包的源IP地址、端口号和镜像数据的目的IP地址;第一接收单元,用于接收IP承载设备根据所述镜像信息返回的所述语音数据包的镜像数据;所述分析模块具体用于:对所述镜像数据进行语音质量分析。Wherein, the second obtaining module includes: a sending unit, configured to send mirror information to the IP bearer device according to the bearer information, and the mirror information includes the source IP address, port number and destination of the mirror data of the voice data packet IP address; a first receiving unit, configured to receive the mirror data of the voice data packet returned by the IP bearer device according to the mirror information; the analysis module is specifically used to: analyze the voice quality of the mirror data.
本发明实施例中,先获得具备指定特征的待分析呼叫的承载信息,再根据所述承载信息获得所述待分析呼叫的语音数据包,对所述语音数据包进行语音质量分析,因此不必在抓取所有网络数据后再进行数据过滤处理,所处理的数据量大大减少,从而有效减少了语音质量分析的工作量,提高了语音质量分析效率。In the embodiment of the present invention, the bearer information of the call to be analyzed with specified characteristics 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, so it is not necessary to After capturing all the network data and then performing data filtering, 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.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort. In the attached picture:
图1为本发明实施例中语音质量分析方法的处理流程图;Fig. 1 is the processing flowchart of speech quality analysis method in the embodiment of the present invention;
图2为本发明实施例中语音质量分析的一个具体实例的示意图;Fig. 2 is the schematic diagram of a specific example of speech quality analysis in the embodiment of the present invention;
图3为本发明实施例中语音质量分析的另一具体实例的示意图;FIG. 3 is a schematic diagram of another specific example of speech quality analysis in an embodiment of the present invention;
图4为本发明实施例中语音质量分析装置的结构示意图;4 is a schematic structural diagram of a voice quality analysis device in an embodiment of the present invention;
图5为本发明实施例中语音质量分析装置的结构示意图;5 is a schematic structural diagram of a voice quality analysis device in an embodiment of the present invention;
图6为本发明实施例中语音质量分析装置的结构示意图;6 is a schematic structural diagram of a voice quality analysis device in an embodiment of the present invention;
图7为本发明实施例中语音质量分析装置的具体实例的结构示意图。Fig. 7 is a schematic structural diagram of a specific example of a voice quality analysis device in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.
如图1所示,本发明实施例中,语音质量分析方法的处理流程可以包括:As shown in Figure 1, in the embodiment of the present invention, the processing flow of the voice quality analysis method may include:
步骤101、获得具备指定特征的待分析呼叫的承载信息;
步骤102、根据承载信息,获得待分析呼叫的语音数据包;
步骤103、对语音数据包进行语音质量分析。
由图1所示流程可以得知,本发明实施例中,先获得具备指定特征的待分析呼叫的承载信息,再根据承载信息获得待分析呼叫的语音数据包,对语音数据包进行语音质量分析,因此不必在抓取所有网络数据后再进行数据过滤处理,所处理的数据量大大减少,从而有效减少了语音质量分析的工作量,提高了语音质量分析效率。本发明实施例实现了IP网络中呼叫级的语音抓包、语音质量分析,并能够根据呼叫的一些相关信息,包括呼叫所具备的指定特征和呼叫的承载信息等,实现语音流分析,而不是现有技术中的网络级语音分析。As can be seen from the process shown in Figure 1, in the embodiment of the present invention, the bearer information of the call to be analyzed with specified characteristics 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 , so it is not necessary to perform data filtering after capturing all network data, 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 present invention realizes call-level voice packet capture and voice quality analysis in an IP network, and can realize voice stream analysis based on some related information of the call, including the specified features of the call and the bearer information of the call, instead of Network-level speech analysis in the state of the art.
图1所示流程可由能够实现其功能的装置实施,例如该装置可以是媒体网关控制器(Media Gateway Controller,MGC),当然该装置也可以是其它独立装置,还可以是能够内嵌于媒体网关控制器的某种装置。由于媒体网关控制器本身已具备信令分析能力,因此实施时,将该装置实现为媒体网关控制器时更为方便。The process shown in Figure 1 can be implemented by a device that can realize its functions, for example, the device can be a Media Gateway Controller (MGC), of course, the device can also be other independent devices, or it can be embedded in the media gateway A device of some sort. Since the media gateway controller itself already has signaling analysis capabilities, it is more convenient to realize the device as a media gateway controller during implementation.
例如,当该装置为媒体网关控制器时,步骤101可具体实施为:对呼叫建立过程中的所有呼叫进行特征分析,确定具备指定特征的呼叫,并获得该呼叫的承载信息。又如,当该装置为独立于媒体网关控制器的某一装置时,仍可利用媒体网关控制器的信令分析能力实施步骤101,即:该装置向媒体网关控制器提供上述指定特征;媒体网关控制器对呼叫建立过程中的所有呼叫进行特征分析,确定具备上述指定特征的呼叫,并获得该呼叫的承载信息;该装置再接收媒体网关控制器发来的具备上述指定特征的呼叫的承载信息。For example, when the device is a media gateway controller,
举一具体实例,本例中图1所示流程的实施装置独立于媒体网关控制器,为描述方便,可称为语音质量分析装置。用户通过该语音质量分析装置发起对具备某些指定特征的呼叫进行语音质量分析;媒体网关控制器分析呼叫建立过程中的所有呼叫信令,例如SIP、SIP-I、或BICC等协议的信令,获得具备这些指定特征的呼叫的承载信息。实施中前述指定特征可以有多种,可根据实际需要设定,例如可以是主叫号码、被叫号码或CALL-ID(呼叫标识)等信息。前述承载信息可以包括待分析呼叫主叫侧和被叫侧的SDP(Session Description Protocol,会话描述协议)信息,SDP信息包括IP地址和端口号;当然实施时,前述承载信息还可以包括其它一些与待分析呼叫的承载控制有关的信息。To give a specific example, in this example, the device for implementing the process shown in FIG. 1 is independent of the media gateway controller. For convenience of description, it may be called a voice quality analysis device. The user initiates voice quality analysis on calls with certain specified characteristics through the voice quality analysis device; the media gateway controller analyzes all call signaling in the call establishment process, such as signaling of protocols such as SIP, SIP-I, or BICC , to obtain the bearer information of calls with these specified characteristics. In the implementation, there can be many kinds of specified features, which can be set according to actual needs, for example, it can be calling number, called number or CALL-ID (call identification) and other information. The aforementioned bearer information can include the SDP (Session Description Protocol, Session Description Protocol) information of the caller side and the called side to be analyzed, and the SDP information includes an IP address and a port number; of course, during implementation, the aforementioned bearer information can also include other related information. Information about the bearer control of the call to be analyzed.
具体实施时,步骤102中根据承载信息获得待分析呼叫的语音数据包可以有多种实现方式,例如可实施为:根据上述承载信息向IP承载设备发送镜像信息,镜像信息包括语音数据包的源IP地址、端口号、和镜像数据的目的IP地址;接收IP承载设备根据镜像信息返回的语音数据包的镜像数据;按此实施方式,步骤103可具体实施为:对接收的镜像数据进行语音质量分析。During specific implementation, in
本实施例中,根据具备指定特征的待分析呼叫的承载信息获得该呼叫语音数据包的镜像信息,将该镜像信息发往IP承载设备,IP承载设备就可以根据镜像信息中语音数据包的源IP地址和端口号获得语音数据包,并根据镜像信息中语音数据包的镜像数据目的IP地址(即语音质量分析装置的目的IP地址),将语音数据包镜像至目的IP地址,即前述语音质量分析装置,语音质量分析装置就可以对语音数据包的镜像数据进行语音质量分析了。In this embodiment, according to the bearer information of the call to be analyzed with specified characteristics, the mirror image information of the call voice data packet is obtained, and the mirror image information is sent to the IP bearer device, and the IP bearer device can use the source of the voice data packet in the mirror image information The IP address and port number are used to obtain the voice data packet, and according to the mirror data destination IP address of the voice data packet in the mirror information (that is, the destination IP address of the voice quality analysis device), the voice data packet is mirrored to the destination IP address, that is, the aforementioned voice quality Analyzing device, the voice quality analyzing device just can carry out voice quality analysis to the image data of voice data packet.
前述IP承载设备可以有多种,例如可以是媒体网关(Media Gateway,MGW)、网络交换设备等。实施中语音质量分析装置在进行语音质量分析时,可以分析接收到的语音数据包的报文时延或丢包等参数值的情况,还可以将语音数据包转换为wav等格式的语音文件供用户体验。将镜像信息发往IP承载设备时可以通过扩展媒体网关控制信令来实现,例如可扩展H.248信令。The foregoing IP bearer device may be of various types, for example, it may be a media gateway (Media Gateway, MGW), a network switching device, and the like. During the implementation, the voice quality analysis device can analyze the message time delay or packet loss and other parameter values of the voice data packets received, and can also convert the voice data packets into voice files in formats such as wav for the voice quality analysis. user experience. Sending the mirroring information to the IP bearer device can be implemented by extending the media gateway control signaling, for example, the H.248 signaling can be extended.
下面给出本发明实施例中语音质量分析的一个具体实例,其分析过程示意图如图2所示,可以包括:A specific example of voice quality analysis in the embodiment of the present invention is provided below, and its analysis process schematic diagram is as shown in Figure 2, and can include:
步骤201、用户确定待分析呼叫的指定特征,例如该指定特征为呼叫号码或CALL-ID,如呼叫号码为888001,语音质量分析装置向媒体网关控制器发送该指定特征。Step 201, the user determines the specified feature of the call to be analyzed, for example, the specified feature is the call number or CALL-ID, such as the call number is 888001, and the voice quality analysis device sends the specified feature to the media gateway controller.
步骤202、媒体网关控制器在呼叫建立过程中,分析所有呼叫的特征,当分析到上述指定特征的呼叫后,在该呼叫建立过程中将承载信息发送给语音质量分析装置,承载信息包括主叫侧和被叫侧的SDP(Session DescriptionProtocol,会话描述协议)信息,而该SDP信息包含了主叫和被叫分别对应的媒体网关的IP地址和端口号。Step 202, the media gateway controller analyzes the characteristics of all calls during the call establishment process. After analyzing the calls with the above-mentioned specified characteristics, it sends the bearer information to the voice quality analysis device during the call establishment process. The bearer information includes the caller SDP (Session Description Protocol, Session Description Protocol) information on the called side and the called side, and the SDP information includes the IP addresses and port numbers of the media gateways corresponding to the calling and called 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 MGC1 and MGC2, analyzes the signaling of protocols such as SIP, SIP-I, or BICC, and after learning that the calling number is 888001, the calling number of the calling party in the call is 888001, corresponding The IP address and port number of MGW1 are 192.168.1.200:4500, the called number in this call is 888002, and the corresponding IP address and port number of MGW2 are 192.168.3.240:3853.
步骤203、语音质量分析装置根据承载信息分别向对应的媒体网关发送镜像信息,镜像信息包括镜像对象,即语音数据包的源IP地址和端口号、镜像数据目的IP地址。Step 203, the voice quality analysis device sends mirroring information to corresponding media gateways respectively according to the bearer information, and the mirroring information includes mirroring objects, ie the source IP address and port number of the voice data packet, and the destination IP address of the mirroring data.
例如:这里的语音数据包的源IP地址和端口号包括:MGW1和MGW2的IP地址和端口号,镜像数据目的为语音质量分析装置,发往MGW1的语音数据包的源IP地址和端口号为192.168.1.200:4500,镜像数据目的IP地址为192.168.10.244,发往MGW2的语音数据包的源IP地址和端口号为192.168.1.200:3853,镜像数据目的IP为192.168.10.244。For example: the source IP address and the port number of the voice data packet here include: the IP address and the port number of MGW1 and MGW2, the mirror data purpose is the voice quality analysis device, and the source IP address and the port number of the voice data packet sent to MGW1 are 192.168.1.200:4500, the destination IP address of the mirrored data is 192.168.10.244, the source IP address and port number of the voice data packet sent to MGW2 is 192.168.1.200:3853, and the destination IP address of the mirrored data is 192.168.10.244.
步骤204、媒体网关在收到镜像信息后,将镜像对象的交互数据发送给语音质量分析装置。Step 204: After receiving the mirroring information, the media gateway sends the interaction data of the mirroring object to the voice quality analysis device.
MGW1和MGW2在收到镜像信息后,分别将主叫和被叫的交互数据发送给语音质量分析装置。After receiving the image information, MGW1 and MGW2 respectively send the calling and called interaction data to the voice quality analysis device.
步骤205、语音质量分析装置对收到的语音数据包进行分析,得出报文时延/丢包等参数值的情况,并将语音数据包转换为wav等格式语音文件供体验。Step 205, the voice quality analysis device analyzes the received voice data packets, obtains the parameter values such as packet delay/packet loss, and converts the voice data packets into voice files in formats such as wav for experience.
本例除利用了媒体网关控制器的信令分析能力外,还综合利用了IP承载设备的语音数据传输能力,实现IP网络中呼叫级的语音抓包、语音质量分析。In this example, in addition to the signaling analysis capability of the media gateway controller, the voice data transmission capability of the IP bearer equipment is also comprehensively used to realize call-level voice packet capture and voice quality analysis in the IP network.
另一实施例中,步骤101中获得承载信息还可实施为:获得待分析呼叫主被叫侧的承载信息;步骤102中根据承载信息获得待分析呼叫的语音数据包,可实施为:根据待分析呼叫主被叫侧的承载信息,进行待分析呼叫主被叫侧的媒体协商;接收待分析呼叫主被叫侧发来的语音数据包。即通过主被叫侧的媒体协商,达到将主被叫侧的语音数据包发往语音质量分析装置,进行语音质量分析装置能够进行语音质量分析的目的。具体协商过程可以包括:In another embodiment, obtaining the bearer information in
语音质量分析装置选择本地承载信息组成虚拟的主叫侧承载信息,替代原主叫侧承载信息,与被叫侧进行媒体协商;选择本地承载信息组成虚拟的被叫侧承载信息,替代原被叫侧承载信息,与主叫侧进行媒体协商。The voice quality analysis device selects local bearer information to form virtual calling side bearer information, replaces the original calling side bearer information, and performs media negotiation with the called side; selects local bearer information to form virtual called side bearer information, and replaces the original called side bearer information. The side bears information and performs media negotiation with the calling side.
在接收到待分析呼叫主被叫侧发来的语音数据包后,进行语音质量分析,此时还可以将接收的语音数据包拷贝发送给呼叫对端,以保持呼叫处理于正常通话状态。After receiving the voice data packet sent by the caller and called side of the call to be analyzed, the voice quality analysis is performed. At this time, a copy of the received voice data packet can also be sent to the opposite end of the call to keep the call processing in a normal conversation state.
下面举一例,本例中的语音质量分析过程示意图如图3所示,可以包括:As an example, the voice quality analysis process schematic diagram in this example is shown in Figure 3, which may include:
步骤301、用户确定待分析呼叫的指定特征为主叫号码(CallerNo)888001,语音质量分析装置向媒体网关控制器提供该指定特征。In step 301, the user determines that the specified feature of the call to be analyzed is the calling number (CallerNo) 888001, and the voice quality analysis device provides the specified feature to the media gateway controller.
步骤302、当用户888001呼入后,媒体网关控制器分析出主叫号码(CallerNo),确定该呼叫为待分析的呼叫,则针对该呼叫启动语音质量分析流程。Step 302, when the
步骤303、媒体网关控制器将主叫侧承载信息(用户888001所在终端的真实IP地址和端口号:192.168.1.200/2544)发送给语音质量分析装置;Step 303, the media gateway controller sends the calling side bearer information (real IP address and port number of the terminal where
步骤304、语音质量分析装置选择一个本地IP地址与端口号,组成一个虚拟的主叫侧承载信息(虚拟的用户888001所在终端的IP地址/端口号:192.168.1.244/4330)发送媒体网关控制器;Step 304, the voice quality analysis device selects a local IP address and port number to form a virtual calling side bearer information (the IP address/port number of the terminal where the
步骤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 real IP address/port number of the calling side (where the
步骤306、被叫侧协商过程中,将本段的承载信息(被叫用户888002所在终端的真实IP地址/端口号:192.168.1.201/3372)发送给媒体网关控制器完成媒体协商;Step 306: During the negotiation process on the called side, send the bearer information of this section (the real IP address/port number of the terminal where the called
步骤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
步骤308、语音质量分析装置选择一个本地IP地址与端口号,组成一个虚拟的被叫侧承载信息(虚拟的被叫用户888002所在终端的IP地址/端口号:192.168.1.244/5508)发送给媒体网关控制器;Step 308, the voice quality analysis device selects a local IP address and port number to form a virtual called side bearer information (IP address/port number of the terminal where the virtual called
步骤309、媒体网关控制器将虚拟的IP地址/端口号(虚拟的被叫用户888002所在终端的IP地址/端口号:192.168.1.244/5508)替代被叫侧真实的IP地址/端口号(被叫用户888002所在终端的真实IP地址/端口号:192.168.1.201/3372),与主叫侧进行媒体协商;Step 309, the media gateway controller replaces the real IP address/port number of the called side (the IP address/port number of the terminal where the virtual called
步骤310、待媒体网关控制器完成主被叫侧的媒体协商后,呼叫进入通话状态,语音质量分析装置开始陆续收到主被叫侧的语音数据包,分析通话的语音质量;同时可以将收到的语音数据包拷贝发送给对端,保持呼叫处于正常通话状态。Step 310, after the media gateway controller completes the media negotiation of the calling and called sides, the call enters the conversation state, and the voice quality analysis device starts to receive the voice data packets of the calling and called sides one after another, and analyzes the voice quality of the conversation; The received voice data packet is copied and sent to the opposite end, and the call is kept in a normal conversation state.
由此可见,本实施例中通过将虚拟的主叫侧承载信息替代原主叫侧承载信息,将虚拟的被叫侧承载信息替代原被叫侧承载信息,进行主被叫侧的媒体协商,可以达到将主被叫侧的语音数据包发往语音质量分析装置,从而进行语音质量分析的目的。It can be seen that, in this embodiment, the virtual calling side bearer information is replaced by the original calling side bearer information, and the virtual called side bearer information is replaced by the original called side bearer information to perform media negotiation on the calling and called sides. It can achieve the purpose of sending the voice data packets of the calling party and the called side to the voice quality analysis device, so as to perform voice quality analysis.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,可以包括上述实施例方法中的全部或部分步骤,所述的存储介质可以包括:ROM、RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , may include all or part of the steps in the methods of the foregoing embodiments, and the storage medium may include: ROM, RAM, magnetic disk, optical disk, and the like.
本发明实施例中还提供了一种语音质量分析装置,如下面的实施例所述。由于该装置解决问题的原理与语音质量分析方法相似,因此该装置的实施可以参见方法的实施,重复之处不再赘述。An embodiment of the present invention also provides a device for analyzing voice quality, as described in the following embodiments. Since the problem-solving principle of the device is similar to that of the voice quality analysis method, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
本发明实施例提供一种语音质量分析装置,其结构如图4所示,可以包括:An embodiment of the present invention provides a voice quality analysis device, the structure of which is shown in Figure 4, and may include:
第一获得模块401,用于获得待分析呼叫的承载信息,待分析呼叫具备指定特征;The first obtaining
第二获得模块402,用于根据承载信息获得待分析呼叫的语音数据包;The second obtaining
分析模块403,用于对语音数据包进行语音质量分析。The
一个实施例中,第一获得模块401具体可以用于:In one embodiment, the first obtaining
对呼叫建立过程中的所有呼叫进行特征分析,确定具备指定特征的呼叫,并获得该呼叫的承载信息;Analyze the characteristics of all calls in the call establishment process, determine the calls with specified characteristics, and obtain the bearer information of the calls;
或,向媒体网关控制器提供指定特征;接收媒体网关控制器返回的具备指定特征的呼叫的承载信息。Or, provide the specified feature to the media gateway controller; receive the 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
发送单元501,用于根据承载信息向IP承载设备发送镜像信息,镜像信息包括语音数据包的源IP地址、端口号和镜像数据的目的IP地址;Sending
第一接收单元502,用于接收IP承载设备根据镜像信息返回的语音数据包的镜像数据;The
此时分析模块403具体可以用于:对镜像数据进行语音质量分析。At this time, the
一个实施例中,发送单元501具体可以用于:In an embodiment, the sending
通过扩展媒体网关控制信令,向IP承载设备发送镜像信息。By extending the media gateway control signaling, the mirroring information is sent to the IP bearer device.
一个实施例中,第一获得模块401具体可以用于:获得待分析呼叫主被叫侧的承载信息;In one embodiment, the first obtaining
如图6所示,此时第二获得模块402可以包括:As shown in FIG. 6, the second obtaining
协商单元601,用于根据待分析呼叫主被叫侧的承载信息,进行待分析呼叫主被叫侧的媒体协商;A
第二接收单元602,用于接收待分析呼叫主被叫侧发来的语音数据包。The
一个实施例中,协商单元601具体可以用于:In one embodiment, the
选择本地承载信息组成虚拟的主叫侧承载信息,替代原主叫侧承载信息,与被叫侧进行媒体协商;Select the local bearer information to form virtual calling side bearer information, replace the original calling side bearer information, and perform media negotiation with the called side;
选择本地承载信息组成虚拟的被叫侧承载信息,替代原被叫侧承载信息,与主叫侧进行媒体协商。The local bearer information is selected to form virtual called-side bearer information, which replaces the original called-side bearer information, and performs media negotiation with the calling side.
如图7所示,一个实施例中,图6所示语音质量分析装置还可以包括:As shown in Figure 7, in one embodiment, the voice quality analysis device shown in Figure 6 may also include:
发送模块701,用于在第二接收单元接收待分析呼叫主被叫侧发来的语音数据包后,将接收的语音数据包拷贝发送给呼叫对端。The sending
本发明实施例中,先获得具备指定特征的待分析呼叫的承载信息,再根据承载信息获得待分析呼叫的语音数据包,对语音数据包进行语音质量分析,因此不必在抓取所有网络数据后再进行数据过滤处理,所处理的数据量大大减少,从而有效减少了语音质量分析的工作量,提高了语音质量分析效率。本发明实施例实现了IP网络中呼叫级的语音抓包、语音质量分析,并能够根据呼叫的一些相关信息,包括呼叫所具备的指定特征和呼叫的承载信息等,实现语音流分析,而不是现有技术中的网络级语音分析。In the embodiment of the present invention, first obtain the bearer information of the call to be analyzed with specified characteristics, and then obtain the voice data packet of the call to be analyzed according to the bearer information, and perform voice quality analysis on the voice data packet, so it is not necessary to capture all network data After data filtering, 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 present invention realizes call-level voice packet capture and voice quality analysis in an IP network, and can realize voice stream analysis based on some related information of the call, including the specified features of the call and the bearer information of the call, instead of Network-level speech analysis in the state of the art.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010137008 CN102208990B (en) | 2010-03-29 | 2010-03-29 | Speech quality analysis method and device |
PCT/CN2011/071464 WO2011120367A1 (en) | 2010-03-29 | 2011-03-02 | Method and device for analyzing voice quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010137008 CN102208990B (en) | 2010-03-29 | 2010-03-29 | Speech quality analysis method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102208990A CN102208990A (en) | 2011-10-05 |
CN102208990B true CN102208990B (en) | 2013-10-09 |
Family
ID=44697662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010137008 Expired - Fee Related CN102208990B (en) | 2010-03-29 | 2010-03-29 | Speech quality analysis method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102208990B (en) |
WO (1) | WO2011120367A1 (en) |
Families Citing this family (3)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1625086A (en) * | 2003-12-03 | 2005-06-08 | 华为技术有限公司 | Voice quality test method and system |
CN1705266A (en) * | 2004-05-29 | 2005-12-07 | 华为技术有限公司 | Method for acquiring specified message from remote and uses and system thereof |
CN101123612A (en) * | 2007-08-02 | 2008-02-13 | 华为技术有限公司 | Method and communication device for virtual media capability negotiation |
US20090083845A1 (en) * | 2003-10-03 | 2009-03-26 | Verizon Services Corp. | Network firewall test methods and apparatus |
Family Cites Families (2)
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 |
CN101425935B (en) * | 2007-11-01 | 2011-04-20 | 中兴通讯股份有限公司 | VoIP service customer experience quality test and monitoring method and system |
-
2010
- 2010-03-29 CN CN 201010137008 patent/CN102208990B/en not_active Expired - Fee Related
-
2011
- 2011-03-02 WO PCT/CN2011/071464 patent/WO2011120367A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090083845A1 (en) * | 2003-10-03 | 2009-03-26 | Verizon Services Corp. | Network firewall test methods and apparatus |
CN1625086A (en) * | 2003-12-03 | 2005-06-08 | 华为技术有限公司 | Voice quality test method and system |
CN1705266A (en) * | 2004-05-29 | 2005-12-07 | 华为技术有限公司 | Method for acquiring specified message from remote and uses and system thereof |
CN101123612A (en) * | 2007-08-02 | 2008-02-13 | 华为技术有限公司 | Method and communication device for virtual media capability negotiation |
Also Published As
Publication number | Publication date |
---|---|
CN102208990A (en) | 2011-10-05 |
WO2011120367A1 (en) | 2011-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100165976A1 (en) | Handling early media in voip communication with multiple endpoints | |
WO2015192682A1 (en) | Communication method and terminal | |
CN103716299A (en) | Method carrying out session based on SIP, terminal and call business server | |
CN107277420A (en) | A kind of video calling implementation method and terminal | |
CN102208990B (en) | Speech quality analysis method and device | |
CN101960783B (en) | Methods and apparatus for dual-tone multi-frequency signal analysis within a media over internet protocol network | |
CN102291415B (en) | Media stream processing method and system and home gateway | |
CN103188168B (en) | A kind of QoS optimization method and equipment | |
JP2009194674A (en) | Communication terminal device and control method of communication terminal device | |
CN103139156B (en) | A kind of Media Stream Bypass implementation method and equipment | |
CN101217529B (en) | Method, Device and System for Realizing ET.38 Fax Service in Internet | |
CN102137093A (en) | Method for processing media stream and media gateway | |
KR20060133977A (en) | Handling of Early Media Data I | |
CN104363149B (en) | The system and method for VOIP Network Expert Systems is realized based on Session Initiation Protocol | |
CN104753890A (en) | SIP (Session Initiation Protocol) protocol-based multimedia monitoring system and solution | |
CN108540589A (en) | A kind of network traversal method for SIP communication systems | |
CN112311802A (en) | Information transmission method and information transmission device | |
JP6405804B2 (en) | Codec arbitration device and program | |
CN101540705A (en) | Message agent device and simulation-generation method of test environment | |
CN101471860B (en) | Method, system and equipment for selecting call arbitration node by soft switching equipment | |
CN105306420B (en) | Method, device and server for realizing cyclic playback of text-to-speech services | |
CN109587096B (en) | Method and device for identifying RTP tail packet loss | |
CN102739672A (en) | Realization method and device of terminal mobile service in IP (Internet Protocol) multimedia subsystem architecture | |
CN108650425B (en) | Monitoring method and monitoring system | |
JP2010011120A (en) | Nat conversion apparatus and nat conversion program in uni connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131009 |