Background technology
RLC (Radio Link Control, wireless spread-spectrum technology) protocol layer is located at LTE (Long Term
Evolution, long term evolution) PDCP (Packet Data Convergence Protocol, grouping in Radio interface protocols stack
Data convergence protocol) it is that (layer 2 wraps layer 2 on MAC (Media Access Control, media access control) layer under layer
Include MAC, RLC, PDCP) a sublayer.Rlc layer provides segmentation and retransmission service for user service data and control data.RLC
The function of sublayer include link control, transmit upper layer (RRC (Radio Resource Control, wireless heterogeneous networks) or
PDCP PDU (Protocol Data Unit, protocol Data Unit)), recombination, segmentation, re-segmenting and cascade, sequentially to upper layer
Deliver PDU, ARQ (Automatic Repeat Request, automatic retransmission request mechanism) error correction, repeatability detection, flow control
System, protocol error detection and reparation, RLC reconstructions etc..
The function of rlc sublayer is realized that each RLC entities can be configured to Three models for executing number by RRC by RLC entities
According to transmission:Transparent mode (Transparent Mode, abbreviation TM), Unacknowledged Mode (Unacknowledged Mode, abbreviation
) and affirmation mode (Acknowledged Mode abbreviation AM) UM.
ARQ in affirmation mode is retransmitted, and is by receiving terminal to transmitting terminal status report (Status Report),
Transmitting terminal according in state report ACK_SN (Acknowledgement Sequence Number, confirm series number),
Which PDU NACK_SN (Negative Acknowledgement Sequence Number, unconfirmed series number) has judged
It is acknowledged receipt of through receiving end, which PDU or PDU segment needs to retransmit, and to ensure the reliability of data transmission, is retransmitting
AMD (data under AMData, AM pattern) PDU, which may be repeated, in journey splits into AMD PDU Segment (segment).
In the prior art, rlc layer is when handling the re-transmission PDU Segment that opposite end sends over, it is necessary to wait until
The corresponding all PDU Segment of AMD PDU just carry out the recombination of AMDPDU after packing up.But if AMD PDU quilts
When splitting into many PDU Segment, rlc layer just needs to wait for the time for a long time that can just pack up all PDU
Then Segment is recombinated again, may be such that some data processings time-out.
Invention content
The technical problem to be solved in the present invention is to provide a kind of method and devices of data processing, and data are passed with timely counterweight
Package operation, to ensure subsequently deliver to retransmitting data in time, improves data transmission efficiency.
In order to solve the above technical problem, the present invention provides a kind of methods of data processing, including:
After receiving protocol Data Unit fragment data, package behaviour into the protocol Data Unit fragment data
The flow of work.
Further, the above method also has the characteristics that following:It packages behaviour to the protocol Data Unit fragment data
Make, including:
If judging, paid-in protocol Data Unit fragment data is continuous, to receiving protocol Data Unit fragment data
It packages.
Further, the above method also has the characteristics that following:It packages behaviour to the protocol Data Unit fragment data
Further include after making:
If judging, the data fit after described group of packet delivers condition, the data after delivering described group of packet to upper layer.
Further, the above method also has the characteristics that following:It packages behaviour to the protocol Data Unit fragment data
Make, including:
If judging, paid-in protocol Data Unit fragment data is discontinuous, the protocol data list received described in storage
First fragment data.
To solve the above-mentioned problems, the present invention also provides a kind of data processing equipments, including:
Receiving module, for receiving protocol Data Unit fragment data;
Processing module, for after the receiving module receives protocol Data Unit fragment data, into the association
View data cell fragment data packages the flow of operation.
Further, above-mentioned apparatus also has the characteristics that following:The processing module includes:
Judging unit, for judging whether paid-in protocol Data Unit segment is continuous;
Group packet unit, for judging that paid-in protocol Data Unit segment is continuous in the judging unit,
It packages to receiving protocol Data Unit segment.
Further, above-mentioned apparatus also has the characteristics that following:The processing module further includes:
Delivery unit, in the case of the data fit delivery condition after judging described group of packet, institute to be delivered to upper layer
State the data after group packet.
Further, above-mentioned apparatus also has the characteristics that following:The processing module further includes:
Storage unit, for judging the paid-in discontinuous situation of protocol Data Unit segment in the judging unit
Under, the protocol Data Unit segment that is received described in storage.
Further, above-mentioned apparatus also has the characteristics that following:The data processing equipment is radio link control mould
Block.
To solve the above-mentioned problems, the present invention also provides a kind of terminals, including above-mentioned device.
To sum up, the present invention provides a kind of method and device of data processing, can package in time to retransmitting data
Operation improves data transmission efficiency, solves LTE existing systems to ensure subsequently deliver to retransmitting data in time
Middle rlc layer retransmits the deficiency during data delivery, improves the efficiency of rlc layer data delivery, enhances the steady of rlc layer data processing
It is qualitative.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature mutually can arbitrarily combine.
Fig. 1 is the schematic diagram of the data processing equipment of the embodiment of the present invention, as shown in Figure 1, the data processing of the present embodiment
Device includes:
Receiving module, for receiving protocol Data Unit segment;
Processing module, for packaging operation to the protocol Data Unit segment.
Wherein, the processing module may include:
Judging unit, for judging whether paid-in protocol Data Unit segment is continuous;
Group packet unit, for judging that paid-in protocol Data Unit segment is continuous in the judging unit,
It packages to receiving protocol Data Unit segment.
The processing module can also include:
Delivery unit, in the case of the data fit delivery condition after judging described group of packet, institute to be delivered to upper layer
State the data after group packet.
Storage unit, for judging the paid-in discontinuous situation of protocol Data Unit segment in the judging unit
Under, the protocol Data Unit segment that is received described in storage.
The data processing equipment of the present embodiment can be radio link control module.
The embodiment of the present invention also provides a kind of terminal, which may include above-mentioned data processing equipment.
In this way, the data processing equipment and terminal of the present embodiment can package operation to retransmitting data in time, with
Ensure subsequently deliver to retransmitting data in time, improves data transmission efficiency, solve rlc layer in LTE existing systems
The deficiency during data delivery is retransmitted, the efficiency of rlc layer data delivery is improved, enhances the stability of rlc layer data processing.
Fig. 2 is the method and flow chart of the data processing of the embodiment of the present invention one, including below step:
S10, after receiving protocol Data Unit fragment data, group is carried out into the protocol Data Unit fragment data
The flow of package operation.
Include to the package flow of operation of the protocol Data Unit fragment data:
Judge whether paid-in protocol Data Unit fragment data is continuous, if continuously, to receiving protocol data list
First fragment data packages;If protocol Data Unit fragment data that is discontinuous, being received described in storage, continues to count
According to.
The method of the embodiment of the present invention solves the deficiency during rlc layer re-transmission data delivery in LTE existing systems, carries
The efficiency of high rlc layer data delivery enhances the stability of rlc layer data processing.Base of the method for the present embodiment in the prior art
On plinth, does not judge whether re-transmission PDU packs up completely when receiving AMD PDU Segment every time, package first
The RLC SDU that can have been organized (Service Data Unit, service data unit) are entered and reset process flow by operation, if
Meet delivery condition, then delivers SDU data upwards.
Fig. 3 is the flow chart of the data processing method of the embodiment of the present invention two, and shown in Fig. 3, including steps are as follows:
Step 201:RLC receives the PDU Segment that opposite end is sent;
Step 202:Judge whether paid-in PDU Segment are continuous, if continuously thening follow the steps 204, otherwise hold
Row step 203.
Step 203:The PDU Segment received are preserved, step 201 is then turned to, continue to PDU Segment numbers
According to.
Step 204:To the Pdu Segment that receive or with constitute before continuous Pdu Segment split and
Reorganization operation generates the SDU data that can be delivered to PDCP.
Step 205:Carry out data rearrangement process flow.
Step 206:Judge whether the SDU organized meets delivery condition, 207 is executed if meeting, otherwise flow
Terminate.
Step 207:Deliver the SDU data for meeting delivery condition organized.
The present embodiment the method will retransmit the time advance of data recombination, while also do sth. in advance the SDU data delivery times,
Compared with the existing methods, the efficiency for improving data processing saves the time for retransmitting data transmission, ensure that data transmission
Real-time.
The re-transmission data configuration of wireless chain control layer makees into one the present invention as using example using in LTE system below
The detailed description of step.
It assumes initially that:
(1), the sending sides RLC have sent the RLC PDU datas such as Fig. 4, but the PDU loses during air interface transmission,
It is retransmitted.
(2), in retransmission processes, since bandwidth becomes smaller, so multiple biography PDU is needed to be split, the result of fractionation is such as
Shown in Fig. 5.
(3), in RLC PDU Segment transmission processes, since there are packet losses, it is assumed that the RLC that rlc layer receiving side receives
The sequence of PDU Segment is:PDU Segment2, Segment1, Segment3, Segment4.
It is as follows as shown in fig. 6, rlc layer delivers RLC PDU Segment:
Step 501:RLC, which is received, retransmits PDU Segment 2;
Step 502:Pdu Segment1 before judging Pdu Segment2 are not received;
Step 503:Because not receiving Pdu Sement1, Pdu Segment2 are preserved.
Step 504:RLC, which is received, retransmits PDU Segment 1;
Step 505:Judge that Pdu Segment1 and Pdu Segment2 before are continuous;
Step 506:PDU Segment1 and PDU Segment2 are split and recombinated;
Step 507:Carry out data rearrangement process flow;
Step 508:Judge that SDU1, SDU2, SDU3 and SDU4 for having organized meet delivery condition;
Step 509:SDU1, SDU2, SDU3 and SDU4 data are delivered to upper layer.
Step 510:RLC, which is received, retransmits PDU Segment 3.
Step 511:Pdu Segment before judging Pdu Segment3 have been collected;
Step 512:Pdu Segment3 are split and recombinated;
Step 513:Into rearrangement process flow;
Step 514:Judge whether the SDU5 organized and SDU6 meet delivery condition;
Step 515:SDU5 and SDU6 data are delivered upwards.
Step 516:RLC, which is received, retransmits PDU Segment 4;
Step 517:Pdu Segment before judging Pdu Segment4 have been collected;
Step 518:Pdu Segment4 are split and recombinated;
Step 519:Into rearrangement process flow;
Step 520:Judge whether the SDU7 organized and SDU8 meet delivery condition;
Step 521:SDU7 and SDU8 data are delivered upwards.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD
Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Ground, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be used
Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
It these are only the preferred embodiment of the present invention, certainly, the invention may also have other embodiments, without departing substantially from this
In the case of spirit and its essence, those skilled in the art make various corresponding changes in accordance with the present invention
And deformation, but these corresponding change and deformations should all belong to the protection domain of appended claims of the invention.