Method and apparatus for random access

By using the packet information of the reference signal in the terminal device to determine the random access resource, the problem that the terminal device in the new wireless (NR) cannot determine the random access resource is solved, which improves the success rate of random access and reduces the overhead of SSB.

CN114731702BActive Publication Date: 2025-03-07HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201980102588.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-29
Publication Date
2025-03-07
Estimated Expiration
2039-11-29

AI Technical Summary

Technical Problem

In the new wireless (NR), due to the limitation of network devices sending reference signals through 64 transmission beams, it is difficult to cover all frequency bands when higher frequency bands are needed, which in turn increases the number and overhead of synchronous signal/physical broadcast channel (SSB). The terminal device cannot determine the random access resources, resulting in the inability to initiate random access.

Method used

By acquiring packet information of the reference signal, the terminal device may determine the first random access resource that transmits the random access preamble. The packet information indicates the packet status of the reference signal. After the terminal device detects the reference signal, it determines the first detection sequence based on the packet information, and determines the first random access resource through the sequence.

Benefits of technology

It improves the success rate of random access, solves the problem that terminal devices cannot determine random access resources, reduces SSB overhead, and achieves coverage of higher frequency bands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114731702B_ABST
    Figure CN114731702B_ABST
Patent Text Reader

Abstract

The present application provides a method and apparatus for random access. In the method, a terminal device can use the grouping information of a reference signal to determine a first random access resource for sending a random access preamble, which helps the terminal device send a random access preamble to a network device on the first random access resource, thereby improving the success rate of random access.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more particularly, to a method and apparatus for random access in the field of communications. Background Art

[0002] In wireless communication technology, a terminal device obtains uplink synchronization with a network device through a random access process. In the process of initiating random access, the terminal device needs to first determine the random access resource based on the random resource configuration information broadcast by the network device, wherein the random resource configuration information is used to indicate the correspondence between the reference signal and the random access resource; specifically, when the terminal device detects a certain reference signal, it determines the random access resource based on the random resource configuration information, and sends a random access preamble to the network device on the determined random access resource. Among them, the network device can send a reference signal through a beam, and each reference signal sent by each beam corresponds to a corresponding random access resource.

[0003] Currently in the new radio (NR), the protocol stipulates that network equipment can send up to 64 reference signals through 64 transmit beams. As the network throughput increases, higher frequency bands are required. If 64 transmit beams are used to cover all frequency bands, it will be difficult. In order to cover all frequency bands, the number of synchronization signals / physical broadcast channels SS / PBCH (hereinafter referred to as SSB) needs to be increased, which leads to an increase in the overhead of SSB. In order to avoid the increase in the overhead of SSB, multiple peaks of a beam can be used to send an SSB. This multi-peak beam can cover multiple directions, thereby reducing the overhead of SSB. In this case, multiple peaks of a beam send an SSB. When the terminal device receives the SSB, it cannot determine which peak of a beam the SSB is received on. Accordingly, the terminal device cannot determine the resources for sending the random access preamble code, resulting in the inability to initiate random access. Therefore, a method for determining random access resources is urgently needed. Summary of the invention

[0004] The present application provides a method and apparatus for random access, which can determine random access resources and initiate random access using the random access resources, thereby improving the success rate of random access.

[0005] In a first aspect, a method for random access is provided, comprising: a terminal device obtains grouping information of a reference signal, wherein the grouping information is used to indicate a grouping status of the reference signal; if the terminal device detects at least one reference signal sent by the network device, a first random access resource for sending a random access preamble code is determined according to the grouping information; and the terminal device sends the random access preamble code to the network device on the first random access resource.

[0006] In the above technical solution, the terminal device can use the grouping information of the reference signal to determine the first random access resource for sending the random access preamble code, which helps the terminal device to send the random access preamble code to the network device on the first random access resource, thereby improving the success rate of random access.

[0007] Optionally, the reference signal may be SSB.

[0008] Optionally, the terminal device may obtain the grouping information from a network device.

[0009] Optionally, the grouping information is used to indicate the number of reference signals in each group, for example, by default, there is one group of reference signals, and the number of groups does not need to be indicated. Optionally, the grouping information is used to indicate the total number of groups of reference signals, for example, by default, there is one reference signal in each group of reference signals, and the number of reference signals in each group does not need to be indicated.

[0010] Optionally, the grouping information is used to indicate that M reference signals form a group, with a total of N groups of reference signals, where M and N are positive integers.

[0011] Optionally, the terminal device determines a first random access resource for sending a random access preamble code according to the grouping information, including: the terminal device determines a first detection sequence according to the grouping information; the terminal device determines the first random access resource according to the first detection sequence.

[0012] Optionally, if the grouping information is used to indicate that M reference signals are a group, there are N groups of reference signals in total, and M and N are positive integers, then the length of the first detection sequence is related to M.

[0013] Optionally, the first detection sequence may be a quantized detection sequence. For example, the first detection sequence is composed of 0 and 1. 1 indicates that the reference signal is received, and 0 indicates that the reference signal is not received.

[0014] In some possible implementations, the terminal device determines the first random access resource according to the first detection sequence, including:

[0015] The terminal device determines the first random access resource for sending the random access preamble code based on the first detection sequence and a first correspondence relationship, the first correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource.

[0016] In some possible implementations, the method further includes: the terminal device acquiring the first corresponding relationship from the network device.

[0017] Optionally, the first corresponding relationship may be specified by a protocol.

[0018] In some possible implementations, the terminal device determines the first random access resource according to the first detection sequence, including: the terminal device determines, according to the first detection sequence and a second correspondence, a first peak at which the network device sends the at least one reference signal, the second correspondence being used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak;

[0019] The terminal device determines the first random access resource for sending the random access preamble code based on the first peak and the third correspondence, and the third correspondence is used to indicate that the at least one peak corresponds to at least one random access resource, and the at least one random access resource includes the first random access resource.

[0020] In some possible implementations, the method further includes: the terminal device acquiring the second corresponding relationship and the third corresponding relationship from the network device.

[0021] Optionally, the second corresponding relationship and the third corresponding relationship may be specified by a protocol.

[0022] In some possible implementations, if the terminal device detects the at least one reference signal, the first detection sequence is obtained according to the grouping information and an index of the at least one reference signal.

[0023] Specifically, the terminal device can determine the total number of reference signals based on the grouping information and can preset the index of the reference signal. For example, if the terminal device determines that the number of reference signals is M*N, the indexes of the M*N reference signals are 0, 1,..., M*N-1, respectively, where * represents a multiplication operation.

[0024] In some possible implementations, the grouping information is further used to indicate peak information for sending each group of reference signals.

[0025] The terminal device determines, according to the grouping information, a first random access resource for sending a random access preamble:

[0026] The terminal device determines a first peak according to the grouping information;

[0027] The terminal device determines the first random access resource for sending the random access preamble code based on the first peak and a fourth corresponding relationship, wherein the fourth corresponding relationship is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

[0028] Optionally, the peak information of each group of reference signals is used to indicate the peak adopted by the network device to send each group of reference signals.

[0029] Optionally, if the terminal device detects at least one reference signal sent by the network device, the first peak is determined according to the value of the reference signal and the N groups of reference signals indicated by the grouping information and the peak information of each group of reference signals.

[0030] Optionally, the terminal device may also obtain parameters for determining the first peak from the network device, such as peak base parameters.

[0031] In some possible implementations, the method further includes: the terminal device obtaining a reference signal received power RSRP threshold from the network device; the method further includes: if the RSRP of the at least one reference signal is greater than the RSRP threshold, the terminal device determines that the at least one reference signal is detected.

[0032] Optionally, the RSRP threshold may be preset.

[0033] In some possible implementations, the terminal device obtains grouping information of reference information, including:

[0034] The terminal device obtains the grouping information of the reference signal from a network device.

[0035] In some possible implementations, the method further includes: the terminal device receives a total number of peaks of a reference signal sent by the network device.

[0036] In some possible implementations, the method further includes: the terminal device may receive the number of peaks of each reference signal sent by the network device. The terminal device may determine the correspondence between the peak of each reference signal and the random access resource according to the correspondence between the beam and the random access resource.

[0037] In a second aspect, a method for random access is provided, comprising: a network device sending grouping information of a reference signal to a terminal device, the grouping information being used for grouping of the reference signal, the grouping information being used by the terminal device to determine a first random access resource; the network device sending the reference signal;

[0038] The network device receives a random access preamble from the terminal device on a first random access resource.

[0039] In the above technical solution, the network device can send grouping information of the reference signal to the terminal device, and the terminal device can use the grouping information to determine the first random access resource for sending the random access preamble code, thereby improving the success rate of random access.

[0040] Optionally, the reference signal may be SSB.

[0041] Optionally, the grouping information is used to indicate the number of reference signals in each group, for example, by default, there is one group of reference signals, and the number of groups does not need to be indicated. Optionally, the grouping information is used to indicate the total number of groups of reference signals, for example, by default, there is one reference signal in each group of reference signals, and the number of reference signals in each group does not need to be indicated.

[0042] Optionally, the grouping information is used to indicate that M reference signals form a group, with a total of N groups of reference signals, where M and N are positive integers.

[0043] Optionally, the grouping information is specifically used by the terminal device to determine a first detection sequence, and the first detection sequence is used by the terminal device to determine the first random access resource. Optionally, if the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals, and M and N are positive integers, then the length of the first detection sequence is related to M.

[0044] Optionally, the first detection sequence may be a quantized detection sequence. For example, the first detection sequence is composed of 0 and 1. 1 indicates that the reference signal is received, and 0 indicates that the reference signal is not received.

[0045] Optionally, the grouping information is specifically used by the terminal device to determine a first peak, and the first peak is used by the terminal device to determine the first random access resource.

[0046] In some possible implementations, the method further includes: determining, by the network device according to the first random access resource, a first peak of sending the random access response to the terminal device;

[0047] The network device sends the random access response to the terminal device through the first peak.

[0048] In some possible implementations, the network device determines, according to the first random access resource, to send a first peak of the random access response to the terminal device, including:

[0049] The network device determines the first detection sequence according to a first corresponding relationship and the first random access resource, where the first corresponding relationship is used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource;

[0050] The network device determines the first peak for sending the random access response to the terminal device based on a second corresponding relationship and the first detection sequence, wherein the second corresponding relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak.

[0051] In some possible implementations, the method further includes: the network device sending the first corresponding relationship and the second corresponding relationship to the terminal device.

[0052] In some possible implementations, the network device determines the first peak of the random access response to be sent to the terminal device based on the first random access resource, including: the network device determines the first peak of the random access response to be sent to the terminal device based on the third correspondence and the first random access resource, the third correspondence is used to indicate that the at least one peak corresponds to at least one random access resource, and the at least one random access resource includes the first random access resource.

[0053] In some possible implementations, the method further includes: the network device sending the third corresponding relationship to the terminal device.

[0054] In some possible implementations, the grouping information is further used to indicate peak information of each group of reference signals, and the grouping information is specifically used by the terminal device to determine a first peak, and the first peak is used by the terminal device to determine the first random access resource; wherein the network device determines the first peak for sending the random access response to the terminal device according to the first random access resource;

[0055] The network device determines the first peak of the random access response to be sent to the terminal device based on the first random access resource and a fourth correspondence, wherein the fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

[0056] In some possible implementations, the method further includes: the network device sending a reference signal received power RSRP threshold to the terminal device. In some possible implementations, the method further includes: the network device sending a total number of peaks of the reference signal to the terminal device.

[0057] In some possible implementations, the method further includes: the network device sending the number of peaks of each reference signal to the terminal device.

[0058] In a third aspect, a device for random access is provided, the device being used to execute the method in the first aspect or any possible implementation of the first aspect. Specifically, the device may include a module for executing the method in the first aspect or any possible implementation of the first aspect.

[0059] In a fourth aspect, a device for random access is provided, the device being used to execute the method in the second aspect or any possible implementation of the second aspect. Specifically, the device may include a module for executing the method in the second aspect or any possible implementation of the second aspect.

[0060] In a fifth aspect, a communication device is provided, wherein the communication device includes a processor, the processor is coupled to a memory, the memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions stored in the memory, so that the method in the first aspect is executed.

[0061] For example, the processor is used to execute the computer program or instructions stored in the memory, so that the communication device executes the method in the first aspect.

[0062] Optionally, the communication device includes one or more processors.

[0063] Optionally, the communication device may further include a memory coupled to the processor.

[0064] Optionally, the communication device may include one or more memories.

[0065] Optionally, the memory may be integrated with the processor, or provided separately.

[0066] Optionally, the communication device may also include a transceiver.

[0067] In a sixth aspect, a communication device is provided, the communication device comprising a processor, the processor being coupled to a memory, the memory being used to store computer programs or instructions, and the processor being used to execute the computer programs or instructions stored in the memory, so that the method in the second aspect is executed.

[0068] For example, the processor is used to execute the computer program or instructions stored in the memory, so that the communication device executes the method in the second aspect.

[0069] Optionally, the communication device includes one or more processors.

[0070] Optionally, the communication device may further include a memory coupled to the processor.

[0071] Optionally, the communication device may include one or more memories.

[0072] Optionally, the memory may be integrated with the processor, or provided separately.

[0073] Optionally, the communication device may also include a transceiver.

[0074] In a seventh aspect, the present application provides a communication system, the system comprising the apparatus provided in the third aspect and the apparatus provided in the fourth aspect; or

[0075] The system includes the device provided in the fifth aspect and the device provided in the sixth aspect.

[0076] In an eighth aspect, a computer-readable storage medium is provided, on which is stored a computer program (also referred to as instructions or codes) for implementing the method in the first aspect.

[0077] For example, when the computer program is executed by a computer, the computer can execute the method in the first aspect. The computer can be a communication device.

[0078] In a ninth aspect, a computer-readable storage medium is provided, on which is stored a computer program (also referred to as instructions or codes) for implementing the method in the first aspect or the second aspect.

[0079] For example, when the computer program is executed by a computer, the computer can execute the method in the second aspect. The computer can be a communication device.

[0080] In a tenth aspect, the present application provides a chip, including a processor. The processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect and any possible implementation thereof.

[0081] Optionally, the chip also includes a memory, and the memory is connected to the processor via a circuit or wire.

[0082] Further optionally, the chip also includes a communication interface.

[0083] In an eleventh aspect, the present application provides a chip, including a processor, wherein the processor is configured to read and execute a computer program stored in a memory to execute the method in the second aspect and any possible implementation thereof.

[0084] Optionally, the chip also includes a memory, and the memory is connected to the processor via a circuit or wire.

[0085] Further optionally, the chip also includes a communication interface.

[0086] In a twelfth aspect, the present application provides a computer program product, the computer program product comprising a computer program (also referred to as instructions or codes), wherein when the computer program is executed by a computer, the computer implements the method in the first aspect. The computer may be a communication device.

[0087] In a thirteenth aspect, the present application provides a computer program product, the computer program product comprising a computer program (also referred to as instructions or codes), wherein when the computer program is executed by a computer, the computer implements the method in the second aspect. The computer may be a communication device. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] Figure 1 It is an architecture diagram of the communication system provided in an embodiment of the present application.

[0089] Figure 2 This is a schematic diagram of the random access process provided in an embodiment of the present application.

[0090] Figure 3 This is a schematic diagram of sending a reference signal through multiple peaks of a beam provided by an embodiment of the present application.

[0091] Figure 4 It is a peak schematic diagram provided in an embodiment of the present application.

[0092] Figure 5 It is a schematic diagram of a method for random access provided in an embodiment of the present application.

[0093] Figure 6 It is a schematic diagram of another method for random access provided in an embodiment of the present application.

[0094] Figure 7 This is another schematic diagram of a method for random access provided in an embodiment of the present application.

[0095] Figure 8 This is another schematic diagram of a method for random access provided in an embodiment of the present application.

[0096] Fig. 9 It is a schematic block diagram of a device for random access provided by an embodiment of the present application.

[0097] Fig.10 It is a schematic block diagram of another apparatus for random access provided by an embodiment of the present application.

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

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

[0100] Fig.13 It is a schematic block diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0101] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: global system of mobile communication (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, future fifth generation (5G) system or new radio (NR), etc.

[0102] The terminal device in the embodiments of the present application may refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved public land mobile communication network (PLMN), etc., and the embodiments of the present application are not limited to this.

[0103] The network device in the embodiment of the present application can be any device with wireless transceiver function. The device includes but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved NodeB (or home NodeB, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (WIFI) system, wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc., and can also be the fifth generation (5G) system, for example, gNB or transmission point (TRP or TP) in new radio (NR), one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU), etc.

[0104] In some deployments, the gNB may include a centralized unit (CU) and a distributed unit (DU). The gNB may also include an active antenna unit (AAU). The CU implements some functions of the gNB, and the DU implements some functions of the gNB. For example, the CU is responsible for processing non-real-time protocols and services, and implements the functions of the radio resource control (RRC) and packet data convergence protocol (PDCP) layers. The DU is responsible for processing physical layer protocols and real-time services, and implements the functions of the radio link control (RLC) layer, the media access control (MAC) layer, and the physical (PHY) layer. The AAU implements some physical layer processing functions, RF processing, and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be converted from the information of the PHY layer, in this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by the DU, or by the DU+AAU. It is understandable that the network device may be a device including one or more of a CU node, a DU node, and an AAU node. In addition, the CU may be classified as a network device in an access network (radio access network, RAN), or the CU may be classified as a network device in a core network (core network, CN), which is not limited in this application.

[0105] See also Figure 1 , Figure 1 is an architecture diagram of a communication system applicable to an embodiment of the present application. Figure 1 As shown, the wireless communication system may include at least one network device 101, the network device 101 and one or more terminal devices (eg Figure 1 102 and 103) are used to communicate. When the network device sends a signal, the network device is a transmitter and the terminal device is a receiver. Conversely, when the terminal device sends a signal, the terminal device is a transmitter and the network device is a receiver.

[0106] In a wireless communication system, before a terminal device communicates with a network device, it must first initiate a random access process to obtain uplink synchronization with the network device. Figure 2 200 is a schematic diagram of a random access process, including:

[0107] S210, the network device sends a broadcast message to the terminal device, the broadcast message carries resource configuration information, and the resource configuration information is used to indicate the correspondence between the synchronization signal / physical broadcast channel block (SS / PBCH) and the random access resource.

[0108] The random access resources may include one or more of time domain, frequency domain and code domain resources.

[0109] S220, the network device sends SSB via space scanning, and the terminal device detects SSB.

[0110] Specifically, in S220, the network device sends an SSB through a transmission beam, and one transmission beam corresponds to a unique SSB, that is, the resource configuration information in S220 can also be understood as being used to indicate the correspondence between the transmission beam and the random access resource. One transmission beam of the network device corresponds to one (group) random access resource.

[0111] S230, the terminal device determines the random access resource based on the detected SSB and the resource configuration information in S210.

[0112] S240, the terminal device sends a random access preamble (preamble), also known as message 1, to the network device on the random access resource determined in S230, and the network device receives the random access preamble sent by the terminal device on the random access resource.

[0113] S250: The network device determines a transmission beam for sending a random access response (RAR) according to the random access resource of S240 and the resource configuration information of S210.

[0114] Specifically, S250 includes: the network device receives the random access preamble code on which random access resource, and can determine on which beam the terminal device receives the SSB based on the resource configuration information, and use the beam to send the RAR.

[0115] S260, the network device sends a RAR to the terminal device using the transmission beam determined in S250, also known as message 2. The RAR carries at least one of uplink authorization information, a temporary cell radio network temporary identifier (T-CRNTI), and a timing advance (TA).

[0116] Among them, the uplink authorization information is used to indicate the resources for sending initial uplink information, and TA is used for the terminal device to obtain the uplink timing.

[0117] S270, the terminal device sends initial uplink information to the base station on the resources indicated by the uplink authorization information, also known as message 3, and the initial uplink information carries an identifier of the terminal device contention resolution (UE Contention Resolution Identity).

[0118] S280, after the base station receives the initial uplink information of the terminal device, the base station performs contention resolution and sends contention resolution information to the terminal device, also known as message 4.

[0119] In NR, the protocol stipulates that in S220, the network device sends a maximum of 64 reference signals through 64 transmit beams. As the network throughput increases, higher frequency bands are required. It is difficult to cover all frequency bands with 64 transmit beams. In order to cover all frequency bands, the number of SSBs needs to be increased, which increases the overhead of SSBs, and sending more SSBs requires more resources. In order to reduce the number of SSBs, such as Figure 3 As shown, a SSB can be sent using multiple peaks of a beam. This multi-peak beam can cover multiple directions, thereby reducing the overhead of SSB. In this case, a SSB is sent using multiple peaks of a beam. When the terminal device receives the SSB, it cannot determine which peak of a beam it is received on. Accordingly, in the above-mentioned random access process, the terminal device cannot determine the resources for sending the random access preamble in S230, resulting in the inability to initiate random access. The network device sends the SSB through multiple peaks but cannot determine which peak the terminal device receives the SSB on. Even if the network device receives the random access preamble, the network device cannot determine which peak to use to send a random access response to the terminal device in S250, thereby causing random access failure.

[0120] It is understandable that the peak in the embodiment of the present application may be a component or sub-component of a beam, and the peak may also be called a narrow peak, a sub-beam, a narrow beam or a beam component. Figure 4 As shown, the peak can be a sub-direction of a beam or the L degree of a beam, such as L5.

[0121] The following describes a method 500 for random access provided in an embodiment of the present application in conjunction with the accompanying drawings. The method 500 includes:

[0122] S510, the network device sends grouping information of the reference signal to the terminal device, where the grouping information is used to indicate the grouping status of the reference signal.

[0123] Correspondingly, the terminal device receives the grouping information of the reference information sent by the network device.

[0124] Optionally, method 500 may not include S510, the network device does not need to configure the grouping information of the reference signal, the terminal device may obtain the grouping information of the reference signal according to the protocol specification, or the reference signals may not be grouped, and all reference signals are grouped.

[0125] Optionally, the grouping information is used to indicate the number of each group of reference signals. For example, there is one group of reference signals by default, and the number of groups does not need to be indicated.

[0126] Optionally, the grouping information is used to indicate the total number of reference signal groups, for example, by default, there is one reference signal in each reference signal group, and the number of reference signals in each group is not indicated.

[0127] Optionally, the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals, where M and N are positive integers.

[0128] For example, the grouping information is used to indicate that 4 reference signals form a group, which is a total of 16 groups of reference signals; for another example, the grouping information is used to indicate that 64 reference signals form a group, which is a total of one group of reference signals.

[0129] It should be noted that the reference signal mentioned in the embodiment of the present application may be SSB, which includes a primary synchronization signal (PSS), a secondary synchronization signal (SSS), a physical broadcast channel (PBCH), and a demodulation reference signal (DMRS) required for demodulating the PBCH. PSS and SSS are used for downlink synchronization of terminal equipment, including timing synchronization, frame synchronization, and symbol synchronization; PSS and SSS are also used to obtain a cell identity (ID) and measure cell signal quality.

[0130] S520, the network device sends a reference signal to the terminal device.

[0131] Specifically, S520 includes: the network device sends a reference signal by broadcasting.

[0132] If the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals, S520 includes the network device sending M*N reference signals to the terminal device. Optionally, the network device may send M*N reference signals through M*N beams, one beam corresponding to one reference signal, and the network device sends M*N beams, each beam having multiple peaks, so that SSB can be sent using multiple peaks of a beam, where * represents a multiplication operation.

[0133] It should be noted that the order of S510 and S520 is not limited.

[0134] S530, accordingly, the terminal device detects the reference signal sent by the network device. If the terminal device detects at least one reference signal, the terminal device determines a first random access resource for sending a random access preamble code according to the grouping information.

[0135] In a possible implementation manner, S530 includes: the terminal device determines a first detection sequence according to the grouping information; and the terminal device determines the first random access resource according to the first detection sequence.

[0136] Optionally, if the grouping information is used to indicate that M reference signals are a group, there are N groups of reference signals in total, and the length of the first detection sequence is related to M.

[0137] How to determine the first detection sequence is described below in conjunction with an embodiment.

[0138] Specifically: if the terminal device detects at least one reference signal, the terminal device may obtain a first detection sequence according to the grouping information and the index of the at least one reference signal. Specifically, the terminal device may determine the total number of reference signals according to the grouping information, and may preset the index of the reference signal. For example, if the terminal device determines that the number of reference signals is M*N, the indexes of the M*N reference signals are 0, 1, ..., M*N-1, respectively.

[0139] For example, if the grouping information indicates that 4 reference signals are grouped together, with a total of 16 groups of reference signals, assuming that the default 64 reference signals have indexes of 0, ..., 63, then if the terminal device only receives one reference signal with an index of 62, it can be determined that the first detection sequence is 0010; if the terminal device receives two reference signals with indexes of 56 and 57, it can be determined that the first detection sequence is 1100, that is, at this time the first detection sequence is a quantized sequence.

[0140] Optionally, if one bit is used to indicate whether a reference signal is detected, the length of the first detection sequence is M; if p bits are used to indicate whether a reference signal is detected, the length of the first detection sequence is pM, for example, p=2. Combined with the above example, if the terminal device receives a reference signal with an index of 62, it can be determined that the length of the first detection sequence is 00001100.

[0141] It is understandable that if the terminal device receives two or more reference signals, and the indexes of these two or more reference signals are not consecutive indexes, the terminal device can select the reference signal receiving power (RSRP) with a larger or maximum value to determine the first detection sequence, or the terminal device can arbitrarily select one to determine the first detection sequence. In combination with the above example, if the terminal device receives reference signals with indexes of 56, 57 and 62, respectively, according to the grouping information, the reference signals with indexes 56 and 57 are a group, but are not a group with the reference signal with index 62, so that the sequence corresponding to the reference signals with indexes 56 and 57 is 1100, and the sequence corresponding to the reference signal with index 62 is 0010. The terminal device can arbitrarily select one of these two sequences as the first detection sequence, or the terminal device determines the index of the reference signal with the highest RSRP among the three reference signals with indexes 56, 57 and 62, for example, the reference signal with index 62 has the highest RSRP, then the terminal device can determine the first detection sequence as 0010.

[0142] Optionally, the terminal device may determine whether a reference signal is detected according to an RSRP threshold value. If the RSRP of a reference signal is greater than the RSRP threshold value, it may be determined that the reference signal is detected. If the RSRP of a reference signal is less than the RSRP threshold value, it may be determined that the reference signal is not detected. The RSRP threshold value may be preset or may be sent to the terminal device by the network device.

[0143] How to determine the first random access resource according to the first detection sequence is described below in combination with two methods.

[0144] Mode 1: The terminal device determines the first random access resource for sending the random access preamble code according to the first detection sequence and the first corresponding relationship, the first corresponding relationship is used to indicate that at least one detection sequence corresponds to at least one random access resource, at least one detection sequence includes the first detection sequence, and at least one random access resource includes the first random access resource. For example, the first corresponding relationship is used to indicate that each detection sequence in at least one detection sequence corresponds to each random access resource in at least one random access resource.

[0145] Optionally, the terminal device stores a first correspondence relationship, which may be sent by the network device to the terminal device (eg, via a broadcast message in S210) or specified by a protocol. The first correspondence relationship is shown in Table 1, where n is a positive integer, for example, n is 16.

[0146] Table 1

[0147] Detection sequence Random access resources Detection sequence 1 Random access resource 1 Detection sequence 2 Random access resource 2 Detection sequence 3 Random access resource 3 Detection sequence 4 Random access resource 4 …… …… Detection sequence n Random access resource n

[0148] Method 2: The terminal device determines the first peak of the at least one reference signal sent by the network device based on the first detection sequence and the second correspondence, the second correspondence is used to indicate that at least one detection sequence corresponds to at least one peak, at least one detection sequence includes the first detection sequence, and at least one peak includes the first peak. For example, the second correspondence is used to indicate that each detection sequence in the at least one detection sequence corresponds to each peak in the at least one peak. The terminal device determines the first random access resource for sending the first random access preamble code based on the first peak and the third correspondence, the third correspondence is used to indicate that at least one peak corresponds to at least one random access resource, and at least one random access resource includes the first random access resource. For example, the third correspondence is used to indicate that each peak in the at least one peak corresponds to each random access resource in the at least one random access resource.

[0149] Optionally, the terminal device stores the second correspondence and the third correspondence. The second correspondence and the third correspondence may be sent by the network device to the terminal device (for example, sent via the broadcast message in S210), or may be specified by the protocol. Optionally, one of the second correspondence and the third correspondence is sent by the network device to the terminal device, and the other may be specified by the protocol. The second correspondence is shown in Table 2, and the third correspondence is shown in Table 3. In Table 2 and Table 3, m is a positive integer, for example, m is 15.

[0150] Table 2

[0151] Detection sequence crest Detection sequence 1 Crest 1 Detection sequence 2 Crest 2 Detection sequence 3 Crest 3 Detection sequence 4 Crest 4 …… …… Detection sequence m Peak m

[0152] Table 3

[0153] crest Random access resources Crest 1 Random access resource 1 Crest 2 Random access resource 2 Crest 3 Random access resource 3 Crest 4 Random access resource 4 …… …… Peak m Random access resource m

[0154] Optionally, the random access resource mentioned in the first correspondence between the detection sequence and the random access resource, or the third correspondence between the peak and the random access resource mentioned above can be a random access resource configured by the network device or can be determined according to the correspondence between the beam and the random access resource. Specifically, the resource configuration information in S210 can configure the first correspondence or the third correspondence, or the resource configuration information in S210 can indicate the relationship between the beam and the random access resource and configure the number of peaks for each beam (each reference signal), so that the terminal device can determine the random access resource corresponding to each peak based on the relationship between the beam and the random access resource and the number of peaks for each beam. For example, the resource configuration information indicates that there are a total of 64 random access preambles (random access resources may include random access preambles) on a random access opportunity (RACH occasion, RO), there are a total of 8 beams, each beam has 4 peaks (this is an example, and the peak data of each beam may be different), so each peak corresponds to 2 ((64 / 8) / 4) random access preambles, and 2 consecutive random access preambles of a beam can be assigned to one peak.

[0155] In another possible implementation, S530 includes: the terminal device determines a first peak according to the grouping information. The terminal device determines the first random access resource for sending the random access preamble code according to the first peak and a fourth correspondence. The fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource. For example, the fourth correspondence may be as shown in Table 3.

[0156] How to determine the first wave peak is described below in conjunction with an embodiment.

[0157] Specifically, the terminal device may determine the first peak according to the grouping information of the reference signal, using a set of received reference signal values ​​(unquantized values) and a preset algorithm.

[0158] The following example describes:

[0159] If the reference signal grouping information is used to indicate that 4 reference signals are grouped together, with a total of 16 groups of reference signals, the terminal device can calculate the first peak based on the value of a group of reference signals received. The values ​​of the 4 reference signals received by the terminal device can be expressed as: i =aDb i +z i .

[0160] Where i = 1, ..., 4, y iis the value of a received reference signal. If no reference signal is received at a certain time, the value of the reference signal is 0. a is a 1×N complex vector, where N is the total number of peaks of the reference signal. The elements of the nth (n=1, ..., N)th column of a represent the channel complex gain in the direction of the nth peak. D is an N×N peak basis. A column of D represents a directional vector of a narrow peak. For example, a column can be a discrete Fourier transform (DFT) vector. b i is the multi-peak information of a reference signal, b i is an N×1 vector. The multi-peak information of a reference signal is used to indicate which peaks the reference signal can be sent through. For example, the multi-peak information of a reference signal is (100010011010111) T , where 0 means no reference signal is sent on this peak, and 1 means a reference signal is sent on this peak. Thus, the reference signal can be sent via 8 of the 15 peaks. i For noise.

[0161] In the above formula, D can be preset or configured by the network device, b i It can also be preset or configured by the network device. The terminal device can determine y by receiving a reference signal once. i , then when the terminal device receives a group of reference signals, it can determine a according to the above formula, and the peak corresponding to the column with the largest value in the N columns of a is the first peak. It should be noted that the M reference signals indicated by the grouping information of the reference signal can be configured as M in a group, which is sufficient to determine a through the above algorithm. The number of non-sparse elements in a can be set to be equal to M, and the non-sparse elements of a can be greater than a preset value (such as the preset value is 0). For example, the above N=15, that is, a is a 1×15 complex vector, then in order to determine the 15 elements of a, at least 15 equations are required (at least 15 reference signals need to be received), but since a may be a sparse matrix, less than 15 reference signals can be received, for example 4 times, that is, M=4 at this time.

[0162] In the embodiment of the present application, the above is only an example of how to solve and obtain the first peak, and the first peak can also be obtained by other methods, which is not limited in the present application. In the embodiment of the present application, the parameters used to solve and obtain the first peak can be preset or configured by the network device, which is not limited in the present application.

[0163] S540, the terminal device sends the random access preamble code to the network device on the first random access resource.

[0164] Correspondingly, the network device receives the random access preamble code sent by the terminal device on the first random access resource.

[0165] As an optional embodiment, the method 500 further includes: the network device determines a first peak for sending a random access response to the terminal device according to the first random access resource, so that the network device can send the random access response to the terminal device through the first peak.

[0166] If the grouping information is used to determine the first detection sequence of the terminal device, the first detection sequence is used by the terminal device to determine the first random access resource, and the network device determines the first peak of sending a random access response to the terminal device according to the first random access resource, which can be implemented in one of the following two ways:

[0167] Mode 1: The network device determines a first detection sequence according to the aforementioned first corresponding relationship and the first random access resource; the network device determines the first peak for sending the random access response to the terminal device according to a second corresponding relationship and the first detection sequence;

[0168] In this way, the network device can determine the first detection sequence obtained by the terminal device based on the first correspondence between the random access resource and the detection sequence, and the network device can then determine the first peak based on the correspondence between the detection sequence and the peak. On this first peak, the terminal device receives the reference signal sent by the network device. In this way, the network device can send a random access response on the first peak, and the terminal device can also receive the random access response sent by the network device on the first peak, thereby improving the success rate of random access.

[0169] Optionally, the first correspondence and the second correspondence may be determined by the network device and sent to the terminal device (for example, sent via a broadcast message in S210), or may be specified by a protocol, or one of the first correspondence and the second correspondence may be determined by the network device and sent to the terminal device, and the other may be specified by a protocol, which is not limited in the embodiments of the present application.

[0170] Method 2: The network device determines the first peak for sending the random access response to the terminal device according to the third corresponding relationship and the first random access resource.

[0171] In this way, the network device can determine the reference signal received by the terminal device on the first peak based on the third correspondence between the random access resource and the peak, and can also ensure that the terminal device can receive the random access response sent by the network device through the first peak, thereby improving the success rate of random access.

[0172] Optionally, the third corresponding relationship may be determined by the network device and sent to the terminal device, or may be specified by a protocol, which is not limited in the embodiments of the present application.

[0173] If the grouping information is used to determine the first peak of the terminal device, and the first peak is used by the terminal device to determine the first random access resource, the network device may determine the first peak according to the aforementioned fourth corresponding relationship and the first random access resource.

[0174] In this way, the network device can determine the reference signal received by the terminal device on the first peak based on the fourth corresponding relationship between the random access resource and the peak, and can also ensure that the terminal device can receive the random access response sent by the network device through the first peak, thereby improving the success rate of random access.

[0175] Optionally, the fourth corresponding relationship may be determined by the network device and sent to the terminal device, or may be specified by a protocol, which is not limited in the embodiments of the present application.

[0176] Combine the following Figure 6 The method 600 for random access mentioned in the embodiment of the present application is described. The method 600 is described by taking the reference signal as SSB as an example, which should not cause any limitation to the embodiment of the present application. The method 600 includes:

[0177] S610, the network device sends a first corresponding relationship. For example, the network device may send the first corresponding relationship to one or more terminal devices.

[0178] Correspondingly, the terminal device receives the first corresponding relationship sent by the network device.

[0179] Specifically, the network device may send the first corresponding relationship to the terminal device by broadcasting / multicasting or the like.

[0180] S620, the network device sends grouping information of SSB, where the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals.

[0181] Correspondingly, the terminal device receives the SSB packet information sent by the network device.

[0182] It should be noted that the order of S610 and S620 is not limited, and S610 and S620 can be executed simultaneously or separately. In addition, the network device can send the first correspondence and the grouping information of the SSB to the terminal device in the same broadcast message, or send the first correspondence and the grouping information of the SSB to the terminal device in different broadcast messages, which is not limited in the embodiment of the present application.

[0183] S630, the network device sends multiple SSBs, for example, the network device sends multiple SSBs to one or more terminal devices.

[0184] Accordingly, the terminal device detects SSB.

[0185] Optionally, the network device can broadcast or multicast multiple SSBs.

[0186] S640: If the terminal device detects at least one SSB, a first detection sequence may be determined according to the grouping information of the SSB in S620.

[0187] Specifically, in S640 , the terminal device determines the first detection sequence in a manner similar to the description of method 500 .

[0188] S650, the terminal device determines a first random access resource according to the first detection sequence and the first corresponding relationship in S610.

[0189] Optionally, the first corresponding relationship is shown in Table 1. The terminal device may determine the first random access resource according to Table 1.

[0190] S660: The terminal device sends a random access preamble to the network device on a first random access resource.

[0191] Correspondingly, the network device receives the random access preamble code sent by the terminal device on the first random access resource.

[0192] S670: The network device determines a first detection sequence according to the first corresponding relationship.

[0193] S680: The network device determines a first peak according to the first detection sequence and the second corresponding relationship.

[0194] For example, the network device sends four SSBs according to the following matrix. Each row of the matrix represents an SSB. The four rows from top to bottom correspond to SSB1, SSB2, SSB3, and SSB4, respectively. Each column represents a peak. There are 15 columns in total corresponding to 15 peaks. The existence of 8 1s in the first row indicates that the network device sends SSB1 on these 8 peaks. The existence of 8 1s in the second row also indicates that the network device sends SSB2 on these 8 peaks. By analogy, the element of 0 in the matrix indicates that SSB is not sent on the peak. The corresponding second corresponding relationship is shown in Table 4. The detection sequence in Table 4 is a column in the matrix. Taking the third row of Table 4 as an example, if the detection sequence determined by the terminal device is 0100, the terminal device can determine that SSB2 sent by the network device is received on the second peak, and the first peak is the second peak. Accordingly, the network device sends a random access response to the terminal device through the second peak.

[0195]

[0196] Table 4

[0197] Detection sequence crest 0000 000000000000000 1000 100000000000000 0100 010000000000000 0010 001000000000000 0001 000100000000000 1101 000010000000000 0110 000001000000000 0011 000000100000000 1101 000000010000000 1010 000000001000000 0101 000000000100000 1110 000000000010000 0111 000000000001000 1111 000000000000100 1011 000000000000010 1001 000000000000001

[0198] Optionally, before S610, the network device may determine the first corresponding relationship. Optionally, the network device may determine the first corresponding relationship according to the corresponding relationship between the beam and the random access resource. In combination with the above example, if the resource configuration information broadcast by the network device indicates that there are a total of 32 random access preambles (random access resources may include random access preambles) on a random access opportunity (RACH occasion, RO), there are a total of 4 beams (each beam corresponds to 8 random access preambles), and each beam has 8 peaks (this is an example, and the peak data of each beam may be different). In this way, each peak corresponds to 1 ((32 / 4) / 8) random access preamble. For example, SSB1, SSB2, SSB3, and SSB4 are sent on the 4 beams respectively. Originally, SSB1 sent on beam 1 corresponds to random access preamble 1, random access preamble 2, ..., random access preamble 8. However, since SSB1 has 8 peaks, combined with Table 4 and the above matrix, the 8 peaks of SSB1 include the 1st peak, the 5th peak, the 8th peak, the 9th peak, the 11th peak, the 13th peak, the 14th peak, and the 15th peak. Then the first peak of SSB1 is allocated with random access preamble 1 (correspondingly, sequence 1000 corresponds to random access preamble 1), the fifth peak of SSB1 is allocated with random access preamble 2 (correspondingly, sequence 1100 corresponds to random access preamble 2), the eighth peak of SSB1 is allocated with random access preamble 3 (correspondingly, sequence 1101 corresponds to random access preamble 2), the ninth peak of SSB1 is allocated with random access preamble 4 (correspondingly, sequence 1010 corresponds to random access preamble 4), and the first peak of SSB1 is allocated with random access preamble 2 (correspondingly, sequence 1101 corresponds to random access preamble 2). Random access preamble 5 is allocated to 1 peak (correspondingly, sequence 1110 corresponds to random access preamble 5), random access preamble 6 is allocated to the 13th peak of SSB1 (correspondingly, sequence 1111 corresponds to random access preamble 6), random access preamble 7 is allocated to the 14th peak of SSB1 (correspondingly, sequence 1011 corresponds to random access preamble 7), and random access preamble 8 is allocated to the 15th peak of SSB1 (correspondingly, sequence 1001 corresponds to random access preamble 8). The first corresponding relationship is shown in Table 5.

[0199] Table 5

[0200] Detection sequence Random access resources 1000 Random access preamble 1 1100 Random access preamble 2 1101 Random access preamble 3 1010 Random access preamble 4 1110 Random access preamble 5 1111 Random access preamble 6 1011 Random access preamble 7 1001 Random access preamble 8

[0201] S690, the network device sends a random access response to the terminal device through the first wave peak.

[0202] Correspondingly, the terminal device receives the random access response sent by the network device through the first peak.

[0203] Combine the following Figure 7The method 700 for random access mentioned in the embodiment of the present application is described. The method 700 is described by taking the reference signal as SSB as an example, which should not cause any limitation to the embodiment of the present application. The method 700 includes:

[0204] S710, the network device sends the second correspondence relationship and the third correspondence relationship. For example, the network device may send the second correspondence relationship and the third correspondence relationship to one or more terminal devices.

[0205] Correspondingly, the terminal device receives the second corresponding relationship and the third corresponding relationship sent by the network device.

[0206] Specifically, the network device may send the second correspondence relationship and the third correspondence relationship to the terminal device by broadcasting / multicasting or the like.

[0207] Of course, in S710, the network device may send the second correspondence relationship and the third correspondence relationship in one broadcast message or multicast message, or may send the second correspondence relationship and the third correspondence relationship in different broadcast messages and multicast messages.

[0208] S720, the network device sends grouping information of SSB, where the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals.

[0209] Correspondingly, the terminal device receives the SSB packet information sent by the network device.

[0210] It should be noted that the order of S710 and S720 is not limited, and S710 and S720 can be executed simultaneously or separately. In addition, the network device can send the second correspondence, the third correspondence, and the grouping information of SSB to the terminal device in the same broadcast message, or send the second correspondence, the third correspondence, and the grouping information of SSB to the terminal device in different broadcast messages, which is not limited in the embodiment of the present application.

[0211] S730, the network device sends multiple SSBs, for example, the network device sends multiple SSBs to one or more terminal devices.

[0212] Accordingly, the terminal device detects SSB.

[0213] Optionally, the network device can broadcast or multicast multiple SSBs.

[0214] S740: If the terminal device detects at least one SSB, a first detection sequence may be determined according to the grouping information of the SSB in S620.

[0215] Specifically, in S740 , the terminal device determines the first detection sequence in a manner similar to the description of method 500 .

[0216] S750, the terminal device determines a first peak random access resource according to the first detection sequence and the second corresponding relationship in S710.

[0217] Optionally, the second corresponding relationship is shown in Table 2 or Table 4. The terminal device may determine the first random access resource according to Table 2 or Table 4.

[0218] S760, the terminal device determines a first random access resource according to the third corresponding relationship and the first peak.

[0219] In combination with the example in method 600, the third corresponding relationship may be as shown in Table 6.

[0220] Table 6

[0221] crest Random access resources The first peak Random access preamble 1 The fifth peak Random access preamble 2 The 8th peak Random access preamble 3 The 9th peak Random access preamble 4 The 11th peak Random access preamble 5 The 13th peak Random access preamble 6 The 14th peak Random access preamble 7 The 15th peak Random access preamble 8

[0222] S770: The terminal device sends a random access preamble to the network device on a first random access resource.

[0223] Correspondingly, the network device receives the random access preamble code sent by the terminal device on the first random access resource.

[0224] S780: The network device determines a first peak according to the first random access resource and the third corresponding relationship.

[0225] S790, the network device sends a random access response to the terminal device through the first wave peak.

[0226] Correspondingly, the terminal device receives the random access response sent by the network device through the first peak.

[0227] Combine the following Figure 8 The method 800 for random access mentioned in the embodiment of the present application is described. The method 800 is described by taking the reference signal as SSB as an example, which should not cause any limitation to the embodiment of the present application. The method 800 includes:

[0228] S810, the network device sends a fourth corresponding relationship. For example, the network device may send the fourth corresponding relationship to one or more terminal devices.

[0229] Correspondingly, the terminal device receives the fourth corresponding relationship sent by the network device.

[0230] Specifically, the network device may send the fourth corresponding relationship to the terminal device by broadcasting / multicasting or the like.

[0231] Optionally, before S810, method 800 further includes: the network device determines a fourth corresponding relationship. Optionally, the network device may determine the fourth corresponding relationship based on the corresponding relationship between the beam and the random access resource. In conjunction with the example of method 600, if the resource configuration information broadcast by the network device indicates that there are a total of 32 random access preambles on an RO (the random access resource may include a random access preamble), there are a total of 4 beams (each beam corresponds to 8 random access preambles), and each beam has 8 peaks (this is an example, and the peak data of each beam may be different). In this way, each peak corresponds to 1 ((32 / 4) / 8) random access preamble. For example, SSB1, SSB2, and SSB3 are sent on the 4 beams, respectively. SSB4, the SSB1 originally sent on beam 1 corresponds to random access preamble 1, random access preamble 2, ..., random access preamble 8. Since SSB1 has 8 peaks, the 8 peaks of SSB1 include the 1st peak, the 5th peak, the 8th peak, the 9th peak, the 11th peak, the 13th peak, the 14th peak, and the 15th peak, which respectively correspond to random access preamble 1, random access preamble 2, ..., random access preamble 8, ..., and so on.

[0232] S820, the network device sends grouping information of SSB, where the grouping information is used to indicate that M reference signals are a group, a total of N groups of reference signals, and peak information of each group of reference signals.

[0233] Correspondingly, the terminal device receives the SSB packet information sent by the network device.

[0234] Taking the example of method 600 as an example, the matrix in method 600 may be the peak information of a group of reference signals, and the peaks of each group of reference signals may be the same or different. That is, if there are 16 groups of reference signals, the peak information of each group of reference signals may be as shown in the matrix in method 600, or the peak information of a group of reference signals may be as shown in the matrix in method 600.

[0235] It should be noted that the order of S810 and S820 is not limited, and S810 and S820 can be executed simultaneously or separately. In addition, the network device can send the fourth correspondence and the grouping information of the SSB to the terminal device in the same broadcast message, or send the fourth correspondence and the grouping information of the SSB to the terminal device in different broadcast messages, which is not limited in the embodiment of the present application.

[0236] S830, the network device sends multiple SSBs, for example, the network device sends multiple SSBs to one or more terminal devices.

[0237] Accordingly, the terminal device detects SSB.

[0238] Optionally, the network device can broadcast or multicast multiple SSBs.

[0239] S840: If the terminal device detects at least one SSB, the first peak may be determined according to the grouping information of the SSB in S820.

[0240] Specifically, in S840 , the terminal device determines the first peak in a manner similar to the algorithm described in method 500 .

[0241] S850, the terminal device determines a first random access resource according to the first peak and the fourth corresponding relationship in S810.

[0242] Optionally, the fourth corresponding relationship is shown in Table 3. The terminal device may determine the first random access resource according to Table 3.

[0243] S860: The terminal device sends a random access preamble to the network device on the first random access resource.

[0244] Correspondingly, the network device receives the random access preamble code sent by the terminal device on the first random access resource.

[0245] S870: The network device determines a first peak according to the first random access resource and the fourth corresponding relationship.

[0246] S880, the network device sends a random access response to the terminal device through the first wave peak.

[0247] Correspondingly, the terminal device receives the random access response sent by the network device through the first peak.

[0248] It should be noted that in the embodiment of the present application, for the convenience of description, the resources used to send the random access preamble code are defined as the first random access resources, and the peak of the reference signal sent by the determined network device and the peak of the random access response are defined as the first peak. In different embodiments, the values ​​of the first random access resource and the first peak may be different, and the present application is not limited thereto.

[0249] The various embodiments described herein may be independent solutions or may be combined according to internal logic, and all of these solutions fall within the protection scope of this application.

[0250] It can be understood that the methods and operations implemented by the terminal device in the above-mentioned method embodiments can also be implemented by components (such as chips or circuits) that can be used for terminal devices, and the methods and operations implemented by the network device in the above-mentioned method embodiments can also be implemented by components (such as chips or circuits) that can be used for network devices.

[0251] The above describes the method embodiment provided by the present application, and the following describes the device embodiment provided by the present application. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so the content not described in detail can be referred to the method embodiment above, and for the sake of brevity, it will not be repeated here.

[0252] The above mainly describes the solution provided by the embodiment of the present application from the perspective of the interaction between various network elements. It is understandable that each network element, such as a transmitting end device or a receiving end device, includes a hardware structure and / or software module corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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 exceed the scope of protection of this application.

[0253] The embodiment of the present application can divide the functional modules of the transmitting end device or the receiving end device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other feasible division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.

[0254] Fig. 9 A schematic block diagram of a random access apparatus 900 provided in an embodiment of the present application. The communication apparatus 900 includes a transceiver unit 910 and a processing unit 920. The transceiver unit 910 can communicate with the outside, and the processing unit 920 is used for data processing. The transceiver unit 910 can also be called a communication interface or a communication unit.

[0255] The device 900 can be used to execute the actions performed by the terminal device in the above method embodiment. In this case, the communication device 900 can be called a terminal device, the transceiver unit 910 is used to execute the transceiver-related operations on the terminal device side in the above method embodiment, and the processing unit 920 is used to execute the processing-related operations on the terminal device side in the above method embodiment.

[0256] Among them, the transceiver unit 910 is used to obtain the grouping information of the reference signal, and the grouping information is used to indicate the grouping status of the reference signal; the processing unit 920, if the transceiver unit detects at least one reference signal sent by the network device, determines the first random access resource for sending the random access preamble code according to the grouping information; the transceiver unit 910 is also used to send the random access preamble code to the network device on the first random access resource.

[0257] As an optional embodiment, the processing unit 920 is specifically configured to determine a first detection sequence according to the grouping information; and determine the first random access resource according to the first detection sequence.

[0258] As an optional embodiment, the processing unit 920 is specifically configured to:

[0259] A first random access resource for sending the random access preamble code is determined according to the first detection sequence and a first correspondence relationship, wherein the first correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource.

[0260] As an optional embodiment, the transceiver unit 910 is further used to: obtain the first corresponding relationship from the network device.

[0261] As an optional embodiment, the processing unit 920 is specifically used to: determine, according to the first detection sequence and the second corresponding relationship, a first peak at which the network device sends the at least one reference signal, wherein the second corresponding relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak;

[0262] The first random access resource for sending the random access preamble code is determined according to the first peak and a third corresponding relationship, wherein the third corresponding relationship is used to indicate that the at least one peak corresponds to at least one random access resource, and the at least one random access resource includes the first random access resource.

[0263] As an optional embodiment, the transceiver unit 910 is further used to: obtain the second corresponding relationship and the third corresponding relationship from the network device.

[0264] As an optional embodiment, the processing unit 920 is specifically configured to: obtain the first detection sequence according to the grouping information and an index of the at least one reference signal.

[0265] As an optional embodiment, the grouping information is also used to indicate the peak information for sending each group of reference signals, and the processing unit 920 is specifically used to: determine the first peak according to the grouping information; determine the first random access resource for sending the random access preamble code according to the first peak and a fourth correspondence, and the fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

[0266] As an optional embodiment, the transceiver unit 910 is further used to: obtain a reference signal received power RSRP threshold from the network device;

[0267] The processing unit 920 is further configured to: if the RSRP of the at least one reference signal is greater than the RSRP threshold, determine that the at least one reference signal is detected.

[0268] As an optional embodiment, the transceiver unit 920 is specifically used to: obtain the grouping information of the reference signal from a network device.

[0269] The processing unit 920 in the above embodiment can be implemented by a processor or a processor-related circuit. The transceiver unit 910 can be implemented by a transceiver or a transceiver-related circuit. The transceiver unit 910 can also be called a communication unit or a communication interface.

[0270] Fig.10 A schematic block diagram of a random access apparatus 1000 provided in an embodiment of the present application. The communication apparatus 1000 includes a transmitting unit 1010 and a receiving unit 1020. The transmitting unit 1010 and the receiving unit 1020 can communicate with the outside. The transmitting unit 1010 and the receiving unit 1020 can also be referred to as a communication interface or a communication unit. Optionally, the apparatus 1000 also includes a processing unit 1030, which is used to perform data processing.

[0271] The device 1000 can be used to execute the actions performed by the network device in the above method embodiment. In this case, the communication device 1000 can be called a network device, the sending unit 1010 is used to execute the sending-related operations on the network device side in the above method embodiment, the receiving unit 1020 is used to execute the receiving-related operations on the network device side in the above method embodiment, and the processing unit 1030 is used to execute the processing-related operations on the network device side in the above method embodiment.

[0272] The sending unit 1010 is configured to send grouping information of a reference signal to a terminal device, wherein the grouping information is used for grouping of the reference signal, and the grouping information is used by the terminal device to determine a first random access resource;

[0273] The sending unit 1010 is further configured to send a reference signal to the terminal device;

[0274] The receiving unit 1020 is used to receive a random access preamble code from the terminal device on the first random access resource.

[0275] As an optional embodiment, the processing unit 1030 is configured to determine, according to the first random access resource, a first peak for sending the random access response to the terminal device;

[0276] The sending unit 1010 is further configured to send the random access response to the terminal device via the first peak.

[0277] As an optional embodiment, the grouping information is specifically used by the terminal device to determine a first detection sequence, and the first detection sequence is used by the terminal device to determine the first random access resource.

[0278] As an optional embodiment, the processing unit 1030 is specifically configured to: determine the first detection sequence according to a first corresponding relationship and the first random access resource, the first corresponding relationship being used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource;

[0279] The first peak for sending the random access response to the terminal device is determined according to a second correspondence relationship and the first detection sequence, wherein the second correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak.

[0280] As an optional embodiment, the sending unit 1010 is further used to: send the first corresponding relationship and the second corresponding relationship to the terminal device.

[0281] As an optional embodiment, the processing unit 1030 is specifically used to: determine the first peak for sending the random access response to the terminal device according to the third correspondence relationship and the first random access resource, the third correspondence relationship is used to indicate that the at least one peak corresponds to at least one random access resource, and the at least one random access resource includes the first random access resource.

[0282] As an optional embodiment, the sending unit 1010 is further used to: send the third corresponding relationship to the terminal device.

[0283] As an optional embodiment, the grouping information is further used to indicate peak information of each group of reference signals, and the grouping information is specifically used by the terminal device to determine a first peak, and the first peak is used by the terminal device to determine the first random access resource;

[0284] The processing unit 1030 is specifically used to determine the first peak of sending the random access response to the terminal device according to the first random access resource and the fourth corresponding relationship, the fourth corresponding relationship is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

[0285] As an optional embodiment, the sending unit 1010 is further used to: send a reference signal received power RSRP threshold to the terminal device.

[0286] like Fig.11 As shown, the embodiment of the present application further provides a communication device 1100. The communication device 1100 includes a processor 1110, the processor 1110 is coupled to a memory 1120, the memory 1120 is used to store computer programs or instructions, and the processor 1110 is used to execute the computer programs or instructions stored in the memory 1120, so that the method in the above method embodiment is executed.

[0287] Alternatively, if Fig.11 As shown, the communication device 1100 may further include a memory 1120 .

[0288] Alternatively, if Fig.11 As shown, the communication device 1100 may further include a transceiver 1130, and the transceiver 1130 is used for receiving and / or sending signals. For example, the processor 1110 is used to control the transceiver 1130 to receive and / or send signals.

[0289] As a solution, the communication device 1100 is used to implement the operations performed by the terminal device in the above method embodiment.

[0290] For example, the processor 1110 is used to implement the processing-related operations performed by the terminal device in the above method embodiment, and the transceiver 1130 is used to implement the sending and receiving-related operations performed by the terminal device in the above method embodiment.

[0291] As another solution, the communication device 1100 is used to implement the operations performed by the network device in the above method embodiment.

[0292] For example, the processor 1110 is used to implement the processing-related operations performed by the network device in the above method embodiment, and the transceiver 1130 is used to implement the sending and receiving-related operations performed by the network device in the above method embodiment.

[0293] The embodiment of the present application further provides a communication device 1200, which can be a terminal device or a chip. The communication device 1200 can be used to execute the operations executed by the terminal device in the above method embodiment.

[0294] When the communication device 1200 is a terminal device, Fig.12 A simplified schematic diagram of the structure of a terminal device is shown. For ease of understanding and illustration, Fig.12 In this article, a mobile phone is used as an example of a terminal device. Fig.12 As shown, the terminal device includes a processor, a memory, a radio frequency circuit, an antenna, and an input-output device. The processor is mainly used to process communication protocols and communication data, as well as to control the terminal device, execute software programs, process software program data, etc. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used for conversion between baseband signals and radio frequency signals and processing of radio frequency signals. The antenna is mainly used to send and receive radio frequency signals in the form of electromagnetic waves. Input-output devices, such as touch screens, display screens, keyboards, etc., are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal devices may not have input-output devices.

[0295] When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs the baseband signal to the RF circuit. The RF circuit performs RF processing on the baseband signal and then sends the RF signal outward in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data. For ease of explanation, Fig.12 Only one memory and processor are shown in the figure. In an actual terminal device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device. The memory may be set independently of the processor or integrated with the processor, and the embodiments of the present application do not limit this.

[0296] In the embodiment of the present application, the antenna and the radio frequency circuit with transceiver functions can be regarded as the transceiver unit of the terminal device, and the processor with processing function can be regarded as the processing unit of the terminal device.

[0297] like Fig.12As shown, the terminal device includes a transceiver unit 1210 and a processing unit 1220. The transceiver unit 1210 may also be referred to as a transceiver, a transceiver, a transceiver device, etc. The processing unit 1220 may also be referred to as a processor, a processing board, a processing module, a processing device, etc.

[0298] Optionally, the device for implementing the receiving function in the transceiver unit 1210 may be regarded as a receiving unit, and the device for implementing the sending function in the transceiver unit 1210 may be regarded as a sending unit, that is, the transceiver unit 1210 includes a receiving unit and a sending unit. The transceiver unit may sometimes be referred to as a transceiver, a transceiver, or a transceiver circuit, etc. The receiving unit may sometimes be referred to as a receiver, a receiver, or a receiving circuit, etc. The sending unit may sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.

[0299] For example, in one implementation, the transceiver unit 1210 is used to execute Figure 5 The receiving operations in S510, S520 and S540, and / or the transceiver unit 1210 is also used to perform other transceiver-related steps performed by the terminal device. For example, the transceiver unit 1210 is also used to receive at least one of the first correspondence, the second correspondence, the third correspondence, the fourth correspondence and the RSRP threshold. The processing unit 1220 is used to perform other processing-related steps performed by the terminal device in the embodiment of the present application, for example, the processing unit 1220 is used to parse the resource configuration information of the reference signal received by the transceiver unit 1210, and then obtain the reference signal resource.

[0300] It should be understood that Fig.12 This is only an example and not a limitation. The terminal device including the transceiver unit and the processing unit may not rely on Fig.12 The structure shown.

[0301] When the communication device 1200 is a chip, the chip includes a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit or a communication interface; and the processing unit may be a processor or a microprocessor or an integrated circuit integrated on the chip.

[0302] The embodiment of the present application further provides a communication device 1300, which can be a network device or a chip. The communication device 1300 can be used to execute the operations executed by the network device in the above method embodiment.

[0303] When the communication device 1300 is a network device, for example, it is a base station. Fig.13A simplified schematic diagram of the base station structure is shown. The base station includes a part 1310 and a part 1320. The part 1310 is mainly used for receiving and transmitting radio frequency signals and converting radio frequency signals into baseband signals; the part 1320 is mainly used for baseband processing, controlling network equipment, etc. The part 1310 can generally be referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc. The part 1320 is generally the control center of the network equipment, which can generally be referred to as a processing unit, and is used to control the base station to perform the processing operations on the network equipment side in the above method embodiment.

[0304] The transceiver unit of part 1310 may also be referred to as a transceiver or a transceiver, etc., and includes an antenna and a radio frequency circuit, wherein the radio frequency circuit is mainly used for radio frequency processing. Optionally, the device used to implement the receiving function in part 1310 may be regarded as a receiving unit, and the device used to implement the sending function may be regarded as a sending unit, that is, part 1310 includes a receiving unit and a sending unit. The receiving unit may also be referred to as a receiver, a receiver, or a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.

[0305] Part 1320 may include one or more single boards, each of which may include one or more processors and one or more memories. The processor is used to read and execute the program in the memory to realize the baseband processing function and the control of the base station. If there are multiple single boards, each single board can be interconnected to enhance the processing capability. As an optional implementation, multiple single boards may share one or more processors, or multiple single boards may share one or more memories, or multiple single boards may share one or more processors at the same time.

[0306] For example, in one implementation, the transceiver unit of part 1310 is used to execute Figure 5 The sending operations in S510, S520 and S540, and / or the transceiver unit of part 1310 is also used to perform other sending and receiving related steps performed by the network device in the embodiment of the present application, for example, part 1310 is also used to send at least one of the first corresponding relationship, the second corresponding relationship, the third corresponding relationship, the fourth corresponding relationship, the RSRP threshold and the random access response. Part 1320 is used to perform Figure 6 Steps S670 and S680, or for executing Figure 7 S780 in, or for executing Figure 8 S870 and / or 1320 parts are also used to execute steps related to the processing performed by the network device in the embodiment of the present application.

[0307] It should be understood that Fig.13 This is only an example and not a limitation. The network device including the transceiver unit and the processing unit may not rely on Fig.13 The structure shown.

[0308] When the communication device 1300 is a chip, the chip includes a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit or a communication interface; and the processing unit may be a processor or a microprocessor or an integrated circuit integrated on the chip.

[0309] An embodiment of the present application also provides a communication system, including the network device and the terminal device in the above embodiment.

[0310] An embodiment of the present application also provides a computer-readable storage medium on which computer instructions for implementing the method executed by a terminal device or a method executed by a network device in the above method embodiment are stored.

[0311] For example, when the computer program is executed by a computer, the computer can implement the method executed by the terminal device or the method executed by the network device in the above method embodiment.

[0312] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to implement the method executed by a terminal device or a method executed by a network device in the above method embodiment.

[0313] The explanation of the relevant contents and beneficial effects in any of the communication devices provided above can refer to the corresponding method embodiments provided above, and will not be repeated here.

[0314] In an embodiment of the present application, a terminal device or a 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. Among them, the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.

[0315] The embodiments of the present application do not specifically limit the specific structure of the execution subject of the method provided in the embodiments of the present application, as long as it is possible to communicate according to the method provided in the embodiments of the present application by running a program that records the code of the method provided in the embodiments of the present application. For example, the execution subject of the method provided in the embodiments of the present application may be a terminal device or a network device, or a functional module in the terminal device or the network device that can call and execute a program.

[0316] Various aspects or features of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used herein may encompass a computer program accessible from any computer-readable device, carrier, or medium. For example, a computer-readable medium may include, but is not limited to, a magnetic storage device (e.g., a hard disk, a floppy disk, or a magnetic tape, etc.), an optical disk (e.g., a compact disc (CD), a digital versatile disc (DVD), etc.), a smart card, and a flash memory device (e.g., an erasable programmable read-only memory (EPROM), a card, a stick, or a key drive, etc.).

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

[0318] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0319] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may 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 may be a random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0320] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.

[0321] It should also be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0322] Those of ordinary skill in the art will appreciate that the units and 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 exceed the scope of protection of this application.

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

[0324] 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. In addition, 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.

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

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

[0327] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a computer software product, which is stored in a storage medium. The computer software product includes several instructions, which are used to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium may include, but is not limited to: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0328] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0329] 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 method for random access, the method being applicable to a terminal device, characterized in that: include: Acquire grouping information of reference signals, where the grouping information is used to indicate that M reference signals are grouped together, with a total of N groups of reference signals, where M and N are positive integers greater than or equal to 1; If at least one reference signal among the M*N reference signals sent by the network device is detected, the terminal device determines a first random access resource for sending a random access preamble code according to the grouping information; The random access preamble is sent to a network device on the first random access resource.

2. The method according to claim 1, characterized in that The determining, according to the grouping information, a first random access resource for sending a random access preamble code comprises: Determine a first detection sequence according to the grouping information; The first random access resource is determined according to the first detection sequence.

3. The method according to claim 2, characterized in that Determining the first random access resource according to the first detection sequence includes: A first random access resource for sending the random access preamble code is determined according to the first detection sequence and a first correspondence relationship, wherein the first correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource.

4. The method according to claim 3, characterized in that The method further comprises: The first corresponding relationship is acquired from the network device.

5. The method according to claim 2, characterized in that: The determining the first random access resource according to the first detection sequence includes: Determine, according to the first detection sequence and a second correspondence relationship, a first peak at which the network device sends the at least one reference signal, wherein the second correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak; The first random access resource for sending the random access preamble code is determined according to the first peak and a third corresponding relationship, wherein the third corresponding relationship is used to indicate that the at least one peak corresponds to at least one random access resource, and the at least one random access resource includes the first random access resource.

6. The method according to claim 5, characterized in that The method further comprises: The second corresponding relationship and the third corresponding relationship are acquired from the network device.

7. The method according to any one of claims 2, characterized in that The determining a first detection sequence according to the grouping information includes: The first detection sequence is obtained according to the grouping information and an index of the at least one reference signal.

8. The method according to claim 1, characterized in that The grouping information is also used to indicate the peak information of sending each group of reference signals. The step of determining, according to the grouping information, a first random access resource for sending a random access preamble: Determine a first peak according to the grouping information; The first random access resource for sending the random access preamble code is determined according to the first peak and a fourth correspondence, wherein the fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Acquire a reference signal received power RSRP threshold from the network device; The method further comprises: If the RSRP of the at least one reference signal is greater than the RSRP threshold, it is determined that the at least one reference signal is detected.

10. The method according to claim 9, characterized in that The acquiring the grouping information of the reference signal includes: The grouping information of the reference signal is obtained from a network device.

11. A method for random access, the method being applicable to a network device, characterized in that: include: Sending reference signal grouping information to a terminal device, where the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals, where M and N are positive integers greater than or equal to 1, and the grouping information is used by the terminal device to determine a first random access resource; Sending M*N reference signals to the terminal device; A random access preamble is received from the terminal device on the first random access resource.

12. The method according to claim 11, characterized in that The method further comprises: Determine, according to the first random access resource, a first peak for sending a random access response to the terminal device; The random access response is sent to the terminal device via the first peak.

13. The method according to claim 12, characterized in that The grouping information is specifically used by the terminal device to determine a first detection sequence, and the first detection sequence is used by the terminal device to determine the first random access resource.

14. The method according to claim 13, characterized in that The determining, according to the first random access resource, a first peak for sending the random access response to the terminal device includes: determining the first detection sequence according to a first corresponding relationship and the first random access resource, the first corresponding relationship being used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource; The first peak for sending the random access response to the terminal device is determined according to a second corresponding relationship and the first detection sequence, wherein the second corresponding relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak.

15. The method according to claim 14, characterized in that The method further comprises: The first corresponding relationship and the second corresponding relationship are sent to the terminal device.

16. The method according to claim 14, characterized in that The determining, according to the first random access resource, a first peak for sending the random access response to the terminal device includes: The first peak for sending the random access response to the terminal device is determined according to a third correspondence relationship and the first random access resource, the third correspondence relationship is used to indicate that at least one peak corresponds to at least one random access resource, the at least one random access resource includes the first random access resource, and the at least one peak includes the first peak.

17. The method according to claim 16, characterized in that The method further comprises: Send the third corresponding relationship to the terminal device.

18. The method according to claim 12, characterized in that The grouping information is also used to indicate the peak information of each group of reference signals; wherein determining, according to the first random access resource, a first peak of sending the random access response to the terminal device; The first peak of sending the random access response to the terminal device is determined according to the first random access resource and the fourth correspondence, the fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

19. The method according to any one of claims 11 to 18, characterized in that The method further comprises: Send a reference signal received power RsRP threshold to the terminal device.

20. A device for random access, characterized in that: include: A transceiver unit, used to obtain grouping information of reference signals, where the grouping information is used to indicate that M reference signals are a group, with a total of N groups of reference signals, where M and N are positive integers greater than or equal to 1; The processing unit determines, if the transceiver unit detects at least one reference signal among the M*N reference signals sent by the network device, a first random access resource for sending a random access preamble according to the grouping information; The transceiver unit is further configured to send the random access preamble code to a network device on the first random access resource.

21. The device according to claim 20, characterized in that The processing unit is specifically used for: Determine a first detection sequence according to the grouping information; The first random access resource is determined according to the first detection sequence.

22. The device according to claim 21, characterized in that The processing unit is specifically used for: A first random access resource for sending the random access preamble code is determined according to the first detection sequence and a first correspondence relationship, wherein the first correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource.

23. The device according to claim 22, characterized in that The transceiver unit is also used for: The first corresponding relationship is acquired from the network device.

24. The device according to claim 21, characterized in that The processing unit is specifically used for: Determine, according to the first detection sequence and a second correspondence relationship, a first peak at which the network device sends the at least one reference signal, wherein the second correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak; The first random access resource for sending the random access preamble code is determined according to the first peak and a third corresponding relationship, wherein the third corresponding relationship is used to indicate that the at least one peak corresponds to at least one random access resource, and the at least one random access resource includes the first random access resource.

25. The device according to claim 24, characterized in that The transceiver unit is also used for: The second corresponding relationship and the third corresponding relationship are acquired from the network device.

26. The device according to any one of claims 21 to 25, characterized in that The processing unit is specifically used for: The first detection sequence is obtained according to the grouping information and an index of the at least one reference signal.

27. The device according to claim 20, characterized in that The grouping information is also used to indicate the peak information of sending each group of reference signals. The processing unit is specifically used for: Determine a first peak according to the grouping information; The first random access resource for sending the random access preamble code is determined according to the first peak and a fourth correspondence, wherein the fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

28. The device according to claim 20, characterized in that The transceiver unit is also used for: Acquire a reference signal received power RSRP threshold from the network device; The processing unit is further configured to: if the RSRP of the at least one reference signal is greater than the RSRP threshold, determine that the at least one reference signal is detected.

29. The device according to claim 20, characterized in that The transceiver unit is specifically used for: The grouping information of the reference signal is obtained from a network device.

30. A device for random access, characterized in that: include: a sending unit, configured to send grouping information of a reference signal to a terminal device, wherein the grouping information is used to indicate that M reference signals are a group, and a total of N groups of reference signals are used, where M and N are positive integers greater than or equal to 1, and the grouping information is used by the terminal device to determine a first random access resource; The sending unit is further used to send M*N reference signals to the terminal device; A receiving unit is used to receive a random access preamble code from the terminal device on the first random access resource.

31. The device according to claim 30, characterized in that The device also includes: A processing unit, configured to determine, according to the first random access resource, a first peak for sending a random access response to the terminal device; The sending unit is further used to send the random access response to the terminal device through the first peak.

32. The device according to claim 31, characterized in that The grouping information is specifically used by the terminal device to determine a first detection sequence, and the first detection sequence is used by the terminal device to determine the first random access resource.

33. The device according to claim 32, characterized in that The processing unit is specifically used for: determining the first detection sequence according to a first corresponding relationship and the first random access resource, the first corresponding relationship being used to indicate that at least one detection sequence corresponds to at least one random access resource, the at least one detection sequence includes the first detection sequence, and the at least one random access resource includes the first random access resource; The first peak for sending the random access response to the terminal device is determined according to a second correspondence relationship and the first detection sequence, wherein the second correspondence relationship is used to indicate that at least one detection sequence corresponds to at least one peak, the at least one detection sequence includes the first detection sequence, and the at least one peak includes the first peak.

34. The device according to claim 33, characterized in that The sending unit is also used for: The first corresponding relationship and the second corresponding relationship are sent to the terminal device.

35. The device according to claim 31, characterized in that The processing unit is specifically used for: The first peak for sending the random access response to the terminal device is determined according to a third correspondence relationship and the first random access resource, the third correspondence relationship is used to indicate that at least one peak corresponds to at least one random access resource, the at least one random access resource includes the first random access resource, and the at least one peak includes the first peak.

36. The device according to claim 35, characterized in that The sending unit is also used for: Send the third corresponding relationship to the terminal device.

37. The device according to claim 31, characterized in that The grouping information is further used to indicate peak information of each group of reference signals, and the grouping information is specifically used by the terminal device to determine a first peak, and the first peak is used by the terminal device to determine the first random access resource; The processing unit is specifically used for: The first peak of sending the random access response to the terminal device is determined according to the first random access resource and the fourth correspondence, the fourth correspondence is used to indicate that at least one peak corresponds to at least one random access resource, the at least one peak includes the first peak, and the at least one random access resource includes the first random access resource.

38. The device according to any one of claims 30 to 37, characterized in that The sending unit is also used for: Send a reference signal received power RSRP threshold to the terminal device.

39. A communication device, characterized in that: The method comprises a processor and a memory, wherein the processor is coupled to the memory, the memory is used to store computer programs or instructions, and the processor is used to execute the computer program or instructions in the memory, so that the method according to any one of claims 1 to 10 is executed.

40. A communication device, characterized in that: The method comprises a processor and a memory, wherein the processor is coupled to the memory, the memory is used to store computer programs or instructions, and the processor is used to execute the computer program or instructions in the memory, so that the method according to any one of claims 11 to 19 is executed.

41. A computer-readable storage medium, characterized in that A program or instruction for implementing the method according to any one of claims 1 to 10 is stored.

42. A computer-readable storage medium, characterized in that: A program or instruction for implementing the method according to any one of claims 11 to 19 is stored.

43. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a computer, enables the method according to any one of claims 1 to 10 to be performed.

44. A computer program product, characterized in that The invention comprises a computer program which, when executed by a computer, causes the method according to any one of claims 11 to 19 to be performed.

Citation Information

Patent Citations

  • SSB transmission method, client and base station

    CN109041250A