Wireless communication method and device

By selecting appropriate random access steps (two or four steps) based on the amount of data to be transmitted in the target channel, the problem of increased service delay in non-terrestrial communication networks is solved, and the random access performance and success rate are improved.

CN115997450BActive Publication Date: 2025-03-04GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202080103590.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-03
Publication Date
2025-03-04
Estimated Expiration
2040-12-03

AI Technical Summary

Technical Problem

In non-terrestrial communication networks, the signal propagation delay between terminal devices and satellites has increased significantly, resulting in a significant increase in service delay and affecting user experience.

Method used

By considering the amount of data to be transmitted on the target logical channel, two-step random access is used for uplink services with smaller data volumes to reduce service delays; for services with larger data volumes, four-step random access is used to improve the success rate of random access.

Benefits of technology

It effectively improves the random access performance of terminal devices, reduces service delay, and improves the success rate of random access, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115997450B_ABST
    Figure CN115997450B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a wireless communication method and device. The method includes: when a scheduling request SR triggered by a conventional buffer status report BSR triggers random access, for contention-based random access, the terminal device selects a random access type based on the amount of data to be transmitted on the target logical channel. In the embodiment of the present application, the random access type is selected based on the amount of data to be transmitted on the target logical channel, which can improve the random access performance of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and more specifically, to wireless communication methods and devices. Background Art

[0002] In the New Radio (NR), the signal transmission delay between the terminal device and the network device is very small. The waiting time from the time the terminal device has uplink data to the time the terminal device sends this data to the network device is generally short, which has little impact on service delay.

[0003] Compared with the cellular network used by traditional NR, the signal propagation delay between the terminal device and the satellite in the non-terrestrial communication network (NTN) is greatly increased. Therefore, when the terminal device has uplink data arriving, but the terminal device does not have uplink resources for data transmission, it needs to wait for a relatively long time to send these data to the network, which leads to a significant increase in service delay and affects the user experience. For example, in order to apply for uplink transmission resources from the network, the terminal device needs to perform a random access process. The NR Rel-15 version supports two contention-based random access methods, namely two-step random access and four-step random access. Compared with four-step random access, two-step random access can reduce random access delay. Since all terminal devices in the cell share the resource, if two-step random access is directly triggered, the probability of random access channel (RACH) collision between terminal devices may increase, and the capacity of two-step random access may be limited.

[0004] Therefore, a method for improving random access performance is urgently needed. Summary of the invention

[0005] The embodiments of the present application provide a wireless communication method and device, which can improve the random access performance of a terminal device. In particular, by considering the amount of data to be transmitted on the target logical channel, for uplink services with a small amount of data, the service delay can be reduced through two-step random access, and for services with a large amount of data, the random access success rate can be improved through four-step random access.

[0006] In a first aspect, a wireless communication method is provided, comprising:

[0007] When a scheduling request SR triggered by a conventional buffer status report BSR triggers random access, for contention-based random access, the terminal device selects the random access type based on the amount of data to be transmitted on the target logical channel.

[0008] In a second aspect, a wireless communication method is provided, including:

[0009] The network device sends configuration information to the terminal device, where the configuration information includes at least one of the following:

[0010] The first threshold, the second threshold or the third threshold, the first threshold is used by the terminal device to select a random access type based on the sum of the amounts of data to be transmitted of at least one logical channel of the terminal device, the second threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted of each logical channel of the at least one logical channel, and the third threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted of the logical channel that triggers the regular buffer status report BSR.

[0011] In a third aspect, a terminal device is provided, which is used to execute the method in the first aspect or its implementations. Specifically, the terminal device includes a functional module for executing the method in the first aspect or its implementations.

[0012] In a fourth aspect, a network device is provided, which is used to execute the method in the second aspect or its respective implementations. Specifically, the network device includes a functional module used to execute the method in the second aspect or its respective implementations.

[0013] In a fifth aspect, a terminal device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the first aspect or its implementation manners.

[0014] In a sixth aspect, a network device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the second aspect or its implementation manners.

[0015] In a seventh aspect, a chip is provided for implementing the method in any one of the first to second aspects or their respective implementations. Specifically, the chip includes: a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the method in any one of the first to second aspects or their respective implementations.

[0016] In an eighth aspect, a computer-readable storage medium is provided for storing a computer program, wherein the computer program enables a computer to execute the method of any one of the first to second aspects or any of their implementations.

[0017] In a ninth aspect, a computer program product is provided, comprising computer program instructions, wherein the computer program instructions enable a computer to execute the method in any one of the first to second aspects above or in each of their implementations.

[0018] In a tenth aspect, a computer program is provided, which, when executed on a computer, enables the computer to execute the method in any one of the first to second aspects or in each of their implementations.

[0019] In the embodiment of the present application, the random access type is selected based on the amount of data to be transmitted of the target logical channel, which can improve the random access performance of the terminal device. In particular, by considering the amount of data to be transmitted of the target logical channel, for uplink services with a small amount of data, the service delay can be reduced by two-step random access, and for services with a large amount of data, the random access success rate can be improved by four-step random access. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figures 1 to 3 It is a schematic block diagram of the system framework provided in the embodiment of the present application.

[0021] Figure 4 It is a schematic flowchart of the process of a terminal device requesting uplink scheduling provided in an embodiment of the present application.

[0022] Figures 5 to 8 It is a schematic flowchart of random access provided in an embodiment of the present application.

[0023] Figures 9 to 13 It is a schematic flowchart of the wireless communication method provided in an embodiment of the present application.

[0024] Fig.14 It is a schematic block diagram of a terminal device provided in an embodiment of the present application.

[0025] Fig.15 It is a schematic block diagram of a network device provided in an embodiment of the present application.

[0026] Fig.16 It is a schematic block diagram of a communication device provided in an embodiment of the present application.

[0027] Fig.17 It is a schematic block diagram of the chip provided in the embodiment of the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0029] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present application.

[0030] like Figure 1As shown, the communication system 100 may include a terminal device 110 and a network device 120. The network device 120 may communicate with the terminal device 110 via an air interface. The terminal device 110 and the network device 120 support multi-service transmission.

[0031] It should be understood that the embodiments of the present application are only exemplified by the communication system 100, but the embodiments of the present application are not limited thereto. That is to say, the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), 5G communication system (also known as New Radio (NR) communication system), or future communication systems.

[0032] exist Figure 1 In the communication system 100 shown, the network device 120 may be an access network device that communicates with the terminal device 110. The access network device may provide communication coverage for a specific geographical area, and may communicate with the terminal device 110 (eg, UE) located in the coverage area.

[0033] The network device 120 may be an evolved Node B (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a Next Generation Radio Access Network (NG RAN) device, or a base station (gNB) in an NR system, or a wireless controller in a Cloud Radio Access Network (CRAN), or the network device 120 may be a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, or a network device in a future evolved Public Land Mobile Network (PLMN), etc.

[0034] The terminal device 110 may be any terminal device, including but not limited to a terminal device connected to the network device 120 or other terminal devices by wire or wireless connection.

[0035] For example, the terminal device 110 may refer to an access terminal, a user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolution network, etc.

[0036] The terminal device 110 may be used for device-to-device (D2D) communication.

[0037] The wireless communication system 100 may also include a core network device 130 for communicating with the base station, and the core network device 130 may be a 5G core network (5G Core, 5GC) device, for example, an access and mobility management function (Access and Mobility Management Function, AMF), and for example, an authentication server function (Authentication Server Function, AUSF), and for example, a user plane function (User Plane Function, UPF), and for example, a session management function (Session Management Function, SMF). Optionally, the core network device 130 may also be an evolved packet core (Evolved Packet Core, EPC) device of the LTE network, for example, a session management function + a data gateway (Session Management Function + Core Packet Gateway, SMF + PGW-C) device of the core network. It should be understood that SMF + PGW-C can simultaneously implement the functions that SMF and PGW-C can implement. In the process of network evolution, the above-mentioned core network device may also be called other names, or a new network entity may be formed by dividing the functions of the core network, which is not limited to the embodiments of the present application.

[0038] The functional units in the communication system 100 may also establish connections through next generation (NG) network interfaces to achieve communication.

[0039] For example, the terminal device establishes an air interface connection with the access network device through the NR interface for transmitting user plane data and control plane signaling; the terminal device can establish a control plane signaling connection with the AMF through the NG interface 1 (N1 for short); the access network device, such as the next generation wireless access base station (gNB), can establish a user plane data connection with the UPF through the NG interface 3 (N3 for short); the access network device can establish a control plane signaling connection with the AMF through the NG interface 2 (N2 for short); the UPF can establish a control plane signaling connection with the SMF through the NG interface 4 (N4 for short); the UPF can exchange user plane data with the data network through the NG interface 6 (N6 for short); the AMF can establish a control plane signaling connection with the SMF through the NG interface 11 (N11 for short); the SMF can establish a control plane signaling connection with the PCF through the NG interface 7 (N7 for short).

[0040] Figure 1 A base station, a core network device and two terminal devices are shown exemplarily. Optionally, the wireless communication system 100 may include multiple base station devices and each base station may include another number of terminal devices within its coverage area, which is not limited in the embodiments of the present application.

[0041] Figure 2 A schematic diagram of the architecture of another communication system provided in an embodiment of the present application.

[0042] like Figure 2 As shown, it includes a terminal device 1101 and a satellite 1102, and wireless communication can be performed between the terminal device 1101 and the satellite 1102. The network formed between the terminal device 1101 and the satellite 1102 can also be called NTN. Figure 2 In the architecture of the communication system shown, the satellite 1102 may have the function of a base station, and the terminal device 1101 and the satellite 1102 may communicate directly. In the system architecture, the satellite 1102 may be referred to as a network device. In some embodiments of the present application, the communication system may include multiple network devices 1102, and each network device 1102 may include other number of terminal devices within its coverage area, which is not limited in the embodiments of the present application.

[0043] Figure 3 A schematic diagram of the architecture of another communication system provided in an embodiment of the present application.

[0044] like Figure 3 As shown, it includes terminal device 1201, satellite 1202 and base station 1203. Wireless communication can be performed between terminal device 1201 and satellite 1202, and satellite 1202 and base station 1203 can communicate with each other. The network formed by terminal device 1201, satellite 1202 and base station 1203 can also be called NTN. Figure 3In the architecture of the communication system shown in FIG. 1 , the satellite 1202 may not have the function of a base station, and the communication between the terminal device 1201 and the base station 1203 needs to be transferred through the satellite 1202. In this system architecture, the base station 1203 can be called a network device. In some embodiments of the present application, the communication system may include multiple network devices 1203, and each network device 1203 may include other number of terminal devices within its coverage area, which is not limited in the embodiments of the present application. The network device 1203 may be Figure 1 The network device 120 in.

[0045] It should be understood that the satellite 1102 or satellite 1202 includes but is not limited to:

[0046] Low-Earth Orbit (LEO) satellites, Medium-Earth Orbit (MEO) satellites, Geostationary Earth Orbit (GEO) satellites, High Elliptical Orbit (HEO) satellites, etc. Satellites can use multiple beams to cover the ground. For example, a satellite can form dozens or even hundreds of beams to cover the ground. In other words, a satellite beam can cover a ground area with a diameter of tens to hundreds of kilometers to ensure satellite coverage and improve the system capacity of the entire satellite communication system.

[0047] As an example, the altitude range of LEO can be 500km~1500km, the corresponding orbital period can be about 1.5 hours~2 hours, the signal propagation delay of single-hop communication between users can generally be less than 20ms, the maximum satellite visible time can be 20 minutes, the signal propagation distance of LEO is short and the link loss is small, and the transmission power requirement of user terminals is not high. The orbital altitude of GEO can be 35786km, the rotation period around the earth can be 24 hours, and the signal propagation delay of single-hop communication between users can generally be 250ms.

[0048] It should be noted that Figures 1 to 3It is only to illustrate the system to which the present application is applicable in the form of an example. Of course, the method shown in the embodiment of the present application can also be applied to other systems. In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. It should also be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B.

[0049] To facilitate understanding of the present application, the fifth generation mobile communication technology (5-Generation, 5G) new radio (New Radio, NR) buffer status report (Buffer Status Report, BSR) process is described below.

[0050] In NR, the UE informs the serving network device of the UE's uplink buffer data volume through BSR, so that the network device can schedule the UE according to the data volume information provided by the UE.

[0051] Optionally, in order to save BSR reporting overhead, a group reporting method is adopted. For example, the UE reports the BSR based on the LCG.

[0052] Optionally, each uplink logical channel corresponds to a logical channel group (Logical Channel Group, LCG), and multiple uplink logical channels can correspond to the same LCG.

[0053] Optionally, the correspondence between the logical channel and the LCG is configured by the network device through RRC signaling.

[0054] Optionally, each UE in NR can support up to 8 LCGs.

[0055] Optionally, the BSR is carried by a BSR media access control (MAC) control element (CE).

[0056] BSR triggering conditions include but are not limited to the following:

[0057] 1. Uplink data arrives on a logical channel with a higher priority of the UE. In this case, a regular BSR is triggered.

[0058] 2. The padding part of the uplink resources allocated to the UE after carrying other uplink data can carry the BSR MAC CE. In this case, a padding BSR will be issued.

[0059] 3. The retransmission BSR timer retxBSR-Timer times out, and there is currently at least one uplink logical channel with uplink data to be sent, then a regular BSR will be triggered.

[0060] 4. When the periodicBSR-Timer times out, a periodic BSR (Periodic BSR) is triggered.

[0061] If multiple logical channels trigger a regular BSR at the same time, each of these logical channels will trigger a separate regular BSR. BSR is carried by MAC CE. If the terminal device triggers a regular BSR, but the terminal device does not have uplink resources for transmitting new data or the uplink resources allocated to the terminal device for transmitting new data cannot carry the data of the uplink logical channel that triggers the regular BSR, the terminal device triggers SR. In other words, when the UE has uplink data arriving, but the UE does not have uplink resources for data transmission, the UE needs to send the data to the network device by requesting uplink scheduling.

[0062] Figure 4 It is a schematic flowchart of a method 200 for requesting uplink scheduling provided in an embodiment of the present application. The method 200 can be interactively executed by a terminal device and a network device. Figure 2 The terminal device shown in FIG. 1 may be a terminal device such as Figures 1 to 3 The terminal equipment shown in Figure 2 The network devices shown in can be Figures 1 to 3 The access network equipment shown in .

[0063] like Figure 4 As shown, the method 200 may include:

[0064] S210, User Equipment (UE) sends a Scheduling Request (SR) to request uplink resources from a network device.

[0065] S220, the network device receives the SR and determines that the UE needs uplink resources for transmitting uplink data, but the network device does not know how much uplink data the UE needs to send. Therefore, the network device can allocate enough physical uplink shared channel (PUSCH) resources to the UE for the UE to send a buffer status report (BSR).

[0066] S230, the UE sends a BSR on the PUSCH resources allocated by the network device to inform the network device of the amount of data that the UE needs to send.

[0067] S240: The network device allocates appropriate PUSCH resources for uplink data transmission to the UE according to the BSR reported by the UE.

[0068] S220, the UE transmits uplink data on the PUSCH resources allocated by the network device.

[0069] based on Figure 4 It can be seen that the terminal applies for uplink resources from the network through SR. The network does not know when the terminal needs to send uplink data, that is, it does not know when the terminal will send SR. Therefore, the network can allocate PUCCH resources for periodic SR transmission to the terminal, and then the network detects whether there is an SR report on the allocated SR resources.

[0070] It can be seen from the above SR triggering conditions that SR in NR is based on logical channels. For each uplink logical channel, the network can choose whether to configure PUCCH resources for transmitting SR for the uplink logical channel. When an uplink logical channel triggers SR, if the network configures PUCCH resources for transmitting SR for the uplink logical channel, the terminal sends SR on the PUCCH resources for transmitting SR corresponding to the logical channel; otherwise, the terminal initiates random access.

[0071] The network can configure multiple PUCCH resources for the terminal to transmit SR. For an uplink logical channel, if the network configures a PUCCH resource for the uplink logical channel to transmit SR, then on each uplink BWP, the network configures at most one PUCCH resource for the logical channel to transmit SR.

[0072] Optionally, each PUCCH resource used to transmit an SR corresponds to the following configuration parameters:

[0073] 1. PUCCH resource period and time slot / time symbol offset; and

[0074] 2. PUCCH resource index.

[0075] Random access is described below.

[0076] After the cell search process, the terminal device has achieved downlink synchronization with the cell, so the terminal device can receive downlink data. However, the terminal device can only perform uplink transmission if it achieves uplink synchronization with the cell. The terminal device can establish a connection with the cell and achieve uplink synchronization through the random access procedure (RAR). In other words, through random access, the terminal device can obtain uplink synchronization and obtain the unique identifier assigned to it by the network device, namely the Cell Radio Network Temporary Identity (C-RNTI). Therefore, random access can be used not only in initial access, but also in the case of user uplink synchronization loss.

[0077] Optionally, the random access process in the embodiment of the present application may generally be triggered by one of the following types of triggering events:

[0078] (1) Initial access

[0079] (2) Handover.

[0080] (3)RRC Connection Re-establishment

[0081] (4) In the RRC connected state, when downlink data arrives, the uplink is in an "out-of-sync" state.

[0082] At this time, after the downlink data arrives, the terminal device needs to reply with an Acknowledgement (ACK) or a Negative Acknowledgement (NACK).

[0083] (5) In the RRC connected state, when uplink data arrives, the uplink is in an "out-of-sync" state.

[0084] (6) In the RRC connected state, there is no available Physical Uplink Control Channel (PUCCH) resource for Scheduling Request (SR) transmission. At this time, the terminal device that is already in the uplink synchronization state can be allowed to use the Random Access Channel (RACH) to replace the role of SR.

[0085] (7) The terminal device transitions from the RRC inactive state (RRC_INACTIVE) to the active state (RRC_ACTIVE).

[0086] (8) The terminal device requests other system information (OSI).

[0087] (9) Terminal equipment beam failure recovery.

[0088] There are two main forms of random access process, one is contention-based random access process (contentionbased RACH), which includes 4 steps; the other is non-contention random access process (contention free RACH), which includes 2 steps.

[0089] For ease of understanding, the following will combine Figure 2 and Figure 3 Briefly introduce the random access process.

[0090] Figure 5 It is a flow interaction diagram of a contention-based random access process provided in an embodiment of the present application.

[0091] like Figure 5 As shown, the random access process may include the following four steps:

[0092] Step 1: The terminal device sends Msg 1 to the base station.

[0093] The terminal device sends Msg 1 to the base station to tell the network device that the terminal device has initiated a random access request. The Msg 1 carries a random access preamble (RAP), also known as a random access preamble sequence, preamble sequence, preamble code, etc. Specifically, the terminal device selects a preamble index and a PRACH resource for sending the preamble code; then the terminal device transmits the preamble code on the PRACH. Among them, the network device will notify all terminal devices by broadcasting the system information system information block (SIB) to inform which time-frequency resources are allowed to transmit the preamble code, for example, SIB2. If it is a non-competitive random access, the PRACH resources and preamble codes can be specified by the network device. Based on the preamble code, the network device can estimate the uplink timing (Timing) and the grant (grant) size required for the terminal to transmit Msg3.

[0094] Step 2: The network device sends Msg 2 to the terminal device.

[0095] After receiving Msg 1 sent by the terminal device, the network device sends Msg 2, i.e., a random access response (RAR) message, to the terminal device. The Msg 2 may carry, for example, a time advance (TA), an uplink authorization instruction such as the configuration of uplink resources, and a temporary cell-radio network temporary identity (TC-RNTI).

[0096] The terminal device monitors the Physical Downlink Control Channel (PDCCH) within the random access response time window (ra-ResponseWindow) to receive the RAR message replied by the network device. The RAR message can be scrambled using the corresponding Random Access Radio Network Temporary Identifier (RA-RNTI). The calculation of RA-RNTI is as follows:

[0097] RA-RNTI=1+s_id+14×t_id+14×80×f_id+14×80×8×ul_carrier_id

[0098] Among them, RA-RNTI is related to the PRACH time-frequency resources used by the terminal device to send Msg1.

[0099] Optionally, Msg 2 may include RAR messages for multiple terminal devices, and the RAR message for each terminal device may include the following information:

[0100] The RAR subheader contains a backoff indication (BI) which is used to indicate the backoff time for retransmitting Msg1;

[0101] Random access preamble identifier (RAP Identify, RAPID in RAR: the preamble index received in the network response;

[0102] The RAR payload contains a TAG, which is used to adjust the uplink timing;

[0103] UL grant: an uplink resource indication used to schedule Msg3; and

[0104] Temporary Cell Radio Network Temporary Identifier (TC-RNTI): used to scramble the PDCCH of Msg4 (initial access).

[0105] If the terminal device does not receive the RAR message replied by the network device within the RAR time window, it is considered that the random access process has failed. If the terminal receives the PDCCH encrypted with RA-RNTI, and the preamble index carried in the RAR is the same as the preamble index sent by the terminal device through Msg 1, it is considered that the RAR is successfully received, and the terminal device can stop monitoring within the RAR time window.

[0106] Step 3: The terminal device transmits Msg 3 on the resources scheduled by the network.

[0107] After receiving the RAR message, the terminal device determines whether the RAR message belongs to itself. For example, the terminal device can use the preamble code identifier to check. After determining that it is a RAR message belonging to itself, the terminal device generates Msg3 at the RRC layer and sends Msg 3 to the network device. It needs to carry the identification information of the terminal device.

[0108] Specifically, for different random access triggering events, Msg 3 may include different contents for scheduled transmission. For example, for the initial access scenario, Msg 3 may include information such as user equipment identification (UE ID) and establishment cause (establishment cause); specifically, it may include an RRC connection request (RRC Connection Request) generated by the RRC layer, which at least carries the non-access stratum (Non-AccessStratum, NAS) identification information of the terminal device, and may also carry, for example, the serving temporary mobile user identification (Serving-Temporary Mobile Subscriber Identity, S-TMSI) or a random number of the terminal device. For another example, for the connection reestablishment scenario, Msg 3 may include information such as the connected UE identification and establishment cause (establishment cause); specifically, it may include an RRC connection reestablishment request (RRC Connection Re-establishment Request) generated by the RRC layer and does not carry any NAS message, and may also carry, for example, a cell radio network temporary identification (Cell Radio Network Temporary Identifier, C-RNTI) and protocol control information (Protocol Control Information, PCI), etc. For another example, for a switching scenario, Msg 3 may include an RRC Handover Confirm message generated by the RRC layer and the C-RNTI of the terminal device, and may also carry, for example, a buffer status report (BSR); for other triggering events such as the arrival of uplink / downlink data, Msg 3 needs to include at least the C-RNTI of the terminal device.

[0109] Step 4: The network device sends Msg 4 to the terminal device.

[0110] Msg4 has two functions, one is for contention conflict resolution, and the second is for the network device to transmit the RRC configuration message to the terminal device. There are two ways to resolve contention conflicts: one is that if the terminal device carries C-RNTI in Msg3, Msg4 is scheduled with PDCCH scrambled with C-RNTI. The other is that if the terminal device does not carry C-RNTI in Msg3, such as initial access, Msg4 is scheduled with PDCCH scrambled with TC-RNTI, and the conflict is resolved by the UE receiving the PDSCH of Msg4 by matching the CCCH SDU in the PDSCH. Specifically, the network device sends Msg 4 to the terminal device, and the terminal device correctly receives Msg 4 to complete contention resolution. For example, during the RRC connection establishment process, Msg 4 can carry the RRC connection establishment message. Since the terminal device in step 3 carries its own unique identifier in Msg 3, such as C-RNTI or identification information from the core network (such as S-TMSI or a random number), the network device will carry the unique identifier of the terminal device in Msg 4 in the contention resolution mechanism to specify the terminal device that wins the contention. Other terminal devices that do not win the contention resolution will re-initiate random access.

[0111] Figure 6 is a flow diagram of a non-competitive random access process provided by an embodiment of the present application. It should be noted that the random access process may include Figure 5 The first two steps in Figure 5 For details of Msg 1 and Msg 2 in the non-contention random access process, please refer to the above description of Msg 1 and Msg 2 in the contention-based random access process, which will not be repeated here for brevity.

[0112] like Figure 6 As shown, the random access process may include the following three steps:

[0113] Step 0: The network device sends a random access preamble assignment (RA Preamble assignment) message to the terminal device.

[0114] Step 1: The terminal device sends Msg 1 to the network device.

[0115] The terminal device sends Msg 1 to the base station to inform the network device that the terminal device has initiated a random access request. The Msg 1 carries a random access preamble code.

[0116] Step 2: The network device sends Msg 2 to the terminal device.

[0117] After receiving Msg 1 sent by the terminal device, the network device sends Msg 2, i.e., a RAR message, to the terminal device. The Msg 2 may carry, for example, TA information, uplink authorization instructions such as uplink resource configuration, and TC-RNTI information. If the terminal device does not receive a RAR message replied by the network device within the RAR time window, it is considered that the random access process has failed. If the terminal device successfully receives a RAR message, and the preamble code index carried in the RAR message is the same as the preamble code index sent by the terminal device through Msg 1, it is considered that the RAR is successfully received, and the terminal device can stop monitoring the RAR message at this time.

[0118] In addition, NR Rel-16 introduces a two-step random access process to reduce latency and signaling overhead.

[0119] Figure 7 It is a schematic flow interaction diagram of two-step random access provided in an embodiment of the present application.

[0120] like Figure 7 As shown, two-step random access may include:

[0121] S310, the terminal device sends msgA to the network device, and msgA may include msg1 and msg3 of the 4-step RACH.

[0122] S320, the terminal device receives msgB sent by the network device, and msgB may include msg2 and msg4 of the 4-step RACH.

[0123] In other words, the first and third steps in the 4-step RACH process are combined into the first step in the 2-step RACH process (message A), and the second and fourth steps in the 4-step RACH process are combined into the second step in the 2-step RACH process (message B). Therefore, in the first step of the 2-step RACH process, the terminal device needs to send a preamble and PUSCH. For example, for msgA, it may include a preamble and an uplink data part (such as carried by PUSCH), where the uplink data part carries the identification information of the terminal device and / or the reason for the RRC request (that is, equivalent to the content of the existing MSG3); and msgB may include conflict resolution information and TA information, C-RNTI allocation information, etc., that is, it contains information equivalent to the merger of the existing MSG2 and MSG4 information parts.

[0124] In the 2-step RACH process, when the terminal has a random access requirement, the terminal sends MsgA on the MsgA resources corresponding to the 2-step RACH process that appears periodically in the network configuration, namely, RACH Occasion and PUSCH Occasion. Then, the terminal listens to the RAR message (msgB) sent by the network in the RAR response window.

[0125] In short, MsgA in the two-step random access contains the preamble (Preamble) transmitted on PRACH and the load information transmitted on PUSCH. After MsgA is transmitted, the terminal device listens to the response from the network side within the configured window. If an indication of successful contention conflict resolution is received from the network, the terminal ends the random access process.

[0126] It should be noted that the msgB RAR response message in the 2-step RACH process can also carry multiple msgA response messages sent to multiple terminal devices. For example, it can be divided into the following types of messages: Success RAR: If the network device successfully receives the preamble and PUSCH information in msgA, the terminal feedbacks the success RAR, which can carry TA command, C-RNTI, conflict resolution ID, etc.; Fallback RAR: If the network device successfully detects the preamble part in the terminal msgA, but fails to receive the PUSCH part correctly, the network can send a fallback RAR to the terminal, so that the terminal can fall back to the traditional 4-step RACH process. After the terminal receives the fallback RAR, the terminal sends msg3 to the network.

[0127] Figure 8 is a schematic flow diagram of the fallback from two-step random access to four-step random access provided by the embodiment of the present application. Figure 8 As shown, if a fallback indication is received in MsgB, the terminal executes the transmission of Msg3 and monitors the contention conflict resolution result (ie, Msg4). If the contention conflict resolution is unsuccessful, the terminal continues the transmission of MsgA.

[0128] It should be noted that the msgB RAR response message can also carry other information, such as a backoff indicator (BI), which is used to indicate how to adjust the time parameters for retransmitting msgA when the terminal does not receive the RAR response message. When a terminal device needs to initiate competitive random access on a licensed band, since multiple terminal devices may be configured with a common PRACH resource, different terminal devices may compete for resources on the same PRACH resource. When a resource conflict occurs, for example, multiple terminal devices select the same PRACH occasion. In this case, the network device can carry a backoff indicator (BI) in the RAR message of Msg 2. The terminal device that has a resource conflict can generate a random number based on the backoff indicator, so that when the next PRACH resource arrives, it can be delayed according to the random number, thereby delaying the sending of Msg A by the corresponding time, thereby alleviating the probability of resource conflict to a certain extent.

[0129] In the New Radio (NR), the signal transmission delay between the terminal device and the network device is very small. The waiting time from when the terminal device has uplink data to when the terminal device sends this data to the network device is generally short, which has little impact on the service delay. Compared with the cellular network used by the traditional NR, the signal propagation delay between the terminal device and the satellite in the non-terrestrial communication network (NTN) is greatly increased. Therefore, when the terminal device has uplink data arriving, but the terminal device has no uplink resources for data transmission, it needs to wait for a relatively long time to send this data to the network, which leads to a significant increase in service delay and affects the user experience.

[0130] In a specific scenario, when a terminal device triggers a regular BSR, if the terminal device has no uplink resources available for initial transmission or the uplink resources cannot be used to transmit the data of the uplink logical channel that triggers the regular BSR, the terminal device will trigger an SR. If the network does not configure the terminal device with PUCCH resources for transmitting SR or the number of times the terminal device sends SR reaches the maximum number of SR transmissions configured by the network, the terminal device will trigger RACH. Since the RACH resources used for contention-based random access (CBRA) are broadcast by the system and shared by all terminal devices in the cell, for the RACH triggered by the above situation, if two-step RACH is used directly, the probability of RACH conflicts between terminal devices may increase, and at the same time, the capacity of the two-step RACH may be limited. Therefore, it is necessary to study relevant mechanisms to further limit the use of two-step RACH.

[0131] The embodiments of the present application provide a wireless communication method and device, which can improve the random access performance of a terminal device. In particular, by considering the amount of data to be transmitted on the target logical channel, for uplink services with a small amount of data, the service delay can be reduced through two-step random access, and for services with a large amount of data, the random access success rate can be improved through four-step random access.

[0132] Fig. 9 FIG. 3 is a schematic flow chart of a wireless communication method 300 according to an embodiment of the present application, and the method 300 may be executed by a terminal device. Figure 1 The terminal device shown.

[0133] like Fig. 9 As shown, the method 300 may include:

[0134] S310, when a scheduling request SR triggered by a conventional buffer status report (Buffer Status Report, BSR) triggers random access, for contention-based random access, the terminal device selects a random access type based on the amount of data to be transmitted on the target logical channel.

[0135] In the embodiment of the present application, the random access type is selected based on the amount of data to be transmitted of the target logical channel, and the use of two-step RACH can be further restricted according to the service requirements of the terminal, thereby improving the random access performance of the terminal device. In particular, by considering the amount of data to be transmitted of the target logical channel, for uplink services with a small amount of data, the service delay can be reduced by two-step random access, and for services with a large amount of data, the random access success rate can be improved by four-step random access.

[0136] In some embodiments of the present application, the target logical channel includes at least one logical channel of the terminal device, and the terminal device selects a random access type based on the amount of data to be transmitted of the at least one logical channel.

[0137] Optionally, the at least one logical channel may be all logical channels of the terminal device. Of course, the at least one logical channel may also be part of the logical channels of the terminal device, which is not specifically limited in the embodiment of the present application.

[0138] Optionally, the terminal device selects a random access type based on the sum of the amounts of data to be transmitted of the at least one logical channel. Optionally, when the sum of the amounts of data to be transmitted of the at least one logical channel is less than a first threshold, two-step random access is selected; otherwise, four-step random access is selected. Optionally, when the sum of the amounts of data to be transmitted of the at least one logical channel is less than a first threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected. Optionally, the first threshold is configured via system message or radio resource control RRC signaling.

[0139] It should be noted that when the terminal device selects the random access type, it can refer to the measurement result of the synchronization signal block (Synchronization Signal Block, SSB) or the channel state information reference signal (CSI-RS). For example, whether the reference signal receiving power (Reference Signal Receiving Power, RSRP) meets the corresponding threshold. If the terminal device selects two-step random access, the measurement result needs to meet the threshold. In addition, the two-step random access and four-step random access involved in the embodiments of the present application are contention based random access (CBRA). For example, two-step random access can be Figure 7 or Figure 8 The random access shown in the figure, the four-step random access can be Figure 5 The random access shown, of course, the drawings provided in the embodiments of the present application are only examples and should not be understood as limiting the present application.

[0140] Optionally, the terminal device selects a random access type based on the amount of data to be transmitted of each logical channel in the at least one logical channel. Optionally, when the at least one logical channel includes a logical channel whose amount of data to be transmitted is less than the second threshold, two-step random access is selected; otherwise, four-step random access is selected. Optionally, when the amount of data to be transmitted of each logical channel in the at least one logical channel is less than the logical channel of the second threshold, two-step random access is selected; otherwise, four-step random access is selected. Optionally, when the at least one logical channel includes a logical channel whose amount of data to be transmitted is less than the second threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected. Optionally, when the amount of data to be transmitted of each logical channel in the at least one logical channel is less than the logical channel of the second threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected. Optionally, the second threshold is configured through system messages or radio resource control RRC signaling. Optionally, the second threshold is a threshold configured for the terminal, that is, at least one logical channel of the terminal uses the same second threshold value, or the second threshold is a threshold configured for the logical channel, that is, a different second threshold value can be configured for each logical channel of at least one logical channel of the terminal.

[0141] Of course, in other embodiments of the present application, the terminal device is configured with multiple logical channels, and when the amount of data to be transmitted of each logical channel in some of the multiple logical channels is less than the logical channel of the second threshold, two-step random access is selected; otherwise, four-step random access is selected. Alternatively, when the amount of data to be transmitted of each logical channel in some of the multiple logical channels is less than the logical channel of the second threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected. Optionally, the part of the logical channels may be one logical channel or more than one logical channel. The embodiments of the present application do not specifically limit this.

[0142] In some embodiments of the present application, the target logical channel is the logical channel that triggers the conventional BSR, and the terminal device selects the random access type based on the amount of data to be transmitted of the logical channel that triggers the conventional BSR.

[0143] Optionally, when the amount of data to be transmitted of the logical channel that triggers the conventional BSR is less than the third threshold, two-step random access is selected; otherwise, four-step random access is selected. Optionally, when the amount of data to be transmitted of the logical channel that triggers the conventional BSR is less than the third threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected. Optionally, the third threshold is configured through a system message or radio resource control RRC signaling. Optionally, the third threshold is a threshold configured for the terminal, that is, at least one logical channel of the terminal uses the same second threshold value, or the third threshold is a threshold configured for the logical channel, that is, a different second threshold value can be configured for each logical channel of at least one logical channel of the terminal.

[0144] In some embodiments of the present application, the method 300 may further include:

[0145] The terminal device receives configuration information sent by the network device, where the configuration information includes at least one of the following:

[0146] Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access;

[0147] Two-step RACH resource configuration: resource configuration for message A indicating contention-based two-step random access; or

[0148] Reference signal received power RSRP threshold used for RACH type selection.

[0149] A first threshold, and / or a second threshold, and / or a third threshold for RACH type selection.

[0150] In some embodiments of the present application, the resource configuration of the message A of the contention-based two-step random access includes the RACH resource configuration of the message A and the physical uplink shared channel PUSCH resource configuration of the message A.

[0151] In some embodiments of the present application, the method 300 may further include:

[0152] When the terminal device does not have physical uplink control channel PUCCH resources for transmitting the SR and / or the number of times the terminal device sends the SR reaches the maximum number of times, the terminal device triggers contention-based random access. Optionally, when the network device does not configure resources for message A based on non-contention-based two-step random access and RACH resources based on non-contention-based four-step random access for the terminal device, the terminal device triggers contention-based random access through the SR.

[0153] It should be noted that, in other embodiments of the present application, the first threshold, the second threshold or the third threshold may also be preset, and the "preset" may be implemented by pre-saving the corresponding code, table or other methods that can be used to indicate relevant information in a device (for example, including a terminal device and a network device), and the present application does not limit its specific implementation method. For example, the preset may refer to a definition in a protocol. Optionally, the "protocol" may refer to a standard protocol in the field of communications, such as an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not specifically limit this.

[0154] The solution of the present application is described below with reference to the accompanying drawings and specific embodiments.

[0155] Embodiment 1:

[0156] In this embodiment, for the case where the conventional BSR triggers the SR and then triggers the RACH, the terminal device selects the random access type based on the sum of the amount of data to be transmitted on each of its UL logical channels. If the sum of the amount of data to be transmitted on each of the current logical channels of the terminal device is less than the first threshold configured by the network, the terminal device chooses to use two-step random access; or, the terminal device further compares the RSRP measurement results and uses two-step random access when the RSRP measurement value is greater than the RSRP threshold configured by the network at the same time; otherwise, the terminal device chooses to use four-step random access.

[0157] Fig.10 It is a schematic flowchart of the wireless communication method 410 provided in an embodiment of the present application.

[0158] like Fig.10 As shown, the method 410 may include some or all of the following:

[0159] S411, the network device configures three UL LCHs for the terminal device, and the logical channel priority relationship is LCH1>LCH2>LCH3.

[0160] The terminal device receives the network configuration information and configures the RACH related parameters. Specifically, it includes:

[0161] a) Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access.

[0162] b) Two-step RACH resource configuration: used to indicate the resource configuration of message A for contention-based two-step random access, wherein the resource configuration of message A for contention-based two-step random access includes the RACH resource configuration of message A and the physical uplink shared channel PUSCH resource configuration of message A.

[0163] c) Reference signal received power RSRP threshold for RACH type selection.

[0164] d) A first threshold for RACH type selection, wherein the first threshold is used by the terminal device to select a random access type based on the sum of the amount of data to be transmitted on each logical channel of the terminal device, and the first threshold is configured through a system message or a radio resource control (RRC) signaling.

[0165] S412, new data arrives on LCH1, triggering a regular BSR.

[0166] S413: The terminal device triggers SR when there are no uplink resources for initial transmission.

[0167] S414: When there are no PUCCH resources available for SR transmission, the terminal device triggers RACH.

[0168] In short, if a certain logical channel of the terminal device triggers a regular BSR, then triggers an SR. When the terminal device has no PUCCH resources for transmitting SR or the number of times the terminal device sends SR reaches the maximum number of times SR is sent, that is, SR_COUNTER =

[0169] sr-TransMax, then RACH is triggered.

[0170] S415, the network device is not configured with non-contention-based random access (Contention free Random Access, CFRA) resources && (BO1+BO2+BO3)<BO_th1&&measured RSRP> RSRP_th? BO1, BO2, BO3 represent the amount of data to be transmitted of LCH1, LCH2, LCH3 respectively, BO_th1 represents the first threshold, measured RSRP represents the measured value of the RSRP, RSRP_th represents the above RSRP threshold, and && represents the relationship of and.

[0171] If the network device configures the msgA resource for non-competitive two-step random access for the terminal device, the terminal device initiates non-competitive two-step random access; if the network device configures the RACH resource for non-competitive four-step random access for the terminal device, the terminal device initiates non-competitive four-step random access; if the network neither configures the msgA resource for non-competitive two-step random access for the terminal device nor configures the RACH resource for non-competitive four-step random access for the terminal device, the terminal device uses contention-based random access. For example, the terminal device selects the random access type according to the following method:

[0172] Method 1:

[0173] The terminal device selects the random access type based on the sum of the data volumes to be transmitted on its respective UL logical channels: If the sum of the data volumes to be transmitted on the current logical channels of the terminal device is less than the first threshold, that is, the network device does not configure the CFRA resource && (BO1 + BO2 + BO3) < BO_th1, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0174] Method 2:

[0175] The terminal device selects the random access type based on the sum of the data volumes to be transmitted on its respective UL logical channels and in combination with the RSRP measurement. If the sum of the data volumes to be transmitted on the current logical channels of the terminal device is less than the first threshold, and at the same time the RSRP measured by the terminal device is higher than the RSRP threshold, that is, the network device does not configure the CFRA resource && (BO1 + BO2 + BO3) < BO_th1 && measured RSRP > RSRP_th, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0176] S416, the terminal device selects to use two-step random access.

[0177] S417, the terminal device selects to use four-step random access.

[0178] If the terminal device selects to use contention-based two-step random access, the terminal device selects an RACH resource for msgA and a PUSCH resource for msgA from the msgA resource pool for two-step random access configured by the network, and sends msgA on the selected resources. If the terminal device selects to use contention-based four-step random access, the terminal device selects an RACH resource from the RACH resource pool for four-step random access configured by the network, and sends msg1 on the selected resource.

[0179] Embodiment 2:

[0180] In this embodiment, for the case where the conventional BSR triggers the SR, which in turn triggers the RACH, the terminal device selects the random access type based on the amount of data to be transmitted on each UL logical channel. If the current amount of data to be transmitted on at least one UL logical channel of the terminal device is less than the second threshold configured by the network, the terminal device chooses to use two-step random access; or, the terminal device further compares the RSRP measurement results and uses two-step random access when the RSRP measurement value is greater than the RSRP threshold configured by the network at the same time; otherwise, the terminal device chooses to use four-step random access.

[0181] Fig.11 It is a schematic flowchart of the wireless communication method 420 provided in an embodiment of the present application.

[0182] like Fig.11 As shown, the method 420 may include some or all of the following:

[0183] S421, the network device configures three UL LCHs for the terminal device, and the logical channel priority relationship is LCH1>LCH2>LCH3.

[0184] The terminal device receives the network configuration information and configures the RACH related parameters. Specifically, it includes:

[0185] a) Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access.

[0186] b) Two-step RACH resource configuration: used to indicate the resource configuration of message A for contention-based two-step random access, wherein the resource configuration of message A for contention-based two-step random access includes the RACH resource configuration of message A and the physical uplink shared channel PUSCH resource configuration of message A.

[0187] c) Reference signal received power RSRP threshold for RACH type selection;

[0188] d) A second threshold for RACH type selection, wherein the second threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted on each logical channel of the terminal device. Specifically: the second threshold can be configured through a system message or RRC dedicated signaling; the second threshold is configured on a per-terminal device basis, that is, all uplink logical channels of the terminal device use the same second threshold, or it can be configured on a per-UL logical channel basis, that is, different second thresholds can be configured for each uplink logical channel of the terminal device.

[0189] S422, new data arrives on LCH1, triggering a regular BSR.

[0190] S423, when the terminal device has no uplink resources for initial transmission, it triggers an SR.

[0191] S424, when the terminal device has no PUCCH resources available for SR transmission, it triggers a RACH.

[0192] In short, if a certain logical channel of the terminal device triggers a regular BSR, and then triggers an SR. When the terminal device has no PUCCH resources for transmitting the SR or the number of times the terminal device sends the SR reaches the maximum number of SR transmissions, i.e., SR_COUNTER =

[0193] sr-TransMax, it triggers a RACH.

[0194] S425, the network device does not configure CFRA resources && (BO1 < BO_th2 || BO2 < BO_th2 || BO3 < BO_th2) &&

[0195] measured RSRP > RSRP_th? Where BO1, BO2, and BO3 respectively represent the data volume to be transmitted of LCH1, LCH2, and LCH3, BO_th2 represents the second threshold, measured RSRP represents the measured value of the RSRP, and RSRP_th represents the above RSRP threshold. || represents the relationship of OR, and && represents the relationship of AND.

[0196] If the network device configures msgA resources for non-competitive two-step random access for this terminal device, the terminal device initiates non-competitive two-step random access; if the network device configures RACH resources for non-competitive four-step random access for this terminal device, the terminal device initiates non-competitive four-step random access; if the network neither configures msgA resources for non-competitive two-step random access for this terminal device nor configures RACH resources for non-competitive four-step random access for this terminal device, the terminal device uses competitive random access. The terminal device selects the random access type according to the following method:

[0197] Method 1:

[0198] The terminal device selects the random access type based on the data volume to be transmitted of each UL logical channel: If there is at least one UL logical channel of this terminal device whose current data volume to be transmitted is less than the second threshold corresponding to the UL logical channel, that is, the network device does not configure CFRA resources && (BO1 < BO_th2 || BO2 < BO_th2 || BO3 < BO_th2), the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0199] Method 2:

[0200] The terminal device selects a random access type based on the data volume to be transmitted on each UL logical channel and combines the RSRP measurement. If there is at least one UL logical channel of the terminal device with the current data volume to be transmitted less than the second threshold corresponding to the UL logical channel, and at the same time the RSRP measured by the terminal device is higher than the RSRP threshold, that is, the network device does not configure CFRA resources && (BO1 < BO_th2 || BO2 < BO_th2 || BO3 < BO_th2) && measured RSRP > RSRP_th, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0201] Method 3:

[0202] The terminal device selects a random access type based on the data volume to be transmitted on each UL logical channel: If the current data volume to be transmitted on each UL logical channel of the terminal device is less than the second threshold corresponding to the UL logical channel, that is, the network device does not configure CFRA resources && BO1 < BO_th2 && BO2 < BO_th2 && BO3 < BO_th2, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0203] Method 4:

[0204] The terminal device selects a random access type based on the data volume to be transmitted on each UL logical channel and combines the RSRP measurement. If the current data volume to be transmitted on each UL logical channel of the terminal device is less than the second threshold corresponding to the UL logical channel, and at the same time the RSRP measured by the terminal device is higher than the RSRP threshold, that is, the network device does not configure CFRA resources && BO1 < BO_th2 && BO2 < BO_th2 && BO3 < BO_th2 && measured RSRP > RSRP_th, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0205] S426, the terminal device selects to use two-step random access.

[0206] S427, the terminal device selects to use four-step random access.

[0207] If the terminal device chooses to use contention-based two-step random access, the terminal device selects a RACH resource of msgA and a PUSCH resource of msgA from the msgA resource pool of two-step random access configured by the network, and sends msgA on the selected resources. If the terminal device chooses to use contention-based four-step random access, the terminal device selects a RACH resource from the RACH resource pool of four-step random access configured by the network, and sends msg1 on the selected resources.

[0208] Embodiment three:

[0209] In this embodiment, for the case where the conventional BSR triggers the SR and then triggers the RACH, the terminal device selects the random access type based on the amount of data to be transmitted of the UL logical channel that triggers the conventional BSR. If the current amount of data to be transmitted of the UL logical channel of the terminal device is less than the third threshold configured by the network, the terminal device chooses to use two-step random access; or, the terminal device further compares the RSRP measurement results and uses two-step random access when the RSRP measurement value is greater than the RSRP threshold configured by the network at the same time; otherwise, the terminal device chooses to use four-step random access.

[0210] Fig.12 It is a schematic flowchart of the wireless communication method 430 provided in an embodiment of the present application.

[0211] like Fig.12 As shown, the method 430 may include some or all of the following:

[0212] S431, the network device configures three UL LCHs for the terminal device, and the logical channel priority relationship is LCH1>LCH2>LCH3.

[0213] The terminal device receives the network configuration information and configures the RACH related parameters. Specifically, it includes:

[0214] a) Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access.

[0215] b) Two-step RACH resource configuration: used to indicate the resource configuration of message A for contention-based two-step random access, wherein the resource configuration of message A for contention-based two-step random access includes the RACH resource configuration of message A and the physical uplink shared channel PUSCH resource configuration of message A.

[0216] c) Reference signal received power RSRP threshold for RACH type selection;

[0217] d) A third threshold for RACH type selection, the third threshold being used by the terminal device to select a random access type based on the amount of data to be transmitted of the logical channel that triggers the conventional BSR. Specifically: the third threshold can be configured through a system message or RRC dedicated signaling; the third threshold is configured on a per-terminal device basis, that is, all uplink logical channels of the terminal device use the same third threshold, or it can be configured on a per-UL logical channel basis, that is, different third thresholds can be configured for each uplink logical channel of the terminal device.

[0218] S432, new data arrives on LCH1, triggering a regular BSR.

[0219] S433: The terminal device triggers SR when there are no uplink resources for initial transmission.

[0220] S434: When there are no PUCCH resources available for SR transmission, the terminal device triggers RACH.

[0221] In short, if a certain logical channel of the terminal device triggers a regular BSR, then triggers an SR. When the terminal device has no PUCCH resources for transmitting SR or the number of times the terminal device sends SR reaches the maximum number of times SR is sent, that is, SR_COUNTER =

[0222] sr-TransMax, then RACH is triggered.

[0223] S435, the network device is not configured with CFRA resources &&BO1<BO_th3&&measured RSRP> RSRP_th? BO1 represents the amount of data to be transmitted on LCH1, BO_th3 represents the third threshold, measured RSRP represents the measured value of RSRP, RSRP_th represents the above RSRP threshold, and && represents the relationship of and.

[0224] If the network device configures the msgA resource based on non-contention two-step random access for the terminal device, the terminal device initiates non-contention two-step random access; if the network device configures the RACH resource based on non-contention four-step random access for the terminal device, the terminal device initiates non-contention four-step random access; if the network does not configure the msgA resource based on non-contention two-step random access for the terminal device, nor does it configure the RACH resource based on non-contention four-step random access for the terminal device, the terminal device uses contention-based random access. The terminal device selects the random access type according to the following method:

[0225] Method 1:

[0226] The terminal device selects a random access type based on the amount of data to be transmitted on the logical channel that triggers the regular BSR. If the amount of data to be transmitted on the logical channel that triggers the regular BSR is less than the third threshold, i.e., the network device does not configure CFRA resources && BO1 < BO_th3, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0227] Method 2:

[0228] The terminal device selects a random access type based on the amount of data to be transmitted on the logical channel that triggers the regular BSR and combines it with the RSRP measurement. If the amount of data to be transmitted on the logical channel that triggers the regular BSR of the terminal device is less than the third threshold, and at the same time the RSRP measured by the terminal device is higher than the RSRP threshold, i.e., the network device does not configure CFRA resources && BO1 < BO_th3 && measured RSRP > RSRP_th, the terminal device selects to use two-step random access; otherwise, the terminal device selects to use four-step random access.

[0229] S436, the terminal device selects to use two-step random access.

[0230] S437, the terminal device selects to use four-step random access.

[0231] If the terminal device selects to use contention-based two-step random access, the terminal device selects a RACH resource for msgA and a PUSCH resource for msgA from the msgA resource pool configured by the network for two-step random access, and sends msgA on the selected resources. If the terminal device selects to use contention-based four-step random access, the terminal device selects a RACH resource from the RACH resource pool configured by the network for four-step random access, and sends msg1 on the selected resources.

[0232] The preferred embodiments of the present application have been described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the scope of the technical concept of the present application, various simple modifications can be made to the technical solutions of the present application, and these simple modifications all fall within the protection scope of the present application. For example, in the various specific technical features described in the above specific embodiments, they can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the present application does not separately describe various possible combination methods. Again, any combination can be made between various different embodiments of the present application, as long as it does not violate the idea of the present application, it should also be regarded as the content disclosed by the present application.

[0233] It should also be understood that in various method embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in the embodiment of the present application, the terms "downlink" and "uplink" are used to indicate the transmission direction of the signal or data, wherein "downlink" is used to indicate that the transmission direction of the signal or data is a first direction sent from the site to the user equipment of the cell, and "uplink" is used to indicate that the transmission direction of the signal or data is a second direction sent from the user equipment of the cell to the site, for example, "downlink signal" indicates that the transmission direction of the signal is the first direction. In addition, in the embodiment of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there can be three relationships. Specifically, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0234] The above describes in detail the method according to the embodiment of the present application from the perspective of the terminal device. Fig.13 , describes the method according to an embodiment of the present application from the perspective of a network device.

[0235] Fig.13 Schematic flow chart of method 500 according to an embodiment of the present application is shown. The method 500 may be executed by a network device, such as Figure 1 The network devices shown.

[0236] like Fig.13 As shown, the method 500 may include:

[0237] S510: The network device sends configuration information to the terminal device, where the configuration information includes at least one of the following:

[0238] The first threshold, the second threshold or the third threshold, the first threshold is used by the terminal device to select a random access type based on the sum of the amounts of data to be transmitted of at least one logical channel of the terminal device, the second threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted of each logical channel of the at least one logical channel, and the third threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted of the logical channel that triggers the regular buffer status report BSR.

[0239] In some embodiments of the present application, the second threshold is a threshold configured for a terminal, or the second threshold is a threshold configured for a logical channel.

[0240] In some embodiments of the present application, the third threshold is a threshold configured for a terminal, or the third threshold is a threshold configured for a logical channel.

[0241] In some embodiments of the present application, the configuration information includes at least one of the following:

[0242] Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access;

[0243] Two-step RACH resource configuration: resource configuration for message A indicating contention-based two-step random access; or

[0244] Reference signal received power RSRP threshold for RACH type selection In some embodiments of the present application, the resource configuration of message A of the contention-based two-step random access includes the RACH resource configuration of message A and the physical uplink shared channel PUSCH resource configuration of message A.

[0245] It should be understood that the steps in method 500 may refer to the corresponding steps in methods 300 and 400, and for the sake of brevity, they are not repeated here.

[0246] Combined with the following Figures 14 to 17 , describe in detail the device embodiments of the present application.

[0247] Fig.14 It is a schematic block diagram of a terminal device 600 according to an embodiment of the present application.

[0248] like Fig.14 As shown, the terminal device 600 may include:

[0249] The processing unit 610 is configured to select a random access type based on the amount of data to be transmitted of a target logical channel for contention-based random access when a scheduling request SR triggered by a conventional buffer status report BSR triggers random access.

[0250] In some embodiments of the present application, the target logical channel includes at least one logical channel of the terminal device, and the processing unit 610 is specifically configured to:

[0251] The random access type is selected based on the amount of data to be transmitted of the at least one logical channel.

[0252] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0253] The random access type is selected based on the sum of the amount of data to be transmitted of the at least one logical channel.

[0254] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0255] When the sum of the amount of data to be transmitted of the at least one logical channel is less than the first threshold, two-step random access is selected; otherwise, four-step random access is selected.

[0256] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0257] When the sum of the amount of data to be transmitted of at least one logical channel is less than the first threshold and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected.

[0258] In some embodiments of the present application, the first threshold is configured via a system message or radio resource control RRC signaling.

[0259] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0260] The random access type is selected based on the amount of data to be transmitted of each of the at least one logical channel.

[0261] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0262] In a case where the at least one logical channel includes a logical channel whose amount of data to be transmitted is less than a second threshold, two-step random access is selected; otherwise, four-step random access is selected.

[0263] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0264] In the case that the amount of data to be transmitted of each of the at least one logical channel is less than the logical channel of the second threshold, two-step random access is selected; otherwise, four-step random access is selected.

[0265] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0266] When the at least one logical channel includes a logical channel whose amount of data to be transmitted is less than a second threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected.

[0267] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0268] When the amount of data to be transmitted of each of the at least one logical channel is less than the logical channel of the second threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected.

[0269] In some embodiments of the present application, the second threshold is configured via a system message or a radio resource control RRC signaling.

[0270] In some embodiments of the present application, the second threshold is a threshold configured for a terminal, or the second threshold is a threshold configured for a logical channel.

[0271] In some embodiments of the present application, the target logical channel is a logical channel that triggers the conventional BSR, and the processing unit 610 is specifically configured to:

[0272] The random access type is selected based on the amount of data to be transmitted of the logical channel that triggers the conventional BSR.

[0273] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0274] When the amount of data to be transmitted of the logical channel triggering the conventional BSR is less than a third threshold, two-step random access is selected; otherwise, four-step random access is selected.

[0275] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0276] When the amount of data to be transmitted of the logical channel that triggers the conventional BSR is less than the third threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, two-step random access is selected; otherwise, four-step random access is selected.

[0277] In some embodiments of the present application, the third threshold is configured via a system message or radio resource control RRC signaling.

[0278] In some embodiments of the present application, the third threshold is a threshold configured for a terminal, or the third threshold is a threshold configured for a logical channel.

[0279] In some embodiments of the present application, the processing unit 610 is further configured to:

[0280] Receive configuration information sent by a network device, where the configuration information includes at least one of the following:

[0281] Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access;

[0282] Two-step RACH resource configuration: resource configuration for message A indicating contention-based two-step random access; or

[0283] Reference signal received power RSRP threshold used for RACH type selection.

[0284] In some embodiments of the present application, the resource configuration of the message A of the contention-based two-step random access includes the RACH resource configuration of the message A and the physical uplink shared channel PUSCH resource configuration of the message A.

[0285] In some embodiments of the present application, the processing unit 610 is further configured to:

[0286] When the terminal device has no physical uplink control channel PUCCH resources for transmitting the SR and / or the number of times the terminal device sends the SR reaches a maximum number of times, contention-based random access is triggered.

[0287] In some embodiments of the present application, the processing unit 610 is specifically used to:

[0288] In the case that the network device does not configure the resource of message A based on non-contention two-step random access and the RACH resource based on non-contention four-step random access for the terminal device, the terminal device triggers contention-based random access through the SR.

[0289] Fig.15 It is a schematic block diagram of a network device 700 according to an embodiment of the present application.

[0290] like Fig.15 As shown, the network device 700 may include:

[0291] The communication unit 710 is configured to send configuration information to the terminal device, where the configuration information includes at least one of the following:

[0292] The first threshold, the second threshold or the third threshold, the first threshold is used by the terminal device to select a random access type based on the sum of the amounts of data to be transmitted of at least one logical channel of the terminal device, the second threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted of each logical channel of the at least one logical channel, and the third threshold is used by the terminal device to select a random access type based on the amount of data to be transmitted of the logical channel that triggers the regular buffer status report BSR.

[0293] In some embodiments of the present application, the second threshold is a threshold configured for a terminal, or the second threshold is a threshold configured for a logical channel.

[0294] In some embodiments of the present application, the third threshold is a threshold configured for a terminal, or the third threshold is a threshold configured for a logical channel.

[0295] In some embodiments of the present application, the configuration information includes at least one of the following:

[0296] Four-step random access channel RACH resource configuration, used to indicate the RACH resource configuration of contention-based four-step random access;

[0297] Two-step RACH resource configuration: resource configuration for message A indicating contention-based two-step random access; or

[0298] Reference signal received power RSRP threshold used for RACH type selection.

[0299] In some embodiments of the present application, the resource configuration of the message A of the contention-based two-step random access includes the RACH resource configuration of the message A and the physical uplink shared channel PUSCH resource configuration of the message A.

[0300] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. Specifically, Fig.14 The terminal device 600 shown may correspond to the corresponding subjects in the methods 300, 410, 420 and 430 of the embodiments of the present application, and the aforementioned and other operations and / or functions of the various units in the terminal device 600 are respectively for implementing the corresponding processes in the methods. Similarly, Fig.15 The network device 700 shown may correspond to the corresponding subject in the method 500 for executing the embodiment of the present application, and the aforementioned and other operations and / or functions of each unit in the network device 700 are respectively for implementing the corresponding processes in the method, and are not repeated here for the sake of brevity.

[0301] The communication device of the embodiment of the present application is described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that the functional modules can be implemented in hardware form, can also be implemented by software instructions, and can also be implemented by a combination of hardware and software modules.

[0302] Specifically, each step of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software instructions in the processor. The steps of the method disclosed in the embodiment of the present application can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor.

[0303] Optionally, the software module may be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in combination with its hardware.

[0304] For example, the processing unit and the communication unit mentioned above may be implemented by a processor and a transceiver, respectively.

[0305] Fig.16 It is a schematic structural diagram of a communication device 800 according to an embodiment of the present application.

[0306] like Fig.16 As shown, the communication device 800 may include a processor 810 .

[0307] The processor 810 may call and run a computer program from the memory to implement the method in the embodiment of the present application.

[0308] Please continue to see Fig.16 , the communication device 800 may further include a memory 820 .

[0309] The memory 820 may be used to store indication information, and may also be used to store codes, instructions, etc. executed by the processor 810. The processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application. The memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.

[0310] Please continue to see Fig.16 , the communication device 800 may further include a transceiver 830 .

[0311] The processor 810 may control the transceiver 830 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 830 may include a transmitter and a receiver. The transceiver 830 may further include an antenna, and the number of antennas may be one or more.

[0312] It should be understood that the various components in the communication device 800 are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0313] It should also be understood that the communication device 800 may be a terminal device of an embodiment of the present application, and the communication device 800 may implement the corresponding processes implemented by the terminal device in each method of the embodiment of the present application, that is, the communication device 800 of the embodiment of the present application may correspond to the terminal device 600 in the embodiment of the present application, and may correspond to the corresponding subject in the method according to the embodiment of the present application, for the sake of brevity, it will not be repeated here. Similarly, the communication device 800 may be a network device of the embodiment of the present application, and the communication device 800 may implement the corresponding processes implemented by the network device in each method of the embodiment of the present application. That is to say, the communication device 800 of the embodiment of the present application may correspond to the network device 700 in the embodiment of the present application, and may correspond to the corresponding subject in the method according to the embodiment of the present application, for the sake of brevity, it will not be repeated here.

[0314] In addition, a chip is also provided in an embodiment of the present application.

[0315] For example, the chip may be an integrated circuit chip with signal processing capabilities, and can implement or execute the methods, steps, and logic diagrams disclosed in the embodiments of the present application. The chip may also be called a system-level chip, a system chip, a chip system, or a system-on-chip chip, etc. Optionally, the chip can be applied to various communication devices, so that the communication device equipped with the chip can execute the methods, steps, and logic diagrams disclosed in the embodiments of the present application.

[0316] Fig.17 is a schematic structural diagram of a chip 800 according to an embodiment of the present application.

[0317] like Fig.17 As shown, the chip 800 includes a processor 810 .

[0318] The processor 810 may call and run a computer program from the memory to implement the method in the embodiment of the present application.

[0319] Please continue to see Fig.17 , the chip 800 may further include a memory 820 .

[0320] The processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application. The memory 820 may be used to store indication information, and may also be used to store codes, instructions, etc. executed by the processor 810. The memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.

[0321] Please continue to see Fig.17 , the chip 800 may further include an input interface 830 .

[0322] The processor 810 may control the input interface 830 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0323] Please continue to see Fig.17 , the chip 800 may further include an output interface 840 .

[0324] The processor 810 may control the output interface 840 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0325] It should be understood that the chip 800 can be applied to the network device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in the various methods of the embodiments of the present application, and can also implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, it will not be repeated here.

[0326] It should also be understood that the various components in the chip 800 are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0327] The processors mentioned above may include but are not limited to:

[0328] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0329] The processor can be used to implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor, or a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0330] The memory mentioned above includes but is not limited to:

[0331] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

[0332] It should be noted that the memory described herein is intended to include these and any other suitable types of memory.

[0333] A computer-readable storage medium is also provided in an embodiment of the present application for storing a computer program. The computer-readable storage medium stores one or more programs, and the one or more programs include instructions, which, when executed by a portable electronic device including multiple application programs, enable the portable electronic device to perform the method provided in an embodiment of the present application.

[0334] Optionally, the computer-readable storage medium can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0335] Optionally, the computer-readable storage medium can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0336] A computer program product is also provided in an embodiment of the present application, including a computer program.

[0337] Optionally, the computer program product can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0338] Optionally, the computer program product can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0339] The embodiment of the present application also provides a computer program. When the computer program is executed by a computer, the computer can perform the method provided in the embodiment of the present application.

[0340] Optionally, the computer program can be applied to the network device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the network device in the various methods in the embodiments of the present application. For the sake of brevity, they are not described here.

[0341] In addition, the embodiment of the present application further provides a communication system, which may include the terminal device and network device involved above to form a communication system, which will not be described in detail for the sake of brevity. It should be noted that the term "system" in this article may also be referred to as "network management architecture" or "network system".

[0342] It should also be understood that the terms used in the embodiments of the present application and the appended claims are for the purpose of describing specific embodiments only and are not intended to limit the embodiments of the present application.

[0343] For example, as used in the embodiments of the present application and the appended claims, the singular forms "a," "said," "above," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0344] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0345] If implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.

[0346] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0347] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways.

[0348] For example, the division of units or modules or components in the device embodiment described above is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or modules or components can be combined or integrated into another system, or some units or modules or components can be ignored or not executed.

[0349] For another example, the units / modules / components described above as separation / display components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units / modules / components may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0350] Finally, it should be noted that the mutual coupling or direct coupling or communication connection shown or discussed above may be an indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.

[0351] The above contents are only specific implementation methods of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be included in the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be based on the protection scope of the claims.

Claims

1. A wireless communication method, characterized in that: include: In the case of random access triggered by a scheduling request SR triggered by a conventional buffer status report BSR, for contention-based random access, the terminal device selects the random access type based on the amount of data to be transmitted on the target logical channel; The terminal device triggers random access, including: In the case where the terminal device has no uplink resources for initial transmission, the terminal device has no PUCCH resources available for the SR transmission and / or the number of times the terminal device sends the SR reaches the maximum number of times, and the network device does not configure the resource of message A based on non-contention two-step random access and the RACH resource based on non-contention four-step random access for the terminal device, the terminal device triggers contention-based random access through the SR; The target logical channel is a logical channel that triggers the conventional BSR; the terminal device selects a random access type based on the amount of data to be transmitted of the target logical channel, including: The terminal device selects a random access type based on the amount of data to be transmitted of the logical channel that triggers the conventional BSR; The logical channel that triggers the conventional BSR is an uplink logical channel with the highest logical channel priority among the uplink logical channels configured by the network device for the terminal device; The random access type selected by the terminal is contention-based two-step random access or contention-based four-step random access, and the method further includes: When the terminal device chooses to use the contention-based two-step random access, the terminal device selects a RACH resource of a message A and a PUSCH resource of a message A from a message A resource pool of the two-step random access configured by the network, and sends the message A on the selected resources; When the terminal device chooses to use the contention-based four-step random access, the terminal device selects a RACH resource from a RACH resource pool of four-step random access configured by the network, and sends message 1 on the selected resource.

2. The method according to claim 1, characterized in that: The terminal device selects a random access type based on the amount of data to be transmitted of the logical channel that triggers the conventional BSR, including: When the amount of data to be transmitted of the logical channel that triggers the conventional BSR is less than the third threshold, the terminal device selects two-step random access; otherwise, it selects four-step random access.

3. The method according to claim 1, characterized in that The terminal device selects a random access type based on the amount of data to be transmitted on the first logical channel that triggers the conventional BSR, including: When the amount of data to be transmitted of the logical channel that triggers the conventional BSR is less than the third threshold, and the measured value of the reference signal received power RSRP of the terminal device is greater than the RSRP threshold configured by the network, the terminal device selects two-step random access; otherwise, it selects four-step random access.

4. The method according to claim 2 or 3, characterized in that: The third threshold is configured through a system message or a radio resource control RRC signaling.

5. The method according to claim 2 or 3, characterized in that: The third threshold is a threshold configured for a terminal, or the third threshold is a threshold configured for a logical channel.

6. A terminal device, characterized in that: include: A processing unit, configured to: when a scheduling request SR triggered by a conventional buffer status report BSR triggers a random access, for a contention-based random access, select a random access type based on the amount of data to be transmitted of a target logical channel; The triggering of random access includes: In the case where the terminal device has no uplink resources for initial transmission, the terminal device has no PUCCH resources available for the SR transmission and / or the number of times the terminal device sends the SR reaches the maximum number of times, and the network device does not configure the terminal device with resources for message A based on non-contention two-step random access and RACH resources based on non-contention four-step random access, triggering contention-based random access through the SR; The target logical channel is a logical channel that triggers the conventional BSR; and the selecting of the random access type based on the amount of data to be transmitted of the target logical channel includes: Selecting a random access type based on the amount of data to be transmitted of the logical channel that triggers the conventional BSR; The logical channel that triggers the conventional BSR is an uplink logical channel with the highest logical channel priority among the uplink logical channels configured by the network device; The random access type selected by the processing unit is contention-based two-step random access or contention-based four-step random access, and the processing unit is further used to: In the case of selecting to use the contention-based two-step random access, selecting a RACH resource for message A and a PUSCH resource for message A from a message A resource pool of the two-step random access configured by the network, and sending message A on the selected resources; When the contention-based four-step random access is selected, a RACH resource is selected from a RACH resource pool of the four-step random access configured by the network, and message 1 is sent on the selected resource.

7. A terminal device, characterized in that: include: A processor, a memory and a transceiver, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 5.

8. A chip, characterized in that: include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 5.

10. A computer program product, characterized in that The method comprises computer program instructions which cause a computer to execute the method as claimed in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for transmitting scheduling request, method for processing scheduling request, and related device

    CN109392175A

  • Method and apparatus for transmitting buffer state report by terminal in wireless communication system

    WO2014163319A1

  • Enhanced initial access for efficient small data transmission

    WO2020221861A1

  • Supporting random access type selection by a user equipment

    WO2020228597A1