WO2021228226A1 - Random access processing method and terminal - Google Patents

Random access processing method and terminal Download PDF

Info

Publication number
WO2021228226A1
WO2021228226A1 PCT/CN2021/093827 CN2021093827W WO2021228226A1 WO 2021228226 A1 WO2021228226 A1 WO 2021228226A1 CN 2021093827 W CN2021093827 W CN 2021093827W WO 2021228226 A1 WO2021228226 A1 WO 2021228226A1
Authority
WO
WIPO (PCT)
Prior art keywords
random access
pusch resource
uplink data
access preamble
resource set
Prior art date
Application number
PCT/CN2021/093827
Other languages
French (fr)
Chinese (zh)
Inventor
莫毅韬
吴昱民
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021228226A1 publication Critical patent/WO2021228226A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA

Definitions

  • This application relates to the field of communication technology, and in particular to a random access processing method and terminal.
  • the terminal sends a message A (MsgA) to the network device, and the network device sends a message B (MsgB) to the terminal after receiving the MsgA.
  • MsgA message A
  • MsgB message B
  • FallbackRAR Fallback Random Access Response
  • the UE will retrieve MsgA from the MsgA buffer.
  • the payload is stored in the Msg3 buffer. Subsequently, the UE sends Msg3 to the network side, and then performs contention resolution.
  • the MsgA preamble may not be mapped to a valid Physical Uplink Shared Channel resource.
  • the UE selects this MsgA preamble, since it cannot obtain the uplink grant (UL grant) carrying the MsgA payload transmission, it cannot generate a MsgA payload, and the subsequent fallback process cannot be guaranteed. , Resulting in lower reliability of the random access process.
  • the embodiments of the present application provide a random access processing method and terminal to solve the problem of low reliability of the random access process.
  • an embodiment of the present application provides a random access processing method, including:
  • first uplink data is generated according to the first PUSCH resource set associated with the random access preamble , Or generate the first uplink data according to the fallback random access response;
  • PUSCH Physical Uplink Shared Channel
  • the first PUSCH resource set is used to carry the first uplink data.
  • an embodiment of the present application provides a terminal, including:
  • the sending module is used to send the random access preamble
  • a data generation module configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, Or generate the first uplink data according to the fallback random access response;
  • the first PUSCH resource set is used to carry the first uplink data.
  • an embodiment of the present application provides a terminal, including: a memory, a processor, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is executed by the processor.
  • the steps in the random access processing method described above are implemented during execution.
  • an embodiment of the present application provides a computer-readable storage medium with a program or instruction stored on the computer-readable storage medium, and when the program or instruction is executed by a processor, the steps of the random access processing method described above are implemented .
  • a random access preamble is sent; in the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, according to the first PUSCH resource set associated with the random access preamble Generate first uplink data, or generate first uplink data according to a fallback random access response; wherein, the first PUSCH resource set is used to carry the first uplink data.
  • the terminal can still generate the first uplink data and store the data in the MsgA buffer when the random access preamble is not mapped to the effective physical uplink shared channel PUSCH resource, thereby ensuring the subsequent fallback process The progress went smoothly. Therefore, the embodiments of the present application improve the reliability of the random access process.
  • FIG. 1 is a structural diagram of a network system applicable to an embodiment of the present application
  • Fig. 2 is a flowchart of a random access processing method provided by an embodiment of the present application
  • FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present application.
  • Fig. 4 is a structural diagram of another terminal provided by an embodiment of the present application.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • the random access processing method and terminal provided by the embodiments of the present application can be applied to a wireless communication system.
  • the wireless communication system may be a 5G system, or an evolved Long Term Evolution (eLTE) system, or a subsequent evolved communication system.
  • eLTE evolved Long Term Evolution
  • FIG. 1 is a structural diagram of a network system applicable to an embodiment of the present application. As shown in FIG. 1, it includes a terminal 11 and a network device 12.
  • the terminal 11 may be a user terminal or other terminal-side device , Such as: mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, PDA for short), mobile Internet device (Mobile Internet Device, MID) or wearable device ( Wearable Device) and other terminal-side devices.
  • PDA personal digital assistant
  • mobile Internet device Mobile Internet Device, MID
  • Wearable Device wearable device
  • the above-mentioned network device 12 may be a 5G base station, or a later version base station, or a base station in other communication systems, or it is called Node B, Evolved Node B, or Transmission Reception Point (TRP), or access point (Access Point, AP), or other vocabulary in the field, as long as the same technical effect is achieved, the network device is not limited to a specific technical vocabulary.
  • the aforementioned network device 12 may be a master node (Master Node, MN) or a secondary node (Secondary Node, SN). It should be noted that, in the embodiments of the present application, only a 5G base station is taken as an example, but the specific type of network equipment is not limited.
  • Uplink shared channel (UL-SCH) data transmission UL-SCH data transmission.
  • the terminal In order to transmit UL-SCH data, the terminal must have the corresponding UL grant and the corresponding Hybrid Automatic Repeat reQuest (HARQ) information.
  • the HARQ information includes the HARQ process identification number (HARQ process id). ), Redundancy Version (RV), New Data Indicator (NDI), Transport Block Size (TBS), etc.
  • HARQ process id the HARQ process identification number
  • RV Redundancy Version
  • NDI New Data Indicator
  • TBS Transport Block Size
  • RRC Radio Resource Control
  • the network equipment needs to use Radio Resource Control (Radio Resource Control, RRC) signaling to indicate the configuration related to the PUSCH resource carrying the MsgA payload transmission, such as: UL grant (MsgA UL grant) for MsgA payload transmission ,
  • the MsgA UL grant may include time-frequency code spatial resource allocation.
  • the Medium Access Control (MAC) entity When the terminal receives a MsgA UL grant, the Medium Access Control (MAC) entity will instruct the MAC layer multiplexing and assembly entity to generate a MAC protocol data unit (Protocol Data Unit) according to the HARQ information corresponding to the MsgA UL grant.
  • Data Unit, PDU namely MsgA payload, and store it in the MsgA buffer.
  • the MAC entity will give the MsgA UL grant and the corresponding HARQ information to the HARQ entity. Then, the HARQ entity obtains the MsgA payload to be sent from the MsgA buffer. Subsequently, the HARQ entity will instruct the corresponding HARQ process to trigger the transmission of a newly transmitted data, for example, instruct the HARQ process id 0 to trigger the transmission of a newly transmitted data. Specifically, the HARQ process stores the MsgA payload in the HARQ buffer corresponding to HARQ process id 0, and finally triggers the physical layer to send new data.
  • FIG. 2 is a flowchart of a random access processing method provided by an embodiment of the present application. The method is applied to a terminal. As shown in FIG. 2, it includes the following steps:
  • Step 201 Send a random access preamble
  • the aforementioned random access preamble may be called a preamble, and further may be a contention-based random access preamble or a non-competitive preamble (contention-free random access preamble).
  • PRACH Physical Random Access Channel
  • the random access process can be understood as a 2-step RA process
  • the competing preamble can be understood as a 2-step RA competitive preamble
  • the non-competitive preamble can be understood as a 2-step RA non-competitive preamble.
  • the terminal will first send MsgA, which carries a random access preamble.
  • Step 202 In the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, generate first uplink data according to the first PUSCH resource set associated with the random access preamble, or according to the response The de-random access response generates first uplink data; wherein, the first PUSCH resource set is used to carry the first uplink data.
  • the terminal can send MsgA on a selected valid PRACH transmission opportunity (occasion). Further, the above random access preamble is not mapped to the effective physical uplink shared channel PUSCH resource, which can be understood as the preamble that competes with the 2-step RA within an association pattern period (Association Pattern Period) is not mapped to the effective physical uplink shared channel PUSCH. Resource mapping. For example, in an association pattern period, the PUSCH resource selected by the terminal in the first PUSCH resource set associated with the random access preamble is an invalid PUSCH resource.
  • the first PUSCH resource set may include one PUSCH resource, or may include or multiple time division multiplexing (Time Division Multiplexing) or frequency division multiplexing (Frequency Division Multiplexing) PUSCH resources, and the one PUSCH resource may also be Periodic.
  • Each PUSCH resource includes at least one PUSCH transmission opportunity and demodulation reference signal (Demodulation Reference Signal, DMRS) resource.
  • DMRS demodulation Reference Signal
  • the above-mentioned first uplink data can be understood as the uplink data for subsequent uplink transmission, and can also be referred to as MsgA payload. After the foregoing first uplink data is generated, the first uplink data can be stored in the MsgA buffer.
  • a random access preamble is sent; in the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, according to the first PUSCH resource set associated with the random access preamble Generate first uplink data, or generate first uplink data according to a fallback random access response; wherein, the first PUSCH resource set is used to carry the first uplink data.
  • the terminal can still generate the first uplink data and store the data in the MsgA buffer when the random access preamble is not mapped to the effective physical uplink shared channel PUSCH resource, thereby ensuring the subsequent fallback process The progress went smoothly. Therefore, the embodiments of the present application improve the reliability of the random access process.
  • the foregoing first PUSCH resource set includes any one of the following:
  • the PUSCH resource set associated with the random access preamble is a non-contention random access preamble.
  • the above-mentioned first PUSCH resource set may be configured by the network device through RRC signaling, for example, may be configured through a broadcast system message, for example, may also be configured through RRC dedicated signaling.
  • the method before the sending the random access preamble, the method further includes:
  • Receive PUSCH configuration information sent by a network device where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the first PUSCH resource set.
  • the association relationship between the aforementioned random access preamble and the first PUSCH resource set can be known through the resource configuration indicated in the aforementioned RRC signaling.
  • the network device may configure a random access preamble group A, where the random access preamble group A includes at least one Competing random access preamble, and the network equipment configures a corresponding PUSCH resource set A for the random access preamble group A.
  • the network equipment can configure the random access preamble group B, and the network equipment is the random access preamble Another different PUSCH resource set B corresponding to the code group B configuration.
  • the associated first PUSCH resource set is the PUSCH resource set A. If the aforementioned competing random access preamble selected by the terminal belongs to random access preamble group B, the associated first PUSCH resource set is PUSCH resource set B.
  • the network device may configure one or more non-competitive random access preambles, and the network device can configure one or more non-competitive random access preambles.
  • the non-competitive random access preamble and the PUSCH resource set have a one-to-one or many-to-one association relationship. Specifically, if the terminal selects the aforementioned non-contention random access preamble, the associated first PUSCH resource set is the only PUSCH resource set configured in the RRC dedicated signaling.
  • the foregoing generating of the first uplink data according to the first PUSCH resource set associated with the random access preamble includes:
  • generating the first uplink data according to the TBS information mentioned above means that the multiplexing and assembling entity of the MAC layer can, when the random access preamble is not mapped with the effective physical uplink shared channel PUSCH resource,
  • the above-mentioned first uplink data is generated according to the TBS information.
  • the first PUSCH resource set associated with the random access preamble group to which the random access preamble belongs Determine the hybrid automatic repeat request HARQ information; when the random access preamble is a non-competitive random access preamble, determine the hybrid automatic repeat request according to the first PUSCH resource set associated with the random access preamble HARQ information.
  • the foregoing HARQ information may also include information such as HARQ process id, RV, and NDI.
  • the generating first uplink data according to the first PUSCH resource set associated with the random access preamble includes:
  • the method before the sending the random access preamble, the method further includes:
  • an allocation parameter is configured, and the allocation parameter is used to determine the PUSCH resource carrying the first uplink data in the first PUSCH resource set.
  • the RRC layer configures the allocation parameters of resources related to carrying the first uplink data in the PUSCH resource set.
  • the method before the sending the random access preamble, the method further includes:
  • the PUSCH resource set is stored in the media access control MAC layer.
  • resource allocation parameters related to carrying the first uplink data in the above PUSCH resource set include at least one of the following:
  • the configuration period of PUSCH resources is not limited.
  • the PUSCH resources in the first PUSCH resource set are PUSCH resources that have been granted uplink.
  • Determine a first PUSCH resource from the first PUSCH resource set stored in the MAC layer and associated with the random access preamble which can also be understood as the first PUSCH stored in the MAC layer and associated with the random access preamble
  • the resources are concentrated, and a UL grant is determined.
  • the corresponding HARQ information can be obtained based on the first PUSCH resource.
  • the first PUSCH resource and HARQ information can be handed over to the HARQ entity, so that the above-mentioned first uplink data can be generated according to the first PUSCH resource and HARQ information.
  • the manner of determining the first PUSCH resource may be set according to actual needs. For example, in an embodiment, it may be determined by random selection with equal probability, or may be determined according to instructions from a network device.
  • the method further includes:
  • the PUSCH resource set stored in the MAC layer is cleared.
  • the foregoing PUSCH resource set can be understood as a transmission PUSCH resource set that carries the MsgA payload in the 2-step RA process. Since the above-mentioned PUSCH resource set does not need to be used after the 2-step RA type is changed to the 4-step RA type, after the PUSCH resource set is cleared, the occupation of the MAC layer cache can be effectively reduced and the system performance can be improved.
  • the HARQ entity does not submit the first PUSCH resource and the HARQ information to a target HARQ process, and the target HARQ process is agreed upon by a protocol or indicated by HARQ information.
  • the agreement stipulates that the identification number of the HARQ process is 0.
  • the generating the first uplink data according to the information carried in the fallback random access response includes:
  • the multiplexing and assembling entity is instructed to generate the first uplink data according to the fallback random access response.
  • the fallback random access response carries related information used to generate the first uplink data, for example, uplink authorization information and corresponding HARQ information.
  • the multiplexing and assembling entity can be instructed to generate the first uplink data and store the first uplink data in the MsgA buffer.
  • the multiplexing and assembling entity may generate the first uplink data based on related information carried in the fallback random access response.
  • the method further includes:
  • the first uplink data includes a Cell Radio Network Temporary Identifier (C-RNTI) Medium Access Control Control Element (MAC CE).
  • C-RNTI Cell Radio Network Temporary Identifier
  • MAC CE Medium Access Control Control Element
  • the logical channel carrying the first uplink data when the logical channel carrying the first uplink data is not a CCCH, it can be understood that this MsgA transmission or the current random access process is not for the CCCH logical channel.
  • the logical channel carrying the first uplink data is the common control channel CCCH, the first uplink data does not include C-RNTI MAC CE.
  • the method further includes:
  • the multiplexing and assembling entity is instructed to pair MsgA Reconstructing or reorganizing the first uplink data existing in the buffer to obtain second uplink data;
  • the second uplink data is stored in the MsgA buffer.
  • the multiplexing and assembling entity will reconstruct or rebuild the first uplink data existing in the MsgA buffer according to the TBS corresponding to the second PUSCH resource to obtain the second uplink data. Therefore, the second uplink data can be obtained from the multiplexing and assembling entity and stored in the MsgA buffer.
  • the foregoing second PUSCH resource set and the first PUSCH resource set may be the same or different, and no further limitation is made here.
  • the mismatch between the size of the TBS corresponding to the second PUSCH resource and the first uplink data can be understood as a different size of the TBS corresponding to the second PUSCH resource and the first uplink data.
  • the method further includes:
  • the random access type is changed from the 2-step type to the 4-step type
  • the first uplink data exists in the MsgA buffer and there is no uplink data in the Msg3 buffer, all the data in the MsgA buffer is changed.
  • the first uplink data is stored in the Msg3 buffer.
  • the first uplink data in the MsgA buffer may be obtained first, and then the obtained first uplink data is stored in the Msg3 buffer. In this way, when sending Msg3, the first uplink data can be carried.
  • the method further includes:
  • the third PUSCH resource associated with the random access preamble is Set to generate the third upstream data.
  • the foregoing third uplink data can be understood as uplink data for subsequent uplink transmission, which can also be referred to as MsgA payload. After the foregoing third uplink data is generated, the third uplink data can be stored in the MsgA buffer.
  • the third uplink data is generated The way. This can further ensure the smooth progress of the subsequent fallback process. Therefore, the reliability of the random access process can be further improved.
  • the foregoing third PUSCH resource set is used to carry the third uplink data.
  • the third PUSCH resource set and the first PUSCH resource set may be the same or different; at the same time, the third PUSCH resource set and the second PUSCH resource set may be the same or different; no further details are here.
  • the generating third uplink data according to the third PUSCH resource set associated with the random access preamble includes:
  • the foregoing third PUSCH resource set may include one PUSCH resource, or may include or multiple time division multiplexing (Time Division Multiplexing) or frequency division multiplexing (Frequency Division Multiplexing) PUSCH resources, and the one PUSCH resource may also be periodic Sexual.
  • Each PUSCH resource includes at least one PUSCH transmission opportunity and DMRS resource.
  • the PUSCH resources in the third PUSCH resource set are PUSCH resources that have been granted uplink.
  • determining a third PUSCH resource can also be understood as determining a UL grant in the third PUSCH resource set associated with the random access preamble.
  • the corresponding HARQ information can be obtained based on the third PUSCH resource.
  • the third PUSCH resource and HARQ information can be handed over to the HARQ entity, so that the third uplink data can be generated according to the third PUSCH resource and HARQ information.
  • the manner of determining the third PUSCH resource may be set according to actual needs. For example, in an embodiment, it may be determined by random selection with equal probability, or may be determined according to an instruction of a network device.
  • the foregoing third PUSCH resource set may be configured by a network device through RRC signaling.
  • the method before the sending the random access preamble, the method further includes:
  • the association relationship between the aforementioned random access preamble and the third PUSCH resource set can be known through the resource configuration indicated in the aforementioned RRC dedicated signaling.
  • the network device may configure one or more non-competitive random access preambles, and the network device is the one Or a PUSCH resource set corresponding to multiple non-competitive random access preamble configurations.
  • the non-competitive random access preamble and the PUSCH resource set have a one-to-one or many-to-one association relationship.
  • the terminal selects the aforementioned non-contention random access preamble
  • the associated first PUSCH resource set is the only PUSCH resource set configured in the RRC dedicated signaling.
  • the network equipment configures the 2-step RA-related resource configuration for the UE through RRC signaling.
  • the 2-step random access may include 2-step contention-based random access (CBRA) and 2-step non-competition random access (Contention-Free Random Access, CFRA).
  • the terminal triggers the 2-step RA process.
  • the terminal performs the following steps:
  • the MsgA PUSCH resource configuration is configured through a random access channel dedicated configuration (RACH-Config-Dedicated);
  • the above UL grant and HARQ information are handed over to the HARQ entity.
  • the terminal performs the following steps :
  • HARQ information (such as TBS) according to the MsgA PUSCH resource configuration associated with the random access preamble group to which the selected 2-step RA competition preamble belongs, and then instruct the multiplexing and assembling entity to generate the MsgA payload according to the TBS information, and transfer it Stored in MsgA buffer.
  • the MsgA PUSCH resource configuration is configured through the SIB1 message.
  • the terminal performs the following step:
  • HARQ information (such as TBS) according to the MsgA PUSCH resource configuration associated with the selected 2-step RA non-competitive preamble, and then instruct the multiplexing and assembly entity to generate the MsgA payload according to the TBS information, and store it in the MsgA buffer.
  • the MsgA PUSCH resource configuration is configured through RACH-Config-Dedicated.
  • the network equipment configures the 2-step RA-related resource configuration for the UE through RRC signaling.
  • the 2-step RA may include 2-step CBRA and 2-step CFRA.
  • the terminal triggers the 2-step RA process.
  • the RRC layer of the UE first configures MsgA and PUSCH related resource allocation parameters, such as msgA-PUSCH-TimeDomainAllocation and startSymbolAndLengthMsgA-PO.
  • the UE saves the MsgA PUSCH resource (for example, UL grant) configured in the RRC in the MAC entity.
  • the UL grant is a non-dynamic UL grant, and the UE can use it Send MsgA payload.
  • the terminal performs the following steps:
  • the MsgA PUSCH resource configuration is configured through RACH-Config-Dedicated.
  • the above UL grant and HARQ information are handed over to the HARQ entity.
  • the terminal performs the following steps :
  • the terminal performs the following step:
  • the above UL grant and HARQ information are handed over to the HARQ entity.
  • the UE will clear all the MsgA PUSCH resources stored in the MAC layer for MsgA payload transmission.
  • the network equipment configures the 2-step RA-related resource configuration for the UE through RRC signaling.
  • the 2-step RA may include 2-step CBRA and 2-step CFRA.
  • the terminal triggers the 2-step RA process.
  • the terminal performs the following steps:
  • the MsgA PUSCH resource configuration is configured through RACH-Config-Dedicated;
  • the above UL grant and HARQ information are handed over to the HARQ entity.
  • the terminal If the UE receives a FallbackRAR, and if the MsgA buffer is empty at this time, the terminal has the following behaviors:
  • the multiplexing and assembling entity generates the MsgA buffer based on the relevant information carried by FallbackRAR, and obtains the MsgA payload from the multiplexing and assembling entity, and stores it in the MsgA buffer.
  • next 2-step RA attempt for example, the UE is preparing to send the next MsgA
  • the data has been buffered in the MsgA buffer
  • the UL grant received at this time is a MsgA UL grant for MsgA payload transmission
  • the TBS corresponding to the MsgA UL grant is different from the MAC PDU buffered in the MsgA buffer, and the terminal has the following behaviors:
  • the terminal has the following behaviors:
  • FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 300 includes:
  • the sending module 301 is used to send a random access preamble
  • the data generation module 302 is configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource , Or generate the first uplink data according to the fallback random access response;
  • the first PUSCH resource set is used to carry the first uplink data.
  • the first PUSCH resource set includes any one of the following:
  • the PUSCH resource set associated with the random access preamble is a non-contention random access preamble.
  • the terminal further includes:
  • the receiving module is configured to receive PUSCH configuration information sent by a network device, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the first PUSCH resource set.
  • the data generating module 302 is specifically configured to perform the following operations:
  • the data generating module 302 is specifically configured to perform the following operations:
  • the terminal also includes:
  • the configuration module is configured to configure allocation parameters after the random access process is triggered, and the allocation parameters are used to determine the PUSCH resource carrying the first uplink data in the first PUSCH resource set.
  • the terminal further includes:
  • the storage module is configured to store the PUSCH resource set in the media access control MAC layer after the random access process is triggered.
  • the terminal 300 further includes:
  • the clearing module is used to clear the PUSCH resource set stored in the MAC layer when the random access process is completed or the random access type is changed from the 2-step type to the 4-step type.
  • the HARQ entity does not submit the first PUSCH resource and the HARQ information to a target HARQ process, and the target HARQ process is agreed upon by a protocol or indicated by HARQ information.
  • the data generation module 302 is specifically configured to instruct the multiplexing and assembling entity to perform random access according to the fallback random access response and there is no uplink data in the MsgA buffer.
  • the first uplink data is generated in response.
  • the first uplink data includes the cell radio network temporary identification medium access control control unit C-RNTI MAC CE.
  • the terminal further includes: a storage module, wherein:
  • the data generation module is further configured to indicate when the first uplink data exists in the MsgA buffer and the TBS corresponding to the second PUSCH resource in the second PUSCH resource set does not match the size of the first uplink data
  • the multiplexing and assembling entity reconstructs or reorganizes the first uplink data existing in the MsgA buffer to obtain the second uplink data;
  • the storage module is configured to store the second uplink data in the MsgA cache.
  • the terminal further includes:
  • the storage module is used for changing the random access type from the 2-step type to the 4-step type if the first uplink data exists in the MsgA buffer and there is no uplink data in the Msg3 buffer.
  • the first uplink data in the MsgA buffer is stored in the Msg3 buffer.
  • the data generation module 302 is further configured to: when the random access preamble is mapped to a valid PUSCH resource, and the random access preamble is a non-contention random access preamble, The third uplink data is generated according to the third PUSCH resource set associated with the random access preamble.
  • the data generating module 302 is specifically configured to perform the following operations:
  • the terminal further includes:
  • the receiving module is configured to receive PUSCH configuration information sent by a network device through RRC dedicated signaling, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the third PUSCH resource set.
  • the terminal provided by the embodiment of the present application can implement the various processes implemented by the terminal in the method embodiment of FIG. 2. To avoid repetition, details are not described herein again.
  • FIG. 4 is a schematic diagram of the hardware structure of a terminal that implements each embodiment of the present application.
  • the terminal 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411 and other components.
  • a radio frequency unit 401 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411 and other components.
  • terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and the terminal may include more or less components than those shown in the figure, or combine certain components, or arrange different components.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and
  • the radio frequency unit 401 is used to send a random access preamble
  • the processor 410 is configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, Or generate the first uplink data according to the fallback random access response;
  • the first PUSCH resource set is used to carry the first uplink data.
  • processor 410 and radio frequency unit 401 can implement each process implemented by the terminal in the method embodiment of FIG.
  • the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4061 and/or when the terminal 400 is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal gestures (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared Sensors, etc., will not be repeated here.
  • the display unit 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 407 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operate).
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 4071 can cover the display panel 4061.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 4061.
  • the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated. Realize the input and output functions of the terminal, the specifics are not limited here.
  • the interface unit 408 is an interface for connecting an external device with the terminal 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 400 or may be used to communicate between the terminal 400 and the external device. Transfer data between.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 410 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. Various functions of the terminal and processing data, so as to monitor the terminal as a whole.
  • the processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc., the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
  • the terminal 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. Function.
  • the terminal 400 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present application further provides a terminal, including a processor 410, a memory 409, a program or instruction stored on the memory 409 and running on the processor 410, and the program or instruction is executed by the processor 410
  • a terminal including a processor 410, a memory 409, a program or instruction stored on the memory 409 and running on the processor 410, and the program or instruction is executed by the processor 410
  • the embodiment of the present application also provides a computer-readable storage medium on which a program or instruction is stored.
  • the program or instruction is executed by a processor, the random access processing method on the terminal side provided by the embodiment of the present application is implemented
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • modules, units, sub-modules, sub-units, etc. can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (Digital Signal Processing, DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, Other electronic units or combinations thereof that perform the functions described in this application.
  • ASICs application specific integrated circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a base station, etc.) to execute the method described in each embodiment of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a base station, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a random access processing method and a terminal. The method comprises: sending a random access preamble; and in the case that the random access preamble is not mapped to a valid physical uplink shared channel (PUSCH) resource, generating first uplink data according to a first PUSCH resource set associated with the random access preamble, or generating first uplink data according to a fallback random access response, wherein the first PUSCH resource set is used for carrying the first uplink data.

Description

随机接入处理方法和终端Random access processing method and terminal
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年5月15日在中国提交的中国专利申请号No.202010415407.6的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010415407.6 filed in China on May 15, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种随机接入处理方法和终端。This application relates to the field of communication technology, and in particular to a random access processing method and terminal.
背景技术Background technique
众所周知,目前2步(step)随机接入(Random Access,RA)过程是由终端发送消息A(MsgA)给网络设备,网络设备接收到MsgA后,给终端发送消息B(MsgB)。如果终端接收到MsgB中包含了和发送MsgA随机接入前导码(preamble)索引值匹配的回退随机接入响应(Fallback Random Access Response,FallbackRAR),则UE会从MsgA缓存(buffer)中取出MsgA载荷(payload)并存放在Msg3 buffer。随后,UE发送Msg3给网络侧,再进行竞争解决。对于2-step RA过程,MsgA preamble可能没有和一个有效的物理上行共享信道(Physical Uplink Shared Channel)资源进行映射。此时,当UE选择了这个MsgA preamble后,由于不能得到承载MsgA payload传输的上行授权(Uplink grant,UL grant),因此就无法生成一个MsgA payload,无法保证后续回退(fallback)过程的顺利进行,导致随机接入过程的可靠性较低。As we all know, in the current 2-step random access (Random Access, RA) process, the terminal sends a message A (MsgA) to the network device, and the network device sends a message B (MsgB) to the terminal after receiving the MsgA. If the terminal receives a fallback random access response (Fallback Random Access Response, FallbackRAR) that matches the index value of the random access preamble of the sent MsgB in MsgB, the UE will retrieve MsgA from the MsgA buffer. The payload is stored in the Msg3 buffer. Subsequently, the UE sends Msg3 to the network side, and then performs contention resolution. For the 2-step RA process, the MsgA preamble may not be mapped to a valid Physical Uplink Shared Channel resource. At this time, when the UE selects this MsgA preamble, since it cannot obtain the uplink grant (UL grant) carrying the MsgA payload transmission, it cannot generate a MsgA payload, and the subsequent fallback process cannot be guaranteed. , Resulting in lower reliability of the random access process.
发明内容Summary of the invention
本申请实施例提供一种随机接入处理方法和终端,以解决随机接入过程的可靠性较低的问题。The embodiments of the present application provide a random access processing method and terminal to solve the problem of low reliability of the random access process.
第一方面,本申请实施例提供一种随机接入处理方法,包括:In the first aspect, an embodiment of the present application provides a random access processing method, including:
发送随机接入前导码;Send the random access preamble;
在所述随机接入前导码未与有效的物理上行共享信道(Physical Uplink Shared Channel,PUSCH)资源映射的情况下,根据所述随机接入前导码关联 的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;In the case that the random access preamble is not mapped to a valid Physical Uplink Shared Channel (PUSCH) resource, first uplink data is generated according to the first PUSCH resource set associated with the random access preamble , Or generate the first uplink data according to the fallback random access response;
其中,所述第一PUSCH资源集用于承载所述第一上行数据。Wherein, the first PUSCH resource set is used to carry the first uplink data.
第二方面,本申请实施例提供一种终端,包括:In the second aspect, an embodiment of the present application provides a terminal, including:
发送模块,用于发送随机接入前导码;The sending module is used to send the random access preamble;
数据生成模块,用于在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;A data generation module, configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, Or generate the first uplink data according to the fallback random access response;
其中,所述第一PUSCH资源集用于承载所述第一上行数据。Wherein, the first PUSCH resource set is used to carry the first uplink data.
第三方面,本申请实施例提供一种终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现上述随机接入处理方法中的步骤。In a third aspect, an embodiment of the present application provides a terminal, including: a memory, a processor, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is executed by the processor. The steps in the random access processing method described above are implemented during execution.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现上述随机接入处理方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium with a program or instruction stored on the computer-readable storage medium, and when the program or instruction is executed by a processor, the steps of the random access processing method described above are implemented .
本申请实施例通过发送随机接入前导码;在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;其中,所述第一PUSCH资源集用于承载所述第一上行数据。这样,终端可以在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,仍然可以生成第一上行数据,并将数据存储在MsgA buffer中,从而可以保证后续fallback过程的顺利进行。因此,本申请实施例,提高了随机接入过程的可靠性。In the embodiment of this application, a random access preamble is sent; in the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, according to the first PUSCH resource set associated with the random access preamble Generate first uplink data, or generate first uplink data according to a fallback random access response; wherein, the first PUSCH resource set is used to carry the first uplink data. In this way, the terminal can still generate the first uplink data and store the data in the MsgA buffer when the random access preamble is not mapped to the effective physical uplink shared channel PUSCH resource, thereby ensuring the subsequent fallback process The progress went smoothly. Therefore, the embodiments of the present application improve the reliability of the random access process.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本申请实施例可应用的一种网络系统的结构图;FIG. 1 is a structural diagram of a network system applicable to an embodiment of the present application;
图2是本申请实施例提供的一种随机接入处理方法的流程图;Fig. 2 is a flowchart of a random access processing method provided by an embodiment of the present application;
图3是本申请实施例提供的一种终端的结构图;FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present application;
图4是本申请实施例提供的另一种终端的结构图。Fig. 4 is a structural diagram of another terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“包括”以及它的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,说明书以及权利要求中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B,表示包含单独A,单独B,以及A和B都存在三种情况。The term "including" in the specification and claims of this application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to clear Instead, those steps or units listed below may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment. In addition, the use of "and/or" in the specification and claims means at least one of the connected objects, such as A and/or B, which means that A and B alone are included, and there are three cases for both A and B.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
下面结合附图介绍本申请的实施例。本申请实施例提供的一种随机接入处理方法和终端可以应用于无线通信系统中。该无线通信系统可以为5G系统,或者演进型长期演进(Evolved Long Term Evolution,eLTE)系统,或者后续演进通信系统。The embodiments of the present application are described below in conjunction with the drawings. The random access processing method and terminal provided by the embodiments of the present application can be applied to a wireless communication system. The wireless communication system may be a 5G system, or an evolved Long Term Evolution (eLTE) system, or a subsequent evolved communication system.
请参见图1,图1是本申请实施例可应用的一种网络系统的结构图,如图1所示,包括终端11和网络设备12,其中,终端11可以是用户终端或者其他终端侧设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device) 等终端侧设备,需要说明的是,在本申请实施例中并不限定终端11的具体类型。上述网络设备12可以是5G基站,或者以后版本的基站,或者其他通信系统中的基站,或者称之为节点B,演进节点B,或者发送接收点(Transmission Reception Point,TRP),或者接入点(Access Point,AP),或者所述领域中其他词汇,只要达到相同的技术效果,所述网络设备不限于特定技术词汇。另外,上述网络设备12可以是主节点(Master Node,MN),或者辅节点(Secondary Node,SN)。需要说明的是,在本申请实施例中仅以5G基站为例,但是并不限定网络设备的具体类型。Please refer to FIG. 1. FIG. 1 is a structural diagram of a network system applicable to an embodiment of the present application. As shown in FIG. 1, it includes a terminal 11 and a network device 12. The terminal 11 may be a user terminal or other terminal-side device , Such as: mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, PDA for short), mobile Internet device (Mobile Internet Device, MID) or wearable device ( Wearable Device) and other terminal-side devices. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The above-mentioned network device 12 may be a 5G base station, or a later version base station, or a base station in other communication systems, or it is called Node B, Evolved Node B, or Transmission Reception Point (TRP), or access point (Access Point, AP), or other vocabulary in the field, as long as the same technical effect is achieved, the network device is not limited to a specific technical vocabulary. In addition, the aforementioned network device 12 may be a master node (Master Node, MN) or a secondary node (Secondary Node, SN). It should be noted that, in the embodiments of the present application, only a 5G base station is taken as an example, but the specific type of network equipment is not limited.
为了方便理解,以下对本申请实施例涉及的一些内容进行说明:In order to facilitate understanding, some contents involved in the embodiments of the present application are described below:
上行共享信道(Uplink shared channel,UL-SCH)数据(data)传输。Uplink shared channel (UL-SCH) data transmission.
为了进行UL-SCH data的传输,终端必须有相应的上行授权(UL grant)和相应的混合自动重传请求(Hybrid Automatic Repeat reQuest,HARQ)信息,该HARQ信息包括HARQ进程识别号(HARQ process id)、冗余版本(Redundancy Version,RV)、新数据指示(New Data Indicator,NDI)和传输块大小(Transport Block Size,TBS)等。例如,为了传输MsgA payload,网络设备需要通过无线资源控制(Radio Resource Control,RRC)信令指示承载MsgA payload传输的PUSCH资源相关的配置,比如:用于MsgA payload传输的UL grant(MsgA UL grant),该MsgA UL grant可以包括时频码空域资源分配。In order to transmit UL-SCH data, the terminal must have the corresponding UL grant and the corresponding Hybrid Automatic Repeat reQuest (HARQ) information. The HARQ information includes the HARQ process identification number (HARQ process id). ), Redundancy Version (RV), New Data Indicator (NDI), Transport Block Size (TBS), etc. For example, in order to transmit MsgA payload, the network equipment needs to use Radio Resource Control (Radio Resource Control, RRC) signaling to indicate the configuration related to the PUSCH resource carrying the MsgA payload transmission, such as: UL grant (MsgA UL grant) for MsgA payload transmission , The MsgA UL grant may include time-frequency code spatial resource allocation.
当终端收到一个MsgA UL grant后,媒体接入控制(Medium Access Control,MAC)实体会指示MAC层的复用和组装实体根据该个MsgA UL grant相应的HARQ信息生成一个MAC协议数据单元(Protocol Data Unit,PDU),即MsgA payload,并把它存放在MsgA buffer当中。When the terminal receives a MsgA UL grant, the Medium Access Control (MAC) entity will instruct the MAC layer multiplexing and assembly entity to generate a MAC protocol data unit (Protocol Data Unit) according to the HARQ information corresponding to the MsgA UL grant. Data Unit, PDU), namely MsgA payload, and store it in the MsgA buffer.
下一步,MAC实体会将这个MsgA UL grant其及相应的HARQ信息交给HARQ实体(entity)。然后,HARQ entity从MsgA buffer中获取待发送的MsgA payload。随后,HARQ entity会指示对应的HARQ process触发一个新传数据的传输,例如,指示HARQ process id 0触发一个新传数据的传输。具体地,该HARQ process会将MsgA payload存储在HARQ process id 0对应的HARQ buffer中,最后触发物理层进行新传数据的发送。In the next step, the MAC entity will give the MsgA UL grant and the corresponding HARQ information to the HARQ entity. Then, the HARQ entity obtains the MsgA payload to be sent from the MsgA buffer. Subsequently, the HARQ entity will instruct the corresponding HARQ process to trigger the transmission of a newly transmitted data, for example, instruct the HARQ process id 0 to trigger the transmission of a newly transmitted data. Specifically, the HARQ process stores the MsgA payload in the HARQ buffer corresponding to HARQ process id 0, and finally triggers the physical layer to send new data.
请参见图2,图2是本申请实施例提供的一种随机接入处理方法的流程图,该方法应用于终端,如图2所示,包括以下步骤:Please refer to FIG. 2. FIG. 2 is a flowchart of a random access processing method provided by an embodiment of the present application. The method is applied to a terminal. As shown in FIG. 2, it includes the following steps:
步骤201,发送随机接入前导码;Step 201: Send a random access preamble;
本申请实施例中,上述随机接入前导码可以称之为preamble,进一步地可以为竞争的preamble(contention-based random access preamble),或者非竞争的preamble(contention-free random access preamble)。终端在进行随机接入过程时,可以选择有效的物理随机接入信道(Physical Random Access Channel,PRACH)资源用于发送随机接入前导码。本实施例中,该随机接入过程可以理解为2-step RA过程,竞争的preamble可以理解为2-step RA竞争的preamble,非竞争的preamble可以理解为2-step RA非竞争的preamble。在上述2-step RA过程中,终端会首先发送MsgA,该MsgA中携带有随机接入前导码。In the embodiments of the present application, the aforementioned random access preamble may be called a preamble, and further may be a contention-based random access preamble or a non-competitive preamble (contention-free random access preamble). When the terminal is performing the random access process, it can select effective physical random access channel (Physical Random Access Channel, PRACH) resources for sending the random access preamble. In this embodiment, the random access process can be understood as a 2-step RA process, the competing preamble can be understood as a 2-step RA competitive preamble, and the non-competitive preamble can be understood as a 2-step RA non-competitive preamble. In the above 2-step RA process, the terminal will first send MsgA, which carries a random access preamble.
步骤202,在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;其中,所述第一PUSCH资源集用于承载所述第一上行数据。Step 202: In the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, generate first uplink data according to the first PUSCH resource set associated with the random access preamble, or according to the response The de-random access response generates first uplink data; wherein, the first PUSCH resource set is used to carry the first uplink data.
通常的,如果所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,终端可以在选择的一个有效的PRACH传输机会(occasion)上发送MsgA。进一步地,上述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射可以理解为在一个关联图样周期(Association Pattern Period)内2-step RA竞争的preamble未与有效的物理上行共享信道PUSCH资源映射。例如,在一个关联图样周期内,终端在随机接入前导码关联的第一PUSCH资源集中选择的PUSCH资源为无效的PUSCH资源。具体的,随机接入前导码关联的第一PUSCH资源集中可以部分或者全部的PUSCH资源为无效PUSCH资源。其中,第一PUSCH资源集可以包括一个PUSCH资源,也可以包括或者多个时分复用(Time Division Multiplexing)或者频分复用(Frequency Division Multiplexing)的PUSCH资源,所述的一个PUSCH资源还可以是周期性的。每一PUSCH资源至少包括一个PUSCH传输机会和解调参考信号(Demodulation Reference Signal,DMRS)资源。Generally, if the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, the terminal can send MsgA on a selected valid PRACH transmission opportunity (occasion). Further, the above random access preamble is not mapped to the effective physical uplink shared channel PUSCH resource, which can be understood as the preamble that competes with the 2-step RA within an association pattern period (Association Pattern Period) is not mapped to the effective physical uplink shared channel PUSCH. Resource mapping. For example, in an association pattern period, the PUSCH resource selected by the terminal in the first PUSCH resource set associated with the random access preamble is an invalid PUSCH resource. Specifically, part or all of the PUSCH resources in the first PUSCH resource set associated with the random access preamble may be invalid PUSCH resources. Wherein, the first PUSCH resource set may include one PUSCH resource, or may include or multiple time division multiplexing (Time Division Multiplexing) or frequency division multiplexing (Frequency Division Multiplexing) PUSCH resources, and the one PUSCH resource may also be Periodic. Each PUSCH resource includes at least one PUSCH transmission opportunity and demodulation reference signal (Demodulation Reference Signal, DMRS) resource.
上述第一上行数据可以理解为随后进行上行传输的上行数据,也可以称 之为MsgA payload。生成上述第一上行数据后,可以将第一上行数据存储至MsgA buffer中。The above-mentioned first uplink data can be understood as the uplink data for subsequent uplink transmission, and can also be referred to as MsgA payload. After the foregoing first uplink data is generated, the first uplink data can be stored in the MsgA buffer.
本申请实施例通过发送随机接入前导码;在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;其中,所述第一PUSCH资源集用于承载所述第一上行数据。这样,终端可以在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,仍然可以生成第一上行数据,并将数据存储在MsgA buffer中,从而可以保证后续fallback过程的顺利进行。因此,本申请实施例,提高了随机接入过程的可靠性。In the embodiment of this application, a random access preamble is sent; in the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, according to the first PUSCH resource set associated with the random access preamble Generate first uplink data, or generate first uplink data according to a fallback random access response; wherein, the first PUSCH resource set is used to carry the first uplink data. In this way, the terminal can still generate the first uplink data and store the data in the MsgA buffer when the random access preamble is not mapped to the effective physical uplink shared channel PUSCH resource, thereby ensuring the subsequent fallback process The progress went smoothly. Therefore, the embodiments of the present application improve the reliability of the random access process.
应理解,上述随机接入前导码的类型不同,对应的第一PUSCH资源集的定义也不同,例如在一实施例中,上述第一PUSCH资源集包括以下任一项:It should be understood that different types of the foregoing random access preambles have different definitions of the corresponding first PUSCH resource set. For example, in an embodiment, the foregoing first PUSCH resource set includes any one of the following:
在所述随机接入前导码为竞争的随机接入前导码的情况下,所述随机接入前导码所属的随机接入前导码组关联的PUSCH资源集;In the case that the random access preamble is a competing random access preamble, the PUSCH resource set associated with the random access preamble group to which the random access preamble belongs;
在所述随机接入前导码为非竞争的随机接入前导码的情况下,所述随机接入前导码关联的PUSCH资源集。In the case that the random access preamble is a non-contention random access preamble, the PUSCH resource set associated with the random access preamble.
进一步地,上述第一PUSCH资源集可以由网络设备通过RRC信令配置,例如,可以通过广播的系统消息配置,例如,还可以通过RRC专用信令配置。换句话说,在本实施例中,所述发送随机接入前导码之前,所述方法还包括:Further, the above-mentioned first PUSCH resource set may be configured by the network device through RRC signaling, for example, may be configured through a broadcast system message, for example, may also be configured through RRC dedicated signaling. In other words, in this embodiment, before the sending the random access preamble, the method further includes:
接收网络设备发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第一PUSCH资源集。Receive PUSCH configuration information sent by a network device, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the first PUSCH resource set.
更进一步地,应理解,上述随机接入前导码与第一PUSCH资源集之间的关联关系可以通过上述RRC信令中指示的资源配置得知。例如,在网络设备将所述随机接入前导码配置为竞争的随机接入前导码的情况下,网络设备可以配置随机接入前导码组A,其中随机接入前导码组A中包括至少一个竞争的随机接入前导码,并且网络设备为随机接入前导码组A配置对应的一个PUSCH资源集A,同时,网络设备可以配置随机接入前导码组B,并且网络设备为随机接入前导码组B配置对应的另一个不同的PUSCH资源集B。此时上述随机接入前导码组和上述PUSCH资源集存在一对一的关联关系。具 体地,若终端选择的上述竞争的随机接入前导码属于随机接入前导码组A,关联的第一PUSCH资源集即是PUSCH资源集A。若终端选择的上述竞争的随机接入前导码属于随机接入前导码组B,关联的第一PUSCH资源集即是PUSCH资源集B。又例如,在网络设备将所述随机接入前导码配置为非竞争的随机接入前导码的情况下,网络设备可以配置一个或者多个非竞争的随机接入前导码,同时网络设备为这一个或者多个非竞争的随机接入前导码配置对应的一个PUSCH资源集。此时上述非竞争的随机接入前导码和上述PUSCH资源集存在一对一或者多对一的关联关系。具体地,若终端选择的是上述非竞争的随机接入前导码,关联的第一PUSCH资源集是RRC专用信令中唯一配置的PUSCH资源集。Furthermore, it should be understood that the association relationship between the aforementioned random access preamble and the first PUSCH resource set can be known through the resource configuration indicated in the aforementioned RRC signaling. For example, in a case where the network device configures the random access preamble as a competing random access preamble, the network device may configure a random access preamble group A, where the random access preamble group A includes at least one Competing random access preamble, and the network equipment configures a corresponding PUSCH resource set A for the random access preamble group A. At the same time, the network equipment can configure the random access preamble group B, and the network equipment is the random access preamble Another different PUSCH resource set B corresponding to the code group B configuration. At this time, there is a one-to-one association relationship between the random access preamble group and the PUSCH resource set. Specifically, if the aforementioned competing random access preamble selected by the terminal belongs to the random access preamble group A, the associated first PUSCH resource set is the PUSCH resource set A. If the aforementioned competing random access preamble selected by the terminal belongs to random access preamble group B, the associated first PUSCH resource set is PUSCH resource set B. For another example, in a case where the network device configures the random access preamble as a non-competitive random access preamble, the network device may configure one or more non-competitive random access preambles, and the network device can configure one or more non-competitive random access preambles. One PUSCH resource set corresponding to one or more non-competitive random access preamble configurations. At this time, the non-competitive random access preamble and the PUSCH resource set have a one-to-one or many-to-one association relationship. Specifically, if the terminal selects the aforementioned non-contention random access preamble, the associated first PUSCH resource set is the only PUSCH resource set configured in the RRC dedicated signaling.
一实施例中,上述根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据包括:In an embodiment, the foregoing generating of the first uplink data according to the first PUSCH resource set associated with the random access preamble includes:
根据所述随机接入前导码关联的第一PUSCH资源集确定混合自动重传请求HARQ信息,所述HARQ信息包括传输块大小TBS信息;Determining hybrid automatic repeat request HARQ information according to the first PUSCH resource set associated with the random access preamble, where the HARQ information includes transport block size TBS information;
根据所述TBS信息生成所述第一上行数据。Generating the first uplink data according to the TBS information.
进一步地,上述根据所述TBS信息生成所述第一上行数据是指MAC层的复用和组装实体能够在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据TBS信息生成上述第一上行数据。Further, generating the first uplink data according to the TBS information mentioned above means that the multiplexing and assembling entity of the MAC layer can, when the random access preamble is not mapped with the effective physical uplink shared channel PUSCH resource, The above-mentioned first uplink data is generated according to the TBS information.
应理解,本实施例中,当上述随机接入前导码为竞争的随机接入前导码的情况下,根据所述随机接入前导码所属的随机接入前导码组关联的第一PUSCH资源集确定混合自动重传请求HARQ信息;当上述随机接入前导码为非竞争的随机接入前导码的情况下,根据所述随机接入前导码关联的第一PUSCH资源集确定混合自动重传请求HARQ信息。上述HARQ信息还可以包括HARQ process id、RV和NDI等信息。It should be understood that in this embodiment, when the aforementioned random access preamble is a competing random access preamble, the first PUSCH resource set associated with the random access preamble group to which the random access preamble belongs Determine the hybrid automatic repeat request HARQ information; when the random access preamble is a non-competitive random access preamble, determine the hybrid automatic repeat request according to the first PUSCH resource set associated with the random access preamble HARQ information. The foregoing HARQ information may also include information such as HARQ process id, RV, and NDI.
另一实施例中,所述根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据包括:In another embodiment, the generating first uplink data according to the first PUSCH resource set associated with the random access preamble includes:
从MAC层存储的与所述随机接入前导码关联的第一PUSCH资源集中,确定一个第一PUSCH资源;Determine a first PUSCH resource from the first PUSCH resource set stored in the MAC layer and associated with the random access preamble;
确定所述第一PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the first PUSCH resource;
将所述第一PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the first PUSCH resource and the HARQ information to the HARQ entity;
根据所述第一PUSCH资源和所述HARQ信息生成所述第一上行数据。Generating the first uplink data according to the first PUSCH resource and the HARQ information.
可选的,所述发送随机接入前导码之前,所述方法还包括:Optionally, before the sending the random access preamble, the method further includes:
在随机接入过程触发后,配置分配参数,所述分配参数用于确定所述第一PUSCH资源集中承载所述第一上行数据的PUSCH资源。例如,在随机接入过程触发后,RRC层配置PUSCH资源集中与承载所述第一上行数据相关的资源的分配参数。After the random access process is triggered, an allocation parameter is configured, and the allocation parameter is used to determine the PUSCH resource carrying the first uplink data in the first PUSCH resource set. For example, after the random access procedure is triggered, the RRC layer configures the allocation parameters of resources related to carrying the first uplink data in the PUSCH resource set.
可选的,所述发送随机接入前导码之前,所述方法还包括:Optionally, before the sending the random access preamble, the method further includes:
在随机接入过程触发后,将所述PUSCH资源集存储至媒体接入控制MAC层。After the random access process is triggered, the PUSCH resource set is stored in the media access control MAC layer.
应理解,上述PUSCH资源集中与承载所述第一上行数据相关的资源分配参数至少包括以下至少一项:It should be understood that the resource allocation parameters related to carrying the first uplink data in the above PUSCH resource set include at least one of the following:
PUSCH资源的时域资源分配参数;Time domain resource allocation parameters of PUSCH resources;
PUSCH资源的时域上的偏置值;The offset value of the PUSCH resource in the time domain;
PUSCH资源的频域上的复用因子;The reuse factor of the PUSCH resource in the frequency domain;
PRACH资源的配置周期;PRACH resource configuration period;
PUSCH资源的配置周期。The configuration period of PUSCH resources.
进一步地,应理解,上述第一PUSCH资源集中的PUSCH资源为已经上行授权的PUSCH资源。从MAC层存储的与所述随机接入前导码关联的第一PUSCH资源集中,确定一个第一PUSCH资源,也可以理解为从MAC层存储的与所述随机接入前导码关联的第一PUSCH资源集中,确定一个UL grant。基于该第一PUSCH资源可以获得相应的HARQ信息。此时,可以将第一PUSCH资源和HARQ信息交给HARQ实体,从而可以根据第一PUSCH资源和HARQ信息生成上述第一上行数据。Further, it should be understood that the PUSCH resources in the first PUSCH resource set are PUSCH resources that have been granted uplink. Determine a first PUSCH resource from the first PUSCH resource set stored in the MAC layer and associated with the random access preamble, which can also be understood as the first PUSCH stored in the MAC layer and associated with the random access preamble The resources are concentrated, and a UL grant is determined. The corresponding HARQ information can be obtained based on the first PUSCH resource. At this time, the first PUSCH resource and HARQ information can be handed over to the HARQ entity, so that the above-mentioned first uplink data can be generated according to the first PUSCH resource and HARQ information.
在本实施例中,确定上述第一PUSCH资源的方式可以根据实际需要进行设置,例如,在一实施例中,例如,可以通过等概率随机选择的方式确定,也可以根据网络设备的指示确定。In this embodiment, the manner of determining the first PUSCH resource may be set according to actual needs. For example, in an embodiment, it may be determined by random selection with equal probability, or may be determined according to instructions from a network device.
可选的,所述发送随机接入前导码之后,所述方法还包括:Optionally, after the sending the random access preamble, the method further includes:
在随机接入过程完成或者随机接入类型从2步类型转变成4步类型的情 况下,清除MAC层存储的所述PUSCH资源集。In the case that the random access process is completed or the random access type is changed from the 2-step type to the 4-step type, the PUSCH resource set stored in the MAC layer is cleared.
本实施例中,上述PUSCH资源集可以理解为2-step RA过程中承载MsgA payload的传输PUSCH资源集。由于在从2-step RA类型变为4-step RA类型后,无需使用上述PUSCH资源集,因此对PUSCH资源集进行了清除后,可以有效减少MAC层缓存的占用,提升系统性能。In this embodiment, the foregoing PUSCH resource set can be understood as a transmission PUSCH resource set that carries the MsgA payload in the 2-step RA process. Since the above-mentioned PUSCH resource set does not need to be used after the 2-step RA type is changed to the 4-step RA type, after the PUSCH resource set is cleared, the occupation of the MAC layer cache can be effectively reduced and the system performance can be improved.
可选的,在本实施例中,所述HARQ实体不将所述第一PUSCH资源和所述HARQ信息递交给目标HARQ进程,所述目标HARQ进程是由协议约定或者通过HARQ信息指示。例如,协议约定该HARQ进程的识别号为0。Optionally, in this embodiment, the HARQ entity does not submit the first PUSCH resource and the HARQ information to a target HARQ process, and the target HARQ process is agreed upon by a protocol or indicated by HARQ information. For example, the agreement stipulates that the identification number of the HARQ process is 0.
进一步地,所述根据回退随机接入响应携带的信息生成第一上行数据包括:Further, the generating the first uplink data according to the information carried in the fallback random access response includes:
在接收到回退随机接入响应、且MsgA缓存中未存在上行数据的情况下,指示复用和组装实体根据所述回退随机接入响应生成所述第一上行数据。In a case where a fallback random access response is received and there is no uplink data in the MsgA buffer, the multiplexing and assembling entity is instructed to generate the first uplink data according to the fallback random access response.
本实施例中,在回退随机接入响应中,携带有用于生成该第一上行数据的相关信息,例如,上行授权信息和相应的HARQ信息。在接收到回退随机接入响应后,如果发现MsgA buffer为空,则可以指示复用和组装实体生成第一上行数据,并将第一上行数据存储在MsgA buffer中。具体的,复用和组装实体可以基于回退随机接入响应所携带的相关信息生成第一上行数据。In this embodiment, the fallback random access response carries related information used to generate the first uplink data, for example, uplink authorization information and corresponding HARQ information. After receiving the fallback random access response, if the MsgA buffer is found to be empty, the multiplexing and assembling entity can be instructed to generate the first uplink data and store the first uplink data in the MsgA buffer. Specifically, the multiplexing and assembling entity may generate the first uplink data based on related information carried in the fallback random access response.
可选的,所述方法还包括:Optionally, the method further includes:
在承载所述第一上行数据的逻辑信道不为公共控制信道(Common Control Channel,CCCH)的情况下,所述第一上行数据包括小区无线网络临时标识(Cell Radio Network Temporary Identifier,C-RNTI)媒体接入控制控制单元(Medium Access Control Control Element,MAC CE)。In the case that the logical channel carrying the first uplink data is not a Common Control Channel (CCCH), the first uplink data includes a Cell Radio Network Temporary Identifier (C-RNTI) Medium Access Control Control Element (MAC CE).
本实施例中,在承载所述第一上行数据的逻辑信道不为CCCH可以理解为此次MsgA传输或者当前随机接入过程不是为了CCCH逻辑信道。在承载所述第一上行数据的逻辑信道为公共控制信道CCCH的情况下,则所述第一上行数据不包括C-RNTI MAC CE。In this embodiment, when the logical channel carrying the first uplink data is not a CCCH, it can be understood that this MsgA transmission or the current random access process is not for the CCCH logical channel. In the case that the logical channel carrying the first uplink data is the common control channel CCCH, the first uplink data does not include C-RNTI MAC CE.
可选的,根据所述回退随机接入响应生成所述第一上行数据之后,所述方法还包括:Optionally, after generating the first uplink data according to the fallback random access response, the method further includes:
在MsgA缓存中存在所述第一上行数据,且所述第二PUSCH资源集中 的第二PUSCH资源对应的TBS与所述第一上行数据大小不匹配的情况下,指示复用和组装实体对MsgA缓存中存在的所述第一上行数据进行重建或重组,得到第二上行数据;When the first uplink data exists in the MsgA buffer, and the TBS corresponding to the second PUSCH resource in the second PUSCH resource set does not match the size of the first uplink data, the multiplexing and assembling entity is instructed to pair MsgA Reconstructing or reorganizing the first uplink data existing in the buffer to obtain second uplink data;
将所述第二上行数据存储在MsgA缓存中。The second uplink data is stored in the MsgA buffer.
本实施例中,复用和组装实体会根据第二PUSCH资源对应的TBS对MsgA缓存中存在的所述第一上行数据进行重建或重组(rebuilding),得到第二上行数据。因此,可以从复用和组装实体中获取第二上行数据,并把它存在MsgA缓存中。上述第二PUSCH资源集与第一PUSCH资源集可以相同,也可以不同,在此不做进一步的限定。上述第二PUSCH资源对应的TBS与所述第一上行数据大小不匹配可以理解为第二PUSCH资源对应的TBS与所述第一上行数据大小不同。In this embodiment, the multiplexing and assembling entity will reconstruct or rebuild the first uplink data existing in the MsgA buffer according to the TBS corresponding to the second PUSCH resource to obtain the second uplink data. Therefore, the second uplink data can be obtained from the multiplexing and assembling entity and stored in the MsgA buffer. The foregoing second PUSCH resource set and the first PUSCH resource set may be the same or different, and no further limitation is made here. The mismatch between the size of the TBS corresponding to the second PUSCH resource and the first uplink data can be understood as a different size of the TBS corresponding to the second PUSCH resource and the first uplink data.
可选的,根据所述回退随机接入响应生成所述第一上行数据之后,所述方法还包括:Optionally, after generating the first uplink data according to the fallback random access response, the method further includes:
在随机接入类型从2步类型转变成4步类型的情况下,若MsgA缓存中存在所述第一上行数据,且Msg3缓存中未存在上行数据的情况下,将所述MsgA缓存中的所述第一上行数据存储至Msg3缓存中。In the case that the random access type is changed from the 2-step type to the 4-step type, if the first uplink data exists in the MsgA buffer and there is no uplink data in the Msg3 buffer, all the data in the MsgA buffer is changed. The first uplink data is stored in the Msg3 buffer.
本实施例中,可以首先获取MsgA缓存中的所述第一上行数据,然后将获取的所述第一上行数据存储在Msg3缓存中。这样在发送Msg3时,可以携带第一上行数据。In this embodiment, the first uplink data in the MsgA buffer may be obtained first, and then the obtained first uplink data is stored in the Msg3 buffer. In this way, when sending Msg3, the first uplink data can be carried.
进一步地,所述发送随机接入前导码之后,所述方法还包括:Further, after the sending the random access preamble, the method further includes:
在所述随机接入前导码与有效的PUSCH资源映射,且所述随机接入前导码为非竞争的随机接入前导码的情况下,根据所述随机接入前导码关联的第三PUSCH资源集生成第三上行数据。In the case where the random access preamble is mapped to a valid PUSCH resource, and the random access preamble is a non-competitive random access preamble, the third PUSCH resource associated with the random access preamble is Set to generate the third upstream data.
需要说明的是,上述第三上行数据可以理解为随后进行上行传输的上行数据,也可以称之为MsgA payload,生成上述第三上行数据后,可以将第三上行数据存储至MsgA buffer中。It should be noted that the foregoing third uplink data can be understood as uplink data for subsequent uplink transmission, which can also be referred to as MsgA payload. After the foregoing third uplink data is generated, the third uplink data can be stored in the MsgA buffer.
由于在本实施例中,定义了在所述随机接入前导码与有效的PUSCH资源映射,且所述随机接入前导码为非竞争的随机接入前导码的情况下,生成第三上行数据的方式。从而可以进一步保障后续fallback过程的顺利进行。因 此可以进一步提高,随机接入过程的可靠性。Because in this embodiment, it is defined that when the random access preamble is mapped to an effective PUSCH resource, and the random access preamble is a non-contention random access preamble, the third uplink data is generated The way. This can further ensure the smooth progress of the subsequent fallback process. Therefore, the reliability of the random access process can be further improved.
上述第三PUSCH资源集用于承载所述第三上行数据。具体的,该第三PUSCH资源集与第一PUSCH资源集可以相同,也可以不同;与此同时,该第三PUSCH资源集与第二PUSCH资源集可以相同,也可以不同;在此不做进一步的限定。The foregoing third PUSCH resource set is used to carry the third uplink data. Specifically, the third PUSCH resource set and the first PUSCH resource set may be the same or different; at the same time, the third PUSCH resource set and the second PUSCH resource set may be the same or different; no further details are here. The limit.
可选的,所述根据所述随机接入前导码关联的第三PUSCH资源集生成第三上行数据包括:Optionally, the generating third uplink data according to the third PUSCH resource set associated with the random access preamble includes:
在所述随机接入前导码关联的第三PUSCH资源集中,确定一个第三PUSCH资源;Determine a third PUSCH resource in the third PUSCH resource set associated with the random access preamble;
确定所述第三PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the third PUSCH resource;
将所述第三PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the third PUSCH resource and the HARQ information to the HARQ entity;
根据所述第三PUSCH资源和所述HARQ信息生成所述第三上行数据。Generating the third uplink data according to the third PUSCH resource and the HARQ information.
上述第三PUSCH资源集可以包括一个PUSCH资源,也可以包括或者多个时分复用(Time Division Multiplexing)或者频分复用(Frequency Division Multiplexing)的PUSCH资源,所述的一个PUSCH资源还可以是周期性的。每一PUSCH资源至少包括一个PUSCH传输机会和DMRS资源。The foregoing third PUSCH resource set may include one PUSCH resource, or may include or multiple time division multiplexing (Time Division Multiplexing) or frequency division multiplexing (Frequency Division Multiplexing) PUSCH resources, and the one PUSCH resource may also be periodic Sexual. Each PUSCH resource includes at least one PUSCH transmission opportunity and DMRS resource.
应理解,上述第三PUSCH资源集中的PUSCH资源为已经上行授权的PUSCH资源。在所述随机接入前导码关联的第三PUSCH资源集中,确定一个第三PUSCH资源,也可以理解为在所述随机接入前导码关联的第三PUSCH资源集中,确定一个UL grant。基于该第三PUSCH资源可以获得相应的HARQ信息。此时,可以将第三PUSCH资源和HARQ信息交给HARQ实体,从而可以根据第三PUSCH资源和HARQ信息生成上述第三上行数据。It should be understood that the PUSCH resources in the third PUSCH resource set are PUSCH resources that have been granted uplink. In the third PUSCH resource set associated with the random access preamble, determining a third PUSCH resource can also be understood as determining a UL grant in the third PUSCH resource set associated with the random access preamble. The corresponding HARQ information can be obtained based on the third PUSCH resource. At this time, the third PUSCH resource and HARQ information can be handed over to the HARQ entity, so that the third uplink data can be generated according to the third PUSCH resource and HARQ information.
在本实施例中,确定上述第三PUSCH资源的方式可以根据实际需要进行设置,例如,在一实施例中,例如,可以通过等概率随机选择的方式确定,也可以根据网络设备的指示确定。In this embodiment, the manner of determining the third PUSCH resource may be set according to actual needs. For example, in an embodiment, it may be determined by random selection with equal probability, or may be determined according to an instruction of a network device.
进一步地,上述第三PUSCH资源集可以由网络设备通过RRC信令配置,例如,在本实施例中,所述发送随机接入前导码之前,所述方法还包括:Further, the foregoing third PUSCH resource set may be configured by a network device through RRC signaling. For example, in this embodiment, before the sending the random access preamble, the method further includes:
接收网络设备通过RRC专用信令发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第三PUSCH 资源集。Receive PUSCH configuration information sent by a network device through RRC dedicated signaling, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the third PUSCH resource set.
更进一步地,应理解,上述随机接入前导码与第三PUSCH资源集之间的关联关系可以通过上述RRC专用信令中指示的资源配置得知。例如,在网络设备将所述随机接入前导码配置为非竞争的随机接入前导码的情况下,网络设备可以配置一个或者多个非竞争的随机接入前导码,同时网络设备为这一个或者多个非竞争的随机接入前导码配置对应的一个PUSCH资源集。此时上述非竞争的随机接入前导码和上述PUSCH资源集存在一对一或者多对一的关联关系。具体地,若终端选择的是上述非竞争的随机接入前导码,关联的第一PUSCH资源集是RRC专用信令中唯一配置的PUSCH资源集。Furthermore, it should be understood that the association relationship between the aforementioned random access preamble and the third PUSCH resource set can be known through the resource configuration indicated in the aforementioned RRC dedicated signaling. For example, when the network device configures the random access preamble as a non-competitive random access preamble, the network device may configure one or more non-competitive random access preambles, and the network device is the one Or a PUSCH resource set corresponding to multiple non-competitive random access preamble configurations. At this time, the non-competitive random access preamble and the PUSCH resource set have a one-to-one or many-to-one association relationship. Specifically, if the terminal selects the aforementioned non-contention random access preamble, the associated first PUSCH resource set is the only PUSCH resource set configured in the RRC dedicated signaling.
为了更好的理解本申请,以下针对不同的应用场景对本申请的具体实现过程进行详细说明。In order to better understand this application, the specific implementation process of this application will be described in detail below for different application scenarios.
实施例一Example one
1、网络设备通过RRC信令给UE配置2-step RA相关的资源配置。该2随机接入可以包括2步竞争的随机接入(Contention Based Random Access,CBRA)和2步非竞争随机接入(Contention-Free Random Access,CFRA)。1. The network equipment configures the 2-step RA-related resource configuration for the UE through RRC signaling. The 2-step random access may include 2-step contention-based random access (CBRA) and 2-step non-competition random access (Contention-Free Random Access, CFRA).
2、终端触发进行2-step RA过程。2. The terminal triggers the 2-step RA process.
3、在此次2-step RA尝试中,如果MAC实体选择的2-step RA preamble是一个2-step RA非竞争的preamble,并且如果该2-step RA preamble或其对应的PRACH occasion是和一个有效的承载MsgA payload传输的PUSCH(MsgA PSUCH)资源映射时,终端执行以下步骤:3. In this 2-step RA attempt, if the 2-step RA preamble selected by the MAC entity is a 2-step RA non-competitive preamble, and if the 2-step RA preamble or its corresponding PRACH occasion is the same For effective PUSCH (MsgA PSUCH) resource mapping for carrying MsgA payload transmission, the terminal performs the following steps:
根据选择的2-step RA非竞争的preamble所关联的MsgA PUSCH资源配置获得UL grant和对应HARQ信息。所述MsgA PUSCH资源配置是通过随机接入信道专用配置(RACH-Config-Dedicated)配置;Obtain UL grant and corresponding HARQ information according to the MsgA PUSCH resource configuration associated with the selected 2-step RA non-competitive preamble. The MsgA PUSCH resource configuration is configured through a random access channel dedicated configuration (RACH-Config-Dedicated);
将上述UL grant和HARQ信息交给HARQ实体。The above UL grant and HARQ information are handed over to the HARQ entity.
4、如果MAC实体选择的2-step RA preamble是一个2-step RA竞争的preamble,并且该2-step RA preamble或其对应的PRACH occasion没有和一个有效的MsgA PUSCH资源映射时,终端执行以下步骤:4. If the 2-step RA preamble selected by the MAC entity is a 2-step RA competition preamble, and the 2-step RA preamble or its corresponding PRACH occasion is not mapped with a valid MsgA PUSCH resource, the terminal performs the following steps :
根据选择的该2-step RA竞争的preamble所属的随机接入前导码组所关联的MsgA PUSCH资源配置获得HARQ信息(例如TBS),然后指示复用和 组装实体根据TBS信息生成MsgA payload,把它存在MsgA buffer中。所述MsgA PUSCH资源配置是通过SIB1消息配置。Obtain HARQ information (such as TBS) according to the MsgA PUSCH resource configuration associated with the random access preamble group to which the selected 2-step RA competition preamble belongs, and then instruct the multiplexing and assembling entity to generate the MsgA payload according to the TBS information, and transfer it Stored in MsgA buffer. The MsgA PUSCH resource configuration is configured through the SIB1 message.
5、如果MAC实体选择的2-step RA preamble是一个2-step RA非竞争的preamble,并且该2-step RA preamble或其对应的PRACH occasion没有和一个有效的MsgA PUSCH资源映射时,终端执行以下步骤:5. If the 2-step RA preamble selected by the MAC entity is a 2-step RA non-competitive preamble, and the 2-step RA preamble or its corresponding PRACH occasion is not mapped with a valid MsgA PUSCH resource, the terminal performs the following step:
根据选择的2-step RA非竞争的preamble所关联的MsgA PUSCH资源配置获得HARQ信息(例如TBS),然后指示复用和组装实体根据TBS信息生成MsgA payload,把它存在MsgA buffer中。所述MsgA PUSCH资源配置是通过RACH-Config-Dedicated配置。Obtain HARQ information (such as TBS) according to the MsgA PUSCH resource configuration associated with the selected 2-step RA non-competitive preamble, and then instruct the multiplexing and assembly entity to generate the MsgA payload according to the TBS information, and store it in the MsgA buffer. The MsgA PUSCH resource configuration is configured through RACH-Config-Dedicated.
实施例二Example two
1、网络设备通过RRC信令给UE配置2-step RA相关的资源配置。该2-step RA可以包括2步CBRA和2步CFRA。1. The network equipment configures the 2-step RA-related resource configuration for the UE through RRC signaling. The 2-step RA may include 2-step CBRA and 2-step CFRA.
2、终端触发进行2-step RA过程。UE的RRC层先配置MsgA PUSCH相关的资源分配参数,例如:msgA-PUSCH-TimeDomainAllocation和startSymbolAndLengthMsgA-PO。在触发该2-step RA过程进行初始化时,UE将RRC中配置的MsgA PUSCH资源(例如,UL grant)保存在MAC实体当中,所述的UL grant是一种非动态UL grant,UE可以通过它进行MsgA payload的发送。2. The terminal triggers the 2-step RA process. The RRC layer of the UE first configures MsgA and PUSCH related resource allocation parameters, such as msgA-PUSCH-TimeDomainAllocation and startSymbolAndLengthMsgA-PO. When the 2-step RA process is triggered for initialization, the UE saves the MsgA PUSCH resource (for example, UL grant) configured in the RRC in the MAC entity. The UL grant is a non-dynamic UL grant, and the UE can use it Send MsgA payload.
3、在此次2-step RA尝试中,如果MAC实体选择的2-step RA preamble是一个2-step RA非竞争的preamble,并且如果该2-step RA preamble或其对应的PRACH occasion是和一个有效的承载MsgA payload传输的PUSCH(MsgA PSUCH)资源映射时,终端执行以下步骤:3. In this 2-step RA attempt, if the 2-step RA preamble selected by the MAC entity is a 2-step RA non-competitive preamble, and if the 2-step RA preamble or its corresponding PRACH occasion is the same For effective PUSCH (MsgA PSUCH) resource mapping for carrying MsgA payload transmission, the terminal performs the following steps:
根据选择的2-step RA非竞争的preamble所关联的MsgA PUSCH资源配置获得UL grant和对应HARQ信息。所述MsgA PUSCH资源配置是通过RACH-Config-Dedicated配置。Obtain UL grant and corresponding HARQ information according to the MsgA PUSCH resource configuration associated with the selected 2-step RA non-competitive preamble. The MsgA PUSCH resource configuration is configured through RACH-Config-Dedicated.
将上述UL grant和HARQ信息交给HARQ实体。The above UL grant and HARQ information are handed over to the HARQ entity.
4、如果MAC实体选择的2-step RA preamble是一个2-step RA竞争的preamble,并且该2-step RA preamble或其对应的PRACH occasion没有和一个有效的MsgA PUSCH资源映射时,终端执行以下步骤:4. If the 2-step RA preamble selected by the MAC entity is a 2-step RA competition preamble, and the 2-step RA preamble or its corresponding PRACH occasion is not mapped with a valid MsgA PUSCH resource, the terminal performs the following steps :
从选择的该2-step RA竞争的preamble所属的随机接入前导码组所关联的MsgA PUSCH资源配置中等概率随机选择一个UL grant和对应HARQ信息;Randomly select a UL grant and corresponding HARQ information from the MsgA PUSCH resource configuration associated with the random access preamble group to which the selected 2-step RA competition preamble belongs;
将上述UL grant和HARQ信息交给HARQ实体;Deliver the above UL grant and HARQ information to the HARQ entity;
指示复用和组装实体根据上述UL grant和HARQ信息生成MsgA payload,把它存在MsgA buffer中。Instruct the multiplexing and assembling entity to generate the MsgA payload according to the above UL grant and HARQ information, and store it in the MsgA buffer.
5、如果MAC实体选择的2-step RA preamble是一个2-step RA非竞争的preamble,并且该2-step RA preamble或其对应的PRACH occasion没有和一个有效的MsgA PUSCH资源映射时,终端执行以下步骤:5. If the 2-step RA preamble selected by the MAC entity is a 2-step RA non-competitive preamble, and the 2-step RA preamble or its corresponding PRACH occasion is not mapped with a valid MsgA PUSCH resource, the terminal performs the following step:
从选择的2-step RA非竞争的preamble所关联的MsgA PUSCH资源配置中等概率随机选择一个UL grant和对应HARQ信息;Randomly select a UL grant and corresponding HARQ information from the MsgA PUSCH resource configuration associated with the selected 2-step RA non-competitive preamble;
将上述UL grant和HARQ信息交给HARQ实体。The above UL grant and HARQ information are handed over to the HARQ entity.
指示复用和组装实体根据上述UL grant和HARQ信息生成MsgA payload,把它存在MsgA buffer中。Instruct the multiplexing and assembling entity to generate the MsgA payload according to the above UL grant and HARQ information, and store it in the MsgA buffer.
6、如果2-step RA过程完成,或者UE将随机接入类型从2-step RA转变成4-step RA,UE则清除所有MAC层存储的用于MsgA payload传输的MsgA PUSCH资源。6. If the 2-step RA process is completed or the UE changes the random access type from 2-step RA to 4-step RA, the UE will clear all the MsgA PUSCH resources stored in the MAC layer for MsgA payload transmission.
实施例三Example three
1、网络设备通过RRC信令给UE配置2-step RA相关的资源配置。该2-step RA可以包括2步CBRA和2步CFRA。1. The network equipment configures the 2-step RA-related resource configuration for the UE through RRC signaling. The 2-step RA may include 2-step CBRA and 2-step CFRA.
2、终端触发进行2-step RA过程。2. The terminal triggers the 2-step RA process.
3、在此次2-step RA尝试中,如果MAC实体选择的2-step RA preamble是一个2-step RA非竞争的preamble,并且如果该2-step RA preamble或其对应的PRACH occasion是和一个有效的承载MsgA payload传输的PUSCH(MsgA PSUCH)资源映射时,终端执行以下步骤:3. In this 2-step RA attempt, if the 2-step RA preamble selected by the MAC entity is a 2-step RA non-competitive preamble, and if the 2-step RA preamble or its corresponding PRACH occasion is the same For effective PUSCH (MsgA PSUCH) resource mapping for carrying MsgA payload transmission, the terminal performs the following steps:
根据选择的2-step RA非竞争的preamble所关联的MsgA PUSCH资源配置获得UL grant和对应HARQ信息。所述MsgA PUSCH资源配置是通过RACH-Config-Dedicated配置;Obtain UL grant and corresponding HARQ information according to the MsgA PUSCH resource configuration associated with the selected 2-step RA non-competitive preamble. The MsgA PUSCH resource configuration is configured through RACH-Config-Dedicated;
将上述UL grant和HARQ信息交给HARQ实体。The above UL grant and HARQ information are handed over to the HARQ entity.
4、如果UE收到了一个FallbackRAR,并且如果此时MsgA buffer为空,终端具有以下行为:4. If the UE receives a FallbackRAR, and if the MsgA buffer is empty at this time, the terminal has the following behaviors:
如果此次传输不是为了CCCH逻辑信道中的数据,则If this transmission is not for the data in the CCCH logical channel, then
指示复用和组装实体在随后的上行传输中包含一个C-RNTI MAC CE;Instruct the multiplexing and assembling entity to include a C-RNTI MAC CE in the subsequent uplink transmission;
5、复用和组装实体基于FallbackRAR所携带的相关信息生成MsgA buffer,并且从复用和组装实体中获取MsgA payload,把它存在MsgA buffer中。5. The multiplexing and assembling entity generates the MsgA buffer based on the relevant information carried by FallbackRAR, and obtains the MsgA payload from the multiplexing and assembling entity, and stores it in the MsgA buffer.
6、在下一次2-step RA尝试中(例如,UE准备下一次MsgA的发送),如果MsgA buffer中已经缓存了数据,并且此时收到的UL grant是一个用于MsgA payload传输的MsgA UL grant,并且此时MsgA UL grant对应的TBS与MsgA buffer中缓存的MAC PDU大小不同,则终端具有以下行为:6. In the next 2-step RA attempt (for example, the UE is preparing to send the next MsgA), if the data has been buffered in the MsgA buffer, and the UL grant received at this time is a MsgA UL grant for MsgA payload transmission And at this time, the TBS corresponding to the MsgA UL grant is different from the MAC PDU buffered in the MsgA buffer, and the terminal has the following behaviors:
指示复用和组装实体对MsgA buffer中的MAC PDU进行重建或重组;Instruct the multiplexing and assembling entity to rebuild or reorganize the MAC PDU in the MsgA buffer;
从复用和组装实体中获取MsgA payload,把它存在MsgA buffer中。Obtain the MsgA payload from the multiplexing and assembly entity, and store it in the MsgA buffer.
6、如果UE将随机接入类型从2-step RA转变成4-step RA,并且如果MsgA buffer不为空,并且如果Msg3 buffer不为空,则终端具有以下行为:6. If the UE changes the random access type from 2-step RA to 4-step RA, and if the MsgA buffer is not empty, and if the Msg3 buffer is not empty, the terminal has the following behaviors:
从MsgA buffer中获得MsgA payload,把它存在Msg3 buffer中。Obtain the MsgA payload from the MsgA buffer and store it in the Msg3 buffer.
请参见图3,图3是本申请实施例提供的一种终端的结构图,如图3所示,终端300包括:Please refer to FIG. 3, which is a structural diagram of a terminal provided by an embodiment of the present application. As shown in FIG. 3, the terminal 300 includes:
发送模块301,用于发送随机接入前导码;The sending module 301 is used to send a random access preamble;
数据生成模块302,用于在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;The data generation module 302 is configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource , Or generate the first uplink data according to the fallback random access response;
其中,所述第一PUSCH资源集用于承载所述第一上行数据。Wherein, the first PUSCH resource set is used to carry the first uplink data.
可选的,所述第一PUSCH资源集包括以下任一项:Optionally, the first PUSCH resource set includes any one of the following:
在所述随机接入前导码为竞争的随机接入前导码的情况下,所述随机接入前导码所属的随机接入前导码组关联的PUSCH资源集;In the case that the random access preamble is a competing random access preamble, the PUSCH resource set associated with the random access preamble group to which the random access preamble belongs;
在所述随机接入前导码为非竞争的随机接入前导码的情况下,所述随机接入前导码关联的PUSCH资源集。In the case that the random access preamble is a non-contention random access preamble, the PUSCH resource set associated with the random access preamble.
可选的,所述终端还包括:Optionally, the terminal further includes:
接收模块,用于接收网络设备发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第一PUSCH资源集。The receiving module is configured to receive PUSCH configuration information sent by a network device, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the first PUSCH resource set.
可选的,所述数据生成模块302具体用于执行以下操作:Optionally, the data generating module 302 is specifically configured to perform the following operations:
根据所述随机接入前导码关联的第一PUSCH资源集确定混合自动重传请求HARQ信息,所述HARQ信息包括传输块大小TBS信息;Determining hybrid automatic repeat request HARQ information according to the first PUSCH resource set associated with the random access preamble, where the HARQ information includes transport block size TBS information;
根据所述TBS信息生成所述第一上行数据。Generating the first uplink data according to the TBS information.
可选的,所述数据生成模块302具体用于执行以下操作:Optionally, the data generating module 302 is specifically configured to perform the following operations:
从MAC层存储的与所述随机接入前导码关联的第一PUSCH资源集中,确定一个第一PUSCH资源;Determine a first PUSCH resource from the first PUSCH resource set stored in the MAC layer and associated with the random access preamble;
确定所述第一PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the first PUSCH resource;
将所述第一PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the first PUSCH resource and the HARQ information to the HARQ entity;
根据所述第一PUSCH资源和所述HARQ信息生成所述第一上行数据。Generating the first uplink data according to the first PUSCH resource and the HARQ information.
所述终端还包括:The terminal also includes:
配置模块,用于在随机接入过程触发后,配置分配参数,所述分配参数用于确定所述第一PUSCH资源集中承载所述第一上行数据的PUSCH资源。The configuration module is configured to configure allocation parameters after the random access process is triggered, and the allocation parameters are used to determine the PUSCH resource carrying the first uplink data in the first PUSCH resource set.
可选的,所述终端还包括:Optionally, the terminal further includes:
存储模块,用于在随机接入过程触发后,将所述PUSCH资源集存储至媒体接入控制MAC层。The storage module is configured to store the PUSCH resource set in the media access control MAC layer after the random access process is triggered.
可选的,所述终端300还包括:Optionally, the terminal 300 further includes:
清除模块,用于在随机接入过程完成或者随机接入类型从2步类型转变成4步类型的情况下,清除MAC层存储的所述PUSCH资源集。The clearing module is used to clear the PUSCH resource set stored in the MAC layer when the random access process is completed or the random access type is changed from the 2-step type to the 4-step type.
可选的,所述HARQ实体不将所述第一PUSCH资源和所述HARQ信息递交给目标HARQ进程,所述目标HARQ进程是由协议约定或者通过HARQ信息指示。Optionally, the HARQ entity does not submit the first PUSCH resource and the HARQ information to a target HARQ process, and the target HARQ process is agreed upon by a protocol or indicated by HARQ information.
可选的,所述数据生成模块302具体用于:在接收到回退随机接入响应、且MsgA缓存中未存在上行数据的情况下,指示复用和组装实体根据所述回退随机接入响应生成所述第一上行数据。Optionally, the data generation module 302 is specifically configured to instruct the multiplexing and assembling entity to perform random access according to the fallback random access response and there is no uplink data in the MsgA buffer. The first uplink data is generated in response.
可选的,在承载所述第一上行数据的逻辑信道不为公共控制信道CCCH 的情况下,所述第一上行数据包括小区无线网络临时标识媒体接入控制控制单元C-RNTI MAC CE。Optionally, in the case that the logical channel carrying the first uplink data is not the common control channel CCCH, the first uplink data includes the cell radio network temporary identification medium access control control unit C-RNTI MAC CE.
可选的,所述终端还包括:存储模块,其中,Optionally, the terminal further includes: a storage module, wherein:
所述数据生成模块还用于,在MsgA缓存中存在所述第一上行数据,且第二PUSCH资源集中的第二PUSCH资源对应的TBS与所述第一上行数据大小不匹配的情况下,指示复用和组装实体对MsgA缓存中存在的所述第一上行数据进行重建或重组,得到第二上行数据;The data generation module is further configured to indicate when the first uplink data exists in the MsgA buffer and the TBS corresponding to the second PUSCH resource in the second PUSCH resource set does not match the size of the first uplink data The multiplexing and assembling entity reconstructs or reorganizes the first uplink data existing in the MsgA buffer to obtain the second uplink data;
所述存储模块用于,将所述第二上行数据存储在MsgA缓存中。The storage module is configured to store the second uplink data in the MsgA cache.
可选的,所述终端还包括:Optionally, the terminal further includes:
存储模块,用于在随机接入类型从2步类型转变成4步类型的情况下,若MsgA缓存中存在所述第一上行数据,且Msg3缓存中未存在上行数据的情况下,将所述MsgA缓存中的所述第一上行数据存储至Msg3缓存中。The storage module is used for changing the random access type from the 2-step type to the 4-step type if the first uplink data exists in the MsgA buffer and there is no uplink data in the Msg3 buffer. The first uplink data in the MsgA buffer is stored in the Msg3 buffer.
可选的,所述数据生成模块302还用于:在所述随机接入前导码与有效的PUSCH资源映射,且所述随机接入前导码为非竞争的随机接入前导码的情况下,根据所述随机接入前导码关联的第三PUSCH资源集生成第三上行数据。Optionally, the data generation module 302 is further configured to: when the random access preamble is mapped to a valid PUSCH resource, and the random access preamble is a non-contention random access preamble, The third uplink data is generated according to the third PUSCH resource set associated with the random access preamble.
可选的,所述数据生成模块302具体用于执行以下操作:Optionally, the data generating module 302 is specifically configured to perform the following operations:
在所述随机接入前导码关联的第三PUSCH资源集中,确定一个第三PUSCH资源;Determine a third PUSCH resource in the third PUSCH resource set associated with the random access preamble;
确定所述第三PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the third PUSCH resource;
将所述第一PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the first PUSCH resource and the HARQ information to the HARQ entity;
根据所述第三PUSCH资源和所述HARQ信息生成所述第三上行数据。Generating the third uplink data according to the third PUSCH resource and the HARQ information.
可选的,所述终端还包括:Optionally, the terminal further includes:
接收模块,用于接收网络设备通过RRC专用信令发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第三PUSCH资源集。The receiving module is configured to receive PUSCH configuration information sent by a network device through RRC dedicated signaling, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the third PUSCH resource set.
本申请实施例提供的终端能够实现图2的方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。The terminal provided by the embodiment of the present application can implement the various processes implemented by the terminal in the method embodiment of FIG. 2. To avoid repetition, details are not described herein again.
图4为实现本申请各个实施例的一种终端的硬件结构示意图,FIG. 4 is a schematic diagram of the hardware structure of a terminal that implements each embodiment of the present application.
该终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and the terminal may include more or less components than those shown in the figure, or combine certain components, or arrange different components. In the embodiments of the present application, terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
射频单元401,用于发送随机接入前导码;The radio frequency unit 401 is used to send a random access preamble;
处理器410,用于在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;The processor 410 is configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, Or generate the first uplink data according to the fallback random access response;
其中,所述第一PUSCH资源集用于承载所述第一上行数据。Wherein, the first PUSCH resource set is used to carry the first uplink data.
应理解,本实施例中,上述处理器410和射频单元401能够实现图2的方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。It should be understood that, in this embodiment, the above-mentioned processor 410 and radio frequency unit 401 can implement each process implemented by the terminal in the method embodiment of FIG.
应理解的是,本申请实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present application, the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静 态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and/or when the terminal 400 is moved to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal gestures (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared Sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控 面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operate). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步地,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated. Realize the input and output functions of the terminal, the specifics are not limited here.
接口单元408为外部装置与终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端400内的一个或多个元件或者可以用于在终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device with the terminal 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 408 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 400 or may be used to communicate between the terminal 400 and the external device. Transfer data between.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. Various functions of the terminal and processing data, so as to monitor the terminal as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc., the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 400 may also include a power source 411 (such as a battery) for supplying power to various components. Preferably, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. Function.
另外,终端400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 400 includes some functional modules not shown, which will not be repeated here.
优选的,本申请实施例还提供一种终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的程序或指令,该程序或指令被处理器410执行时实现上述随机接入处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application further provides a terminal, including a processor 410, a memory 409, a program or instruction stored on the memory 409 and running on the processor 410, and the program or instruction is executed by the processor 410 Each process of the foregoing random access processing method embodiment is realized at a time, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现本申请实施例提供的终端侧的随机接入处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the random access processing method on the terminal side provided by the embodiment of the present application is implemented Each process of the embodiment can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
可以理解的是,本申请描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in this application can be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, sub-modules, sub-units, etc. can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (Digital Signal Processing, DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, Other electronic units or combinations thereof that perform the functions described in this application.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者基站等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a base station, etc.) to execute the method described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (33)

  1. 一种随机接入处理方法,包括:A random access processing method, including:
    发送随机接入前导码;Send the random access preamble;
    在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;In the case that the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, the first uplink data is generated according to the first PUSCH resource set associated with the random access preamble, or the random access according to the fallback Incoming response generates first uplink data;
    其中,所述第一PUSCH资源集用于承载所述第一上行数据。Wherein, the first PUSCH resource set is used to carry the first uplink data.
  2. 根据权利要求1所述的方法,其中,所述第一PUSCH资源集包括以下任一项:The method according to claim 1, wherein the first PUSCH resource set includes any one of the following:
    在所述随机接入前导码为竞争的随机接入前导码的情况下,所述随机接入前导码所属的随机接入前导码组关联的PUSCH资源集;In the case that the random access preamble is a competing random access preamble, the PUSCH resource set associated with the random access preamble group to which the random access preamble belongs;
    在所述随机接入前导码为非竞争的随机接入前导码的情况下,所述随机接入前导码关联的PUSCH资源集。In the case that the random access preamble is a non-contention random access preamble, the PUSCH resource set associated with the random access preamble.
  3. 根据权利要求1或2所述的方法,其中,所述发送随机接入前导码之前,所述方法还包括:The method according to claim 1 or 2, wherein, before the sending a random access preamble, the method further comprises:
    接收网络设备发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第一PUSCH资源集。Receive PUSCH configuration information sent by a network device, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the first PUSCH resource set.
  4. 根据权利要求3所述的方法,其中,所述根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据包括:The method according to claim 3, wherein the generating the first uplink data according to the first PUSCH resource set associated with the random access preamble comprises:
    根据所述随机接入前导码关联的第一PUSCH资源集确定混合自动重传请求HARQ信息,所述HARQ信息包括传输块大小TBS信息;Determining hybrid automatic repeat request HARQ information according to the first PUSCH resource set associated with the random access preamble, where the HARQ information includes transport block size TBS information;
    根据所述TBS信息生成所述第一上行数据。Generating the first uplink data according to the TBS information.
  5. 根据权利要求3所述的方法,其中,所述根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据包括:The method according to claim 3, wherein the generating the first uplink data according to the first PUSCH resource set associated with the random access preamble comprises:
    从媒体接入控制MAC层存储的与所述随机接入前导码关联的第一PUSCH资源集中,确定一个第一PUSCH资源;Determine a first PUSCH resource from the first PUSCH resource set stored in the media access control MAC layer and associated with the random access preamble;
    确定所述第一PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the first PUSCH resource;
    将所述第一PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the first PUSCH resource and the HARQ information to the HARQ entity;
    根据所述第一PUSCH资源和所述HARQ信息生成所述第一上行数据。Generating the first uplink data according to the first PUSCH resource and the HARQ information.
  6. 根据权利要求5所述的方法,其中,所述发送随机接入前导码之前,所述方法还包括:The method according to claim 5, wherein, before the sending the random access preamble, the method further comprises:
    在随机接入过程触发后,配置分配参数,所述分配参数用于确定所述第一PUSCH资源集中承载所述第一上行数据的PUSCH资源。After the random access process is triggered, an allocation parameter is configured, and the allocation parameter is used to determine the PUSCH resource carrying the first uplink data in the first PUSCH resource set.
  7. 根据权利要求5所述的方法,其中,所述发送随机接入前导码之前,所述方法还包括:The method according to claim 5, wherein, before the sending the random access preamble, the method further comprises:
    在随机接入过程触发后,将所述PUSCH资源集存储至MAC层。After the random access procedure is triggered, the PUSCH resource set is stored in the MAC layer.
  8. 根据权利要求7所述的方法,其中,所述发送随机接入前导码之后,所述方法还包括:The method according to claim 7, wherein, after the sending the random access preamble, the method further comprises:
    在随机接入过程完成或者随机接入类型从2步类型转变成4步类型的情况下,清除MAC层存储的所述PUSCH资源集。When the random access process is completed or the random access type is changed from the 2-step type to the 4-step type, the PUSCH resource set stored in the MAC layer is cleared.
  9. 根据权利要求5所述的方法,其中,所述HARQ实体不将所述第一PUSCH资源和所述HARQ信息递交给目标HARQ进程,所述目标HARQ进程是由协议约定或者通过HARQ信息指示。The method according to claim 5, wherein the HARQ entity does not submit the first PUSCH resource and the HARQ information to a target HARQ process, and the target HARQ process is agreed by a protocol or indicated by HARQ information.
  10. 根据权利要求1所述的方法,其中,所述根据回退随机接入响应生成第一上行数据包括:The method according to claim 1, wherein said generating the first uplink data according to the back-off random access response comprises:
    在接收到回退随机接入响应、且MsgA缓存中未存在上行数据的情况下,指示复用和组装实体根据所述回退随机接入响应生成所述第一上行数据。In a case where a fallback random access response is received and there is no uplink data in the MsgA buffer, the multiplexing and assembling entity is instructed to generate the first uplink data according to the fallback random access response.
  11. 根据权利要求10所述的方法,其中,在承载所述第一上行数据的逻辑信道不为公共控制信道CCCH的情况下,所述第一上行数据包括小区无线网络临时标识媒体接入控制控制单元C-RNTI MAC CE。The method according to claim 10, wherein, in the case that the logical channel carrying the first uplink data is not a common control channel (CCCH), the first uplink data includes a cell radio network temporary identification medium access control control unit C-RNTI MAC CE.
  12. 根据权利要求10所述的方法,其中,根据所述回退随机接入响应生成所述第一上行数据之后,所述方法还包括:The method according to claim 10, wherein, after generating the first uplink data according to the fallback random access response, the method further comprises:
    在MsgA缓存中存在所述第一上行数据,且第二PUSCH资源集中的第二PUSCH资源对应的TBS与所述第一上行数据大小不匹配的情况下,指示复用和组装实体对MsgA缓存中存在的所述第一上行数据进行重建或重组,得到第二上行数据;In the case that the first uplink data exists in the MsgA cache, and the TBS corresponding to the second PUSCH resource in the second PUSCH resource set does not match the size of the first uplink data, instruct the multiplexing and assembling entity to pair the MsgA cache Reconstructing or reorganizing the existing first uplink data to obtain second uplink data;
    将所述第二上行数据存储在MsgA缓存中。The second uplink data is stored in the MsgA buffer.
  13. 根据权利要求10所述的方法,其中,根据所述回退随机接入响应生成所述第一上行数据之后,所述方法还包括:The method according to claim 10, wherein, after generating the first uplink data according to the fallback random access response, the method further comprises:
    在随机接入类型从2步类型转变成4步类型的情况下,若MsgA缓存中存在所述第一上行数据,且Msg3缓存中未存在上行数据的情况下,将所述MsgA缓存中的所述第一上行数据存储至Msg3缓存中。In the case that the random access type is changed from the 2-step type to the 4-step type, if the first uplink data exists in the MsgA buffer and there is no uplink data in the Msg3 buffer, all the data in the MsgA buffer is changed. The first uplink data is stored in the Msg3 buffer.
  14. 根据权利要求1所述的方法,其中,所述发送随机接入前导码之后,所述方法还包括:The method according to claim 1, wherein, after the sending the random access preamble, the method further comprises:
    在所述随机接入前导码与有效的PUSCH资源映射,且所述随机接入前导码为非竞争的随机接入前导码的情况下,根据所述随机接入前导码关联的第三PUSCH资源集生成第三上行数据。In the case where the random access preamble is mapped to a valid PUSCH resource, and the random access preamble is a non-competitive random access preamble, the third PUSCH resource associated with the random access preamble is Set to generate the third upstream data.
  15. 根据权利要求14所述的方法,其中,所述根据所述随机接入前导码关联的第三PUSCH资源集生成第三上行数据包括:The method according to claim 14, wherein the generating third uplink data according to the third PUSCH resource set associated with the random access preamble comprises:
    在所述随机接入前导码关联的第三PUSCH资源集中,确定一个第三PUSCH资源;Determine a third PUSCH resource in the third PUSCH resource set associated with the random access preamble;
    确定所述第三PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the third PUSCH resource;
    将所述第三PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the third PUSCH resource and the HARQ information to the HARQ entity;
    根据所述第三PUSCH资源和所述HARQ信息生成所述第三上行数据。Generating the third uplink data according to the third PUSCH resource and the HARQ information.
  16. 根据权利要求14或15所述的方法,其中,所述发送随机接入前导码之前,所述方法还包括:The method according to claim 14 or 15, wherein, before the sending a random access preamble, the method further comprises:
    接收网络设备通过RRC专用信令发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第三PUSCH资源集。Receive PUSCH configuration information sent by a network device through RRC dedicated signaling, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the third PUSCH resource set.
  17. 一种终端,包括:A terminal including:
    发送模块,用于发送随机接入前导码;The sending module is used to send the random access preamble;
    数据生成模块,用于在所述随机接入前导码未与有效的物理上行共享信道PUSCH资源映射的情况下,根据所述随机接入前导码关联的第一PUSCH资源集生成第一上行数据,或者根据回退随机接入响应生成第一上行数据;A data generation module, configured to generate first uplink data according to the first PUSCH resource set associated with the random access preamble when the random access preamble is not mapped to a valid physical uplink shared channel PUSCH resource, Or generate the first uplink data according to the fallback random access response;
    其中,所述第一PUSCH资源集用于承载所述第一上行数据。Wherein, the first PUSCH resource set is used to carry the first uplink data.
  18. 根据权利要求17所述的终端,其中,所述第一PUSCH资源集包括以 下任一项:The terminal according to claim 17, wherein the first PUSCH resource set includes any one of the following:
    在所述随机接入前导码为竞争的随机接入前导码的情况下,所述随机接入前导码所属的随机接入前导码组关联的PUSCH资源集;In the case that the random access preamble is a competing random access preamble, the PUSCH resource set associated with the random access preamble group to which the random access preamble belongs;
    在所述随机接入前导码为非竞争的随机接入前导码的情况下,所述随机接入前导码关联的PUSCH资源集。In the case that the random access preamble is a non-contention random access preamble, the PUSCH resource set associated with the random access preamble.
  19. 根据权利要求17或18所述的终端,其中,所述终端还包括:The terminal according to claim 17 or 18, wherein the terminal further comprises:
    接收模块,用于接收网络设备发送的PUSCH配置信息,所述PUSCH配置信息用于配置PUSCH资源集,所述PUSCH资源集包括所述第一PUSCH资源集。The receiving module is configured to receive PUSCH configuration information sent by a network device, where the PUSCH configuration information is used to configure a PUSCH resource set, and the PUSCH resource set includes the first PUSCH resource set.
  20. 根据权利要求19所述的终端,其中,所述数据生成模块具体用于执行以下操作:The terminal according to claim 19, wherein the data generating module is specifically configured to perform the following operations:
    根据所述随机接入前导码关联的第一PUSCH资源集确定混合自动重传请求HARQ信息,所述HARQ信息包括传输块大小TBS信息;Determining hybrid automatic repeat request HARQ information according to the first PUSCH resource set associated with the random access preamble, where the HARQ information includes transport block size TBS information;
    根据所述TBS信息生成所述第一上行数据。Generating the first uplink data according to the TBS information.
  21. 根据权利要求19所述的终端,其中,所述数据生成模块具体用于执行以下操作:The terminal according to claim 19, wherein the data generating module is specifically configured to perform the following operations:
    从媒体接入控制MAC层存储的与所述随机接入前导码关联的第一PUSCH资源集中,确定一个第一PUSCH资源;Determine a first PUSCH resource from the first PUSCH resource set stored in the media access control MAC layer and associated with the random access preamble;
    确定所述第一PUSCH资源对应的HARQ信息;Determining HARQ information corresponding to the first PUSCH resource;
    将所述第一PUSCH资源和所述HARQ信息递交给HARQ实体;Submit the first PUSCH resource and the HARQ information to the HARQ entity;
    根据所述第一PUSCH资源和所述HARQ信息生成所述第一上行数据。Generating the first uplink data according to the first PUSCH resource and the HARQ information.
  22. 根据权利要求21所述的终端,其中,所述终端还包括:The terminal according to claim 21, wherein the terminal further comprises:
    配置模块,用于在随机接入过程触发后,配置分配参数,所述分配参数用于确定所述第一PUSCH资源集中承载所述第一上行数据的PUSCH资源。The configuration module is configured to configure allocation parameters after the random access process is triggered, and the allocation parameters are used to determine the PUSCH resource carrying the first uplink data in the first PUSCH resource set.
  23. 根据权利要求21所述的终端,其中,所述终端还包括:The terminal according to claim 21, wherein the terminal further comprises:
    存储模块,用于在随机接入过程触发后,将所述PUSCH资源集存储至MAC层。The storage module is configured to store the PUSCH resource set in the MAC layer after the random access process is triggered.
  24. 根据权利要求23所述的终端,其中,所述终端还包括:The terminal according to claim 23, wherein the terminal further comprises:
    清除模块,用于在随机接入过程完成或者随机接入类型从2步类型转变 成4步类型的情况下,清除MAC层存储的所述PUSCH资源集。The clearing module is used to clear the PUSCH resource set stored in the MAC layer when the random access process is completed or the random access type is changed from the 2-step type to the 4-step type.
  25. 根据权利要求21所述的终端,其中,所述HARQ实体不将所述第一PUSCH资源和所述HARQ信息递交给目标HARQ进程,所述目标HARQ进程是由协议约定或者通过HARQ信息指示。The terminal according to claim 21, wherein the HARQ entity does not submit the first PUSCH resource and the HARQ information to a target HARQ process, and the target HARQ process is agreed upon by a protocol or indicated by HARQ information.
  26. 根据权利要求17所述的终端,其中,所述数据生成模块具体用于:在接收到回退随机接入响应、且MsgA缓存中未存在上行数据的情况下,指示复用和组装实体根据所述回退随机接入响应生成所述第一上行数据。The terminal according to claim 17, wherein the data generation module is specifically configured to: in the case that the backoff random access response is received and there is no uplink data in the MsgA buffer, instruct the multiplexing and assembling entity according to The fallback random access response generates the first uplink data.
  27. 根据权利要求26所述的终端,其中,在承载所述第一上行数据的逻辑信道不为公共控制信道CCCH的情况下,所述第一上行数据包括小区无线网络临时标识媒体接入控制控制单元C-RNTI MAC CE。The terminal according to claim 26, wherein, in the case that the logical channel carrying the first uplink data is not a common control channel (CCCH), the first uplink data includes a cell radio network temporary identification medium access control control unit C-RNTI MAC CE.
  28. 根据权利要求26所述的终端,其中,所述终端还包括存储模块,其中,The terminal according to claim 26, wherein the terminal further comprises a storage module, wherein,
    所述数据生成模块还用于,在MsgA缓存中存在所述第一上行数据,且第二PUSCH资源集中的第二PUSCH资源对应的TBS与所述第一上行数据大小不匹配的情况下,指示复用和组装实体对MsgA缓存中存在的所述第一上行数据进行重建或重组,得到第二上行数据;The data generation module is further configured to indicate when the first uplink data exists in the MsgA buffer and the TBS corresponding to the second PUSCH resource in the second PUSCH resource set does not match the size of the first uplink data The multiplexing and assembling entity reconstructs or reorganizes the first uplink data existing in the MsgA buffer to obtain the second uplink data;
    所述存储模块用于,将所述第二上行数据存储在MsgA缓存中。The storage module is configured to store the second uplink data in the MsgA cache.
  29. 根据权利要求26所述的终端,其中,所述终端还包括:The terminal according to claim 26, wherein the terminal further comprises:
    存储模块,用于在随机接入类型从2步类型转变成4步类型的情况下,若MsgA缓存中存在所述第一上行数据,且Msg3缓存中未存在上行数据的情况下,将所述MsgA缓存中的所述第一上行数据存储至Msg3缓存中。The storage module is used for changing the random access type from the 2-step type to the 4-step type if the first uplink data exists in the MsgA buffer and there is no uplink data in the Msg3 buffer. The first uplink data in the MsgA buffer is stored in the Msg3 buffer.
  30. 一种终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至16中任一项所述的随机接入处理方法中的步骤。A terminal, comprising: a memory, a processor, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is executed by the processor as claimed in claims 1 to 16 Steps in any one of the random access processing methods.
  31. 一种计算机可读存储介质,所述计算机可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如权利要求1至16中任一项所述的随机接入处理方法的步骤。A computer-readable storage medium having a program or instruction stored on the computer-readable storage medium, and when the program or instruction is executed by a processor, the random access processing according to any one of claims 1 to 16 is realized Method steps.
  32. 一种终端,所述终端被配置为用于执行如权利要求1至16中任一项所述的随机接入处理方法中的步骤。A terminal configured to execute the steps in the random access processing method according to any one of claims 1 to 16.
  33. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至16中任一项所述的资源选择方法。A computer program product, which is executed by at least one processor to implement the resource selection method according to any one of claims 1 to 16.
PCT/CN2021/093827 2020-05-15 2021-05-14 Random access processing method and terminal WO2021228226A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010415407.6 2020-05-15
CN202010415407.6A CN113677038B (en) 2020-05-15 2020-05-15 Random access processing method and terminal

Publications (1)

Publication Number Publication Date
WO2021228226A1 true WO2021228226A1 (en) 2021-11-18

Family

ID=78525338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/093827 WO2021228226A1 (en) 2020-05-15 2021-05-14 Random access processing method and terminal

Country Status (2)

Country Link
CN (2) CN116634597A (en)
WO (1) WO2021228226A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115336369B (en) * 2020-04-16 2024-09-13 Oppo广东移动通信有限公司 Data transmission method, terminal equipment and storage medium
WO2023115578A1 (en) * 2021-12-24 2023-06-29 北京小米移动软件有限公司 Method for enhancing hybrid automatic repeat request state, and apparatus therefor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106134098A (en) * 2014-02-16 2016-11-16 Lg电子株式会社 For the method and apparatus sending data in a wireless communication system
WO2020025023A1 (en) * 2018-08-01 2020-02-06 Oppo广东移动通信有限公司 Random access method, terminal device and network device
WO2020033672A1 (en) * 2018-08-08 2020-02-13 Qualcomm Incorporated Backoff procedure in random access
WO2020062090A1 (en) * 2018-09-28 2020-04-02 Nec Corporation Methods and devices for allocating resources in a random access procedure

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200107377A1 (en) * 2017-05-26 2020-04-02 Lg Electronics Inc. Method and user equipment for performing random access procedure
CN110769505B (en) * 2018-07-26 2023-04-18 维沃移动通信有限公司 Random access method, terminal and network equipment
TW202027552A (en) * 2018-10-09 2020-07-16 美商Idac控股公司 Simplified physical random access methods and procedures for nr-u

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106134098A (en) * 2014-02-16 2016-11-16 Lg电子株式会社 For the method and apparatus sending data in a wireless communication system
WO2020025023A1 (en) * 2018-08-01 2020-02-06 Oppo广东移动通信有限公司 Random access method, terminal device and network device
WO2020033672A1 (en) * 2018-08-08 2020-02-13 Qualcomm Incorporated Backoff procedure in random access
WO2020062090A1 (en) * 2018-09-28 2020-04-02 Nec Corporation Methods and devices for allocating resources in a random access procedure

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NOKIA (RAPPORTEUR), NOKIA SHANGHAI BELL: "Stage-2 running CR for 2-step RACH", 3GPP DRAFT; R2-2000942, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Online; 20200224 - 20200306, 13 February 2020 (2020-02-13), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051848683 *
SPREADTRUM COMMUNICATIONS: "Considerations on 2-step RACH procedure", 3GPP DRAFT; R1-1906367 CONSIDERATIONS ON 2-STEP RACH PROCEDURE, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG1, no. Reno, USA; 20190513 - 20190517, 13 May 2019 (2019-05-13), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051727817 *

Also Published As

Publication number Publication date
CN113677038B (en) 2023-07-25
CN116634597A (en) 2023-08-22
CN113677038A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
US20210153259A1 (en) Random access method and related device
WO2021037148A1 (en) Data transmission method and terminal
US11877339B2 (en) Channel access method, configuration method, terminal, and network side device
WO2021228226A1 (en) Random access processing method and terminal
US20210219128A1 (en) Method for processing terminal device capability information, terminal device, and network-side device
JP7210755B2 (en) Random access method and equipment
US11219071B2 (en) System information transmission method and user terminal
CN109561514B (en) Processing method, terminal and base station for random access process
WO2021027921A1 (en) Handover configuration method, network device, terminal device, and storage medium
CN113079581A (en) Method, terminal and network side device for reporting random access report
US20210204329A1 (en) Random access method and terminal
WO2021031907A1 (en) Method and terminal for sending random access message in unlicensed frequency band
JP7474241B2 (en) Random access method and terminal device
WO2021023219A1 (en) Method for selecting random access request resource, terminal, and network device
WO2021190543A1 (en) Random access method, random access processing method, terminal, and network device
CN112788772B (en) Beam failure recovery confirmation method, terminal equipment and storage medium
CN109195185B (en) Service processing method and related equipment
WO2021068874A1 (en) Random access and information transmission methods, terminal, and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21803228

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21803228

Country of ref document: EP

Kind code of ref document: A1