Fallback for a random access procedure

The MAC layer in terminal devices detects transmission failures and coordinates with the RRC layer to manage fallback procedures, addressing inefficiencies in random access by ensuring data continuity and network reconnection.

WO2026232478A1PCT designated stage Publication Date: 2026-11-12NOKIA SOLUTIONS (SHANGHAI) CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/093752
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

Existing communication systems face challenges in efficiently handling transmission failures during random access procedures, particularly in scenarios where contention-based Msg3 transmission fails, leading to inefficiencies and data loss due to unclear fallback mechanisms.

Method used

Implementing a terminal device with a medium access control (MAC) layer that detects transmission failures and sends appropriate indications to the radio resource control (RRC) layer, allowing for controlled fallback procedures, including generating and transmitting new messages based on stored buffer data or fallback information to ensure successful network access.

Benefits of technology

Enhances the reliability and efficiency of random access procedures by reducing data loss and enabling seamless fallback to alternative access methods, thereby improving communication network performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025093752_12112026_PF_FP_ABST
    Figure CN2025093752_12112026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to fallback for a random access procedure. A terminal device determines, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure. The terminal device sends an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device. The terminal device sends fallback information associated with the random access procedure from the RRC layer to the MAC layer. The terminal device transmits, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: the fallback information, or a buffer associated with the first message.
Need to check novelty before this filing date? Find Prior Art

Description

FALLBACK FOR A RANDOM ACCESS PROCEDUREFIELD

[0001] Various example embodiments relate to the field of communication and in particular, to apparatuses, methods, and a computer readable medium for fallback for a random access procedure.BACKGROUND

[0002] A communication network can be seen as a facility that enables communications between two or more communication devices, or provides communication devices access to a data network. A mobile or wireless communication network is one example of a communication network.

[0003] Such communication networks operate in accordance with standards, such as those promulgated by Third Generation Partnership Project (3GPP) or European Telecommunications Standards Institute (ETSI) . Examples of such standards include the so-called 5th generation (5G) standard, 6th generation (6G) or other standards promulgated by 3GPP.SUMMARY

[0004] In general, example embodiments of the present disclosure provide a solution for fallback for a random access procedure.

[0005] In a first aspect, there is provided a terminal device. The terminal device comprises at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the terminal device at least to: determine, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; send an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device; send fallback information associated with the random access procedure from the RRC layer to the MAC layer; and transmit, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: the fallback information, or a buffer associated with the first message.

[0006] In a second aspect, there is provided a terminal device. The terminal device comprises at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the terminal device at least to: determine, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; determine, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; and transmit, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: a buffer associated with the first message; or a second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following: fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, or an indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.

[0007] In a third aspect, there is provided a network device. The network device comprises at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the network device at least to: transmit, to a terminal device, at least one of the following: configurations for a first set of candidate types of a fallback procedure, an indication of enabling a second set of candidate types of a fallback procedure, or priority information of a third set of candidate types of a fallback procedure, wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.

[0008] In a fourth aspect, there is provided a method performed by a terminal device. The method comprises: determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; sending an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device; sending fallback information associated with the random access procedure from the RRC layer to the MAC layer; and transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: the fallback information, or a buffer associated with the first message.

[0009] In a fifth aspect, there is provided a method performed by a terminal device. The method comprises: determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; determining, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; and transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: a buffer associated with the first message; or a second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following: fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, or an indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.

[0010] In a sixth aspect, there is provided a method performed by a network device. The method comprises: transmitting, to a terminal device, at least one of the following: configurations for a first set of candidate types of a fallback procedure, an indication of enabling a second set of candidate types of a fallback procedure, or priority information of a third set of candidate types of a fallback procedure, wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.

[0011] In a seventh aspect, there is provided an apparatus. The apparatus comprising: means for determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; means for sending an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device; means for sending fallback information associated with the random access procedure from the RRC layer to the MAC layer; and means for transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: the fallback information, or a buffer associated with the first message.

[0012] In an eighth aspect, there is provided an apparatus. The apparatus comprising: means for determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; means for determining, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; and means for transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: a buffer associated with the first message; or a second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following: fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, or an indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.

[0013] In a ninth aspect, there is provided an apparatus. The apparatus comprising: means for transmitting, to a terminal device, at least one of the following: configurations for a first set of candidate types of a fallback procedure, an indication of enabling a second set of candidate types of a fallback procedure, or priority information of a third set of candidate types of a fallback procedure, wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.

[0014] In a tenth aspect, there is provided a computer program or a computer readable medium comprising instructions which, when executed by an apparatus, cause the apparatus to perform the method according to any of the fourth to sixth aspects.

[0015] In an eleventh aspect, there is provided a computer program product comprising instructions that, when executed by a processor, perform the method according to any of the fourth to sixth aspects.

[0016] It is to be understood that the summary section is not intended to identify key or essential features of embodiments of the present disclosure, nor is it intended to be used to limit the scope of the present disclosure. Other features of the present disclosure will become easily comprehensible through the following description.BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Some example embodiments will now be described with reference to the accompanying drawings, in which:

[0018] FIG. 1A illustrates an example communication network in which embodiments of the present disclosure may be implemented;

[0019] Fig. 1B illustrates an example implementation of a RRCConnectionResumeRequest-NB message associated with some embodiments of the present disclosure;

[0020] Fig. 1C illustrates an example implementation of a RRCEarlyDataRequest-NB message associated with some embodiments of the present disclosure;

[0021] FIG. 1D illustrates an example signaling chart of a RRC connection establishment procedure for control plane cellular internet of things (CIoT) evolved packet system (EPS) optimisation associated with some embodiments of the present disclosure;

[0022] FIG. 1E illustrates an example signaling chart of a RRC connection resume procedure for user plane CIoT EPS optimisation associated with some embodiments of the present disclosure;

[0023] FIG. 1F illustrates an example signaling chart of a mobile originated early data transmission (MO-EDT) procedure for control plane CIoT EPS optimisation associated with some embodiments of the present disclosure;

[0024] FIG. 1G illustrates an example signaling chart of a MO-EDT procedure for user plane CIoT EPS optimisation associated with some embodiments of the present disclosure;

[0025] FIG. 1H illustrates an example signaling chart of a transmission procedure using preconfigured uplink resource (PUR) for control plane CIoT EPS optimisation associated with some embodiments of the present disclosure;

[0026] FIG. 1I illustrates an example signaling chart of a transmission procedure using PUR for user plane CIoT EPS optimisation associated with some embodiments of the present disclosure;

[0027] FIG. 2A illustrates a signaling chart of a process for fallback for a random access procedure according to some embodiments of the present disclosure;

[0028] FIG. 2B illustrates a signaling chart of another process for fallback for a random access procedure according to some embodiments of the present disclosure;

[0029] FIG. 3A illustrates a block diagram of a process for UE RRC layer triggering a fallback for a random access procedure according to some embodiments of the present disclosure;

[0030] FIG. 3B illustrates a block diagram of a process for UE MAC layer triggering a fallback for a random access procedure according to some embodiments of the present disclosure;

[0031] FIG. 4 illustrates a flowchart of a method implemented at a terminal device according to some embodiments of the present disclosure;

[0032] FIG. 5 illustrates a flowchart of a method implemented at a terminal device according to some embodiments of the present disclosure;

[0033] FIG. 6 illustrates a flowchart of a method implemented at a network device according to some other embodiments of the present disclosure;

[0034] FIG. 7 illustrates a simplified block diagram of an apparatus that is suitable for implementing embodiments of the present disclosure; and

[0035] FIG. 8 illustrates a block diagram of an example computer readable medium in accordance with some embodiments of the present disclosure.

[0036] Throughout the drawings, the same or similar reference numerals represent the same or similar element.DETAILED DESCRIPTION

[0037] Principles of the present disclosure will now be described with reference to some example embodiments. It is to be understood that these embodiments are described only for the purpose of illustration and help those skilled in the art to understand and implement the present disclosure, without suggesting any limitation as to the scope of the disclosure. The disclosure described herein can be implemented in various manners other than the ones described below.

[0038] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skills in the art to which this disclosure belongs.

[0039] References in the present disclosure to “one embodiment, ” “an embodiment, ” “an example embodiment, ” and the like indicate that the embodiment described may include a particular feature, structure, or characteristic, but it is not necessary that every embodiment includes the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.

[0040] It shall be understood that although the terms “first” and “second” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term “and / or” includes any and all combinations of one or more of the listed terms.

[0041] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms “a” , “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” , “comprising” , “has” , “having” , “includes” and / or “including” , when used herein, specify the presence of stated features, elements, and / or components etc., but do not preclude the presence or addition of one or more other features, elements, components and / or combinations thereof. As used herein, “at least one of the following: <a list of two or more elements>” and “at least one of <a list of two or more elements>” and similar wording, where the list of two or more elements are joined by “and” or “or” , mean at least any one of the elements, or at least any two or more of the elements, or at least all the elements. As used herein, the terms “the at least one” and “the one or more” mean “any one of the at least one” and “any one of the one or more” , respectively.

[0042] As used in this application, the term “circuitry” may refer to one or more or all of the following: (a) hardware-only circuit implementations (such as implementations in analog, digital and / or  quantum circuitry) and (b) combinations of hardware circuit (s) and software, such as (as applicable) : (i) a combination of analog, digital and / or quantum hardware circuit (s) with  software / firmware and (ii) any or all portions of hardware processor (s) (including digital and / or quantum  processor (s) ) with software, and memory (ies) that work together to cause an apparatus, such as a mobile device, computing device, or server, to perform various functions) and (c) any or all portions of hardware circuit (s) , such as a microprocessor (s) , processor (s) and / or  quantum processor (s) , that requires software (e.g., firmware) for operation, but the software may not be present when it is not needed for operation.

[0043] This definition of circuitry applies to all uses of this term in this application, including in any claims. As a further example, as used in this application, the term circuitry also covers an implementation of merely a hardware circuit or processor (or multiple processors) or portion of a hardware circuit or processor and its (or their) accompanying software and / or firmware. The term circuitry also covers, for example and if applicable to the particular claim element, a baseband integrated circuit or processor integrated circuit for a mobile device or a similar integrated circuit in server, a cellular network device, or other computing or network device.

[0044] As used herein, the term “communication network” refers to a network following any suitable communication standards, such as Long Term Evolution (LTE) , LTE-Advanced (LTE-A) , Wideband Code Division Multiple Access (WCDMA) , High-Speed Packet Access (HSPA) , Narrow Band Internet of Things (NB-IoT) , enhanced Machine Type Communication (eMTC) and so on. Furthermore, the communications between a terminal device and a network device in the communication network may be performed according to any suitable generation communication protocols, including, but not limited to, the first generation (1G) , the second generation (2G) , 2.5G, 2.75G, the third generation (3G) , the fourth generation (4G) , 4.5G, the fifth generation (5G) , the future sixth generation (6G) communication protocols, and / or any other protocols either currently known or to be developed in the future. Embodiments of the present disclosure may be applied in various communication systems. Given the rapid development in communications, there will of course also be future type communication technologies and systems with which the present disclosure may be embodied. It should not be seen as limiting the scope of the present disclosure to only the aforementioned system.

[0045] As used herein, the term “network device” refers to a node in a communication network via which a terminal device accesses the network and receives services therefrom. The network device may refer to a base station (BS) or an access point (AP) , for example, a node B (NodeB or NB) , an evolved NodeB (eNodeB or eNB) , a NR NB (also referred to as a gNB) , a Remote Radio Unit (RRU) , a radio header (RH) , a remote radio head (RRH) , a relay, a low power node such as a femto, a pico, and so forth, depending on the applied terminology and technology.

[0046] The term “terminal device” refers to any end device that may be capable of wireless communication. By way of example rather than limitation, a terminal device may also be referred to as a communication device, user equipment (UE) , a Subscriber Station (SS) , a Portable Subscriber Station, a Mobile Station (MS) , or an Access Terminal (AT) . The terminal device may include, but not limited to, a mobile phone, a cellular phone, a smart phone, voice over IP (VoIP) phones, wireless local loop phones, a tablet, a wearable terminal device, a personal digital assistant (PDA) , portable computers, desktop computer, image capture terminal devices such as digital cameras, gaming terminal devices, music storage and playback appliances, vehicle-mounted wireless terminal devices, wireless endpoints, mobile stations, laptop-embedded equipment (LEE) , laptop-mounted equipment (LME) , USB dongles, smart devices, wireless customer-premises equipment (CPE) , an Internet of Things (loT) device, a watch or other wearable, a head-mounted display (HMD) , a vehicle, a drone, a medical device and applications (e.g., remote surgery) , an industrial device and applications (e.g., a robot and / or other wireless devices operating in an industrial and / or an automated processing chain contexts) , a consumer electronics device, a device operating on commercial and / or industrial wireless networks, and the like. In the following description, the terms “terminal device” , “communication device” , “terminal” , “user equipment” and “UE” may be used interchangeably.

[0047] Principle and embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Reference is first made to FIG. 1A, which illustrates an example communication system 100 in which embodiments of the present disclosure may be implemented. The system 100, which may be a part of a communication network, comprises a terminal device 110 and a network device. The network device 120 may be a gNB, or a NetWork (NW) or a TRP, which schedules a first bandwidth part (BWP) or a first cell 130. The terminal device 110 is capable of connecting and communicating in an UL or DL with the network device 120 as long as the terminal device 110 is located within the corresponding cells (e.g., the first cell 130) of the network device 120.

[0048] In communication systems, an UL refers to a link in a direction from a terminal device 110 to a network device 120, and a DL refers to a link in a direction from the network device 120 to the terminal device 110. The network device 120 may transmit scheduling information scheduling an uplink transmission to the terminal device 110, and the terminal device 110 may transmit an uplink transmission or a plurality of repetitions of the uplink transmission to the network device 120.

[0049] Communications in the communication system 100 may be implemented according to any proper communication protocol (s) , comprising, but not limited to, cellular communication protocols of the first generation (1G) , the second generation (2G) , the third generation (3G) , the fourth generation (4G) , the fifth generation (5G) and the sixth generation (6G) and on the like, wireless local network communication protocols such as Institute for Electrical and Electronics Engineers (IEEE) 802.11 and the like, and / or any other protocols currently known or to be developed in the future. Moreover, the communication may utilize any proper wireless communication technology, comprising but not limited to: Code Division Multiple Access (CDMA) , Frequency Division Multiple Access (FDMA) , Time Division Multiple Access (TDMA) , Frequency Division Duplex (FDD) , Time Division Duplex (TDD) , Multiple-Input Multiple-Output (MIMO) , Orthogonal Frequency Division Multiple (OFDM) , Discrete Fourier Transform spread OFDM (DFT-s-OFDM) and / or any other technologies currently known or to be developed in the future.

[0050] It is to be understood that the numbers of devices (i.e., the terminal device 110 and the network device 120) and their connection relationships and types shown in FIG. 1A are only for the purpose of illustration without suggesting any limitation. For example, the communication system 100 may include any suitable numbers of devices adapted for implementing embodiments of the present disclosure. For example, while FIG. 1A depicts the terminal device 110 as a mobile phone, the terminal device 110 may be any types of user equipment.

[0051] In communication networks where Internet of Things (IoT) non-terrestrial network (NTN) is supported, it is proposed to support Msg3 transmission without msg1 / Random Access Response (RAR) so as to reduce the necessary uplink and downlink signaling to complete an EDT transaction. The Msg3 transmission without msg1 / Random Access Response (RAR) may be referred to a contention-based Msg3 (CB-Msg3) .

[0052] For the enhanced EDT, to support the use of CB Msg3 (i.e., the Msg3 transmission without msg1 / RAR) and the efficient delivery of Msg4, it is proposed that CB-msg3 EDT cell specific PUSCH resources may be associated with the number of repetitions, RSRP selection threshold to determine the coverage enhancement (CE) level, and largest transport block size (TBS) for Msg3 transmission. Enhancements are needed regarding the scenario where there is an RSRP threshold that determines whether CB-msg3 EDT cannot be used. For example, if the CB-msg3 EDT cannot be used, the UE will have to use e.g., a legacy (4-step) Random Access (RA) procedure.

[0053] In some implementations, at least the following may be part of the shared resources configuration for CB-msg3: time domain resources for (N) PUSCH occasions: periodicity and start time (e.g., start subframe, start SFN) , frequency domain resources for (N) PUSCH occasions, repetition number, (N) PDCCH resource, MCS.

[0054] For CB-msg3 transmission, for eMTC NTN, up to three separate RSRP thresholds (on top of the minimum RSRP threshold and possibly different from the thresholds for PRACH) can be supported for achieving at most 4 CE levels; for NB-IoT NTN, up to two separate RSRP thresholds (on top of the minimum RSRP threshold possibly different from the thresholds for PRACH) can be supported for achieving at most 3 CE levels.

[0055] The CB EDT configuration has one minimum RSRP threshold (as agreed in RAN2#128) to use CB EDT. The CB EDT configuration has two RSRP thresholds for NB-IoT for the three CE levels. The CB EDT configuration has three RSRP thresholds for eMTC for the four CE levels.

[0056] In some implementations, the PUR configuration and the NPRACH configuration for shared (N)PUSCH configuration can be used and some of the parameters can be included in a new CB EDT configuration.

[0057] For eMTC, a new IE (e.g., CB-Msg3-ConfigSIB-r19) for shared resources configuration of CB-Msg3 may be included in SIB2. For NB-IoT, a new IE (e.g., CB-Msg3-ConfigSIB-NB-r19) for shared resources configuration of CB-Msg3 may be included in SIB2-NB and SIB22-NB for non-anchor carrier. For CB-msg3-EDT, a Single Msg4 monitoring window and Single RNTI may be adopted, and the RNTI may be derived on the transmit resource for the transmission window.

[0058] The lengths of the Msg3 transmission and Msg4 monitoring windows may be configured by the network. For example, in case of k=1, the parameters may be configured in a way to have the same behavior as for normal RA procedure.

[0059] The Msg4 monitoring may start at the end of CB-Msg3-EDT transmission window plus UE-eNB RTT (and optionally NW / UE processing time, if needed) . In some implementations, based on NW configuration, the Msg4 monitoring window may start in the subframe containing the last (N) PUSCH repetition of the first replica plus UE-eNB RTT (and optionally NW / UE processing time, if needed) .

[0060] The CB-msg3-EDT configuration (e.g., number of replicas, number of time resources and number of frequency resources) may be CE level specific. The Msg4 monitoring window configuration (e.g., length) mat be CE level specific. One CB-Msg4 may target multiple UEs simultaneously.

[0061] It is proposed that existing UP-EDT and CP-EDT RRC message procedures may be applicable for CB-Msg3-EDT. For UP solution, after RRCConnectionResumeRequest (provided in Msg3) , the network may reply with RRCConnectionResume, RRCConnectionSetup, RRCConnectionRelease and RRCConnectionReject. For CP solution, after RRCEarlyDataRequest (provided in Msg3) , the network can respond with RRCEarlyDataComplete, RRCConnectionSetup or RRCConnectionReject.

[0062] For CB-Msg3 transmission (i.e., direct Msg3 transmission without Msg1 / Msg2) , multiple UEs may send Msg3 to network on the same / shared PUSCH signaled by SIB. The CB-Msg3 will reuse the legacy mechanism, such as (1) per CE level resource configuration and RSRP-based initial CE level determination, (2) TBS threshold-based CB-Msg3 triggering, and (3) the Msg4 monitoring window to address whether the UE wins the contention resolution (CR) and access to NW successfully.

[0063] Specifically, the messages in the existing UP-EDT and CP-EDT procedures may be reused for CB-Msg3 EDT procedure. That is, for UP solution, the UE will send RRCConnectionResumeRequest within the CB-Msg3; for CP solution, the UE will send RRCEarlyDataRequest within the CB-Msg3.

[0064] As defined in 3GPP TS 36.331, the RRCConnectionResumeRequest-NB message is used to request the resumption of a suspended RRC connection or to perform UP-EDT. Signalling radio bearer of the RRCConnectionResumeRequest-NB message is SRB0. RLC-SAP of the RRCConnectionResumeRequest-NB message is TM. Logical channel of the RRCConnectionResumeRequest-NB message is CCCH. Transmission direction of the RRCConnectionResumeRequest-NB message is from UE to E-UTRAN. Fig. 1B illustrates an example implementation of a RRCConnectionResumeRequest-NB message associated with some embodiments of the present disclosure. Table 1 illustrates the field descriptions of a RRCConnectionResumeRequest-NB message. Table 1

[0065] As defined in 3GPP TS 36.331, the RRCEarlyDataRequest-NB message is used to initiate CP-EDT. Signalling radio bearer of the RRCEarlyDataRequest-NB message is SRB0. RLC-SAP of the RRCEarlyDataRequest-NB message is TM. Logical channel of the RRCEarlyDataRequest-NB message is CCCH. Transmission direction of the RRCEarlyDataRequest-NB message is UE to E-UTRAN. Fig. 1C illustrates an example implementation of a RRCEarlyDataRequest-NB message associated with some embodiments of the present disclosure. Table 2 illustrates the field descriptions of a RRCEarlyDataRequest-NB message. Table 2

[0066] Furthermore, if the UE cannot access NW successfully via CB-Msg3 (e.g., if the number of CR failures reached a threshold) , the UE can fall back to a legacy (4-step) RA procedure, EDT or even PUR procedure to try another attempt to access the NW. FIGs. 1 D-1I illustrate some examples of candidate procedures for the fallback of CB-Msg3 transmission. A UE may determine CR failure in case the Msg4 does not include the CR ID MAC CE matching the UE’s CCCH SDU (transmitted in CB-Msg3) . The UE may determine a CB-Msg3 failure if the number of times that no Msg4 is received or there is no CR ID of the UE in the received Msg4 reached a threshold number or if no Msg4 is received within the Msg4 monitoring window. The terms “CB-Msg3 failure” and “CB-Msg3 transmission failure” may be interchangeably used.

[0067] FIG. 1D illustrates an example signaling chart of a RRC connection establishment procedure 141 for control plane CIoT EPS optimisation associated with some embodiments of the present disclosure. The process 141 as defined in Figure 7.3a. 2-1 of 3GPP TS 36.300 is an example of a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution. In the process 141, the UE sends a Random Access Preamble in Msg1 to the network. The network responds with a Random Access Response (RAR) in Msg2, allocating Temporary a Cell Radio Network Temporary Identifier (TC-RNTI) and providing scheduling information for Msg3. The UE sends an RRC Connection Request in Msg3 using the dedicated resources assigned by the network in Msg2. The network sends an RRC Connection Setup message in Msg4 to the UE, completing the establishment of the connection. A UL NAS signalling message or UL NAS message carrying data can be transmitted in a UL RRC container message in a RRC Connection Setup Complete message.

[0068] FIG. 1E illustrates an example signaling chart of a RRC connection resume procedure 142 for user plane CIoT EPS optimisation associated with some embodiments of the present disclosure. The process 142 as defined in Figure 7.3a. 3-2 of 3GPP TS 36.300 is an example of a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution. In the process 142, e.g., when the UE is being paged or when new data arrives in the uplink buffer, the UE resumes the connection by sending an RRCConnectionResumeRequest to the (ng-) eNB in Msg3 using the dedicated resources assigned by the network in Msg2. The UE includes its Resume ID (for EPS) or I-RNTI (for 5GS) , the establishment cause, and authentication token.

[0069] FIG. 1F illustrates an example signaling chart of a MO-EDT procedure 143 for control plane CIoT EPS optimisation associated with some embodiments of the present disclosure. The process 143 as defined in Figure 7.3b-1 of 3GPP TS 36.300 is an example of a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution. In the process 143, UE sends RRCEarlyDataRequest message concatenating the user data on CCCH. In other words, uplink user data are transmitted, in Msg3 using the dedicated resources assigned by the network in Msg2, in a NAS message concatenated in UL RRCEarlyDataRequest message on CCCH.

[0070] FIG. 1G illustrates an example signaling chart of a MO-EDT procedure 144 for user plane CIoT EPS optimisation associated with some embodiments of the present disclosure. The process 144 as defined in Figure 7.3b-2 of 3GPP TS 36.300 is an example of a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution. In the process 144, UE sends an RRCConnectionResumeRequest to the eNB, including its Resume ID, the establishment cause, and an authentication token. In other words, uplink user data are transmitted, in Msg3 using the dedicated resources assigned by the network in Msg2, on DTCH multiplexed with UL RRCConnectionResumeRequest message on CCCH.

[0071] FIG. 1H illustrates an example signaling chart of a transmission procedure 145 using PUR for control plane CIoT EPS optimisation associated with some embodiments of the present disclosure. The process 145 as defined in Figure 7.3d-2 of 3GPP TS 36.300 is an example of a procedure using PUR via a CP solution. In the process 145, UE sends RRCEarlyDataRequest message concatenating the user data on CCCH over the PUR resource. In other words, uplink user data are transmitted using the PUR resource in a NAS message concatenated in RRCEarlyDataRequest message on CCCH. For simplicity, the RRCEarlyDataRequest message may be referred to as Msg3 in the procedure using PUR via a CP solution.

[0072] FIG. 1I illustrates an example signaling chart of a transmission procedure 146 using PUR for user plane CIoT EPS optimisation associated with some embodiments of the present disclosure. The process 146 as defined in Figure 7.3d-4 of 3GPP TS 36.300 is an example of a procedure using PUR via a UP solution. In the process 146, UE sends an RRCConnectionResumeRequest to the eNB over the PUR resource, including its Resume ID, the establishment cause, and an authentication token. In other words, uplink user data are transmitted, over the PUR resource, on DTCH multiplexed with UL RRCConnectionResumeRequest message on CCCH. For simplicity, the RRCConnectionResumeRequest message may be referred to as Msg3 in the procedure using PUR via a UP solution.

[0073] Other fallback procedures are also possible, e.g., a 2-step random access procedure for RRC connection establishment, or other RA procedures in future releases or generations.

[0074] For example, if the CB-Msg3 procedure cannot succeed (e.g., due to CR failure) , UE can initiate the legacy 4-step RA procedure. Or when the network find that the Msg3 cannot be decoded due to the bad timing alignment, network can indicate to the corresponding UEs to stop current procedure, and initiate legacy 4-step RA instead. A new MAC CE in Msg4 can be introduced for this. In some examples, UE can initiate the legacy 4-step RA when the CB-Msg3 procedure fails. In some examples, a fallback MAC CE in Msg4 may be introduced to indicate the corresponding UEs to stop current CB-Msg3 and initiate legacy 4-step RA. In some examples, UE can initiate the legacy 4-step RA when the CB-Msg3 procedure fails.

[0075] If the UE falls back to a legacy 4-step RA procedure when the CB-Msg3 procedure fails, the UE may initiate 4-step RA procedure for RRC connection establishment via CP or UP solution (Option1, e.g., the processes 141 and 142 in FIGs. 1D and 1E) . For Option1, the RRC message in Msg3 is RRCConnectionRequest (CP, e.g., in the process 141 in FIG. 1 D) or RRCConnectionResumeRequest (UP, e.g., in the process 142 in FIG. 1 E) , as indicated in 3GPP TS36.300.

[0076] Alternatively, if the UE falls back to legacy 4-step RA procedure, the UE may initiate 4-step RA procedure with MO-EDT via CP or UP solution (Option2, e.g., the processes 143 and 144 in FIGs. 1 F and 1G) . For Option2, the RRC message in Msg3 is RRCEarlyDataRequest (CP, e.g., in the process 143 in FIG. 1F) or RRCConnectionResumeRequest (UP, e.g., in the process 144 in FIG. 1G) , as indicated in 3GPP TS36.300.

[0077] For CB-Msg3 transmission, the RRC message to be included in CB-Msg3 is the same as the one defined in existing MO-EDT procedure (i.e., Option2 above) . If the UE falls back from CB-Msg3 procedure to a 4-step RA procedure, the RRC message in Msg3 may be changed in some scenarios and may be not changed in some other scenarios. For example, if the UE falls back from CB-Msg3 procedure to a 4-step RA procedure for RRC connection establishment (i.e., Option1 above) , the RRC message in Msg3 may be changed (e.g., from RRCEarlyDataRequest to RRCConnectionRequest for the CP solution or from RRCConnectionResumeRequest with anr-InfoAvailable to RRCConnectionResumeRequest for UP solution) . On the other hand, if the UE falls back from CB-Msg3 procedure to 4-step RA procedure with MO-EDT (i.e., Option2 above) , the RRC message in Msg3 may not be changed (i.e., it remains RRCEarlyDataRequest for the CP solution) . If the RRC message in Msg3 needs to be changed, the RRC layer may have to rebuild the RRC message.

[0078] Additionally, there is no conclusion whether the UE can fall back from CB-Msg3 procedure to transmission using PUR. If the UE falls back from CB-Msg3 procedure to transmission using PUR, the UE may initiate transmission using PUR via CP or UP solution. For transmission using PUR, the RRC message in Msg3 is RRCEarlyDataRequest (CP, e.g., in the process 145 in FIG. 1 H) or RRCConnectionResumeRequest (UP, e.g., in the process 146 in FIG. 1 I) , as indicated in 3GPP TS36.300.

[0079] If the UE can fall back from CB-Msg3 procedure to transmission using PUR, the RRC message in Msg3 may be changed in some scenarios and may be not changed in some other scenarios. For example, if the RRC message in CB-Msg3 is RRC Connection Resume Request containing a parameter anr-InfoAvailable, the RRC message in Msg3 may be changed (e.g., from RRCConnectionResumeRequest with anr-InfoAvailable to RRCConnectionResumeRequest for the UP solution) . If the RRC message in CB-Msg3 is RRCEarlyDataRequest, the RRC message in Msg3 may not be changed (i.e., it remains RRCEarlyDataRequest for the CP solution) . If the RRC message in Msg3 needs to be changed, the RRC layer may have to rebuild the RRC message.

[0080] In other words, when the UE falls back from CB-Msg3 procedure to (4-step) RA procedure for RRC connection establishment, 4-step RA procedure with MO-EDT or transmission using PUR, compared to the RRC message included in the CB-Msg3, the RRC message to be included in the Msg3 (after fall back) may be changed or may not be changed.

[0081] It is not clear how to model the fallback procedure for CB-Msg3 procedure. In one example aspect, it is not clear whether the failure of CB-Msg3 EDT should be indicated to upper layers to trigger the fallback. In some implementations, the failure of the CB-Msg3 procedure may be indicated to upper layers.

[0082] Regarding the indication from MAC layer to RRC about a failure in the legacy Random Access procedure, as specified in 3GPP TS 36.321, if no Random Access Response or, for NB-IoT UEs, BL UEs or UEs in enhanced coverage for mode B operation, no PDCCH scheduling Random Access Response is received within the RA Response window, or if none of all received Random Access Responses contains a Random Access Preamble identifier corresponding to the transmitted Random Access Preamble, the Random Access Response reception is considered not successful and the MAC entity shall: - if the notification of power ramping suspension has not been received from lower layers: ○ increment PREAMBLE_TRANSMISSION_COUNTER by 1; - if the UE is an NB-IoT UE, a BL UE or a UE in enhanced coverage: ○ if PREAMBLE_TRANSMISSION_COUNTER = preambleTransMax-CE + 1: ■ if the Random Access Preamble is transmitted on the SpCell: ●indicate a Random Access problem to upper layers; ●if NB-IoT: ○ consider the Random Access procedure unsuccessfully completed.

[0083] Regarding the indication from MAC layer to RRC about a failure in the Random Access procedure, as further specified in 3GPP TS 36.321, if the Contention Resolution is considered not successful (in other words considered as failure) the MAC entity shall: flush the HARQ buffer used for transmission of the MAC PDU in the Msg3 buffer; - if the notification of power ramping suspension has not been received from lower layers: ○ increment PREAMBLE_TRANSMISSION_COUNTER by 1; - if the UE is an NB-IoT UE, a BL UE or a UE in enhanced coverage: ○ if PREAMBLE_TRANSMISSION_COUNTER = preambleTransMax-CE + 1: ■ indicate a Random Access problem to upper layers; ■ if NB-IoT: ● consider the Random Access procedure unsuccessfully completed.

[0084] According to some embodiments of the present disclosure, in the fallback procedure for CB-Msg3 failure, whether the RRC layer should be involved for the CB-Msg3 fallback procedure should consider whether the RRC message needs to be re-generated in RRC layer. As used herein, the expressions “build” “rebuild” “generate” and “re-generate” may be used interchangeably.

[0085] In another example aspect, when the UE builds the MAC PDU for CB-Msg3, the MAC PDU for CB-Msg3 includes not only RRC message but also the MAC SDU for UL data transmission (e.g., the dedicatedNASinfo in RRCEarlyDataRequest for CP EDT solution) . If the UE falls back from CB-Msg3 procedure to RRC based 4-step RA procedure, it is not clear, in MAC layer, how to handle the CB-Msg3 MAC SDU with UL data. Obviously, if the MAC layer discards the CB-Msg3 MAC SDU with UL data as in a legacy RACH failure, the UE’s data will be lost in vain.

[0086] According to embodiments of the present disclosure, different solutions are provided on how UE should perform the fallback procedure for CB-Msg3 failure, e.g., from CB-Msg3 procedure to (4-step) RA procedure for RRC connection establishment, (4-step) RA procedure with MO-EDT or transmission using PUR. Correspondingly, solutions are provided on how to handle the MAC SDU (with RRC message and UL data) built for CB-Msg3 transmission in the fallback procedure.

[0087] In some embodiments of the present disclosure, the UE MAC layer may send an indication of the CB-Msg3 transmission failure to the UE RRC layer. The UE MAC layer may keep the buffer associated with the previously failed CB-Msg3 for further transmissions in the subsequent fallback procedure or after the fallback procedure. The UE RRC layer may determine fallback information for the UE MAC layer to generate another Msg3 or a MsgA for a fallback RA procedure. For example, the UE RRC layer may explicitly or implicitly indicate the UE MAC layer whether the to trigger a fallback procedure for the CB-Msg3 transmission failure and whether the RRC message needs to be changed if the fallback procedure is triggered. If the RRC message does not need to be changed, the UE MAC layer may generate another Msg3 or a MsgA for a fallback RA procedure based on a RRC message comprised in a buffer associated with the previously failed CB-Msg3. Alternatively, the UE RRC layer may re-generate a RRC message based on the determination at the UE RRC layer and send the re-generated RRC message to the UE MAC layer. The Msg3 or a MsgA for a fallback RA procedure may be generated based on the re-generated RRC message. In some examples, the Msg3 or a MsgA for a fallback RA procedure may be generated further based on the uplink data comprised in the buffer associated with the previously failed CB-Msg3. The inter-layer actions may be reduced for the fallback of CB-Msg3 transmission failure.

[0088] In some alternative embodiments of the present disclosure, the UE MAC layer may determine whether to trigger a fallback procedure in case of a CB-Msg3 transmission failure. The UE MAC layer may keep the buffer associated with the previously failed CB-Msg3 for further transmissions in the subsequent fallback procedure or after the fallback procedure. If the UE MAC layer determines to trigger a fallback procedure, the UE MAC layer may determine whether the RRC message needs to be changed if the fallback procedure is triggered. If the RRC message does not need to be changed, the UE MAC layer may generate another Msg3 or a MsgA for a fallback RA procedure based on a RRC message comprised in a buffer associated with the previously failed CB-Msg3. Alternatively, the UE RRC layer may re-generate a RRC message based on the indication received from the UE MAC layer and send the re-generated RRC message to the UE MAC layer. The Msg3 or a MsgA for a fallback RA procedure may be generated based on the re-generated RRC message. In some examples, the Msg3 or a MsgA for a fallback RA procedure may be generated further based on the uplink data comprised in the buffer associated with the previously failed CB-Msg3. In this way, the fallback procedure may be triggered by the UE RRC layer. The inter-layer actions may be reduced for the fallback of CB-Msg3 transmission failure.

[0089] Reference is now made to FIG. 2A, which illustrates a signaling chart of a process 200A for fallback for a random access procedure according to an embodiment of the present disclosure. For the purpose of discussion, the process 200A will be described with reference to FIG. 1A. The process 200A may involve the terminal device 110 and the network device 120 as illustrated in FIG. 1A. It would be appreciated that although the process 200A has been described in the communication system 100 of FIG. 1A, this process may be likewise applied to other communication scenarios.

[0090] In the process 200A, the terminal device 110 determines (204) , at a MAC layer of the terminal device 110, a transmission failure of a first message in a random access procedure. The terminal device 110 sends (205) an indication of the transmission failure from the MAC layer to a RRC layer of the terminal device 110. The terminal device 110 sends (206) fallback information associated with the random access procedure from the RRC layer to the MAC layer. The terminal device 110 generates (207) a second message 209 at the MAC layer, and transmits (208) the second message 209 to the network device 120. Accordingly, the network device 120 receives (210) the second message 209 from the terminal device 110.

[0091] It should be understood that the terms “first message” and “second message” are used herein to distinguish from each other and does not refer to Msg1 and Msg2 in a 4-step RA procedure. In some implementations, the first message may be a CB-Msg3. The second message 209 may be a further Msg3 or a message A (MsgA) . For example, the second message may be a Msg3 or a MsgA in a new RA procedure or a fallback procedure of a CB-Msg3 transmission failure. In a more specific example, the second message may be a Msg3 in a 4-step RA procedure or a transmission procedure using PUR or a MsgA in a 2-step RA procedure.

[0092] In some implementations, the terminal device 110 generates (207) , at the MAC layer, the second message 209 based on the fallback information received from the RRC layer. Alternatively or additionally, the terminal device 110 generates (207) , at the MAC layer, the second message 209 based on a buffer associated with the first message. The buffer associated with the first message may be a buffered version of the first message or a buffer containing the first message. In some implementations, the buffer associated with the first message may include the UL data in the first message. Alternatively, the buffer associated with the first message may include the UL data and RRC message in the first message. In a more specific example, the CB-Msg3 HARQ buffer (or CB-Msg3 MAC PDU, or CB-Msg3 buffer, or Msg3 buffer) may include the UL data carried in CB-Msg3. In another specific example, the CB-Msg3 HARQ buffer (or CB-Msg3 MAC PDU, or CB-Msg3 buffer, or Msg3 buffer) may include the UL data and the RRC message (e.g., RRC Connection Resume Request or RRC Early Data Request) in CB-Msg3.

[0093] In some implementations, the terminal device 110 may keep the buffer associated with the first message for further transmissions based on determining the transmission failure of the first message. In a more specific example, the UE MAC layer may store the UL data carried in CB-Msg3 in case of CB-Msg3 transmission failure. In another specific example, the UE MAC layer may store the UL data and the RRC message (e.g., RRC Connection Resume Request or RRC Early Data Request) in CB-Msg3 in case of CB-Msg3 transmission failure. The CB-Msg3 transmission failure may be determined based on absence of CR ID of the UE in Msg4 (i.e., CR failure) or absence of Msg4 in the Msg4 monitoring window.

[0094] In some embodiments, the terminal device 110 may send an indication of a size of the buffer associated with the first message from the MAC layer to the RRC layer. For example, the UE RRC layer may determine the fallback information based on the size of the buffer associated with the first message. In some implementations, the indication of a size of the buffer associated with the first message may include the bit number of UL data in the first message. In some implementations, the indication of a size of the buffer associated with the first message may include the total bit number of UL data and RRC message in the first message.

[0095] In some embodiments, the buffer associated with the first message includes uplink data in the first message. If a fallback procedure for the random access procedure is triggered, the terminal device 110 may include at least a portion of the uplink data in the second message 209 in the fallback procedure. Alternatively or additionally, if a fallback procedure for the random access procedure is triggered, the terminal device 110 may include at least a portion of the uplink data in a subsequent uplink transmission following second message 209 in the fallback procedure. Alternatively or additionally, if a fallback procedure for the random access procedure is triggered, the terminal device 110 may include at least a portion of the uplink data in an uplink transmission following the fallback procedure.

[0096] In some implementations, the indication of the transmission failure may include an indication that the random access procedure is not completed yet. The UE MAC layer may keep the buffer associated with the first message for further transmissions if the indication that the random access procedure is not completed yet is sent from the UE MAC layer to the UE RRC layer. Based on the indication of the transmission failure, the UE RRC layer may be aware that the ongoing RA procedure is not completed yet and the buffer is maintained by the UE MAC layer, and may handle the ongoing RA procedure differently than a random access problem indication. For example, the UE RRC layer may determine whether to trigger a fallback procedure for the random access procedure. In some examples, if the terminal device 110 determines, at the RRC layer, to trigger a fallback procedure for the random access procedure, the terminal device 110 may include an indication of a fallback triggering in the fallback information.

[0097] In some embodiments, the terminal device 110 may determine, at the RRC layer, a type of a fallback procedure for the random access procedure. In some examples, the fallback information may include an indication of the type of the fallback procedure. In some embodiments, the type of the fallback procedure may include a 2-step random access procedure for RRC connection establishment. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment (e.g., a 4-step RACH procedure for normal NR or LTE devices) . Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment via a CP solution (e.g., a 4-step RACH procedure via a CP solution for NB-IoT / eMTC devices) . Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment via a UP solution (e.g., a 4-step RACH procedure via a UP solution for NB-IoT / eMTC devices) . Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment with MO-EDT via a CP solution. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution. Alternatively, the type of the fallback procedure may include a procedure using PUR via a CP solution. Alternatively, the type of the fallback procedure may include a procedure using PUR via a UP solution. Other types of fallback procedures are also possible.

[0098] In some embodiments, the terminal device 110 may determine, at the RRC layer, whether to generate a second RRC message for the second message 209 in the fallback procedure based on the type of the fallback procedure and a type of a first RRC message previously generated for the first message, wherein the first RRC message is included in the buffer. For example, the terminal device 110 may determine, at the RRC layer, whether to generate a second RRC message for the second message 209 in the fallback procedure based on determining whether the RRC message type in the determined the fallback procedure type is the same as the type of the first RRC message previously generated for the first message. In some implementations, the first RRC message may be a RRC Early Data Request message (with or without an anr-InfoAvailable field) or a RRC Connection Resume Request message. In some implementations, the second RRC message may be a RRC Early Data Request message (with or without an anr-InfoAvailable field) or a RRC Connection Resume Request message or a RRC Connection Request message.

[0099] In an example implementation, if the RRC message type in the determined the fallback procedure type is the same as the type of the first RRC message previously generated for the first message, the terminal device 110 may determine, at the RRC layer, not to generate a second RRC message for the second message 209 in the fallback procedure. No RRC message is carried in the fallback information.

[0100] In another example implementation, if the RRC message type in the determined the fallback procedure type is different from the type of the first RRC message previously generated for the first message, the terminal device 110 may determine, at the RRC layer, to generate a second RRC message for the second message 209 in the fallback procedure. When generating the fallback information, the terminal device 110 may, at the RRC layer, include the second RRC message into the fallback information if the second RRC message is generated.

[0101] In some implementations, the first RRC message (i.e., the RRC message previously generated for the first message and stored in the UE MAC layer) may be a RRC Early Data Request message or a RRC Connection Resume Request message. In some examples, the first RRC message may be a RRC Connection Resume Request message with an anr-InfoAvailable field. In some implementations, the second RRC message may be a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message. In some examples, the second RRC message (i.e., the RRC message to be generated for the determined the fallback procedure) may be a RRC Connection Resume Request message with an anr-InfoAvailable field. In some examples, the second RRC message may be a RRC Connection Resume Request message without an anr-InfoAvailable field, e.g., if the anr-InfoAvailable field is not applicable to the access procedure. If the first RRC message is a RRC Connection Resume Request message with an anr-InfoAvailable field, and the second RRC message is a RRC Connection Resume Request message without an anr-InfoAvailable field, the UE RRC layer may determine to generate the second RRC message.

[0102] In some implementations, when generating the second message 209, in case of absence of a second RRC message in the fallback information, the terminal device 110 may, at the MAC layer, include the first RRC message included in the buffer into the second message 209 in the fallback procedure. In another example implementation, when generating the second message 209, in case of presence of the second RRC message in the fallback information, the terminal device 110 may, at the MAC layer, include the second RRC message comprised in the fallback information into the second message 209 in the fallback procedure.

[0103] In some embodiments, the terminal device 110 may receive configurations 201 for a first set of candidate types of a fallback procedure from the network device 120. The configurations 201 may be carried in a system information block (SIB) . The first set of candidate types of the fallback procedure may also be referred to as configured candidate types. In some implementations, the first set of candidate types of the fallback procedure may include at least one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a CP solution, a 4-step random access procedure for RRC connection establishment via a UP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using PUR via a CP solution, or a procedure using PUR via a UP solution.

[0104] Alternatively or additionally, the terminal device 110 may receive an indication 202 of enabling a second set of candidate types of a fallback procedure from the network device 120. The second set of candidate types of the fallback procedure may also be referred to as enabled candidate types. In some examples, the second set of candidate types may be included in the first set of candidate types. In some implementations, the second set of candidate types of the fallback procedure may include at least one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a CP solution, a 4-step random access procedure for RRC connection establishment via a UP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using PUR via a CP solution, or a procedure using PUR via a UP solution.

[0105] Alternatively or additionally, the terminal device 110 may receive priority information 203 of a third set of candidate types of a fallback procedure. In some examples, the third set of candidate types may be the first set of candidate types. Alternatively, the third set of candidate types may be the second set of candidate types. The fallback procedure may be associated with the transmission failure of the first message in the random access procedure.

[0106] In some embodiments, the terminal device 110 may determine, at the RRC layer, a type of a fallback procedure for the random access procedure from the first or second or third set of candidate types based on at least one of the following: TBS thresholds for the configured or enabled candidate types, the priority information 203, or a size of a buffer associated with the first message. The TBS thresholds may be included in the configurations 201.

[0107] In some embodiments, if a fallback procedure for the random access procedure fails, the terminal device 110 may discard the buffer associated with the first message, and initiate a further random access procedure. For example, based on determining absence of an indication of fallback triggering in the fallback information, the terminal device 110 may determine, at the MAC layer, that a fallback procedure for the random access procedure is failed. In another example, based on determining absence of a type of a fallback procedure for the random access procedure in the fallback information, the terminal device 110 may determine, at the MAC layer, that a fallback procedure for the random access procedure is failed.

[0108] In some embodiments, if a fallback procedure for the random access procedure fails, and the fallback information includes a second RRC message for the second message 209 in the further random access procedure, when generating the second message 209, the terminal device 110 may, at the MAC layer, include the second RRC message into the second message 209. In some implementations, the second RRC message may be a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message.

[0109] FIG. 2B illustrates a signaling chart of another process 200B for fallback for a random access procedure according to some embodiments of the present disclosure. For the purpose of discussion, the process 200B will be described with reference to FIG. 1A. The process 200B may involve the terminal device 110 and the network device 120. It would be appreciated that although the process 200B has been described in the communication system 100 of FIG. 1A, this process may be likewise applied to other communication scenarios. The steps in the process 200B are provided for exemplary purposes only and should not be construed as limiting the scope of the present invention. The same or similar reference numerals are used to denote the elements or components described in FIG. 2B having the same or similar operations as the elements or components described in FIG. 2A, and detailed description thereof will be omitted.

[0110] In the process 200B, the terminal device 110 determines (204) , at a MAC layer of the terminal device 110, a transmission failure of a first message in a random access procedure. The terminal device 110 determines (215) , at the MAC layer, whether to trigger a fallback procedure for the random access procedure. The terminal device 110 generates (217) a second message 209 at the MAC layer, and transmits (208) the second message 209 to the network device 120. Accordingly, the network device 120 receives (210) the second message 209 from the terminal device 110.

[0111] In some implementations, the first message may be a CB-Msg3. The second message 209 may be a further Msg3 or a message A (MsgA) . For example, the second message may be a Msg3 or a MsgA in a new RA procedure or a fallback procedure of a CB-Msg3 transmission failure. In a more specific example, the second message may be a Msg3 in a 4-step RA procedure or a transmission procedure using PUR or a MsgA in a 2-step RA procedure.

[0112] In some implementations, the terminal device 110 generates (217) , at the MAC layer, the second message 209 based on a buffer associated with the first message. Alternatively or additionally, the terminal device 110 generates (217) , at the MAC layer, the second message 209 based on a second RRC message for the second message 209. For example, the terminal device 110 may determine, at the MAC layer, to trigger a fallback procedure for the random access procedure, and send fallback information associated with the fallback procedure from the MAC layer to the RRC layer of the terminal device 110. The second RRC message for the second message 209 may be generated at the RRC layer based on the fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer. In another example, the terminal device 110 may determine, at the MAC layer, not to trigger a fallback procedure for the random access procedure, and send an indication of initiating a further random access procedure sent from the MAC layer to the RRC layer. The second RRC message for the second message 209 may be generated at the RRC layer based on the indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.

[0113] In some implementations, the fallback information may include an indication of a request for generating the second RRC message for the fallback procedure. Alternatively or additionally, the fallback information may include an indication of a type of the second RRC message associated with a type of the fallback procedure. Alternatively or additionally, the fallback information may include an indication of a type of the fallback procedure.

[0114] In some implementations, the terminal device 110 may keep the buffer associated with the first message for further transmissions based on determining the transmission failure of the first message. In a more specific example, the UE MAC layer may store the UL data carried in CB-Msg3 in case of CB-Msg3 transmission failure. In another specific example, the UE MAC layer may store may include the UL data and the RRC message (e.g., RRC Connection Resume Request or RRC Early Data Request) in CB-Msg3 in case of CB-Msg3 transmission failure.

[0115] In some embodiments, the buffer associated with the first message includes uplink data in the first message. If a fallback procedure for the random access procedure is triggered, the terminal device 110 may include at least a portion of the uplink data in the second message 209 in the fallback procedure. Alternatively or additionally, if a fallback procedure for the random access procedure is triggered, the terminal device 110 may include at least a portion of the uplink data in a subsequent uplink transmission following second message 209 in the fallback procedure. Alternatively or additionally, if a fallback procedure for the random access procedure is triggered, the terminal device 110 may include at least a portion of the uplink data in an uplink transmission following the fallback procedure.

[0116] In some embodiments, the terminal device 110 may receive configurations 201 for a first set of candidate types of a fallback procedure from the network device 120. The configurations 201 may be carried in a system information block (SIB) . The first set of candidate types of the fallback procedure may also be referred to as configured candidate types. In some implementations, the first set of candidate types of the fallback procedure may include at least one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a CP solution, a 4-step random access procedure for RRC connection establishment via a UP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using PUR via a CP solution, or a procedure using PUR via a UP solution.

[0117] Alternatively or additionally, the terminal device 110 may receive an indication 202 of enabling a second set of candidate types of a fallback procedure from the network device 120. The second set of candidate types of the fallback procedure may also be referred to as enabled candidate types. In some examples, the second set of candidate types may be included in the first set of candidate types. In some implementations, the second set of candidate types of the fallback procedure may include at least one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a CP solution, a 4-step random access procedure for RRC connection establishment via a UP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using PUR via a CP solution, or a procedure using PUR via a UP solution.

[0118] Alternatively or additionally, the terminal device 110 may receive priority information 203 of a third set of candidate types of a fallback procedure. In some examples, the third set of candidate types may be the first set of candidate types. Alternatively, the third set of candidate types may be the second set of candidate types. The fallback procedure may be associated with the transmission failure of the first message in the random access procedure.

[0119] In some embodiments, if the terminal device at the MAC layer determines to trigger the fallback procedure, the terminal device 110 may determine, at the MAC layer, a type of the fallback procedure from the first or second or third set of candidate types based on at least one of the following: TBS thresholds for the configured or enabled candidate types, the priority information 203, or a size of a buffer associated with the first message. The TBS thresholds may be included in the configurations 201.

[0120] In some embodiments, if the terminal device at the MAC layer determines to trigger the fallback procedure, the terminal device 110 may determine, at the MAC layer, a type of the fallback procedure; and determine whether generating the second RRC message for the second message 209 in the fallback procedure is required based on the type of the fallback procedure and a type of a first RRC message included in the buffer associated with the first message. The first RRC message was previously generated at the RRC layer for the first message. For example, the terminal device 110 may determine, at the MAC layer, generating the second RRC message for the second message 209 in the fallback procedure is required based on determining whether the RRC message type in the determined the fallback procedure type is the same as the type of the first RRC message included in the buffer associated with the first message.

[0121] In an example implementation, if the RRC message type in the determined the fallback procedure type is the same as the type of the first RRC message included in the buffer associated with the first message, the terminal device 110 may determine, at the MAC layer, that generating the second RRC message for the second message 209 is not required. When generating the second message 209, based on determining that generating the second RRC message for the second message 209 is not required, the terminal device 110 may, at the MAC layer, include the first RRC message included in the buffer associated with the first message into the second message 209 in the fallback procedure.

[0122] In another example implementation, if the RRC message type in the determined the fallback procedure type is different from the type of the first RRC message previously generated for the first message, the terminal device 110 may determine, at the MAC layer, that generating the second RRC message for the second message 209 is required.

[0123] In some implementations, the first RRC message (i.e., the RRC message previously generated for the first message and stored in the UE MAC layer) may be a RRC Early Data Request message or a RRC Connection Resume Request message. In some examples, the first RRC message may be a RRC Connection Resume Request message with an anr-InfoAvailable field. In some implementations, the second RRC message may be a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message. In some examples, the the second RRC message (i.e., the RRC message to be generated for the determined the fallback procedure) may be a RRC Connection Resume Request message with an anr-InfoAvailable field. In some examples, the second RRC message may be a RRC Connection Resume Request message without an anr-InfoAvailable field. If the first RRC message is a RRC Connection Resume Request message with an anr-InfoAvailable field, and the second RRC message is a RRC Connection Resume Request message without an anr-InfoAvailable field, the UE MAC layer may determine that generating the second RRC message for the second message 209 is required.

[0124] Based on determining that generating the second RRC message for the second message 209 is required, the terminal device 110 may send the fallback information associated with the fallback procedure from the MAC layer to the RRC layer, and generate, at the RRC layer, the second RRC message for the second message 209 based on the fallback information associated with the fallback procedure. The terminal device 110 may send the second RRC message for the second message 209 from the RRC layer to the MAC layer. When generating the second message 209, the terminal device 110 may, at the MAC layer, include the second RRC message for the second message 209 into the second message 209 in the fallback procedure. For example, the fallback information associated with the fallback procedure may indicate the type of the second RRC message or the type of the fallback procedure, and the UE RRC layer may generate the second RRC message based on the fallback information.

[0125] In some embodiments, the type of the fallback procedure may include a 2-step random access procedure for RRC connection establishment. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment via a CP solution. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment via a UP solution. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment with MO-EDT via a CP solution. Alternatively, the type of the fallback procedure may include a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution. Alternatively, the type of the fallback procedure may include a procedure using PUR via a CP solution. Alternatively, the type of the fallback procedure may include a procedure using PUR via a UP solution. Other types of fallback procedures are also possible.

[0126] In some embodiments, if the terminal device 110 determines, at the MAC layer, not to trigger the fallback procedure, the terminal device 110 may discard the buffer associated with the first message, and initiate the further random access procedure. The terminal device 110 may send the indication of initiating the further random access procedure from the MAC layer to the RRC layer. The terminal device 110 may generate, at the RRC layer, the second RRC message for the second message 209 based on the indication of initiating the further random access procedure; and send the second RRC message for the second message 209 in the further random access procedure from the RRC layer to the MAC layer. When generating the second message 209, the terminal device 110 may, at the MAC layer, include the second RRC message into the second message 209. In some embodiments, the second RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message.

[0127] FIG. 3A illustrates a block diagram of a process 300A for UE RRC layer triggering a fallback for a random access procedure according to some embodiments of the present disclosure. The steps in the process 300A are provided for exemplary purposes only and should not be construed as limiting the scope of the present invention. The process 300A may be considered as a specific example of the process 200A in FIG. 2A.

[0128] In the process 300A, the network may configure the possible fallback types in SIB (e.g., in the CB-Msg3 configuration) or indicate whether the corresponding fallback feature is enabled. The UE RRC layer may store the possible fallback types (2-step RA procedure, 4-step RA procedure for RRC connection establishment, 4-step RA procedure with MO-EDT or transmission procedure using PUR) . The network may indicate the priority of different fallback types.

[0129] At 301, UE MAC layer determines that a CB-Msg3 transmission failure occurs. At 302, the UE MAC layer indicates the failure to UE RRC layer and keeps CB-Msg3 HARQ buffer (also referred to as CB-Msg3 MAC PDU, or CB-Msg3 buffer or Msg3 buffer) . The UE MAC layer informs UE RRC layer about the CB-Msg3 transmission failure. Such indication means that the ongoing RACH procedure is not completed yet, thus to be handled differently in UE RRC layer than the random access problem indication. The MAC layer should keep the CB-Msg3 HARQ buffer for further transmission after the fallback (instead of discarding / flushing the CB-Msg3 HARQ buffer as in a normal RACH failure procedure) .

[0130] After receiving the indication, the UE RRC layer may determine whether to trigger the fallback procedure. If yes, the UE RRC layer may determine the type of fallback procedure, e.g., 2-step RA procedure, 4-step RA procedure (with or without EDT) or transmission using procedure PUR. The CB-Msg3 failure should not be treated as RACH failure, hence not triggering RRC Re-establishment.

[0131] For example, at 303, the UE RRC layer may determine whether to fallback to a 4-step RA procedure. If yes at 303, at 304, the UE RRC layer may determine whether to rebuild a RRC message for the fallback procedure. The RRC message for the fallback procedure might be different from original RRC message from the stored CB-Msg3 HARQ buffer, e.g., if the procedure switches from EDT to non-EDT. If yes at 304, the UE RRC layer may rebuild the new RRC message for the fallback procedure (e.g., 4-step RA procedure) , and deliver the rebuilt RRC message for the fallback procedure to the UE MAC layer at 305, and trigger the CB-Msg3 fallback in UE MAC layer.

[0132] If no at 304, at 306, the UE RRC layer does not deliver a new RRC message, and the UE MAC layer will use the RRC message from the stored CB-Msg3 HARQ buffer.

[0133] The UE RRC layer may transmit an indication of falling back to a 4-step RA procedure. After receiving the indication of falling back to a 4-step RA procedure, at 307, the UE MAC layer may initiate a 4-step RA procedure. At 308, the UE MAC layer rebuilds the MAC PDU for Msg3 when UL grant is received in RAR of the 4-step RA procedure. The MAC layer may also include the MAC SDU (with UL data) from the obtained CB-Msg3 MAC PDU in the subsequent uplink transmission of the fallback procedure (e.g., Msg3 or following UL transmissions of 4-step RA procedure) . If the UE MAC layer receives the rebuilt RRC message from the UE RRC layer at 305, the UE MAC layer may replace the original RRC message from CB-msg3 with rebuilt RRC message in the Msg3 of the 4-step RA procedure.

[0134] If no at 303, the UE RRC layer may determine to fallback to a transmission procedure using PUR. At 314, the UE RRC layer may determine whether to rebuild a RRC message for the fallback procedure. The RRC message for the fallback procedure might be different from original RRC message from the stored CB-Msg3 HARQ buffer, e.g., if the original RRC message from the stored CB-Msg3 HARQ buffer is a RRCConnectionResumeRequest with anr-InfoAvailable. If yes at 314, the UE RRC layer may rebuild the new RRC message for the fallback procedure (e.g., transmission procedure using PUR) , and deliver the rebuilt RRC message for the fallback procedure to the UE MAC layer at 315, and trigger the CB-Msg3 fallback in UE MAC layer.

[0135] If no at 314, at 306, the UE RRC layer does not deliver a new RRC message, and the UE MAC layer will use the RRC message from the stored CB-Msg3 HARQ buffer.

[0136] The UE RRC layer may transmit an indication of falling back to a transmission procedure using PUR. After receiving the indication of falling back to a transmission procedure using PUR, at 317, the UE MAC layer may initiate a transmission procedure using PUR. At 318, the UE MAC layer rebuilds the MAC PDU for Msg3 using PUR. The MAC layer may also include the MAC SDU (with UL data) from the obtained CB-Msg3 MAC PDU in the subsequent uplink transmission of the fallback procedure (e.g., Msg3 or following UL transmissions of transmission procedure using PUR) . If the UE MAC layer receives the rebuilt RRC message from the UE RRC layer at 315, the UE MAC layer may replace the original RRC message from CB-msg3 with rebuilt RRC message in the Msg3 of the transmission procedure using PUR.

[0137] In some embodiments, before step 303, the UE RRC layer may determine whether to trigger the fallback procedure. If not, the UE RRC layer may generate a RRC message for a new RACH procedure as legacy. If the UE MAC layer receives an RRC message without trigger of fallback, the MAC layer may discard the CB-Msg3 MAC PDU and initiate a new RACH procedure as legacy. In other words, the CB-Msg3 fallback procedure failed and the UE wants to trigger a brand new RACH procedure. The UL data assembled in CB-Msg3 will be lost.

[0138] In the process 300A, UE MAC layer indicates the CB-Msg3 transmission failure to UE RRC layer, and the UE RRC layer triggers the fallback procedure. The UE RRC layer is responsible for determining the triggering or CB-Msg3 fallback based on receiving an indication of CB-Msg3 transmission failure from the UE MAC layer.

[0139] FIG. 3B illustrates a block diagram of a process 300A for UE MAC layer triggering a fallback for a random access procedure according to some embodiments of the present disclosure. The process 300B may be considered as a specific example of the process 200B in FIG. 2B. The steps in the process 300B are provided for exemplary purposes only and should not be construed as limiting the scope of the present invention. The same or similar reference numerals are used to denote the elements or components described in FIG. 3B having the same or similar operations as the elements or components described in FIG. 3A, and detailed description thereof will be omitted.

[0140] In the process 300B, the network may configure the possible fallback types in SIB (e.g., in the CB-Msg3 configuration) or indicate whether the corresponding fallback feature is enabled. The UE MAC layer may store the possible fallback type (e.g., 2-step RA procedure, 4-step RA procedure for RRC connection establishment, 4-step RA procedure with MO-EDT or transmission procedure using PUR) . The network may indicate the priority of different fallback types

[0141] At 301, UE MAC layer determines that a CB-Msg3 transmission failure occurs. At 322, the UE MAC layer keeps CB-Msg3 HARQ buffer (also referred to as CB-Msg3 MAC PDU, or CB-Msg3 buffer or Msg3 buffer) . The MAC layer should keep the CB-Msg3 HARQ buffer for further transmission after the fallback (instead of discarding / flushing the CB-Msg3 HARQ buffer as in a normal RACH failure procedure) .

[0142] The UE MAC layer may determine whether to trigger the fallback procedure. If yes, the UE MAC layer may determine the type of fallback procedure, e.g., 2-step RA procedure, 4-step RA procedure (with or without EDT) or transmission using procedure PUR. The MAC layer may determine the fallback type based on feature enable flag and / or fallback priority and / or TBS threshold for the possible fallback types (e.g., 2-step RA procedure, 4-step RA procedure for RRC connection establishment, 4-step RA procedure with MO-EDT or transmission procedure using PUR) .

[0143] Whether the UE MAC layer informs the UE RRC layer about the fallback depends on whether the RRC message included in CB-Msg3 and the RRC message to be included in the fallback procedure (e.g., 4-step RA procedure) are the same or different (i.e., whether the RRC message for Msg3 will be changed) . If the RRC message (for Msg3) is changed, the UE MAC layer should inform the UE RRC layer to rebuild a new RRC message. Otherwise, if the RRC message (for Msg3) is not changed, the fallback procedure will only happen in the MAC layer.

[0144] For example, at 323, the UE MAC layer may determine whether to fallback to a 4-step RA procedure. If yes at 323, at 324, the UE MAC layer may determine whether a new RRC message is needed and will request it from the UE RRC layer if a new RRC message is needed. The RRC message for the fallback procedure might be different from original RRC message from the stored CB-Msg3 HARQ buffer, e.g., if the procedure switches from EDT to non-EDT. Based on the request from the UE MAC layer, the UE RRC layer may rebuild the new RRC message for the fallback procedure (e.g., 4-step RA procedure) , and deliver the rebuilt RRC message for the fallback procedure to the UE MAC layer at 325.

[0145] If no new RRC message is needed, at 326, the UE RRC layer does not deliver a new RRC message (e.g., the UE RRC layer did not receive a request for a new RRC message from the UE MAC layer) , and the UE MAC layer will use the RRC message from the stored CB-Msg3 HARQ buffer.

[0146] At 327, the UE MAC layer may initiate a 4-step RA procedure. At 328, the UE MAC layer rebuilds the MAC PDU for Msg3 when UL grant is received in RAR of the 4-step RA procedure. The MAC layer may also include the MAC SDU (with UL data) from the obtained CB-Msg3 MAC PDU in the subsequent uplink transmission of the fallback procedure (e.g., Msg3 or following UL transmissions of 4-step RA procedure) . If the UE MAC layer receives the rebuilt RRC message from the UE RRC layer at 325, the UE MAC layer may replace the original RRC message from CB-msg3 with rebuilt RRC message in the Msg3 of the 4-step RA procedure.

[0147] If no at 323, the UE MAC layer may determine to fallback to a transmission procedure using PUR. At 334, the UE MAC layer may determine whether a new RRC message is needed and will request it from the UE RRC layer if a new RRC message is needed. The RRC message for the fallback procedure might be different from the original RRC message from the stored CB-Msg3 HARQ buffer, e.g., if the original RRC message from the stored CB-Msg3 HARQ buffer is a RRCConnectionResumeRequest with anr-InfoAvailable. Based on the request from the UE MAC layer, the UE RRC layer may rebuild the new RRC message for the fallback procedure (e.g., transmission procedure using PUR) , and deliver the rebuilt RRC message for the fallback procedure to the UE MAC layer at 335.

[0148] If no new RRC message is needed, at 326, the UE RRC layer does not deliver a new RRC message (e.g., the UE RRC layer did not receive a request for a new RRC message from the UE MAC layer) , and the UE MAC layer will use the RRC message from the stored CB-Msg3 HARQ buffer.

[0149] At 337, the UE MAC layer may initiate a transmission procedure using PUR. At 338, the UE MAC layer rebuilds the MAC PDU for Msg3 using PUR. The MAC layer may also include the MAC SDU (with UL data) from the obtained CB-Msg3 MAC PDU in the subsequent uplink transmission of the fallback procedure (e.g., Msg3 or following UL transmissions of transmission procedure using PUR) . If the UE MAC layer receives the rebuilt RRC message from the UE RRC layer at 335, the UE MAC layer may replace the original RRC message from CB-msg3 with rebuilt RRC message in the Msg3 of the transmission procedure using PUR.

[0150] In some embodiments, before step 323, the UE MAC layer may determine whether to trigger the fallback procedure. If not, the MAC layer may discard the CB-Msg3 MAC PDU and initiate a new RACH procedure as legacy. In other words, the CB-Msg3 fallback procedure failed and the UE wants to trigger a brand new RACH procedure. The UL data assembled in CB-Msg3 will be lost.

[0151] In the process 300B, for the fallback procedure only happening in the UE MAC layer, the MAC layer may rebuild the MAC PDU for Msg3 of the 4-step RA procedure or PUR (since the Msg3 TBS configured for different RACH procedure may be different) . The MAC layer may include the MAC SDU (with RRC message) from the obtained CB-Msg3 MAC PDU in the Msg3 of the fallback procedure or PUR transmission. The MAC layer may include the MAC SDU (with UL data) from the obtained CB-Msg3 MAC PDU in the subsequent uplink transmission of the fallback procedure (e.g., Msg3 or following UL transmissions of 4-step RA procedure or PUR) ;

[0152] In the process 300B, UE MAC layer determines the type of fallback procedure and whether to inform RRC layer. The UE RRC layer is responsible for determining the triggering or CB-Msg3 fallback.

[0153] In some embodiments of the present disclosure, the UE RRC layer does not build a new RRC message (or the UE MAC layer does not request a RRC message rebuilt) . The CB-Msg3 RRC message may be reused in various scenarios.

[0154] In an example, the CB-Msg3 RRC message may be reused if the CB-Msg3 transmission failure falls back to transmission using PUR for UP solution, when the RRCConnectionResumeRequest for PUR (UP) has the same content as the RRCConnectionResumeRequest for CB-Msg3 (UP) . This is e.g. the case when anr-InfoAvailable is not part of the original CB-Msg3 message.

[0155] In another example, the CB-Msg3 RRC message may be reused if the CB-Msg3 transmission failure falls back to transmission using PUR for CP solution because the RRCEarlyDataRequest for PUR (CP) has the same content as the RRCEarlyDataRequest for CB-Msg3 (CP) .

[0156] In another example, the CB-Msg3 RRC message may be reused if the CB-Msg3 transmission failure falls back to 4-step RA procedures when the RRCConnectionResumeRequest in 4-step RA (UP) has the same content as the RRCConnectionResumeRequest for CB-Msg3 (UP) . This is e.g. the case when anr-InfoAvailable is not part of the original CB-Msg3 message.

[0157] Table 3 provides an overview of the various RRC messages and some access procedures (e.g., 4-step RA, MO-EDT (which CB-Msg3 relies on) , PUR) . Fallback from CB-Msg3 using the CP solution to 4-step RA procedure will always need a new RRC message. Table 3 Overview of RRC messages and access procedures.

[0158] With some embodiments of the present disclosure, the UL data (built for CB-Msg3 transmission) can be kept during the fallback from CB-Msg3 procedure to 4-step RA procedure or PUR, even when the fallback involves the inter-layer actions. The UE may maintain the CB-Msg3 MAC SDU such that the UE data can be appended to the message of the fallback procedure (4-step RA or PUR) . A CB-Msg3 fallback mechanism is designed to avoid inter-layer actions as much as possible to simplify the UE implementation. In other words, whether the fallback should involve RRC layer or whether the RRC layer needs to rebuild a RRC message depends on whether the RRC message for Msg3 will be changed.

[0159] FIG. 4 shows a flowchart of an example method 400 implemented at a terminal device in accordance with some embodiments of the present disclosure. For the purpose of discussion, the method 400 will be described from the perspective of the terminal device 110 with reference to FIG. 1A.

[0160] At block 410, the terminal device 110 determines, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure. At block 420, the terminal device 110 sends an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device. At block 430, the terminal device 110 sends fallback information associated with the random access procedure from the RRC layer to the MAC layer. At block 440, the terminal device 110 transmits, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: the fallback information, or a buffer associated with the first message.

[0161] In some embodiments, the indication of the transmission failure comprises an indication that the random access procedure is not completed yet.

[0162] In some embodiments, the terminal device may keep the buffer for further transmissions based on determining the transmission failure of the first message. In some embodiments, the terminal device may send an indication of a size of the buffer from the MAC layer to the RRC layer.

[0163] In some embodiments, the buffer comprises uplink data in the first message. Based on determining that a fallback procedure for the random access procedure is triggered, the terminal device may include, in the second message in the fallback procedure, at least a portion of the uplink data. Alternatively or additionally, based on determining that a fallback procedure for the random access procedure is triggered, the terminal device may include, in a subsequent uplink transmission following second message in the fallback procedure, at least a portion of the uplink data. Alternatively or additionally, based on determining that a fallback procedure for the random access procedure is triggered, the terminal device may include, in an uplink transmission following the fallback procedure, at least a portion of the uplink data.

[0164] In some embodiments, the terminal device may determine, at the RRC layer, to trigger a fallback procedure for the random access procedure, wherein the fallback information comprises an indication of a fallback triggering.

[0165] In some embodiments, the terminal device may determine, at the RRC layer, a type of a fallback procedure for the random access procedure; determine, at the RRC layer, whether to generate a second RRC message for the second message in the fallback procedure based on the type of the fallback procedure and a type of a first RRC message previously generated for the first message, wherein the first RRC message is comprised in the buffer; and include, at the RRC layer, the second RRC message in the fallback information based on determining that the second RRC message is generated.

[0166] In some embodiments, in order to generate the second message, the terminal device may include, at the MAC layer in the second message in the fallback procedure, the second RRC message based on determining presence of the second RRC message in the fallback information. Alternatively, in order to generate the second message, the terminal device may include, at the MAC layer in the second message in the fallback procedure, the first RRC message based on determining absence of a second RRC message in the fallback information.

[0167] In some embodiments, the fallback information comprises an indication of the type of the fallback procedure. In some embodiments, the type of the fallback procedure comprises one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution, a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution, a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using preconfigured uplink resource (PUR) via a CP solution, or a procedure using PUR via a UP solution.

[0168] In some embodiments, the terminal device may receive, from the network device, at least one of the following: configurations for a first set of candidate types of a fallback procedure, an indication of enabling a second set of candidate types of a fallback procedure, or priority information of a third set of candidate types of a fallback procedure, wherein the fallback procedure is associated with the transmission failure of the first message in the random access procedure.

[0169] In some embodiments, the second set of candidate types are comprised in the first set of candidate types. Alternatively or additionally, the third set of candidate types are the first set of candidate types or the second set of candidate types. In some embodiments, the configurations are carried in a system information block (SIB) .

[0170] In some embodiments, wherein the terminal device may determine, at the RRC layer, a type of a fallback procedure for the random access procedure from the first or second or third set of candidate types based on at least one of the following: transport block size (TBS) thresholds for candidate types in the first or second set of candidate types, wherein the TBS thresholds are comprised in the configurations, the priority information, or a size of a buffer associated with the first message.

[0171] In some embodiments, based on determining that a fallback procedure for the random access procedure is failed, the terminal device may discard the buffer; and initiate a further random access procedure.

[0172] In some embodiments, based on determining absence of an indication of fallback triggering in the fallback information or absence of a type of a fallback procedure for the random access procedure in the fallback information, the terminal device may determine, at the MAC layer, that a fallback procedure for the random access procedure is failed.

[0173] In some embodiments, the fallback information comprises a second RRC message for the second message in the further random access procedure. In order to generate the second message, the terminal device may include, at the MAC layer, the second RRC message in the second message.

[0174] In some embodiments, the first RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message, wherein the second RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message.

[0175] In some embodiments, the first message is a contention based message 3 (CB-Msg3) , and the second message is a further Msg3 or a message A (MsgA) .

[0176] FIG. 5 shows a flowchart of an example method 500 implemented at a network device in accordance with some embodiments of the present disclosure. For the purpose of discussion, the method 500 will be described from the perspective of the terminal device 110 with reference to FIG. 1A.

[0177] At block 510, the terminal device 110 determines, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure. At block 520, the terminal device 110 determines, at the MAC layer, whether to trigger a fallback procedure for the random access procedure. At block 530, the terminal device 110 transmits, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: a buffer associated with the first message; or a second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following: fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, or an indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.

[0178] In some embodiments, the terminal device may keep the buffer for further transmissions based on determining the transmission failure of the first message.

[0179] In some embodiments, the buffer comprises uplink data in the first message. Based on determining to trigger the fallback procedure, the terminal device may include, in the second message in the fallback procedure, at least a portion of the uplink data. Alternatively or additionally, based on determining to trigger the fallback procedure, the terminal device may include, in a subsequent uplink transmission following second message in the fallback procedure, at least a portion of the uplink data. Alternatively or additionally, based on determining to trigger the fallback procedure, the terminal device may include, in an uplink transmission following the fallback procedure, at least a portion of the uplink data.

[0180] In some embodiments, the terminal device may receive, from the network device, at least one of the following: configurations for a first set of candidate types of the fallback procedure, an indication of enabling a second set of candidate types of the fallback procedure, or priority information of a third set of candidate types of the fallback procedure.

[0181] In some embodiments, the second set of candidate types are comprised in the first set of candidate types. Alternatively or additionally, the third set of candidate types are the first set of candidate types or the second set of candidate types. In some embodiments, the configurations are carried in a system information block (SIB) .

[0182] In some embodiments, based on determining to trigger the fallback procedure, the terminal device may determine, at the MAC layer, a type of the fallback procedure from the first or second or third set of candidate types based on at least one of the following: transport block size (TBS) thresholds for candidate types in the first or second set of candidate types, wherein the TBS thresholds are comprised in the configurations, the priority information, or a size of a buffer associated with the first message.

[0183] In some embodiments, based on determining to trigger the fallback procedure, the terminal device may determine, at the MAC layer, a type of the fallback procedure; and determine whether generating the second RRC message for the second message in the fallback procedure is required based on the type of the fallback procedure and a type of a first RRC message comprised in the buffer, wherein the first RRC message was previously generated at the RRC layer for the first message.

[0184] In some embodiments, in order to generate the second message, based on determining that generating the second RRC message for the second message is required, the terminal device may send the fallback information from the MAC layer to the RRC layer, generate, at the RRC layer, the second RRC message for the second message based on the fallback information, send the second RRC message for the second message from the RRC layer to the MAC layer, and include, at the MAC layer in the second message in the fallback procedure, the second RRC message for the second message.

[0185] In some embodiments, in order to generate the second message, based on determining that generating the second RRC message for the second message is not required, the terminal device may include, at the MAC layer in the second message in the fallback procedure, the first RRC message comprised in the buffer.

[0186] In some embodiments, the fallback information comprises at least one of the following: an indication of a request for generating the second RRC message for the fallback procedure; an indication of a type of the second RRC message associated with a type of the fallback procedure; or an indication of a type of the fallback procedure.

[0187] In some embodiments, a type of the fallback procedure comprises one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution, a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution, a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using preconfigured uplink resource (PUR) via a CP solution, or a procedure using PUR via a UP solution.

[0188] In some embodiments, based on determining not to trigger the fallback procedure, the terminal device may discard the buffer; and initiate the further random access procedure.

[0189] In some embodiments, the terminal device may send the indication of initiating the further random access procedure from the MAC layer to the RRC layer; generate, at the RRC layer, the second RRC message for the second message based on the indication of initiating the further random access procedure; and send the second RRC message for the second message in the further random access procedure from the RRC layer to the MAC layer, wherein the second message comprises the second RRC message for the second message.

[0190] In some embodiments, the first RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message. In some embodiments, the second RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message. In some embodiments, the first message is a contention based message 3 (CB-Msg3) , and the second message is a further Msg3 or a message A (MsgA) .

[0191] FIG. 6 shows a flowchart of an example method 600 implemented at a network device in accordance with some embodiments of the present disclosure. For the purpose of discussion, the method 600 will be described from the perspective of the network device 120 with reference to FIG. 1A.

[0192] At block 610, the network device 120 transmits, to a terminal device, at least one of the following: configurations for a first set of candidate types of a fallback procedure, an indication of enabling a second set of candidate types of a fallback procedure, or priority information of a third set of candidate types of a fallback procedure, wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.

[0193] In some embodiments, the second set of candidate types are comprised in the first set of candidate types. Alternatively or additionally, the third set of candidate types are the first set of candidate types or the second set of candidate types. In some embodiments, the configurations are carried in a system information block (SIB) .

[0194] In some embodiments, the first or second or third set of candidate types comprises at least one of the following: a 2-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment, a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution, a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution, a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution, a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution, a procedure using preconfigured uplink resource (PUR) via a CP solution, or a procedure using PUR via a UP solution. In some embodiments, the first message is a contention based message 3 (CB-Msg3) .

[0195] In some embodiments, an apparatus capable of performing the method 400 (for example, the terminal device 110) may comprise means for performing the respective steps of the method 400. The means may be implemented in any suitable form. For example, the means may be implemented in a circuitry or software module.

[0196] In some embodiments, the apparatus comprises: means for determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; means for sending an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device; means for sending fallback information associated with the random access procedure from the RRC layer to the MAC layer; and means for transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: the fallback information, or a buffer associated with the first message.

[0197] In some embodiments, the apparatus further comprises means for performing other steps in some embodiments of the method 400. In some embodiments, the means comprises at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the performance of the apparatus.

[0198] In some embodiments, an apparatus capable of performing the method 500 (for example, the terminal device 110) may comprise means for performing the respective steps of the method 500. The means may be implemented in any suitable form. For example, the means may be implemented in a circuitry or software module.

[0199] In some embodiments, the apparatus comprises: means for determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure; means for determining, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; and means for transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following: a buffer associated with the first message; or a second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following: fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, or an indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.

[0200] In some embodiments, the apparatus further comprises means for performing other steps in some embodiments of the method 500. In some embodiments, the means comprises at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the performance of the apparatus.

[0201] In some embodiments, an apparatus capable of performing the method 600 (for example, the network device 120) may comprise means for performing the respective steps of the method 600. The means may be implemented in any suitable form. For example, the means may be implemented in a circuitry or software module.

[0202] In some embodiments, the apparatus comprises: means for transmitting, to a terminal device, at least one of the following: configurations for a first set of candidate types of a fallback procedure, an indication of enabling a second set of candidate types of a fallback procedure, or priority information of a third set of candidate types of a fallback procedure, wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.

[0203] In some embodiments, the apparatus further comprises means for performing other steps in some embodiments of the method 600. In some embodiments, the means comprises at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the performance of the apparatus.

[0204] FIG. 7 is a simplified block diagram of a device 700 that is suitable for implementing embodiments of the present disclosure. The device 700 may be provided to implement the communication device, for example the terminal device 110, the terminal device 110 or the network device 120 as shown in FIG. 1A. As shown, the device 700 includes a processor 710 (or a plurality of processors) , a memory 720 (or a plurality of memories) coupled to the processor 710, and a communication module 740 (or a plurality of communication modules) coupled to the processor 710.

[0205] The communication module 740 is for bidirectional communications. The commutation module 740 has at least one antenna to facilitate communication. The communication interface may represent any interface that is necessary for communication with other network elements.

[0206] The processor 710 may be of any type suitable to the local technical network and may include one or more of the following: general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs) and processors based on multicore processor architecture, as non-limiting examples. The device 700 may have multiple processors, such as an application specific integrated circuit chip that is slaved in time to a clock which synchronizes the main processor.

[0207] The memory 720 may include one or more non-volatile memories and one or more volatile memories. Examples of the non-volatile memories include, but are not limited to, a Read Only Memory (ROM) 724, an electrically programmable read only memory (EPROM) , a flash memory, a hard disk, a compact disc (CD) , a digital video disk (DVD) , and other magnetic storage and / or optical storage. Examples of the volatile memories include, but are not limited to, a random access memory (RAM) 722 and other volatile memories that will not last in the power-down duration.

[0208] A computer program 730 includes computer executable instructions that are executed by the associated processor 710. The program 730 may be stored in the ROM 1020. The processor 710 may perform any suitable actions and processing by loading the program 730 into the RAM 1020.

[0209] The embodiments of the present disclosure may be implemented by means of the program 730 so that the device 700 may perform any process of the disclosure as discussed with reference to FIGs. 2A to 6. The embodiments of the present disclosure may also be implemented by hardware or by a combination of software and hardware.

[0210] In some embodiments, the program 730 may be tangibly contained in a computer readable medium which may be included in the device 700 (such as in the memory 720) or other storage devices that are accessible by the device 700. The device 700 may load the program 730 from the computer readable medium to the RAM 722 for execution. The computer readable medium may include any types of tangible non-volatile storage, such as ROM, EPROM, a flash memory, a hard disk, CD, DVD, and the like. FIG. 8 shows an example of the computer readable medium 800 in form of CD or DVD. The computer readable medium has the program 730 stored thereon.

[0211] Generally, various embodiments of the present disclosure may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device. While various aspects of embodiments of the present disclosure are illustrated and described as block diagrams, flowcharts, or using some other pictorial representations, it is to be understood that the block, apparatus, system, technique or method described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.

[0212] The present disclosure also provides at least one computer program product tangibly stored on a non-transitory computer readable storage medium. The computer program product includes computer-executable instructions, such as those included in program modules, being executed in a device on a target real or virtual processor, to carry out the method 400, 500, 600 as described above with reference to FIGs. 4-6. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, or the like that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or split between program modules as desired in various embodiments. Machine-executable instructions for program modules may be executed within a local or distributed device. In a distributed device, program modules may be located in both local and remote storage media.

[0213] Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0214] In the context of the present disclosure, the computer program codes or related data may be carried by any suitable carrier to enable the device, apparatus or processor to perform various processes and operations as described above. Examples of the carrier include a signal, computer readable medium, and the like.

[0215] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include but not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium would include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM) , a read-only memory (ROM) , an erasable programmable read-only memory (EPROM or Flash memory) , an optical fiber, a portable compact disc read-only memory (CD-ROM) , an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. The term “non-transitory, ” as used herein, is a limitation of the medium itself (i.e., tangible, not a signal) as opposed to a limitation on data storage persistency (e.g., RAM vs. ROM) .

[0216] Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are contained in the above discussions, these should not be construed as limitations on the scope of the present disclosure, but rather as descriptions of features that may be specific to particular embodiments. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0217] Although the present disclosure has been described in languages specific to structural features and / or methodological acts, it is to be understood that the present disclosure defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1.A terminal device comprising:at least one processor; andat least one memory storing instructions that, when executed by the at least one processor, cause the terminal device at least to:determine, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure;send an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device;send fallback information associated with the random access procedure from the RRC layer to the MAC layer; andtransmit, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following:the fallback information, ora buffer associated with the first message.2.The terminal device of claim 1, wherein the indication of the transmission failure comprises an indication that the random access procedure is not completed yet.3.The terminal device of claim 1 or 2, wherein the terminal device is further caused to:keep the buffer for further transmissions based on determining the transmission failure of the first message.4.The terminal device of claim 3, wherein the terminal device is further caused to:send an indication of a size of the buffer from the MAC layer to the RRC layer.5.The terminal device of claim 3 or 4, wherein the buffer comprises uplink data in the first message, and the terminal device is further caused to:based on determining that a fallback procedure for the random access procedure is triggered, at least one of the following:include, in the second message in the fallback procedure, at least a portion of the uplink data;include, in a subsequent uplink transmission following second message in the fallback procedure, at least a portion of the uplink data; orinclude, in an uplink transmission following the fallback procedure, at least a portion of the uplink data.6.The terminal device of any of claims 1-5, wherein the terminal device is further caused to:determine, at the RRC layer, to trigger a fallback procedure for the random access procedure,wherein the fallback information comprises an indication of a fallback triggering.7.The terminal device of any of claims 1-6, wherein the terminal device is further caused to:determine, at the RRC layer, a type of a fallback procedure for the random access procedure;determine, at the RRC layer, whether to generate a second RRC message for the second message in the fallback procedure based on the type of the fallback procedure and a type of a first RRC message previously generated for the first message, wherein the first RRC message is comprised in the buffer; andinclude, at the RRC layer, the second RRC message in the fallback information based on determining that the second RRC message is generated.8.The terminal device of claim 7, wherein the terminal device is caused to generate the second message by one of the following:including, at the MAC layer in the second message in the fallback procedure, the second RRC message based on determining presence of the second RRC message in the fallback information; orincluding, at the MAC layer in the second message in the fallback procedure, the first RRC message based on determining absence of a second RRC message in the fallback information.9.The terminal device of claim 7 or 8, wherein the fallback information comprises an indication of the type of the fallback procedure.10.The terminal device of any of claims 7-9, wherein the type of the fallback procedure comprises one of the following:a 2-step random access procedure for RRC connection establishment,a 4-step random access procedure for RRC connection establishment,a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution,a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution,a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution,a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution,a procedure using preconfigured uplink resource (PUR) via a CP solution, ora procedure using PUR via a UP solution.11.The terminal device of any of claims 1-10, wherein the terminal device is further caused to:receive, from the network device, at least one of the following:configurations for a first set of candidate types of a fallback procedure,an indication of enabling a second set of candidate types of a fallback procedure, orpriority information of a third set of candidate types of a fallback procedure,wherein the fallback procedure is associated with the transmission failure of the first message in the random access procedure.12.The terminal device of claim 11, wherein at least one of the following:the second set of candidate types are comprised in the first set of candidate types, orthe third set of candidate types are the first set of candidate types or the second set of candidate types.13.The terminal device of claim 11 or 12, wherein the configurations are carried in a system information block (SIB) .14.The terminal device of any of claims 11-13, wherein the terminal device is further caused to:determine, at the RRC layer, a type of a fallback procedure for the random access procedure from the first or second or third set of candidate types based on at least one of the following:transport block size (TBS) thresholds for candidate types in the first or second set of candidate types, wherein the TBS thresholds are comprised in the configurations,the priority information, ora size of a buffer associated with the first message.15.The terminal device of claim 3 or 4, wherein the terminal device is further caused to:based on determining that a fallback procedure for the random access procedure is failed, discard the buffer; andinitiate a further random access procedure.16.The terminal device of claim 15, wherein the terminal device is further caused to:based on determining absence of an indication of fallback triggering in the fallback information or absence of a type of a fallback procedure for the random access procedure in the fallback information, determine, at the MAC layer, that a fallback procedure for the random access procedure is failed.17.The terminal device of claim 15 or 16, wherein the fallback information comprises a second RRC message for the second message in the further random access procedure, wherein the terminal device is caused to generate the second message by:including, at the MAC layer, the second RRC message in the second message.18.The terminal device of any of claims 7-10, wherein the first RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message,wherein the second RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message.19.The terminal device of any of claims 1-18, wherein the first message is a contention based message 3 (CB-Msg3) , and the second message is a further Msg3 or a message A (MsgA) .20.A terminal device comprising:at least one processor; andat least one memory storing instructions that, when executed by the at least one processor, cause the terminal device at least to:determine, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure;determine, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; andtransmit, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following:a buffer associated with the first message; ora second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following:fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, oran indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.21.The terminal device of claim 20, wherein the terminal device is further caused to:keep the buffer for further transmissions based on determining the transmission failure of the first message.22.The terminal device of claim 21, wherein the buffer comprises uplink data in the first message, and the terminal device is further caused to:based on determining to trigger the fallback procedure, at least one of the following:include, in the second message in the fallback procedure, at least a portion of the uplink data;include, in a subsequent uplink transmission following second message in the fallback procedure, at least a portion of the uplink data; orinclude, in an uplink transmission following the fallback procedure, at least a portion of the uplink data.23.The terminal device of any of claims 20-22, wherein the terminal device is further caused to:receive, from the network device, at least one of the following:configurations for a first set of candidate types of the fallback procedure,an indication of enabling a second set of candidate types of the fallback procedure, orpriority information of a third set of candidate types of the fallback procedure.24.The terminal device of claim 23, wherein at least one of the following:the second set of candidate types are comprised in the first set of candidate types, orthe third set of candidate types are the first set of candidate types or the second set of candidate types.25.The terminal device of claim 23 or 24, wherein the configurations are carried in a system information block (SIB) .26.The terminal device of any of claims 23-25, wherein the terminal device is further caused to:based on determining to trigger the fallback procedure, determine, at the MAC layer, a type of the fallback procedure from the first or second or third set of candidate types based on at least one of the following:transport block size (TBS) thresholds for candidate types in the first or second set of candidate types, wherein the TBS thresholds are comprised in the configurations,the priority information, ora size of a buffer associated with the first message.27.The terminal device of any of claims 20-26, wherein the terminal device is further caused to:based on determining to trigger the fallback procedure, determine, at the MAC layer, a type of the fallback procedure; anddetermine whether generating the second RRC message for the second message in the fallback procedure is required based on the type of the fallback procedure and a type of a first RRC message comprised in the buffer, wherein the first RRC message was previously generated at the RRC layer for the first message.28.The terminal device of claim 27, wherein the terminal device is caused to generate the second message by one of the following:based on determining that generating the second RRC message for the second message is required,sending the fallback information from the MAC layer to the RRC layer,generating, at the RRC layer, the second RRC message for the second message based on the fallback information,sending the second RRC message for the second message from the RRC layer to the MAC layer, andincluding, at the MAC layer in the second message in the fallback procedure, the second RRC message for the second message; orbased on determining that generating the second RRC message for the second message is not required,including, at the MAC layer in the second message in the fallback procedure, the first RRC message comprised in the buffer.29.The terminal device of any of claims 20-28, wherein the fallback information comprises at least one of the following:an indication of a request for generating the second RRC message for the fallback procedure;an indication of a type of the second RRC message associated with a type of the fallback procedure; oran indication of a type of the fallback procedure.30.The terminal device of any of claims 20-29, wherein a type of the fallback procedure comprises one of the following:a 2-step random access procedure for RRC connection establishment,a 4-step random access procedure for RRC connection establishment,a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution,a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution,a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution,a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution,a procedure using preconfigured uplink resource (PUR) via a CP solution, ora procedure using PUR via a UP solution.31.The terminal device of claim 20, wherein the terminal device is further caused to:based on determining not to trigger the fallback procedure, discard the buffer; andinitiate the further random access procedure.32.The terminal device of claim 31, wherein the terminal device is further caused to:send the indication of initiating the further random access procedure from the MAC layer to the RRC layer;generate, at the RRC layer, the second RRC message for the second message based on the indication of initiating the further random access procedure; andsend the second RRC message for the second message in the further random access procedure from the RRC layer to the MAC layer,wherein the second message comprises the second RRC message for the second message.33.The terminal device of claim 27 or 28, wherein the first RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message.34.The terminal device of any of claims 20-33, wherein the second RRC message is a RRC Early Data Request message or a RRC Connection Resume Request message or a RRC Connection Request message.35.The terminal device of any of claims 20-34, wherein the first message is a contention based message 3 (CB-Msg3) , and the second message is a further Msg3 or a message A (MsgA) .36.A network device comprising:at least one processor; andat least one memory storing instructions that, when executed by the at least one processor, cause the network device at least to:transmit, to a terminal device, at least one of the following:configurations for a first set of candidate types of a fallback procedure,an indication of enabling a second set of candidate types of a fallback procedure, orpriority information of a third set of candidate types of a fallback procedure,wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.37.The network device of claim 36, wherein at least one of the following:the second set of candidate types are comprised in the first set of candidate types, orthe third set of candidate types are the first set of candidate types or the second set of candidate types.38.The network device of claim 36 or 37, wherein the configurations are carried in a system information block (SIB) .39.The network device of any of claims 36-38, wherein the first or second or third set of candidate types comprises at least one of the following:a 2-step random access procedure for RRC connection establishment,a 4-step random access procedure for RRC connection establishment,a 4-step random access procedure for RRC connection establishment via a control plane (CP) solution,a 4-step random access procedure for RRC connection establishment via a user plane (UP) solution,a 4-step random access procedure for RRC connection establishment with mobile-originated early data transmission (MO-EDT) via a CP solution,a 4-step random access procedure for RRC connection establishment with MO-EDT via a UP solution,a procedure using preconfigured uplink resource (PUR) via a CP solution, ora procedure using PUR via a UP solution.40.The network device of any of claims 36-39, wherein the first message is a contention based message 3 (CB-Msg3) .41.A method performed by a terminal device, comprising:determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure;sending an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device;sending fallback information associated with the random access procedure from the RRC layer to the MAC layer; andtransmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following:the fallback information, ora buffer associated with the first message.42.A method performed by a terminal device, comprising:determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure;determining, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; andtransmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following:a buffer associated with the first message; ora second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following:fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, oran indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.43.A method performed by a terminal device, comprising:transmitting, to a terminal device, at least one of the following:configurations for a first set of candidate types of a fallback procedure,an indication of enabling a second set of candidate types of a fallback procedure, orpriority information of a third set of candidate types of a fallback procedure,wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.44.An apparatus comprising:means for determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure;means for sending an indication of the transmission failure from the MAC layer to a radio resource control (RRC) layer of the terminal device;means for sending fallback information associated with the random access procedure from the RRC layer to the MAC layer; andmeans for transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following:the fallback information, ora buffer associated with the first message.45.An apparatus comprising:means for determining, at a medium access control (MAC) layer of the terminal device, a transmission failure of a first message in a random access procedure;means for determining, at the MAC layer, whether to trigger a fallback procedure for the random access procedure; andmeans for transmitting, to a network device, a second message, wherein the second message is generated at the MAC layer based on at least one of the following:a buffer associated with the first message; ora second radio resource control (RRC) message for the second message, wherein the second RRC message for the second message is generated at a RRC layer of the terminal device based on one of the following:fallback information associated with the fallback procedure sent from the MAC layer to the RRC layer, oran indication of initiating a further random access procedure sent from the MAC layer to the RRC layer.46.An apparatus comprising:means for transmitting, to a terminal device, at least one of the following:configurations for a first set of candidate types of a fallback procedure,an indication of enabling a second set of candidate types of a fallback procedure, orpriority information of a third set of candidate types of a fallback procedure,wherein the fallback procedure is associated with a transmission failure of a first message in a random access procedure.47.A computer readable medium comprising program instructions that, when executed by an apparatus, cause the apparatus to perform the method of any of claims 40-43.