WO2020192482A1 - 随机接入方法和装置 - Google Patents

随机接入方法和装置 Download PDF

Info

Publication number
WO2020192482A1
WO2020192482A1 PCT/CN2020/079610 CN2020079610W WO2020192482A1 WO 2020192482 A1 WO2020192482 A1 WO 2020192482A1 CN 2020079610 W CN2020079610 W CN 2020079610W WO 2020192482 A1 WO2020192482 A1 WO 2020192482A1
Authority
WO
WIPO (PCT)
Prior art keywords
random access
mac
pdu
contention resolution
identifier
Prior art date
Application number
PCT/CN2020/079610
Other languages
English (en)
French (fr)
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 WO2020192482A1 publication Critical patent/WO2020192482A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • H04W74/008Transmission of channel access control information with additional processing of random access related information at receiving side
    • 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/0048Allocation of pilot signals, i.e. of signals known to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • 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

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a random access method and device.
  • the terminal device can achieve uplink synchronization with the network device through a random access (RA) process.
  • the random access process includes a contention-based random access process and a non-contention random access process.
  • the contention-based random access process is completed in four steps: The first step is to send a random access request from the terminal device to the network device.
  • the random access request can also be called message 1 (Msg1), which contains the random access preamble. (preamble);
  • the second step is for the network device to send a random access response (RAR) message to the terminal device.
  • RAR random access response
  • This RAR message can also be called message 2 (Msg2); the third step is for the terminal device to receive the RAR After that, message transmission is performed based on RAR scheduling, which may also be called message 3 (Msg3); the fourth step is for the network device to send contention resolution information to the terminal device, and the message carrying this information is called message 4 (Msg4).
  • the RAR message may include a random access preamble identifier (RAP ID), and if the RAP ID matches (or is the same) as the preamble ID selected by the terminal device, it is considered that the RAR message is received successfully. After determining that the RAR is successfully received, the terminal device does not monitor subsequent RARs.
  • RAP ID random access preamble identifier
  • the competition-based 4-step random access process requires more interaction procedures, and the delay is large, and it cannot be well applied to scenarios with high delay requirements. Therefore, a contention-based 2-step random access process is introduced.
  • a contention-based 2-step random access process is introduced.
  • the terminal device uses the above method to determine that the response message is successfully received, there is often a problem of incorrectly receiving the response message.
  • the embodiments of the present application provide a random access method and device, so that the terminal device can determine whether the response message is successfully received and whether the contention resolution is successful.
  • a random access method including:
  • the terminal device sends a request message to the network device.
  • the request message may include a random access signal and information used for contention resolution, and the random access signal is used to request random access.
  • the terminal device detects the response message to the request message.
  • the detection result is that the terminal device detects that the response message includes the MAC subPDU with the first contention resolution identifier
  • the terminal device determines that the contention resolution is successful or the random access is successful.
  • the terminal device detects that the response message includes the MAC sub-PDU with the first random access signal identifier and does not include the MAC sub-PDU with the first contention resolution identifier
  • the terminal device performs random access rollback or re-initiates Random access.
  • Random access fallback can be a fallback from a contention-based 2-step random access process to a contention-based 4-step random access process.
  • the detection result is: the terminal device detects that the response message does not include the MAC sub-PDU with the first random access signal identifier and does not include the MAC sub-PDU with the first contention resolution identifier, the terminal device re-initiates random access.
  • the first contention resolution identifier is obtained according to information used for contention resolution, and the first random access signal identifier corresponds to the random access signal.
  • an apparatus which includes: units or means for performing the steps of the first aspect above.
  • a device including a processor and an interface circuit.
  • the processor is configured to communicate with other devices through the interface circuit and execute the method provided in the above first aspect.
  • the processor includes one or more.
  • an apparatus including a processor, which is connected to a memory and used to call a program stored in the memory to execute the method provided in the above first aspect.
  • the memory can be located inside the device or outside the device.
  • the processor includes one or more.
  • a program is provided, which is used to execute the method of the first aspect above when the program is executed by a processor.
  • a sixth aspect provides a program product, such as a computer-readable storage medium, including the program provided in the fifth aspect.
  • a terminal device including any of the above devices.
  • the terminal device sends a request message to the network device, and detects a response message to the request message.
  • the terminal device determines whether the response message includes the MAC sub-PDU with the first contention resolution identifier, and may also determine whether the response message includes the MAC sub-PDU with the first random access signal identifier.
  • the contention resolution identifier of the terminal device is called the first contention resolution identifier
  • the random access signal identifier of the terminal device is called the first random access signal identifier.
  • the response message of the terminal device may include a first response to the random access signal and a second response to the information used for contention resolution.
  • the terminal device can process the parameters carried in the response message. Or, if the terminal device determines that the first response is successfully received when it is determined that it can fall back from the contention-based 2-step random access process to the contention-based 4-step random access process, the terminal device can process the parameters carried in the first response . Or, if the terminal device determines that the contention resolution fails, it determines that the response message reception fails and re-initiates random access. Through the detection of the first contention resolution identifier, the terminal device solves the problem that the terminal device mistakes the response message of other terminal devices as its own and processes it. The terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful .
  • the terminal device detects that the response message includes the MAC subPDU with the first contention resolution identifier, the response message also includes the first random access signal The identified MAC sub-PDU.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are located in the same or different MAC PDUs. .
  • the random access of the at least two terminal devices can be multiplexed into the same MAC PDU).
  • the MAC sub-PDU where the first contention resolution identifier and the first random access signal identifier of a terminal device are located can be in the same MAC PDU or in different MAC PDUs, and the terminal device can receive response messages in a more flexible manner , Extending the application scenarios.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are the same MAC sub-PDU.
  • the first contention resolution identifier and the first random access signal identifier of a terminal device are located in the same MAC subPDU.
  • the corresponding manner of the response message of the terminal device and the MAC subPDU is more flexible, and the application scenario is expanded.
  • the terminal device in the process of detecting the response message, first determines the first MAC sub-PDU set, and the first MAC sub-PDU set includes all the items in the response message.
  • the terminal device determines whether the first MAC sub-PDU set includes the MAC sub-PDU with the first contention resolution identifier.
  • the terminal device determines that the contention resolution is successful or the random access is successful.
  • the terminal device performs random access fallback or re-initiates random access.
  • the first contention resolution identifier and the first random access signal identifier of the terminal device are located in the same MAC subPDU.
  • the terminal device first detects the MAC sub-header of the MAC sub-PDU according to the first random access signal identifier, and obtains the first MAC sub-PDU set through screening. Then, the first contention resolution identifier is detected in the first MAC subPDU set. The terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • the terminal device in the process of detecting the response message, first determines the first MAC sub-PDU, and the first MAC sub-PDU has the first random access signal identifier . Then, the terminal device determines whether the first MAC subPDU has a first contention resolution identifier. When the first MAC subPDU has the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful. When all the first MAC sub-PDUs do not have the first contention resolution identifier, perform random access fallback or re-initiate random access.
  • the first contention resolution identifier and the first random access signal identifier of the terminal device are located in the same MAC subPDU.
  • the terminal device sequentially detects the MAC sub-PDUs in the MAC PDU in a certain order. It is first determined whether the MAC sub-header of the MAC sub-PDU has the first random access signal identifier, and if so, it is determined whether the load of the MAC sub-PDU has the first contention resolution identifier. The terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are different MAC sub-PDUs.
  • the first contention resolution identifier and the first random access signal identifier of a terminal device are respectively located in different MAC subPDUs.
  • the corresponding manner of the response message of the terminal device and the MAC subPDU is more flexible, which expands the application scenario.
  • the terminal device in the process of detecting the response message, first determines the second MAC sub-PDU set, and the second MAC sub-PDU set includes all the items in the response message.
  • the terminal device determines whether the second MAC sub-PDU set includes the MAC sub-PDU with the first contention resolution identifier.
  • the second MAC sub-PDU set includes the MAC sub-PDU with the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful.
  • the second MAC sub-PDU set does not include the MAC sub-PDU with the first contention resolution identifier, perform random access fallback or re-initiate random access.
  • the first contention resolution identifier and the first random access signal identifier of the terminal device are respectively located in different MAC sub-PDUs.
  • the terminal device first detects the subheader of the MAC subPDU according to the first random access signal identifier, and obtains the second MAC subPDU set through screening. Then, the first contention resolution identifier is detected in the second MAC subPDU set. The terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • the terminal device first determines the second MAC sub-PDU, and the second MAC sub-PDU has the first random access signal identifier . Then, it is determined whether the MAC sub-PDU adjacent to the second MAC sub-PDU has the first contention resolution identifier. Wherein, when the MAC subPDU adjacent to the second MAC subPDU has the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful. When all the adjacent MAC sub-PDUs of the second MAC sub-PDU do not have the first contention resolution identifier, perform random access fallback or re-initiate random access.
  • the first contention resolution identifier and the first random access signal identifier of the terminal device are respectively located in different MAC sub-PDUs.
  • the terminal device sequentially detects the MAC sub-PDUs in the MAC PDU in a certain order. It is first determined whether the MAC sub-header of the MAC sub-PDU has the first random access signal identifier, if so, and the adjacent MAC sub-PDU of the MAC sub-PDU carries the contention resolution identifier, and then the adjacent MAC sub-PDU is determined Whether the contention resolution identifier carried in the PDU is the first contention resolution identifier. The terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • the terminal device determines that the response message does not include the MAC subPDU with the first random access signal identifier, and re-initiates the random access signal identifier. Access.
  • the terminal device first detects whether the response message includes the MAC sub-PDU with the first contention resolution identifier.
  • the MAC sub-PDU with the first contention resolution identifier is not included, re-initiate random access or determine whether the response message includes the MAC sub-PDU with the first random access signal identifier.
  • the MAC sub-PDU with the first random access signal identifier is included, In the case of MAC sub-PDU, perform random access fallback.
  • the response message includes the MAC sub-PDU with the first random access signal identifier, and it is determined that the contention resolution is successful or the random access is successful.
  • the load of the MAC sub-PDU with the first random access signal identifier is processed.
  • the response message includes a MAC sub-PDU
  • the MAC sub-PDU includes a MAC sub-header
  • the MAC sub-header includes an identifier
  • the identifier is the first random access signal identifier or The first competition resolution logo.
  • the terminal device when the terminal device detects the MAC subheader, it can directly determine whether the contention resolution is successful according to the identifier, which improves the detection efficiency.
  • the MAC subheader may also include indication information.
  • the indication information is used to indicate the format of the MAC subPDU, or indicate that the MAC subheader carries the first random access
  • the signal identifier either carries the first contention resolution identifier; or indicates the length of the identifier included in the MAC subheader or the length of the MAC subheader.
  • the terminal device can determine whether the identifier in the MAC subheader is a random access signal identifier or a contention resolution identifier through the indication information carried in the MAC subheader, so that the identification in the MAC subheader can directly determine Whether the competition is successfully resolved has improved the detection efficiency.
  • the indication information may be 1 bit or 2 bits.
  • the MAC subheader may carry the first contention resolution identifier, and the load of the MAC subPDU includes one or more of the following information: uplink authorization information, timing Advance orders, TC-RNTI, and RRC messages.
  • FIG. 1 is an architecture diagram of a communication system to which an embodiment of this application is applicable;
  • FIG. 2 is an architecture diagram of another communication system to which the embodiments of this application are applicable;
  • FIG. 3 is an architecture diagram of another communication system to which the embodiments of this application are applicable.
  • Figure 4 is a message interaction diagram of an existing contention-based 4-step random access process
  • FIG. 5 is a message interaction diagram of a contention-based 2-step random access procedure involved in an embodiment of this application.
  • FIG. 6 is a schematic diagram of a MAC PDU provided by an embodiment of this application.
  • FIG. 7 is a flowchart of a random access method provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of a MAC sub-PDU provided by an embodiment of the application.
  • FIG. 9 is a flowchart of yet another random access method provided by an embodiment of this application.
  • 10 to 14 are schematic diagrams of the structure of MAC PDU and MAC sub-PDU provided by embodiments of this application;
  • FIG. 15 is a flowchart of another random access method provided by an embodiment of this application.
  • FIG. 16 is a flowchart of another random access method provided by an embodiment of this application.
  • FIG. 17 is a flowchart of another random access method provided by an embodiment of this application.
  • FIG. 18 is a flowchart of another random access method provided by an embodiment of this application.
  • FIG. 19 is a schematic structural diagram of another MAC sub-PDU provided by an embodiment of this application.
  • FIG. 20 is a schematic structural diagram of a device provided by an embodiment of this application.
  • FIG. 21 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • the communication system may include a terminal device 100 and a network device 200.
  • the embodiment of the present application does not limit the number of terminal devices 100 and network devices 200.
  • the terminal device 100 located within the coverage area of the network device 200 may communicate with the network device 200 in a wireless manner.
  • the network device 200 serves as the sender, it can send downlink information to the terminal device 100.
  • the terminal device 100 as a receiver can receive the downlink information sent by the network device 200.
  • the terminal device 100 acts as a sender, it can send uplink information to the network device 200.
  • the network device 200 can receive the uplink information sent by the terminal device 100.
  • the terminal device 100 may be a fixed location, or it may be movable.
  • the communication system may also include other devices.
  • the communication system may also include core network equipment (not shown in FIG. 1).
  • the network device 200 may be connected to the core network device in a wireless or wired manner.
  • the core network device and the network device 200 can be separate and different physical devices, or the functions of the core network device and the network device 200 can be integrated on the same physical device, or the core network device can be integrated on the same physical device Part of the function and part of the function of the network device 200.
  • the communication system may also include a wireless relay device or a wireless backhaul device (not shown in FIG. 1).
  • the network device 200 is a device for transmitting and receiving signals on the network side, for example, a radio access network (RAN) node that connects a terminal device to a wireless network.
  • RAN nodes are: new radio access technology (NR) (or 5G) systems in the new generation of base stations (generation Node B, gNB), transmission reception point (transmission reception point, TRP) , Evolved Node B (evolved Node B, eNB), radio network controller (RNC), Node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (BBU), relay station, or wireless fidelity (Wifi) access point (access point, AP) etc.
  • NR new radio access technology
  • gNB new radio access technology
  • TRP transmission reception point
  • RNC radio network controller
  • Node B Node B
  • a network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node.
  • the wireless coverage area of the network device 200 may include one or more cells.
  • the terminal device 100 within the coverage of the cell communicates with the network device 200 through the transmission resource (for example, frequency domain resource, spectrum resource, or time-frequency resource) of the cell.
  • the cell may be a macro cell or a small cell (small cell).
  • the small cell may include: a metro cell, a micro cell, a pico cell, or a femto cell, etc.
  • the embodiment of the present application does not limit the specific technology and specific device form adopted by the network device 200.
  • the terminal device 100 also known as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides users with voice/data connectivity , For example, handheld devices with wireless connectivity, or in-vehicle devices.
  • terminal devices are: mobile phones (mobile phones), tablet computers, notebook computers, palmtop computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented Augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), wireless terminals in self-driving (self-driving), wireless terminals in remote medical surgery, and smart grid (smart grid)
  • the network architecture includes core network (CN) equipment and RAN equipment.
  • the RAN equipment includes a baseband device and a radio frequency device.
  • the baseband device can be implemented by one node or by multiple nodes.
  • the radio frequency device can be implemented remotely from the baseband device, or integrated into the baseband device, or partially remote Integrated in the baseband device.
  • the RAN equipment (eNB) includes a baseband device and a radio frequency device.
  • the radio frequency device can be arranged remotely from the baseband device, such as a remote radio unit (radio unit).
  • RRU is arranged farther away from the BBU.
  • the control plane protocol layer structure may include the radio resource control (RRC) layer, the packet data convergence protocol (PDCP) layer, the radio link control (RLC) layer, and the media interface. Access control (media access control, MAC) layer and physical layer and other protocol layer functions.
  • RRC radio resource control
  • PDCP packet data convergence protocol
  • RLC radio link control
  • MAC media access control
  • the user plane protocol layer structure can include the functions of the PDCP layer, the RLC layer, the MAC layer, and the physical layer; in one implementation, the PDCP layer can also include a service data adaptation protocol (SDAP) layer .
  • SDAP service data adaptation protocol
  • the functions of these protocol layers may be implemented by one node, or may be implemented by multiple nodes; for example, in an evolution structure, the RAN device may include CUs and DUs, and multiple DUs may be centrally controlled by one CU. As shown in Figure 2, CU and DU can be divided according to the protocol layer of the wireless network. For example, the functions of the PDCP layer and above are set in the CU, and the protocol layers below the PDCP, such as the RLC layer and MAC layer, are set in the DU.
  • This type of protocol layer division is just an example, it can also be divided in other protocol layers, for example, in the RLC layer, the functions of the RLC layer and above protocol layers are set in the CU, and the functions of the protocol layers below the RLC layer are set in the DU; Or, in a certain protocol layer, for example, part of the functions of the RLC layer and the functions of the protocol layer above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layer below the RLC layer are set in the DU. In addition, it can also be divided in other ways, for example, by time delay, and functions that need to meet the delay requirement for processing time are set in the DU, and functions that do not need to meet the delay requirement are set in the CU.
  • the radio frequency device can be remote, not placed in the DU, can also be integrated in the DU, or part of the remote part is integrated in the DU, and there is no restriction here.
  • control plane (CP) and the user plane (UP) of the CU can also be separated and divided into different entities for implementation. They are the control plane CU entity (CU-CP entity). ) And the user plane CU entity (CU-UP entity).
  • the signaling generated by the CU can be sent to the terminal device through the DU, or the signaling generated by the terminal device can be sent to the CU through the DU.
  • the DU can directly pass the protocol layer encapsulation without analyzing the signaling and transparently transmit it to the terminal device or CU. If the following embodiments involve the transmission of such signaling between the DU and the terminal device, at this time, the sending or receiving of the signaling by the DU includes this scenario.
  • the RRC or PDCP layer signaling will eventually be processed as the PHY layer signaling and sent to the terminal device, or converted from the received PHY layer signaling.
  • the RRC or PDCP layer signaling can also be considered to be sent by the DU, or sent by the DU and radio frequency.
  • the CU is divided into network equipment on the RAN side.
  • the CU can also be divided into network equipment on the CN side, which is not limited here.
  • the network device in each embodiment of the present application may be a CU node, or a DU node, or a RAN device including a CU node and a DU node.
  • the terminal equipment can realize the uplink synchronization with the network equipment through the random access process.
  • FIG. 4 is a message interaction diagram of an existing contention-based random access process. As shown in Figure 4, this process mainly includes 4 steps, so it can be called a 4-step random access process.
  • the terminal device sends a random access request to the network device.
  • the random access request may also be referred to as message 1 (Msg1), which includes a random access preamble.
  • the network device receives the preamble, knows that a terminal device requests access, and then executes the following step S402.
  • the network device sends a random access response (RAR) message to the terminal device.
  • RAR random access response
  • the RAR message may also be referred to as message 2 (Msg2).
  • RAR may include the following contents: 1) RAPID, RAPID is the preamble index (preamble index) obtained by the network device when detecting the preamble. 2) Timing advance command (timing advance command, or TA command). The TA command is used to specify the amount of time adjustment (also called timing advance) required for the terminal device to perform uplink synchronization. 3) Uplink grant information (UL grant), UL grant is used to specify the uplink resources allocated by the network device to the terminal device to send Msg3 (message 3). 4) Temporary cell radio network temporary identity (TC-RNTI), used for subsequent data transmission between terminal equipment and network equipment.
  • TC-RNTI Temporary cell radio network temporary identity
  • the terminal device calculates the random access radio network temporary identifier (RA-RNTI) by sending the time-frequency resource of the preamble, and monitors the RA-RNTI scrambled physical downlink control within the RAR time window Channel (physical downlink control channel, PDCCH) to receive the RAR corresponding to the RA-RNTI.
  • RA-RNTI random access radio network temporary identifier
  • PDCCH physical downlink control channel
  • the terminal device uses the timing advance indicated by the network device to send Msg3 (message 3) to the network device on the uplink resources allocated by the network device according to the RAR.
  • Msg3 contains the identification of the terminal device.
  • the identification of the terminal device will be used for contention resolution in S404.
  • the network device sends Msg4 (message 4) to the terminal device.
  • Msg4 may include contention resolution information to indicate successful contention resolution.
  • the contention resolution information may be part of the content of Msg3, or the entire content of Msg3, or a PDCCH scrambled by a cell radio network temporary identifier (C-RNTI).
  • C-RNTI cell radio network temporary identifier
  • the terminal device waits to receive Msg4 within the contention resolution timer. If the contention resolution timer expires and the terminal device has not received the contention resolution information, it returns to S401 to perform a 4-step random access based on contention again.
  • FIG. 5 is a message interaction diagram of a 2-step random access process provided by an embodiment of the application.
  • the random access procedure may include:
  • S501 The terminal device sends a request message to the network device.
  • the network device receives the request message sent by the terminal device.
  • the request message may include a random access signal and information for contention resolution.
  • the random access signal is used to request random access.
  • the network device can detect the random access signal and learn that a terminal device requests random access.
  • the implementation of random access signals may be different.
  • the random access signal may be a preamble (preamble), a demodulation reference signal (DMRS), or other detection signals used for random access.
  • preamble preamble
  • DMRS demodulation reference signal
  • the embodiment of the present application does not limit the implementation manner, length, name, etc. of the random access signal.
  • the information used for contention resolution is sent by the terminal equipment to the network equipment for contention resolution.
  • the information used for contention resolution may include the identification of the terminal device.
  • the identification of the terminal device may be related to the state of the terminal device in the communication system. For example, when the terminal device is in the RRC connected state (RRC_CONNECTED state), the identifier of the terminal device may be a cell radio network temporary identifier (C-RNTI). When the terminal device is in a non-RRC connection state, the identifier of the terminal device may be the terminal device identifier from the core network.
  • the terminal device identifier from the core network may be a system architecture evolution temporary mobile station identifier (S-TMSI) or a random number.
  • S-TMSI system architecture evolution temporary mobile station identifier
  • the network device sends a response message to the request message to the terminal device.
  • the terminal device receives the response message to the request message sent by the network device.
  • the terminal device when the terminal device detects that the random access signal identifier carried in the response message is the same as the identifier of the random access signal sent by the terminal device, it considers that the response message is successfully received, and starts to process the parameters contained in the response message, for example, Uplink authorization information, timing advance command or TC-RNTI.
  • the response messages for the random access of the at least two terminal devices can be multiplexed into the same MAC protocol data unit (protocol data unit, PDU).
  • the MAC PDU includes response messages for random access requests for different terminal devices, but the response messages include the same random access signal identifier.
  • the response message For one of the terminal devices, if it still detects the response message including the random access signal identifier according to the prior art method, it is considered that the response message is received successfully and starts to process the parameters contained in the response message.
  • the processing of the response message of the terminal device causes the terminal device to misjudge that the response message is successfully received, and the content of the response message of other terminal devices is processed, resulting in a decrease in subsequent communication quality.
  • the terminal device 1 and the terminal device 2 send the same random access signal to the network device in the same time-frequency resource to request random access.
  • the network device responds to random access requests of terminal device 1 and terminal device 2, and sends response messages to terminal devices 1 and 2, and multiplexes the response messages to terminal devices 1 and 2 into the same MAC PDU for transmission.
  • FIG. 6 is a schematic diagram of a MAC PDU provided by an embodiment of the application.
  • the MAC PDU includes the response message 1 of the terminal device 1 and the response message 2 of the terminal device 2.
  • the response message 1 and the response message 2 appear in the form of MAC sub-PDUs, and each MAC sub-PDU includes MAC Subheader and load.
  • the MAC subheader includes the random access signal identifier. Since the terminal device 1 and the terminal device 2 send the same random access signal to request random access, the random access signal identifiers in the response message 1 and the response message 2 are the same. If the terminal device 2 first detects that the random access signal identifier carried in the response message 1 is the same as the identifier of the random access signal sent by itself, the terminal device 2 considers that the response message is successfully received and starts to process the parameters contained in the response message 1 load . However, the response message 1 is the response message of the terminal device 1, so the terminal device 2 mistakenly believes that its response message is successfully received.
  • the load may include the contention resolution identification of the terminal device 1, but the terminal device 2 does not find its own contention resolution identification and mistakenly believes that it has failed in the contention resolution. Or, the terminal device 2 mistakenly uses the parameters in the load of the terminal device 1 as its own parameters, for example, uses the TA command of the terminal device 1 as its own TA command, which causes the subsequent uplink transmission time adjustment amount to be wrong. The transmission failed.
  • the response messages of different terminal devices are multiplexed in the same MAC PDU as an example. When the response messages of different terminal devices are sent through different MAC PDUs, they will use the same random access RNTI (random access RNTI, RA-RNTI). ) Scrambling, so the above problems also exist.
  • the embodiment of the present application provides a random access method.
  • a terminal device detects whether the response message is successfully received, it detects whether the response message includes the contention resolution identifier of the terminal device, and includes the contention resolution of the terminal device.
  • the identification is performed, it is determined that the response message is received successfully (or the contention resolution is successful, or the random access is successful), and then the parameters included in the response message are processed.
  • the terminal device can accurately determine whether the response message is successfully received or whether the contention resolution is successful, thereby greatly reducing the probability of misjudgment of the response message.
  • the random access signal identifier of the terminal device may be referred to as the first random access signal identifier
  • the contention resolution identifier of the terminal device may be referred to as the first contention resolution identifier
  • the response messages corresponding to different terminal devices can be multiplexed in the same MAC PDU, but it is not limited that the response messages corresponding to terminal devices that send random access signals on the same time-frequency resource must be multiplexed in the same MAC PDU. . It may depend on the implementation on the network side. For example, the response messages corresponding to all terminal devices that send random access signals on the same time-frequency resource can be multiplexed in the same MAC PDU for delivery, or carried in different MAC PDUs Delivered, or part of the bearer is delivered in the same MAC PDU.
  • Fig. 7 is a flowchart of a random access method provided by an embodiment of the application.
  • the random access method provided in this embodiment may be executed by a device.
  • the device may be suitable for terminal equipment.
  • the execution subject is a terminal device as an example for description.
  • the random access method includes:
  • the request message may include a random access signal and information used for contention resolution, and the random access signal is used to request random access.
  • the network device sends a response message to the request message to the terminal device. Accordingly, the terminal device performs the following operations:
  • terminal device A and terminal device B send random access signals to the network device in the same time-frequency resource, and the random access signals selected by terminal device A and terminal device B have the same identification, for example, identification a.
  • the terminal device A sends information 1 for contention resolution to the network device, and the terminal device B sends information 2 for contention resolution to the network device.
  • the identifier of the random access signal sent by the terminal device C to the network device is the identifier c.
  • terminal device A For terminal device A, terminal device A detects the response message to the request message, which may include:
  • the terminal device A determines whether the contention resolution identifier 1 of the terminal device A is included in the response message to the request message. Among them, the competition resolution identification 1 is obtained based on the information 1 used for competition resolution. Optionally, the terminal device A may also determine whether the random access signal identifier a of the terminal device A is included in the response message of the request message. Wherein, the random access signal identifier a corresponds to the random access signal A.
  • the terminal device A detects the MAC sub-PDU in the MAC PDU.
  • the MAC sub-PDU may carry the contention resolution identifier or not.
  • the carried competition resolution identification may be competition resolution identification 1, or may not be competition resolution identification 1, for example, it may be competition resolution identification 2 of terminal device B.
  • the competition resolution indicator 2 is obtained based on the information 2 used for competition resolution. If the contention resolution identifier carried by the MAC sub-PDU is the contention resolution identifier 1, the MAC sub PDU may be referred to as a "MAC sub PDU with the first contention resolution identifier", that is, the MAC sub PDU with the contention resolution identifier 1.
  • the MAC sub-PDU may or may not carry the random access signal identifier.
  • the carried random access signal identifier may be random access signal identifier a, or may not be random access signal identifier a, for example, it may be the random access signal identifier c of terminal device C.
  • the random access signal identifier c corresponds to the random access signal C. If the random access signal identifier carried by the MAC sub-PDU is the random access signal identifier a, the MAC sub-PDU can be called "MAC sub-PDU with the first random access signal identifier", that is, it has the random access signal identifier MAC sub-PDU of a.
  • the response message here refers to the response message to the request message of the terminal device.
  • the response message may be located in the MAC PDU, and may appear in the form of a MAC sub-PDU in the MAC PDU.
  • the MAC PDU may include response messages of other terminal devices.
  • a response message for a terminal device may include a first response to the random access signal and a second response to information for contention resolution.
  • the first response includes a first random access signal identifier and a payload
  • the second response may be called a contention resolution message and includes the first contention resolution identifier.
  • the response message may include only the first response or only the second response, or Both the first response and the second response are included.
  • first response and the second response may be located in the same MAC subPDU (MAC subPDU), or may be located in different MAC subPDUs.
  • first response and the second response may be located in different MAC PDUs, and may be MAC sub-PDUs in different MAC PDUs.
  • the contention resolution message may include a first contention resolution identifier, the first contention resolution identifier being obtained based on information used for contention resolution, for example, all or part of the information used for contention resolution.
  • the information used for contention resolution may be the identification of the terminal device, and reference may be made to the description in step S501 above, which will not be repeated here.
  • the payload (Payload) in the first response may also include part or all of the content in the RAR in the 4-step random access process based on competition. For example, it may include one or any combination of the following information: UL grant, TA command, TC-RNTI and RRC message.
  • the RRC message is related to the random access trigger mode, and the corresponding relationship can be seen in Table 1.
  • the network device determines whether to obtain the random access signal sent by the terminal device according to the request message sent by the terminal device, and determines whether to obtain the random access signal sent by the terminal device.
  • Information used for competition resolution If the network device obtains the random access signal and obtains the information for contention resolution, the network device can obtain the first random access signal identifier according to the random access signal, and can also obtain the first random access signal identifier according to the The information of the competition resolution obtains the first competition resolution identification.
  • the response message of the terminal device may include the first random access signal identifier and the first contention resolution identifier.
  • the response message of the terminal device may include the first contention resolution identifier. If the network device obtains the random access signal and does not obtain the information for contention resolution, then the response message of the terminal device may include the first random access signal identifier.
  • the embodiment of the application does not limit the implementation manner, length, and name of the random access signal identifier.
  • the random access signal is different, the random access signal identifier can be different.
  • the random access signal identifier may be a random access preamble identifier (Random Access Preamble Identifier, RAPID).
  • RAPID can be 6 bits in length.
  • This embodiment does not limit the length and implementation of the contention resolution identifier.
  • the contention resolution identifier may be a 48-bit UE Contention Resolution Identity MAC CE (UE contention resolution identifier MAC CE).
  • the terminal device detects the response message to the request message, there may be three situations, respectively, see S703 to S705.
  • the terminal device detects the response message, and when it is detected that the response message includes the MAC subPDU with the first contention resolution identifier, the terminal device can determine that the contention resolution is successful or the random access is successful. Alternatively, the terminal device may determine that the response message is successfully received. At this time, if the response message further includes other parameters, the terminal device may process the parameters carried in the response message.
  • the first contention resolution identifier here refers to the contention resolution identifier of the terminal device, that is, the contention resolution identifier obtained according to the information for contention resolution in step S701, in the data packet (MAC PDU) where the response message of the terminal device is located It may also include response messages from other terminal devices, and further may include contention resolution identifications of other terminal devices.
  • the terminal device considers that the contention resolution is successful or the random access is successful or the response message is received successfully when it detects its first contention resolution identification. In this way, even if the random access signal identifiers of different terminal devices are the same, it will not cause misjudgment.
  • the response message may also include the first response to the random access signal, that is, the response message may also include the MAC sub-PDU identified by the first random access signal.
  • the load in the first response is the same as described above, for example, it may include one or more of the following information: uplink grant information, timing advance command, TC-RNTI and RRC message (ie, any one of these information Item, any two items, any three items, or all four items), of course, the load in the first response may not carry this information.
  • the terminal device may process the load of the MAC subPDU with the first random access signal identifier, for example, the uplink authorization information, timing advance command, TC-RNTI Or RRC message for processing.
  • the first random access signal identifier for example, the uplink authorization information, timing advance command, TC-RNTI Or RRC message for processing.
  • Random access fallback refers to a fallback from a contention-based 2-step random access process to a contention-based 4-step random access process.
  • the terminal device detects that the response message does not include the MAC subPDU with the first contention resolution identifier, that is, the terminal device does not detect its own contention resolution identifier, and therefore the contention resolution fails, that is, the random access fails, the terminal device can Re-initiate random access.
  • the terminal device can Re-initiate random access.
  • two-step random access can be re-initiated, or four-step random access can be re-initiated. It can be seen that when the terminal device fails to receive the second response, it can re-initiate random access regardless of the reception of the first response.
  • the terminal device may also consider the reception of the first response, and based on the reception of the first response. Circumstances to perform operations.
  • the terminal device when the terminal device detects the MAC subPDU with the first random access signal identifier, it indicates that the first response is successfully received, so it can process the parameters carried in the first response load, such as uplink authorization information, timing advance command or TC -RNTI. At this time, based on the parameters in the first response load, fall back to four-step random access. For example, the terminal device performs the operation shown in S403 in FIG. 4. For another example, when the terminal device does not detect the MAC sub-PDU with the first random access signal identifier, it indicates that the reception of the first response has failed, so random access is performed again.
  • the first random access signal identifier here refers to the identifier corresponding to the random access signal sent by the terminal device in step S701.
  • the data packet in which the response message of the terminal device is located may include the response message of other terminal devices, and further include identifiers corresponding to other random access signals.
  • MAC subPDU a specific structure of the MAC subPDU is taken as an example to briefly describe the random access rollback or re-initiation of random access.
  • the terminal device performs random access fallback or re-initiates random access in different MAC sub-PDU structures, please refer to the detailed description in the embodiments shown in FIG. 15-19.
  • Fig. 8 is a schematic structural diagram of a MAC sub-PDU provided by an embodiment of the application.
  • Figure 8 (a) shows the general structure of the MAC subPDU.
  • the MAC sub-PDU includes a MAC subheader (MAC subheader) and a load.
  • MAC subheader MAC subheader
  • this embodiment does not limit the name, included content, and length of the load, which may be different in different communication systems and different scenarios.
  • the load in a contention-based 4-step random access process, when the content of the load only includes contention resolution messages, the load can also be referred to as the UE contention resolution identity MAC control element (Contention Resolution Identity MAC CE).
  • Contention Resolution Identity MAC CE Contention Resolution Identity
  • Figure 8 (b) shows a specific structure of the MAC subPDU.
  • the random access response is the load of the first response, and in the structure shown in this embodiment, it is located in the load of the MAC sub-PDU.
  • the content of the random access response may include information in the existing RAR load, such as one or more of uplink authorization information, timing advance command, TC-RNTI, and RRC message. As shown in FIG.
  • the MAC sub-PDU may include: random access signal identification, random access response and contention resolution identification.
  • the MAC subheader may carry the random access signal identifier
  • the load of the MAC subPDU may carry the random access response and contention resolution identifier.
  • one MAC subPDU corresponds to a response message of a terminal device.
  • the MAC PDU includes 10 MAC sub-PDUs.
  • the load of each MAC sub-PDU carries the random access response and contention resolution identification.
  • the terminal device detects three MAC sub-PDUs with the first random access signal identifier.
  • none of the contention resolution identifiers carried by the three MAC subPDUs is the first contention resolution identifier of the terminal device.
  • the terminal device fails to resolve the contention and fails to receive the response message, and re-initiates random access.
  • the MAC PDU includes 10 MAC sub-PDUs, which are marked as MAC sub-PDUs 1-10.
  • the loads of MAC sub-PDUs 1 to 9 all carry random access response and contention resolution identification.
  • the load of the MAC subPDU 10 only carries the random access response.
  • the terminal device detects three MAC sub-PDUs with the first random access signal identifier, namely MAC sub-PDUs 1, 2, and 10.
  • the load of MAC sub PDU 1 and 2 carries the random access response and the contention resolution identifier, but the contention resolution identifier carried by these two MAC sub PDUs is not the first contention resolution identifier of the terminal device, and the load of MAC sub PDU 10 Carry only random access response.
  • the random access response carries uplink authorization information, timing advance command and TC-RNTI.
  • the terminal device may consider that the first response is received successfully or the random access response is received successfully, and process the parameters carried in the random access response, such as uplink authorization information, timing advance command and TC-RNTI. And it is determined that it is possible to fall back from the contention-based 2-step random access process to the contention-based 4-step random access process, the terminal device will perform the operation shown in S403 in FIG. 4 or the terminal device will re-initiate random access.
  • the terminal device detects that the response message does not include the MAC subPDU with the first contention resolution identifier, and fails to obtain its own contention resolution identifier, indicating that the contention resolution has failed. The terminal device also failed to obtain the MAC subPDU with the first random access signal identifier, indicating that the random access request failed. At this time, the terminal device re-initiates random access.
  • the random access for retransmission may be two-step random access or four-step random access.
  • the MAC sub-PDU with the first random access signal identifier may have no load, that is, the first response may have no load.
  • the terminal device may not need uplink authorization information and TC-RNTI. If the terminal device does not need a timing advance command, for example, in a small cell, the MAC sub-PDU with the first random access signal identifier may not have a load.
  • This embodiment provides a random access method, including: a terminal device sends a request message to a network device, and detects a response message to the request message. In the process of detecting the response message, the terminal device determines whether the response message includes the MAC sub-PDU with the first contention resolution identifier, and may also determine whether the response message includes the MAC sub-PDU with the first random access signal identifier.
  • the terminal device When determining that the contention resolution is successful, the terminal device also determines that the response message is successfully received, and processes the parameters carried in the response message; or, when determining that it can fall back from the contention-based 2-step random access process to the contention-based 4-step random access process
  • the terminal device When it is determined that the first response is received successfully, the parameters carried in the first response are processed; or, when it is determined that the contention resolution fails, it is determined that the response message has failed to be received and random access is reinitiated.
  • the random access method provided in this embodiment solves the problem that the terminal device mistakes the response message of other terminal devices as its own and processes it by detecting the first contention resolution identifier, and the terminal device can accurately determine the response message Whether the reception is successful and whether the competition resolution is successful.
  • the embodiment of the application does not limit the detection method of the response message by the terminal device.
  • the first contention resolution identification may be detected first, and then the first random access signal identification may be considered; or the first random access signal identification may be detected first and then considered The first competition resolution identification; or, detect both at the same time.
  • FIG. 9 is a flowchart of another random access method provided by an embodiment of the application. Based on the embodiment shown in FIG. 7, this embodiment provides a specific implementation manner of detecting the response message to the request message in S702.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier may be the same MAC sub-PDU or different MAC sub-PDUs.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are located in the same or different MAC PDU.
  • detecting a response message to a request message may include:
  • the terminal device determines whether the response message includes the MAC sub-PDU with the first contention resolution identifier.
  • the detection result may include three types, see S902 to S904 respectively.
  • the terminal device determines that the response message does not include the MAC subPDU with the first contention resolution identifier, indicating that the contention resolution has failed, determines that the response message is not successfully received, and the terminal device re-initiates random access.
  • the terminal device determines that the response message does not include the MAC sub-PDU with the first contention resolution identifier but only includes the MAC sub-PDU with the first random access signal identifier. At this time, the terminal device can consider that the first response to the random access request is successfully received, and process the parameters carried in the first response, such as uplink authorization information, timing advance command or TC-RNTI, and determine that the contention-based 2
  • the one-step random access process is rolled back to the contention-based four-step random access process, and the terminal device will perform the operation shown in S403 in FIG. 4.
  • the terminal device can also re-initiate random access.
  • the response message includes the MAC sub-PDU with the first random access signal identifier, and it is determined that the contention resolution is successful or the random access is successful.
  • the terminal device determines that the response message includes the MAC subPDU with the first contention resolution identifier, indicating that the contention resolution is successful or the random access is successful. At this time, the response message also includes the MAC subPDU with the first random access signal identifier. The terminal device determines that the response message is successfully received, and can process the parameters carried in the response message, such as uplink authorization information, timing advance command, TC-RNTI , And one or more of RRC messages.
  • the terminal device in the process of detecting the response message, the terminal device first determines whether the response message includes the MAC sub-PDU with the first contention resolution identifier. When it includes, the terminal device also determines that the response message is successfully received when it determines that the contention resolution is successful, and processes the parameters carried in the response message. When it is not included, the terminal device determines that the contention resolution fails and the response message reception fails, and re-initiates random access. Or, when it is not included, the terminal device determines that it can fall back from the contention-based 2-step random access process to the contention-based 4-step random access process, determines that the first response to the random access request is successfully received, and processes the first A parameter carried in the response. In the random access method provided in this embodiment, by detecting the first contention resolution identifier, the terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • the structure of MAC PDU and MAC sub-PDU is involved. It should be noted that the random access method provided in the embodiment of the present application may be applicable to different MAC PDU and MAC sub-PDU structures. In different MAC PDU and MAC sub-PDU structures, the method for the terminal device to detect the response message may be different. In the following, the structure of the MAC PDU and the MAC sub-PDU provided in the embodiments of the present application will be described with reference to FIG. 10 to FIG. 14.
  • the response message of one terminal device may be located in the same MAC PDU.
  • a response message of a terminal device corresponds to a MAC sub-PDU in the MAC PDU.
  • the response message of the terminal device is designed as follows: if the response message includes the contention resolution identifier, the MAC subheader of the MAC subPDU includes the random access signal identifier, and the load of the MAC subPDU may include the random access response and the contention resolution identifier.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the content included in the MAC subPDU corresponding to the response message of a terminal device may be any of the following:
  • MAC subheader including: random access signal identification
  • MAC sub-PDU load including: contention resolution identification
  • MAC subheader including: random access signal identification; MAC sub-PDU load, including: random access response and contention resolution identification.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • MAC subheader including: random access signal identification; MAC subPDU load, including: random access response.
  • the random access response includes at least uplink authorization information, timing advance command and TC-RNTI.
  • MAC sub-header including: random access signal identification.
  • the MAC sub-PDU has no load.
  • the response message of one terminal device may be located in the same MAC PDU.
  • the response message of a terminal device corresponds to two adjacent MAC sub-PDUs in the MAC PDU.
  • the response message of the terminal device is designed as follows: if the response message includes the contention resolution identifier, one of the MAC subPDUs includes the random access signal identifier and the random access response, and the other MAC subPDU includes the contention resolution identifier.
  • the random access signal identifier is located in the subheader of the MAC subPDU, and the load of the MAC subPDU may include the random access response.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the contention resolution identifier is located in the load of another MAC subPDU.
  • the MAC sub-PDU including the contention resolution identifier may be located before or after the MAC sub-PDU including the random access signal identifier.
  • the content included in the two adjacent MAC sub-PDUs corresponding to the response message of one terminal device may be any of the following:
  • the MAC subheader of one of the MAC subPDUs includes: a random access signal identifier, and the MAC subPDU has no load.
  • the load of the other MAC subPDU includes the contention resolution identifier.
  • the MAC subheader of one of the MAC subPDUs includes a random access signal identifier
  • the load of the MAC subPDU includes a random access response.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the load of the other MAC subPDU includes the contention resolution identifier.
  • the MAC subheader of one of the MAC subPDUs includes: a random access signal identifier
  • the load of the MAC subPDU includes: a random access response.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages. For example, it includes uplink authorization information, timing advance command and TC-RNTI.
  • the response message of a terminal device only includes the MAC sub-PDU with the random access signal identifier, and does not include the MAC sub-PDU with the contention resolution identifier.
  • the MAC sub-PDU of the terminal device can be followed by the MAC sub-PDU of other terminal devices.
  • the response message of one terminal device may be located in the same MAC PDU.
  • the MAC sub-PDUs carrying the contention resolution identification are arranged in a centralized manner
  • the MAC sub-PDUs carrying the random access signal identification are arranged in a centralized manner.
  • the MAC sub-PDUs carrying the contention resolution identifier are arranged at the back end of the MAC PDU
  • the MAC sub-PDUs carrying the random access signal identifier are arranged at the front end of the MAC PDU.
  • the front-end and back-end here refer to the position of the MAC sub-PDU carrying the random access signal identifier relative to the position of the MAC sub-PDU carrying the contention resolution identifier in the MAC PDU, and does not limit the MAC sub-PDU carrying the random access signal identifier. Whether there are other sub-PDUs before the sub-PDU, and whether there are other sub-PDUs after the MAC sub-PDU carrying the contention resolution identifier. Optionally, in another arrangement, the order is reversed.
  • the MAC sub-PDUs carrying the random access signal identifier are arranged at the back end of the MAC PDU, and the MAC sub-PDUs carrying the contention resolution identifier are arranged at the front end of the MAC PDU.
  • the contention resolution identifiers respectively corresponding to multiple terminal devices may correspond to an independent MAC sub-PDU, that is, one MAC sub-PDU may include contention resolution identifiers of multiple terminal devices.
  • the contention resolution identifier of each terminal device corresponds to an independent MAC subPDU, as shown in FIG. 12 for details.
  • the response message of a terminal device can correspond to two MAC sub-PDUs in the MAC PDU.
  • the response message of the terminal device is designed as follows: if the response message includes a contention resolution identifier, one of the MAC subPDUs includes a random access signal identifier and a random access response.
  • the random access response may include uplink authorization information, timing advance commands, and TC-RNTI And 0 item, any item, any two items, any three items, or all four items in the RRC message.
  • the other MAC subPDU includes a contention resolution indicator.
  • the content of the two MAC sub-PDUs corresponding to the response message of a terminal device can be referred to for two adjacent MAC sub-PDUs in the second implementation. What's included separately. The difference is that, in the second implementation manner described above, two MAC sub-PDUs corresponding to a response message of a terminal device are adjacent. In this implementation manner, if the contention resolution identifier of each terminal device corresponds to an independent MAC subPDU, the two MAC subPDUs corresponding to the response message of one terminal device are not adjacent.
  • contention resolution identifiers corresponding to multiple terminal devices can correspond to an independent MAC sub-PDU
  • the two MAC sub-PDUs corresponding to the response message of one terminal device are not adjacent, and the MAC with the contention resolution identifier of the terminal device
  • the load of the sub-PDU also includes the contention resolution identification of other terminal devices.
  • the response message of one terminal device may be located in two MAC PDUs.
  • the MAC sub-PDU carrying the contention resolution identifier is located in one MAC PDU
  • the MAC sub-PDU carrying the random access signal identifier is located in another MAC PDU.
  • the response message of a terminal device may correspond to one MAC sub-PDU in one MAC PDU and one MAC sub-PDU in another MAC PDU.
  • the response message of the terminal device is designed as follows: if the response message includes the contention resolution identifier, one MAC sub-PDU in one MAC PDU includes the random access signal identifier and the random access response, and the random access response may include uplink authorization information and timing advance 0 items, any one item, any two items, any three items, or all four items in the command, TC-RNTI and RRC messages.
  • One of the MAC sub-PDUs in the other MAC PDU includes the contention resolution identifier.
  • the number and structure of the MAC sub-PDU carrying the contention resolution identifier refer to the description in the third implementation manner, which will not be repeated here.
  • the content of the two MAC sub-PDUs corresponding to the response message of a terminal device can be referred to in the above-mentioned third implementation for the two MAC sub-PDUs. content.
  • the difference is that in the third implementation manner, the two MAC sub-PDUs corresponding to the response message of one terminal device are in the same MAC PDU.
  • the two MAC sub-PDUs corresponding to the response message of a terminal device are in different MAC PDUs.
  • the response message of one terminal device may be located in one MAC PDU.
  • a response message of a terminal device can correspond to a MAC sub-PDU in the MAC PDU.
  • the MAC subPDU includes a MAC subheader, and the MAC subheader includes an identifier, and the identifier may be a random access signal identifier or a contention resolution identifier.
  • the response message of the terminal device is designed as follows: if the response message includes the contention resolution identifier, the contention resolution identifier is carried in the MAC subheader of the MAC subPDU.
  • the load of the MAC subPDU may include a random access response.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages. If the response message includes the random access signal identifier and does not include the contention resolution identifier, the random access signal identifier is carried in the MAC subheader of the MAC subPDU. The load of the MAC subPDU may include a random access response. Among them, the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the content included in the MAC subPDU corresponding to the response message of a terminal device may be any of the following:
  • MAC sub-header including: contention resolution identification.
  • the terminal device successfully resolves the contention and is in the RRC_CONNECTED state.
  • the terminal equipment may not need uplink authorization information, TC-RNTI and timing advance commands, for example, in a small cell scenario.
  • MAC sub-header including: contention resolution identification
  • MAC sub-PDU load including: random access response.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • MAC subheader including: random access signal identification; MAC subPDU load, including: random access response.
  • the random access response may include 0 items, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the response message when it is detected that the response message includes the MAC sub-PDU with the first contention resolution identifier, the response message may also include the first random access signal identifier. MAC sub-PDU.
  • the response message includes both the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are the same MAC sub-PDU.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are different MAC sub-PDUs.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier may be located in the same or different MAC PDUs .
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are located in the same MAC PDU.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are located in different MAC PDUs.
  • FIG. 15 is a flowchart of another random access method provided by an embodiment of this application. Based on the embodiment shown in FIG. 7, this embodiment provides a specific implementation manner of detecting the response message to the request message in S702. As shown in Figure 15, in the random access method provided in this embodiment, in S702, detecting a response message to a request message may include:
  • the first MAC sub-PDU set includes all MAC sub-PDUs with the first random access signal identifier in the response message.
  • S1502. Determine whether the first MAC sub-PDU set includes a MAC sub-PDU with a first contention resolution identifier.
  • the detection response message may also include:
  • the response message does not include the MAC sub-PDU with the first random access signal identifier, and random access is re-initiated.
  • the terminal device may perform the following steps:
  • Step 11 The terminal device sequentially detects the MAC sub-headers of the MAC sub-PDUs in the MAC PDU according to the first preset order, and determines whether the MAC sub-header has the first random access signal identifier of the terminal device.
  • the terminal device determines all MAC sub-PDUs with the first random access signal identifier in the MAC PDU as the first MAC sub-PDU set.
  • This embodiment does not limit the first preset sequence. For example, it may be the sequence from the head to the tail of the MAC PDU.
  • the terminal device determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access. If the first MAC subPDU set is obtained, step 12 to step 15 are performed.
  • Step 12 The terminal device obtains the MAC sub-PDU currently to be detected from the first MAC sub-PDU set according to the second preset sequence.
  • This embodiment does not limit the second preset sequence. For example, it may be the sequence from the head to the tail of the first MAC subPDU set.
  • Step 13 The terminal device determines whether the load of the MAC subPDU to be detected has the first contention resolution identifier of the terminal device. If the load of the MAC subPDU to be detected has the first contention resolution identifier of the terminal device, step 14 is executed. If the load of the MAC subPDU to be detected does not have the first contention resolution identifier of the terminal device, step 15 is executed.
  • Step 14 The terminal device stops detecting other undetected MAC sub-PDUs in the first MAC sub-PDU set, determines that the contention resolution is successful or the random access is successful, determines that the response message is successfully received, and processes the information included in the response message, for example, uplink authorization 0 item, any one item, any two items, any three items, or all four items in information, timing advance command, TC-RNTI and RRC messages.
  • the terminal device acquires the next undetected MAC sub-PDU following the MAC sub-PDU to be detected in the first MAC sub-PDU set according to the second preset order, and transfers the next undetected MAC sub-PDU to As a new MAC sub-PDU to be detected, return to step 13.
  • Step 15 If the load of the MAC sub-PDU to be detected does not have the first contention resolution identifier of the terminal device, but has contention resolution identifiers of other terminal devices, then obtain the first contention resolution identifier according to the second preset order.
  • the load of the MAC sub-PDU to be detected does not have the first contention resolution identification of the terminal device, and does not have the contention resolution identification of other terminal devices, but only carries a random access response, for example, uplink Authorization information, timing advance command and TC-RNTI
  • the next undetected MAC subPDU after the MAC subPDU to be detected in the first MAC subPDU set is obtained according to the second preset order, and the The next undetected MAC sub-PDU is used as the new MAC sub-PDU to be detected, and step 13 is returned to.
  • the terminal device determines that the contention resolution is successful or the random access is successful, or determines the random access fallback, or determines to re-initiate the random access. If the terminal device obtains the first MAC subPDU set, in the process of detecting the first MAC subPDU set, if the load of the MAC subPDU has the first contention resolution identifier of the terminal device, The terminal device determines that the contention resolution is successful or the random access is successful, the terminal device determines that the response message is successfully received, and processes the information included in the response message, such as uplink authorization information, timing advance command, 0 items, any one of TC-RNTI and RRC messages Item, any two items, any three items, or all four items.
  • the terminal device determines that the contention resolution fails and/or responds The message reception fails, and random access is initiated again. If the load of all MAC sub-PDUs does not have the first contention resolution identifier of the terminal device, but the load of any MAC sub-PDU does not carry the contention resolution identifier of any terminal device, but only carries the random access response, for example With uplink authorization information, timing advance command and TC-RNTI, the terminal device can determine to fall back from the contention-based 2-step random access process to the contention-based 4-step random access process.
  • the terminal device determines the first random access request.
  • the information included in the random access response is processed, such as uplink authorization information, timing advance command, and TC-RNTI, or the terminal device re-initiates random access. If the terminal device does not obtain the first MAC subPDU set, the terminal device determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • the first random access signal identifier of the terminal device 1 is a random access signal identifier 1
  • the first contention resolution identifier of the terminal device 1 is a contention resolution identifier 1.
  • MAC PDU includes 10 MAC sub-PDUs, which are marked as MAC sub-PDU 1 to MAC sub-PDU 10.
  • MAC sub-PDUs 1, 3, 4, 5, and 7 have random access signal identifier 1.
  • the first MAC sub-PDU set includes MAC sub-PDUs 1, 3, 4, 5, and 7.
  • none of the random access signal identifiers carried in MAC sub-PDUs 1 to 10 is random access signal identifier 1.
  • MAC sub PDUs 1, 3, 4, 5, and 7 all carry random access signal identification, random access response and contention resolution identification
  • MAC sub PDU 3 carries contention resolution identification Is the contention resolution identification 1 of the terminal device 1.
  • the random access response may include uplink authorization information, timing advance commands, 0 items, any one, any two items, any three items, or all four items in the TC-RNTI and RRC messages.
  • the terminal device 1 sequentially detects the MAC sub-PDUs in the first MAC sub-PDU set, and determines whether the MAC sub-PDU has a contention resolution identifier 1.
  • the terminal device 1 determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, and can process the information included in the random access response in the MAC sub PDU 3.
  • the terminal device can stop detecting other undetected MAC sub-PDUs, such as MAC sub-PDUs 4, 5, 7, or continue to detect until all MAC sub-PDUs included in the first MAC sub-PDU set are detected.
  • the embodiment is not limited.
  • MAC sub-PDUs 1, 3, 4, 5, and 7 all carry random access signal identification, random access response and contention resolution identification, and the contention resolution identification carried is not a terminal device 1's competition resolution logo 1.
  • the random access response may include uplink authorization information, timing advance commands, 0 items, any one, any two items, any three items, or all four items in the TC-RNTI and RRC messages.
  • the terminal device 1 detects the MAC subPDUs in the first MAC subPDU set in sequence, and determines in turn that all MAC subPDUs do not have the contention resolution identifier 1, and the terminal device 1 determines that the contention resolution fails and/or the response message reception fails , Re-initiate random access.
  • MAC sub-PDUs 1, 4, 5, and 7 all carry random access signal identifiers, random access responses, and contention resolution identifiers, and none of the contention resolution identifiers carried are those of the terminal device 1.
  • Competition resolution logo 1 The MAC sub PDU 3 carries the random access signal identifier and the random access response, but does not carry the contention resolution identifier.
  • the random access response carried in the MAC subPDU 3 includes uplink authorization information, timing advance command and TC-RNTI.
  • the terminal device 1 sequentially detects the MAC subPDUs in the first MAC subPDU set, and determines in turn that all MAC subPDUs do not have the contention resolution identifier 1.
  • the terminal device 1 can determine from the contention-based 2-step random access response based on the random access response carried in the MAC subPDU 3 The entry process falls back to a contention-based 4-step random access process. The terminal device 1 determines that the random access response is successfully received, and processes the information included in the random access response in the MAC subPDU3.
  • the MAC subPDUs 1, 4, 5, and 7 all carry a random access signal identifier, a random access response, and a contention resolution identifier.
  • the contention resolution identifier carried in the MAC sub-PDU 4 is the contention resolution identifier 1 of the terminal device 1.
  • the MAC sub PDU 3 carries the random access signal identifier and the random access response, but does not carry the contention resolution identifier.
  • the random access response carried in the MAC subPDU 3 includes uplink authorization information, timing advance command and TC-RNTI.
  • the terminal device 1 detects the MAC sub-PDUs in the first MAC sub-PDU set in turn, determines in turn that the MAC sub-PDUs 1 and 3 do not have the contention resolution identifier 1, and determines that the MAC sub-PDU 4 has the contention resolution identifier 1.
  • the terminal device 1 determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, and can process the information included in the random access response in the MAC subPDU 4.
  • the terminal device can stop detecting other MAC sub-PDUs, such as MAC sub-PDUs 5 and 7, or continue to detect until all MAC sub-PDUs included in the first MAC sub-PDU set are detected, which is not done in this embodiment limited.
  • MAC sub-PDUs 1, 3, 4, and 5 all carry random access signal identifiers, random access responses, and contention resolution identifiers, and none of the contention resolution identifiers carried are those of the terminal device 1.
  • Competition resolution logo 1 The MAC subPDU 7 carries the random access signal identification and the random access response, but does not carry the contention resolution identification.
  • the random access response carried in the MAC subPDU 7 does not include any one, any two, or all three of the uplink authorization information, the timing advance command, and the TC-RNTI.
  • the terminal device 1 sequentially detects the MAC subPDUs in the first MAC subPDU set, and determines in turn that all MAC subPDUs do not have the contention resolution identifier 1.
  • the terminal device 1 determines according to the random access response carried in the MAC subPDU 7 that it cannot fall back from the contention-based 2-step random access process to the contention-based 4-step random access process. At this time, the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • none of the random access signal identifiers carried in the MAC subPDU 1 to 10 is the random access signal identifier 1.
  • the terminal device does not obtain the first MAC subPDU set.
  • the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • this embodiment does not limit the detection sequence of the MAC sub-PDUs in the first MAC sub-PDU set.
  • This embodiment provides a random access method, which involves a scenario where the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are the same MAC sub-PDU.
  • the terminal device first detects the MAC sub-header of the MAC sub-PDU according to the first random access signal identifier, and obtains the first MAC sub-PDU set through screening. Then, the first contention resolution identifier is detected in the first MAC subPDU set.
  • the terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • FIG. 16 is a flowchart of another random access method provided by an embodiment of this application. Based on the embodiment shown in FIG. 7, this embodiment provides a specific implementation manner of detecting the response message to the request message in S702. As shown in FIG. 16, in the random access method provided in this embodiment, in S702, detecting a response message to a request message may include:
  • the first MAC subPDU has the first random access signal identifier of the terminal device.
  • the detection response message may also include:
  • the response message does not include the MAC sub-PDU with the first random access signal identifier, and random access is re-initiated.
  • the terminal device may perform the following steps:
  • Step 21 The terminal device obtains the current MAC sub-PDU to be detected in the MAC PDU according to a preset sequence.
  • This embodiment does not limit the preset sequence, for example, it may be the sequence from the head to the tail of the MAC PDU.
  • Step 22 The terminal device judges whether the MAC subheader in the MAC subPDU to be detected has the first random access signal identifier of the terminal device.
  • step 23 is executed.
  • the MAC sub-header does not have the first random access signal identifier of the terminal device, there is no need to detect the load of the MAC sub-PDU to be detected, and the to-be-detected MAC sub-PDU is obtained in the preset order
  • the next undetected MAC subPDU following the detected MAC subPDU, the next undetected MAC subPDU is used as the new MAC subPDU to be detected, and step 22 is performed again.
  • Step 23 The terminal device continues to determine whether the load of the MAC subPDU to be detected has the first contention resolution identifier of the terminal device. If the load of the MAC sub-PDU to be detected has the first contention resolution identifier of the terminal device, step 24 is executed. If the load of the MAC subPDU to be detected does not have the first contention resolution identifier of the terminal device, step 25 is executed.
  • Step 24 The terminal device stops detecting other undetected MAC sub-PDUs, determines that the contention resolution is successful or the random access is successful, determines that the response message is successfully received, and processes the information included in the response message, such as uplink authorization information, timing advance command, TC -0 item, any item, any two items, any three items or all four items in RNTI and RRC messages.
  • the terminal device obtains the next undetected MAC sub-PDU following the MAC sub-PDU to be detected according to the preset order, and uses the next undetected MAC sub-PDU as the new MAC sub-PDU to be detected , Go back to step 22.
  • Step 25 If the load of the MAC sub-PDU to be detected does not have the first contention resolution identifier of the terminal device, but has contention resolution identifiers of other terminal devices, acquire the to-be-detected MAC sub-PDU according to the preset order For the next undetected MAC subPDU following the MAC subPDU, use the next undetected MAC subPDU as the new MAC subPDU to be detected, and return to step 22.
  • the load of the MAC sub-PDU to be detected does not have the first contention resolution identification of the terminal device, and does not have the contention resolution identification of other terminal devices, but only carries a random access response, for example, uplink Authorization information, timing advance command and TC-RNTI
  • the next undetected MAC sub-PDU after the MAC sub-PDU to be detected is obtained in the preset order, and the next undetected MAC sub-PDU is taken as For the new MAC subPDU to be detected, return to step 22.
  • the terminal device determines that the contention resolution is successful or the random access is successful, or determines the random access fallback, or determines to re-initiate the random access.
  • the terminal device determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, And process the information included in the response message, such as uplink authorization information, timing advance command, 0 item, any item, any two items, any three items, or all four items in the TC-RNTI and RRC messages.
  • the terminal device determines that the contention resolution fails and/or the response message reception fails, Re-initiate random access.
  • the terminal device can determine to fall back from the contention-based 2-step random access process to the contention-based 4-step random access process, and the terminal device determines the random access request If the first response is successfully received or the random access response is successfully received, the information included in the random access response is processed, such as uplink authorization information, timing advance command, and TC-RNTI, or the terminal device re-initiates random access. If the MAC subheaders of all the MAC subPDUs do not have the first random access signal identifier of the terminal device, the terminal device determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • the first random access signal identifier of the terminal device 1 is a random access signal identifier 1
  • the first contention resolution identifier of the terminal device 1 is a contention resolution identifier 1.
  • MAC PDU includes 10 MAC sub-PDUs, which are marked as MAC sub-PDU 1 to MAC sub-PDU 10.
  • MAC sub-PDUs 1, 3, 4, 5, and 7 have random access signal identifier 1.
  • none of the random access signal identifiers carried in MAC sub-PDUs 1 to 10 is random access signal identifier 1.
  • MAC sub PDUs 1, 3, 4, 5, and 7 all carry random access signal identification, random access response and contention resolution identification
  • MAC sub PDU 3 carries contention resolution identification Is the contention resolution identification 1 of the terminal device 1.
  • the random access response may include uplink authorization information, timing advance commands, 0 items, any one, any two items, any three items, or all four items in the TC-RNTI and RRC messages.
  • the terminal device 1 sequentially detects the MAC sub-PDUs in the MAC PDU according to the sequence from the MAC sub-PDU 1 to the MAC sub-PDU 10.
  • the terminal device 1 determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, and can process the information included in the random access response in the MAC sub PDU 3.
  • the terminal device can stop detecting other undetected MAC sub-PDUs in the MAC PDU, such as MAC sub-PDUs 4 to 10, or continue to detect and repeat the above operations until all MAC sub-PDUs contained in the MAC PDU are detected.
  • PDU this embodiment is not limited.
  • MAC sub-PDUs 1, 3, 4, 5, and 7 all carry random access signal identification, random access response and contention resolution identification, and the contention resolution identification carried is not a terminal device 1's competition resolution logo 1.
  • the random access response includes 0 items, any item, any two items, any three items, or all four items in the uplink authorization information, timing advance command, TC-RNTI and RRC messages.
  • the terminal device 1 sequentially detects the MAC sub-PDUs in the MAC PDU according to the sequence from the MAC sub-PDU 1 to the MAC sub-PDU 10.
  • the MAC sub-PDU 1 includes the random access signal identifier 1, and after determining that it includes the random access signal identifier 1, then determine whether the MAC sub-PDU 1 has the contention resolution identifier 1. Since the MAC sub-PDU 1 does not have the contention resolution identifier 1, the detection continues. Secondly, it is determined whether the MAC sub-PDU 2 includes the random access signal identifier 1, and after determining that it does not include the random access signal identifier 1, there is no need to detect the load of the MAC sub PDU 2. And so on.
  • the terminal device detects all MAC sub-PDUs in the MAC PDU to determine that none of the MAC sub-PDUs including the random access signal identifier 1 has the contention resolution identifier 1, and the terminal device 1 determines that the contention resolution fails and / Or the response message reception fails, re-initiate random access.
  • MAC sub-PDUs 1, 4, 5, and 7 all carry random access signal identifiers, random access responses, and contention resolution identifiers, and none of the contention resolution identifiers carried are those of the terminal device 1.
  • Competition resolution logo 1 The MAC sub PDU 3 carries the random access signal identifier and the random access response, but does not carry the contention resolution identifier.
  • the random access response carried in the MAC subPDU 3 includes uplink authorization information, timing advance command and TC-RNTI.
  • the terminal device 1 detects the MAC subPDUs in the MAC PDU in the order from the MAC subPDU 1 to the MAC subPDU 10.
  • the terminal device determines whether the MAC sub PDU 1 includes the random access signal identifier 1, and determines whether it includes After random access signal identification 1, it is determined whether MAC subPDU 1 has contention resolution identification 1. Since the MAC sub-PDU 1 does not have the contention resolution identifier 1, the detection continues. Secondly, it is determined whether the MAC sub-PDU 2 includes the random access signal identifier 1, and after determining that it does not include the random access signal identifier 1, there is no need to detect the load of the MAC sub PDU 2. And so on. In this example, the terminal device detects all MAC sub-PDUs in the MAC PDU to determine that all MAC sub-PDUs including the random access signal identifier 1 do not have the contention resolution identifier 1.
  • the terminal device 1 can be based on the random access signal carried in the MAC sub PDU 3.
  • the access response determines the fallback from the contention-based 2-step random access process to the contention-based 4-step random access process.
  • the terminal device 1 determines that the first response to the random access request is successfully received or the random access response is successfully received, and processes the information included in the random access response in the MAC subPDU3.
  • MAC subPDUs 1, 4, 5, and 7 all carry random access signal identifiers, random access responses, and contention resolution identifiers.
  • the contention resolution identifier carried in the MAC sub-PDU 4 is the contention resolution identifier 1 of the terminal device 1.
  • the MAC sub PDU 3 carries the random access signal identifier and the random access response, but does not carry the contention resolution identifier.
  • the random access response carried in the MAC subPDU 3 includes uplink authorization information, timing advance command and TC-RNTI.
  • the terminal device 1 sequentially detects the MAC sub-PDUs in the MAC PDU according to the sequence from the MAC sub-PDU 1 to the MAC sub-PDU 10.
  • the MAC sub-PDU 1 determines whether the MAC sub-PDU 1 includes the random access signal identifier 1, and after determining that it includes the random access signal identifier 1, then determine whether the MAC sub-PDU 1 has the contention resolution identifier 1. Since the MAC sub-PDU 1 does not have the contention resolution identifier 1, the detection continues. Secondly, it is determined whether the MAC sub-PDU 2 includes the random access signal identifier 1, and after determining that it does not include the random access signal identifier 1, there is no need to detect the load of the MAC sub PDU 2. And so on. It is determined that the MAC sub-PDU 4 includes the random access signal identifier 1 and has the contention resolution identifier 1.
  • the terminal device 1 determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, and can process the information included in the random access response in the MAC subPDU 4. At this point, the terminal device can stop detecting other undetected MAC sub-PDUs in the MAC PDU, such as MAC sub-PDUs 5 to 10, or continue to detect and repeat the above operations until all MACs contained in the MAC PDU are detected.
  • the sub-PDU is not limited in this embodiment.
  • MAC sub-PDUs 1, 3, 4, and 5 all carry random access signal identifiers, random access responses, and contention resolution identifiers, and none of the contention resolution identifiers carried are those of the terminal device 1.
  • the MAC subPDU 7 carries the random access signal identification and the random access response, but does not carry the contention resolution identification.
  • the random access response carried in the MAC subPDU 7 does not include any one, any two, or all three of the uplink authorization information, time advance command, and TC-RNTI.
  • the terminal device 1 sequentially detects the MAC sub-PDUs in the MAC PDU according to the sequence from the MAC sub-PDU 1 to the MAC sub-PDU 10.
  • the terminal device determines whether the MAC sub-PDU 1 includes the random access signal identifier 1, and after determining that it includes the random access signal identifier 1, then determine whether the MAC sub-PDU 1 has the contention resolution identifier 1. Since the MAC sub-PDU 1 does not have the contention resolution identifier 1, the detection continues. Secondly, it is determined whether the MAC sub-PDU 2 includes the random access signal identifier 1, and after determining that it does not include the random access signal identifier 1, there is no need to detect the load of the MAC sub PDU 2. And so on. In this example, the terminal device detects all MAC sub-PDUs in the MAC PDU to determine that all MAC sub-PDUs including the random access signal identifier 1 do not have the contention resolution identifier 1.
  • the terminal device 1 determines according to the random access response carried in the MAC subPDU 7 that it cannot fall back from the contention-based 2-step random access process to the contention-based 4-step random access process. At this time, the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • none of the random access signal identifiers carried in the MAC subPDU 1 to 10 is the random access signal identifier 1.
  • the terminal device 1 sequentially detects the MAC sub-PDUs in the MAC PDU according to the sequence from the MAC sub-PDU 1 to the MAC sub-PDU 10, and determines that all the MAC sub-PDUs do not include the random access signal identifier 1.
  • the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • This embodiment provides a random access method, which involves a scenario where the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are the same MAC sub-PDU.
  • the terminal device sequentially detects the MAC sub-PDUs in the MAC PDU in a certain order. It is first determined whether the MAC sub-header of the MAC sub-PDU has the first random access signal identifier, and if so, it is determined whether the load of the MAC sub-PDU has the first contention resolution identifier.
  • the terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • FIG. 17 is a flowchart of another random access method provided by an embodiment of this application. Based on the embodiment shown in FIG. 7, this embodiment provides a specific implementation manner of detecting the response message to the request message in S702. As shown in FIG. 17, in the random access method provided in this embodiment, in S702, detecting a response message to a request message may include:
  • the second MAC sub-PDU set includes all MAC sub-PDUs with the first random access signal identifier and adjacent MAC sub-PDUs carrying the contention resolution identifier in the response message.
  • S1702. Determine whether the second MAC sub-PDU set includes the MAC sub-PDU with the first contention resolution identifier.
  • the detection response message may also include:
  • the response message does not include the MAC sub-PDU with the first random access signal identifier, and random access is re-initiated.
  • the second MAC sub-PDU set may be an empty set, and at this time, it can be considered that the second MAC sub-PDU is not obtained.
  • the MAC sub-PDU set may correspond to a scenario in which the response message does not include the MAC sub-PDU with the first random access signal identifier.
  • the second MAC sub-PDU set includes at least one MAC sub-PDU with the first random access signal identifier.
  • the MAC sub-PDU with the first random access signal identifier may have the adjacent MAC subPDU carrying the contention resolution identifier, or there may not be the adjacent MAC subPDU carrying the contention resolution identifier.
  • the terminal device executes S1702 to S1704. It should be noted that in the process of determining the second MAC sub-PDU set, only the MAC sub-header of the MAC sub-PDU may be detected, and there is no need to detect the load of the MAC sub-PDU.
  • the random access method provided in this embodiment is similar in principle to the random access method provided in the embodiment shown in FIG. 15. I won't repeat them here.
  • the MAC subPDU can carry the first random access signal identifier and the first contention resolution identifier of the terminal device.
  • the first MAC sub-PDU set includes all MAC sub-PDUs with the first random access signal identifier in the response message.
  • the MAC sub-PDU with the first random access signal identifier and the MAC sub-PDU with the first contention resolution identifier may be the same MAC sub-PDU.
  • the load of the MAC sub-PDU in the first MAC sub-PDU set is detected.
  • the MAC subPDU either only carries the first random access signal identifier of the terminal device, or only carries the first contention resolution identifier of the terminal device.
  • the second MAC sub-PDU set includes all MAC sub-PDUs with the first random access signal identifier in the response message and adjacent MAC sub-PDUs carrying the contention resolution identifier.
  • the MAC sub-PDU with the first random access signal identifier and the MAC sub-PDU with the first contention resolution identifier may be adjacent MAC sub-PDUs.
  • This embodiment provides a random access method, which involves a scenario where the MAC sub-PDU with a first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are different MAC sub-PDUs.
  • the terminal device first detects the subheader of the MAC subPDU according to the first random access signal identifier, and obtains the second MAC subPDU set through screening. Then, the first contention resolution identifier is detected in the second MAC subPDU set.
  • the terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • FIG. 18 is a flowchart of another random access method provided by an embodiment of this application. Based on the embodiment shown in FIG. 7, this embodiment provides a specific implementation manner of detecting the response message to the request message in S702. As shown in FIG. 18, in the random access method provided in this embodiment, in S702, detecting a response message to a request message may include:
  • the second MAC subPDU has the first random access signal identifier.
  • S1802. Determine whether the MAC sub-PDU adjacent to the second MAC sub-PDU has a first contention resolution identifier.
  • the detection response message may also include:
  • the response message does not include the MAC sub-PDU with the first random access signal identifier, and random access is re-initiated.
  • the random access method provided in this embodiment is similar in principle to the random access method provided in the embodiment shown in FIG. 16. I won't repeat them here.
  • the MAC subPDU may carry the first random access signal identifier and the first contention resolution identifier of the terminal device.
  • the first MAC sub-PDU is any MAC sub-PDU with the first random access signal identifier in the response message.
  • the MAC sub-PDU with the first random access signal identifier and the MAC sub-PDU with the first contention resolution identifier may be the same MAC sub-PDU. Determining whether the first MAC sub-PDU has the first contention resolution identifier is to detect the load of the first MAC sub-PDU.
  • the MAC subPDU either only carries the first random access signal identifier of the terminal device, or only carries the first contention resolution identifier of the terminal device.
  • the only carrying here only defines whether the MAC sub-PDU with the random access signal identifier carries the contention resolution identifier, or whether the MAC sub-PDU with the contention resolution identifier carries the random access signal identifier, and is not used to limit other information.
  • the MAC subPDU that only carries the first contention resolution identifier of the terminal device may carry any 0 items, one item, two items, three items or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the second MAC subPDU is any MAC subPDU with the first random access signal identifier in the response message.
  • the MAC sub-PDU with the first random access signal identifier and the MAC sub-PDU with the first contention resolution identifier may be adjacent MAC sub-PDUs.
  • This embodiment provides a random access method involving a scenario where the MAC sub-PDU with a first contention resolution identifier and the MAC sub-PDU with the first contention resolution identifier are different MAC sub-PDUs.
  • the terminal device sequentially detects the MAC sub-PDUs in the MAC PDU in a certain order. It is first determined whether the MAC sub-header of the MAC sub-PDU has the first random access signal identifier, if so, and the adjacent MAC sub-PDU of the MAC sub-PDU carries the contention resolution identifier, and then the adjacent MAC sub-PDU is determined Whether the contention resolution identifier carried in the PDU is the first contention resolution identifier.
  • the terminal device can accurately determine whether the response message is successfully received and whether the contention resolution is successful.
  • the MAC sub-PDU carrying the contention resolution identifier may also be called the third MAC sub-PDU, and the MAC sub-PDU carrying the random access signal identifier may also be called the fourth MAC sub-PDU .
  • the terminal device may first decode the MAC sub-PDUs carrying the contention resolution identifier that are arranged in a centralized manner, and determine whether the third MAC subPDU has the first contention resolution identifier of the terminal device. . Then, the terminal device may decode the collectively arranged MAC sub-PDUs carrying the random access signal identifier to determine whether the fourth MAC sub-PDU has the first random access signal identifier of the terminal device.
  • the terminal device may perform the following steps:
  • Step 31 The terminal device obtains the currently to-be-detected third MAC sub-PDU from the MAC sub-PDUs carrying contention resolution identifiers arranged in a centralized manner according to the first preset order.
  • This embodiment does not limit the first preset sequence. For example, it may be the sequence of MAC sub-PDUs carrying contention resolution identifiers that are arranged centrally.
  • Step 32 The terminal device judges whether the load of the third MAC subPDU to be detected has the first contention resolution identifier of the terminal device. If the load of the third MAC subPDU to be detected has the first contention resolution identifier of the terminal device, perform steps 33, 34, 35, and when the judgment result in step 35 is "the MAC subheader If it has the first random access signal identifier of the terminal device", step 36 is executed. If the load of the third MAC subPDU to be detected does not have the first contention resolution identifier of the terminal device, but has contention resolution identifiers of other terminal devices, then the load of the third MAC subPDU is acquired according to the first preset order.
  • the next undetected third MAC subPDU following the third MAC subPDU to be detected use the next undetected third MAC subPDU as the new third MAC subPDU to be detected, and perform step 32 again .
  • the load of all the third MAC sub-PDUs does not have the first load of the terminal device.
  • the terminal device executes steps 34 and 35, and when the judgment result in step 35 is "the MAC subheader has the first random access signal identifier of the terminal device", step 37 is executed.
  • Step 33 The terminal device stops detecting other undetected third MAC sub-PDUs in the MAC sub-PDUs that carry the contention resolution identifier in the centralized arrangement, and determines that the contention resolution is successful or the random access is successful. Alternatively, the terminal device obtains the next undetected third MAC subPDU following the third MAC subPDU to be detected according to the first preset order, and uses the next undetected third MAC subPDU as For the new third MAC subPDU to be detected, return to step 32.
  • Step 34 The terminal device obtains the currently to-be-detected fourth MAC sub-PDU from the MAC sub-PDUs carrying the random access signal identifiers arranged in a centralized manner according to the second preset order.
  • This embodiment does not limit the second preset order.
  • it may be a centralized arrangement of MAC sub-PDUs carrying random access signal identifiers.
  • Step 35 The terminal device judges whether the MAC subheader in the fourth MAC subPDU to be detected has the first random access signal identifier of the terminal device. If the MAC subheader has the first random access signal identifier of the terminal device, step 36 or step 37 is executed. If the MAC sub-header does not have the first random access signal identifier of the terminal device, there is no need to detect the load of the MAC sub-PDU to be detected, but to obtain all data in the second preset order. The next undetected fourth MAC subPDU after the fourth MAC subPDU to be detected, the next undetected fourth MAC subPDU is used as the new fourth MAC subPDU to be detected, and the step is executed again 35.
  • Step 36 The terminal device stops detecting other undetected fourth MAC sub-PDUs in the MAC sub-PDUs carrying the random access signal identifier in the centralized arrangement, determines that the response message is successfully received, and processes the information included in the response message, for example, uplink authorization information , Timing advance command, 0 item, any item, any two items, any three items, or all four items in TC-RNTI and RRC messages.
  • Step 37 If the load of the fourth MAC subPDU to be detected carries a random access response, and the random access response includes uplink authorization information, timing advance command and TC-RNTI, the terminal device stops detecting the centralized arrangement The other undetected fourth MAC sub-PDUs in the MAC sub-PDU with the random access signal identifier are determined to fall back from the contention-based 2-step random access process to the contention-based 4-step random access process.
  • the first response of the incoming request is successfully received or the random access response is successfully received, and the information included in the first response is processed, for example, uplink authorization information, timing advance command and TC-RNTI, or the terminal device re-initiates random access.
  • the terminal device determines that the contention resolution is successful or the random access is successful, or determines the random access fallback, or determines to re-initiate the random access.
  • the sequence detection process of the terminal device if the load of the third MAC subPDU has the contention resolution identification of the terminal device, and the MAC subheader of the fourth MAC subPDU has the terminal device.
  • the terminal device determines that the contention resolution is successful or the random access is successful, the terminal device determines that the response message is successfully received, and processes the information included in the response message, such as uplink authorization information, timing advance command, TC-RNTI and RRC messages 0, any one, any two, any three, or all four of the items.
  • the terminal device determines that the contention resolution is successful or the random access is successful. If all the loads of the third MAC subPDU do not have the contention resolution identification of the terminal device, but the MAC subheader of the fourth MAC subPDU has the random access identification of the terminal device And the load of the fourth MAC subPDU carries random access responses, such as uplink authorization information, timing advance commands, and TC-RNTI.
  • the terminal device can determine to fall back from the contention-based 2-step random access process to contention-based In the 4-step random access process, the terminal device determines that the first response to the random access request is received successfully or the random access response is received successfully, and processes the information included in the first response, such as uplink authorization information, timing advance command and TC-RNTI , Or the terminal device re-initiates random access. If the load of all the third MAC subPDUs does not have the contention resolution identification of the terminal device, and the MAC subheaders of all the fourth MAC subPDUs do not have the random access of the terminal device Enter the identifier, the terminal device determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • the terminal device may first decode the MAC sub-PDUs carrying the random access signal identifiers arranged in a centralized manner to determine whether the fourth MAC sub-PDU has random access of the terminal device Signal identification. Then, the terminal device may decode the concentratedly arranged MAC sub-PDUs carrying the contention resolution identifier to determine whether the third MAC subPDU has the contention resolution identifier of the terminal device.
  • the load of the MAC subPDU carrying the random access signal identifier includes the 0 item, any one, any two, any three, or all four of the uplink authorization information, timing advance commands, TC-RNTI and RRC messages. .
  • the terminal device may perform the following steps:
  • Step 41 The terminal device obtains the fourth MAC sub-PDU currently to be detected from the MAC sub-PDUs carrying the random access signal identifiers arranged in a centralized manner according to the first preset order.
  • This embodiment does not limit the first preset sequence. For example, it may be the sequence of MAC sub-PDUs carrying random access signal identifiers that are arranged in a centralized manner.
  • Step 42 The terminal device judges whether the MAC subheader in the fourth MAC subPDU to be detected has the first random access signal identifier of the terminal device. If the MAC subheader has the first random access signal identifier of the terminal device, perform steps 43 to 46. If the MAC subheader does not have the first random access signal identifier of the terminal device, there is no need to detect the load of the fourth MAC subPDU to be detected, but according to the first preset sequence Acquire the next undetected fourth MAC subPDU after the fourth MAC subPDU to be detected, use the next undetected fourth MAC subPDU as the new fourth MAC subPDU to be detected, and re Go to step 42.
  • Step 43 The terminal device stops detecting other undetected fourth MAC sub-PDUs among the MAC sub-PDUs carrying the random access signal identifier in the centralized arrangement, and determines that the first response to the random access request is successfully received or the random access response is received If successful, the information included in the first response is processed, for example, 0 item, any item, any two items, any three items, or all four items in the uplink authorization information, timing advance command, TC-RNTI and RRC messages. Alternatively, the terminal device acquires the next undetected fourth MAC subPDU following the fourth MAC subPDU to be detected according to the first preset order, and uses the next undetected fourth MAC subPDU as For the new fourth MAC subPDU to be detected, return to step 42.
  • Step 44 The terminal device acquires the currently to-be-detected third MAC sub-PDU from the MAC sub-PDUs carrying the contention resolution identifier arranged in a centralized manner according to the second preset order.
  • This embodiment does not limit the second preset sequence. For example, it may be the sequence of MAC sub-PDUs carrying contention resolution identifiers arranged in a centralized manner.
  • Step 45 The terminal device determines whether the load of the third MAC subPDU to be detected has the first contention resolution identifier of the terminal device. If the load of the third MAC subPDU to be detected has the first contention resolution identifier of the terminal device, step 46 is executed. If the load of the third MAC subPDU to be detected does not have the first contention resolution identifier of the terminal device, but has contention resolution identifiers of other terminal devices, then the second preset sequence is used to obtain the The next undetected third MAC subPDU following the third MAC subPDU to be detected, use the next undetected third MAC subPDU as the new third MAC subPDU to be detected, and perform step 45 again .
  • Step 46 The terminal device stops detecting other undetected third MAC sub-PDUs in the MAC sub-PDUs that carry the contention resolution identifier in the centralized arrangement, and determines that the contention resolution is successful or the random access is successful. Alternatively, the terminal device acquires the next undetected third MAC subPDU following the third MAC subPDU to be detected according to the second preset order, and uses the next undetected third MAC subPDU as For the new third MAC subPDU to be detected, return to step 45.
  • the terminal device determines that the contention resolution is successful or the random access is successful, or determines the random access fallback, or determines to re-initiate the random access.
  • the sequence detection process of the terminal device if the MAC subheader of the fourth MAC subPDU has the first random access signal identifier of the terminal device, and the load of the third MAC subPDU has the terminal The first contention resolution identifier of the device, the terminal device determines that the contention resolution is successful or the random access is successful, the terminal device determines that the response message is successfully received, and processes the information included in the response message, such as uplink authorization information, timing advance command, TC-RNTI, and RRC 0 item, any item, any two items, any three items, or all four items in the message.
  • the terminal device can determine to fall back from the contention-based 2-step random access procedure to Based on the 4-step random access process based on contention, the terminal device determines that the first response to the random access request is received successfully or the random access response is received successfully, and processes the information included in the first response, such as uplink authorization information, timing advance command and TC -RNTI, or the terminal device re-initiates random access.
  • the terminal device determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access. If all the MAC subheaders of the fourth MAC subPDU do not have the first random access signal identifier of the terminal device, but the load of the third MAC subPDU has the first random access signal identifier of the terminal device The contention resolution identifier, the terminal device determines that the contention resolution is successful/random access is successful.
  • the terminal device adopts the first detection method described above.
  • the identifier of the random access signal sent by the terminal device 1 to the network device is the random access signal identifier 1.
  • the first random access signal identifier of the terminal device 1 is a random access signal identifier 1
  • the first contention resolution identifier of the terminal device 1 is a contention resolution identifier 1.
  • the terminal device 1 detects 10 MAC sub-PDUs (respectively marked as MAC sub-PDUs 1 to 10). Among them, MAC sub-PDUs 1 to 5 carry the random access signal identifier and carry the random access response.
  • the random access response may include the 0 item or any of the uplink authorization information, timing advance command, TC-RNTI and RRC messages , Any two, any three, or all four.
  • the contention resolution identifier is carried in the MAC sub PDU 6 to 10. It should be noted that if MAC sub-PDUs 1 to 10 are located in the same MAC PDU, this embodiment does not limit the sequence between MAC sub-PDUs 1 to 5 and MAC sub-PDUs 6 to 10. For example, MAC sub-PDUs 1 to 5 are located behind MAC sub-PDUs 6 to 10. Optionally, MAC sub-PDUs 1 to 5 and MAC sub-PDUs 6 to 10 may also be located in different MAC PDUs. In the first to third examples, the MAC subPDU 3 has the random access signal identifier 1. In the fourth example, none of the random access signal identifiers carried in MAC sub-PDUs 1 to 5 is random access signal identifier 1.
  • the contention resolution identifier carried in the MAC subPDU 7 is the contention resolution identifier 1 of the terminal device 1.
  • the terminal device 1 detects the MAC sub-PDUs 6-10, and judges whether the MAC sub-PDUs 6-10 have a contention resolution identifier 1.
  • the terminal device 1 continues to detect whether it has the random access signal identification 1 in the MAC sub-PDUs 1-5.
  • the terminal device 1 determines that the MAC sub-PDU 3 has the random access signal identifier 1, determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, and can process the information included in the random access response in the MAC sub PDU 3. It should be noted that after determining that the MAC sub-PDU 7 has a contention resolution identifier 1, the terminal device can stop detecting other MAC sub-PDUs carrying contention resolution identifiers, such as MAC sub PDUs 8, 9, 10, or continue to detect until the detection is complete. All MAC sub-PDUs carrying contention resolution identifiers are not limited in this embodiment.
  • the terminal device can stop detecting other MAC sub PDUs carrying the random access signal identifier, such as MAC sub PDUs 4 and 5, or continue to detect until After detecting all the MAC sub-PDUs carrying the contention resolution identifier, this embodiment does not limit it.
  • none of the contention resolution identifiers carried in the MAC subPDUs 6 to 10 is the contention resolution identifier 1 of the terminal device 1.
  • Terminal device 1 detects MAC sub-PDUs 6 to 10 and determines that all MAC sub-PDUs carrying contention resolution identifiers do not have contention resolution identifier 1.
  • Terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access Into.
  • none of the contention resolution identifiers carried in the MAC subPDU 6 to 10 is the contention resolution identifier 1 of the terminal device 1.
  • the terminal device 1 detects the MAC sub-PDUs 6-10 and determines that all MAC sub-PDUs carrying the contention resolution identifier do not have the contention resolution identifier 1.
  • the terminal device 1 continues to detect in the MAC sub-PDUs 1 to 5 whether there is a MAC sub-PDU with a random access signal identifier.
  • terminal device 1 When terminal device 1 determines that MAC sub PDU 3 has random access signal identifier 1 and the random access response carried in MAC sub PDU 3 includes uplink authorization information, timing advance command, and TC-RNTI, terminal device 1 can follow the MAC sub PDU 3 carried The random access response determines the fallback from the contention-based 2-step random access process to the contention-based 4-step random access process. The terminal device 1 determines that the first response to the random access request is successfully received or the random access response is successfully received, and processes the information included in the random access response in the MAC subPDU3.
  • none of the contention resolution identifiers carried in the MAC subPDU 6 to 10 is the contention resolution identifier 1 of the terminal device 1.
  • the terminal device 1 detects the MAC sub-PDUs 6-10 and determines that all MAC sub-PDUs carrying the contention resolution identifier do not have the contention resolution identifier 1.
  • the terminal device 1 continues to detect in the MAC sub-PDUs 1 to 5 whether there is a MAC sub-PDU with a random access signal identifier.
  • the terminal device 1 determines that the MAC sub PDU 3 has the random access signal identifier 1 and the random access response carried in the MAC sub PDU 3 does not include any one or two of the uplink authorization information, the timing advance command and the TC-RNTI Or all three.
  • the terminal device 1 determines according to the random access response carried in the MAC subPDU 3 that it cannot fall back from the contention-based 2-step random access process to the contention-based 4-step random access process. At this time, the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • none of the contention resolution identifiers carried in the MAC subPDU 6 to 10 is the contention resolution identifier 1 of the terminal device 1.
  • the terminal device 1 detects the MAC sub-PDUs 6-10 and determines that all MAC sub-PDUs carrying the contention resolution identifier do not have the contention resolution identifier 1.
  • the terminal device 1 continues to detect in the MAC sub-PDUs 1 to 5 whether there is a MAC sub-PDU with the random access signal identifier 1. None of the random access signal identifiers carried in MAC sub PDUs 1 to 5 is random access signal identifier 1.
  • the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • the response message includes a MAC sub-PDU
  • the MAC sub-PDU includes a MAC sub-header
  • the MAC sub-header includes an identifier, which is a random access signal identifier or a contention resolution identifier.
  • an identifier is carried in the MAC subheader, and the identifier may be a random access signal identifier or a contention resolution identifier.
  • the terminal device detects the MAC subheader, it can directly determine whether the contention resolution is successful according to the identifier, which improves the detection efficiency.
  • the terminal device can obtain its own contention resolution identifier, the contention resolution is successful, and the response message is successfully received. After that, the terminal device can process the information carried in the load of the MAC subPDU.
  • the terminal device may determine to perform random access fallback or re-initiate random access according to the information carried in the load of the MAC subPDU.
  • the load of the MAC subPDU may include the 0 item, any one, any two items, any three items, or all four items in the uplink grant information, timing advance command, TC-RNTI and RRC messages.
  • the MAC subheader may also include indication information.
  • the indication information is used to indicate the format of the MAC subPDU, or indicate that the MAC subheader carries a random access signal identifier or carries a contention resolution identifier, or indicates that the MAC subheader carries an identifier Length or the length of the MAC subheader.
  • the indication information is 1 bit or 2 bits.
  • the indication information is used to indicate the format of the MAC subPDU.
  • the indication information there is a correspondence between the indication information and the format of the MAC subPDU.
  • the corresponding relationship can be stored in advance on the network device and the terminal device. It should be noted that this embodiment does not limit the name, bit length, and occupied position in the MAC subheader of the indication information.
  • FIG. 19 is a schematic structural diagram of another MAC sub-PDU provided in an embodiment of this application.
  • Figure 19 shows three formats of MAC subPDUs.
  • the indication information may be 2 bits, and the name of the indication information and the occupied position in the MAC subheader may refer to the II field in FIG. 19.
  • the indication information is a binary sequence 00, it indicates format 1 of the MAC subPDU.
  • the indication information is the binary sequence 01
  • it indicates the format 2 of the MAC subPDU.
  • the indication information is the binary sequence 10
  • this embodiment does not limit the correspondence between the value of the indication information and the format of the MAC subPDU.
  • the random access signal identifier is marked as the RAPID field
  • the contention resolution identifier is marked as the UE ID field.
  • the RAPID field and the UE ID field are just examples, and this embodiment does not limit the name and length of the random access signal identifier and the contention resolution identifier, and the occupied position in the MAC subheader.
  • the left side of Figure 19 is Format 1 of the MAC subPDU.
  • the identifier carried in the MAC subheader is the random access signal identifier
  • the length of the random access signal identifier is 6 bits.
  • the middle of Figure 19 shows the format 2 of the MAC subPDU.
  • the identifier carried in the MAC subheader is the contention resolution identifier, and the length of the contention resolution identifier is 16 bits.
  • the right side of Figure 19 shows the format 3 of the MAC subPDU. In this format, the identifier carried in the MAC subheader is the contention resolution identifier, and the length of the contention resolution identifier is 48 bits.
  • the indication information is used to indicate that the MAC subheader carries a random access signal identifier or carries a contention resolution identifier.
  • the contention resolution identifier can be a preset length. This embodiment does not limit the specific value of the preset length.
  • the preset length can be 48 bits.
  • this embodiment does not limit the name, bit length, and occupied position in the MAC subheader of the indication information.
  • the indication information may be 1 bit.
  • the indication information when the indication information is 0, it is used to indicate that the MAC subheader carries the random access signal identifier.
  • the indication information when the indication information is 1, it is used to indicate that the MAC subheader carries a contention resolution identifier. This embodiment does not limit the value of the indication information.
  • the effective bit of the contention resolution identifier is a preset length or a part of the preset length.
  • this embodiment does not limit the specific length of the valid bit of the contention resolution identifier.
  • the preset length is 48 bits
  • the length of the effective bits of the contention resolution identification can be 16 bits, 32 bits, and so on.
  • this embodiment does not limit the occupied position of the effective bit of the contention resolution identifier in the preset length.
  • the preset length is 48 bits
  • the length of the effective bit of the contention resolution flag is 16 bits.
  • the 16 bits may be the first 16 bits of the preset length, or the last 16 bits, etc.
  • the indication information is used to indicate the length of the identifier carried by the MAC subheader or the length of the MAC subheader.
  • the name, bit length, and occupied position in the MAC subheader of the indication information are not limited.
  • the indication information may be 2 bits.
  • the 2-bit indication information directly indicates the length of the identifier carried by the MAC subheader or the length of the MAC subheader. For example, when the indication information is used to indicate the length of the identifier carried in the MAC subheader, when the indication information is a binary sequence 00, it indicates that the MAC subheader carries 6-bit RAPID; when the indication information is a binary sequence 01, it indicates that the MAC subheader carries a 16-bit contention resolution identification.
  • the indication information is a binary sequence of 10
  • the indication information is used to indicate the length of the MAC subheader
  • the indication information is a binary sequence 00
  • the indication information is a binary sequence 01
  • the indication information is a binary sequence 10
  • This embodiment does not limit the corresponding relationship between the value of the indication information and the length of the identifier carried by the MAC subheader or the length of the MAC subheader, and does not limit the length of the random access signal identifier and the contention resolution identifier.
  • one bit may indicate whether the identifier is a random access signal identifier or a contention resolution identifier, and the other bit may indicate the length of the identifier or the MAC subheader length.
  • the terminal device may perform the following steps:
  • Step 51 The terminal device obtains the MAC sub-PDU currently to be detected in the MAC PDU according to a preset sequence.
  • This embodiment does not limit the preset sequence, for example, it may be the sequence from the head to the tail of the MAC PDU.
  • Step 52 The terminal device determines that the MAC subheader carries a contention resolution identification or carries a random access signal identification according to the indication information carried in the MAC subheader of the MAC subPDU to be detected. If the MAC subheader carries a contention resolution identifier, step 53 is executed. If the MAC subheader carries a random access signal identifier, step 55 is executed.
  • Step 53 The terminal device judges whether the contention resolution identifier carried in the MAC subheader is the first contention resolution identifier of the terminal device. If the contention resolution identifier carried in the MAC subheader is the first contention resolution identifier of the terminal device, step 54 is executed. If the contention resolution identifier carried in the MAC subheader is not the first contention resolution identifier of the terminal device, but the contention resolution identifier of other terminal devices, the following MAC subPDUs to be detected are acquired according to the preset order For the next undetected MAC sub-PDU of, use the next undetected MAC sub-PDU as the new MAC sub-PDU to be detected, and perform step 52 again.
  • Step 54 The terminal device stops detecting other undetected MAC sub-PDUs in the MAC PDU, determines that the contention resolution is successful or the random access is successful, determines that the response message is received successfully, and processes the information included in the response message, such as uplink authorization information, timing advance 0 items, any one item, any two items, any three items, or all four items in the command, TC-RNTI and RRC messages.
  • the terminal device obtains the next undetected MAC sub-PDU following the MAC sub-PDU to be detected according to the preset order, and uses the next undetected MAC sub-PDU as the new MAC sub-PDU to be detected , Return to step 52.
  • Step 55 The terminal device judges whether the MAC subheader of the MAC subPDU to be detected has the first random access signal identifier of the terminal device. If the MAC subheader has the first random access signal identifier of the terminal device, step 56 is executed. If the MAC subheader does not have the first random access signal identifier of the terminal device, the terminal device acquires the next undetected MAC subPDU following the MAC subPDU to be detected in the preset order, and sets The next undetected MAC sub-PDU is used as the new MAC sub-PDU to be detected, and step 52 is executed again.
  • Step 56 If the load of the MAC sub-PDU to be detected carries a random access response, and the random access response includes uplink authorization information, timing advance command and TC-RNTI, the terminal device buffers the MAC to be detected Sub-PDU, and acquire the next undetected MAC sub-PDU following the MAC sub-PDU to be detected according to the preset sequence, and use the next undetected MAC sub-PDU as the new MAC sub-PDU to be detected , Re-execute step 52.
  • the terminal device determines that the contention resolution is successful or the random access is successful, or determines the random access fallback, or determines to re-initiate the random access.
  • the terminal device determines that the contention resolution is successful or the random access is successful, and determines that the response message is received Successfully, and process the information included in the response message, such as uplink authorization information, timing advance command, TC-RNTI and RRC message 0, any one, any two, any three, or all four.
  • the terminal device determines that the contention resolution fails and/or the response message is received If it fails, re-initiate random access. If the MAC subheader of all the MAC subPDUs does not have the first contention resolution identification of the terminal device, but the MAC subheader of any MAC subPDU has the first random access signal identification of the terminal device And the load of the MAC subPDU carries random access responses, such as uplink authorization information, timing advance commands, and TC-RNTI.
  • the terminal device can determine to fall back from the contention-based 2-step random access process to the contention-based 4-step In the random access process, the terminal device determines that the first response to the random access request is received successfully or the random access response is received successfully, and processes the information included in the first response, such as uplink authorization information, timing advance command and TC-RNTI, or The terminal device re-initiates random access. If the MAC subheaders of all the MAC subPDUs do not have the first contention resolution identification of the terminal device and all the MAC subheaders of the MAC subPDU do not have the first random access of the terminal device Signal identification, the terminal device determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • the following uses an example to describe the implementation manner of detecting the response message to the request message in S702.
  • the identifier of the random access signal sent by the terminal device 1 to the network device is the random access signal identifier 1.
  • the first random access signal identifier of the terminal device 1 is a random access signal identifier 1
  • the first contention resolution identifier of the terminal device 1 is a contention resolution identifier 1.
  • the MAC PDU includes 4 MAC sub-PDUs, which are marked as MAC sub-PDUs 1 to 4. Among them, in the first example to the fifth example, the identifier carried in the MAC subheader of the MAC subPDU 1 to 2 is the contention resolution identifier.
  • the identifier carried in the MAC subheader of the MAC subPDU 3 to 4 is the random access signal identifier.
  • the identifier carried in the MAC subheader of the MAC subPDU 1 to 2 is the random access signal identifier.
  • the identifier carried in the MAC subheader of the MAC subPDU 3 to 4 is the contention resolution identifier.
  • the load of MAC sub-PDU 1 to 4 includes random access response.
  • the random access response includes uplink grant information, timing advance command, 0 items, any one, any two items, any three items, or all four items in the TC-RNTI and RRC messages.
  • the contention resolution identifier carried in the MAC subheader of the MAC subPDU 2 is the contention resolution identifier 1 of the terminal device 1.
  • the terminal device 1 sequentially detects the MAC subheader of the MAC subPDU according to the indication information carried in the MAC subheader. First, detect the MAC sub-PDU 1, and determine that the MAC sub-header of the MAC sub-PDU 1 does not have the contention resolution identifier 1, and then continue to detect the MAC sub-header of the next MAC sub-PDU.
  • the terminal device 1 determines that the contention resolution is successful or the random access is successful, and determines that the response message is successfully received, and can process the information included in the load of the MAC subPDU 2. At this time, the terminal device can stop detecting other undetected MAC sub-PDUs, such as MAC sub-PDUs 3 and 4, or continue to detect until all MAC sub-PDUs have been detected, which is not limited in this embodiment.
  • none of the contention resolution identifiers carried in the MAC subheaders of the MAC subPDU 1 to 2 is the contention resolution identifier 1.
  • the terminal device 1 sequentially detects the MAC subheader of the MAC subPDU according to the indication information carried in the MAC subheader. First, it is determined that the MAC sub-PDU 1 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU2. It is determined that the MAC sub-PDU 2 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub PDU 3.
  • the MAC sub PDU 3 carries the random access signal identifier and does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU 4. It is determined that the MAC sub PDU 4 carries the random access signal identifier and does not have the contention resolution identifier 1. The terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • none of the contention resolution identifiers carried in the MAC subheaders of the MAC subPDU 1 to 2 is the contention resolution identifier 1.
  • the random access signal identifier carried in the MAC subheader of MAC sub PDU 3 is random access signal identifier 1
  • the load of MAC sub PDU 3 includes uplink authorization information, timing advance command and TC-RNTI.
  • the terminal device 1 sequentially detects the MAC subheader of the MAC subPDU according to the indication information carried in the MAC subheader. First, it is determined that the MAC sub-PDU 1 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU2.
  • the MAC sub-PDU 2 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub PDU 3. It is determined that the MAC sub PDU 3 carries the random access signal identifier and does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU 4. It is determined that the MAC sub PDU 4 carries the random access signal identifier and does not have the contention resolution identifier 1. Finally, it is determined that none of the MAC sub-PDUs 1 to 4 have the contention resolution identifier 1.
  • terminal device 1 can follow the MAC sub PDU
  • the random access response carried by 3 determines the fallback from the contention-based 2-step random access process to the contention-based 4-step random access process.
  • the terminal device 1 determines that the first response to the random access request is received successfully or the random access response is received successfully, and processes the information included in the load in the MAC subPDU 3.
  • none of the contention resolution identifiers carried in the MAC subheaders of the MAC subPDU 1 to 2 is the contention resolution identifier 1.
  • the random access signal identifier carried in the MAC subheader of MAC sub PDU 3 is random access signal identifier 1, and the load of MAC sub PDU 3 does not include any one of uplink authorization information, timing advance commands, and TC-RNTI. Two or all three.
  • the terminal device 1 sequentially detects the MAC subheader of the MAC subPDU according to the indication information carried in the MAC subheader. First, it is determined that the MAC sub-PDU 1 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU2.
  • the MAC sub-PDU 2 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub PDU 3. It is determined that the MAC sub PDU 3 carries the random access signal identifier and does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU 4. It is determined that the MAC sub PDU 4 carries the random access signal identifier and does not have the contention resolution identifier 1. Finally, it is determined that none of the MAC sub-PDUs 1 to 4 have the contention resolution identifier 1.
  • the terminal device 1 determines that it cannot fall back from the contention-based 2-step random access process to the contention-based random access response according to the random access response carried in the MAC subPDU 3. 4-step random access process. At this time, the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • none of the contention resolution identifiers carried in the MAC subheaders of the MAC subPDU 1 to 2 is the contention resolution identifier 1.
  • None of the random access signal identifiers carried in the MAC subheaders of MAC sub PDUs 3 to 4 is random access signal identifier 1.
  • the terminal device 1 sequentially detects the MAC subheader of the MAC subPDU according to the indication information carried in the MAC subheader. First, make sure that the MAC sub-PDU 1 carries the contention resolution identifier, but does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU2. It is determined that the MAC sub-PDU 2 carries the contention resolution identifier, but does not have the contention resolution identifier 1.
  • the terminal device 1 determines that the contention resolution fails and/or the response message reception fails, and re-initiates random access.
  • the contention resolution identifier carried in the MAC subheader of the MAC subPDU 3 is the contention resolution identifier 1 of the terminal device 1.
  • the random access signal identifier carried in the MAC subheader of MAC sub PDU 1 is random access signal identifier 1
  • the load of MAC sub PDU 1 includes uplink authorization information, timing advance command, and TC-RNTI.
  • the terminal device 1 sequentially detects the MAC subheader of the MAC subPDU according to the indication information carried in the MAC subheader. First, it is determined that the MAC sub-PDU 1 carries the random access signal identifier and does not have the contention resolution identifier 1. Then continue to detect the MAC sub-PDU2.
  • the MAC sub PDU 2 carries the random access signal identifier and does not have the contention resolution identifier 1. Then continue to detect the MAC sub PDU 3. It is determined that the MAC subheader of the MAC subPDU 3 has a contention resolution identifier 1. Although the random access signal identifier carried in the MAC subheader of MAC sub PDU 1 is random access signal identifier 1, the terminal device needs to continue to detect the MAC subheaders of other undetected MAC sub PDUs, and then determine the MAC sub PDU 3 The MAC subheader has contention resolution identification 1.
  • the terminal device 1 determines that the contention resolution succeeds or the random access succeeds, and determines that the response message is successfully received, and can process the information included in the load of the MAC subPDU 3. At this time, the terminal device can stop detecting other undetected MAC sub-PDUs, such as MAC sub-PDU 4, or continue to detect until all MAC sub-PDUs are detected, which is not limited in this embodiment.
  • the MAC sub-PDUs in the MAC PDU can be detected in sequence according to a preset sequence.
  • This embodiment does not limit the preset sequence, for example, it may be the sequence from the head to the tail of the MAC PDU.
  • the embodiments of the present application also provide a device for implementing any of the above methods.
  • a chip device is provided for a terminal device, including, for implementing each of the terminal devices in any of the above methods.
  • FIG. 20 is a schematic structural diagram of an apparatus provided by an embodiment of this application.
  • the device provided in this embodiment may include:
  • the sending module 101 is configured to send a request message to a network device, where the request message includes a random access signal and information used for contention resolution, and the random access signal is used to request random access;
  • the processing module 102 is configured to detect a response message to the request message, where:
  • the response message includes a MAC subPDU with a first contention resolution identifier
  • the contention resolution is successful or the random access is successful
  • the first contention resolution identifier is obtained according to the information for contention resolution
  • the response message includes the MAC sub-PDU with the first random access signal identifier and does not include the MAC sub-PDU with the first contention resolution identifier, perform random access fallback or re-initiate random access
  • the The first contention resolution identifier is obtained according to the information used for contention resolution, and the first random access signal identifier corresponds to the random access signal; or,
  • the response message When it is detected that the response message does not include the MAC sub-PDU with the first random access signal identifier and does not include the MAC sub-PDU with the first contention resolution identifier, random access is re-initiated, and the first contention resolution identifier is Obtained according to the information used for contention resolution, the first random access signal identifier corresponds to the random access signal.
  • the response message when it is detected that the response message includes the MAC sub-PDU with the first contention resolution identifier, the response message further includes the MAC sub-PDU with the first random access signal identifier.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are located in the same or different MAC PDU.
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are the same MAC sub-PDU.
  • processing module 102 is specifically configured to:
  • the first MAC sub-PDU set includes the MAC sub-PDU with the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful; or,
  • the first MAC sub-PDU set does not include the MAC sub-PDU with the first contention resolution identifier, perform random access fallback or re-initiate random access.
  • processing module 102 is specifically configured to:
  • the first MAC subPDU When the first MAC subPDU has the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful; or,
  • the MAC sub-PDU with the first contention resolution identifier and the MAC sub-PDU with the first random access signal identifier are different MAC sub-PDUs.
  • processing module 102 is specifically configured to:
  • the second MAC sub-PDU set includes all MAC sub-PDUs with a first random access signal identifier and adjacent MAC sub-PDUs carrying a contention resolution identifier in the response message;
  • the second MAC sub-PDU set includes a MAC sub-PDU with a first contention resolution identifier
  • the second MAC sub-PDU set includes the MAC sub-PDU with the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful; or,
  • the second MAC sub-PDU set does not include the MAC sub-PDU with the first contention resolution identifier, perform random access fallback or re-initiate random access.
  • processing module 102 is specifically configured to:
  • the MAC subPDU adjacent to the second MAC subPDU has the first contention resolution identifier, it is determined that the contention resolution is successful or the random access is successful; or,
  • processing module 102 is specifically configured to:
  • response message does not include the MAC sub-PDU with the first random access signal identifier, and random access is initiated again.
  • processing module 102 is specifically configured to:
  • the response message includes a MAC sub-PDU with a first contention resolution identifier
  • the MAC sub-PDU with the first contention resolution identifier When the MAC sub-PDU with the first contention resolution identifier is not included, re-initiate random access or determine whether the response message includes the MAC sub-PDU with the first random access signal identifier. When receiving the MAC subPDU identified by the signal, perform random access fallback;
  • the response message includes the MAC subPDU with the first random access signal identifier, and it is determined that the contention resolution is successful or the random access is successful.
  • processing module 102 is further configured to:
  • the load of the MAC sub-PDU with the first random access signal identifier is processed.
  • the response message includes a MAC sub-PDU
  • the MAC sub-PDU includes a MAC sub-header
  • the MAC sub-header includes an identifier
  • the identifier is a first random access signal identifier or a first contention resolution identifier.
  • the MAC subheader further includes indication information, and the indication information is used to indicate the format of the MAC subPDU, or indicate that the MAC subheader carries the first random access signal identifier or carries the first contention resolution Identifier; or indicating the length of the identifier included in the MAC subheader or the length of the MAC subheader.
  • the indication information is 1 bit or 2 bits.
  • the MAC subheader carries a first contention resolution identifier
  • the load of the MAC subPDU includes one or more of the following information: uplink grant information, timing advance command, TC-RNTI, and RRC message.
  • the device provided in this embodiment is used to implement the random access method provided in any of the above embodiments.
  • the technical principles and technical effects are similar, and will not be repeated here.
  • modules in the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity in actual implementation, or may be physically separated.
  • the modules in the device can be all implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; part of the modules can also be implemented in the form of software called by the processing elements, and some of the modules can be implemented in the form of hardware.
  • each module can be a separately set up processing element, or it can be integrated in a certain chip of the device for implementation.
  • it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device.
  • each step of the above method or each of the above modules may be implemented by an integrated logic circuit of hardware in a processor element or implemented in a form of being called by software through a processing element.
  • the module in any of the above devices may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (ASIC), or, one or Multiple microprocessors (digital singnal processors, DSPs), or, one or more field programmable gate arrays (Field Programmable Gate Arrays, FPGAs), or a combination of at least two of these integrated circuits.
  • ASIC application specific integrated circuits
  • DSPs digital singnal processors
  • FPGAs Field Programmable Gate Arrays
  • the module in the device can be implemented in the form of a processing element scheduler
  • the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • the above receiving module is an interface circuit of the device for receiving signals from other devices.
  • the receiving module is an interface circuit used by the chip to receive signals from other chips or devices.
  • the module used for sending above is an interface circuit of the device for sending signals to other devices.
  • the sending module is an interface circuit used by the chip to send signals to other chips or devices.
  • FIG. 21 is a schematic structural diagram of a terminal equipment provided in an embodiment of the application. It may be the terminal device in the above embodiment, and is used to implement the operation of the terminal device in the above embodiment.
  • the terminal equipment includes: an antenna 310, a radio frequency device 320, and a baseband device 330.
  • the antenna 310 is connected to the radio frequency device 320.
  • the radio frequency device 320 receives the information sent by the network device through the antenna 310, and sends the information sent by the network device to the baseband device 330 for processing.
  • the baseband device 330 processes the information of the terminal device and sends it to the radio frequency device 320
  • the radio frequency device 320 processes the information of the terminal device and sends it to the network device via the antenna 310.
  • the baseband device 330 may include a modem subsystem, which is used to process data at various communication protocol layers; it may also include a central processing subsystem, which is used to process terminal equipment operating systems and application layers; in addition, it may also include Other subsystems, such as multimedia subsystems, peripheral subsystems, etc., where the multimedia subsystem is used to control the terminal device camera, screen display, etc., and the peripheral subsystem is used to realize the connection with other devices.
  • the modem subsystem can be a separate chip.
  • the above apparatus for terminal equipment may be located in the modem subsystem.
  • the modem subsystem may include one or more processing elements 331, for example, a main control CPU and other integrated circuits.
  • the modem subsystem may also include a storage element 332 and an interface circuit 333.
  • the storage element 332 is used to store data and programs, but the program used to execute the method executed by the terminal device in the above method may not be stored in the storage element 332, but stored in a memory outside the modem subsystem.
  • the modem subsystem is loaded and used.
  • the interface circuit 333 is used to communicate with other subsystems.
  • the above apparatus for terminal equipment may be located in a modem subsystem, which may be implemented by a chip.
  • the chip includes at least one processing element and an interface circuit, wherein the processing element is used to perform any of the above terminal equipment executions.
  • the interface circuit is used to communicate with other devices.
  • the unit for the terminal device to implement each step in the above method can be implemented in the form of a processing element scheduler.
  • the device for the terminal device includes a processing element and a storage element, and the processing element calls the program stored by the storage element to Perform the method performed by the terminal device in the above method embodiment.
  • the storage element may be a storage element whose processing element is on the same chip, that is, an on-chip storage element.
  • the program for executing the method executed by the terminal device in the above method may be a storage element on a different chip from the processing element, that is, an off-chip storage element.
  • the processing element calls or loads a program from the off-chip storage element on the on-chip storage element to call and execute the method executed by the terminal device in the above method embodiment.
  • the unit for the terminal device to implement each step in the above method may be configured as one or more processing elements, and these processing elements are arranged on the modem subsystem, where the processing elements may be integrated circuits, For example: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
  • the units of the terminal device that implement each step in the above method can be integrated together and implemented in the form of a system-on-a-chip (SOC), and the SOC chip is used to implement the above method.
  • SOC system-on-a-chip
  • the chip can integrate at least one processing element and a storage element, and the processing element can call the stored program of the storage element to implement the method executed by the above terminal device; or, the chip can integrate at least one integrated circuit to implement the above terminal The method executed by the device; or, it can be combined with the above implementations.
  • the functions of some units are implemented in the form of calling programs by processing elements, and the functions of some units are implemented in the form of integrated circuits.
  • the above apparatus for terminal equipment may include at least one processing element and an interface circuit, wherein at least one processing element is used to execute any of the methods performed by the terminal equipment provided in the above method embodiments.
  • the processing element can execute part or all of the steps executed by the terminal device in the first way: calling the program stored in the storage element; or in the second way: combining instructions through the integrated logic circuit of the hardware in the processor element Part or all of the steps performed by the terminal device are executed in a manner; of course, part or all of the steps executed by the terminal device can also be executed in combination with the first manner and the second manner.
  • the processing element here is the same as the above description, and may be a general-purpose processor, such as a CPU, or one or more integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more micro-processing DSP, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.
  • a general-purpose processor such as a CPU
  • integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more micro-processing DSP, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.
  • the storage element can be a memory or a collective term for multiple storage elements.

Landscapes

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

Abstract

本申请实施例提供一种随机接入方法和装置,随机接入方法包括:向网络设备发送请求消息,检测对于请求消息的响应消息,其中:当响应消息包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功;或,当响应消息包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入;或,当响应消息不包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入。本申请实施例提供的随机接入方法,终端设备可以确定响应消息是否接收成功以及竞争解决是否成功。

Description

随机接入方法和装置
本申请要求于2019年03月27日提交中国专利局、申请号为201910238760.9、申请名称为《随机接入方法和装置》的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种随机接入方法和装置。
背景技术
终端设备通过随机接入(random access,RA)过程可以实现与网络设备的上行同步。随机接入过程包括基于竞争的随机接入过程和非竞争的随机接入过程。目前,基于竞争的随机接入过程分四步完成:第一步是终端设备向网络设备发送随机接入请求,该随机接入请求也可称为消息1(Msg1),其中包含随机接入前导(preamble);第二步为网络设备向终端设备发送随机接入响应(random access response,RAR)消息,该RAR消息也可称为消息2(Msg2);第三步为终端设备在接收到RAR后,基于RAR调度进行消息传输,该消息也可称为消息3(Msg3);第四步为网络设备向终端设备发送竞争解决信息,承载该信息的消息称为消息4(Msg4)。RAR消息中可以包括随机接入前导标识(random access preamble identifier,RAP ID),且该RAP ID与终端设备选择的preamble ID相匹配(或相同),则认为RAR消息接收成功。在确定RAR接收成功后,终端设备不监听后续的RAR。
基于竞争的4步随机接入过程需要较多的交互流程,时延较大,不能很好的应用于对时延要求较高的场景。因此,引入了基于竞争的2步随机接入过程,但在2步随机接入过程中,终端设备采用以上方式确定响应消息接收成功时,往往存在错误接收响应消息的问题。
发明内容
有鉴于此,本申请实施例提供了一种随机接入方法和装置,以期终端设备可以确定响应消息是否接收成功以及竞争解决是否成功。
第一方面,提供一种随机接入方法,包括:
终端设备向网络设备发送请求消息。其中,请求消息可以包括随机接入信号和用于竞争解决的信息,随机接入信号用于请求随机接入。终端设备检测对于请求消息的响应消息。当检测结果为:终端设备检测到响应消息包括具有第一竞争解决标识的MAC子PDU时,终端设备确定竞争解决成功或者随机接入成功。当检测结果为:终端设备检测到响应消息包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,终端设备进行随机接入回退或者重新发起随机接入。随机接入回退可以为从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。当检测结果为:终端设备检测到响应消息不包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一 竞争解决标识的MAC子PDU时,终端设备重新发起随机接入。其中,第一竞争解决标识是根据用于竞争解决的信息得到的,第一随机接入信号标识对应于随机接入信号。
第二方面,提供一种装置,包括:用于执行以上第一方面各个步骤的单元或手段(means)。
第三方面,提供一种装置,包括处理器和接口电路,处理器用于通过接口电路与其它装置通信,并执行以上第一方面提供的方法。该处理器包括一个或多个。
第四方面,提供一种装置,包括处理器,用于与存储器相连,用于调用存储器中存储的程序,以执行以上第一方面提供的方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器包括一个或多个。
第五方面,提供一种程序,该程序在被处理器执行时用于执行以上第一方面的方法。
第六方面,提供一种程序产品,例如计算机可读存储介质,包括第五方面提供的程序。
第七方面,提供一种终端设备,包括如上任一种装置。
可见,在以上各个方面中,终端设备向网络设备发送请求消息,检测对于请求消息的响应消息。终端设备在检测响应消息的过程中,确定响应消息是否包括具有第一竞争解决标识的MAC子PDU,还可以确定响应消息是否包括具有第一随机接入信号标识的MAC子PDU。其中,该终端设备的竞争解决标识称为第一竞争解决标识,该终端设备的随机接入信号标识称为第一随机接入信号标识。终端设备的响应消息,可以包括对于随机接入信号的第一响应和对于用于竞争解决的信息的第二响应。如果终端设备在确定竞争解决成功时也确定响应消息接收成功,终端设备可以处理响应消息中携带的参数。或者,如果终端设备在确定可以从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程时,确定第一响应接收成功,终端设备可以处理第一响应中携带的参数。或者,如果终端设备在确定竞争解决失败时,确定响应消息接收失败并重新发起随机接入。终端设备通过对第一竞争解决标识的检测,解决了终端设备将其他终端设备的响应消息误认为是自己的并进行处理的问题,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
在以上各个方面中,可选的,在一种可能的实施方式中,当终端设备检测到响应消息包括具有第一竞争解决标识的MAC子PDU时,响应消息还包括具有第一随机接入信号标识的MAC子PDU。
在以上各个方面中,可选的,在一种可能的实施方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU位于相同的或不同的MAC PDU。
通过该可能的实施方式,当通信系统中至少两个终端设备选择相同的随机接入信号和相同的时频资源发起2步随机接入过程时,针对该至少两个终端设备的随机接入的响应消息可以复用到相同的MAC PDU)里面。一个终端设备的第一竞争解决标识和第一随机接入信号标识分别所在的MAC子PDU,可以位于相同的MAC PDU中,也可以位于不同的MAC PDU中,终端设备接收响应消息的方式更加灵活,扩展了应用场景。
在以上各个方面中,可选的,在一种可能的实施方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为同一个MAC子PDU。
通过该可能的实施方式,一个终端设备的第一竞争解决标识和第一随机接入信号标识位于同一个MAC子PDU中。终端设备的响应消息与MAC子PDU的对应方式更加灵活, 扩展了应用场景。
在以上各个方面中,可选的,在一种可能的实施方式中,终端设备在检测响应消息的过程中,首先确定第一MAC子PDU集合,第一MAC子PDU集合包括响应消息中所有具有第一随机接入信号标识的MAC子PDU。然后,终端设备确定第一MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU。当第一MAC子PDU集合包括具有第一竞争解决标识的MAC子PDU时,终端设备确定竞争解决成功或随机接入成功。当第一MAC子PDU集合不包括具有第一竞争解决标识的MAC子PDU时,终端设备进行随机接入回退或重新发起随机接入。
通过该可能的实施方式,终端设备的第一竞争解决标识和第一随机接入信号标识位于同一个MAC子PDU中。终端设备首先根据第一随机接入信号标识对MAC子PDU的MAC子头进行检测,筛选获得第一MAC子PDU集合。然后,在第一MAC子PDU集合中对第一竞争解决标识进行检测。终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
在以上各个方面中,可选的,在一种可能的实施方式中,终端设备在检测响应消息的过程中,首先确定第一MAC子PDU,第一MAC子PDU具有第一随机接入信号标识。然后,终端设备确定第一MAC子PDU是否具有第一竞争解决标识。当第一MAC子PDU具有第一竞争解决标识时,确定竞争解决成功或随机接入成功。当所有第一MAC子PDU不具有第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
通过该可能的实施方式,终端设备的第一竞争解决标识和第一随机接入信号标识位于同一个MAC子PDU中。终端设备按照一定的顺序对MAC PDU中的MAC子PDU依次检测。先确定MAC子PDU的MAC子头中是否具有第一随机接入信号标识,如果是,再确定该MAC子PDU的负载是否具有第一竞争解决标识。终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
在以上各个方面中,可选的,在一种可能的实施方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为不同的MAC子PDU。
通过该可能的实施方式,一个终端设备的第一竞争解决标识和第一随机接入信号标识分别位于不同的MAC子PDU中。终端设备的响应消息与MAC子PDU的对应方式更加灵活,扩展了应用场景。
在以上各个方面中,可选的,在一种可能的实施方式中,终端设备在检测响应消息的过程中,首先确定第二MAC子PDU集合,第二MAC子PDU集合包括响应消息中所有具有第一随机接入信号标识的MAC子PDU以及相邻的携带竞争解决标识的MAC子PDU。然后,终端设备确定第二MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU。当第二MAC子PDU集合包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功。当第二MAC子PDU集合不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
通过该可能的实施方式,终端设备的第一竞争解决标识和第一随机接入信号标识分别位于不同的MAC子PDU中。终端设备首先根据第一随机接入信号标识对MAC子PDU的子头进行检测,筛选获得第二MAC子PDU集合。然后,在第二MAC子PDU集合中对第一竞争解决标识进行检测。终端设备可以准确的确定响应消息是否接收成功以及竞争 解决是否成功。
在以上各个方面中,可选的,在一种可能的实施方式中,终端设备在检测响应消息的过程中,首先确定第二MAC子PDU,第二MAC子PDU具有第一随机接入信号标识。然后,确定第二MAC子PDU相邻的MAC子PDU是否具有第一竞争解决标识。其中,当第二MAC子PDU相邻的MAC子PDU具有第一竞争解决标识时,确定竞争解决成功或随机接入成功。当所有第二MAC子PDU相邻的MAC子PDU不具有第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
通过该可能的实施方式,终端设备的第一竞争解决标识和第一随机接入信号标识分别位于不同的MAC子PDU中。终端设备按照一定的顺序对MAC PDU中的MAC子PDU依次检测。先确定MAC子PDU的MAC子头中是否具有第一随机接入信号标识,如果是,且所述MAC子PDU的相邻的MAC子PDU携带竞争解决标识,再确定所述相邻的MAC子PDU中携带的竞争解决标识是否为第一竞争解决标识。终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
在以上各个方面中,可选的,在一种可能的实施方式中,终端设备在检测响应消息的过程中,确定响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
在以上各个方面中,可选的,在一种可能的实施方式中,终端设备在检测响应消息的过程中,首先检测响应消息是否包括具有第一竞争解决标识的MAC子PDU。当不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入或确定响应消息是否包括具有第一随机接入信号标识的MAC子PDU,当包括具有第一随机接入信号标识的MAC子PDU时,进行随机接入回退。或者,当包括具有第一竞争解决标识的MAC子PDU时,响应消息包括具有第一随机接入信号标识的MAC子PDU,确定竞争解决成功或者随机接入成功。
在以上各个方面中,可选的,在一种可能的实施方式中,当竞争解决成功或随机接入成功时,对具有第一随机接入信号标识的MAC子PDU的负载进行处理。
在以上各个方面中,可选的,在一种可能的实施方式中,响应消息包括MAC子PDU,MAC子PDU包括MAC子头,MAC子头包括标识,标识为第一随机接入信号标识或第一竞争解决标识。
通过该可能的实施方式,终端设备对MAC子头进行检测时,根据标识可以直接确定竞争解决是否成功,提升了检测效率。
在以上各个方面中,可选的,在一种可能的实施方式中,MAC子头还可以包括指示信息,指示信息用于指示MAC子PDU的格式,或者指示MAC子头携带第一随机接入信号标识或者携带第一竞争解决标识;或者指示MAC子头包括的标识的长度或MAC子头的长度。
通过该可能的实施方式,终端设备通过对MAC子头中携带的指示信息,可以确定MAC子头中的标识是随机接入信号标识还是竞争解决标识,从而通过MAC子头中的标识可以直接确定竞争解决是否成功,提升了检测效率。
在以上各个方面中,可选的,在一种可能的实施方式中,指示信息可以为1比特或2比特。
在以上各个方面中,可选的,在一种可能的实施方式中,MAC子头可以携带第一竞 争解决标识,MAC子PDU的负载包括以下信息中的一个或多个:上行授权信息,定时提前命令,TC-RNTI,以及RRC消息。
附图说明
图1为本申请实施例适用的一种通信系统的架构图;
图2为本申请实施例适用的另一种通信系统的架构图;
图3为本申请实施例适用的又一种通信系统的架构图;
图4为现有的基于竞争的4步随机接入过程的消息交互图;
图5为本申请实施例涉及的基于竞争的2步随机接入过程的消息交互图;
图6为本申请实施例提供的一种MAC PDU的示意图;
图7为本申请实施例提供的一种随机接入方法的流程图;
图8为本申请实施例提供的一种MAC子PDU的结构示意图;
图9为本申请实施例提供的又一种随机接入方法的流程图;
图10~图14为本申请实施例提供的MAC PDU和MAC子PDU的结构示意图;
图15为本申请实施例提供的又一种随机接入方法的流程图;
图16为本申请实施例提供的又一种随机接入方法的流程图;
图17为本申请实施例提供的又一种随机接入方法的流程图;
图18为本申请实施例提供的又一种随机接入方法的流程图;
图19为本申请实施例提供的另一种MAC子PDU的结构示意图;
图20为本申请实施例提供的一种装置的结构示意图;
图21为本申请实施例提供的一种终端设备的结构示意图。
具体实施方式
下面结合附图描述本申请实施例。
请参考图1,其为本申请实施例提供的一种通信系统的架构图。如图1所示,通信系统可以包括终端设备100和网络设备200。本申请实施例对于终端设备100和网络设备200的数量不做限定。位于网络设备200覆盖范围内的终端设备100,可以通过无线的方式与网络设备200通信。具体的,当网络设备200作为发送者时,可以向终端设备100发送下行信息。相应的,终端设备100作为接收者,可以接收网络设备200发送的下行信息。当终端设备100作为发送者时,可以向网络设备200发送上行信息。相应的,网络设备200作为接收者,可以接收终端设备100发送的上行信息。终端设备100可以是固定位置的,也可以是可移动的。
可选的,通信系统还可以包括其它设备。例如,通信系统还可以包括核心网设备(图1未示出)。网络设备200可以通过无线或有线的方式与核心网设备连接。核心网设备与网络设备200可以是独立的不同的物理设备,也可以将核心网设备的功能与网络设备200的功能集成在同一个物理设备上,还可以是一个物理设备上集成了核心网设备的部分功能和网络设备200的部分功能。又例如,通信系统还可以包括无线中继设备或无线回传设备(图1未示出)。
网络设备200,是网络侧中一种用于发射和接收信号的装置,例如将终端设备接入到 无线网络的无线接入网(radio access network,RAN)节点。目前,一些RAN节点的举例为:新无线接入技术(new radio access technology,NR)(或5G)系统中的新一代基站(generation Node B,gNB)、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),中继站,或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。在一种网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点的RAN设备。网络设备200的无线覆盖区域可以包括一个或多个小区。小区覆盖范围内的终端设备100通过该小区的传输资源(例如,频域资源,频谱资源,或时频资源)与网络设备200进行通信。该小区可以是宏小区,也可以是小小区(small cell)。可选的,小小区可以包括:城市小区(metro cell)、微小区(micro cell)、微微小区(pico cell)、或毫微微小区(femto cell)等。本申请实施例对于网络设备200所采用的具体技术和具体设备形态不做限定。
终端设备100,又称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、或移动终端(mobile terminal,MT)等,是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、或车载设备等。目前,一些终端设备的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、或智慧家庭(smart home)中的无线终端等。
请参考图2,其为本申请实施例提供的另一种网络架构的示意图。如图2所示,该网络架构包括核心网(CN)设备和RAN设备。其中RAN设备包括基带装置和射频装置,其中基带装置可以由一个节点实现,也可以由多个节点实现,射频装置可以从基带装置拉远独立实现,也可以集成基带装置中,或者部分拉远部分集成在基带装置中。例如,在长期演进(Long Term Evolution,LTE)通信系统中,RAN设备(eNB)包括基带装置和射频装置,其中射频装置可以相对于基带装置拉远布置,例如射频拉远单元(remote radio unit,RRU)相对于BBU拉远布置。
RAN设备和终端设备之间的通信遵循一定的协议层结构。例如控制面协议层结构可以包括无线资源控制(radio resource control,RRC)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理层等协议层的功能。用户面协议层结构可以包括PDCP层、RLC层、MAC层和物理层等协议层的功能;在一种实现中,PDCP层之上还可以包括业务数据适配(service data adaptation protocol,SDAP)层。
这些协议层的功能可以由一个节点实现,或者可以由多个节点实现;例如,在一种演进结构中,RAN设备可以包括CU和DU,多个DU可以由一个CU集中控制。如图2所示,CU和DU可以根据无线网络的协议层划分,例如PDCP层及以上协议层的功能设置 在CU,PDCP以下的协议层,例如RLC层和MAC层等的功能设置在DU。
这种协议层的划分仅仅是一种举例,还可以在其它协议层划分,例如在RLC层划分,将RLC层及以上协议层的功能设置在CU,RLC层以下协议层的功能设置在DU;或者,在某个协议层中划分,例如将RLC层的部分功能和RLC层以上的协议层的功能设置在CU,将RLC层的剩余功能和RLC层以下的协议层的功能设置在DU。此外,也可以按其它方式划分,例如按时延划分,将处理时间需要满足时延要求的功能设置在DU,不需要满足该时延要求的功能设置在CU。
此外,射频装置可以拉远,不放在DU中,也可以集成在DU中,或者部分拉远部分集成在DU中,在此不作任何限制。
请继续参考图3,相对于图2所示的架构,还可以将CU的控制面(CP)和用户面(UP)分离,分成不同实体来实现,分别为控制面CU实体(CU-CP实体)和用户面CU实体(CU-UP实体)。
在以上网络架构中,CU产生的信令可以通过DU发送给终端设备,或者终端设备产生的信令可以通过DU发送给CU。DU可以不对该信令进行解析而直接通过协议层封装而透传给终端设备或CU。以下实施例中如果涉及这种信令在DU和终端设备之间的传输,此时,DU对信令的发送或接收包括这种场景。例如,RRC或PDCP层的信令最终会处理为PHY层的信令发送给终端设备,或者,由接收到的PHY层的信令转变而来。在这种架构下,该RRC或PDCP层的信令,即也可以认为是由DU发送的,或者,由DU和射频发送的。
在以上实施例中CU划分为RAN侧的网络设备,此外,也可以将CU划分为CN侧的网络设备,在此不做限制。
当采用以上CU-DU的结构时,本申请各实施例中的网络设备,可以为CU节点、或DU节点、或包括CU节点和DU节点的RAN设备。
终端设备通过随机接入过程可以实现与网络设备的上行同步。请参考图4,其为一种现有的基于竞争的随机接入过程的消息交互图。如图4所示,该过程主要包括4个步骤,故可以称为4步随机接入过程。
S401、终端设备向网络设备发送随机接入请求,该随机接入请求也可称为消息1(Msg1),其中包含随机接入前导(preamble)。
相应的,网络设备接收该preamble,获知有终端设备请求接入,进而执行以下步骤S402。
S402、网络设备向终端设备发送随机接入响应(random access response,RAR)消息,该RAR消息也可称为消息2(Msg2)。
RAR可以包括如下内容:1)RAPID,RAPID为网络设备在检测preamble时得到的preamble index(前导码索引)。2)定时提前命令(timing advance command,或TA command),TA命令用于指定终端设备进行上行同步所需要的时间调整量(也称为定时提前量)。3)上行授权信息(UL grant),UL grant用于指定网络设备分配给终端设备发送Msg3(消息3)的上行资源。4)临时小区无线网络临时标识(temporary cell radio network temporary identity,TC-RNTI),用于终端设备和网络设备之间后续的数据传输。
相应的,终端设备通过发送preamble的时频资源计算出随机接入无线网络临时标识 (random access radio network temporary identifier,RA-RNTI),并在RAR时间窗口内监听RA-RNTI加扰的物理下行控制信道(physical downlink control channel,PDCCH),以接收对应所述RA-RNTI的RAR。当终端设备使用所述RA-RNTI解码并成功地接收到一个RAR,且该RAR中的RAPID值与终端设备发送preamble时使用的索引值相同时,则认为RAR接收成功。终端设备开始处理该RAR里面包含的TA command,UL grant以及TC-RNTI。如果终端设备在RAR时间窗口内没有接收到针对所述Preamble的RAR,则认为RAR接收失败。后续,返回S401重新进行基于竞争的4步随机接入。
S403、终端设备根据RAR,在网络设备分配的上行资源上,使用网络设备指示的定时提前量向网络设备发送Msg3(消息3)。
具体的,终端设备发送Msg3后,启动或重启竞争解决定时器。其中,Msg3中包含终端设备的标识。终端设备的标识将用于S404中的竞争解决。
S404、网络设备向终端设备发送Msg4(消息4)。
Msg4可以包括竞争解决信息,以指示竞争解决成功。可选的,竞争解决信息可以为Msg3的部分内容,或者为Msg3的全部内容,或者为小区无线网络临时标识(cell radio network temporary identifier,C-RNTI)加扰的PDCCH。相应的,终端设备在竞争解决定时器内等待接收Msg4。如果竞争解决定时器超时,终端设备尚未接收到竞争解决信息,则返回S401重新进行基于竞争的4步随机接入。
以上基于竞争的4步随机接入过程应用于对时延要求较高的场景时,由于交互的流程较多,时延较大,存在难以满足时延要求的问题。因此,引入了2步随机接入过程。请参考图5,其为本申请实施例提供的一种2步随机接入过程的消息交互图。如图5所示,该随机接入过程,可以包括:
S501、终端设备向网络设备发送请求消息。
相应的,网络设备接收终端设备发送的请求消息。
其中,请求消息可以包括随机接入信号和用于竞争解决的信息。
其中,随机接入信号用于请求随机接入。网络设备可以检测出随机接入信号,并获知有终端设备请求随机接入。
在不同的通信系统或不同的应用场景中,随机接入信号的实现方式可以不同。例如,在NR系统中,随机接入信号可以为Preamble(前导码)、解调参考信号(demodulation reference signal,DMRS)或者其他的用于随机接入的检测信号。本申请实施例对于随机接入信号的实现方式以及长度、名称等不做限定。
其中,用于竞争解决的信息是终端设备向网络设备发送的,用于竞争解决。
可选的,用于竞争解决的信息可以包括终端设备的标识。终端设备的标识可以与终端设备在通信系统中的状态相关。例如,终端设备处于RRC连接态(RRC_CONNECTED态)时,终端设备的标识可以是小区无线网络临时标识(cell radio network temporary identifier,C-RNTI)。终端设备处于非RRC连接态时,终端设备的标识可以为来自核心网的终端设备标识。可选的,来自核心网的终端设备标识可以为系统架构演进临时移动台标识符(system architecture evolution temporary mobile station identifier,S-TMSI)或一个随机数。
S502、网络设备向终端设备发送对于请求消息的响应消息。
相应的,终端设备接收网络设备发送的对于请求消息的响应消息。
根据现有技术,当终端设备检测到响应消息携带的随机接入信号标识与自己发送的随机接入信号的标识相同时,则认为响应消息接收成功,并开始处理响应消息包含的参数,比如,上行授权信息、定时提前命令或TC-RNTI。然而,网络设备的覆盖范围内通常存在多个终端设备,可能存在至少两个终端设备选择相同的随机接入信号和相同的时频资源发起2步随机接入过程。在该场景中,针对该至少两个终端设备的随机接入的响应消息可以复用到相同的MAC协议数据单元(protocol data unit,PDU)里面。此时,该MAC PDU包括了针对不同终端设备的随机接入请求的响应消息,但该响应消息包括了相同的随机接入信号标识。对于其中一个终端设备,如果其仍按现有技术的方式,当检测到包括随机接入信号标识的响应消息时,即认为响应消息接收成功,并开始处理响应消息包含的参数,会出现对其它终端设备的响应消息进行处理的情况,从而造成终端设备误判响应消息接收成功,并且对其它终端设备的响应消息的内容进行处理,导致后续通信质量下降。
例如,终端设备1和终端设备2在相同的时频资源向网络设备发送相同的随机接入信号以请求随机接入。网络设备对终端设备1和终端设备2随机接入请求进行响应,且向终端设备1和2发送响应消息,且将对终端设备1和2的响应消息复用到相同的MAC PDU中进行传输。请参考图6,其为本申请实施例提供的一种MAC PDU的示意图。如图6所示,MAC PDU中包括终端设备1的响应消息1和终端设备2的响应消息2,其中响应消息1和响应消息2以MAC子PDU的形式出现,且每个MAC子PDU包括MAC子头和负载,MAC子头中包括随机接入信号标识。由于终端设备1和终端设备2发送相同的随机接入信号以请求随机接入,则响应消息1和响应消息2中的随机接入信号标识相同。如果终端设备2先检测到响应消息1中携带的随机接入信号标识与自己发送的随机接入信号的标识相同,终端设备2认为响应消息接收成功,并开始处理响应消息1负载中包含的参数。但是,响应消息1为终端设备1的响应消息,从而终端设备2错误的认为自己的响应消息接收成功。此外,负载中可能包括终端设备1的竞争解决标识,而终端设备2未发现自己的竞争解决标识,错误的认为自己竞争解决失败。或者,终端设备2错误的将终端设备1负载中的参数当作自己的参数使用,例如将终端设备1的TA命令当作自己的TA命令使用,导致后续上行传输的时间调整量有误,上行传输失败。这里以不同终端设备的响应消息复用在同一个MAC PDU中为例进行说明,当不同终端设备的响应消息通过不同MAC PDU发送时,会采用相同随机接入RNTI(random access RNTI,RA-RNTI)加扰,因此也存在以上问题。
可见,在2步随机接入过程中,采用现有技术确定随机接入的响应消息是否成功会存在误判。有鉴于此,本申请实施例提供一种随机接入方法,终端设备在检测响应消息是否接收成功时,检测响应消息中是否包括该终端设备的竞争解决标识,且在包括该终端设备的竞争解决标识时,才确定响应消息接收成功(或竞争解决成功,或随机接入成功),进而处理响应消息中包括的参数。通过对竞争解决标识的检测,终端设备可以准确的确定响应消息是否接收成功或竞争解决是否成功,从而大大降低响应消息误判的概率。
下面结合附图进行描述。
需要说明的是,在本申请各实施例中,对于一个终端设备来说,为了体现该终端设备与其它终端设备的随机接入信号标识的区别,以及该终端设备与其它终端设备的竞争解决 标识的区别,该终端设备的随机接入信号标识可以称为第一随机接入信号标识,该终端设备的竞争解决标识可以称为第一竞争解决标识。
需要说明的是,在本申请各实施例中,在有些段落中,如果只针对该终端设备进行描述,而没有引入其它终端设备时,可以不做上述区分,仍用竞争解决标识和随机接入信号标识进行描述。此时,该终端设备的随机接入信号标识与该终端设备的第一随机接入信号标识表示同一含义,该终端设备的竞争解决标识与该终端设备的第一竞争解决标识表示同一含义。
此外,不同终端设备对应的响应消息可以复用在同一个MAC PDU中,但是不限定在相同时频资源上发送随机接入信号的终端设备对应的响应消息一定要复用在同一个MAC PDU里面。具体可以取决于网络侧实现,例如,可以将所有在相同时频资源上发送随机接入信号的终端设备对应的响应消息复用在同一个MAC PDU中下发,也可以承载在不同MAC PDU里面下发,或者部分承载在同一个MAC PDU中下发。
图7为本申请实施例提供的一种随机接入方法的流程图。本实施例提供的随机接入方法,执行主体可以为一种装置。可选的,所述装置可以适用于终端设备。示例性的,在本申请各实施例中,以执行主体为终端设备为例进行说明。结合图5和图7,该随机接入方法包括:
S701、向网络设备发送请求消息。
其中,请求消息可以包括随机接入信号和用于竞争解决的信息,随机接入信号用于请求随机接入。
具体的,可以参见图5中S501的描述,此处不再赘述。
网络设备向终端设备发送对于请求消息的响应消息,相应的,终端设备执行以下操作:
S702、检测对于请求消息的响应消息。
下面结合示例进行说明。假设,终端设备A和终端设备B在相同的时频资源向网络设备发送随机接入信号,并且终端设备A和终端设备B选择的随机接入信号具有相同的标识,例如,标识a。终端设备A向网络设备发送用于竞争解决的信息1,终端设备B向网络设备发送用于竞争解决的信息2。终端设备C向网络设备发送的随机接入信号的标识为标识c。
对于终端设备A来说,终端设备A检测对于请求消息的响应消息,可以包括:
终端设备A确定对于请求消息的响应消息中是否包括终端设备A的竞争解决标识1。其中,竞争解决标识1是根据用于竞争解决的信息1得到的。可选的,终端设备A还可以确定请求消息的响应消息中是否包括终端设备A的随机接入信号标识a。其中,随机接入信号标识a对应于随机接入信号A。
具体的,终端设备A对MAC PDU中的MAC子PDU进行检测。对于其中的任意一个MAC子PDU,该MAC子PDU可以携带竞争解决标识,也可以不携带竞争解决标识。当携带时,该携带的竞争解决标识可能是竞争解决标识1,也可能不是竞争解决标识1,例如可能为终端设备B的竞争解决标识2。竞争解决标识2是根据用于竞争解决的信息2得到的。如果该MAC子PDU携带的竞争解决标识是竞争解决标识1,该MAC子PDU可以称为“具有第一竞争解决标识的MAC子PDU”,即,具有竞争解决标识1的MAC子PDU。
对于其中的任意一个MAC子PDU,该MAC子PDU可以携带随机接入信号标识,也可以不携带随机接入信号标识。当携带时,该携带的随机接入信号标识可能是随机接入信号标识a,也可能不是随机接入信号标识a,例如可能为终端设备C的随机接入信号标识c。随机接入信号标识c对应于随机接入信号C。如果该MAC子PDU携带的随机接入信号标识是随机接入信号标识a,该MAC子PDU可以称为“具有第一随机接入信号标识的MAC子PDU”,即,具有随机接入信号标识a的MAC子PDU。
这里的响应消息是指对该终端设备的请求消息的响应消息。该响应消息可以位于MAC PDU中,且可以以该MAC PDU中的MAC子PDU的形式出现,此外该MAC PDU中可以包括其它终端设备的响应消息。
以上请求消息包括随机接入信号和用于竞争解决的信息,因此,对于一个终端设备的响应消息,可以包括对于随机接入信号的第一响应和对于用于竞争解决的信息的第二响应。其中,第一响应包括第一随机接入信号标识和负载(payload),第二响应可以称为竞争解决消息,包括第一竞争解决标识。对于一个终端设备的响应消息,根据网络设备对请求消息中随机接入信号和用于竞争解决的信息的接收和处理情况,响应消息可以仅包括第一响应,也可以仅包括第二响应,或者即包括第一响应又包括第二响应。此外,第一响应和第二响应可以位于同一个MAC子PDU(MAC subPDU)中,也可以位于不同的MAC子PDU中。或者,第一响应和第二响应可以位于不同的MAC PDU中,可以为不同的MAC PDU中的MAC子PDU。
竞争解决消息可以包括第一竞争解决标识,该第一竞争解决标识是根据用于竞争解决的信息得到的,例如为该用于竞争解决的信息的全部或部分。用于竞争解决的信息可以为终端设备的标识,可以参照以上步骤S501中的描述,在此不再赘述。
第一响应中的负载(Payload)还可以包括基于竞争的4步随机接入过程中的RAR中的部分内容或者全部内容。例如,可以包括以下信息的中的之一或其任意组合:UL grant、TA命令、TC-RNTI和RRC消息。RRC消息与随机接入的触发方式相关,对应关系可以参见表1。
表1
Figure PCTCN2020079610-appb-000001
具体的,对于一个请求随机接入的终端设备来说,网络设备根据所述终端设备发送的请求消息,确定是否获得所述终端设备发送的随机接入信号,以及确定是否获得所述终端设备发送的用于竞争解决的信息。如果网络设备获得所述随机接入信号,且获得所述用于竞争解决的信息,那么,网络设备可以根据所述随机接入信号得到第一随机接入信号标识, 且可以根据所述用于竞争解决的信息得到第一竞争解决标识。可选的,在一种实现方式中,所述终端设备的响应消息可以包括所述第一随机接入信号标识和所述第一竞争解决标识。可选的,在另一种实现方式中,所述终端设备的响应消息可以包括所述第一竞争解决标识。如果网络设备获得所述随机接入信号,且没有获得所述用于竞争解决的信息,那么,所述终端设备的响应消息可以包括所述第一随机接入信号标识。
本申请实施例对于随机接入信号标识的实现方式以及长度、名称不做限定。随机接入信号不同,随机接入信号标识可以不同。例如,当随机接入信号为Preamble时,随机接入信号标识可以为随机接入前导码标识(Random Access Preamble Identifier,RAPID)。RAPID可以为6比特长度。本实施例对于竞争解决标识的长度和实现方式不做限定。例如,在NR系统中,竞争解决标识可以为48bit的UE Contention Resolution Identity MAC CE(UE竞争解决标识MAC CE)。
终端设备检测对于请求消息的响应消息,可能有三种情况,分别参见S703~S705。
S703、当检测到响应消息包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或者随机接入成功,或者确定响应消息接收成功。即响应消息包括第二响应时,确定竞争解决成功或者随机接入成功,或者确定响应消息接收成功。
具体的,终端设备对响应消息进行检测,当检测到响应消息包括具有第一竞争解决标识的MAC子PDU时,终端设备可以确定竞争解决成功或者随机接入成功。或者,终端设备可以确定响应消息接收成功,此时,如果响应消息还包括其它参数时,终端设备可以处理响应消息中携带的参数。这里的第一竞争解决标识是指该终端设备的竞争解决标识,即根据步骤S701中的用于竞争解决的信息得到的竞争解决标识,该终端设备的响应消息所在的数据包(MAC PDU)中可能还包括其它终端设备的响应消息,进而可能包括其它终端设备的竞争解决标识,终端设备检测到自己的第一竞争解决标识时才认为竞争解决成功或者随机接入成功或者响应消息接收成功。如此,即使不同终端设备的随机接入信号标识相同,也不会引起误判。响应消息除了包括以上对于用于竞争解决的信息的第二响应之外,还可以包括对于随机接入信号的第一响应,即响应消息还可以包括有第一随机接入信号标识的MAC子PDU(即负载),第一响应中的负载同以上描述,例如可以包括以下信息中的一个或多个:上行授权信息、定时提前命令、TC-RNTI和RRC消息(即,这些信息中的任意一项、任意两项、任意三项或者全部四项),当然第一响应中的负载也可以不携带这些信息。
可选的,当竞争解决成功或随机接入成功时,终端设备可以对具有第一随机接入信号标识的MAC子PDU的负载进行处理,例如,对上行授权信息、定时提前命令、TC-RNTI或RRC消息进行处理。
S704、当检测到响应消息包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或者重新发起随机接入。即响应消息包括第一响应而不包括第二响应时,进行随机接入回退或者重新发起随机接入。
随机接入回退,是指从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。
具体的,终端设备检测到响应消息不包括具有第一竞争解决标识的MAC子PDU,也就是说终端设备没有检测到自己的竞争解决标识,因此竞争解决失败,即随机接入失败, 终端设备可以重新发起随机接入,此时可以重新发起两步的随机接入,也可以重新发起四步的随机接入。可见,终端设备在第二响应接收失败时,可以重新发起随机接入,而不考虑第一响应的接收情况,此外,终端设备也可以考虑第一响应的接收情况,而基于第一响应的接收情况执行操作。例如,当终端设备检测到了具有第一随机接入信号标识的MAC子PDU,说明第一响应接收成功,因此可以处理第一响应负载中携带的参数,例如,上行授权信息,定时提前命令或TC-RNTI。此时,可以基于第一响应负载中的参数,回退到四步随机接入,例如,终端设备执行图4中S403所示的操作。再如,当终端设备未检测到具有第一随机接入信号标识的MAC子PDU,说明第一响应接收失败,因此重新进行随机接入。这里的第一随机接入信号标识是指步骤S701中终端设备发送的随机接入信号对应的标识。该终端设备的响应消息所在的数据包可能包括其它终端设备的响应消息,进而包括其它随机接入信号对应的标识。
下面结合图8,以MAC子PDU的一种具体结构作为示例,对随机接入回退或者重新发起随机接入进行简单说明。关于在不同MAC子PDU的结构中,终端设备是进行随机接入回退还是重新发起随机接入,可以参见图15~图19所示实施例中的详细说明。
图8为本申请实施例提供的一种MAC子PDU的结构示意图。图8中(a)示出了MAC子PDU的通用结构。如图8中(a)所示,MAC子PDU包括MAC子头(MAC subheader)和负载。需要说明的是,本实施例对于负载的名称、包括的内容和长度不做限定,在不同的通信系统和不同的场景中可以有所不同。例如,在NR系统中,在基于竞争的4步随机接入过程中,当负载的内容仅包括竞争解决消息时,负载也可以称为UE竞争解决标识MAC控制单元(Contention Resolution Identity MAC CE)。
图8中(b)示出了MAC子PDU的一种具体结构。需要说明的是,在本申请各实施例中,为了便于对MAC子PDU的结构进行描述,沿用“随机接入响应”的名称。“随机接入响应”的名称只是示例,本实施例对此不做限定。随机接入响应为第一响应的负载,在本实施例所示的结构中,位于MAC子PDU的负载中。随机接入响应的内容可以包括现有RAR负载中的信息,例如上行授权信息、定时提前命令、TC-RNTI和RRC消息中一种或多种。如图8中(b)所示,MAC子PDU可以包括:随机接入信号标识、随机接入响应和竞争解决标识。其中,MAC子头可以携带随机接入信号标识,MAC子PDU的负载可以携带随机接入响应和竞争解决标识。在该结构中,一个MAC子PDU与一个终端设备的响应消息对应。
可选的,在一个示例中,假设,MAC PDU包括10个MAC子PDU。每个MAC子PDU的负载均携带随机接入响应和竞争解决标识。假设终端设备检测到3个具有第一随机接入信号标识的MAC子PDU。但是,这3个MAC子PDU携带的竞争解决标识均不是该终端设备的第一竞争解决标识。此时,终端设备竞争解决失败并且响应消息接收失败,重新发起随机接入。
可选的,在另一个示例中,假设,MAC PDU包括10个MAC子PDU,标记为MAC子PDU 1~10。MAC子PDU 1~9的负载均携带随机接入响应和竞争解决标识。MAC子PDU10的负载只携带随机接入响应。假设终端设备检测到3个具有第一随机接入信号标识的MAC子PDU,分别为MAC子PDU 1、2、10。其中,MAC子PDU 1、2的负载携带随机接入响应和竞争解决标识,但是这2个MAC子PDU携带的竞争解决标识均不是该终端设 备的第一竞争解决标识,MAC子PDU 10的负载只携带随机接入响应。随机接入响应携带上行授权信息、定时提前命令和TC-RNTI。此时,终端设备可以认为第一响应接收成功或随机接入响应接收成功,处理随机接入响应中携带的参数,例如,上行授权信息,定时提前命令和TC-RNTI。并且确定可以从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备将执行图4中S403所示的操作或者终端设备重新发起随机接入。
S705、当检测到响应消息不包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入。即响应消息即不包括第一响应也不包括第二响应时,重新发起随机接入。
具体的,终端设备检测到响应消息不包括具有第一竞争解决标识的MAC子PDU,没有获取自己的竞争解决标识,说明竞争解决失败。终端设备也没有获取到具有第一随机接入信号标识的MAC子PDU,说明随机接入请求失败。此时,终端设备重新发起随机接入。该重新发送的随机接入可以为两步随机接入,也可以为四步随机接入。
在以上各个场景中,可选的,具有第一随机接入信号标识的MAC子PDU可以没有负载,即第一响应可以没有负载。
例如,对于竞争解决成功且处于RRC_CONNECTED态的终端设备来说,终端设备可以不需要上行授权信息和TC-RNTI。如果终端设备也不需要定时提前命令,例如在小小区中,那么,具有第一随机接入信号标识的MAC子PDU可以没有负载。
本实施例提供一种随机接入方法,包括:终端设备向网络设备发送请求消息,检测对于请求消息的响应消息。终端设备在检测响应消息的过程中,确定响应消息是否包括具有第一竞争解决标识的MAC子PDU,还可以确定响应消息是否包括具有第一随机接入信号标识的MAC子PDU。终端设备在确定竞争解决成功时也确定响应消息接收成功,处理响应消息中携带的参数;或者,在确定可以从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程时,确定第一响应接收成功,处理第一响应中携带的参数;或者,在确定竞争解决失败时,确定响应消息接收失败并重新发起随机接入。本实施例提供的随机接入方法,通过对第一竞争解决标识的检测,解决了终端设备将其他终端设备的响应消息误认为是自己的并进行处理的问题,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
本申请实施例对终端设备对响应消息的检测方式不做限定,可以先检测第一竞争解决标识,再考虑第一随机接入信号标识;也可以先检测第一随机接入信号标识,再考虑第一竞争解决标识;或者,同时检测两者。下面,结合附图给出几个实施例。
图9为本申请实施例提供的又一种随机接入方法的流程图。本实施例在图7所示实施例的基础上,提供了S702中,检测对于请求消息的响应消息的一种具体实现方式。在本实施例中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU可以为同一个MAC子PDU或不同的MAC子PDU。可选的,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU位于相同的或不同的MAC PDU。如图9所示,本实施例提供的随机接入方法,S702中,检测对于请求消息的响应消息,可以包括:
S901、检测响应消息是否包括具有第一竞争解决标识的MAC子PDU。
终端设备确定响应消息是否包括具有第一竞争解决标识的MAC子PDU,检测结果可以包括三种,分别参见S902~S904。
S902、当不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入。
具体的,终端设备确定响应消息不包括具有第一竞争解决标识的MAC子PDU,说明竞争解决失败,确定响应消息接收不成功,终端设备重新发起随机接入。
S903、当不包括具有第一竞争解决标识的MAC子PDU时,确定响应消息是否包括具有第一随机接入信号标识的MAC子PDU,当包括具有第一随机接入信号标识的MAC子PDU时,进行随机接入回退。
具体的,终端设备确定响应消息不包括具有第一竞争解决标识的MAC子PDU而是只包括具有第一随机接入信号标识的MAC子PDU。此时,终端设备可以认为对随机接入请求的第一响应接收成功,处理第一响应中携带的参数,例如,上行授权信息、定时提前命令或TC-RNTI,并且确定可以从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备将执行图4中S403所示的操作。或者,终端设备也可以重新发起随机接入。
S904、当包括具有第一竞争解决标识的MAC子PDU时,响应消息包括具有第一随机接入信号标识的MAC子PDU,确定竞争解决成功或者随机接入成功。
具体的,终端设备确定响应消息包括具有第一竞争解决标识的MAC子PDU,说明竞争解决成功或者随机接入成功。此时,响应消息还包括具有第一随机接入信号标识的MAC子PDU,终端设备确定响应消息接收成功,可以处理响应消息中携带的参数,例如,上行授权信息,定时提前命令,TC-RNTI,和RRC消息中的一种或多种。
本实施例提供的随机接入方法,终端设备在检测响应消息的过程中,首先确定响应消息是否包括具有第一竞争解决标识的MAC子PDU。当包括时,终端设备确定竞争解决成功时也确定响应消息接收成功,处理响应消息中携带的参数。当不包括时,终端设备确定竞争解决失败且响应消息接收失败,重新发起随机接入。或者,当不包括时,终端设备确定可以从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程时,确定对于随机接入请求的第一响应接收成功,处理第一响应中携带的参数。本实施例提供的随机接入方法,通过对第一竞争解决标识的检测,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
在以上实施例中涉及了MAC PDU和MAC子PDU的结构。需要说明的是,本申请实施例提供的随机接入方法,可以适用于不同MAC PDU和MAC子PDU的结构。在不同的MAC PDU和MAC子PDU的结构中,终端设备检测响应消息的方法可以有所不同。下面,结合图10~图14,对本申请实施例提供的MAC PDU和MAC子PDU的结构进行说明。
可选的,在第一种实现方式中,参照图10,一个终端设备的响应消息可以位于同一个MAC PDU中。一个终端设备的响应消息对应MAC PDU中的一个MAC子PDU。终端设备的响应消息设计为:若响应消息包括竞争解决标识,则MAC子PDU的MAC子头包括随机接入信号标识,且MAC子PDU的负载可以包括随机接入响应和竞争解决标识。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
在本实现方式中,根据响应消息包括的内容不同,一个终端设备的响应消息对应的MAC子PDU包括的内容可以为下列中的任意一种:
1)MAC子头,包括:随机接入信号标识;MAC子PDU的负载,包括:竞争解决标识。
2)MAC子头,包括:随机接入信号标识;MAC子PDU的负载,包括:随机接入响应和竞争解决标识。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
3)MAC子头,包括:随机接入信号标识;MAC子PDU的负载,包括:随机接入响应。其中,随机接入响应至少包括上行授权信息、定时提前命令和TC-RNTI。
4)MAC子头,包括:随机接入信号标识。所述MAC子PDU没有负载。
可选的,在第二种实现方式中,参照图11,一个终端设备的响应消息可以位于同一个MAC PDU中。一个终端设备的响应消息对应为MAC PDU中两个相邻的MAC子PDU。终端设备的响应消息设计为:若响应消息包括竞争解决标识,其中一个MAC子PDU包括随机接入信号标识和随机接入响应,另一个MAC子PDU包括竞争解决标识。其中,随机接入信号标识位于MAC子PDU的子头中,且该MAC子PDU的负载可以包括随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。在本实现方式中,竞争解决标识位于另一个MAC子PDU的负载中。且包括竞争解决标识的MAC子PDU可以位于包括随机接入信号标识的MAC子PDU的前面或者后面。
在本实现方式中,根据响应消息包括的内容不同,一个终端设备的响应消息对应的相邻的两个MAC子PDU分别包括的内容可以为下列中的任意一种:
1)其中一个MAC子PDU的MAC子头,包括:随机接入信号标识,且该MAC子PDU没有负载。另一个MAC子PDU的负载包括竞争解决标识。
2)其中一个MAC子PDU的MAC子头,包括:随机接入信号标识,且该MAC子PDU的负载包括随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。另一个MAC子PDU的负载包括竞争解决标识。
3)其中一个MAC子PDU的MAC子头,包括:随机接入信号标识,且该MAC子PDU的负载,包括:随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。例如,包括上行授权信息、定时提前命令和TC-RNTI。没有另一个MAC子PDU。此时,一个终端设备的响应消息仅包括具有随机接入信号标识的MAC子PDU,不包括具有竞争解决标识的MAC子PDU。此时,该终端设备的MAC子PDU后面可以跟随其他终端设备的MAC子PDU。
可选的,在第三种实现方式中,一个终端设备的响应消息可以位于同一个MAC PDU中。且对于多个终端设备的响应消息,携带有竞争解决标识的MAC子PDU集中排列,携带随机接入信号标识的MAC子PDU集中排列。可选的,在一种排列方式中,携带竞争解决标识的MAC子PDU集中排列在MAC PDU的后端,携带随机接入信号标识的MAC子PDU集中排列在MAC PDU的前端。这里的前端和后端是指携带随机接入信号标识的MAC 子PDU的位置相对于携带竞争解决标识的MAC子PDU在MAC PDU中的位置靠前,并不限定携带随机接入信号标识的MAC子PDU前面是否还有其它子PDU,携带竞争解决标识的MAC子PDU后面是否还有其它子PDU。可选的,在另一种排列方式中,排序相反,携带随机接入信号标识的MAC子PDU集中排列在MAC PDU的后端,携带竞争解决标识的MAC子PDU集中排列在MAC PDU的前端,具体参照图12所示。可选的,在一种实现方式中,多个终端设备分别对应的竞争解决标识可以对应一个独立的MAC子PDU,即一个MAC子PDU中可以包括多个终端设备的竞争解决标识。可选的,在另一种实现方式中,每个终端设备的竞争解决标识均对应一个独立的MAC子PDU,具体参照图12所示。
在本实现方式中,一个终端设备的响应消息可以对应MAC PDU中的两个MAC子PDU。终端设备的响应消息设计为:若响应消息包括竞争解决标识,其中一个MAC子PDU包括随机接入信号标识和随机接入响应,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。另一个MAC子PDU包括竞争解决标识。
在本实现方式中,根据响应消息包括的内容不同,一个终端设备的响应消息对应的两个MAC子PDU分别包括的内容,可以参见上述第二种实现方式中关于相邻的两个MAC子PDU分别包括的内容。不同之处在于,在上述第二种实现方式中,一个终端设备的响应消息对应的两个MAC子PDU相邻。而在本实现方式中,如果每个终端设备的竞争解决标识均对应一个独立的MAC子PDU,则一个终端设备的响应消息对应的两个MAC子PDU不相邻。如果多个终端设备分别对应的竞争解决标识可以对应一个独立的MAC子PDU,则一个终端设备的响应消息对应的两个MAC子PDU不相邻,且具有所述终端设备的竞争解决标识的MAC子PDU的负载还包括其他终端设备的竞争解决标识。
可选的,在第四种实现方式中,参照图13,一个终端设备的响应消息可以位于两个MAC PDU中。其中,携带竞争解决标识的MAC子PDU位于一个MAC PDU中,携带随机接入信号标识的MAC子PDU位于另一个MAC PDU。一个终端设备的响应消息可以对应于一个MAC PDU中的一个MAC子PDU和另一个MAC PDU中的一个MAC子PDU。终端设备的响应消息设计为:若响应消息包括竞争解决标识,其中一个MAC PDU中的一个MAC子PDU包括随机接入信号标识和随机接入响应,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。其中另一个MAC PDU中的一个MAC子PDU包括竞争解决标识。关于携带竞争解决标识的MAC子PDU的数量和结构,可以参见第三种实现方式中的说明,此处不再赘述。
在本实现方式中,根据响应消息包括的内容不同,一个终端设备的响应消息对应的两个MAC子PDU分别包括的内容,可以参见上述第三种实现方式中关于两个MAC子PDU分别包括的内容。不同之处在于,在上述第三种实现方式中,一个终端设备的响应消息对应的两个MAC子PDU在同一个MAC PDU中。而在本实现方式中,一个终端设备的响应消息对应的两个MAC子PDU在不同的MAC PDU中。
可选的,在第五种实现方式中,参照图14,一个终端设备的响应消息可以位于一个MAC PDU中。一个终端设备的响应消息可以对应MAC PDU中的一个MAC子PDU。所 述MAC子PDU包括MAC子头,MAC子头包括标识,所述标识可以为随机接入信号标识或竞争解决标识。终端设备的响应消息设计为:若响应消息包括竞争解决标识,则将竞争解决标识携带在MAC子PDU的MAC子头中。MAC子PDU的负载可以包括随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。若响应消息包括随机接入信号标识且不包括竞争解决标识,则将随机接入信号标识携带在MAC子PDU的MAC子头中。MAC子PDU的负载可以包括随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
在本实现方式中,根据响应消息包括的内容不同,一个终端设备的响应消息对应的MAC子PDU包括的内容可以为下列中的任意一种:
1)MAC子头,包括:竞争解决标识。
一个可能的场景是,终端设备竞争解决成功且处于RRC_CONNECTED态。终端设备可以不需要上行授权信息、TC-RNTI和定时提前命令,例如,小小区场景。
2)MAC子头,包括:竞争解决标识;MAC子PDU的负载,包括:随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
3)MAC子头,包括:随机接入信号标识;MAC子PDU的负载,包括:随机接入响应。其中,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
可选的,针对上述第一种实现方式~第四种实现方式,当检测到响应消息包括具有第一竞争解决标识的MAC子PDU时,响应消息还可以包括具有第一随机接入信号标识的MAC子PDU。
具体的,响应消息既包括具有第一竞争解决标识的MAC子PDU,还包括具有第一随机接入信号标识的MAC子PDU。可选的,在一种实施方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为同一个MAC子PDU。例如,图10所示的第一种实现方式。可选的,在另一种实施方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为不同的MAC子PDU。例如,图11~图13所示的第二种实现方式~第四种实现方式。
可选的,针对上述第一种实现方式~第四种实现方式,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU可以位于相同的或不同的MAC PDU。
例如,在图10~图12所示的第一种实现方式~第三种实现方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU位于相同的MAC PDU中。又例如,在图13所示的第四种实现方式中,具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU位于不同的MAC PDU中。
下面,结合图10~图14,对本申请实施例涉及的检测对于请求消息的响应消息的具体实现方式进行说明。
结合图10所示结构,当MAC PDU和MAC子PDU的结构为上述第一种实现方式时,图15为本申请实施例提供的又一种随机接入方法的流程图。本实施例在图7所示实施例的基础上,提供了S702中,检测对于请求消息的响应消息的一种具体实现方式。如图15所示,本实施例提供的随机接入方法,S702中,检测对于请求消息的响应消息,可以包括:
S1501、确定第一MAC子PDU集合。
其中,第一MAC子PDU集合包括响应消息中所有具有第一随机接入信号标识的MAC子PDU。
S1502、确定第一MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU。
S1503、当第一MAC子PDU集合包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功。
S1504、当第一MAC子PDU集合不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
可选的,S702中,检测响应消息,还可以包括:
确定响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
具体的,在本实施例中,终端设备可以执行下述步骤:
步骤11、终端设备按照第一预设顺序对MAC PDU中的MAC子PDU的MAC子头依次进行检测,确定MAC子头是否具有所述终端设备的第一随机接入信号标识。所述终端设备将MAC PDU中所有具有第一随机接入信号标识的MAC子PDU确定为第一MAC子PDU集合。本实施例对于第一预设顺序不做限定,例如,可以为从MAC PDU的头部到尾部的顺序。需要说明的是,在确定第一MAC子PDU集合的过程中,可以仅对MAC子PDU的MAC子头进行检测,不需要对MAC子PDU的负载进行检测。如果没有获得第一MAC子PDU集合,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。如果获得第一MAC子PDU集合,执行步骤12~步骤15。
步骤12、终端设备按照第二预设顺序在第一MAC子PDU集合中获取当前待检测的MAC子PDU。本实施例对于第二预设顺序不做限定,例如,可以为从第一MAC子PDU集合的头部到尾部的顺序。
步骤13、终端设备判断所述待检测的MAC子PDU的负载中是否具有所述终端设备的第一竞争解决标识。如果所述待检测的MAC子PDU的负载中具有所述终端设备的第一竞争解决标识,执行步骤14。如果所述待检测的MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,执行步骤15。
步骤14、终端设备停止检测第一MAC子PDU集合中其他未检测的MAC子PDU,确定竞争解决成功或随机接入成功,确定响应消息接收成功,并且处理响应消息包括的信息,例如,上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。或者,终端设备按照所述第二预设顺序获取第一MAC子PDU集合中所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,返回执行步骤13。
步骤15、如果所述待检测的MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,但是具有其他终端设备的竞争解决标识,则按照所述第二预设顺序获取第一MAC子PDU集合中所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将 所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,返回执行步骤13。
如果所述待检测的MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,并且也不具有其他终端设备的竞争解决标识,而是只携带了随机接入响应,例如,上行授权信息、定时提前命令和TC-RNTI,则按照所述第二预设顺序获取第一MAC子PDU集合中所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,返回执行步骤13。
终端设备根据不同的检测结果,确定竞争解决成功或随机接入成功,或者确定随机接入回退,或者确定重新发起随机接入。如果终端设备获得第一MAC子PDU集合,终端设备在对所述第一MAC子PDU集合的检测过程中,如果所述的MAC子PDU的负载中具有所述终端设备的第一竞争解决标识,终端设备确定竞争解决成功或随机接入成功,终端设备确定响应消息接收成功,并且处理响应消息包括的信息,例如上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。如果第一MAC子PDU集合中所有MAC子PDU的负载中都不具有所述终端设备的第一竞争解决标识,并且都具有其他终端设备的竞争解决标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。如果所有MAC子PDU的负载中都不具有所述终端设备的第一竞争解决标识,但是任意一个MAC子PDU的负载不携带任何终端设备的竞争解决标识,而是只携带随机接入响应,例如上行授权信息、定时提前命令和TC-RNTI,终端设备可以确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理随机接入响应包括的信息,例如上行授权信息、定时提前命令和TC-RNTI,或者终端设备重新发起随机接入。如果终端设备没有获得第一MAC子PDU集合,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
下面通过示例进行说明。假设,终端设备1向网络设备发送的随机接入信号的标识为随机信号标识1。终端设备1的第一随机接入信号标识为随机接入信号标识1,终端设备1的第一竞争解决标识为竞争解决标识1。MAC PDU包括10个MAC子PDU,分别标记为MAC子PDU 1~MAC子PDU 10。在第一个示例~第五个示例中,MAC子PDU 1、3、4、5、7具有随机接入信号标识1。第一MAC子PDU集合包括MAC子PDU 1、3、4、5、7。在第六个示例中,MAC子PDU 1~10携带的随机接入信号标识均不是随机接入信号标识1。
可选的,在第一个示例中,MAC子PDU 1、3、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识,且MAC子PDU 3携带的竞争解决标识为终端设备1的竞争解决标识1。随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。终端设备1对第一MAC子PDU集合中的MAC子PDU依次进行检测,判断MAC子PDU中是否具有竞争解决标识1。首先检测MAC子PDU 1,确定MAC子PDU 1不具有竞争解决标识1,则继续检测下一个MAC子PDU。在确定MAC子PDU 3具有竞争解决标识1时,终端设备1确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 3中的随机接入响应包括的信息。此时,终端设备可以停止检测其他未检测的MAC子PDU,例如MAC子PDU4、5、7,也可以继续检测,直到检测完所述第一MAC子PDU集合中包含的所有MAC子PDU,本实施例不做限定。
可选的,在第二个示例中,MAC子PDU 1、3、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识,且携带的竞争解决标识均不是终端设备1的竞争解决标识1。随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。终端设备1对所述第一MAC子PDU集合中的MAC子PDU依次进行检测,依次确定所有的MAC子PDU均不具有竞争解决标识1,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第三个示例中,MAC子PDU 1、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识,且携带的竞争解决标识均不是终端设备1的竞争解决标识1。MAC子PDU 3携带随机接入信号标识和随机接入响应,但是不携带竞争解决标识。MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI。终端设备1对第一MAC子PDU集合中的MAC子PDU依次进行检测,依次确定所有的MAC子PDU均不具有竞争解决标识1。但是,由于MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI,终端设备1可以根据MAC子PDU 3携带的随机接入响应确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。终端设备1确定随机接入响应接收成功,处理MAC子PDU3中的随机接入响应包括的信息。
可选的,在第四个示例中,MAC子PDU 1、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识。其中,MAC子PDU 4携带的竞争解决标识为终端设备1的竞争解决标识1。MAC子PDU 3携带随机接入信号标识和随机接入响应,但是不携带竞争解决标识。MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI。终端设备1对第一MAC子PDU集合中的MAC子PDU依次进行检测,依次确定MAC子PDU 1、3不具有竞争解决标识1后,确定MAC子PDU 4具有竞争解决标识1。终端设备1确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 4中的随机接入响应包括的信息。此时,终端设备可以停止检测其他的MAC子PDU,例如MAC子PDU5、7,也可以继续检测,直到检测完所述第一MAC子PDU集合中包含的所有MAC子PDU,本实施例不做限定。
可选的,在第五个示例中,MAC子PDU 1、3、4、5均携带随机接入信号标识、随机接入响应和竞争解决标识,且携带的竞争解决标识均不是终端设备1的竞争解决标识1。MAC子PDU 7携带随机接入信号标识和随机接入响应,但是不携带竞争解决标识。MAC子PDU 7携带的随机接入响应不包括上行授权信息、定时提前命令和TC-RNTI中的任意一项、任意两项或者全部三项。终端设备1对第一MAC子PDU集合中的MAC子PDU依次进行检测,依次确定所有的MAC子PDU均不具有竞争解决标识1。而且,终端设备1根据MAC子PDU 7携带的随机接入响应确定不能从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。此时,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第六个示例中,MAC子PDU 1~10携带的随机接入信号标识均不是随机接入信号标识1。终端设备没有获得第一MAC子PDU集合。终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
需要说明的是,本实施例对于第一MAC子PDU集合中MAC子PDU的检测顺序不做限定。
本实施例提供一种随机接入方法,涉及具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为同一个MAC子PDU的场景。终端设备首先根据第一随机接入信号标识对MAC子PDU的MAC子头进行检测,筛选获得第一MAC子PDU集合。然后,在第一MAC子PDU集合中对第一竞争解决标识进行检测。本实施例提供的随机接入方法,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
结合图10所示结构,当MAC PDU和MAC子PDU的结构为上述第一种实现方式时,图16为本申请实施例提供的又一种随机接入方法的流程图。本实施例在图7所示实施例的基础上,提供了S702中,检测对于请求消息的响应消息的一种具体实现方式。如图16所示,本实施例提供的随机接入方法,S702中,检测对于请求消息的响应消息,可以包括:
S1601、确定第一MAC子PDU。
其中,第一MAC子PDU具有终端设备的第一随机接入信号标识。
S1602、确定第一MAC子PDU是否具有第一竞争解决标识。
S1603、当第一MAC子PDU具有第一竞争解决标识时,确定竞争解决成功或随机接入成功。
S1604、当所有第一MAC子PDU不具有第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
可选的,S702中,检测响应消息,还可以包括:
确定响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
具体的,在本实施例中,终端设备可以执行下述步骤:
步骤21、终端设备按照预设顺序在MAC PDU中获取当前待检测的MAC子PDU。本实施例对于预设顺序不做限定,例如,可以为从MAC PDU的头部到尾部的顺序。
步骤22、终端设备判断所述待检测的MAC子PDU中的MAC子头是否具有所述终端设备的第一随机接入信号标识。
如果所述MAC子头具有所述终端设备的第一随机接入信号标识,执行步骤23。
如果所述MAC子头不具有所述终端设备的第一随机接入信号标识,则不需要对所述待检测的MAC子PDU的负载进行检测,而是按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,重新执行步骤22。
步骤23、终端设备继续判断所述待检测的MAC子PDU的负载中是否具有所述终端设备的第一竞争解决标识。如果所述待检测的MAC子PDU的负载中具有所述终端设备的第一竞争解决标识,执行步骤24。如果所述待检测的MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,执行步骤25。
步骤24、终端设备停止检测其他未检测的MAC子PDU,确定竞争解决成功或随机接入成功,确定响应消息接收成功,并且处理响应消息包括的信息,例如,上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。或者,终端设备按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子 PDU,返回执行步骤22。
步骤25、如果所述待检测的MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,但是具有其他终端设备的竞争解决标识,则按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,返回执行步骤22。
如果所述待检测的MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,并且也不具有其他终端设备的竞争解决标识,而是只携带了随机接入响应,例如,上行授权信息、定时提前命令和TC-RNTI,则按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,返回执行步骤22。
终端设备根据不同的检测结果,确定竞争解决成功或随机接入成功,或者确定随机接入回退,或者确定重新发起随机接入。终端设备在顺序检测过程中,如果所述的MAC子PDU的负载中具有所述终端设备的第一竞争解决标识,终端设备确定竞争解决成功或随机接入成功,终端设备确定响应消息接收成功,并且处理响应消息包括的信息,例如上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。如果所有所述的MAC子PDU的负载中都不具有所述终端设备的第一竞争解决标识,并且都具有其他终端设备的竞争解决标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。如果所有所述的MAC子PDU的负载中都不具有所述终端设备的第一竞争解决标识,但是任意一个MAC子PDU的负载不携带任何终端设备的竞争解决标识,而是只携带随机接入响应,例如上行授权信息、定时提前命令和TC-RNTI,终端设备可以确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理随机接入响应包括的信息,例如上行授权信息、定时提前命令和TC-RNTI,或者终端设备重新发起随机接入。如果所有所述的MAC子PDU的MAC子头都不具有所述终端设备的第一随机接入信号标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
下面通过示例进行说明。假设,终端设备1向网络设备发送的随机接入信号的标识为标识1。终端设备1的第一随机接入信号标识为随机接入信号标识1,终端设备1的第一竞争解决标识为竞争解决标识1。MAC PDU包括10个MAC子PDU,分别标记为MAC子PDU 1~MAC子PDU 10。在第一个示例~第五个示例中,MAC子PDU 1、3、4、5、7具有随机接入信号标识1。在第六个示例中,MAC子PDU 1~10携带的随机接入信号标识均不是随机接入信号标识1。
可选的,在第一个示例中,MAC子PDU 1、3、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识,且MAC子PDU 3携带的竞争解决标识为终端设备1的竞争解决标识1。随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。终端设备1按照从MAC子PDU 1至MAC子PDU 10的顺序,对所述MAC PDU里面的MAC子PDU依次进行检测。首先,确定MAC子PDU 1是否包括随机接入信号标识1,确定其包括随机接入信号标识1后,再对MAC子PDU 1的负载进行检测,确定MAC子PDU 1是否具有竞争解决 标识1。由于MAC子PDU 1不具有竞争解决标识1,则继续检测。其次,确定MAC子PDU 2是否包括随机接入信号标识1,由于MAC子PDU 2不包括随机接入信号标识1,此时,不需要对MAC子PDU 2的负载进行检测。然后,确定MAC子PDU 3是否包括随机接入信号标识1,确定其包括随机接入信号标识1后,再对MAC子PDU 3的负载进行检测,确定MAC子PDU 3是否具有竞争解决标识1。由于MAC子PDU 3的负载具有竞争解决标识1,终端设备1确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 3中的随机接入响应包括的信息。此时,终端设备可以停止检测所述MAC PDU里面其他未检测的MAC子PDU,例如MAC子PDU4~10,也可以继续检测,重复上述操作,直到检测完所述MAC PDU中包含的所有MAC子PDU,本实施例不做限定。
可选的,在第二个示例中,MAC子PDU 1、3、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识,且携带的竞争解决标识均不是终端设备1的竞争解决标识1。随机接入响应包括包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。终端设备1按照从MAC子PDU 1至MAC子PDU 10的顺序,对所述MAC PDU里面的MAC子PDU依次进行检测。首先,确定MAC子PDU 1是否包括随机接入信号标识1,确定其包括随机接入信号标识1后,再确定MAC子PDU 1是否具有竞争解决标识1。由于MAC子PDU 1不具有竞争解决标识1,则继续检测。其次,确定MAC子PDU 2是否包括随机接入信号标识1,确定其不包括随机接入信号标识1后,不需要对MAC子PDU 2的负载进行检测。以此类推。本示例中,终端设备对所述MAC PDU里面的所有MAC子PDU进行检测,以确定所有包括随机接入信号标识1的MAC子PDU均不具有竞争解决标识1,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第三个示例中,MAC子PDU 1、4、5、7均携带随机接入信号标识、随机接入响应和竞争解决标识,且携带的竞争解决标识均不是终端设备1的竞争解决标识1。MAC子PDU 3携带随机接入信号标识和随机接入响应,但是不携带竞争解决标识。MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI。终端设备1按照从MAC子PDU 1至MAC子PDU 10的顺序,对所述MAC PDU里面的MAC子PDU依次进行检测,首先,确定MAC子PDU 1是否包括随机接入信号标识1,确定其包括随机接入信号标识1后,再确定MAC子PDU 1是否具有竞争解决标识1。由于MAC子PDU 1不具有竞争解决标识1,则继续检测。其次,确定MAC子PDU 2是否包括随机接入信号标识1,确定其不包括随机接入信号标识1后,不需要对MAC子PDU 2的负载进行检测。以此类推。本示例中,终端设备对所述MAC PDU里面的所有MAC子PDU进行检测,以确定所有包括随机接入信号标识1的MAC子PDU均不具有竞争解决标识1。但是,由于MAC子PDU 3包括随机接入信号标识1,MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI,终端设备1可以根据MAC子PDU 3携带的随机接入响应确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。终端设备1确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理MAC子PDU3中的随机接入响应包括的信息。
可选的,在第四个示例中,MAC子PDU 1、4、5、7均携带随机接入信号标识、随机 接入响应和竞争解决标识。其中,MAC子PDU 4携带的竞争解决标识为终端设备1的竞争解决标识1。MAC子PDU 3携带随机接入信号标识和随机接入响应,但是不携带竞争解决标识。MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI。终端设备1按照从MAC子PDU 1至MAC子PDU 10的顺序,对所述MAC PDU里面的MAC子PDU依次进行检测。首先,确定MAC子PDU 1是否包括随机接入信号标识1,确定其包括随机接入信号标识1后,再确定MAC子PDU 1是否具有竞争解决标识1。由于MAC子PDU 1不具有竞争解决标识1,则继续检测。其次,确定MAC子PDU 2是否包括随机接入信号标识1,确定其不包括随机接入信号标识1后,不需要对MAC子PDU 2的负载进行检测。以此类推。确定MAC子PDU 4包括随机接入信号标识1且具有竞争解决标识1。终端设备1确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 4中的随机接入响应包括的信息。此时,终端设备可以停止检测停止检测所述MAC PDU里面其他未检测的MAC子PDU,例如MAC子PDU5~10,也可以继续检测,重复上述操作,直到检测完所述MAC PDU包含的所有MAC子PDU,本实施例不做限定。
可选的,在第五个示例中,MAC子PDU 1、3、4、5均携带随机接入信号标识、随机接入响应和竞争解决标识,且携带的竞争解决标识均不是终端设备1的竞争解决标识1。MAC子PDU 7携带随机接入信号标识和随机接入响应,但是不携带竞争解决标识。MAC子PDU 7携带的随机接入响应不包括上行授权信息、时间提前命令和TC-RNTI中的任意一项、任意两项或者全部三项。终端设备1按照从MAC子PDU 1至MAC子PDU 10的顺序,对所述MAC PDU里面的MAC子PDU依次进行检测。首先,确定MAC子PDU 1是否包括随机接入信号标识1,确定其包括随机接入信号标识1后,再确定MAC子PDU 1是否具有竞争解决标识1。由于MAC子PDU 1不具有竞争解决标识1,则继续检测。其次,确定MAC子PDU 2是否包括随机接入信号标识1,确定其不包括随机接入信号标识1后,不需要对MAC子PDU 2的负载进行检测。以此类推。本示例中,终端设备对所述MAC PDU里面的所有MAC子PDU进行检测,以确定所有包括随机接入信号标识1的MAC子PDU均不具有竞争解决标识1。而且,终端设备1根据MAC子PDU 7携带的随机接入响应确定不能从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。此时,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第六个示例中,MAC子PDU 1~10携带的随机接入信号标识均不是随机接入信号标识1。终端设备1按照从MAC子PDU 1至MAC子PDU 10的顺序,对所述MAC PDU里面的MAC子PDU依次进行检测,确定所有的MAC子PDU均不包括随机接入信号标识1。终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
本实施例提供一种随机接入方法,涉及具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为同一个MAC子PDU的场景。终端设备按照一定的顺序对MAC PDU中的MAC子PDU依次检测。先确定MAC子PDU的MAC子头中是否具有第一随机接入信号标识,如果是,再确定该MAC子PDU的负载是否具有第一竞争解决标识。本实施例提供的随机接入方法,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
结合图11所示结构,当MAC PDU和MAC子PDU的结构为上述第二种实现方式时,图17为本申请实施例提供的又一种随机接入方法的流程图。本实施例在图7所示实施例的基础上,提供了S702中,检测对于请求消息的响应消息的一种具体实现方式。如图17所示,本实施例提供的随机接入方法,S702中,检测对于请求消息的响应消息,可以包括:
S1701、确定第二MAC子PDU集合。
其中,第二MAC子PDU集合包括响应消息中所有具有第一随机接入信号标识的MAC子PDU以及相邻的携带竞争解决标识的MAC子PDU。
S1702、确定第二MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU。
S1703、当第二MAC子PDU集合包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功。
S1704、当第二MAC子PDU集合不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
可选的,S702中,检测响应消息,还可以包括:
确定响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
需要说明的是,在本实施例中,当响应消息中不包括具有第一随机接入信号标识的MAC子PDU时,第二MAC子PDU集合可能为空集,此时可以认为没有获得第二MAC子PDU集合,可以对应于响应消息不包括具有第一随机接入信号标识的MAC子PDU的场景。或者,第二MAC子PDU集合包括至少一个具有第一随机接入信号标识的MAC子PDU。可选的,具有第一随机接入信号标识的MAC子PDU可能存在所述相邻的携带竞争解决标识的MAC子PDU,也可能不存在所述相邻的携带竞争解决标识的MAC子PDU。当第二MAC子PDU集合包括至少一个所述相邻的携带竞争解决标识的MAC子PDU时,终端设备执行S1702~S1704。需要说明的是,在确定第二MAC子PDU集合的过程中,可以仅对MAC子PDU的MAC子头进行检测,不需要对MAC子PDU的负载进行检测。并且,当确定一个MAC子PDU为具有第一随机接入信号标识的MAC子PDU,且所述MAC子PDU存在所述相邻的携带竞争解决标识的MAC子PDU时,不需要对所述相邻的携带竞争解决标识的MAC子PDU的负载进行检测。
需要说明的是,本实施例提供的随机接入方法,与图15所示实施例提供的随机接入方法原理相似。此处不再赘述。区别在于,在图15所示实施例中,MAC子PDU可以携带终端设备的第一随机接入信号标识和第一竞争解决标识。第一MAC子PDU集合包括响应消息中所有具有第一随机接入信号标识的MAC子PDU。具有第一随机接入信号标识的MAC子PDU与具有第一竞争解决标识的MAC子PDU可以为同一个MAC子PDU。确定第一MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU时,是对第一MAC子PDU集合中MAC子PDU的负载进行检测。而在本实施例中,MAC子PDU或者仅携带终端设备的第一随机接入信号标识,或者仅携带终端设备的第一竞争解决标识。第二MAC子PDU集合包括响应消息中所有具有第一随机接入信号标识的MAC子PDU以及相邻的携带竞争解决标识的MAC子PDU。具有第一随机接入信号标识的MAC子PDU与携带第一竞争解决标识的MAC子PDU可以为相邻的MAC子PDU。确定第二MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU时,是对所述相邻的携带竞争解决标识的MAC子PDU的负载进行检测。
本实施例提供一种随机接入方法,涉及具有第一竞争解决标识的MAC子PDU和具有第一随机接入信号标识的MAC子PDU为不同MAC子PDU的场景。终端设备首先根据第一随机接入信号标识对MAC子PDU的子头进行检测,筛选获得第二MAC子PDU集合。然后,在第二MAC子PDU集合中对第一竞争解决标识进行检测。本实施例提供的随机接入方法,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
结合图11所示结构,当MAC PDU和MAC子PDU的结构为上述第二种实现方式时,图18为本申请实施例提供的又一种随机接入方法的流程图。本实施例在图7所示实施例的基础上,提供了S702中,检测对于请求消息的响应消息的一种具体实现方式。如图18所示,本实施例提供的随机接入方法,S702中,检测对于请求消息的响应消息,可以包括:
S1801、确定第二MAC子PDU。
其中,第二MAC子PDU具有第一随机接入信号标识。
S1802、确定第二MAC子PDU相邻的MAC子PDU是否具有第一竞争解决标识。
S1803、当第二MAC子PDU相邻的MAC子PDU具有第一竞争解决标识时,确定竞争解决成功或随机接入成功。
S1804、当所有第二MAC子PDU相邻的MAC子PDU不具有第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
可选的,S702中,检测响应消息,还可以包括:
确定响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
需要说明的是,本实施例提供的随机接入方法,与图16所示实施例提供的随机接入方法原理相似。此处不再赘述。区别在于,在图16所示实施例中,MAC子PDU可以携带终端设备的第一随机接入信号标识和第一竞争解决标识。第一MAC子PDU为响应消息中任意一个具有第一随机接入信号标识的MAC子PDU。具有第一随机接入信号标识的MAC子PDU与具有第一竞争解决标识的MAC子PDU可以为同一个MAC子PDU。确定第一MAC子PDU是否具有第一竞争解决标识,是对第一MAC子PDU的负载进行检测。而在本实施例中,MAC子PDU或者仅携带终端设备的第一随机接入信号标识,或者仅携带终端设备的第一竞争解决标识。这里面的仅携带只是限定具有随机接入信号标识的MAC子PDU是否携带竞争解决标识,或具有竞争解决标识的MAC子PDU是否携带随机接入信号标识,并不用于限定其它信息。例如仅携带终端设备的第一竞争解决标识的MAC子PDU可以携带上行授权信息、定时提前命令、TC-RNTI和RRC消息中的任意0项,一项、两项、三项或者全部四项。第二MAC子PDU为响应消息中任意一个具有第一随机接入信号标识的MAC子PDU。具有第一随机接入信号标识的MAC子PDU与具有第一竞争解决标识的MAC子PDU可以为相邻的MAC子PDU。确定第二MAC子PDU相邻的MAC子PDU是否具有第一竞争解决标识时,是对第二MAC子PDU相邻的携带竞争解决标识的MAC子PDU的负载进行检测。
本实施例提供一种随机接入方法,涉及具有第一竞争解决标识的MAC子PDU和具有第一竞争解决标识的MAC子PDU为不同MAC子PDU的场景。终端设备按照一定的顺序对MAC PDU中的MAC子PDU依次检测。先确定MAC子PDU的MAC子头中是否具有第一随机接入信号标识,如果是,且所述MAC子PDU的相邻的MAC子PDU携带竞 争解决标识,再确定所述相邻的MAC子PDU中携带的竞争解决标识是否为第一竞争解决标识。本实施例提供的随机接入方法,终端设备可以准确的确定响应消息是否接收成功以及竞争解决是否成功。
结合图12或图13所示结构,当MAC PDU和MAC子PDU的结构为上述第三种实现方式或者第四种实现方式时,对图9所示实施例提供的随机接入方法进行说明。
需要说明的是,为了便于区分和描述,携带有竞争解决标识的MAC子PDU也可以称为第三MAC子PDU,携带有随机接入信号标识的MAC子PDU也可以称为第四MAC子PDU。
可选的,在第一种检测方式中,终端设备可以先对集中排列的携带有竞争解决标识的MAC子PDU进行解码,确定第三MAC子PDU是否具有所述终端设备的第一竞争解决标识。然后,所述终端设备可以再对集中排列的携带有随机接入信号标识的MAC子PDU进行解码,确定第四MAC子PDU是否具有所述终端设备的第一随机接入信号标识。
具体的,终端设备可以执行下述步骤:
步骤31、终端设备按照第一预设顺序在集中排列的携带有竞争解决标识的MAC子PDU中获取当前待检测的第三MAC子PDU。本实施例对于第一预设顺序不做限定,例如,可以为集中排列的携带有竞争解决标识的MAC子PDU的排列顺序。
步骤32、终端设备判断所述待检测的第三MAC子PDU的负载中是否具有所述终端设备的第一竞争解决标识。如果所述待检测的第三MAC子PDU的负载中具有所述终端设备的第一竞争解决标识,执行步骤33、34、35,并且,当步骤35中的判断结果为“所述MAC子头具有所述终端设备的第一随机接入信号标识”时,执行步骤36。如果所述待检测的第三MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,而是具有其他终端设备的竞争解决标识,则按照所述第一预设顺序获取所述待检测的第三MAC子PDU后面的下一个未检测的第三MAC子PDU,将所述下一个未检测的第三MAC子PDU作为新的待检测的第三MAC子PDU,重新执行步骤32。其中,当终端设备对集中排列的携带有竞争解决标识的MAC子PDU中所有的第三MAC子PDU进行检测后,所述所有的第三MAC子PDU的负载都不具有所述终端设备的第一竞争解决标识,终端设备执行步骤34、35,并且,当步骤35中的判断结果为“所述MAC子头具有所述终端设备的第一随机接入信号标识”时,执行步骤37。
步骤33、终端设备停止检测集中排列的携带有竞争解决标识的MAC子PDU中其他未检测的第三MAC子PDU,确定竞争解决成功或随机接入成功。或者,终端设备按照所述第一预设顺序获取所述待检测的第三MAC子PDU后面的下一个未检测的第三MAC子PDU,将所述下一个未检测的第三MAC子PDU作为新的待检测的第三MAC子PDU,返回执行步骤32。
步骤34、终端设备按照第二预设顺序在集中排列的携带有随机接入信号标识的MAC子PDU中获取当前待检测的第四MAC子PDU。本实施例对于第二预设顺序不做限定,例如,可以为集中排列的携带有随机接入信号标识的MAC子PDU的排列顺序。
步骤35、终端设备判断所述待检测的第四MAC子PDU中的MAC子头是否具有所述终端设备的第一随机接入信号标识。如果所述MAC子头具有所述终端设备的第一随机接 入信号标识,执行步骤36或步骤37。如果所述MAC子头不具有所述终端设备的第一随机接入信号标识,则不需要对所述待检测的MAC子PDU的负载进行检测,而是按照所述第二预设顺序获取所述待检测的第四MAC子PDU后面的下一个未检测的第四MAC子PDU,将所述下一个未检测的第四MAC子PDU作为新的待检测的第四MAC子PDU,重新执行步骤35。
步骤36、终端设备停止检测集中排列的携带有随机接入信号标识的MAC子PDU中其他未检测的第四MAC子PDU,确定响应消息接收成功,处理响应消息包括的信息,例如,上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
步骤37、如果所述待检测的第四MAC子PDU的负载中携带了随机接入响应,所述随机接入响应包括上行授权信息、定时提前命令和TC-RNTI,终端设备停止检测集中排列的携带有随机接入信号标识的MAC子PDU中其他未检测的第四MAC子PDU,确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理第一响应包括的信息,例如,上行授权信息、定时提前命令和TC-RNTI,或者,终端设备重新发起随机接入。
终端设备根据不同的检测结果,确定竞争解决成功或随机接入成功,或者确定随机接入回退,或者确定重新发起随机接入。终端设备在顺序检测过程中,如果所述的第三MAC子PDU的负载中具有所述终端设备的竞争解决标识,并且,所述的第四MAC子PDU的MAC子头中具有所述终端设备的随机接入标识,终端设备确定竞争解决成功或随机接入成功,终端设备确定响应消息接收成功,并且处理响应消息包括的信息,例如上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。如果所述的第三MAC子PDU的负载中具有所述终端设备的竞争解决标识,但是,所有所述的第四MAC子PDU的MAC子头中都不具有所述终端设备的随机接入标识,终端设备确定竞争解决成功或随机接入成功。如果所有所述的第三MAC子PDU的负载中都不具有所述终端设备的竞争解决标识,但是,所述的第四MAC子PDU的MAC子头中具有所述终端设备的随机接入标识,并且所述的第四MAC子PDU的负载携带随机接入响应,例如上行授权信息、定时提前命令和TC-RNTI,终端设备可以确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理第一响应包括的信息,例如上行授权信息、定时提前命令和TC-RNTI,或者终端设备重新发起随机接入。如果所有所述的第三MAC子PDU的负载中都不具有所述终端设备的竞争解决标识,并且所有所述的第四MAC子PDU的MAC子头中都不具有所述终端设备的随机接入标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第二种检测方式中,终端设备可以先对集中排列的携带有随机接入信号标识的MAC子PDU进行解码,确定第四MAC子PDU是否具有所述终端设备的随机接入信号标识。然后,所述终端设备可以再对集中排列的携带有竞争解决标识的MAC子PDU进行解码,确定第三MAC子PDU是否具有所述终端设备的竞争解决标识。其中,携带有随机接入信号标识的MAC子PDU的负载包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
具体的,终端设备可以执行下述步骤:
步骤41、终端设备按照第一预设顺序在集中排列的携带有随机接入信号标识的MAC子PDU中获取当前待检测的第四MAC子PDU。本实施例对于第一预设顺序不做限定,例如,可以为集中排列的携带有随机接入信号标识的MAC子PDU的排列顺序。
步骤42、终端设备判断所述待检测的第四MAC子PDU中的MAC子头是否具有所述终端设备的第一随机接入信号标识。如果所述MAC子头具有所述终端设备的第一随机接入信号标识,执行步骤43~46。如果所述MAC子头不具有所述终端设备的第一随机接入信号标识,则不需要对所述待检测的第四MAC子PDU的负载进行检测,而是按照所述第一预设顺序获取所述待检测的第四MAC子PDU后面的下一个未检测的第四MAC子PDU,将所述下一个未检测的第四MAC子PDU作为新的待检测的第四MAC子PDU,重新执行步骤42。
步骤43、终端设备停止检测集中排列的携带有随机接入信号标识的MAC子PDU中其他未检测的第四MAC子PDU,确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理第一响应包括的信息,例如,上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。或者,终端设备按照所述第一预设顺序获取所述待检测的第四MAC子PDU后面的下一个未检测的第四MAC子PDU,将所述下一个未检测的第四MAC子PDU作为新的待检测的第四MAC子PDU,返回执行步骤42。
步骤44、终端设备按照第二预设顺序在集中排列的携带有竞争解决标识的MAC子PDU中获取当前待检测的第三MAC子PDU。本实施例对于第二预设顺序不做限定,例如,可以为集中排列的携带有竞争解决标识的MAC子PDU的排列顺序。
步骤45、终端设备判断所述待检测的第三MAC子PDU的负载中是否具有所述终端设备的第一竞争解决标识。如果所述待检测的第三MAC子PDU的负载中具有所述终端设备的第一竞争解决标识,执行步骤46。如果所述待检测的第三MAC子PDU的负载中不具有所述终端设备的第一竞争解决标识,而是具有其他终端设备的竞争解决标识,则按照所述第二预设顺序获取所述待检测的第三MAC子PDU后面的下一个未检测的第三MAC子PDU,将所述下一个未检测的第三MAC子PDU作为新的待检测的第三MAC子PDU,重新执行步骤45。
步骤46、终端设备停止检测集中排列的携带有竞争解决标识的MAC子PDU中其他未检测的第三MAC子PDU,确定竞争解决成功或随机接入成功。或者,终端设备按照所述第二预设顺序获取所述待检测的第三MAC子PDU后面的下一个未检测的第三MAC子PDU,将所述下一个未检测的第三MAC子PDU作为新的待检测的第三MAC子PDU,返回执行步骤45。
终端设备根据不同的检测结果,确定竞争解决成功或随机接入成功,或者确定随机接入回退,或者确定重新发起随机接入。终端设备在顺序检测过程中,如果所述的第四MAC子PDU的MAC子头具有所述终端设备的第一随机接入信号标识,并且,所述第三MAC子PDU的负载具有所述终端设备的第一竞争解决标识,终端设备确定竞争解决成功或随机接入成功,终端设备确定响应消息接收成功,并且处理响应消息包括的信息,例如上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意 三项或者全部四项。如果所述的第四MAC子PDU的MAC子头具有所述终端设备的第一随机接入信号标识,所述的第四MAC子PDU的负载携带随机接入响应,例如上行授权信息、定时提前命令和TC-RNTI,并且,所有所述的第三MAC子PDU的负载都不具有所述终端设备的第一竞争解决标识,终端设备可以确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理第一响应包括的信息,例如上行授权信息、定时提前命令和TC-RNTI,或者终端设备重新发起随机接入。如果所有所述的第四MAC子PDU的MAC子头都不具有所述终端设备的第一随机接入信号标识,并且,所有所述的第三MAC子PDU的负载都不具有所述终端设备的第一竞争解决标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。如果所有所述的第四MAC子PDU的MAC子头都不具有所述终端设备的第一随机接入信号标识,但是,所述的第三MAC子PDU的负载具有所述终端设备的第一竞争解决标识,终端设备确定竞争解决成功/随机接入成功。
下面,通过示例进行详细说明。在所述示例中,终端设备采用上述第一种检测方式。
假设,终端设备1向网络设备发送的随机接入信号的标识为随机接入信号标识1。终端设备1的第一随机接入信号标识为随机接入信号标识1,终端设备1的第一竞争解决标识为竞争解决标识1。终端设备1对10个MAC子PDU(分别标记为MAC子PDU 1~10)进行检测。其中,MAC子PDU 1~5中携带随机接入信号标识并且携带随机接入响应,随机接入响应可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。MAC子PDU 6~10中携带竞争解决标识。需要说明的是,若MAC子PDU 1~10位于同一个MAC PDU中,本实施例对于MAC子PDU 1~5和MAC子PDU 6~10之间的顺序不做限定。例如,MAC子PDU 1~5位于MAC子PDU 6~10的后面。可选的,MAC子PDU 1~5和MAC子PDU 6~10也可以位于不同的MAC PDU中。在第一个示例~第三个示例中,MAC子PDU 3具有随机接入信号标识1。在第四个示例中,MAC子PDU 1~5携带的随机接入信号标识均不是随机接入信号标识1。
可选的,在第一个示例中,MAC子PDU 7携带的竞争解决标识为终端设备1的竞争解决标识1。首先,终端设备1对MAC子PDU 6~10进行检测,判断MAC子PDU 6~10中是否具有竞争解决标识1。首先检测MAC子PDU 6,确定MAC子PDU 6不具有竞争解决标识1,则继续检测下一个MAC子PDU。在确定MAC子PDU 7具有竞争解决标识1时,终端设备1继续在MAC子PDU 1~5中检测是否具有随机接入信号标识1。终端设备1确定MAC子PDU 3具有随机接入信号标识1,确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 3中的随机接入响应包括的信息。需要说明的是,终端设备确定MAC子PDU 7具有竞争解决标识1后,可以停止检测其他的携带竞争解决标识的MAC子PDU,例如MAC子PDU8、9、10,也可以继续检测,直到检测完所有携带竞争解决标识的MAC子PDU,本实施例不做限定。需要说明的是,终端设备确定MAC子PDU 3具有随机接入信号标识1后,可以停止检测其他的携带随机接入信号标识的MAC子PDU,例如MAC子PDU4、5,也可以继续检测,直到检测完所有携带竞争解决标识的MAC子PDU,本实施例不做限定。
可选的,在第二个示例中,MAC子PDU 6~10携带的竞争解决标识均不是终端设备1的竞争解决标识1。终端设备1对MAC子PDU 6~10进行检测,确定所有携带竞争解决标 识的MAC子PDU均不具有竞争解决标识1,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第三个示例中,MAC子PDU 6~10携带的竞争解决标识均不是终端设备1的竞争解决标识1。终端设备1对MAC子PDU 6~10进行检测,确定所有携带竞争解决标识的MAC子PDU均不具有竞争解决标识1。终端设备1继续在MAC子PDU 1~5中检测是否存在具有随机接入信号标识的MAC子PDU。当终端设备1确定MAC子PDU 3具有随机接入信号标识1并且MAC子PDU3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI,终端设备1可以根据MAC子PDU 3携带的随机接入响应确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。终端设备1确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理MAC子PDU3中的随机接入响应包括的信息。
可选的,在第四个示例中,MAC子PDU 6~10携带的竞争解决标识均不是终端设备1的竞争解决标识1。终端设备1对MAC子PDU 6~10进行检测,确定所有携带竞争解决标识的MAC子PDU均不具有竞争解决标识1。终端设备1继续在MAC子PDU 1~5中检测是否存在具有随机接入信号标识的MAC子PDU。当终端设备1确定MAC子PDU 3具有随机接入信号标识1并且MAC子PDU3携带的携带的随机接入响应不包括上行授权信息、定时提前命令和TC-RNTI中的任意一项、任意两项或者全部三项。终端设备1根据MAC子PDU 3携带的随机接入响应确定不能从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。此时,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第五个示例中,MAC子PDU 6~10携带的竞争解决标识均不是终端设备1的竞争解决标识1。终端设备1对MAC子PDU 6~10进行检测,确定所有携带竞争解决标识的MAC子PDU均不具有竞争解决标识1。终端设备1继续在MAC子PDU 1~5中检测是否存在具有随机接入信号标识1的MAC子PDU。MAC子PDU 1~5携带的随机接入信号标识均不是随机接入信号标识1。终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
结合图14所示结构,当MAC PDU和MAC子PDU的结构为上述第五种实现方式时,通过示例,对本实施例提供的随机接入方法进行说明。
在该结构中,响应消息包括MAC子PDU,MAC子PDU包括MAC子头,MAC子头包括标识,标识为随机接入信号标识或竞争解决标识。
具体的,在MAC子头中携带标识,该标识可以为随机接入信号标识或竞争解决标识。终端设备对MAC子头进行检测时,根据标识可以直接确定竞争解决是否成功,提升了检测效率。其中,当MAC子头具有终端设备的第一竞争解决标识时,终端设备可以获取自己的竞争解决标识,竞争解决成功,并且,响应消息接收成功。之后,终端设备可以对该MAC子PDU的负载携带的信息进行处理。其中,当MAC子头具有终端设备的第一随机接入信号标识时,终端设备可以根据MAC子PDU的负载携带的信息确定进行随机接入回退或者重新发起随机接入。可选的,MAC子PDU的负载可以包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
可选的,MAC子头还可以包括指示信息,指示信息用于指示MAC子PDU的格式,或者指示MAC子头携带随机接入信号标识或者携带竞争解决标识,或者指示MAC子头携带的标识的长度或MAC子头的长度。
可选的,指示信息为1比特或2比特。
下面通过示例进行详细说明。
可选的,在第一种实现方式中,指示信息用于指示MAC子PDU的格式。
在该种实现方式中,指示信息与MAC子PDU的格式之间具有对应关系。网络设备和终端设备上可以预先存储该对应关系。需要说明的是,本实施例对于指示信息的名称、比特长度和在MAC子头中的占用位置不做限定。
示例性的,图19为本申请实施例提供的另一种MAC子PDU的结构示意图。图19示出了MAC子PDU的三种格式。示例性的,指示信息可以为2bit,指示信息的名称以及在MAC子头中的占用位置可以参见图19中的II字段。例如,指示信息为二进制序列00时,指示MAC子PDU的格式1。指示信息为二进制序列01时,指示MAC子PDU的格式2。指示信息为二进制序列10时,指示MAC子PDU的格式3。需要说明的是,本实施例对于指示信息的取值与MAC子PDU的格式的对应关系不做限定。
示例性的,在图19中,随机接入信号标识标记为RAPID字段,竞争解决标识标记为UE ID字段。需要说明,RAPID字段和UE ID字段只是示例,本实施例对于随机接入信号标识和竞争解决标识的名称、长度以及在MAC子头中的占用位置不作限定。如图19所示,图19左侧为MAC子PDU的格式1。在该格式中,MAC子头携带的标识为随机接入信号标识,随机接入信号标识的长度为6bits。图19中间为MAC子PDU的格式2。在该格式中,MAC子头携带的标识为竞争解决标识,竞争解决标识的长度为16bits。图19右侧为MAC子PDU的格式3。在该格式中,MAC子头携带的标识为竞争解决标识,竞争解决标识的长度为48bits。
可选的,在第二种实现方式中,指示信息用于指示MAC子头携带随机接入信号标识或者携带竞争解决标识。
在该种实现方式中,竞争解决标识可以为预设长度。本实施例对于预设长度的具体取值不做限定。例如,预设长度可以为48bits。
需要说明的是,本实施例对于指示信息的名称、比特长度和在MAC子头中的占用位置不做限定。例如,指示信息可以为1比特。示例性的,指示信息为0时,用于指示MAC子头携带随机接入信号标识。指示信息为1时,用于指示MAC子头携带竞争解决标识。本实施例对于指示信息的取值不做限定。
可选的,竞争解决标识的有效位为预设长度或预设长度的一部分。
需要说明的是,本实施例对于竞争解决标识的有效位的具体长度不做限定。例如,预设长度为48bit,竞争解决标识的有效位的长度可以为16bit、32bit,等等。需要说明的是,本实施例对于竞争解决标识的有效位在预设长度中的占用位置不做限定。例如,预设长度为48bits,竞争解决标识的有效位的长度为16bits。该16bits可以为预设长度的前16bits,或者后16bits等。
可选的,在第三种实现方式中,指示信息用于指示MAC子头携带的标识的长度或MAC子头的长度。
在该种实现方式中,对于指示信息的名称、比特长度和在MAC子头中的占用位置不做限定。可选的,指示信息可以为2比特。可选的,在一种应用场景中,2比特的指示信息直接指示MAC子头携带的标识的长度或MAC子头的长度。例如,指示信息用于指示MAC子头携带的标识的长度时,指示信息为二进制序列00时指示MAC子头携带6bits的RAPID,指示信息为二进制序列01时指示MAC子头携带16bits的竞争解决标识,指示信息为二进制序列10时指示MAC子头携带48bits的竞争解决标识。又例如,指示信息用于指示MAC子头的长度时,指示信息为二进制序列00时指示2byte的MAC子头,指示信息为二进制序列01时指示3byte的MAC子头,指示信息为二进制序列10时指示7byte的MAC子头。本实施例对于指示信息的取值与MAC子头携带的标识的长度或MAC子头的长度的对应关系不做限定,同时对随机接入信号标识和竞争解决标识的长度不作限定。可选的,在另一种应用场景中,2比特的指示信息中,其中1比特可以指示标识是随机接入信号标识还是竞争解决标识,其中的另1比特可以指示标识的长度或MAC子头的长度。
下面结合图14所示结构,对本实施例提供的随机接入方法进行说明。
可选的,在一种实现方式中,终端设备可以执行下述步骤:
步骤51、终端设备按照预设顺序获取MAC PDU中当前待检测的MAC子PDU。本实施例对于预设顺序不做限定,例如,可以为从MAC PDU的头部到尾部的顺序。
步骤52、终端设备根据所述待检测的MAC子PDU的MAC子头中携带的指示信息,确定所述MAC子头携带竞争解决标识或者携带随机接入信号标识。如果所述MAC子头携带竞争解决标识,执行步骤53。如果所述MAC子头携带随机接入信号标识,执行步骤55。
步骤53、终端设备判断所述MAC子头携带的竞争解决标识是否为所述终端设备的第一竞争解决标识。如果所述MAC子头携带的竞争解决标识是所述终端设备的第一竞争解决标识,执行步骤54。如果所述MAC子头携带的竞争解决标识不是所述终端设备的第一竞争解决标识,而是其他终端设备的竞争解决标识,则按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,重新执行步骤52。
步骤54、终端设备停止检测MAC PDU中其他未检测的MAC子PDU,确定竞争解决成功或随机接入成功,确定响应消息接收成功,并且处理响应消息包括的信息,例如,上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。或者,终端设备按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,返回执行步骤52。
步骤55、终端设备判断所述待检测的MAC子PDU的MAC子头是否具有所述终端设备的第一随机接入信号标识。如果所述MAC子头具有所述终端设备的第一随机接入信号标识,执行步骤56。如果所述MAC子头不具有所述终端设备的第一随机接入信号标识,终端设备按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,重新执行步骤52。
步骤56、如果所述待检测的MAC子PDU的负载中携带了随机接入响应,所述随机 接入响应包括上行授权信息、定时提前命令和TC-RNTI,终端设备缓存所述待检测的MAC子PDU,并按照所述预设顺序获取所述待检测的MAC子PDU后面的下一个未检测的MAC子PDU,将所述下一个未检测的MAC子PDU作为新的待检测的MAC子PDU,重新执行步骤52。
终端设备根据不同的检测结果,确定竞争解决成功或随机接入成功,或者确定随机接入回退,或者确定重新发起随机接入。终端设备在顺序检测过程中,如果所述的MAC子PDU的MAC子头中具有所述终端设备的第一竞争解决标识,终端设备确定竞争解决成功或随机接入成功,终端设备确定响应消息接收成功,并且处理响应消息包括的信息,例如上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。如果所有所述的MAC子PDU的MAC子头中都不具有所述终端设备的第一竞争解决标识,并且都具有其他终端设备的竞争解决标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。如果所有所述的MAC子PDU的MAC子头中都不具有所述终端设备的第一竞争解决标识,但是任意一个MAC子PDU的MAC子头具有所述终端设备的第一随机接入信号标识且该MAC子PDU的负载中携带了随机接入响应,例如上行授权信息、定时提前命令和TC-RNTI,终端设备可以确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程,终端设备确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理第一响应中包括的信息,例如上行授权信息、定时提前命令和TC-RNTI,或者终端设备重新发起随机接入。如果所有所述的MAC子PDU的MAC子头都不具有所述终端设备的第一竞争解决标识并且所有所述的MAC子PDU的MAC子头都不具有所述终端设备的第一随机接入信号标识,终端设备确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
下面通过示例,对S702中,检测对于请求消息的响应消息的实现方式进行说明。假设,终端设备1向网络设备发送的随机接入信号的标识为随机接入信号标识1。终端设备1的第一随机接入信号标识为随机接入信号标识1,终端设备1的第一竞争解决标识为竞争解决标识1。MAC PDU包括4个MAC子PDU,分别标记为MAC子PDU 1~4。其中,在第一个示例~第五个示例中,MAC子PDU 1~2的MAC子头携带的标识为竞争解决标识。MAC子PDU 3~4的MAC子头携带的标识为随机接入信号标识。在第六个示例中,MAC子PDU 1~2的MAC子头携带的标识为随机接入信号标识。MAC子PDU 3~4的MAC子头携带的标识为竞争解决标识。其中,MAC子PDU 1~4的负载包括随机接入响应。所述随机接入响应包括上行授权信息、定时提前命令、TC-RNTI和RRC消息中的0项、任意一项、任意两项、任意三项或者全部四项。
可选的,在第一个示例中,MAC子PDU 2的MAC子头携带的竞争解决标识为终端设备1的竞争解决标识1。终端设备1根据MAC子头携带的指示信息对MAC子PDU的MAC子头依次进行检测。首先检测MAC子PDU 1,确定MAC子PDU 1的MAC子头不具有竞争解决标识1,则继续检测下一个MAC子PDU的MAC子头。在确定MAC子PDU 2的MAC子头具有竞争解决标识1时,终端设备1确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 2的负载包括的信息。此时,终端设备可以停止检测其他未被检测的MAC子PDU,例如MAC子PDU3、4,也可以继续检测,直到检测完所有的MAC子PDU,本实施例不做限定。
可选的,在第二个示例中,MAC子PDU 1~2的MAC子头携带的竞争解决标识均不是竞争解决标识1。终端设备1根据MAC子头携带的指示信息对MAC子PDU的MAC子头依次进行检测。首先,确定MAC子PDU 1携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 2进行检测。确定MAC子PDU 2携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 3进行检测。确定MAC子PDU 3携带随机接入信号标识,不具有竞争解决标识1。则继续对MAC子PDU 4进行检测。确定MAC子PDU 4携带随机接入信号标识,不具有竞争解决标识1。终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第三个示例中,MAC子PDU 1~2的MAC子头携带的竞争解决标识均不是竞争解决标识1。MAC子PDU 3的MAC子头携带的随机接入信号标识为随机接入信号标识1,且MAC子PDU 3的负载包括上行授权信息、定时提前命令和TC-RNTI。终端设备1根据MAC子头携带的指示信息对MAC子PDU的MAC子头依次进行检测。首先,确定MAC子PDU 1携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 2进行检测。确定MAC子PDU 2携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 3进行检测。确定MAC子PDU 3携带随机接入信号标识,不具有竞争解决标识1。则继续对MAC子PDU 4进行检测。确定MAC子PDU 4携带随机接入信号标识,不具有竞争解决标识1。最终,确定MAC子PDU 1~4均不具有竞争解决标识1。但是,由于MAC子PDU 3的MAC子头具有随机接入信号标识1且MAC子PDU 3携带的随机接入响应包括上行授权信息、定时提前命令和TC-RNTI,终端设备1可以根据MAC子PDU 3携带的随机接入响应确定从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。终端设备1确定对随机接入请求的第一响应接收成功或随机接入响应接收成功,处理MAC子PDU3中的负载中包括的信息。
可选的,在第四个示例中,MAC子PDU 1~2的MAC子头携带的竞争解决标识均不是竞争解决标识1。MAC子PDU 3的MAC子头携带的随机接入信号标识为随机接入信号标识1,且MAC子PDU 3的负载不包括上行授权信息、定时提前命令和TC-RNTI中的任意一项、任意两项或者全部三项。终端设备1根据MAC子头携带的指示信息对MAC子PDU的MAC子头依次进行检测。首先,确定MAC子PDU 1携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 2进行检测。确定MAC子PDU 2携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 3进行检测。确定MAC子PDU 3携带随机接入信号标识,不具有竞争解决标识1。则继续对MAC子PDU 4进行检测。确定MAC子PDU 4携带随机接入信号标识,不具有竞争解决标识1。最终,确定MAC子PDU 1~4均不具有竞争解决标识1。虽然MAC子PDU 3的MAC子头具有随机接入信号标识1,但是终端设备1根据MAC子PDU 3携带的随机接入响应确定不能从基于竞争的2步随机接入过程回退到基于竞争的4步随机接入过程。此时,终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第五个示例中,MAC子PDU 1~2的MAC子头携带的竞争解决标识均不是竞争解决标识1。MAC子PDU 3~4的MAC子头携带的随机接入信号标识均不是随机接入信号标识1。终端设备1根据MAC子头携带的指示信息对MAC子PDU的MAC子头依次进行检测。首先,确定MAC子PDU 1携带竞争解决标识,但是不具有竞争解决标识 1。则继续对MAC子PDU 2进行检测。确定MAC子PDU 2携带竞争解决标识,但是不具有竞争解决标识1。则继续对MAC子PDU 3进行检测。确定MAC子PDU 3携带随机接入信号标识,不具有竞争解决标识1。则继续对MAC子PDU 4进行检测。确定MAC子PDU 4携带随机接入信号标识,不具有竞争解决标识1。最终,确定MAC子PDU 1~4均不具有竞争解决标识1,并且都不具有随机接入信号标识1。终端设备1确定竞争解决失败和/或响应消息接收失败,重新发起随机接入。
可选的,在第六个示例中,MAC子PDU 3的MAC子头携带的竞争解决标识为终端设备1的竞争解决标识1。MAC子PDU 1的MAC子头携带的随机接入信号标识为随机接入信号标识1,且MAC子PDU 1的负载包括上行授权信息、定时提前命令和TC-RNTI。终端设备1根据MAC子头携带的指示信息对MAC子PDU的MAC子头依次进行检测。首先,确定MAC子PDU 1携带随机接入信号标识,不具有竞争解决标识1。则继续对MAC子PDU 2进行检测。确定MAC子PDU 2携带随机接入信号标识,不具有竞争解决标识1。则继续对MAC子PDU 3进行检测。确定MAC子PDU 3的MAC子头具有竞争解决标识1。虽然MAC子PDU 1的MAC子头携带的随机接入信号标识为随机接入信号标识1,终端设备需要继续检测其他未被检测的MAC子PDU的MAC子头,然后,确定MAC子PDU 3的MAC子头具有竞争解决标识1。终端设备1确定竞争解决成功或随机接入成功,并且确定响应消息接收成功,可以处理MAC子PDU 3的负载包括的信息。此时,终端设备可以停止检测其他的未被检测的MAC子PDU,例如MAC子PDU4,也可以继续检测,直到检测完所有的MAC子PDU,本实施例不做限定。
需要说明的是,在本示例中,可以按照预设顺序对MAC PDU中的MAC子PDU依次进行检测。本实施例对于预设顺序不做限定,例如,可以为从MAC PDU的头部到尾部的顺序。
本申请实施例还提供用于实现以上任一种方法的装置,例如,提供一种芯片装置,该芯片装置用于终端设备,包括,用以实现以上任一种方法中终端设备所执行的各个步骤的单元(或手段)。
示例性的,图20为本申请实施例提供的一种装置的结构示意图。如图20所示,本实施例提供的装置,可以包括:
发送模块101,用于向网络设备发送请求消息,所述请求消息包括随机接入信号和用于竞争解决的信息,所述随机接入信号用于请求随机接入;
处理模块102,用于检测对于所述请求消息的响应消息,其中:
当检测到所述响应消息包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或者随机接入成功,所述第一竞争解决标识是根据所述用于竞争解决的信息得到的;或者,
当检测到所述响应消息包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或者重新发起随机接入,所述第一竞争解决标识是根据所述用于竞争解决的信息得到的,所述第一随机接入信号标识对应于所述随机接入信号;或者,
当检测到所述响应消息不包括具有第一随机接入信号标识的MAC子PDU且不包括具 有第一竞争解决标识的MAC子PDU时,重新发起随机接入,所述第一竞争解决标识是根据所述用于竞争解决的信息得到的,所述第一随机接入信号标识对应于所述随机接入信号。
可选的,当检测到所述响应消息包括具有第一竞争解决标识的MAC子PDU时,所述响应消息还包括具有第一随机接入信号标识的MAC子PDU。
可选的,所述具有第一竞争解决标识的MAC子PDU和所述具有第一随机接入信号标识的MAC子PDU位于相同的或不同的MAC PDU。
可选的,所述具有第一竞争解决标识的MAC子PDU和所述具有第一随机接入信号标识的MAC子PDU为同一个MAC子PDU。
可选的,所述处理模块102具体用于:
确定第一MAC子PDU集合,所述第一MAC子PDU集合包括所述响应消息中所有具有第一随机接入信号标识的MAC子PDU;
确定所述第一MAC子PDU集合是否包括所述具有第一竞争解决标识的MAC子PDU;其中,
当所述第一MAC子PDU集合包括所述具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功;或,
当所述第一MAC子PDU集合不包括所述具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
可选的,所述处理模块102具体用于:
确定第一MAC子PDU,所述第一MAC子PDU具有所述第一随机接入信号标识;
确定所述第一MAC子PDU是否具有所述第一竞争解决标识;其中,
当所述第一MAC子PDU具有所述第一竞争解决标识时,确定竞争解决成功或随机接入成功;或,
当所有所述第一MAC子PDU不具有所述第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
可选的,所述具有第一竞争解决标识的MAC子PDU和所述具有第一随机接入信号标识的MAC子PDU为不同的MAC子PDU。
可选的,所述处理模块102具体用于:
确定第二MAC子PDU集合,所述第二MAC子PDU集合包括所述响应消息中所有具有第一随机接入信号标识的MAC子PDU以及相邻的携带竞争解决标识的MAC子PDU;
确定所述第二MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU;其中,
当所述第二MAC子PDU集合包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功;或,
当所述第二MAC子PDU集合不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
可选的,所述处理模块102具体用于:
确定第二MAC子PDU,所述第二MAC子PDU具有所述第一随机接入信号标识;
确定所述第二MAC子PDU相邻的MAC子PDU是否具有所述第一竞争解决标识;其中,
当所述第二MAC子PDU相邻的MAC子PDU具有所述第一竞争解决标识时,确定竞争解决成功或随机接入成功;或,
当所有所述第二MAC子PDU相邻的MAC子PDU不具有第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
可选的,所述处理模块102具体用于:
确定所述响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
可选的,所述处理模块102具体用于:
检测所述响应消息是否包括具有第一竞争解决标识的MAC子PDU,其中
当不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入或确定所述响应消息是否包括具有第一随机接入信号标识的MAC子PDU,当包括所述具有第一随机接入信号标识的MAC子PDU时,进行随机接入回退;
当包括具有第一竞争解决标识的MAC子PDU时,所述响应消息包括所述具有第一随机接入信号标识的MAC子PDU,确定竞争解决成功或者随机接入成功。
可选的,所述处理模块102还用于:
当竞争解决成功或随机接入成功时,对所述具有第一随机接入信号标识的MAC子PDU的负载进行处理。
可选的,所述响应消息包括MAC子PDU,所述MAC子PDU包括MAC子头,所述MAC子头包括标识,所述标识为第一随机接入信号标识或第一竞争解决标识。
可选的,所述MAC子头还包括指示信息,所述指示信息用于指示所述MAC子PDU的格式,或者指示所述MAC子头携带第一随机接入信号标识或者携带第一竞争解决标识;或者指示所述MAC子头包括的所述标识的长度或所述MAC子头的长度。
可选的,所述指示信息为1比特或2比特。
可选的,所述MAC子头携带第一竞争解决标识,所述MAC子PDU的负载包括以下信息中的一个或多个:上行授权信息,定时提前命令,TC-RNTI,以及RRC消息。
本实施例提供的装置,用于执行以上任一实施方式提供的随机接入方法,技术原理和技术效果相似,此处不再赘述。
应理解以上装置中模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且装置中的模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块以硬件的形式实现。例如,各个模块可以为单独设立的处理元件,也可以集成在装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由装置的某一个处理元件调用并执行该模块的功能。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以成为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。
在一个例子中,以上任一装置中的模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC), 或,一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA),或这些集成电路形式中至少两种的组合。再如,当装置中的模块可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
以上用于接收的模块是一种该装置的接口电路,用于从其它装置接收信号。例如,当该装置以芯片的方式实现时,该接收模块是该芯片用于从其它芯片或装置接收信号的接口电路。以上用于发送的模块是一种该装置的接口电路,用于向其它装置发送信号。例如,当该装置以芯片的方式实现时,该发送模块是该芯片用于向其它芯片或装置发送信号的接口电路。
以上装置可以适用于终端设备,请参考图21,其为本申请实施例提供的一种终端设备的结构示意图。其可以为以上实施例中的终端设备,用于实现以上实施例中终端设备的操作。如图21所示,该终端设备包括:天线310、射频装置320、基带装置330。天线310与射频装置320连接。在下行方向上,射频装置320通过天线310接收网络设备发送的信息,将网络设备发送的信息发送给基带装置330进行处理。在上行方向上,基带装置330对终端设备的信息进行处理,并发送给射频装置320,射频装置320对终端设备的信息进行处理后经过天线310发送给网络设备。
基带装置330可以包括调制解调子系统,用于实现对数据各通信协议层的处理;还可以包括中央处理子系统,用于实现对终端设备操作系统以及应用层的处理;此外,还可以包括其它子系统,例如多媒体子系统,周边子系统等,其中多媒体子系统用于实现对终端设备相机,屏幕显示等的控制,周边子系统用于实现与其它设备的连接。调制解调子系统可以为单独设置的芯片。可选的,以上用于终端设备的装置可以位于该调制解调子系统。
调制解调子系统可以包括一个或多个处理元件331,例如,包括一个主控CPU和其它集成电路。此外,该调制解调子系统还可以包括存储元件332和接口电路333。存储元件332用于存储数据和程序,但用于执行以上方法中终端设备所执行的方法的程序可能不存储于该存储元件332中,而是存储于调制解调子系统之外的存储器中,使用时调制解调子系统加载使用。接口电路333用于与其它子系统通信。以上用于终端设备的装置可以位于调制解调子系统,该调制解调子系统可以通过芯片实现,该芯片包括至少一个处理元件和接口电路,其中处理元件用于执行以上终端设备执行的任一种方法的各个步骤,接口电路用于与其它装置通信。在一种实现中,终端设备实现以上方法中各个步骤的单元可以通过处理元件调度程序的形式实现,例如用于终端设备的装置包括处理元件和存储元件,处理元件调用存储元件存储的程序,以执行以上方法实施例中终端设备执行的方法。存储元件可以为处理元件处于同一芯片上的存储元件,即片内存储元件。
在另一种实现中,用于执行以上方法中终端设备所执行的方法的程序可以在与处理元件处于不同芯片上的存储元件,即片外存储元件。此时,处理元件从片外存储元件调用或加载程序于片内存储元件上,以调用并执行以上方法实施例中终端设备执行的方法。
在又一种实现中,终端设备实现以上方法中各个步骤的单元可以是被配置成一个或多个处理元件,这些处理元件设置于调制解调子系统上,这里的处理元件可以为集成电路, 例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或者这些类集成电路的组合。这些集成电路可以集成在一起,构成芯片。
终端设备实现以上方法中各个步骤的单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现,该SOC芯片,用于实现以上方法。该芯片内可以集成至少一个处理元件和存储元件,由处理元件调用存储元件的存储的程序的形式实现以上终端设备执行的方法;或者,该芯片内可以集成至少一个集成电路,用于实现以上终端设备执行的方法;或者,可以结合以上实现方式,部分单元的功能通过处理元件调用程序的形式实现,部分单元的功能通过集成电路的形式实现。
可见,以上用于终端设备的装置可以包括至少一个处理元件和接口电路,其中至少一个处理元件用于执行以上方法实施例所提供的任一种终端设备执行的方法。处理元件可以以第一种方式:即调用存储元件存储的程序的方式执行终端设备执行的部分或全部步骤;也可以以第二种方式:即通过处理器元件中的硬件的集成逻辑电路结合指令的方式执行终端设备执行的部分或全部步骤;当然,也可以结合第一种方式和第二种方式执行终端设备执行的部分或全部步骤。
这里的处理元件同以上描述,可以是通用处理器,例如CPU,还可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。
存储元件可以是一个存储器,也可以是多个存储元件的统称。

Claims (20)

  1. 一种随机接入方法,其特征在于,包括:
    向网络设备发送请求消息,所述请求消息包括随机接入信号和用于竞争解决的信息,所述随机接入信号用于请求随机接入;
    检测对于所述请求消息的响应消息,其中:
    当检测到所述响应消息包括具有第一竞争解决标识的媒体访问控制MAC子协议数据单元PDU时,确定竞争解决成功或者随机接入成功,所述第一竞争解决标识是根据所述用于竞争解决的信息得到的;或者,
    当检测到所述响应消息包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或者重新发起随机接入,所述第一竞争解决标识是根据所述用于竞争解决的信息得到的,所述第一随机接入信号标识对应于所述随机接入信号;或者,
    当检测到所述响应消息不包括具有第一随机接入信号标识的MAC子PDU且不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入,所述第一竞争解决标识是根据所述用于竞争解决的信息得到的,所述第一随机接入信号标识对应于所述随机接入信号。
  2. 根据权利要求1所述的方法,其特征在于,当检测到所述响应消息包括具有第一竞争解决标识的MAC子PDU时,所述响应消息还包括具有第一随机接入信号标识的MAC子PDU。
  3. 根据权利要求2所述的方法,其特征在于,所述具有第一竞争解决标识的MAC子PDU和所述具有第一随机接入信号标识的MAC子PDU位于相同的或不同的MAC PDU。
  4. 根据权利要求2所述的方法,其特征在于,所述具有第一竞争解决标识的MAC子PDU和所述具有第一随机接入信号标识的MAC子PDU为同一个MAC子PDU。
  5. 根据权利要求4所述的方法,其特征在于,所述检测对于所述请求消息的响应消息,包括:
    确定第一MAC子PDU集合,所述第一MAC子PDU集合包括所述响应消息中所有具有第一随机接入信号标识的MAC子PDU;
    确定所述第一MAC子PDU集合是否包括所述具有第一竞争解决标识的MAC子PDU;其中,
    当所述第一MAC子PDU集合包括所述具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功;或,
    当所述第一MAC子PDU集合不包括所述具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
  6. 根据权利要求4所述的方法,其特征在于,所述检测对于所述请求消息的响应消息,包括:
    确定第一MAC子PDU,所述第一MAC子PDU具有所述第一随机接入信号标识;
    确定所述第一MAC子PDU是否具有所述第一竞争解决标识;其中,
    当所述第一MAC子PDU具有所述第一竞争解决标识时,确定竞争解决成功或随机接入成功;或,
    当所有所述第一MAC子PDU不具有所述第一竞争解决标识时,进行随机接入回退或 重新发起随机接入。
  7. 根据权利要求2所述的方法,其特征在于,所述具有第一竞争解决标识的MAC子PDU和所述具有第一随机接入信号标识的MAC子PDU为不同的MAC子PDU。
  8. 根据权利要求7所述的方法,其特征在于,所述检测对于所述请求消息的响应消息,包括:
    确定第二MAC子PDU集合,所述第二MAC子PDU集合包括所述响应消息中所有具有第一随机接入信号标识的MAC子PDU以及相邻的携带竞争解决标识的MAC子PDU;
    确定所述第二MAC子PDU集合是否包括具有第一竞争解决标识的MAC子PDU;其中,
    当所述第二MAC子PDU集合包括具有第一竞争解决标识的MAC子PDU时,确定竞争解决成功或随机接入成功;或,
    当所述第二MAC子PDU集合不包括具有第一竞争解决标识的MAC子PDU时,进行随机接入回退或重新发起随机接入。
  9. 根据权利要求7所述的方法,其特征在于,所述检测对于所述请求消息的响应消息,包括:
    确定第二MAC子PDU,所述第二MAC子PDU具有所述第一随机接入信号标识;
    确定所述第二MAC子PDU相邻的MAC子PDU是否具有所述第一竞争解决标识;其中,
    当所述第二MAC子PDU相邻的MAC子PDU具有所述第一竞争解决标识时,确定竞争解决成功或随机接入成功;或,
    当所有所述第二MAC子PDU相邻的MAC子PDU不具有第一竞争解决标识时,进行随机接入回退或重新发起随机接入。
  10. 根据权利要求2至9任一项所述的方法,其特征在于,所述检测对于所述请求消息的响应消息,包括:
    确定所述响应消息不包括具有第一随机接入信号标识的MAC子PDU,重新发起随机接入。
  11. 根据权利要求2所述的方法,其特征在于,所述检测对于所述请求消息的响应消息,包括:
    检测所述响应消息是否包括具有第一竞争解决标识的MAC子PDU,其中
    当不包括具有第一竞争解决标识的MAC子PDU时,重新发起随机接入或确定所述响应消息是否包括具有第一随机接入信号标识的MAC子PDU,当包括所述具有第一随机接入信号标识的MAC子PDU时,进行随机接入回退;
    当包括具有第一竞争解决标识的MAC子PDU时,所述响应消息包括所述具有第一随机接入信号标识的MAC子PDU,确定竞争解决成功或者随机接入成功。
  12. 根据权利要求1至11任一项所述的方法,其特征在于,当竞争解决成功或随机接入成功时,对所述具有第一随机接入信号标识的MAC子PDU的负载进行处理。
  13. 根据权利要求1所述的方法,其特征在于,所述响应消息包括MAC子PDU,所述MAC子PDU包括MAC子头,所述MAC子头包括标识,所述标识为第一随机接入信号标识或第一竞争解决标识。
  14. 根据权利要求13所述的方法,其特征在于,所述MAC子头还包括指示信息,所述指示信息用于指示所述MAC子PDU的格式,或者指示所述MAC子头携带第一随机接入信号标识或者携带第一竞争解决标识;或者指示所述MAC子头包括的所述标识的长度或所述MAC子头的长度。
  15. 根据权利要求14所述的方法,其特征在于,所述指示信息为1比特或2比特。
  16. 根据权利要求13所述的方法,其特征在于,所述MAC子头携带第一竞争解决标识,所述MAC子PDU的负载包括以下信息中的一个或多个:上行授权信息,定时提前命令,临时小区无线网络临时标识TC-RNTI,以及无线资源控制RRC消息。
  17. 一种装置,其特征在于,包括:用于执行如权利要求1至16任一项所述的随机接入方法的各步骤的单元。
  18. 一种装置,其特征在于,包括:处理器和接口电路,所述处理器用于通过所述接口电路与其它装置通信,并执行如权利要求1至16任一项所述的随机接入方法。
  19. 一种装置,其特征在于,包括处理器,用于调用存储器中存储的程序,以执行如权利要求1至16任一项所述的随机接入方法。
  20. 一种存储介质,其特征在于,存储有计算机执行指令,当所述计算机执行指令被处理器执行时,实现如权利要求1至16任一项所述的随机接入方法。
PCT/CN2020/079610 2019-03-27 2020-03-17 随机接入方法和装置 WO2020192482A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910238760.9A CN111757525B (zh) 2019-03-27 2019-03-27 随机接入方法和装置
CN201910238760.9 2019-03-27

Publications (1)

Publication Number Publication Date
WO2020192482A1 true WO2020192482A1 (zh) 2020-10-01

Family

ID=72611371

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079610 WO2020192482A1 (zh) 2019-03-27 2020-03-17 随机接入方法和装置

Country Status (2)

Country Link
CN (1) CN111757525B (zh)
WO (1) WO2020192482A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107027190A (zh) * 2017-06-14 2017-08-08 武汉虹信通信技术有限责任公司 一种用于lte系统的随机接入竞争解决实现方法
CN109392187A (zh) * 2017-08-11 2019-02-26 华为技术有限公司 传输随机接入响应的方法、接入网设备和终端设备
CN109392017A (zh) * 2017-08-11 2019-02-26 电信科学技术研究院 一种随机接入响应的方法、装置、基站及终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282901B (zh) * 2017-01-06 2019-08-09 电信科学技术研究院 一种随机接入响应方法和装置
CN109392071B (zh) * 2017-08-11 2021-06-08 中兴通讯股份有限公司 一种功率控制的方法及装置
CN109495975A (zh) * 2017-09-11 2019-03-19 北京三星通信技术研究有限公司 随机接入方法、基站设备及用户设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107027190A (zh) * 2017-06-14 2017-08-08 武汉虹信通信技术有限责任公司 一种用于lte系统的随机接入竞争解决实现方法
CN109392187A (zh) * 2017-08-11 2019-02-26 华为技术有限公司 传输随机接入响应的方法、接入网设备和终端设备
CN109392017A (zh) * 2017-08-11 2019-02-26 电信科学技术研究院 一种随机接入响应的方法、装置、基站及终端

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI ET AL.: "Addition of NR test case 7.1.1.1.6_Random access", 3GPP TSG RAN5 MEETING #81 R5-186959, 2 November 2018 (2018-11-02), XP051485187, DOI: 20200422141818A *
VIVO: "RAN2 impacts of 2-step RACH", 3GPP TSG-RAN WG2 MEETING #104 R2-1818260, 2 November 2018 (2018-11-02), XP051482133, DOI: 20200422141623X *

Also Published As

Publication number Publication date
CN111757525A (zh) 2020-10-09
CN111757525B (zh) 2022-10-04

Similar Documents

Publication Publication Date Title
US11470647B2 (en) Method and device for two-step contention based random access
US9615344B2 (en) Enhanced random access procedure for air-to-ground communications
WO2017016484A1 (zh) 无线通信系统、基站侧和用户设备侧的装置及方法
US11470670B2 (en) Beam failure recovery method and user equipment
EP2217029A1 (en) Method of processing in random access procedure, system and apparatus thereof
KR20120019439A (ko) 반송파 조합 방식 이동통신 시스템에서 단말의 임의접속 방법
US11812478B2 (en) Network access method and apparatus
EP3531784B1 (en) Random access method and apparatus
US11265925B2 (en) Downlink radio resource control message transmission in 2-step random access
WO2020063828A1 (zh) 一种随机接入的方法和通信装置
US20230345545A1 (en) Downlink Radio Resource Control Message Transmission in 2-Step Random Access
US20220070926A1 (en) Communication control method and user equipment
EP4221301A1 (en) Method and apparatus for determining transmission and reception point
WO2021146828A1 (zh) 随机接入的方法及装置
CN114245471B (zh) 随机接入信号处理方法、随机接入方法、装置及存储介质
WO2020192482A1 (zh) 随机接入方法和装置
WO2019178728A1 (zh) 一种随机接入方法及装置
US20220053558A1 (en) Random access method and apparatus
CN112584544B (zh) 随机接入过程
WO2018227510A1 (zh) 接入控制方法及相关产品
CN111757537B (zh) 随机接入方法和装置
WO2019014903A1 (zh) 用于随机接入的方法、网络设备和终端设备
CN113573401A (zh) 通信方法、装置及系统
WO2020192441A1 (zh) 随机接入方法和装置
CN115428483A (zh) 一种随机接入方法及终端设备

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: 20779807

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20779807

Country of ref document: EP

Kind code of ref document: A1