CN102201889B - Processing method of notification configuration frame, transcoder and rate adaptation unit - Google Patents

Processing method of notification configuration frame, transcoder and rate adaptation unit Download PDF

Info

Publication number
CN102201889B
CN102201889B CN201010145575.4A CN201010145575A CN102201889B CN 102201889 B CN102201889 B CN 102201889B CN 201010145575 A CN201010145575 A CN 201010145575A CN 102201889 B CN102201889 B CN 102201889B
Authority
CN
China
Prior art keywords
tfo
trau
bts
notification configuration
configuration frame
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
CN201010145575.4A
Other languages
Chinese (zh)
Other versions
CN102201889A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010145575.4A priority Critical patent/CN102201889B/en
Publication of CN102201889A publication Critical patent/CN102201889A/en
Application granted granted Critical
Publication of CN102201889B publication Critical patent/CN102201889B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种通知配置帧的处理方法及码型转换器和速率适配单元。该方法包括:TRAU按照预定次数向BTS发送TFO准备通知配置帧;TRAU确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧;TRAU指示其TFO进入等待状态。本发明提高了TFO建立的成功率。

The invention discloses a method for processing a notification configuration frame, a code type converter and a rate adaptation unit. The method includes: TRAU sends a TFO preparation notification configuration frame to the BTS according to a predetermined number of times; TRAU determines that no reply frame from the BTS is received during the predetermined number of TFO preparation notification configuration frame sending; TRAU instructs its TFO to enter a waiting state. The invention improves the success rate of TFO establishment.

Description

通知配置帧的处理方法及码型转换器和速率适配单元Notify the processing method of the configuration frame and the code converter and rate adaptation unit

技术领域 technical field

本发明涉及通信领域,具体而言,涉及一种通知配置帧的处理方法及码型转换器和速率适配单元(Transcoder and Rate AdaptorUnit,简称为TRAU)。The present invention relates to the field of communication, in particular to a method for processing notification configuration frames and a code converter and rate adapter unit (Transcoder and Rate Adapter Unit, referred to as TRAU).

背景技术 Background technique

传统的移动通信系统中,在移动台(Mobile Station,简称为MS)之间进行呼叫,需要在整个传输链路上进行两次语音编解码的级联操作,因此会降低语音质量。为了解决这个问题,相关技术中提出了无二次编解码级联操作(Tandem Free Operation,简称为TFO),该TFO可以使传输过程中减少一次语音编解码的级联操作,从而提高语音质量。In the traditional mobile communication system, calling between mobile stations (Mobile Station, referred to as MS) requires two cascading operations of voice codec on the entire transmission link, which will reduce the voice quality. In order to solve this problem, Tandem Free Operation (TFO for short) is proposed in the related art, which can reduce the tandem operation of speech codec once during the transmission process, thereby improving the speech quality.

在全球移动通信(Global system for Mobile Communication,简称为GSM)系统中,当MS之间使用自适应多速率(Adaptive Multi-Rate,简称为AMR)算法时,如果需要建立TFO,则需要TRAU与基站(Base Transceiver Station,简称为BTS)之间通过通知配置帧进行交互。In the Global system for Mobile Communication (GSM) system, when the adaptive multi-rate (Adaptive Multi-Rate, AMR) algorithm is used between MSs, if TFO needs to be established, TRAU and base station (Base Transceiver Station, referred to as BTS) interact through notification configuration frames.

具体而言,在TFO准备建立时,先进行速率调整,TRAU向BTS发送携带有速率调整请求的TFO_SOON通知配置帧,以通知BTS进入TFO_Maybe状态,并进行速率调整。然后,在完成速率调整之后,BTS还向TRAU回复Rc_Ack配置帧。只有在TRAU接收到Rc_Ack之后,TRAU中的TFO才会进入下一个TFO状态,即开始发送TFO帧到对端TRAU,并建立TFO。Specifically, when the TFO is ready to be established, rate adjustment is performed first, and the TRAU sends a TFO_SOON notification configuration frame carrying a rate adjustment request to the BTS to notify the BTS to enter the TFO_Maybe state and perform rate adjustment. Then, after completing the rate adjustment, the BTS also replies the Rc_Ack configuration frame to the TRAU. Only after TRAU receives Rc_Ack, the TFO in TRAU will enter the next TFO state, that is, start sending TFO frames to the peer TRAU, and establish TFO.

下面具体描述TRAU与BTS通过通知配置帧进行交互的过程。The process of interaction between the TRAU and the BTS through notification configuration frames will be described in detail below.

首先,BTS将AMR的相关配置参数实时向TRAU发送,以激活TRAU中的TFO进行协商。First, the BTS sends the relevant configuration parameters of the AMR to the TRAU in real time, so as to activate the TFO in the TRAU for negotiation.

然后,TRAU向BTS发送TFO的状态信息,以保持TRAU的TFO状态与BTS的TFO状态一致。Then, the TRAU sends the TFO state information to the BTS, so as to keep the TFO state of the TRAU consistent with the TFO state of the BTS.

另外,上述TRAU与BTS之间的通知配置帧交互类型如下表1所示。TRAU向BTS发送的TFO状态包括三种类型:TFO_OFF(即TFO关闭通知配置帧)、TFO_SOON(即TFO准备通知配置帧)和TFO_ON(即TFO开启通知配置帧)。其中,BTS在接收到TFO_OFF通知配置帧和TFO_ON通知配置帧时都是立刻回复的;在接收到TFO_SOON通知配置帧时,BTS首先进入TFO_Maybe状态,待完成速率调整之后再回复TRAU。需要说明的是,BTS对TFO_SOON通知配置帧的回应对于TFO来说是一个关键的事件,只有产生了这个事件,TFO建立才能继续,因此,TRAU对这个事件有很高的期望。In addition, the exchange types of notification configuration frames between the TRAU and the BTS are shown in Table 1 below. The TFO status sent by TRAU to BTS includes three types: TFO_OFF (ie, TFO off notification configuration frame), TFO_SOON (ie, TFO ready notification configuration frame) and TFO_ON (ie, TFO on notification configuration frame). Among them, when BTS receives TFO_OFF notification configuration frame and TFO_ON notification configuration frame, it will reply immediately; when receiving TFO_SOON notification configuration frame, BTS first enters TFO_Maybe state, and then replies to TRAU after completing rate adjustment. It should be noted that the response of BTS to the TFO_SOON notification configuration frame is a key event for TFO. Only when this event is generated can TFO establishment continue. Therefore, TRAU has high expectations for this event.

表1TRAU与BTS之间的通知配置帧交互类型的示意表Table 1 Schematic diagram of the notification configuration frame interaction type between TRAU and BTS

  通知配置帧类型 Notification configuration frame type   可能包含类型 May contain types   存在位置 existing location 作用effect   发送端 sender 接收端Receiving end   Con_Req Con_Req   切换通知,Handover_SOON,Handover_Complete Handover notification, Handover_SOON, Handover_Complete   上行、下行 uplink, downlink   参数交互,要求回复 Parameter interaction, request reply   BTS BTS   BTS或TRAU BTS or TRAU   Dis_Req Dis_Req   TFO通知,TFO_ON,TFO_OFF,TFO_SOON TFO notification, TFO_ON, TFO_OFF, TFO_SOON   上行、下行 uplink, downlink   携带配置参数或TFO通知要求回复 Carry configuration parameters or TFO notification request reply   TRAU TRAU   BTS BTS   Con_Ack Con_Ack   - -   下行 downlink   Con_Req的回复 Reply to Con_Req   BTS BTS   BTS或TRAU BTS or TRAU   UL_Ack UL_Ack   TFO通知的回复 Reply to TFO notification   上行TRAU帧 Uplink TRAU frame   Dis_Req的回复 Reply to Dis_Req   BTS BTS   TRAU TRAU   DL_Ack DL_Ack   - -   下行TRAU帧 Downlink TRAU frame   Con_Req的回复 Reply to Con_Req   TRAU TRAU   BTS BTS

下面对上述通知配置帧进行详细描述。The above notification configuration frame will be described in detail below.

通知配置帧通常分为请求帧和回复帧,并且,TRAU和BTS在发出请求帧后都要等待回复,在收到请求帧都要进行回复。同时,如果发送端在发出请求帧之后一定时间内没有接收到回复帧,将会重发该请求帧。在进行语音通话时,由于该通知配置帧通过偷帧发送,而多次重发请求帧将会影响语音通话质量,因此,在协议28.062-810中规定,如果发送端在重发三次请求帧之后仍然没有接收到回复帧,则TFO就将进入FAI状态,即导致TFO失败。The notification configuration frame is generally divided into a request frame and a reply frame, and both the TRAU and the BTS must wait for a reply after sending the request frame, and reply after receiving the request frame. At the same time, if the sender does not receive a reply frame within a certain period of time after sending the request frame, it will resend the request frame. During a voice call, since the notification configuration frame is sent by frame stealing, and multiple retransmissions of the request frame will affect the quality of the voice call, therefore, it is stipulated in the protocol 28.062-810 that if the sending end resends the request frame three times If the reply frame is still not received, the TFO will enter the FAI state, which will cause the TFO to fail.

需要说明的是,TRAU重发三次请求帧所需的时间并不长,对于要求立刻回复的通知配置帧来说,这个时间通常都可以作为判断链路交互失败的门限。It should be noted that the time required for TRAU to resend the request frame three times is not long. For the notification configuration frame that requires immediate reply, this time can usually be used as the threshold for judging link interaction failure.

但是,在BTS需要完成速率调整才能回复时,其所需的调整时间相对TRAU重发三次请求帧的时间就比较长了。如果BTS完成速率调整的时间稍长,导致TRAU重发三次请求帧之后仍然没有接收到回复帧,则TFO就将进入FAI状态,即导致TFO失败,使得TFO功能不能有效地发挥出来。However, when the BTS needs to complete the rate adjustment before replying, the required adjustment time is longer than the time for the TRAU to resend the request frame three times. If the BTS completes the rate adjustment for a long time, resulting in TRAU retransmitting the request frame three times and still not receiving the reply frame, then the TFO will enter the FAI state, which will cause the TFO to fail, so that the TFO function cannot be effectively exerted.

另外,TFO_OFF可以表示TFO不建立的通知,这时TRAU处于非TFO的状态,需要尽快将此讯息通知到基站,使TRAU和BTS都同步到非TFO的传统处理状态。如果无法发送,会导致TRAU已经结束TFO了,而基站可能还处于TFO_Maybe或TFO_Yes的状态,即基站和TRAU的TFO状态不一致。In addition, TFO_OFF can indicate the notification that TFO is not established. At this time, TRAU is in a non-TFO state, and this message needs to be notified to the base station as soon as possible, so that both TRAU and BTS are synchronized to the non-TFO traditional processing state. If it cannot be sent, the TRAU has ended TFO, and the base station may still be in the state of TFO_Maybe or TFO_Yes, that is, the TFO states of the base station and TRAU are inconsistent.

发明内容 Contents of the invention

本发明的主要目的在于提供一种通知配置帧的处理方法及TRAU,以至少解决上述问题。The main purpose of the present invention is to provide a processing method for notification configuration frame and TRAU, so as to at least solve the above problems.

为了实现上述目的,根据本发明的一个方面,提供了一种通知配置帧的处理方法。In order to achieve the above purpose, according to one aspect of the present invention, a method for processing a notification configuration frame is provided.

根据本发明的通知配置帧的处理方法包括:TRAU按照预定次数向BTS发送TFO准备通知配置帧;TRAU确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧;TRAU指示其TFO进入等待状态。The processing method of notification configuration frame according to the present invention comprises: TRAU sends TFO preparation notification configuration frame to BTS according to predetermined number of times; TRAU determines that in sending the TFO preparation notification configuration frame process of predetermined number of times, does not receive reply frame from BTS; TRAU Instructs its TFO to enter a wait state.

进一步地,上述通知配置帧的处理方法还包括:TRAU在首次向BTS发送TFO准备通知配置帧时,启动定时器;在定时器到时后,TRAU指示TFO进入失败状态。Further, the above method for processing the notification configuration frame further includes: TRAU starts a timer when sending the TFO preparation notification configuration frame to the BTS for the first time; after the timer expires, TRAU instructs the TFO to enter a failure state.

进一步地,上述通知配置帧的处理方法还包括:TRAU在首次向BTS发送TFO准备通知配置帧时,启动定时器;在定时器到时后,TRAU指示TFO进入失败状态;TRAU直接向BTS发送TFO关闭通知配置帧。Further, the processing method of the above notification configuration frame also includes: TRAU starts a timer when sending the TFO preparation notification configuration frame to the BTS for the first time; after the timer expires, TRAU indicates that TFO enters a failure state; TRAU directly sends TFO to BTS Close notification configuration frame.

进一步地,定时器的时长超过预定次数与通知配置帧的发送间隔之积预定长度,其中,通知配置帧的发送间隔根据链路测量计算得到的往返时延进行确定。Further, the duration of the timer exceeds a predetermined length of the product of the predetermined number of times and the sending interval of the notification configuration frame, wherein the sending interval of the notification configuration frame is determined according to the round-trip delay calculated by the link measurement.

为了实现上述目的,根据本发明的一个方面,还提供了一种通知配置帧的处理方法。In order to achieve the above purpose, according to one aspect of the present invention, a method for processing a notification configuration frame is also provided.

根据本发明的通知配置帧的处理方法包括:TRAU指示其TFO进入失败状态;TRAU直接向BTS发送TFO关闭通知配置帧。The processing method of the notification configuration frame according to the present invention includes: TRAU indicates that its TFO enters the failure state; TRAU directly sends the TFO closing notification configuration frame to the BTS.

进一步地,TRAU指示其TFO进入失败状态之前,上述方法还包括:TRAU向BTS发送TFO开启通知配置帧;TRAU确定在预定时间内,没有接收到来自BTS的回复帧。Furthermore, before the TRAU indicates that its TFO enters the failure state, the above method further includes: the TRAU sends a TFO start notification configuration frame to the BTS; and the TRAU determines that no reply frame is received from the BTS within a predetermined time.

进一步地,TRAU指示其TFO进入失败状态之前,上述方法还包括:TRAU按照预定次数向BTS发送TFO准备通知配置帧;TRAU确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧。Further, before the TRAU indicates that its TFO enters the failure state, the above method also includes: TRAU sends a TFO preparation notification configuration frame to the BTS according to a predetermined number of times; TRAU determines that during the TFO preparation notification configuration frame sending a predetermined number of times, no reply frame.

为了实现上述目的,根据本发明的另一个方面,提供了一种TRAU。In order to achieve the above object, according to another aspect of the present invention, a TRAU is provided.

根据本发明的TRAU包括:第一发送模块,用于按照预定次数向BTS发送TFO准备通知配置帧;确定模块,用于确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧;第一指示模块,用于指示其TFO进入等待状态。TRAU according to the present invention includes: a first sending module, used to send a TFO preparation notification configuration frame to the BTS according to a predetermined number of times; a determination module, used to determine that during the TFO preparation notification configuration frame sending a predetermined number of times, no The reply frame; the first indication module is used to instruct its TFO to enter the waiting state.

进一步地,上述TRAU还包括:启动模块,用于在首次向BTS发送TFO准备通知配置帧时,启动定时器;第二指示模块,用于在定时器到时后,指示其TFO进入失败状态;第二发送模块,用于直接向BTS发送TFO关闭通知配置帧。Further, the above-mentioned TRAU also includes: a starting module, which is used to start a timer when sending a TFO preparation notification configuration frame to the BTS for the first time; a second indication module, which is used to indicate that its TFO enters a failure state after the timer expires; The second sending module is used to directly send the TFO shutdown notification configuration frame to the BTS.

为了实现上述目的,根据本发明的另一个方面,还提供了一种TRAU。In order to achieve the above purpose, according to another aspect of the present invention, a TRAU is also provided.

根据本发明的TRAU包括:指示模块,用于指示其TFO进入失败状态;发送模块,用于直接向BTS发送TFO关闭通知配置帧。The TRAU according to the present invention includes: an indication module, which is used to indicate that its TFO enters a failure state; a sending module, which is used to directly send a TFO shutdown notification configuration frame to the BTS.

进一步地,该TRAU还包括:第一发送模块,用于向BTS发送TFO开启通知配置帧;第一确定模块,用于确定在预定时间内,没有接收到来自BTS的回复帧。Further, the TRAU also includes: a first sending module, configured to send a TFO start notification configuration frame to the BTS; a first determining module, configured to determine that no reply frame is received from the BTS within a predetermined time.

进一步地,该TRAU还包括:第二发送模块,用于按照预定次数向BTS发送TFO准备通知配置帧;第二确定模块,用于确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧。Further, the TRAU also includes: a second sending module, which is used to send a TFO preparation notification configuration frame to the BTS according to a predetermined number of times; a second determination module, which is used to determine that in the process of sending a predetermined number of TFO preparation notification configuration frames, no to the reply frame from the BTS.

通过本发明,采用TRAU按照预定次数向BTS发送TFO准备通知配置帧,并在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧,该TRAU指示其TFO进入等待状态,解决了由于TRAU没有接收到来自BTS的回复帧,导致其TFO进入FAI状态的问题,从而提高了TFO建立的成功率。Through the present invention, the TRAU is used to send the TFO preparation notification configuration frame to the BTS according to the predetermined number of times, and in the process of sending the predetermined number of TFO preparation notification configuration frames, if no reply frame is received from the BTS, the TRAU indicates that its TFO enters the waiting state, Solved the problem that TRAU did not receive the reply frame from BTS, causing its TFO to enter the FAI state, thus improving the success rate of TFO establishment.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的通知配置帧的处理方法的流程图一;FIG. 1 is a first flowchart of a method for processing a notification configuration frame according to an embodiment of the present invention;

图2是根据本发明实施例的通知配置帧的处理方法的流程图二;FIG. 2 is a second flowchart of a method for processing a notification configuration frame according to an embodiment of the present invention;

图3是根据本发明优选实施例的TRAU发送TFO状态通知配置帧的处理流程的示意图;Fig. 3 is the schematic diagram of the processing flow of TRAU sending TFO status notification configuration frame according to a preferred embodiment of the present invention;

图4是根据本发明优选实施例的TRAU发送TFO_ON通知配置帧的处理流程的示意图;Fig. 4 is a schematic diagram of the processing flow of TRAU sending a TFO_ON notification configuration frame according to a preferred embodiment of the present invention;

图5是根据本发明优选实施例的TRAU发送TFO_SOON通知配置帧的处理流程的示意图;Fig. 5 is a schematic diagram of the processing flow of TRAU sending a TFO_SOON notification configuration frame according to a preferred embodiment of the present invention;

图6是根据本发明优选实施例的TRAU发送TFO_OFF通知配置帧的处理流程的示意图;Fig. 6 is a schematic diagram of the processing flow of TRAU sending a TFO_OFF notification configuration frame according to a preferred embodiment of the present invention;

图7为根据本发明实施例1的TRAU的结构框图;FIG. 7 is a structural block diagram of a TRAU according to Embodiment 1 of the present invention;

图8为根据本发明实施例1的TRAU的优选结构框图;Fig. 8 is a preferred structural block diagram of TRAU according to Embodiment 1 of the present invention;

图9为根据本发明实施例2的TRAU的结构框图;FIG. 9 is a structural block diagram of a TRAU according to Embodiment 2 of the present invention;

图10为根据本发明实施例2的TRAU的优选结构框图。Fig. 10 is a block diagram of a preferred structure of a TRAU according to Embodiment 2 of the present invention.

具体实施方式 Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

根据本发明的实施例,提供了一种通知配置帧的处理方法。图1是根据本发明实施例的通知配置帧的处理方法的流程图,包括如下的步骤S102至步骤S106。According to an embodiment of the present invention, a method for processing a notification configuration frame is provided. Fig. 1 is a flowchart of a method for processing a notification configuration frame according to an embodiment of the present invention, including the following steps S102 to S106.

步骤S102,TRAU按照预定次数向BTS发送TFO准备通知配置帧。In step S102, the TRAU sends a TFO preparation notification configuration frame to the BTS according to a predetermined number of times.

步骤S104,TRAU确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧。In step S104, the TRAU determines that no reply frame is received from the BTS during the process of sending the predetermined number of TFO preparation notification configuration frames.

步骤S106,TRAU指示其TFO进入等待状态。In step S106, the TRAU instructs its TFO to enter a waiting state.

通过上述步骤,在发送预定次数的TFO_SOON通知配置帧过程中,TRAU没有接收到来自BTS的回复帧时,由于TRAU没有指示其TFO进入失败状态,而是进入等待状态,从而解决了由于TRAU没有接收到来自BTS的回复帧,导致其TFO进入FAI状态的问题,从而提高了TFO建立的成功率。Through the above steps, when TRAU does not receive a reply frame from the BTS during the sending of TFO_SOON notification configuration frames for a predetermined number of times, because TRAU does not indicate that its TFO enters a failure state, but enters a waiting state, thereby solving the problem that the TRAU does not receive The reply frame from BTS causes its TFO to enter the FAI state, thus improving the success rate of TFO establishment.

优选地,根据上述通知配置帧的处理方法,TRAU在首次向BTS发送TFO准备通知配置帧时,启动定时器(例如该定时器可以为1秒);在定时器到时后,TRAU指示其TFO进入失败状态。这样,在发送TFO_SOON通知配置帧时,取消了重发n次收不到回应就失败的限制,而是交由状态机机制自身设置的定时器去限制。TRAU在重发n次仍然收不到回复的时候,进入等待回复不发送的状态,如果在协议状态机的定时器超时后仍然收不到回复,才指示其TFO进入失败状态。因此,避免了TRAU中的TFO在长时间收不到回复时经历过长时间的等待,从而提高了TFO建立的成功率。Preferably, according to the processing method of the above-mentioned notification configuration frame, when TRAU sends the TFO preparation notification configuration frame to the BTS for the first time, a timer is started (for example, the timer can be 1 second); after the timer expires, TRAU indicates its TFO into a failed state. In this way, when the TFO_SOON notification configuration frame is sent, the limitation of failing to receive a response after retransmitting n times is canceled, and it is handed over to the timer set by the state machine mechanism itself to limit. When TRAU does not receive a reply after retransmitting n times, it enters a state of waiting for a reply without sending it. If it still does not receive a reply after the timer of the protocol state machine expires, it instructs its TFO to enter a failure state. Therefore, the TFO in the TRAU is prevented from waiting for a long time when no reply is received for a long time, thereby improving the success rate of TFO establishment.

另外,在TRAU中的TFO进入失败状态之后,不管之前是否有未完成的配置交互,立即向BTS发送TFO关闭通知配置帧。用于保持基站和TRAU的状态一致。In addition, after the TFO in the TRAU enters the failure state, no matter whether there is an unfinished configuration interaction before, a TFO shutdown notification configuration frame is sent to the BTS immediately. It is used to keep the state of the base station and TRAU consistent.

需要说明的是,这里与协议的不同之处在于要求TFO_OFF立即发送。在协议中,如果有未完成的配置交互,是不会发起新的配置交互流程的,例如在本发明实施例中,在TFO_SOON配置帧交互失败TRAU进入FAILURE时,需要发送TFO_OFF通知到BTS,这种情况就是属于在有未完成的交互时发起新的交互,在协议中这个是不允许的。但是TFO_OFF表示一个TFO不建立的通知,这个时候TRAU处于非TFO的状态,应该尽快将此讯息通知到基站,TFO_OFF立即发送,可以使得TFO结束的通知迅速传递到BTS,使TRAU和BTS都同步到非TFO的传统处理状态。如果受前一次配置交互状态的影响而使TRAU无法发送TFO_OFF的话,会导致TRAU已经结束TFO了,而基站可能还处于TFO_Maybe或TFO_Yes的状态。基站和TRAU的TFO状态保持一致,在很多时候能够避免异常事件和行为的产生。It should be noted that the difference from the protocol here is that TFO_OFF is required to be sent immediately. In the protocol, if there is an unfinished configuration interaction, a new configuration interaction process will not be initiated. For example, in the embodiment of the present invention, when the TFO_SOON configuration frame interaction fails and TRAU enters FAILURE, a TFO_OFF notification needs to be sent to the BTS. The first case is to initiate a new interaction when there is an unfinished interaction, which is not allowed in the protocol. However, TFO_OFF indicates a notification that TFO is not established. At this time, TRAU is in a non-TFO state, and this message should be notified to the base station as soon as possible. TFO_OFF is sent immediately, so that the notification of the end of TFO can be quickly transmitted to the BTS, so that both TRAU and BTS are synchronized to the BTS. Legacy processing state for non-TFO. If the TRAU cannot send TFO_OFF due to the influence of the previous configuration interaction state, it will cause TRAU to end TFO, and the base station may still be in the state of TFO_Maybe or TFO_Yes. The TFO status of the base station and TRAU is consistent, and abnormal events and behaviors can be avoided in many cases.

定时器的时长超过预定次数与通知配置帧的发送间隔之积预定长度,其中,通知配置帧的发送间隔根据链路测量计算得到的往返时延进行确定。The duration of the timer exceeds the predetermined length of the product of the predetermined number of times and the sending interval of the notification configuration frame, wherein the sending interval of the notification configuration frame is determined according to the round-trip delay calculated by the link measurement.

需要说明的是,对于配置帧重发次数n的选择,协议规定的值是n=3,因为配置帧重发间隔是根据链路测量计算得到的往返时延,一般来说,重发3次是足够了,具体实施的时候可以根据环境的实现情况来确定,但n的取值不应该取得过大,因为配置帧的发送可能造成偷帧,这会对语音产生影响,所以建议n最大不超过5。为避免链路突发异常引起的配置帧丢失,n应该大于1。It should be noted that, for the choice of the number of retransmissions n of the configuration frame, the value specified in the protocol is n=3, because the retransmission interval of the configuration frame is the round-trip delay calculated according to the link measurement. Generally speaking, the retransmission is 3 times It is enough. It can be determined according to the actual implementation of the environment. However, the value of n should not be too large, because the transmission of configuration frames may cause frame stealing, which will affect the voice. Therefore, it is recommended that the maximum value of n is not More than 5. To avoid loss of configuration frames caused by link bursts, n should be greater than 1.

另外,对于配置帧重发次数n的选择,可以根据发送的配置帧类型不同而不同。但在发送TFO_SOON通知时,n的取值应使n倍链路往返时延的值远小于定时器T1的值。In addition, the selection of the number n of retransmissions of the configuration frame may be different according to the type of the configuration frame to be sent. However, when sending the TFO_SOON notification, the value of n should be such that the value of the round-trip delay of n times the link is much smaller than the value of the timer T1.

根据本发明的实施例,还提供了一种通知配置帧的处理方法。图2是根据本发明实施例的通知配置帧的处理方法的流程图,包括如下的步骤S202至步骤S204。According to an embodiment of the present invention, a method for processing a notification configuration frame is also provided. Fig. 2 is a flowchart of a method for processing a notification configuration frame according to an embodiment of the present invention, including the following steps S202 to S204.

步骤S202,TRAU指示其TFO进入失败状态。Step S202, TRAU instructs its TFO to enter a failure state.

步骤S204,TRAU直接向BTS发送TFO关闭通知配置帧。In step S204, the TRAU directly sends a TFO off notification configuration frame to the BTS.

在TRAU中的TFO进入失败状态之后,通过TRAU直接向BTS发送TFO关闭通知配置帧,而不管之前是否有未完成的配置交互,可以保证基站和TRAU的TFO状态一致。After the TFO in the TRAU enters the failure state, the TRAU directly sends a TFO shutdown notification configuration frame to the BTS, regardless of whether there is an unfinished configuration interaction before, to ensure that the TFO status of the base station and the TRAU are consistent.

优选地,TRAU指示其TFO进入失败状态之前,上述方法还包括:TRAU向BTS发送TFO开启通知配置帧;TRAU确定在预定时间内,没有接收到来自BTS的回复帧。Preferably, before the TRAU indicates that its TFO enters the failure state, the above method further includes: TRAU sends a TFO start notification configuration frame to the BTS; TRAU determines that no reply frame is received from the BTS within a predetermined time.

优选地,TRAU指示其TFO进入失败状态之前,上述方法还包括:TRAU按照预定次数向BTS发送TFO准备通知配置帧;TRAU确定在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧。Preferably, before the TRAU indicates that its TFO enters the failure state, the above method also includes: TRAU sends a TFO preparation notification configuration frame to the BTS according to a predetermined number of times; TRAU determines that during the TFO preparation notification configuration frame sending a predetermined number of times, no reply frame.

需要说明的是,协议中对于配置帧发送超时,TFO进入失败的描述很笼统,如果是因为TFO_ON交互失败,TFO结束,基站此时可能处于TFO_Maybe或TFO_Yes状态,而TRAU侧对上下行的TRAU帧速率调整都有一定限制,此时TRAU还可能已经开始发送TFO帧。在TFO_ON交互失败后,TFO因此结束,TRAU侧应该对上述的TFO处理都进行终结,包括停止发送TFO帧,放开速率调整,并且发送一个TFO_OFF通知到BTS。这样可以使对端快速察觉到本地的TFO异常结束而同步终止TFO。在TFO结束的时候,取消速率调整的限制可以使基站根据无线质量自由调整速率,TFO_OFF通知使得基站和TRAU的TFO状态保持一致。It should be noted that in the protocol, the description of configuration frame sending timeout and TFO entry failure is very general. If it is because TFO_ON interaction fails and TFO ends, the base station may be in the TFO_Maybe or TFO_Yes state at this time, and the TRAU side is responsible for the uplink and downlink TRAU frames. There are certain restrictions on rate adjustment, and TRAU may have started sending TFO frames at this time. After the TFO_ON interaction fails, TFO ends accordingly, and the TRAU side should terminate the above TFO processing, including stopping sending TFO frames, releasing the rate adjustment, and sending a TFO_OFF notification to the BTS. In this way, the peer end can quickly detect the abnormal end of the local TFO and terminate the TFO synchronously. At the end of TFO, canceling the restriction on rate adjustment allows the base station to freely adjust the rate according to the wireless quality, and the TFO_OFF notification makes the TFO status of the base station and TRAU consistent.

需要说明的是,这里与协议的不同之处在于要求TFO_OFF立即发送。在协议中,如果有未完成的配置交互,是不会发起新的配置交互流程的,例如在本发明实施例中,在TFO_ON配置帧交互失败TRAU进入FAILURE时,需要发送TFO_OFF通知到BTS,这种情况就是属于在有未完成的交互时发起新的交互,在协议中这个是不允许的。但是TFO_OFF表示一个TFO不建立的通知,这个时候TRAU处于非TFO的状态,应该尽快将此讯息通知到基站,TFO_OFF立即发送,可以使得TFO结束的通知迅速传递到BTS,使TRAU和BTS都同步到非TFO的传统处理状态。如果受前一次配置交互状态的影响而使TRAU无法发送TFO_OFF的话,会导致TRAU已经结束TFO了,而基站可能还处于TFO_Maybe或TFO_Yes的状态。基站和TRAU的TFO状态保持一致,在很多时候能够避免异常事件和行为的产生。It should be noted that the difference from the protocol here is that TFO_OFF is required to be sent immediately. In the protocol, if there is an unfinished configuration interaction, a new configuration interaction process will not be initiated. For example, in the embodiment of the present invention, when the TFO_ON configuration frame interaction fails and TRAU enters FAILURE, a TFO_OFF notification needs to be sent to the BTS. The first case is to initiate a new interaction when there is an unfinished interaction, which is not allowed in the protocol. However, TFO_OFF indicates a notification that TFO is not established. At this time, TRAU is in a non-TFO state, and this message should be notified to the base station as soon as possible. TFO_OFF is sent immediately, so that the notification of the end of TFO can be quickly transmitted to the BTS, so that both TRAU and BTS are synchronized to the BTS. Legacy processing state for non-TFO. If the TRAU cannot send TFO_OFF due to the influence of the previous configuration interaction state, it will cause TRAU to end TFO, and the base station may still be in the state of TFO_Maybe or TFO_Yes. The TFO status of the base station and TRAU is consistent, and abnormal events and behaviors can be avoided in many cases.

本发明还提供了一个优选实施例,结合了上述多个优选实施例的技术方案,下面结合图3至图6来详细描述。The present invention also provides a preferred embodiment, which combines the technical solutions of the above-mentioned multiple preferred embodiments, and will be described in detail below with reference to FIG. 3 to FIG. 6 .

设配置帧重发的时间间隔为N_Out_1帧,置计数器C1=N_Out_1,每处理一次下行TRAU帧,计数器减1,当C1=0时计数器复位。置计数器C2为TRAU重发配置帧的计数,每发送一次配置帧,计数器C2加1。N为发送配置帧数目的最大限制。Set the retransmission time interval of the configuration frame as N_Out_1 frame, set the counter C1=N_Out_1, every time a downlink TRAU frame is processed, the counter is decremented by 1, and the counter is reset when C1=0. The counter C2 is set as the count of TRAU retransmission configuration frames, and the counter C2 is incremented by 1 each time a configuration frame is sent. N is the maximum limit on the number of sending configuration frames.

图3是根据本发明优选实施例的TRAU发送TFO状态通知配置帧的处理流程的示意图,如图3所示,当TRAU需要发送TFO状态通知配置帧到BTS时,包括如下的步骤S302至步骤S308。Fig. 3 is the synoptic diagram of the processing flow of TRAU sending TFO status notification configuration frame according to the preferred embodiment of the present invention, as shown in Fig. 3, when TRAU needs to send TFO status notification configuration frame to BTS, comprise following steps S302 to step S308 .

步骤S302,TRAU判断要发送的通知配置帧类型是否为TFO_OFF。如果是则进入步骤S304,否则进入步骤S306。In step S302, the TRAU judges whether the notification configuration frame type to be sent is TFO_OFF. If yes, go to step S304, otherwise go to step S306.

步骤S304,进入TFO_OFF配置帧的发送处理流程。下行发送一个TFO_OFF配置帧。此时判断TFO的状态,如果处于FAILURE,则结束此次交互;否则启动计数器C1,置计数器C2=1。In step S304, enter the sending processing flow of the TFO_OFF configuration frame. Send a TFO_OFF configuration frame downstream. At this time, judge the state of TFO, if it is FAILURE, then end the interaction; otherwise, start the counter C1 and set the counter C2=1.

需要说明的是,下述步骤S702至步骤S726详细的描述TFO_OFF通知配置帧的发送处理流程。It should be noted that the following steps S702 to S726 describe in detail the sending processing flow of the TFO_OFF notification configuration frame.

步骤S306,TRAU判断是否存在未完成的通知配置帧交互。如果是则等待当前配置交互完成并返回,否则TRAU进入TFO_SOON通知配置帧的发送处理流程或TFO_ON通知配置帧的发送处理流程。In step S306, the TRAU judges whether there is an unfinished notification configuration frame interaction. If so, wait for the current configuration interaction to complete and return, otherwise TRAU enters the sending processing flow of the TFO_SOON notification configuration frame or the sending processing flow of the TFO_ON notification configuration frame.

需要说明的是,本优选实施例在步骤S306 TRAU判断是否存在未完成的通知配置帧交互之前,即执行步骤S302 TRAU判断要发送的通知配置帧类型是否为TFO_OFF,并在判断结果为是的情况下执行步骤S304进入TFO_OFF配置帧的发送处理流程。可以保证在TRAU中的TFO进入失败状态之后,不管之前是否有未完成的配置交互,立即向BTS发送TFO关闭通知配置帧,从而保持基站和TIAU的状态一致。It should be noted that, in this preferred embodiment, before step S306 TRAU judges whether there is an unfinished notification configuration frame interaction, that is, step S302 TRAU is executed to judge whether the notification configuration frame type to be sent is TFO_OFF, and if the judgment result is yes Next, step S304 is executed to enter the sending processing flow of the TFO_OFF configuration frame. It can be guaranteed that after the TFO in the TRAU enters the failure state, regardless of whether there is an unfinished configuration interaction before, the TFO shutdown notification configuration frame is sent to the BTS immediately, so as to keep the status of the base station and the TIAU consistent.

步骤S308,进入TFO_SOON通知配置帧的发送处理流程。In step S308, enter the sending processing flow of the TFO_SOON notification configuration frame.

需要说明的是,下述步骤S602至步骤S628详细的描述TFO_OFF通知配置帧的发送处理流程。It should be noted that the following steps S602 to S628 describe in detail the sending processing flow of the TFO_OFF notification configuration frame.

步骤S310,进入TFO_ON通知配置帧的发送处理流程。In step S310, enter the sending processing flow of the TFO_ON notification configuration frame.

需要说明的是,下述步骤S502至步骤S524详细的描述TFO_OFF通知配置帧的发送处理流程。It should be noted that the following steps S502 to S524 describe in detail the sending processing flow of the TFO_OFF notification configuration frame.

图4是根据本发明实施例的TRAU发送TFO_ON通知配置帧的处理流程图,包括如下的步骤S402至步骤S424。Fig. 4 is a flow chart of the processing of TRAU sending a TFO_ON notification configuration frame according to an embodiment of the present invention, including the following steps S402 to S424.

步骤S402,TRAU进入TFO_ON通知配置帧的发送处理流程。In step S402, the TRAU enters the process flow of sending the TFO_ON notification configuration frame.

步骤S404,下行发送第一个TFO_ON通知配置帧,置计数器C2=1,同时启动计数器C1,进入步骤S406。Step S404, send the first TFO_ON notification configuration frame downlink, set counter C2=1, start counter C1 at the same time, enter step S406.

步骤S406,TRAU判断在计数器C1复位前,是否接收到BTS对TFO通知配置帧的回复。如果是则进入步骤S408,否则进入步骤S410。In step S406, the TRAU judges whether it has received a reply to the TFO notification configuration frame from the BTS before the counter C1 is reset. If yes, go to step S408, otherwise go to step S410.

步骤S408,C1复位,停止计数,C2清0,此次配置交互完成。In step S408, C1 is reset to stop counting, and C2 is cleared to 0, and this configuration interaction is completed.

步骤S410,每处理一次下行TRAU数据,C1减1。Step S410, decrement C1 by 1 each time the downlink TRAU data is processed.

步骤S412,判断C1是否等于零。如果不等于零,返回步骤S406。如果等于零,进入步骤S414。Step S412, judging whether C1 is equal to zero. If not equal to zero, return to step S406. If it is equal to zero, go to step S414.

步骤S414,计数器C2加1。Step S414, add 1 to the counter C2.

步骤S416,判断C2是否小于等于N,如果是则进入步骤S418,否则进入步骤S420。Step S416, judging whether C2 is less than or equal to N, if yes, go to step S418, otherwise go to step S420.

步骤S418,TRAU重发一次配置帧,C1复位,然后返回步骤S406。In step S418, TRAU resends the configuration frame once, resets C1, and returns to step S406.

步骤S420,停止计数器C1,计数器C2清0。Step S420, stop the counter C1, and clear the counter C2.

步骤S422,结束此次配置交互,TFO状态机进入FAILURE。In step S422, the configuration interaction ends, and the TFO state machine enters FAILURE.

步骤S424,更新TRAU发送通知配置帧的类型为TFO_OFF,并发送TFO_OFF通知配置帧。Step S424, updating the type of the TRAU sending notification configuration frame to TFO_OFF, and sending the TFO_OFF notification configuration frame.

需要说明的是,本优选实施例在步骤S422 TFO状态机进入FAILURE之后,即执行步骤S424更新TRAU发送通知配置帧的类型为TFO_OFF,并发送TFO_OFF通知配置帧。可以保证在TRAU中的TFO进入失败状态之后,不管之前是否有未完成的配置交互,立即向BTS发送TFO关闭通知配置帧,从而保持基站和TRAU的状态一致。It should be noted that, in this preferred embodiment, after the TFO state machine enters FAILURE in step S422, step S424 is executed to update the type of the TRAU sending notification configuration frame as TFO_OFF, and send the TFO_OFF notification configuration frame. It can be guaranteed that after the TFO in the TRAU enters the failure state, regardless of whether there is an unfinished configuration interaction before, the TFO shutdown notification configuration frame is sent to the BTS immediately, so as to keep the state of the base station and the TRAU consistent.

图5是根据本发明实施例的TRAU发送TFO_SOON通知配置帧的处理流程图,包括如下的步骤S502至步骤S528。Fig. 5 is a flow chart of the processing of TRAU sending a TFO_SOON notification configuration frame according to an embodiment of the present invention, including the following steps S502 to S528.

步骤S502,TRAU进入TFO_SOON通知配置帧的发送处理流程。In step S502, the TRAU enters the sending process flow of the TFO_SOON notification configuration frame.

步骤S504,下行发送第一个TFO_SOON通知配置帧,置计数器C2=1,同时启动计数器C1,进入步骤S506。Step S504, send the first TFO_SOON notification configuration frame downlink, set counter C2=1, start counter C1 at the same time, enter step S506.

步骤S506,TRAU判断在计数器C1复位前,是否接收到BTS对TFO通知配置帧的回复。如果是则进入步骤S508,否则进入步骤S510。In step S506, the TRAU judges whether it has received a reply to the TFO notification configuration frame from the BTS before the counter C1 is reset. If yes, go to step S508, otherwise go to step S510.

步骤S508,C1复位,停止计数,C2清0,此次配置交互完成。In step S508, C1 is reset to stop counting, and C2 is cleared to 0, and this configuration interaction is completed.

步骤S510,每处理一次下行TRAU数据,C1减1。Step S510, decrement C1 by 1 each time the downlink TRAU data is processed.

步骤S512,判断C1是否等于零。如果不等于零,返回步骤S506。如果等于零,进入步骤S514。Step S512, judging whether C1 is equal to zero. If not equal to zero, return to step S506. If it is equal to zero, go to step S514.

步骤S514,计数器C2加1。Step S514, add 1 to the counter C2.

步骤S516,判断C2是否小于等于N,如果是则进入步骤S518,否则进入步骤S520。Step S516, judging whether C2 is less than or equal to N, if yes, go to step S518, otherwise go to step S520.

步骤S518,TRAU重发一次配置帧,C1复位,然后返回步骤S506。In step S518, TRAU resends the configuration frame once, C1 is reset, and then returns to step S506.

步骤S520,停止计数器C1,计数器C2清0。Step S520, stop the counter C1, and clear the counter C2.

步骤S522,TRAU等待TFO状态机自行运转,并判断状态机定时器是否超时,如果没有超时则进入步骤S524,如果超时则进入步骤S526。In step S522, TRAU waits for the TFO state machine to run by itself, and judges whether the state machine timer has timed out, and if not, proceeds to step S524, and if timed out, proceeds to step S526.

步骤S524,TRAU判断是否接收到BTS对TFO通知配置帧的回复。如果是则此次配置交互完成,然后返回步骤S508,否则进入步骤S522。In step S524, the TRAU judges whether a reply from the BTS to the TFO notification configuration frame is received. If yes, the configuration interaction is completed, and then return to step S508, otherwise, enter step S522.

步骤S526,结束此次配置交互,TFO状态机进入FAILURE。In step S526, the configuration interaction ends, and the TFO state machine enters FAILURE.

需要说明的是,在发送预定次数的TFO_SOON通知配置帧过程中,TRAU没有接收到来自BTS的回复帧时,由于TRAU没有指示其TFO进入步骤S526 TFO状态机进入FAILURE,而是进入步骤S522 TRAU等待TFO状态机自行运转,并判断状态机定时器是否超时(即等待状态),从而解决了由于TRAU没有接收到来自BTS的回复帧,导致其TFO进入FAI状态的问题,从而提高了TFO建立的成功率。It should be noted that, when TRAU does not receive a reply frame from the BTS in the process of sending a predetermined number of TFO_SOON notification configuration frames, because TRAU does not instruct its TFO to enter step S526, the TFO state machine enters FAILURE, but enters step S522. TRAU waits The TFO state machine operates by itself, and judges whether the state machine timer is overtime (that is, the waiting state), thereby solving the problem that TRAU does not receive a reply frame from the BTS, causing its TFO to enter the FAI state, thereby improving the success of TFO establishment Rate.

步骤S528,更新TRAU发送通知配置帧的类型为TFO_OFF,并发送TFO_OFF通知配置帧。Step S528, updating the type of the TRAU sending notification configuration frame to TFO_OFF, and sending the TFO_OFF notification configuration frame.

需要说明的是,本优选实施例在步骤S526 TFO状态机进入FAILURE之后,即执行步骤S528更新TRAU发送通知配置帧的类型为TFO_OFF,并发送TFO_OFF通知配置帧。可以保证在TRAU中的TFO进入失败状态之后,不管之前是否有未完成的配置交互,立即向BTS发送TFO关闭通知配置帧,从而保持基站和TRAU的状态一致。It should be noted that, in this preferred embodiment, after the TFO state machine enters FAILURE in step S526, step S528 is executed to update the type of the TRAU sending notification configuration frame as TFO_OFF, and send the TFO_OFF notification configuration frame. It can be guaranteed that after the TFO in the TRAU enters the failure state, regardless of whether there is an unfinished configuration interaction before, the TFO shutdown notification configuration frame is sent to the BTS immediately, so as to keep the state of the base station and the TRAU consistent.

图6是根据本发明实施例的TRAU发送TFO_OFF通知配置帧的处理流程图,包括如下的步骤S602至步骤S626。Fig. 6 is a flowchart of the processing of TRAU sending a TFO_OFF notification configuration frame according to an embodiment of the present invention, including the following steps S602 to S626.

步骤S602,TRAU进入TFO_OFF通知配置帧的发送处理流程。In step S602, the TRAU enters the process flow of sending the TFO_OFF notification configuration frame.

步骤S604,下行发送第一个TFO_OFF通知配置帧。Step S604, sending the first TFO_OFF notification configuration frame downlink.

步骤S606,TRAU判断TFO是否处于失败(FAILURE)状态。如果是则进入步骤S608,否则进入步骤S610。In step S606, the TRAU judges whether the TFO is in a failure (FAILURE) state. If yes, go to step S608, otherwise go to step S610.

步骤S608,此次配置交互完成,并结束此次交互。Step S608, this configuration interaction is completed, and this interaction ends.

步骤S610,启动计数器C1,置计数器C2等于1。Step S610, start the counter C1, and set the counter C2 equal to 1.

步骤S612,TRAU判断在计数器C1复位前,是否接收到BTS对TFO通知配置帧的回复。如果是则返回步骤S608,否则进入步骤S614。In step S612, the TRAU judges whether it has received a reply to the TFO notification configuration frame from the BTS before the counter C1 is reset. If yes, return to step S608, otherwise enter step S614.

步骤S614,每处理一次下行TRAU数据,C1减1。Step S614, decrement C1 by 1 each time the downlink TRAU data is processed.

步骤S616,判断C1是否等于零。如果不等于零,返回步骤S614。如果等于零,进入步骤S618。Step S616, judging whether C1 is equal to zero. If not equal to zero, return to step S614. If it is equal to zero, go to step S618.

步骤S618,计数器C2加1。Step S618, add 1 to the counter C2.

步骤S620,判断C2是否小于等于N,如果是则进入步骤S622,否则进入步骤S624。Step S620, judging whether C2 is less than or equal to N, if yes, go to step S622, otherwise go to step S624.

步骤S622,TRAU重发一次配置帧,C1复位,然后返回步骤S614。In step S622, TRAU resends the configuration frame once, resets C1, and returns to step S614.

步骤S624,停止计数器C1,计数器C2清0。Step S624, stop the counter C1, and clear the counter C2.

步骤S626,结束此次配置交互,TFO状态机进入FAILURE。In step S626, the configuration interaction ends, and the TFO state machine enters FAILURE.

需要说明的是,本优选实施例在步骤S626 TFO状态机进入FAILURE之前,不管是否有未完成的配置交互(例如上述TFO_ON和TFO_SOON通知配置帧交互失败的情况),立即向BTS发送TFO关闭通知配置帧,从而保持基站和TRAU的状态一致。It should be noted that, in this preferred embodiment, before step S626 TFO state machine enters FAILURE, no matter whether there is unfinished configuration interaction (such as the above-mentioned TFO_ON and TFO_SOON notification configuration frame interaction failure), immediately send TFO close notification configuration to BTS frame, so as to keep the state of the base station and TRAU consistent.

根据本发明的实施例,提供了一种通知配置帧的处理方法,采用TRAU按照预定次数向BTS发送TFO准备通知配置帧,并在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧,该TRAU指示其TFO进入等待状态,解决了由于TRAU没有接收到来自BTS的回复帧,导致其TFO进入FAI状态的问题,从而提高了TFO建立的成功率。According to the embodiment of the present invention, a kind of processing method of notification configuration frame is provided. TRAU is used to send TFO preparation notification configuration frame to BTS according to predetermined times, and during the process of sending predetermined times of TFO preparation notification configuration frame, no The reply frame of the BTS, the TRAU instructs its TFO to enter the waiting state, which solves the problem that its TFO enters the FAI state because the TRAU does not receive the reply frame from the BTS, thereby improving the success rate of TFO establishment.

根据本发明的实施例,还提供了一种TRAU,该TRAU可以用于实现上述通知配置帧的处理方法。图7为根据本发明实施例1的TRAU的结构框图,包括:第一发送模块71,确定模块72和第一指示模块73。下面对其结构进行详细描述。According to an embodiment of the present invention, a TRAU is also provided, and the TRAU can be used to implement the above method for processing a notification configuration frame. FIG. 7 is a structural block diagram of a TRAU according to Embodiment 1 of the present invention, including: a first sending module 71 , a determining module 72 and a first indicating module 73 . Its structure is described in detail below.

第一发送模块71,用于按照预定次数向BTS发送TFO准备通知配置帧;确定模块72,连接至第一发送模块71,用于确定在第一发送模块71发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧;第一指示模块73,连接至确定模块72,用于在确定模块72的确定结果为是时,指示其TFO进入等待状态。The first sending module 71 is used to send the TFO preparation notification configuration frame to the BTS according to a predetermined number of times; the determination module 72 is connected to the first sending module 71 and is used to determine the TFO preparation notification configuration frame sent by the first sending module 71 for a predetermined number of times During the process, no reply frame from the BTS is received; the first indication module 73 is connected to the determination module 72, and is used to instruct its TFO to enter the waiting state when the determination result of the determination module 72 is yes.

图8为根据本发明实施例1的TRAU的优选结构框图,还包括启动模块74、第二指示模块75、第二发送模块76。下面对其结构进行详细描述。FIG. 8 is a preferred structural block diagram of the TRAU according to Embodiment 1 of the present invention, which further includes an activation module 74 , a second indication module 75 , and a second sending module 76 . Its structure is described in detail below.

启动模块74,连接至第一发送模块72,用于第一发送模块72在首次向BTS发送TFO准备通知配置帧时,启动定时器;第二指示模块75,连接至启动模块74,用于在启动模块74启动的定时器到时后,指示TFO进入失败状态;第二发送模块76,连接至第二指示模块75,用于在第二指示模块75指示TFO进入失败状态,直接向BTS发送TFO关闭通知配置帧。The start module 74 is connected to the first sending module 72, and is used for the first sending module 72 to start the timer when the first sending module 72 sends the TFO preparation notification configuration frame to the BTS; the second indication module 75 is connected to the start module 74, and is used for After the timer started by the starting module 74 expires, it indicates that the TFO enters the failure state; the second sending module 76 is connected to the second indication module 75, and is used to indicate that the TFO enters the failure state at the second indication module 75, and directly sends the TFO to the BTS Close notification configuration frame.

图9为根据本发明实施例2的TRAU的结构框图,包括:指示模块91和发送模块92,下面对其结构进行详细描述。Fig. 9 is a structural block diagram of a TRAU according to Embodiment 2 of the present invention, including: an indication module 91 and a sending module 92, and the structure thereof will be described in detail below.

指示模块91,用于指示其TFO进入失败状态;发送模块92,用于直接向BTS发送TFO关闭通知配置帧。The indication module 91 is used to indicate that its TFO enters the failure state; the sending module 92 is used to directly send a TFO shutdown notification configuration frame to the BTS.

在TRAU中的TFO进入失败状态之后,通过TRAU直接向BTS发送TFO关闭通知配置帧,而不管之前是否有未完成的配置交互,可以保证基站和TRAU的TFO状态一致。After the TFO in the TRAU enters the failure state, the TRAU directly sends a TFO shutdown notification configuration frame to the BTS, regardless of whether there is an unfinished configuration interaction before, to ensure that the TFO status of the base station and the TRAU are consistent.

图10为根据本发明实施例2的TRAU的优选结构框图,包括:第一发送模块101,第一确定模块102,第二发送模块103和第二确定模块104。下面对其结构进行详细描述。FIG. 10 is a preferred structural block diagram of a TRAU according to Embodiment 2 of the present invention, including: a first sending module 101 , a first determining module 102 , a second sending module 103 and a second determining module 104 . Its structure is described in detail below.

第一发送模块101,用于向BTS发送TFO开启通知配置帧;第一确定模块102,连接至第一发送模块101,用于确定在第一发送模块101发送TFO开启通知配置帧的预定时间内,没有接收到来自BTS的回复帧。The first sending module 101 is used to send the TFO opening notification configuration frame to the BTS; the first determination module 102 is connected to the first sending module 101 and is used to determine the predetermined time within which the first sending module 101 sends the TFO opening notification configuration frame , no reply frame is received from the BTS.

第二发送模块103,用于按照预定次数向BTS发送TFO准备通知配置帧;第二确定模块104,连接至第二发送模块103,用于确定在第二发送模块103发送TFO准备通知配置帧的预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧。The second sending module 103 is used to send the TFO preparation notification configuration frame to the BTS according to a predetermined number of times; the second determination module 104 is connected to the second sending module 103, and is used to determine whether the second sending module 103 sends the TFO preparation notification configuration frame During the predetermined number of TFO preparation notification configuration frames, no reply frame is received from the BTS.

综上所述,根据本发明的上述实施例,提供了一种通知配置帧的处理方法及TRAU,采用TRAU按照预定次数向BTS发送TFO准备通知配置帧,并在发送预定次数的TFO准备通知配置帧过程中,没有接收到来自BTS的回复帧,该TRAU指示其TFO进入等待状态,解决了由于TRAU没有接收到来自BTS的回复帧,导致其TFO进入FAI状态的问题,从而提高了TFO建立的成功率。另外,本发明在因配置帧交互异常TFO失败时能保持TRAU同BTS的TFO状态一致。In summary, according to the above-mentioned embodiments of the present invention, a processing method and TRAU for a notification configuration frame are provided. TRAU is used to send a TFO preparation notification configuration frame to the BTS according to a predetermined number of times, and the TFO preparation notification configuration frame is sent after sending a predetermined number of times. During the frame process, if no reply frame from BTS is received, the TRAU instructs its TFO to enter the waiting state, which solves the problem that its TFO enters the FAI state because TRAU does not receive a reply frame from the BTS, thereby improving the TFO establishment Success rate. In addition, the present invention can keep the TFO status of TRAU consistent with that of BTS when TFO fails due to configuration frame interaction abnormality.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1. a processing method for notification configuration frame, is characterized in that, comprising:
Pattern transducer and Rate Adapter Unit TRAU send tandem free cascade operation TFO according to pre-determined number to base station BTS and prepare notification configuration frame;
Described TRAU determines to prepare, in notification configuration frame process, not receive the reply frame from described BTS at the described TFO sending described pre-determined number;
Described TRAU indicates its TFO to enter wait state.
2. the processing method of notification configuration frame according to claim 1, is characterized in that, also comprises:
Described TRAU, when sending described TFO preparation notification configuration frame to BTS first, starts timer;
Described timer then after, described TRAU indicates described TFO to enter status of fail.
3. the processing method of notification configuration frame according to claim 1, is characterized in that, also comprises:
Described TRAU, when sending described TFO preparation notification configuration frame to BTS first, starts timer;
Described timer then after, described TRAU indicates described TFO to enter status of fail;
Described TRAU sends TFO directly to described BTS and closes notification configuration frame.
4. the processing method of the notification configuration frame according to Claims 2 or 3, it is characterized in that, the duration of described timer exceedes the long-pending predetermined length at the transmission interval of described pre-determined number and described notification configuration frame, wherein, the round-trip delay that the transmission interval of described notification configuration frame obtains according to link survey calculation is determined.
5. a processing method for notification configuration frame, is characterized in that, comprising:
TRAU indicates its TFO to enter status of fail, wherein, indicates before its TFO enters status of fail, also comprise: described TRAU sends TFO to described BTS and opens notification configuration frame at described TRAU; Described TRAU determines in the given time, does not receive the reply frame from described BTS; Or, indicate before its TFO enters status of fail at described TRAU, also comprise: TRAU sends TFO according to pre-determined number to BTS and prepares notification configuration frame; Described TRAU determines to prepare, in notification configuration frame process, not receive the reply frame from described BTS at the described TFO sending described pre-determined number;
No matter whether have the configuration interactive do not completed before, described TRAU sends TFO directly to BTS and closes notification configuration frame.
6. a processing unit for notification configuration frame, is characterized in that, is applied to TRAU, comprising:
First sending module, prepares notification configuration frame for sending TFO according to pre-determined number to BTS;
Determination module, prepares, in notification configuration frame process, not receive the reply frame from described BTS at the described TFO sending described pre-determined number for determining;
First indicating module, is used to indicate described TFO and enters wait state.
7. device according to claim 6, is characterized in that, also comprises:
Starting module, for when sending described TFO preparation notification configuration frame to BTS first, starting timer;
Second indicating module, for described timer then after, indicate described TFO to enter status of fail;
Second sending module, closes notification configuration frame for sending TFO directly to described BTS.
8. a processing unit for notification configuration frame, is characterized in that, is applied to TRAU, comprising:
First sending module and the first determination module, wherein, described first sending module, opens notification configuration frame for sending TFO to described BTS; Described first determination module, for determining in the given time, does not receive the reply frame from described BTS;
Or, the second sending module and the second determination module, wherein, described second sending module, prepares notification configuration frame for sending TFO according to pre-determined number to BTS; Second determination module, prepares, in notification configuration frame process, not receive the reply frame from described BTS at the described TFO sending described pre-determined number for determining;
Indicating module, is used to indicate described TFO and enters status of fail;
Sending module, for no matter whether having the configuration interactive do not completed before, sending TFO directly to BTS and closing notification configuration frame.
CN201010145575.4A 2010-03-23 2010-03-23 Processing method of notification configuration frame, transcoder and rate adaptation unit Expired - Fee Related CN102201889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010145575.4A CN102201889B (en) 2010-03-23 2010-03-23 Processing method of notification configuration frame, transcoder and rate adaptation unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010145575.4A CN102201889B (en) 2010-03-23 2010-03-23 Processing method of notification configuration frame, transcoder and rate adaptation unit

Publications (2)

Publication Number Publication Date
CN102201889A CN102201889A (en) 2011-09-28
CN102201889B true CN102201889B (en) 2015-07-22

Family

ID=44662299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010145575.4A Expired - Fee Related CN102201889B (en) 2010-03-23 2010-03-23 Processing method of notification configuration frame, transcoder and rate adaptation unit

Country Status (1)

Country Link
CN (1) CN102201889B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014205821A1 (en) * 2013-06-28 2014-12-31 华为技术有限公司 Method, apparatus and system for voice communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929607A (en) * 2006-08-03 2007-03-14 爱普拉斯通信技术(北京)有限公司 Device and method for transmitting media stream data
CN1992751A (en) * 2005-12-27 2007-07-04 上海移动通信有限责任公司 Charging note complete monitoring warning system and operation method
CN101599955A (en) * 2008-06-04 2009-12-09 清华大学 Method of Two-way Data Transmission in CATV Network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003092312A1 (en) * 2002-04-24 2003-11-06 Telefonaktiebolaget Lm Ericsson (Publ) Bypassing transcoding operations in a communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992751A (en) * 2005-12-27 2007-07-04 上海移动通信有限责任公司 Charging note complete monitoring warning system and operation method
CN1929607A (en) * 2006-08-03 2007-03-14 爱普拉斯通信技术(北京)有限公司 Device and method for transmitting media stream data
CN101599955A (en) * 2008-06-04 2009-12-09 清华大学 Method of Two-way Data Transmission in CATV Network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ETSI.In-band Tandem Free Operation (TFO) of speech codecs.《3GPP TS 28.062 version 8.1.0 Release 8》.2009,第131-144页. *

Also Published As

Publication number Publication date
CN102201889A (en) 2011-09-28

Similar Documents

Publication Publication Date Title
JP6317491B2 (en) Mobile communication network, infrastructure device, mobile communication terminal, and method.
FI116185B (en) downtime
US20150133122A1 (en) Method of Handling Radio Link Failure
US11477715B2 (en) Method and device for data transmission
TWI380711B (en) Handoff of data attachment point
WO2017148231A1 (en) Method for configuring uplink semi-persistent scheduling, terminal, and network side device
JP2022017555A (en) Communication control method
US20230319651A1 (en) Processing state information
JP2014522165A (en) Mobile communication network, infrastructure facility and method for managing reduced mobility of machine type communication (MTC) devices and transmitting downlink data to MTC devices
KR20090019893A (en) User equipment, base station and method used in mobile communication system
KR20140017677A (en) Multipath overlay network and its multipath management protocol
JP4243599B2 (en) How to monitor paging channel for packet switching service
JP2003047037A (en) Communication system and handover control method
WO2020143834A1 (en) Method and device for determining feedback resource in sidelink
US10630568B2 (en) Transmission control protocol timestamp rewriting
CN102201889B (en) Processing method of notification configuration frame, transcoder and rate adaptation unit
WO2005114914A1 (en) Wireless lan device having terminal function, wireless lan device having base station function, and wireless network having the wireless lan device
WO2019210969A1 (en) Urllc data during measurement gaps
WO2019020309A1 (en) Communication relay and method for redirecting data packets
CN102196515B (en) Cell switching method, radio network controller and user equipment
US9144056B2 (en) Broadcast teardown apparatus and method
JP6406483B1 (en) Data control apparatus, base station, and radio communication system
CN116033413B (en) Privacy security enhancement method for relay communication
EP3105961B1 (en) Rbs, rnc and respective methods performed thereby for transmitting data to a ue
WO2016062012A1 (en) Circuit switched fallback method, communication node and system, and storage medium

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: 20150722

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