Background technology
At LTE (Long Term Evolution; Long Term Evolution) eat dishes without rice or wine the layer two agreement in; PDCP (Packet Data Convergence Protocol has been described; Packet data convergence protocol) the data-bag interacting operation between sublayer and RLC (Radio Link Control, the Radio Link control) sublayer, and listed transmission buffering area and retransmission buffer that transmitter side exists in the RLC entity block diagram in rlc protocol.
In the agreement TS36.323 of LTE PDCP sublayer, transmission and re-transmission for PDCP PDU have following regulation:
For the PDCP SDU that receives from high level (Service Data Units, service data unit), the PDCP sublayer is at related SN (Sequence Number; Sequence number); Executive Head compression (if disposing) is carried out integrity protection (if disposing) and is encrypted (if disposing), after the update mode variable; The corresponding PDCP PDU (Protocol Data Unit, protocol Data Unit) that generates is submitted to the RLC sublayer.
UE (User Equipment; Subscriber's installation) side is at switching, RRC (Radio Resource Control; Radio Resource control) connection reconstruction, and it is upright to carry out the PDCP reconstruction in the processes such as RRC connection first time reprovision after the RRC connection reconstruction, is rebuilding immediately; Distinguish following three kinds of situation, carry out corresponding operation:
(1) is mapped to the DRB (Data Radio Bearer, Data Radio Bearer) of RLC AM pattern
If disposed the head compression, a compression protocol of the up link that then resets;
Bring into use and rebuild AES and the key that disposes by high level in the upright process;
Begin from first PDCP SDU that does not receive RLC sublayer success acknowledge, by COUNT value ascending order retransmit or transmit all rebuild upright before association the PDCP SDU of PDCP SN.If disposed head compression, then each is waited the PDCP SDU Executive Head compression that retransmits or transmit; Each is waited to retransmit or the PDCP SDU that transmits carries out and encrypts.The corresponding PDCP PDU that processing is obtained is submitted to the RLC sublayer and transmits.
(2) be mapped to the DRB of RLC UM pattern
If disposed the head compression, a compression protocol of the up link that then resets;
Next_PDCP_TX_SN and TX_HFN are set to 0, the COUNT state of value before promptly removing;
Bring into use and rebuild AES and the key that disposes by high level in the upright process;
For each related PDCP SN but go back the PDCP SDU that no delivery attempted is given the transmission of RLC sublayer, carry out the transmission operation by COUNT value ascending order: compress if disposed head, then each PDCP SDU Executive Head is compressed; Each PDCP SDU is carried out encryption; The corresponding PDCP PDU that processing is obtained is submitted to the RLC sublayer and transmits.
(3) SRB (Signaling Radio Bearer, Signaling Radio Bearer)
Next_PDCP_TX_SN and TX_HFN are set to 0, the COUNT state of value before promptly removing;
Abandon that all have PDCP SDU waiting for transmission and PDCP PDU in the buffering area;
Bring into use and rebuild encryption and protection algorithm integrallty and the corresponding key that disposes by high level in the upright process.
In LTE eats dishes without rice or wine total protocol TS36.300, for changeing before the packet, and the PDCP PDU of target eNB transmission, following regulation is arranged:
In handoff procedure, source eNB (evolved Node B, evolved base station) can change the PDCP SDU of down direction before target eNB, the PDCP SDU scope of preceding commentaries on classics and UE side in rebuilding upright process, retransmit or the PDCP SDU scope of transmission consistent; At down direction, the PDCP SDU that has changeed before target eNB has been transmitted earlier transmits the PDCP SDU from Serving GW (gateway) again.
In the agreement TS36.322 of LTE RLC sublayer, the operation for transmitter side PDCP PDU (RLC SDU) has following regulation:
Send the TM entity, send UM entity and AM entity transmitter side existence transmission buffering area, be used to store RLC SDU from the PDCP sublayer; When receiving that the PDCP sublayer abandons the indication of certain RLC SDU, only when this RLC SDU did not also begin to transmit, perhaps send UM RLC entity abandoned this RLC SDU to the transmitter side of AM RLC entity.
This shows; Though stipulated the associative operation of submitting of PDCP PDU between PDCP sublayer and the RLC sublayer (RLC SDU) at present; And confirm that buffering area is sent in existence in the RLC sublayer, but the concrete implementation of the transfer of data between PDCP sublayer and the RLC sublayer is not stipulated.
Embodiment
Prior art has been stipulated the associative operation of submitting of PDCP PDU between PDCP sublayer and the RLC sublayer (RLC SDU); And confirm that buffering area is sent in existence in the RLC sublayer; But do not stipulate what PDCP PDU (RLC SDU) specifically constantly be delivered to the RLC sublayer from the PDCP sublayer at; And how PDCP sublayer and RLC sublayer to plan the transmission buffering area at transmitter side, and promptly whether the PDCP sublayer exists the transmission buffering area, and the data cached scope in PDCP sublayer and RLC sublayer.The embodiment of the invention provides the data transmission mechanism that is applied between PDCP sublayer and RLC sublayer in order to address the above problem.
Be described in detail in the face of the embodiment of the invention down.
In following examples of the present invention, the functional module that will belong to PDCP sublayer and execution PDCP sublayer relevant treatment is called the PDCP entity, and the functional module that will belong to RLC sublayer and execution RLC sublayer relevant treatment is called the RLC entity.
The moment so that PDCP PDU is submitted to the RLC sublayer in the PDCP sublayer is distinguished, and the embodiment of the invention provides following two kinds of implementations:
Scheme (one): the PDCP entity directly carries on an agreement and goes up predetermined process behind the PDCP SDU that receives from high-rise (rrc layer or IP layer), and the corresponding PDCP PDU that obtains is submitted to the RLC sublayer;
Scheme (two): the PDCP entity is behind the PDCP SDU that receives from high-rise (rrc layer or IP layer); Leaving PDCP SDU in its PDCP sublayer of safeguarding sends in the buffering area; After the RLC SDU request of receiving from the RLC sublayer; Again the PDCP SDU in definite scope is carried on an agreement and go up predetermined process, the corresponding PDCP PDU that obtains is submitted to the RLC entity.
When the PDCP entity adopts such scheme () to RLC entity transmission data; The RLC entity is being received (the Media Access Control from MAC; The medium access control) after the transmission opportunity of the sublayer notice; Directly send the RLC SDU assembling RLC PDU in the buffering area, and be handed down to media access control sublayer based on its RLC sublayer of safeguarding.Its complete process flow can be as shown in Figure 1, may further comprise the steps:
Step 101, the PDCP entity receives the PDCP SDU from high-rise (rrc layer or IP layer).
Step 102, PDCP entity obtain corresponding PDCP PDU according to the PDCP SDU that protocol processes receives.
The PDCP PDU that step 103, PDCP entity obtain after with protocol processes is submitted to the RLC entity.
Step 104, the RLC entity is stored in the RLC SDU that receives (being PDCP PDU) in the transmission buffering area of RLC sublayer.
So far, accomplished the process that the PDCP entity is transferred to PDCP PDU RLC sublayer buffering area.When the MAC entity carried out data dispatch (like the MAC entity of eNB side) or carry out priority of logical channels processing (like the MAC entity of UE side), this flow process also can may further comprise the steps:
The notice of transmission opportunity is sent according to scheduling result or result in step 105 ~ 106, MAC entity to the RLC entity.
Step 107 ~ 108, the RLC entity sends the RLC SDU assembling RLC PDU in the buffering area based on the RLC sublayer, and the RLC PDU after will assembling is delivered to the MAC entity.
Further, the transmission buffering area also can have been safeguarded in the PDCP sublayer, when adopting RLC AM pattern, and a transmission buffering area backup of depositing the PDCP sublayer of original PDCP SDU copy that the PDCP entity also will be corresponding with the PDCP PDU that is submitted to the RLC sublayer.The RLC entity also will copy the initial transmission RLC PDU that is submitted to media access control sublayer to the retransmission buffer backup of RLC sublayer; Partly delete when receiving the corresponding RLC PDU or the RLC PDU that back up in retransmission buffer after the data receiver confirms the correct ACK that receives, otherwise be retained in this retransmission buffer.The RLC entity sends confirmation to the PDCP entity after receiving ACK, and PDCP entity deletion PDCP after receiving the affirmation information that the RLC entity sends sends the corresponding PDCP SDU that backs up in the buffering area in the sublayer.
This data passes mode need not consider the SDU to PDCP sublayer request RLC, so handling process is simple when assembling and transmission RLC PDU, processing delay is little.
To the situation that adopts RLC AM pattern in the such scheme (), and to the situation of employing scheme (two), the embodiment of the invention has proposed the eat dishes without rice or wine transmission buffering area deployment scheme of layer two of a kind of LTE, and is as shown in Figure 2.PDCP sublayer and RLC sublayer have been safeguarded the transmission buffering area respectively.The transmission buffering area that safeguard the PDCP sublayer is used to deposit the PDCP SDU that does not submit corresponding PDCP PDU as yet to the RLC sublayer; Under RLC AM pattern; Also can be used for depositing and submit corresponding PDCP PDU to the RLC sublayer, but the RLC sublayer PDCP SDU of its correct transmission unconfirmed also.The transmission buffering area that safeguard the RLC sublayer is used to deposit PDCP PDU (being RLC SDU) or the PDCP PDU fragment of submitting the PDCP sublayer; These RLC SDU or RLC SDU fragment also do not begin to be submitted to media access control sublayer and carry out HARQ (Hybrid Automatic Repeat Request;, mix automatic repeat requests) and transmission.Further, under RLC AM pattern, retransmission buffer has also been safeguarded in the RLC sublayer, is used to deposit sent but confirmed the RLC PDU or the RLC PDU fragment of correct transmission by the opposite end.
Based on above-mentioned transmission buffering area deployment scheme, the PDCP sublayer can realize that UE stresses to set up process, turns over journey before the eNB side data, and submits the process of PDCP PDU to the RLC sublayer as required; The process of RLC PDU can be realized assembling and issuing based on the request of media access control sublayer in the RLC sublayer.
When the PDCP entity adopts such scheme (two) to RLC entity transmission data; The RLC entity is after the transmission opportunity notice of receiving from the MAC entity; When encapsulation RLC PDU,, confirm whether the RLC SDU that sends in the buffering area satisfies the current data volume requirement that issues according to data volume to be issued.If meet the demands, then the RLC entity is directly assembled RLC PDU based on the RLC SDU that sends in the buffering area, and is handed down to the MAC entity.If do not meet the demands, then the RLC entity is to the RLC SDU of the certain data volume of PDCP sublayer request.After receiving the PDCP PDU that the PDCP entity issues (RLC SDU), the RLC entity is put into the transmission buffering area with these RLC SDU, and based on the RLC SDU assembling RLC PDU that sends in the buffering area, is handed down to the MAC entity then.
Wherein, the RLC entity confirms when the RLC SDU data volume that the PDCP entity is asked, dual mode is arranged:
Mode (one): the RLC entity is at every turn to the RLC SDU of PDCP entity requests predetermined amount of data;
Mode (two): the RLC entity is at every turn to the RLC SDU of PDCP entity requests desired data amount.
When employing mode () is confirmed the data volume of RLC SDU; The RLC entity is at every turn to the RLC SDU of PDCP entity requests predetermined amount of data; Its complete process flow is as shown in Figure 3; The PDCP entity leaves PDCP SDU in the transmission buffering area of PDCP sublayer after receiving the PDCP SDU from high-rise (rrc layer or IP layer).When the MAC entity carried out data dispatch (like the MAC entity of eNB side) or carry out priority of logical channels processing (like the MAC entity of UE side), this flow process also can may further comprise the steps:
Step 301 ~ 302, MAC entity are sent the transmission opportunity notice according to scheduling result or result to RLC.
Step 303, RLC entity confirm according to the data volume of sending the corresponding RLC PDU of RLC SDU to be issued in the buffering area whether the RLC SDU that sends buffering area satisfies the current data volume requirement that issues.If satisfy, then the RLC entity is submitted RLC PDU based on the RLC SDU assembling RLC PDU that sends in the buffering area to media access control sublayer, finishes this data transmission and processing flow process then; If do not satisfy, change step 304.
During practical implementation; The RLC entity can be according to the data volume of sending the corresponding RLC PDU of RLC SDU to be issued in the buffering area; And the transmission opportunity notice data volume of being asked, whether judge the former more than or equal to the latter, if; Think that then sending RLC SDU in the buffering area satisfies and currently issue the data volume requirement, otherwise do not meet the demands.
Step 304, the RLC entity is to the RLC SDU of PDCP sublayer request predetermined amount of data.Wherein, the tentation data method for determination of amount has following several kinds:
(1) predetermined amount of data is the buffer size of hardware supports;
(2) predetermined amount of data is the maximum of the media access control sublayer single request data volume of RLC sublayer statistics;
(3) predetermined amount of data is the mean value of the media access control sublayer single request data volume of RLC sublayer statistics;
Step 305 ~ 306, the PDCP entity is determined PDCP PDU data volume that is handed down to the RLC entity and the PDCP PDU that issues this data volume according to the PDCP PDU data volume of PDCP SDU correspondence in the transmission buffering area and the predetermined amount of data that the RLC entity is asked.
During practical implementation, if the data volume of the PDCP PDU of all PDCP SDU correspondences of storing in the transmission buffering area of PDCP sublayer then issues the corresponding PDCP PDU of all PDCP SDU less than this predetermined amount of data; If the data volume of the PDCP PDU that the PDCP SDU that stores in the transmission buffering area of PDCP sublayer is corresponding is not less than this predetermined amount of data; Then the PDCP entity does not exceed under the situation of this predetermined amount of data in the data volume of the PDCP PDU that guarantees to issue, makes the data volume that issues near this predetermined amount of data as far as possible.
Step 307 ~ 309, the RLC entity is put into the transmission buffering area with the PDCP PDU that receives (RLC SDU), and sends the RLC SDU assembling RLC PDU in the buffering area based on the RLC sublayer, and the RLC PDU after the assembling is delivered to the MAC entity.
If the RLC entity finds that after the PDCP PDU that receives (RLC SDU) being put into the transmission buffering area RLC SDU of this transmission buffering area does not still satisfy MAC data quantity transmitted that entity is asked; Then the RLC entity can be once more to the RLC SDU of PDCP entity requests predetermined amount of data; After this handling process can repeat no more at this as stated.
Further, when adopting RLC AM pattern, a transmission buffering area backup of depositing the PDCP sublayer of original PDCP SDU copy that the PDCP entity also will be corresponding with the PDCP PDU that is submitted to the RLC sublayer.The RLC entity also will copy the RLC PDU that is submitted to media access control sublayer to the retransmission buffer backup of RLC sublayer; Partly delete when receiving the corresponding RLC PDU or the RLC PDU that back up in retransmission buffer after the data receiver confirms the correct ACK that receives, otherwise be retained in this retransmission buffer.The RLC entity sends confirmation to the PDCP entity after receiving ACK, and PDCP entity deletion PDCP after receiving the affirmation information that the RLC entity sends sends the corresponding PDCP SDU that backs up in the buffering area in the sublayer.
This data passes mode RLC sublayer possibly remain indivedual RLC SDU or RLC SDU fragment at the RLC SDU that assembles and issue the request of handling basically in the RLC PDU process in sending buffering area, less to the demand of sending buffering area.Generation is rebuild immediately when the PDCP sublayer, and the PDCP SDU that send in the buffering area PDCP sublayer can continue transmission (UE side) or carry out preceding commentaries on classics (eNB side), and the probability of generation data-bag lost is less.
When employing mode (two) is confirmed the data volume of RLC SDU; The RLC entity is at every turn to the RLC SDU of PDCP entity requests desired data amount; Its complete process flow is as shown in Figure 4; The PDCP entity leaves PDCP SDU in the transmission buffering area of PDCP sublayer after receiving the PDCP SDU from high-rise (rrc layer or IP layer).When the MAC entity carried out data dispatch (like the MAC entity of eNB side) or carry out priority of logical channels processing (like the MAC entity of UE side), this flow process also can may further comprise the steps:
Step 401 ~ 402, MAC entity are sent the transmission opportunity notice according to scheduling result or result to RLC.
Step 403, RLC entity confirm according to the data volume of sending the corresponding RLC PDU of RLC SDU to be issued in the buffering area whether the RLC SDU that sends buffering area satisfies the current data volume requirement that issues.If satisfy, then the RLC entity is submitted RLC PDU based on the RLC SDU assembling RLC PDU that sends in the buffering area to media access control sublayer, finishes this data transmission and processing flow process then; If do not satisfy, change step 404.
Step 404, the RLC entity is to the RLC SDU of PDCP entity requests desired data amount.
During practical implementation, the data volume that the RLC entity can be asked the MAC entity with send buffering area in difference between the data volume of the corresponding RLC PDU of current all RLC SDU, as to the RLC of PDCP entity requests SDU data volume.
Step 405 ~ 406, the PDCP entity is determined PDCP PDU data volume that is handed down to the RLC entity and the PDCP PDU that issues this data volume according to the PDCP PDU data volume of PDCP SDU correspondence in the transmission buffering area and the desired data amount that the RLC entity is asked.
During practical implementation, if the data volume of the PDCP PDU of all PDCP SDU correspondences of storing in the transmission buffering area of PDCP sublayer then issues the corresponding PDCP PDU of all PDCP SDU less than this predetermined amount of data; If the data volume of the PDCP PDU that the PDCP SDU that stores in the transmission buffering area of PDCP sublayer is corresponding is not less than this predetermined amount of data; Then the PDCP entity is not less than under the situation of this predetermined amount of data in the data volume of the PDCP PDU that guarantees to issue, makes the data volume that issues near this predetermined amount of data as far as possible.
Step 407 ~ 409, the RLC entity is put into the transmission buffering area with the PDCP PDU that receives (RLC SDU), and sends the RLC SDU assembling RLC PDU in the buffering area based on the RLC sublayer, and the RLC PDU after the assembling is delivered to the MAC entity.
Further, when adopting RLC AM pattern, a transmission buffering area backup of depositing the PDCP sublayer of original PDCP SDU copy that the PDCP entity also will be corresponding with the PDCP PDU that is submitted to the RLC sublayer.The RLC entity also will copy the RLC PDU that is submitted to media access control sublayer to the retransmission buffer backup of RLC sublayer; Partly delete when receiving the corresponding RLC PDU or the RLC PDU that back up in retransmission buffer after the data receiver confirms the correct ACK that receives, otherwise be retained in this retransmission buffer.The RLC entity sends confirmation to the PDCP entity after receiving ACK, and PDCP entity deletion PDCP after receiving the affirmation information that the RLC entity sends sends the corresponding PDCP SDU that backs up in the buffering area in the sublayer.
The advantage of this data passes mode and employing mode () confirm that the data passes mode of data volume of RLC SDU is identical.
Can find out through above flow process; The embodiment of the invention has been filled up the eat dishes without rice or wine blank of the mechanism of transmission data between PDCP sublayer and the RLC sublayer of LTE in the prior art; Guaranteed under the controlled prerequisite of time delay and buffer memory expense, to realize the complete interaction flow between PDCP sublayer and the RLC sublayer.
Based on identical technical conceive, the embodiment of the invention also provides the data transmission device of a kind of PDCP of being applied to entity and RLC inter-entity.
Referring to Fig. 5, be the data transmission device sketch map that is applied to PDCP entity and RLC inter-entity that the embodiment of the invention provides, this device can be applicable to such scheme (); Can be applicable in the network equipment; Also can be applicable in the user side equipment, as shown in the figure, this device can comprise: the PDCP entity (or is claimed the PDCP processing module; As follows) 501, the RLC entity (or claims RLC processing module; As follows) 502, also can comprise the transmission buffer location and the retransmission buffer unit that are positioned at the RLC sublayer, wherein:
PDCP entity 501, be used to receive come from high-rise PDCP SDU after, obtain corresponding PDCP PDU through protocol processes, and said PDCP PDU be transferred to RLC entity 502;
RLC entity 502 is used to receive the PDCP PDU of PDCP entity transmission, and obtains corresponding RLC PDU through protocol processes.
When adopting RLC AM pattern, said apparatus also can comprise PDCP sublayer transmission buffer location 503, is positioned at the PDCP sublayer, is used for buffer memory is confirmed correct transmission by the RLC entity PDCP SDU.
Further, RLC entity 502 can send the RLC SDU assembling RLC PDU in the buffer location according to the RLC sublayer after receiving the transmission opportunity notice of MAC entity, and the RLC PDU of assembling is sent to the MAC entity.
Referring to Fig. 6, be the data transmission device sketch map that is applied to PDCP entity and RLC inter-entity that the embodiment of the invention provides, this device can be applicable to such scheme (two); Can be applicable in the network equipment; Also can be applicable in the user side equipment, as shown in the figure, this device can comprise: buffer location 601, PDCP entity 602, RLC entity 603 are sent in the PDCP sublayer; Also can comprise the transmission buffer location and the retransmission buffer unit that are positioned at the RLC sublayer, wherein:
Buffer location 601 is sent in the PDCP sublayer, is used to store the PDCP SDU that does not transmit corresponding PDCP PDU as yet to the RLC sublayer;
PDCP entity 602, be used to receive come from high-rise PDCP SDU after, leave said PDCP SDU in the PDCP sublayer and send in the buffer location 601; And after the RLC SDU request that receives 602 transmissions of RLC entity, according to said RLC SDU request, the pairing PDCP PDU of PDCP SDU that the PDCP sublayer is sent in the buffer location is transferred to RLC entity 603;
RLC entity 603 is used for sending RLC SDU request to PDCP entity 601; And, receive the PDCP PDU that PDCP entity 601 transmits, further, the PDCP PDU that receives is stored in the RLC sublayer sends in the buffer location.
Be used for asking in said RLC SDU request under the situation of RLC SDU of predetermined amount of data; The pairing PDCP PDU of PDCP SDU data volume in the RLC SDU of the predetermined amount of data that PDCP entity 602 can be asked according to said RLC SDU request and the PDCP sublayer transmission buffer location 601; Confirm to be transferred to the PDCP PDU data volume of RLC entity 603, and the PDCP PDU of corresponding data amount is transferred to RLC entity 603.
Particularly, the size of said predetermined amount of data is: the buffer size of hardware supports; Perhaps, the maximum of the MAC entity single request data volume of RLC sublayer statistics; Perhaps, the mean value of the MAC entity single request data volume of RLC sublayer statistics.
Be used for asking in said RLC SDU request under the situation of RLC SDU of current transmission opportunity desired data amount; The PDCP PDU data volume of the PDCP SDU correspondence in the buffer location is sent in the RLC SDU of the current transmission opportunity desired data amount that PDCP entity 602 can be asked according to said RLC SDU request and PDCP sublayer; Confirm to be transferred to the PDCP PDU data volume of RLC entity 603, and the PDCP PDU of corresponding data amount is transferred to RLC entity 603.
Particularly, RLC entity 603 can receive that the MAC entity sends the transmission opportunity notice after, send said RLC SDU request.
The PDCP sublayer is sent buffer location 601 and also can be used for: when adopting RLC AM pattern, buffer memory is not confirmed the PDCP SDU of correct transmission by the RLC entity.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.