CN1917039B - Voice quality enhancement method and system - Google Patents
Voice quality enhancement method and system Download PDFInfo
- Publication number
- CN1917039B CN1917039B CN2005100912696A CN200510091269A CN1917039B CN 1917039 B CN1917039 B CN 1917039B CN 2005100912696 A CN2005100912696 A CN 2005100912696A CN 200510091269 A CN200510091269 A CN 200510091269A CN 1917039 B CN1917039 B CN 1917039B
- Authority
- CN
- China
- Prior art keywords
- quality enhancement
- voice quality
- voice
- control
- control information
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及网络通讯技术领域,具体涉及一种语音质量增强方法和系统。The invention relates to the technical field of network communication, in particular to a voice quality enhancement method and system.
背景技术Background technique
在用户通话过程中,手机或固定电话的听筒中用户的声音会扩散到房间里,同时也会通过电话内部到达话筒,这样,说话方就会听到从对方听筒里传过来的自己的声音。During the user's call, the user's voice in the handset of the mobile phone or landline will spread into the room, and will also reach the microphone through the inside of the phone, so that the speaker will hear his own voice coming from the other party's handset.
这种现象在线路迟延比较小时,用户感觉不到,当线路迟延比较大时,用户就会听到从对方听筒里传过来的自己的声音,特别是在免提模式下,该问题比较明显。This phenomenon is not felt by the user when the line delay is relatively small. When the line delay is relatively large, the user will hear his own voice coming from the receiver of the other party, especially in the hands-free mode. This problem is more obvious.
在移动通信中的信道迟延比较大时,通常会使用声学回波抵消技术,即AEC(声学回波抵消)技术来提高语音的通话质量。When the channel delay in mobile communication is relatively large, an acoustic echo cancellation technology, that is, an AEC (Acoustic Echo Cancellation) technology is usually used to improve voice communication quality.
AEC技术是一种语音质量增强的方法,除AEC技术外,还有如下语音质量增强方法:AEC technology is a voice quality enhancement method. In addition to AEC technology, there are the following voice quality enhancement methods:
NR(背景噪声抑制):NR可以消除通话中的背景环境的干扰噪声,使得另一方能够听到清晰的通话。NR (Background Noise Suppression): NR can eliminate the interference noise of the background environment during the call, so that the other party can hear the call clearly.
ALE(自动本地听筒增益控制):ALE功能能够根据用户所在环境的噪声强度,自动调整用户听到声音的增益,使得用户在吵杂环境中能够听清通话内容。ALE (Automatic Local Earpiece Gain Control): The ALE function can automatically adjust the gain of the user's hearing sound according to the noise intensity of the user's environment, so that the user can hear the call content clearly in a noisy environment.
ALG(自动增益控制):ALG功能可以自动调整用户语音音量,当通话声音变小时,可以自动调整改其增益,使得通话另一方不会听见声音过小或过高。ALG (Automatic Gain Control): The ALG function can automatically adjust the volume of the user's voice. When the voice of the call becomes small, it can automatically adjust the gain so that the other party will not hear the voice too low or too high.
VEI(语音增强识别):可使语音容易理解。VEI (Voice Enhanced Identification): Can make speech easy to understand.
DD(数据业务检测):可以检测到话音信号中的带内数据业务,并透传带内数据业务。DD (Data Service Detection): It can detect the in-band data service in the voice signal and transparently transmit the in-band data service.
EEC(电学回波抵消):可以抵消模拟电话2线转4线产生的电学回波,通常有不同的尾长。EEC (Electrical Echo Cancellation): It can offset the electrical echo generated by the analog telephone 2-wire to 4-wire, usually with different tail lengths.
上述语音质量增强功能在使用过程中存在工作方向如双向、对内、对外等,即语音质量增强功能可以双向起作用、可以对内起作用、可以对外起作用。The voice quality enhancement function mentioned above has working directions such as two-way, internal, external, etc. during use, that is, the voice quality enhancement function can work in two directions, can work internally, and can work externally.
目前,使用声学回波抵消技术、NR、ALE等上述语音质量增强功能实现语音质量增强的方法主要为:At present, the methods for enhancing voice quality by using the above-mentioned voice quality enhancement functions such as acoustic echo cancellation technology, NR, and ALE are as follows:
将AEC、NR、ALE、ALG、VEI、DD、EEC等语音质量增强功能集成在编解码器中,如将AEC、NR、ALE、ALG、VEI、DD、EEC等语音质量增强功能集成在BSS(基站子系统)编解码器中,再如将AEC、NR、ALE、ALG、VEI、DD、EEC等语音质量增强功能集成在MSC(移动交换机)上的编解码器中,以消除移动用户到核心网方向的声学回声,提高语音质量。Integrate voice quality enhancement functions such as AEC, NR, ALE, ALG, VEI, DD, EEC into the codec, such as integrating voice quality enhancement functions such as AEC, NR, ALE, ALG, VEI, DD, EEC into BSS ( base station subsystem) codec, and integrate voice quality enhancement functions such as AEC, NR, ALE, ALG, VEI, DD, EEC into the codec on the MSC (Mobile Switch) to eliminate mobile users to the core Acoustic echo in the direction of the net to improve voice quality.
同时,集成在编解码器中的AEC功能还能够识别FAX(传真)业务和数据业务、实现自动打开、关闭AEC功能等。At the same time, the AEC function integrated in the codec can also identify the FAX (fax) service and data service, realize automatic opening and closing of the AEC function, etc.
上述语音质量增强的方法虽然能够明显地改进语音质量,但是,该方法的实施会降低编解码器的密度和处理能力,而且,不适合在2G/3G的分离架构中使用。Although the above speech quality enhancement method can obviously improve the speech quality, the implementation of this method will reduce the density and processing capacity of the codec, and it is not suitable for use in the 2G/3G separate architecture.
发明内容Contents of the invention
本发明的目的在于,提供一种语音质量增强方法和系统,控制端通过控制包来控制执行端进行语音质量增强,使本发明的方法能够在2G/3G的分离架构中适用,从而实现了提高语音质量的目的。The object of the present invention is to provide a voice quality enhancement method and system, the control terminal controls the executive terminal to enhance the voice quality through the control packet, so that the method of the present invention can be applied in the separation framework of 2G/3G, thereby realizing the improvement Voice quality purposes.
为达到上述目的,本发明提供的一种语音质量增强方法,包括:In order to achieve the above object, a method for enhancing voice quality provided by the present invention includes:
a、控制端确定需要对语音流进行语音质量增强处理;a. The control terminal determines that it is necessary to perform voice quality enhancement processing on the voice stream;
b、所述控制端将需要进行的语音质量增强处理的控制信息承载于控制包中传输至语音质量增强处理的执行端;b. The control terminal carries the control information of the voice quality enhancement process to be carried out in a control packet and transmits it to the execution terminal of the voice quality enhancement process;
c、所述执行端根据控制包中承载的控制信息对其接收的语音流进行相应的语音质量增强处理。c. The executing end performs corresponding voice quality enhancement processing on the received voice stream according to the control information carried in the control packet.
所述控制端包括:呼叫服务器。The control end includes: a call server.
所述语音质量增强处理的执行端包括:基于分离架构模式的2G/3G网络中的媒体网关或NGN网络中的媒体网关。The execution end of the voice quality enhancement processing includes: a media gateway in a 2G/3G network or a media gateway in an NGN network based on a split architecture mode.
所述步骤a具体包括:Described step a specifically comprises:
所述控制端根据主叫侧/被叫侧的局向信息和/或用户签约信息确定需要对主叫侧/被叫侧的语音流进行语音质量增强处理。The control end determines that voice quality enhancement processing needs to be performed on the voice stream of the calling side/called side according to the office route information and/or user subscription information of the calling side/called side.
所述步骤b中的控制包为:基于H.248的控制包。The control packet in the step b is: a control packet based on H.248.
所述步骤b中需要进行的语音质量增强处理的控制信息包括:打开/关闭声学回波抵消、和/或电学回声抑制深度、和/或打开/关闭背景噪声抑制、和/或打开/关闭自动增益控制、和/或打开/关闭自动本地听筒增益控制、和/或打开/关闭语音增强识别、和/或打开/关闭数据业务检测。The control information of the voice quality enhancement processing required in step b includes: turning on/off acoustic echo cancellation, and/or electrical echo suppression depth, and/or turning on/off background noise suppression, and/or turning on/off automatic Gain control, and/or automatic local earpiece gain control on/off, and/or speech enhancement recognition on/off, and/or data traffic detection on/off.
所述步骤b中需要进行语音质量增强的控制信息还包括:声学回波抵消方向、和/或自动增益控制的方向、和/或自动本地听筒增益控制的方向、和/或语音增强识别的方向、和/或数据业务检测的方向。The control information that requires speech quality enhancement in step b also includes: the direction of acoustic echo cancellation, and/or the direction of automatic gain control, and/or the direction of automatic local earpiece gain control, and/or the direction of speech enhancement recognition , and/or the direction of data service detection.
当所述控制信息中携带的电学回声抑制深度为预定值时,语音质量增强处理的执行端根据需要自主确定电学回声抑制深度。When the electrical echo suppression depth carried in the control information is a predetermined value, the execution end of the speech quality enhancement process independently determines the electrical echo suppression depth according to needs.
所述步骤c具体包括:Described step c specifically comprises:
执行端根据控制包承载的控制信息分配相应的语音质量增强资源,并对外部传输来的基于G.711语音流进行语音质量增强处理。The execution end allocates corresponding voice quality enhancement resources according to the control information carried by the control packet, and performs voice quality enhancement processing on the externally transmitted G.711-based voice stream.
所述步骤c具体包括:Described step c specifically comprises:
执行端根据控制包承载的控制信息分配相应的语音质量增强资源和码转换器资源;The execution end allocates corresponding voice quality enhancement resources and transcoder resources according to the control information carried by the control packet;
所述码转换器资源将外部传输来的语音流转换为基于G.711语音流,并由所述语音质量增强资源对G.711语音流进行相应的语音质量增强处理。The code converter resource converts the externally transmitted voice stream into a G.711 voice stream, and the voice quality enhancement resource performs corresponding voice quality enhancement processing on the G.711 voice stream.
本发明还提供一种语音质量增强系统,包括:The present invention also provides a voice quality enhancement system, including:
控制端:在确定需要对语音流进行语音质量增强处理时,将需要进行的语音质量增强处理的控制信息承载于控制包中传输至语音质量增强处理的执行端;Control terminal: when it is determined that voice quality enhancement processing needs to be performed on the voice stream, the control information of the voice quality enhancement processing that needs to be performed is carried in the control packet and transmitted to the execution end of voice quality enhancement processing;
执行端:根据其接收的控制包中承载的控制信息对语音流进行相应的语音质量增强处理。Executing end: perform corresponding voice quality enhancement processing on the voice stream according to the control information carried in the control packet it receives.
所述控制端包括:The control terminal includes:
确定模块:根据主叫侧/被叫侧的局向信息和/或用户签约信息确定需要对主叫侧/被叫侧的语音流进行语音质量增强处理,并通知控制信息下发模块;Determination module: according to the office route information and/or user subscription information of the calling side/called side, it is determined that voice quality enhancement processing needs to be performed on the voice stream of the calling side/called side, and notifies the control information delivery module;
控制信息下发模块:根据确定模块的通知将需要进行的语音质量增强处理的控制信息承载于控制包中传输至执行端。The control information delivery module: according to the notification of the determination module, the control information of the voice quality enhancement processing that needs to be performed is carried in the control packet and transmitted to the execution end.
所述执行端包括:The execution end includes:
资源分配模块:根据控制端传输来的控制包中承载的控制信息为执行模块分配相应的语音质量增强资源;Resource allocation module: according to the control information carried in the control packet transmitted by the control terminal, allocate corresponding voice quality enhancement resources to the execution module;
执行模块:根据资源分配模块为其分配的资源对基于G.711语音流进行语音质量增强处理。Execution module: perform voice quality enhancement processing on the G.711 voice stream according to the resources allocated by the resource allocation module.
所述执行端还包括:The execution terminal also includes:
转换模块:将外部传输来的语音流转换为基于G.711语音流,并传输至执行模块。Conversion module: convert the externally transmitted voice stream into a G.711-based voice stream, and transmit it to the execution module.
所述控制端为:呼叫服务器;The control terminal is: call server;
所述执行端为:2G/3G网络中的媒体网关、或NGN网络中的媒体网关。The execution end is: a media gateway in a 2G/3G network, or a media gateway in an NGN network.
通过上述技术方案的描述可知,本发明的控制端通过控制包来控制执行端进行语音质量增强,使本发明的方法能够在分离架构的2G/3G网络中适用;通过在语音质量增强处理的执行端如媒体网关等,对语音流进行语音质量增强处理,避免了对编解码器的密度、处理能力的影响;本发明的控制端通过在控制包中承载一种或多种语音质量增强功能的控制信息,并设置其工作方向,使执行端如媒体网关能够通过简单的命令执行来完成语音质量增强处理,简化了媒体网关的语音质量增强操作;从而通过本发明提供的技术方案实现了提高语音质量的目的。It can be seen from the description of the above technical solution that the control terminal of the present invention controls the execution terminal to enhance the voice quality through the control packet, so that the method of the present invention can be applied in the 2G/3G network of the separated architecture; through the execution of the voice quality enhancement process Terminals such as media gateways etc., carry out voice quality enhancement processing on voice streams, avoiding the impact on the density and processing capacity of the codec; the control terminal of the present invention carries out one or more voice quality enhancement functions in the control packet Control the information, and set its working direction, so that the execution end such as the media gateway can complete the voice quality enhancement processing through simple command execution, which simplifies the voice quality enhancement operation of the media gateway; thus the technical solution provided by the invention realizes the improvement of voice quality. purpose of quality.
附图说明Description of drawings
图1是本发明的2G网络中语音质量增强方法示意图;Fig. 1 is a schematic diagram of a voice quality enhancement method in a 2G network of the present invention;
图2是本发明的3G网络中语音质量增强方法示意图;Fig. 2 is a schematic diagram of a voice quality enhancement method in a 3G network of the present invention;
图3是本发明的3G网络和PSTN网络互通中语音质量增强方法示意图。Fig. 3 is a schematic diagram of the voice quality enhancement method in the intercommunication between the 3G network and the PSTN network of the present invention.
具体实施方式Detailed ways
本发明的核心是:控制端确定需要对语音流进行语音质量增强,所述控制端将需要进行的语音质量增强的控制信息承载于控制包中传输至语音质量增强处理的执行端,所述执行端根据所述控制包中承载的控制信息对其接收的语音流进行语音质量增强处理。The core of the present invention is: the control terminal determines that the voice quality enhancement needs to be performed on the voice stream, the control terminal carries the control information of the voice quality enhancement that needs to be performed in the control packet and transmits it to the execution terminal of the voice quality enhancement processing, and the execution The terminal performs voice quality enhancement processing on the received voice stream according to the control information carried in the control packet.
下面基于本发明的核心思想对本发明提供的技术方案做进一步的描述。The technical solution provided by the present invention will be further described below based on the core idea of the present invention.
在分离架构模式下的2G/3G网络中,本发明的控制端可以为呼叫服务器,执行端可以为媒体网关。在NGN网络中,语音质量增强处理的执行端可以为媒体网关。In the 2G/3G network under the split architecture mode, the control end of the present invention may be a call server, and the execution end may be a media gateway. In an NGN network, the execution end of voice quality enhancement processing may be a media gateway.
呼叫服务器可以根据主叫用户、被叫用户的局向信息、用户签约信息等确定是否需要对语音流进行语音质量增强处理,如果呼叫服务器确定需要对语音流进行语音质量增强处理,则还需要对其中部分语音质量增强功能进行方向指示,用以指明是单向语音质量增强处理还是双向语音质量增强处理,呼叫服务器将语音质量增强处理的控制信息通过基于H.248的控制包传输至媒体网关。The call server can determine whether to perform voice quality enhancement processing on the voice stream according to the office route information of the calling user, the called user, and user subscription information. If the call server determines that the voice stream needs to be voice quality enhanced, it also needs to Part of the voice quality enhancement function provides direction indication to indicate whether it is one-way voice quality enhancement processing or two-way voice quality enhancement processing, and the call server transmits the control information of voice quality enhancement processing to the media gateway through the control packet based on H.248.
基于H.248的控制包中承载的语音质量增强处理的控制信息可同时包括下述语音质量增强功能的一种或多种:打开或关闭AEC处理功能、电学回声抑制深度、打开或关闭背景噪声抑制、打开或关闭自动增益控制、打开或关闭自动本地听筒增益控制、打开或关闭语音增强识别、打开或关闭数据业务检测等。The control information of the voice quality enhancement process carried in the H.248-based control packet can include one or more of the following voice quality enhancement functions: enable or disable the AEC processing function, the depth of electrical echo suppression, and enable or disable the background noise Inhibit, turn on or off the automatic gain control, turn on or off the automatic local earpiece gain control, turn on or off the speech enhancement recognition, turn on or off the data traffic detection, etc.
另外,当控制包的语音质量增强的控制信息中包含有打开自动增益控制、打开自动本地听筒增益控制、打开语音增强识别或打开数据业务检测时,在控制信息中还应该指明该语音质量增强功能的生效方向,即自动增益控制的方向、自动本地听筒增益控制的方向、语音增强识别的方向、数据业务检测的方向。In addition, when the voice quality enhancement control information of the control packet includes enabling automatic gain control, enabling automatic local receiver gain control, enabling speech enhancement recognition, or enabling data service detection, the voice quality enhancement function should also be indicated in the control information The effective direction of the device, that is, the direction of the automatic gain control, the direction of the automatic local earpiece gain control, the direction of the speech enhancement recognition, and the direction of the data service detection.
控制信息中电学回声抑制深度可以为:16ms、32ms、48ms、64ms、96ms或128ms,呼叫服务器可以根据主叫侧/被叫侧的呼叫特性如主叫侧/被叫侧的局向信息、用户签约信息等来确定对主叫侧/被叫侧的语音流的回声抑制深度。The depth of electrical echo suppression in the control information can be: 16ms, 32ms, 48ms, 64ms, 96ms or 128ms, and the call server can according to the call characteristics of the calling side/called side, such as the office route information of the calling side/called side, the user Subscription information, etc. to determine the depth of echo suppression for the voice stream of the calling side/called side.
本发明基于H.248的控制包enhance ec package(增强回声抑制包)可以定义为如下形式:The control package enhance ec package (enhanced echo suppression package) of the present invention based on H.248 can be defined as following form:
PropertyID:aec(0x0001)PropertyID: aec(0x0001)
Type:integerType: integer
Possible values:为0表示关闭,为1表示打开。缺省值为关闭。Possible values: 0 means off, 1 means on. The default is off.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:aec_direction(0x0002)Property ID: aec_direction (0x0002)
Type:integerType: integer
Possible values:为0表示对内(incoming),为1表示对外(outcoming),2为双向(both),缺省值为对内。Possible values: 0 means incoming, 1 means outgoing, 2 means both, and the default value is inward.
Description:aec的方向Description: the direction of aec
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:eec_depth(0x0003)Property ID: eec_depth (0x0003)
Type:integerType: integer
Possible values:为0表示由媒体网关根据实际需要自己选择电学回声抑制功能的深度,为1表示16ms EEC,为2表示32ms EEC,为3表示48ms EEC,为4表示64ms EEC,为5表示96msEEC,为6表示128msEEC,缺省值为0;Possible values: 0 means that the media gateway chooses the depth of the electrical echo suppression function according to actual needs, 1 means 16ms EEC, 2 means 32ms EEC, 3 means 48ms EEC, 4 means 64ms EEC, 5 means 96msEEC, 6 means 128msEEC, the default value is 0;
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:nr(0x0004)PropertyID: nr(0x0004)
Description:背景噪声抑止Description: Background noise suppression
Type:integerType: integer
Possible values:为0(off)表示关闭,为1(on)表示打开。缺省值为关闭。Possible values: 0 (off) means off, 1 (on) means on. The default is off.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:nr_dir(0x0005)PropertyID: nr_dir (0x0005)
Description:nr的作用方向Description: The direction of action of nr
Type:EnumerationType: Enumeration
Possible values:incoming(0),outcoming(1),both(2)。Default:bothPossible values: incoming (0), outgoing (1), both (2). Default: both
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:ale(0x0006)PropertyID: ale(0x0006)
Description:自动本地听筒增益控制Description: Automatic local earpiece gain control
Type:integerType: integer
Possible values:为0(off)表示关闭,为1(on)表示打开,缺省值为关闭。Possible values: 0 (off) means off, 1 (on) means on, the default value is off.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics :read/writeCharacteristics :read/write
PropertyID:ale_dir(0x0007)PropertyID: ale_dir (0x0007)
Description:ale的作用方向Description: The direction of action of ale
Type:EnumerationType: Enumeration
Possible values:为0表示对内(incoming),为1表示对外(outcoming),2为双向(both),缺省值为双向。Possible values: 0 means incoming, 1 means outgoing, 2 means both, and the default value is both.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:alg(0x0008)PropertyID: alg(0x0008)
Description:自动增益控制Description: automatic gain control
Type:EnumerationType: Enumeration
Possible values:为0表示对内(incoming),为1表示对外(outcoming),2为双向(both),缺省值为双向。Possible values: 0 means incoming, 1 means outgoing, 2 means both, and the default value is both.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:alg_dir(0x0009)Property ID: alg_dir (0x0009)
Description:alg的作用方向Description: The direction of action of alg
Type:EnumerationType: Enumeration
Possible values:为0表示对内(incoming),为1表示对外(outcoming),2为双向(both),缺省值为双向。Possible values: 0 means incoming, 1 means outgoing, 2 means both, and the default value is both.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:vei(0x000A)PropertyID: vei(0x000A)
Description:语音增强识别Description: speech enhancement recognition
Type:integerType: integer
Possible values:为0(off)表示关闭,为1(on)表示打开,缺省值为关闭。Possible values: 0 (off) means off, 1 (on) means on, the default value is off.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:vei_dir(0x000B)PropertyID: vei_dir (0x000B)
Description:vei的作用方向Description: The direction of action of vei
Type:EnumerationType: Enumeration
Possible values.:为0表示对内(incoming),为1表示对外(outcoming),2为双向(both),缺省值为双向。Possible values.: 0 means incoming, 1 means outgoing, 2 means both, and the default value is both.
Defined in:LocalControlDeseriptorDefined in: LocalControlDeseriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:dd(0x000C)Property ID: dd (0x000C)
Description:数据业务检测Description: Data service detection
Type:integerType: integer
Possible values:为0(off)表示关闭,为1(on)表示打开。缺省值为关闭Possible values: 0 (off) means off, 1 (on) means on. The default is off
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
PropertyID:dd_dir(0x000D)Property ID: dd_dir (0x000D)
Description:dd的作用方向Description: The direction of action of dd
Type:EnumerationType: Enumeration
Possible values:为0表示对内(incoming),为1表示对外(outcoming),2为双向(both),缺省值为双向。Possible values: 0 means incoming, 1 means outgoing, 2 means both, and the default value is both.
Defined in:LocalControlDescriptorDefined in: LocalControlDescriptor
Characteristics:read/writeCharacteristics: read/write
本发明通过扩展H.248协议接口,增加语音增强的种类,普通的电学EC(EEC)的打开和关闭通过原来的H.248.1定义的TDM Circuit Package(时分复用电路包)进行处理,在enhance ec package中扩展了电学EC的尾长,即电学回声抑制深度,在使用TDM Circuit Package打开电学EC的情况下,可使用enhanceec package定义的eec_depth参数指明其尾长。The present invention increases the type of voice enhancement by extending the H.248 protocol interface, and the opening and closing of the common electrical EC (EEC) is processed through the TDM Circuit Package (time division multiplexing circuit package) defined by the original H.248.1. The tail length of the electrical EC is extended in the ec package, that is, the depth of the electrical echo suppression. When the electrical EC is enabled with the TDM Circuit Package, the eec_depth parameter defined by the enhanceec package can be used to indicate the tail length.
在软交换和媒体网关之间,可以通过上面定义的基于H.248的控制包来实现呼叫服务器和媒体网关之间的语音增强处理控制信息传输,媒体网关根据呼叫服务器的控制信息为语音流分配相应的语音质量增强资源,媒体网关通过该语音质量增强资源对语音流进行相应的语音质量增强处理,从而,在不影响编解码器的密度和处理能力的情况下,达到提高语音质量的目的。Between the softswitch and the media gateway, the H.248-based control packet defined above can be used to realize the transmission of voice enhancement processing control information between the call server and the media gateway, and the media gateway allocates the voice stream according to the control information of the call server. Corresponding voice quality enhancement resources, through which the media gateway performs corresponding voice quality enhancement processing on the voice stream, so as to achieve the purpose of improving the voice quality without affecting the density and processing capability of the codec.
下面结合附图对本发明的技术方案进行详细说明。The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings.
在分离构架模式下的2G网络中,本发明的语音质量增强的实现方法如附图1所示。In the 2G network under the split architecture mode, the implementation method of the voice quality enhancement of the present invention is shown in Fig. 1 .
在图1中,MS1和MS2均为移动用户,BSC1为MS1对应的基站控制器,BSC2为MS2对应的基站控制器。如果设定MS1为主叫用户、MS2为被叫用户,则BSC1为主叫侧基站控制器、BSC2为被叫侧基站控制器。In Fig. 1, both MS1 and MS2 are mobile users, BSC1 is the base station controller corresponding to MS1, and BSC2 is the base station controller corresponding to MS2. If MS1 is set as the calling user and MS2 is the called user, then BSC1 is the calling side base station controller, and BSC2 is the called side base station controller.
MS1和BSC1之间、MS2和BSC2之间为空中接口部分,并通过无线信道传递语音数据;媒体网关通过E1接口板分别和BSC1、BSC2连接,BSC1和BSC2之间采用TDM(时分复用)方式来传输语音流,而BSC和媒体网关通过E1进行连接,用来在BSC和MSC之间传递语音数据流。Between MS1 and BSC1, between MS2 and BSC2 is the air interface part, and transmits voice data through the wireless channel; the media gateway is respectively connected to BSC1 and BSC2 through the E1 interface board, and TDM (time division multiplexing) is adopted between BSC1 and BSC2 To transmit the voice flow, while the BSC and the media gateway are connected through E1, which is used to transmit the voice data flow between the BSC and the MSC.
由于BSC1和BSC2向媒体网关传输的语音流为已经采用了G.711的语音编码算法的语音流,而且,目前的EC芯片支持G.711的语音编码算法的语音流,因此,本发明的媒体网关可以根据呼叫服务器传输来的基于H.248的控制包中承载的控制信息直接为主叫侧、被叫侧分配VQE1(语音质量增强)、VQE2资源,以对媒体网关中E1接口板上承载语音业务数据流进行语音质量增强处理,其中,VQE1资源用于对MS1的语音流进行语音质量增强处理,VQE2资源用于对MS2的语音流进行语音质量增强处理,从而,达到提高主叫侧、被叫侧语音质量的目的。Because the voice stream transmitted by BSC1 and BSC2 to the media gateway is the voice stream of the voice coding algorithm of G.711, and the current EC chip supports the voice stream of the voice coding algorithm of G.711, therefore, the media of the present invention The gateway can directly allocate VQE1 (Voice Quality Enhancement) and VQE2 resources to the calling side and the called side according to the control information carried in the H.248-based control packet transmitted by the call server, so as to control the E1 interface board in the media gateway. Perform voice quality enhancement processing on the voice service data flow, wherein, the VQE1 resource is used to perform voice quality enhancement processing on the voice stream of MS1, and the VQE2 resource is used to perform voice quality enhancement processing on the voice stream of MS2. The purpose of voice quality on the called side.
在分离构架模式下的3G网络的R4组网中,由于需要EC芯片支持压缩语音,或将压缩语音转换为基于G.711的语音流后再进行语音质量增强处理,因此,建议在3G网络的R4组网中可以不支持语音质量增强处理功能。In the R4 network of the 3G network in the separated architecture mode, since the EC chip is required to support compressed voice, or to convert the compressed voice into a G.711-based voice stream before performing voice quality enhancement processing, it is recommended that the The voice quality enhancement processing function may not be supported in the R4 networking.
在分离构架模式下的3G网络的R99组网中,本发明的语音质量增强的实现方法如附图2所示。In the R99 networking of the 3G network under the separation framework mode, the implementation method of the voice quality enhancement of the present invention is shown in FIG. 2 .
在图2中,RNC是3G网络中的无线网络控制器,设定RNC1是主叫侧无线用户终端对应的无线网络控制器,RNC2是被叫侧无线用户终端对应的无线网络控制器,无线用户终端和RNC之间通过无线接口传递语音数据。RNC和媒体网关之间的宽带接口板可以采用ATM的宽带接口板。In Figure 2, RNC is the radio network controller in the 3G network, RNC1 is set to be the radio network controller corresponding to the calling side wireless user terminal, RNC2 is the radio network controller corresponding to the called side wireless user terminal, and the wireless user Voice data is transmitted between the terminal and the RNC through the wireless interface. The broadband interface board between the RNC and the media gateway can use the ATM broadband interface board.
由于RNC1和RNC2向媒体网关传输的语音流没有采用G.711的语音编码算法,所以,本发明的媒体网关可以根据呼叫服务器传输来的基于H.248的控制包中承载的控制信息采用双TC和双AEC的方式分别对主叫侧到被叫侧、被叫侧到主叫侧的语音流进行语音质量增强处理,即本发明的媒体网关在RNC的IU接口到TDM方向增加对主叫侧、被叫侧的语音流的语音质量增强处理功能。具体方法为:媒体网关直接为主叫侧、被叫侧分配TC1、VQE1、TC2、VQE2资源,以对媒体网关中宽带接口板上承载的语音业务数据流进行解码转换及语音质量增强处理,其中,TC1资源用于将RNC1发送到媒体网关的主叫侧语音流解码成基于G.711的语音编码算法的语音流,然后,由VQE1资源对TC1解码后的语音流进行语音质量增强处理,TC2资源用于将RNC2发送到媒体网关的被叫侧语音流解码成基于G.711的语音编码算法的语音流,然后,由VQE2资源对TC2解码后的语音流进行语音质量增强处理,从而,达到提高主叫侧、被叫侧语音质量的目的。Since the voice streams transmitted by RNC1 and RNC2 to the media gateway do not use the G.711 voice coding algorithm, the media gateway of the present invention can adopt dual TC according to the control information carried in the H.248-based control packet transmitted from the call server. The method of double AEC carries out voice quality enhancement processing to the voice flow from the calling side to the called side, and from the called side to the calling side respectively, that is, the media gateway of the present invention increases the number of calls to the calling side from the IU interface of the RNC to the TDM direction. , The voice quality enhancement processing function of the voice stream on the called side. The specific method is: the media gateway directly allocates TC1, VQE1, TC2, and VQE2 resources to the calling side and the called side, so as to decode and convert the voice service data stream carried on the broadband interface board in the media gateway and to enhance the voice quality. , the TC1 resource is used to decode the calling-side voice stream sent by RNC1 to the media gateway into a voice stream based on the G.711 voice coding algorithm, and then, the VQE1 resource performs voice quality enhancement processing on the voice stream decoded by TC1, and TC2 The resource is used to decode the voice stream of the called side sent by RNC2 to the media gateway into a voice stream based on the G.711 voice coding algorithm, and then, the VQE2 resource performs voice quality enhancement processing on the voice stream decoded by TC2, thereby achieving The purpose of improving the voice quality of the calling side and the called side.
在分离构架模式下的3G网络的R99网络与PSTN(公共电话交换网)互通时,本发明的语音质量增强方法如附图3所示。When the R99 network of the 3G network and the PSTN (Public Switched Telephone Network) in the separation framework mode intercommunicate, the voice quality enhancement method of the present invention is shown in Figure 3.
图3中,RNC1是3G网络中的无线网络控制器,设定RNC1是主叫侧无线用户终端对应的无线网络控制器,无线用户终端和RNC1之间通过无线接口传递语音数据,PSTN用户为被叫侧用户。In Figure 3, RNC1 is the radio network controller in the 3G network. RNC1 is set to be the radio network controller corresponding to the wireless user terminal on the calling side. Voice data is transmitted between the wireless user terminal and RNC1 through the wireless interface, and the PSTN user is the Call the side user.
RNC和媒体网关之间的宽带接口板可以采用ATM的宽带接口板。The broadband interface board between the RNC and the media gateway can use the ATM broadband interface board.
由于RNC1向媒体网关传输的语音流没有采用G.711的语音编码算法,而且在PSTN侧没有声学回声,因此,本发明的媒体网关可以根据呼叫服务器传输来的基于H.248的控制包中承载的控制信息采用TC+VQE方式,对主叫侧到被叫侧的语音流进行EEC以外的语音质量增强处理,对被叫侧到主叫侧的语音流进行普通的EEC处理,具体方法为:媒体网关直接为主叫侧、被叫侧分配TC1、VQE1资源,设定VQE1资源中的每种语音增强技术的工作开关和工作方向。以对媒体网关中宽带接口板上承载的语音业务数据流进行解码转换、语音质量增强,其中,TC1资源用于将RNC1发送到媒体网关的主叫侧语音流解码成基于G.711的语音编码算法的语音流,然后,由VQE1资源按照工作参数设置对TC1解码后的语音流进行语音质量增强处理,从而,达到提高主叫侧、被叫侧语音质量的目的。Because the speech flow that RNC1 transmits to media gateway does not adopt the speech coding algorithm of G.711, and there is no acoustic echo on the PSTN side, therefore, media gateway of the present invention can carry the weight in the control packet based on H.248 that the call server transmits. The control information of the system adopts TC+VQE mode, performs voice quality enhancement processing other than EEC on the voice stream from the calling side to the called side, and performs ordinary EEC processing on the voice stream from the called side to the calling side. The specific method is as follows: The media gateway directly allocates TC1 and VQE1 resources to the calling side and the called side, and sets the working switch and working direction of each voice enhancement technology in the VQE1 resource. To decode and convert the voice service data stream carried on the broadband interface board in the media gateway, and enhance the voice quality, among them, TC1 resources are used to decode the calling side voice stream sent by RNC1 to the media gateway into G.711-based voice coding Algorithm voice stream, then, the VQE1 resource performs voice quality enhancement processing on the voice stream decoded by TC1 according to the working parameter settings, so as to achieve the purpose of improving the voice quality of the calling side and the called side.
本发明提供的语音质量增强系统包括:控制端和执行端。控制端可以为呼叫服务器,执行端可以为媒体网关,如2G/3G网络中的媒体网关或NGN网络中的媒体网关等。The voice quality enhancement system provided by the invention includes: a control terminal and an execution terminal. The control end may be a call server, and the execution end may be a media gateway, such as a media gateway in a 2G/3G network or a media gateway in an NGN network.
控制端主要用于在确定需要对语音流进行语音质量增强处理时,将需要进行的语音质量增强处理的控制信息承载于控制包中传输至语音质量增强处理的执行端。The control terminal is mainly used to carry the control information of the required voice quality enhancement process in the control packet and transmit it to the execution terminal of the voice quality enhancement process when it is determined that voice quality enhancement processing needs to be performed on the voice stream.
控制端的功能由确定模块和控制信息下发模块来实现。The functions of the control terminal are realized by the determination module and the control information distribution module.
确定模块主要用于根据主叫侧/被叫侧的局向信息和/或用户签约信息确定需要对主叫侧/被叫侧的语音流进行语音质量增强处理,并通知控制信息下发模块。控制信息下发模块主要用于根据确定模块的通知将需要进行的语音质量增强处理的控制信息承载于控制包中传输至执行端。语音质量增强处理的控制信息的内容和控制包的消息结构如上述方法中的描述。The determining module is mainly used to determine the need to perform voice quality enhancement processing on the voice stream of the calling side/called side according to the office route information and/or user subscription information of the calling side/called side, and notify the control information delivery module. The control information delivery module is mainly used to carry the control information of the voice quality enhancement process required to be carried in the control packet and transmit it to the execution end according to the notification of the determination module. The content of the control information of the voice quality enhancement processing and the message structure of the control packet are as described in the above method.
执行端主要用于根据其接收的控制包中承载的控制信息对语音流进行相应的语音质量增强处理。执行端的功能由资源分配模块、执行模块和转换模块来实现。The execution end is mainly used to perform corresponding voice quality enhancement processing on the voice stream according to the control information carried in the control packet it receives. The function of execution end is realized by resource allocation module, execution module and conversion module.
资源分配模块主要用于根据控制端传输来的控制包中承载的控制信息为执行模块分配相应的语音质量增强资源,如为主叫侧、被叫侧分配TC1、VQE1资源等,具体如上述方法中的描述。The resource allocation module is mainly used to allocate corresponding voice quality enhancement resources for the execution module according to the control information carried in the control packet transmitted from the control terminal, such as allocating TC1 and VQE1 resources for the calling side and the called side, as described above. in the description.
执行模块主要用于根据资源分配模块为其分配的资源对外部传输来的基于G.711语音流或转换模块传输来的基于G.711语音流进行语音质量增强处理。具体过程如上述方法中的描述。The execution module is mainly used to enhance the voice quality of the G.711-based voice stream transmitted from the outside or the G.711-based voice stream transmitted by the conversion module according to the resources allocated by the resource allocation module. The specific process is as described in the above method.
转换模块主要用于将外部传输来的语音流转换为基于G.711语音流,并传输至执行模块。The conversion module is mainly used to convert the externally transmitted voice stream into a G.711-based voice stream and transmit it to the execution module.
虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形和变化。While the invention has been described by way of example, those skilled in the art will appreciate that there are many variations and changes to the invention without departing from the spirit of the invention, and it is intended that such variations and changes be covered by the appended claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005100912696A CN1917039B (en) | 2005-08-19 | 2005-08-19 | Voice quality enhancement method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005100912696A CN1917039B (en) | 2005-08-19 | 2005-08-19 | Voice quality enhancement method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1917039A CN1917039A (en) | 2007-02-21 |
| CN1917039B true CN1917039B (en) | 2010-09-15 |
Family
ID=37738018
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2005100912696A Expired - Fee Related CN1917039B (en) | 2005-08-19 | 2005-08-19 | Voice quality enhancement method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1917039B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103177729B (en) * | 2011-12-21 | 2016-04-06 | 宇龙计算机通信科技(深圳)有限公司 | Voice based on LTE send, receiving handling method and terminal |
| TWI469650B (en) * | 2012-11-29 | 2015-01-11 | Quanta Comp Inc | Acoustic echo cancellation (aec) system |
| CN105100524A (en) * | 2014-05-16 | 2015-11-25 | 阿尔卡特朗讯 | Packet-based acoustic echo cancellation method and device |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1504042A (en) * | 2000-12-29 | 2004-06-09 | ��˹��ŵ�� | Audio Signal Quality Enhancement in Digital Networks |
-
2005
- 2005-08-19 CN CN2005100912696A patent/CN1917039B/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1504042A (en) * | 2000-12-29 | 2004-06-09 | ��˹��ŵ�� | Audio Signal Quality Enhancement in Digital Networks |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1917039A (en) | 2007-02-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4166568B2 (en) | Communication terminal, system and method for internet / network telephony | |
| KR101037341B1 (en) | Method and system to improve the discontinuous transmission function | |
| JP4728251B2 (en) | Method for reducing or compensating for delays associated with PTT and other real-time interactive communication exchange processes | |
| CN100592752C (en) | Method for direct voice phone call by using bluetooth terminal | |
| JP4575915B2 (en) | Communication of conversation data signals between terminal devices via wireless links | |
| JPH0833040A (en) | Personal phone extension system | |
| CN106331380A (en) | Android platform broadband and narrowband fusion intercom voice gateway control method and system | |
| JP3650800B2 (en) | Sending speech between terminals on different networks | |
| CN101778485A (en) | Method and device for building circuit switch link of WiFi handheld equipment | |
| JP2004535729A (en) | Group call service for effective transmission of voice packets over CDMA wireless link | |
| CN101635994B (en) | Method for acquiring speech coding capacity of wireless network and realizing TrFO by core network | |
| CN1917039B (en) | Voice quality enhancement method and system | |
| CN101621585B (en) | Mobile phone and method for realizing single-key dialing of mobile phone | |
| CN103428384A (en) | System and method for realizing mobile VoIP (Voice over Internet Phone) service of smart handheld device | |
| CN214125328U (en) | Narrow-band communication system equipment for interconnection and intercommunication of wireless cluster gateway and broadband communication system | |
| EP2553914A1 (en) | Transcoder bypass in mobile handset for voip call with bluetooth headsets | |
| US7079838B2 (en) | Communication system, user equipment and method of performing a conference call thereof | |
| JP4687917B2 (en) | Signal control method for IP telephone system | |
| CN100461906C (en) | A method and device for improving transmission efficiency of CDMA system voice interface | |
| CN101801028B (en) | Method, device and system for informing business option information and transmitting voice | |
| TW201618528A (en) | Telephone conference system and method | |
| KR100409139B1 (en) | Method and System for Calling using Bluetooth Internet Phone | |
| CN1327719C (en) | Method of sharing IWF source apparatus | |
| CN100353777C (en) | Method and equipment for treating special sound class in communication system | |
| CN1234251C (en) | Call progress management system, apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CI01 | Publication of corrected invention patent application |
Correction item: Application Date Correct: 20050818 False: 20050819 Number: 8 Page: 466 Volume: 23 |
|
| CI02 | Correction of invention patent application |
Correction item: Application Date Correct: 20050818 False: 20050819 Number: 8 Page: The title page Volume: 23 |
|
| COR | Change of bibliographic data |
Free format text: CORRECT: APPLICATION DATE; FROM: 2005.8.19 TO: 2005.8.18 |
|
| ERR | Gazette correction |
Free format text: CORRECT: APPLICATION DATE; FROM: 2005.8.19 TO: 2005.8.18 |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100915 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |