CN113543352A - Random access response determination method, device and system - Google Patents
Random access response determination method, device and system Download PDFInfo
- Publication number
- CN113543352A CN113543352A CN202110796704.4A CN202110796704A CN113543352A CN 113543352 A CN113543352 A CN 113543352A CN 202110796704 A CN202110796704 A CN 202110796704A CN 113543352 A CN113543352 A CN 113543352A
- Authority
- CN
- China
- Prior art keywords
- mac
- pdu
- mac sub
- sub pdu
- random access
- 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
Links
- 230000004044 response Effects 0.000 title claims abstract description 121
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004590 computer program Methods 0.000 claims description 11
- 101100396152 Arabidopsis thaliana IAA19 gene Proteins 0.000 description 11
- 101100274486 Mus musculus Cited2 gene Proteins 0.000 description 11
- 101150096622 Smr2 gene Proteins 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 102100039292 Cbp/p300-interacting transactivator 1 Human genes 0.000 description 5
- 101000888413 Homo sapiens Cbp/p300-interacting transactivator 1 Proteins 0.000 description 5
- 238000013468 resource allocation Methods 0.000 description 3
- CIWBSHSKHKDKBQ-JLAZNSOCSA-N Ascorbic acid Chemical compound OC[C@H](O)[C@H]1OC(=O)C(O)=C1O CIWBSHSKHKDKBQ-JLAZNSOCSA-N 0.000 description 2
- 102100035593 POU domain, class 2, transcription factor 1 Human genes 0.000 description 1
- 101710084414 POU domain, class 2, transcription factor 1 Proteins 0.000 description 1
- 102100035591 POU domain, class 2, transcription factor 2 Human genes 0.000 description 1
- 101710084411 POU domain, class 2, transcription factor 2 Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/002—Transmission of channel access control information
- H04W74/006—Transmission of channel access control information in the downlink, i.e. towards the terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0833—Random access procedures, e.g. with 4-step access
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method, a device and a system for determining a random access response. When the RAPID type MAC sub PDU in the random access response MAC PDU carries the MAC RAR, the user terminal can acquire the information through the newly added domain I, and whether the MAC RAR is contained can be determined in a mode of searching the RAPIID of each MAC sub PDU in a preamble set, so that the efficiency of analyzing the random access response MAC PDU is improved. The invention utilizes one reserved bit in the random access response MAC PDU in the prior NR protocol, is completely compatible with the prior network, can not affect gNB and UE which do not realize the function, and is very simple to realize and easy to implement.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for determining a random access response.
Background
Random access may be classified into contention random access and non-contention random access. The contention based random access procedure is shown in fig. 1, and generally includes the following four steps:
1) MSG 1: a User Equipment (UE) determines a Physical Random Access Channel (PRACH) resource and a Random Access preamble, sends MSG1 to an NR base station (gNode B, gNB), and notifies the gNB of a Random Access request.
2) MSG 2: and the gNB sends the MSG2 to the UE, wherein the MSG2 comprises the timing advance information and the subsequent uplink resource allocation information. In addition, MSG2 also carries a Random Access Preamble Identity (RAPID), and the UE determines that MSG2 corresponds to MSG1 sent by the UE through the RAPID.
3) MSG 3: after receiving the MSG2, the UE determines that the MSG2 carries the RAPID corresponding to the preamble when the UE sends MSG1, and sends MSG3 to the gNB.
4) MSG 4: the gNB sends MSG4 to the UE, and the UE can judge whether the random access is successful according to MSG 4.
The non-contention random access procedure is shown in fig. 2, and includes the following three steps:
1) MSG 0: and the gNB allocates random access preamble and PRACH resources for non-contention for the UE.
2) MSG 1: the UE sends MSG1 by using the random access preamble and PRACH resource designated by MSG0, and informs the gNB that there is a random access request.
3) MSG 2: and the gNB sends the MSG2 to the UE, wherein the MSG2 comprises the timing advance information and the subsequent uplink resource allocation information. In addition, the MSG2 also carries a random access preamble identifier RAPID, and the UE determines that the MSG2 corresponds to the MSG1 sent by the UE through the RAPID.
The MSG2 in the above process is a Response message (Random Access Response) of the Random Access request of the UE. In a 5G NR network, a Protocol Data Unit (PDU) of a MAC layer for random access response is composed of one or more MAC sub-PDUs (possibly including padding), as shown in fig. 3, and information carried by the MAC sub-PDUs is divided into the following three cases:
CASE 1: there is only one MAC sub-header carrying a backoff indicator bi (backoff indicator).
CASE 2: there is only one MAC sub that carries RAPID.
CASE 3: one MAC subheader carrying RAPID and one MAC RAR.
Both CASE2 and CASE3 contain RAPID, with the difference being whether or not a MAC RAR is contained. The preambles used by CASE2 and CASE3 are from two different sets of preambles, assuming that the preamble of CASE2 is from set a and the preamble of CASE3 is from set B.
The BI-carrying MAC subheader contains 5 fields: E/T/R/R/BI as shown in FIG. 4. If the subheader exists in the MAC RAR PDU, it should be placed at the beginning of the MAC PDU. The MAC subheader carrying RAPID contains 3 fields: E/T/RAPID, as shown in FIG. 5. The MAC RAR contains the fields as shown in figure 6. As can be seen from fig. 4 to 6, the MAC subheader fixedly occupies one byte, and the MAC RAR fixedly occupies 7 bytes.
The preamble configured in the cell is divided into two sets, and for the preamble in the set A, the base station does not need to carry the MAC RAR when responding; and a preamble in the set B, wherein the base station needs to carry the MAC RAR when responding. Fig. 7 shows a process of a UE parsing a random access response MAC PDU, to which the related art in the art is applied. In step (i) in fig. 7, it is necessary to traverse the preamble list of the cell, and retrieve whether the RAPID carried in the MAC sub pdu belongs to set a or set B, so as to determine the position of the next MAC sub pdu. This retrieval process consumes computational resources and time of the UE, and especially for 5G networks, the problem is more pronounced with more UEs in the cell.
Disclosure of Invention
The invention aims to provide a method, a device and a system for determining a random access response, which can save the processing overhead of UE for the random access response MAC PDU when the MAC PDU contains the MAC subpPDU of a BI type and all the MAC subpPDUs of an RAPID type in the MAC PDU contain MAC RAR.
In order to achieve the purpose, the invention provides the following scheme:
a random access response determination method, comprising:
determining the 3 rd bit position of the MAC subpPDU with the header file information of the BI type in the MAC PDU as an I field;
when the NR base station sends the MAC PDU used for random access response, if at least one header file type of the MAC sub PDU in the MAC PDU is not an MAC RAR type, setting the value of the I domain to be 1, otherwise, setting the I domain to be 0;
when the user equipment receives the MAC PDU, determining a first MAC sub PDU of the MAC PDU as a current MAC sub PDU;
if the current MAC sub PDU is of a BI type and the value of an I field is 0, determining the MAC RAR of the random access response of the current MAC sub PDU according to the BI type, and determining the MAC RAR of the random access response of each MAC sub PDU by analyzing the MAC sub PDU after the current MAC sub PDU;
and if the header information of the current MAC sub PDU is not the BI type or the value of the I field of the current MAC sub PDU is 1, determining the MAC RAR of the random access response of each MAC sub PDU in the MAC PDUs according to the RAPID type.
Preferably, the determining the MAC RAR of the random access response of each MAC sub pdu by analyzing the MAC sub pdu after the current MAC sub pdu specifically includes:
and when the type of the header file information of the second MAC sub PDU is not successfully matched with the random response request and the second MAC sub PDU is not the last MAC sub PDU, analyzing a third MAC sub PDU until the matching is successful or the last MAC sub PDU is reached, and at the moment, finishing the determination of the MAC RAR of the random access response of each MAC sub PDU after the current MAC sub PDU.
Preferably, before parsing the third MAC sub pdu, the method further includes:
and skipping the analysis of the MAC header file and the analysis of the MAC RAR in the analysis process.
Preferably, the determining, according to the RAPID type, the MAC RAR of the random access response of each MAC sub-PDU in the MAC PDUs includes:
when the RAPID type of the current MAC sub PDU is not successfully matched with the random response request and the current MAC sub PDU is not the last MAC sub PDU, traversing all lead codes to obtain a first set and a second set;
the first set is a preamble set which carries type information and is used by RAPID in the MAC sub PDU with only one RAPID type;
the second set is a preamble set used by a RAPID type in the MAC sub PDU, wherein the type information carried by the second set comprises a MAC RAR and the RAPID type;
judging whether a lead code adopted by the RAPID type of the current MAC sub PDU belongs to the first set or the second set, if so, skipping the analysis of the header file of the current MAC and acquiring the next MAC sub PDU; if the RAPID belongs to the second set, skipping the analysis of the current MAC header file and the MAC RAR to obtain the next MAC sub PDU;
and if the RAPID of the current MAC sub PDU is successfully matched with the random response request, determining the MAC RAR of the current MAC sub PDU as the response message of the random access request.
A random access response determination system, comprising:
the definition module is used for determining the 3 rd bit position of the MAC sub PDU with the header file information of the BI type in the MAC PDU as an I field;
an assignment module, configured to set the value of the I-field to 1 if at least one header file type of a MAC sub-PDU in the MAC PDU is not an MAC RAR type when the NR base station transmits the MAC PDU for random access response, and set the I-field to 0 if not;
a current position determining module, configured to determine, when the user equipment receives the MAC PDU, a first MAC sub PDU of the MAC PDU as a current MAC sub PDU;
a first analysis module, configured to determine, according to a BI type, a MAC RAR of a random access response of the current MAC sub pdu if the current MAC sub pdu is of the BI type and a value of an I field is 0, and determine, by analyzing MAC sub pdus subsequent to the current MAC sub pdu, a MAC RAR of the random access response of each MAC sub pdu;
and the second analysis module is used for determining the MAC RAR of the random access response of each MAC sub PDU in the MAC PDUs according to the RAPID type if the header file information of the current MAC sub PDU is not the BI type or the value of the I field of the current MAC sub PDU is 1.
Preferably, the first parsing module specifically includes:
and the first analysis unit is used for analyzing the second MAC sub PDU to determine a random access response message of the second MAC sub PDU, and when the type of the header file information of the second MAC sub PDU is not successfully matched with the random response request and the second MAC sub PDU is not the last MAC sub PDU, analyzing the third MAC sub PDU until the matching is successful or the last MAC sub PDU is reached, and at the moment, finishing the determination of the MAC RAR of the random access response of each MAC sub PDU after the current MAC sub PDU.
Preferably, the second parsing module specifically includes:
and the first analysis subunit is used for skipping the analysis of the MAC header file and the analysis of the MAC RAR in the analysis process.
Preferably, the root second parsing module specifically includes:
a traversal unit, configured to traverse all preambles to obtain a first set and a second set when a RAPID type of the current MAC sub pdu is not successfully matched with the random response request and the current MAC sub pdu is not a last MAC sub pdu; the first set is a preamble set used by an RAPID type in the MAC sub PDU, wherein the type information carried by the preamble set is only one RAPID; the second set is a preamble set used by a RAPID type in the MAC sub PDU, wherein the type information carried by the second set comprises a MAC RAR and the RAPID type;
a determining unit, configured to determine whether a preamble used by a RAPID type of the current MAC sub PDU belongs to the first set or the second set, and if the RAPID belongs to the first set, skip parsing of a header file of the current MAC to obtain a next MAC sub PDU; if the RAPID belongs to the second set, skipping the analysis of the current MAC header file and the MAC RAR to obtain the next MAC sub PDU;
a determining unit, configured to determine, if the RAPID of the current MAC sub pdu is successfully matched with the random response request, the MAC RAR of the current MAC sub pdu as a response message of the random access request; if the current MAC sub pdu is the last MAC sub pdu and the RAPID of the current MAC sub pdu is not successfully matched with the random response request, the current random access is considered to be failed, and the ue determines whether to initiate a random access attempt again or to end the random access process according to the maximum number of random access attempts.
An electronic device comprising a processor and a memory, the memory storing an executable computer program, the processor being capable of reading the computer program in the memory and operating to implement a random access response determination method.
A computer-readable storage medium having stored thereon an executable computer program which when executed implements a method for random access response determination.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
when the RAPID type MAC sub PDU in the random access response MAC PDU carries the MAC RAR, the user terminal can acquire the information through the newly added domain I, whether the MAC RAR is contained can be determined in a mode of searching the RAPIID of each MAC sub PDU in a preamble set, the efficiency of analyzing the random access response MAC PDU is improved, and the processing cost of the UE on the random access response MAC PDU is saved. The invention utilizes one reserved bit in the random access response MAC PDU in the prior NR protocol, is completely compatible with the prior network, can not affect gNB and UE which do not realize the function, and is very simple to realize and easy to implement.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of contention based random access provided in the prior art;
fig. 2 is a diagram of non-contention random access provided in the prior art;
fig. 3 is a schematic diagram illustrating a random access MAC PDU composition provided in the prior art;
FIG. 4 is a diagram of a BI-type MAC sub in the prior art;
FIG. 5 is a diagram of a RAPID type MAC sub in the prior art;
fig. 6 is a diagram of the domains encompassed by a MAC RAR of the prior art;
FIG. 7 is a flow chart of a method in an embodiment provided by the present invention;
fig. 8 is a flowchart of processing a random access response MAC PDU in an embodiment provided by the present invention;
FIG. 9 is a diagram of a BI type MAC subpDU in an embodiment provided by the present invention;
fig. 10 is a flowchart illustrating a conventional process for handling a random access response MAC PDU in an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a random access response MAC PDU composition in an embodiment provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a method, a device and a system for determining a random access response, which can save the processing overhead of UE for the random access response MAC PDU when the MAC PDU contains the MAC subpPDU of a BI type and all the MAC subpPDUs of an RAPID type in the MAC PDU contain MAC RAR.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 7 and fig. 8 are a flowchart of a method and a flowchart of processing a random access response MAC PDU in the embodiments provided by the present invention, respectively, as shown in fig. 7 and fig. 8, a method for determining a random access response in the embodiments includes:
s100: and determining the 3 rd bit position of the MAC sub PDU with the header file information of the BI type in the MAC PDU as an I field.
S200: when the NR base station sends the MAC PDU used for random access response, if at least one header file type of the MAC sub PDU in the MAC PDU is not the MAC RAR type, the value of the I field is set to be 1, otherwise, the I field is set to be 0.
S300: and when the user equipment receives the MAC PDU, determining the first MAC sub PDU of the MAC PDU as the current MAC sub PDU.
S401: and if the type of the current MAC sub PDU is the BI type and the value of the I field is 0, determining the MAC RAR of the random access response of the current MAC sub PDU according to the BI type, and determining the MAC RAR of the random access response of each MAC sub PDU by analyzing the MAC sub PDU after the current MAC sub PDU.
S402: and if the header information of the current MAC sub PDU is not the BI type or the value of the I field of the current MAC sub PDU is 1, determining the MAC RAR of the random access response of each MAC sub PDU in the MAC PDUs according to the RAPID type.
Fig. 9 is a schematic diagram of a BI-type MAC sub-PDU in the embodiment of the present invention, and as shown in fig. 9, the present invention modifies the format of the MAC PDU. And taking the 3 rd bit (original reserved bit) of the BI type MAC sub PDU in the random access response MAC PDU as a new field named I.
Optionally, when the gNB side in this embodiment sends a random access response MAC PDU, if the MAC PDU includes a BI-type MAC sub-PDU, then:
(1) if there is at least one MAC subpDU without MAC RAR in the MAC PDU, its I field is set to 1 in the BI type MAC subpDU.
(2) Otherwise, its I field is set to 0 in the BI type MAC sub pdu.
Preferably, the determining the MAC RAR of the random access response of each MAC sub pdu by analyzing the MAC sub pdu after the current MAC sub pdu specifically includes:
and when the type of the header file information of the second MAC sub PDU is not successfully matched with the random response request and the second MAC sub PDU is not the last MAC sub PDU, analyzing a third MAC sub PDU until the matching is successful or the last MAC sub PDU is reached, and at the moment, finishing the determination of the MAC RAR of the random access response of each MAC sub PDU after the current MAC sub PDU.
Preferably, before parsing the third MAC sub pdu, the method further includes:
and skipping the analysis of the MAC header file and the analysis of the MAC RAR in the analysis process.
Specifically, when receiving a random access response MAC PDU, the UE in this embodiment first parses the first MAC sub PDU, and if the MAC sub PDU is a BI-type MAC sub PDU, determines whether there is a MAC sub PDU without MAC RAR in the MAC PDU through its I domain, and if I is 0, the MAC sub PDUs of the RAPID type all contain MAC RAR, and at this time, when RAPID is not matched, directly skips 8 bytes, and then continues parsing the next MAC sub PDU.
Fig. 10 is a flowchart of processing a random access response MAC PDU in the prior art in the embodiment provided in the present invention, and as shown in fig. 10, it is assumed that a preamble configured in a cell is divided into two sets, and for the preamble in the set a, a base station does not need to carry an MAC RAR during response; and (4) preamble in the set B, the base station needs to carry the MAC RAR when responding.
In this embodiment, the determining, according to the RAPID type, the MAC RAR of the random access response of each MAC sub PDU in the MAC PDU includes:
and traversing all the lead codes to obtain a first set and a second set when the RAPID type of the current MAC sub PDU is not successfully matched with the random response request and the current MAC sub PDU is not the last MAC sub PDU. Wherein the first set is the set a and the second set is the set B.
The first set is a preamble set used by a RAPID in the MAC sub pdu with type information carried by only one RAPID type.
The second set is a preamble set used by a RAPID type in the MAC sub pdu, where the type information carried includes a MAC RAR and a RAPID type.
Judging whether a lead code adopted by the RAPID type of the current MAC sub PDU belongs to the first set or the second set, if so, skipping the analysis of the header file of the current MAC and acquiring the next MAC sub PDU; and if the RAPID belongs to the second set, skipping the analysis of the current MAC header file and the MAC RAR and obtaining the next MAC sub PDU.
And if the RAPID of the current MAC sub PDU is successfully matched with the random response request, determining the MAC RAR of the current MAC sub PDU as the response message of the random access request.
Specifically, the fields of the BI type MAC sub pdu include:
e, is used for pointing out the MAC subpPDU comprising this MAC subpeader is the last MAC subpPDU in the MAC PDU;
t for distinguishing whether the MAC sub header carries BI or RAPID
R, used for reserving the bit;
and the BI is used for performing random access fallback indication.
Optionally, the MAC RAR comprises any one or more of:
r, used for setting as the reserved bit;
a timing advance command for setting an uplink timing advance;
at least one UL Grant for resource allocation for subsequent uplink transmission;
at least one Temporary C-RNTI: the C-RNTI is used for being converted into the C-RNTI which is distributed to the user equipment after the competition resolving is finished;
and the competition resolving identity is used for corresponding to the information of the user equipment identification contained in the random access request of the two-step random access.
When the invention is used in practice:
(1) suppose that a certain cell C of the gNB is configured with 64 random access preambles with index values from 0 to 63, wherein, the preambles with index values from 0 to 31 have random access response MAC PDUs which need to contain MAC RAR; the indexes are from 32 to 63 preamble, and the MAC PDU of their random access response does not contain MAC RAR.
(2) In the cell C, on the same PRACH time-frequency resource, 6 UEs initiate random access requests, and preamble index values selected by the UEs are as follows:
UE0:2
UE1:5
UE2:5
UE3:9
UE4:17
UE5:17
it can be seen that 6 UEs use 4 random access preambles to initiate random access requests, and these preamble index values are in the range of 0 to 31, i.e. their random access responses all need to contain MAC RAR.
(3) And the gNB successfully detects 4 random access requests on the PRACH time-frequency resource, and then the gNB sends a random access response MAC PDU. The random access response MAC PDU includes one BI type MAC sub PDU and 4 RAPID type MAC sub, and the contents are shown in fig. 11:
the random access response sent by the gNB is successfully received by the 6 UEs (UE 0-UE 5) in (2), and the 6 UEs perform the following processing:
1.1)6 UEs respectively begin to analyze the 1 st MAC sub PDU from Oct 1:
t ═ 0, indicating that the type of the MAC subPDU is BI, and then the value of BI is saved.
I ═ 0, indicating that MAC subpdus of RAPID type in the random access response MAC PDU all contain MAC RAR.
And E is 1, which indicates that the MAC sub PDU to be resolved later exists.
1.2)6 UEs begin parsing the 2 nd MAC sub PDU from Oct 2:
t ═ 1, indicating that the type of the MAC subPDU is RAPID.
And E is 1, which indicates that the MAC sub PDU to be resolved later exists.
RAPID ═ 9, indicating that the MAC subPDU is a response to a UE with random access preamble index of 9.
UE 3: and (5) successfully matching RAPID, storing the MAC RAR and ending the analysis.
UE0/UE1/UE2/UE4/UE 5: and if the RAPID matching fails, analyzing the next MAC sub PDU. Since MAC subpdus of RAPID type are all MAC subpdus containing MAC RARs, it can be determined that the next MAC subPDU starts from Oct 10.
1.3) UE0/UE1/UE2/UE4/UE5 parsing the 3 rd MAC sub PDU starting from Oct 10:
t ═ 1, indicating that the type of the MAC subPDU is RAPID.
And E is 1, which indicates that the MAC sub PDU to be resolved later exists.
UE 0: and (5) successfully matching RAPID, storing the MAC RAR and ending the analysis.
UE1/UE2/UE4/UE 5: and if the RAPID matching fails, analyzing the next MAC sub PDU. Since MAC subpdus of RAPID type are all MAC subpdus containing MAC RARs, it can be determined that the next MAC subPDU starts from Oct 18.
1.4) UE1/UE2/UE4/UE5 parses the 4 th MAC sub PDU starting from Oct 18:
t ═ 1, indicating that the type of the MAC subPDU is RAPID.
And E is 1, which indicates that the MAC sub PDU to be resolved later exists.
RAPID ═ 5, indicating that the MAC subPDU is a response to a UE with random access preamble index of 5.
UE1/UE 2: and (5) successfully matching RAPID, storing the MAC RAR and ending the analysis.
UE4/UE 5: and if the RAPID matching fails, analyzing the next MAC sub PDU. Since MAC subpdus of RAPID type are all MAC subpdus containing MAC RARs, it can be determined that the next MAC subPDU starts from Oct 26.
1.5) UE4/UE5 parsed the 4 th MAC sub-PDU starting from Oct 18:
t ═ 1, indicating that the type of the MAC subPDU is RAPID.
UE4/UE 5: and (5) successfully matching RAPID, storing the MAC RAR and ending the analysis.
The invention also provides a system for determining random access response, comprising:
the definition module is used for determining the 3 rd bit position of the MAC sub PDU with the header file information of the BI type in the MAC PDU as an I field;
an assignment module, configured to set the value of the I-field to 1 if at least one header file type of a MAC sub-PDU in the MAC PDU is not an MAC RAR type when the NR base station transmits the MAC PDU for random access response, and set the I-field to 0 if not;
a current position determining module, configured to determine, when the user equipment receives the MAC PDU, a first MAC sub PDU of the MAC PDU as a current MAC sub PDU;
a first analysis module, configured to determine, if the value of the I field of the current MAC sub pdu is O, a MAC RAR of a random access response of the current MAC sub pdu according to a BI type, and determine a MAC RAR of a random access response of each MAC sub pdu by analyzing a MAC sub pdu subsequent to the current MAC sub pdu;
and the second analysis module is used for determining the MAC RAR of the random access response of each MAC sub PDU in the MAC PDUs according to the RAPID type if the header file information of the current MAC sub PDU is not the BI type or the value of the I field of the current MAC sub PDU is 1.
Preferably, the first parsing module specifically includes:
and the first analysis unit is used for analyzing the second MAC sub PDU to determine a random access response message of the second MAC sub PDU, and when the type of the header file information of the second MAC sub PDU is not successfully matched with the random response request and the second MAC sub PDU is not the last MAC sub PDU, analyzing the third MAC sub PDU until the matching is successful or the last MAC sub PDU is reached, and at the moment, finishing the determination of the MAC RAR of the random access response of each MAC sub PDU after the current MAC sub PDU.
Preferably, the second parsing module specifically includes:
and the first analysis subunit is used for skipping the analysis of the MAC header file and the analysis of the MAC RAR in the analysis process.
Preferably, the root second parsing module specifically includes:
a traversal unit, configured to traverse all preambles to obtain a first set and a second set when a RAPID type of the current MAC sub pdu is not successfully matched with the random response request and the current MAC sub pdu is not a last MAC sub pdu; the first set is a preamble set used by an RAPID type in the MAC sub PDU, wherein the type information carried by the preamble set is only one RAPID; the second set is a preamble set used by a RAPID type in the MAC sub PDU, wherein the type information carried by the second set comprises a MAC RAR and the RAPID type;
a determining unit, configured to determine whether a preamble used by a RAPID type of the current MAC sub PDU belongs to the first set or the second set, and if the RAPID belongs to the first set, skip parsing of a header file of the current MAC to obtain a next MAC sub PDU; if the RAPID belongs to the second set, skipping the analysis of the current MAC header file and the MAC RAR to obtain the next MAC sub PDU;
a determining unit, configured to determine, if the RAPID of the current MAC sub pdu is successfully matched with the random response request, the MAC RAR of the current MAC sub pdu as a response message of the random access request; if the current MAC sub PDU is the last MAC sub PDU and the RAPID of the current MAC sub PDU is not successfully matched with the random response request, the random access fails, and the user equipment judges whether to initiate the random access attempt again or to end the random access process according to the maximum times of the random access attempt. .
The invention further provides an electronic device, which includes a processor and a memory, where the memory stores an executable computer program, and the processor can read the computer program in the memory and operate to implement the random access response determination method in the foregoing embodiment.
The present invention also provides a computer-readable storage medium, which stores an executable computer program, and when the computer program runs, the method for determining a random access response in the above embodiments can be implemented.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.
Claims (10)
1. A method for determining a random access response, comprising:
determining the 3 rd bit position of the MAC subpPDU with the header file information of the BI type in the MAC PDU as an I field;
when the NR base station sends the MAC PDU used for random access response, if at least one header file type of the MAC sub PDU in the MAC PDU is not an MAC RAR type, setting the value of the I domain to be 1, otherwise, setting the I domain to be 0;
when the user equipment receives the MAC PDU, determining a first MAC sub PDU of the MAC PDU as a current MAC sub PDU;
if the current MAC sub PDU is of a BI type and the value of an I field is 0, determining the MAC RAR of the random access response of the current MAC sub PDU according to the BI type, and determining the MAC RAR of the random access response of each MAC sub PDU by analyzing the MAC sub PDU after the current MAC sub PDU;
and if the header information of the current MAC sub PDU is not the BI type or the value of the I field of the current MAC sub PDU is 1, determining the MAC RAR of the random access response of each MAC sub PDU in the MAC PDUs according to the RAPID type.
2. The method for determining a random access response according to claim 1, wherein the determining the MAC RAR of the random access response of each MAC sub pdu by parsing the MAC sub pdu after the current MAC sub pdu specifically includes:
and when the type of the header file information of the second MAC sub PDU is not successfully matched with the random response request and the second MAC sub PDU is not the last MAC sub PDU, analyzing a third MAC sub PDU until the matching is successful or the last MAC sub PDU is reached, and at the moment, finishing the determination of the MAC RAR of the random access response of each MAC sub PDU after the current MAC sub PDU.
3. The method of claim 2, wherein the parsing the third MAC sub-pdu further comprises:
and skipping the analysis of the MAC header file and the analysis of the MAC RAR in the analysis process.
4. The method according to claim 1, wherein the determining the MAC RAR of the random access response of each MAC sub-PDU in the MAC PDUs according to the RAPID type includes:
when the RAPID type of the current MAC sub PDU is not successfully matched with the random response request and the current MAC sub PDU is not the last MAC sub PDU, traversing all lead codes to obtain a first set and a second set;
the first set is a preamble set which carries type information and is used by RAPID in the MAC sub PDU with only one RAPID type;
the second set is a preamble set used by a RAPID type in the MAC sub PDU, wherein the type information carried by the second set comprises a MAC RAR and the RAPID type;
judging whether a lead code adopted by the RAPID type of the current MAC sub PDU belongs to the first set or the second set, if so, skipping the analysis of the header file of the current MAC and acquiring the next MAC sub PDU; if the RAPID belongs to the second set, skipping the analysis of the current MAC header file and the MAC RAR to obtain the next MAC sub PDU;
and if the RAPID of the current MAC sub PDU is successfully matched with the random response request, determining the MAC RAR of the current MAC sub PDU as the response message of the random access request.
5. A random access response determination system, comprising:
the definition module is used for determining the 3 rd bit position of the MAC sub PDU with the header file information of the BI type in the MAC PDU as an I field;
an assignment module, configured to set the value of the I-field to 1 if at least one header file type of a MAC sub-PDU in the MAC PDU is not an MAC RAR type when the NR base station transmits the MAC PDU for random access response, and set the I-field to 0 if not;
a current position determining module, configured to determine, when the user equipment receives the MAC PDU, a first MAC sub PDU of the MAC PDU as a current MAC sub PDU;
a first analysis module, configured to determine, according to a BI type, a MAC RAR of a random access response of the current MAC sub pdu if the current MAC sub pdu is of the BI type and a value of an I field is 0, and determine, by analyzing MAC sub pdus subsequent to the current MAC sub pdu, a MAC RAR of the random access response of each MAC sub pdu;
and the second analysis module is used for determining the MAC RAR of the random access response of each MAC sub PDU in the MAC PDUs according to the RAPID type if the header file information of the current MAC sub PDU is not the BI type or the value of the I field of the current MAC sub PDU is 1.
6. The system for determining random access response according to claim 5, wherein the first parsing module specifically includes:
and the first analysis unit is used for analyzing the second MAC sub PDU to determine a random access response message of the second MAC sub PDU, and when the type of the header file information of the second MAC sub PDU is not successfully matched with the random response request and the second MAC sub PDU is not the last MAC sub PDU, analyzing the third MAC sub PDU until the matching is successful or the last MAC sub PDU is reached, and at the moment, finishing the determination of the MAC RAR of the random access response of each MAC sub PDU after the current MAC sub PDU.
7. The system for determining a random access response according to claim 6, wherein the second parsing module specifically includes:
and the first analysis subunit is used for skipping the analysis of the MAC header file and the analysis of the MAC RAR in the analysis process.
8. The system for determining a random access response according to claim 5, wherein the root second parsing module specifically includes:
a traversal unit, configured to traverse all preambles to obtain a first set and a second set when a RAPID type of the current MAC sub pdu is not successfully matched with the random response request and the current MAC sub pdu is not a last MAC sub pdu; the first set is a preamble set used by an RAPID type in the MAC sub PDU, wherein the type information carried by the preamble set is only one RAPID; the second set is a preamble set used by a RAPID type in the MAC sub PDU, wherein the type information carried by the second set comprises a MAC RAR and the RAPID type;
a determining unit, configured to determine whether a preamble used by a RAPID type of the current MAC sub PDU belongs to the first set or the second set, and if the RAPID belongs to the first set, skip parsing of a header file of the current MAC to obtain a next MAC sub PDU; if the RAPID belongs to the second set, skipping the analysis of the current MAC header file and the MAC RAR to obtain the next MAC sub PDU;
a determining unit, configured to determine, if the RAPID of the current MAC sub pdu is successfully matched with the random response request, the MAC RAR of the current MAC sub pdu as a response message of the random access request; if the current MAC sub PDU is the last MAC sub PDU and the RAPID of the current MAC sub PDU is not successfully matched with the random response request, the random access fails, and the user equipment judges whether to initiate the random access attempt again or to end the random access process according to the maximum times of the random access attempt.
9. An electronic device comprising a processor and a memory, the memory storing an executable computer program, the processor being capable of reading the computer program in the memory and operating to implement the random access response determination method as claimed in claim 1.
10. A computer-readable storage medium, in which an executable computer program is stored, which computer program when executed implements the random access response determination method according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110796704.4A CN113543352B (en) | 2021-07-14 | 2021-07-14 | Random access response determination method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110796704.4A CN113543352B (en) | 2021-07-14 | 2021-07-14 | Random access response determination method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113543352A true CN113543352A (en) | 2021-10-22 |
CN113543352B CN113543352B (en) | 2023-05-30 |
Family
ID=78128039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110796704.4A Active CN113543352B (en) | 2021-07-14 | 2021-07-14 | Random access response determination method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113543352B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792998A (en) * | 2017-01-06 | 2017-05-31 | 展讯通信(上海)有限公司 | The acquisition methods on demand and device of a kind of system information |
CN109392017A (en) * | 2017-08-11 | 2019-02-26 | 电信科学技术研究院 | A kind of method, apparatus of random access response, base station and terminal |
CN109587730A (en) * | 2017-09-28 | 2019-04-05 | 电信科学技术研究院 | A kind of information indicating method, user equipment and base station |
CN111867130A (en) * | 2019-04-30 | 2020-10-30 | 华为技术有限公司 | Random access method, device and storage medium |
WO2021068172A1 (en) * | 2019-10-10 | 2021-04-15 | Oppo广东移动通信有限公司 | Random access method, electronic device and storage medium |
-
2021
- 2021-07-14 CN CN202110796704.4A patent/CN113543352B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792998A (en) * | 2017-01-06 | 2017-05-31 | 展讯通信(上海)有限公司 | The acquisition methods on demand and device of a kind of system information |
CN109392017A (en) * | 2017-08-11 | 2019-02-26 | 电信科学技术研究院 | A kind of method, apparatus of random access response, base station and terminal |
CN109587730A (en) * | 2017-09-28 | 2019-04-05 | 电信科学技术研究院 | A kind of information indicating method, user equipment and base station |
CN111867130A (en) * | 2019-04-30 | 2020-10-30 | 华为技术有限公司 | Random access method, device and storage medium |
WO2021068172A1 (en) * | 2019-10-10 | 2021-04-15 | Oppo广东移动通信有限公司 | Random access method, electronic device and storage medium |
Non-Patent Citations (1)
Title |
---|
ZTE: "R2-093876 "Indication for last random access response"", 《3GPP TSG_RAN\WG2_RL2》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113543352B (en) | 2023-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11102825B2 (en) | Method and device for responding to random access | |
EP3813456A1 (en) | Random access method, terminal, base station, storage medium, and electronic device | |
CN101742697B (en) | Method of improving a semi-persistent scheduling (sps) resource release process and related apparatus | |
CN110300455B (en) | Random access resource indication, random access method, base station, terminal and device | |
KR20160056933A (en) | Method, user equipment, and base station for predetermination of resource in random access | |
WO2020220306A1 (en) | Resource indication in random access | |
CN110505710B (en) | Random access method and device, storage medium and electronic device | |
US10869339B2 (en) | Method, device, computer-readable storage and carrier for random access | |
AU2019247019B2 (en) | Transmission method and device, computer readable storage medium | |
CN111837435A (en) | Method and apparatus for random access procedure with listen-before-talk detection mechanism in mobile communications | |
CN113940135A (en) | Sending reports of random access procedures | |
CN109803340B (en) | Message transmission method, user equipment, base station and computer readable storage medium | |
CN111867124B (en) | Random access method and equipment | |
CN111465112B (en) | Method and device for processing access control signaling | |
CN109587730A (en) | A kind of information indicating method, user equipment and base station | |
CN113543352B (en) | Random access response determination method, device and system | |
CN110933759A (en) | Random access processing method, device and communication equipment | |
CN105979594B (en) | A kind of accidental access method and device based on resource allocation | |
CN114208376B (en) | Method and device for receiving or transmitting random access message | |
WO2021062760A1 (en) | Methods for sending and receiving feedback information and device | |
US20190075593A1 (en) | Classification of user equipment using extended set of random access preambles | |
CN114040516A (en) | Information analysis method, transmission method, device, electronic device and storage medium | |
CN107734565B (en) | System information processing method and device | |
CN107295693B (en) | Random access method, base station and terminal | |
CN110611960A (en) | Access method and device |
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 |