Random access method and communication device

CN119452612APending Publication Date: 2025-02-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280097633.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-09-16
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the uplink random access process of millimeter wave systems, the random access success rate of users is low, especially in certain beam scanning time slots.

Method used

The network equipment determines the statistical distribution information of the channel fading coefficient of each beam and the number of access users, and flexibly configures the preamble sequence type of each beam, such as using ZC sequence or PN sequence, and dynamically adjusts the preamble according to the channel fading coefficient and the number of users. type to improve the success rate of random access.

Benefits of technology

It improves the success rate of random access for users, avoids preamble collisions, enhances the orthogonality of the channel, and improves the overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119452612A_ABST
    Figure CN119452612A_ABST
Patent Text Reader

Abstract

The invention provides a random access method and a communication device. The method comprises the following steps: determining a lead code sequence type corresponding to each beam in a plurality of beams; sending first information to the terminal equipment, wherein the first information is used for configuring a lead code sequence type corresponding to each beam in the plurality of beams; a random access message sent by a terminal device is received through a first beam in a plurality of beams, the random access message comprises a target preamble, the target preamble is generated based on a target preamble sequence, and the type of the target preamble sequence is a first preamble sequence type. The first lead code sequence type is a lead code sequence type corresponding to the first beam. Based on the method and the device provided by the invention, the success rate of random access of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Random access method and communication device Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a random access method and a communication device. Background Art

[0002] During uplink random access in millimeter wave systems, the access network device (such as a base station) generates different receive beams in different beam scanning time slots within a beam scanning cycle. The terminal device selects one of the beam scanning time slots to send a preamble code to the access network device for scheduling-free random access. That is, the terminal device selects a beam and uses this beam to send a preamble code to the access network device for scheduling-free random access. In the existing millimeter wave system random access framework, the random access success rate of users in certain beam scanning time slots is low. In other words, the random access success rate of users using certain beams for random access is low. Therefore, how to improve the success rate of user random access is currently an urgent problem to be solved.

[0003] Summary of the Invention

[0004] The embodiments of the present application provide a random access method and a communication device, which are conducive to improving the success rate of user random access.

[0005] In a first aspect, the present application provides a random access method. Optionally, the method can be performed by a network device, or by a component of the network device (such as a processor, chip, or chip system), or by a logic module or software that can implement all or part of the network device functions. The method includes:

[0006] Determine a preamble sequence type corresponding to each of a plurality of beams; send first information to a terminal device, where the first information is used to configure a preamble sequence type corresponding to each of a plurality of beams; receive a random access message sent by the terminal device through a first beam among the plurality of beams, where the random access message includes a target preamble, where the target preamble is generated based on a target preamble sequence, where the type of the target preamble sequence is a first preamble sequence type, and where the first preamble sequence type is a preamble sequence type corresponding to the first beam.

[0007] Based on the method described in the first aspect, the preamble sequence types corresponding to different beams are not always the same. The preamble sequence types corresponding to each beam can be flexibly configured according to actual conditions to improve the success rate of user random access. For example, for beams with a small number of access users, a preamble generated based on a ZC sequence can be sent. For beams with a large number of access users, a preamble generated based on a PN sequence can be sent. Since the number of PN sequences is large, collisions of preambles of different users can be avoided, resulting in failure of user random access. For another example, for beams with a small channel fading coefficient, a preamble generated based on a PN sequence can be sent. For beams with a large channel fading coefficient, a preamble generated based on a ZC sequence can be sent. Since the ZC sequence has good orthogonality, it is beneficial to improve the success rate of user random access.

[0008] In one possible implementation, the specific implementation method of determining the preamble code sequence type corresponding to each beam in the multiple beams is: determining the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams; based on the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams, determining the preamble code sequence type corresponding to each beam in the multiple beams.

[0009] Based on this possible implementation method, the statistical distribution information of the channel fading coefficient corresponding to the beam and the number of access users can be comprehensively considered to flexibly determine the preamble sequence type corresponding to the beam, which is conducive to improving the success rate of user random access.

[0010] In one possible implementation, based on the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams, the specific implementation method of determining the preamble code sequence type corresponding to each beam in the multiple beams is as follows: based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam and the number of access users, determining the signal-to-noise ratio when the random access message received by the t-th beam includes preamble codes of different preamble code sequence types; based on the signal-to-noise ratio when the random access message received by the t-th beam includes preamble codes of different preamble code sequence types, determining the preamble code sequence type corresponding to the t-th beam, where the t-th beam is any one of the multiple beams.

[0011] The preamble code sequence type corresponding to the beam determined based on this possible implementation method is conducive to improving the success rate of user random access.

[0012] In one possible implementation, the preamble sequence type corresponding to the t-th beam is the preamble sequence type corresponding to the preamble included in the random access message with a target signal-to-noise ratio. The target signal-to-noise ratio is the signal-to-noise ratio greater than a first threshold among the signal-to-noise ratios corresponding to the t-th beam, or the target signal-to-noise ratio is the maximum signal-to-noise ratio among the signal-to-noise ratios corresponding to the t-th beam. The preamble sequence type corresponding to the beam determined based on this possible implementation is conducive to improving the success rate of user random access.

[0013] In one possible implementation, the signal-to-noise ratio (SNR) of the random access message received by the tth beam including the preamble of the i-th preamble sequence type is t ;in:

[0014]

[0015] in, N represents the number of random accesses without scheduling through the tth beam t The index set of users, the N t The index set of each user is determined based on the number of access users corresponding to the t-th beam; represents the channel fading coefficient of the lth transmission path of the nth user, Determined based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam; γ n,n′ represents the mutual correlation coefficient between the preamble codes of the nth user and the n′th user; represents the hybrid beamforming matrix of the t-th beam; represents the channel response vector of the nth user for the tth beam; represents the preamble sequence of the i-th preamble sequence type of the n-th user; x n′ represents the preamble sequence of the i-th preamble sequence type of the n′th user; Z t is the interference and noise received by the signal received by the tth beam.

[0016] Based on this possible implementation, the signal-to-noise ratio when the random access message received by the t-th beam includes a preamble of the i-th preamble sequence type can be accurately determined.

[0017] In one possible implementation, the specific implementation method for determining the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams is: determining the arrival angle of the user signal and the channel fading coefficient on the path corresponding to the arrival angle within a preset time period; based on the arrival angle of the user signal and the channel fading coefficient on the path corresponding to the arrival angle within the preset time period, determining the statistical distribution information of the arrival angle within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period; based on the statistical distribution information of the channel fading coefficient within the preset time period, determining the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams; based on the statistical distribution information of the arrival angle within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period, determining the number of access users corresponding to each beam in the multiple beams.

[0018] Based on this possible implementation, the statistical distribution information of the channel fading coefficient corresponding to each of the multiple beams and the number of access users corresponding to each of the multiple beams can be accurately determined.

[0019] In a possible implementation, second information may also be sent, where the second information is used to configure the preamble sequence used when the terminal device generates a target preamble based on preamble sequences of different preamble sequence types.

[0020] Based on this possible implementation, it is beneficial to prevent target preamble codes sent by different users using the first beam from colliding.

[0021] In a possible implementation, the first information is also used to indicate the preamble code time-frequency resource position corresponding to each beam in the multiple beams.

[0022] Based on this possible implementation, the network device can indicate the time-frequency resource position of the preamble, thereby making the time-frequency resource position of the preamble more flexible.

[0023] In a possible implementation, the preamble code sequence type includes a pseudo noise PN sequence type and a Zadov-ZC sequence type.

[0024] In the second aspect, the present application provides a random access method. Optionally, the method can be executed by a terminal device, or by a component of the terminal device (such as a processor, a chip, or a chip system, etc.), or by a logic module or software that can realize all or part of the terminal device functions. The method includes: receiving first information, the first information is used to configure the preamble sequence type corresponding to each beam in a plurality of beams; sending a random access message through a first beam in a plurality of beams, the random access message including a target preamble, the target preamble is generated based on a target preamble sequence, the type of the target preamble sequence is a first preamble sequence type, and the first preamble sequence type is a preamble sequence type corresponding to the first beam.

[0025] In one possible implementation, different preamble sequence types correspond to different preamble sequence sets, each of which includes one or more preamble sequences. The target preamble sequence is a sequence randomly selected from the preamble sequence set corresponding to the first preamble sequence type. Based on this possible implementation, the network device does not need to notify the terminal device of the target preamble sequence via signaling, which helps save transmission resources.

[0026] In a possible implementation, second information is received, where the second information is used to configure a preamble sequence used when a terminal device generates a target preamble based on preamble sequences of different preamble sequence types.

[0027] In a possible implementation, the first information is also used to indicate the preamble code time-frequency resource position corresponding to each beam in the multiple beams.

[0028] In a possible implementation, the preamble code sequence type includes a pseudo noise PN sequence type and a Zadov-ZC sequence type.

[0029] In a possible implementation, the first beam is a beam with the greatest received signal strength among the multiple beams.

[0030] The beneficial effects of the second aspect can be referred to the beneficial effects of the first aspect, and will not be repeated here.

[0031] In a third aspect, the present application provides a communication device, which may be a network device or a terminal device, or a device in a network device or a terminal device, or a device that can be used in conjunction with a network device or a terminal device. The communication device may also be a chip system. The communication device may execute the method described in the first aspect or the second aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units or modules corresponding to the above functions. The unit or module may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the first aspect or the second aspect above.

[0032] In a fourth aspect, the present application provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the first aspect or the second aspect is executed.

[0033] In a fifth aspect, the present application provides a communication device, which includes a processor and a memory, and the processor and the memory are coupled; the processor is used to implement the method described in the first aspect or the second aspect.

[0034] In a sixth aspect, the present application provides a communication device, which includes a processor, a memory, and a transceiver, where the processor and the memory are coupled; the transceiver is used to send and receive data, and the processor is used to implement the method described in the first aspect or the second aspect.

[0035] In the seventh aspect, the present application provides a chip, which includes a processor and an interface, and the processor and the interface are coupled; the interface is used to receive or output signals, and the processor is used to execute code instructions so that the method described in the first aspect or the second aspect is executed.

[0036] In an eighth aspect, the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a communication device, the method described in the first aspect or the second aspect is implemented.

[0037] In a ninth aspect, the present application provides a computer program product comprising instructions, which, when read and executed by a computer, enables the computer to execute the method described in the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] FIG1 is a schematic diagram of a communication system provided by the present application;

[0039] FIG2 is a schematic diagram of generating a preamble provided by the present application;

[0040] FIG3 is a schematic diagram of a flow chart of a random access method provided by the present application;

[0041] FIG4 is a schematic structural diagram of a communication device provided by the present application;

[0042] FIG5 is a schematic structural diagram of another communication device provided by the present application;

[0043] FIG6 is a schematic diagram of the structure of a chip provided in this application. DETAILED DESCRIPTION

[0044] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this invention.

[0045] The terms used in the following examples of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular expressions "a," "an," "said," "above," "the," and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to and encompasses any or all possible combinations of one or more of the listed items.

[0046] It should be noted that the terms "first", "second", "third", etc. in the specification and claims of the present application and in the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0047] In order to improve the success rate of random access of users, the embodiment of the present application provides a random access method and a communication device. In order to better understand the embodiment of the present application, the system architecture of the embodiment of the present application is first described below:

[0048] Figure 1 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application, to which the solution of the present application is applicable. The communication system may include network devices and terminal devices. Figure 1 uses an example of a communication system including one network device and two terminal devices. Of course, the number of network devices and terminal devices may be greater, and this embodiment of the present application does not limit this.

[0049] 1. Network equipment

[0050] The network device in the embodiments of the present application refers to a radio access network (RAN) node (or device) that connects a terminal device to a wireless network, and may also be referred to as a base station. The radio access network device may also be referred to as: a gNB, a transmission reception point (TRP), an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., a home evolved NodeB, or a home Node B, HNB), a base band unit (BBU), or a wireless fidelity (Wifi) access point (AP).

[0051] In addition, in a network structure, the network device can be a module or unit that completes part of the functions of the base station, for example, it can be a centralized unit (CU) or a distributed unit (DU). The CU here completes the functions of the radio resource control protocol and the packet data convergence protocol (PDCP) of the base station, and can also complete the function of the service data adaptation protocol (SDAP); the DU completes the functions of the radio link control layer and the medium access control (MAC) layer of the base station, and can also complete the functions of part of the physical layer or all of the physical layer. For the specific description of each of the above protocol layers, please refer to the relevant technical specifications of the 3rd Generation Partnership Project (3GPP). The network device can be a macro base station, a micro base station or an indoor station, a relay node or a donor node, etc. In the embodiment of the present application, the device for realizing the function of the network device can be the network device itself, or it can be a device that can support the network device to realize the function, such as a chip system or a combination device or component that can realize the function of the network device, and the device can be installed in the network device. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network device.

[0052] 2. Terminal Equipment

[0053] The terminal device includes a device that provides voice and / or data connectivity to the user. For example, the terminal device is a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as a ship, etc.); it can also be deployed in the air (such as an airplane, a balloon and a satellite, etc.). The terminal can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a vehicle, a roadside device, an aircraft, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a wearable terminal device, etc. The embodiments of the present application do not limit the application scenarios. A terminal may also sometimes be referred to as a terminal device, user equipment (UE), access terminal device, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, terminal device, wireless communication device, UE agent or UE device, etc. A terminal may also be fixed or mobile. In an embodiment of the present application, a device for realizing the function of a terminal device may be a terminal device, or a device that can support the terminal device to realize the function, such as a chip system or a combination device or component that can realize the function of the terminal device, and the device may be installed in the terminal device.

[0054] The following is an introduction to the relevant content of the preamble:

[0055] As shown in Figure 2, Figure 2 shows the generation process of the preamble. The preamble is based on the preamble sequence p0p1p2…p with a length of L. L-1 As shown in Figure 2, the terminal device first generates the preamble sequence p0p1p2…p L-1Discrete Fourier transform (DFT) precoding is performed to obtain a frequency domain preamble sequence, which is then input into an orthogonal frequency division multiplexing (OFDM) modulator for OFDM modulation. The output of the OFDM modulator is repeated N times, and then a cyclic prefix (CP) is inserted into the OFDM output sequence to obtain the preamble. The new radio access technology (NR) system defines two different types of preambles, long preambles and short preambles. The long preamble is generated based on a preamble sequence of length L=839, with a subcarrier spacing of 1.25kHz or 5kHz. As shown in Table 1, there are four formats for the long preamble, each of which corresponds to a specific parameter set, a specific number of output repetitions of the OFDM modulator, and a cyclic prefix of a specific length.

[0056] Table 1

[0057]

[0058] The short preamble is generated based on a preamble sequence of length L = 139. The subcarrier spacing used is consistent with the standard NR subcarrier spacing: 15kHz or 30kHz for Frequency Range 1 (FR1) below 6GHz, and 60kHz or 120kHz for Frequency Range 2 (FR2) at higher frequencies. As shown in Table 2, there are nine short preamble formats, each corresponding to a specific number of output repetitions of the OFDM modulator and a specific cyclic prefix length.

[0059] Table 2

[0060]

[0061] The following further introduces a random access method and communication device provided in an embodiment of the present application:

[0062] Please refer to Figure 3, which is a flow chart of a random access method provided by an embodiment of the present application. In Figure 3, a network device and a terminal device are used as the execution subjects of the method as an example, and the present application does not limit the execution subjects of the method. For example, the execution subject in Figure 3 can also be a chip, a chip system, or a processor that supports the network device or terminal device to implement the method, or a logic module or software that can implement all or part of the functions of the network device or terminal device. Among them:

[0063] 301. A network device determines a preamble sequence type corresponding to each beam in a plurality of beams.

[0064] The multiple beams in step 301 are all beams generated within a beam scanning cycle. A beam scanning cycle has multiple beam scanning time units, each of which generates a beam. Determining the preamble sequence type corresponding to each of the multiple beams can also be understood as determining the preamble sequence type corresponding to each beam scanning time unit within a beam scanning cycle. That is, the beams in the embodiments of the application can also be replaced with beam scanning time units.

[0065] The preamble sequence types corresponding to different beams determined by the network device may be the same or different. Optionally, the preamble sequence type includes a pseudo-noise (PN) sequence type and a Zadoff-Chu (ZC) sequence type. Optionally, the preamble sequence type may also include other sequence types, which are not limited in the embodiments of the present application.

[0066] For example, assume there are three beams, namely beams 1 through 3. The network device determines that beams 1 through 3 all correspond to the PN sequence type. Alternatively, the network device determines that the preamble sequence type corresponding to beam 1 is a PN sequence type, the preamble sequence type corresponding to beam 2 is a ZC sequence type, and the preamble sequence type corresponding to beam 3 is a PN sequence type. Each beam has a corresponding relationship with a preamble sequence type.

[0067] In one possible implementation, a network device determines the preamble sequence type corresponding to each of multiple beams by: determining statistical distribution information of the channel fading coefficient corresponding to each of the multiple beams and the number of access users corresponding to each of the multiple beams; and determining the preamble sequence type corresponding to each of the multiple beams based on the statistical distribution information of the channel fading coefficient corresponding to each of the multiple beams and the number of access users corresponding to each of the multiple beams. Based on this possible implementation, the preamble sequence type corresponding to each beam can be flexibly determined based on the statistical distribution information of the channel fading coefficient corresponding to the beam and the number of access users, which helps improve the success rate of user random access.

[0068] The statistical distribution information of the channel fading coefficient corresponding to a beam can be understood as the statistical distribution information of the channel fading coefficient for transmission using that beam. The channel fading coefficient is an element in the channel matrix, and the statistical distribution information of the channel fading coefficient can be the probability distribution of the channel fading coefficient. The number of access users corresponding to a beam refers to the number of users who randomly access using that beam.

[0069] For example, assume there are three beams, namely beams 1 to 3. The network device can determine the preamble sequence type corresponding to beam 1 based on the statistical distribution information of the channel fading coefficient corresponding to beam 1 and the number of access users corresponding to beam 1. The network device can determine the preamble sequence type corresponding to beam 2 based on the statistical distribution information of the channel fading coefficient corresponding to beam 2 and the number of access users corresponding to beam 2. The network device can determine the preamble sequence type corresponding to beam 3 based on the statistical distribution information of the channel fading coefficient corresponding to beam 3 and the number of access users corresponding to beam 3.

[0070] In another possible implementation, the network device may not determine the preamble code sequence type corresponding to the beam based on the statistical distribution information of the channel fading coefficient corresponding to the beam and the number of access users. The network device may flexibly determine the preamble code sequence type corresponding to the beam based on other parameters, which is not limited in the embodiments of the present application.

[0071] In one possible implementation, a network device determines the preamble sequence type corresponding to each of the multiple beams based on the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams. The specific implementation method is as follows: based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam and the number of access users, determining the signal-to-noise ratio when the random access message received by the t-th beam includes preambles of different preamble sequence types; based on the signal-to-noise ratio when the random access message received by the t-th beam includes preambles of different preamble sequence types, determining the preamble sequence type corresponding to the t-th beam, where the t-th beam is any one of the multiple beams. The preamble sequence type corresponding to the beam determined based on this possible implementation method is conducive to improving the success rate of user random access.

[0072] For example, assume that the preamble code sequence type includes a PN sequence type and a ZC sequence type. There are three beams, namely beam 1 to beam 3. For beam 1, the network device can determine the signal-to-noise ratio 11 of beam 1 receiving the first random access message and the signal-to-noise ratio 12 of beam 1 receiving the second random access message based on the statistical distribution information of the channel fading coefficient corresponding to beam 1 and the number of access users corresponding to beam 1. The first random access message includes a preamble code generated based on a preamble code sequence of the PN sequence type, and the second random access message includes a preamble code generated based on a preamble code sequence of the ZC sequence type. The network device determines the preamble code sequence type corresponding to beam 1 based on the signal-to-noise ratio 11 and the signal-to-noise ratio 12. The method for determining the preamble code sequence type corresponding to other beams is the same as the method for determining the preamble code sequence type corresponding to beam 1, and will not be repeated here.

[0073] In one possible implementation, the preamble sequence type corresponding to the t-th beam is the preamble sequence type corresponding to the preamble included in the random access message with a target signal-to-noise ratio. The target signal-to-noise ratio is the signal-to-noise ratio greater than a first threshold among the signal-to-noise ratios corresponding to the t-th beam, or the target signal-to-noise ratio is the maximum signal-to-noise ratio among the signal-to-noise ratios corresponding to the t-th beam. The preamble sequence type corresponding to the beam determined based on this possible implementation is conducive to improving the success rate of user random access.

[0074] For example, assuming that the signal-to-noise ratio 11 is greater than the first threshold and the signal-to-noise ratio 12 is less than the first threshold, the network device determines that beam 1 corresponds to the PN sequence type.

[0075] For another example, assuming that the signal-to-noise ratio 11 is greater than the signal-to-noise ratio 12, the network device determines that beam 1 corresponds to the PN sequence type.

[0076] In one possible implementation, the signal-to-noise ratio (SNR) of the random access message received by the tth beam including the preamble of the i-th preamble sequence type is t ;in:

[0077]

[0078] in, N represents the number of random accesses without scheduling through the tth beam t The index set of users, the N t The index set of each user is determined based on the number of access users corresponding to the t-th beam; represents the channel fading coefficient of the lth transmission path of the nth user, Determined based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam; γ n,n′ represents the mutual correlation coefficient between the preamble codes of the nth user and the n′th user; represents the hybrid beamforming matrix of the t-th beam, represents the channel response vector of the nth user for the tth beam; represents the preamble sequence of the i-th preamble sequence type of the n-th user; x n′ represents the preamble sequence of the i-th preamble sequence type of the n′th user; Z t Based on this possible implementation, the signal-to-noise ratio (SNR) when the random access message received by the tth beam includes a preamble of the i-th preamble sequence type can be accurately determined.

[0079] In one possible implementation, a specific embodiment of a network device determining statistical distribution information of a channel fading coefficient corresponding to each of a plurality of beams and the number of access users corresponding to each of the plurality of beams is as follows: the network device determines the angle of arrival of a user signal within a preset time period and the channel fading coefficient on a path corresponding to the angle of arrival; the network device determines the statistical distribution information of the angle of arrival within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period based on the angle of arrival of the user signal within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period; the network device determines the statistical distribution information of the channel fading coefficient corresponding to each of the plurality of beams based on the statistical distribution information of the channel fading coefficient within the preset time period; and the network device determines the number of access users corresponding to each of the plurality of beams based on the statistical distribution information of the angle of arrival within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period. Based on this possible implementation, the statistical distribution information of the channel fading coefficient corresponding to each of the plurality of beams and the number of access users corresponding to each of the plurality of beams can be accurately determined.

[0080] The preset time period may be one beam scanning cycle or multiple beam scanning cycles.

[0081] For example, taking the preset time period as a beam scanning cycle as an example, the specific implementation method of the network device determining the arrival angle of each user signal in the t-th beam scanning time unit and the channel fading coefficient on the path corresponding to the arrival angle can be: the uplink signal received by the network device in the t-th beam scanning time unit in is the hybrid beamforming matrix corresponding to the t-th beam scanning time unit, is the N in the t-th beam scanning time unit t The channel matrix of each user is N tThe network device uses a transmission signal matrix composed of user preamble codes; the network device estimates the arrival angle of each user signal in the t-th beam scanning time unit and the fading coefficient on the path corresponding to the arrival angle based on the uplink signal received in the t-th beam scanning time unit. The network device determines the statistical distribution information of the arrival angle and the statistical distribution information of the channel fading coefficient in one beam scanning cycle based on the arrival angle of each user signal and the channel fading coefficient on the path corresponding to the arrival angle. The network device determines the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams based on the statistical distribution information of the channel fading coefficient in one beam scanning cycle. The network device determines the number of access users corresponding to each beam in the multiple beams based on the statistical distribution information of the arrival angle and the statistical distribution information of the channel fading coefficient in one beam scanning cycle.

[0082] 302. The network device sends first information to the terminal device, where the first information is used to configure a preamble sequence type corresponding to each beam in a plurality of beams. Accordingly, the terminal device may receive the first information.

[0083] In an embodiment of the present application, the network device may send the first information to one or more terminal devices. Optionally, the first information may be carried in a broadcast channel.

[0084] 303. The terminal device transmits a random access message via a first beam among the multiple beams. The random access message includes a target preamble, the target preamble is generated based on a target preamble sequence, the target preamble sequence type is a first preamble sequence type, and the first preamble sequence type is a preamble sequence type corresponding to the first beam. Accordingly, the network device may receive the random access message via the first beam.

[0085] In this embodiment of the present application, after receiving the first information, the terminal device selects a first beam from multiple beams to transmit a random access message. Because the first beam corresponds to a first preamble sequence type, the terminal device selects a target preamble sequence from multiple preamble sequences belonging to the first preamble sequence type and uses the target preamble sequence to generate a target preamble. The terminal device transmits the random access message including the target preamble via the first beam.

[0086] The specific implementation of the terminal device using the target preamble sequence to generate the target preamble can be referred to the corresponding description of FIG2 , which will not be repeated here. Optionally, the target preamble can be a long preamble or a short preamble.

[0087] In one possible implementation, the first beam may be the beam with the highest received signal strength among the multiple beams. That is, the terminal device may measure the received signal strength of each of the multiple beams and select the beam with the highest received signal strength from the multiple beams as the first beam.

[0088] In one possible implementation, the first information is further used to indicate the preamble time-frequency resource position corresponding to each beam in the multiple beams. Accordingly, when the terminal device sends a random access message through the first beam, the target preamble is carried in the preamble time-frequency resource position corresponding to the first beam. Based on this possible implementation, the network device can indicate the time-frequency resource position of the preamble, thereby making the time-frequency resource position of the preamble more flexible.

[0089] The following describes two possible implementation methods for determining the target preamble sequence:

[0090] Method 1: Different preamble sequence types correspond to different preamble sequence sets, each of which includes one or more preamble sequences. The target preamble sequence is a sequence randomly selected from the preamble sequence set corresponding to the first preamble sequence type. Based on this possible implementation, the network device does not need to notify the terminal device of the target preamble sequence via signaling, which helps save transmission resources.

[0091] For example, assume that the preamble sequence type includes a PN sequence type and a ZC sequence type. The PN sequence type corresponds to preamble sequence set 1, and the ZC sequence type corresponds to preamble sequence set 2. Preamble sequence set 1 includes multiple preambles of the PN sequence type. Preamble sequence set 2 includes multiple preambles of the ZC sequence type. Assuming that the first beam corresponds to the PN sequence type, the terminal device can randomly select a preamble sequence from preamble sequence set 1, generate a target preamble based on the preamble sequence, and then send a random access message including the target preamble through the first beam.

[0092] Method 2: The network device may also send second information to the terminal device. This second information is used to configure the terminal device to use when generating a target preamble based on preamble sequences of different preamble sequence types. The terminal device may then receive this second information. Method 2 helps prevent collisions between target preambles transmitted by different users using the first beam.

[0093] For example, assuming that the preamble sequence type includes a PN sequence type and a ZC sequence type. The network device may send second information to the terminal device in advance, where the second information indicates that when a target preamble is generated based on a preamble sequence of the PN sequence type, preamble sequence 1 is used to generate the target preamble, and when a target preamble is generated based on a preamble sequence of the ZC sequence type, preamble sequence 2 is used to generate the target preamble. If the first preamble sequence type corresponding to the first beam is a PN sequence type, the terminal device uses preamble sequence 1 to generate the target preamble. If the first preamble sequence type corresponding to the first beam is a ZC sequence type, the terminal device uses preamble sequence 2 to generate the target preamble.

[0094] It can be seen that based on the method described in Figure 3, the preamble sequence types corresponding to different beams are not always the same. The preamble sequence types corresponding to each beam can be flexibly configured according to actual conditions to improve the success rate of user random access. For example, for beams with a small number of access users, a preamble generated based on a ZC sequence can be sent. For beams with a large number of access users, a preamble generated based on a PN sequence can be sent. Since there are a large number of PN sequences, collisions of preambles of different users can be avoided, which would result in failure of user random access. For another example, for beams with a small channel fading coefficient, a preamble generated based on a PN sequence can be sent. For beams with a large channel fading coefficient, a preamble generated based on a ZC sequence can be sent. Since the ZC sequence has good orthogonality, it is beneficial to improve the success rate of user random access.

[0095] Please refer to Figure 4, which shows a schematic structural diagram of a communication device in an embodiment of the present application. The communication device shown in Figure 4 can be used to perform some or all of the functions of the network device in the above-mentioned method embodiment. The device can be a network device, or a device in a network device, or a device that can be used in combination with a network device. Among them, the communication device can also be a chip system. The communication device shown in Figure 4 may include a communication unit 401 and a processing unit 402. Among them, the processing unit 402 is used to perform data processing. The communication unit 401 integrates a receiving unit and a sending unit. The communication unit 401 can also be called a transceiver unit. Alternatively, the communication unit 401 can also be split into a receiving unit and a sending unit. Among them:

[0096] The processing unit 402 is configured to determine a preamble sequence type corresponding to each beam in the plurality of beams;

[0097] A communication unit 401 is configured to send first information to a terminal device, where the first information is used to configure a preamble sequence type corresponding to each beam in a plurality of beams;

[0098] The communication unit 401 is also used to receive a random access message sent by a terminal device through the first beam among multiple beams. The random access message includes a target preamble code, which is generated based on a target preamble code sequence. The type of the target preamble code sequence is a first preamble code sequence type, and the first preamble code sequence type is a preamble code sequence type corresponding to the first beam.

[0099] In one possible implementation, the processing unit 402 determines the preamble code sequence type corresponding to each beam in the multiple beams in the following manner: determining the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams; and determining the preamble code sequence type corresponding to each beam in the multiple beams based on the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams.

[0100] In one possible implementation, the processing unit 402 determines the preamble code sequence type corresponding to each beam in the multiple beams based on the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams. Specifically, the processing unit 402 determines the preamble code sequence type corresponding to each beam in the multiple beams based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam and the number of access users. The processing unit 402 determines the preamble code sequence type corresponding to the t-th beam based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam and the number of access users. The processing unit 402 determines the preamble code sequence type corresponding to the t-th beam based on the signal-to-noise ratio when the random access message received by the t-th beam includes preamble codes of different preamble code sequence types. The processing unit 402 determines the preamble code sequence type corresponding to the t-th beam based on the signal-to-noise ratio when the random access message received by the t-th beam includes preamble codes of different preamble code sequence types. The t-th beam is any one of the multiple beams.

[0101] In a possible implementation, the preamble sequence type corresponding to the t-th beam is the preamble sequence type corresponding to the preamble included in the random access message of the target signal-to-noise ratio, the target signal-to-noise ratio is the signal-to-noise ratio greater than the first threshold among the signal-to-noise ratios corresponding to the t-th beam, or the target signal-to-noise ratio is the maximum signal-to-noise ratio among the signal-to-noise ratios corresponding to the t-th beam.

[0102] In one possible implementation, the signal-to-noise ratio (SNR) of the random access message received by the tth beam including the preamble of the i-th preamble sequence type is t ;in:

[0103]

[0104] in, N represents the number of random accesses without scheduling through the tth beam t The index set of users, N t The index set of each user is determined based on the number of access users corresponding to the t-th beam; represents the channel fading coefficient of the lth transmission path of the nth user, Determined based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam; γ n,n′ represents the mutual correlation coefficient between the preamble codes of the nth user and the n′th user; represents the hybrid beamforming matrix of the t-th beam; represents the channel response vector of the nth user for the tth beam; represents the preamble sequence of the i-th preamble sequence type of the n-th user; x n′ represents the preamble sequence of the i-th preamble sequence type of the n′th user; Z t is the interference and noise received by the signal received by the tth beam.

[0105] In one possible implementation, the processing unit 402 determines the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams in the following manner: determining the arrival angle of the user signal and the channel fading coefficient on the path corresponding to the arrival angle within a preset time period; based on the arrival angle of the user signal and the channel fading coefficient on the path corresponding to the arrival angle within the preset time period, determining the statistical distribution information of the arrival angle within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period; based on the statistical distribution information of the channel fading coefficient within the preset time period, determining the statistical distribution information of the channel fading coefficient corresponding to each beam in the multiple beams; based on the statistical distribution information of the arrival angle within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period, determining the number of access users corresponding to each beam in the multiple beams.

[0106] In a possible implementation, the communication unit 401 is further configured to send second information, where the second information is used to configure a preamble sequence used when the terminal device generates a target preamble based on preamble sequences of different preamble sequence types.

[0107] In a possible implementation, the first information is also used to indicate the preamble code time-frequency resource position corresponding to each beam in the multiple beams.

[0108] In a possible implementation, the preamble code sequence type includes a pseudo noise PN sequence type and a Zadov-ZC sequence type.

[0109] Please refer to Figure 4, which shows a schematic structural diagram of a communication device in an embodiment of the present application. The communication device shown in Figure 4 can be used to perform some or all of the functions of the terminal device in the above-mentioned method embodiment. The device can be a terminal device, or a device in a terminal device, or a device that can be used in combination with a terminal device. Among them, the communication device can also be a chip system. The communication device shown in Figure 4 may include a communication unit 401 and a processing unit 402. Among them, the processing unit 402 is used to perform data processing. The communication unit 401 integrates a receiving unit and a sending unit. The communication unit 401 can also be called a transceiver unit. Alternatively, the communication unit 401 can also be split into a receiving unit and a sending unit. Among them:

[0110] The communication unit 401 is configured to receive first information, where the first information is used to configure a preamble sequence type corresponding to each beam in a plurality of beams;

[0111] The communication unit 401 is also used to send a random access message through the first beam among multiple beams. The random access message includes a target preamble code, which is generated based on a target preamble code sequence. The type of the target preamble code sequence is a first preamble code sequence type, and the first preamble code sequence type is a preamble code sequence type corresponding to the first beam.

[0112] In a possible implementation, different preamble sequence types correspond to different preamble sequence sets, the preamble sequence set includes one or more preamble sequences, and the target preamble sequence is a sequence randomly selected from the preamble sequence set corresponding to the first preamble sequence type.

[0113] In a possible implementation, the communication unit 401 is further configured to receive second information, where the second information is used to configure a preamble sequence used when the terminal device generates a target preamble based on preamble sequences of different preamble sequence types.

[0114] In a possible implementation, the first information is also used to indicate the preamble code time-frequency resource position corresponding to each beam in the multiple beams.

[0115] In a possible implementation, the preamble code sequence type includes a pseudo noise PN sequence type and a Zadov-ZC sequence type.

[0116] In a possible implementation, the first beam is a beam with the greatest received signal strength among the multiple beams.

[0117] Figure 5 shows a schematic diagram of the structure of a communication device. The communication device 500 can be a network device or terminal device in the above-mentioned method embodiment, or can also be a chip, chip system, or processor that supports the network device or terminal device to implement the above-mentioned method. This communication device can be used to implement the method described in the above-mentioned method embodiment. For details, please refer to the description of the above-mentioned method embodiment.

[0118] The communication device 500 may include one or more processors 501. The processor 501 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit (CPU). The baseband processor may be used to process communication protocols and communication data, while the CPU may be used to control the communication device (e.g., a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU), execute software programs, and process software program data.

[0119] Optionally, the communication device 500 may include one or more memories 502, on which instructions 504 may be stored. The instructions may be executed on the processor 501, causing the communication device 500 to perform the method described in the above method embodiment. Optionally, the memory 502 may also store data. The processor 501 and memory 502 may be provided separately or integrated together.

[0120] Optionally, the communication device 500 may further include a transceiver 505 and an antenna 506. The transceiver 505 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, and is configured to implement transceiver functions. The transceiver 505 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, and is configured to implement a transmitting function. The processing unit 402 shown in FIG. 4 may be the processor 501. The communication unit 401 may be the transceiver 505.

[0121] In another possible design, processor 501 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or the transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.

[0122] In another possible design, the processor 501 may optionally store an instruction 503. The instruction 503 runs on the processor 501, which can cause the communication device 500 to perform the method described in the above method embodiment. The instruction 503 may be fixed in the processor 501. In this case, the processor 501 may be implemented by hardware.

[0123] In another possible design, the communication device 500 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in the embodiments of the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0124] The communication device described in the above embodiments may be a network device or a terminal device, but the scope of the communication device described in the embodiments of the present application is not limited thereto, and the structure of the communication device may not be limited to FIG5 . The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:

[0125] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;

[0126] (2) A set of one or more ICs, optionally including a storage component for storing data and instructions;

[0127] (3) ASIC, such as modem (MSM);

[0128] (4) Modules that can be embedded in other devices;

[0129] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;

[0130] (6)Others, etc.

[0131] In the case where the communication device can be a chip or a chip system, please refer to the chip structure diagram shown in Figure 6. The chip 600 shown in Figure 6 includes a processor 601 and an interface 602. Optionally, it may also include a memory 603. The number of processors 601 can be one or more, and the number of interfaces 602 can be multiple.

[0132] For the case where the chip is used to implement the functions of the network device or terminal device in the embodiments of the present application:

[0133] The interface 602 is used to receive or output signals;

[0134] The processor 601 is configured to execute data processing operations of a network device or a terminal device.

[0135] It is understandable that some optional features in the embodiments of the present application may, in certain scenarios, be implemented independently of other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in certain scenarios as needed. Accordingly, the communication device provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described in detail here.

[0136] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.

[0137] It is understood that the memory 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), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0138] The present application also provides a computer-readable medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a communication device, the functions of any of the above method embodiments are implemented.

[0139] The present application also provides a computer program product including instructions, which enables a computer to implement the functions of any of the above method embodiments when the computer reads and executes the computer program product.

[0140] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0141] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A random access method, characterized in that: Applied to a network device, the method includes: Determining a preamble sequence type corresponding to each beam in the plurality of beams; Sending first information to a terminal device, where the first information is used to configure a preamble code sequence type corresponding to each beam in the multiple beams; A random access message sent by the terminal device is received through the first beam among the multiple beams, where the random access message includes a target preamble code, and the target preamble code is generated based on a target preamble code sequence. The type of the target preamble code sequence is a first preamble code sequence type, and the first preamble code sequence type is a preamble code sequence type corresponding to the first beam.

2. The method according to claim 1, characterized in that The determining a preamble sequence type corresponding to each beam in the plurality of beams includes: Determining statistical distribution information of a channel fading coefficient corresponding to each of the multiple beams and the number of access users corresponding to each of the multiple beams; Based on statistical distribution information of a channel fading coefficient corresponding to each beam in the multiple beams and the number of access users corresponding to each beam in the multiple beams, a preamble code sequence type corresponding to each beam in the multiple beams is determined.

3. The method according to claim 2, characterized in that The determining, based on statistical distribution information of a channel fading coefficient corresponding to each beam in the multiple beams and a number of access users corresponding to each beam in the multiple beams, a preamble sequence type corresponding to each beam in the multiple beams, includes: Determining, based on statistical distribution information of a channel fading coefficient corresponding to the t-th beam and the number of access users, a signal-to-noise ratio when the random access message received by the t-th beam includes preambles of different preamble sequence types; Based on a signal-to-noise ratio when the random access message received by the t-th beam includes preambles of different preamble sequence types, the preamble sequence type corresponding to the t-th beam is determined, and the t-th beam is any one of the multiple beams.

4. The method according to claim 3, characterized in that The preamble sequence type corresponding to the t-th beam is a preamble sequence type corresponding to a preamble included in a random access message having a target signal-to-noise ratio, the target signal-to-noise ratio being a signal-to-noise ratio greater than a first threshold among the signal-to-noise ratios corresponding to the t-th beam, or the target signal-to-noise ratio being a maximum signal-to-noise ratio among the signal-to-noise ratios corresponding to the t-th beam.

5. The method according to claim 3 or 4, characterized in that The signal-to-noise ratio (SNR) when the random access message received by the t-th beam includes a preamble of the i-th preamble sequence type is t ; in: Among them, the represents the number of random accesses without scheduling via the tth beam. t The index set of users, the N t The index set of users is determined based on the number of access users corresponding to the t-th beam; represents the channel fading coefficient of the lth transmission path of the nth user, Determined based on the statistical distribution information of the channel fading coefficient corresponding to the t-th beam; the γ n,n′ represents the mutual correlation coefficient between the nth user and the n′th user preamble; represents the hybrid beamforming matrix of the t-th beam; represents the channel corresponding vector of the nth user for the tth beam; represents the preamble sequence of the i-th preamble sequence type of the n-th user; the x n′ represents the preamble sequence of the i-th preamble sequence type of the n′th user; the Z t is the interference and noise suffered by the signal received by the t-th beam.

6. The method according to any one of claims 2 to 5, characterized in that The determining statistical distribution information of a channel fading coefficient corresponding to each of the multiple beams and the number of access users corresponding to each of the multiple beams includes: Determining the arrival angle of the user signal within a preset time period and the channel fading coefficient on the path corresponding to the arrival angle; Determining statistical distribution information of the angle of arrival within the preset time period and statistical distribution information of the channel fading coefficient within the preset time period based on the angle of arrival of the user signal within the preset time period and the channel fading coefficient on the path corresponding to the angle of arrival; Determining statistical distribution information of the channel fading coefficient corresponding to each beam in the plurality of beams based on the statistical distribution information of the channel fading coefficient within the preset time period; The number of access users corresponding to each beam in the multiple beams is determined based on the statistical distribution information of the arrival angle within the preset time period and the statistical distribution information of the channel fading coefficient within the preset time period.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Send second information, where the second information is used to configure the preamble sequence used by the terminal device when generating a target preamble based on preamble sequences of different preamble sequence types.

8. The method according to any one of claims 1 to 7, characterized in that The first information is also used to indicate the preamble code time-frequency resource position corresponding to each beam in the multiple beams.

9. The method according to any one of claims 1 to 8, characterized in that The preamble code sequence type includes a pseudo noise PN sequence type and a Zadov-ZC sequence type.

10. A random access method, characterized in that: Applied to a terminal device, the method includes: receiving first information, where the first information is used to configure a preamble sequence type corresponding to each beam in a plurality of beams; A random access message is sent through a first beam among the multiple beams, where the random access message includes a target preamble code, where the target preamble code is generated based on a target preamble code sequence, where the type of the target preamble code sequence is a first preamble code sequence type, and where the first preamble code sequence type is a preamble code sequence type corresponding to the first beam.

11. The method according to claim 10, characterized in that Different preamble sequence types correspond to different preamble sequence sets, the preamble sequence set includes one or more preamble sequences, and the target preamble sequence is a sequence randomly selected from the preamble sequence set corresponding to the first preamble sequence type.

12. The method according to claim 10, characterized in that The method further comprises: Second information is received, where the second information is used to configure a preamble sequence used by the terminal device when generating a target preamble based on preamble sequences of different preamble sequence types.

13. The method according to any one of claims 10 to 12, characterized in that: The first information is also used to indicate the preamble code time-frequency resource position corresponding to each beam in the multiple beams.

14. The method according to any one of claims 10 to 13, characterized in that The preamble code sequence type includes a pseudo noise PN sequence type and a Zadov-ZC sequence type.

15. The method according to any one of claims 10 to 14, characterized in that The first beam is a beam with the greatest received signal strength among the multiple beams.

16. A communication device, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 9, or a unit for executing the method according to any one of claims 10 to 15.

17. A communication device, characterized in that: The method comprises a processor and a memory, wherein the processor and the memory are coupled, and the processor is used to implement the method according to any one of claims 1 to 9, or the processor is used to implement the method according to any one of claims 10 to 15.

18. A chip, characterized in that: The invention comprises a processor and an interface, wherein the processor and the interface are coupled; the interface is used to receive or output signals, and the processor is used to execute code instructions so that the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 15 is executed.

19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which, when called by the computer, enable the computer to execute the method of any one of claims 1 to 9, or enable the computer to execute the method of any one of claims 10 to 15.

20. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 9, or the method according to any one of claims 10 to 15.