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

CN100373965C - Method for adjusting data-sampling and encoding time - Google Patents

Method for adjusting data-sampling and encoding time Download PDF

Info

Publication number
CN100373965C
CN100373965C CNB2004100444579A CN200410044457A CN100373965C CN 100373965 C CN100373965 C CN 100373965C CN B2004100444579 A CNB2004100444579 A CN B2004100444579A CN 200410044457 A CN200410044457 A CN 200410044457A CN 100373965 C CN100373965 C CN 100373965C
Authority
CN
China
Prior art keywords
time
core net
packet
network controller
adaptive multi
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
Application number
CNB2004100444579A
Other languages
Chinese (zh)
Other versions
CN1697537A (en
Inventor
李志同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100444579A priority Critical patent/CN100373965C/en
Publication of CN1697537A publication Critical patent/CN1697537A/en
Application granted granted Critical
Publication of CN100373965C publication Critical patent/CN100373965C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a method for adjusting data sampling and coding time, which belongs to the field of communication. Through canceling time delay buffers, the present invention can reduce the time delay of a speech packet of a system from end to end to enhance speech quality and can also overcome the problem of packet loss when TA requires time delay all the time or sends an empty packet in advance so as to further enhance the speech quality. The method for adjusting data sampling and encoding time comprises the following steps that the streams of pulse code modulation codes from external networks are sampled according to the requirements of time adjustments and self-adaptive multi-rates are coded when a core network receives a time adjusting message from one side of a wireless network controller; the core network sends the self-adaptive multi-rate data packet to the wireless network controller.

Description

Data sampling and scramble time method of adjustment
Technical field
The present invention relates to the communications field, particularly the technology that the transmission data are sampled and encoded.
Background technology
Wideband Code Division Multiple Access (WCDMA) (Wide-Band Code Division Multiple Access is called for short " WCDMA ") is one of at present global three kinds of main 3G (Third Generation) Moblie systems.The renewal that WCDMA the brings data rate of communication capacity and Geng Gao more flexibly makes mobile message and professional access capability strengthen greatly, and the WCDMA technology is adopted widely and should have been used now.
In the WCDMA system, that transmit between core net and external network is pulse-code modulation (PulseCode Modulation, be called for short " PCM ") data flow, what transmit between core net and radio network controller then is adaptive multi-rate (Adaptive Multi-Rate is called for short " AMR ") data.Wherein, PCM is a kind of sampling technique to analog signal digital, particularly for audio signal.PCM takes a sample 8000 times to signal each second; Be sampled as 8 positions, 64kbps altogether at every turn.The AMR standard is as the standard of audio coder ﹠ decoder (codec) in the 3G (Third Generation) Moblie, with global system for mobile communications (GlobalSystem for mobile Communication, be called for short " GSM ") 3 kinds of code rate differences that same serious forgiveness is arranged providing of audio coder ﹠ decoder (codec), AMR provides 8 kinds of code rates, and every kind of speed all has different serious forgiveness.On the one hand, be for the encoder of different serious forgiveness under the different radio transmission environment is provided, thereby make voice quality and power system capacity in the system compromise more steadily, flexibly, also be in order to satisfy the specific (special) requirements that system may propose on the other hand.
Therefore, core net important task is exactly to sampling from the PCM data flow of external network and it being encoded to the data of AMR form.
According to 3GPP TS 25.4 15 (3rd Generation Partnership Project TechnicalSpecification 25.415---third generation partner program technical specification 25.415) consensus standard, radio network controller is with the data forwarding of core net one side during to network B node 21, in order to reduce the buffering time-delay, radio network controller is by calculating the trend of occupying that core net one side issues the due in of data and its buffering area, generation time is adjusted (Time Alignment, be called for short " TA ") message, and send to core net by communications protocol IuUP (the Iu user plane) agreement of interface between radio network controller and the core net, this message has comprised and requires core net in advance or the time demand of delayed delivery packet, and it adjusts step-length is 500us; After core net received this message, if adjusting function when core net is supported this, promptly the demand of adjusting according to the time in advance or postpone the corresponding time and send packet.
Below with reference to Fig. 1, further tell about an example of prior art processing time adjustment.
At first in step 100, core net receives the PCM data flow from external network, core net is sampled to it, and finish and encode and buffer memory, and (the packing time interval is 20ms according to the AMR algorithm, data behind the coding of just first buffer memory 20ms or 40ms) after this buffer memory one frame or two frame data in its buffering area enter step 110.
In step 110, core net detects the time of self whether receiving radio network controller one side and adjusts message, to judge whether to need to adjust it sends time from data to radio network controller.If core net does not have the time of receipt (T of R) to adjust message, then enter step 150, normally send packet to radio network controller; If the core net time of having received is adjusted message, then enter step 120, adjusting function when whether the detection core net is supported.If core net is not supported this function, then enter in the step 130, core net is returned a refuse information (NACK) to radio network controller; If core net is supported this function, then enter step 140.
In step 140, core net is returned acknowledge message (ACK) to radio network controller, and adjusts requirement according to the time and adjust the moment that sends packet.Specifically, core net is resolved this time and is adjusted message, and according to the requirement of radio network controller, shift to an earlier date or postpone the moment of corresponding time adjustment transmission packet, thereby the time of realizing radio network controller is adjusted demand, requires to send in advance and surpassed cache-time if the time is adjusted, because current no bag sends always, core net then sends an empty bag, thereby it is synchronous again to obtain packet of buffer memory; If the time is adjusted and to require time-delay to send and accumulation has surpassed a packaging time length always, reduce time-delay and regain synchronously thereby then abandon a packet.Time enters step 150 after adjusting and finishing, and core net normally sends packet to radio network controller again.
Come a further example of the prior art below in conjunction with Fig. 2.There is shown transmission situation from 0 to 160ms pcm stream.At first, finish sampling and AMR coding at 20ms, until 140ms this pcm stream is carried out sample code at 40ms, 80ms respectively subsequently the pcm stream of current time by core net.Simultaneously, adjust under the situation about requiring in no time, packet of buffer memory in core net at first, and, up at 40ms the time, begin to send the 1st packet that this has been encoded and has finished to first packet time-delay 20ms.Then successively at 60ms, the 80ms packet after 160ms sends each sample code respectively.
And adjust under the situation about requiring free, after normally sending the 1st packet, core net receives that TA1 requires the 2nd packet to shift to an earlier date 5ms and sends.At this moment, owing to send behind the transmission of first packet time-delay 20ms, send the 2nd packet and get final product so shift to an earlier date 5ms on this basis.In fact, core net has also begun the sampling and having encoded of the 2nd packet when 40ms, and the 2nd packet that originally sends when 60ms shifts to an earlier date 5ms and send to the time adjustment that radio network controller just can be realized the desired 5ms in advance of TA1.
After the same method, can realize that TA2, TA3 adjust requirement to the time that core net sends packet.Here for the concisely repeated description no longer of article.
In actual applications, such scheme is deposited the problem that reduces voice quality.
Cause the main cause of this situation to be, at first, need the time-delay buffer memory, the time-delay of end-to-end voice packet in the increase system; Secondly, when TA required time-delay to send always, then time-delay was with increasing, in case after accumulation surpasses the adjusting range of a packaging time length, just need to abandon a speech frame with synchronous again; On the other hand, when TA requires to send in advance always,, then, need to send an empty bag or duplicate packages, with synchronous again because no voice packet sends if then surpassed the cache-time of reserving (for example 20ms).More than several situations all can have influence on voice quality.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of data sampling and scramble time method of adjustment, makes it possible to by cancellation time-delay buffer memory, and the time-delay of the end-to-end voice packet of minimizing system improves voice quality.In addition, can also overcome that TA requires to delay time always or send the problem of empty bag of the transmission that causes or packet loss in advance, further improve voice quality.
For achieving the above object, the invention provides a kind of data sampling and scramble time method of adjustment, be applied to Wideband Code Division Multiple Access (WCDMA) WCDMA system, comprise following steps:
C receives when adjusting message from time of radio network controller one side when core net, adjusting function when if described core net is supported, then adjust and require to adjust the sampling time, to finish sampling and adaptive multi-rate coding from the impulse coding modulation code stream of external network according to its time;
The described core net of D sends to described radio network controller with the adaptive multi-rate packet.
Wherein, comprise following steps:
The A core net is sampled to the impulse coding modulation code stream from external network, and finishes adaptive multi-rate coding;
The described core net of B judged whether to receive from the time of radio network controller one side adjusts message, if, execution in step C then, otherwise, execution in step D.
Described step C also comprises following steps:
Core net detects adjusting function when self whether supporting, if then adjust requirement according to its time the impulse coding modulation code stream from external network is sampled, and finish adaptive multi-rate coding, otherwise, to radio network controller feedback refuse information, and execution in step D.
In described step C, when the described time was adjusted message requirement appointed interval transmission in advance, core net this appointed interval was in advance sampled to the impulse coding modulation code stream from external network, and finishes adaptive multi-rate coding; When the described time was adjusted the transmission of message requirement time-delay appointed interval, core net postponed the sampling of appointed interval paired pulses coded modulation code stream, and carries out adaptive multi-rate coding.
In described step C, when described time is adjusted message and requires in advance that appointed interval sends, and current when not having the adaptive multi-rate packet to send, core net sends empty bag to radio network controller.
By finding that relatively technical scheme difference with the prior art of the present invention is, in the present invention, is adjusted at coding by the realization time and finishes before, thereby need not extra additional delay, has reduced system and has delayed time end to end, has improved voice quality; Require to send in advance if the time is adjusted, this method can shift to an earlier date corresponding requirements interval sampling pcm stream always always, need not to send empty bag (perhaps duplicate packages) and comes to have improved voice quality synchronously; On the other hand.The corresponding requirements interval sampling pcm stream if time adjustment requirement time-delay always transmission, this method can be delayed time does not always need packet loss synchronous, has improved voice quality; The adjustment of PCM sample phase, it is adjustment (much smaller than 20ms voice sample information) at pcm stream in the packaging time length, the content of reusing or abandoning is very little, voice quality impacts is abandoned a coding than existing method after packet (20ms speech information) much smaller.
Description of drawings
Fig. 1 is the schematic flow sheet that carries out data sampling and Methods for Coding in the prior art;
Fig. 2 carries out shifting to an earlier date and the time-delay schematic diagram of data sampling and Methods for Coding in the prior art;
Fig. 3 is the schematic flow sheet of data sampling according to an embodiment of the invention and coding method;
Fig. 4 is shifting to an earlier date of data sampling according to an embodiment of the invention and coding method and time-delay schematic diagram.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
According to principle of the present invention, be to solve in the WCDMA mobile communication system because the low problem of the voice quality that time adjusting method caused of prior art.Be adjusted at before the encoding and decoding by the employing time, just adjust the sampling time of pcm stream is improved voice quality.Particularly, be exactly that time-delay is reserved in cancellation, thereby the minimizing system delays time end to end, overcome TA requires under the transmission situation in advance always, causing not having bag sends and the problem of the empty bag of transmission (perhaps duplicate packages), the time that overcomes is adjusted and requires time-delay to send the problem that accumulation surpasses packet loss under the packaging time length situation always, to improve voice quality.
Below with reference to Fig. 5, the time that further describes one embodiment of the present of invention is adjusted flow process.As shown in the figure, at first in step 400, core net receives the PCM data flow from external network, core net is sampled to it, and finish by the mobile switching centre/Visited Location Registor in the core net pcm stream is encoded, realize of the conversion of PCM sign indicating number, after this enter step 410 to the AMR sign indicating number.
In step 410, core net detects the time adjustment message of whether receiving that radio network controller is sent.If core net does not have the time of receipt (T of R) to adjust message, then enter step 450, directly send the AMR packet that coding has been finished to radio network controller; If the core net time of having received is adjusted message, then enter step 420.
In step 420, core net detects adjusting function when whether supporting, if core net is not supported this function, then enters in the step 430, and core net is returned a refuse information (NACK) to radio network controller; If core net is supported this function, then enter step 440.
In step 440, core net is returned acknowledge message to radio network controller, and requires sampling and the scramble time of adjustment to pcm stream according to the time adjustment, and samples and encode.Specifically, core net is resolved this time and is adjusted message, according to the requirement of radio network controller, shifts to an earlier date or postpone corresponding time adjustment sending packet.When the time of receipt (T of R) adjustment information, when A sends at interval in advance, then the sampling time with pcm stream shifts to an earlier date corresponding A at interval, and finish the AMR coding, and enter step 450, directly send the packet after encoding, so just realized that A sends datagram at interval in advance, if A does not have packet to send at interval in advance, then sent bag, to obtain synchronously; When B sends at interval if the time adjustment information of receiving need be delayed time, corresponding B then delayed time the sampling time of pcm stream at interval, and finish AMR and encode, enter step 450, packet behind the coding is directly sent, so also just realized the time adjustment purpose that time-delay B sends datagram at interval;
Further describe the time of the present invention below with reference to Fig. 6 and adjust the embodiment of concrete scheme.
Shown the pcm stream that begins to 160ms by 0 among the figure, this is the data flow to analog signal digital.Those skilled in the art should be appreciated that the mode of PCM is that signal is taken a sample 8000 times each second, is sampled as 8 at every turn.
As shown in the figure, adjust under the situation that requires in the no time, core net is every packet of 20ms sampling to the sampling of pcm stream, what the present invention was different with prior art is not need the 20ms that delays time when first packet of sampling, directly sampling and coding when 20ms are adjusted under the situation about requiring in the no time subsequently and are directly sent to radio network controller.Same method has so just been finished the sampling of shown the 1st, 2,3,4,5,6,7 packet under the situation that no time adjustment requires among the figure.
Adjust under the situation about requiring free, according to three times adjustment message TA1, TA2 and TA3, the time that shows respectively among the figure is separately adjusted mode.At first, begun by moment 20ms, the 1st packet finished in sampling.Core net is received the time adjustment message TA1 from radio network controller subsequently, require core net to shift to an earlier date 5ms and send packet to radio network controller, so core net shifts to an earlier date 5ms next packet is sampled, finish the 2nd packet, and it is carried out AMR encode, send to radio network controller after coding is finished, realized that so just the time of 5ms is adjusted in advance.This method of finishing before the time adjustment that is coded in different and of the prior art.
Time to the 5ms in advance of the 3rd packet of can realizing that uses the same method is adjusted requirement.As shown in the figure, subsequently, core net is received the time adjustment message TA2 of the time-delay 5ms that requires the 4th packet, the moment of the 80ms pcm stream that begins to sample so core net is delayed time, after finishing the 4th data it is carried out the AMR coding, and after coding is finished, be about to data and send to radio network controller, so also just realized the time adjustment requirement of the desired time-delay of radio network controller 5ms.Equally, realize requiring the time of time-delay 5ms to adjust with method of the present invention to the 5th, and again the time to the 5ms in advance of the 6th and the 7th packet of back time of adjusting message TA3 adjust requirement, here for the simple and clear just repeated description not of article.
Those skilled in the art are to be understood that, the purpose that the realization time recited above is adjusted, also can be by pcm stream is buffered in the core net, then from core net in advance or time-delay extract the mode that pcm stream encodes and realize that effect is consistent with foregoing.
Though by reference some preferred embodiment of the present invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that, can do various changes to it in the form and details, and the spirit and scope of the present invention that do not depart from appended claims and limited.

Claims (5)

1. data sampling and scramble time method of adjustment is characterized in that, are applied to Wideband Code Division Multiple Access (WCDMA) WCDMA system, comprise following steps:
C receives when adjusting message from time of radio network controller one side when core net, adjusting function when if described core net is supported, then adjust and require to adjust the sampling time, to finish sampling and adaptive multi-rate coding from the impulse coding modulation code stream of external network according to its time;
The described core net of D sends to described radio network controller with the adaptive multi-rate packet that produces among the described step C.
2. data sampling according to claim 1 and scramble time method of adjustment is characterized in that, described method also comprises following steps:
The A core net is sampled to the impulse coding modulation code stream from external network, and finishes adaptive multi-rate coding;
The described core net of B judged whether to receive from the time of radio network controller one side adjusts message, if, execution in step C then, otherwise, execution in step D.
3. data sampling according to claim 1 and 2 and scramble time method of adjustment is characterized in that, described step C also comprises following steps:
Core net detects adjusting function when self whether supporting, if then adjust requirement according to its time the impulse coding modulation code stream from external network is sampled, and finish adaptive multi-rate coding, otherwise, to radio network controller feedback refuse information, and execution in step D.
4. data sampling according to claim 1 and 2 and scramble time method of adjustment, it is characterized in that, in described step C, when the described time is adjusted message requirement appointed interval transmission in advance, core net this appointed interval is in advance sampled to the impulse coding modulation code stream from external network, and finishes adaptive multi-rate coding; When the described time was adjusted the transmission of message requirement time-delay appointed interval, core net postponed the sampling of appointed interval paired pulses coded modulation code stream, and carries out adaptive multi-rate coding.
5. data sampling according to claim 4 and scramble time method of adjustment, it is characterized in that, in described step C, adjust message requirement appointed interval transmission in advance when the described time, and current when not having the adaptive multi-rate packet to send, core net sends empty bag to radio network controller.
CNB2004100444579A 2004-05-10 2004-05-10 Method for adjusting data-sampling and encoding time Expired - Fee Related CN100373965C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100444579A CN100373965C (en) 2004-05-10 2004-05-10 Method for adjusting data-sampling and encoding time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100444579A CN100373965C (en) 2004-05-10 2004-05-10 Method for adjusting data-sampling and encoding time

Publications (2)

Publication Number Publication Date
CN1697537A CN1697537A (en) 2005-11-16
CN100373965C true CN100373965C (en) 2008-03-05

Family

ID=35350030

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100444579A Expired - Fee Related CN100373965C (en) 2004-05-10 2004-05-10 Method for adjusting data-sampling and encoding time

Country Status (1)

Country Link
CN (1) CN100373965C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158726A (en) * 2011-01-28 2011-08-17 北京视博云科技有限公司 Time delay detection method and device of encoder
CN108696491B (en) * 2017-04-12 2021-05-07 联芯科技有限公司 Audio data sending processing method and device and audio data receiving processing method and device
CN110971311B (en) * 2019-11-06 2022-07-26 上海宇航系统工程研究所 Demodulation method and device for asynchronous multi-rate PCM code stream

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1378356A (en) * 2001-03-30 2002-11-06 深圳市中兴通讯股份有限公司 Timing method for CDMA vocoder system business frame
WO2002102110A1 (en) * 2001-06-12 2002-12-19 Telefonaktiebolaget Lm Ericsson (Publ) Synchronisation in a umts terrestrial radio access network (utran)
CN1409561A (en) * 2001-09-13 2003-04-09 阿尔卡塔尔公司 Multiple channel time correcting device and method for voice channel digital signal processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1378356A (en) * 2001-03-30 2002-11-06 深圳市中兴通讯股份有限公司 Timing method for CDMA vocoder system business frame
WO2002102110A1 (en) * 2001-06-12 2002-12-19 Telefonaktiebolaget Lm Ericsson (Publ) Synchronisation in a umts terrestrial radio access network (utran)
CN1409561A (en) * 2001-09-13 2003-04-09 阿尔卡塔尔公司 Multiple channel time correcting device and method for voice channel digital signal processor

Also Published As

Publication number Publication date
CN1697537A (en) 2005-11-16

Similar Documents

Publication Publication Date Title
TW424366B (en) Alternating speech and data taransmission in digital communications systems
EP1295439B1 (en) Method, system and Media Gateway for optimizing the fidelity of a speech signal
US10454811B2 (en) Apparatus and method for de-jitter buffer delay adjustment
JP5299438B2 (en) Gateway apparatus and method and system
US10735120B1 (en) Reducing end-to-end delay for audio communication
US6785557B2 (en) Method of transmitting data, in particular GSM data
JP4842075B2 (en) Audio transmission device
KR100902456B1 (en) Method and apparatus for managing end-to-end voice over internet protocol media latency
EP2543039B1 (en) Source code adaption based on communication link quality and source coding delay.
CN103259945A (en) Method for achieving speech coding dynamic switching in voip conversation according to network condition
AU2005255909A1 (en) Reducing backhaul bandwidth
CN100373965C (en) Method for adjusting data-sampling and encoding time
EP1318686A1 (en) Transmission timing for data packets transmitted from an internet terminal to a terminal in a cellular radio network
KR100917546B1 (en) Method and apparatus for voice transcoding in a voip environment
US7817678B2 (en) Method and apparatus for time alignment along a multi-node communication link
CN100525297C (en) Realization method of speech service
KR100385222B1 (en) Apparatus of Controlling PCM Calls in a Vocoder of a IWU
CN101562898B (en) High-efficiency wireless access system RTP agent technology
Milner Robust voice recognition over IP and mobile networks
CN1474581A (en) Method for realizing voice coding and decoding changeover and intercommunication
US20050195861A1 (en) Sound communication system and mobile station
KR100367341B1 (en) Voice data transmission device between bts and bsc in mobile communication system
CN101316379A (en) Method, device and system for implementing IP A interface in second generation mobile communication system
Burilovic et al. Introduction of transcoder free operation into core network
WO2005036896A2 (en) Apparatus and method for supporting enhanced transcoding functionality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080305

Termination date: 20170510

CF01 Termination of patent right due to non-payment of annual fee