Background technology
In the user's communication process, user's sound can be diffused in the room in the receiver of mobile phone or landline telephone, simultaneously also can be by the inner microphone that arrives of phone, and like this, the side of speaking will hear and pass oneself the sound of coming in the other side's receiver.
This phenomenon is delayed when smaller at circuit, and the user is imperceptible, and when circuit is delayed when bigger, the user will hear and pass oneself the sound of coming in the other side's receiver that particularly under hands-free mode, this problem is apparent in view.
Channel in mobile communication is delayed can using the Acoustic Echo Cancellation technology usually when bigger, and promptly AEC (Acoustic Echo Cancellation) technology improves the speech quality of voice.
The AEC technology is the method that a kind of voice quality strengthens, and except that the AEC technology, also has following voice quality Enhancement Method:
NR (ground unrest inhibition): NR can eliminate the interference noise of the background environment in the conversation, makes the opposing party can hear conversation clearly.
ALE (automatic local receiver gain control): the ALE function can be adjusted the gain that the user hears sound automatically according to the noise intensity of user place environment, makes the user can not hear dialog context in noisy environments.
ALG (automatic gain control): the ALG function can be adjusted the user speech volume automatically, when conversation sound when diminishing, can adjust automatically and changes its gain, makes conversation the opposing party can not hear that sound is too small or too high.
VEI (voice strengthen identification): voice are understood easily.
DD (data service detection): can detect data service in the band in the voice signal, and data service in the transparent transmission band.
EEC (electricity Echo Cancellation): can offset analog telephone 2 lines changes the electricity echo that 4 lines produce, and has different tails long usually.
In use there is operative orientation such as two-way, internal, external etc. in above-mentioned voice quality enhancement function, and promptly voice quality enhancement function can two-wayly work, can internally work, can externally work.
At present, use Acoustic Echo Cancellation technology, above-mentioned voice quality enhancement function such as NR, ALE to realize that the method that voice quality strengthens is mainly:
Voice quality enhancement function such as AEC, NR, ALE, ALG, VEI, DD, EEC are integrated in the codec, as voice quality enhancement function such as AEC, NR, ALE, ALG, VEI, DD, EEC are integrated in BSS (base station sub-system) codec, for another example voice quality enhancement function such as AEC, NR, ALE, ALG, VEI, DD, EEC are integrated in the codec on the MSC (mobile switch), to eliminate the acoustic echo of mobile subscriber, improve voice quality to the core net direction.
Simultaneously, the AEC function that is integrated in the codec can also be discerned FAX (fax) business and data service, realize opening automatically, closing AEC function etc.
Though the method that above-mentioned voice quality strengthens can be improved voice quality significantly,, the enforcement of this method can reduce the density and the processing power of codec, and, be not suitable in the separation architecture of 2G/3G, using.
Summary of the invention
The objective of the invention is to, a kind of voice quality Enhancement Method and system are provided, control end is controlled actuating station by controlling packet and is carried out the voice quality enhancing, and method of the present invention can be suitable in the separation architecture of 2G/3G, thereby has realized improving the purpose of voice quality.
For achieving the above object, a kind of voice quality Enhancement Method provided by the invention comprises:
A, control end are determined and need be carried out the voice quality enhancement process to voice flow;
B, described control end are carried on the actuating station that transfers to the voice quality enhancement process in the controlling packet with the control information of the voice quality enhancement process that needs carry out;
C, described actuating station carry out corresponding voice quality enhancement process according to the control information of carrying in the controlling packet to the voice flow of its reception.
Described control end comprises: call server.
The actuating station of described voice quality enhancement process comprises: based on media gateway in the 2G/3G network of separation architecture pattern or the media gateway in the NGN network.
Described step a specifically comprises:
Described control end determines that according to the office direction information and/or the user signing contract information of Calling Side/callee side needs carry out the voice quality enhancement process to the voice flow of Calling Side/callee side.
Controlling packet among the described step b is: based on controlling packet H.248.
Need the control information of the voice quality enhancement process of carrying out to comprise among the described step b: opening/closing Acoustic Echo Cancellation and/or electric echo suppress the degree of depth and/or the opening/closing ground unrest suppresses and/or control of opening/closing automatic gain and/or the automatic local receiver gain control of opening/closing and/or the opening/closing voice strengthen identification and/or the opening/closing data service detects.
The control information that needs among the described step b to carry out the voice quality enhancing also comprises: the direction that direction that the direction of Acoustic Echo Cancellation direction and/or automatic gain control and/or the direction of automatic local receiver gain control and/or voice strengthen identification and/or data service detect.
When the electric echo inhibition degree of depth of carrying in the described control information was predetermined value, the actuating station of voice quality enhancement process determined independently that as required electric echo suppresses the degree of depth.
Described step c specifically comprises:
Actuating station distributes corresponding voice quality to strengthen resource according to the control information of controlling packet carrying, and carries out the voice quality enhancement process to what external transmission was come based on voice flow G.711.
Described step c specifically comprises:
Actuating station distributes corresponding voice quality to strengthen resource and code converter resource according to the control information of controlling packet carrying;
The voice flow that described code converter resource is come external transmission is converted to based on voice flow G.711, and strengthens resource by described voice quality voice flow is G.711 carried out corresponding voice quality enhancement process.
The present invention also provides a kind of voice quality enhanced system, comprising:
Control end: when determining to carry out the voice quality enhancement process to voice flow, the control information of the voice quality enhancement process that needs are carried out is carried on the actuating station that transfers to the voice quality enhancement process in the controlling packet;
Actuating station: the control information of carrying in the controlling packet according to its reception is carried out corresponding voice quality enhancement process to voice flow.
Described control end comprises:
Determination module: office direction information and/or user signing contract information according to Calling Side/callee side determine that needs carry out the voice quality enhancement process to the voice flow of Calling Side/callee side, and the notice control information issues module;
Control information issues module: the control information of the voice quality enhancement process of needs being carried out according to the notice of determination module is carried on and transfers to actuating station in the controlling packet.
Described actuating station comprises:
Resource distribution module: the control information of carrying in the controlling packet that transmission comes according to control end is that execution module distributes corresponding voice quality to strengthen resource;
Execution module: according to resource distribution module for the resource of its distribution to carrying out the voice quality enhancement process based on voice flow G.711.
Described actuating station also comprises:
Modular converter: the voice flow that external transmission is come is converted to based on voice flow G.711, and transfers to execution module.
Described control end is: call server;
Described actuating station is: the media gateway in media gateway in the 2G/3G network or the NGN network.
Description by technique scheme as can be known, control end of the present invention is controlled actuating station by controlling packet and is carried out voice quality and strengthen, and method of the present invention can be suitable in the 2G/3G of separation architecture network; By in the actuating station of voice quality enhancement process such as media gateway etc., voice flow is carried out the voice quality enhancement process, avoided the density to codec, the influence of processing power; Control end of the present invention is by the control information of one or more voice quality enhancement function of carrying in controlling packet, and its operative orientation is set, make actuating station such as media gateway finish the voice quality enhancement process by simple command execution, the voice quality of having simplified media gateway strengthens operation; Thereby realized improving the purpose of voice quality by technical scheme provided by the invention.
Embodiment
Core of the present invention is: control end determines that need carry out voice quality to voice flow strengthens, the control information that the voice quality that described control end carries out needs strengthens is carried on the actuating station that transfers to the voice quality enhancement process in the controlling packet, and described actuating station is carried out the voice quality enhancement process according to the control information of carrying in the described controlling packet to the voice flow of its reception.
Based on core concept of the present invention technical scheme provided by the invention is further described below.
In the 2G/3G network under the separation architecture pattern, control end of the present invention can be call server, and actuating station can be media gateway.In the NGN network, the actuating station of voice quality enhancement process can be media gateway.
Call server can determine whether that needs carry out the voice quality enhancement process to voice flow according to calling party, called subscriber's office direction information, user signing contract information etc., if call server is determined and need be carried out the voice quality enhancement process to voice flow, then also need wherein part voice quality enhancement function travel direction indication, in order to indicating one-way voice quality enhancement process or double-directional speech quality enhancement process, call server with the control information of voice quality enhancement process by transferring to media gateway based on H.248 controlling packet.
Can comprise one or more of following voice quality enhancement function simultaneously based on the control information of the voice quality enhancement process of carrying in the controlling packet H.248: open or close AEC processing capacity, electric echo and suppress the degree of depth, open or close ground unrest and suppress, open or close automatic gain control, open or close automatic local receiver gain control, open or close voice and strengthen identification, open or close data service detection etc.
In addition, open automatic gain control when including in the control information that the voice quality of controlling packet strengthens, open automatic local receiver gain control, open voice and strengthen identification or open data service when detecting, also should indicate the direction that comes into force of this voice quality enhancement function in control information, i.e. the direction of automatic gain control, the direction of automatic local receiver gain control, voice strengthen the direction of identification, the direction that data service detects.
Electric echo suppresses the degree of depth and can be 16ms, 32ms, 48ms, 64ms, 96ms or 128ms in the control information, and call server can wait according to office direction information, the user signing contract information of the calling features of Calling Side/callee side such as Calling Side/callee side to determine the echo of the voice flow of Calling Side/callee side is suppressed the degree of depth.
The controlling packet enhance ec package (strengthen echo and suppress bag) that the present invention is based on H.248 can be defined as following form:
PropertyID:aec(0x0001)
Type:integer
Possible values: being that 0 expression is closed, is that 1 expression is opened.Default value is for closing.
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:aec_direction(0x0002)
Type:integer
Possible values: being 0 expression internally (incoming), is 1 expression externally (outcoming), and 2 is two-way (both), and default value is internal.
The direction of Description:aec
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:eec_depth(0x0003)
Type:integer
Possible values: be that 0 expression oneself is selected the degree of depth of electric echo inhibit feature according to actual needs by media gateway, be 1 expression 16ms EEC, be 2 expression 32ms EEC, be 3 expression 48ms EEC, be 4 expression 64ms EEC, being 5 expression 96msEEC, is 6 expression 128msEEC, and default value is 0;
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:nr(0x0004)
Description: ground unrest is restrained
Type:integer
Possible values: being that 0 (off) expression is closed, is that 1 (on) expression is opened.Default value is for closing.
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:nr_dir(0x0005)
The action direction of Description:nr
Type:Enumeration
Possible?values:incoming(0),outcoming(1),both(2)。Default:both
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:ale(0x0006)
Description: automatic local receiver gain control
Type:integer
Possible values: being that 0 (off) expression is closed, is that 1 (on) expression is opened, and default value is for closing.
Defined?in:LocalControlDescriptor
Characteristics?:read/write
PropertyID:ale_dir(0x0007)
The action direction of Description:ale
Type:Enumeration
Possible values: being 0 expression internally (incoming), is 1 expression externally (outcoming), and 2 is two-way (both), and default value is two-way.
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:alg(0x0008)
Description: automatic gain control
Type:Enumeration
Possible values: being 0 expression internally (incoming), is 1 expression externally (outcoming), and 2 is two-way (both), and default value is two-way.
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:alg_dir(0x0009)
The action direction of Description:alg
Type:Enumeration
Possible values: being 0 expression internally (incoming), is 1 expression externally (outcoming), and 2 is two-way (both), and default value is two-way.
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:vei(0x000A)
Description: voice strengthen identification
Type:integer
Possible values: being that 0 (off) expression is closed, is that 1 (on) expression is opened, and default value is for closing.
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:vei_dir(0x000B)
The action direction of Description:vei
Type:Enumeration
Possible values.: being 0 expression internally (incoming), is 1 expression externally (outcoming), and 2 is two-way (both), and default value is two-way.
Defined?in:LocalControlDeseriptor
Characteristics:read/write
PropertyID:dd(0x000C)
Description: data service detects
Type:integer
Possible values: being that 0 (off) expression is closed, is that 1 (on) expression is opened.Default value is for closing
Defined?in:LocalControlDescriptor
Characteristics:read/write
PropertyID:dd_dir(0x000D)
The action direction of Description:dd
Type:Enumeration
Possible values: being 0 expression internally (incoming), is 1 expression externally (outcoming), and 2 is two-way (both), and default value is two-way.
Defined?in:LocalControlDescriptor
Characteristics:read/write
The present invention is by expanding H.248 protocol interface, increase the kind that voice strengthen, the opening and closing of common electricity EC (EEC) are handled by the original H.248.1 TDM Circuit Package (time multiplexing circuit bag) of definition, the tail of having expanded electricity EC in enhance ec package is long, be that electric echo suppresses the degree of depth, using TDM Circuit Package to open under the situation of electricity EC, it is long that the eec_depth parameter that can use enhanceec package to define indicates its tail.
Between soft switch and media gateway, can realize voice enhancement process control information transmission between call server and the media gateway by the controlling packet based on H.248 defined above, media gateway is that voice flow distributes corresponding voice quality to strengthen resource according to the control information of call server, media gateway strengthens resource by this voice quality voice flow is carried out corresponding voice quality enhancement process, thereby, under the situation of density that does not influence codec and processing power, reach the purpose that improves voice quality.
Below in conjunction with accompanying drawing technical scheme of the present invention is elaborated.
In the 2G network under separating the framework pattern, the implementation method that voice quality of the present invention strengthens as shown in Figure 1.
In Fig. 1, MS1 and MS2 are the mobile subscriber, and BSC1 is the base station controller of MS1 correspondence, and BSC2 is the base station controller of MS2 correspondence.If setting MS1 is that calling party, MS2 are the called subscriber, then BSC1 is that Calling Side base station controller, BSC2 are the callee side base station controller.
Between MS1 and the BSC1, be the air interface part between MS2 and the BSC2, and transmit speech data by wireless channel; Media gateway is connected with BSC1, BSC2 respectively by the E1 interface board, adopt TDM (time division multiplex) mode to come transferring voice stream between BSC1 and the BSC2, and BSC is connected, and is used for transmitting audio data stream between BSC and MSC by E1 with media gateway.
Because BSC1 and BSC2 are the voice flow that has adopted speech coding algorithm G.711 to the voice flow of media gateway transmission, and, the voice flow of present EC chip support speech coding algorithm G.711, therefore, media gateway of the present invention can directly be Calling Side based on the control information of carrying in the controlling packet H.248 according to what the call server transmission came, callee side distributes VQE1 (voice quality enhancing), the VQE2 resource, so that carry voice traffic data stream on the E1 interface board in the media gateway is carried out the voice quality enhancement process, wherein, the VQE1 resource is used for the voice flow of MS1 is carried out the voice quality enhancement process, the VQE2 resource is used for the voice flow of MS2 is carried out the voice quality enhancement process, thereby, reach the raising Calling Side, the purpose of callee side voice quality.
In the R4 networking of the 3G network under separating the framework pattern, support compressed voice owing to need the EC chip, or compressed voice is converted to based on carrying out the voice quality enhancement process behind the voice flow G.711 again, therefore, suggestion support voice quality enhancement process function not in the R4 of 3G network networking.
In the R99 networking of the 3G network under separating the framework pattern, the implementation method that voice quality of the present invention strengthens as shown in Figure 2.
In Fig. 2, RNC is the radio network controller in the 3G network, setting RNC1 is Calling Side wireless user terminal corresponding wireless network controller, and RNC2 is a callee side wireless user terminal corresponding wireless network controller, transmits speech data by wave point between wireless user terminal and the RNC.Broadband interface plate between RNC and the media gateway can adopt the broadband interface plate of ATM.
Because RNC1 and RNC2 do not have employing speech coding algorithm G.711 to the voice flow of media gateway transmission, so, media gateway of the present invention can adopt the mode of double T C and two AEC carry out voice quality enhancement process to callee side, callee side to the voice flow of Calling Side to Calling Side respectively based on the control information of carrying in the controlling packet H.248 according to what call server transmission came, media gateway promptly of the present invention at the IU of RNC interface to the voice quality enhancement process function of TDM direction increase to the voice flow of Calling Side, callee side.Concrete grammar is: media gateway directly is Calling Side, callee side distribution T C1, VQE1, TC2, the VQE2 resource, with conversion and voice quality enhancement process that the speech business data stream of carrying on the broadband interface plate in the media gateway is decoded, wherein, the TC1 resource is used for the Calling Side voice flow that RNC1 sends to media gateway is decoded into voice flow based on G.711 speech coding algorithm, then, by the VQE1 resource the decoded voice flow of TC1 is carried out the voice quality enhancement process, the TC2 resource is used for the callee side voice flow that RNC2 sends to media gateway is decoded into voice flow based on G.711 speech coding algorithm, then, by the VQE2 resource the decoded voice flow of TC2 is carried out the voice quality enhancement process, thereby, reach the raising Calling Side, the purpose of callee side voice quality.
When the R99 network of the 3G network under separating the framework pattern and PSTN (public switched telephone network (PSTN)) intercommunication, voice quality Enhancement Method of the present invention as shown in Figure 3.
Among Fig. 3, RNC1 is the radio network controller in the 3G network, and setting RNC1 is Calling Side wireless user terminal corresponding wireless network controller, transmits speech data by wave point between wireless user terminal and the RNC1, and PSTN user is the callee side user.
Broadband interface plate between RNC and the media gateway can adopt the broadband interface plate of ATM.
Because RNC1 does not have employing speech coding algorithm G.711 to the voice flow of media gateway transmission, and there is not acoustic echo in the PSTN side, therefore, media gateway of the present invention can adopt the TC+VQE mode based on the control information of carrying in the controlling packet H.248 according to what the call server transmission came, Calling Side is carried out voice quality enhancement process beyond the EEC to the voice flow of callee side, callee side is carried out common EEC to the voice flow of Calling Side to be handled, concrete grammar is: media gateway directly is Calling Side, callee side distribution T C1, the VQE1 resource, the operating switch and the operative orientation of every kind of speech enhancement technique in the setting VQE1 resource.Strengthen with conversion that the speech business data stream of carrying on the broadband interface plate in the media gateway is decoded, voice quality, wherein, the TC1 resource is used for the Calling Side voice flow that RNC1 sends to media gateway is decoded into voice flow based on G.711 speech coding algorithm, then, be provided with according to running parameter by the VQE1 resource the decoded voice flow of TC1 is carried out the voice quality enhancement process, thereby, reach the purpose that improves Calling Side, callee side voice quality.
Voice quality enhanced system provided by the invention comprises: control end and actuating station.Control end can be call server, and actuating station can be media gateway, as media gateway in media gateway in the 2G/3G network or the NGN network etc.
Control end is mainly used in when determining to carry out the voice quality enhancement process to voice flow, and the control information of the voice quality enhancement process that needs are carried out is carried on the actuating station that transfers to the voice quality enhancement process in the controlling packet.
The function of control end issues module by determination module and control information and realizes.
Determination module is mainly used in according to the office direction information of Calling Side/callee side and/or user signing contract information determines that needs carry out the voice quality enhancement process to the voice flow of Calling Side/callee side, and the notice control information issues module.Control information issues control information that module is mainly used in the voice quality enhancement process of needs being carried out according to the notice of determination module and is carried on and transfers to actuating station in the controlling packet.Description in the content of the control information of voice quality enhancement process and the message structure of controlling packet such as the above-mentioned method.
Actuating station is mainly used in the control information of carrying in the controlling packet according to its reception voice flow is carried out corresponding voice quality enhancement process.The function of actuating station is realized by resource distribution module, execution module and modular converter.
It is that execution module distributes corresponding voice quality to strengthen resource that resource distribution module is mainly used in the control information of carrying in the controlling packet that transmission comes according to control end, as is Calling Side, callee side distribution T C1, VQE1 resource etc., concrete as the description in the above-mentioned method.
Execution module is mainly used in according to resource distribution module and carries out voice quality enhancement process based on what voice flow or modular converter transmission G.711 came based on voice flow G.711 to what external transmission was come for the resource of its distribution.Description in detailed process such as the above-mentioned method.
Modular converter is mainly used in the voice flow that external transmission is come and is converted to based on voice flow G.711, and transfers to execution module.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wishes that appended claim comprises these distortion and variation.