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
WCDMA (WCDMA; Wideband Code Division Multiple 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 project) 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, and is 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, and if 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, and the process of this status report is called the process of passive initiation status report, and is 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 being provided with through periodic status report timer initiatively send status report so, thereby the PDU that transmitting terminal sends is confirmed this process is 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 level so, and more high level just can discharge this SDU.
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,, just can passively not send status report with regard to meaning that receiving terminal can not be directed against each PDU that receives and not confirm yet.
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.
By on can know that 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; So even receiving terminal status report notice transmitting terminal can not point out whether received this PDU, and transmitting terminal is not owing to be provided with the Polling bit yet; Therefore the Polling timer can be do not started yet, so just this PDU maybe 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; With causing long transmission delay and the some other consequence that can not expect, even cause whole file transfer failure, thereby greatly reduce the service efficiency and actual message transmission rate of channel.
Summary of the invention
The technical problem that the present invention will solve 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 following:
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 last in the protocol Data Unit section,, then start timer if satisfy simultaneously;
Receiving status information also carries out handled.
Preferably, also be included in and do not receive state information in the timing cycle, then resend this protocol Data Unit.
Preferably, said state information is a confirmation signal; To the more high-rise information that acknowledges receipt of of sending.
Preferably, said 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, under the situation about satisfying at the same time, starts timer;
Receiver is used for receiving status information, and goes to other unit and carry out handled.
Preferably, in the timing cycle that said timer is provided with, receiver is not received state information, and then sender resends this protocol Data Unit.
Preferably, said state information is a confirmation signal.
Preferably, said sender is to the more high-rise information that acknowledges receipt of of sending.
Preferably, said state information is a nack signal.
Preferably, said 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; Through being increased in the retransmission mechanism of rlc layer, reduced at the more high-rise number of times that retransmits, 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; Through judging whether polling procedure is under an embargo and whether target is last in the PDU section, and start timer, in timing cycle, confirm the status report situation of whether receiving that the opposite end is sent; 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 the object of the invention, and therefore, cost performance of the present invention is also higher.
Know that below in conjunction with accompanying drawing embodiment further describes the present invention.
Description of drawings
Fig. 1 is that prior art SDU is segmented into the PDU sketch map;
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 is as shown in Figure 5, may further comprise the steps:
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 to the opposite end then.
Whether the PDU that step 507, judgement will be sent 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 said 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 on the basis of existing system, to increase some assemblies, 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 through 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.Through 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 be directed against each PDU that receives and not confirm yet.At this moment,, judge whether target P DU is last among the SDU,, then start tolerance timer 607 if condition satisfies through control judging unit 606; In the timing cycle that tolerance timer 607 is provided with,, then start the process that resends this PDU through 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 level so, and more high level just can discharge this SDU; 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 (like FTP) requires file of transmission, and this file has been divided into several SDU by ICP/IP protocol, is 1500 bytes at each SDU of IP layer; This SDU has been divided into 38 PDU when giving RLC, and each PDU is 40 bytes, begins 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 will 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 the terminal has received that affirmation information (this confirmation possibly be periodic status report) from receiving terminal shows that last PDU receiving terminal receives that this transmission just is through with so in the middle of timer operation, if still do not receive affirmation information timer expiry the time from receiving terminal; And transmitting terminal just retransmits the 38th PDU, till transmitting terminal is received the more high-rise timer expiry of information or the transmitting terminal of this 38th PDU of affirmation that receiving terminal sends.As long as received affirmation before the more high-rise timer expiry, just need not 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 within spirit of the present invention and principle, being done, be equal to replacement and improvement etc., all should be included within the claim protection range of the present invention.