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;
PDCP SDU after the cascade is being encrypted back formation PDCP PDU, and be sent to rlc layer;
After receiving the transformat indication that the MAC layer sends, RLC SDU is handled formation RLC PDU and transmission at rlc layer.
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 that 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, when PDCP PDU head indication removes the length of each the PDCP SDU last, increase at PDCP PDU head and to indicate the territory in order to indicate length except that 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 handled 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 that 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 remove the length identification of each the PDCP SDU last time, according to the definite length of indication in the indication territory of PDCP PDU head increase except that each the PDCP PDU last.
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;
First sending module is used for the PDCP SDU after the cascade being encrypted back formation PDCP PDU, and is sent to rlc layer;
Second sending module is used for after receiving the transformat indication that the MAC layer sends, and RLC SDU is handled forming RLC PDU and transmission at rlc layer.
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;
Second level receipts or other documents in duplicate unit 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 that 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 for when the indication of PDCP PDU head removes the length of each the PDCP SDU last, increases at PDCP PDU head and indicates the territory in order to indicate the length except that each the PDCP SDU last.
A kind of Data Receiving treatment facility of data link layer is provided again in the embodiment of the invention, has comprised:
Receiver module is used to receive the RLC PDU that the MAC layer sends;
Processing module is used at rlc layer RLC PDU being handled 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 first recognition unit, second recognition unit, the 3rd recognition unit or its combination, wherein:
First recognition unit is used for identifying PDCP SDU according to the cascade number of PDCP PDU head indication from PDCP PDU;
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 that each the PDCP SDU last of PDCP PDU head indication from PDCP PDU.
Preferably, described 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 remove the length of each the PDCP SDU last time, according to the definite length of indication in the indication territory of PDCP PDU head increase except that each the PDCP SDU last.
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; PDCP SDU after the cascade is being encrypted back formation 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 handled formation RLC PDU just sends, as seen, owing to carried out certain cascade in advance 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 a lot of constantly in giving out a contract for a project in advance, or even just when high level is received packet, just anticipate and be placed in the buffer memory.And be meant 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 high-rate service transmission requirements, also can expire the high requirement of handling 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, a kind of processing scheme of carrying out cascade at the PDCP layer that can be adapted to the LTE-A system at least will be provided in the embodiment of the invention, when big rate business, carry out cascade after some PDCPSDU are finished head compression, after finishing, encryption is sent to rlc layer, after waiting to receive 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 of treatment effeciency under 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 sending processing procedure, can comprise the steps:
Step 301, PDCP SDU is carried out cascade after head compression at the PDCP layer;
Step 302, form PDCPPDU the PDCP SDU after the cascade being encrypted the back, and be sent to rlc layer;
Step 303, after receiving the transformat indication that the MAC layer sends, at rlc layer RLC SDU is handled 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, described below.
Fig. 4 is the method for receiving and processing data implementing procedure schematic diagram of data link layer, as shown in the figure, when receiving processing, can comprise the steps:
The RLC PDU that step 401, reception MAC layer send;
Step 402, at rlc layer RLC PDU is handled and to form RLC SDU;
Step 403, PDCP PDU is decrypted at the PDCP layer;
Step 404, from PDCP PDU, identify PDCP SDU.
To the embodiment of step 301, step 405 be described 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 embodiments 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 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 that each the PDCP SDU last.
Under this mode, can PDCP PDU head indication remove the length of each the DPCP SDU last time, increase at PDCP PDU head and to indicate the territory in order to indicate length except that 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 Receiving of data link layer is handled, 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 PDCP SDU according to the cascade number of PDCP PDU head indication.
Under this mode, can be the time according to the cascade number identification of PDCP PDU head indication, determine the cascade number according to the indication in the reservation territory of PDCP PDU 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 that each the PDCP SDU last of PDCP PDU head indication.
Under this mode, can according to PDCP PDU head indication remove the length of each the PDCP SDU last time, determine after the cascade length according to the indication in the indication territory of PDCP PDU head increase except that each the PDCP SDU last.
The specific embodiment of the present invention describe below with instantiation for better illustrating.
Embodiment one
Fig. 5 is a 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 PDCP PDU, 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 concrete the enforcement, 001 packet of two equal length of having 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, after rlc layer treated that the MAC layer sends form indication arrival, the RLC PDU size according to actual needs sent 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 promptly 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 concrete the enforcement, 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 a 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 non-regular 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.After rlc layer treats that 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 (by high level configuration or algorithm decisions) 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 PDCP SDU.PDCP PDU head construction is not needed to add new indication territory.
Embodiment three
Fig. 7 is a 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 that each the PDCP SDU last of PDCP PDU head indication; And from PDCP PDU, identify the execution mode of PDCP SDU except that the length of each the PDCP SDU last according to the indication of PDCP PDU head when receiving.
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 by high level configuration or algorithm decision, 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.After rlc layer treats that 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.Influence to PDCP PDU head construction is the indication that needs to add LI+E.
Based on same inventive concept, the Data Receiving 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 repeat part and not give unnecessary details referring to the enforcement of method.
Fig. 8 is the data sending processing device structure schematic diagram of data link layer, as shown in the figure, sends in the treatment facility and can comprise:
Cascade module 801 is used at the PDCP layer PDCP SDU being carried out cascade after the head compression;
First sending module 802 is used for the PDCP SDU after the cascade being encrypted back formation PDCP PDU, and is sent to rlc layer;
Second sending module 803 is used for after receiving the transformat indication that the MAC layer sends, and RLC SDU is handled forming RLC PDU and transmission at rlc layer.
In the enforcement, at first cascade module 801 is carried out cascade with PDCP SDU at the PDCP layer after the head compression; First sending module 802 is being encrypted back formation PDCP PDU to the PDCP SDU after the cascade then, and is sent to rlc layer; After receiving the transformat indication that the MAC layer sends, second sending module 803 is handled 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;
Second level receipts or other documents in duplicate unit 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 that 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 for when PDCP PDU head indication removes the length of each the PDCP SDU last, increases at PDCP PDU head and indicates the territory in order to indicate the length except that each the PDCP SDU last.
Fig. 9 is the Data Receiving treatment facility structural representation of data link layer, as shown in the figure, can comprise in the receiving equipment:
Receiver module 901 is used to receive the RLC PDU that the MAC layer sends;
Processing module 902 is used at rlc layer RLC PDU being handled 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 handled RLC PDU at rlc layer and is formed RLC SDU; Deciphering module 903 is decrypted PDCP PDU at the PDCP layer then; At last, identification module 904 identifies PDCP SDU from PDCP PDU.
In the enforcement, identification module can comprise one of first recognition unit, second recognition unit, the 3rd recognition unit or its combination, wherein:
First recognition unit is used for identifying PDCP SDU according to the cascade number of PDCP PDU head indication from PDCP PDU;
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 that each the PDCP SDU last of PDCP PDU head indication from PDCP PDU.
In the enforcement, 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 remove the length identification of each the PDCP SDU last time, according to the definite length of indication in the indication territory of PDCP PDU head increase except that each the PDCP SDU last.
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 cascade operation afterwards, to operations such as unified distribution SN (Sequence Number, 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: use 3bit to keep the territory 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 during PDCP SDU cascade,, in order PDCP SDU is carried out cascade, only need to introduce extra head length indication in this Cascading Methods and get final product being no more than under the situation of this byte number based on the byte number of algorithm or high-rise configuration.
Propose to such an extent that technical scheme can be used under 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 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 complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up 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 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 by 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 energy 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 carrying out on computer or other programmable devices 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 creative notion 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.