A random access method and device

The terminal sends instructions information to the terminal through the network device. The terminal selects the appropriate random access type and configuration based on the information, solving the problems of random access delay and efficiency in the LTE and NR systems, and achieving efficient and adaptable data transmission.

CN111565473BActive Publication Date: 2024-12-31HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911086604.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-02-14
Filing Date
2019-11-08
Publication Date
2024-12-31
Estimated Expiration
2039-11-08

AI Technical Summary

Technical Problem

In LTE system and NR system, when the terminal supports multiple random access types, how to select the appropriate random access type to meet the needs of different data or services, especially how to reduce the delay and improve the random access process. Data transmission efficiency.

Method used

The terminal sends instructions information to the terminal through the network device to determine the target random access configuration. The terminal selects the appropriate random access type and configuration for access based on the information, supports two-step or four-step random access, and according to the data delay requirements and QoS requirements are selected and the bandwidth portion is switched when necessary to obtain appropriate random access resources.

Benefits of technology

Effectively meet the needs of different data or services, reduce the delay in the random access process, improve the data transmission efficiency between the terminal and network equipment, and save the signaling overhead of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111565473B_ABST
    Figure CN111565473B_ABST
Patent Text Reader

Abstract

The present application provides a random access method and apparatus, the method comprising: a terminal receiving a random access configuration sent by a network device; the terminal receiving indication information sent by the network device, the indication information being used to determine a target random access configuration in the random access configuration; the terminal determining the target random access configuration according to the indication information; the terminal initiating random access to the network device using the target random access configuration. The random access method provided in the embodiment of the present application helps to better meet the needs of certain data or services for effective data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on February 14, 2019, with application number 201910115161.8 and application name “A Random Access Method and Device”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of communications, and more specifically, to a random access method and device. Background Art

[0003] In the long term evolution (LTE) system and the new radio (NR) system, the terminal is supported to initiate a four-step random access to the network device. In order to reduce the process interaction and delay of random access, the two-step random access is currently being discussed in the standard meeting.

[0004] When a terminal supports multiple random access types, how to select the random access type to ensure data or service requirements has become an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present application provide a random access method and device, which help to meet the needs of different data or services.

[0006] In a first aspect, a random access method is provided, the method comprising: a terminal receives a random access configuration from a network device; the terminal receives first indication information from the network device, the first indication information being used to determine a target random access configuration in the random access configuration; the terminal initiates random access to the network device using the target random access configuration according to the first indication information.

[0007] In the random access method of the embodiment of the present application, the network device instructs the terminal to determine the target random access configuration in the random access configuration in the first indication information, which helps to meet the needs of certain data or services so as to enable effective data transmission between the terminal and the network device.

[0008] In combination with the first aspect, in some possible implementations of the first aspect, the first indication information indicates the target random access configuration.

[0009] In some possible implementations, the first indication information indicates the type of random access performed by the terminal. When the terminal is clear about the type of random access, it can select a random access configuration under the type to initiate random access to the network device.

[0010] In some possible implementations, the first indication information indicates an index of a target random access. When the terminal is clear about the target random access index, it can use the target random access configuration corresponding to the index to initiate a random access to the network device.

[0011] In the random access method of the embodiment of the present application, the network device can directly indicate the type of random access initiated to the terminal without the terminal making a selection, which helps to better meet the needs of certain data or services and helps the terminal and the network device to perform effective data transmission.

[0012] In combination with the first aspect, in some possible implementations of the first aspect, the first indication information indicates an association relationship between a logical channel and a target random access configuration, and the terminal initiates random access to the network device using the target random access configuration based on the first indication information, including: the terminal determines the logical channel for data to be transmitted; the terminal initiates random access to the network device based on the association relationship using the target random access configuration associated with the logical channel.

[0013] In some possible implementations, different logical channels correspond to different data (or, services) priorities.

[0014] Different data has different requirements for latency. For latency-sensitive data, a faster random access process is required to ensure the QoS requirements of the data, so two-step random access can be selected; for latency-insensitive data, two-step random access or four-step random access can be used. When deciding whether to trigger two-step random access or four-step random access, the terminal can consider the QoS of the data (or service) (for example, the QoS of data carried by different logical channels is different).

[0015] In the random access method of the embodiment of the present application, the terminal can select the random access type according to the association between the logical channel and the random access configuration, which helps to better meet the needs of certain data or services, and at the same time, helps the terminal and the network device to perform effective data transmission.

[0016] In combination with the first aspect, in some possible implementations of the first aspect, the terminal determines the logical channel for data to be transmitted, including: the terminal determines the logical channel according to a triggered scheduling request SR.

[0017] In combination with the first aspect, in some possible implementations of the first aspect, the first indication information indicates an association relationship between the QoS flow and the target random access configuration, and the terminal initiates random access to the network device based on the first indication information and using the target random access configuration, including: the terminal determines the QoS flow of data to be transmitted; the terminal initiates random access to the network device based on the association relationship and using the target random access configuration associated with the QoS flow.

[0018] In some possible implementations, the first indication information indicates an association relationship between the RB and the target random access configuration, and the terminal initiates random access to the network device using the target random access configuration based on the first indication information, including: the terminal determines the RB for data to be transmitted; the terminal initiates random access to the network device based on the association relationship using the target random access configuration associated with the RB.

[0019] In some possible implementations, the first indication information indicates an association between a service identifier and a target random access configuration, and the terminal initiates random access to the network device based on the first indication information and using the target random access configuration, including: the terminal determines the service identifier of the data to be transmitted; the terminal initiates random access to the network device based on the association and using the target random access configuration associated with the service identifier.

[0020] In combination with the first aspect, in some possible implementations of the first aspect, the target random access configuration includes a two-step random access configuration and a four-step random access configuration, and the terminal initiates random access to the network device, including: the terminal initiates a two-step random access to the network device.

[0021] In the embodiment of the present application, when the terminal can choose to initiate two-step random access and four-step random access, the two-step random access can be used preferentially, which helps to meet different data or service requirements.

[0022] In combination with the first aspect, in some possible implementations of the first aspect, the terminal initiates two-step random access to the network device, including: during the running of the timer, the terminal initiates two-step random access to the network device.

[0023] In the embodiment of the present application, while the timer is running, the terminal initiates a two-step random access to the network device, which helps the terminal complete the random access faster.

[0024] In some possible implementations, the timer is configured by the network device.

[0025] In some possible implementations, the duration of the timer is configured by the network device.

[0026] In some possible implementations, the timer may be started when the terminal initiates a two-step random access MsgA (e.g., MsgA signal or MsgA load) to the network device for the first time on the two-step random access time-frequency resources, or when the terminal decides to trigger the two-step random access.

[0027] In combination with the first aspect, in some possible implementations of the first aspect, the method also includes: the terminal determines that there are no random access resources with a target random access configuration on the first bandwidth part BWP; the terminal switches from the first BWP to a second BWP, and there are random access resources with a target random access configuration on the second BWP; wherein, the terminal initiates random access to the network device, including: the terminal initiates random access to the network device on the second BWP using the target random access configuration.

[0028] In an embodiment of the present application, when the uplink BWP currently activated by the terminal is not a random access resource configured by the network device for target random access, the terminal can perform BWP switching to switch the terminal to the uplink BWP of the random access resource configured by the network device for target random access, so that the terminal can initiate random access to the network device in a timely manner to ensure the QoS requirements of data or services.

[0029] In combination with the first aspect, in some possible implementations of the first aspect, the second BWP is an initial BWP or a default BWP.

[0030] In some possible implementations, the second BWP may also be a BWP of other random access resources configured with targeted random access.

[0031] In combination with the first aspect, in some possible implementations of the first aspect, the random access configuration includes the first indication information.

[0032] In an embodiment of the present application, the network device may carry the first indication information in the random access configuration and send it to the terminal, which helps to save the signaling overhead of the network device.

[0033] In combination with the first aspect, in some possible implementations of the first aspect, the receiving of the first indication information from the network device includes: receiving a logical channel configuration from the network device, the logical channel configuration including the first indication information; or, receiving a RB configuration from the network device, the RB configuration including the first indication information.

[0034] In an embodiment of the present application, the network device may carry the first indication information in the logical channel configuration or the RB configuration and send it to the terminal, which helps to save the signaling overhead of the network device.

[0035] In combination with the first aspect, in some possible implementations of the first aspect, the method also includes: the terminal receives second indication information from the network device, and the second indication information is used to indicate the initiation of contention-based two-step random access or the initiation of non-contention-based two-step random access.

[0036] In a second aspect, a random access method is provided, the method comprising: a network device sends a random access configuration to a terminal; the network device sends first indication information to the terminal, the first indication information being used to determine a target random access configuration in the random access configuration; the network device receives a random access initiated by the terminal using the target random access configuration.

[0037] In combination with the second aspect, in some possible implementations of the second aspect, the first indication information indicates the target random access configuration.

[0038] In combination with the second aspect, in some possible implementations of the second aspect, the first indication information indicates an association relationship between a logical channel and a target random access configuration.

[0039] In combination with the second aspect, in some possible implementations of the second aspect, the first indication information indicates an association relationship between the QoS flow and the target random access configuration.

[0040] In combination with the second aspect, in some possible implementations of the second aspect, the target random access configuration includes a two-step random access configuration and a four-step random access configuration, and the receiving random access initiated by the terminal using the target random access configuration includes: the network device receives the two-step random access initiated by the terminal.

[0041] In combination with the second aspect, in some possible implementations of the second aspect, the random access configuration includes the first indication information.

[0042] In combination with the second aspect, in some possible implementations of the second aspect, the network device sends first indication information to the terminal, including: the network device sends a logical channel configuration to the terminal, and the logical channel configuration includes the first indication information; or, the network device sends a RB configuration to the terminal, and the RB configuration includes the first indication information.

[0043] In combination with the second aspect, in some possible implementations of the second aspect, the network device sends first indication information to the terminal, including: the network device sends an RRC connection reconfiguration message to the terminal, and the RRC connection reconfiguration message includes the first indication information; or, the network device sends an RRC reconfiguration message to the terminal, and the RRC reconfiguration message includes the first indication information.

[0044] In some possible implementations, before the network device sends an RRC connection reconfiguration message or an RRC reconfiguration message to the terminal, the method further includes: the network device receives a handover request confirmation message sent by another network device, the handover request confirmation message including the first indication information; or,

[0045] The network device receives a secondary network device adding request confirmation message sent by another network device, where the secondary network device adding request confirmation message includes the first indication information; or,

[0046] The network device receives a secondary network device modification request confirmation message sent by another network device, where the secondary network device modification request confirmation message includes the first indication information.

[0047] In a third aspect, the present application provides a random access device, comprising a unit or means for executing each step of the above first aspect.

[0048] In a fourth aspect, the present application provides a random access device, comprising a unit or means for executing each step of the above second aspect.

[0049] In a fifth aspect, the present application provides a random access device, comprising at least one processor, which is connected to a memory to call a program in the memory to execute the method provided in the first aspect above. The memory may be located inside the device or outside the device. And the processor includes one or more.

[0050] In a sixth aspect, the present application provides a random access device, comprising at least one processor, which is connected to a memory to call a program in the memory to execute the method provided in the second aspect above. The memory may be located inside the device or outside the device. And the processor includes one or more.

[0051] In a seventh aspect, the present application provides a random access device, comprising at least one processor and an interface circuit, wherein the at least one processor is used to execute the method provided in the first aspect above.

[0052] In an eighth aspect, the present application provides a random access device, comprising at least one processor and an interface circuit, wherein the at least one processor is used to execute the method provided in the above second aspect.

[0053] In a ninth aspect, a terminal is provided, which includes the device provided in the third aspect, or the terminal includes the device provided in the fifth aspect, or the terminal includes the device provided in the seventh aspect.

[0054] In a tenth aspect, a network device is provided, which includes the apparatus provided in the fourth aspect, or the network device includes the apparatus provided in the sixth aspect, or the network device includes the apparatus provided in the eighth aspect.

[0055] In an eleventh aspect, the present application provides a program, which, when executed by a processor, is used to execute the method provided in the first aspect above.

[0056] In a twelfth aspect, the present application provides a program, which, when executed by a processor, is used to execute the method provided in the above second aspect.

[0057] In a thirteenth aspect, the present application provides a program product, such as a computer-readable storage medium, comprising the above program.

[0058] It can be seen that in the above aspects, the network device instructs the terminal to determine the target random access configuration in the random access configuration in the first indication information, which helps to meet the needs of certain data or services, so as to enable effective data transmission between the terminal and the network device. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a schematic diagram of an application scenario of the technical solution provided in the embodiment of the present application.

[0060] Figure 2 It is another schematic diagram of an application scenario of the technical solution provided in the embodiment of the present application.

[0061] Figure 3 It is a schematic diagram of a network architecture provided in an embodiment of the present application.

[0062] Figure 4 It is a schematic diagram of another network architecture provided in an embodiment of the present application.

[0063] Figure 5 It is a schematic flowchart of the four-step random access provided in an embodiment of the present application.

[0064] Figure 6 It is a schematic flowchart of two-step random access provided in an embodiment of the present application.

[0065] Figure 7 It is a schematic flowchart of the random access method provided in an embodiment of the present application.

[0066] Figure 8 This is another schematic flowchart of the random access method provided in an embodiment of the present application.

[0067] Fig. 9 This is another schematic flowchart of the random access method provided in an embodiment of the present application.

[0068] Fig.10 This is another schematic flowchart of the random access method provided in an embodiment of the present application.

[0069] Fig.11 It is a schematic block diagram of a random access device provided in an embodiment of the present application.

[0070] Fig.12 This is another schematic block diagram of the random access device provided in an embodiment of the present application.

[0071] Fig.13 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application.

[0072] Fig.14 It is a structural diagram of the network device provided in an embodiment of the present application.

[0073] Fig.15 It is another structural diagram of the network device provided in an embodiment of the present application.

[0074] Fig.16 It is a schematic diagram of a preamble index provided in an embodiment of the present application.

[0075] Fig.17 It is a schematic diagram of another preamble index provided in an embodiment of the present application.

[0076] Fig.18 This is a schematic flowchart of a network device providing an embodiment of the present application indicating a terminal random access type through an RRC message.

[0077] Fig.19 This is another schematic flowchart of a network device indicating a terminal random access type through an RRC message provided by an embodiment of the present application.

[0078] Fig. 20 is a schematic flow chart of 2-step CFRA and 4-step CFRA.

[0079] Fig.21 It is a schematic diagram of the mapping relationship between the preamble index and the PRACH resource provided in an embodiment of the present application.

[0080] Fig. 22 This is a schematic flowchart of a terminal determining a random access type provided in an embodiment of the present application. DETAILED DESCRIPTION

[0081] Below, some terms used in this application are explained:

[0082] 1) Terminal, also known as user equipment (UE), mobile station (MS), mobile terminal (MT), etc., is a device that provides voice / data connectivity to users, such as a handheld device with wireless connection function, or a vehicle-mounted device, etc. At present, some examples of terminals are: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, etc.

[0083] 2) Network equipment is equipment in a wireless network, such as a radio access network (RAN) node that connects a terminal to a wireless network. At present, some examples of RAN nodes are: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base band unit (BBU), or wireless fidelity (Wifi) access point (AP), etc. In a network structure, the network equipment may include a centralized unit (CU) node, a distributed unit (DU) node, or a RAN device including a CU node and a DU node.

[0084] 3) "Multiple" means two or more, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, for elements (element) in the singular form "a", "an", and "the", unless the context clearly stipulates otherwise, it does not mean "one or only one", but means "one or more than one". For example, "a device" means one or more such devices. Furthermore, at least one (at least one of)... "means one or any combination of subsequent associated objects, for example, "at least one of A, B and C" includes A, B, C, AB, AC, BC, or ABC.

[0085] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: global system for mobile communications (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or new radio (NR), etc.

[0086] In an embodiment of the present application, a terminal or network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software. In addition, the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the present application, as long as it can communicate according to the method provided in the embodiment of the present application by running a program that records the code of the method provided in the embodiment of the present application, for example, the execution subject of the method provided in the embodiment of the present application can be a terminal or a network device, or a functional module in a terminal or a network device that can call a program and execute the program.

[0087] In addition, various aspects or features of the present application can be implemented as methods, devices or products using standard programming and / or engineering techniques. The term "product" used in this application covers computer programs that can be accessed from any computer-readable device, carrier or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or tapes, etc.), optical disks (e.g., compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). In addition, the various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.

[0088] Before introducing the embodiments of the present application, several concepts related to the technical solutions of the embodiments of the present application are briefly introduced.

[0089] Bandwidth part (BWP) refers to part of the frequency domain resources within the carrier bandwidth allocated to the terminal by the network device. The size of BWP is less than or equal to the bandwidth capability of the terminal, that is, the maximum bandwidth supported by the terminal. BWP can be a continuous frequency domain resource. For example, BWP can include multiple continuous subcarriers; for another example, BWP can include multiple continuous physical resource blocks (PRBs). BWP can also be a discontinuous frequency domain resource. Among them, continuous frequency domain resources are conducive to reducing the complexity of resource allocation, and discontinuous frequency domain resources are conducive to the utilization of discrete resources. The terminal can support multiple BWPs, that is, the network device can configure multiple BWPs for the terminal. When multiple BWPs are configured, the BWPs may overlap, or the BWPs may not overlap. In addition, the subcarrier spacing of the frequency domain resources included in different BWPs may be the same or different.

[0090] The initial bandwidth part (initial BWP) is the BWP of the terminal when it initially accesses the network. The terminal initially accesses the network on the initial BWP. The default bandwidth part (default BWP) can also be called the default BWP. The default BWP is indicated by the network device to the terminal.

[0091] Modulation and coding scheme (MCS): indicates the modulation method (modulation) and channel coding code rate used for transmission. Usually, the MCS index is used as the row, and the corresponding set of modulation methods and channel coding code rates are used as the corresponding columns. The modulation method and channel coding rate used for transmission are determined by the MCS index, and then the transport block size (TBS) is determined.

[0092] Synchronous signal / PBCH block (SS / PBCH block):

[0093] In LTE, the frequency domain positions of the primary synchronization signal (PSS), secondary synchronization signal (SSS) and physical broadcast channel (PBCH) blocks are different from those in NR.

[0094] SS / PBCH block can also be called SSB, which includes synchronization signal / physical broadcast channel. An SSB includes primary synchronization signal, secondary synchronization signal, and physical broadcast channel (PBCH). Among them, PSS is mainly used for coarse synchronization, SSS is used for fine synchronization and SSB-based measurement, and PBCH is used to broadcast cell-level system information. Demodulation reference signal (DMRS) is used for PBCH demodulation. In addition, it can also be used for SSB-based measurement.

[0095] It should be understood that in the embodiments shown below, the first, second, etc. are only used to distinguish different objects and should not constitute any limitation to the present application.

[0096] Figure 1 is a schematic diagram of an application scenario of the technical solution provided in the embodiment of the present application, such as Figure 1 As shown, the terminal 130 accesses the wireless network to obtain services of an external network (such as the Internet) through the wireless network, or communicates with other terminals through the wireless network. The wireless network includes a RAN 110 and a core network (CN) 120, wherein the RAN 110 is used to access the terminal 130 to the wireless network, and the CN 120 is used to manage the terminal and provide a gateway for communicating with the external network.

[0097] It should be understood that the random access method provided in the present application may be applicable to wireless communication systems, for example, Figure 1 The wireless communication system 100 shown in FIG. Two communication devices in the wireless communication system have a wireless communication connection, and one of the two communication devices may correspond to Figure 1 The terminal 130 shown in FIG. 1 may be, for example, Figure 1 The terminal 130 in the embodiment may also be a chip configured in the terminal 130; the other communication device in the two communication devices may correspond to Figure 1 The RAN 110 shown in FIG. 1 may be, for example, Figure 1 The RAN110 in the example may also be a chip configured in the RAN110.

[0098] Figure 2 is another schematic diagram of an application scenario of the technical solution provided in the embodiment of the present application, such as Figure 2 As shown, when the terminal 210 switches from the RAN 220 to the RAN 230, the terminal 210 may receive an RRC connection reconfiguration message or an RRC reconfiguration message sent by the RAN 220, and then the terminal 210 initiates a random access to the RAN 230. Exemplarily, both the RAN 220 and the RAN 230 are primary network devices.

[0099] Alternatively, when the primary secondary cell (PScell) of the terminal 210 is changed from the first cell under the RAN 220 to the second cell under the RAN 230, the terminal 210 may receive an RRC connection reconfiguration message or an RRC reconfiguration message sent by the RAN 220. Exemplarily, both the RAN 220 and the RAN 230 are auxiliary network devices.

[0100] Figure 3 is a schematic diagram of a network architecture provided by an embodiment of the present application, such as Figure 3 As shown, the network architecture includes CN equipment and RAN equipment. The RAN equipment includes a baseband device and a radio frequency device, wherein the baseband device can be implemented by one node or multiple nodes, and the radio frequency device can be independently implemented remotely from the baseband device, or integrated into the baseband device, or partially remotely integrated into the baseband device. For example, in a Long Term Evolution (LTE) communication system, the RAN equipment (eNB) includes a baseband device and a radio frequency device, wherein the radio frequency device can be remotely arranged relative to the baseband device, for example, the remote radio unit (RRU) is remotely arranged relative to the BBU.

[0101] The communication between RAN equipment and terminals follows a certain protocol layer structure. For example, the control plane protocol layer structure may include the functions of the radio resource control (RRC) layer, the packet data convergence protocol (PDCP) layer, the radio link control (RLC) layer, the media access control (MAC) layer, and the physical layer. The user plane protocol layer structure may include the functions of the PDCP layer, the RLC layer, the MAC layer, and the physical layer; in one implementation, the service data adaptation protocol (SDAP) layer may also be included above the PDCP layer.

[0102] RAN equipment can implement the functions of protocol layers such as radio resource control (RRC), packet data convergence protocol (PDCP), radio link control (RLC), and media access control (MAC) by one node; or it can implement the functions of these protocol layers by multiple nodes; for example, in an evolutionary structure, RAN equipment can include a centralized unit (CU) and a distributed unit (DU), and multiple DUs can be centrally controlled by one CU. Figure 2 As shown, CU and DU can be divided according to the protocol layers of the wireless network, for example, the functions of the PDCP layer and above protocol layers are set in the CU, and the functions of the protocol layers below the PDCP, such as the RLC layer and the MAC layer, are set in the DU.

[0103] This division of the protocol layer is only an example. It can also be divided in other protocol layers, such as dividing in the RLC layer, setting the functions of the RLC layer and the protocol layers above in the CU, and the functions of the protocol layers below the RLC layer in the DU; or dividing in a certain protocol layer, for example, setting some functions of the RLC layer and the functions of the protocol layers above the RLC layer in the CU, and setting the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer in the DU. In addition, it can also be divided in other ways, such as dividing by latency, setting the functions whose processing time needs to meet the latency requirements in the DU, and the functions that do not need to meet the latency requirements in the CU.

[0104] In addition, the radio frequency device can be remote and not placed in the DU, or can be integrated in the DU, or can be partially remote and partially integrated in the DU, without any limitation here.

[0105] Please continue to refer to Figure 4 , Figure 4 A schematic diagram of another network architecture provided by an embodiment of the present application is shown. Figure 3 The architecture shown can also separate the control plane (CP) and user plane (UP) of the CU and implement them in different entities, namely, the control plane CU entity (CU-CP entity) and the user plane CU entity (CU-UP entity).

[0106] In the above network architecture, the signaling generated by the CU can be sent to the terminal through the DU, or the signaling generated by the terminal can be sent to the CU through the DU. The DU can directly encapsulate the signaling through the protocol layer and transparently transmit it to the terminal or CU without parsing it. In the following embodiments, if the transmission of such signaling between the DU and the terminal is involved, at this time, the sending or receiving of the signaling by the DU includes this scenario. For example, the signaling of the RRC or PDCP layer will eventually be processed as the signaling of the PHY layer and sent to the terminal, or it will be converted from the received signaling of the PHY layer. Under this architecture, the signaling of the RRC or PDCP layer can also be considered to be sent by the DU, or sent by the DU and the radio frequency.

[0107] In the above embodiments, the CU is divided into a network device on the RAN side. In addition, the CU may also be divided into a network device on the CN side, which is not limited here.

[0108] The devices in the following embodiments of the present application may be located in a terminal according to the functions implemented. When the above CU-DU structure is adopted, the network device may be a CU node, or a DU node, or a RAN device including a CU node and a DU node.

[0109] Figure 5 The schematic flow chart of the terminal and the network device through four-step random access (4-step random access) is shown. It should be understood that Figure 5 Taking contention based random access (CBRA) as an example, the process includes:

[0110] S310, the terminal sends a random access process message 1 (Msg1) to the network device.

[0111] It should be understood that the random access process message 1 (Msg1) may also be called a random access request message or a random access preamble.

[0112] The main function of the preamble is to inform the network device that there is a random access request and enable the network device to estimate the transmission delay between it and the terminal so that the network device can calibrate the uplink timing and inform the terminal of the calibration information through the random access process message 2 (Msg2) in S320.

[0113] The maximum number of preambles available in each cell can be limited. For example, each cell has a maximum of 64 available preamble sequences. The terminal can select a preamble and transmit it on the physical random access channel (PRACH). The network device informs the terminal of the time-frequency resource set of the PRACH that can be used to transmit the preamble in the current cell through a system message. When the terminal initiates random access, it selects the PRACH resource to send the preamble.

[0114] S320, the network device sends a random access process message 2 (Msg2) to the terminal.

[0115] It should be understood that the random access process message 2 (Msg2) may also be referred to as a random access response message.

[0116] Specifically, after receiving the preamble sent by the terminal, the network device sends a corresponding random access response (RA response, RAR) to the terminal, which may include at least one of the following parameters: uplink grant (ULgrant) information, preamble identifier, timing advance (TA) information. Among them, the uplink grant information may include the time domain and frequency domain information of the random access process message three (Msg3) in transmission S330, the modulation and coding method used for Msg3, etc. In addition, RAR can also carry the identification information of the terminal. For CBRA, after receiving Msg2, the terminal determines whether the preamble identifier in Msg2 is the same as the preamble sent in S310. If they are the same, it is considered that Msg2 is received successfully. Otherwise, it is considered that Msg2 is received unsuccessfully, and the terminal can re-initiate four-step random access.

[0117] S330, the terminal sends a random access process message three (Msg3) to the network device.

[0118] Specifically, the terminal sends data through the physical uplink shared channel (PUSCH) in the corresponding uplink transmission resources according to the UL grant information indicated in Msg2, that is, Msg3, which may include a radio resource control layer (RRC) message, the identification information of the terminal, for example, the C-RNTI information of the terminal, the recovery identification (Resume ID) or inactive identification (inactive RNTI, I-RNTI) of the terminal, wherein the Resume ID or I-RNTI is assigned to the terminal by the network device, and the terminal reports the identification for the network device to identify the identity of the terminal and related configuration information.

[0119] Msg3 can be transmitted on the uplink shared channel (UL-SCH), and Msg3 includes a cell radio network temporary identifier media access control control element (C-RNTI MAC CE) or a common control channel service data unit (CCCH SDU), wherein the CCCH SDU is associated with the contention resolution identifier of the terminal. The CCCH SDU can be an RRC message, for example, if the random access is an initial access, the RRC message is an RRC connection establishment request; if the random access is initiated due to RRC connection re-establishment, the RRC message is an RRC connection re-establishment request; if the random access is initiated due to requesting system information, the RRC message is an RRC system information request; if the random access is due to a transition from an activated (RRC_INACTIVE) state to a connected (RRC_CONNECTED) state, the RRC message is an RRC recovery request.

[0120] S340, the network device sends a random access process message four (Msg4) to the terminal.

[0121] Specifically, since the terminal in S330 will carry the identification information of the terminal or the contention resolution identification of the terminal, the network device will carry the identification information of the terminal or the contention resolution identification information of the terminal through Msg4 in S340 in the conflict resolution mechanism to specify the terminal that wins the conflict elimination, and other terminals that do not win the conflict elimination will re-initiate random access.

[0122] Figure 6 A schematic flow chart of a two-step random access between a terminal and a network device is shown, and the process includes:

[0123] S410, the network device sends an RRC message to the terminal.

[0124] It should be understood that the RRC message may be sent to the terminal in a broadcasting manner (eg, a system message) or may be sent to the terminal via RRC dedicated signaling.

[0125] Specifically, the RRC message may include UL grant information, for example, may include time domain and frequency domain information of the random access process message A (MsgA) payload in transmission S420, a modulation and coding method for the MsgA payload, and the like.

[0126] S420, the terminal sends a random access process message A (MsgA) to the network device.

[0127] It should be understood that the random access process message A (MsgA) may also be referred to as a random access request message, and the message A (MsgA) includes an MsgA signal and an MsgA payload, wherein the MsgA signal may include at least one of the following signals:

[0128] (1) Preamble: Optionally, the network device can also perform channel estimation or slot boundary determination based on the preamble, which is then used for signal processing at the receiving end of the data.

[0129] (2) Demodulation reference signal (DMRS): used for data demodulation and other related receiving end signal processing. DMRS may not be sent, may be sent together with the preamble, or may replace the preamble to initiate random access.

[0130] The MsgA payload contains at least one of the following data types:

[0131] (1) User plane data, including the user's data to be sent. When the terminal is configured with at least one logical channel, it may include the data of the at least one logical channel.

[0132] (2) An RRC message, including identification information of the terminal, such as C-RNTI information of the terminal, a resume ID or an inactive RNTI (I-RNTI) of the terminal, wherein the Resume ID or I-RNTI is allocated to the terminal by a network device, and the terminal reports the identification for the network device to identify the identity of the terminal and related configuration information, etc.

[0133] (3) Media access control element (MAC CE): When S420 is triggered by a connected state event or RRC reestablishment, message A may carry C-RNTI MAC CE for contention resolution.

[0134] It should be understood that the MsgA load can refer to Msg3 in the above method 300, and for the sake of brevity, it will not be repeated here. When the terminal is in a connected state and there is user plane data to be sent, the message A load can include user plane data, and for a non-competitive random access process, the preamble can identify the terminal, and at this time, it may not carry RRC messages and MAC CE, or it may not carry information for contention resolution. In addition, MsgA can include both user plane data and RRC messages, or both user plane data and MAC CE, and the specific content depends on the event that triggers the random access.

[0135] Specifically, the terminal sends data (message A load) through a physical layer channel in the corresponding uplink transmission resource according to the UL grant information indicated in the RRC message in S410. The physical layer channel can be a PUSCH channel or a contention-based physical layer channel different from PUSCH, which is not limited here.

[0136] S430, the network device sends a random access process message B (MsgB) to the terminal.

[0137] It should be understood that the random access process message B (MsgB) may also be referred to as a random access response message.

[0138] Specifically, after the network device receives the MsgA sent by the terminal, it sends a corresponding random access response (RAresponse, RAR) to the terminal. Optionally, it may also send an RRC message. The RAR and the RRC message may include at least one of the following parameters: preamble identifier, timing advance (TA) information, uplink grant (uplink grant, UL grant) information, and may also carry the identification information of the terminal.

[0139] Optionally, if the MsgB includes a preamble identifier, after receiving the MsgB, the terminal determines whether the preamble identifier in the MsgB is the same as the preamble sent in S420. If they are the same, it is considered that the MsgB is received successfully, otherwise, it is considered that the MsgB is received unsuccessfully, and the terminal can initiate two-step random access.

[0140] Optionally, if the MsgB includes a contention resolution identifier of the terminal, when the message A payload includes an RRC message, the contention resolution identifier can be obtained based on the RRC message sent in S420, for example, it can be all or part of the content of the RRC message. When the message A includes a C-RNTI MAC CE for contention resolution, the contention resolution identifier can be obtained based on the C-RNTIMAC CE. When the message A does not include an RRC message or a C-RNTI MAC CE, the network device can identify the terminal through the preamble, and the contention resolution identifier can be the identifier of the terminal, such as C-RNTI. After receiving MsgB, the terminal determines whether the contention resolution identifier of the terminal in MsgB matches part or all of the content of the message A payload sent in S420 or matches the identifier of the terminal. If they match, it is considered that MsgA is sent successfully. Exemplarily, the contention resolution identifier in message B may be 48 bits, and the RRC message in message A may be 72 bits. When matching, the terminal compares the 48 bits of the contention resolution identifier with the first 48 bits of the RRC message.

[0141] In an embodiment of the present application, when the terminal supports multiple random access types, for different data or services, the appropriate random access type can be determined through the indication information configured by the network device to initiate random access to the network device, thereby ensuring the needs of different data or services, so as to enable effective data transmission between the terminal and the network device.

[0142] Figure 7 A schematic flow chart of a random access method 300 provided in an embodiment of the present application is shown. Figure 7 As shown, the execution subject of the method 500 may be a random access device (for example, a terminal or a chip or device of the terminal), and the method 500 includes:

[0143] S510, the terminal receives a random access configuration from a network device.

[0144] Optionally, the random access configuration includes a two-step random access configuration and / or a four-step random access configuration.

[0145] Optionally, when the random access configuration includes a two-step random access configuration, the two-step random access configuration may include one or more configurations.

[0146] Optionally, when the random access configuration includes a four-step random access configuration, the four-step random access configuration may include one or more configurations.

[0147] Exemplarily, Table 1 shows a random access configuration.

[0148] Table 1 A random access configuration

[0149]

[0150] Exemplarily, Table 2 shows another random access configuration.

[0151] Table 2 Another random access configuration

[0152]

[0153] Exemplarily, Table 3 shows another random access configuration.

[0154] Table 3 Another random access configuration

[0155]

[0156] Exemplarily, Table 4 shows another random access configuration.

[0157] Table 4 Another random access configuration

[0158] type Configuration Two-step random access Configuration 1 Four-step random access Configuration 3

[0159] Exemplarily, Table 5 shows another random access configuration.

[0160] Table 5 Another random access configuration

[0161]

[0162] Exemplarily, Table 6 shows another random access configuration.

[0163] Table 6 Another random access configuration

[0164]

[0165] Exemplarily, Table 7 shows another random access configuration.

[0166] Table 7 Another random access configuration

[0167] type Configuration Two-step random access Configuration 1

[0168] Exemplarily, Table 8 shows another random access configuration.

[0169] Table 8 Another random access configuration

[0170] type Configuration Four-step random access Configuration 3

[0171] Optionally, the random access configuration may include at least one of the following:

[0172] (1) Preamble time and frequency resource indication information;

[0173] (2) preamble index indication information;

[0174] (3) Root sequence (root) indication information.

[0175] It should be understood that (1)-(3) can also be referred to as a random access parameter set.

[0176] Optionally, when the random access configuration includes a two-step random access configuration, the two-step random access configuration may also include an uplink grant (UL grant), the UL grant including at least one of frequency domain resources, modulation and coding strategy, and time domain resources, and the UL grant is used to send a MsgA payload. The UL grant may be referred to as a PUSCH configuration.

[0177] It should be understood that the MsgA load can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0178] Optionally, there may be a correspondence between the random access parameter set and the PUSCH configuration, and the correspondence may be one-to-one or one-to-many.

[0179] Exemplarily, random access parameter set 1 corresponds to UL grant1, and random access parameter set 2 corresponds to UL grant2.

[0180] Exemplarily, Table 9 shows a two-step random access configuration.

[0181] Table 9 A two-step random access configuration

[0182] Configuration Information included Configuration 1 Random access parameters combined with 1UL grant1 Configuration 2 Random access parameters combined with 2UL grant2 … …

[0183] Optionally, the random access configuration information includes at least one two-step random access configuration.

[0184] S520, the terminal receives first indication information from the network device, where the first indication information is used to determine a target random access configuration in the random access configuration.

[0185] Specifically, the network device sends first indication information to the terminal, where the first indication information includes information used to determine a target random access configuration in the random access configuration.

[0186] Optionally, the random access configuration includes the first indication information. For example, the first indication information is added to the random access configuration, and the first indication information indicates the random access type of the random access configuration, which type can be two-step random access or four-step random access, or two-step and four-step random access, indicating that the random access configuration can support two-step random access, or four-step random access, or both two-step random access and four-step random access. For another example, multiple random access configurations are configured in the random access configuration message, and the first indication information is added to the message, and the first indication information indicates which random access configuration among the multiple random access configurations is used, for example, configurations 1 to N are configured in the random access configuration message, where N is a positive integer greater than 1, and the first indication information indicates configuration M, where M is any integer from 1 to N. For another example, a first indication information is added to the random access configuration, and the first indication information indicates a logical channel identifier or an RB identifier or a service identifier or a QoS flow identifier, and the QoS flow can be a 5G service quality identifier (5G QoS identifier, 5QI) or a vehicle service quality identifier (vehicle QoS identifier, VQI); in this way, the association between the logical channel, RB, service or QoS flow and the random access configuration can be indicated. When the terminal receives the random access configuration, the terminal can learn the association between the logical channel, RB, service or QoS flow and the random access configuration, and thus select a suitable random access configuration for random access.

[0187] Optionally, the terminal receives first indication information from the network device, including:

[0188] The terminal receives the logical channel configuration sent by the network device, and the logical channel configuration includes the first indication information; for example, the index of the random access configuration or the random access type is added to the logical channel configuration, and the first indication information indicates the index of the random access configuration or the type of random access. Or,

[0189] The terminal receives the RB configuration sent by the network device, and the RB configuration includes the first indication information, for example, adding the index of the random access configuration or the random access type in the RB configuration. At this time, the first indication information indicates the index of the random access configuration or the type of random access.

[0190] The logical channel configuration may also include one or more of the following information:

[0191] (1)Logical channel priority;

[0192] (2) allowed serving cells;

[0193] (3) Allowed subcarrier spacing list (allowed SCS list);

[0194] (4) Maximum PUSCH duration (max PUSCH duration);

[0195] (5) Prioritised bit rate;

[0196] (6) Bucket size duration;

[0197] (7) logical channel group;

[0198] (8) Scheduling request ID.

[0199] In an embodiment of the present application, the first indication information can be carried in a random access configuration, or carried in a logical channel configuration or an RB configuration and sent to the terminal, which helps to save signaling overhead.

[0200] Optionally, the first indication information is used to indicate an association relationship between a logical channel (logical channel, LCH) and a target random access configuration.

[0201] Exemplarily, Table 10 shows an association relationship between LCH and random access configuration.

[0202] Table 10 Association between LCH and random access configuration

[0203]

[0204] It should be understood that the above is only explained using LCH as an example, and the first indication information can also be used to indicate the association between a radio bearer (radio bear, RB) and a target random access configuration, wherein the RB can be a signaling radio bearer (signal radio bear, SRB), a data radio bearer (data radio bear, DRB) or a sidelink radio bearer (sidelink radio bear, SLRB); or, the first indication information can also be used to indicate the association between a quality of service (quality of service, QoS) flow and a target random access configuration; or, the first indication information can also be used to indicate the association between a service identifier and a target random access configuration.

[0205] Optionally, the QoS flow can be a 5G QoS identifier (5QI) or a vehicle QoS identifier (VQI).

[0206] It should also be understood that when the first indication information indicates the association between LCH (or RB, QoS flow, service identifier) ​​and the target random access configuration, the terminal can determine the target random access configuration based on the first indication information and use the target random access configuration to initiate random access to the network device.

[0207] Optionally, the first indication information indicates the target random access configuration.

[0208] Specifically, the network device may directly indicate the target random access configuration in the first indication information, and after receiving the first indication information, the terminal directly initiates random access to the network device according to the target random access configuration indicated in the first indication information.

[0209] The first indication information indicates that the target random access configuration may have the following two situations:

[0210] (1) The network device configures a random access configuration (e.g., a two-step random access configuration and / or a four-step random access configuration) to the terminal, and the terminal stores the random access configuration. The first indication information may indicate a type of random access, and the terminal determines a target random access configuration corresponding to the type of random access according to the type of random access.

[0211] Exemplarily, the first indication information instructs the terminal to initiate a two-step random access, wherein the two-step random access includes configuration 1 and configuration 2, and the terminal can use any one of configuration 1 and configuration 2 to initiate a two-step random access to a network device.

[0212] (2) The first indication information directly indicates the target random access configuration, for example, may be an index of the configuration.

[0213] Exemplarily, the random access configuration is as shown in Table 1, and the first indication information may indicate the index of the target random access configuration. For example, the first indication information indicates index 2, and the terminal may adopt configuration 2 to initiate a two-step random access to the network device.

[0214] S530: The terminal initiates random access to the network device using the target random access configuration according to the first indication information.

[0215] Specifically, after receiving the first indication information, the terminal may determine a target random access configuration according to the first indication information, and initiate random access to the network device using the target random access configuration.

[0216] It should be understood that the process of the terminal initiating two-step random access or four-step random access can refer to the above method 300 or method 400, which will not be repeated here for the sake of brevity.

[0217] Optionally, when the first indication information indicates an association relationship between a logical channel and a target random access configuration, the terminal initiates random access to the network device according to the first indication information using the target random access configuration, including:

[0218] The terminal determines a logical channel for data to be transmitted;

[0219] The terminal initiates random access to the network device using the target random access configuration associated with the logical channel according to the association relationship.

[0220] Optionally, the data to be transmitted includes data of an SRB, a DRB or a sidelink radio bearer (SLRB).

[0221] Optionally, the terminal determines a logical channel for data to be transmitted, including:

[0222] The terminal determines the logical channel according to a triggered scheduling request (SR).

[0223] Specifically, the terminal may trigger a scheduling request, and determine a target random access configuration associated with the logical channel according to the logical channel corresponding to the scheduling request and the association relationship, and initiate random access to the network device using the target random access configuration.

[0224] Optionally, triggering a scheduling request may include but is not limited to the following situations:

[0225] (1) When the current terminal has no uplink data transmission, uplink data arrives;

[0226] (2) When the current terminal has uplink data to be transmitted, data with higher priority arrives.

[0227] Since the uplink data is transmitted through a logical channel, the uplink data will correspond to a logical channel, and the triggered scheduling request will correspond to a logical channel.

[0228] Exemplarily, LCH1 is associated with two-step random access configuration and four-step random access configuration, and LCH2 is associated with two-step random access configuration. If the logical channel that triggers SR is logical channel 2, the terminal can use the two-step random access configuration to initiate two-step random access to the network device.

[0229] Optionally, when the target random access configuration includes a two-step random access configuration and a four-step random access configuration, the terminal initiates random access to the network device, including:

[0230] The terminal initiates a two-step random access to the network device.

[0231] Exemplarily, LCH1 is associated with two-step random access configuration and four-step random access configuration, and LCH2 is associated with two-step random access configuration. If the logical channel that triggers SR is logical channel 1, the terminal can preferentially use the two-step random access configuration to initiate two-step random access to the network device.

[0232] Optionally, the terminal initiates a two-step random access to the network device, including:

[0233] During the timer running, the terminal initiates a two-step random access to the network device.

[0234] Exemplarily, the network device may be configured with a timer, during which the terminal can only use the two-step random access configuration to initiate two-step random access to the network device (for example, initiate a preamble of two-step random access to the network device on the time-frequency resources of the two-step random access). After the timer expires, the terminal may use the four-step random access configuration to initiate a four-step random access to the network device (for example, initiate a preamble of four-step random access to the network device on the time-frequency resources of the four-step random access).

[0235] Optionally, the duration of the timer is configured by the network device.

[0236] Optionally, the timer can be started when the terminal first initiates a two-step random access MsgA (such as an MsgA signal or an MsgA load) to the network device on the two-step random access time-frequency resources, or when the terminal decides to trigger the two-step random access.

[0237] It should be understood that when the terminal triggers a scheduling request, if the scheduling request does not have an available physical uplink control channel (PUCCH) to trigger a random access process, the terminal may specifically select two-step random access or four-step random access depending on the previously configured association relationship.

[0238] It should also be understood that when the terminal triggers a scheduling request, if the transmission of the scheduling request on the PUCCH reaches the maximum number of times, random access may also be triggered, and the terminal's specific selection of two-step random access or four-step random access may also depend on the previously configured association relationship.

[0239] Optionally, when the first indication information indicates the target random access configuration, the terminal may directly initiate random access to the network device according to the target random access configuration.

[0240] Optionally, in the following scenarios, the network device directly indicates the type of random access or the target random access configuration:

[0241] (1) Downlink data arrives at the network device, but the terminal loses synchronization in the uplink;

[0242] (2) Network equipment switching or secondary cell group (SCG) change.

[0243] In the above scenario, the network device needs to trigger the terminal to initiate a random access process. Different downlink data has different requirements for latency. For latency-sensitive data, a faster random access process is required to ensure the QoS requirements of the data, so two-step random access can be selected; for latency-insensitive data, two-step random access or four-step random access can be used.

[0244] Optionally, the method 500 further includes:

[0245] The terminal determines that there is no random access resource of the target random access configuration on the first BWP;

[0246] The terminal switches from the first BWP to a second BWP, where the second BWP has random access resources configured for a target random access;

[0247] The terminal initiates random access to the network device using the target random access configuration, including:

[0248] The terminal initiates random access to the network device on the second BWP using the target random access configuration.

[0249] Exemplarily, if the terminal decides to initiate two-step random access based on the association relationship, or the network device instructs the terminal to initiate two-step random access, but the currently activated first BWP does not have random access resources configured by the network device for two-step random access, then the terminal can perform BWP switching, activate the BWP and switch to the second BWP that is configured by the network device for two-step random access. The terminal initiates two-step random access to the network device on the second BWP.

[0250] Optionally, the second BWP may be an initial BWP, a default BWP, or other BWP configured with random access resources of a corresponding random access type by the network device.

[0251] Optionally, the method 500 further includes:

[0252] The terminal receives the second indication information sent by the network device, where the second indication information is used to indicate initiating contention-based two-step random access or initiating non-contention-based two-step random access.

[0253] Specifically, if the terminal decides to initiate two-step random access according to the association relationship, or the network device instructs the terminal to initiate two-step random access, the terminal can also determine whether to initiate contention-based two-step random access or non-contention-based two-step random access according to the second indication information.

[0254] In the random access method of the embodiment of the present application, the terminal can determine the type of random access to be initiated by itself or through the instruction of the network device, which can better meet the needs of certain data or services for effective data transmission.

[0255] Figure 8 A schematic flow chart of a random access method 600 provided in an embodiment of the present application is shown. Figure 8 As shown, the method 600 includes:

[0256] S610: The network device sends a random access configuration to the terminal, and the terminal receives the random access configuration sent by the network device.

[0257] It should be understood that the random access configuration may refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0258] S620, the network device sends first indication information to the terminal, and the terminal receives the first indication information sent by the network device, where the first indication information is used to indicate an association relationship between a logical channel and a target random access configuration.

[0259] Optionally, the first indication information may be carried in the random access configuration in S610.

[0260] Optionally, the network device sends the first indication information to the terminal, including:

[0261] The network device sends a logical channel configuration to the terminal, where the logical channel configuration includes the first indication information.

[0262] It should be understood that in the embodiments of the present application, the order of logical channel configuration and random access configuration is not limited.

[0263] S630: The terminal triggers a scheduling request.

[0264] It should be understood that the process of the terminal triggering a scheduling request may refer to the above method 500, which will not be described in detail here for the sake of brevity.

[0265] S640: The terminal determines a logical channel according to the triggered scheduling request.

[0266] It should be understood that the process of the terminal determining the logical channel according to the triggered scheduling request can refer to the above method 500, which will not be repeated here for the sake of brevity.

[0267] S650: The terminal determines a target random access configuration associated with the logical channel according to the logical channel and the association relationship.

[0268] It should be understood that the process of the terminal determining the target random access configuration may refer to the above method 500, which will not be described in detail here for the sake of brevity.

[0269] S660: The terminal initiates random access to the network device using the target random access configuration.

[0270] In the random access method of the embodiment of the present application, the terminal can select the random access type according to the association between the logical channel and the random access configuration, which helps to better meet the needs of certain data or services, and at the same time, helps the terminal and the network device to perform effective data transmission.

[0271] Fig. 9 A schematic flow chart of a random access method 700 provided in an embodiment of the present application is shown. Fig. 9 As shown, the method 700 includes:

[0272] S710: The network device sends a random access configuration to the terminal, and the terminal receives the random access configuration sent by the network device.

[0273] It should be understood that the random access configuration may refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0274] S720, the network device sends first indication information to the terminal, and the terminal receives the first indication information sent by the network device, where the first indication information is used for target random access configuration.

[0275] Optionally, the first indication information may be carried in the random access configuration in S710.

[0276] Optionally, the network device sends the first indication information to the terminal, including:

[0277] The network device sends a logical channel configuration to the terminal, where the logical channel configuration includes the first indication information.

[0278] It should be understood that in the embodiments of the present application, the order of logical channel configuration and random access configuration is not limited.

[0279] Optionally, the first indication information may be sent via a physical downlink control channel (PDCCH) order (PDCCH order), and the PDCCH order may include uplink resources and preamble allocated by the network device. The preamble may be a contention-based preamble or a non-contention-based preamble.

[0280] It can be seen that the network device can indicate the type of random access initiated by the terminal through the PDCCH order, and then the terminal can initiate the corresponding random access type.

[0281] The network device may use the preamble index in the PDCCH order to instruct the terminal to initiate contention-based two-step random access (2-step CBRA) or contention-based four-step random access (4-step CBRA).

[0282] Optionally, when the preamble index is a first value, the terminal initiates contention-based two-step random access to the network device; when the preamble index is a second value, the terminal initiates contention-based four-step random access to the network device.

[0283] Fig.16 A schematic diagram of a preamble index is shown in FIG. In this embodiment, the preamble index occupies 6 bits and indicates the type of random access through different values. Fig.16 As shown, when the preamble index is 000000, the terminal initiates a contention-based four-step random access to the network device; when the preamble index is 000001, the terminal initiates a contention-based two-step random access to the network device. At this time, the first value of the preamble index is 000001, and the second value is 000000. It can also be the other way around, the second value of the preamble index is 000001, and the first value is 000000; or it can also be implemented by other values, and this embodiment is not limited to this.

[0284] Optionally, the number of bits occupied by the preamble index is increased, and the newly added bits are used to indicate the type of random access. For example, when the preamble index occupies 7 bits and the first 6 bits of the 7 bits are all 0, the terminal determines to initiate contention-based random access; when the 7th bit of the 7 bits takes the first bit value, the terminal initiates contention-based two-step random access to the network device; when the 7th bit of the 7 bits takes the second bit value, the terminal initiates contention-based four-step random access to the network device.

[0285] Fig.17 A schematic diagram of another preamble index is shown in FIG. Fig.17 As shown in the figure, when the preamble index is 0000000, the terminal initiates a contention-based four-step random access to the network device; when the preamble index is 0000001, the terminal initiates a contention-based two-step random access to the network device. At this time, the first bit value of the 7th bit is 1, and the second bit value is 0. It can also be the other way around, the first bit value of the 7th bit is 0, and the second bit value is 1.

[0286] It should be understood that in the embodiments of the present application, there is no specific limitation on the specific value for initiating contention-based two-step random access or contention-based four-step random access, as long as the terminal and the network device predefine this value.

[0287] In one embodiment, the terminal may also determine the type of RA according to its own capabilities.

[0288] Exemplarily, if the terminal receives a PDCCH order sent by a network device with a preamble index of 000000, the terminal can determine to initiate contention-based four-step random access according to the preamble index of 000000; if the terminal receives a PDCCH order sent by a network device with a preamble index of 000001, the terminal can determine to initiate contention-based two-step random access according to the preamble index of 000001. If the terminal determines that it has the ability to initiate two-step random access, it initiates contention-based two-step random access when the preamble index is 000001; if the terminal determines that it does not have the ability to initiate two-step random access, it initiates contention-based four-step random access when the preamble index is 000001.

[0289] Alternatively, the preamble index of 000000 is used to indicate contention-based random access, and the terminal determines whether to initiate two-step or four-step random access based on its own capabilities. If the terminal determines that it has the ability to initiate two-step random access, it initiates contention-based two-step random access when the preamble index is 000000; if the terminal determines that it does not have the ability to initiate two-step random access, it initiates contention-based four-step random access when the preamble index is 000000. In this way, there is no need to use the code point with a preamble index of 000001.

[0290] In the embodiment of the present application, the terminal may refer to a terminal in a connected state. Before the PDCCH order triggers the terminal to initiate random access, the terminal has reported whether it has the ability to initiate two-step random access to the network device, and the network device reports it to the core network. Therefore, when initiating this random access, both the terminal and the network device know whether the terminal has the ability to initiate two-step random access.

[0291] In one embodiment, the network device may also configure the type of random access through RRC dedicated signaling, and then trigger the terminal to initiate the corresponding random access through the PDCCH order. Exemplarily, the network device may determine the type of random access that the terminal needs to initiate based on information such as the type of the terminal, the capability of the terminal, or the measurement report reported by the terminal.

[0292] Fig.18 FIG. 1 shows a schematic flow chart of a network device indicating a terminal random access type through an RRC message. Fig.18 As shown, the network device may send a first RRC message to terminal 1, the first RRC message instructing terminal 1 to initiate contention-based two-step random access when receiving a PDCCH order and the preamble index in the PDCCH order is 000000; the network device may send a second RRC message to terminal 2, the second RRC message instructing terminal 2 to initiate contention-based four-step random access when receiving a PDCCH order and the preamble index in the PDCCH order is 000000. Thereafter, if terminal 1 receives a PDCCH order, if the preamble index therein is 000000, terminal 1 initiates contention-based two-step random access to the network device; if terminal 2 receives a PDCCH order, if the preamble index therein is 000000, terminal 2 initiates contention-based four-step random access to the network device.

[0293] In the embodiment of the present application, the network device may indicate the random access type corresponding to the preamble index to the terminal through an RRC message, and then initiate a random access of the corresponding type when the terminal receives the corresponding preamble index.

[0294] In one embodiment, the network device may also configure a threshold of signal strength or signal quality for the terminal through RRC signaling. The threshold of each terminal may be the same or different. The terminal may determine the type of random access initiated by itself according to the threshold.

[0295] The following is an example of a network device configuring a reference signal receiving power (RSRP) in an RRC message. Fig.19 Another schematic flow chart of a network device indicating a terminal random access type through an RRC message is shown. Fig.19 As shown, the network device can send a third RRC message to terminal 3, and the third RRC message indicates the RSRP threshold 1; the network device can send a fourth RRC message to terminal 4, and the fourth RRC message indicates the RSRP threshold 2. If terminal 3 receives a PDCCH order, and the preamble index in it is 000000, terminal 3 can judge whether to initiate a contention-based two-step random access or a contention-based four-step random access according to threshold 1. Exemplarily, if the RSRP calculated by terminal 3 is greater than or equal to threshold 1, terminal 3 initiates a contention-based two-step random access; if the RSRP calculated by terminal 3 is less than threshold 1, terminal 3 initiates a contention-based four-step random access. In this example, when RSRP is equal to threshold 1, the terminal initiates a contention-based two-step random access. In other examples, when RSRP is equal to threshold 1, the terminal initiates a contention-based four-step random access.

[0296] If terminal 4 receives a PDCCH order in which the preamble index is 000000, terminal 4 can determine whether to initiate contention-based two-step random access or contention-based four-step random access according to threshold 2. Exemplarily, if the RSRP calculated by terminal 4 is greater than or equal to threshold 2, terminal 4 initiates contention-based two-step random access; if the RSRP calculated by terminal 4 is less than threshold 2, terminal 4 initiates contention-based four-step random access. In this example, when RSRP is equal to threshold 2, the terminal initiates contention-based two-step random access. In other examples, when RSRP is equal to threshold 2, the terminal initiates contention-based four-step random access.

[0297] It should be understood that the above Fig.19The RSRP is used for illustration, but the embodiments of the present application are not limited thereto. The network device may also configure a reference signal receiving quality (RSRQ) threshold or a received signal strength indication (RSSI) threshold in the RRC message.

[0298] In one embodiment, the terminal may also determine the type of random access according to the search space of the received PDCCH order.

[0299] The network device can configure multiple sets of PDCCH search spaces for the terminal, and different sets of search spaces can correspond to different random access types. The terminal initiates the corresponding random access based on the search space from which it receives the PDCCH order. For example, if the terminal receives the PDCCH order from search space 1, and the preamble index therein is 000000, then the terminal initiates a contention-based two-step random access; if the terminal receives the PDCCH order from search space 2, and the preamble index therein is 000000, then the terminal initiates a contention-based four-step random access.

[0300] Optionally, after the terminal attempts to initiate contention-based two-step random access for a maximum number of times, it may attempt to initiate contention-based four-step random access.

[0301] It should be understood that the above embodiments assume that the network device triggers the terminal to initiate contention-based random access through the PDCCH order. The embodiments of the present application are not limited to this. The network device can also trigger the terminal to initiate contention-based random access through signaling of other layers, such as RRC messages, MAC CE, etc.

[0302] In the embodiment of the present application, the terminal can determine the type of random access initiated by itself through the instruction of the network device or through the judgment of the terminal itself.

[0303] In the existing protocol, if the preamble index indicated in the PDCCH order is equal to 000000, the terminal initiates contention-based random access, otherwise, the terminal initiates non-contention-based random access. Since the existing mechanism only supports non-contention-based four-step random access and does not support non-contention-based two-step random access, when the PDCCH order indicates that the terminal initiates non-contention-based random access, there is no need to distinguish whether it is four-step or two-step.

[0304] After the introduction of non-contention-based two-step random access, since the transmission resources of non-contention-based four-step random access (4-step CFRA) and non-contention-based two-step random access (2-step CFRA) are different, the non-contention-based four-step random access and the non-contention-based two-step random access can be further distinguished. In this embodiment, "4-step CFRA" is used to represent the original non-contention random access process. In fact, this random access process does not really have 4 steps. The term 4 steps is used only to distinguish it from the newly introduced "2-step CFRA".

[0305] like Fig. 20 As shown in the figure, in the "4-step CFRA", the terminal first sends a dedicated preamble to the network device (such as DU). After receiving the dedicated preamble of the terminal, the network device replies to the terminal with a random access response (RAR). After sending the dedicated preamble, the terminal starts to listen to the message replied by the network device. After the terminal receives the RAR, it marks the end of the random access process. The dedicated preamble has been sent to the terminal by the network device through a system message before initiating the random access process.

[0306] In the "2-step CFRA", the terminal first sends a message A (MsgA) containing a dedicated preamble and an uplink shared channel payload (PUSCH payload) to the network device, and then starts to listen to and receive a message B (MsgB) containing uplink resource scheduling information replied by the network device. After the terminal receives MsgB, it marks the end of the random access process.

[0307] The dedicated preamble means that the preamble is allocated to the terminal by the network device and is dedicated to the random access of the terminal. Therefore, unlike the contention-based random access process, the preamble will not conflict with the preambles used by other terminals.

[0308] Optionally, the terminal receives first indication information from the network device, and the first indication information may be a physical random access channel mask index PRACH Mask Index. When the PRACH Mask Index takes a first value, the terminal initiates a non-competition-based two-step random access; when the PRACH Mask Index takes a second value, it initiates a non-competition-based four-step random access.

[0309] It should be understood that the PRACH Mask Index can be carried in the PDCCH order.

[0310] In the prior art, if the network device can trigger the terminal to initiate CFRA through a PDCCH order or a dedicated RRC message, a mask field can be used to further limit the physical random access channel time-frequency resource (PRACH occasion) for the terminal to send a preamble. This is equivalent to dividing a subset in the PRACH occasion, and the terminal can only select a PRACH occasion in this PRACH occasion subset to initiate CFRA.

[0311] Optionally, the value of the PRACH Mask Index may also indicate a physical random access channel PRACH resource, and the resource indicated may be all available PRACH resources, from which the terminal may select a resource to initiate random access.

[0312] The first value is also used to indicate a physical random access channel resource of a non-contention-based two-step random access;

[0313] The second value is also used to indicate a physical random access channel resource of a non-contention-based four-step random access.

[0314] It should be understood that in the embodiment of the present application, the physical random access channel resource may be a PRACH occasion.

[0315] Table 11 shows a correspondence between a PRACH Mask Index and a corresponding PRACH occasion.

[0316] Table 11

[0317]

[0318] Exemplarily, when the PRACH Mask Index is 11, the terminal may initiate a 2-step CFRA on all PRAC Hoccasions of a 2-step CFRA; and when the PRACH Mask Index is 12, the terminal may initiate a 4-step CFRA on all PRAC Hoccasions of a 4-step CFRA.

[0319] In the embodiment of the present application, two options are added in Table 1 (PRACH Mask Index is 11 and PRACHMask Index is 12), which respectively indicate "preamble index corresponds to all PRACH occasions of 2-step CFRA" and "preamble index corresponds to all PRACH occasions of 4-step CFRA". In this way, after receiving the PDCCHorder or RRC message, if the preamble index is not equal to 000000 or 000001, the terminal can determine to initiate CFRA. Further, the terminal determines whether to initiate 2-step CFRA or 4-step CFRA through mask. After determining the CFRA type, find the first PRACH occasion that meets the conditions and start trying random access.

[0320] In the embodiment of the present application, the network device can divide the preamble in each PRACH occasion, some of which can be used for 2-step CFRA, some of which can be used for 4-step CFRA, some of which can be used for 2-step CBRA, and some of which can be used for 4-step CBRA. The division of these four types of preambles in different PRACH occasions can be the same or different, and a PRACH occasion does not necessarily contain these four types of preambles, and can contain only one, two or three types.

[0321] Specifically for CFRA, the preamble index area used for 2-step CFRA and 4-step CFRA may be different in each PRACH occasion. Fig.21 As shown, preamble index = 23, indicating a 2-step CFRA resource in the first and second PRACH occasions, and a 4-step CFRA resource in the third and fourth PRACH occasions. In this case, the terminal may not be able to determine whether to initiate a 2-step CFRA or a 4-step CFRA based on the preamble index alone.

[0322] The following describes the process by which a terminal determines whether to initiate a 2-step CFRA or a 4-step CFRA:

[0323] (1) The network device may send a mapping relationship map between the PRACH Occasion Index and the four random access types to the terminal.

[0324] It should be understood that in this step, the network device may send the mapping relationship to the terminal in the form of broadcasting.

[0325] (2) The network device sends a PDCCH order to the terminal, triggering the terminal to perform random access.

[0326] (3) The terminal determines whether the received preamble index indicates that it initiates CBRA or CFRA. Specifically, if the preamble index is equal to 000000, it indicates that the network device instructs the terminal to initiate CBRA, and other values ​​indicate that the network device instructs the terminal to initiate CFRA; or, if the preamble index is equal to 000000 or 000001, it indicates that the network device instructs the terminal to initiate CBRA, and other values ​​indicate that the network device instructs the terminal to initiate CFRA.

[0327] (4) If the terminal determines that the PDCCH order indicates that it initiates CFRA, it needs to further determine whether it is a 2-step CFRA or a 4-step CFRA. Exemplarily, the terminal device determines based on the preamble in the earliest PRACH Occasion after the PDCCH order.

[0328] Taking preamble index=23 as an example below, if preamble index=23 in the PDCCH order belongs to 2-step CFRA in the PRACH occasion, the terminal initiates 2-step CFRA.

[0329] If the preamble index=23 in the PDCCH order belongs to 4-step CFRA in the PRACH occasion, the terminal initiates 4-step CFRA.

[0330] If the preamble index in the base PDCCH order does not belong to 2-step CFRA or 4-step CFRA in the PRACH occasion, the terminal will search for the next PRACH occasion and continue to judge until a PRACH occasion is found and preamble index = 23 corresponds to 2-step CFRA or 4-step CFRA in this PRACH occasion.

[0331] Optionally, the terminal receives a PDCCH order from a network device, where the PDCCH order includes a preamble index and a synchronization signal broadcast channel block index SSB index, where the SSB index and the PRACH resource range have a corresponding relationship, and the initiating a non-contention-based two-step random access or initiating a non-contention-based four-step random access to the network device includes:

[0332] The terminal determines one or more PRACH resources according to the SSB index;

[0333] The terminal selects a first PRACH resource from the one or more PRACH resources according to the preamble index, and initiates a non-contention-based two-step random access or a non-contention-based four-step random access to the network device.

[0334] If the PDCCH order also includes the SSB index, the terminal selects an earliest PRACH occasion within the PRACHhoccasion range indicated by the SSB index to perform the above judgment and determine whether to initiate a 2-step CFRA or a 4-step CFRA.

[0335] Exemplarily, the terminal determines that the PRACH occasion after receiving the PDCCH order includes occasion 1, occasion 2, occasion 3 and occasion 4. The terminal can determine that random access can be initiated on occasion 1 and occasion 2 according to the SSB index. If the preamble index included in the PDCCH order is 23, the terminal can first determine on occasion 1 that the random access type corresponding to the preamble index = 23 is 2-step CFRA, and the terminal can initiate a 2-step CFRA to the network device.

[0336] If the PDCCH order also includes SSB index and PRACH Mask Index, the terminal further selects the PRACH Occasion range indicated by the PRACH Mask Index within the PRACH occasion range indicated by the SSB index, and finally selects the earliest one within the selected PRACH occasion range, performs the above judgment, and determines whether to initiate a 2-step CFRA or a 4-step CFRA.

[0337] Optionally, if the terminal selects 2-step CFRA or 4-step CFRA, the terminal may not change the type of random access in subsequent random access attempts.

[0338] Optionally, if the terminal fails to succeed in the first attempt of 2-step CFRA or 4-step CFRA, the terminal continues to determine the second PRACH occasion according to the previous step, and then determines whether the preamble in the second PRACH occasion is the CFRA type that it has selected. If yes, it tries 2-step CFRA or 4-step CFRA again. If not, it determines the third PRACH occasion and continues the above process. Fig.21 If the preamble index notified in the PDCCH order is 23, the terminal determines that this is a 2-step CFRA resource in the first PRACH occasion and initiates a 2-step CFRA; in the second PRACH occasion, preamble index = 23 corresponds to a 2-step CFRA resource, and the terminal tries 2-step CFRA again; in the third PRACH occasion, preamble index = 23 does not correspond to a 2-step CFRA resource, and the terminal skips it.

[0339] Fig. 22 A schematic flow chart of a terminal determining a random access type is shown.

[0340] Optionally, the terminal can change the RA type each time it attempts RA, switching between 2-step CFRA and 4-step CFRA. For each PRACH occasion, the terminal selects 2-step CFRA or 4-step CFRA according to the preamble index in the PDCCH order. When continuing to try, the terminal selects the RA type again. For example, Fig.21 In the example, if the preamble index indicated by the PDCCH order is 23, the terminal initiates a 2-step CFRA corresponding to the first and second PRACH occasions, and initiates a 4-step CFRA corresponding to the third and fourth PRACH occasions. Using this method, the CFRA type selected by the terminal each time may be different.

[0341] Optionally, for the case where the preamble index is not equal to 000000 or 000001, if the terminal finds that the preamble index indicated by the preamble index corresponds to the RA type of CBRA in a certain PRACH occasion, it can skip and initiate RA in the next PRACH occasion, or it can not skip and use the current PRACH occasion to initiate a 2-step CBRA or a 4-step CBRA. The specific one can be configured by the network or left to the terminal to implement.

[0342] If the terminal attempts 2-step CFRA the maximum number of times, it has the following options:

[0343] One is to start trying 4-step CFRA, one is to start trying 2-step CBRA, and one is to start trying 4-step CBRA. Which one to try can be specified by the protocol or configured by RRC signaling (dedicated or public). If the terminal tries 4-step CFRA, it continues to use the preamble index originally indicated by the network device, such as preambleindex=23 in the previous example. The terminal selects the PRACH occasion corresponding to the 4-step CFRA of the preamble index, such as Fig.21 If the terminal attempts 2-step CBRA or 4-step CBRA, it abandons the preamble index originally indicated by the network device, selects the next nearest PRAC Hoccasion containing the preamble corresponding to 2-step CBRA or 4-step CBRA, randomly selects a preamble corresponding to 2-step CBRA or 4-step CBRA, and continues to try random access.

[0344] It should be understood that the uplink resources allocated by the network device included in the PDCCH order are PUSCH resources, which are used to send user plane data or control plane data. The first indication information may also include the time-frequency resources for two-step random access or the time-frequency resources for four-step random access allocated by the network device. The time-frequency resources for two-step random access or the time-frequency resources for four-step random access can be associated with SSB. Among them, SSB includes synchronization signals (for example, primary synchronization signals and secondary synchronization signals) and physical broadcast channels. The purpose of the above association is to allow the terminal to determine the receiving parameters to receive the response message (that is, MsgB) to MsgA.

[0345] Optionally, if the time-frequency resources of the two-step random access and the time-frequency resources of the four-step random access are shared, and the preambles are separate, the network device may select a preamble from the preambles of the two-step random access and send the index of the preamble to the terminal. The terminal may determine to perform contention-based two-step random access according to the index of the preamble.

[0346] Optionally, when the first indication information instructs the terminal to initiate two-step random access, or when the first indication information instructs the terminal to initiate random access using a configuration corresponding to the two-step random access, the method further includes:

[0347] The network device sends second indication information to the terminal, where the second indication information is used to instruct the terminal to initiate contention-based two-step random access or non-contention-based two-step random access.

[0348] S730: The terminal initiates random access to the network device using the target random access configuration.

[0349] Exemplarily, if the network device indicates to initiate contention-based two-step random access, then the terminal initiates contention-based two-step random access; if the network device indicates to initiate non-contention-based two-step random access, then the terminal initiates non-contention-based two-step random access; if the network device indicates to initiate contention-based four-step random access, then the terminal initiates contention-based four-step random access.

[0350] In the random access method in the embodiment of the present application, the network device can directly indicate the type of random access initiated to the terminal, which helps to better meet the needs of certain data or services, and at the same time, helps the terminal and the network device to perform effective data transmission.

[0351] Fig.10 FIG. 8 is a schematic flow chart of a random access method 800 provided in an embodiment of the present application. The method 800 is mainly applied to switching or SCG change, such as Fig.10 As shown, the method 800 includes:

[0352] S810, a first network device sends first indication information to a second network device, and the second network device receives the first indication information sent by the first network device, where the first indication information is used to indicate a type of random access initiated by the terminal to the first network device.

[0353] Optionally, the first network device is a target auxiliary network device, and the second network device is a source auxiliary network device.

[0354] Exemplarily, in an SCG change scenario, the first network device and the second network device may both be auxiliary network devices.

[0355] In LTE, if it is the first time to add SCG, the second network device can send a secondary network device addition request (secondary eNB addition request, SeNB addition request) message to the first network device, and the first network device sends a secondary network device addition request confirmation (secondary eNB addition request acknowledge, SeNB addition request acknowledge) message to the second network device, and the secondary network device addition request confirmation message can carry the first indication information.

[0356] In LTE, if the SCG is modified, the second network device may send a secondary eNB modification request (secondary eNB modification request, SeNB modification request) message to the first network device, and the first network device may send a secondary eNB modification request acknowledgement (secondary eNB modification request acknowledgement, SeNB modification request acknowledgement) message to the second network device, and the secondary network device modification request acknowledgement message may carry the first indication information.

[0357] In NR, if it is the first time to add SCG, the second network device can send a secondary network device addition request (secondary node addition request, S-node addition request) message to the first network device, and the first network device sends a secondary network device addition request confirmation (secondary node addition request acknowledge, S-node addition request acknowledge) message to the second network device, and the secondary network device addition request confirmation message can carry the first indication information.

[0358] In NR, if the SCG is modified, the second network device may send a secondary node modification request (secondary node modification request, S-node modification request) message to the first network device, and the first network device may send a secondary node modification request acknowledgement (secondary node modification request acknowledgement, S-node modification request acknowledgement) message to the second network device, and the secondary network device modification request acknowledgement message may carry the first indication information.

[0359] Optionally, the first network device is a target master network device, and the second network device is a source master network device.

[0360] Exemplarily, in a handover scenario, the first network device and the second network device may both be master network devices. The second network device sends a handover request message to the first network device, and the first network device replies with a handover request acknowledgement message, which may carry the first indication information.

[0361] In an embodiment of the present application, if it is a switching scenario, the first indication information sent by the first network device to the second network device can be carried in a switching request confirmation message; in an SCG change scenario, the first indication information sent by the first network device to the second network device can be carried in a secondary network device addition request confirmation message or a secondary network device modification request confirmation message.

[0362] Optionally, the handover request confirmation message further includes uplink resources allocated by the first network device and a preamble. The preamble may be a contention-based preamble or a non-contention-based preamble.

[0363] Optionally, the method 800 further includes:

[0364] The terminal receives the random access configuration sent by the second network device.

[0365] Optionally, the random access configuration is generated by the first network device, sent by the first network device to the second network device, and forwarded by the second network device to the terminal.

[0366] Exemplarily, in the SCG change scenario, if the SCG is added for the first time, the random access configuration can be carried in the auxiliary network device addition request confirmation (in LTE, it can be SeNB addition request acknowledgement; in NR, it can be S-node addition request acknowledgement) message, and sent by the first network device to the second network device.

[0367] Exemplarily, in the SCG change scenario, if the SCG is modified, the random access configuration can be carried in the secondary network device modification request acknowledgement (in LTE, it can be SeNB modification request acknowledgement; in NR, it can be S-node modification request acknowledgement) message, which is sent by the first network device to the second network device.

[0368] Exemplarily, in a handover scenario, the random access configuration may be carried in a handover request confirmation message, and sent by the first network device to the second network device.

[0369] It should be understood that the random access configuration may refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0370] The first indication information may also include the time-frequency resources for two-step random access or the time-frequency resources for four-step random access allocated by the network device. The time-frequency resources for two-step random access or the time-frequency resources for four-step random access may be associated with SSB. Among them, SSB includes synchronization signals (for example, primary synchronization signals and secondary synchronization signals) and physical broadcast channels. The purpose of the above association is to allow the terminal to determine the receiving parameters to receive the response message (that is, MsgB) to MsgA.

[0371] Optionally, if the time-frequency resources of the two-step random access and the time-frequency resources of the four-step random access are shared, and the preambles are separate, the network device may select a preamble from the preambles of the two-step random access and send the index of the preamble to the terminal. The terminal may determine to perform contention-based two-step random access according to the index of the preamble.

[0372] Optionally, when the first indication information instructs the terminal to initiate two-step random access, or when the first indication information instructs the terminal to initiate random access using a configuration corresponding to the two-step random access, the method further includes:

[0373] The first network device sends second indication information to the second network device, where the second indication information is used to instruct the terminal to initiate contention-based two-step random access or non-contention-based two-step random access.

[0374] Optionally, the second indication information may be carried in a secondary network device addition request confirmation message (in LTE, it may be SeNB addition request acknowledge; in NR, it may be S-node addition request acknowledge) message, a secondary network device modification request confirmation message (in LTE, it may be SeNB modification request acknowledge; in NR, it may be S-node modification request acknowledge) message or a switching request confirmation message.

[0375] S820: The second network device sends the first indication information to the terminal.

[0376] Exemplarily, in a handover scenario, the first indication information may be carried in an RRC connection reconfiguration message or an RRC reconfiguration message.

[0377] It should be understood that, in a handover scenario in LTE, the first indication information sent by the second network device to the terminal may be carried in an RRC connection reconfiguration message. Exemplarily, the first indication information may be carried in mobility control information in the RRC connection reconfiguration message.

[0378] It should also be understood that, in a switching scenario in NR, the first indication information sent by the second network device to the terminal may be carried in an RRC reconfiguration message. Exemplarily, the first indication information may be carried in a synchronization reconfiguration message in the RRC reconfiguration message.

[0379] Exemplarily, in an SCG change scenario in LTE (e.g., adding an SCG for the first time or modifying an SCG), the first indication information sent by the second network device to the terminal may be carried in an RRC connection reconfiguration message. Exemplarily, the first indication information may be carried in the mobility control information in the RRC connection reconfiguration message.

[0380] Exemplarily, in the SCG change scenario in NR (for example, adding SCG for the first time or modifying SCG), the first indication information sent by the second network device to the terminal may be carried in an RRC reconfiguration message. Exemplarily, the first indication information may be carried in a synchronization reconfiguration message in the RRC reconfiguration message. It should be understood that the random access configuration may be carried in an RRC connection reconfiguration message or an RRC reconfiguration message, and sent by the second network device to the terminal.

[0381] It should also be understood that the second indication information may be carried in an RRC connection reconfiguration message or an RRC reconfiguration message, and sent by the second network device to the terminal.

[0382] S830: The terminal initiates random access to the first network device according to the first indication information.

[0383] Exemplarily, after receiving the first indication information, the terminal may determine the random access type according to the first indication information, use the corresponding random access configuration, and initiate the corresponding random access process (two-step random access or four-step random access). If the first network device indicates to initiate a contention-based two-step random access, the terminal initiates a contention-based two-step random access; if the first network device indicates to initiate a non-contention-based two-step random access, the terminal initiates a non-contention-based two-step random access; if the first network device indicates to initiate a contention-based four-step random access, the terminal initiates a contention-based four-step random access.

[0384] In the random access method in the embodiment of the present application, the network device can directly indicate the type of random access initiated to the terminal, which helps to better meet the needs of certain data or services, and at the same time, helps the terminal and the network device to perform effective data transmission.

[0385] Above, combined Figures 5 to 10 The random access method provided by the embodiment of the present application is described in detail.

[0386] The embodiments of the present application also provide a device for implementing any of the above methods. For example, a device is provided, including a unit (or means) for implementing each step performed by the terminal in any of the above methods. For another example, another device is provided, including a unit (or means) for implementing each step performed by the network device in any of the above methods.

[0387] Fig.11 A schematic block diagram of a random access device 900 provided in an embodiment of the present application is shown. Fig.11 As shown, the random access device 900 may include a receiving unit 910 and a random access unit 920 .

[0388] In one possible design, the device 900 may be a terminal in the above-mentioned methods 300 to 800, or a chip configured in the terminal.

[0389] Specifically, the receiving unit 910 is used to receive a random access configuration from a network device;

[0390] The receiving unit 910 is further configured to receive first indication information from a network device, where the first indication information is used to determine a target random access configuration in the random access configuration;

[0391] The random access unit 920 is configured to initiate a random access to the network device using the target random access configuration according to the first indication information.

[0392] Optionally, the first indication information indicates the target random access configuration.

[0393] Optionally, the first indication information indicates an association relationship between a logical channel and a target random access configuration, and the random access unit 920 is specifically configured to:

[0394] Determining the logical channel for data to be transmitted;

[0395] According to the association relationship, random access is initiated to the network device using the target random access configuration associated with the logical channel.

[0396] Optionally, the random access unit 920 determines the logical channel for data to be transmitted, including:

[0397] The random access unit 920 determines the logical channel according to the triggered SR.

[0398] Optionally, the first indication information indicates an association relationship between the QoS flow and the target random access configuration, and the random access unit 920 is specifically used to:

[0399] Determine the QoS flow of the data to be transmitted;

[0400] According to the association relationship, random access is initiated to the network device using the target random access configuration associated with the QoS flow.

[0401] Optionally, the target random access configuration includes a two-step random access configuration and a four-step random access configuration, and the random access unit 920 is specifically used to:

[0402] Initiate a two-step random access to the network device.

[0403] Optionally, the random access unit 920 is specifically configured to:

[0404] During the timer running, a two-step random access is initiated to the network device.

[0405] Optionally, the device 900 further includes:

[0406] A determining unit 930 is configured to determine that there is no random access resource of a target random access configuration on the first bandwidth part BWP;

[0407] A switching unit 940 is configured to switch from the first BWP to a second BWP, where the second BWP has random access resources configured for a target random access;

[0408] The random access unit 920 is specifically used for:

[0409] On the second BWP, a random access is initiated to the network device using the target random access configuration.

[0410] Optionally, the second BWP is an initial BWP or a default BWP.

[0411] Optionally, the random access configuration includes the first indication information.

[0412] Optionally, the receiving unit 910 is specifically configured to:

[0413] receiving a logical channel configuration from the network device, where the logical channel configuration includes the first indication information; or,

[0414] Receive a RB configuration from the network device, where the RB configuration includes the first indication information.

[0415] Optionally, the receiving unit 910 is further configured to:

[0416] Second indication information is received from the network device, where the second indication information is used to indicate initiation of contention-based two-step random access or initiation of non-contention-based two-step random access.

[0417] In one embodiment, the receiving unit 910 is further configured to receive first indication information from a network device, where the first indication information is used to determine the random access type;

[0418] The random access unit 920 is further configured to initiate, according to the first indication information, a random access of the type indicated by the first indication information to the network device.

[0419] Optionally, the first indication information is a physical random access channel mask index PRACH Mask Index, and the random access unit 920 is specifically used to:

[0420] When the PRACH Mask Index takes the first value, non-contention-based two-step random access is initiated; or,

[0421] When the PRACH Mask Index takes the second value, non-contention-based four-step random access is initiated.

[0422] Optionally, the first value is also used to indicate a physical random access channel PRACH resource of a non-contention-based two-step random access;

[0423] The second value is also used to indicate a physical random access channel resource of a non-contention-based four-step random access.

[0424] Optionally, the first indication information is a preamble index, and the random access unit 920 is specifically configured to:

[0425] When the value of the preamble index is the first value, initiating contention-based two-step random access to the network device; or,

[0426] When the value of the preamble index is the second value, a contention-based four-step random access is initiated to the network device.

[0427] Optionally, the preamble index occupies 7 bits, and when the first 6 bits of the 7 bits are all 0 and the value of the 7th bit of the 7 bits is the first bit value, the preamble index is used to indicate initiation of contention-based two-step random access, wherein when the value of the 7th bit is the first bit value, the value of the preamble index is the first value; or,

[0428] When the first 6 bits of the 7 bits are all 0 and the 7th bit of the 7 bits is a second bit value, the preamble index is used to indicate the initiation of contention-based four-step random access, wherein when the value of the 7th bit is the second bit value, the value of the preamble index is the second value.

[0429] Optionally, when the preamble index is a value other than the first value and the second value, the random access unit 920 is specifically configured to:

[0430] According to the terminal's capability, channel status, the location of the physical downlink control channel PDCCH resource, or the mapping relationship between the preamble index and the PRACH resource, a non-contention-based two-step random access or a non-contention-based four-step random access is initiated to the network device.

[0431] Optionally, the receiving unit 910 is specifically used to: receive a physical downlink control channel command PDCCH order from a network device, where the PDCCH order includes a preamble index and a synchronization signal broadcast channel block index SSB index, and the SSB index and the PRACH resource range have a corresponding relationship, and the random access unit 920 is specifically used to:

[0432] Determine one or more PRACH resources according to the SSB index;

[0433] According to the preamble index, a first PRACH resource is selected from one or more PRACH resources, and a non-contention-based two-step random access or a non-contention-based four-step random access is initiated to the network device.

[0434] It should be understood that the apparatus 900 may correspond to the terminal in the random access method 500 to the method 800 according to the embodiment of the present application, and the apparatus 900 may include a unit for executing the method executed by the terminal in the method 500 to the method 800. In addition, each unit in the apparatus 900 and the above-mentioned other operations and / or functions are respectively for implementing the corresponding processes of the method 500 to the method 800. For the specific process of each unit executing the above-mentioned corresponding steps, please refer to the above-mentioned combined Figures 7 to 10 For the sake of brevity, the description of the method embodiment is not repeated here.

[0435] Fig.12 A schematic block diagram of a random access device 1000 provided in an embodiment of the present application is shown. Fig.12 As shown, the random access device 1000 may include a determining unit 1010 , a sending unit 1020 and a receiving unit 1030 .

[0436] In one possible design, the random access device may be the network device in the above-mentioned methods 300 to 800, or a chip configured in the network device.

[0437] Specifically, the determining unit 1010 is used to determine the random access configuration;

[0438] A sending unit 1020, configured to send the random access configuration to the terminal;

[0439] The sending unit 1020 is further configured to send first indication information to the terminal, where the first indication information is used to determine a target random access configuration in the random access configuration;

[0440] The receiving unit 1030 is configured to receive a random access initiated by the terminal using the target random access configuration.

[0441] Optionally, the first indication information indicates the target random access configuration.

[0442] Optionally, the first indication information indicates an association relationship between a logical channel and a target random access configuration.

[0443] Optionally, the first indication information indicates an association between the QoS flow and the target random access configuration.

[0444] Optionally, the target random access configuration includes a two-step random access configuration and a four-step random access configuration, and the receiving unit 1030 is specifically configured to:

[0445] A two-step random access initiated by the terminal is received.

[0446] Optionally, the random access configuration includes the first indication information.

[0447] Optionally, the sending unit 1020 is specifically configured to:

[0448] Sending a logical channel configuration to the terminal, where the logical channel configuration includes the first indication information; or,

[0449] Sending a RB configuration to the terminal, where the RB configuration includes the first indication information.

[0450] Optionally, the sending unit 1020 is specifically configured to:

[0451] Sending an RRC connection reconfiguration message to the terminal, where the RRC connection reconfiguration message includes the first indication information; or,

[0452] An RRC reconfiguration message is sent to the terminal, where the RRC reconfiguration message includes the first indication information.

[0453] It should be understood that the apparatus 1000 may correspond to the network device in the random access method 500 to the method 800 according to the embodiment of the present application, and the apparatus 1000 may include a unit for executing the method executed by the network device of the method 500 to the method 800. In addition, each unit in the apparatus 1000 and the above-mentioned other operations and / or functions are respectively for implementing the corresponding processes of the method 500 to the method 800. For the specific process of each unit executing the above-mentioned corresponding steps, please refer to the above-mentioned combined method. Figures 7 to 10 For the sake of brevity, the description of the method embodiment is not repeated here.

[0454] It should be understood that the division of the units in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And the units in the device can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in the memory in the form of a program, and called and executed by a certain processing element of the device. The function of the unit. In addition, all or part of these units can be integrated together, or they can be implemented independently. The processing element described here can also be a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by an integrated logic circuit of hardware in the processor element or in the form of software calling through a processing element.

[0455] In one example, the unit in any of the above devices may be one or more integrated circuits configured to implement the above method, such as: one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0456] The above unit for receiving is an interface circuit of the device, which is used to receive signals from other devices. For example, when the device is implemented in the form of a chip, the receiving unit is an interface circuit of the chip used to receive signals from other chips or devices. The above unit for sending is an interface circuit of the device, which is used to send signals to other devices. For example, when the device is implemented in the form of a chip, the sending unit is an interface circuit of the chip used to send signals to other chips or devices.

[0457] Fig.13 The schematic diagram of the structure of the terminal provided in the embodiment of the present application is shown, which may be the terminal in the above embodiment, and is used to implement the operation of the terminal in the above embodiment. Fig.13 As shown, the terminal includes: an antenna 1110, a radio frequency part 1120, and a signal processing part 1130. The antenna 1110 is connected to the radio frequency part 1120. In the downlink direction, the radio frequency part 1120 receives information sent by the network device through the antenna 1110, and sends the information sent by the network device to the signal processing part 1130 for processing. In the uplink direction, the signal processing part 1130 processes the information of the terminal and sends it to the radio frequency part 1120, and the radio frequency part 1120 processes the information of the terminal and sends it to the network device through the antenna 1110.

[0458] The signal processing part 1130 may include a modulation and demodulation subsystem for processing each communication protocol layer of the data; it may also include a central processing subsystem for processing the terminal operating system and the application layer; in addition, it may also include other subsystems, such as a multimedia subsystem, a peripheral subsystem, etc., wherein the multimedia subsystem is used to control the terminal camera, screen display, etc., and the peripheral subsystem is used to connect to other devices. The modulation and demodulation subsystem can be a separately set chip. Optionally, the above device for the terminal can be located in the modulation and demodulation subsystem.

[0459] The modem subsystem may include one or more processing elements 1131, for example, including a main control CPU and other integrated circuits. In addition, the modem subsystem may also include a storage element 1132 and an interface circuit 1133. The storage element 1132 is used to store data and programs, but the program for executing the method executed by the terminal in the above method may not be stored in the storage element 1132, but stored in a memory outside the modem subsystem, and loaded and used by the modem subsystem when used. The interface circuit 1133 is used to communicate with other subsystems. The above device for the terminal may be located in the modem subsystem, and the modem subsystem may be implemented by a chip, which includes at least one processing element and an interface circuit, wherein the processing element is used to execute each step of any method executed by the above terminal, and the interface circuit is used to communicate with other devices. In one implementation, the unit for the terminal to implement each step in the above method can be implemented in the form of a processing element scheduling program, for example, the device for the terminal includes a processing element and a storage element, and the processing element calls the program stored in the storage element to execute the method executed by the terminal in the above method embodiment. The storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element.

[0460] In another implementation, the program for executing the method executed by the terminal in the above method can be in a storage element on a different chip from the processing element, that is, an off-chip storage element. In this case, the processing element calls or loads the program from the off-chip storage element to the on-chip storage element to call and execute the method executed by the terminal in the above method embodiment.

[0461] In another implementation, the unit implementing each step in the above method in the terminal may be configured as one or more processing elements, which are arranged on the modem subsystem, and the processing elements here may be integrated circuits, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these integrated circuits. These integrated circuits may be integrated together to form a chip.

[0462] The units for implementing the above methods in the terminal can be integrated together and implemented in the form of SOC, and the SOC chip is used to implement the above methods. The chip can integrate at least one processing element and storage element, and the processing element calls the stored program of the storage element to implement the above terminal execution method; or, the chip can integrate at least one integrated circuit to implement the above terminal execution method; or, the above implementation methods can be combined, and the functions of some units are implemented by the processing element calling the program, and the functions of some units are implemented by the integrated circuit.

[0463] It can be seen that the above device for a terminal may include at least one processing element and an interface circuit, wherein at least one processing element is used to execute any one of the terminal execution methods provided in the above method embodiments. The processing element may execute part or all of the steps executed by the terminal in a first manner: that is, by calling a program stored in a storage element; or in a second manner: that is, by combining an integrated logic circuit of hardware in a processor element with instructions to execute part or all of the steps executed by the terminal; of course, the first manner and the second manner may also be combined to execute part or all of the steps executed by the terminal.

[0464] The processing element here is the same as described above, and can be a general-purpose processor, such as a CPU, or can be one or more integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more microprocessors DSPs, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.

[0465] A storage element may be a memory or a collective term for multiple storage elements.

[0466] Fig.14 The schematic diagram of the structure of the network device provided in the embodiment of the present application is shown, which may be the network device in the above embodiment, and is used to implement the operation of the network device in the above embodiment. Fig.14 As shown, the network device includes: an antenna 1201, a radio frequency device 1202, and a baseband device 1203. The antenna 1201 is connected to the radio frequency device 1202. In the uplink direction, the radio frequency device 1202 receives information sent by the terminal through the antenna 1201, and sends the information sent by the terminal to the baseband device 1203 for processing. In the downlink direction, the baseband device 1203 processes the information of the terminal and sends it to the radio frequency device 1202, and the radio frequency device 1202 processes the information of the terminal and sends it to the terminal through the antenna 1201.

[0467] The baseband device 1203 may include one or more processing elements 12031, for example, including a main control CPU and other integrated circuits. In addition, the baseband device 1203 may also include a storage element 12032 and an interface 12033, the storage element 12032 is used to store programs and data; the interface 12033 is used to interact with the radio frequency device 1202. The interface is, for example, a common public radio interface (CPRI). The above device for the network device may be located in the baseband device 1203. For example, the above device for the network device may be a chip on the baseband device 1203, the chip includes at least one processing element and an interface circuit, wherein the processing element is used to execute each step of any method executed by the above network device, and the interface circuit is used to communicate with other devices. In one implementation, the unit for the network device to implement each step in the above method can be implemented in the form of a processing element scheduler. For example, the device for the network device includes a processing element and a storage element, and the processing element calls the program stored in the storage element to execute the method executed by the network device in the above method embodiment. The storage element may be a storage element on the same chip as the processing element, ie, an on-chip storage element, or may be a storage element on a different chip from the processing element, ie, an off-chip storage element.

[0468] In another implementation, the unit of the network device implementing each step in the above method may be configured as one or more processing elements, which are arranged on the baseband device. The processing elements here may be integrated circuits, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these integrated circuits. These integrated circuits may be integrated together to form a chip.

[0469] The units of the network device implementing the various steps in the above method can be integrated together and implemented in the form of SOC. For example, the baseband device includes the SOC chip to implement the above method. The chip can integrate at least one processing element and a storage element, and the processing element calls the stored program of the storage element to implement the method executed by the above network device; or, the chip can integrate at least one integrated circuit to implement the method executed by the above network device; or, the above implementation methods can be combined, and the functions of some units are implemented in the form of processing elements calling programs, and the functions of some units are implemented in the form of integrated circuits.

[0470] It can be seen that the above apparatus for network equipment may include at least one processing element and an interface circuit, wherein at least one processing element is used to execute any one of the methods performed by the network equipment provided in the above method embodiments. The processing element may execute part or all of the steps performed by the network equipment in a first manner: that is, by calling a program stored in a storage element; or in a second manner: that is, by combining an integrated logic circuit of hardware in a processor element with instructions to execute part or all of the steps performed by the network equipment; of course, the first manner and the second manner may be combined to execute part or all of the steps performed by the above network equipment.

[0471] The processing element here is the same as described above, and can be a general-purpose processor, such as a CPU, or can be one or more integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more microprocessors DSPs, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.

[0472] A storage element may be a memory or a collective term for multiple storage elements.

[0473] Fig.15 Another structural schematic diagram of the network device provided in an embodiment of the present application is shown, which may be the network device in the above embodiment, and is used to implement the operation of the network device in the above embodiment.

[0474] like Fig.15 As shown, the network device includes: a processor 1310, a memory 1320, and an interface 1330, and the processor 1310, the memory 1320 and the interface 1330 are signal-connected.

[0475] The above random access device 1000 may be located in the network device, and the functions of each unit may be implemented by the processor 1310 calling the program stored in the memory 1320. That is, the above random access device 1000 includes a memory and a processor, the memory is used to store the program, and the program is called by the processor to execute the method in the above method embodiment. The processor here may be an integrated circuit with signal processing capability, such as a CPU. Or the functions of the above units may be implemented by configuring one or more integrated circuits to implement the above method. For example: one or more ASICs, or one or more microprocessors DSPs, or one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Alternatively, the above implementations may be combined.

[0476] According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes: a computer program code, when the computer program code runs on a computer, the computer executes the method in the above embodiments.

[0477] According to the method provided in the embodiments of the present application, the present application also provides a computer-readable medium, which stores program code. When the program code runs on a computer, the computer executes the method in the above embodiments.

[0478] The terminals and network devices in the above-mentioned various device embodiments may completely correspond to the terminals or network devices in the method embodiments, and the corresponding steps are performed by the corresponding modules or units. For example, when the device is implemented in the form of a chip, the receiving unit may be an interface circuit of the chip used to receive signals from other chips or devices. The above-mentioned unit for sending is an interface circuit of the device, which is used to send signals to other devices. For example, when the device is implemented in the form of a chip, the sending unit is an interface circuit of the chip used to send signals to other chips or devices.

[0479] An embodiment of the present application also provides a communication system, which includes: the above-mentioned terminal, and / or the above-mentioned network device.

[0480] In the embodiments of the present application, it should be noted that the above-mentioned method embodiments of the embodiments of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor to be executed. 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 electrically 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-mentioned method in combination with its hardware.

[0481] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a 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 RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0482] The terms "uplink" and "downlink" appearing in this application are used to describe the direction of data / information transmission in specific scenarios. For example, the "uplink" direction generally refers to the direction of data / information transmission from the terminal to the network side, or the direction of data / information transmission from a distributed unit to a centralized unit, and the "downlink" direction generally refers to the direction of data / information transmission from the network side to the terminal, or the direction of data / information transmission from a centralized unit to a distributed unit. It can be understood that "uplink" and "downlink" are only used to describe the transmission direction of data / information, and the specific starting and ending devices of the data / information transmission are not limited.

[0483] Various objects such as various messages / information / equipment / network elements / systems / devices / actions / operations / processes / concepts that may appear in this application are named. It can be understood that these specific names do not constitute a limitation on the relevant objects. The names assigned may change with factors such as scenarios, contexts or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from the functions and technical effects embodied / executed in the technical scheme.

[0484] The architecture of CU and DU in the embodiment of the present application is not limited to 5G NR gNB, but can also be applied to the scenario where the LTE base station is divided into CU and DU; the CU can be further divided into CP and UP. Optionally, when it is an LTE base station, the protocol layer does not include the SDAP layer.

[0485] The network architecture and business scenarios described in the embodiments of the present application are intended to facilitate readers to clearly understand the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0486] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product may include one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital user (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic disk), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0487] Those of ordinary skill 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 this application.

[0488] 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.

[0489] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0490] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0491] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0492] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A random access method, characterized in that: include: receiving a random access configuration from a network device; receiving first indication information from the network device, where the first indication information is used to determine a target random access configuration in the random access configuration, where the target random access configuration includes any one of a contention-based two-step random access configuration, a non-contention-based two-step random access configuration, a contention-based four-step random access configuration, and a non-contention-based four-step random access configuration; According to the first indication information, random access is initiated to the network device using the target random access configuration; wherein, The first indication information indicates an association relationship between a radio bearer RB and the target random access configuration.

2. The method according to claim 1, characterized in that The RB is a signaling radio bearer SRB, a data radio bearer DRB or a sidelink radio bearer SLRB.

3. The method according to claim 1 or 2, characterized in that: The initiating random access to the network device using the target random access configuration according to the first indication information includes: Determining the RB of data to be transmitted; According to the association relationship, random access is initiated to the network device using the target random access configuration associated with the RB.

4. The method according to claim 1 or 2, characterized in that: The initiating random access to the network device includes: A two-step random access is initiated to the network device.

5. The method according to claim 4, characterized in that The initiating a two-step random access to the network device comprises: During the timer running, a two-step random access is initiated to the network device.

6. The method according to claim 1 or 2, characterized in that: The method further comprises: Determining that there is no random access resource of the target random access configuration on the first bandwidth part BWP; Switching from the first BWP to a second BWP, where the second BWP has random access resources configured by the target random access; The adopting the target random access configuration to initiate random access to the network device includes: On the second BWP, random access is initiated to the network device using the target random access configuration.

7. The method according to claim 6, characterized in that The second BWP is an initial BWP or a default BWP.

8. The method according to claim 1 or 2, characterized in that: The random access configuration includes the first indication information.

9. The method according to claim 1 or 2, characterized in that: The receiving first indication information from the network device includes: receiving a logical channel configuration from the network device, where the logical channel configuration includes the first indication information; or, Receive a RB configuration from the network device, where the RB configuration includes the first indication information.

10. The method according to claim 1 or 2, characterized in that: The method further comprises: Second indication information is received from the network device, where the second indication information is used to indicate initiation of contention-based two-step random access or initiation of non-contention-based two-step random access.

11. A random access method, characterized in that: include: Sending a random access configuration to the terminal; Sending first indication information to the terminal, where the first indication information is used to determine a target random access configuration in the random access configuration, where the target random access configuration includes any one of a contention-based two-step random access configuration, a non-contention-based two-step random access configuration, a contention-based four-step random access configuration, and a non-contention-based four-step random access configuration; receiving a random access initiated by the terminal using the target random access configuration; wherein, The first indication information indicates an association relationship between an RB and the target random access configuration.

12. The method according to claim 11, characterized in that The RB is an SRB, a DRB or a SLRB.

13. The method according to claim 11 or 12, characterized in that: The receiving a random access initiated by the terminal using the target random access configuration includes: A two-step random access initiated by the terminal is received.

14. The method according to claim 11 or 12, characterized in that: The random access configuration includes the first indication information.

15. The method according to claim 11 or 12, characterized in that: The sending the first indication information to the terminal includes: sending a logical channel configuration to the terminal, where the logical channel configuration includes the first indication information; or, Sending an RB configuration to the terminal, where the RB configuration includes the first indication information.

16. The method according to claim 11 or 12, characterized in that: The sending the first indication information to the terminal includes: Sending a radio resource control RRC connection reconfiguration message to the terminal, where the RRC connection reconfiguration message includes the first indication information; or, Sending an RRC reconfiguration message to the terminal, where the RRC reconfiguration message includes the first indication information.

17. A random access device, characterized in that: The method comprises means for executing the steps of the method according to any one of claims 1 to 10.

18. A random access device, characterized in that: The method comprises means for performing the steps of the method according to any one of claims 11 to 16.

19. A random access device, characterized in that: The invention comprises a processor and an interface circuit, wherein the processor is used to communicate with a network device through the interface circuit and execute the method according to any one of claims 1 to 10.

20. A random access device, characterized in that: The device comprises a processor and an interface circuit, wherein the processor is used to communicate with a terminal through the interface circuit and execute the method according to any one of claims 11 to 16.

21. A random access device, characterized in that: The device comprises a processor, configured to call a program in a memory to execute the method according to any one of claims 1 to 10.

22. A random access device, characterized in that: The device comprises a processor, configured to call a program in a memory to execute the method according to any one of claims 11 to 16.

23. A terminal, characterized in that: Comprising the device as described in any one of claims 17, 19, and 21.

24. A network device, characterized in that: Comprising the device as described in any one of claims 18, 20, and 22.

25. A storage medium, characterized in that: The method comprises a program, and when the program is executed by a processor, the method according to any one of claims 1 to 16 is executed.