Summary of the invention
The technical problem that the present invention solved has been to provide a kind of data sending processing method and apparatus of data link layer.
A kind of data sending processing method of data link layer is provided in the embodiment of the invention, has comprised the steps:
Receiving block data convergence protocol Packet Data Unit PDCP PDU;
Cascade RLC SDU also generates corresponding Length Indication, and said RLC SDU is PDCP PDU;
After receiving the transformat indication that the media access control MAC layer sends; Loading section according to the RLC SDU generation RLC PDU after the Length Indication selection cascade in the transformat indication forms wireless chain control layer Packet Data Unit RLCPDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected; Corresponding Length Indication representes with LI+E, and the LI territory is in order to length that each SDU or SDU segmentation are described, and corresponding one by one between LI and the SDU segmentation, last segmentation does not need LI, and said E territory is data or LI in order to the indication followed;
Send the RLC PDU that forms.
Preferably, when cascade RLC SDU, according to disposal ability, service rate, current data amount and before give out a contract for a project one of big or small factor perhaps the RLC SDU number or the RLC SDU total bytes of the definite cascade of its combination of RLC entity.
Preferably, during the RLC SDU length of the length in transformat indication after, further comprise greater than cascade:
RLC SDU is cascaded to the length in reaching the transformat indication among the RLC SDU after the cascade, and generates corresponding Length Indication;
When head adds the corresponding Length Indication of selecting of RLC SDU, add corresponding Length Indication.
Preferably; Under the CA situation; Each carrier transmission form indication is separate; Loading section according to the RLC SDU generation RLC PDU after the Length Indication selection cascade in each transformat indication forms wireless chain control layer Packet Data Unit RLC PDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected;
Send the corresponding RLC PDU of each transformat indication respectively.
A kind of data sending processing equipment of data link layer is provided in the embodiment of the invention, has comprised:
Receiver module is used to receive PDCP PDU; Cascade module is used for cascade RLC SDU and generates corresponding Length Indication, and said RLC SDU is PDCP PDU;
Processing module; Be used for after receiving the transformat indication that the MAC layer sends; Loading section according to the RLC SDU generation RLC PDU after the Length Indication selection cascade in the transformat indication forms RLC PDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected; Corresponding Length Indication representes with LI+E, and the LI territory is in order to length that each SDU or SDU segmentation are described, and corresponding one by one between LI and the SDU segmentation, last segmentation does not need LI, and said E territory is data or LI in order to the indication followed;
Sending module is used to send the RLC PDU of formation.
Preferably; Said cascade module is further used for when cascade RLC SDU, according to disposal ability, service rate, current data amount and before give out a contract for a project one of big or small factor perhaps the RLC SDU number or the RLC SDU total bytes of the definite cascade of its combination of RLC entity.
Preferably; When said cascade module is further used for RLC SDU length after greater than cascade of length in transformat indication; RLC SDU is cascaded to the length in reaching the transformat indication among the RLC SDU after the cascade, and generates corresponding Length Indication;
Said processing module is further used for when head adds the corresponding Length Indication of selecting of RLC SDU, adding corresponding Length Indication.
Preferably; Said processing module is further used under the CA situation; Each carrier transmission form indication is separate; Loading section according to the RLC SDU generation RLC PDU after the Length Indication selection cascade in each transformat indication forms RLC PDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected;
Said sending module is further used for sending respectively the corresponding RLC PDU of each transformat indication.
Beneficial effect of the present invention is following:
In implementation process of the present invention, after receiving PDCP PDU, cascade RLC SDU also generates corresponding Length Indication; Like this after receiving the transformat indication that the MAC layer sends; Generate the loading section of RLC PDU according to the RLC SDU after the Length Indication selection cascade in the transformat indication; After the corresponding Length Indication of RLC SDU that head add to be selected, form RLC PDU and send the RLCPDU that forms, owing to after receiving PDCP PDU, just carry out data block cascade preliminary treatment, that is: cascade RLC SDU and generate corresponding Length Indication; Like this; After receiving the transformat indication, directly the data of intercepting Len req add that header structure just can form RLC PDU from the RLCSDU of cascade, have therefore alleviated the processing expenditure of rlc layer; Thereby can save the real-time processing expenditure of RLC; Shorten the real-time processing time, made that the scheme in the embodiment of the invention can satisfy the high-rate service transmission requirements, also can expire the requirement of the high processing complexity of LTE-A system high transfer rate.
Embodiment
The inventor notices in the invention process: in LTE R8 system, and the maximum peak rate of supporting 100Mbit/s of UE.In the demand of LTE-Advanced (LTE-A); Need support ITU-R (ITU-Radio communications sector at least; International Telecommunications Union's radio communication group) IMT-Advanced (the International Mobile Telecommunications-Advanced of defined in; International mobile telecommunication is optimized) demand: under the scene of high-speed mobile, support the peak rate of 100Mbit/s; Under the scene that low speed moves, support the peak rate of 1Gbit/s.The target of LTE-A is the peak rate that reaches descending 1Gbps and up 500Mbps.Significantly improving of peak rate, for RLC, the processing complexity of every TTI also increases.Therefore; To provide in the embodiment of the invention a kind of can be adapted at least the LTE-A system in the pretreated processing scheme of RLC, when big rate business, in this programme packet is carried out data cascade preliminary treatment at rlc layer; In advance some RLC SDU are carried out cascade and construct header structure; After waiting to receive that low layer sends the form indication, only need simple operations immediately required big RLC PDU to be sent, this scheme is under the situation of the high processing complexity of peak value speed; Can satisfy the requirement of treatment effeciency, accomplish the high rate data transmission of LTE-A.
Describe below in conjunction with the accompanying drawing specific embodiments of the invention.
Fig. 3 is the data sending processing method implementing procedure sketch map of data link layer, and is as shown in the figure, in sending processing procedure, can comprise the steps:
Step 301, reception PDCP PDU;
Step 302, cascade RLC SDU also generate corresponding Length Indication;
The RLC SDU of this step cascade can be PDCP PDU, does not need between RLC SDU and the PDCP PDU to handle.
Receive PDCP PDU, and beginning cascade RLC SDU and to generate corresponding Length Indication be before receiving the transformat indication that the MAC layer sends, just to begin.
Step 303, after receiving the transformat indication that the MAC layer sends; Loading section according to the RLC SDU generation RLC PDU after the Length Indication selection cascade in the transformat indication forms RLC PDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected;
The RLC PDU that step 304, transmission form.
Wherein, For the ease of statement; In the embodiment of the invention step 302 is called data block cascade preliminary treatment, the corresponding Length Indication that generates during with cascade RLC SDU representes that with LI+E wherein: the LI territory is in order to explain the length of each SDU or SDU segmentation; Corresponding one by one between LI and the SDU segmentation, the E territory is data or LI in order to the indication followed.
Visible by above-mentioned enforcement; PDCP sends the PDCP PDU that disposes in advance to rlc layer; Rlc layer carries out certain data block cascade preliminary treatment to it; Comprise data block carried out cascade and generated corresponding LI+E indication that when treating that the MAC layer is sent the indication of transmission form, rlc layer just can directly form final RLC PDU according to indication.
When receiving the transmission form indication that the MAC layer is sent; RLC is to the loading section of the suitable length of the direct intercepting of the data block of preparatory cascade as PDU, and LI+E makes up also intercepting on demand, and other part that only need add header structure again promptly can be formed complete RLC PDU and mail to MAC; It is thus clear that; Owing to carried out data block cascade preliminary treatment, therefore can accelerate to receive the MAC layer and send indication and the speed of returning RLCPDU by indication, improved the data-handling efficiency of rlc layer.
For how embodiment of the present invention better is described, corresponding, also the method for receiving and processing data of data link layer is introduced in the embodiment of the invention, describe below.
Fig. 4 is the method for receiving and processing data implementing procedure sketch map of data link layer, and is as shown in the figure, when receiving processing, can comprise the steps:
The RLC PDU that step 401, reception MAC layer send;
Step 402, according to the Length Indication of head RLC PDU is handled and to form RLC SDU;
Step 403, PDCP PDU is sent to PDCP.
To describe sending the embodiment of handling with receiving processing below.Is the process that adapts owing to sending processing in the embodiment of the invention with receiving processing; Therefore, in the execution mode explanation below, for the ease of understanding execution mode of the present invention on the whole; Describe not handling, receive the mode of handling respectively from sending; But unified describing, obviously, this does not also mean that the present invention must send and receive processing simultaneously.
When the cascade of execution in step 302 forms PDCP PDU, can be specially:
When cascade RLC SDU, can be according to disposal ability, service rate, current data amount and before give out a contract for a project one of big or small factor perhaps the RLC SDU number or the RLC SDU total bytes of the definite cascade of its combination of RLC entity.Concrete; When RLC carries out data block cascade preliminary treatment; Can begin from waiting first RLC SDU or the RLC SDU segmentation sent out, the SDU number of cascade or SDU total bytes can be by disposal ability, service rate, current data amount and the decisions of factors such as the size of giving out a contract for a project before in advance.
In force, in the time of RLC SDU length after greater than cascade of length in the transformat indication may occurring, may further include this moment when execution in step 303:
RLC SDU is cascaded to the length in reaching the transformat indication among the RLC SDU after the cascade, and generates corresponding Length Indication;
When head adds the corresponding Length Indication of selecting of RLC SDU, add corresponding Length Indication.
Promptly; When receiving the transmission form indication that the MAC layer is sent; The pretreated data block of RLC is less than sending the form size; The cascade and the LI+E that then can be as required directly after cascade data piece in advance and LI+E combination, increase new SDU, and other part of interpolation header structure is promptly formed complete RLC PDU and is mail to MAC again.
In the enforcement, when in execution in step 303, if adopted CA (Carrier Aggregation; Carrier aggregation), because RLC can not know carrier information, for it; The difference of maximum under the CA is that each transmission time N transformat that might come up indicated; The carrier number that N gives out a contract for a project for scheduling, and under the CA situation, each carrier transmission form indication is separate; Therefore can generate the loading section of RLC PDU according to the RLC SDU after the Length Indication selection cascade in each transformat indication, after the corresponding Length Indication of RLC SDU that the head interpolation is selected, form wireless chain control layer Packet Data Unit RLC PDU; Send the corresponding RLC PDU of each transformat indication then respectively.
Accordingly, behind the RLC PDU that receives the transmission of MAC layer, just can handle formation RLC SDU to RLC PDU easily according to the Length Indication of head.
Embodiment of the present invention describe below with instantiation for better explaining.
Embodiment one
Fig. 5 is data block cascade preliminary treatment sketch map, and is as shown in the figure, sends before indication arrives at low layer, and PDCP accomplishes operative configuration PDCP PDU such as head compression and the encryption of a certain amount of PDCP SDU and is sent to rlc layer; Just can carry out cascade and generate corresponding head length indication RLC SDU at data block pretreatment stage rlc layer then, treat that the MAC layer sends after the form indication arrives, the PDU size according to actual needs packages again.
Can find out by figure, at data block cascade pretreatment stage, data block N to N+K cascade, and generated corresponding LI
0+ E to LI
K-1+ E, when the MAC layer sends after the form indication arrives, but directly the RLC SDU after the cascade of just intercepting indicating length forms the data division of RLC PDU, and this part illustrates with payload (payload) among the figure, and adds LI+E into that head is used for discerning.When receiving terminal is handled, just can identify corresponding RLC SDU through LI+E.
Embodiment two
Fig. 6 is for the data block cascade preliminary treatment sketch map under the CA, and is as shown in the figure, considers that the LTE-A system introduces the CA technology, and the RLC PDU number that every TTI sends is relevant with carrier number.Send before indication arrives at low layer, PDCP accomplishes operative configuration PDCPPDU such as head compression and the encryption of a certain amount of PDCP SDU and is sent to rlc layer.Just can carry out cascade and generate corresponding head length indication RLC SDU at data block pretreatment stage rlc layer then, treat that the MAC layer sends after the form indication arrives, a plurality of PDU sizes according to the actual needs of each carrier wave package again.
By in order to can find out among Fig. 6 of example, at data block cascade pretreatment stage, data block N to N+K cascade, and generated corresponding LI
0+ E to LI
K+ E then generates three RLC PDU according to the indication of each carrier wave respectively in the group bag stage, and obviously, this figure does not represent to form three RLC PDU just in order to explanation, perhaps only generates the RLC PDU shown in the figure, describes below.
RLC PDU1: directly select the first half of RLC SDU N, RLC SDUN+1, RLC SDU N+2 to put into the payload part the RLC SDU after cascade, and with LI
0+ E, LI
1+ E adds into, and head is used for identification;
RLC PDU2: the latter half of directly selecting RLC SDU N+2 the RLC SDU after cascade is put into the payload part to RLC SDU N+K, and with LI
2 ' '+ E to LI
K-1+ E adds into, and head is used for identification; Wherein, LI
2What indicate is the entire length of SDU2, LI
2 ' 'What expression was indicated is the length of latter half.
RLC PDU3: directly select the latter half of RLC SDU N+K to put into the payload part the RLC SDU after cascade; But this data block length is not enough; Therefore select to put into the payload part after cascade, the not new RLC SDU N+K+1 cascade, corresponding, with LI
K ' '+ E adds into, and head is used for identification; Wherein, LI
KWhat indicate is the entire length of SDU N+K, LI
K ' 'What expression was indicated is the length of latter half.
In the enforcement, the LI territory among the PDU is in order to the length that each SDU or SDU segmentation are described, and is corresponding one by one between LI and the SDU segmentation, but last segmentation does not need LI, and therefore the number of total LI should be that the segmentation number subtracts one.And the E territory be in order to the indication followed be data or LI.
Based on same inventive concept; A kind of data sending processing equipment of data link layer also is provided in the embodiment of the invention; Because the principle that equipment is dealt with problems is similar with a kind of data sending processing method of data link layer; Therefore the enforcement of equipment can repeat part and not give unnecessary details referring to the enforcement of method.
Fig. 7 is the data sending processing device structure sketch map of data link layer, and is as shown in the figure, sends in the treatment facility to comprise:
Receiver module 701 is used to receive PDCP PDU;
Cascade module 702 is used for cascade RLC SDU and generates corresponding Length Indication;
Processing module 703; Be used for after receiving the transformat indication that the media access control MAC layer sends; Loading section according to the RLC SDU generation RLC PDU after the Length Indication selection cascade in the transformat indication forms RLC PDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected;
Sending module 704 is used to send the RLC PDU of formation.
In the enforcement, after receiver module 701 receives PDCP PDU, begin to carry out the data block preliminary treatment, that is: cascade module 702 cascade RLC SDU and generate corresponding Length Indication; After receiving the transformat indication that the MAC layer sends; The loading section of the RLC SDU generation RLC PDU after the cascade, formation RLC PDU after the corresponding Length Indication of RLC SDU that the head interpolation is selected are selected in Length Indication during processing module 703 is indicated according to transformat; Sending module 704 sends the RLC PDU that forms then.
In the enforcement; Cascade module can be further used for when cascade RLC SDU, according to disposal ability, service rate, current data amount and before give out a contract for a project one of big or small factor perhaps the RLC SDU number or the RLC SDU total bytes of the definite cascade of its combination of RLC entity.
In the enforcement; When cascade module can be further used for RLC SDU length after greater than cascade of length in transformat indication; RLC SDU is cascaded to the length in reaching the transformat indication among the RLC SDU after the cascade, and generates corresponding Length Indication;
Then processing module also can be further used for when head adds the corresponding Length Indication of selecting of RLC SDU, adding corresponding Length Indication.
In the enforcement; Under the CA situation; Each carrier transmission form indication is separate; Processing module can be further used for generating according to the RLC SDU after the Length Indication selection cascade in each transformat indication the loading section of RLC PDU, after the corresponding Length Indication of RLC SDU that the head interpolation is selected, forms RLC PDU;
Then sending module can be further used for sending respectively the corresponding RLCPDU of each transformat indication.
For the convenience of describing, the each several part of the above device is divided into various modules with function or the unit is described respectively.Certainly, when embodiment of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
To sum up can know; During the present invention implements; PDCP sends the PDCP PDU that disposes in advance to rlc layer, and rlc layer carries out certain data block cascade preliminary treatment to it, comprises data block is carried out cascade and generated corresponding LI+E indication; When treating that the MAC layer is sent the indication of transmission form, rlc layer forms final RLC PDU according to it.
Further; Carrying out data block cascade preliminary treatment at rlc layer begins from waiting first SDU or the SDU segmentation sent out; The SDU number or the SDU total bytes of cascade can be by disposal abilities in advance, service rate, current data amount and the decision of factors such as the size of giving out a contract for a project before.
Further; When receiving the transmission form indication that the MAC layer is sent; RLC is to the loading section of the suitable length of the direct intercepting of the data block of preparatory cascade as PDU, and LI+E makes up also intercepting on demand, and other part of adding header structure is more promptly formed complete RLC PDU and mail to MAC.
Further; Can also be when receiving the transmission form indication that the MAC layer is sent; The pretreated data block of RLC is when sending the form size; Then directly after cascade data piece in advance and LI+E combination, increasing cascade and the LI+E of new SDU as required, and other part of interpolation header structure is promptly formed complete RLCPDU and is mail to MAC.
Further; Under the CA situation; Each carrier transmission form indication is separate, can generate the loading section of RLC PDU according to the RLC SDU after the Length Indication selection cascade in each transformat indication, after the corresponding Length Indication of RLC SDU that the head interpolation is selected, forms RLC PDU; And send each transformat respectively and indicate corresponding RLC PDU.
The technical scheme that proposes in the embodiment of the invention can be used under the situation of the high processing complexity of LTE-A system high transfer rate, can save the real-time processing expenditure of RLC, thereby shorten the real-time processing time, satisfies the high-rate service transmission requirements.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.