CN104579541A - Method for constructing protocol data unit (PDU) of media access layer (MAC layer) of wireless communication system - Google Patents

Method for constructing protocol data unit (PDU) of media access layer (MAC layer) of wireless communication system Download PDF

Info

Publication number
CN104579541A
CN104579541A CN201310499253.3A CN201310499253A CN104579541A CN 104579541 A CN104579541 A CN 104579541A CN 201310499253 A CN201310499253 A CN 201310499253A CN 104579541 A CN104579541 A CN 104579541A
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.)
Granted
Application number
CN201310499253.3A
Other languages
Chinese (zh)
Other versions
CN104579541B (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

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention relates to a method for constructing a protocol data unit (PDU) of a media access layer (MAC layer) of a wireless communication system. The method comprises the following steps: constructing an MAC PDU in different sections, wherein one MAC Sub-PDU comprises four parts, that is, a synchronous code of N bit, an MAC head, an MAC Payload and a cyclic redundancy check code (CRC) of K bit. The invention further relates to an SDU (Service Data Unit) on the MAC layer and control information unit recovery method. By adopting the method, the throughput rate of the system is increased, and the precious shortage resource is saved.

Description

A kind of building method of wireless communication system Medium Access Layer (MAC layer) protocol Data Unit (PDU)
Technical field
The present invention relates to wireless communication field, particularly relate to the restoration methods of MAC layer service data unit (SDU) and MAC layer control information unit (Control Element) after the building method of wireless communication system Medium Access Layer (MAC layer) protocol Data Unit (PDU) and the multiple connection of receiving end solution.
Background technology
Due to the particularity of communication environments, wireless communication system physical layer often can produce error code when transmitting.Again because the existence of error code, the diffusion that can lead to errors, thus greatly reduce system throughput, waste valuable interface-free resources.For LTE system, the building method of its MAC layer PDU as shown in Figure 1, in MAC header, each sub-header is corresponding in turn to a MAC Control element in MAC payload, MAC SDU or filler cells padding, when " E " field in sub-header (being used to indicate the follow-up MAC sub-header whether also having cascade), there is mistake in " L " field (being used to indicate the byte length of MAC payload corresponding MAC Control element or MAC SDU) or " F " field (for illustration of " L " field length), the parsing of current and follow-up sub-header will be affected, cause subsequent cascaded MAC SDU or control information unit cannot recover (solution multiple connection), the diffusion led to errors.
Summary of the invention
Due to the particularity of communication environments; wireless communication system physical layer often can produce error code when transmitting; again due to the existence of error code; the diffusion that can lead to errors; cause the MAC layer SDU of subsequent cascaded or control information unit cannot be correctly recovered (solution multiple connection); thus greatly reduce system throughput, waste valuable interface-free resources.
The present invention solves the problems referred to above by carrying out segmented construction to MAC PDU, appropriate technical solution mainly contains following 5 points: 1) in MAC PDU construction process, adopt the method for segmented construction, be segmented into multiple MAC Sub-PDU by a MAC PDU, a complete MAC PDU is the concatenated in order of several MAC Sub-PDU;
2) a MAC layer SDU, control information unit or filler cells are considered as a sub-payload of MAC, each MAC Sub-PDU comprises one or more sub-payload, and corresponding MAC header(is made up of one or more MAC sub-header corresponding to each sub-payload);
3) in each MAC Sub-PDU, increase the synchronous code of N bit, its objective is the starting point in order to find possible MAC Sub-PDU, N value is larger, and false alarm probability is lower, can effectively reduce receiving end complexity;
4) in each MAC Sub-PDU, increase K bit cyclic redundancy check (CRC) code (CRC), whether its object is correct for verifying possible MAC Sub-PDU;
5) reasonably each sub-payload(MAC layer SDU, control information unit is limited) length, and the sub-payload number comprised in each MAC Sub-PDU payload, can more effective recovery corresponding information, avoid the error diffusion caused due to physical layer error code.
The invention provides the building method of a kind of wireless communication system Medium Access Layer mac-layer protocol data cell PDU, the method comprises: MAC PDU is carried out segmented construction, a MAC PDU is segmented into multiple MAC Sub-PDU, wherein each MAC Sub-PDU comprises 4 parts: the cyclic redundancy check (CRC) code CRC of the synchronous code of N bit, MAC head, MAC Payload, K bit, and concrete building method is as follows:
Constructing variable: the residue structure resource block size of MAC PDU is Y ibit, time initial, Y 0=Y, wherein Y >=K+N; The number of the MAC Sub-PDU of segmented construction is i, time initial, and i=0; The number needing the MAC Sub-Payload of cascade is M, length is respectively { L 0, L 1..., L m-1, unit is bit, and the MAC Sub-Header number of its correspondence is also M, length is respectively { H 0, H 1..., H m-1, unit is bit; Each MAC Sub-PDU is energy cascade Z MAC Sub-Payload at most, wherein, and 0 < Z≤M; The number of cascade MAC Sub-Payload is X i, time initial, X 0=0; The MAC Sub-Payload number that current MAC Sub-PDU cascade does not comprise filler cells is U i, wherein, 0 < U i≤ min{M-X i, Z}, wherein min{x, y} to represent from x, y selected less one;
Constitution step is as follows:
A) at interval (0, min{M-X i, Z}] in, wherein (x, y] represent that being greater than x is less than or equal to y, finds and meets maximum positive integer F, if exist, then from interval (0, F] select a number to be assigned to U i, and enter into step b), if do not exist, enter into steps d);
B) construct i-th MAC Sub-PDU, wherein comprise numbering from X istart, to X i+ U i-1 common U terminated iindividual MAC Sub-Payload, its length is bit; Upgrade Y i + 1 = Y i - [ K + N + &Sigma; j = X i X i + U i - 1 ( H j + L j ) ] , X i+1=X i+ U i, enter step c);
C) two kinds of situations are divided into:
I. X is worked as i+1equal M and Y i+1be greater than filler cells corresponding MAC Sub-Header length H ptime, fill i-th MAC Sub-PDU, insert filler cells wherein, its corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y i+1-H p, MAC PDU construction complete, exits structure flow process;
Ii. X is worked as i+1when being less than M, upgrading i=i+1 and return step a) and proceed segmented construction;
D) two kinds of situations are divided into:
I., when i>0 time, judge whether Yi is greater than filler cells corresponding MAC Sub-Header length H pif be less than, construction complete, directly exits MAC PDU and constructs flow process; If be more than or equal to, then fill the i-th-1 MAC Sub-PDU, insert filler cells wherein, corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y i-H p, MAC PDU construction complete, exits structure flow process;
Ii., when i=0 time, Y is judged 0whether-K-N is greater than filler cells corresponding MAC Sub-Header length H pif be less than, construction complete, directly exits MAC PDU and constructs flow process; If be more than or equal to, the 0th MAC Sub-PDU fills, and inserts filler cells wherein, and corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y 0-H p-K-N, MAC PDU construction complete, exits structure flow process.
Wherein, a complete MAC PDU is formed by several MAC Sub-PDU concatenated in order.
When carrying out MAC Sub-PDU structure, the relative position relation of 4 parts is as described below:
A) synchronous code need before MAC head;
B) MAC head need before MAC payload;
C) CRC part present position is any, strengthens the flexibility ratio of structure.
The fixed sequence program of synchronous code to be length that transmitting-receiving two-end is known be N bit.
MAC Payload can carry one or more MAC sub-Payload, and wherein MAC sub-Payload can be MAC layer SDU, control information unit or filler cells; MAC head is made up of one or more MAC sub-header corresponding to each MAC sub-payload; The MAC sub-Payload that in MAC head, each MAC sub-header is corresponding to MAC Payload strict one_to_one corresponding in the precedence arranged.
The generator polynomial of K bit cyclic redundancy check (CRC) code and generation method thereof are that transmitting-receiving two-end is known; According to generator polynomial, Kbit cyclic redundancy check (CRC) code is calculated by its excess-three part and obtains, or calculates acquisition by MAC head and MAC Payload.
Rational restriction each MAC sub-payload length, and the MAC sub-payload number comprised in each MAC Sub-PDU, with more effective recovery corresponding information, avoid the diffusion of the mistake caused due to physical layer error code.
Separate between each MAC Sub-PDU, all comprise respective synchronous code and CRC, introduce synchronous code and effectively reduce the complexity of date restoring, introduce the correctness that CRC ensure that MAC Sub-PDU, effectively overcome the problem of the error diffusion caused due to physical layer error code.
Corresponding receiving end MAC layer SDU and control information unit restoration methods comprise the following steps:
A) resolve the MAC PDU information sequence of described building method structure, search synchronous code, wherein synchronous code is the synchronous code that sending and receiving end has identical N bit;
If the information sequence b) detected mates with synchronous code, then the MAC Sub-PDU original position that acquisition one is possible;
C) read MAC Sub-PDU MAC head wherein, obtain its length, and draw follow-up MAC Payload by MAC head;
D) CRC part is obtained;
E) judge that reading possible MAC Sub-PDU length adds whether the position of current search synchronous code is greater than the length of whole MAC PDU, if be greater than, then directly exits the solution multiple connection process of MAC PDU; If be less than or equal to, then enter into step f);
F) CRC check is carried out to the possible MAC Sub-PDU obtained, if success, then think correct MAC Sub-PDU, multiple connection wherein concrete SDU or control information unit can be separated, and to the information sequence after this MACSub-PDU in MAC PDU according to step g) operate; If failure, then from the information sequence after the possible MAC Sub-PDU that this searches according to step h) operate;
If g) limiting MAC Sub-PDU length is non-whole byte, the location updating separating parsing MAC PDU is the next bit of current matching MAC Sub-PDU afterbody; If limiting MAC Sub-PDU length is whole byte, the location updating separating parsing MAC PDU is the next byte of current matching MAC Sub-PDU afterbody; Return step a) and proceed operation until a MAC PDU that regains one's integrity;
If limiting MAC Sub-PDU length is non-whole byte, then the location updating of solution parsing MAC PDU is the following bit after this synchronous code original position searched; If limiting MAC Sub-PDU length is whole byte, then the location updating of solution parsing MAC PDU is next byte after this synchronous code original position searched, and returns step a) and proceeds operation until a MAC PDU that regains one's integrity.
Sum up the technical program, in the process of transfer of data, MAC PDU is carried out segmented construction, its advantage comprises:
1) be separate between each MAC Sub-PDU, solve the error diffusion problem because physical layer error code causes, wherein occur the worst case of mistake continuously as shown in Figure 5;
2) each MAC Sub-PDU comprises synchronous code and CRC, and the existence of synchronous code can effectively reduce receiving end complexity, and CRC then can verify the correctness of MAC Sub-PDU, effectively overcomes the problem of the error diffusion caused due to physical layer error code;
3) owing to introducing synchronous code, make synchronous code, MAC head, MAC payload and CRC in each MAC Sub-PDU can have multiple rows mode, strengthen the flexibility ratio of structure;
4) suitably limit the SDU comprised in a MAC Sub-PDU and control information unit number, and suitably limit its length, the impact that physical layer error code brings can be effectively reduced, strengthen data recovery capabilities, recovery corresponding information as much as possible.
Accompanying drawing explanation
Fig. 1 illustrates the building method of existing LTE system MAC layer PDU.
Fig. 2 illustrates the detailed configuration scheme of the MAC PDU that makes a start.
Fig. 3 illustrates that the present invention makes a start the structure flow process of MAC PDU.
Fig. 4 illustrates that receiving end MAC SDU of the present invention and control information unit recover flow process.
Fig. 5 illustrates the worst case occurring mistake continuously.
Fig. 6 illustrates that LTE indicates the MAC Sub-header form of MAC SDU or MAC Control Element.
Fig. 7 illustrates that LTE indicates the MAC Sub-header form of filler cells.
Fig. 8 illustrates the segmented construction example of MAC PDU.
Embodiment
Below in conjunction with specific embodiment, technical scheme of the present invention is described further.
As shown in Figure 2, the building method of a kind of wireless communication system media access mac-layer protocol data cell PDU, comprise: MAC PDU is carried out segmented construction, multiple MAC Sub-PDU is segmented into by a MAC PDU, one of them MAC Sub-PDU comprises 4 parts: the cyclic redundancy check (CRC) code CRC of the synchronous code of N bit, MAC head, MAC Payload, K bit, concrete building method is as follows: the residue of MAC PDU structure resource block size be Yi bit (time initial, Y 0=Y, wherein Y >=K+N), the number of the MAC Sub-PDU of segmented construction is i (time initial, i=0), needs the number of the MAC Sub-Payload of cascade to be M, length is respectively { L 0, L 1..., L m-1(unit is bit), the MAC Sub-Header number of its correspondence is also M, length is respectively { H 0, H 1..., H m-1(unit is bit), each MAC Sub-PDU can cascade Z MAC Sub-Payload (0 < Z≤M), the number of cascade MAC Sub-Payload be at most X i(time initial, X 0=0), current MAC Sub-PDU cascade does not comprise the MAC Sub-Payload number of filler cells is U i(0 < U i≤ min{M-X i, Z}, wherein min{x, y} to represent from x, y selected minimum one).The concrete steps that Fig. 3 provides MAC PDU structure are as follows:
A) at interval (0, min{M-X i, Z}] (wherein (x, y] represent that being greater than x is less than or equal to y), finds and meets maximum positive integer F, if exist, then from interval (0, F] select a number to be assigned to U i, and enter into step b), if do not exist, enter into steps d).
B) construct i-th MAC Sub-PDU, wherein comprise numbering from X istart, to X i+ U i-1 common U terminated iindividual MAC Sub-Payload, its length is bit.Upgrade Y i + 1 = Y i - [ K + N + &Sigma; j = X i X i + U i - 1 ( H j + L j ) ] , X i+1=X i+ U i, enter step c).
C) two kinds of situations are divided into:
I. X is worked as i+1equal M and Y i+1be greater than filler cells corresponding MAC Sub-Header length (H p) time, fill i-th MAC Sub-PDU, (corresponding MAC Sub-Header length is H to insert filler cells wherein p, corresponding MAC Sub-Payload length is Y i+1-H p), MAC PDU construction complete, exits structure flow process.
Ii. X is worked as i+1when being less than M, upgrading i=i+1 and return step a) and proceed segmented construction
D) two kinds of situations are divided into:
I., when i>0 time, Y is judged iwhether be greater than filler cells corresponding MAC Sub-Header length (H p), if be less than, construction complete, directly exit MAC PDU and construct flow process, if be more than or equal to, then fill the i-th-1 MAC Sub-PDU, insert filler cells wherein, corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y i-H p, MAC PDU construction complete, exits structure flow process.
Ii., when i=0 time, Y is judged 0whether-K-N is greater than filler cells corresponding MAC Sub-Header length (H p), if be less than, construction complete, directly exit MAC PDU and construct flow process, if be more than or equal to, the 0th MAC Sub-PDU fills, and inserts filler cells wherein, and corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Pa yload length is Y 0-H p-K-N, MAC PDU construction complete, exits structure flow process.
The method also comprises, and a complete MAC PDU is formed by several MAC Sub-PDU concatenated in order.
The method also comprises, and when carrying out MAC Sub-PDU structure, the relative position relation of 4 parts is as described below:
A) synchronous code need before MAC head;
B) MAC head need before MAC payload;
C) CRC part present position can be any, strengthens the flexibility ratio of structure.
The method also comprises, the fixed sequence program of synchronous code to be length that transmitting-receiving two-end is known be N bit.
The method also comprises, and MAC Sub-PDU can carry one or more sub-Payload, and wherein sub-Payload can be MAC layer SDU, control information unit or filler cells; MAC head is made up of one or more MAC sub-header corresponding to each sub-payload; Sub-Payload corresponding in each sub-header and MAC Payload in MAC head strict one_to_one corresponding in the precedence of arrangement.
The method also comprises, and the generator polynomial of K bit cyclic redundancy check (CRC) code and generation method thereof are that transmitting-receiving two-end is known; According to generator polynomial, K bit cyclic redundancy check (CRC) code is calculated by its excess-three part and obtains, or calculates acquisition by MAC head and MAC Payload two parts.
The method also comprises, separate between each MAC Sub-PDU, all comprise respective synchronous code and CRC, the existence of synchronous code can effectively reduce receiving end complexity, CRC then can verify the correctness of MAC Sub-PDU, effectively overcomes the problem of the error diffusion caused due to physical layer error code.
The method also comprises, the reasonably each sub-payload length of restriction, and the sub-payload number comprised in each MAC Sub-PDU, with more effective recovery corresponding information, avoids the diffusion of the mistake caused due to physical layer error code.
The present invention also provides a kind of receiving end MAC layer SDU and control information unit restoration methods, comprises the following steps as shown in Figure 4:
A) separate parsing MAC PDU information sequence, search synchronous code, wherein the building method of MAC PDU as made a start constructs, and synchronous code is the synchronous code that sending and receiving end has identical N bit;
If the information sequence b) detected mates with synchronous code, then the MAC Sub-PDU original position that acquisition one is possible;
C) read MAC Sub-PDU MAC head wherein, obtain its length, and draw follow-up Payload by MAC head;
D) CRC part is obtained;
E) judge that reading possible MAC Sub-PDU length adds whether the position of current search synchronous code is greater than the length of whole MAC PDU, if be greater than, then directly exits the solution multiple connection process of MAC PDU; If be less than or equal to, then enter into step f);
F) CRC check is carried out to the possible MAC Sub-PDU obtained, if success, then think correct MAC Sub-PDU, multiple connection wherein concrete SDU or control information unit can be separated, and to the information sequence after this MAC Sub-PDU in MAC PDU according to step g) operate; If failure, then from the information sequence after the possible MAC Sub-PDU that this searches according to step h) operate;
If g) limiting MAC Sub-PDU length is non-whole byte, the location updating separating parsing MAC PDU is the next bit of current matching MAC Sub-PDU afterbody; If limiting MAC Sub-PDU length is whole byte, the location updating separating parsing MAC PDU is the next byte of current matching MAC Sub-PDU afterbody.Return step a) and proceed operation;
If h) limiting MAC Sub-PDU length is non-whole byte, then the location updating of solution parsing MAC PDU is the following bit after this synchronous code original position searched; If limiting MAC Sub-PDU length is whole byte, then the location updating of solution parsing MAC PDU is next byte after this synchronous code original position searched.Return step a) and proceed operation;
Repeat said process, until a MAC PDU that regains one's integrity.
Be separate between each MAC Sub-PDU, solve the error diffusion problem because physical layer error code causes, wherein occur the worst case of mistake continuously as shown in Figure 5.
Adopt the MAC Sub-header make consistent with LTE system, as shown in Figure 6, the MAC Sub-header being used to indicate MAC SDU or MAC Control element comprises " R/R " reserved field of 2 bits, " E " of 1 bit is used to indicate the follow-up MAC sub-header whether also having cascade, " LCID " field of 5 bits is used to indicate the type of MAC SDU or MAC Control element, " L " field of 7 or 15 bits is used to indicate the byte length of corresponding MAC Control element or MAC SDU in MAC payload, for illustration of " L " field length, (" 0 " expression " L " field is 7 bits to " F " field of 1 bit, " 1 " expression " L " field is 15 bits).Fig. 7 provides the MAC Sub-header form that LTE indicates filler cells, after the effective MAC SDU fixing on all cascades due to filler cells one or MAC Control element, so do not need " F " and " L " field.
For following condition, MAC PDU segmented construction of making a start is described:
1) setting of some key parameters in embodiment:
A) having M=3 MAC Sub-Payload, is L respectively 0the MAC SDU of=100 bytes, L 1mACControl element and L of=2 bytes 2mAC SDU, the corresponding MAC Sub-Header number of=256 bytes are also 3, and length is respectively H 0=2 bytes, H 1=2 bytes, H 2=3 bytes
B) each MAC Sub-PDU at most can cascade Z=2 MAC Sub-Payload.The synchronous code length N=8bit of MAC Sub-PDU is the length K=32 bit of 0x55, cyclic redundancy check (CRC) code CRC
C) current MAC PDU total length is Y 0=500 bytes.Follow-up MAC PDU segmented construction is all in units of byte.
2) MAC PDU segmented construction process
A) for the structure of the 0th MAC Sub-PDU, interval (0, min{3,2}] in, meet again maximum positive integer F=2, get U 0=2, construct the MAC Sub-PDU that length is 111 bytes.
B) the 0th MAC Sub-PDU comprises a L 0mAC SDU and L of=100 bytes 1the MAC Control element of=2 bytes, respectively corresponding H 0=2 bytes, H 1the MAC Sub-header of=2 bytes.Adjustment Y 1=500-111=389 byte, X 1=2.
C) because X1 is less than M, and 1+4+H 2+ L 2< Y 1, so upgrade i=1, enter into the construction process of the 1st MAC Sub-PDU.
D) for the structure of the 1st MAC Sub-PDU, interval (0, min{1,2}] in, meet again maximum positive integer F=1, get U 1=1, construct the MAC Sub-PDU that length is 264 bytes.
E) the 1st MAC Sub-PDU comprises a L 2the MAC SDU of=256 bytes, corresponding H 2the MAC Sub-header of=3 bytes.Adjustment Y 2=389-264=125 bit, X 2=3.
F) because X 2equal M, and Y 2be greater than H p, so need to fill the 1st MAC Sub-PDU, insert filler cells wherein, corresponding MAC Sub-Header length is H p=1 byte, corresponding MAC Sub-Payload length is 124 bytes, and MAC PDU construction complete, exits structure flow process.
3) the packaging structure process of MAC Sub-PDU:
A) construction process of first MAC Sub-PDU:
I. L is indicated 0the encapsulation process of the MAC sub-header of=100 byte MAC SDU:
1. corresponding " LCID " field is set to the bit mapping of this MAC SDU indicated;
2., because this MAC Sub-PDU also needs cascade MAC Control element, so corresponding " E " extended field is set to 1(when " E " is set to 1 time, illustrate follow-uply there is MAC sub-header; When " E " is set to 0 time, illustrate follow-uply there is not MAC sub-header);
3., due to the MAC SDU length of 100 bytes, only need " L " of 7 bits to indicate the length of MAC SDU, so arranging " F " field is 0;
4. " L " that arrange 7 bits is the length that the corresponding MAC sub-payload of 100 instruction carries MAC SDU.
Ii. L is indicated 1the encapsulation process of the MAC sub-header of=2 byte MAC Control element:
1. corresponding " LCID " field is set to the bit mapping of this MAC Control element indicated;
2. there is not other MAC sub-payload due to follow-up, so corresponding " E " extended field is set to 0;
3., due to the MAC Control element of 2 bytes, only need " L " of 7 bits to indicate the length of MAC SDU, so arranging " F " field is 0;
4. " L " that arrange 7 bits is the length that the corresponding MAC sub-payload of 2 instruction carries MAC SDU.
Iii. will combine MAC header and MAC payload set and carry out concatenated in order, but MAC header position must before MAC payload gathers;
Iv. synchronous code is placed before MAC header;
V. by MAC header and MAC payload(or synchronous head, MAC header and MAC payload) obtain 32 bit check bits by 32 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;
Vi. 32 bit CRC are placed the afterbody of MAC payload;
B) construction process of second MAC Sub-PDU:
I. L is indicated 2the encapsulation process of the MAC sub-header of=256 byte MAC SDU:
1. corresponding " LCID " field is set to the bit mapping of this MAC SDU indicated;
2. because this MAC Sub-PDU also needs cascade filler cells, so corresponding " E " extended field is set to 1;
3., due to the MAC SDU length of 256 bytes, only need " L " of 15 bits to indicate the length of MAC SDU, so arranging " F " field is 1;
4. " L " that arrange 15 bits is the length that the corresponding MAC sub-payload of 256 instruction carries MAC SDU.
Ii. H is added pthe MAC sub-header of=1 byte and length L pthe filler cells of=124 bytes.
Iii. will combine MAC header and MAC payload set and carry out concatenated in order, but MAC header position must before MAC payload gathers;
Iv. IV, V, VI in the placement of synchronous code, the generation of CRC and put procedure type step a).
C) concatenated in order two MAC Sub-PDU are combined into MAC PDU, as shown in Figure 8.

Claims (9)

1. the building method of a wireless communication system Medium Access Layer mac-layer protocol data cell PDU, it is characterized in that: MAC PDU is carried out segmented construction, a MAC PDU is segmented into multiple MAC Sub-PDU, wherein each MAC Sub-PDU comprises 4 parts: the cyclic redundancy check (CRC) code CRC of the synchronous code of N bit, MAC head, MAC Payload, K bit, and concrete building method is as follows:
Constructing variable: the residue structure resource block size of MAC PDU is Yi bit, time initial, Y 0=Y, wherein Y >=K+N; The number of the MAC Sub-PDU of segmented construction is i, time initial, and i=0; The number needing the MAC Sub-Payload of cascade is M, length is respectively { L 0, L 1..., L m-1, unit is bit, and the MAC Sub-Header number of its correspondence is also M, length is respectively { H 0, H 1..., H m-1, unit is bit; Each MAC Sub-PDU is energy cascade Z MAC Sub-Payload at most, wherein, and 0 < Z≤M; The number of cascade MAC Sub-Payload is X i, time initial, X 0=0; The MAC Sub-Payload number that current MAC Sub-PDU cascade does not comprise filler cells is U i, wherein, 0 < U i≤ min{M-X i, Z}, wherein min{x, y} to represent from x, y selected less one;
Constitution step is as follows:
A) at interval (0, min{M-X i, Z}] in, wherein (x, y] represent that being greater than x is less than or equal to y, finds and meets
maximum positive integer F, if exist, then from interval (0, F] select a number to be assigned to U i,
And enter into step b), if do not exist, enter into steps d);
B) construct i-th MAC Sub-PDU, wherein comprise numbering from X istart, to X i+ U i-1 common U terminated iindividual MACSub-Payload, its length is K + N + &Sigma; j = X i X i + U i - 1 ( H i + L i ) Bit; Upgrade Y i + 1 = Y i - [ K + N + &Sigma; j = X i X i + U i - 1 ( H i + L i ) ] , X i+1=X i+ U i, enter step c);
C) two kinds of situations are divided into:
I. X is worked as i+1equal M and Y i+1be greater than filler cells corresponding MAC Sub-Header length H ptime, fill i-th MACSub-PDU, insert filler cells wherein, its corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y i+1-H p, MAC PDU construction complete, exits structure flow process;
Ii. X is worked as i+1when being less than M, upgrading i=i+1 and return step a) and proceed segmented construction;
D) two kinds of situations are divided into:
I., when i>0 time, judge whether Yi is greater than filler cells corresponding MAC Sub-Header length H pif be less than, construction complete, directly exits MAC PDU and constructs flow process; If be more than or equal to, then fill the i-th-1 MAC Sub-PDU, insert filler cells wherein, corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y i-H p, MAC PDU construction complete, exits structure flow process;
Ii., when i=0 time, Y is judged 0whether-K-N is greater than filler cells corresponding MAC Sub-Header length H pif be less than, construction complete, directly exits MAC PDU and constructs flow process; If be more than or equal to, the 0th MAC Sub-PDU fills, and inserts filler cells wherein, and corresponding MAC Sub-Header length is H p, corresponding MAC Sub-Payload length is Y 0-H p-K-N, MAC PDU construction complete, exits structure flow process.
2. the method for claim 1, is characterized in that, a complete MAC PDU is formed by several MAC Sub-PDU concatenated in order.
3. method as claimed in claim 1 or 2, is characterized in that, when carrying out MAC Sub-PDU structure, the relative position relation of 4 parts is as described below:
A) synchronous code need before MAC head;
B) MAC head need before MAC payload;
C) CRC part present position is any, strengthens the flexibility ratio of structure.
4. the method as described in any one of claim 1-3, is characterized in that, the fixed sequence program of synchronous code to be length that transmitting-receiving two-end is known be N bit.
5. the method as described in any one of claim 1-4, is characterized in that, MAC Payload can carry one or more MAC sub-Payload, and wherein MAC sub-Payload can be MAC layer SDU, control information unit or filler cells; MAC head is made up of one or more MAC sub-header corresponding to each MAC sub-payload; The MAC sub-Payload that in MAC head, each MAC sub-header is corresponding to MAC Payload strict one_to_one corresponding in the precedence arranged.
6. the method as described in any one of claim 1-5, is characterized in that, the generator polynomial of K bit cyclic redundancy check (CRC) code and generation method thereof are that transmitting-receiving two-end is known; According to generator polynomial, K bit cyclic redundancy check (CRC) code is calculated by its excess-three part and obtains, or calculates acquisition by MAC head and MAC Payload.
7. the method as described in any one of claim 1-6, it is characterized in that, rational restriction each MAC sub-payload length, and the MAC sub-payload number comprised in each MAC Sub-PDU, with more effective recovery corresponding information, avoid the diffusion of the mistake caused due to physical layer error code.
8. the method as described in any one of claim 1-7, it is characterized in that, separate between each MAC Sub-PDU, all comprise respective synchronous code and CRC, introduce the complexity that synchronous code effectively reduces date restoring, introduce CRC and ensure that the correctness of MAC Sub-PDU, effectively overcome the problem of the error diffusion caused due to physical layer error code.
9. the building method as described in any one of claim 1-8, is characterized in that, corresponding receiving end MAC layer SDU and control information unit restoration methods comprise the following steps:
A) resolve the MAC PDU information sequence of described building method structure, search synchronous code, wherein synchronous code is the synchronous code that sending and receiving end has identical N bit;
If the information sequence b) detected mates with synchronous code, then the MAC Sub-PDU original position that acquisition one is possible;
C) read MAC Sub-PDU MAC head wherein, obtain its length, and draw follow-up MAC Payload by MAC head;
D) CRC part is obtained;
E) judge that reading possible MAC Sub-PDU length adds whether the position of current search synchronous code is greater than the length of whole MAC PDU, if be greater than, then directly exits the solution multiple connection process of MAC PDU; If be less than or equal to, then enter into step f);
F) CRC check is carried out to the possible MAC Sub-PDU obtained, if success, then think correct MAC Sub-PDU, multiple connection wherein concrete SDU or control information unit can be separated, and to the information sequence after this MAC Sub-PDU in MAC PDU according to step g) operate; If failure, then from the information sequence after the possible MAC Sub-PDU that this searches according to step h) operate;
If g) limiting MAC Sub-PDU length is non-whole byte, the location updating separating parsing MAC PDU is the next bit of current matching MAC Sub-PDU afterbody; If limiting MAC Sub-PDU length is whole byte, the location updating separating parsing MAC PDU is the next byte of current matching MAC Sub-PDU afterbody; Return step a) and proceed operation until a MAC PDU that regains one's integrity;
If h) limiting MAC Sub-PDU length is non-whole byte, then the location updating of solution parsing MAC PDU is the following bit after this synchronous code original position searched; If limiting MAC Sub-PDU length is whole byte, then the location updating of solution parsing MAC PDU is next byte after this synchronous code original position searched, and returns step a) and proceeds operation until a MAC PDU that regains one's integrity.
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 true CN104579541A (en) 2015-04-29
CN104579541B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650234A (en) * 2018-04-12 2018-10-12 上海交通大学 Communication means based on customized uplink and downlink MAC PDU structures
WO2019029509A1 (en) * 2017-08-10 2019-02-14 维沃移动通信有限公司 Mpdu transmission method, user side device and network side device
WO2019029363A1 (en) * 2017-08-11 2019-02-14 电信科学技术研究院有限公司 Random access response method and device, base station and terminal
WO2019028866A1 (en) * 2017-08-11 2019-02-14 Oppo广东移动通信有限公司 Data transmission method and related product
WO2019029300A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Method for transmitting random access response, access network device, and terminal device
WO2019084891A1 (en) * 2017-11-03 2019-05-09 华为技术有限公司 Method and device for processing media access control protocol data unit
CN112787754A (en) * 2020-12-29 2021-05-11 紫光展锐(重庆)科技有限公司 Data processing method and related device
US11116038B2 (en) 2017-08-11 2021-09-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for transmitting MAC PDUs and related product

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

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11122629B2 (en) 2017-08-10 2021-09-14 Vivo Mobile Communication Co., Ltd. Media access control protocol data unit transmission method, user equipment and network device
WO2019029509A1 (en) * 2017-08-10 2019-02-14 维沃移动通信有限公司 Mpdu transmission method, user side device and network side device
CN109392017B (en) * 2017-08-11 2021-07-09 大唐移动通信设备有限公司 Random access response method, device, base station and terminal
US11116038B2 (en) 2017-08-11 2021-09-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for transmitting MAC PDUs and related product
WO2019029300A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Method for transmitting random access response, access network device, and terminal device
CN109392187A (en) * 2017-08-11 2019-02-26 华为技术有限公司 Transmit method, access network equipment and the terminal device of random access response
CN109392017A (en) * 2017-08-11 2019-02-26 电信科学技术研究院 A kind of method, apparatus of random access response, base station and terminal
WO2019028866A1 (en) * 2017-08-11 2019-02-14 Oppo广东移动通信有限公司 Data transmission method and related product
US11770856B2 (en) 2017-08-11 2023-09-26 Datang Mobile Communications Equipment Co., Ltd. Random access response method and device, base station and user equipment
US11723072B2 (en) 2017-08-11 2023-08-08 Huawei Technologies Co., Ltd. Method for transmitting random access response, access network device, and terminal device
WO2019029363A1 (en) * 2017-08-11 2019-02-14 电信科学技术研究院有限公司 Random access response method and device, base station and terminal
US11116037B2 (en) 2017-08-11 2021-09-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method and related product
WO2019084891A1 (en) * 2017-11-03 2019-05-09 华为技术有限公司 Method and device for processing media access control protocol data unit
CN110572374B (en) * 2017-11-03 2020-08-07 华为技术有限公司 Method, apparatus and storage medium for processing MAC protocol data unit
US11477307B2 (en) 2017-11-03 2022-10-18 Huawei Technologies Co., Ltd. Media access control protocol data unit processing method and apparatus
US10686918B2 (en) 2017-11-03 2020-06-16 Huawei Technologies Co., Ltd. Media access control protocol data unit processing method and apparatus
CN110572374A (en) * 2017-11-03 2019-12-13 华为技术有限公司 Method and apparatus for processing MAC protocol data unit
CN108650234A (en) * 2018-04-12 2018-10-12 上海交通大学 Communication means based on customized uplink and downlink MAC PDU structures
CN112787754A (en) * 2020-12-29 2021-05-11 紫光展锐(重庆)科技有限公司 Data processing method and related device

Also Published As

Publication number Publication date
CN104579541B (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN104579541A (en) Method for constructing protocol data unit (PDU) of media access layer (MAC layer) of wireless communication system
US20220416895A1 (en) Data transmission method and apparatus, terminal device and storage medium
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN112468209B (en) On-orbit high-speed injection system and method based on SpaceWire bus
US10396921B2 (en) Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium
CN104079488B (en) Transmission equipment and method based on two layers of head compression of Ethernet
CN102820959A (en) Method for performing large data volume communication between Modbus master station and Modbus slave station
CN103427846B (en) Error control method in dynamic reconfigurable high-speed serial bus
CN108123775A (en) The method and apparatus of transmission packet
CN106933616A (en) Remote upgrade method based on bandwidth carrier
EP3627710A1 (en) Methods, apparatuses and devices for coding and decoding polarization code
CN103051674A (en) Method and device for remotely upgrading wireless communication module as well as handheld unit (HHU)
CN103546239A (en) Blind test system and blind test method for LTE (long term evolution) downlink control channel
CN110868458B (en) Communication method and device for stable control system
CN115712447A (en) Method and system for realizing incremental upgrading of intelligent electric meter
CN104579605B (en) A kind of data transmission method and device
CN100384090C (en) A fast circulating CRC verification method used for correcting error bits in data frame
CN107645747B (en) Method and equipment for sending and receiving data
CN110381050B (en) Multi-protocol conversion and verification method and device for data packet
KR102487367B1 (en) Synchronization method and apparatus
CN112751752A (en) Route convergence method, device, communication equipment and storage medium
CN103346862B (en) A kind of network-on-chip data transmission device of cascade protection and method
CN100444595C (en) A method of master-slave equipment communication
CN113923274A (en) Method, device and storage medium for judging whether transmission data is interfered
US11876389B2 (en) Electrical accumulator battery

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