Embodiment
The embodiment of the present invention provides a kind of transmission method of transmission sequence number, and the one or more TSN that carry in MAC PDU are expanded, and the TSN extended bit is combined into the TSN extension field, and the TSN extension field is carried in MAC PDU sends.
Wherein, the length of the TSN extension field that combination obtains is whole byte, to guarantee that MAC PDU is byte-aligned.If the TSN extended bit is not combined into the TSN extension field of whole byte, when carrying the TSN extended bit in MAC PDU, can cause MAC PDU is not byte-aligned, the processing expenditure when increasing the packet demultiplexing.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
As shown in Figure 3, the transmission method flow chart for a kind of TSN in the embodiment of the present invention one comprises the following steps:
Step 301, obtain the length of TSN extended bit and/or the length of TSN extension field, and according to the length of TSN extended bit and/or the length of TSN extension field, TSN extended bit corresponding to each MAC PDU sub-block that MAC PDU data block is comprised is combined into the TSN extension field of whole byte.
Particularly, obtaining the mode of the length of TSN extended bit, can be to determine by predefine mode or high-level signaling whether TSN expands, and when TSN expands, and uses fixedly extension length as the length of TSN extended bit.Wherein, the predefine mode can be and multi-carrier HSUPA binding, i.e. binding TSN expansion in multi-carrier HSUPA, and use fixedly extension length as the length of TSN extended bit; When being configured by high-level signaling, whether high level can only indicate TSN can expand, and then UE and network all can be known TSN is fixedly expanded to the N bit.
Obtaining the mode of the length of TSN extended bit, can also be the high-level signaling that receives from network side, obtains the length of the TSN extended bit of described network side configuration from described high-level signaling.
Obtaining the mode of the length of TSN extension field, can be the high-level signaling that receives from network side, obtains the byte number of the TSN extension field of described network side configuration from described high-level signaling; Also can be according to the length of described TSN extended bit, and described MAC PDU data block comprises the number of TSN, calculates the length of described TSN extension field.Wherein, above-mentioned network side can be RNC (RadioNetwork Controller, radio network controller), high-level signaling can be RRC (RadioResource Control, Radio Resource is controlled) message or NBAP (Node B Application Part, node B application part) message.
Above-mentioned TSN extended bit corresponding to each MAC PDU sub-block that MAC PDU data block is comprised is combined into the TSN extension field of whole byte, comprise: described TSN extended bit is carried out cascade, obtain described TSN extension field, the waterfall sequence of MAC PDU sub-block in MAC PDU data block that the waterfall sequence of described TSN extended bit in described TSN extension field and described TSN extended bit are corresponding is consistent, and perhaps order is fully opposite.
Step 302 is carried the TSN extension field in MAC PDU data block, and sends this MACPDU data block.
Particularly, carry described TSN extension field in MAC head that can be in described MAC PDU data block or load.Wherein, described TSN extension field can be attached to the front of all MAC heads, the perhaps back of one or more MAC heads, perhaps be attached to the back of all MAC heads, also described TSN extension field can be included in MAC PDU sub-block, perhaps be attached to the back of one or more MAC PDU sub-blocks, perhaps be attached to the back of all MAC PDU sub-blocks.
The technical scheme of the embodiment of the present invention has the following advantages, and the TSN extended bit is combined into the TSN extension field of whole bit, and this TSN extension field is carried in MAC PDU sends, and can realize the expansion to TSN, satisfies when reordering the demand to TSN.
As shown in Figure 4, the transmission method flow chart for a kind of TSN in the embodiment of the present invention two comprises the following steps:
Step 401 receives MAC PDU data block.
Step 402 is obtained the TSN extension field according to the length of TSN extension field from MAC PDU data block, and obtains according to the length of TSN extended bit TSN extended bit corresponding to each MAC PDU sub-block that MAC PDU data block comprises from the TSN extension field.
Particularly, before obtaining described TSN extension field according to the length of TSN extension field from described MAC PDU data block, can also receive the high-level signaling from network side, obtain the byte number of the TSN extension field of described network side configuration from described high-level signaling; Perhaps according to the length of described TSN extended bit, and described MAC PDU data block comprises the number of TSN, calculates the length of described TSN extension field.
Obtain TSN extended bit corresponding to each MAC PDU sub-block that described MAC PDU data block comprises from described TSN extension field according to the length of TSN extended bit before, can also determine whether TSN expands by predefine mode or high-level signaling, and when TSN expands, use fixedly extension length as the length of described TSN extended bit.Wherein, the predefine mode can be and multi-carrier HSUPA binding, i.e. binding TSN expansion in multi-carrier HSUPA, and use fixedly extension length as the length of TSN extended bit; When being configured by high-level signaling, whether high level can only indicate TSN can expand, and then UE and network are all known and all can be known TSN is fixedly expanded to the N bit.
Before obtaining the TSN extended bit, can also receive the high-level signaling from network side, obtain the length of the TSN extended bit of described network side configuration from described high-level signaling.Wherein, above-mentioned network side can be RNC, and above-mentioned high-level signaling can be RRC message or NBAP message.
above-mentioned length according to the TSN extended bit is obtained TSN extended bit corresponding to each MAC PDU sub-block that described MACPDU data block comprises from described TSN extension field, comprise: according to the length of described TSN extended bit, and the waterfall sequence of described TSN extended bit in described TSN extension field, obtain TSN extended bit corresponding to each MAC PDU sub-block that described MAC PDU data block comprises, the waterfall sequence of MAC PDU sub-block in MAC PDU data block that the waterfall sequence of described TSN extended bit in described TSN extension field and described TSN extended bit are corresponding is consistent, perhaps order is fully opposite.
The technical scheme of the embodiment of the present invention has the following advantages, and the TSN extended bit is combined into the TSN extension field of whole bit, and this TSN extension field is carried in MAC PDU sends, and can realize the expansion to TSN, satisfies when reordering the demand to TSN.
Below the transmission method to the TSN in the embodiment of the present invention carries out detailed, concrete description as an example of up multi-carrier HSUPA example.Wherein, MAC PDU data block is MAC-i PDU, and MAC PDU sub-block is MAC-is PDU, keeps the length and location in TSN territory in MAC-is PDU constant, and will exceed the bit of original length after the TSN expansion, namely the TSN extended bit is combined into whole byte TSN extension field and is carried at MAC-i PDU.
As shown in Figure 5, the transmission method flow chart for a kind of TSN in the embodiment of the present invention three comprises the following steps:
Step 501, UE obtains the length of TSN extended bit and/or the length of TSN extension field, and according to the length of TSN extended bit and/or the length of TSN extension field, the TSN extended bit that each MAC-is PDU that MAC-i PDU is comprised is corresponding is combined into the TSN extension field of whole byte.
Particularly, in MAC-i PDU, the length of LCH ID is 4bits, the length of L position is 11bits, the length of F position is 1bit, the length of SS position is 2bits, and the length of TSN is 6bits, and the length of MAC-is SDU is whole byte, therefore, MAC-is PDU is whole byte, and MAC-i Header is also whole byte, when a plurality of MAC-is PDU are multiplexed in a MAC-i PDU, MAC-i PDU is also whole byte, the structure of this byte-aligned is conducive to reduce expense in realization, for example, and the processing expenditure when carrying out the bit displacement.Therefore, the TSN extended bit also needs to be combined into the TSN extension field of whole byte, to be carried at the MAC-i PDU of whole byte.
Wherein, UE determines that the mode of the length of TSN extended bit comprises following two kinds:
A. adopt the length of fixing TSN extended bit
Can determine whether TSN expands by predefine mode or high-level signaling, and when TSN expands, use fixedly extension length as the length of described TSN extended bit.Wherein, the predefine mode can be and multi-carrier HSUPA binding, i.e. binding TSN expansion in multi-carrier HSUPA, and use fixedly extension length as the length of TSN extended bit; When being configured by high-level signaling, whether high level can only indicate TSN can expand, and then UE and network are all known and all can be known TSN is fixedly expanded to the N bit.
B. configure the length of TSN extended bit by high-level signaling
The length of the TSN that UE uses in multi-carrier HSUPA configures by high-level signaling, and high-level signaling can configure the length of one or more TSN extended bits.Wherein, high-level signaling can be the RRC message of RNC notice UE, and/or the NBAP message of RNC notice NodeB, and the length that high-level signaling can configure TSN is N, M bit, as N=6bits, M=9bits.Because the desired number of retransmissions of the traffic performance of different UEs is different, the factors such as the carrier number that network can be supported according to UE, traffic performance be the length that different UE configures different TSN extended bits neatly.
UE determines that the mode of the length of TSN extension field comprises following two kinds:
A. by calculating the length of TSN extension field
UE is according to the length of each TSN extended bit, and the number that comprises TSN in MAC-i PDU calculates the byte number of TSN extension field.Particularly, suppose TSN is fixedly expanded to the M bit, can by the number of LCH corresponding to the data in the judgement of the LCH ID in MAC-i Header MAC-i PDU, suppose to include Num in MAC-i PDU
LCHThe data of individual LCH (being the number of MAC-isPDU or TSN), in existing protocol, the length of TSN is 6bits, the length number of each TSN extended bit is (M-6) bits, can be from the higher bit position intercepting of the TSN after expansion, and also can be from low bit intercepting.
UE is combined into whole byte with a plurality of TSN extended bits, the bit that exceeds original length after soon TSN expansion cascades up and is combined into whole byte, UE with all TSN extended bit cascades after shared byte number round on immediate integer, for example calculate the byte number of TSN extension field by following formula:
For example, if TSN fixedly expands to the M=8 bit, include Num in a MAC-i PDU
LCH=4, Oct
ext=1 byte, the extended bit of TSN can form 1 byte; If the M=9 bit, Num
LCH=5, Oct
ext=2 bytes, the extended bit total length of all TSN reaches 15bits, can form 2 bytes.
B. configure the byte number of TSN extension field by high-level signaling
High-level signaling directly configures all TSN extended bits needed total bytes that combines, the byte number of TSN extension field), wherein, high-level signaling can be the RRC message of RNC notice UE, and/or the NBAP message of RNC notice NodeB.For example, high-level signaling configuration TSN extension field is the N byte, fills out in this N byte after all TSN extended bit cascades, and Padding can be filled in remaining space.
UE is combined into whole byte with the TSN extended bit, refers to that UE carries out cascade, i.e. TSN with each TSN extended bit in the TSN extension field
k+1The N bits of expansion is TSN and then
kThe N bits of expansion can also can hang down bit from beginning during cascade from the higher bit position of byte, the order of the TSN extended bit cascade MAC-is PDU corresponding with each LCH is at the sequence consensus of MAC-i PDU cascade, and perhaps order fully on the contrary.
Step 502, UE carries the TSN extension field in MAC-i PDU, and sends this MAC-i PDU to NodeB.
Wherein, the carrying mode of TSN extension field in MAC-i PDU comprises following several:
1, carry the TSN extension field in MAC-i Header;
This mode can be further divided into again:
1a) the TSN extension field is attached to all MAC-i Header front, as shown in Figure 6.
1b) the TSN extension field is attached to certain MAC-i Header
kThe back, as k=1,2 ..n etc., as shown in Figure 7.If the inadequate k of MAC-i Header that comprises in MAC-i PDU, can arrange after the TSN extension field is attached to first MAC-i Header.
1c) the TSN extension field is attached to all MAC-i Header back, as shown in Figure 8.
Wherein, mode 1a, 1b and 1c all can adopt the mode of high-level signaling to configure TSN extension field byte number, and mode 1c can also adopt the mode of calculating to configure TSN extension field byte number.
2, carry the TSN extension field in MAC-i PDU load;
This mode can be further divided into again:
2a) the TSN extension field is included in certain MAC-is PDU
kIn, as shown in Figure 9; Perhaps be attached to MAC-is PDU
kThe back, as k=1,2 ..n etc., as shown in figure 10, if the inadequate k of MAC-is PDU that MAC-i PDU comprises, the TSN extension field be can arrange and first MAC-is PDU, i.e. MAC-is PDU are included in
1In, perhaps be attached to MAC-is PDU
1The back.
2b) the TSN extension field is attached to all MAC-is PDU back, as shown in FIG. 11 and 12.
Wherein, mode 2a and 2b can adopt the mode of high-level signaling to configure TSN extension field byte number, also can adopt the mode of calculating to configure TSN extension field byte number.
Step 503, NodeB receives the MAC-i PDU from UE, and obtains the TSN extension field in this MAC-i PDU, and TSN extended bit corresponding to each MAC-is PDU.
Particularly, after NodeB receives MAC-i PDU, obtain the TSN extension field according to the length of TSN extension field from MAC-iPDU, and obtain TSN extended bit corresponding to each MAC-is PDU according to the length of TSN extended bit from the TSN extension field.
Need to prove, the method in the embodiment of the present invention can be adjusted each step order according to actual needs.In addition, the transmission method of TSN in the embodiment of the present invention is equally applicable to downlink double/multi-load ripple HSDPA, NodeB can expand the one or more TSN that carry in MAC PDU, the TSN extended bit is combined into the TSN extension field, and the TSN extension field is carried in MAC PDU data block, this MAC PDU is sent to UE, wherein, MAC PDU data block can be MAC-hsPDU and/or MAC-ehs PDU, and MAC PDU sub-block is Reordering PDU.
The technical scheme of the embodiment of the present invention has the following advantages, and the TSN extended bit is combined into the TSN extension field of whole bit, and this TSN extension field is carried in MAC PDU sends, and can realize the expansion to TSN, satisfies when reordering the demand to TSN.
As shown in figure 13, the structural representation for a kind of transmitting terminal in the embodiment of the present invention four comprises:
Acquisition module 1310 is used for obtaining the length of TSN extended bit and/or the length of TSN extension field.
Particularly, above-mentioned acquisition module 1310 can be used for determining by predefine mode or high-level signaling whether TSN expands, and when TSN expand, use fixedly extension length as the length of described TSN extended bit.Wherein, the predefine mode can be and multi-carrier HSUPA binding, i.e. binding TSN expansion in multi-carrier HSUPA, and use fixedly extension length as the length of TSN extended bit; When being configured by high-level signaling, whether high level can only indicate TSN can expand, and then UE and network are all known and all can be known TSN is fixedly expanded to the N bit.
Above-mentioned acquisition module 1310 can be used for receiving the high-level signaling from network side, obtains the length of the TSN extended bit of described network side configuration from described high-level signaling; Also can be used for receiving the high-level signaling from network side, obtain the byte number of the TSN extension field of described network side configuration from described high-level signaling; Can also be used for the length according to described TSN extended bit, and described MACPDU data block comprises the number of TSN, calculate the length of described TSN extension field.
Composite module 1320, be used for the length of the described TSN extended bit that obtains according to described acquisition module 1310 and/or the length of described TSN extension field, TSN extended bit corresponding to each MAC PDU sub-block that MAC PDU data block is comprised is combined into the TSN extension field of whole byte.
Particularly, combinations thereof module 1320, be used for described TSN extended bit is carried out cascade, obtain described TSN extension field, the waterfall sequence of MAC PDU sub-block in MAC PDU data block that the waterfall sequence of described TSN extended bit in described TSN extension field and described TSN extended bit are corresponding is consistent, and perhaps order is fully opposite.
Sending module 1330 is used for carrying in described MAC PDU data block the TSN extension field that described composite module 1320 obtains, and sends described MAC PDU data block.
Particularly, above-mentioned sending module 1330, can be used for carrying described TSN extension field in the MAC head of described MAC PDU data block or load, also can be used for described TSN extension field is attached to the front of all MAC heads, the perhaps back of one or more MAC heads perhaps is attached to the back of all MAC heads; Can also be used for described TSN extension field is included in MAC PDU sub-block, perhaps be attached to the back of one or more MAC PDU sub-blocks, perhaps be attached to the back of all MAC PDU sub-blocks.
The technical scheme of the embodiment of the present invention has the following advantages, and the TSN extended bit is combined into the TSN extension field of whole bit, and this TSN extension field is carried in MAC PDU sends, and can realize the expansion to TSN, satisfies when reordering the demand to TSN.
As shown in figure 14, the structural representation for a kind of receiving terminal in the embodiment of the present invention five comprises:
Receiver module 1410 is used for receiving MAC PDU data block.
Above-mentioned receiver module 1410 can also be used for receiving the high-level signaling from network side, obtains the byte number of the TSN extension field of described network side configuration from described high-level signaling; Can also be used for receiving the high-level signaling from network side, obtain the length of the TSN extended bit of described network side configuration from described high-level signaling.
Acquisition module 1420, be used for obtaining described TSN extension field according to the length of TSN extension field from the MAC PDU data block that described receiver module 1410 receives, and obtain according to the length of TSN extended bit TSN extended bit corresponding to each MACPDU sub-block that described MAC PDU data block comprises from described TSN extension field.
Particularly, above-mentioned acquisition module 1420, be used for the length according to described TSN extended bit, and the waterfall sequence of described TSN extended bit in described TSN extension field, obtain TSN extended bit corresponding to each MAC PDU sub-block that described MACPDU data block comprises, the waterfall sequence of MAC PDU sub-block in MAC PDU data block that the waterfall sequence of described TSN extended bit in described TSN extension field and described TSN extended bit are corresponding is consistent, and perhaps order is fully opposite.
Above-mentioned acquisition module 1420 also is used for determining by predefine mode or high-level signaling whether TSN expands, and when TSN expand, use fixedly extension length as the length of described TSN extended bit.
Above-mentioned acquisition module 1420 also is used for the length according to described TSN extended bit, and the TSN number that comprises of described MAC PDU data block, calculates the length of described TSN extension field.
The technical scheme of the embodiment of the present invention has the following advantages, and the TSN extended bit is combined into the TSN extension field of whole bit, and this TSN extension field is carried in MAC PDU sends, and can realize the expansion to TSN, satisfies when reordering the demand to TSN.
As shown in figure 15, the transmission system structural representation for a kind of TSN in the embodiment of the present invention six comprises:
Transmitting terminal 1510, be used for obtaining the length of TSN extended bit and/or the length of TSN extension field, and according to the length of described TSN extended bit and/or the length of described TSN extension field, TSN extended bit corresponding to each MAC PDU sub-block that the MACPDU data block is comprised is combined into the TSN extension field of whole byte, carry described TSN extension field in described MAC PDU data block, and send described MAC PDU data block to receiving terminal 1520.
Receiving terminal 1520, be used for obtaining the length of TSN extended bit and/or the length of TSN extension field, reception is from the MAC PDU data block of described transmitting terminal 1510, obtain described TSN extension field according to the length of described TSN extension field from described MAC PDU data block, and obtain according to the length of described TSN extended bit TSN extended bit corresponding to each MAC PDU sub-block that described MAC PDU data block comprises from described TSN extension field.
The technical scheme of the embodiment of the present invention has the following advantages, and the TSN extended bit is combined into the TSN extension field of whole bit, and this TSN extension field is carried in MAC PDU sends, and can realize the expansion to TSN, satisfies when reordering the demand to TSN.
Through the above description of the embodiments, 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 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 are 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 is only the preferred embodiment 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 improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be integrated in one, and also can separate deployment, can merge into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
Above disclosed be only several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.