CN100393076C - Time adjustment method for radio access network and core network interface user plane - Google Patents
Time adjustment method for radio access network and core network interface user plane Download PDFInfo
- Publication number
- CN100393076C CN100393076C CNB2004100379438A CN200410037943A CN100393076C CN 100393076 C CN100393076 C CN 100393076C CN B2004100379438 A CNB2004100379438 A CN B2004100379438A CN 200410037943 A CN200410037943 A CN 200410037943A CN 100393076 C CN100393076 C CN 100393076C
- Authority
- CN
- China
- Prior art keywords
- frame
- time
- time adjustment
- reference frame
- arrival time
- 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
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 claims description 14
- 230000001960 triggered effect Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 16
- 230000003111 delayed effect Effects 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 3
- 238000007619 statistical method Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开一种无线接入网与核心网接口用户平面的时间调整方法,SRNC首先确定一个参考帧;记录当前接收的数据帧的帧号和到达时刻;将当前帧和参考帧的帧号差乘以lu口计时间隔,加上参考帧到达时刻得到当前帧理想到达时刻,判断当前帧到达时刻减去理想到达时刻的时间差是否在给定范围内,如果是,不作时间调整,更新参考帧,继续处理下一帧,否则触发与核心网之间的时间调整过程,进一步地,为了得到高精度的参考帧,可在连续多帧定时准确后,将最后一帧作为参考帧。本发明以一种简单的方法解决了协议中规定的Iu UP时间调整功能,可以有效的控制Iu接口上的下行链路数据到SRNC的时序,使SRNC中的缓冲时延最小。
The invention discloses a time adjustment method for a user plane of a wireless access network and a core network interface. SRNC first determines a reference frame; records the frame number and arrival time of the currently received data frame; and compares the frame number difference between the current frame and the reference frame Multiply the timing interval of the lu port and add the arrival time of the reference frame to get the ideal arrival time of the current frame, and judge whether the time difference between the arrival time of the current frame and the ideal arrival time is within a given range, if so, update the reference frame without making time adjustment, Continue to process the next frame, or trigger the time adjustment process with the core network. Further, in order to obtain a high-precision reference frame, the last frame can be used as the reference frame after the timing of multiple consecutive frames is accurate. The invention solves the Iu UP time adjustment function stipulated in the protocol in a simple way, can effectively control the time sequence of the downlink data on the Iu interface to the SRNC, and minimizes the buffer delay in the SRNC.
Description
技术领域 technical field
本发明涉及WCDMA系统中无线网络控制器(RNC,Radio NetworkController)和核心网(CN:Core Network)的接口(定义为Iu口),特别涉及该接口服务无线网络控制器(SRNC:Sever Radio Network Controller,表示存在业务的RNC)侧的用户平面时间的调整方法。The present invention relates to the interface (defined as Iu mouth) of radio network controller (RNC, Radio Network Controller) and core network (CN: Core Network) in WCDMA system, particularly relate to this interface service radio network controller (SRNC: Sever Radio Network Controller , indicating the method for adjusting the user plane time on the RNC) side where the service exists.
背景技术 Background technique
WCDMA系统中,Iu口是连接RNC和CN之间的标准接口,Iu口用户平面(Iu UP,Iu User Plane)是Iu口的用户数据传输协议,主要用于实现CN和RNC之间用户数据的传输。Iu口用户平面有两种操作模式:透明模式(TrM:Transparent Mode)以及对业务数据单元(SDU:Service Data Unit)大小进行预定义的支持模式(SMpSDU:Support Mode for predefined SDUsize)。In the WCDMA system, the Iu port is a standard interface connecting the RNC and the CN, and the Iu port user plane (Iu UP, Iu User Plane) is the user data transmission protocol of the Iu port, which is mainly used to realize the transfer of user data between the CN and the RNC. transmission. The user plane of the Iu interface has two operation modes: transparent mode (TrM: Transparent Mode) and support mode for pre-defining the size of the service data unit (SDU: Service Data Unit) (SMpSDU: Support Mode for predefined SDUsize).
SmpSDU模式下,Iu UP具有如下功能:传输用户数据、初始化、速率控制、时间调整、错误事件处理和帧质量分类。其中,时间调整过程的目的是:通过控制CN的Iu UP协议实体的下行发送数据的定时关系,减少在对端Iu UP实体所在的SRNC中的数据缓冲时间,提高所支持业务的实时性。会话类和流类都是要求实时性比较高的业务,对于这些业务,CN侧Iu UP协议层的帧编号一般采用基于lu口计时间隔(ITI:Iu Timing Interval)形式,也就是说每过一个ITI则当前帧的编号=(前一帧帧编号+1)mod 16。这里ITI的含义是一个无线接入承载(RAB:Radio Access Bearer)的Iu UP业务数据单元之间的最小发送间隔,对于会话类和流类ITI可以通过下式计算得到:In SmpSDU mode, Iu UP has the following functions: transmission of user data, initialization, rate control, time adjustment, error event handling and frame quality classification. Among them, the purpose of the time adjustment process is to reduce the data buffering time in the SRNC where the Iu UP entity at the opposite end is located, and improve the real-time performance of the supported services by controlling the timing relationship of the downlink transmission data of the Iu UP protocol entity of the CN. Conversation and flow are both services that require high real-time performance. For these services, the frame number of the Iu UP protocol layer on the CN side generally adopts the form based on the lu interface timing interval (ITI: Iu Timing Interval), that is to say, every time a ITI then the number of the current frame=(the frame number of the previous frame+1) mod 16. The meaning of ITI here is the minimum transmission interval between Iu UP service data units of a radio access bearer (RAB: Radio Access Bearer). For session and stream ITI, it can be calculated by the following formula:
其中:MaxSDUsize:是对于给定的无线接入承载子流组合(RFCS:RABsub Flow Combination)中所指示的最大的SDU的大小;Among them: MaxSDUsize: is the size of the largest SDU indicated in a given radio access bearer subflow combination (RFCS: RABsub Flow Combination);
MaxBitrate:是所传输数据的最大比特速率MaxBitrate: is the maximum bit rate of the transmitted data
因此帧编号其实是反映了CN侧的Iu UP协议层每个SDU的发送时间,时间调整过程只有在帧编号是基于ITI情况下才做的。Therefore, the frame number actually reflects the sending time of each SDU at the Iu UP protocol layer on the CN side, and the time adjustment process is only done when the frame number is based on the ITI.
3GPP协议25.415对预定义SDU大小的支持模式下的时间调整过程,进行了如下描述:The 3GPP protocol 25.415 describes the time adjustment process in the support mode of the predefined SDU size as follows:
1)Iu UP上的时间调整过程由SRNC控制。1) The time adjustment process on Iu UP is controlled by SRNC.
2)当检测到Iu UP业务数据单元在不适当的时间到达,从而导致不必要的缓冲延时时,SRNC将调用时间调整过程。SRNC中如何检测触发是SRNC内部的事情,超出了本协议的范围。2) When it is detected that the Iu UP service data unit arrives at an inappropriate time, resulting in unnecessary buffer delay, the SRNC will invoke the time adjustment process. How triggers are detected in SRNC is an internal matter of SRNC, which is beyond the scope of this protocol.
3)SRNC中的Iu UP协议层向对等实体指示必要的延迟或者提前量,步长为500 us。3) The Iu UP protocol layer in the SRNC indicates the necessary delay or advance to the peer entity, with a step size of 500 us.
4)在发送Iu UP时间调整帧后,监视定时器TTA(Time Alignment Timer)开启。这个定时器用于监视时间调整的确认(Acknowledgement)帧的接收。4) After sending the Iu UP time alignment frame, the monitoring timer T TA (Time Alignment Timer) is started. This timer is used to monitor the receipt of time-adjusted Acknowledgment frames.
5)对端节点被请求的Iu UP协议层实体,按照SRNC的指示调整下行发送数据的定时关系。5) The Iu UP protocol layer entity requested by the peer node adjusts the timing relationship of the downlink transmission data according to the instructions of the SRNC.
6)如果收到的时间调整帧格式正确,并且接收端的Iu UP协议层接收,高层对时间调整进行了正确的处理,接收端的Iu UP协议层将发送时间调整的确认帧。6) If the format of the time adjustment frame received is correct, and the Iu UP protocol layer of the receiving end receives it, and the upper layer has correctly processed the time adjustment, the Iu UP protocol layer of the receiving end will send an acknowledgment frame for time adjustment.
7)在收到时间调整确认帧后,SRNC中的Iu UP协议层将停止监视定时器TTA。为避免频繁的时间调整,需要保证在一定时间后才可以再次发起时间调整过程。7) After receiving the time adjustment confirmation frame, the Iu UP protocol layer in the SRNC will stop monitoring the timer T TA . In order to avoid frequent time adjustments, it is necessary to ensure that the time adjustment process can be initiated again after a certain period of time.
8)当用户数据传输没有被其它控制过程挂起时,该过程可以在任何时间发起。8) This procedure can be initiated at any time when user data transfer is not pending by other control procedures.
可以看出,协议中并没有规定SRNC如何检测触发时间调整。但由CN侧Iu UP协议层发送Iu UP业务数据单元的原理可知,SRNC可以通过Iu UP业务数据单元的实际接收时刻和理想接收时刻的比较,判断当前发送帧是否在不合适的时间发送的。SRNC可以得到当前的Iu UP业务数据单元的接收时刻,但是,SRNC如何确定该业务数据单元的理想到达时刻,以及如何判断该业务数据单元是否在被提前或者滞后接收,是有待解决的关键问题。It can be seen that the protocol does not specify how the SRNC detects the trigger time adjustment. However, based on the principle of sending Iu UP service data units by the Iu UP protocol layer on the CN side, it can be seen that the SRNC can judge whether the current sending frame is sent at an inappropriate time by comparing the actual receiving time of the Iu UP service data unit with the ideal receiving time. The SRNC can obtain the receiving moment of the current Iu UP service data unit, but how the SRNC determines the ideal arrival time of the service data unit, and how to judge whether the service data unit is being received in advance or behind is a key issue to be solved.
发明内容 Contents of the invention
本发明要解决的技术问题是提供一种无线接入网与核心网接口用户平面的时间调整方法,使得SRNC可以正确地触发调用时间调整过程,有效的控制CN的下行数据发送时刻。The technical problem to be solved by the present invention is to provide a time adjustment method for the user plane of the interface between the wireless access network and the core network, so that the SRNC can correctly trigger the call time adjustment process and effectively control the downlink data transmission time of the CN.
为了解决上述技术问题,本发明提供了一种无线接入网与核心网接口用户平面的时间调整方法,包括以下步骤:In order to solve the above-mentioned technical problems, the present invention provides a method for adjusting the time of a radio access network and a core network interface user plane, comprising the following steps:
(a)服务无线网络控制器确定一个参考帧;(a) the serving radio network controller determines a reference frame;
(b)记录当前接收的数据帧的帧号和到达时刻;(b) record the frame number and arrival time of the currently received data frame;
(c)将当前帧和参考帧的帧号差乘以lu口计时间隔,加上参考帧到达时刻得到当前帧理想到达时刻,判断当前帧到达时刻减去理想到达时刻的时间差是否在给定的第一范围内(可设为很小的范围),如果是,执行下一步,否则,执行步骤(e);(c) Multiply the frame number difference between the current frame and the reference frame by the lu port timing interval, add the arrival time of the reference frame to obtain the ideal arrival time of the current frame, and judge whether the time difference between the current frame arrival time minus the ideal arrival time is within a given In the first range (can be set to a very small range), if yes, execute the next step, otherwise, execute step (e);
(d)不作时间调整,更新参考帧,返回步骤(b);(d) No time adjustment, update the reference frame, and return to step (b);
(e)触发与核心网之间的时间调整过程。(e) Triggering a time adjustment process with the core network.
进一步地,为了减少累积误差,在所述步骤(d)中,是将参考帧的帧号更新为所述当前帧的帧号,将参考帧的到达时刻更新为所述当前帧的理想到达时刻。Further, in order to reduce the cumulative error, in the step (d), the frame number of the reference frame is updated to the frame number of the current frame, and the arrival time of the reference frame is updated to the ideal arrival time of the current frame .
进一步地,所述步骤(c)中的第一范围可以由一个正的阈值和一个负的阈值限定,如果所述时间差大于所述正的阈值时,当前帧滞后到达,在步骤(e)中向核心网发出指示提前的时间调整帧;如果所述时间差小于所述负的阈值时,当前帧提前到达,在步骤(e)中向核心网发出指示滞后的时间调整帧。Further, the first range in the step (c) may be defined by a positive threshold and a negative threshold, if the time difference is greater than the positive threshold, the current frame arrives late, in step (e) Send a time adjustment frame indicating advance to the core network; if the time difference is less than the negative threshold, the current frame arrives ahead of time, and send a time adjustment frame indicating lag to the core network in step (e).
进一步地,所述步骤(e)中,所述时间调整帧所要求的时间调整量可取为所述的时间差。Further, in the step (e), the time adjustment amount required by the time adjustment frame may be taken as the time difference.
进一步地,为了得到高精度的参考帧,避免因为传输延时的波动等原因定时不精确,需要对多帧进行比较后确定参考帧,并在定时精确的前提下实时更新参考帧,为此,所述步骤(a)采有以下步骤确定参考帧:Furthermore, in order to obtain a high-precision reference frame and avoid inaccurate timing due to transmission delay fluctuations, etc., it is necessary to determine the reference frame after comparing multiple frames, and update the reference frame in real time under the premise of accurate timing. For this reason, The step (a) adopts the following steps to determine the reference frame:
(a1)设第一帧数据的帧号和到达时刻为初始参考帧帧号和到达时刻;(a1) Set the frame number and arrival time of the first frame data as initial reference frame frame number and arrival time;
(a2)对后续的当前帧,将其与参考帧的帧号差乘以lu口计时间隔,加上参考帧到达时刻得到当前帧理想到达时刻,判断当前帧到达时刻与理想到达时刻的时间差是否在设定的第二范围内,如果是,执行下一步,否则,执行步骤(a4);(a2) For the subsequent current frame, multiply the frame number difference between it and the reference frame by the lu port timing interval, add the arrival time of the reference frame to obtain the ideal arrival time of the current frame, and judge whether the time difference between the current frame arrival time and the ideal arrival time is Within the set second range, if yes, execute the next step, otherwise, execute step (a4);
(a3)认为该帧定时准确,并将参考帧更新为该帧,然后继续处理下一帧,直到连续定时准确的数据帧个数达到预设值,以最后一帧为参考帧,执行步骤(c);(a3) think that the timing of this frame is accurate, and update the reference frame to this frame, and then continue to process the next frame until the number of data frames with continuous timing and accurate timing reaches the preset value, with the last frame as the reference frame, perform the step ( c);
(a4)认为该帧定时不准确,重新计数,继续处理下一帧。(a4) Think that the frame timing is inaccurate, count again, and continue to process the next frame.
进一步地,在SRNC处理时刻与Iu UP业务数据单元到达时刻相差太近时,为了保证下行数据能及时进行处理,可发起时间调整,调节CN的发送时机,即在所述步骤(a2)后执行以下步骤:Further, when the difference between the SRNC processing time and the arrival time of the Iu UP business data unit is too close, in order to ensure that the downlink data can be processed in time, time adjustment can be initiated to adjust the sending timing of the CN, that is, execute after the step (a2) The following steps:
(a21)判断所述当前帧到达时刻与服务无线网络控制器处理时刻的偏差是否在设定的第三范围内,如果是,执行步骤(a3),否则执行下一步;(a21) judging whether the deviation between the arrival time of the current frame and the processing time of the serving radio network controller is within a set third range, if yes, perform step (a3), otherwise perform the next step;
(a22)向对端lu口用户平面发送时间调整帧,指示提前发送,提前量为可设定的变量,然后执行步骤(a4)。(a22) Sending a time adjustment frame to the user plane of the lu port on the peer port, indicating to send in advance, and the advance amount is a variable that can be set, and then execute step (a4).
进一步地,所述步骤(e)中触发了与核心网之间的时间调整过程后,先判断是否在时间调整保护时间内,不在该保护时间内再向核心网发出时间调整帧,并继续协议规定的后续处理,在该保护时间内继续下一帧的处理,不发调整帧。Further, after the time adjustment process with the core network is triggered in the step (e), first judge whether it is within the time adjustment protection time, if not within the protection time, send a time adjustment frame to the core network, and continue the protocol For the specified follow-up processing, continue the processing of the next frame within the protection time without sending an adjustment frame.
由上可知,本发明先确定参考帧的帧号以及到达时刻,再以参考帧做参考,将当前帧的帧号和到达时刻与参考帧比较,计算理想到达时刻与实际到达时刻的偏差,从而判断CN是否需要进行时间调整。如果需要则计算时间调整量,发送时间调整控制帧给CN。进一步地,采用本发明提出的统计方法可以得到的高精度的参考帧。因而,本发明以一种简单的方法解决了协议中规定的Iu UP时间调整功能,可以有效的控制Iu接口上的下行链路数据到SRNC的时序,使SRNC中的缓冲时延最小。As can be seen from the above, the present invention first determines the frame number and arrival time of the reference frame, then uses the reference frame as a reference, compares the frame number and arrival time of the current frame with the reference frame, and calculates the deviation between the ideal arrival time and the actual arrival time, thereby Determine whether the CN needs to adjust the time. Calculate the time adjustment amount if necessary, and send a time adjustment control frame to the CN. Furthermore, a high-precision reference frame can be obtained by using the statistical method proposed by the present invention. Thereby, the present invention solves the Iu UP time adjustment function stipulated in the agreement with a kind of simple method, can effectively control the timing of the downlink data on the Iu interface to the SRNC, and make the buffer delay in the SRNC minimum.
附图说明 Description of drawings
图1是支持模式下,Iu口用户平面协议层的功能模型图。Figure 1 is a functional model diagram of the user plane protocol layer of the Iu interface in the support mode.
图2是Iu口时间调整滞后调整的示意图。Fig. 2 is a schematic diagram of the time adjustment lag adjustment of the Iu port.
图3是Iu口时间调整提前调整的示意图。FIG. 3 is a schematic diagram of the advance adjustment of the time adjustment of the Iu port.
图4是本发明实施例确定时间调整帧所需的参考帧的流程图。Fig. 4 is a flowchart of determining a reference frame required for a time-adjusted frame according to an embodiment of the present invention.
图5是本发明实施例正常数据传输时时间调整的处理流程图。FIG. 5 is a flowchart of time adjustment processing during normal data transmission according to an embodiment of the present invention.
具体实施方式 Detailed ways
下面结合附图说明本发明的具体实施方式。The specific implementation manner of the present invention will be described below in conjunction with the accompanying drawings.
图1是通过Iu口连接的CN和UTRAN(无线接入网,包含RNC)在支持模式下Iu UP协议层的功能模型图。如图所示,CN和RNC上的Iu UP协议层都具有以下3类功能:Fig. 1 is the functional model diagram of the Iu UP protocol layer in the support mode of CN and UTRAN (radio access network, including RNC) connected through the Iu port. As shown in the figure, the Iu UP protocol layers on both CN and RNC have the following three types of functions:
1)帧处理器功能(Frame Handler function);1) Frame Handler function (Frame Handler function);
2)过程控制功能(Procedure Control functions);2) Procedure Control functions (Procedure Control functions);
3)针对非接入层(NAS:Non Access Stratum)数据流的功能(Non AccessStratum Data Streams specific functions);3) Functions for non-access stratum (NAS: Non Access Stratum) data streams (Non AccessStratum Data Streams specific functions);
本发明涉及的时间调整功能隶属于其中的过程控制功能,用于控制Iu接口上的下行链路数据到RNC的时序。The time adjustment function involved in the present invention belongs to the process control function, and is used to control the timing of the downlink data on the Iu interface to the RNC.
图2、图3表示SRNC与CN的时间调整过程,其中PT(i)(Process Time)表示RNC处理时刻。Figure 2 and Figure 3 show the time adjustment process between SRNC and CN, where PT(i) (Process Time) represents the RNC processing time.
图2中,CN侧的i+1帧实际发送时刻早于应发送时刻,SRNC的Iu UP在PT(i)时刻将该帧的实际接收时刻和应接收的时刻作比较,判断该帧数据提前Delta t到达,向CN发时间调整帧(Time alignment)指示其滞后发送;CN收到该时间调整帧后,向SRNC返回时间调整的确认帧(ACK),并接受所需滞后的调整量,将i+2帧的发送时刻后延Delta t。In Figure 2, the actual sending time of frame i+1 on the CN side is earlier than the supposed sending time, and the Iu UP of SRNC compares the actual receiving time of the frame with the supposed receiving time at PT(i) time, and judges that the frame data is ahead of time When Delta t arrives, send a time alignment frame (Time alignment) to the CN to indicate its delayed transmission; after the CN receives the time adjustment frame, it returns a time-adjusted acknowledgment frame (ACK) to the SRNC, and accepts the required lag adjustment, and sends The sending time of i+2 frames is delayed by Delta t.
图3中,CN侧的i+1帧实际发送时刻晚于应发送时刻,SRNC的Iu UP在PT(i+1)时刻将该帧的实际接收时刻和应接收的时刻作比较,判断该帧数据滞后Delta t到达,向CN发时间调整帧(Time alignment)指示其提前发送;CN收到该时间调整帧后,向SRNC返回时间调整的确认帧(ACK),并接受所需提前的调整量,将i+2帧的发送时刻提前Delta t。In Figure 3, the actual sending time of frame i+1 on the CN side is later than the supposed sending time, and the Iu UP of SRNC compares the actual receiving time of the frame with the supposed receiving time at PT(i+1) time to judge the frame When the data arrives with a delay of Delta t, a time alignment frame (Time alignment) is sent to the CN to indicate that it is sent in advance; after the CN receives the time alignment frame, it returns a time adjustment acknowledgment frame (ACK) to the SRNC and accepts the required advance adjustment amount , advance the sending time of frame i+2 by Delta t.
从图2、图3的时间调整过程可以看出:即使某个Iu UP业务数据单元的发送时间错误,进行时间调整后仍然能将其后的业务数据单元的发送时刻调整到理想时刻发送,不会因为某一帧发送时刻错误而导致之后的所有帧都提前或滞后的情况发生。From the time adjustment process in Figure 2 and Figure 3, it can be seen that even if the sending time of a certain Iu UP service data unit is wrong, after the time adjustment, the sending time of the subsequent service data unit can still be adjusted to the ideal time for sending, which is not necessary. All subsequent frames will be advanced or delayed due to an error in the sending time of a certain frame.
为了判断CN是否需要进行时间调整,以及计算时间调整量,本发明首先用统计方法得到精确的参考帧,确定其帧号以及到达时刻;然后以参考帧做参考,将当前帧的帧号和到达时刻与参考帧比较,计算理想到达时刻与实际到达时刻的偏差,从而可以判断是否需要调整和计算时间调整量。In order to judge whether CN needs to perform time adjustment and calculate the amount of time adjustment, the present invention first uses statistical methods to obtain accurate reference frames, and determines its frame number and arrival time; The time is compared with the reference frame, and the deviation between the ideal arrival time and the actual arrival time is calculated, so that it can be judged whether adjustment is needed and the time adjustment amount can be calculated.
图4描述了本实施例确定参考帧的流程。考虑到某帧数据有可能因为传输延时的波动等原因定时不精确,需要对多帧进行比较后确定参考帧,并在定时精确的前提下实时更新参考帧。期间还考虑了SRNC处理时刻与Iu UP业务数据单元到达时刻的偏差,如果相差太近,也要发起时间调整,调节CN的发送时机,以保证下行数据能及时进行处理。该流程包括以下步骤:Fig. 4 describes the process of determining the reference frame in this embodiment. Considering that the timing of a certain frame of data may be inaccurate due to fluctuations in transmission delay, etc., it is necessary to compare multiple frames to determine the reference frame, and update the reference frame in real time under the premise of accurate timing. During this period, the deviation between the SRNC processing time and the arrival time of the Iu UP service data unit is also considered. If the difference is too close, time adjustment should be initiated to adjust the sending timing of the CN to ensure that the downlink data can be processed in time. The process includes the following steps:
步骤110,记录当前接收的数据帧的帧号和到达时刻(即接收时刻);
步骤120,判断当前数据帧是否是收到的第一帧数据,如果是,执行下一步,否则,执行步骤140;
步骤130,设参考帧为此帧,记录其帧号和到达时刻,返回步骤110(继续处理下一帧);
步骤140,判断连续定时准确的计数值TaReferCounter是否大于预设值N,如果是,转入正常数据接收处理流程(见图5),否则,执行下一步;
步骤150,将当前帧到达时刻dwTickArrive减去参考帧到达时刻dwTaTickRefer,得到的差值再减去当前帧和参考帧帧号差byFrmOffset与ITI的积,得到该帧到达时刻与理想到达时刻的时间差TickOffset,即:Step 150: subtract the arrival time dwTickArrive of the current frame from the arrival time dwTaTickRefer of the reference frame, and then subtract the product of the frame number difference between the current frame and the reference frame byFrmOffset and ITI from the obtained difference to obtain the time difference TickOffset between the arrival time of the frame and the ideal arrival time ,Right now:
TickOffset=dwTickArrive-dwTaTickRefer-byFrmOffset*ITI (1)TickOffset=dwTickArrive-dwTaTickRefer-byFrmOffset*ITI (1)
同时,计算该帧到达时刻与处理时刻的偏差ProcOffset;At the same time, calculate the deviation ProcOffset between the arrival time of the frame and the processing time;
步骤160,判断TickOffset是否在设定的范围1(设为很小的范围)内,如果是,认为该帧准确到达,执行步骤180,否则执行下一步;
步骤170,置连续定时准确的计数值TaReferCounter为零,返回步骤110;
步骤180,判断ProcOffset是否在设定的范围2内,如果是,执行步骤200,否则执行下一步;
步骤190,将连续定时准确的计数值TaReferCounter加1,更新参考帧为该帧,返回步骤110;
步骤200,置连续定时准确的计数值TaReferCounter为零;
步骤210,判断是否在时间调整保护时间内,如果是,返回步骤110,否则,执行下一步;
步骤220,向对端lu UP发送时间调整控制帧,指示提前发送,提前的时间采用可以由用户设定的变量,返回步骤110。
需要说明的是,上述流程的具体实现步骤是可以调整的,比如步骤140中对连续定时准确的计数值的判断也可以放到步骤180对该计数值加1之后来判断,如果大于预设值直接转入正常数据处理流程。It should be noted that the specific implementation steps of the above process can be adjusted. For example, the judgment of the count value of continuous timing in
图5描述正常数据传输过程中的时间调整流程,如图所示,包括以下步骤:Figure 5 describes the time adjustment process during normal data transmission, as shown in the figure, including the following steps:
步骤310,记录当前接收的数据帧的帧号和到达时刻(即接收时刻);
步骤320,参照参考帧,根据当前帧帧号和到达时刻计算该帧到达时刻与理想到达时刻的时间差TickOffset,计算方法和图4相同;
步骤330,判断TickOffset是否大于设定的阈值1(为正数),如果是,说明该帧比理想时刻滞后到达,执行步骤360;否则,执行下一步;
步骤340,判断TickOffset是否小于设定的阈值2(为负数),如果是,说明该帧比理想时刻提前到达,执行步骤370;否则,执行下一步;
步骤350,不作时间调整,更新参考帧帧号为该帧的帧号,更新参考帧的参考到达时刻为该帧的理想到达时刻,等于原参考帧到达时刻加上当前帧和参考帧的帧号差与ITI的积,即为:dwTaTickRefer+byFrmOffset*ITI,返回步骤310;
步骤360,确定下一帧发送时间需要提前,提前时间为TickOffset,再按协议规定的步骤处理;
步骤370,确定下一帧发送时间需要滞后,滞后时间为TickOffset,再按协议规定的步骤处理。
在步骤350中,是将参考帧的到达时刻更新为当前帧的理想到达时刻而不是其实际的到达时刻,这样可以减小累积误差。同时,也使得在正常数据接收处理流程中不必再判断当前帧到达时刻与处理时刻的偏差,因为在进入图5流程前确定的参考帧的到达时刻时已考虑该因素,而当前帧的理想到达时刻是由该时刻推算的。In
另外,所述协议规定的处理步骤如下:In addition, the processing steps stipulated in the agreement are as follows:
先判断是否在时间调整保护时间内,如果是,处理下一帧,否则向CN发出时间调整帧,并启动一定时器,等待时间调整帧的确认帧的接收;First judge whether it is within the time adjustment protection time, if yes, process the next frame, otherwise send a time adjustment frame to the CN, and start a timer, waiting for the reception of the confirmation frame of the time adjustment frame;
如果收到时间调整不支持信号,则Iu UP关闭时间调整功能,结束;If the time adjustment does not support signal is received, Iu UP will turn off the time adjustment function and end;
如果收到被请求的时间调整暂时不能信号,延迟一个时间段,然后判断是否仍然需要作时间调整,如果是,重新触发时间调整;If the requested time adjustment is temporarily unable to receive a signal, delay for a period of time, and then determine whether the time adjustment is still required, and if so, re-trigger the time adjustment;
如果收到时间调整的确认帧,启动一定时器,规定此定时器时间到后方可再次进行时间调整;If a confirmation frame for time adjustment is received, a timer is started, and the time adjustment can be performed again after the timer expires;
如果超时未收到时间调整确认帧,失败次数加1,失败次数达到规定次数后,报告给控制面,关闭时间调整功能。If the time adjustment confirmation frame is not received within the time limit, the number of failures is increased by 1, and when the number of failures reaches the specified number, it is reported to the control plane and the time adjustment function is turned off.
经过上述步骤,SRNC的Iu UP协议实体简单有效解决了检测、触发时间调整过程,先用统计方法得到相当准确的参考帧后,在实际的数据传输过程中可以精确计算得到CN侧提前或者滞后发送以及调整的确切时间量,通过时间调整帧控制CN的Iu UP协议实体数据发送的定时关系,减少了SRNC的下行缓存时延,保证了特定业务类型的实时性要求。进一步地,通过在后续的数据传输中实时更新参考帧的帧号以及到达时刻,减少了累积误差,避免了误调整。After the above steps, the Iu UP protocol entity of SRNC simply and effectively solves the process of detection and trigger time adjustment. After obtaining a fairly accurate reference frame using statistical methods, it can be accurately calculated in the actual data transmission process to obtain the early or delayed transmission of the CN side. As well as the exact amount of time for adjustment, the timing relationship of CN's Iu UP protocol entity data transmission is controlled by the time adjustment frame, which reduces the downlink buffer delay of SRNC and ensures the real-time requirements of specific business types. Further, by updating the frame number and arrival time of the reference frame in real time in the subsequent data transmission, the cumulative error is reduced and misadjustment is avoided.
以上具体实施方式仅用于说明本发明,而非用于限定本发明。The above specific embodiments are only used to illustrate the present invention, but not to limit the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100379438A CN100393076C (en) | 2004-05-14 | 2004-05-14 | Time adjustment method for radio access network and core network interface user plane |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100379438A CN100393076C (en) | 2004-05-14 | 2004-05-14 | Time adjustment method for radio access network and core network interface user plane |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1571416A CN1571416A (en) | 2005-01-26 |
CN100393076C true CN100393076C (en) | 2008-06-04 |
Family
ID=34481783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100379438A Expired - Fee Related CN100393076C (en) | 2004-05-14 | 2004-05-14 | Time adjustment method for radio access network and core network interface user plane |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100393076C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056199B (en) * | 2006-04-10 | 2012-04-25 | 华为技术有限公司 | An uplink burst performance monitoring method of point-to-multipoint access network, head device and access network system |
CN102769491B (en) * | 2011-05-03 | 2014-11-19 | 鼎桥通信技术有限公司 | Sending method of timing adjustment control frame and base station |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5872820A (en) * | 1996-09-30 | 1999-02-16 | Intel Corporation | Synchronization in TDMA systems in a non-realtime fashion |
US20020093940A1 (en) * | 2001-01-12 | 2002-07-18 | Nokia Mobile Phones Ltd. | Method and apparatus for timing adjustment for uplink synchronous transmission in wide code division multiple access |
WO2002102110A1 (en) * | 2001-06-12 | 2002-12-19 | Telefonaktiebolaget Lm Ericsson (Publ) | Synchronisation in a umts terrestrial radio access network (utran) |
KR20040029596A (en) * | 2002-10-01 | 2004-04-08 | 엘지전자 주식회사 | Method for Restoring Interface |
-
2004
- 2004-05-14 CN CNB2004100379438A patent/CN100393076C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5872820A (en) * | 1996-09-30 | 1999-02-16 | Intel Corporation | Synchronization in TDMA systems in a non-realtime fashion |
US20020093940A1 (en) * | 2001-01-12 | 2002-07-18 | Nokia Mobile Phones Ltd. | Method and apparatus for timing adjustment for uplink synchronous transmission in wide code division multiple access |
WO2002102110A1 (en) * | 2001-06-12 | 2002-12-19 | Telefonaktiebolaget Lm Ericsson (Publ) | Synchronisation in a umts terrestrial radio access network (utran) |
KR20040029596A (en) * | 2002-10-01 | 2004-04-08 | 엘지전자 주식회사 | Method for Restoring Interface |
Also Published As
Publication number | Publication date |
---|---|
CN1571416A (en) | 2005-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11068326B2 (en) | Methods and apparatus for transmitting time sensitive data over a tunneled bus interface | |
CA2516442C (en) | Flow control in a packet data communication system | |
TW476203B (en) | Method and apparatus for reliable data communications | |
EP4280558B1 (en) | Explicit congestion notification based rate adaptation using binary marking in communication systems | |
EP1821425B1 (en) | Power control apparatus for wireless telecommunication system | |
CN1328865C (en) | Method of controlling a receiver and a transmitter to handle a transmission window size change procedure | |
US6747993B2 (en) | Method and apparatus for adjusting a communication timer in a communication network | |
US8531959B2 (en) | Method for sending ACK | |
WO2021042287A1 (en) | Data synchronization method and apparatus, device, system, and storage medium | |
CN101772975A (en) | In-order data delivery during handover in a wireless communication system | |
EP1604475B1 (en) | Method for obtaining information about a transmission capability | |
CN110351201A (en) | A kind of data processing method and device | |
WO2012163305A1 (en) | Data transmission control method and device | |
US7813294B2 (en) | Method, apparatus and system for implementing IuUP/NbUP procedure control | |
CN101599965A (en) | Measurement-Based Adaptive High-Speed Information Transmission Protocol | |
WO2019144802A1 (en) | Data transmission method and related device | |
US20190174356A1 (en) | Data transmission method, data receiving device, and data sending device | |
CN100421413C (en) | A method for adjusting the size of the transmission buffer of the radio link control sublayer | |
CN100393076C (en) | Time adjustment method for radio access network and core network interface user plane | |
WO2013000218A1 (en) | Method, device and system for automatically adjusting voice sending parameters | |
CN104333728A (en) | A Method, device and system for regulating and controlling audio and video transmission | |
WO2016131323A1 (en) | Method and apparatus for controlling dual connection x2 state report transmission and secondary base station | |
CN101369842B (en) | Method for regulating sending window of wireless link control layer service in affirmation mode | |
CN106788877B (en) | Data service uplink rate adjusting method, terminal and wireless network controller | |
CN106658546A (en) | Method and device for adjusting the duration of radio link control layer polling timer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080604 Termination date: 20190514 |