CN109089284A - Data transmission method, device, electronic equipment and storage medium - Google Patents

Data transmission method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109089284A
CN109089284A CN201710447736.7A CN201710447736A CN109089284A CN 109089284 A CN109089284 A CN 109089284A CN 201710447736 A CN201710447736 A CN 201710447736A CN 109089284 A CN109089284 A CN 109089284A
Authority
CN
China
Prior art keywords
mac sdu
mac
group
sdu group
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710447736.7A
Other languages
Chinese (zh)
Other versions
CN109089284B (en
Inventor
王莹莹
孙军帅
黄学艳
韩星宇
易芝玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710447736.7A priority Critical patent/CN109089284B/en
Publication of CN109089284A publication Critical patent/CN109089284A/en
Application granted granted Critical
Publication of CN109089284B publication Critical patent/CN109089284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of transmission method of data packet, device, electronic equipment and storage mediums, the described method includes: according to multiple MAC SDU to be sent, the multiple MAC SDU is polymerized at least one MAC SDU group, each at least one polymerization parameter of MAC SDU in the same MAC SDU group after wherein polymerizeing is identical, and the polymerization parameter includes length and the logic channel used;Corresponding first MAC header of the MAC SDU group is determined according to identical polymerization parameter in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group for each MAC SDU group;At least one described MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU to send.The expense of MAC header is effectively reduced in data transmission procedure in embodiments of the present invention.

Description

Data transmission method, device, electronic equipment and storage medium
Technical field
The present invention relates to wireless communication technology field more particularly to a kind of data transmission method, device, electronic equipment and deposit Storage media.
Background technique
In existing LTE (Long Term Evolution, long term evolution) system, RLC (Radio Link Control, Radio link control) layer has polymerizable functional, and rlc layer can support multiple PDCP on the same Deta bearer (Packet Data Convergence Protocol, Packet Data Convergence Protocol) PDU (Protocol Data Unit, association View data cell) it is aggregated in the same RLC PDU, it is sent to MAC (Media Access Control, media access control) Corresponding logic channel in layer.After LTE MAC PDU format in the prior art is as shown in Figure 1, RLC PDU is sent to MAC layer Become corresponding MAC PDU, includes MAC header and the MAC data to be sent in a MAC PDU as shown in Figure 1 It (payload), wherein include MAC Control Element 1, MAC Control Element 2, multiple MAC SDU (Service in MAC payload Data Unit, Service Data Unit) and filler (padding), MAC header include multiple R/F2/E/LCID subheaders, multiple R/ F2/E/LCID/F/L subheader and a R/F2/E/LCID filling sub-head.
In 5G (the 5thGeneration mobile communication, the 5th third-generation mobile communication technology) LTE In system, the polymerizable functional of rlc layer is cancelled, and RLC PDU at most can only include a PDCP PDU, this means that transmission is same For the MAC PDU of transport block size, including a MAC SDU just need a corresponding MAC subheader, so in the presence of The higher problem of MAC header expense in data transmission procedure.
Summary of the invention
The present invention provides a kind of data transmission method, device, electronic equipment and storage medium, to solve in the prior art There is a problem of that MAC header expense is high in data transmission procedure.
To solve the above-mentioned problems, the present invention provides a kind of data transmission methods, which comprises
According to multiple media access control Service Data Unit MAC SDU to be sent, the multiple MAC SDU is polymerize For at least one MAC SDU group, wherein each MAC SDU at least one polymerization ginseng in the same MAC SDU group after polymerization Number is identical, and the polymerization parameter includes length and the logic channel used;
For each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC SDU Identical polymerization parameter in group determines corresponding first MAC header of the MAC SDU group;
At least one described MAC SDU group and its corresponding first MAC header are encapsulated as a Medium Access Control (MAC) Protocol Data Unit PDU is sent.
Further, described to be directed to each MAC SDU group if the polymerization parameter includes length, according to the MAC SDU Identical polymerization parameter in the quantity for the MAC SDU for including in group and the MAC SDU group determines that the MAC SDU group corresponds to The first MAC header include:
Using the MAC SDU group that identical polymerization parameter in each MAC SDU group is length as first object MAC SDU group;
For each first object MAC SDU group, the of the MAC SDU that the first object MAC SDU group includes is determined The first object length of any one MAC SDU in one destination number and the first object MAC SDU group, by described first Destination number and first object length are determined as corresponding first MAC header of the first object MAC SDU group.
Further, described by the first object quantity and first object length, it is determined as the first object MAC Before corresponding first MAC header of SDU group, the method also includes:
Judge whether the corresponding first object length of the first object MAC SDU group is the first datum length;
If so, carrying out subsequent step;
If not, the first difference of the first object length and first datum length is determined, by first mesh Quantity and first difference are marked, corresponding first MAC header of the first object MAC SDU group is determined as.
Further, described by the first object quantity and first object length, it is determined as the first object MAC After corresponding first MAC header of SDU group, the method also includes:
Identify the logic channel that each MAC SDU in the first object MAC SDU group is used, judging whether there is makes The identical MAC SDU of logic channel;
If so, the identical MAC SDU of the logic channel used is polymerized to the first sub- MAC SDU group, described first is determined Any one MAC SDU in the first subnumber amount for the MAC SDU for including in sub- MAC SDU group and the first sub- MAC SDU group The first object logic channel used and the first subnumber amount are determined as institute by the first object logic channel used State corresponding second MAC header of the first sub- MAC SDU group.
Further, if the polymerization parameter include using logic channel, it is described be directed to each MAC SDU Group is determined according to identical polymerization parameter in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group Corresponding first MAC header of the MAC SDU group includes:
Using the MAC SDU group that identical polymerization parameter in each MAC SDU group is the logic channel used as Two Destination MAC SDU groups;
For each second Destination MAC SDU group, the of the MAC SDU that the second Destination MAC SDU group includes is determined The second target logic channel that any one MAC SDU is used in two destination numbers and the second Destination MAC SDU group, will Second destination number and the second target logic channel are determined as the second Destination MAC SDU group corresponding first MAC header.
Further, described by second destination number and the second target logic channel, it is determined as described second After corresponding first MAC header of Destination MAC SDU group, the method also includes:
The length for identifying each MAC SDU in the second Destination MAC SDU group, it is identical to judge whether there is length MAC SDU;
If so, the identical MAC SDU of length is polymerized to the second sub- MAC SDU group, the described second sub- MAC SDU group is determined In include MAC SDU the second subnumber amount and the second sub- MAC SDU group in any one MAC SDU the second target Second target length and the second subnumber amount are determined as the described second sub- MAC SDU group corresponding second by length MAC header.
Further, described by second target length and the second subnumber amount, it is determined as the described second sub- MAC Before corresponding second MAC header of SDU group, the method also includes:
Judge whether corresponding second target length of the described second sub- MAC SDU group is the second datum length;
If so, carrying out subsequent step;
If not, the second difference of second target length and second datum length is determined, by second son Quantity and second difference are determined as corresponding second MAC header of the described second sub- MAC SDU group.
Further, described to be directed to each MAC SDU if the polymerization parameter includes length and the logic channel used Group is determined according to identical polymerization parameter in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group Corresponding first MAC header of the MAC SDU group includes:
Using MAC SDU group that identical polymerization parameter in each MAC SDU group is length and logic channel as the Three Destination MAC SDU groups;
For each third Destination MAC SDU group, the of the MAC SDU that the first object MAC SDU group includes is determined The third target length of any one MAC SDU and the third mesh used in three destination numbers, the third Destination MAC SDU group It marks logic channel and three destination number, third target length and third target logic channel is determined as the third target Corresponding first MAC header of MAC SDU group.
Further, for each MAC SDU group, determine that the quantity for the MAC SDU for including in the group includes:
For each MAC SDU group, by the of the quantity for the MAC SDU for including in the MAC SDU group and the quantity of setting Three differences are determined as the quantity of the MAC SDU in the MAC SDU group included.
It is described at least one described MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU to include:
Each of determining first MAC header is arranged in front end and the encapsulation of all MAC PDU groups;Or
Before each first MAC header is arranged in its corresponding MAC SDU group and encapsulate.
The present invention provides a kind of data transmission device, described device includes:
Aggregation module will be described more for according to multiple media access control Service Data Unit MAC SDU to be sent A MAC SDU is polymerized at least one MAC SDU group, wherein each MAC SDU in the same MAC SDU group after polymerization is extremely A few polymerization parameter is identical, and the polymerization parameter includes length and the logic channel used;
Determining module, for being directed to each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group, And identical polymerization parameter in the MAC SDU group, determine corresponding first MAC header of the MAC SDU group;
Sending module is encapsulated, at least one described MAC SDU group and its corresponding first MAC header to be encapsulated as one MAC PDU is sent.
The present invention provides a kind of electronic equipment, comprising: memory, processor and transceiver;
The processor executes following process: according to multiple media to be sent for reading the program on memory The multiple MAC SDU is polymerized at least one MAC SDU group, wherein polymerizeing by access control Service Data Unit MAC SDU Each at least one polymerization parameter of MAC SDU in the same MAC SDU group afterwards is identical, the polymerization parameter include length and The logic channel used;For each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and described Identical polymerization parameter in MAC SDU group determines corresponding first MAC header of the MAC SDU group;It will at least one described MAC SDU group and its corresponding first MAC header are encapsulated as a Medium Access Control (MAC) Protocol Data Unit PDU, after sending encapsulation by the transceiver MAC PDU;
The transceiver, for sending the MAC PDU after encapsulating under the control of a processor.
Further, the processor, if including length specifically for the polymerization parameter, by each MAC Identical polymerization parameter is the MAC SDU group of length as first object MAC SDU group in SDU group;For each first object MAC SDU group, determine the MAC SDU that the first object MAC SDU group includes first object quantity and the first object The first object length of any one MAC SDU in MAC SDU group, by the first object quantity and first object length, really It is set to corresponding first MAC header of the first object MAC SDU group.
Further, the processor is also used to judge the corresponding first object length of the first object MAC SDU group It whether is the first datum length;If so, the first object quantity and first object length are determined as the first object Corresponding first MAC header of MAC SDU group;If not, determining the first of the first object length and first datum length The first object quantity and first difference are determined as the first object MAC SDU group corresponding first by difference MAC header.
Further, the processor is also used to identify that each MAC SDU in the first object MAC SDU group makes Logic channel judges whether there is the identical MAC SDU of the logic channel used;If so, the logic channel phase that will be used Same MAC SDU is polymerized to the first sub- MAC SDU group, determines the first of the MAC SDU for including in the described first sub- MAC SDU group The first object logic channel that any one MAC SDU is used in subnumber amount and the first sub- MAC SDU group, by what is used The first object logic channel and the first subnumber amount are determined as corresponding 2nd MAC of the described first sub- MAC SDU group Head.
Further, the processor, if specifically for the polymerization parameter include using logic channel, will be described Identical polymerization parameter is the MAC SDU group of the logic channel used as the second Destination MAC SDU in each MAC SDU group Group;For each second Destination MAC SDU group, the second target for the MAC SDU that the second Destination MAC SDU group includes is determined The second target logic channel that any one MAC SDU is used in quantity and the second Destination MAC SDU group, by described Two destination numbers and the second target logic channel are determined as corresponding first MAC header of the second Destination MAC SDU group.
Further, the processor is also used to identify the length of each MAC SDU in the second Destination MAC SDU group Degree, judges whether there is the identical MAC SDU of length;If so, the identical MAC SDU of length is polymerized to the second sub- MAC SDU Group determines in the second subnumber amount and the second sub- MAC SDU group for the MAC SDU for including in the described second sub- MAC SDU group Second target length and the second subnumber amount are determined as described by the second target length of any one MAC SDU Corresponding second MAC header of two sub- MAC SDU groups.
Further, the processor is also used to judge that corresponding second target length of the described second sub- MAC SDU group is No is the second datum length;If so, second target length and the second subnumber amount are determined as second son Corresponding second MAC header of MAC SDU group;If not, determining the second of second target length and second datum length The second subnumber amount and second difference are determined as corresponding second MAC header of the described second sub- MAC SDU group by difference.
Further, the processor, if including length and the logic channel used specifically for the polymerization parameter, It is length and the MAC SDU group of logic channel as third Destination MAC using identical polymerization parameter in each MAC SDU group SDU group;For each third Destination MAC SDU group, the third for the MAC SDU that the first object MAC SDU group includes is determined The third target length of any one MAC SDU and the third target used in destination number, the third Destination MAC SDU group Three destination number, third target length and third target logic channel are determined as the third target by logic channel Corresponding first MAC header of MAC SDU group.
Further, the processor is also used to for each MAC SDU group, the MAC that will include in the MAC SDU group The third difference of the quantity of the quantity and setting of SDU is determined as the quantity of the MAC SDU in the MAC SDU group included.
Further, the processor each of is also used to determine that the first MAC header is arranged in all MAC PDU groups Front end simultaneously encapsulates;Or it before each first MAC header is arranged in its corresponding MAC SDU group and encapsulates.
The present invention provides a kind of electronic equipment, including;Processor, communication interface, memory and communication bus, wherein Processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place Manage the step of device executes any of the above-described the method.
The present invention provides a kind of computer readable storage medium, it is stored with the computer journey that can be executed by electronic equipment Sequence, when described program is run on the electronic equipment, so that the electronic equipment executes the step of any of the above-described the method Suddenly.
The present invention provides a kind of data transmission method, device, electronic equipment and storage mediums, which comprises root According to multiple MAC SDU to be sent, the multiple MAC SDU is polymerized at least one MAC SDU group, wherein same after polymerization Each at least one polymerization parameter of MAC SDU in one MAC SDU group is identical, and the polymerization parameter includes length and uses Logic channel;For each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC SDU Identical polymerization parameter in group determines corresponding first MAC header of the MAC SDU group;Will at least one described MAC SDU group and Its corresponding first MAC header is encapsulated as a MAC PDU and is sent.In embodiments of the present invention, will include in MAC PDU Multiple MAC SDU are polymerized at least one MAC SDU group, and each MAC SDU in the same MAC SDU group after polymerization is at least One polymerization parameter is identical, and polymerization parameter includes length and the logic channel used, for each MAC SDU group, according to the MAC Identical polymerization parameter in the quantity for the MAC SDU for including in SDU group and the MAC SDU group determines that the MAC SDU group is corresponding First MAC header, and be encapsulated as a MAC PDU and send, a MAC SDU group uses identical first MAC header, in data The expense of MAC header is effectively reduced in transmission process.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of LTE MAC PDU format in the prior art provided;
Fig. 2 is a kind of schematic diagram for data transmission procedure that the embodiment of the present invention 1 provides;
Fig. 3 is a kind of MAC pack arrangement based on first object MAC SDU group that the embodiment of the present invention 2 provides;
Fig. 4 is a kind of MAC pack arrangement based on first object MAC SDU group that the embodiment of the present invention 3 provides;
Fig. 5 is a kind of MAC pack arrangement based on the second Destination MAC SDU that the embodiment of the present invention 5 provides;
Fig. 6 is a kind of MAC pack arrangement based on the second Destination MAC SDU that the embodiment of the present invention 7 provides;
Fig. 7 is a kind of MAC pack arrangement based on third Destination MAC SDU group that the embodiment of the present invention 8 provides;
Fig. 8 is a kind of MAC pack arrangement for dominant length based on first object MAC SDU that the embodiment of the present invention 9 provides;
Fig. 9 is a kind of MAC pack arrangement for recessive length based on first object MAC SDU that the embodiment of the present invention 9 provides;
Figure 10 is another MAC pack arrangement based on the second Destination MAC SDU group that the embodiment of the present invention 9 provides;
Figure 11 is the schematic diagram for a kind of electronic equipment that the embodiment of the present invention 11 provides;
Figure 12 is the schematic diagram for a kind of electronic equipment that the embodiment of the present invention 12 provides;
Figure 13 is a kind of data transmission device schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to reduce the MAC header expense in data transmission procedure, the embodiment of the invention provides a kind of data transmission method, Device, electronic equipment and storage medium.
To make the objectives, technical solutions, and advantages of the present invention clearer, make below in conjunction with the attached drawing present invention into one Step ground detailed description, it is clear that described embodiment is only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 2 be a kind of schematic diagram of data transmission procedure provided in an embodiment of the present invention, the process the following steps are included:
S101: according to multiple MAC SDU to be sent, the multiple MAC SDU is polymerized at least one MAC SDU Group, wherein each at least one polymerization parameter of MAC SDU in the same MAC SDU group after polymerization is identical, the polymerization is joined Number includes length and the logic channel used.
Data transmission method provided in an embodiment of the present invention is applied to transmitting terminal, is particularly directed to the MAC layer of transmitting terminal Data transmission method, which is located at the user face in LTE system, provides service as rlc layer in the way of logic channel.
Under normal conditions, the MAC layer of transmitting terminal obtains one or more MAC SDU to be sent, and MAC layer can be with needle To each MAC SDU got, the length of each MAC SDU is identified, i.e. the corresponding length (L of data information in MAC SDU Domain, Length), and can identify logic channel (LCID, the Logical Channel that each MAC SDU is used Identify mark).
Because the length of multiple MAC SDU to be sent or/and the logic channel used may be identical, then MAC layer can be with According at least one polymerization parameter in length and the logic channel used, multiple MAC SDU are polymerized at least one MAC SDU group, so that each MAC SDU group after polymerization is used in conjunction with a MAC header, to reduce MAC header in data transmission procedure Expense.
The quantity for the MAC SDU for including in each MAC SDU group can with one, be also possible to it is multiple, but in order to reduce MAC header expense in data transmission procedure contains at least two MAC SDU in lower MAC SDU group of usual situation.
Multiple MAC SDU are polymerized at least one MAC SDU group by MAC layer, can be according to this polymerization ginseng of length Number, is polymerized to a MAC SDU group for the identical MAC SDU of length, so that multiple MAC SDU are polymerized at least one MAC SDU group;It can be according to this polymerization parameter of the logic channel used, the identical MAC SDU of the logic channel used gathered It is combined into a MAC SDU group, so that multiple MAC SDU are polymerized at least one MAC SDU group;Be also possible to according to length and The two polymerization parameters of the logic channel used, the identical MAC SDU of logic channel length is identical and use are polymerized to one A MAC SDU group, so that multiple MAC SDU are polymerized at least one MAC SDU group etc..
For multiple MAC SDU, when multiple MAC SDU is polymerized at least one MAC SDU group, each MAC Polymerization parameter having the same or different polymerization parameters between SDU group, but be identical in general.
Such as needle is to sent multiple MAC SDU, there are two MAC SDU group after polymerization, first in two MAC SDU groups The length of each MAC SDU of MAC SDU group is the first length, and the length of each MAC SDU of the 2nd MAC SDU group is second Length, the first length and the second length difference;Alternatively, the length of each MAC SDU of the first MAC SDU group is the first length, The logic channel that each MAC SDU of 2nd MAC SDU group is used is the first logic channel.
S102: it is directed to each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC Identical polymerization parameter in SDU group determines corresponding first MAC header of the MAC SDU group.
For each MAC SDU group, if identical polymerization parameter is only length in the MAC SDU group, the MAC It is included at least in corresponding first MAC header of SDU group: the quantity for the MAC SDU for including in the MAC SDU group and each MAC SDU Length because the length of each MAC SDU is identical, the value of length only one;If identical in the MAC SDU group Polymerization parameter is only the logic channel used, then includes at least in corresponding first MAC header of the MAC SDU group: the MAC SDU The logic channel that the quantity for the MAC SDU for including in group and each MAC SDU are used, because of the logic that each MAC SDU is used Channel is identical, thus the identification information of logic channel only one;If identical polymerization parameter is length in the MAC SDU group With the logic channel used, is then included at least in corresponding first MAC header of the MAC SDU group: including in the MAC SDU group The logic channel of the quantity of MAC SDU, the length of each MAC SDU and each MAC SDU used, therefore each MAC SDU Length it is identical, and the logic channel used is identical, thus the value of the length only one, and the identification information of the logic channel Also only one.
MAC PDU after parsing encapsulates for convenience in embodiments of the present invention, then each MAC SDU group is corresponding each Bit length shared by first MAC header is the integral multiple of 8 bits.
S103: at least one described MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU and carried out It sends.
At least one MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU by the MAC layer of transmitting terminal Afterwards, which is sent.Wherein belong to the prior art in the process that MAC layer encapsulates data packet and packet header, of the invention real It applies in example to the process without repeating.
In embodiments of the present invention, the multiple MAC SDU for including in MAC PDU are polymerized at least one MAC SDU group, Each at least one polymerization parameter of MAC SDU in the same MAC SDU group after polymerization is identical, polymerization parameter include length and The logic channel used, for each MAC SDU group, according to the quantity and the MAC of the MAC SDU for including in the MAC SDU group Identical polymerization parameter in SDU group determines corresponding first MAC header of MAC SDU group, and is encapsulated as a MAC PDU and sends, One MAC SDU group uses identical first MAC header, and the expense of MAC header is effectively reduced in data transmission procedure.
Embodiment 2:
When polymerizeing to MAC SDU, it can be polymerize according to the length of each MAC SDU, also according to each The logic channel that MAC SDU is used is polymerize, can also simultaneously according to length and the logic channel used to MAC SDU into Row polymerization, is now illustrated for different polymerization parameters.What is used when can specifically provide in the protocol to MAC SDU group is poly- Close parameter.
On the basis of the above embodiments, described to be directed to if the polymerization parameter includes length in the embodiment of the present invention Each MAC SDU group, according to identical poly- in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group Parameter is closed, determines that corresponding first MAC header of the MAC SDU group includes:
Using the MAC SDU group that identical polymerization parameter in each MAC SDU group is length as first object MAC SDU group;
For each first object MAC SDU group, the of the MAC SDU that the first object MAC SDU group includes is determined The first object length of any one MAC SDU in one destination number and the first object MAC SDU group, by described first Destination number and first object length are determined as corresponding first MAC header of the first object MAC SDU group.
Since in the LTE system of 5G, the polymerizable functional of rlc layer is cancelled, MAC SDU, which is equal to, not to be segmented RLC PDU, and the length of MAC SUD is directly related with the length of PDCP PDU.For such as TCP (Transmission Control Protocol, transmission control protocol) etc. for business, under normal conditions can there are a large amount of length is identical PDCP PDU, that is to say, that there are the identical MAC SDU of multiple length to be sent, and in one for will being encapsulated as It include the identical MAC SDU of multiple length in MAC PDU.
Therefore the polymerization parameter can be length in embodiments of the present invention, when multiple MAC SDU are polymerized at least one After a MAC SDU group, each first object MAC SDU group is identified at least one MAC SDU group, wherein the first object Identical polymerization parameter is length, i.e. the length phase of each MAC SDU in first object MAC SDU group in MAC SDU group Together.
For first object MAC SDU group, in order to accurately determine the first MAC header of first object MAC SDU group, Increase the first object quantity for the MAC SDU for including in first object MAC SDU group, i.e. the first quantity in its first MAC header Domain (N, Number), marks that the MAC SDU's in first object MAC SDU group with equal length is total with the first number field N Number.
In addition it can also include the first object length of MAC SDU in first object MAC SDU group in first MAC header Information, i.e. length field L mark the length of each MAC SDU first object MAC SDU group Nei with length field L.Because for same The length of any one MAC SDU in one first object MAC SDU group be all it is identical, then can be by first object MAC Any one MAC SDU length is determined as first object length in SDU group, by first object quantity and first object length, really It is set to corresponding first MAC header of first object MAC SDU group.
First object length in corresponding first MAC header of first object MAC SDU group can be dominant instruction, i.e., directly Carry the first object length of first object MAC SDU group;It is also possible to recessive instruction, such as carries first object MAC The first object length of SDU group and the first difference etc. of the first datum length.
For example, Fig. 3 is a kind of MAC PDU structure based on first object MAC SDU group provided in an embodiment of the present invention, such as MAC PDU shown in Fig. 3 is obtained by two first object MAC SDU group encapsulation, which is respectively MAC SDU group 1 and MAC SDU group 2, the domain N and the domain L have indicated respectively the MAC SDU first object in first object MAC SDU group Quantity and first object length, the first object quantity for the MAC SDU for wherein including in corresponding first MAC header of MAC SDU group 1 For N1, the first object length of MAC SDU is L1;The first of the MAC SDU for including in corresponding first MAC header of MAC SDU group 2 Destination number is N2, and the first object length of MAC SDU is L2.
And in embodiments of the present invention in order to identify the logic that each MAC SDU in first object MAC SDU group is used Channel, the logic channel that can be used using each MAC SDU of LCID domain representation.As shown in figure 3, MAC in MAC SDU group 1 The logic channel that SDU1 is used is LCID1, and the logic channel that MAC SDU2 is used is LCID2, MAC SDU3 in MAC SDU group 2 The logic channel used is LCID3, and the logic channel that MAC SDU4 is used is LCID4.Wherein, LCID1, LCID2, LCID3 and Between LCID4 any two can with it is identical can be different.
In embodiments of the present invention, according to length, the multiple MAC SDU for including in MAC PDU are polymerized at least one First object MAC SDU group includes according in first object MAC SDU group for each first object MAC SDU group The first object quantity and first object length of MAC SDU, determines corresponding first MAC header of first object MAC SDU group, one Corresponding first MAC header of a first object MAC SDU group, reduces the expense of the MAC header in data transmission procedure.
Embodiment 3:
It is described in the embodiment of the present invention on the basis of the various embodiments described above in order to further decrease the expense of MAC header By the first object quantity and first object length, be determined as corresponding first MAC header of the first object MAC SDU group it Before, the method also includes:
Judge whether the corresponding first object length of the first object MAC SDU group is the first datum length;
If so, carrying out subsequent step;
If not, the first difference of the first object length and first datum length is determined, by first mesh Mark quantity and first difference are determined as corresponding first MAC header of the first object MAC SDU group.
Because the information in data transmission procedure in the first MAC header is usually used what binary form was indicated, So if the length of the data information of the MAC SDU of first object MAC SDU group is too long, adopting in the first MAC header The first object length indicated with binary form is with regard to too long, therefore in order to further decrease use binary form to indicate the The data volume that one target length occupies, when the corresponding first object length of first object MAC SDU group is not the first datum length When, by first object MAC SDU group first object length and the first datum length the first difference, carry this first In corresponding first MAC header of Destination MAC SDU group, it can be effectively reduced the data volume carried in the first MAC header, to reduce The expense of MAC header.
In embodiments of the present invention, the first object length in the first MAC header is recessive instruction.
First datum length can be preset first length value, be also possible at least one first object The first object length of any one first object MAC SDU group, can also be at least one first object in MAC SDU group MAC SDU group according to first object length from small to large or descending order is arranged, by minimum or maximum first mesh Length is marked as the first datum length, still can be according to the sequence submitted of high level, that is, MAC layer each of receives The sequence of MAC SDU will include the first object MAC where MAC SDU that is being initially received or finally receiving The corresponding first object length of SDU group is as first datum length etc..
After being arranged in passing from small to large or from big to small according to first object length, by minimum or maximum first Target length is as the first datum length, then and corresponding for each first object MAC SDU group of non-first datum length For one target length, each first object length and the first difference of each of the first datum length determined be on the occasion of or Being is negative value, then first object quantity and the first difference is determined as corresponding first MAC header of first object MAC SDU group When, the absolute value of the first difference can be used to be determined as the first difference.
If it is by preset first length value, or will be comprising being initially received or finally receive MAC SDU where the corresponding first object length of first object MAC SDU group as the first datum length, then for non- For the corresponding first object length of each first object MAC SDU group of one datum length, each first object determined is long Degree may be positive with each of the first datum length the first difference, may be negative, then first object quantity and the first difference is true When being set to corresponding first MAC header of first object MAC SDU group, need to indicate positive and negative with a bit, remaining bit It indicates the absolute value of the first difference, such as indicates positive and negative with first bit.
If the corresponding first object length of first object MAC SDU group is the first datum length, direct incite somebody to action can be First object quantity and first object length are determined as corresponding first MAC header of first object MAC SDU group.
In order to facilitate the MAC PDU after parsing encapsulation, the information of wherein each MAC SDU group is determined, can be the One target length is the first object MAC SDU group of the first datum length, as first RLC PDU in the logic channel, The first object MAC SDU group of remaining non-first datum length is arranged in below, accordingly namely by first object MAC Corresponding first MAC header of SDU group arranges front end.
Certainly, in order to further decrease the expense of MAC header, when the first datum length is a preset length value When, if the corresponding first object length of first object MAC SDU group is the first datum length, can be first object is long The first difference namely 0 and first object quantity of degree and the first datum length are determined as first object MAC SDU group correspondence The first MAC header.
Fig. 4 is a kind of MAC PDU structure based on first object MAC SDU group provided in an embodiment of the present invention, such as Fig. 4 institute The MAC PDU shown is obtained by two first object MAC SDU group encapsulation, which is respectively MAC SDU group 1 and MAC SDU group 2, the domain N and the domain L have indicated respectively the MAC SDU first object quantity in first object MAC SDU group With first object length, the first object length L1 of the corresponding first first object MAC SDU group in first domain L, i.e. the first base Standard length, the corresponding first object length Ln of each MAC SDU later, using the first object length and the of the MAC SDU group First difference Loffset of one datum length is indicated.
The first object quantity for the MAC SDU for wherein including in corresponding first MAC header of MAC SDU group 1 is N1, the first mesh Mark length is L1, and the first object quantity for the MAC SDU for including in corresponding first MAC header of MAC SDU group 2 is N2, and first is poor Value is Loffset1, and the first object length value for indicating the MAC SDU group 2 indirectly is L1+Loffset1.
And in embodiments of the present invention in order to identify the logic that each MAC SDU in first object MAC SDU group is used Channel, the logic channel that can be used using each MAC SDU of LCID domain representation, as shown in figure 4, MAC in MAC SDU group 1 The logic channel that SDU1 is used is LCID1, and the logic channel that MAC SDU2 is used is LCID2, MAC SDU3 in MAC SDU group 2 The logic channel used is LCID3, and the logic channel that MAC SDU4 is used is LCID4.Wherein LCID1, LCID2, LCID3 and Between LCID4 any two can with it is identical can be different.
In embodiments of the present invention, when the corresponding first object length of first object MAC SDU group is not that the first benchmark is long When spending, by the first difference of first object length and the first datum length in first object MAC SDU group carry this In corresponding first MAC header of one Destination MAC SDU, it can effectively lower the data volume carried in the first MAC header, to reduce The expense of MAC header.
Embodiment 4:
It is described in the embodiment of the present invention on the basis of the various embodiments described above in order to further decrease the expense of MAC header By the first object quantity and first object length, be determined as corresponding first MAC header of the first object MAC SDU group it Afterwards, the method also includes:
Identify the logic channel that each MAC SDU in the first object MAC SDU group is used, judging whether there is makes The identical MAC SDU of logic channel;
If so, the identical MAC SDU of the logic channel used is polymerized to the first sub- MAC SDU group, described first is determined Any one MAC SDU in the first subnumber amount for the MAC SDU for including in sub- MAC SDU group and the first sub- MAC SDU group The first object logic channel used and the first subnumber amount are determined as institute by the first object logic channel used State corresponding second MAC header of the first sub- MAC SDU group.
By the identical each MAC SDU of the logic channel used in first object MAC SDU group, it is polymerized to the first son Corresponding first object logic channel and the first subnumber amount in first sub- MAC SDU group are determined as the first son by MAC SDU group Corresponding second MAC header of MAC SDU group, can further decrease the expense of MAC header.
For each first object MAC SDU group, MAC layer identifies each MAC SDU in first object MAC SDU group The logic channel used will use the identical MAC SDU of logic channel be polymerized to the first sub- MAC SDU group, according to determining the The first subnumber amount for the MAC SDU for including in one sub- MAC SDU group, and the first object logic channel used, are determined as first Corresponding second MAC header of sub- MAC SDU group.
Because the logic channel that any one MAC SDU in MAC SDU group sub- for same first is used all is phase With, then it can be the logic channel for using any one MAC SDU in the first sub- MAC SDU group, be determined as the first son First object logic channel and the first subnumber amount are determined as the first sub- MAC by the first object logic channel that MAC SDU is used Corresponding second MAC header of SDU group.
Specifically, the MAC SDU for including in the first sub- MAC SDU group can be at least one, if the first sub- MAC Only one MAC SDU in SDU group, then the logic channel that second MAC header can be used only comprising the MAC SDU, such as Fig. 3 and Shown in Fig. 4;If containing at least two MAC SDU in the first sub- MAC SDU group, may include in second MAC header One subnumber amount and the first object logic channel used.It therefore whether can include the first subnumber according in second MAC header Amount, determines whether the quantity for the MAC SDU for including in the corresponding first sub- MAC SDU group of second MAC header is 1.
The first object logic channel used carried in second MAC header can be, the first object logic channel used Mark.
In embodiments of the present invention for the ease of the MAC PDU after parsing encapsulation, then each first sub- MAC SDU group corresponds to Each of bit length shared by the second MAC header be 8 bits integral multiple.
In embodiments of the present invention, by the identical each MAC of the logic channel used in first object MAC SDU group SDU is polymerized to the first sub- MAC SDU group, by corresponding first object logic channel and the first subnumber in the first sub- MAC SDU group Amount is determined as corresponding second MAC header of the first sub- MAC SDU group, can further decrease the expense of MAC header.
Embodiment 5:
On the basis of the various embodiments described above, in the embodiment of the present invention, if the polymerization parameter include using logic Channel, it is described to be directed to each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC SDU Identical polymerization parameter in group determines that corresponding first MAC header of the MAC SDU group includes:
Using the MAC SDU group that identical polymerization parameter in each MAC SDU group is the logic channel used as Two Destination MAC SDU groups;
For each second Destination MAC SDU group, the of the MAC SDU that the second Destination MAC SDU group includes is determined The second target logic channel that any one MAC SDU is used in two destination numbers and the second Destination MAC SDU group, will Second destination number and the second target logic channel are determined as the second Destination MAC SDU group corresponding first MAC header.
Since in the LTE system of 5G, the polymerizable functional of rlc layer is cancelled, in data transmission procedure, have multiple RLC PDU is transmitted using the same logic channel, that is, there are the identical logic channels of multiple uses to be sent MAC SDU, and will include that the logic channel that uses of multiple MAC SDU is identical in a MAC PDU to be packaged.
Therefore the polymerization parameter can be the logic channel used in embodiments of the present invention, gather when by multiple MAC SDU After being combined at least one MAC SDU group, each second Destination MAC SDU group is identified at least one MAC SDU group, wherein Identical polymerization parameter is the logic channel used in the second Destination MAC SDU group, i.e., in the second Destination MAC SDU group The logic channel that each MAC SDU is used is identical.
For the second Destination MAC SDU group, in order to accurately determine the first MAC header of the second Destination MAC SDU group, Increase the second destination number for the MAC SDU for including in the second Destination MAC SDU group, i.e. the second quantity in its first MAC header Domain NUM (NUMber), the identical MAC of logic channel used in label the second Destination MAC SDU group with the second number field NUM The total number of SDU.
Therefore for encapsulation after MAC PDU can include according to the first MAC header be the first number field or second number Domain is measured, determines there is which identical polymerization parameter in office in each MAC SDU group wherein encapsulated.
In addition, the logic that can also be used comprising each MAC SDU in the second Destination MAC SDU group in first MAC header The information of channel, i.e. logic channel domain LCID, with logic channel domain LCID come each MAC in the second Destination MAC of label SDU The logic channel that SDU is used.Because being patrolled for what any one MAC SDU in the same second Destination MAC SDU group was used Collecting channel is all logic channel that is identical, then can using any one MAC SDU in the second Destination MAC SDU group, Be determined as using the second target logic channel the second target logic channel and the second destination number are determined as the second target First MAC header of MAC SDU group.
Fig. 5 is a kind of MAC PDU structure based on the second Destination MAC SDU provided in an embodiment of the present invention, as shown in Figure 5 MAC PDU obtained by the encapsulation of two the second Destination MAC SDU groups, this two the second Destination MAC SDU groups respectively MAC SDU Group 1 and MAC SDU group 2, the domain LCID and the domain NUM indicated respectively, the second mesh of MAC SDU in the second Destination MAC SDU group Logic channel and the second destination number are marked, wherein the second target logic used in corresponding first MAC header of MAC SDU group 1 is believed Road is LCID1, and the second destination number of the MAC SDU for including is NUM1, used in corresponding first MAC header of MAC SDU group 2 Second target logic channel is LCID2, and the second destination number for the MAC SDU for including is NUM2.
It, can be with and in embodiments of the present invention in order to identify the length of each MAC SDU the second Destination MAC SDU group Nei Using the length of each MAC SDU of L domain representation.As shown in figure 5, the length of the MAC SDU1/RLC SN1 in MAC SDU group 1 is The length of L1, MAC SDU2/RLC SN2 are L2, and the length of the MAC SDU3/RLC SN3 in MAC SDU group 2 is L3, MAC The length of SDU4/RLC SN4 is L4.Wherein between L1, L2, L3 and L4 any two can with it is identical can be different.
In embodiments of the present invention, according to the logic channel used, the multiple MAC SDU for including in MAC PDU are polymerize For at least one the second Destination MAC SDU group, for each second Destination MAC SDU group, according to first object MAC SDU group In include MAC SDU the second destination number and the second target logic channel, determine that the second Destination MAC SDU group is corresponding First MAC header, a second Destination MAC SDU group use first MAC header, reduce the MAC header in data transmission procedure Expense.
Embodiment 6:
It is described in the embodiment of the present invention on the basis of the various embodiments described above in order to further decrease the expense of MAC header By second destination number and the second target logic channel, it is determined as the second Destination MAC SDU group corresponding After one MAC header, the method also includes:
The length for identifying each MAC SDU in the second Destination MAC SDU group, it is identical to judge whether there is length MAC SDU;
If so, the identical MAC SDU of length is polymerized to the second sub- MAC SDU group, the described second sub- MAC SDU group is determined In include MAC SDU the second subnumber amount and the second sub- MAC SDU group in any one MAC SDU the second target Second target length and the second subnumber amount are determined as the described second sub- MAC SDU group corresponding second by length MAC header.
The identical MAC SDU of length in second Destination MAC SDU group is polymerized to the second sub- MAC SDU group, by the second son Corresponding second target length of MAC SDU group and the second subnumber amount are determined as the second MAC header of the second sub- MAC SDU group, can be with Further decrease the expense of MAC header.
For each second Destination MAC SDU group, MAC layer identifies each MAC SDU in the second Destination MAC SDU group Length, the identical MAC SDU of length is polymerized to the second sub- MAC SDU group, is wrapped according in the second determining sub- MAC SDU group The second subnumber amount of the MAC SDU contained and the second target length are determined as corresponding second MAC header of the second sub- MAC SDU group.
Because the length of any one MAC SDU in MAC SDU group sub- for same second be all it is identical, then may be used To be that any one MAC SDU length in the second sub- MAC SDU group is determined as the second target length, by the second target subnumber amount And second target length, it is determined as corresponding second MAC header of the second sub- MAC SDU group.
The second target length in corresponding second MAC header of second sub- MAC SDU group can be dominant instruction, i.e., directly takes The second target length with the second sub- MAC SDU group;It is also possible to recessive instruction, such as carries the second sub- MAC SDU group The second target length and the second datum length the second difference etc., wherein the first datum length can phase with the second datum length Together, it can also be different.
Specifically, the MAC SDU for including in the second sub- MAC SDU group can be at least one, if the second sub- MAC Only one MAC SDU in SDU group, then second MAC header can only include the length of the MAC SDU, as shown in Figure 5;If MAC SDU is contained at least two in the second sub- MAC SDU group, then may include the second subnumber amount and in second MAC header Two target lengths.Therefore it can determine that second MAC header is corresponding according to whether including the second subnumber amount in second MAC header The second sub- MAC SDU group in include the quantity of MAC SDU whether be 1.
MAC PDU after parsing encapsulates for convenience in embodiments of the present invention, then each second sub- MAC SDU group corresponds to Each of bit length shared by the second MAC header be 8 bits integral multiple.
Since the identical MAC SDU of length in the second Destination MAC SDU group is polymerized to second in embodiments of the present invention Corresponding second target length and the second subnumber amount in second sub- MAC SDU are determined as the second sub- MAC by sub- MAC SDU group Corresponding second MAC header of SDU group, can further reduced the expense of MAC header.
Embodiment 7:
It is described in the embodiment of the present invention on the basis of the various embodiments described above in order to further decrease the expense of MAC header It is determined as second target length and the second subnumber amount before the second MAC header of the described second sub- MAC SDU group, The method also includes:
Judge whether corresponding second target length of the described second sub- MAC SDU group is the second datum length;
If so, carrying out subsequent step;
If not, the second difference of second target length and second datum length is determined, by second son Quantity and second difference are determined as corresponding second MAC header of the described second sub- MAC SDU group.
Because the information in data transmission procedure in the second MAC header is usually used what binary form was indicated, So if the length of the data information of the MAC SDU in the second sub- MAC SDU group is too long, adopting in the second MAC header The second target length indicated with binary form is with regard to too long, therefore in order to further decrease use binary form to indicate the The data volume that two target lengths occupy, when corresponding second target length of the second sub- MAC SDU group is not or not second datum length, The second difference of the second target length and the second datum length in the second sub- MAC SDU group is carried in the 2nd MAC In corresponding second MAC header of SDU group, it can be effectively reduced the data volume carried in the second MAC header, to reduce MAC header Expense.
In embodiments of the present invention, the second target length in the second MAC header is recessive instruction.
Second datum length can be preset second length value, be also possible to second Destination MAC SDU Second target length of the sub- MAC SDU group of any one in group second, can be by least one the second sub- MAC SDU group according to Second target length is from small to large or descending order is arranged, using minimum or maximum second target length as the Two datum lengths can be according to the sequence submitted of high level, that is, the sequence of each MAC SDU that MAC layer receives, and will wrap It is corresponding containing the second sub- MAC SDU group where the be initially received or MAC SDU that finally receives, the second target is long Degree is as second datum length etc..Wherein the second datum length may be the same or different with the first datum length, wherein the Two length values and the first length are the corresponding binary form of any positive integer, and the second length value and the first length value can be identical It can be different.
After being arranged in passing from small to large or from big to small according to the second target length, by minimum or maximum second Target length is as the second datum length, then for the sub- MAC SDU group corresponding second of each of non-second datum length second For target length, each of determining the second difference of each of second target length and the second datum length is on the occasion of either It is negative value, then it, can be with when the second subnumber amount and the second difference being determined as corresponding second MAC header of the second sub- MAC SDU group The absolute value of the second difference is used to be determined as the second difference.
If it is by preset second length value either, will be comprising being initially received or last received MAC SDU, place corresponding second target length of the second sub- MAC SDU group as the second datum length, then for non-second For corresponding second target length of the sub- MAC SDU group of each of datum length second, determine each of the second target length with The second difference of each of second datum length may be positive and may be negative, then the second subnumber amount and the second difference is determined as second When corresponding second MAC header of sub- MAC SDU group, need to indicate positive and negative with a bit, remaining bit indicates that second is poor The absolute value of value, such as indicate positive and negative with first bit.
If corresponding second target length of the second sub- MAC SDU group is the second datum length, can be directly by second Subnumber amount and the second target length are determined as corresponding second MAC header of the second sub- MAC SDU group.
In order to facilitate the MAC PDU after parsing encapsulation, each of wherein each second Destination MAC SDU group second is determined The information of sub- MAC SDU group can be the second sub- MAC SDU group by the second target length for the second datum length, as this First RLC PDU in logic channel, the sub- MAC SDU group of the second of remaining non-second datum length are arranged in below, accordingly Namely by corresponding second MAC header of the second sub- MAC SDU group arrange corresponding second Destination MAC SDU group most before End.
Certainly, in order to further decrease the expense of MAC header, when the second datum length is a preset length value When, if corresponding second target length of the second sub- MAC SDU group is the second datum length, can be the second target length With the first difference namely 0 and the second subnumber amount of the second datum length, it is determined as the second sub- MAC SDU group corresponding second MAC header.
Fig. 6 is a kind of MAC PDU pack arrangement based on the second Destination MAC SDU provided in an embodiment of the present invention, such as Fig. 6 institute The MAC PDU shown is obtained by two the second Destination MAC SDU group encapsulation, this two the second Destination MAC SDU groups are respectively MAC SDU group 1 and MAC SDU group 2, the domain LCID and the domain NUM indicate respectively, the second mesh of MAC SDU in the second Destination MAC SDU group Logic channel and the second destination number are marked, second target logic channel is LCID1 in corresponding first MAC header of MAC SDU group 1, The second destination number for the MAC SDU for including is NUM1, the second target logic channel in corresponding first MAC header of MAC SDU group 2 For LCID2, the second destination number for the MAC SDU for including is NUM2.
The domain L indicates the second target length of each second sub- MAC SDU group, corresponding first second son in first domain L The second target length L1 of MAC SDU, i.e. the second datum length, each of later corresponding second mesh of the second sub- MAC SDU group Length Ln is marked, the second target length of the second sub- MAC SDU group and the second difference Loffset of the second datum length L1 are passed through To indicate.
As shown in fig. 6, the second sub- MAC SDU group in first the second Destination MAC SDU group be respectively RLC SN1 and The second target length for including in corresponding second MAC header of RLC SN2, RLC SN1 is L1, corresponding second MAC header of RLC SN2 In the second difference be L2offset, indicate indirectly the RLC SN2 the second target length be L1+L2offset.Second The first MAC header and the second MAC header of the sub- MAC SDU group of each of two Destination MAC SDU groups second are similar to the above process, This second the second Destination MAC SDU group is not repeated them here in the embodiment of the present invention.
Specifically, the MAC SDU for including in the second sub- MAC SDU group can be at least one, if the second sub- MAC Only one MAC SDU in SDU group, then second MAC header can only include the length of the MAC SDU, as shown in Figure 6;If MAC SDU is contained at least two in the second sub- MAC SDU group, then may include the second subnumber amount and in second MAC header Two target lengths.Therefore it can determine that second MAC header is corresponding according to whether including the second subnumber amount in second MAC header The second sub- MAC SDU group in include the quantity of MAC SDU whether be 1.
It is not that the second benchmark is long by corresponding second target length of the second sub- MAC SDU group due in the embodiment of the present invention Degree, by the second sub- MAC SDU group the second target length and the second datum length the second difference carry this second In corresponding second MAC header of MAC SDU group, it can be effectively reduced the data volume carried in the second MAC header, to reduce MAC The expense of head.
Embodiment 8:
On the basis of the various embodiments described above, in the embodiment of the present invention, if the polymerization parameter includes length and use Logic channel, it is described to be directed to each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and described Identical polymerization parameter in MAC SDU group determines that corresponding first MAC header of the MAC SDU group includes:
Using MAC SDU group that identical polymerization parameter in each MAC SDU group is length and logic channel as the Three Destination MAC SDU groups;
For each third Destination MAC SDU group, the of the MAC SDU that the first object MAC SDU group includes is determined The third target length of any one MAC SDU and the third mesh used in three destination numbers, the third Destination MAC SDU group It marks logic channel and three destination number, third target length and third target logic channel is determined as the third target Corresponding first MAC header of MAC SDU group.
It, under normal conditions can there are to be sent since in the LTE system of 5G, the polymerizable functional of rlc layer is cancelled Multiple length are identical and the identical MAC SDU of logic channel that uses, that is, in the MAC PDU that will be encapsulated as The identical MAC SDU of logic channel identical comprising multiple length and use.
Therefore the polymerization parameter can be length and the logic channel that uses in embodiments of the present invention, when by multiple MAC After SDU is polymerized at least one MAC SDU group, each third Destination MAC SDU is identified at least one MAC SDU group Group, wherein identical polymerization parameter is length and the logic channel used, i.e. the third target in the third Destination MAC SDU group The length of each MAC SDU in MAC SDU group is identical and the logic channel that uses is identical.
For third Destination MAC SDU group, in order to accurately determine the first MAC header of the third Destination MAC SDU group, Increase the third destination number for the MAC SDU for including in the third Destination MAC SDU group in its first MAC header, i.e. number field N, Being marked in third Destination MAC SDU group with number field N has the identical MAC SDU's identical with the logic channel used of length Total number.
In addition it can also include the third target length of MAC SDU in third Destination MAC SDU group in first MAC header Information, that is, length field L, and the information i.e. logic channel domain LCID of third target logic channel used, are marked with length field L The length of each MAC SDU, is marked with logic channel domain LCID in third Destination MAC SDU in third Destination MAC SDU group The logic channel that each MAC SDU is used.Because for any one MAC SDU in the same third Destination MAC SDU group Length be all it is identical, then the length of any one MAC SDU in third Destination MAC SDU group can be determined as third mesh Length is marked, and is all phase for the logic channel used of any one MAC SDU in the same third Destination MAC SDU group With, then the logic channel that can be used any one MAC SDU in third Destination MAC SDU group is determined as third mesh It marks logic channel and third destination number, third target length and third target logic channel is determined as third Destination MAC Corresponding first MAC header of SDU group.
Fig. 7 is a kind of MAC PDU structure based on third Destination MAC SDU group provided in an embodiment of the present invention, such as Fig. 7 institute The MAC PDU shown is obtained by the encapsulation of two third Destination MAC SDU groups, first the in two third Destination MAC SDU groups Three Destination MAC SDU groups are MAC SDU group 1, and second third Destination MAC SDU is MAC SDU group 2.Two third targets MAC SDU group is respectively MAC SDU group 1 and MAC SDU group 2, and the domain LCID, the domain NUM and the domain L indicated respectively, third Destination MAC Third target logic channel, third destination number and the third target length of MAC SDU in SDU group.Wherein MAC SDU group 1 Third target logic channel used in corresponding first MAC header is LCID1, and the third destination number for the MAC SDU for including is The third target length of NUM1, the every MAC SDU for including are L1, third used in corresponding first MAC header of MAC SDU group 2 Target logic channel is LCID2, and the third destination number for the MAC SDU for including is NUM2, the third mesh for the every MAC SDU for including Mark length is L2.
In embodiments of the present invention, according to length and the logic channel used, the multiple MAC that will include in MAC PDU SDU is polymerized at least one third Destination MAC SDU group, for each third Destination MAC SDU group, according to the third target Third destination number, third target length and the third target logic channel for the MAC SDU for including in MAC SDU group, determining should Corresponding first MAC header of third Destination MAC SDU group, corresponding first MAC header of a third Destination MAC SDU group, reduces The expense of MAC header in data transmission procedure.
Embodiment 9:
On the basis of the various embodiments described above, in the embodiment of the present invention, it is described will at least one described MAC SDU group and its Corresponding first MAC header is encapsulated as a MAC PDU
Each of determining first MAC header is arranged in front end and the encapsulation of all MAC PDU groups;Or
Before each first MAC header is arranged in its corresponding MAC SDU group and encapsulate.
It can be first to every when at least one MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU A first MAC header and at least one MAC SDU group are arranged, and are packaged again after arrangement.
At least one MAC SDU group and its arrangement of corresponding first MAC header can be and be arranged in each first MAC header First MAC header is arranged in front of all MAC SDU groups, as shown in Figure 3 and Figure 4 by the front end of all MAC SDU groups.
At least one MAC SDU and its arrangement of corresponding first MAC header can be and arrange each first MAC header Before its corresponding MAC SDU group, i.e., interweaved or using the domain N and the domain L to the second Destination MAC to first object MAC SDU group SDU group is interweaved using the domain LCID and the domain NUM, as shown in Figure 5 and Figure 6
The embodiment of the present invention is illustrated with several specific embodiments below.
Fig. 8 is a kind of MAC PDU knot of dominant length based on first object MAC SDU provided in an embodiment of the present invention Structure, MAC PDU as shown in Figure 8 are obtained by two first object MAC SDU group encapsulation, two first object MAC SDU groups In first first object MAC SDU group be MAC SDU group 1, second first object MAC SDU group is MAC SDU group 2.Often A first MAC header is arranged in front of its corresponding MAC SDU group, that is, first the first MAC header is arranged in MAC SDU group 1 Before, second the first MAC header is arranged in front of MAC SDU group 2 etc..
N1 in first MAC header indicates the quantity for the MAC SDU for including in MAC SDU group 1, and L1 indicates MAC SDU group 1 In the length of each MAC SDU be L1, the N2 in second the first MAC header indicates the MAC SDU for including in MAC SDU group 2 Quantity, L2 indicate that the length of each MAC SDU in MAC SDU group 2 is L2.
Comprising there are two MAC SDU, respectively MAC SDU1 and MAC SDU2, LCID1 to indicate MAC in MAC SDU group 1 The logic channel that MAC SDU1 is used in SDU group 1 is LCID1, and LCID2 indicates the logic that MAC SDU2 is used in MAC SDU group 1 Channel is LCID2, MAC SDU, respectively MAC SDU3 and MAC SDU4, LCID3 expression comprising there are two in MAC SDU group 2 The logic channel that MAC SDU3 is used in MAC SDU group 2 is LCID3, and MAC SDU4 is used in LCID4 expression MAC SDU group 2 Logic channel is LCID4.
Fig. 9 is a kind of MAC PDU knot of recessive length based on first object MAC SDU provided in an embodiment of the present invention Structure, MAC PDU as shown in Figure 9 are obtained by two first object MAC SDU group encapsulation, two first object MAC SDU groups Middle first aim MAC SDU group is MAC SDU group 1, and second target MAC SDU group is MAC SDU group 2, each first MAC Head is arranged in front of its corresponding MAC SDU group, that is, first the first MAC header is arranged in front of MAC SDU group 1, by the Two the first MAC headers are arranged in front of MAC SDU group 2 etc..
N1 in first MAC header indicates that the quantity for the MAC SDU for including in MAC SDU group 1 is N1, and L1 indicates MAC The length of each MAC SDU is L1 in SDU group 1, and the N2 in second the first MAC header indicates the MAC for including in MAC SDU group 2 The quantity N2 of SDU carries the first difference Loffset1 in second the first MAC header, i.e., each MAC SDU in MAC SDU group 2 Length is Loffset1+L1.
Comprising there are two MAC SDU, respectively MAC SDU1 and MAC SDU2, LCID1 to indicate MAC in MAC SDU group 1 The logic channel that MAC SDU1 is used in SDU group 1 is LCID1, and LCID2 indicates the logic that MAC SDU2 is used in MAC SDU group 1 Channel is LCID2, MAC SDU, respectively MAC SDU3 and MAC SDU4, LCID3 expression comprising there are two in MAC SDU group 2 The logic channel that MAC SDU3 is used in MAC SDU group 2 is LCID3, and MAC SDU4 is used in LCID4 expression MAC SDU group 2 Logic channel is LCID4.
It is described to encapsulate at least one described MAC SDU group and its corresponding first MAC header when there are the second MAC header Include: for a MAC PDU
Second MAC header is arranged according to the corresponding MAC SDU group of second MAC header for each second MAC header The front end of all sub- MAC SDU groups and encapsulation in the MAC SDU group;
Second MAC header is arranged according to the corresponding MAC SDU group of second MAC header for each second MAC header The front end of its corresponding sub- MAC SDU group and encapsulation in the MAC SDU group.
Figure 10 is another MAC pack arrangement based on the second Destination MAC SDU group provided in an embodiment of the present invention, such as Figure 10 Shown in MAC PDU obtained by the encapsulation of two the second Destination MAC SDU groups, first in this two the second Destination MAC SDU groups Second Destination MAC SDU group is MAC SDU group 1, and second the second Destination MAC SDU is MAC SDU group 2, RLC PDU, that is, MAC SDU, each first MAC header are arranged in front of its corresponding second Destination MAC SDU group, and each second MAC header is arranged in second Before the corresponding second sub- MAC SDU group of its in Destination MAC SDU group etc..
LCID1 in first the first MAC header indicates that corresponding second target logic channel is in MAC SDU group 1 LCID1, NUM1 indicate that the second destination number for the MAC SDU/RLC PDU for including in MAC SDU group 1 is NUM1, second the LCID2 in one MAC header indicates that corresponding second target logic channel is LCID2 in MAC SDU group 2, and NUM2 indicates MAC SDU The second destination number for the MAC SDU/RLC PDU for including in group 2 is NUM2.
Include first the second sub- MAC there are two the second sub- MAC SDU group, in MAC SDU group 1 in MAC SDU group 1 The quantity for the MAC SDU for including in SDU group is N1, and L2 indicates the length of each MAC SDU in first the second sub- MAC SDU group For L1, the quantity for the MAC SDU for including in second the second sub- MAC SDU group in MAC SDU group 1 is N2, and L2 indicates second The length of each MAC SDU is L2 in a second sub- MAC SDU group, includes that there are two the second sub- MAC SDU in MAC SDU group 2 The quantity of group, the MAC SDU for including in first the second sub- MAC SDU group in MAC SDU group 2 is N3, and L3 indicates first The length of each MAC SDU is L3 in second sub- MAC SDU group, in second the second sub- MAC SDU group in MAC SDU group 2 The quantity for the MAC SDU for including is N4, and L4 indicates that the length of each MAC SDU in second the second sub- MAC SDU group is L4.
In embodiments of the present invention, the multiple MAC SDU for including in MAC PDU are polymerized at least one MAC SDU group, Each at least one polymerization parameter of MAC SDU in the same MAC SDU group after polymerization is identical, polymerization parameter include length and The logic channel used, for each MAC SDU group, according to the quantity and the MAC of the MAC SDU for including in the MAC SDU group Identical polymerization parameter in SDU group determines corresponding first MAC header of MAC SDU group, and is encapsulated as a MAC PDU and carries out It sends, a MAC SDU group uses identical first MAC header, and MAC header is effectively reduced in data transmission procedure Expense.
Embodiment 10:
In order to further decrease the expense of MAC header, on the basis of the various embodiments described above, in the embodiment of the present invention, for Each MAC SDU group determines that the quantity for the MAC SDU for including in the group includes:
For each MAC SDU group, by the of the quantity for the MAC SDU for including in the MAC SDU group and the quantity of setting Three differences are determined as the quantity of the MAC SDU in the MAC SDU group included.
Because the information in data transmission procedure in the first MAC header is usually used what binary form was indicated, So the third difference of the quantity of MAC SDU and the quantity of setting to be determined as to the MAC SDU in the sets of numbers of MAC SDU included Quantity, the expense of MAC header can be further decreased.
The quantity of the setting can be the binary form of the positive integers such as 1 or 2.The quantity of the MAC SDU can be The corresponding first object quantity of first object MAC SDU group, the corresponding first subnumber amount of the first sub- MAC SDU group, the second target Corresponding second destination number of MAC SDU group, the corresponding second subnumber amount of the second sub- MAC SDU group and third Destination MAC SDU One or more of corresponding third destination number of group.
The third difference of the quantity of MAC SDU and the quantity of setting is determined as MAC SDU's in embodiments of the present invention The quantity for the MAC SDU for including in sets of numbers can further decrease the expense of MAC header.
Embodiment 11:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of electronic equipment, as shown in figure 11, packet It includes: processor 1101, memory 1102 and transceiver 1103;
The processor 1101 executes following process: according to pending for holding for reading the program in memory 1102 The multiple MAC SDU is polymerized at least one MAC SDU group by the multiple MAC SDU sent, wherein same after polymerization Each at least one polymerization parameter of MAC SDU in MAC SDU group is identical, and the polymerization parameter includes length and the logic used Channel;For each MAC SDU group, according in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group Identical polymerization parameter determines corresponding first MAC header of the MAC SDU group;It will at least one described MAC SDU group and its right The first MAC header answered is encapsulated as a MAC PDU, sends the MAC PDU after encapsulation by the transceiver 1103;
The transceiver 1103, for sending the MAC PDU after encapsulating under the control of processor 1101.
Based on the same inventive concept, a kind of electronic equipment is additionally provided in the embodiment of the present invention, due to above-mentioned electronic equipment The principle solved the problems, such as is similar to data transmission method, therefore the implementation of above-mentioned electronic equipment may refer to the implementation of method, weight Multiple place repeats no more.
In Figure 11, bus architecture may include the bus and bridge of any number of interconnection, specifically by 1101 generation of processor The various circuits for the memory that the one or more processors and memory 1102 of table represent link together.Bus architecture may be used also To link together various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like, these are all It is known in the art, therefore, it will not be further described herein.Transceiver 1103 can be multiple element, that is, wrap Transmitter and receiver are included, the unit for communicating over a transmission medium with various other devices is provided.Processor 1101 is responsible for Bus architecture and common processing are managed, memory 1102 can store the used number when executing operation of processor 1101 According to.
Optionally, processor 1101 can be CPU (centre buries device), ASIC (Application Specific Integrated Circuit, specific integrated circuit), (Field-Programmable Gate Array, scene can compile FPGA Journey gate array) or CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices).
The processor 1101 will be in each MAC SDU group if including length specifically for the polymerization parameter Identical polymerization parameter is the MAC SDU group of length as first object MAC SDU group;For each first object MAC SDU Group, determine the MAC SDU that the first object MAC SDU group includes first object quantity and the first object MAC SDU The first object quantity and first object length are determined as described by the first object length of any one MAC SDU in group Corresponding first MAC header of first object MAC SDU group.
Whether the processor 1101 is also used to judge the corresponding first object length of the first object MAC SDU group For the first datum length;If so, the first object quantity and first object length are determined as the first object MAC Corresponding first MAC header of SDU group;If not, determine the first difference of the first object length and first datum length, By the first object quantity and first difference, it is determined as corresponding first MAC header of the first object MAC SDU group.
The processor 1101 is also used to identify that each MAC SDU in the first object MAC SDU group used patrols Channel is collected, the identical MAC SDU of the logic channel used is judged whether there is;If so, by the identical MAC of the logic channel used SDU is polymerized to the first sub- MAC SDU group, determines the first subnumber amount for the MAC SDU for including in the described first sub- MAC SDU group, And the first object logic channel that any one MAC SDU is used in the first sub- MAC SDU group, described first will used Target logic channel and the first subnumber amount are determined as corresponding second MAC header of the described first sub- MAC SDU group.
The processor 1101, if specifically for the polymerization parameter include using logic channel, will be described each Identical polymerization parameter is the MAC SDU group of the logic channel used as the second Destination MAC SDU group in MAC SDU group;Needle To each second Destination MAC SDU group, the second destination number for the MAC SDU that the second Destination MAC SDU group includes is determined, And the second target logic channel that any one MAC SDU is used in the second Destination MAC SDU group, by second target Quantity and the second target logic channel are determined as corresponding first MAC header of the second Destination MAC SDU group.
The processor 1101 is also used to identify the length of each MAC SDU in the second Destination MAC SDU group, sentences It is disconnected to whether there is the identical MAC SDU of length;If so, the identical MAC SDU of length is polymerized to the second sub- MAC SDU group, really It is any in the second subnumber amount and the second sub- MAC SDU group of the MAC SDU for including in the fixed second sub- MAC SDU group Second target length and the second subnumber amount are determined as second son by the second target length of one MAC SDU Corresponding second MAC header of MAC SDU group.
The processor 1101, be also used to judge corresponding second target length of the described second sub- MAC SDU group whether be Second datum length;If so, second target length and the second subnumber amount are determined as the described second sub- MAC Corresponding second MAC header of SDU group;If not, determine the second difference of second target length and second datum length, By the second subnumber amount and second difference, it is determined as corresponding second MAC header of the described second sub- MAC SDU group.
The processor 1101, if including length and the logic channel used specifically for the polymerization parameter, by institute Stating identical polymerization parameter in each MAC SDU group is length and the MAC SDU group of logic channel as third Destination MAC SDU Group;For each third Destination MAC SDU group, the third target for the MAC SDU that the first object MAC SDU group includes is determined The third target length of any one MAC SDU and the third target logic used in quantity, the third Destination MAC SDU group Three destination number, third target length and third target logic channel are determined as the third Destination MAC by channel Corresponding first MAC header of SDU group.
The processor 1101 is also used to for each MAC SDU group, the MAC SDU that will include in the MAC SDU group The third difference of quantity and the quantity of setting is determined as the quantity of the MAC SDU in the MAC SDU group included.
The processor 1101 each of is also used to determine that the first MAC header is arranged in the front end of all MAC PDU groups simultaneously Encapsulation;Or it before each first MAC header is arranged in its corresponding MAC SDU group and encapsulates.
In embodiments of the present invention, when processor executes the program stored on memory, realization will include in MAC PDU Multiple MAC SDU be polymerized at least one MAC SDU group, each MAC SDU in the same MAC SDU group after polymerization is extremely A few polymerization parameter is identical, and polymerization parameter includes length and the logic channel used, for each MAC SDU group, according to this Identical polymerization parameter in the quantity for the MAC SDU for including in MAC SDU group and the MAC SDU group, determines the MAC SDU group pair The first MAC header answered, and be encapsulated as a MAC PDU and send, a MAC SDU group uses identical first MAC header, The expense of MAC header is effectively reduced in data transmission procedure.
Embodiment 12:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of electronic equipment, as shown in figure 12, packet It includes: processor 1201, communication interface 1202, memory 1203 and communication bus 1204, wherein processor 1201, communication interface 1202, memory 1203 completes mutual communication by communication bus 1204;
It is stored with computer program in the memory 1203, when described program is executed by the processor 1201, is made It obtains the processor 1201 and executes following steps:
According to multiple MAC SDU to be sent, the multiple MAC SDU is polymerized at least one MAC SDU group, wherein Each at least one polymerization parameter of MAC SDU in the same MAC SDU group after polymerization is identical, and the polymerization parameter includes length The logic channel spent and used;
For each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC SDU Identical polymerization parameter in group determines corresponding first MAC header of the MAC SDU group;
At least one described MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU to send.
Electronic equipment provided in an embodiment of the present invention be specifically as follows desktop computer, portable computer, smart phone, Tablet computer, personal digital assistant (Personal Digital Assistant, PDA), network side equipment etc..
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface 1202 is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), dedicated collection At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard Part component etc..
In embodiments of the present invention, when processor executes the program stored on memory, realization will include in MAC PDU Multiple MAC SDU be polymerized at least one MAC SDU group, each MAC SDU in the same MAC SDU group after polymerization is extremely A few polymerization parameter is identical, and polymerization parameter includes length and the logic channel used, for each MAC SDU group, according to this Identical polymerization parameter in the quantity for the MAC SDU for including in MAC SDU group and the MAC SDU group, determines the MAC SDU group pair The first MAC header answered, and be encapsulated as a MAC PDU and send, a MAC SDU group uses identical first MAC header, The expense of MAC header is effectively reduced in data transmission procedure.
Embodiment 13:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of computers to store readable storage medium Matter is stored with the computer program that can be executed by electronic equipment in the computer readable storage medium, when described program is in institute It states when being run on electronic equipment, so that the electronic equipment realizes following steps when executing: according to multiple MAC to be sent The multiple MAC SDU is polymerized at least one MAC SDU group by SDU, wherein in the same MAC SDU group after polymerization Each at least one polymerization parameter of MAC SDU is identical, and the polymerization parameter includes length and the logic channel used;
For each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC SDU Identical polymerization parameter in group determines corresponding first MAC header of the MAC SDU group;
At least one described MAC SDU group and its corresponding first MAC header are encapsulated as a MAC PDU to send.
Above-mentioned computer readable storage medium can be any usable medium that the processor in electronic equipment can access Or data storage device, including but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc., optical memory Such as CD, DVD, BD, HVD and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid state hard disk (SSD) etc..
Computer program, computer program are provided in the computer readable storage medium provided in embodiments of the present invention It is realized when being executed by processor and the multiple MAC SDU for including in MAC PDU is polymerized at least one MAC SDU group, after polymerization The same MAC SDU group in each at least one polymerization parameter of MAC SDU it is identical, polymerization parameter includes length and uses Logic channel, for each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and the MAC SDU group In identical polymerization parameter, determine corresponding first MAC header of MAC SDU group, and be encapsulated as MAC PDU and send, one MAC SDU group uses identical first MAC header, and the expense of MAC header is effectively reduced in data transmission procedure.
Figure 13 is a kind of data transmission device schematic diagram provided in an embodiment of the present invention, which includes:
Aggregation module 131, for according to multiple media access control Service Data Unit MAC SDU to be sent, by institute It states multiple MAC SDU and is polymerized at least one MAC SDU group, wherein each MAC in the same MAC SDU group after polymerization At least one polymerization parameter of SDU is identical, and the polymerization parameter includes length and the logic channel used;
Determining module 132, for being directed to each MAC SDU group, according to the number for the MAC SDU for including in the MAC SDU group Identical polymerization parameter in amount and the MAC SDU group, determines corresponding first MAC header of the MAC SDU group;
Sending module 133 is encapsulated, at least one described MAC SDU group and its corresponding first MAC header to be encapsulated as One MAC PDU is sent.
The determining module 132, if including length specifically for the polymerization parameter, by each MAC SDU group In identical polymerization parameter be length MAC SDU group as first object MAC SDU group;For each first object MAC SDU group, determine the MAC SDU that the first object MAC SDU group includes first object quantity and the first object MAC The first object quantity and first object length are determined as by the first object length of any one MAC SDU in SDU group Corresponding first MAC header of the first object MAC SDU group.
The determining module 132, specifically for judging that the corresponding first object length of the first object MAC SDU group is No is the first datum length;If so, the first object quantity and first object length are determined as the first object Corresponding first MAC header of MAC SDU group;If not, determining the first of the first object length and first datum length The first object quantity and first difference are determined as the first object MAC SDU group corresponding first by difference MAC header.
The determining module 132 is also used to identify what each MAC SDU in the first object MAC SDU group was used Logic channel judges whether there is the identical MAC SDU of the logic channel used;If so, the logic channel used is identical MAC SDU is polymerized to the first sub- MAC SDU group, determines the first subnumber for the MAC SDU for including in the described first sub- MAC SDU group The first object logic channel that any one MAC SDU is used in amount and the first sub- MAC SDU group, described in using First object logic channel and the first subnumber amount are determined as corresponding second MAC header of the described first sub- MAC SDU group.
The determining module 132, if specifically for the polymerization parameter include using logic channel, will be described each Identical polymerization parameter is the MAC SDU group of the logic channel used as the second Destination MAC SDU group in MAC SDU group;Needle To each second Destination MAC SDU group, the second destination number for the MAC SDU that the second Destination MAC SDU group includes is determined, And the second target logic channel that any one MAC SDU is used in the second Destination MAC SDU group, by second target Quantity and the second target logic channel are determined as corresponding first MAC header of the second Destination MAC SDU group.
The determining module 132 is also used to identify the length of each MAC SDU in the second Destination MAC SDU group, sentences It is disconnected to whether there is the identical MAC SDU of length;If so, the identical MAC SDU of length is polymerized to the second sub- MAC SDU group, really It is any in the second subnumber amount and the second sub- MAC SDU group of the MAC SDU for including in the fixed second sub- MAC SDU group Second target length and the second subnumber amount are determined as second son by the second target length of one MAC SDU Corresponding second MAC header of MAC SDU group.
The determining module 132 is specifically used for whether judging corresponding second target length of the described second sub- MAC SDU group For the second datum length;If so, second target length and the second subnumber amount are determined as the described second sub- MAC Second MAC header of SDU group;If not, the second difference of second target length and second datum length is determined, by institute It states the second subnumber amount and second difference is determined as corresponding second MAC header of the described second sub- MAC SDU group.
The determining module 132, if including length and the logic channel used specifically for the polymerization parameter, by institute Stating identical polymerization parameter in each MAC SDU group is length and the MAC SDU group of logic channel as third Destination MAC SDU Group;For each third Destination MAC SDU group, the third target for the MAC SDU that the first object MAC SDU group includes is determined The third target length of any one MAC SDU and the third target logic used in quantity, the third Destination MAC SDU group Three destination number, third target length and third target logic channel are determined as the third Destination MAC by channel Corresponding first MAC header of SDU group.
The determining module 132 is also used to for each MAC SDU group, the MAC SDU that will include in the MAC SDU group Quantity and setting quantity third difference, be determined as the quantity of the MAC SDU in the MAC SDU group included.
The encapsulation sending module 133, specifically for each of will determine that the first MAC header is arranged in all MAC PDU groups Front end and encapsulation;Or it before each first MAC header is arranged in its corresponding MAC SDU group and encapsulates.
In embodiments of the present invention, the multiple MAC SDU for including in MAC PDU are polymerized at least one MAC SDU group, Each at least one polymerization parameter of MAC SDU in the same MAC SDU group after polymerization is identical, polymerization parameter include length and The logic channel used, for each MAC SDU group, according to the quantity and the MAC of the MAC SDU for including in the MAC SDU group Identical polymerization parameter in SDU group determines corresponding first MAC header of MAC SDU group, by least one MAC SDU group and its Corresponding first MAC header is encapsulated as a MAC PDU and is sent, and a MAC SDU group uses identical first MAC Head effectively reduces the expense of MAC header in data transmission procedure.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (23)

1. a kind of data transmission method, which is characterized in that the described method includes:
According to multiple media access control Service Data Unit MAC SDU to be sent, by the multiple MAC SDU be polymerized to A few MAC SDU group, wherein each MAC SDU at least one polymerization parameter phase in the same MAC SDU group after polymerization Together, the polymerization parameter includes length and the logic channel used;
For each MAC SDU group, according in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group Identical polymerization parameter determines corresponding first MAC header of the MAC SDU group;
By at least one described MAC SDU group and its corresponding first MAC header be encapsulated as a Medium Access Control (MAC) Protocol Data Unit PDU into Row is sent.
2. the method as described in claim 1, which is characterized in that described for each if the polymerization parameter includes length MAC SDU group is joined according to polymerization identical in the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group Number, determines that corresponding first MAC header of the MAC SDU group includes:
Using the MAC SDU group that identical polymerization parameter in each MAC SDU group is length as first object MAC SDU Group;
For each first object MAC SDU group, the first mesh for the MAC SDU that the first object MAC SDU group includes is determined The first object length for marking any one MAC SDU in quantity and the first object MAC SDU group, by the first object Quantity and first object length are determined as corresponding first MAC header of the first object MAC SDU group.
3. method according to claim 2, which is characterized in that it is described by the first object quantity and first object length, It is determined as before corresponding first MAC header of the first object MAC SDU group, the method also includes:
Judge whether the corresponding first object length of the first object MAC SDU group is the first datum length;
If so, carrying out subsequent step;
If not, the first difference of the first object length and first datum length is determined, by the first object number Amount and first difference, are determined as corresponding first MAC header of the first object MAC SDU group.
4. method as claimed in claim 2 or claim 3, which is characterized in that described that the first object quantity and first object is long Degree, is determined as after corresponding first MAC header of the first object MAC SDU group, the method also includes:
It identifies the logic channel that each MAC SDU in the first object MAC SDU group is used, judges whether there is and use The identical MAC SDU of logic channel;
If so, the identical MAC SDU of the logic channel used is polymerized to the first sub- MAC SDU group, the described first sub- MAC is determined Any one MAC SDU is used in the first subnumber amount for the MAC SDU for including in SDU group and the first sub- MAC SDU group The first object logic channel used and the first subnumber amount are determined as described first by first object logic channel Corresponding second MAC header of sub- MAC SDU group.
5. the method as described in claim 1, which is characterized in that if the polymerization parameter include using logic channel, institute For each MAC SDU group described in stating, according to the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group In identical polymerization parameter, determine that corresponding first MAC header of the MAC SDU group includes:
It is the MAC SDU group of the logic channel used as the second mesh using identical polymerization parameter in each MAC SDU group Mark MAC SDU group;
For each second Destination MAC SDU group, the second mesh for the MAC SDU that the second Destination MAC SDU group includes is determined The second target logic channel that any one MAC SDU is used in mark quantity and the second Destination MAC SDU group, will be described Second destination number and the second target logic channel are determined as corresponding first MAC of the second Destination MAC SDU group Head.
6. method as claimed in claim 5, which is characterized in that described to patrol second destination number and second target Channel is collected, is determined as after corresponding first MAC header of the second Destination MAC SDU group, the method also includes:
The length for identifying each MAC SDU in the second Destination MAC SDU group, judges whether there is the identical MAC of length SDU;
If so, the identical MAC SDU of length is polymerized to the second sub- MAC SDU group, determines and wrapped in the described second sub- MAC SDU group The second target length of any one MAC SDU in the second subnumber amount of the MAC SDU contained and the second sub- MAC SDU group, By second target length and the second subnumber amount, it is determined as corresponding second MAC header of the described second sub- MAC SDU group.
7. method as claimed in claim 6, which is characterized in that described by second target length and second subnumber Amount is determined as before corresponding second MAC header of the described second sub- MAC SDU group, the method also includes:
Judge whether corresponding second target length of the described second sub- MAC SDU group is the second datum length;
If so, carrying out subsequent step;
If not, the second difference of second target length and second datum length is determined, by the second subnumber amount With second difference, it is determined as corresponding second MAC header of the described second sub- MAC SDU group.
8. the method as described in claim 1, which is characterized in that if the polymerization parameter includes length and the logic used letter Road, it is described to be directed to each MAC SDU group, according to the quantity and the MAC SDU group of the MAC SDU for including in the MAC SDU group In identical polymerization parameter, determine that corresponding first MAC header of the MAC SDU group includes:
It is length and the MAC SDU group of logic channel as third mesh using identical polymerization parameter in each MAC SDU group Mark MAC SDU group;
For each third Destination MAC SDU group, the third mesh for the MAC SDU that the first object MAC SDU group includes is determined The third target length of any one MAC SDU and the third target used are patrolled in mark quantity, the third Destination MAC SDU group It collects channel and three destination number, third target length and third target logic channel is determined as the third Destination MAC Corresponding first MAC header of SDU group.
9. the method as described in claim 1, which is characterized in that be directed to each MAC SDU group, determine the MAC for including in the group The quantity of SDU includes:
It is for each MAC SDU group, the third of the quantity for the MAC SDU for including in the MAC SDU group and the quantity of setting is poor Value, is determined as the quantity of the MAC SDU in the MAC SDU group included.
10. the method as described in claim 1, which is characterized in that described by least one described MAC SDU group and its corresponding First MAC header is encapsulated as a MAC PDU
Each of determining first MAC header is arranged in front end and the encapsulation of all MAC PDU groups;Or
Before each first MAC header is arranged in its corresponding MAC SDU group and encapsulate.
11. a kind of data transmission device, which is characterized in that described device includes:
Aggregation module will be the multiple for according to multiple media access control Service Data Unit MAC SDU to be sent MAC SDU is polymerized at least one MAC SDU group, wherein each MAC SDU in the same MAC SDU group after polymerization is at least One polymerization parameter is identical, and the polymerization parameter includes length and the logic channel used;
Determining module, for being directed to each MAC SDU group, according to the quantity for the MAC SDU for including in the MAC SDU group and institute Identical polymerization parameter in MAC SDU group is stated, determines corresponding first MAC header of the MAC SDU group;
Sending module is encapsulated, at least one described MAC SDU group and its corresponding first MAC header to be encapsulated as a MAC PDU is sent.
12. a kind of electronic equipment characterized by comprising memory, processor and transceiver;
The processor executes following process: realizing following steps: according to pending for reading the program in the memory The multiple media access control Service Data Unit MAC SDU sent, are polymerized at least one MAC for the multiple MAC SDU SDU group, wherein polymerization after the same MAC SDU group in each at least one polymerization parameter of MAC SDU it is identical, the polymerization Parameter includes length and the logic channel used;For each MAC SDU group, according to the MAC SDU for including in the MAC SDU group Quantity and the MAC SDU group in identical polymerization parameter, determine corresponding first MAC header of the MAC SDU group;By institute It states at least one MAC SDU group and its corresponding first MAC header is encapsulated as a Medium Access Control (MAC) Protocol Data Unit PDU, pass through the receipts Hair machine sends the MAC PDU after encapsulation;
The transceiver, for sending the MAC PDU after encapsulating under the control of a processor.
13. electronic equipment as claimed in claim 12, which is characterized in that the processor, if being specifically used for the polymerization Parameter includes length, using the MAC SDU group that identical polymerization parameter in each MAC SDU group is length as first object MAC SDU group;For each first object MAC SDU group, the MAC SDU that the first object MAC SDU group includes is determined The first object length of any one MAC SDU in first object quantity and the first object MAC SDU group, by described One destination number and first object length are determined as corresponding first MAC header of the first object MAC SDU group.
14. electronic equipment as claimed in claim 13, which is characterized in that the processor is also used to judge first mesh Mark whether the corresponding first object length of MAC SDU group is the first datum length;If so, by the first object quantity and One target length is determined as corresponding first MAC header of the first object MAC SDU group;If not, determining the first object The first object quantity and first difference are determined as described by the first difference of length and first datum length Corresponding first MAC header of first object MAC SDU group.
15. electronic equipment according to claim 13 or 14, which is characterized in that the processor is also used to identify described The logic channel that each MAC SDU in one Destination MAC SDU group is used, it is identical to judge whether there is the logic channel used MAC SDU;If so, the identical MAC SDU of the logic channel used is polymerized to the first sub- MAC SDU group, described first is determined Any one MAC SDU in the first subnumber amount for the MAC SDU for including in sub- MAC SDU group and the first sub- MAC SDU group The first object logic channel used and the first subnumber amount are determined as institute by the first object logic channel used State corresponding second MAC header of the first sub- MAC SDU group.
16. electronic equipment as claimed in claim 12, which is characterized in that the processor, if being specifically used for the polymerization Parameter include using logic channel, be the logic channel used by identical polymerization parameter in each MAC SDU group MAC SDU group is used as the second Destination MAC SDU group;For each second Destination MAC SDU group, second Destination MAC is determined Any one MAC SDU is used in the second destination number for the MAC SDU that SDU group includes and the second Destination MAC SDU group The second target logic channel second destination number and the second target logic channel are determined as second mesh Mark corresponding first MAC header of MAC SDU group.
17. electronic equipment as claimed in claim 16, which is characterized in that the processor is also used to identify second mesh The length for marking each MAC SDU in MAC SDU group, judges whether there is the identical MAC SDU of length;If so, length is identical MAC SDU be polymerized to the second sub- MAC SDU group, determine the MAC SDU for including in the described second sub- MAC SDU group second son The second target length of any one MAC SDU in quantity and the second sub- MAC SDU group, by second target length With the second subnumber amount, it is determined as corresponding second MAC header of the described second sub- MAC SDU group.
18. electronic equipment as claimed in claim 17, which is characterized in that the processor is also used to judge second son Whether corresponding second target length of MAC SDU group is the second datum length;If so, by second target length and described Second subnumber amount is determined as corresponding second MAC header of the described second sub- MAC SDU group;If not, determining that second target is long The second subnumber amount and second difference are determined as described second by the second difference of degree and second datum length Corresponding second MAC header of sub- MAC SDU group.
19. electronic equipment as claimed in claim 12, which is characterized in that the processor, if being specifically used for the polymerization Parameter includes length and the logic channel used, is length and logic by identical polymerization parameter in each MAC SDU group The MAC SDU group of channel is as third Destination MAC SDU group;For each third Destination MAC SDU group, first mesh is determined Any one MAC SDU in the third destination number of the mark MAC SDU group MAC SDU that includes, the third Destination MAC SDU group Third target length and the third target logic channel that uses, by three destination number, third target length and third mesh Logic channel is marked, corresponding first MAC header of the third Destination MAC SDU group is determined as.
20. electronic equipment as claimed in claim 12, which is characterized in that the processor is also used to for each MAC SDU The third difference of the quantity for the MAC SDU for including in the MAC SDU group and the quantity of setting is determined as the MAC SDU group by group In include MAC SDU quantity.
21. electronic equipment as claimed in claim 12, which is characterized in that the processor each of is also used to determine One MAC header is arranged in the front end of all MAC PDU groups and encapsulation;Or each first MAC header is arranged in its corresponding MAC Before SDU group and encapsulate.
22. a kind of electronic equipment characterized by comprising processor, communication interface, memory and communication bus, wherein place Device, communication interface are managed, memory completes mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the processor Perform claim requires the step of 1~10 any claim the method.
23. a kind of computer readable storage medium, which is characterized in that it is stored with the computer journey that can be executed by electronic equipment Sequence, when described program is run on the electronic equipment, so that electronic equipment perform claim requirement 1~10 is any described The step of method.
CN201710447736.7A 2017-06-14 2017-06-14 Data transmission method and device, electronic equipment and storage medium Active CN109089284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710447736.7A CN109089284B (en) 2017-06-14 2017-06-14 Data transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710447736.7A CN109089284B (en) 2017-06-14 2017-06-14 Data transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109089284A true CN109089284A (en) 2018-12-25
CN109089284B CN109089284B (en) 2021-11-19

Family

ID=64839422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710447736.7A Active CN109089284B (en) 2017-06-14 2017-06-14 Data transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109089284B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914879A (en) * 2004-06-14 2007-02-14 Lg电子株式会社 Reducing overheads of a protocol data unit in a wireless communication system
CN101043304A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Data processing method of long-term evolving network
US20080137573A1 (en) * 2006-12-12 2008-06-12 Interdigital Technology Corporation Method and apparatus for transmitting and receiving a packet via high speed downlink packet access
CN102265701A (en) * 2008-12-24 2011-11-30 高通股份有限公司 Optimized header for efficient processing of data packets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914879A (en) * 2004-06-14 2007-02-14 Lg电子株式会社 Reducing overheads of a protocol data unit in a wireless communication system
CN101043304A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Data processing method of long-term evolving network
US20080137573A1 (en) * 2006-12-12 2008-06-12 Interdigital Technology Corporation Method and apparatus for transmitting and receiving a packet via high speed downlink packet access
CN102265701A (en) * 2008-12-24 2011-11-30 高通股份有限公司 Optimized header for efficient processing of data packets

Also Published As

Publication number Publication date
CN109089284B (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN107360591B (en) Method and equipment for reporting buffer status report
CN103607775B (en) Logic channel is distinguished priority method and the WTRU implemented in WTRU
CN104093211B (en) Buffer state reports system and method
CN108667739A (en) Jamming control method, apparatus and system
CN103348728B (en) System and method for multi-channel packet transmission
US20170288821A1 (en) Method and apparatus for transmitting and receiving data in a communication system
KR102425771B1 (en) Buffer status reporting method and terminal
CN107889163A (en) Data processing method, apparatus and system
CN114189905A (en) Message processing method and related equipment
US20140245114A1 (en) Encapsulation for link layer preemption
CN110740481B (en) Data processing method, equipment and computer storage medium based on service quality
CN107770807A (en) A kind of data processing method and device
CN108632326B (en) Method and device for transmitting data by protocol data unit
CN106464581A (en) Data transmission method and system and data receiving device
CN108156628A (en) A kind of method, apparatus and system of resource allocation
CN109561395A (en) A kind of blue-tooth transmission method and device
CN103685060B (en) data packet sending method and device
TWI737881B (en) Method, and device for transmitting data, and transmitting end
US20200154306A1 (en) Terminal and base station in wireless communication system, and communication method thereof
CN106412039A (en) Distributed storage network integration method and system
CN108062235A (en) Data processing method and device
CN106911740A (en) A kind of method and apparatus of cache management
CN115038125A (en) Data transmission method and device, electronic equipment and storage medium
CN105207858B (en) Access device and method for connecting user equipment to network executed by access device
CN113938431B (en) Burst data packet transmission method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant