Summary of the invention
Technical problem solved by the invention has been to provide a kind of data receiving and transmitting processing method and equipment 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:
At the PDCP layer PDCP SDU is carried out cascade after the head compression;
After the PDCP SDU after the cascade is encrypted, form PDCP PDU, and be sent to rlc layer;
After receiving the transformat indication that the MAC layer sends, at rlc layer RLC SDU is processed formation RLC PDU and transmission.
Preferably, cascade is specially:
PDCP SDU to the equal length of continuous appearance carries out cascade, and in the number of PDCP PDU head indication cascade;
Or, the PDCP SDU of the regular length of continuous appearance is carried out cascade, the number of cascade is disposed by high level;
Or, based on algorithm or the high-rise byte number that disposes PDCP SDU is carried out cascade, and in the length of PDCPPDU head indication except each the PDCP SDU last.
Preferably, when the number of PDCP PDU head indication cascade, in the reservation territory of PDCP PDU head indication cascade number.
Preferably, in PDCP PDU head indication during except the length of each the PDCP SDU last, increase at PDCP PDU head and to indicate the territory in order to indicate the length except each PDCPSDU last.
A kind of method for receiving and processing data of data link layer also is provided in the embodiment of the invention, has comprised the steps:
Receive the RLC PDU that the MAC layer sends;
At rlc layer RLC PDU is processed formation RLC SDU;
At the PDCP layer PDCP PDU is decrypted;
From PDCP PDU, identify PDCP SDU.
Preferably, from PDCP PDU, identify PDCP SDU, be specially:
Cascade number according to the indication of PDCP PDU head identifies PDCP SDU from PDCP PDU;
Or the cascade number that disposes according to high level identifies PDCP SDU from PDCP PDU;
Or the length except each the PDCP SDU last of indicating according to PDCP PDU head identifies PDCP SDU from PDCP PDU.
Preferably, according to the cascade number identification of PDCP PDU head indication the time, determine the cascade number according to the indication in the reservation territory of PDCP PDU head.
Preferably, according to PDCP PDU head indication except the length identification of each the PDCP SDU last time, according to the definite length except each the PDCP PDU last of indication in the indication territory of PDCP PDU head increase.
A kind of data sending processing equipment of data link layer also is provided in the embodiment of the invention, has comprised:
Cascade module is used at the PDCP layer PDCP SDU being carried out cascade after the head compression;
The first sending module is used for forming PDCP PDU after the PDCP SDU after the cascade is encrypted, and is sent to rlc layer;
The second sending module is used for after receiving the transformat indication that the MAC layer sends, and at rlc layer RLC SDU is processed formation RLC PDU and also sends.
Preferably, described cascade module comprises one of first order receipts or other documents in duplicate unit, second level receipts or other documents in duplicate unit, third level receipts or other documents in duplicate unit or its combination, wherein:
First order receipts or other documents in duplicate unit is used for the PDCP SDU of the equal length of continuous appearance is carried out cascade, and in the number of PDCP PDU head indication cascade;
Receipts or other documents in duplicate unit in the second level is used for the PDCP SDU of the regular length of continuous appearance is carried out cascade, and the number of cascade is disposed by high level;
Third level receipts or other documents in duplicate unit is used for based on the byte number of algorithm or high-rise configuration PDCP SDU being carried out cascade, and in the length of PDCP PDU head indication except each the PDCP SDU last.
Preferably, described first order receipts or other documents in duplicate unit is further used for when the number of PDCP PDU head indication cascade, in the number of the reservation territory of PDCP PDU head indication cascade.
Preferably, described third level receipts or other documents in duplicate unit is further used in the indication of PDCP PDU head during except the length of each the PDCP SDU last, increases at PDCP PDU head and indicates the territory in order to indicate the length except each the PDCP SDU last.
A kind of data receiver treatment facility of data link layer is provided again in the embodiment of the invention, has comprised:
Receiver module is used for receiving the RLC PDU that the MAC layer sends;
Processing module is used at rlc layer RLC PDU being processed formation RLC SDU;
Deciphering module is used at the PDCP layer PDCP PDU being decrypted;
Identification module is used for identifying PDCP SDU from PDCP PDU.
Preferably, described identification module comprises one of the first recognition unit, the second recognition unit, the 3rd recognition unit or its combination, wherein:
The first recognition unit is used for identifying PDCP SDU according to the cascade number of PDCP PDU head indication from PDCP PDU;
The second recognition unit is used for identifying PDCP SDU according to the cascade number of high level configuration from PDCP PDU;
The 3rd recognition unit is used for identifying PDCP SDU according to the length except each the PDCP SDU last of PDCP PDU head indication from PDCP PDU.
Preferably, described the first recognition unit is further used for according to the cascade number identification of PDCP PDU head indication the time, determines the cascade number according to the indication in the reservation territory of PDCP PDU head.
Preferably, described the 3rd recognition unit be further used for according to PDCP PDU head indication except the length of each the PDCP SDU last time, according to the definite length except each the PDCP SDU last of indication in the indication territory of PDCP PDU head increase.
Beneficial effect of the present invention is as follows:
In the invention process process, in the processing procedure of PDCP layer, PDCP SDU is being carried out cascade after the head compression; After the PDCP SDU after the cascade is encrypted, form PDCP PDU, and be sent to rlc layer; Like this after receiving the transformat indication that the MAC layer sends, at rlc layer RLC SDU being processed formation RLC PDU just sends, as seen, owing to carried out in advance certain cascade at the PDCP layer, therefore can reduce the processing pressure that rlc layer carries out cascade in real time, alleviated the processing expenditure of rlc layer, thereby can save the real-time processing expenditure of RLC, shortened the real-time processing time, this is anticipated can be constantly a lot of in giving out a contract for a project in advance, or even when just having received packet from high level, just anticipate and be placed in the buffer memory.And refer to that in real time the indication of giving out a contract for a project of MAC layer arrives, and can send package well in the very short time.So the scheme in the embodiment of the invention can satisfy the demand of high-rate service transmission, also can expire the high requirement of 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 to support at least ITU-R (ITU-Radio communications sector, 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, a kind of processing scheme of carrying out cascade at the PDCP layer that can be adapted at least the LTE-A system will be provided in the embodiment of the invention, when large rate business, carry out cascade after some PDCPSDU are finished head compression, after finishing, encryption is sent to rlc layer, after receiving that the MAC layer sends the form indication, rlc layer carries out associative operation formation RLCPDU according to normal flow to RLC SDU and sends.This scheme can satisfy the requirement for the treatment of effeciency in the situation of the high processing of peak value speed complexity, finish the high rate data transmission of LTE-A.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described.
Fig. 3 is the data sending processing method implementing procedure schematic diagram of data link layer, as shown in the figure, in the transmission processing process, can comprise the steps:
Step 301, at the PDCP layer PDCP SDU is carried out cascade after head compression;
Step 302, after the PDCP SDU after the cascade is encrypted, form PDCPPDU, and be sent to rlc layer;
Step 303, after receiving the transformat indication that the MAC layer sends, at rlc layer RLC SDU is processed to form RLC PDU and send.
Wherein, PDCP PDU just is equivalent to RLC SDU, need not pass through any processing.
Accordingly, also provide the method for receiving and processing data of data link layer in the embodiment of the invention, the below describes.
Fig. 4 is the method for receiving and processing data implementing procedure schematic diagram of data link layer, as shown in the figure, when carrying out reception ﹠ disposal, can comprise the steps:
The RLC PDU that step 401, reception MAC layer send;
Step 402, at rlc layer RLC PDU is processed and to form RLC SDU;
Step 403, at the PDCP layer PDCP PDU is decrypted;
Step 404, from PDCP PDU, identify PDCP SDU.
The below will describe the embodiment of step 301, step 405.Because transmission processing and reception ﹠ disposal are the processes that adapts in the embodiment of the invention, therefore, in the execution mode explanation below, for the ease of understanding on the whole embodiments of the present invention, to can not be respectively describe from the mode of transmission processing, reception ﹠ disposal, but unified describing, obviously, this does not also mean that the present invention must carry out simultaneously send and receive and process.
When the cascade of execution in step 301, can be with following three kinds of modes:
The 1st kind, the PDCP SDU of the equal length of continuous appearance is carried out cascade, and in the number of PDCP PDU head indication cascade.
Under this mode, can be when the number of PDCP PDU head indication cascade, in the number of the reservation territory of PDCP PDU head indication cascade.
The 2nd kind, the PDCP SDU of the regular length of continuous appearance is carried out cascade, the number of cascade is disposed by high level.
The 3rd kind, based on the byte number of algorithm or high-rise configuration PDCP SDU is carried out cascade, and in the length of PDCP PDU head indication except each the PDCP SDU last.
Under this mode, can PDCP PDU head indication except the length of each DPCPSDU last time, increase at PDCP PDU head and to indicate the territory in order to indicate the length except each the PDCP SDU last.
Wherein, need to comprise the Length Indication of each DPCP SDU in the head indication, but last DPCP SDU need not comprise.
Accordingly, in the data receiver of data link layer is processed, execution in step 405 from PDCP PDU, identify PDCP SDU the time, three kinds of modes are also arranged accordingly:
The 1st kind, from PDCP PDU, identify PDCPSDU according to the cascade number of PDCP PDU head indication.
Under this mode, can be according to the cascade number identification of PDCP PDU head indication the time, determine the cascade number according to the indication in the reservation territory of PDCPPDU head.
The 2nd kind, from PDCP PDU, identify PDCP SDU according to the cascade number of high level configuration.
The 3rd kind, from PDCP PDU, identify PDCP SDU according to the length except each the PDCP SDU last of PDCP PDU head indication.
Under this mode, can according to PDCP PDU head indication except the length of each the PDCP SDU last time, determine after the cascade length except each the PDCP SDU last according to the indication in the indication territory of PDCP PDU head increase.
For the specific embodiment of the present invention better is described, the below describes with instantiation.
Embodiment one
Fig. 5 is PDCP cascade schematic diagram among the embodiment one, and present embodiment carries out cascade in order to the PDCP SDU to the equal length of continuous appearance to be described under the 1st kind of mode when sending, in the number of PDCP PDU head indication cascade; And when receiving, from PDCPPDU, identify the execution mode of PDCP SDU according to the cascade number of PDCP PDU head indication.
Before the MAC layer sends transformat indication arrival, after PDCP finishes the head compression of a certain amount of PDCP SDU, PDCP SDU is carried out suitable cascade, the rule of cascade PDCP SDU can take only the equal length PDCP SDU of continuous appearance to be carried out the cascade of variable number, in the enforcement, can in head construction, utilize reservation bit position 3bit to indicate as cascade number (Num), can represent not cascade with 000 in the implementation, 001 packet of two equal length that represented cascade, by that analogy.Packet after the cascade is unified to be encrypted, and finally forms PDCP PDU and is sent to rlc layer.Then, rlc layer is after the MAC layer sends form indication arrival, and the RLC PDU size according to actual needs sends according to existing procedure group bag again.
As seen from the figure, the PDCP PDU after the cascade comprises a plurality of PDCP SDU and has comprised the Num indication information at head.Transmitting terminal carries out cascade to the SDU of equal length, and the number of cascade PDCP SDU is inserted the Num territory, and other head construction is organized according to existing procedure.At receiving terminal, read the Num territory after, the loading section of namely knowing PDCP PDU is the cascade of several equal length PDCP SDU, according to total length/Num each PDCP SDU is intercepted to get final product.In the implementation, for the change of PDCPPDU head construction can be: 3bit is kept the territory as the Num territory, indication cascade PDCP SDU number.
Embodiment two
Fig. 6 is PDCP cascade schematic diagram among the embodiment two, and present embodiment carries out cascade in order to the PDCP SDU to the regular length of continuous appearance to be described under the 2nd kind of mode when sending, and the number of cascade is disposed by high level; And when receiving, from PDCP PDU, identify the execution mode of PDCP SDU according to the cascade number of high level configuration.
Before the MAC layer sends transformat indication arrival, after PDCP finishes the head compression of a certain amount of PDCP SDU, PDCP SDU is carried out suitable cascade, the rule of cascade PDCP SDU can be taked only the PDCP SDU length of frequent appearance to be carried out the cascade of configurable number, the PDCPSDU of irregular length does not carry out cascade, under this mode, need not to increase the Length Indication territory in the head construction, packet after the cascade is unified to be encrypted, and finally forms PDCP PDU and is sent to rlc layer.Rlc layer after the MAC layer sends the form indication and arrives, again according to the RLC PDU size of actual needs according to existing procedure group bag.
As seen from the figure, PDCP PDU after the cascade comprises a plurality of PDCP SDU, but do not change at head, the transmitting terminal of example carries out the cascade of the individual bag of continuous 4 (being determined by high level configuration or algorithm) among the figure to the PDCP SDU (for example modal 1500bytes) of length-specific.Because can be by high-rise configuration or preset algorithm, so receiving terminal be known for the length of cascade PDCP SDU and/or the number of cascade, the loading section of PDCP PDU carried out suitable fractionation can obtain each PDCPSDU.PDCP PDU head construction is not needed to add new indication territory.
Embodiment three
Fig. 7 is PDCP cascade schematic diagram among the embodiment three, present embodiment can carry out cascade in order to illustrate under the 3rd kind of mode when sending based on the byte number of algorithm or high-rise configuration to PDCP SDU cascade, and in the length except each the PDCP SDU last of PDCP PDU head indication; And from PDCP PDU, identify the execution mode of PDCP SDU according to the indication of PDCP PDU head when receiving except the length of each the PDCP SDU last.
Before the MAC layer sends transformat indication arrival, after PDCP finishes the head compression of a certain amount of PDCP SDU, PDCP SDU is carried out suitable cascade, the length of cascade PDCP SDU is determined by high level configuration or algorithm, need to increase the Length Indication territory in the head construction, packet after the cascade is unified to be encrypted, and finally forms PDCP PDU and is sent to rlc layer.Rlc layer after the MAC layer sends the form indication and arrives, again according to the RLC PDU size of actual needs according to existing procedure group bag.
As seen from the figure, the PDCP PDU after the cascade comprises a plurality of PDCP SDU and has comprised the LI+E indication information at head.Transmitting terminal is the upper limit according to the maximum cascade length of configuration, and PDCP SDU is carried out cascade, and adds the indication territory of corresponding LI+E in header structure, indicates the length of other each PDCP SDU except last PDCPSDU.Read each LI at receiving terminal and can solve corresponding each PDCP SDU.Impact on PDCP PDU head construction is the indication that needs to add LI+E.
Based on same inventive concept, the data receiver treatment facility of a kind of data sending processing equipment of data link layer, a kind of data link layer also is provided in the embodiment of the invention, because the principle that these equipment are dealt with problems is similar to the method for receiving and processing data of a kind of data sending processing method of data link layer, a kind of data link layer, therefore the enforcement of these equipment can referring to the enforcement of method, repeat part and not give unnecessary details.
Fig. 8 is the data sending processing device structure schematic diagram of data link layer, as shown in the figure, can comprise in the transmission processing equipment:
Cascade module 801 is used at the PDCP layer PDCP SDU being carried out cascade after the head compression;
The first sending module 802 is used for forming PDCPPDU after the PDCP SDU after the cascade is encrypted, and is sent to rlc layer;
The second sending module 803 is used for after receiving the transformat indication that the MAC layer sends, and at rlc layer RLC SDU is processed formation RLC PDU and also sends.
In the enforcement, at first cascade module 801 is carried out cascade with PDCP SDU at the PDCP layer after the head compression; Then the first sending module 802 forms PDCP PDU after the PDCP SDU after the cascade is encrypted, and is sent to rlc layer; After receiving the transformat indication that the MAC layer sends, the second sending module 803 is processed RLC SDU at rlc layer and is formed RLC PDU and transmission.
In the enforcement, cascade module can comprise one of first order receipts or other documents in duplicate unit, second level receipts or other documents in duplicate unit, third level receipts or other documents in duplicate unit or its combination, wherein:
First order receipts or other documents in duplicate unit is used for the PDCP SDU of the equal length of continuous appearance is carried out cascade, and in the number of PDCP PDU head indication cascade;
Receipts or other documents in duplicate unit in the second level is used for the PDCP SDU of the regular length of continuous appearance is carried out cascade, and the number of cascade is disposed by high level;
Third level receipts or other documents in duplicate unit is used for based on the byte number of algorithm or high-rise configuration PDCP SDU being carried out cascade, and in the length of PDCP PDU head indication except each the PDCP SDU last.
First order receipts or other documents in duplicate unit can be further used for when the number of PDCP PDU head indication cascade, in the number of the reservation territory of PDCP PDU head indication cascade in the enforcement.
Third level receipts or other documents in duplicate unit can be further used in PDCP PDU head indication during except the length of each the PDCP SDU last, increases at PDCP PDU head and indicates the territory in order to indicate the length except each the PDCP SDU last.
Fig. 9 is the data receiver treatment facility structural representation of data link layer, as shown in the figure, can comprise in the receiving equipment:
Receiver module 901 is used for receiving the RLC PDU that the MAC layer sends;
Processing module 902 is used at rlc layer RLC PDU being processed formation RLC SDU;
Deciphering module 903 is used at the PDCP layer PDCP PDU being decrypted;
Identification module 904 is used for identifying PDCP SDU from PDCP PDU.
In the enforcement, after receiver module 901 received the RLC PDU that the MAC layer sends, processing module 902 was processed RLC PDU at rlc layer and is formed RLC SDU; Then deciphering module 903 is decrypted PDCP PDU at the PDCP layer; At last, identification module 904 identifies PDCPSDU from PDCP PDU.
In the enforcement, identification module can comprise one of the first recognition unit, the second recognition unit, the 3rd recognition unit or its combination, wherein:
The first recognition unit is used for identifying PDCP SDU according to the cascade number of PDCP PDU head indication from PDCP PDU;
The second recognition unit is used for identifying PDCP SDU according to the cascade number of high level configuration from PDCP PDU;
The 3rd recognition unit is used for identifying PDCP SDU according to the length except each the PDCP SDU last of PDCP PDU head indication from PDCP PDU.
In the enforcement, the first recognition unit can be further used for according to the cascade number identification of PDCP PDU head indication the time, determines the cascade number according to the indication in the reservation territory of PDCP PDU head.
The 3rd recognition unit can be further used for according to PDCP PDU head indication except the length identification of each the PDCP SDU last time, according to the definite length except each the PDCP SDU last of indication in the indication territory of PDCP PDU head increase.
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 enforcement is of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
In summary, in the invention process, PDCP carries out a squeeze operation to a certain amount of PDCP SDU in advance, carry out afterwards cascade operation, to operations such as the unified distribution SN (SequenceNumber, sequence number) of the data block after the cascade and encryptions, be sent to rlc layer behind the formation PDCP PDU again, when treating that the MAC layer is sent the indication of transmission form, rlc layer forms final RLC PDU according to existing procedure and can send.
Further, can be only during PDCP SDU cascade the PDCPSDU of the equal length of continuous appearance be carried out, the number of cascade PDCP SDU is variable, indication gets final product as the cascade number only to need to utilize the reservation territory that has now in the PDCP head construction in this Cascading Methods, for example: keep the territory with 3bit and indicate, can use 000 to represent not cascade, the 001 PDCP SDU etc. of two equal length that represented cascade, by that analogy;
Perhaps, can also be only during PDCP SDU cascade the PDCP SDU of the regular length of continuous appearance be carried out, the number of cascade PDCP SDU is disposed by high level, does not need to introduce extra head indication in this concatenated schemes;
Perhaps, also can carry out based on the byte number of algorithm or high-rise configuration during PDCP SDU cascade, being no more than in the situation of this byte number, in order PDCP SDU is carried out cascade, only need to introduce extra head length indication in this Cascading Methods and get final product.
Propose to such an extent that technical scheme can be used in the situation of the high processing of LTE-A system high transfer rate complexity in the embodiment of the invention, can save the real-time processing expenditure of RLC, thereby shorten the real-time processing time, satisfy the demand of high-rate service transmission.
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 complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in 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.
The present invention is that reference is described according to 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 producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being 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 energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces 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, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be 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 in the instruction that computer or other programmable devices are carried out.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising 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, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.