CN104579541B - A kind of building method of wireless communication system Medium Access Layer protocol Data Unit - Google Patents

A kind of building method of wireless communication system Medium Access Layer protocol Data Unit Download PDF

Info

Publication number
CN104579541B
CN104579541B CN201310499253.3A CN201310499253A CN104579541B CN 104579541 B CN104579541 B CN 104579541B CN 201310499253 A CN201310499253 A CN 201310499253A CN 104579541 B CN104579541 B CN 104579541B
Authority
CN
China
Prior art keywords
mac
pdu
mac sub
sub
payload
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.)
Active
Application number
CN201310499253.3A
Other languages
Chinese (zh)
Other versions
CN104579541A (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.)
Beijing Jiuhuaxin Information Technology Co Ltd
Original Assignee
Beijing Jiuhuaxin Information Technology 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 Beijing Jiuhuaxin Information Technology Co Ltd filed Critical Beijing Jiuhuaxin Information Technology Co Ltd
Priority to CN201310499253.3A priority Critical patent/CN104579541B/en
Publication of CN104579541A publication Critical patent/CN104579541A/en
Application granted granted Critical
Publication of CN104579541B publication Critical patent/CN104579541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of wireless communication system Medium Access Layer mac-layer protocol data cell PDU building method, wherein, MAC PDU are subjected to segmented construction, a MAC Sub PDU includes 4 parts:N bit synchronous code, MAC header, MAC Payload, K bit CRC CRC.Further relate to a kind of receiving end MAC layer SDU and control information unit restoration methods.The inventive method improves system throughput, has saved the interface-free resources of preciousness.

Description

A kind of building method of wireless communication system Medium Access Layer protocol Data Unit
Technical field
The present invention relates to wireless communication field, more particularly to wireless communication system Medium Access Layer (MAC layer) protocol data MAC layer service data unit (SDU) and MAC layer control information unit after the building method of unit (PDU) and receiving end solution multiple connection The restoration methods of (Control Element).
Background technology
Due to the particularity of communication environments, wireless communication system physical layer often produces error code in transmission.And because The presence of error code, can cause the diffusion of mistake, so as to greatly reduce system throughput, waste the interface-free resources of preciousness.With Exemplified by LTE system, its MAC layer PDU building method is as shown in figure 1, each sub-header is corresponding in turn to MAC in MAC header MAC Control element, a MAC SDU or fills unit padding in payload, as " E " in sub-header Whether also field (being used for the MAC sub-header for indicating follow-up cascade), " L " field (are used to indicate MAC payload phases Answer MAC Control element or MAC SDU byte length) or " F " field (for illustrating " L " field length) appearance mistake By mistake, current and follow-up sub-header parsing will be influenceed, causes subsequent cascaded MAC SDU or control information unit can not be extensive Multiple (solution multiple connection), causes the diffusion of mistake.
The content of the invention
Due to the particularity of communication environments, wireless communication system physical layer often produces error code in transmission, and due to The presence of error code, can cause the diffusion of mistake, cause the MAC layer SDU or control information unit of subsequent cascaded can not be by correct extensive Multiple (solution multiple connection), so as to greatly reduce system throughput, wastes the interface-free resources of preciousness.
The present invention is solved the above problems by carrying out segmented construction to MAC PDU, and appropriate technical solution mainly has following 5 points:1) in MAC PDU construction process, using the method for segmented construction, i.e., a MAC PDU is segmented into multiple MAC Sub- PDU, the concatenated in order that a complete MAC PDU is several MAC Sub-PDU;
2) a MAC layer SDU, control information unit or fills unit are considered as to a MAC sub-payload, often Individual MAC Sub-PDU include one or more sub-payload, and corresponding MAC header (by one or more correspondences Constituted in each sub-payload MAC sub-header);
3) synchronous code of N-bit is increased in each MAC Sub-PDU, its purpose is to find possible MAC Sub- PDU starting point, N values are bigger, and false-alarm probability is lower, can effectively reduce receiving end complexity;
4) K bit CRC (CRC) is increased in each MAC Sub-PDU, its purpose is used to verify possibility MAC Sub-PDU it is whether correct;
5) each sub-payload (MAC layer SDU, control information unit) length, and each MAC are reasonably limited The sub-payload numbers included in Sub-PDU payload, can more effectively recover corresponding information, it is to avoid due to physics Error diffusion caused by layer error code.
The invention provides a kind of wireless communication system Medium Access Layer mac-layer protocol data cell PDU building method, This method includes:MAC PDU are subjected to segmented construction, a MAC PDU is segmented into multiple MAC Sub-PDU, wherein each MAC Sub-PDU includes 4 parts:N bit synchronous code, MAC header, MAC Payload, K bit CRC CRC, Specific configuration method is as follows:
Constructing variable:MAC PDU remaining construction resource block size is YiBit, when initial, Y0=Y, wherein Y >=K+ N;The MAC Sub-PDU of segmented construction number is i, when initial, i=0;Need the MAC Sub-Payload of cascade number For M, length is respectively { L0, L1..., LM-1, unit is bit, and its corresponding MAC Sub-Header number is also M, length point Wei not { H0, H1..., HM-1, unit is bit;Each MAC Sub-PDU can at most cascade Z MAC Sub-Payload, its In, 0 < Z≤M;The number for having cascaded MAC Sub-Payload is Xi, when initial, X0=0;Current MAC Sub-PDU cascades MAC Sub-Payload numbers not comprising fills unit are Ui, wherein, 0 < Ui≤min{M-Xi, Z }, wherein min { x, y } table Show and less one is selected from x, y;
Constitution step is as follows:
A) in interval (0, min { M-Xi, Z }] in, wherein (x, y] represent that being more than x is less than or equal to y, finds and meetsMaximum positive integer F, if in the presence of, from it is interval (0, F] one number of selection is assigned to Ui, and Step b) is entered, if being not present, step d) is entered;
B) i-th of MAC Sub-PDU is constructed, wherein comprising numbering from XiStart, to Xi+Ui- 1 common U terminatediIndividual MAC Sub- Payload, its length isBit;Update Into step c);
C) it is divided into two kinds of situations:
I. X is worked asi+1Equal to M and Yi+1MAC Sub-Header length H corresponding more than fills unitPWhen, to i-th of MAC Sub-PDU is filled, and fills unit is inserted wherein, and its corresponding MAC Sub-Header length is HP, corresponding MAC Sub- Payload length is Yi+1-HP, MAC PDU construction completes exit construction flow;
Ii. X is worked asi+1During less than M, update i=i+1 and return to step a) proceeds segmented construction;
D) it is divided into two kinds of situations:
I. i is worked as>When 0, Y is judgediWhether the corresponding MAC Sub-Header length H of fills unit is more thanpIf being less than Then construction complete, directly exits MAC PDU construction flows;If being more than or equal to, the i-th -1 MAC Sub-PDU is filled, Fills unit is inserted wherein, and corresponding MAC Sub-Header length is Hp, corresponding MAC Sub-Payload length is Yi-Hp, MAC PDU construction completes, exit construction flow;
Ii. when i=0, Y is judged0Whether-K-N is more than the corresponding MAC Sub-Header length H of fills unitp, If the construction complete less than if, MAC PDU construction flows are directly exited;If being more than or equal to, the 0th MAC Sub-PDU is filled, Fills unit is inserted wherein, and corresponding MAC Sub-Header length is Hp, corresponding MAC Sub-Payload length is Y0-Hp- K-N, MAC PDU construction completes, exit construction flow.
Wherein, a complete MAC PDU is formed by several MAC Sub-PDU concatenated in order.
When carrying out MAC Sub-PDU constructions, the relative position relation of 4 parts is as described below:
A) synchronous code need to be before MAC header;
B) MAC header need to be before MAC payload;
C) CRC parts present position is any, strengthens the flexibility ratio of construction.
Synchronous code is the fixed sequence program that length known to transmitting-receiving two-end is N bit.
MAC Payload can carry one or more MAC sub-Payload, and wherein MAC sub-Payload can be with It is MAC layer SDU, control information unit or fills unit;MAC header corresponds to each MAC sub- by one or more Payload MAC sub-header are constituted;Each MAC sub-header MACs corresponding with MAC Payload in MAC header Sub-Payload is strictly corresponded in the precedence of arrangement.
The generator polynomial and its generation method of K bit CRCs are known to transmitting-receiving two-end;It is many according to generating Item formula, K bit CRCs are calculated by its excess-three part and obtained, or are obtained by MAC header and MAC Payload calculating .
Reasonably limit the MAC sub- included in each MAC sub-payload length, and each MAC Sub-PDU Payload numbers, more effectively to recover corresponding information, it is to avoid due to diffusion wrong caused by physical layer error code.
It is separate between each MAC Sub-PDU, all comprising respective synchronous code and CRC, introduce synchronous code and effectively drop The complexity of low data recovery, introduces the correctness that CRC ensure that MAC Sub-PDU, effectively overcomes due to physical layer error code The problem of caused error diffusion.
Corresponding receiving end MAC layer SDU and control information unit restoration methods comprise the following steps:
A) the MAC PDU information sequences of the building method construction are parsed, synchronous code are searched for, wherein synchronous code is sending and receiving end Synchronous code with identical N bit;
If the information sequence b) detected is matched with synchronous code, a possible MAC Sub-PDU original position is obtained;
C) MAC Sub-PDU MAC headers therein are read, its length are obtained, and follow-up MAC is drawn by MAC header Payload;
D) CRC parts are obtained;
E) judge to read whether possible MAC Sub-PDU length is more than entirely plus the position of current search synchronous code MAC PDU length, if being more than, that directly exits MAC PDU demultiplexes termination process;If being less than or equal to, step f) is entered;
F) CRC check is carried out to the possible MAC Sub-PDU of acquisition, if success, then it is assumed that be correct MAC Sub- PDU, can solve the wherein specific SDU of multiple connection or control information unit, and to the letter after the MAC Sub-PDU in MAC PDU Breath sequence is operated according to step g);If failure, the information sequence after the possible MAC Sub-PDU that this is searched Row are operated according to step h);
If g) limiting MAC Sub-PDU length as non-whole byte, solution parsing MAC PDU location updating is current matching MAC Next bit of Sub-PDU afterbodys;If limiting MAC Sub-PDU length as whole byte, solution parsing MAC PDU location updating is Next byte of current matching MAC Sub-PDU afterbodys;Return to step a) is worked on until recovering complete MAC PDU;
If h) limiting MAC Sub-PDU length as non-whole byte, solution parsing MAC PDU location updating searches for this Synchronous code original position after following bit;If limiting MAC Sub-PDU length as whole byte, solution parsing MAC PDU's Next byte after the synchronous code original position that location updating is searched for this, return to step a) be worked on until Recover complete MAC PDU.
The technical program is summarized, in the process of data transfer, MAC PDU segmented construction is subjected to, its advantage includes:
1) it is separate between each MAC Sub-PDU, solves because error diffusion is asked caused by physical layer error code Topic, wherein the worst case for continuous mistake occur is as shown in Figure 5;
2) each MAC Sub-PDU include synchronous code and CRC, and the presence of synchronous code can effectively reduce receiving end complexity Degree, CRC can then be verified to MAC Sub-PDU correctness, effectively be overcome because mistake expands caused by physical layer error code The problem of dissipating;
3) due to introducing synchronous code so that synchronous code in each MAC Sub-PDU, MAC header, MAC payload and CRC can To there is multiple rows mode, strengthen the flexibility ratio of construction;
4) SDU and control information unit number suitably included in one MAC Sub-PDU of limitation, and suitably limiting Its length, can effectively reduce the influence that physical layer error code is brought, and strengthen data recovery capabilities, and recovery as much as possible is corresponding Information.
Brief description of the drawings
Fig. 1 shows existing LTE system MAC layer PDU building method.
Fig. 2 shows originator MAC PDU detailed configuration scheme.
Fig. 3 shows present invention originator MAC PDU construction flow.
Fig. 4 shows that receiving end MAC SDU of the present invention and control information unit recover flow.
Fig. 5 shows the worst case for continuous mistake occur.
Fig. 6 shows that LTE indicates MAC SDU or MAC Control Element MAC Sub-header forms.
Fig. 7 shows that LTE indicates the MAC Sub-header forms of fills unit.
Fig. 8 shows MAC PDU segmented construction example.
Embodiment
Technical scheme of the present invention is described further with reference to specific embodiment.
As shown in Fig. 2 a kind of wireless communication system media access mac-layer protocol data cell PDU building method, bag Include:MAC PDU are subjected to segmented construction, i.e., a MAC PDU are segmented into multiple MAC Sub-PDU, one of MAC Sub-PDU includes 4 parts:N bit synchronous code, MAC header, MAC Payload, K bit CRC CRC, Specific configuration method is as follows:MAC PDU remaining construction resource block size be Yi bits (when initial, Y0=Y, wherein Y >=K+ N), the MAC Sub-PDU of segmented construction number is i (when initial, i=0), needs the MAC Sub-Payload of cascade Number is M, and length is respectively { L0, L1..., LM-1(unit is bit), its corresponding MAC Sub-Header number is also M, long Degree is respectively { H0, H1..., HM-1(unit is bit), each MAC Sub-PDU can at most cascade Z MAC Sub-Payload (0 < Z≤M), MAC Sub-Payload number has been cascaded for Xi(when initial, X0=0), current MAC Sub-PDU cascade MAC Sub-Payload numbers not comprising fills unit are Ui(0 < Ui≤min{M-Xi, Z }, wherein min { x, y } represent from Minimum one is selected in x, y).Fig. 3 provides comprising the following steps that for MAC PDU constructions:
A) in interval (0, min { M-Xi, Z }] (wherein (x, y] represent that being more than x is less than or equal in y), finds and meetsMaximum positive integer F, if in the presence of, from it is interval (0, F] one number of selection is assigned to Ui, and Step b) is entered, if being not present, step d) is entered.
B) i-th of MAC Sub-PDU is constructed, wherein comprising numbering from XiStart, to Xi+Ui- 1 common U terminatediIndividual MAC Sub-Payload, its length isBit.Update Xi+1=Xi+Ui, into step c).
C) it is divided into two kinds of situations:
I. X is worked asi+1Equal to M and Yi+1MAC Sub-Header length (H corresponding more than fills unitP) when, to i-th MAC Sub-PDU are filled, and fills unit is inserted wherein, and (corresponding MAC Sub-Header length is HP, corresponding MAC Sub-Payload length is Yi+1-HP), MAC PDU construction completes exit construction flow.
Ii. X is worked asi+1During less than M, update i=i+1 and return to step a) proceeds segmented construction
D) it is divided into two kinds of situations:
I. i is worked as>When 0, Y is judgediWhether the corresponding MAC Sub-Header length (H of fills unit is more thanp), if small In then construction complete, MAC PDU construction flows are directly exited, if being more than or equal to, the i-th -1 MAC Sub-PDU is filled out Fill, fills unit is inserted wherein, corresponding MAC Sub-Header length is Hp, corresponding MAC Sub-Payload length is Yi- Hp, MAC PDU construction completes exit construction flow.
Ii. when i=0, Y is judged0Whether-K-N is more than the corresponding MAC Sub-Header length of fills unit (Hp), if the construction complete less than if, MAC PDU construction flows are directly exited, if being more than or equal to, the 0th MAC Sub-PDU is carried out Filling, inserts fills unit wherein, and corresponding MAC Sub-Header length is Hp, corresponding MAC Sub-Payload length is Y0-Hp- K-N, MAC PDU construction completes, exit construction flow.
This method also includes, and a complete MAC PDU is formed by several MAC Sub-PDU concatenated in order.
This method also includes, and when carrying out MAC Sub-PDU constructions, the relative position relation of 4 parts is as described below:
A) synchronous code need to be before MAC header;
B) MAC header need to be before MAC payload;
C) CRC parts present position can be any, strengthens the flexibility ratio of construction.
This method also includes, and synchronous code is the fixed sequence program that length known to transmitting-receiving two-end is N bit.
This method also includes, and MAC Sub-PDU can carry one or more sub-Payload, wherein sub-Payload Can be MAC layer SDU, control information unit or fills unit;MAC header corresponds to each sub- by one or more Payload MAC sub-header are constituted;Each sub-header sub-s corresponding with MAC Payload in MAC header Payload is strictly corresponded in the precedence of arrangement.
This method also includes, the generator polynomial and its generation method of K bit CRCs for transmitting-receiving two-end Know;According to generator polynomial, K bit CRCs are calculated by its excess-three part and obtained, or by MAC header and MAC Payload two parts, which are calculated, to be obtained.
This method also includes, separate between each MAC Sub-PDU, all comprising respective synchronous code and CRC, synchronous The presence of code can effectively reduce receiving end complexity, and CRC can then be verified to MAC Sub-PDU correctness, effectively overcome Due to caused by physical layer error code the problem of error diffusion.
This method also includes, and reasonably limits and is included in each sub-payload length, and each MAC Sub-PDU Sub-payload numbers, more effectively to recover corresponding information, it is to avoid due to diffusion wrong caused by physical layer error code.
The present invention a kind of receiving end MAC layer SDU and control information unit restoration methods are also provided, as shown in Figure 4 include with Lower step:
A) parsing MAC PDU information sequences are solved, synchronous code is searched for, wherein MAC PDU are constructed such as the building method started, Synchronous code is the synchronous code that sending and receiving end has identical N bit;
If the information sequence b) detected is matched with synchronous code, a possible MAC Sub-PDU original position is obtained;
C) MAC Sub-PDU MAC headers therein are read, its length are obtained, and follow-up Payload is drawn by MAC header;
D) CRC parts are obtained;
E) judge to read whether possible MAC Sub-PDU length is more than entirely plus the position of current search synchronous code MAC PDU length, if being more than, that directly exits MAC PDU demultiplexes termination process;If being less than or equal to, step f) is entered;
F) CRC check is carried out to the possible MAC Sub-PDU of acquisition, if success, then it is assumed that be correct MAC Sub- PDU, can solve the wherein specific SDU of multiple connection or control information unit, and to the letter after the MAC Sub-PDU in MAC PDU Breath sequence is operated according to step g);If failure, the information sequence after the possible MAC Sub-PDU that this is searched Row are operated according to step h);
If g) limiting MAC Sub-PDU length as non-whole byte, solution parsing MAC PDU location updating is current matching MAC Next bit of Sub-PDU afterbodys;If limiting MAC Sub-PDU length as whole byte, solution parsing MAC PDU location updating is Next byte of current matching MAC Sub-PDU afterbodys.Return to step a) is worked on;
If h) limiting MAC Sub-PDU length as non-whole byte, solution parsing MAC PDU location updating searches for this Synchronous code original position after following bit;If limiting MAC Sub-PDU length as whole byte, solution parsing MAC PDU's Location updating is next byte after the synchronous code original position that this is searched.Return to step a) is worked on;
Said process is repeated, until recovering complete MAC PDU.
It is separate between each MAC Sub-PDU, solves the problems, such as due to error diffusion caused by physical layer error code, The worst case for continuous mistake wherein occur is as shown in Figure 5.
Using the MAC Sub-header make consistent with LTE system, as shown in fig. 6, for indicate MAC SDU or " R/R " reserved fields of MAC Control element MAC Sub-header comprising 2 bits, " E " of 1 bit are used to refer to Show follow-up " LCID " field for whether also having the MAC sub-header cascaded, 5 bits for indicating MAC SDU or MAC " L " field of the bit of Control element type, 7 or 15 is used to indicate corresponding MAC Control in MAC payload Element or MAC SDU byte length, " F " field of 1 bit are used to illustrate that (" 0 " expression " L " field is " L " field length 7 bits, " 1 " expression " L " field is 15 bits).Fig. 7 provides the MAC Sub-header forms that LTE indicates fills unit, due to Fills unit one is scheduled on after the effective MAC SDU of all cascades or MAC Control element, so not needing " F " " L " field.
Originator MAC PDU segmented constructions are described by taking following conditions as an example:
1) setting of the key parameter of some in embodiment:
A) there is M=3 MAC Sub-Payload, be L respectively0The MAC SDU, L of=100 bytes1The MAC of=2 bytes Control element and L2The MAC SDU of=256 bytes, corresponding MAC Sub-Header numbers are also 3, length difference For H0=2 bytes, H1=2 bytes, H2=3 bytes
B) each MAC Sub-PDU can at most cascade Z=2 MAC Sub-Payload.MAC Sub-PDU synchronous code Length N=8bit, is 0x55, CRC CRC length K=32 bits
C) current MAC PDU total lengths are Y0=500 bytes.Follow-up MAC PDU segmented constructions be all using byte as Unit.
2) MAC PDU segmented constructions process
A) for the 0th MAC Sub-PDU construction, it is interval (0, min { 3,2 }] in, meet againMaximum positive integer F=2, take U0=2, construct the MAC Sub- that length is 111 bytes PDU。
B) the 0th MAC Sub-PDU includes a L0The MAC SDU and L of=100 bytes1The MAC Control of=2 bytes Element, corresponds to H respectively0=2 bytes, H1The MAC Sub-header of=2 bytes.Adjust Y1=500-111=389 bytes, X1=2.
C) because X1Less than M, and 1+4+H2+L2< Y1, so updating i=1, enter the 1st MAC Sub-PDU structure Make process.
D) for the 1st MAC Sub-PDU construction, it is interval (0, min { 1,2 }] in, meet againMaximum positive integer F=1, take U1=1, construct the MAC Sub- that length is 264 bytes PDU。
E) the 1st MAC Sub-PDU includes a L2The MAC SDU of=256 bytes, correspondence H2The MAC Sub- of=3 bytes header.Adjust Y2=389-264=125 bits, X2=3.
F) because X2Equal to M, and Y2More than Hp, so needing to be filled the 1st MAC Sub-PDU, insert wherein Fills unit, corresponding MAC Sub-Header length is HP=1 byte, corresponding MAC Sub-Payload length is 124 bytes, MAC PDU construction completes, exit construction flow.
3) MAC Sub-PDU packaging structure process:
A) first MAC Sub-PDU construction process:
I. L is indicated0=100 byte MAC SDU MAC sub-header encapsulation process:
1. the bit map for the MAC SDU that corresponding " LCID " field is set to indicate that;
2. because the MAC Sub-PDU also need to cascade a MAC Control element, so corresponding " E " expands Exhibition field is set to 1 and (when " E " is set to 1, illustrates subsequently there is MAC sub-header;When " E " is set to 0 Wait, illustrate MAC sub-header subsequently are not present);
3. due to the MAC SDU length of 100 bytes, it is only necessary to which " L " of 7 bits indicates MAC SDU length, so setting It is 0 to put " F " field;
4. it is 100 length for indicating corresponding MAC sub-payload carrying MAC SDU to set " L " of 7 bits.
Ii. L is indicated1=2 byte MAC Control element MAC sub-header encapsulation process:
1. the bit map for the MAC Control element that corresponding " LCID " field is set to indicate that;
2. due to other MAC sub-payload are subsequently not present, so corresponding " E " extended field is set to 0;
3. due to the MAC Control element of 2 bytes, it is only necessary to which " L " of 7 bits indicates MAC SDU length, So setting " F " field to be 0;
4. it is 2 length for indicating corresponding MAC sub-payload carrying MAC SDU to set " L " of 7 bits.
Iii. MAC header and MAC payload set will be combined and carry out concatenated in order, but MAC header positions Must be before MAC payload set;
Iv. synchronous code is placed before MAC header;
V. MAC header and MAC payload (or synchronous head, MAC header and MAC payload) are passed through 32 Position CRC generator polynomial X^32+X^26+X^23+X^22+X^16+X^12+X^11+X^10+X^8+X^7+X^5+X^4+ X^2+X^ 1+1 obtains 32 bit check bits;
Vi., 32 bit CRC are placed to MAC payload afterbody;
B) second MAC Sub-PDU construction process:
I. L is indicated2=256 byte MAC SDU MAC sub-header encapsulation process:
1. the bit map for the MAC SDU that corresponding " LCID " field is set to indicate that;
2. because the MAC Sub-PDU also need to cascade a fills unit, so corresponding " E " extended field is set to 1;
3. due to the MAC SDU length of 256 bytes, it is only necessary to which " L " of 15 bits indicates MAC SDU length, so It is 1 to set " F " field;
4. it is 256 length for indicating corresponding MAC sub-payload carrying MAC SDU to set " L " of 15 bits.
Ii. H is addedPThe MAC sub-header and length L of=1 bytePThe fills unit of=124 bytes.
Iii. MAC header and MAC payload set will be combined and carry out concatenated in order, but MAC header positions Must be before MAC payload set;
Iv. IV, V, VI in the placement of synchronous code, CRC generation and placement process type step a).
C) two MAC Sub-PDU of concatenated in order are combined into MAC PDU, as shown in Figure 8.

Claims (9)

1. a kind of wireless communication system Medium Access Layer mac-layer protocol data cell PDU building method, it is characterised in that:Will MAC PDU carry out segmented construction, and a MAC PDU is segmented into multiple MAC Sub-PDU, wherein each MAC Sub-PDU include 4 Individual part:N bit synchronous code, MAC header, MAC Payload, K bit CRC CRC, specific configuration method It is as follows:
Constructing variable:MAC PDU remaining construction resource block size is Yi bits, when initial, Y0=Y, wherein Y >=K+N;Point The MAC Sub-PDU of section construction number is i, when initial, i=0;The number for needing the MAC Sub-Payload of cascade is M, Length is respectively { L0, L1..., LM-1, unit is bit, and its corresponding MAC Sub-Header number is also M, and length is respectively {H0, H1..., HM-1, unit is bit;Each MAC Sub-PDU can at most cascade Z MAC Sub-Payload, wherein, 0 < Z≤M;The number for having cascaded MAC Sub-Payload is Xi, when initial, X0=0;Current MAC Sub-PDU cascades do not include The MAC Sub-Payload numbers of fills unit are Ui, wherein, 0 < Ui≤min{M-Xi, Z }, wherein min { x, y } is represented from x, Less one is selected in y;
Constitution step is as follows:
A) in interval (0, min { M-Xi, Z }] in, wherein (x, y] represent that being more than x is less than or equal to y, finds and meetsMaximum positive integer F, if in the presence of, from it is interval (0, F] one number of selection is assigned to Ui, and Step b) is entered, if being not present, step d) is entered;
B) i-th of MAC Sub-PDU is constructed, wherein comprising numbering from XiStart, to Xi+Ui- 1 common U terminatediIndividual MACSub- Payload, its length isBit;UpdateXi+1 =Xi+Ui, into step c);
C) it is divided into two kinds of situations:
I. X is worked asi+1Equal to M and Yi+1MAC Sub-Header length H corresponding more than fills unitPWhen, to i-th of MAC Sub- PDU is filled, and fills unit is inserted wherein, and its corresponding MAC Sub-Header length is HP, corresponding MAC Sub- Payload length is Yi+1-HP, MAC PDU construction completes exit construction flow;
II. X is worked asi+1During less than M, update i=i+1 and return to step a) proceeds segmented construction;
D) it is divided into two kinds of situations:
I. i is worked as>When 0, Y is judgediWhether the corresponding MAC Sub-Header length H of fills unit is more thanp, if the structure less than if Completion is made, MAC PDU construction flows are directly exited;If being more than or equal to, the i-th -1 MAC Sub-PDU is filled, at it Middle insertion fills unit, corresponding MAC Sub-Header length is Hp, corresponding MAC Sub-Payload length is Yi-Hp,MAC PDU construction completes, exit construction flow;
II. when i=0, Y is judged0Whether-K-N is more than the corresponding MAC Sub-Header length H of fills unitpIf, it is small In then construction complete, MAC PDU construction flows are directly exited;If being more than or equal to, the 0th MAC Sub-PDU is filled, at it Middle insertion fills unit, corresponding MAC Sub-Header length is Hp, corresponding MAC Sub-Payload length is Y0-Hp-K-N, MAC PDU construction completes, exit construction flow.
2. the method as described in claim 1, it is characterised in that a complete MAC PDU is by several MAC Sub-PDU Concatenated in order is formed.
3. method as claimed in claim 2, it is characterised in that when carrying out MAC Sub-PDU constructions, the relative position of 4 parts Put relation as described below:
A) synchronous code need to be before MAC header;
B) MAC header need to be before MAC payload;
C) CRC parts present position is any, strengthens the flexibility ratio of construction.
4. method as claimed in claim 3, it is characterised in that synchronous code is that length known to transmitting-receiving two-end is consolidating for N bit Sequencing is arranged.
5. method as claimed in claim 4, it is characterised in that MAC Payload can carry one or more MAC sub- Payload, wherein MAC sub-Payload are MAC layer SDU, control information unit or fills unit;MAC header by one or Multiple MAC sub-header corresponding to each MAC sub-payload are constituted;In MAC header each MAC sub-header with Corresponding MAC sub-Payload are strictly corresponded in the precedence of arrangement in MAC Payload.
6. method as claimed in claim 5, it is characterised in that the generator polynomial of K bit CRCs and its life It is known to transmitting-receiving two-end into method;According to generator polynomial, K bit CRCs are calculated by its excess-three part and obtained, Or acquisition is calculated by MAC header and MAC Payload.
7. method as claimed in claim 6, it is characterised in that reasonably limit each MAC sub-payload length, and The MAC sub-payload numbers included in each MAC Sub-PDU, more effectively to recover corresponding information, it is to avoid due to thing Wrong diffusion caused by reason layer error code.
8. method as claimed in claim 7, it is characterised in that separate between each MAC Sub-PDU, all comprising respective Synchronous code and CRC, introducing synchronous code effectively reduces the complexity of data recovery, introduces CRC and ensure that MAC Sub-PDU just True property, effectively overcomes due to caused by physical layer error code the problem of error diffusion.
9. the building method as described in claim any one of 1-8, it is characterised in that corresponding receiving end MAC layer SDU and control Information unit restoration methods comprise the following steps:
A) the MAC PDU information sequences of the building method construction are parsed, synchronous code are searched for, wherein synchronous code has for sending and receiving end Identical N bit synchronous code;
If the information sequence b) detected is matched with synchronous code, a possible MAC Sub-PDU original position is obtained;
C) MAC Sub-PDU MAC headers therein are read, its length are obtained, and follow-up MAC Payload are drawn by MAC header;
D) CRC parts are obtained;
E) judge to read whether possible MAC Sub-PDU length is more than whole MAC plus the position of current search synchronous code PDU length, if being more than, that directly exits MAC PDU demultiplexes termination process;If being less than or equal to, step f) is entered;
F) CRC check is carried out to the possible MAC Sub-PDU of acquisition, if success, then it is assumed that be correct MAC Sub-PDU, The wherein specific SDU of multiple connection or control information unit are solved, and the information sequence after the MAC Sub-PDU in MAC PDU is pressed Operated according to step g);If failure, from the information sequence after the possible MAC Sub-PDU that this is searched according to step Suddenly h) operated;
If g) limiting MAC Sub-PDU length as non-whole byte, solution parsing MAC PDU location updating is current matching MAC Sub- Next bit of PDU afterbodys;If limiting MAC Sub-PDU length as whole byte, solution parsing MAC PDU location updating is current Match next byte of MAC Sub-PDU afterbodys;Return to step a) is worked on until recovering complete MAC PDU;
If h) limiting MAC Sub-PDU length as non-whole byte, solution parsing MAC PDU location updating for this search it is same Walk the following bit after code original position;If limiting MAC Sub-PDU length as whole byte, solution parsing MAC PDU position Next byte after the synchronous code original position that this searches is updated to, return to step a) is worked on until recovering Complete MAC PDU.
CN201310499253.3A 2013-10-22 2013-10-22 A kind of building method of wireless communication system Medium Access Layer protocol Data Unit Active CN104579541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310499253.3A CN104579541B (en) 2013-10-22 2013-10-22 A kind of building method of wireless communication system Medium Access Layer protocol Data Unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310499253.3A CN104579541B (en) 2013-10-22 2013-10-22 A kind of building method of wireless communication system Medium Access Layer protocol Data Unit

Publications (2)

Publication Number Publication Date
CN104579541A CN104579541A (en) 2015-04-29
CN104579541B true CN104579541B (en) 2017-10-24

Family

ID=53094854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310499253.3A Active CN104579541B (en) 2013-10-22 2013-10-22 A kind of building method of wireless communication system Medium Access Layer protocol Data Unit

Country Status (1)

Country Link
CN (1) CN104579541B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109392178B (en) * 2017-08-10 2021-07-13 维沃移动通信有限公司 MPDU transmission method, user side equipment and network side equipment
CN110832901A (en) 2017-08-11 2020-02-21 Oppo广东移动通信有限公司 Data transmission method and related product
CN109392017B (en) * 2017-08-11 2021-07-09 大唐移动通信设备有限公司 Random access response method, device, base station and terminal
WO2019028866A1 (en) * 2017-08-11 2019-02-14 Oppo广东移动通信有限公司 Data transmission method and related product
CN109392187B (en) 2017-08-11 2022-04-12 华为技术有限公司 Method for transmitting random access response, access network equipment and terminal equipment
WO2019084891A1 (en) * 2017-11-03 2019-05-09 华为技术有限公司 Method and device for processing media access control protocol data unit
CN108650234A (en) * 2018-04-12 2018-10-12 上海交通大学 Communication means based on customized uplink and downlink MAC PDU structures
CN112787754B (en) * 2020-12-29 2022-08-16 紫光展锐(重庆)科技有限公司 Data processing method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404659A (en) * 2008-11-04 2009-04-08 中国科学院计算技术研究所 Construction and analysis method and device for protocol data unit
CA2772100A1 (en) * 2009-09-02 2011-03-02 Hang Zhang Mac packet data unit construction for wireless systems
CN102123520A (en) * 2010-01-07 2011-07-13 Lg电子株式会社 Method for processing MAC protocol data unit in a wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404659A (en) * 2008-11-04 2009-04-08 中国科学院计算技术研究所 Construction and analysis method and device for protocol data unit
CA2772100A1 (en) * 2009-09-02 2011-03-02 Hang Zhang Mac packet data unit construction for wireless systems
CN102123520A (en) * 2010-01-07 2011-07-13 Lg电子株式会社 Method for processing MAC protocol data unit in a wireless communication system

Also Published As

Publication number Publication date
CN104579541A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104579541B (en) A kind of building method of wireless communication system Medium Access Layer protocol Data Unit
CN103765848B (en) The apparatus and method replaced are controlled for media interviews
US20220416895A1 (en) Data transmission method and apparatus, terminal device and storage medium
CN103441816B (en) Device and the channel coding method of data is sent in wireless access system
US8989215B2 (en) Method, apparatus, and system for data transmission
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
US10396921B2 (en) Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium
CN108183764B (en) Multiframe sending and receiving method, device, communication equipment and communication network system
US10868687B2 (en) Service delivery method, device and system, and storage medium
CN108123775A (en) The method and apparatus of transmission packet
CN1736050A (en) Method of error control coding and decoding of messages in a packet-based data transmission system
CN109327226A (en) Coding and decoding method, device and the equipment of polarization code
CN101588370A (en) Analytic method of multirate communication data stream format
CN109286471B (en) CRC (Cyclic redundancy check) method and device for SRIO (serial peripheral input/output) controller
CN103532674B (en) The transmission coded method of a kind of file based on complex network
CN106162647A (en) A kind of smart machine configuration method of network entry and device
CN106455042A (en) Inter-node time synchronization method, wireless sensor network and node thereof
CN104519455B (en) A kind of transmission PBCH method, system and equipment
CN107645747B (en) Method and equipment for sending and receiving data
CN107707329B (en) Sparse code multiple access system and multi-user detection method thereof
CN102769512B (en) The implementation method and device of a kind of GFP frame delimitation
CN104753640B (en) A kind of adaptation method and device based on network transmission link
CN108011693B (en) General data coding method based on ARINC429 bus communication
CN106464418A (en) Methods, a wireless device, a radio network node for managing a control block
CN111200482B (en) GFP frame positioning processing method, device, electronic equipment and storage medium

Legal Events

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