The speech transmission device and the method for the up discontinuous transmission of a kind of Abis interface
Technical field
The present invention relates to a kind of mobile communication network speech transmission device and method; Particularly based on FR (Full Rate on the IP Abis interface; Full rate, EFR (Enhanced Full Rate; EFR is professional) and speech transmission device and the method for a kind of up DTX (Discontinuous Transmission, discontinuous transmission) of HR (HalfRate, half rate traffic).
Background technology
GSM is most popular a kind of communication standard in the mobile communication.The Radio Access Network of gsm system is commonly referred to base station sub-system BSS.Base station sub-system is joined with travelling carriage through wave point, carries out wireless signal transmission, reception and RRM; On the other hand, base station sub-system BSS links to each other with the moving exchanging center MSC or the MSC Server of network subsystem, realizes the connection between the different user.In a typical gsm system, base station sub-system comprises two logic contacts: base station controller BSC and base transceiver station BTS.BSS uses dissimilar speech codings to transmit in order to adapt to wireless and wired system; So between BSC and MSC, increased transcoder and corresponding multiplexing equipment, be referred to as yard a type conversion and a Rate Adapter Unit TRAU (Transcoder/Rate Adaptor Unit).Usually TRAU and BSC put together.
Abis interface is defined as two functional entity BSC of base station sub-system and the communication interface between the BTS, is used for the far-end interconnection between BTS and the BSC.Abis interface is through the 2.048Mbps of employing standard or the PCM of 64kbps (Pulse Code Modulation; Pulse code modulation) digital transmission link is realized; Its supports the service that the oriented user of institute provides, and support is to the control of BTS wireless device and the distribution of wireless frequency.Be responsible for speech coding conversion and rate adapted at BSC side TRAU, its pcm stream from the 64kbps of MSC convert into 13kbps or more low rate the compressed voice coding or be the compressed voice code conversion pcm stream.What the Abis interface user plane was transmitted is trau frame.In general, every separated 20ms transmits a trau frame, comprises 320 bits or 160 Bit datas, is respectively applied for full speed channel and half-rate channel.Trau frame can be divided into speech frame, Operation and Maintenance frame, Frame and empty frame again by business or function in addition, and wherein speech frame comprises full rate FR, the professional EFR of EFR, half rate traffic HR, adaptive multi-rate coding AMR and wideband adaptive multi-rate coding AMR-WB etc.
Voice transfer has dual mode, and a kind of is that no matter whether the user is talking voice flow is encoded continuously and transmitted.Another kind is discontinuous transmission DTX.Under the DTX mode, carry out speech coding and transmission in the voice activation phase; Only transmit the characterisitic parameter of comfort noise at the non-active period of speech, and carry out slow coding.Adopt the DTX mode can reduce aerial total interference level, improve system effectiveness, also can reduce power consumption, the especially travelling carriage of radio receiving-transmitting unit simultaneously.So under the DTX mode, two kinds of SID (Silence Descriptor, quiet indication) frame and Speech frames are arranged for the professional trau frame of FR/EFR/HR.Up direction BTS is through the frame type of BFI (Bad Frame Indication, bad frame indication), TAF (Time Alignment Flag, time unifying sign), three parameter notices of SID TRAU transmission; Down direction TRAU can export a SP (Speech Indicator, speech frame indication) bit and be used to indicate frame type.The professional DTX handling process of FR, EFR and HR sees also 3GPP TS46.031,3GPP TS46.081 and 3GPP TS46.041.
Traditional G SM network is based on Circuit-switched, and Abis interface also is like this.Usually the BSC and the BTS at Abis interface two ends can't put together, so Abis interface will take a large amount of transfer resources.And be very low based on its efficiency of transmission of transmission means of E1.Recently along with Softswitch technology is introduced core net, IP-based switching network framework forms gradually.Abis interface (the present invention is called IP Abis) based on the IP transmission means is as shown in Figure 1.
If under IP Abis pattern, still continue to use the load mode under the E1 pattern; Promptly transmit all frames (comprising bad frame), will cause a large amount of bandwidth be wasted (it is to be in the quiet phase that test data is illustrated in the communication process time of about 60%~70%) at up direction.
In order to overcome above deficiency, be necessary in IP Abis to introduce the transmission method under a kind of new DTX pattern, make the transmission bandwidth that under the situation that does not influence voice quality, reduces the IP Abis interface, keep original processing framework simultaneously as far as possible.
Summary of the invention
Technical problem to be solved by this invention is; Speech transmission device and the method for a kind of up DTX of Abis interface that carries based on IP are provided; It can significantly reduce taking of transmission bandwidth under the situation that does not influence voice quality, and effectively reduces the transmission cost of Abis interface.
For achieving the above object, the speech transmission device of the up DTX of Abis interface of the present invention is used to comprise the communication system of base transceiver station BTS, base station controller BSC and IP network, and said speech transmission device comprises:
The channel decoding module, it is arranged at said BTS side, is used for the channel decoding of speech frame or comfort noise frame and the identification of comfort noise frame, and the Control Parameter of output information bit and discontinuous transmission;
Frame sends control module, and it is arranged at said BTS side, is used for judging according to current said discontinuous transmission control parameters whether present frame delivers to the upstream rate adaptation module;
The upstream rate adaptation module, it is arranged at said BTS side, is used for putting into the speech business frame to said information bit and said Control Parameter according to different business types;
The speech frame detection module, it is arranged at said BSC side, is used for detecting and recovering said speech business frame;
Conversion of sign indicating number type and rate adapted module, it is arranged at said BSC side or core-network side, is used for resolving the speech business frame according to different business types, and the Control Parameter of information bit that obtains and corresponding discontinuous transmission is carried out a yard type conversion.
The speech transmission device of the up discontinuous transmission of above-mentioned Abis interface also comprises a speech frame forwarding module, and it is arranged at said BSC side, is used for when the A mouth is the IP type, and the speech business frame that said Abis interface transmits is transmitted to said A mouth.
The speech transmission device of the up discontinuous transmission of above-mentioned Abis interface, the Control Parameter of said discontinuous transmission comprises: bad frame indication, comfort noise frame and time alignment mark.
The speech transmission device of the up discontinuous transmission of above-mentioned Abis interface, said type of service comprises: full rate, EFR business and half rate traffic.
The speech transmission device of the up discontinuous transmission of above-mentioned Abis interface, said speech frame detection module are kept voice activation and quiet two states when voice call;
When said speech frame detection module was kept voice active state, said speech frame detection module received that whenever a speech frame then is handed down to conversion of said sign indicating number type and rate adapted module to this speech frame; When said speech frame detection module constantly can not receive any frame in the conversion of sign indicating number type: to said full rate, said speech frame detection module short covering frame or bad frame are handed down to said sign indicating number type to be changed and the rate adapted module; To EFR business or half rate traffic, said speech frame detection module is mended bad frame and is handed down to conversion of said sign indicating number type and rate adapted module;
When said speech frame detection module was kept mute state, said speech frame detection module received that whenever a quiet indication frame then is handed down to conversion of said sign indicating number type and rate adapted module to this quiet indication frame, and put said time unifying and be masked as 1; Said speech frame detection module transforms when constantly can not receive new quiet indication frame in the sign indicating number type, then mends a bad frame and is handed down to conversion of said sign indicating number type and rate adapted module.
Further, the present invention also provides the voice transmission method of the up discontinuous transmission of a kind of Abis interface, is used to comprise the communication system of base transceiver station BTS, base station controller BSC and IP network, comprising:
The channel decoding step is used for speech frame or comfort noise frame being carried out channel decoding and to the identification of comfort noise frame in said BTS side, and the Control Parameter of output information bit and discontinuous transmission;
Frame sends controlled step, is used for according to the transmission of current said discontinuous transmission control parameters control to said speech business frame;
The rate adapted step is used for constructing said speech business frame to said information bit and said Control Parameter at said BTS lateral root according to different business types;
The frame transmitting step is used for through IP network transmitting voice service frame to said BSC side;
Speech frame detects step, is used for said speech business frame is detected and recovering in said BSC side;
Rate adapted and coding and decoding type switch process are used for said BSC lateral root and resolve said speech business frame and the Control Parameter of information bit that obtains and corresponding discontinuous transmission is carried out a yard type conversion according to different business types.
Above-mentioned voice transmission method also comprises speech business frame forwarding step, is used to transmit said speech business frame.
Above-mentioned voice transmission method, said frame send controlled step and further comprise: judge the step whether said speech business frame sends, to be designated as bad frame or bad frame indication normal but quiet when being designated as invalid quiet indication when bad frame, do not send, on the contrary transmission; Perhaps, as long as when bad frame is designated as bad frame, just do not send, otherwise send.
Above-mentioned voice transmission method, said speech frame detect step and further comprise:
One voice active state is to the step that the speech business frame detects, and when being used for said frame detection module and maintaining voice active state, receives that whenever a speech frame then is handed down to yard a type conversion and a rate adapted module to this frame; Be issued to yard a type conversion and a rate adapted module when when the conversion of sign indicating number type can not receive any frame, mending bad frame or empty frame constantly;
One mute state is to the step that the speech business frame detects, and when being used for said frame detection module and maintaining mute state, receives that whenever a comfort noise frame then is handed down to yard a type conversion and a rate adapted module to this frame, and replacement time unifying sign; Constantly do not receive new comfort noise frame when the conversion of sign indicating number type, then mend a bad frame and be issued to yard a type conversion and a rate adapted module.
Above-mentioned voice transmission method, said speech frame detect step and also further comprise: one judges whether A mouth type is the step of IP type, if not, then carries out speech frame and detects step, if then carry out speech frame and transmit step.
Further, the present invention also provides the base transceiver station of the up discontinuous transmission of a kind of Abis interface, comprising:
The channel decoding module is used for the channel decoding of speech frame or comfort noise frame and the identification of comfort noise frame, and the Control Parameter of output information bit and discontinuous transmission;
Frame sends control module, is used for judging according to current said discontinuous transmission control parameters whether present frame delivers to the upstream rate adaptation module;
The upstream rate adaptation module is used for putting into the speech business frame to said information bit and said Control Parameter according to different business types.
Further, the present invention also provides the base station controller of the up discontinuous transmission of a kind of Abis interface, comprising:
The speech frame detection module is used for detecting and recovering said speech business frame;
Conversion of sign indicating number type and rate adapted module are used for resolving the speech business frame according to different business types, and the Control Parameter of information bit that obtains and corresponding discontinuous transmission is carried out a yard type conversion.
Above-mentioned base station controller also comprises a speech frame forwarding module, is used for when the A mouth is the IP type, and the speech business frame that said Abis interface transmits is transmitted to said A mouth.
Compared with prior art, the present invention can significantly reduce taking of transmission bandwidth through reduce the transmission of unnecessary speech business frame at IP Abis interface up direction under the situation that does not influence voice quality, effectively reduce the transmission cost of Abis interface.In addition; The present invention is based on TDM (Time DivisionMultiplex original; Time division multiplexing) increased frame under the framework of mode and sent control and frame detection module, this processing keeps original processing framework as far as possible when reducing transmission bandwidth, make things convenient for system upgrade and transformation.
Description of drawings
Fig. 1 is the sketch map of IP Abis interface;
Fig. 2 is the speech business frame Processing Structure block diagram of the up DTX speech transmission device of IP Abis interface;
Fig. 3 is the transmission method flow chart of the up DTX speech transmission device of Application of I P Abis interface;
Fig. 4 is the state transition diagram that frame sends control and frame detection module.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention being elaborated, with purpose, scheme and the effect of further understanding the present invention, but is not as the restriction to accompanying claims protection range of the present invention.
Shown in Figure 2 is the speech business frame Processing Structure block diagram of the up DTX speech transmission device of embodiment of the invention IP Abis interface; With reference to figure 2; The speech transmission device of the up discontinuous transmission of Abis interface; Be used to comprise the communication system of base transceiver station BTS, base station controller BSC and IP network, said speech transmission device comprises: the channel decoding module 201, frame that is arranged at the BTS side sent control module 202 and upstream rate adaptation module 203 and is arranged at speech frame detection module 204, the conversion of sign indicating number type and the rate adapted module (TRAU) 205 and voice forwarding module 206 of BSC side.
On up direction, channel decoding module 201 is accomplished Speech frame or the channel decoding of SID frame and the identification of SID frame, and output information bit and DTX Control Parameter BFI and SID.Among the present invention, the SID frame is called the comfort noise frame, and the Speech frame is called speech frame, and Speech frame and SID frame are referred to as the speech business frame.
Whether frame sends control module 202 will deliver to rate adapted module 203 according to current DTX B parameter FI and SID decision current speech traffic frame.BFI and SID have determined the speech business frame type of the current TRAU of sending to side together, and table 1 is the up speech business frame type of IP Abis interface under the DTX pattern:
Table 1:
Reference table 1: the type according to speech frame has two kinds of controlling schemes:
(1) when BFI be 0 and SID when being not 1 this frame be sent to the rate adapted module; When BFI be 1 (bad frame) or BFI be 0 but SID when being 1 (invalid comfort noise frame) this frame do not send.
(2) this frame is sent to the rate adapted module when BFI is 0; This frame does not send when BFI is 1 (bad frame).
Upstream rate adaptation module 203 will be accomplished the work of putting into the speech business frame to information bit and Control Parameter according to different business types.Here the speech business frame that is generated can be with prior art in the speech business frame that transmits in the Abis interface have the trau frame of same structure, also can be other frame structures, this frame of ` only transmits speech payload.
The frame detection module 204 of BSC side is accomplished the work that the speech business frame detects and recovers, and this module is kept two states when voice call: voice active state and mute state.
When voice active state, frame detection module 204 receives that whenever a speech business frame then is handed down to rate adapted module 205 to this frame.When can not receive any frame, doing following processing in the sign indicating number type conversion moment (being the 20ms interval):
Professional to FR: short covering frame or bad frame (BFI=1) are handed down to yard a type conversion and a rate adapted module 205.
Professional to EFR: as to mend bad frame and be handed down to yard a type conversion and a rate adapted module 205;
Professional to HR: as to mend bad frame and be handed down to yard a type conversion and a rate adapted module 205.
In mute state, frame detection module 204 is whenever received a SID frame, then is handed down to a conversion of yard type and a rate adapted module 205 to this frame, and to put TAF be 1.If frame detection module 204 if do not receive new SID frame, is then mended a bad frame and is issued to yard a type conversion and a rate adapted module 205 when sign indicating number type conversion (interval of every 20ms) arrival constantly of TRAU;
If the trau frame structure of the speech business frame same structure that transmits in above-mentioned speech frame structure and the prior art Abis interface, the Control Parameter BFI of DTX, SID and TAF will directly extract from the control bit of trau frame.
For other frame structure, the IP Abis interface can adopt multiple service-level agreements to transmit the speech business frame usually, for example RTP (RTP, Real Time Transport Protocol) agreement etc.At this moment, the parameter of logos sound business frame type can place the ad-hoc location of Real-time Transport Protocol bag, the speech business content frame that also can place Real-time Transport Protocol to transmit.If distinguish the RTP payload this moment is speech frame, then SID is 0; Otherwise SID is 2 during for the comfort noise frame; The restoration methods of BFI and TAF is following: the BFI of all frames of receiving reverts to 0 (UFI when HR is professional [Unreliable Frame Indicator, insincere frame indication] also reverts to 0), and it is 1 that the bad frame that replenishes is put BFI; In the quiet phase, revert to 1 for the SID frame TAF that newly receives, other is 0 constantly.
Conversion of sign indicating number type and rate adapted module 205 are resolved speech frame according to different business types, and carry out a yard type conversion to information bit that obtains and corresponding D TX Control Parameter.
Shown in Figure 3 for using the voice transmission method flow chart of above-mentioned speech transmission device; With reference to figure 2 and 4, this method comprises:
Step S401: carry out channel decoding and the comfort noise frame is discerned and the Control Parameter BFI of output information bit and discontinuous transmission and SID through 201 pairs of speech frames of said channel decoding module or comfort noise frame;
Step S402: send control module 202 by frame and whether issue according to said Control Parameter BFI and SID control speech frame.Reference table 1, explain that frame sends the concrete controlling schemes of control module:
(1) when BFI=0 and SID! This frame was sent to upstream rate adaptation module 203 in=1 o'clock; This frame does not send when BFI=1 or BFI=0 and SID=1.
(2) this frame is sent to upstream rate adaptation module 203 when BFI=0; This frame does not send when BFI=1.
Step S403: rate adapted.Construct the speech business frame through the upstream rate adaptation module according to different business types; That is: put into the speech business frame to said information bit and said Control Parameter;
Step S404: through the speech frame detection module 204 of IP network transmitting voice service frame to the BSC side;
Does step S405: speech frame detection module 204 judge that A mouth type is the IP type? If not, execution in step S406 then is if then execution in step S407 directly transmits;
Step S406: 204 pairs of speech business frames of sound frame detection module detect, and detection method is following:
When voice active state, receive that whenever a speech business frame then is handed down to yard a type conversion and a rate adapted module 205 to this frame.When sign indicating number type conversion constantly (20ms at interval) mend bad frame (BFI=1) or empty frame when can not receive any frame and be issued to yard type conversion and rate adapted module 205 again and carry out rate adapted and resolve speech frame and carry out yard type and transform;
In mute state, whenever receive a comfort noise frame, 204 of frame detection modules are handed down to rate adapted module 205 to this frame, and to put TAF be 1.Frame detection module 204 is when sign indicating number type conversion (interval of every 20ms) arrival constantly; If do not receive new comfort noise frame, then mend a bad frame and be issued to the conversion of yard type and rate adapted module 205 and carry out rate adapted and resolve the speech business frame and carry out yard type and transform;
Step S407: carry out the speech business frame and transmit.
If TRAU is in the BSC side, but be positioned at core-network side, speech frame will directly be forwarded on the A mouth by voice forwarding module 206 this moment.
Fig. 4 is the state transition diagram that frame sends control module and frame detection module.Specify frame with reference to figure 4 and send control module 202 in the state transitions situation of frame detection module 204; The frame that the up DTX of IP Abis interface handles sends control module and the frame detection module has 3 basic status: initial state 504, voice activation attitude 502 and quiet attitude 503; The initial state 501 that DTX handles is meant when any calling useless exists, and behind call setup, transfers to voice activation attitude (Speech) 502; In voice activation attitude 502 if receive that the SID frame then is transferred to quiet attitude 503; In like manner receive that in quiet attitude 503 speech frame then gets back to voice activation attitude 502; When voice activation attitude 502 or quiet attitude 503 are received call release message, DTX handles and gets back to initial state 501.
Though the present invention discloses as above with a preferred embodiment; Right its is not in order to limit the present invention; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.