The data transmission method of wireless chain control layer and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of data transmission method and system of wireless chain control layer.
Background technology
Wideband Code Division Multiple Access (WCDMA) (WCDMA, Wideband Code Division Multiplc Access) and Time Division-Synchronous Code Division Multiple Access (TD-SCDMA, Time-Division Synchronization CodeDivision-Multiple-Access) be the main flow international standard of current 3-G (Generation Three mobile communication system).Present international standard has been stipulated third generation collaborative project (3GPP, 3
RdGeneration partnership projcct) method of Radio Link control (RLC, Radio Link Control) layer realization transfer of data in the upper-layer protocol.Rlc layer is always received earlier from more high-rise Service Data Unit (SDU, Service Data Unit), then the SDU that receives is carried out segmentation, each section is called a protocol Data Unit (PDU, ProtocolData Unit), each PDU has a sequence number, as shown in Figure 1.
Regulation according to standard, when the transmitting terminal of rlc layer when receiving terminal has sent a PDU, can whether trigger Polling (poll) process according to conditional decision, that is to say decision whether the Polling bit will be set when sending this PDU, if and receiving terminal is received this Polling bit, will reply confirmation to transmitting terminal, to show whether receiving terminal correctly receives this PDU and this PDU PDU before that transmitting terminal sends, the process of this status report is called the process of passive initiation status report, as shown in Figure 2.Another kind of situation, if transmitting terminal never is provided with the Polling bit when sending PDU, receiving terminal still can initiatively be sent out the mountain status report by being provided with of periodic status report timer so, thereby the PDU that transmitting terminal sends is confirmed this process as shown in Figure 3.The cycle of general this status report is longer relatively.
Like this, transmitting terminal has been received after the status report from receiving terminal, can learn whether each PDU that has sent is correctly received according to the indication of status report.If all PDU of whole SDU have obtained affirmation, RLC will notify more high-risely so, more high-risely just this SDU can be discharged.
In the prior art, exist a Polling to forbid (Polling Prohibit) timer, network side can be provided with this timer according to the wireless resource allocation situation.Forbid at Polling under the situation of timer operation, the Polling bit of the PDU that each will send does not allow to be provided with, in this case, also just mean that receiving terminal can not confirm at each PDU that receives, just can passive mountain status report.
As shown in Figure 4, whether last that handle one section PDU for existing method can be provided with the process of Polling bit, specific as follows:
The information field of step 401, formation RLC PDU;
Step 402, judge whether to reach the trigger condition of putting the polling bit, if reach, then continue step 403, otherwise go to step 405;
Step 403, judge whether polling is under an embargo,, then go to step 405, otherwise continue step 404 if be under an embargo;
Step 404, the polling bit of RLC PDU is set;
Step 405, startup polling timer;
Step 405, transmission RLC PDU are to the opposite end.
As from the foregoing, existing method has been stipulated " putting the trigger condition of polling bit ", but whether the polling bit can be provided with and will depend on still that finally Polling forbids that timer is whether in operation (if showing that in operation the Polling condition is under an embargo).If belong among one section PDU of a SDU last PDU since the Polling condition be under an embargo and the Polling bit can not be set, so in case the situation that this last PDU loses occurs in communication process, whether receiving terminal can't be judged according to sequence number has PDU to lose, even so receiving terminal status report notice transmitting terminal, can not point out whether to receive this PDU yet, and transmitting terminal is not owing to be provided with the Polling bit, therefore the Polling timer can be do not started yet, so just this PDU may be do not retransmitted.
Obviously, transmitting terminal can not retransmit PDU, and receiving terminal does not know whether to have on earth this PDU yet, so rlc layer will be in deadlock state, only in more high-rise timer expiry, will cause whole SDU all to be retransmitted.In addition, the deadlock of rlc layer can bring very big drawback, particularly in the length of SDU during much larger than PDU length, long transmission delay and the some other consequence that can not expect will be caused, even cause whole file transfer failure, thereby greatly reduce the service efficiency and the actual message transmission rate of channel.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of data transmission method and system of wireless chain control layer, can improve retransmission efficiency effectively, improves the average transmission rate of information.
The technical scheme that realizes the object of the invention is as follows:
A kind of data transmission method of wireless chain control layer, wherein:
Send protocol Data Unit;
Judge whether polling procedure is under an embargo and whether this protocol Data Unit is in the protocol Data Unit section last,, then start timer if satisfy simultaneously;
Receiving status information also carries out respective handling.
Preferably, also be included in and do not receive state information in the timing cycle, then resend this protocol Data Unit.
Preferably, described state information is a confirmation signal; Acknowledge receipt of information to more high-rise transmission.
Preferably, described state information is a nack signal; Resend this protocol Data Unit.
In addition, the present invention also provides a kind of data transmission system of wireless chain control layer, comprising:
Sender is used to send protocol Data Unit;
The control judging unit is used for judging whether polling procedure is under an embargo and whether this protocol Data Unit is last of protocol Data Unit section, at the same time under the situation of Man Zuing, and the startup timer;
Receiver is used for receiving status information, and goes to other unit and carry out respective handling.
Preferably, in the timing cycle that described timer is provided with, receiver is not received state information, and then sender resends this protocol Data Unit.
Preferably, described state information is a confirmation signal.
Preferably, described sender acknowledges receipt of information to more high-rise transmission.
Preferably, described state information is a nack signal.
Preferably, described sender resends this protocol Data Unit.
Compared with prior art, the present invention has following beneficial effect:
The present invention is with respect to prior art, under the situation that last PDU that meets one section PDU loses in transmission course, by being increased in the retransmission mechanism of rlc layer, reduced number of times in more high-rise re-transmission, reduced the data volume that whole system retransmits effectively, thereby increase the radio band utilance, improve the average transmission rate of information.
Adopt method described in the invention, can be so that the portable terminal in the 3G (Third Generation) Moblie (3G) be run into channel quality when not good, by judging whether polling procedure is under an embargo and whether target is in the PDU section last, and the startup timer, in timing cycle, confirm whether to receive the status report situation of opposite end transmission, and whether decision takes the re-transmission measure, thereby improves retransmission efficiency effectively.Especially when more high-rise SDU length during, and not that fine (bit error rate is much larger than 10 at channel quality much larger than PDU
-6) situation under, effect is especially remarkable.
From complexity, the present invention does not change the overall structure of original control procedure, has just increased a timer and relevant control method, has just reached purpose of the present invention, and therefore, cost performance of the present invention is also higher.
Know that below in conjunction with accompanying drawing embodiment is further described the present invention.
Description of drawings
Fig. 1 is that prior art SDU is segmented into the PDU schematic diagram;
Fig. 2 is the passive initiation status report of a prior art procedure chart;
Fig. 3 is that prior art is initiatively initiated the status report procedure chart;
Fig. 4 is the art methods flow chart;
Fig. 5 is the inventive method flow chart;
Fig. 6 is a hardware system block diagram of the present invention.
Embodiment
Scheme provided by the invention, can make portable terminal in the 3G (Third Generation) Moblie (3G) run into channel quality when not good, when last PDU of one section PDU loses, can't receive under the situation that the opposite end is confirmed, be bound to this PDU is used retransmission mechanism, thereby improve retransmission efficiency effectively, increase the radio band utilance, improve the average transmission rate of information.
For this reason, the present invention has introduced a timer on the basis of existing scheme, is called tolerance timer T.When sending last PDU of one section PDU, do further judgement, under situation about satisfying condition, start this timer, its detailed process may further comprise the steps as shown in Figure 5:
The information field of step 501, formation RLC PDU;
Step 502, judge whether to reach the trigger condition of putting the polling bit, if reach, then continue step 503, otherwise go to step 505;
Step 503, judge whether polling is under an embargo,, then go to step 505, otherwise continue step 504 if be under an embargo;
Step 504, the polling bit of RLC PDU is set;
Step 505, startup polling timer;
Step 505, transmission RLC PDU finish then to the opposite end.
Step 507, judge that whether the PDU that will send is last among this section PDU, if then continue step 508, otherwise go to step 505;
Step 508, transmission RLC PDU are to the opposite end;
Step 509, startup tolerance timer T;
Step 510, judge whether timer T is overtime,, then go to step 513, otherwise continue step 511 if overtime;
Step 511, judge whether to receive that the opposite end sends the status report of target P DU, if then continue step 512, otherwise go to step 510;
Step 512, judge whether target P DU is correctly received, if then go to step 514, otherwise continue step 513;
Step 513, target P DU are placed into retransmission queue, finish then.
Step 514, deexcitation timer T, and the more high-rise SDU of notice is received end then.
Need to prove that described status report is confirmation signal or nack signal.
In addition, the present invention also provides a kind of data transmission system of wireless chain control layer, and it is to increase some assemblies on the basis of existing system, thereby realizes aforementioned flow process shown in Figure 5.
As shown in Figure 6, data transmission system 600 for wireless chain control layer of the present invention comprises: PDU maker 601, transmission buffer 602, transmission buffer 603, poll control unit 604, poll timer 605, control judging unit 606, tolerance timer 607, sender 608 and receiver 609 again.Control judging unit 606 wherein is to be used for judging that to whether starting newly-increased tolerance timer 607 this tolerance timer 607 can be realized with hardware, also can realize with software.
Rlc layer is received the SDU from high level earlier, carries out segmentation by 601 couples of SDU that receive of PDU maker then, generates several PDU and sends into buffer memory in the transmission buffer 602; Whether poll control unit 604 triggers polling procedure according to conditional decision, that is to say decision whether the Polling bit will to be set when sending this PDU.By forbidding Polling timer 605, reduce actual data transfer rate under normal conditions to avoid frequent status report.Like this, the Polling bit of the PDU that each will send does not allow to be provided with, and in this case, just means that receiving terminal can not confirm at each PDU that receives yet.At this moment,, judge that whether target P DU is last among the SDU,, then start and tolerate timer 607 if condition satisfies by control judging unit 606; In the timing cycle that tolerance timer 607 is provided with,, then start the process that resends this PDU by transmission buffer 603 again if receiver 609 is not received state information; And in the timing cycle that tolerance timer 607 is provided with,, then can learn whether each PDU that has sent is correctly received according to the indication of status report if receiver 609 is received state information.If all PDU of whole SDU have obtained affirmation, RLC will notify more high-risely so, more high-risely just this SDU can be discharged; If have PDU correctly not receive, then it resend.
Below, in conjunction with can obviously improving efficiency of transmission after the specific embodiment explanation employing technique scheme of the present invention.
An application program (as FTP) requires file of transmission, this file has been divided into several SDU by ICP/IP protocol, at each SDU of IP layer is 1500 bytes, this SDU has been divided into 38 PDU when giving RLC, each PDU is 40 bytes, from first PDU, transmitting terminal is provided with the Polling bit or the Polling bit is not set according to the requirement of agreement all the time, if the Polling bit is set, also to start the poll timer, in the time will sending the 38th PDU, adopt method described in the invention, because this is last PDU, if the Polling bit is not set according to agreement, so just when sending this PDU, open tolerance timer T, if terminal has received that affirmation information (this confirmation may be periodic status report) from receiving terminal shows that last PDU receiving terminal receives in the middle of timer operation, this transmission just is through with so, if still do not receive affirmation information in the time of timer expiry from receiving terminal, and transmitting terminal just retransmits the 38th PDU, till transmitting terminal is received the more high-rise timer expiry of the information of this 38th PDU of affirmation that receiving terminal sends or transmitting terminal.As long as received affirmation before the more high-rise timer expiry, just do not need to retransmit whole SDU like this.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.