The report method that mixes automatic repeat requests entity and data block thereof
Technical field
The present invention relates to moving communicating field, particularly mixed self-adapting repeat requests (HybridAutomatic Repeat Request is called for short " HARQ ") technology.
Background technology
Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access is called for short " WCDMA ") is one of global at present three kinds of main 3G (Third Generation) Moblies (The Third Generation is called for short " 3G ") system.The WCDMA system is made up of three parts, be core net (Core Net, abbreviation " CN "), universal mobile telecommunications system grounding wireless access network (UMTS Terrestrial RadioAccess Network, be called for short " UTRAN ") and subscriber equipment (User Equipment is called for short " UE ") composition.
WCDMA protocol version the earliest is Release 99 (R99), and in this version, the carrying of uplink and downlink business all is based on dedicated channel, the equal 384Kbps of the maximum data transfer rate that can reach.Along with the user to the increasing of transfer of data rate requirement, the procotol of having released Release 4 (R4), Release 5 (R5), Release 6 (R6) three phases is subsequently successively organized in the WCDMA standard formulation.
In order to realize calling out control and separating that carrying is controlled, the WCDMA standard formulation is organized among the R4 mobile services switching centre (Mobile services Switching Center, abbreviation " MSC ") is divided into MSC server (G MSC Server) and media gateway (Media Gateway, be called for short " MGW "), wherein (G) MSC Server finishes and calls out control, mobile management function, and MGW finishes carrying control and transfer function.Introduced IM CN subsystem (IP Multimedia Subsystem at Release 5 subsequently, be called for short " IMS "), and on wireless access technology, introduced high speed downlink packet access (High Speed Downlink Packet Access, be called for short " HSDPA ") and make downlink transfer speed can reach 14.4Mbps.Then, in Release 6, introduce high speed uplink packet access (High Speed Uplink Packet Access is called for short " HSUPA ") technology, made uplink speed can reach 5.76Mbps.
In the prior art, the transmission of the grouping busihess data of upstream or downstream all relates to the 3-tier architecture of Radio interface protocols, as shown in Figure 1, layer 3 is radio resource control layer (Radio ResourceController, be called for short " RRC "), layer 2 is data link layers, layer 1 is a physical layer.Wherein, layer 2 is further divided into four sublayers again, be respectively packet data convergence protocol (Packet Data ConvergenceProtocol, be called for short " PDCP ") layer, broadcast/group broadcast control (Broadcast/Multicast Control is called for short " BMC ") layer, Radio Link control (Radio Link Controller, be called for short " RLC ") layer and media interviews control (Medium Access Control is called for short " MAC ") layer.When transmitting terminal has data to transmit, with on it/descending grouping busihess data is sent to the PDCP/BMC layer by the high level of transmitting terminal, reach rlc layer by the PDCP/BMC layer again, reach the MAC layer afterwards again, arrive the physical layer of transmitting terminal at last, by the physical channel data are sent to the physical layer of receiving terminal by physical layer, upload inversely at receiving terminal again, the data that are about to receive pass to its MAC layer by physical layer, pass to rlc layer by the MAC layer again, reach receiving terminal PDCP/BMC layer at last, and by its high-rise transmission of PDCP/BMC course.In the data transfer from the high level to the low layer, whenever all can be coupled with the data head of this layer through a layer data, arrived the opposite end peer layer, data head is removed, and data content is passed to high level.Such as, in data transmission procedure, the RLC Service Data Unit that rlc layer sends last layer (Service Data Unit, be called for short " SDU ") cut apart/cascade, produce equal-sized data block, and add header, generate equal-sized rlc protocol data cell (Protocol Data Unit is called for short " PDU ") and be sent to the MAC layer; And add header in the same way at the MAC layer, generate MACPDU and pass to physical layer; By physical layer it is cut apart/cascade forms sizeable physical frame and sends to receiving terminal.
And at receiving terminal, each layer execution cut apart/inverse process of cascade, at first give the MAC layer with the transfer of data that receives by physical layer, HARQ entity by the MAC layer receives the data block from physical layer, if the HARQ entity has correctly received data block, then return acknowledge message (ACK), and according to the transmission sequence number of data block MAC PDU is carried out HARQ and reset, the correct data block that receives is continuously delivered to rlc layer; If the incorrect data block that receives of MAC layer, such as loss of data or decoding error take place, then the HARQ entity returns not acknowledge message (NACK), the HARQ entity of request opposite end retransmits respective data blocks, and when correctly receiving other data blocks after this data block of sequence number, start timer, sequence number other data blocks after this data block are put into the rearrangement buffer memory to be waited for, after timer expiry or data block that should original disappearance were by correct the reception, the HARQ entity was just this data block and reset that the correct continuously data block that receives sends rlc layer in the buffer memory.Equally, the automatic re-send request may of rlc layer (Automatic Repeat Request, abbreviation " ARQ ") entity is reset RLC PDU according to the sequence number of data block head, if the HARQ entity is when timer expiry, skip the data block of losing, other data blocks that directly will reset in the buffer memory are sent to rlc layer, then rlc layer the data block that receives is carried out cutting apart/after the inverse process of cascade obtains RLC PDU, can judge the RLC PDU that loses according to its discontinuous sequence number, and then request ARQ retransmits.Because again can be out of order through RLC PDU after the ARQ re-transmission, so rlc layer also will carry out minor sort again to RLC PDU.After all data blocks of forming a RLC SDU all received correctly, to the high level transmission, finished by this transmission with this RLC SDU for rlc layer.
In actual applications, there is following problem in such scheme: still have unnecessary time delay in the existing data transmission method.
Cause the main cause of this situation to be, because when the MAC layer of receiving terminal carries out the HARQ rearrangement to the data block that receives in the prior art, if discovery sequence number data block is not the preceding correctly received, then sequence number is put in subsequent data block and reset the buffer memory wait and start timer, up to data block that correctly receives original disappearance or timer expiry, just the data block that will reset in the buffer memory is sent to rlc layer, therefore, when the false dismissal situation when HARQ retransmits, occurring, promptly do not receive the NACK message of receiving terminal at transmitting terminal, or the NACK message of a receiving erroneous judgement is ACK, no longer retransmit under the situation of this data block, receiving terminal will continue to wait for, up to timer expiry, just the data block that will reset in the buffer memory is sent to rlc layer, brings unnecessary wait time delay to transfer of data.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of report method that mixes automatic repeat requests entity and data block thereof, makes HARQ when abnormal conditions take place, and reduces the rearrangement time delay of data block, thus the re-transmission of rapid triggering ARQ.
For achieving the above object, the invention provides a kind of report method that mixes data block in the automatic repeat requests entity, comprise following steps:
The automatic repeat requests entity of the mixing of receiving terminal is put the correct data block that receives of each process to resetting in the buffer memory and is sorted, and the data block that will correctly receive continuously reports to the upper strata, if this rearrangement buffer memory received in advance sequence number after first data block, then start timer;
Before described timer expiry, if each data block of the original disappearance of sequence number before described first data block has been identified respectively and has lost or correctly received, then the data block that correctly receives continuously in the described rearrangement buffer memory is reported to the upper strata except that these obliterated data pieces.
Wherein, described receiving terminal judges according to the data block reception condition in the described process whether the data block of described original disappearance loses.
In this external described method, also comprise following steps:
When described receiving terminal does not correctly receive data block in the described process, represent the signaling of failing to the corresponding progress feedback of the automatic repeat requests entity of the mixing of transmitting terminal, if what described receiving terminal received in this process subsequently is new data block, and when the described correct data block that receives did not reach maximum retransmission, then described receiving terminal judged that this correct data block that receives loses.
In this external described method, also comprise following steps:
When described receiving terminal does not correctly receive data block in the described process, represent the signaling of failing to the corresponding progress feedback of the automatic repeat requests entity of the mixing of transmitting terminal;
If described receiving terminal received re-transmitting data block in this process has reached maximum retransmission, but the data block that should retransmit is still during decoding error, and described receiving terminal judges that this data block loses.
In this external described method, also comprise following steps:
When described timer expiry, described receiving terminal will be reset the interior sequence number of buffer memory and report to the upper strata in the data block that the data block, first data block and the sequence number that correctly receive before described first data block correctly receive continuously after described first data block.
In this external described method, each data block of described original disappearance has been identified respectively loses or is correctly received, and comprises following three kinds of situations:
The data block of described original disappearance all is identified loses;
The data block of described original disappearance is all correctly received; Perhaps
A part is correctly received in the data block of described original disappearance, and all the other are identified loses.
The present invention also provides a kind of mixing automatic repeat requests entity, comprises to reset cache module, at least one hybrid automatic repeat request process and timer, also comprises:
Confirm module, be used to confirm whether the incorrect data block that receives loses;
Described hybrid automatic repeat request process is sent into its correct data block that receives in the described rearrangement cache module, the data block that will correctly be received continuously by this rearrangement cache module reports to the upper strata, and receive in advance sequence number after first data block time, start timer, if before described timer expiry, described affirmation module confirms that the correct data block that receives before described first data block loses, then indicate described rearrangement cache module will be except that the obliterated data piece correctly the data block of reception report to the upper strata continuously.
Wherein, described hybrid automatic repeat request process also is used for, and after not reaching maximum retransmission and asking the opposite end to retransmit, if what receive is new data block, then notifies described affirmation module data block to be retransmitted to lose.
In addition, described hybrid automatic repeat request process also is used for, and when reaching maximum retransmission and current data block transmitted decoding error, notifies described this data block of affirmation module to lose.
By relatively finding, the main distinction of technical scheme of the present invention and prior art is, at the rearrangement buffer memory of HARQ receiving terminal since receive in advance sequence number after first data block, thereby behind the startup timer, if each the missing data piece before this timer expiry before this first data block has been identified respectively and has lost or receive correctly that (comprise three kinds of situations: missing data is all lost, all correct the reception, or a part is correct receives all the other and lose), then will resetting in the buffer memory except that the obliterated data piece continuously correctly, the data block of reception reports to the upper strata.By when confirming that the incorrect data block that receives has been lost, to reset the data block that except that the obliterated data piece, correctly receives continuously in the buffer memory immediately and report to the upper strata, and it is overtime to need not waiting timer, (for example HARQ transmitting terminal mistake is used as NACK as ACK because abnormal conditions take place to have reduced the HARQ entity, thereby the data block that deletion should retransmit) the rearrangement time delay that causes, make ARQ retransmit the energy rapid triggering, improved data transmission efficiency.Simultaneously, submit the data block that correctly receives of resetting in the buffer memory fast, alleviated the buffer memory burden of data block in the base station by the HARQ receiving terminal.
The invention allows for the scheme whether the decision data piece of two kinds of practicalities has been lost: what a kind of HARQ of being receiving terminal fed back in certain process is failed signaling, but what this process received subsequently is new data block, and the data block to be retransmitted of expection does not reach maximum retransmission, judges that then this data block loses; Another kind is the number of retransmissions of recording data blocks in each process, and when the data block that retransmits has reached maximum retransmission, but the data block that should retransmit is still during decoding error, judges that this data block loses.
Description of drawings
Fig. 1 is a Radio interface protocols schematic diagram in the prior art;
Fig. 2 is the method flow diagram that receives data block according to HARQ process in the HARQ entity of first embodiment of the invention;
Fig. 3 is according to the method flow diagram of resetting buffer memory reported data piece in the HARQ entity of first embodiment of the invention;
Fig. 4 is the structure chart according to second embodiment of the invention HARQ entity.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Core of the present invention is, the HARQ entity of receiving terminal is by the data block of each HARQ process reception from transmitting terminal, and the data block that will correctly receive is put to resetting buffer memory and is sorted, reset the data block that will correctly receive continuously after buffer memory will sort and be uploaded to the upper strata, when reset buffer memory receive in advance sequence number after first data block time, start timer.Lose or when correctly being received when each data block of original disappearance of sequence number before first data block all has been identified, resetting buffer memory, to need not waiting timer overtime, immediately will be except that the data block of losing, and correctly the data block of reception reports to the upper strata continuously.
Describe according to the report method of inventive principle below data block in the first embodiment of the invention HARQ entity.
As shown in Figure 2, when the HARQ process of the HARQ of receiving terminal entity receives data block from transmitting terminal, enter step 201, judge whether this process has correctly received last data block, that is to say, judge whether this process last time is the affirmation message that correctly receives data block to the message of the HARQ of transmitting terminal entity feedback.
Specifically, because the HARQ process is being decoded to the data block that receives when correct, represent correctly to receive the affirmation message of data block to the corresponding progress feedback of the HARQ of transmitting terminal entity, the corresponding process of the HARQ entity of transmitting terminal sends new data block according to this acknowledge message; Otherwise, the HARQ process is to the data block decoding error that receives the time, failed message from data block to the corresponding progress feedback of the HARQ of transmitting terminal entity that represent correctly not receive, after the corresponding process of the HARQ entity of transmitting terminal is received this failed message, if current weight time number of times does not also reach maximum retransmission, then retransmit this data block, otherwise transmit next data block.Therefore, in this step, the HARQ process is by judging whether the last feedback information that sends is acknowledge message, can learn that under normal circumstances the current data block that receives of this HARQ process should be re-transmitting data block or new data block.
If the last transmission of this HARQ process is acknowledge message, then current what receive should be new data block to this HARQ process, directly enter step 205, otherwise, if the last transmission of this HARQ process is failed message, promptly this HARQ process does not correctly receive last data block, then enters step 202.
Because the HARQ process does not correctly receive last data block, in step 202, this HARQ process judges whether the current data block that receives is the data block that retransmits, if, then enter step 206, otherwise,, then enter step 203 if the current data block of receiving is the new data block from transmitting terminal.
Because the HARQ process sends failed message to receiving terminal before, request opposite end re-transmitting data block, but receive new data block, therefore in step 203, this HARQ process judges whether this incorrect data block that receives has reached maximum retransmission, if then directly enter step 205, otherwise, show that then abnormal conditions have taken place transmitting terminal, for example thereby transmitting terminal may have been judged the data block that the feedback message deletion need retransmit by accident, enter step 204 this moment, and this HARQ process judges that this correct data block that receives loses, and notice is reset this dropout of data block of buffer memory immediately.
Once data block on the HARQ process has correctly received, though or correct receive but this correct data block that receives has reached maximum retransmission, or when judging this correct dropout of data block that receives, enter step 205, the HARQ process is decoded to the new data block that receives, if decoding is correct, this has correctly received this new data block then to represent this process, this HARQ process will be somebody's turn to do the correct data block that receives immediately and be put to resetting buffer memory, and correctly receive the affirmation message of data block to the corresponding progress feedback of transmitting terminal HARQ entity, if decoding error then to transmitting terminal HARQ entity feeding back unsuccessful message, asks it to retransmit this data block.
In step 206, the HARQ process is decoded to re-transmitting data block, judges whether its decoding is correct, and the number of retransmissions of this data block is added one.If this re-transmitting data block decoding is correct, represent that then this process has correctly received this re-transmitting data block, enter step 207, the data block that the HARQ process will correctly receive is put to resetting buffer memory; Otherwise if decoding error then enters step 208, this HARQ process does not correctly receive the failed message of this re-transmitting data block to the corresponding progress feedback of transmitting terminal HARQ entity, then enters step 209.
In step 209, this HARQ process judges further whether the number of retransmissions of this data block has reached maximum retransmission, the failure but also reached maximum retransmission if this re-transmitting data block had not only been decoded, then judge this dropout of data block, enter step 210, this HARQ process notice is reset this dropout of data block of buffer memory; Otherwise, process ends then.
Comprise a plurality of processes owing in the HARQ entity of receiving terminal, therefore need unify to sort and the data block that correctly receives is continuously reported to the upper strata by the data block that the rearrangement buffer memory receives each process.
As shown in Figure 3, in step 310, the rearrangement buffer memory of the HARQ entity of receiving terminal judges whether the sequence number of the data block that receives is continuous, if it is discontinuous, promptly received in advance sequence number after data block (for convenience, hereinafter the data block that this is received in advance is called first data block), then enter step 330, otherwise enter step 320, the correct continuously data block that receives that the HARQ entity of receiving terminal will be reset in the buffer memory reports to the upper strata.Such as, the HARQ entity has 5 HARQ processes, if current rearrangement buffer memory has been received the data block that 5 sequence numbers link to each other from these five processes, then enter step 320, reset buffer memory and five data blocks are sorted, and the correct continuously data block (as the 1-5 data block) that receives after will sorting reports to the upper strata according to its sequence number; Otherwise, if what current rearrangement buffer memory was received is that sequence number is five data blocks of 1,2,3,5,6, promptly when not receiving that sequence number is 4 data block, receive that in advance sequence number is 5 data block, then only be that 1,2,3 data block reports to the upper strata with sequence number, sequence number is that 5 data block is retained in and resets in the buffer memory, and enters step 330.
Since reset buffer memory received in advance sequence number after first data block, therefore in step 330, resetting buffer memory is that the missing data piece of sequence number before this first data block starts a timer, and sequence number other data-block cache after this missing data piece are got up.It is pointed out that this missing data piece can be one or more data blocks, for the purpose of simplifying the description, only lifted the situation of a data block disappearance here, similar for the situation processing method of a plurality of data block disappearances.At above-mentioned case, when resetting buffer memory and received that in advance sequence number is 5 data block, resetting buffer memory is that No. 4 data blocks start a timer, and with sequence number 4 after No. 5 and No. 6 data-block cache in the rearrangement buffer memory.
Then enter step 340, reset buffer memory and judge whether each data block of the original disappearance of sequence number before 5 has been identified respectively and lose or correctly received.If then enter step 370, otherwise then enter step 350.
In step 350, owing to there be not only correct the reception but also data block of losing unconfirmed, reset buffer memory and judge further whether timer is overtime, if it is overtime then enter step 360, reset buffer memory with current cache except that the disappearance data block, other continuously correctly data blocks of reception report to the upper strata; Otherwise then return step 340, reset buffer memory and continue to judge whether each data block of the original disappearance of sequence number before 5 has been identified respectively loses or correctly received.
At above-mentioned case, both correctly do not received No. 4 data block if reset buffer memory, fail again to confirm that No. 4 data blocks lose, then in step 350, reset buffer memory and judge whether timer is overtime, if overtime, then enter step 360, reset that buffer memory will be except that No. 4 data blocks No. 5 and No. 6 data blocks are uploaded to the upper strata; Otherwise, if not overtime, then return step 340, continue to judge whether No. 4 data blocks are correctly received or can not confirm that No. 4 data blocks lose.
Lost because each data block of original disappearance can both correctly receive or be identified, therefore enter step 370, the rearrangement buffer memory reports to the upper strata with the data block that correctly receives continuously of its buffer memory except that the obliterated data piece.
Specifically, if the data block of original disappearance all is identified and loses in the rearrangement buffer memory, or the data block of original disappearance is all correctly received, or a part is correctly received in the data block of original disappearance, all the other are identified loses, and then resets buffer memory the data block that correctly receives continuously except that the obliterated data piece of buffer memory is reported to the upper strata.At above-mentioned case, correctly received data block No. 4 if reset in the buffer memory, so, reset buffer memory No. 4 data blocks and original buffer memory No. 5 are reported to the upper strata with No. 6 data blocks; Lose if the rearrangement buffer memory can be confirmed No. 4 data blocks, then report to the upper strata with No. 6 these two continuous data block No. 5.
By when confirming that the incorrect data block that receives has been lost, to reset the data block that except that the obliterated data piece, correctly receives continuously in the buffer memory immediately and report to the upper strata, and it is overtime to need not waiting timer, reduced the HARQ entity owing to the rearrangement time delay that abnormal conditions cause takes place, make ARQ retransmit the energy rapid triggering, improved data transmission efficiency.And, submit the data block that correctly receives of resetting in the buffer memory fast by the HARQ receiving terminal, alleviated the buffer memory burden of data block in the base station.
According to the HARQ entity of second embodiment of the invention as shown in Figure 4, comprise the rearrangement cache module, a plurality of HARQ processes, timer, and be used to the affirmation module of confirming whether the correct data block that receives has lost.
Specifically, each HARQ process is sent into it in rearrangement cache module after the data block that correctly receives from transmitting terminal, and when correctly not receiving data block, requires transmitting terminal to retransmit this correct data block that receives.If after not reaching maximum retransmission and asking the opposite end to retransmit, this HARQ process has been received new data block, the data block that then Notification Validation module is to be retransmitted is lost; If when reaching maximum retransmission, the data block of current re-transmission is decoding error still, and then the data block of the same Notification Validation module re-transmission of this HARQ process is lost.The rearrangement cache module of HARQ entity reports to the upper strata with the data block that correctly receives continuously after the data block that receives from each process.If certain data block disappearance, promptly reset cache module receive in advance sequence number after first data block, then start timer, if before this timer expiry, confirm that module confirms that the correct data block that receives before first data block loses, then indication reset cache module will be except that the obliterated data piece correctly the data block of reception report to the upper strata continuously.
Though pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.