CN110913499A - Random access method and terminal - Google Patents

Random access method and terminal Download PDF

Info

Publication number
CN110913499A
CN110913499A CN201811090108.9A CN201811090108A CN110913499A CN 110913499 A CN110913499 A CN 110913499A CN 201811090108 A CN201811090108 A CN 201811090108A CN 110913499 A CN110913499 A CN 110913499A
Authority
CN
China
Prior art keywords
random access
message
target
step random
sending
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
CN201811090108.9A
Other languages
Chinese (zh)
Other versions
CN110913499B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811090108.9A priority Critical patent/CN110913499B/en
Publication of CN110913499A publication Critical patent/CN110913499A/en
Application granted granted Critical
Publication of CN110913499B publication Critical patent/CN110913499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]

Abstract

The invention provides a random access method and a terminal, wherein the method comprises the following steps: in the process of executing the random access process by adopting the two-step random access, if the two-step random access fails, the target random access is adopted to execute the random access process, and the target random access comprises two-step random access or four-step random access. The invention can improve the flexibility of random access.

Description

Random access method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a random access method and a terminal.
Background
In the existing random access process, the terminal adopts four-step random access (4-step RACH) to execute the random access process, and when the four-step random access fails, the terminal will reinitiate the four-step random access attempt until the maximum number of random access attempts is reached or the random access succeeds, and the flexibility is low.
Disclosure of Invention
The embodiment of the invention provides a random access method and a terminal, aiming at solving the problem of lower flexibility of the existing random access method.
In order to solve the problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a random access method, where the method includes:
in the process of executing the random access process by adopting the two-step random access, if the two-step random access fails, executing the random access process by adopting the target random access according to the first parameter, wherein the target random access comprises two-step random access or four-step random access.
In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
and the execution module is used for executing the random access process by adopting two-step random access according to the first parameter if the two-step random access fails, wherein the target random access comprises two-step random access or four-step random access.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and when the computer program is executed by the processor, the steps of the random access method are implemented.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the random access method as described above.
In the embodiment of the present invention, in the process of executing the random access procedure by using the two-step random access, if the two-step random access fails, the random access procedure is executed by using the target random access, where the target random access includes two-step random access or four-step random access. Therefore, the invention can improve the flexibility of random access.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced 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 that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a block diagram of a network system to which an embodiment of the present invention is applicable;
fig. 2 is a schematic diagram of a four-step random access procedure provided by an embodiment of the present invention;
fig. 3 is a schematic diagram of a two-step random access procedure provided by an embodiment of the present invention;
fig. 4 is a diagram of a MAC PDU provided in an embodiment of the present invention;
fig. 5 is a schematic diagram of a MAC RAR provided by an embodiment of the present invention;
fig. 6 is a flowchart of a random access method provided by an embodiment of the present invention;
fig. 7 is one of the structural diagrams of a terminal provided in an embodiment of the present invention;
fig. 8 is a second structural diagram of a terminal according to an embodiment of 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 some, not all, embodiments of the present invention. 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 terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Further, as used herein, "and/or" means at least one of the connected objects, e.g., a and/or B and/or C, means 7 cases including a alone, B alone, C alone, and both a and B present, B and C present, both a and C present, and A, B and C present.
Referring to fig. 1, fig. 1 is a structural diagram of a network system to which an embodiment of the present invention is applicable, and as shown in fig. 1, the network system includes a terminal 11 and a network-side device 12, where the terminal 11 and the network-side device 12 can communicate with each other through a network.
In this embodiment of the present invention, the terminal 11 may also be referred to as a UE (User Equipment), and when the implementation is specific, the terminal 11 may be a terminal-side Device such as a mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a laptop Computer (laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or a vehicle-mounted Device, and it should be noted that a specific type of the terminal 11 is not limited in this embodiment of the present invention.
The network side device 12 may be a base station, a relay, an access point, or the like. The base station may be a base station of 5G and later versions (e.g., a 5G NR NB), or a base station in another communication system (e.g., an evolved Node B (eNB)), and it should be noted that the specific type of the network side device 12 is not limited in this embodiment of the present invention.
For convenience of description, some contents related to the embodiments of the present invention are explained below:
one, four Step random access (4-Step RACH) procedure
In the embodiment of the present invention, as shown in fig. 2, the four-step random access procedure may include the following steps:
step 201, the network side device configures four-step random access configuration information (4-StepRACHconfigur 1) for the UE.
Step 202, the UE sends Msg1 to the network side device.
In this step, Msg1 may include a Preamble (Preamble), but is not limited thereto.
Step 203, the network side device sends Msg2 to the UE.
In this step, the Msg2 may be represented as an RAR (Random Access Response) message. As shown in fig. 2, the Msg2 may include BI (Backoff Indicator), uplink grant (uplinkgunt) information, RA-RNTI (Random Access-Radio Network Temporary Identifier).
However, it should be understood that in practical applications, the Msg2 may include one or more combinations of BI, uplink grant information, and RA-RNTI, and of course, the Msg2 may also include other information, such as TAC (Timing Advance Command), etc.
And step 204, the UE sends the Msg3 to the network side equipment.
In this step, the Msg3 may be represented as an RRC (Radio Resource Control) connection request message. As shown in fig. 2, the Msg3 may include, but is not limited to, an S-TMSI (system architecture evolution Temporary Mobile station identifier).
Step 205, the network side device sends Msg4 to the UE.
In this step, Msg4 may appear as an RRC connection setup message. As shown in fig. 2, the Msg3 may include Contention Resolution (Contention Resolution), but is not limited thereto.
Step 206, the UE sends Msg5 to the network side device.
In this step, Msg5 may appear as an RRC connection complete message.
It should be noted that the expression forms of the Msg1 to Msg5 of the four-step random access are only examples, and may be expressed as other different message forms in the connection establishment process of the specific connection state and the idle state, for example, the Msg1 to Msg5 of the four-step random access may be RRC messages, MAC CEs, physical layer indicators, data or sequences, and the specific expression forms of the Msg1 to Msg5 of the four-step random access are not limited in the embodiment of the present invention.
In the four-step random access process, after receiving the RAR and detecting a RAP identity corresponding to a preamble in the Msg1 of the four-step random access, the UE in an Idle state (Idle) or an Inactive state (Inactive) may obtain an uplink authorization information corresponding to the RAP identity, and send Msg3 according to the uplink authorization information. Further, contention resolution is completed through the Msg4, meanwhile, the Msg4 can provide a reconfiguration message, and upgrade the T-C-RNTI sent by the UE to the C-RNTI, and then the network side device can perform scheduling by using the C-RNTI, and complete the transition of the UE from the idle state or the inactive state to the connected state.
Two, two-Step random access (2-Step RACH) procedure:
in the embodiment of the present invention, as shown in fig. 3, the two-step random access procedure may include the following steps:
step 301, the network side device configures configuration information (2-Step rachconfigure1) of two-Step random access to the UE. The configuration information may include sending resource information corresponding to Msg1 and Msg 2.
Step 302, the UE sends Msg1 to the network side device. Thereby triggering the 2-Step RACH procedure.
In specific implementation, the UE may send Msg1 through PUSCH (physical 1l Uplink Sh1red Ch1 channel). Wherein Msg1 may include a data portion and a non-data portion. As shown in fig. 3, the Msg1 may carry Data (Data) and a first UE identity (UE-ID 1).
Step 203, the network side equipment sends a feedback message Msg2 to the UE.
As shown in fig. 2, the Msg2 may carry a second UE identity (UE-ID2) and an acknowledgement (ACK Indication).
It should be noted that, if the UE receives the Msg2, and then analyzes and finds that the second UE identity carried in the Msg2 is not matched with the first UE identity carried in the Msg1 sent by the UE, it may be considered that receiving the Msg2 fails, and the UE needs to resend the Msg1, that is, the random access process is reinitiated.
It should be noted that the Msg1 and Msg2 in the two-step random access may exhibit different message forms during the connection establishment process of the specific connected state and the idle state, for example, the Msg1 and Msg2 in the two-step random access may be RRC messages, MACCE, physical layer indication, data or sequence, and the like. The embodiment of the invention does not limit the concrete representation forms of the Msg1 and the Msg2 in the two-step random access process.
In addition, it should be understood that Msg1 and Msg2 for two-step random access are different from Msg1 and Msg2 for four-step random access. In some embodiments, the Msg1 of the two-step random access may correspond to a combination of Msg1 and Msg3 in a four-step random access process, and the Msg2 of the two-step random access may correspond to a combination of Msg2 and Msg4 in a four-step random access process, but is not limited thereto.
Third, MAC (Medium Access Control) PDU (Protocol data unit) format of RAR
As shown in fig. 4, the MAC PDU may include a header and a MAC RAR.
Further, the MAC PDU may include a plurality of subheaders (subheaders). The header of the MAC PDU shown in fig. 4 includes a first sub-header carrying a BI (BI), and two second sub-headers carrying a RAP (Random Access Preamble) identifier.
The composition of the MAC RAR can be seen in fig. 5.
As shown in fig. 5, the first 3 bits of byte (Oct)1 of the MAC RAR are reserved bits, which can be represented by R, and the last 5 bits carry TAC; the first 7 bits of byte 2 carry TAC, and the last bit carries uplink Grant information (UL Grant); bytes 3 to 5 carry TAC; bytes 7 and 8 carry a temporary cell radio network temporary identity (T-C-RNTI).
As shown in fig. 4, the RAR may be divided into three MAC sub PDUs. One including only the BI, one including only the RAP identity, and one including both the RAP identity and the RAR. The payload content of RAR is TAC, UL grant, T-C-RNTI. Wherein, the sub PDU role of the BI is to execute the BI for the UE which does not detect RAP identification; the function of the subPDCU only with the RAP identification is as the ACK of the SI request for the UE which detects the RAP identification; the sub-PDU with the RAP identity and the RAR has the function of sending Msg3 in the four-step random access process, namely, message 3, according to the corresponding uplink authorization information for the UE that detects the RAP identity.
The following describes a random access method according to an embodiment of the present invention.
Referring to fig. 6, fig. 6 is a flowchart of a random access method according to an embodiment of the present invention. The random access method of this embodiment is applied to the UE, where the UE may be in an idle state or an inactive state, or may be a connected state. Specifically, when the UE is in an idle state or an inactive state, the random access procedure of this embodiment may be used to implement access of the UE; when the UE is a connected UE, the random access procedure of this embodiment may be used to implement handover of the UE, but is not limited thereto.
As shown in fig. 6, the random access method of the present embodiment includes the following steps:
step 601, in the process of executing the random access process by adopting the two-step random access, if the two-step random access fails, executing the random access process by adopting the target random access, wherein the target random access comprises the two-step random access or the four-step random access.
In this embodiment, before the UE performs the random access procedure by using the two-step random access, the UE may acquire RACH configuration information, and determine to select to perform the random access procedure by using the two-step random access according to a preset selection condition of the two-step random access and the four-step random access.
In the process of executing the random access process by adopting the two-step random access, the UE sends Msg1 to the network side equipment to trigger the two-step random access. When the UE is a connected UE, the Msg1 may include a C-RNTI.
Thereafter, the UE may perform reception of Msg2 for two-step random access. If the Msg2 contention received by the UE fails or the UE does not receive Msg2, i.e. RAR, the two-step random access may be considered as a failure, and further a random access procedure may be performed by using the target random access.
In this step, the target random access may comprise two-step random access or four-step random access, and in some embodiments, the target random access may further comprise non-contention random access.
In the random access method of this embodiment, in the process of executing the random access procedure by using two-step random access, if the two-step random access fails, the random access procedure is executed by using target random access, where the target random access includes two-step random access or four-step random access. Therefore, the invention can improve the flexibility of random access.
In the embodiment of the present invention, to improve the service quality, the UE may further determine the type of the target random access according to the first parameter that can be used to characterize the service requirement, so that performing the random access procedure by using the target random access can improve the service quality, such as improving the access efficiency and speed.
Optionally, the executing the random access procedure by using the target random access includes:
executing a random access process by adopting target random access according to the first parameter;
the first parameter may include at least one of: the amount of data to be transmitted; a quality of service requirement; a data volume or delay requirement threshold; the channel quality.
It should be understood that the type of target random access is related to the specific representation of the first parameter. Illustratively, when the first parameter includes a quality of service requirement, if the quality of service requirement is higher than a preset threshold, which indicates that the reliability of the service requirement is high, a four-step random access may be selected to execute a random access procedure, so that the reliability of the service may be improved; when the first parameter includes the data volume to be transmitted, if the data volume to be transmitted is smaller, the random logging process can be executed by adopting two-step random access, so that the access rate can be improved.
Therefore, the random access process is executed by adopting the target random access determined according to the first parameter, the service quality can be improved, and the power consumption of the terminal can be reduced.
In the embodiment of the invention, in a scene that the target random access is the four-step random access, the UE can reinitiate the four-step random access process and resend the Msg1 of the four-step random access process, namely, the Msg1 of the four-step random access is fallen back; alternatively, the two random access procedures are converted into a four-step random access procedure, and the Msg3 of the four-step random access procedure is retransmitted. I.e. back to Msg3 for four-step random access. Therefore, optionally, the performing the random access procedure with the target random access may include:
re-initiating two-step random access to execute a random access process; alternatively, the first and second electrodes may be,
re-initiating the four-step random access execution random access process; alternatively, the first and second electrodes may be,
and the random access process is executed by adopting four-step random access.
In this way, the UE may determine, according to the first parameter, a specific expression form for performing the random access procedure by using the target random access, so that the flexibility of the random access may be improved.
The Msg2 with successful two-step random access may include BI, RAP identifier corresponding to the preamble in the message 1 with two-step random access, contention resolution identifier, uplink grant information, TAC, connection establishment message, and C-RNTI. It should be understood that the C-RNTI of the connected UE may serve as a contention resolution identity. Therefore, the UE may determine a concrete representation of performing a random access procedure with the target random access by comparing the received Msg2 with the two-step successful Msg 2.
Optionally, the converting may adopt a four-step random access to execute a random access procedure, including:
under the condition of meeting the preset condition, the method is converted into a method adopting four-step random access to execute a random access process;
the meeting of the preset condition comprises at least one of the following:
a competition resolving identification corresponding to a random access preamble identification is not received, wherein the random access preamble identification is a random access preamble identification corresponding to a preamble in the two-step random access message 1;
connection establishment information corresponding to the random access preamble identification is not received;
receiving no random access preamble identification;
uplink authorization information corresponding to the random access preamble identification is not received;
acquiring predefined uplink authorization information;
a predetermined error condition is detected.
In practical applications, the preset condition may be at least one of the following:
receiving an RAP identifier corresponding to a preamble in the message 1 of the two-step random access and uplink authorization information corresponding to the RAP identifier, but not receiving a competition resolving identifier corresponding to the RAP identifier;
receiving an RAP identifier corresponding to a preamble, a contention resolution identifier corresponding to the RAP identifier and uplink authorization information corresponding to the RAP identifier in the message 1 of the two-step random access, but not receiving a connection establishment message corresponding to the RAP identifier;
not receiving RAP identification corresponding to the preamble in the message 1 of the two-step random access, and acquiring predefined (reserved or preconfigured) uplink authorization information (using BI or not using BI);
receiving a contention resolution identity, but not receiving a RAP identity corresponding to a preamble or a PUSCH (Physical Uplink Shared Channel) in the message 1 of the two-step random access, and a connection establishment message corresponding to the contention resolution identity; and so on.
Of course, the preset condition may also include other condition combinations of the RAP identifier, the contention resolution identifier, and the connection establishment condition, which may be determined specifically according to the actual situation, and this is not limited in the embodiment of the present invention.
Additionally, the preset error condition may include, but is not limited to, at least one of:
receiving no random access response after overtime;
the maximum random access attempt times are reached;
incomplete RRC message reception; and so on.
Through the mode, when the preset condition is met, the random access process is switched to be executed by adopting the four-step random access and the access flow falls back to the Msg3 of the four-step random access, so that the signaling can be saved, and the access rate is improved.
After the random access procedure is switched to be executed by adopting the four-step random access, the UE may send Msg3 of the four-step random access according to the obtained uplink authorization information.
Optionally, after the switching to execute the random access procedure by using four-step random access, the method further includes:
sending the message 3 of the four-step random access according to the target uplink authorization information;
wherein the target uplink authorization information is: the uplink authorization information corresponding to the preamble in the two-step random access message 1, or the uplink authorization information corresponding to the contention resolution identifier in the two-step random access message 2, or the predefined uplink authorization information.
Specifically, if the uplink authorization information corresponding to the contention resolution identity is received, the target uplink authorization information may be the uplink authorization information corresponding to the contention resolution identity in the two-step random access message 2; if the uplink authorization information corresponding to the competition resolving identifier is not received, and predefined uplink authorization information is obtained, the target uplink authorization information can be the predefined uplink authorization information; if the uplink authorization information corresponding to the contention resolution identity is not received and the predefined uplink authorization information is not obtained, the target uplink authorization information may be the uplink authorization information corresponding to the preamble in the two-step random access message 1, but is not limited thereto.
In a specific implementation, the Size of a transmission resource, such as a Transport Block Size (TBS), used for transmitting the Msg3 may be determined according to the target uplink grant information, and then data content, such as a MAC PDU, used for carrying the Msg3 may be obtained according to the Size of the transmission resource.
In the embodiment of the invention, the data content corresponds to the size of the sending resource, and under the condition that the sending resource sizes in two random accesses are different, the data content corresponding to the sending resource sizes in the two random accesses can be different; when the transmission resource sizes in the two random accesses are the same, the data contents corresponding to the transmission resource sizes in the two random accesses may be the same.
Therefore, the data content for carrying the Msg3 can be obtained according to the comparison result of the sending resource sizes of the two random accesses.
Specifically, if the sending resource size for sending Msg1 for the two random accesses is the same as the sending resource size for sending Msg3 for the four-step random access, the data content for carrying Msg1 may be extracted from the buffer location for the two-step random access as the data content for carrying Msg3, and the data content for carrying Msg3 does not need to be regenerated, which simplifies the operation.
If the sending resource size for sending the Msg1 for the two random accesses is different from the sending resource size for sending the Msg3 for the four-step random access, the data content for carrying the Msg3 can be regenerated, so that the success rate of data transmission is improved.
Therefore, the message 3 of the four-step random access is sent according to the target uplink authorization information, and the operation can be simplified while the reliability of data transmission is ensured.
In the embodiment of the invention, in order to ensure the time synchronization of the network side equipment and correctly decode the uplink data, an uplink timing advance mechanism is provided.
Optionally, before sending the message 3 of the four-step random access according to the target uplink grant information, the method further includes:
calculating a Timing Advance (TA) according to a second parameter, the second parameter comprising at least one of:
the terminal identifier in the two-step random access message 1 corresponds to a Physical Uplink Shared Channel (PUSCH) resource; a preamble channel or a preamble resource in the message 1; the corresponding relation between the PUSCH resource and the preamble resource;
the sending the message 3 of the four-step random access according to the target uplink authorization information comprises the following steps:
and sending the message 3 of the four-step random access according to the target uplink authorization information and the TA.
Specifically, when TA is reached, a message 3 of four-step random access is transmitted. Therefore, time synchronization of network side equipment can be ensured, uplink data can be correctly decoded, and intra-cell interference is avoided.
In this embodiment, the UE may re-specify inter-layer interworking when deciding to fall back to the four-step random access.
Optionally, the target random access is four-step random access; after the random access process is executed by adopting the target random access, at least one of the following steps is also included:
an access AS layer sends a first notification message to a non-access NAS layer, and the first notification message is used for indicating the NAS layer to send a reason value of a message 3 of the four-step random access to an RRC layer;
the NAS layer sends a reason value of a message 3 of the four-step random access to an RRC layer;
sending a first RRC message, wherein the first RRC message is as follows: and reconstructing the RRC message according to the second notification message sent by the media access control MAC layer, or the buffered RRC message.
When the UE decides to fall back to the four-step random access, the AS (access stratum) layer and the NAS (Non-access stratum) layer need to interact, and the AS notifies the NAS that the connection establishment fails, so that the NAS layer needs to provide an escape Cause Value (msg 3) of the four-step random access again.
The NAS layer may provide one cause value for each (fallback) event, i.e. the NAS layer may provide one cause value for each access triggering event.
When the fallback occurs, the MAC layer needs to notify the RRC layer to reconstruct an RRC message, or extract the buffered RRC message from the RRC buffer location, and then send the RRC message.
The buffered RRC message may be stored in an RRC Buffer location (Buffer) until the buffered RRC message is used after being backed up, and the content in the RRC Buffer location is deleted until the access or the data transmission is completed.
In the embodiment of the present invention, after the UE performs the random access procedure by using the target random access, the UE may obtain the data content of the first message for carrying the target random access, and send the first message through the data content.
Optionally, after the random access procedure is executed by using the target random access, the method further includes:
in the process of executing a random access process by adopting target random access, acquiring first data content according to the size of the acquired sending resource for sending a first message of the target random access, and sending the first message through the first data content;
the target random access is two-step random access, and the first message is a message 1; the target random access is four-step random access, and the first message is a message 3.
In this optional step, the size of the transmission resource used for transmitting the first message of the target random access may be generated by the UE according to the uplink grant information configured by the network side device, or generated by the UE according to the uplink grant information corresponding to the preamble in the message 1 of the two-step random access, or generated by the UE according to predefined uplink grant information, which may specifically be determined according to actual needs, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, the data content corresponds to the size of the sending resource, and under the condition that the sending resource sizes in two random accesses are different, the data content corresponding to the sending resource sizes in the two random accesses can be different; when the transmission resource sizes in the two random accesses are the same, the data contents corresponding to the transmission resource sizes in the two random accesses may be the same.
Therefore, the first data content can be obtained according to the comparison result of the sizes of the transmission resources of the two random accesses.
Optionally, the obtaining, according to the obtained size of the transmission resource for transmitting the first message of the target random access, the first data content includes:
under the condition that the size of the sending resource of the two-step random access is the same as that of the sending resource of the first message for sending the target random access, extracting the first data content from the cache position of the two-step random access; alternatively, the first and second electrodes may be,
and under the condition that the size of the sending resource of the two-step random access is different from the size of the sending resource of the first message for sending the target random access, regenerating the first data content according to the obtained size of the sending resource of the first message for sending the target random access.
In this way, when the size of the transmission resource of the two-step random access is the same as the size of the transmission resource of the first message for transmitting the target random access, the first data content can be directly extracted from the cache position of the two-step random access without regenerating the first data content, thereby simplifying the operation.
And under the condition that the size of the sending resource of the two-step random access is different from the size of the sending resource of the first message for sending the target random access, regenerating the first data content according to the obtained size of the sending resource of the first message for sending the target random access, thereby improving the success rate of the first message transmission.
It should be understood that when the first message is sent through the first data content, a TA may be calculated, and the first message is sent through the first data content according to the TA, so that time synchronization of the network side device may be ensured, uplink data may be correctly decoded, and intra-cell interference may be avoided.
Optionally, the two-step random access is triggered by small data transmission, and the target random access is four-step random access;
after the random access procedure is executed by adopting the target random access, the method further comprises the following steps:
and regenerating a small data packet and/or a Radio Resource Control (RRC) message to be transmitted, and sending the small data packet and/or the RRC message after the target random access is successful.
When the two-step random access fails due to the small data transmission, the UE returns to the four-step random access for small data transmission. And after the target random access is successfully carried out, sending the small data packet and/or the RRC message. Therefore, signaling can be saved, and the access rate can be improved.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
Referring to fig. 7, fig. 7 is a diagram illustrating a structure of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal 700 includes:
an executing module 701, configured to, in a process of executing a random access procedure by using two-step random access, if the two-step random access fails, execute the random access procedure by using a target random access, where the target random access includes two-step random access or four-step random access.
In addition to fig. 7, a module included in terminal 700 and a unit included in each module will be described below.
Optionally, the execution module is specifically configured to: in the process of executing the random access process by adopting two-step random access, if the two-step random access fails, executing the random access process by adopting target random access according to a first parameter;
the first parameter comprises at least one of:
the amount of data to be transmitted; a quality of service requirement; a data volume or delay requirement threshold; the channel quality.
Optionally, the executing module 701 is specifically configured to: in the process of executing the random access process by adopting two-step random access, if the two-step random access fails, the following operations are executed according to a first parameter:
re-initiating two-step random access to execute a random access process; alternatively, the first and second electrodes may be,
re-initiating the four-step random access execution random access process; alternatively, the first and second electrodes may be,
and the random access process is executed by adopting four-step random access.
Optionally, the executing module 701 is specifically configured to: in the process of executing the random access process by adopting two-step random access, if the two-step random access fails, the process is switched to execute the random access process by adopting four-step random access according to the first parameter under the condition of meeting the preset condition;
the meeting of the preset condition comprises at least one of the following:
a competition resolving identification corresponding to a random access preamble identification is not received, wherein the random access preamble identification is a random access preamble identification corresponding to a preamble in the two-step random access message 1;
connection establishment information corresponding to the random access preamble identification is not received;
receiving no random access preamble identification;
uplink authorization information corresponding to the random access preamble identification is not received;
acquiring predefined uplink authorization information;
a predetermined error condition is detected.
Optionally, the terminal 700 further includes:
the first sending module is used for sending a message 3 of the four-step random access according to the target uplink authorization information after the process of executing the random access process by adopting the four-step random access is converted;
wherein the target uplink authorization information is: the uplink authorization information corresponding to the preamble in the two-step random access message 1, or the uplink authorization information corresponding to the contention resolution identifier in the two-step random access message 2, or the predefined uplink authorization information.
Optionally, the terminal 700 further includes:
a calculating module, configured to calculate, according to a second parameter before sending the message 3 of the four-step random access according to the target uplink grant information, a time advance TA, where the second parameter includes at least one of the following:
the terminal identifier in the two-step random access message 1 corresponds to a Physical Uplink Shared Channel (PUSCH) resource; a preamble channel or a preamble resource in the message 1; the corresponding relation between the PUSCH resource and the preamble resource;
the first sending module is specifically configured to:
and sending the message 3 of the four-step random access according to the target uplink authorization information and the TA.
Optionally, the target random access is four-step random access;
the terminal 700 further includes: at least one of:
a second sending module, configured to send, by an access AS layer, a first notification message to a non-access NAS layer after a random access procedure is executed by using a target random access, and to instruct the NAS layer to send a cause value of the message 3 of the four-step random access to an RRC layer;
a third sending module, configured to send, to the RRC layer, a cause value of the message 3 of the four-step random access after a random access procedure is executed by using a target random access;
a fourth sending module, configured to send a first RRC message after executing a random access procedure by using a target random access, where the first RRC message is: and reconstructing the RRC message according to the second notification message sent by the media access control MAC layer, or the buffered RRC message.
Optionally, the terminal 700 further includes:
a fourth sending module, configured to, after executing a random access procedure by using a target random access, obtain a first data content according to an obtained sending resource size of a first message for sending the target random access in a process of executing the random access procedure by using the target random access, and send the first message through the first data content;
the target random access is two-step random access, and the first message is a message 1; the target random access is four-step random access, and the first message is a message 3.
Optionally, the fourth sending module includes:
an extracting unit, configured to extract the first data content from the cache location of the two-step random access if the size of the transmission resource of the two-step random access is the same as the size of the transmission resource of the first message used for transmitting the target random access; alternatively, the first and second electrodes may be,
and a generating unit, configured to, in a case that the size of the transmission resource for the two-step random access is different from the size of the transmission resource for transmitting the first message of the target random access, regenerate the first data content according to the acquired size of the transmission resource for transmitting the first message of the target random access.
Optionally, the two-step random access is triggered by small data transmission, and the target random access is four-step random access;
the terminal 700 further includes:
the generation module is used for regenerating a small data packet and/or a Radio Resource Control (RRC) message to be transmitted after the random access process is executed by adopting the target random access, and sending the small data packet and/or the RRC message after the target random access is successful.
The terminal 700 can implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and is not described herein again to avoid repetition.
Referring to fig. 8, fig. 8 is a second structural diagram of a terminal according to a second embodiment of the present invention, where the terminal may be a hardware structural diagram of a terminal for implementing various embodiments of the present invention. As shown in fig. 8, terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal configuration shown in fig. 8 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 810 is configured to:
in the process of executing the random access process by adopting the two-step random access, if the two-step random access fails, the target random access is adopted to execute the random access process, and the target random access comprises two-step random access or four-step random access.
Optionally, the processor 810 is further configured to:
executing a random access process by adopting target random access according to the first parameter;
the first parameter comprises at least one of:
the amount of data to be transmitted; a quality of service requirement; a data volume or delay requirement threshold; the channel quality.
Optionally, the processor 810 is further configured to:
re-initiating two-step random access to execute a random access process; alternatively, the first and second electrodes may be,
re-initiating the four-step random access execution random access process; alternatively, the first and second electrodes may be,
and the random access process is executed by adopting four-step random access.
Optionally, the processor 810 is further configured to:
under the condition of meeting the preset condition, the method is converted into a method adopting four-step random access to execute a random access process;
the meeting of the preset condition comprises at least one of the following:
a competition resolving identification corresponding to a random access preamble identification is not received, wherein the random access preamble identification is a random access preamble identification corresponding to a preamble in the two-step random access message 1;
connection establishment information corresponding to the random access preamble identification is not received;
receiving no random access preamble identification;
uplink authorization information corresponding to the random access preamble identification is not received;
acquiring predefined uplink authorization information;
a predetermined error condition is detected.
Optionally, the radio frequency unit 801 is configured to:
sending the message 3 of the four-step random access according to the target uplink authorization information;
wherein the target uplink authorization information is: the uplink authorization information corresponding to the preamble in the two-step random access message 1, or the uplink authorization information corresponding to the contention resolution identifier in the two-step random access message 2, or the predefined uplink authorization information.
Optionally, the processor 810 is further configured to:
calculating a Timing Advance (TA) according to a second parameter, the second parameter comprising at least one of:
the terminal identifier in the two-step random access message 1 corresponds to a Physical Uplink Shared Channel (PUSCH) resource; a preamble channel or a preamble resource in the message 1; the corresponding relation between the PUSCH resource and the preamble resource;
optionally, the radio frequency unit 801 is further configured to:
and sending the message 3 of the four-step random access according to the target uplink authorization information and the TA.
Optionally, the target random access is four-step random access;
a processor 810 further configured to perform at least one of:
an access AS layer sends a first notification message to a non-access NAS layer, and the first notification message is used for indicating the NAS layer to send a reason value of a message 3 of the four-step random access to an RRC layer;
the NAS layer sends a reason value of a message 3 of the four-step random access to an RRC layer;
the radio frequency unit 801 is further configured to:
sending a first RRC message, wherein the first RRC message is as follows: and reconstructing the RRC message according to the second notification message sent by the media access control MAC layer, or the buffered RRC message.
Optionally, the processor 810 is further configured to:
in the process of executing a random access process by adopting target random access, acquiring first data content according to the size of the acquired sending resource for sending a first message of the target random access;
the radio frequency unit 801 is further configured to:
transmitting the first message through the first data content;
the target random access is two-step random access, and the first message is a message 1; the target random access is four-step random access, and the first message is a message 3.
Optionally, the processor 810 is further configured to:
under the condition that the size of the sending resource of the two-step random access is the same as that of the sending resource of the first message for sending the target random access, extracting the first data content from the cache position of the two-step random access; alternatively, the first and second electrodes may be,
and under the condition that the size of the sending resource of the two-step random access is different from the size of the sending resource of the first message for sending the target random access, regenerating the first data content according to the obtained size of the sending resource of the first message for sending the target random access.
Optionally, the two-step random access is triggered by small data transmission, and the target random access is four-step random access;
optionally, the processor 810 is further configured to:
regenerating a small data packet and/or a Radio Resource Control (RRC) message to be transmitted;
the radio frequency unit 801 is further configured to: and after the target random access is successful, sending the small data packet and/or the RRC message.
It should be noted that, in this embodiment, the terminal 800 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal 800 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal 800 or may be used to transmit data between the terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the foregoing embodiment of the random access method, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing embodiment of the random access method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (22)

1. A random access method applied to a terminal is characterized by comprising the following steps:
in the process of executing the random access process by adopting the two-step random access, if the two-step random access fails, the target random access is adopted to execute the random access process, and the target random access comprises two-step random access or four-step random access.
2. The method of claim 1, wherein the performing the random access procedure with the target random access comprises:
executing a random access process by adopting target random access according to the first parameter;
the first parameter comprises at least one of: the amount of data to be transmitted; a quality of service requirement; a data volume or delay requirement threshold; the channel quality.
3. The method of claim 1, the performing a random access procedure with a target random access, comprising:
re-initiating two-step random access to execute a random access process; alternatively, the first and second electrodes may be,
re-initiating the four-step random access execution random access process; alternatively, the first and second electrodes may be,
and the random access process is executed by adopting four-step random access.
4. The method of claim 3, wherein the switching to performing the random access procedure using four-step random access comprises:
under the condition of meeting the preset condition, the method is converted into a method adopting four-step random access to execute a random access process;
the meeting of the preset condition comprises at least one of the following:
a competition resolving identification corresponding to a random access preamble identification is not received, wherein the random access preamble identification is a random access preamble identification corresponding to a preamble in the two-step random access message 1;
connection establishment information corresponding to the random access preamble identification is not received;
receiving no random access preamble identification;
uplink authorization information corresponding to the random access preamble identification is not received;
acquiring predefined uplink authorization information;
a predetermined error condition is detected.
5. The method of claim 3, wherein after the switching to the random access procedure with four-step random access, further comprising:
sending the message 3 of the four-step random access according to the target uplink authorization information;
wherein the target uplink authorization information is: the uplink authorization information corresponding to the preamble in the two-step random access message 1, or the uplink authorization information corresponding to the contention resolution identifier in the two-step random access message 2, or the predefined uplink authorization information.
6. The method according to claim 5, wherein before sending the message 3 of the four-step random access according to the target uplink grant information, the method further comprises:
calculating a Timing Advance (TA) according to a second parameter, the second parameter comprising at least one of:
the terminal identifier in the two-step random access message 1 corresponds to a Physical Uplink Shared Channel (PUSCH) resource; a preamble channel or a preamble resource in the message 1; the corresponding relation between the PUSCH resource and the preamble resource;
the sending the message 3 of the four-step random access according to the target uplink authorization information comprises the following steps:
and sending the message 3 of the four-step random access according to the target uplink authorization information and the TA.
7. The method of claim 1, wherein the target random access is four-step random access; after the random access process is executed by adopting the target random access, at least one of the following steps is also included:
an access AS layer sends a first notification message to a non-access NAS layer, and the first notification message is used for indicating the NAS layer to send a reason value of a message 3 of the four-step random access to an RRC layer;
the NAS layer sends a reason value of a message 3 of the four-step random access to an RRC layer;
sending a first RRC message, wherein the first RRC message is as follows: and reconstructing the RRC message according to the second notification message sent by the media access control MAC layer, or the buffered RRC message.
8. The method of claim 1, wherein after the performing the random access procedure using the target random access, further comprising:
in the process of executing a random access process by adopting target random access, acquiring first data content according to the size of the acquired sending resource for sending a first message of the target random access, and sending the first message through the first data content;
the target random access is two-step random access, and the first message is a message 1; the target random access is four-step random access, and the first message is a message 3.
9. The method of claim 8, wherein the obtaining the first data content according to the obtained transmission resource size of the first message for transmitting the target random access comprises:
under the condition that the size of the sending resource of the two-step random access is the same as that of the sending resource of the first message for sending the target random access, extracting the first data content from the cache position of the two-step random access; alternatively, the first and second electrodes may be,
and under the condition that the size of the sending resource of the two-step random access is different from the size of the sending resource of the first message for sending the target random access, regenerating the first data content according to the obtained size of the sending resource of the first message for sending the target random access.
10. The method of claim 1, wherein the two-step random access is triggered by a small data transmission, and wherein the target random access is a four-step random access;
after the random access procedure is executed by adopting the target random access, the method further comprises the following steps:
and regenerating a small data packet and/or a Radio Resource Control (RRC) message to be transmitted, and sending the small data packet and/or the RRC message after the target random access is successful.
11. A terminal, comprising:
and the execution module is used for executing the random access process by adopting the two-step random access if the two-step random access fails, and the target random access comprises the two-step random access or the four-step random access.
12. The terminal according to claim 11, wherein the execution module is specifically configured to: in the process of executing the random access process by adopting two-step random access, if the two-step random access fails, executing the random access process by adopting target random access according to a first parameter;
the first parameter comprises at least one of: the amount of data to be transmitted; a quality of service requirement; a data volume or delay requirement threshold; the channel quality.
13. The terminal of claim 11, wherein the execution module is specifically configured to: in the process of executing the random access process by adopting two-step random access, if the two-step random access fails, the following operations are executed according to a first parameter:
re-initiating two-step random access to execute a random access process; alternatively, the first and second electrodes may be,
re-initiating the four-step random access execution random access process; alternatively, the first and second electrodes may be,
and the random access process is executed by adopting four-step random access.
14. The terminal according to claim 13, wherein the execution module is specifically configured to: in the process of executing the random access process by adopting two-step random access, if the two-step random access fails, the process is switched to execute the random access process by adopting four-step random access according to the first parameter under the condition of meeting the preset condition;
the meeting of the preset condition comprises at least one of the following:
a competition resolving identification corresponding to a random access preamble identification is not received, wherein the random access preamble identification is a random access preamble identification corresponding to a preamble in the two-step random access message 1;
connection establishment information corresponding to the random access preamble identification is not received;
receiving no random access preamble identification;
uplink authorization information corresponding to the random access preamble identification is not received;
acquiring predefined uplink authorization information;
a predetermined error condition is detected.
15. The terminal of claim 13, further comprising:
the first sending module is used for sending a message 3 of the four-step random access according to the target uplink authorization information after the process of executing the random access process by adopting the four-step random access is converted;
wherein the target uplink authorization information is: the uplink authorization information corresponding to the preamble in the two-step random access message 1, or the uplink authorization information corresponding to the contention resolution identifier in the two-step random access message 2, or the predefined uplink authorization information.
16. The terminal of claim 15, further comprising:
a calculating module, configured to calculate, according to a second parameter before sending the message 3 of the four-step random access according to the target uplink grant information, a time advance TA, where the second parameter includes at least one of the following:
the terminal identifier in the two-step random access message 1 corresponds to a Physical Uplink Shared Channel (PUSCH) resource; a preamble channel or a preamble resource in the message 1; the corresponding relation between the PUSCH resource and the preamble resource;
the first sending module is specifically configured to:
and sending the message 3 of the four-step random access according to the target uplink authorization information and the TA.
17. The terminal of claim 13, further comprising at least one of:
a second sending module, configured to send, by an access AS layer, a first notification message to a non-access NAS layer after a random access procedure is executed by using a target random access, and to instruct the NAS layer to send a cause value of the message 3 of the four-step random access to an RRC layer;
a third sending module, configured to send, to the RRC layer, a cause value of the message 3 of the four-step random access after a random access procedure is executed by using a target random access;
a fourth sending module, configured to send a first RRC message after executing a random access procedure by using a target random access, where the first RRC message is: and reconstructing the RRC message according to the second notification message sent by the media access control MAC layer, or the buffered RRC message.
18. The terminal of claim 11, further comprising:
a fourth sending module, configured to, after executing a random access procedure by using a target random access, obtain a first data content according to an obtained sending resource size of a first message for sending the target random access in a process of executing the random access procedure by using the target random access, and send the first message through the first data content;
the target random access is two-step random access, and the first message is a message 1; the target random access is four-step random access, and the first message is a message 3.
19. The terminal of claim 18, wherein the fourth sending module comprises:
an extracting unit, configured to extract the first data content from the cache location of the two-step random access if the size of the transmission resource of the two-step random access is the same as the size of the transmission resource of the first message used for transmitting the target random access; alternatively, the first and second electrodes may be,
and a generating unit, configured to, in a case that the size of the transmission resource for the two-step random access is different from the size of the transmission resource for transmitting the first message of the target random access, regenerate the first data content according to the acquired size of the transmission resource for transmitting the first message of the target random access.
20. The terminal of claim 11, wherein the two-step random access is triggered by a small data transmission;
the terminal further comprises:
the generation module is used for regenerating a small data packet and/or a Radio Resource Control (RRC) message to be transmitted after the random access process is executed by adopting the target random access, and sending the small data packet and/or the RRC message after the target random access is successful.
21. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, realizes the steps of the random access method according to any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the random access method according to any one of claims 1 to 10.
CN201811090108.9A 2018-09-18 2018-09-18 Random access method, terminal and computer readable storage medium Active CN110913499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811090108.9A CN110913499B (en) 2018-09-18 2018-09-18 Random access method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811090108.9A CN110913499B (en) 2018-09-18 2018-09-18 Random access method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110913499A true CN110913499A (en) 2020-03-24
CN110913499B CN110913499B (en) 2022-07-15

Family

ID=69812986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811090108.9A Active CN110913499B (en) 2018-09-18 2018-09-18 Random access method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110913499B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021197109A1 (en) * 2020-03-31 2021-10-07 华为技术有限公司 Communication method and communication apparatus
WO2021237479A1 (en) * 2020-05-26 2021-12-02 深圳传音控股股份有限公司 Data transmission method and device, and computer-readable storage medium
WO2022001893A1 (en) * 2020-06-28 2022-01-06 华为技术有限公司 Method and apparatus for determining data transmission mode
WO2022022444A1 (en) * 2020-07-30 2022-02-03 夏普株式会社 Method executed by user equipment, and user equipment
WO2022028473A1 (en) * 2020-08-06 2022-02-10 维沃移动通信有限公司 Data transmission type configuration method and terminal
CN114205920A (en) * 2020-09-17 2022-03-18 华硕电脑股份有限公司 Method and apparatus for small data transfer procedure in wireless communication system
WO2022116093A1 (en) * 2020-12-03 2022-06-09 Oppo广东移动通信有限公司 Wireless communication methods and devices
WO2022204890A1 (en) * 2021-03-29 2022-10-06 Oppo广东移动通信有限公司 Random access resource selection method, terminal device and network device
WO2023044863A1 (en) * 2021-09-26 2023-03-30 北京小米移动软件有限公司 Random access method, random access apparatus, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047586A (en) * 2008-08-11 2011-05-04 Lg电子株式会社 Data transmission method and user equipment for the same
CN106413117A (en) * 2015-07-29 2017-02-15 索尼公司 Wireless communication system, and apparatus and method for base station side and user equipment side
CN108271275A (en) * 2017-01-04 2018-07-10 电信科学技术研究院 A kind of method and apparatus for competing random access
CN108282899A (en) * 2017-01-05 2018-07-13 电信科学技术研究院 Two step competitive random access methods of one kind and device
CN108282901A (en) * 2017-01-06 2018-07-13 电信科学技术研究院 A kind of random access response method and apparatus
CN108282897A (en) * 2017-01-06 2018-07-13 电信科学技术研究院 A kind of random access feedback, processing method, base station and terminal
CN108282816A (en) * 2017-01-05 2018-07-13 中兴通讯股份有限公司 A kind of cut-in method and access device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047586A (en) * 2008-08-11 2011-05-04 Lg电子株式会社 Data transmission method and user equipment for the same
CN106413117A (en) * 2015-07-29 2017-02-15 索尼公司 Wireless communication system, and apparatus and method for base station side and user equipment side
CN108271275A (en) * 2017-01-04 2018-07-10 电信科学技术研究院 A kind of method and apparatus for competing random access
CN108282899A (en) * 2017-01-05 2018-07-13 电信科学技术研究院 Two step competitive random access methods of one kind and device
CN108282816A (en) * 2017-01-05 2018-07-13 中兴通讯股份有限公司 A kind of cut-in method and access device
CN108282901A (en) * 2017-01-06 2018-07-13 电信科学技术研究院 A kind of random access response method and apparatus
CN108282897A (en) * 2017-01-06 2018-07-13 电信科学技术研究院 A kind of random access feedback, processing method, base station and terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021197109A1 (en) * 2020-03-31 2021-10-07 华为技术有限公司 Communication method and communication apparatus
WO2021237479A1 (en) * 2020-05-26 2021-12-02 深圳传音控股股份有限公司 Data transmission method and device, and computer-readable storage medium
WO2022001893A1 (en) * 2020-06-28 2022-01-06 华为技术有限公司 Method and apparatus for determining data transmission mode
WO2022022444A1 (en) * 2020-07-30 2022-02-03 夏普株式会社 Method executed by user equipment, and user equipment
WO2022028473A1 (en) * 2020-08-06 2022-02-10 维沃移动通信有限公司 Data transmission type configuration method and terminal
CN114205920A (en) * 2020-09-17 2022-03-18 华硕电脑股份有限公司 Method and apparatus for small data transfer procedure in wireless communication system
CN114205920B (en) * 2020-09-17 2023-12-08 华硕电脑股份有限公司 Method and apparatus for small data transfer procedure in wireless communication system
WO2022116093A1 (en) * 2020-12-03 2022-06-09 Oppo广东移动通信有限公司 Wireless communication methods and devices
WO2022204890A1 (en) * 2021-03-29 2022-10-06 Oppo广东移动通信有限公司 Random access resource selection method, terminal device and network device
WO2023044863A1 (en) * 2021-09-26 2023-03-30 北京小米移动软件有限公司 Random access method, random access apparatus, and storage medium

Also Published As

Publication number Publication date
CN110913499B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
CN110913499B (en) Random access method, terminal and computer readable storage medium
CN111800856B (en) Data transmission method, paging method, terminal, base station and core network equipment
CN111800886B (en) Random access process rollback method, equipment and system
EP3700281A1 (en) Random access method and device, and terminal
CN111836280B (en) Data transmission method and terminal
CN111278153B (en) Random access method and device, and communication equipment
CN110769517B (en) Random access method and related equipment
CN111417214B (en) Random access method, response method, terminal and network equipment
US20210352744A1 (en) Random access method and device
CN110719647B (en) Random access method, terminal and network equipment
CN110035473B (en) System information transmission method and user terminal
CN111263462B (en) Random access method and device
CN111836397B (en) Random access method, terminal and network side equipment
CN110636614A (en) Random access method, terminal and network equipment
CN110913498B (en) Random access method and terminal
CN113677038B (en) Random access processing method and terminal
CN111278032B (en) PUCCH (physical uplink control channel) sending method, receiving method, terminal and network side equipment
CN110831224B (en) Random access method and terminal equipment
CN111262662B (en) Data sending method and terminal
CN112788772A (en) Method for confirming beam failure recovery, terminal device and storage medium

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