Summary of the invention
Embodiments of the invention provide sending method, system and the device of a kind of MAC PDU, distinguish the data of each terminal and data are sent when the same MAC PDU for the data-reusing of realizing multiple terminals.
Embodiments of the invention provide the sending method of a kind of MAC PDU, comprising:
The MAC layer of transmitting terminal obtains MAC SDU to be sent, and generates MAC CE;
The MAC layer of described transmitting terminal, according to described MAC SDU and described MAC CE, is assembled into MACPDU, carries described MAC SDU and home identity corresponding to described MAC CE in described MAC PDU;
Described MAC PDU is sent to receiving terminal by described transmitting terminal, makes the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
Described home identity comprises the via node mark of described MAC SDU and the affiliated via node of described MAC CE or the terminal iidentification of affiliated terminal.
The MAC layer of described transmitting terminal is assembled into MACPDU according to described MAC SDU and described MAC CE, and the home identity of carrying described MAC SDU and described MAC CE in described MAC PDU comprises:
The MAC layer of described transmitting terminal divides into groups described MAC SDU and described MAC CE according to ownership, same ownership corresponding to described grouping that be attributed to that the MAC SDU in described grouping and MAC CE are corresponding;
The MAC layer of described transmitting terminal generates the MAC head corresponding with described MAC SDU in described grouping and described MACCE, and the home identity of described grouping correspondence is carried in corresponding with described MAC SDU in described grouping and described MAC CE MAC or described MAC CE;
The MAC layer of described transmitting terminal is by described MAC head, and described MAC CE and described MAC SDU are assembled into MAC PDU, carry home identity corresponding to described grouping in described MAC PDU.
The MAC layer of described transmitting terminal generates the MAC head corresponding with described MAC SDU in described grouping and described MACCE, and the home identity of described grouping correspondence is carried at corresponding with described MAC SDU in described grouping and described MAC CE MAC or described MAC CE and comprises:
The MAC layer of described transmitting terminal is according to each MAC SDU and MAC CE in described grouping, generate the multiple MAC heads corresponding with described MAC SDU in described grouping and described MAC CE, home identity corresponding to described grouping is carried in first MAC head in multiple MAC heads corresponding with described grouping, and the reservation bit R in described multiple MAC heads is used to indicate in current MAC head whether carry home identity corresponding to described grouping; Or
The MAC layer of described transmitting terminal is according to each MAC SDU and MAC CE in described grouping, generate corresponding with described MAC SDU in described grouping and described MAC CE multiple MAC and the home identity of described grouping and indicate MAC head, in described home identity instruction MAC head, carry home identity corresponding to described grouping, described home identity instruction MAC head is and described first MAC head dividing into groups in corresponding multiple MAC heads; Or
The MAC layer of described transmitting terminal is according to each MAC SDU and MAC CE in described grouping, generate the MAC head corresponding with described MAC SDU in described grouping and described MAC CE, the home identity MAC CE instruction MAC head of described grouping and the home identity MAC CE corresponding with the home identity MAC CE instruction MAC head of described grouping, MAC of described home identity MAC CE instruction is used to indicate and in described home identity MAC CE, carried home identity corresponding to described grouping, described home identity MAC CE carries in the load part of described MAC PDU, described home identity MACCE instruction MAC head is first MAC head in multiple MAC corresponding with described grouping.
The MAC layer of described receiving terminal judges that according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE the ownership of described MAC SDU and described MAC CE comprises:
The MAC layer of described receiving terminal obtains MAC head described in each according to the described MAC PDU receiving, the MAC SDU of described each MAC head correspondence of judgement or the ownership of MAC CE.
The MAC SDU of described each MAC head correspondence of MAC layer judgement of described receiving terminal or the ownership of MACCE comprise:
When carrying described home identity in described MAC head, the MACSDU that described MAC head is corresponding or MAC CE belong to the indicated ownership of home identity in described MAC head; When not carrying described home identity in described MAC head, the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at a described MAC before nearest MAC indicated ownership of carrying home identity; Or
When described MAC head carries described home identity, described home identity is used to indicate MAC corresponding MAC SDU between this MAC head and next MAC of carrying home identity or the ownership of MAC CE; Otherwise the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at before nearest one of described MAC head corresponding to MAC of described home identity MAC CE indicated ownership; Or
When described MAC head, corresponding MAC CE is described home identity MAC CE, in described home identity MAC CE, obtain described home identity, described home identity is used to indicate MAC corresponding MACSDU between this MAC head and next corresponding home identity MAC CE MAC or the ownership of MAC CE; Otherwise the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at before nearest one of described MAC head corresponding to MAC of described home identity MAC CE indicated ownership.
Also comprise:
The MAC layer of described transmitting terminal adds NUM territory in the MAC head that carries home identity corresponding to described grouping, is used to indicate total number of the interior MAC SDU of described grouping and MAC CE.
In the time adding NUM territory in MAC of home identity corresponding to described grouping head, also comprise:
The MAC layer of described transmitting terminal is placed described home identity instruction MAC head or described home identity MAC CE instruction MAC head continuously in MAC head.
When the MAC of described transmitting terminal layer by described home identity instruction MAC head or described home identity MAC CE instruction MAC head in MAC head when continuous placement, the MAC layer of described receiving terminal obtains the MAC SDU and the MAC CE that belong to same grouping according to described NUM territory.
Embodiments of the invention provide the transmitting system of a kind of MAC PDU, comprising:
Transmitting terminal, the MAC layer of described transmitting terminal is used for obtaining MAC SDU to be sent, and generates MAC CE; The MAC layer of described transmitting terminal, according to described MAC SDU and described MAC CE, is assembled into MAC PDU, carries described MAC SDU and home identity corresponding to described MAC CE in described MAC PDU; Described MAC PDU is sent to receiving terminal by described transmitting terminal, makes the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE;
Receiving terminal, receives the described MAC PDU that described transmitting terminal sends; The MAC layer of described receiving terminal judges the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
Embodiments of the invention provide a kind of dispensing device, comprising:
Acquisition module, for obtaining MAC SDU to be sent, and generates MAC CE;
Generation module, for the described MAC SDU and the described MACCE that obtain according to described acquisition module, is assembled into MAC PDU, carries described MAC SDU and home identity corresponding to described MACCE in described MAC PDU;
Sending module, send to receiving terminal for the described MAC PDU that described generation module is generated, make the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
Described home identity comprises the via node mark of described MAC SDU and the affiliated via node of described MAC CE or the terminal iidentification of affiliated terminal.
Described generation module comprises:
Grouping submodule, divides into groups according to ownership for described MAC SDU and described MAC CE that described acquisition module is obtained, same ownership corresponding to described grouping that be attributed to that the MAC SDU in described grouping and MAC CE are corresponding;
Carry submodule, for generating described MACSDU and the MAC head corresponding to described MAC CE of the described grouping of obtaining with described grouping submodule, the home identity of described grouping correspondence is carried in corresponding with described MAC SDU in described grouping and described MAC CE MAC or described MACCE;
Generate submodule, for the described MAC head obtaining according to described grouping submodule, described MACCE and described MAC SDU are assembled into MAC PDU, carry the described corresponding home identity of dividing into groups described in several in described MAC PDU.
Described carry submodule specifically for:
Each MAC SDU and MAC CE in the described grouping of obtaining according to described grouping submodule, generate the multiple MAC heads corresponding with described MAC SDU in described grouping and described MAC CE, home identity corresponding to described grouping is carried in first MAC head in multiple MAC heads corresponding with described grouping, and the reservation bit R in described multiple MAC heads is used to indicate in current MAC head whether carry home identity corresponding to described grouping; Or
Each MAC SDU and MAC CE in the described grouping of obtaining according to described grouping submodule, generate corresponding with described MAC SDU in described grouping and described MAC CE multiple MAC and the ownership mark of described grouping and indicate MAC head, in described home identity instruction MAC head, carry home identity corresponding to described grouping, described home identity instruction MAC head is and described first MAC head dividing into groups in corresponding multiple MAC heads; Or
Each MAC SDU and MAC CE in the described grouping of obtaining according to described grouping submodule, generate the MAC head corresponding with described MAC SDU in described grouping and described MAC CE, the home identity MAC CE instruction MAC head of described grouping and the home identity MAC CE corresponding with the home identity MACCE instruction MAC head of described grouping, MAC of described home identity MAC CE instruction is used to indicate and in described home identity MAC CE, carried home identity corresponding to described grouping, described home identity MAC CE carries in the load part of described MAC PDU, described home identity MAC CE instruction MAC head is first MAC head in multiple MAC corresponding with described grouping.
Described carry submodule also for:
In the MAC head that carries home identity corresponding to described grouping, add NUM territory, be used to indicate total number of the interior MAC SDU of described grouping and MAC CE.
Described generation submodule also for:
By described described home identity instruction MAC head or the placement continuously in MAC head of described home identity MAC CE instruction MAC head of carrying module generation.
Embodiments of the invention provide a kind of receiving system, comprising:
Receiver module, the MAC PDU sending for receiving end/sending end;
Judge module, the MACSDU carrying for the described MAC PDU receiving according to described receiver module and home identity corresponding to MAC CE judge the ownership of described MAC SDU and described MAC CE.
Described home identity comprises the via node mark of described MAC SDU and the affiliated via node of described MAC CE or the terminal iidentification of affiliated terminal.
Described judge module comprises:
Obtain submodule, the described MAC PDU receiving for described receiver module obtains MAC head described in each;
Judge submodule, for obtaining MAC SDU that described each MAC head that submodule obtains is corresponding or the ownership of MAC CE described in judging.
Described judge module specifically for:
Carry described home identity when described obtaining in the described MAC head that submodule obtains, MAC SDU or MAC CE that described MAC head is corresponding belong to the indicated ownership of home identity in described MAC; When not carrying described home identity in described MAC head, the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at a described MAC before nearest MAC indicated ownership of carrying home identity; Or
Obtain the described MAC head that submodule obtains and carry described home identity when described, described home identity is used to indicate MAC corresponding MAC SDU between this MAC head and next MAC of carrying home identity or the ownership of MAC CE; Otherwise the MACSDU that described MAC head is corresponding or MAC CE belong to and are positioned at before nearest one of described MAC head corresponding to MAC of described home identity MAC CE indicated ownership; Or
To obtain MAC CE corresponding to described MAC head that submodule obtains be described home identity MAC CE when described, in described home identity MAC CE, obtain described home identity, described home identity is used to indicate MAC corresponding MAC SDU between this MAC head and next corresponding home identity MAC CE MAC or the ownership of MAC CE; Otherwise the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at before nearest one of described MAC head corresponding to MAC of described home identity MAC CE indicated ownership.
Described obtain submodule also for:
Obtain the MAC SDU and the MAC CE that belong to same grouping according to NUM territory.
Embodiments of the invention, by carry the home identity of data in MAC PDU to be sent, have been realized the data-reusing of multiple terminals and in the time of same MAC PDU, have been distinguished the data of each terminal and data are sent.Certainly, arbitrary product of enforcement embodiments of the invention might not need to reach above-described all advantages simultaneously.
Embodiment
The embodiment of the present invention proposes, and the MAC layer of transmitting terminal obtains MAC SDU to be sent, and generates MAC CE; The MAC layer of described transmitting terminal, according to described MAC SDU and described MAC CE, is assembled into MAC PDU, carries described MAC SDU and home identity corresponding to described MAC CE in described MAC PDU; Described MAC PDU is sent to receiving terminal by described transmitting terminal, makes the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
Below in conjunction with the accompanying drawing in the present invention, the technical scheme in the present invention is carried out to clear, complete description, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
The embodiment of the present invention provides the sending method of a kind of MAC PDU, as shown in Figure 6, specifically comprises the following steps:
The MAC layer of step 601, transmitting terminal obtains MAC SDU to be sent, and generates MAC CE.
The MAC layer of step 602, described transmitting terminal, according to described MAC SDU and described MAC CE, is assembled into MAC PDU, carries described MAC SDU and home identity corresponding to described MAC CE in described MAC PDU.
Described MAC PDU is sent to receiving terminal by step 603, described transmitting terminal, makes the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
The embodiment of the present invention provides the sending method of a kind of MAC PDU, and in the time carrying out up transmission, transmitting terminal is RN, and receiving terminal is eNB, in the time carrying out descending transmission, transmitting terminal is eNB, and receiving terminal is RN, wherein in MAC head, carry home identity, as shown in Figure 7, specifically comprise the following steps:
The MAC layer of step 701, transmitting terminal, according to the result of scheduling of resource, is determined and can be sent the logic channel of data and the quantity of the data that each logic channel can send, and obtain corresponding packet from RLC, i.e. multiple MAC SDU.
In the time only needing to send the data of R-UE, only obtain multiple MAC SDU of R-UE;
In the time both needing to send the data of R-UE, need again to send the data of RN, obtain multiple MAC SDU of R-UE and multiple MAC SDU of RN.
Certainly, above-mentioned MAC SDU can be also only one.
The MAC layer of step 702, transmitting terminal generates MAC CE to be sent.
According to the required functional requirement completing of MAC CE, according to corresponding form, generate corresponding MACCE.
The MAC layer of step 703, transmitting terminal divides into groups according to ownership to sent MAC CE and MAC SDU.
In the time that multiple MAC CE to be sent and multiple MAC SDU belong to RN or same R-UE, add home identity for the ease of the MAC CE to thering is same home and MAC SDU, the mark of RN or R-UE under, need to divide into groups according to ownership to sent MAC CE and MAC SDU, the multiple MAC CE and the multiple MAC SDU that are about to belong to RN or same R-UE are divided into one group.
It should be noted that, R-UE is identified at R-UE of unique identification under a RN, thereby can avoid a RN to administer multiple communities, and the R-UE in different districts, in the time that Uu mouth adopts identical mark, cannot distinguish the data of each R-UE in MAC PDU.
It should be noted that, for the MAC CE and the MAC SDU that belong to RN, in order to save expense, can not add home identity, and the specific position that the data of RN are placed in MAC PDU is identified, for example: original position.
It should be noted that, can be in the mark of carrying corresponding UE in data or in MAC of their correspondences head of each MAC CE or MAC SDU, and in the embodiment of the present invention, MAC CE or MAC SDU are divided into groups, one group is carried a corresponding home identity, it is a kind of preferred implementation, to reach the object of saving expense, so should not serve as limitation of the present invention.
The MAC layer of step 704, transmitting terminal is that each MAC CE and each the MAC SDU in each grouping generates corresponding MAC head, and in each grouping first MAC carries the home identity of this grouping correspondence.
In the embodiment of the present invention, utilize original MAC head to carry and indicate home identity corresponding to grouping, having realized multiplexing with original MAC of the MAC head that carries and indicate home identity corresponding to grouping.
The MAC layer of transmitting terminal need to generate corresponding MAC head for each MAC CE or MAC SDU in grouping, specifically comprises any in following two kinds of situations:
(1) the MAC head that the MAC CE generating or MAC SDU are corresponding is not first MAC head of this grouping.
In the time that the MAC CE generating or MAC corresponding to MAC SDU head are not first MAC of this grouping, the MAC layer of transmitting terminal is that this MAC CE or MAC SDU generate corresponding MAC head according to the mode that generates MAC in prior art.
(2) the MAC head that the MAC CE generating or MAC SDU are corresponding is first MAC head of this grouping.
In the time that the MAC CE generating or MAC corresponding to MAC SDU head are first MAC of this grouping, the MAC layer of transmitting terminal carries the home identity of this grouping correspondence in this MAC.
In the embodiment of the present invention, indicate with use R bit the UE ID that whether carries this grouping correspondence in current MAC head, and this UE ID is carried in this MAC head as example describes.
As shown in Figure 8, be the form of MAC head in the embodiment of the present invention.Wherein, be CF territory by reservation bit R bit definitions, be used to indicate the home identity of whether carrying this grouping correspondence in current MAC head.For example, CF territory is got in this MAC head of 0 mark and has been carried UE ID; Otherwise, in this MAC head, do not carry UE ID.
Certainly, anyly indicate the mode of whether carrying the home identity of this grouping correspondence in current MAC head all to belong to protection scope of the present invention by CF territory.
UE ID territory is for carrying the home identity of this grouping correspondence, and wherein the form of UE ID can be CRNTI or other any forms that can identify UE ID.It should be noted that, UE ID is that length can be to join, and for example: can be 1Byte or 2Byte, the control of its length can be passed through the signaling of Un mouth, as RRC signaling, configures or determines by default rule.
In like manner, in the time that existence belongs to the data of RN, carry after the same method RN ID, insert in Fig. 8 in UE ID territory by RNID.In addition, the data of RN also can not carried RN ID, identify, for example: the original position that is placed on MAC PDU by the specific position that MAC the head corresponding data of RN is placed in MAC PDU.
The MAC layer of step 705, transmitting terminal is assembled into MAC PDU according to the above-mentioned son head to sent MAC CE and MAC SDU and correspondence.
In the time that data to be sent exist the data of RN, the MAC layer of transmitting terminal for example, by the data of RN: MAC CE, and S1-AP or X2-AP data etc., transmit in same MACPDU with the data encapsulation of R-UE, specifically comprises any in following two kinds of situations:
(a), while not carrying the mark of RN in MAC group corresponding to the data of RN, MAC the head corresponding data of RN is placed on the ad-hoc location in MAC head by the MAC layer of transmitting terminal, as original position, as shown in Figure 9;
(b), while carrying the mark of RN in MAC group corresponding to the data of RN, the MAC layer of transmitting terminal can be placed on the optional position in MAC head by the data of RN.
Step 706, transmitting terminal send to receiving terminal by MAC PDU at Un mouth.
The MAC layer of step 707, receiving terminal receives from bottom the MAC PDU that transmitting terminal sends.
The MAC layer of step 708, receiving terminal solves each MAC head successively, determines the MAC SDU of each MAC head correspondence or the ownership of MAC CE.
Concrete, in the time that the CF territory in MAC head gets 0, indicating in this MAC head and carried home identity, the MAC SDU that this MAC head is corresponding or MAC CE belong to the indicated ownership of home identity in this MAC head; Otherwise, in this MAC head, do not carry described home identity, owing to carrying the home identity of this grouping in first MAC head corresponding to each grouping, so belonging to, MAC SDU corresponding to this MAC head or MAC CE be positioned at this MAC before nearest MAC indicated ownership of carrying home identity.
In addition, in the time not carrying the mark of RN in MAC group corresponding to the data of RN, the MAC layer of receiving terminal receives after data check whether first group of data carries home identity, if carried home identity, these group data belong to the indicated UE of this home identity; Otherwise this group attribution data is in RN.
Certainly, anyly indicate the mode of whether carrying the home identity of this grouping correspondence in current MAC head all to belong to protection scope of the present invention by CF territory.
The MAC layer of step 709, receiving terminal is processed accordingly to the MAC CE receiving.
The MAC layer of step 710, receiving terminal mails to high level by isolated MAC SDU by affiliated logic channel.
The embodiment of the present invention provides the sending method of a kind of MAC PDU, in the time carrying out up transmission, transmitting terminal is RN, receiving terminal is eNB, and in the time carrying out descending transmission, transmitting terminal is eNB, receiving terminal is RN, wherein define a kind of new home identity instruction MAC head and carry home identity, as shown in figure 10, specifically comprise the following steps:
The MAC layer of step 1001, transmitting terminal, according to the result of scheduling of resource, is determined and can be sent the logic channel of data and the quantity of the data that each logic channel can send, and obtain corresponding packet from RLC, i.e. multiple MAC SDU.
In the time only needing to send the data of R-UE, only obtain multiple MAC SDU of R-UE;
In the time both needing to send the data of R-UE, need again to send the data of RN, obtain multiple MAC SDU of R-UE and multiple MAC SDU of RN.
Certainly, above-mentioned MAC SDU can be also only one.
The MAC layer of step 1002, transmitting terminal generates MAC CE to be sent.
The MAC layer of step 1003, transmitting terminal divides into groups according to ownership to sent MAC CE and MAC SDU.
In the time that multiple MAC CE to be sent and multiple MAC SDU belong to RN or same R-UE, add home identity for the ease of the MAC CE to thering is same home and MAC SDU, the mark of RN or R-UE under, need to divide into groups according to ownership to sent MAC CE and MAC SDU, the multiple MAC CE and the multiple MAC SDU that are about to belong to RN or same R-UE are divided into one group.
It should be noted that, for the MAC CE and the MAC SDU that belong to RN, in order to save expense, can not add home identity, and the data of RN are placed on to the specific position in MAC PDU, for example: original position.
The MAC layer of step 1004, transmitting terminal is that each MAC CE and each the MAC SDU in each grouping generates corresponding MAC head, and is the home identity instruction MAC head that each grouping generates each grouping.
The MAC layer of transmitting terminal need to generate corresponding MAC head for each MAC CE or MAC SDU in grouping, and is the home identity instruction MAC head that each grouping generates each grouping, specifically comprises any in following two kinds of situations:
(1) the MAC head generating be with divide into groups in MAC CE or MAC head corresponding to MAC SDU.
When the MAC head generating be with divide into groups in MAC CE or when corresponding MAC of MAC SDU, the MAC layer of transmitting terminal is that this MACCE or MAC SDU generate corresponding MAC head according to the mode that generates MAC in prior art.
(2) the home identity instruction MAC head that the MAC head generating is grouping.
The MAC layer of transmitting terminal is the home identity instruction MAC head that each grouping generates this grouping, in this home identity instruction MAC head, carries the home identity of this grouping correspondence, and is first MAC head in the multiple MAC heads of this grouping.
LCID length of field is 5bit, can represent 32 kinds of MAC CE forms or logic channel ID.Remove the instruction of MAC CE form and the logic channel ID that have now distributed, also have some LCID not yet to distribute now.
In the embodiment of the present invention, newly defined a kind of new MAC head, as shown in figure 11, MAC of this new definition head is used for carrying and indicates grouping home identity.In the time that LCID territory is set to specific LCID, represent to carry UE ID in this MAC head.This home identity instruction MAC head does not correspond to any MAC CE or MAC SDU, is only used to indicate the MAC CE of MAC correspondence thereafter or the mark of the ownership UE of MAC SDU.
UE ID territory is for carrying the home identity of this grouping correspondence, and wherein the form of UE ID can be CRNTI or other any forms that can identify UE ID.It should be noted that, UE ID is that length can be to join, and for example: can be 1Byte or 2Byte, the control of its length can be passed through the signaling of Un mouth, as RRC signaling, configures or determines by default rule.
In like manner, in the time that existence belongs to the data of RN, carry after the same method RN ID, insert in Figure 11 in UE ID territory by RNID.In addition, the data of RN also can not carried RN ID, identify, for example: the original position that is placed on MAC PDU by the specific position that MAC the head corresponding data of RN is placed in MAC PDU.
The MAC layer of step 1005, transmitting terminal is assembled into MAC PDU according to the above-mentioned son head to sent MAC CE and MAC SDU and correspondence.
In the time that data to be sent exist the data of RN, the MAC layer of transmitting terminal for example, by the data of RN: MAC CE, and S1-AP or X2-AP data etc., transmit in same MACPDU with the data encapsulation of R-UE, specifically comprises any in following two kinds of situations:
(a), while not carrying MAC of corresponding home identity instruction in MAC group corresponding to the data of RN, MAC corresponding the data of RN is placed on the ad-hoc location in MAC head by the MAC layer of transmitting terminal, as original position, as shown in figure 12;
(b), while carrying MAC of corresponding home identity instruction in MAC group corresponding to the data of RN, the MAC layer of transmitting terminal can be placed on the optional position in MAC head by the data of RN.
Step 1006, transmitting terminal send to receiving terminal by MAC PDU at Un mouth.
The MAC layer of step 1007, receiving terminal receives from bottom the MAC PDU that transmitting terminal sends.
The MAC layer of step 1008, receiving terminal solves each MAC head successively, determines the MAC SDU of each MAC head correspondence or the ownership of MAC CE.
Concrete, when having carried home identity in described MAC head, this home identity is used to indicate MAC corresponding MACSDU between this MAC head and next MAC of carrying home identity or the ownership of MAC CE; Otherwise, in first MAC head due to each grouping correspondence, carry the home identity of this grouping, be positioned at this MAC head nearest MAC indicated ownership corresponding to home identity MAC CE before so the MAC SDU of this MAC head correspondence or MAC CE belong to.
In addition, in the time not carrying MAC of corresponding home identity instruction in MAC group corresponding to the data of RN, the MAC layer of receiving terminal is received after data, checks whether first group of data carries home identity, if carried home identity, these group data belong to the indicated UE of this home identity; Otherwise this group attribution data is in RN.
The MAC layer of step 1009, receiving terminal is processed accordingly to the MAC CE receiving.
The MAC layer of step 1010, receiving terminal mails to high level by isolated MAC SDU by affiliated logic channel.
The embodiment of the present invention provides the sending method of a kind of MAC PDU, in the time carrying out up transmission, transmitting terminal is RN, receiving terminal is eNB, and in the time carrying out descending transmission, transmitting terminal is eNB, receiving terminal is RN, wherein define a kind of new home identity MAC CE instruction MAC head and corresponding home identity MAC CE, as shown in figure 13, specifically comprise the following steps:
The MAC layer of step 1301, transmitting terminal, according to the result of scheduling of resource, is determined and can be sent the logic channel of data and the quantity of the data that each logic channel can send, and obtain corresponding packet from RLC, i.e. multiple MAC SDU.
In the time only needing to send the data of R-UE, only obtain multiple MAC SDU of R-UE;
In the time both needing to send the data of R-UE, need again to send the data of RN, obtain multiple MAC SDU of R-UE and multiple MAC SDU of RN.
Certainly, above-mentioned MAC SDU can be also only one.
The MAC layer of step 1302, transmitting terminal generates MAC CE to be sent.
The MAC layer of step 1303, transmitting terminal divides into groups according to ownership to sent MAC CE and MAC SDU.
In the time that multiple MAC CE to be sent and multiple MAC SDU belong to RN or same R-UE, add home identity for the ease of the MAC CE to thering is same home and MAC SDU, the mark of RN or R-UE under, need to divide into groups according to ownership to sent MAC CE and MAC SDU, the multiple MAC CE and the multiple MAC SDU that are about to belong to RN or same R-UE are divided into one group.
It should be noted that, for the MAC CE and the MAC SDU that belong to RN, in order to save expense, can not add home identity, and the data of RN are placed on to the specific position in MAC PDU, for example: original position.
The MAC layer of step 1304, transmitting terminal is that each MAC CE and each the MAC SDU in each grouping generates corresponding MAC head, and is that each grouping generates the home identity MAC CE instruction MAC head of each grouping and the home identity MAC CE corresponding with the home identity MAC CE instruction MAC head of this grouping.
The MAC layer of transmitting terminal need to generate corresponding MAC head for each MAC CE or MAC SDU in grouping, and for each grouping generates the home identity MAC CE instruction MAC head of each grouping and the home identity MAC CE corresponding with the home identity MAC CE instruction MAC head of this grouping, specifically comprise any in following two kinds of situations:
(1) the MAC head generating be with divide into groups in MAC CE or MAC head corresponding to MAC SDU.
When the MAC head generating be with divide into groups in MAC CE or when corresponding MAC of MAC SDU, the MAC layer of transmitting terminal is that this MACCE or MAC SDU generate corresponding MAC head according to the mode that generates MAC in prior art.
(2) the home identity MAC CE instruction MAC head that the MAC head generating is grouping and the home identity MAC CE corresponding with the home identity MAC CE instruction MAC head of this grouping.
A kind of new MAC head and MAC CE in the embodiment of the present invention, are newly defined, as shown in Figure 14 and Figure 15.The MAC layer of transmitting terminal is that each grouping generates the home identity MAC CE instruction MAC head of this grouping and the home identity MAC CE corresponding with the home identity MAC CE instruction MAC head of this grouping, this home identity MAC CE instruction MAC head is used to indicate and in the home identity MAC CE corresponding with the home identity MAC CE instruction MAC head of this grouping, has carried home identity corresponding to this grouping, and this home identity MAC CE indicates MAC to be the sub-head of first MAC in multiple MAC in this grouping.
UE ID territory is for carrying the home identity of this grouping correspondence, and wherein the form of UE ID can be CRNTI or other any forms that can identify UE ID.MAC head is indicated new MAC CE:UE ID MAC CE with a kind of still unappropriated LCID.If UE ID adopts the form of C-RNTI, MAC head and MAC CE that also the existing C-RNTI MAC of reusable CE is corresponding.If multiplexing existing C-RNTI MAC CE, uses the LCID of the existing C-RNTI of being used to indicate MAC CE, it should be noted that, although form is identical, the usage of UE ID and position are completely different from the C-RNTI MAC CE in LTE system herein.
In like manner, in the time that existence belongs to the data of RN, carry after the same method RN ID, insert in Figure 11 in UE ID territory by RNID.In addition, the data of RN also can not carried RN ID, identify, for example: the original position that is placed on MAC PDU by the specific position that MAC the head corresponding data of RN is placed in MAC PDU.
The MAC layer of step 1305, transmitting terminal is assembled into MAC PDU according to the above-mentioned son head to sent MAC CE and MAC SDU and correspondence.
In the time that data to be sent exist the data of RN, the MAC layer of transmitting terminal for example, by the data of RN: MAC CE, and S1-AP or X2-AP data etc., transmit in same MACPDU with the data encapsulation of R-UE, specifically comprises any in following two kinds of situations:
(a), while not carrying MAC of corresponding home identity MAC CE instruction in MAC group corresponding to the data of RN, MAC corresponding the data of RN is placed on the ad-hoc location in MAC head by the MAC layer of transmitting terminal, as original position, as shown in figure 16;
(b), while carrying MAC corresponding of home identity MAC CE instruction in MAC group corresponding to the data of RN and carry corresponding home identity MAC CE in corresponding position, the MAC layer of transmitting terminal can be placed on the optional position in MAC head by the data of RN.
Step 1306, transmitting terminal send to receiving terminal by MAC PDU at Un mouth.
The MAC layer of step 1307, receiving terminal receives from bottom the MAC PDU that transmitting terminal sends.
The MAC layer of step 1308, receiving terminal solves each MAC head successively, determines the MAC SDU of each MAC head correspondence or the ownership of MAC CE.
Concrete, when described MAC head, corresponding MAC CE is home identity MAC CE, in this home identity MAC CE, obtain home identity, this home identity is used to indicate MAC corresponding MAC SDU between this MAC head and next home identity MAC CE MAC or the ownership of MAC CE; Otherwise, in first MAC head due to each grouping correspondence, carry the home identity of this grouping, be positioned at this MAC head nearest MAC indicated ownership corresponding to home identity MAC CE before so the MAC SDU of this MAC head correspondence or MAC CE belong to.
In addition, in the time not carrying MAC of corresponding home identity MACCE instruction in MAC group corresponding to the data of RN, the MAC layer of receiving terminal is received after data, check whether first group of data carries home identity, if carried home identity, these group data belong to the indicated UE of this home identity; Otherwise this group attribution data is in RN.
The MAC layer of step 1309, receiving terminal is processed accordingly to the MAC CE receiving.
The MAC layer of step 1310, receiving terminal mails to high level by isolated MAC SDU by affiliated logic channel.
In the invention described above embodiment, can also in MAC head, add a NUM territory, the form of this MAC head as shown in figure 17, is used to indicate the total number of MAC SDU and MAC CE in the grouping corresponding with this MAC.Taking MAC form shown in Figure 11 in the embodiment of the present invention three as example, add NUM territory MAC PDU form afterwards as shown in figure 18.Now, owing to having added NUM instruction in MAC head, the UE ID head of different UEs can be placed continuously in MAC head, be there is MAC SDU and the MAC CE of same home by this NUM territory identification.This method is applicable to all embodiment of the present invention, repeats no more herein.
It should be noted that, when in the MAC of Un port transmission PDU, do not carry for R-UE MACCE time, groupings all in above-mentioned each scheme only need be carried out MAC SDU, also without the ownership of instruction MAC CE, because now MAC CE must belong to RN.
The embodiment of the present invention provides the transmitting system of a kind of MAC PDU, comprising:
Transmitting terminal, the MAC layer of described transmitting terminal is used for obtaining MAC SDU to be sent, and generates MAC CE; The MAC layer of described transmitting terminal, according to described MAC SDU and described MAC CE, is assembled into MAC PDU, carries described MAC SDU and home identity corresponding to described MAC CE in described MAC PDU; Described MAC PDU is sent to receiving terminal by described transmitting terminal, makes the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE;
Receiving terminal, receives the described MAC PDU that described transmitting terminal sends; The MAC layer of described receiving terminal judges the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
Embodiments of the invention provide a kind of dispensing device 190, as shown in figure 19, comprising:
Acquisition module 191, for obtaining MAC SDU to be sent, and generates MAC CE;
Generation module 192, for the described MAC SDU and the described MACCE that obtain according to acquisition module 191, is assembled into MAC PDU, carries described MAC SDU and home identity corresponding to described MACCE in described MAC PDU;
Sending module 193, send to receiving terminal for the described MAC PDU that generation module 192 is generated, make the MAC layer of described receiving terminal judge the ownership of described MAC SDU and described MAC CE according to the described MAC SDU carrying in described MAC PDU and home identity corresponding to described MAC CE.
Described home identity comprises the via node mark of described MAC SDU and the affiliated via node of described MAC CE or the terminal iidentification of affiliated terminal.
Generation module 192 comprises:
Grouping submodule 1921, divides into groups according to ownership for described MAC SDU and described MAC CE that acquisition module 191 is obtained, same ownership corresponding to described grouping that be attributed to that the MAC SDU in described grouping and MAC CE are corresponding;
Carry submodule 1922, for generating described MAC SDU and the MAC head corresponding to described MAC CE of the described grouping of obtaining with the submodule 1921 that divides into groups, the home identity of described grouping correspondence is carried in corresponding with described MAC SDU in described grouping and described MAC CE MAC or described MAC CE;
Generate submodule 1923, for according to the described MAC head that obtains of grouping submodule 1921, described MAC CE and described MAC SDU are assembled into MAC PDU, carry the described corresponding home identity of dividing into groups described in several in described MAC PDU.
Carry submodule 1922 specifically for:
Each MAC SDU and MAC CE in the described grouping of obtaining according to grouping submodule 1921, generate the multiple MAC heads corresponding with described MAC SDU in described grouping and described MAC CE, home identity corresponding to described grouping is carried in first MAC head in multiple MAC heads corresponding with described grouping, and the reservation bit R in described multiple MAC heads is used to indicate in current MAC head whether carry home identity corresponding to described grouping; Or
Each MAC SDU and MAC CE in the described grouping of obtaining according to grouping submodule 1921, generate corresponding with described MAC SDU in described grouping and described MAC CE multiple MAC and the home identity of described grouping and indicate MAC head, in described home identity instruction MAC head, carry home identity corresponding to described grouping, described home identity instruction MAC head is and described first MAC head dividing into groups in corresponding multiple MAC heads; Or
Each MAC SDU and MAC CE in the described grouping of obtaining according to grouping submodule 1921, generate the MAC head corresponding with described MAC SDU in described grouping and described MAC CE, the home identity MAC CE instruction MAC head of described grouping and the home identity MAC CE corresponding with the home identity MACCE instruction MAC head of described grouping, MAC of described home identity MAC CE instruction is used to indicate and in described home identity MAC CE, carried home identity corresponding to described grouping, described home identity MAC CE carries in the load part of described MAC PDU, described home identity MAC CE instruction MAC head is first MAC head in multiple MAC corresponding with described grouping.
Carry submodule 1922 also for:
In the MAC head that carries home identity corresponding to described grouping, add NUM territory, be used to indicate total number of the interior MAC SDU of described grouping and MAC CE.
Generate submodule 1923 also for:
By described described home identity instruction MAC head or the placement continuously in MAC head of described home identity MAC CE instruction MAC head of carrying module generation.
Embodiments of the invention provide a kind of receiving system 200, as shown in figure 20, comprising:
Receiver module 201, the MAC PDU sending for receiving end/sending end;
Judge module 202, the MAC SDU carrying for the described MAC PDU receiving according to receiver module 201 and home identity corresponding to MAC CE judge the ownership of described MAC SDU and described MAC CE.
Described home identity comprises the via node mark of described MAC SDU and the affiliated via node of described MAC CE or the terminal iidentification of affiliated terminal.
It should be noted that, described terminal iidentification is terminal of unique identification under a RN, thereby can avoid a RN to administer multiple communities, and the terminal in different districts, in the time that Uu mouth adopts identical mark, cannot be distinguished the data of each terminal in MAC PDU.
Judge module 202 comprises:
Obtain submodule 2021, the described MAC PDU receiving for receiver module 201 obtains MAC head described in each;
Judge submodule 2022, obtain MAC SDU that described each MAC head that submodule 2021 obtains is corresponding or the ownership of MAC CE for judging.
Judge module 202 specifically for:
Carry described home identity when obtaining in the described MAC head that submodule 2021 obtains, MAC SDU or MAC CE that described MAC head is corresponding belong to the indicated ownership of home identity in described MAC; When not carrying described home identity in described MAC head, the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at a described MAC before nearest MAC indicated ownership of carrying home identity; Or
Carry described home identity when obtaining the described MAC head that submodule 2021 obtains, described home identity is used to indicate MAC corresponding MAC SDU between this MAC head and next MAC of carrying home identity or the ownership of MAC CE; Otherwise the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at before nearest one of described MAC head corresponding to MAC of described home identity MAC CE indicated ownership; Or
Be described home identity MAC CE when obtaining MAC CE corresponding to described MAC head that submodule 2021 obtains, in described home identity MAC CE, obtain described home identity, described home identity is used to indicate MAC corresponding MAC SDU between this MAC head and next corresponding home identity MAC CE MAC or the ownership of MAC CE; Otherwise the MAC SDU that described MAC head is corresponding or MAC CE belong to and are positioned at before nearest one of described MAC head corresponding to MAC of described home identity MAC CE indicated ownership.
Obtain submodule 2021 also for:
Obtain the MAC SDU and the MAC CE that belong to same grouping according to NUM territory.
Embodiments of the invention, by carry the home identity of data in MAC PDU to be sent, have been realized the data-reusing of multiple terminals and in the time of same MAC PDU, have been distinguished the data of each terminal and data are sent.Certainly, arbitrary product of enforcement embodiments of the invention might not need to reach above-described all advantages simultaneously.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be mobile phones in order to make a station terminal equipment, personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.