CN1667993A - A method for controlling transmit frequency of status report - Google Patents
A method for controlling transmit frequency of status report Download PDFInfo
- Publication number
- CN1667993A CN1667993A CN 200410064316 CN200410064316A CN1667993A CN 1667993 A CN1667993 A CN 1667993A CN 200410064316 CN200410064316 CN 200410064316 CN 200410064316 A CN200410064316 A CN 200410064316A CN 1667993 A CN1667993 A CN 1667993A
- Authority
- CN
- China
- Prior art keywords
- nack
- sending
- counter
- pdu
- status report
- 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.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种控制状态报告发送频率的方法,该方法为接收实体发送到发送实体、且包含NACK的状态报告设置发送条件;接收实体每次向发送实体发送包含NACK的状态报告之前,针对本状态报告考察范围内的每个没有被本接收实体正确接收的PDU,判断当前是否符合设定的NACK发送条件,如果不符合,则在状态报告中不包含该PDU的NACK;否则,允许在状态报告中包含针对该PDU的NACK。本发明解决了现有技术中会出现冗余PDU及状态报告传送的问题。本发明在不影响包含ACK的状态报告发送的前提下,限制了包含NACK的状态报告的发送,减少了冗余状态报告的发送,并进而减少了冗余重传PDU,提高了通信链路的利用率。
The invention discloses a method for controlling the sending frequency of a status report. The method sets sending conditions for status reports containing NACK sent from a receiving entity to a sending entity; before the receiving entity sends a status report including NACK to the sending entity, the Each PDU within the scope of this status report that has not been correctly received by the receiving entity is judged whether it meets the set NACK sending conditions. If not, the NACK of the PDU is not included in the status report; otherwise, it is allowed to A NACK for this PDU is included in the status report. The invention solves the problem of redundant PDU and status report transmission in the prior art. The present invention limits the sending of status reports including NACK without affecting the sending of status reports including ACK, reduces the sending of redundant status reports, further reduces redundant retransmission PDUs, and improves the reliability of communication links. utilization rate.
Description
技术领域technical field
本发明涉及数据单元状态报告技术领域,更确切地说是涉及在无线通信系统的自动重传请求机制中控制状态报告发送频率的方法。The present invention relates to the technical field of data unit status report, and more specifically relates to a method for controlling the sending frequency of a status report in an automatic repeat request mechanism of a wireless communication system.
背景技术Background technique
通用移动通信系统(UMTS)是采用宽带码分多址(WCDMA)空中接口技术的第三代移动通信系统,通常也称作WCDMA系统。Universal Mobile Telecommunications System (UMTS) is a third-generation mobile communication system that adopts Wideband Code Division Multiple Access (WCDMA) air interface technology, and is also commonly referred to as a WCDMA system.
WCDMA的无线接口分为物理层、数据链路层和网络层。数据链路层中的无线链路控制(RLC)支持透明模式(TM)、非确认模式(UM)和确认模式(AM)三种模式,实现分段、级联、填充、差错控制、流量控制、重复性检测等功能。其中,RLC AM实体包括发送实体和接收实体,发送实体和接收实体对网络层发送来的数据单元进行处理,并将处理后的数据单元再发送给网络层。由发送实体和接收实体组成的RLC AM实体的功能模型参见图1,对应的处理过程则参见图2。其中,发送实体通过以下步骤进行数据单元处理:The wireless interface of WCDMA is divided into physical layer, data link layer and network layer. The radio link control (RLC) in the data link layer supports three modes: transparent mode (TM), unacknowledged mode (UM) and acknowledged mode (AM) to realize segmentation, concatenation, filling, error control, and flow control , Repeatability detection and other functions. Among them, the RLC AM entity includes a sending entity and a receiving entity, and the sending entity and the receiving entity process the data unit sent from the network layer, and then send the processed data unit to the network layer. The functional model of the RLC AM entity composed of the sending entity and the receiving entity is shown in Figure 1, and the corresponding processing process is shown in Figure 2. Among them, the sending entity performs data unit processing through the following steps:
步骤201、发送实体在收到网络层传送来的RLC业务数据单元(SDU)时,首先对该协议处理单元(PDU)进行分段/级联处理。
根据实际需要,发送实体还可能需要对分段/级联处理后的RLC PDU进行填充处理。According to actual needs, the sending entity may also need to fill the segmented/concatenated RLC PDUs.
步骤202、组装确认模式数据(AMD)PDU,并将组装后的AMD PDU发送给发送缓冲器。Step 202: Assemble Acknowledged Mode Data (AMD) PDUs, and send the assembled AMD PDUs to the sending buffer.
步骤203、发送实体中的发送缓冲器对自身保存的AMD PDU进行调度。
步骤204、调度到的PDU如果可以发送,则根据网络层配置的规则设置查询比特,然后将处理后的AMD PDU提交给底层发送到接收实体。
在步骤204中,对于新组装的AMD PDU来说,还要设置序列号域,之后对AMD PDU进行加密。In
接收实体通过以下步骤进行数据单元处理:The receiving entity proceeds with data unit processing through the following steps:
步骤205、接收实体对正确接收到的AMD PDU进行解密,并将解密得到的数据放到接收缓冲器。
步骤206、对该AMD PDU进行解析,以判断能否重组出RLC SDU,如果能够重组出完整的RLC SDU,则进行重组操作,并将重组得到的RLCSDU提交到高层。Step 206: Analyze the AMD PDU to determine whether the RLC SDU can be reassembled. If a complete RLC SDU can be reassembled, perform a reassembly operation and submit the reassembled RLC SDU to the upper layer.
在上述步骤206中,接收实体在对解密后的AMD PDU进行解析之前,还需要根据AMD PDU中查询比特的值,以及网络层在接收实体中配置的状态报告机制,判断当前AMD PDU的传输是否准确,也即,判断是否需要向发送实体发送用于重传数据的状态报告,如果需要,则接收实体组装相应的状态报告,并将该状态报告发送到底层。底层则将该状态报告发送给发送实体中的重传缓冲器,重传缓冲器则根据收到的状态报告缓存需要重传的AMD PDU。在这种情况下,上述步骤203中发送缓冲器调度的AMD PDU不但有新组装的AMD PDU,还包括保存在重传缓冲器中等待重传的AMDPDU。这种重传数据单元的机制称为自动重传请求(ARQ)机制。In the
接收实体所组装的状态报告中包含的是肯定确认(ACK)信息和否定确认(NACK)信息,用于重传数据的状态报告中包含NACK,用于确定AMDPDU被正确接收的状态报告中则包含ACK。在上述从发送实体到接收实体的整个通信过程中,发送实体如果收到包含NACK的状态报告,也即用于重传数据的状态报告,则重传传输出现错误或被丢弃的PDU,以保证数据单元的正确传输。当然,发送实体如果收到包含ACK的状态报告,则可以确认相应的PDU被正确地传输了。The status report assembled by the receiving entity contains positive acknowledgment (ACK) information and negative acknowledgment (NACK) information, the status report used to retransmit data contains NACK, and the status report used to determine that the AMD PDU is correctly received contains ACK. In the above-mentioned entire communication process from the sending entity to the receiving entity, if the sending entity receives a status report containing NACK, that is, a status report for retransmitting data, it will retransmit the PDU that has an error in the transmission or is discarded to ensure Correct transmission of data units. Of course, if the sending entity receives the status report including ACK, it can confirm that the corresponding PDU has been transmitted correctly.
但是,目前通常会出现接收实体向发送实体发送多次针对同一PDU、且包含的确认信息为NACK的状态报告,而发送实体多次向接收实体重传同一个PDU。也就是说,目前通常会造成系统需要传输很多的冗余数据,而这显然浪费了数据传输资源,并且接收实体和发送实体都要在传输冗余数据上浪费较多的时间。However, at present, it usually occurs that the receiving entity sends multiple status reports for the same PDU to the sending entity and the confirmation information contained is NACK, and the sending entity retransmits the same PDU to the receiving entity multiple times. That is to say, at present, the system usually needs to transmit a lot of redundant data, which obviously wastes data transmission resources, and both the receiving entity and the sending entity both waste a lot of time in transmitting redundant data.
另外,由于发送实体在将PDU发送给接收实体之后,还要等待接收实体返回状态报告,如果接收实体返回的状态报告中包含的为NACK,则该发送实体还应该向接收实体再次发送该PDU。发送实体在整个过程中的等待时间为时延。如果发送实体收到接收实体返回的多个包含NACK的状态报告,则发送实体在从第一次发送PDU到最后一次重传PDU的这段时间都为针对该PDU的时延,显然,这段时延的时间较长,占用了发送实体的资源,并且也会对发送实体的工作造成一定的影响。现有技术目前也没有解决这个问题。In addition, since the sending entity waits for the receiving entity to return a status report after sending the PDU to the receiving entity, if the status report returned by the receiving entity contains NACK, the sending entity should send the PDU to the receiving entity again. The waiting time of the sending entity in the whole process is the delay. If the sending entity receives multiple status reports containing NACK returned by the receiving entity, the sending entity is the delay for the PDU from the first sending of the PDU to the last retransmission of the PDU. Obviously, this period The time delay is long, which occupies the resources of the sending entity, and also has a certain impact on the work of the sending entity. The prior art does not solve this problem at present.
上述问题不仅是出现在WCDMA系统的ARQ机制中,也出现在时分同步码分多址(TD-SCDMA)系统和CDMA2000的ARQ机制中。对于WCDMA和TD-SCDMA系统来说,ARQ机制是在RLC协议的确认模式(AM)中;对于CDMA2000系统来说,ARQ机制则是在链路接入控制(LAC)协议的ARQ子层中。The above-mentioned problems not only appear in the ARQ mechanism of the WCDMA system, but also appear in the ARQ mechanisms of the Time Division Synchronous Code Division Multiple Access (TD-SCDMA) system and CDMA2000. For WCDMA and TD-SCDMA systems, the ARQ mechanism is in the Acknowledged Mode (AM) of the RLC protocol; for the CDMA2000 system, the ARQ mechanism is in the ARQ sublayer of the Link Access Control (LAC) protocol.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种控制状态报告发送频率的方法,以避免系统传送冗余的状态报告及数据单元。In view of this, the main purpose of the present invention is to provide a method for controlling the sending frequency of the status report, so as to avoid the system from sending redundant status reports and data units.
为达到以上目的,本发明的技术方案是这样实现的:一种报告数据单元状态的方法,适用于包括发送实体和接收实体的通信系统,且发送实体与接收实体之间采用自动重传机制进行通信,该方法包括以下步骤:In order to achieve the above purpose, the technical solution of the present invention is implemented as follows: a method for reporting the status of data units is applicable to a communication system including a sending entity and a receiving entity, and an automatic retransmission mechanism is used between the sending entity and the receiving entity. communication, the method includes the steps of:
a.为每个被检测出没有正确接收的协议数据单元PDU设定否定确认NACK发送条件;a. Set a negative acknowledgment NACK sending condition for each protocol data unit PDU that is detected to be incorrectly received;
b.接收实体每次向发送实体发送状态报告之前,针对本状态报告考察范围内的每个没有被本接收实体正确接收的PDU,判断当前是否符合为该PDU设定的NACK发送条件,如果不符合,则在状态报告中不包含该PDU的NACK;否则,允许在状态报告中包含该PDU的NACK;b. Before the receiving entity sends a status report to the sending entity each time, for each PDU within the scope of this status report that has not been correctly received by the receiving entity, determine whether it currently meets the NACK sending conditions set for the PDU, if not If it matches, the NACK of the PDU is not included in the status report; otherwise, the NACK of the PDU is allowed to be included in the status report;
c.接收实体将该状态报告发送给发送实体。c. The receiving entity sends the status report to the sending entity.
所述步骤a中,所述发送条件设定为:首先判断当前是否为针对PDU第一次发送NACK状态报告,如果是,则符合NACK发送条件;否则,进一步判断是否存在与该PDU对应、且处于正常工作状态的NACK定时装置,如果存在,则不符合NACK发送条件,否则,符合NACK发送条件。In the step a, the sending condition is set as follows: firstly, it is judged whether the NACK status report is sent for the first time for the PDU, if yes, the NACK sending condition is met; otherwise, it is further judged whether there is a corresponding PDU, and If the NACK timing device in normal working state exists, it does not meet the NACK sending condition, otherwise, it meets the NACK sending condition.
所述步骤c可以进一步包括:接收实体分别初始化状态报告中的每个NACK对应PDU的NACK发送条件。The step c may further include: the receiving entity respectively initializes the NACK sending condition of each PDU corresponding to the NACK in the status report.
步骤c中,所述初始化NACK发送条件为:如果当前存在与所述PDU对应的NACK定时装置,则直接启动该定时装置;否则,为该PDU设定一个NACK定时装置,并启动该定时装置。In step c, the initial NACK sending condition is: if there is a NACK timing device corresponding to the PDU, start the timing device directly; otherwise, set a NACK timing device for the PDU and start the timing device.
所述步骤a中,所述为每个被检测出没有正确接收的PDU设定的NACK发送条件为同一个NACK发送条件;In the step a, the NACK sending condition set for each detected PDU that is not correctly received is the same NACK sending condition;
步骤a中,所述NACK发送条件设定为:判断是否存在处于正常工作状态的NACK定时装置,如果存在,则不符合NACK发送条件;否则,符合NACK发送条件;In step a, the NACK sending condition is set as: judging whether there is a NACK timing device in a normal working state, if it exists, it does not meet the NACK sending condition; otherwise, it meets the NACK sending condition;
所述步骤c进一步包括:初始化NACK发送条件;The step c further includes: initializing the NACK sending condition;
所述初始化NACK发送条件为:如果当前存在所述NACK定时装置,则直接启动该定时装置;否则,设定一个NACK定时装置并启动。The initial NACK sending condition is: if the NACK timing device currently exists, start the timing device directly; otherwise, set a NACK timing device and start it.
所述NACK定时装置为NACK定时器;The NACK timing device is a NACK timer;
步骤a中,所述NACK定时装置处于正常工作状态为:NACK定时器已经启动且尚未超时。In step a, the normal working state of the NACK timer means: the NACK timer has been started and has not timed out.
所述NACK定时装置为计数器;The NACK timing device is a counter;
步骤a中,所述NACK定时装置处于正常工作状态为:计数器处于计数状态。In step a, when the NACK timing device is in a normal working state, the counter is in a counting state.
该方法可以进一步包括:设置计数器计数范围的上限和下限,设置计数器的初始值为计数范围的上限,且将计数器设置为:每隔一定的时间间隔,计数器将当前的计数值减一;The method may further include: setting the upper limit and the lower limit of the counting range of the counter, setting the initial value of the counter as the upper limit of the counting range, and setting the counter to: every certain time interval, the counter reduces the current counting value by one;
步骤a中,所述计数器处于计数状态为:计数器当前数值大于计数范围的下限;In step a, the counter is in the counting state: the current value of the counter is greater than the lower limit of the counting range;
步骤c中,所述初始化NACK发送条件进一步包括:将计数器的初始值设置为计数范围的上限。In step c, the initializing the NACK sending condition further includes: setting the initial value of the counter as the upper limit of the counting range.
所述每隔一定的时间间隔,计数器将当前的计数值减一为:每收到媒介接入控制MAC发送来的MAC状态指示原语MAC_Status_Ind一次,计数器将当前的计数值减一。The counter decrements the current count value by one at regular time intervals: the counter decrements the current count value by one each time the MAC status indication primitive MAC_Status_Ind sent by the MAC is received.
该方法还可以进一步包括:设置计数器计数范围的上限和下限,设置计数器的初始值为计数范围的下限,且将计数器设置为:每隔一定的时间间隔,计数器将当前的计数值加一;The method may further include: setting the upper limit and the lower limit of the counting range of the counter, setting the initial value of the counter to the lower limit of the counting range, and setting the counter to: every certain time interval, the counter adds one to the current counting value;
步骤a中,所述计数器处于计数状态为:计数器当前数值小于计数器计数范围的上限;In step a, the counter is in a counting state: the current value of the counter is less than the upper limit of the counting range of the counter;
步骤c中,所述初始化NACK发送条件进一步包括:将计数器的初始值设置为计数范围的下限。In step c, the initializing the NACK sending condition further includes: setting the initial value of the counter as the lower limit of the counting range.
所述每隔一定的时间间隔,计数器将当前的计数值加一为:每收到MAC发送来的MAC_Status_Ind一次,计数器将当前的计数值加一。The counter adding one to the current count value at regular time intervals is as follows: each time the MAC_Status_Ind sent by the MAC is received, the counter adds one to the current count value.
所述自动重传请求机制可以位于宽带码分多址WCDMA或时分同步码分多址TD-SCDMA系统中无线链路控制RLC协议的确认模式AM。The automatic repeat request mechanism can be located in the acknowledged mode AM of the radio link control RLC protocol in the wideband code division multiple access WCDMA or time division synchronous code division multiple access TD-SCDMA system.
所述自动重传请求机制还可以位于CDMA2000系统中链路接入控制LAC协议的自动重传请求ARQ子层。The automatic repeat request mechanism may also be located in the automatic repeat request ARQ sublayer of the Link Access Control (LAC) protocol in the CDMA2000 system.
本发明方案通过设置发送包含NACK的状态报告的条件,在不影响包含ACK的状态报告发送的前提下,限制了包含NACK的状态报告的发送,减少了冗余状态报告的发送,并进而减少了冗余的重传PDU,提高了通信链路的利用率。The solution of the present invention sets the conditions for sending status reports containing NACK, without affecting the sending of status reports containing ACK, limits the sending of status reports containing NACK, reduces the sending of redundant status reports, and further reduces the Redundant retransmission PDUs improve the utilization of communication links.
附图说明Description of drawings
图1为现有技术中RLC AM实体的功能模型示意图;Fig. 1 is the functional model schematic diagram of RLC AM entity in the prior art;
图2为现有技术中发送实体将PDU发送给接收实体的实现流程示意图;FIG. 2 is a schematic diagram of an implementation process in which a sending entity sends a PDU to a receiving entity in the prior art;
图3为本发明方案一种实施例的实现流程图。Fig. 3 is an implementation flowchart of an embodiment of the solution of the present invention.
具体实施方式Detailed ways
经分析得到,之所以会出现冗余数据传输的问题,主要有两方面的原因。一方面是因为通信系统中PDU和状态报告的传输都存在延时,发送实体在发送一个PDU之后,最少也需要一个环路时间(RTT)才能获得该接收实体是否正确接收到PDU的信息。由于延时的存在,因此会出现下述步骤中的情况:After analysis, there are two main reasons for the problem of redundant data transmission. On the one hand, because there is a delay in the transmission of PDUs and status reports in the communication system, after sending a PDU, the sending entity needs at least one round-trip time (RTT) to obtain information about whether the receiving entity has correctly received the PDU. Due to the existence of delay, the situation in the following steps will appear:
步骤A、发送实体第一次发送PDU,该PDU在传输过程中出现了错误,即没有发送到接收实体;Step A, the sending entity sends a PDU for the first time, and the PDU has an error during transmission, that is, it is not sent to the receiving entity;
步骤B、接收实体检测到该PDU丢失,向发送实体发送包含NACK的状态报告;Step B, the receiving entity detects that the PDU is lost, and sends a status report including NACK to the sending entity;
步骤C、发送实体收到针对该PDU的状态报告后,第二次将该PDU传输给接收实体,即重传该PDU;Step C. After receiving the status report for the PDU, the sending entity transmits the PDU to the receiving entity for the second time, that is, retransmits the PDU;
步骤D、由于存在延时,在收到发送实体重传的PDU之前,接收实体再次向发送方发送包含NACK的状态报告;Step D. Due to the delay, before receiving the PDU retransmitted by the sending entity, the receiving entity sends a status report containing NACK to the sender again;
步骤E、在再次发出状态报告后,接收实体收到了发送实体重传来的PDU,之后向发送实体发送包含ACK的状态报告;Step E. After sending the status report again, the receiving entity receives the PDU retransmitted by the sending entity, and then sends a status report including ACK to the sending entity;
步骤F、由于存在延时,在接收到接收实体发送的包含ACK的状态报告之前,发送实体首先收到接收实体在步骤D中发送的包含NACK的状态报告,因此第三次向接收实体传输该PDU。Step F, due to the delay, before receiving the status report including ACK sent by the receiving entity, the sending entity first receives the status report including NACK sent by the receiving entity in step D, so the third time transmits the status report to the receiving entity PDUs.
显然,上述过程造成了冗余数据的传输。Apparently, the above process results in the transmission of redundant data.
出现冗余数据传输的另一方面原因是:为适应不同的业务要求,RLC支持多种状态查询和状态报告的触发机制。状态查询机制允许接收实体根据不同的机制灵活地进行状态查询,状态报告的触发机制允许接收实体根据不同的机制灵活地配置状态报告,对于发送实体来说,只需要根据状态报告中的信息选择需要重传的PDU即可。但是,如果接收实体根据多种不同的机制发送针对同一PDU的状态报告,则可能会出现接收实体在较短的时间间隔内连续发送状态报告的情况,这就会导致状态报告到达发送实体的频率较高,从而可能会出现冗余的PDUs重传,进而浪费空口资源。Another reason for the occurrence of redundant data transmission is: in order to adapt to different service requirements, RLC supports multiple trigger mechanisms for status query and status report. The status query mechanism allows the receiving entity to flexibly perform status query according to different mechanisms. The trigger mechanism of the status report allows the receiving entity to flexibly configure the status report according to different mechanisms. For the sending entity, it only needs to select the required information according to the information in the status report Retransmitted PDUs are sufficient. However, if the receiving entity sends status reports for the same PDU according to several different mechanisms, it may happen that the receiving entity sends status reports consecutively within a short time interval, which results in the frequency of status reports arriving at the sending entity High, so redundant PDUs may be retransmitted, thereby wasting air interface resources.
目前协议中定义的定时器状态禁止定时器(Timer_Status_Prohibit)和查询禁止定时器(Timer_Poll_Prohibit),可以通过设置特定的时间段,将状态报告的发送频率限定在一定的范围内。以Timer_Status_Prohibit为例,该定时器只有在使用了状态报告禁止功能时才被启动,如果Timer_Status_Prohibit处于正常工作状态,则接收实体不能发送包含NACK或ACK的状态报告。当接收实体针对STATUS PDU的状态报告发送后启动该定时器,并且在该定时器超时前不能发送NACK或ACK的新状态报告。虽然可以通过设置特定的时间段将状态报告的发送频率限定在一定的范围内,或者说,虽然通过设置较大的Timer_Status_Prohibit和Timer_Poll_Prohibit可以控制状态报告的发送频率,并减少或消除冗余数据的传输,但是,这种方法存在缺陷。这是由于ARQ机制对于ACK和NACK的发送频度要求不同:ACK的频度越高,则发送实体就可以及时清除发送缓冲器中缓存的PDU,从而可以降低发送窗口的阻塞概率、提高链路的利用率、且减少对内存的需求;由于冗余数据单元传送的问题,发送NACK的频率不能太高。也就是说,现有的技术方案不能同时满足ACK和NACK的要求,且不能很好地杜绝冗余数据单元传送的问题。The timer status prohibition timer (Timer_Status_Prohibit) and query prohibition timer (Timer_Poll_Prohibit) defined in the current protocol can limit the sending frequency of the status report within a certain range by setting a specific time period. Taking Timer_Status_Prohibit as an example, the timer is started only when the status report prohibition function is used. If the Timer_Status_Prohibit is in the normal working state, the receiving entity cannot send a status report containing NACK or ACK. This timer is started when the receiving entity sends a status report for the STATUS PDU, and a new status report of NACK or ACK cannot be sent before the timer expires. Although the sending frequency of the status report can be limited to a certain range by setting a specific time period, or in other words, the sending frequency of the status report can be controlled by setting a larger Timer_Status_Prohibit and Timer_Poll_Prohibit, and the transmission of redundant data can be reduced or eliminated , however, this approach has flaws. This is because the ARQ mechanism has different requirements for the sending frequency of ACK and NACK: the higher the frequency of ACK, the sending entity can clear the PDUs buffered in the sending buffer in time, thereby reducing the blocking probability of the sending window and improving the link efficiency. The utilization rate and reduce the demand for memory; due to the problem of redundant data unit transmission, the frequency of sending NACK should not be too high. That is to say, the existing technical solutions cannot meet the requirements of ACK and NACK at the same time, and cannot well eliminate the problem of redundant data unit transmission.
为了尽量不影响包含ACK的状态报告的发送频率,又能够降低包含NACK的状态报告的发送频率,本发明方案主要是在现有技术的基础上,为每个被检测出没有正确接收的PDU设置一个NACK发送条件,这样,接收实体在发送状态报告之前,首先针对没有被接收实体正确接收的PDU,判断当前是否符合针对该PDU所设置的NACK发送条件,如果不符合,则在状态报告中不包含针对该PDU的NACK;否则,允许在该状态报告中包含针对该PDU的NACK,并为该PDU重新设置NACK发送条件。In order not to affect the sending frequency of the status report containing ACK as far as possible, and to reduce the sending frequency of the status report containing NACK, the solution of the present invention is mainly based on the prior art, setting A NACK sending condition. In this way, before sending the status report, the receiving entity first judges whether the PDU that is not correctly received by the receiving entity meets the NACK sending condition set for the PDU. If not, it will not be included in the status report Include the NACK for the PDU; otherwise, allow the NACK for the PDU to be included in the status report, and reset the NACK sending condition for the PDU.
本发明方案中,可以针对每个被检测出没有正确接收的PDU设置NACK发送条件,当然,针对不同PDU的NACK发送条件可能不同;也可以针对所有被检测出没有正确接收的PDU设置同一个NACK发送条件,也即,所有被检测出没有正确接收的PDU对应同一个NACK发送条件。In the solution of the present invention, the NACK sending condition can be set for each PDU that is detected not to be received correctly. Of course, the NACK sending conditions for different PDUs may be different; the same NACK can also be set for all PDUs that are detected not to be received correctly The sending condition, that is, all detected PDUs that are not received correctly correspond to the same NACK sending condition.
下面首先对每个被检测出没有正确接收的PDU设置NACK发送条件的情况进行详细说明。参见图3,本实施例以对PDU(n)进行设置为例,且所设置的定时装置为定时器,对应的解决方案包括以下步骤:In the following, firstly, a detailed description will be given to the situation where the NACK sending condition is set for each PDU that is detected not to be received correctly. Referring to Fig. 3, the present embodiment takes setting PDU(n) as an example, and the set timing device is a timer, and the corresponding solution includes the following steps:
步骤301、为每个被检测出没有正确接收的PDU设置NACK发送条件。
所设置的NACK发送条件为:如果当前是针对某个PDU第一次发送NACK状态报告,则可以在状态报告中设置针对该PDU的NACK;如果之前已针对该PDU发送过NACK状态报告,或者说,当前需要发送的NACK状态报告不是第一次,则还需要判断是否存在与该PDU对应、且处于正常工作状态的NACK定时装置,如果存在这样的定时装置,则不能在状态报告中设置针对该PDU的NACK;否则,可以在状态报告中设置针对该PDU的NACK。The set NACK sending condition is: if the NACK status report is sent for the first time for a certain PDU, the NACK for the PDU can be set in the status report; if the NACK status report has been sent for the PDU before, or , the current NACK status report that needs to be sent is not the first time, it is also necessary to determine whether there is a NACK timing device corresponding to the PDU and in a normal working state. If there is such a timing device, it cannot be set in the status report. NACK for the PDU; otherwise, a NACK for this PDU can be set in the status report.
在本实施例中,该定时装置即为定时器,定时装置处于工作状态即为定时器被启动且尚未超时。In this embodiment, the timing device is a timer, and when the timing device is in a working state, it means that the timer has been started and has not timed out.
步骤302~303、接收实体在需要发送状态报告时,首先判断是否需要针对PDU(n)发送NACK,如果是,则进入步骤304,否则,进入步骤307。Steps 302 - 303 , when the receiving entity needs to send a status report, it first judges whether it needs to send a NACK for PDU(n), if yes, go to step 304 , otherwise, go to step 307 .
步骤304、接收实体进一步判断该NACK是否为第一次发送,如果是,则确定符合NACK发送条件,并进入步骤306;否则,进入步骤305。
步骤305、接收实体判断当前是否存在与该PDU对应、且处于正常工作状态的NACK定时器,如果存在,则确定不符合NACK发送条件,并进入步骤307;否则,确定符合NACK发送条件,并进入步骤306。
步骤306、在状态报告中添加针对该PDU(n)的NACK,之后进入步骤307。
步骤307、接收实体处理下一个PDU。
在步骤307中,接收实体如果确定状态报告中还可以包含针对其他PDU的NACK,则继续处理下一个PDU,否则,接收实体将当前的状态报告发送给发送实体。In
通过以上步骤,即可实现本发明的目的。Through the above steps, the purpose of the present invention can be achieved.
另外,接收实体在处理完状态报告、并将该状态报告发送给发送实体时,还应重新初始化针对该PDU(n)以及该状态报告中的其他NACK所对应的PDU的定时器。当然,接收实体也可以在将这些NACK加入状态报告后,立即重新初始化对应的定时器。对于初始化定时器来说,如果当前存在与该PDU对应的NACK定时器,则直接启动该定时器即可;否则,为该PDU设定一个NACK定时器,并启动该定时器。In addition, when the receiving entity finishes processing the status report and sends the status report to the sending entity, it should also re-initialize the timer for the PDU(n) and the PDUs corresponding to other NACKs in the status report. Of course, the receiving entity can also re-initialize the corresponding timer immediately after adding these NACKs to the status report. For the initialization timer, if there is currently a NACK timer corresponding to the PDU, the timer can be started directly; otherwise, a NACK timer is set for the PDU and the timer is started.
也就是说,上述方案首先为检测到出现问题的PDU设定NACK发送条件,接收实体在向发送实体发送状态报告时,则首先针对被检测出没有正确接收的PDU,判断是否满足设定的NACK发送条件,如果满足,则允许在状态报告中增加针对该PDU的NACK;否则,在该状态报告中不包含针对该PDU的NACK。也就是说,如果接收实体已经针对某PDU启动了定时器,则在该定时器时间内,即使接收实体又触发了针对该PDU的NACK,也不能向发送实体发送该NACK。只有在没有与PDU对应的定时器,以及有与PDU对应的定时器、但该定时器没有启动或定时器超时的情况下,接收实体才能在状态报告中包含针对该PDU的NACK,并将该状态报告发送到发送实体。That is to say, the above scheme first sets the NACK sending condition for the PDU that has detected a problem. When the receiving entity sends a status report to the sending entity, it first judges whether the PDU that is detected to be received incorrectly satisfies the set NACK condition. If the sending condition is satisfied, the NACK for the PDU is allowed to be added in the status report; otherwise, the NACK for the PDU is not included in the status report. That is to say, if the receiving entity has started a timer for a certain PDU, within the timer time, even if the receiving entity triggers a NACK for the PDU again, it cannot send the NACK to the sending entity. Only when there is no timer corresponding to the PDU, and there is a timer corresponding to the PDU, but the timer is not started or the timer expires, the receiving entity can include the NACK for the PDU in the status report and send the A status report is sent to the sending entity.
当然,还可以将定时装置设置为计数器,并将该计数器设置为根据一定的时间间隔进行计数。由于MAC以固定的时间间隔向RLC发送用于通知RLC能够发送到MAC的数据速率,也即,在一定时间内RLC可以发送到MAC的PDU的数量,因此,可以将该计数器设置为根据MAC发送来的MAC状态指示原语(MAC_Status_Ind)进行计数。还要设置计数器计数范围的上限和下限,其中,将计数器的初始值设置为计数范围的上限。且计数器在启动后,每隔一定的时间间隔,即将自身的计数值减一。对于根据MAC_Status_Ind进行计数的情况来说,则为每收到MAC发送来的MAC_Status_Ind一次,则将自身的计数值减一。Of course, the timing device can also be set as a counter, and the counter can be set to count according to a certain time interval. Since the MAC sends to the RLC at a fixed time interval to inform the RLC of the data rate that the RLC can send to the MAC, that is, the number of PDUs that the RLC can send to the MAC within a certain period of time, the counter can be set to be sent according to the MAC Incoming MAC status indication primitives (MAC_Status_Ind) are counted. The upper and lower limits of the count range of the counter are also set, wherein the initial value of the counter is set as the upper limit of the count range. And after the counter is started, it will decrease its own count value by one every certain time interval. For the case of counting according to the MAC_Status_Ind, each time the MAC_Status_Ind sent by the MAC is received, the own count value is decremented by one.
通过这样的设置,接收实体在发送状态报告时,如果检测出存在与某个PDU对应的计数器,则还需要判断针对该PDU所对应的计数器是否为计数范围的下限,如果是,则在该状态报告中包含针对该PDU的NACK,否则,不在该状态报告中包含针对该PDU的NACK。Through such a setting, when the receiving entity sends a status report, if it detects that there is a counter corresponding to a certain PDU, it also needs to judge whether the counter corresponding to the PDU is the lower limit of the counting range, and if so, then in this state The NACK for the PDU is included in the report, otherwise, the NACK for the PDU is not included in the status report.
上述是将计数器计数范围的初始值设置为计数范围的上限,类似地,还可以将初始值设置为计数范围的下限,则计数器在启动后,每收到MAC发送来的MAC_Status_Ind一次,则将当前的计数值加一。这样,接收实体在发送状态报告时,如果检测出存在与某个PDU对应的计数器,则还需要判断针对某个被检测出没有正确接收的PDU所对应的计数器是否为设置的计数范围上限,如果是,则在状态报告中包含针对该PDU的NACK,否则,不在状态报告中包含针对该PDU的NACK。The above is to set the initial value of the counting range of the counter as the upper limit of the counting range. Similarly, the initial value can also be set as the lower limit of the counting range. After the counter starts, every time it receives the MAC_Status_Ind sent by the MAC, it will set the current The count value of is incremented by one. In this way, when the receiving entity sends a status report, if it detects that there is a counter corresponding to a certain PDU, it also needs to judge whether the counter corresponding to a certain PDU that is detected to be received incorrectly is the upper limit of the counting range set, if If yes, include the NACK for the PDU in the status report, otherwise, do not include the NACK for the PDU in the status report.
对于定时装置为计数器的情况来说,同样,重新初始化计数器可以是在将状态报告发送给发送实体时,也可以是在将NACK包含在状态报告时。另外,重新初始化计数器为重新设置计数器的初始值。对于初始化计数器来说,如果当前存在与该PDU对应的计数器,则直接启动该计数器即可;否则,为该PDU设定一个计数器,并启动该计数器。For the case where the timing means is a counter, similarly, the reinitialization of the counter may be when the status report is sent to the sending entity, or when a NACK is included in the status report. Also, reinitializing the counter resets the initial value of the counter. For the initialization counter, if there is a counter corresponding to the PDU, the counter can be started directly; otherwise, a counter is set for the PDU and the counter is started.
上述是针对每个被检测出没有正确接收的PDU设置NACK发送条件,对于针对所有被检测出没有正确接收的PDU设置NACK发送条件,也即本发明方案的第二种处理方式来说,与上述处理过程的主要区别在于以下几点:The above is to set the NACK sending condition for each PDU that is detected not to be received correctly, and to set the NACK sending condition for all PDUs that are detected not to be received correctly, that is, the second processing method of the present invention, which is the same as the above The main differences in processing are the following:
1)本处理过程是针对所有被检测出没有正确接收的PDU设置NACK发送条件。所设置的NACK发送条件为:判断是否存在处于正常工作状态的NACK定时装置,如果是,则不符合NACK发送条件;否则,符合NACK发送条件。1) This process is to set the NACK sending condition for all detected PDUs that are not received correctly. The set NACK sending condition is: judging whether there is a NACK timing device in a normal working state, if yes, the NACK sending condition is not met; otherwise, the NACK sending condition is met.
2)本处理过程在接收实体在确定需要针对PDU(n)发送NACK时,直接判断是否存在处于正常工作状态的NACK定时装置,如果是,则确定不符合NACK发送条件;否则,确定符合NACK发送条件。2) In this process, when the receiving entity determines that it is necessary to send a NACK for PDU(n), it directly judges whether there is a NACK timing device in a normal working state. If it is, it is determined that it does not meet the NACK sending condition; condition.
通过上述第二种方式,如果接收实体已经针对所有被检测出没有正确接收的PDU启动了定时装置,则在该定时装置时间内,即使接收实体又触发了针对其中某个PDU的NACK,也不能向发送实体发送针对该PDU的NACK。只有在没有设置NACK定时装置,以及存在对应的NACK定时装置、但该定时装置没有启动或定时器超时的情况下,接收实体才能在状态报告中包含针对该PDU的NACK,并将该状态报告发送到发送实体。当然,这种处理方式中的定时装置同样可以为定时器,也可以为计数器,还可以是其它能够实现定时的装置。Through the above-mentioned second method, if the receiving entity has started the timing device for all PDUs that have been detected not to be received correctly, within the timing device time, even if the receiving entity triggers a NACK for one of the PDUs, it cannot Send a NACK for the PDU to the sending entity. Only when the NACK timing device is not set, and there is a corresponding NACK timing device, but the timing device is not started or the timer expires, the receiving entity can include the NACK for the PDU in the status report and send the status report to the sending entity. Of course, the timing device in this processing method can also be a timer, a counter, or other devices capable of realizing timing.
以上所述仅为本发明方案的较佳实施例,并不用以限定本发明的保护范围。The above descriptions are only preferred embodiments of the solutions of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100643163A CN100359842C (en) | 2004-03-12 | 2004-08-20 | A method of controlling the sending frequency of status reports |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200410008822 | 2004-03-12 | ||
| CN200410008822.0 | 2004-03-12 | ||
| CNB2004100643163A CN100359842C (en) | 2004-03-12 | 2004-08-20 | A method of controlling the sending frequency of status reports |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1667993A true CN1667993A (en) | 2005-09-14 |
| CN100359842C CN100359842C (en) | 2008-01-02 |
Family
ID=35038892
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100643163A Expired - Fee Related CN100359842C (en) | 2004-03-12 | 2004-08-20 | A method of controlling the sending frequency of status reports |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100359842C (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009023986A1 (en) * | 2007-08-20 | 2009-02-26 | Alcatel Shanghai Bell Co., Ltd. | The method and the device for triggered repeat in the multicast system |
| CN101291199B (en) * | 2007-04-20 | 2011-03-09 | 大唐移动通信设备有限公司 | Method and apparatus for detecting correctness of feedback message in hybrid automatic retransmission request |
| CN101453311B (en) * | 2007-11-29 | 2011-12-28 | 中兴通讯股份有限公司 | Triggering method for automatic retransmission request status report |
| CN103138905A (en) * | 2011-11-24 | 2013-06-05 | 华为技术有限公司 | Acknowledgment method for RLC data packet transmission and RLC AM entity sender |
| WO2019024837A1 (en) * | 2017-08-02 | 2019-02-07 | 华为技术有限公司 | Counting method and communication device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5636230A (en) * | 1994-05-31 | 1997-06-03 | Motorola, Inc. | Method for eliminating a receiving data unit as a source of excessive resend requests |
| JP3087886B2 (en) * | 1995-10-24 | 2000-09-11 | 株式会社エヌ・ティ・ティ・ドコモ | Retransmission control method for CDMA mobile communication |
| EP1263160A1 (en) * | 2001-06-01 | 2002-12-04 | Telefonaktiebolaget Lm Ericsson | Method and transmitter for an efficient packet data transfer in a transmission protocol with repeat requests |
| CN1192647C (en) * | 2001-09-06 | 2005-03-09 | 华为技术有限公司 | Self-adapting method for mobile communication transmitting signals |
-
2004
- 2004-08-20 CN CNB2004100643163A patent/CN100359842C/en not_active Expired - Fee Related
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101291199B (en) * | 2007-04-20 | 2011-03-09 | 大唐移动通信设备有限公司 | Method and apparatus for detecting correctness of feedback message in hybrid automatic retransmission request |
| WO2009023986A1 (en) * | 2007-08-20 | 2009-02-26 | Alcatel Shanghai Bell Co., Ltd. | The method and the device for triggered repeat in the multicast system |
| US8667356B2 (en) | 2007-08-20 | 2014-03-04 | Alcatel Lucent | Method for triggering retransmission in a multicast system and apparatus implementing the method |
| CN101453311B (en) * | 2007-11-29 | 2011-12-28 | 中兴通讯股份有限公司 | Triggering method for automatic retransmission request status report |
| CN103138905A (en) * | 2011-11-24 | 2013-06-05 | 华为技术有限公司 | Acknowledgment method for RLC data packet transmission and RLC AM entity sender |
| CN103138905B (en) * | 2011-11-24 | 2016-08-03 | 华为技术有限公司 | Acknowledgment method for RLC data packet transmission and RLC AM entity sender |
| CN105897385A (en) * | 2011-11-24 | 2016-08-24 | 华为技术有限公司 | Method for acknowledging transmission of RLC (Radio Link Control) data packet and RLC AM (Acknowledge Mode) entity sender |
| WO2019024837A1 (en) * | 2017-08-02 | 2019-02-07 | 华为技术有限公司 | Counting method and communication device |
| US11258545B2 (en) | 2017-08-02 | 2022-02-22 | Huawei Technologies Co., Ltd. | Counting method and communications apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100359842C (en) | 2008-01-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1135774C (en) | Method and apparatus for discarding packets in a data network having automatic repeat request | |
| CN1290286C (en) | Automatic repeat request protocol | |
| CN101485134B (en) | Media Access Control Discard Notification | |
| CN101068137A (en) | Apparatus and method for operating automatic repeat request in a broadband wireless access communication system | |
| CN100393022C (en) | Improved data transfer in a hybrid automatic retransmission mechanism in a CDMA communication system | |
| CN1714527A (en) | Use of idle frames for the control of negative frame acknowledgement | |
| CN1768498A (en) | Avoiding stall conditions and sequence number ambiguity in an automatic repeat request protocol | |
| CN1918825A (en) | Transmitting and receiving control protocol data unit having processing time information | |
| CN1788448A (en) | Method and system for retransmission | |
| CN101047484B (en) | A transport layer retransmission method and system | |
| CN1976321A (en) | Apparatus, and associated method, for facilitating retransmission of data packets in a packet radio communication system that utilizes a feedback acknowledgment scheme | |
| CN1682501A (en) | Efficient recovery system for node B buffered data after MAC layer reset | |
| CN101043455A (en) | Packet transmission apparatus | |
| CN1411227A (en) | Method and device for promoting quick sliding of radio link control layer data transmission window | |
| CN101076962A (en) | Data unit sender control method | |
| CN1910862A (en) | Method for retransmitting data frames and network equipment using the method | |
| CN101047481A (en) | Automatic retransmission requiring distribution feedback method in radio communication system | |
| CN1691590A (en) | Method for sending window size adjustment information by receiving end in wireless link data transmission | |
| CN1798085A (en) | Method for adjusting size of transmission buffer in control sub layer of wireless link | |
| CN101009536B (en) | Status report method of automatic retransfer request | |
| CN1889414A (en) | Method for transmitting status PDU based on missing PDU detection mechanism | |
| CN1551553A (en) | Receiving device, transmitting device, and programs | |
| CN1667991A (en) | A data unit retransmission method | |
| CN1667993A (en) | A method for controlling transmit frequency of status report | |
| CN1494781A (en) | Method and device for frame delimitation in ARQ system |
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: 20080102 Termination date: 20150820 |
|
| EXPY | Termination of patent right or utility model |