Background technology
RLC (Radio Link Control, Radio Link control) protocol layer is positioned at LTE (Long Term Evolution, Long Term Evolution) PDCP (Packet Data Convergence Protocol in the Radio interface protocols stack, PDCP) under the layer, MAC (Media Access Control, the media access control) on the layer, be layer 2 sublayer of (layer 2 comprises MAC, RLC, PDCP).Rlc layer provides segmentation and retransmission service for user service data and control data.The function of RLC sublayer comprises link control, transmits upper strata (RRC (Radio Resource Control, Radio Resource is controlled) or (the Protocol Data Unit of PDU PDCP), protocol Data Unit), PDU is delivered in restructuring, segmentation, again segmentation and cascade according to the order of sequence to the upper strata, ARQ (Automatic Repeat Request, automatic retransmission request mechanism) error correction, repeatability detects, flow control, the protocol error inspection and repair, RLC reconstruction etc.
The function of RLC sublayer is realized by the RLC entity, each RLC entity can be configured to three kinds of patterns by RRC and be used for performing data transmission: transparent mode (Transparent Mode, abbreviation TM), Unacknowledged Mode (Unacknowledged Mode is called for short UM) and affirmation mode (Acknowledged Mode is called for short AM).
ARQ in the affirmation mode retransmits, to transmitting terminal status report (Status Report) by receiving terminal, transmitting terminal is according to (the Acknowledgement Sequence Number of the ACK_SN in the status report, confirm series number), NACK_SN (Negative Acknowledgement Sequence Number, series number unconfirmed) judges which PDU acknowledges receipt of the receiving end, which PDU or PDU fragment need to retransmit, thereby guarantee the reliability of transfer of data, AMD in retransmission processes (AMData, the data under the AM pattern) PDU may be repeated to split into AMD PDU Segment (fragment).
In the prior art, rlc layer must be waited until the restructuring of just carrying out AMDPDU after all PDU Segment corresponding to AMD PDU packs up in the re-transmission PDU Segment that the processing opposite end sends over.But when if AMD PDU is split into a lot of PDU Segment, rlc layer just needs the time for a long time of waiting for just can pack up all PDU Segment, and then recombinates, may be so that some data is processed overtime.
Summary of the invention
The technical problem to be solved in the present invention provides method and the device that a kind of data are processed, and passes the data operation that packages with timely counterweight, to guarantee follow-up can the delivery data retransmission in time, the raising data transmission efficiency.
In order to solve the problems of the technologies described above, the invention provides the method that a kind of data are processed, comprising:
After receiving the protocol Data Unit fragment data, enter the flow process that described protocol Data Unit fragment data is packaged and operates.
Further, said method also has following characteristics: to the operation that packages of described protocol Data Unit fragment data, comprising:
If judge that paid-in protocol Data Unit fragment data is continuous, then package to receiving the protocol Data Unit fragment data.
Further, said method also has following characteristics: described protocol Data Unit fragment data is packaged to operate also to be comprised afterwards:
Deliver condition if judge the described group of data fit behind the bag, then deliver the described group of data behind the bag to the upper strata.
Further, said method also has following characteristics: to the operation that packages of described protocol Data Unit fragment data, comprising:
If judge that paid-in protocol Data Unit fragment data is discontinuous, then store the described protocol Data Unit fragment data that receives.
In order to address the above problem, the present invention also provides a kind of data processing equipment, comprising:
Receiver module is used for the receive protocol data units fragment data;
Processing module is used for entering the flow process that described protocol Data Unit fragment data is packaged and operates after described receiver module receives the protocol Data Unit fragment data.
Further, said apparatus also has following characteristics: described processing module comprises:
Judging unit is used for judging whether paid-in protocol Data Unit fragment is continuous;
Group bag unit is used in the situation that the paid-in protocol Data Unit fragment of described judgment unit judges is continuous, packages to receiving the protocol Data Unit fragment.
Further, said apparatus also has following characteristics: described processing module also comprises:
Delivery unit, the data fit that is used for after judging described group of bag is delivered in the situation of condition, delivers the described group of data behind the bag to the upper strata.
Further, said apparatus also has following characteristics: described processing module also comprises:
Memory cell is used for storing the described protocol Data Unit fragment that receives in the discontinuous situation of the paid-in protocol Data Unit fragment of described judgment unit judges.
Further, said apparatus also has following characteristics: described data processing equipment is the radio link control module.
In order to address the above problem, the present invention also provides a kind of terminal, comprises above-mentioned device.
To sum up, the invention provides method and device that a kind of data are processed, can be in time to the data retransmission operation that packages, to guarantee follow-up can the delivery data retransmission in time, improve data transmission efficiency, solve the deficiency in the rlc layer data retransmission delivery process in the LTE existing system, improve the efficient of rlc layer data delivery, strengthen the stability that the rlc layer data are processed.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing embodiments of the invention are elaborated.Need to prove, in the situation that do not conflict, the embodiment among the application and the feature among the embodiment be combination in any mutually.
Fig. 1 is the schematic diagram of the data processing equipment of the embodiment of the invention, and as shown in Figure 1, the data processing equipment of the present embodiment comprises:
Receiver module is used for the receive protocol data units fragment;
Processing module is for operation that described protocol Data Unit fragment is packaged.
Wherein, described processing module can comprise:
Judging unit is used for judging whether paid-in protocol Data Unit fragment is continuous;
Group bag unit is used in the situation that the paid-in protocol Data Unit fragment of described judgment unit judges is continuous, packages to receiving the protocol Data Unit fragment.
Described processing module can also comprise:
Delivery unit, the data fit that is used for after judging described group of bag is delivered in the situation of condition, delivers the described group of data behind the bag to the upper strata.
Memory cell is used for storing the described protocol Data Unit fragment that receives in the discontinuous situation of the paid-in protocol Data Unit fragment of described judgment unit judges.
The described data processing equipment of the present embodiment can be the radio link control module.
The embodiment of the invention also provides a kind of terminal, and this terminal can comprise above-mentioned data processing equipment.
Like this, the data processing equipment of the present embodiment and terminal can be in time to the data retransmission operation that packages, to guarantee follow-up can the delivery data retransmission in time, improve data transmission efficiency, solve the deficiency in the rlc layer data retransmission delivery process in the LTE existing system, improve the efficient of rlc layer data delivery, strengthen the stability that the rlc layer data are processed.
Fig. 2 is method and the flow chart that the data of the embodiment of the invention one are processed, and comprises following step:
S10, receive the protocol Data Unit fragment data after, enter to described protocol Data Unit fragment data package the operation flow process.
To described protocol Data Unit fragment data package the operation flow process comprise:
Judge whether paid-in protocol Data Unit fragment data is continuous, if continuously, then package to receiving the protocol Data Unit fragment data; If discontinuous, then store the described protocol Data Unit fragment data that receives, continue receive data.
The method of the embodiment of the invention has solved the deficiency in the rlc layer data retransmission delivery process in the LTE existing system, improves the efficient of rlc layer data delivery, strengthens the stability that the rlc layer data are processed.The method of the present embodiment on the basis of existing technology, do not judge when receiving AMD PDU Segment whether this re-transmission PDU packs up fully at every turn, operation at first packages, the RLC SDU that can organize (Service Data Unit, service data unit) enters the rearrangement handling process, if meet the delivery condition, then upwards deliver the SDU data.
Fig. 3 is the flow chart of the data processing method of the embodiment of the invention two, and is shown in Figure 3, comprises that step is as follows:
Step 201:RLC receives the PDU Segment that the opposite end sends;
Step 202: judge whether paid-in PDU Segment is continuous, if continuously then execution in step 204, otherwise execution in step 203.
Step 203: preserve the PDU Segment that this is received, then turn to step 201, continue to receive PDU Segment data.
Step 204: split and reorganization operation the SDU data that generation can be delivered to PDCP to the Pdu Segment that receives or with consisting of before continuous Pdu Segment.
Step 205: carry out the data rearrangement handling process.
Step 206: judge whether the SDU organized meets the delivery condition, if meet then carry out 207, otherwise flow process finishes.
Step 207: the SDU data of delivering the delivery condition that meets of having organized.
The described method of the present embodiment has also been done sth. in advance the SDU data delivery time simultaneously with the time advance of data retransmission restructuring, compares with existing method, has improved the efficient that data are processed, and has saved the time of data retransmission transmission, has guaranteed the real-time of transfer of data.
The present invention is described in further detail as the application example with the data retransmission of wireless chain control layer in LTE system structure for the below.
At first suppose:
(1), the RLC transmitter side sent the RLC PDU data such as Fig. 4, but this PDU loses in the transmission course of eating dishes without rice or wine, and need to retransmit.
(2), in retransmission processes because bandwidth diminishes, so need multiple biography PDU to split, the result of fractionation is as shown in Figure 5.
(3), in RLC PDU Segment transmission course owing to there being packet loss, suppose that the order of the RLC PDU Segment that the rlc layer receiver side is received is: PDU Segment2, Segment1, Segment3, Segment4.
As shown in Figure 6, the concrete steps of rlc layer delivery RLC PDU Segment are as follows:
Step 501:RLC receives and retransmits PDU Segment 2;
Step 502: judge that the Pdu Segment1 before the Pdu Segment2 does not receive;
Step 503: because do not receive Pdu Sement1, preserve Pdu Segment2.
Step 504:RLC receives and retransmits PDU Segment 1;
Step 505: judge that Pdu Segment1 and Pdu Segment2 before are continuous;
Step 506: to PDU Segment1 and PDU Segment2 fractionation and restructuring;
Step 507: carry out the data rearrangement handling process;
Step 508: judge that SDU1, the SDU2, SDU3 and the SDU4 that have organized meet the delivery condition;
Step 509: deliver SDU1, SDU2, SDU3 and SDU4 data to the upper strata.
Step 510:RLC receives and retransmits PDU Segment 3.
Step 511: judge that the Pdu Segment before the Pdu Segment3 collects;
Step 512: Pdu Segment3 is split and recombinates;
Step 513: reset handling process;
Step 514: judge whether the SDU5 and the SDU6 that have organized meet the delivery condition;
Step 515: upwards deliver SDU5 and SDU6 data.
Step 516:RLC receives and retransmits PDU Segment 4;
Step 517: judge that the Pdu Segment before the Pdu Segment4 collects;
Step 518: Pdu Segment4 is split and recombinates;
Step 519: reset handling process;
Step 520: judge whether the SDU7 and the SDU8 that have organized meet the delivery condition;
Step 521: upwards deliver SDU7 and SDU8 data.
One of ordinary skill in the art will appreciate that all or part of step in the said method can come the instruction related hardware to finish by program, described program can be stored in the computer-readable recording medium, such as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Below only be the preferred embodiments of the present invention; certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.