Random access method and apparatus
By using the preamble of multiple beam transmission random access in the terminal device, the problems of high delay and low reliability caused by single beam transmission are solved, and a more efficient and reliable random access process is achieved.
Patent Information
- Application Number
- PCT/CN2024/135648
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-30
- Filing Date
- 2024-11-29
- Publication Date
- 2025-06-05
AI Technical Summary
In the prior art, when the terminal device performs random access, it uses a single beam to send the message 1, resulting in a high delay in the random access. Especially in the case of weak coverage, the network device may not be able to receive the message 1 accurately, resulting in an increase in retransmission and affecting the access reliability and speed.
By receiving configuration information from network devices, the terminal device transmits a preamble of random access based on multiple beams, improving uplink coverage and access reliability. The configuration information indicates the number of transmission times of multiple beams and the corresponding random access resources, and the terminal device performs random access of multiple beams according to the instructions.
Through multi-beam transmission preamble, the reliability and speed of random access are improved, delay is reduced, and the access capability of terminal devices in weak coverage is enhanced.
Smart Images

Figure CN2024135648_05062025_PF_FP_ABST
Abstract
Description
A random access method and device CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on November 30, 2023, with application number 202311655859.1 and application name “A Random Access Method and Device”, the entire contents of which are incorporated by reference in this application. Technical Field The present application relates to the field of wireless communication technology, and in particular to a random access method and device. Background Art At present, terminal devices can establish connections with network devices through random access to obtain communication services. Random access can be divided into competitive random access and non-competitive random access. However, whether it is competitive random access or non-competitive random access, the terminal device uses a single beam to send random access message 1 (message1, Msg1), which will result in high random access latency. For example, in weak coverage conditions, when the terminal device uses a single beam to send Msg1, the network device may not be able to effectively and accurately receive Msg1, which will cause the terminal device to retransmit more Msg1, increase the random access latency of the terminal device, and may cause the terminal device to be unable to quickly access the network device. Summary of the invention The present application provides a random access method and device to improve the reliability of random access. In a first aspect, a random access method is provided. The method can be executed by a terminal device, or by a chip / chip system. The method is described by taking the execution by a terminal device as an example. In the method, the terminal device receives configuration information from a network device, and the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The terminal device sends a first preamble based on the N beams and the first random access resource. The number of times the first preamble is sent in the N beams is the first number. Based on this solution, the terminal device can send the random access preamble through multiple beams. Compared with sending the random access preamble through a single beam, the uplink coverage can be improved and the reliability of random access can be improved. In a possible implementation, the configuration information further indicates a second number, and the number of times the first preamble is sent in each of the N beams is the second number. Based on this solution, the network device can indicate to the terminal device the number of times the preamble is sent in each beam, and the terminal device can send the preamble on each beam according to the instruction of the network device to meet the second number. In a possible implementation manner, the first random access resource includes a first random access time domain resource and / or a first preamble. In a possible implementation, the first preamble is sent based on N beams corresponding to the first type of random access, and the configuration information is also used to indicate a triggering event of the first type of random access. The triggering event includes one or more of the following: beam failure recovery, wireless connection establishment, wireless connection recovery, uplink synchronization, or cell switching. Based on this solution, the network device can indicate the triggering event of multi-beam random access to the terminal device, so that the terminal device can determine when to perform multi-beam random access and when to perform single-beam random access. In a possible implementation, a terminal device receives a random access response from a network device, where the random access response includes an identifier of a portion of random access resources in a first random access resource. The identifier of the portion of random access resources corresponds to a first beam in N beams. The terminal device sends uplink data and / or uplink control information based on the first beam. Based on the above solution, the terminal device can determine the uplink beam used to send uplink data and / or uplink control information according to the identifier of the partial random access resource indicated by the network device. In a possible implementation, the configuration information is also used to indicate a second random access resource, the second random access resource corresponds to a beam, and the first random access resource and the second random access resource correspond to a characteristic of message 1 repetition. Based on the above scheme, the second random access resource corresponds to a beam, which can be understood as the second random access resource is a single-beam random access resource. Then the single-beam random access resource and the multi-beam random access resource can be set to the same characteristic, that is, the characteristic of message 1 repetition. In a possible implementation, the first random access resource and the second random access resource belong to the same random access resource group. Based on the above solution, the random access resources of a single beam and the random access resources of multiple beams can be grouped into the same group, which can reduce resource overhead and reduce the complexity of the terminal. In one possible implementation, a terminal device receives a priority corresponding to a characteristic of message 1 repetition from a network device. The priority is used to select a random access resource group corresponding to the characteristic of message 1 repetition. For example, suppose that the terminal device needs to send message 1 repetition and perform small data transmission. Among them, the priority corresponding to the characteristic of message 1 repetition is higher than the priority corresponding to the SDT characteristic. Then the terminal device can select the random access resource group corresponding to the characteristic of message 1 repetition with a high priority, thereby ensuring that the terminal device successfully accesses the network device. Since the random access resources of message 1 repetition of a single beam and the random access resources of message 1 repetition of a multi-beam correspond to the same grouping and the same characteristic priority, resource overhead is reduced and the complexity of the terminal is reduced. In a possible implementation, sending preambles based on multiple beams corresponds to a first type of random access, and sending preambles based on one beam corresponds to a second type of random access, and the configuration information is further used to indicate a first maximum number of transmissions, the first maximum number of transmissions being the maximum number of transmissions of a preamble of the first type of random access, and the first maximum number of transmissions being used to control a fallback from the first type of random access to the second type of random access. The preamble of the first type of random access includes the first preamble. In a possible implementation, when the number of transmissions of the preamble of the first type of random access reaches the first maximum number of transmissions, the preamble of the second type of random access is sent. For example, if the terminal device sends a first preamble using N beams, and if the terminal device does not receive a random access response to the first preamble, it can be considered that the preamble transmission of the multi-beam random access has failed. The terminal device can send a preamble for the multi-beam random access again, such as a second preamble. If the terminal device does not receive a random access response to the second preamble, it can be considered that the preamble transmission of the multi-beam random access has failed. At this time, the cumulative number of preamble retransmission failures for the multi-beam random access is considered to be two. If the number of preamble transmission failures for the multi-beam random access is greater than or equal to the first maximum number of transmissions, the terminal device can fall back, that is, the terminal can fall back from the multi-beam random access to the single-beam random access. Based on the above solution, by means of random access fallback, it is possible to avoid the terminal device from re-establishing radio resource control (RRC) too early, which may cause service interruption and affect service experience. In a possible implementation, sending a preamble based on multiple beams corresponds to a first type of random access, sending a preamble based on one beam corresponds to a second type of random access, and the configuration information is further used to indicate a second maximum number of transmissions, which is the maximum number of transmissions of the preamble of the second type of random access, and the second maximum number of transmissions is used to control the fallback from the second type of random access to the first type of random access. When the number of transmissions of the preamble of the second type of random access reaches the second maximum number of transmissions, the terminal device sends the first preamble based on N beams and the first random access resource. For example, before sending the first preamble, the terminal device can perform single-beam random access and send the preamble through the single beam. If the terminal device does not receive a random access response to the preamble, it can be considered that the preamble transmission of the single-beam random access has failed. The terminal device can send the preamble of the single-beam random access again. If the terminal device does not receive a random access response to the preamble, it can be considered that the preamble transmission of the single-beam random access has failed. At this time, the cumulative number of preamble retransmission failures of the single-beam random access is considered to be two. If the number of preamble transmission failures of the single-beam random access is greater than or equal to the second maximum number of transmissions, the terminal device can fall back, that is, the terminal can fall back from single-beam random access to multi-beam random access and send the first preamble through N beams. Based on the above solution, the random access fallback can prevent the terminal device from re-establishing RRC too early, causing service interruption and affecting service experience. In a possible implementation, the configuration information is further used to indicate a third maximum number of transmissions, the third maximum number of transmissions being greater than or equal to the first maximum number of transmissions, and greater than or equal to the second maximum number of transmissions. When the number of transmissions of the transmitted preamble reaches the third maximum number of transmissions, it is determined that the random access procedure fails. The transmitted preamble includes a first type of random access preamble and a second type of random access preamble. For example, if the number of transmission failures of the terminal device sending the single-beam random access preamble and the multi-beam random access preamble is greater than or equal to the third maximum transmission number, it can be determined that the random access process has failed. Optionally, the terminal device can perform an RRC re-establishment process. Based on the above scheme, the failure of the random access process can be determined through the third maximum number of transmissions, so that the terminal device can perform the RRC establishment process and access the network device through other cells. In a second aspect, a random access method is provided. The method can be executed by a network device, or by a chip / chip system. The method is described by taking the execution by a network device as an example. In the method, the network device sends configuration information, and the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The network device receives a first preamble on the first random access resource. The number of times the first preamble is sent in N beams is the first number. In a possible implementation, the configuration information further indicates a second number, and the number of times the first preamble is sent in each of the N beams is the second number. In a possible implementation manner, the first random access resource includes a first random access time domain resource and / or a first preamble. In a possible implementation, the first preamble is sent in N beams corresponding to the first type of random access, and the configuration information is also used to indicate a triggering event of the first type of random access. The triggering event includes one or more of the following: beam failure recovery, wireless connection establishment, wireless connection recovery, uplink synchronization, and cell switching. In a possible implementation, the network device sends a random access response, the random access response includes an identifier of a portion of the random access resources in the first random access resource, the identifier of the portion of the random access resource corresponds to a first beam in the N beams. The network device receives uplink data and / or uplink control information. In a possible implementation, the configuration information is also used to indicate a second random access resource, the second random access resource corresponds to a beam, and the first random access resource and the second random access resource correspond to a characteristic of message 1 repetition. In a possible implementation manner, the first random access resource and the second random access resource belong to the same random access resource group. In a possible implementation, the network device sends a priority corresponding to the characteristic of message 1 being repeated. The priority is used to select a random access resource group corresponding to the characteristic of message 1 being repeated. In a possible implementation, the preamble is sent in multiple beams corresponding to the first type of random access, and the preamble is sent in one beam corresponding to the second type of random access, and the configuration information is further used to indicate a first maximum number of transmissions, which is the maximum number of transmissions of the preamble of the first type of random access, and the first maximum number of transmissions is used to control the fallback from the first type of random access to the second type of random access. The preamble of the first type of random access includes the first preamble. In one possible implementation, a preamble is sent in multiple beams corresponding to a first type of random access, and a preamble is sent in one beam corresponding to a second type of random access. The configuration information is also used to indicate a second maximum number of transmissions, which is the maximum number of transmissions of the preamble of the second type of random access. The second maximum number of transmissions is used to control the fallback from the second type of random access to the first type of random access. In a possible implementation, the configuration information is further used to indicate a third maximum transmission number, which is greater than or equal to the first maximum transmission number, and greater than or equal to the second maximum transmission number. The third maximum transmission number is used to control the failure of the random access process. According to a third aspect, a communication device is provided, including: a processing unit and a transceiver unit. The transceiver unit is used to receive configuration information from a network device, where the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The processing unit is used to determine the N beams and the first random access resource. The transceiver unit is also used to send a first preamble based on the N beams and the first random access resource. The number of times the first preamble is sent in the N beams is the first number. In a possible implementation, the configuration information further indicates a second number, and the number of times the first preamble is sent in each of the N beams is the second number. In a possible implementation manner, the first random access resource includes a first random access time domain resource and / or a first preamble. In a possible implementation, the first preamble is sent based on N beams corresponding to the first type of random access, and the configuration information is also used to indicate a triggering event of the first type of random access. The triggering event includes one or more of the following: beam failure recovery, wireless connection establishment, wireless connection recovery, uplink synchronization, and cell switching. In a possible implementation, the transceiver unit is further configured to receive a random access response from the network device, where the random access response includes an identifier of a portion of the random access resources in the first random access resource, where the identifier of the portion of the random access resource corresponds to the first beam in the N beams. The transceiver unit is further configured to send uplink data and / or uplink control information based on the first beam. In a possible implementation, the configuration information is also used to indicate a second random access resource, the second random access resource corresponds to a beam, and the first random access resource and the second random access resource correspond to a characteristic of message 1 repetition. In a possible implementation manner, the first random access resource and the second random access resource belong to the same random access resource group. In a possible implementation, the transceiver unit is further configured to receive a priority corresponding to the characteristic of message 1 being repeated from the network device. The priority is used to select a random access resource group corresponding to the characteristic of message 1 being repeated. In a possible implementation, sending preambles based on multiple beams corresponds to a first type of random access, sending preambles based on one beam corresponds to a second type of random access, and the configuration information is further used to indicate a first maximum number of transmissions, the first maximum number of transmissions being the maximum number of transmissions of the preamble of the first type of random access, and the first maximum number of transmissions being used to control fallback from the first type of random access to the second type of random access. The preamble of the first type of random access includes the first preamble. In a possible implementation manner, the transceiver unit is further configured to send a second type of random access preamble when the number of transmissions of the first type of random access preamble reaches a first maximum number of transmissions. In a possible implementation, sending a preamble based on multiple beams corresponds to a first type of random access, sending a preamble based on one beam corresponds to a second type of random access, and the configuration information is further used to indicate a second maximum number of transmissions, the second maximum number of transmissions being the maximum number of transmissions of the preamble of the second type of random access, and the second maximum number of transmissions being used to control the fallback from the second type of random access to the first type of random access. For example, the transceiver unit is specifically configured to send a first preamble based on N beams and a first random access resource when the number of transmissions of the preamble of the second type of random access reaches the second maximum number of transmissions. In a possible implementation, the configuration information is further used to indicate a third maximum number of transmissions, the third maximum number of transmissions being greater than or equal to the first maximum number of transmissions, and greater than or equal to the second maximum number of transmissions. Optionally, the third maximum number of transmissions is used to control the failure of the random access process. For example, the processing unit is configured to determine that the random access process fails when the number of transmissions of the transmitted preamble reaches the third maximum number of transmissions. The transmitted preamble includes a first type of random access preamble and a second type of random access preamble. In a fourth aspect, a communication device is provided, comprising: a processing unit and a transceiver unit. A processing unit is used to determine configuration information, where the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. A transceiver unit is used to send the configuration information. The transceiver unit is also used to receive a first preamble on the first random access resource. The number of times the first preamble is sent in the N beams is the first number. In a possible implementation, the configuration information further indicates a second number, and the number of times the first preamble is sent in each of the N beams is the second number. In a possible implementation manner, the first random access resource includes a first random access time domain resource and / or a first preamble. In a possible implementation, the first preamble is sent in N beams corresponding to the first type of random access, and the configuration information is also used to indicate a triggering event of the first type of random access. The triggering event includes one or more of the following: beam failure recovery, wireless connection establishment, wireless connection recovery, uplink synchronization, and cell switching. In a possible implementation, the transceiver unit is further configured to send a random access response, the random access response including an identifier of a portion of the random access resources in the first random access resource, the identifier of the portion of the random access resource corresponding to the first beam in the N beams. The transceiver unit is further configured to receive uplink data and / or uplink control information. In a possible implementation, the configuration information is also used to indicate a second random access resource, the second random access resource corresponds to a beam, and the first random access resource and the second random access resource correspond to a characteristic of message 1 repetition. In a possible implementation manner, the first random access resource and the second random access resource belong to the same random access resource group. In a possible implementation, the transceiver unit is further configured to send a priority corresponding to the characteristic of message 1 being repeated. The priority is used to select a random access resource group corresponding to the characteristic of message 1 being repeated. In a possible implementation, the preamble is sent in multiple beams corresponding to the first type of random access, and the preamble is sent in one beam corresponding to the second type of random access, and the configuration information is further used to indicate a first maximum number of transmissions, which is the maximum number of transmissions of the preamble of the first type of random access, and the first maximum number of transmissions is used to control the fallback from the first type of random access to the second type of random access. The preamble of the first type of random access includes the first preamble. In one possible implementation, a preamble is sent in multiple beams corresponding to a first type of random access, and a preamble is sent in one beam corresponding to a second type of random access. The configuration information is also used to indicate a second maximum number of transmissions, which is the maximum number of transmissions of the preamble of the second type of random access. The second maximum number of transmissions is used to control the fallback from the second type of random access to the first type of random access. In a possible implementation, the configuration information is further used to indicate a third maximum transmission number, which is greater than or equal to the first maximum transmission number, and greater than or equal to the second maximum transmission number. The third maximum transmission number is used to control the failure of the random access process. In a fifth aspect, the present application provides a communication device, including a processor, the processor and a memory are coupled, the memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions to execute the implementation methods of the first and second aspects above. The memory can be located inside the device or outside the device. The number of the processors is one or more. In a sixth aspect, the present application provides a communication device, including: a processor and an interface circuit, the interface circuit is used to communicate with other devices, and the processor is used for each implementation method of the first and second aspects above. In a seventh aspect, a communication device is provided, which includes a logic circuit and an input / output interface. In an eighth aspect, the present application provides a communication system, comprising: a terminal device and a network device for executing each implementation method of the first and second aspects above. In a ninth aspect, the present application also provides a chip system, comprising: a processor, configured to execute the implementation methods of the first and second aspects above. In a tenth aspect, the present application also provides a computer program product, including computer execution instructions, which, when executed on a computer, enable the implementation methods of the first and second aspects to be executed. In the eleventh aspect, the present application also provides a computer-readable storage medium, in which a computer program or instruction is stored. When the instruction is executed on a computer, the implementation methods of the first and second aspects mentioned above are implemented. The technical effects achieved in the above-mentioned second to eleventh aspects can refer to the technical effects in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS FIG1 is a schematic diagram of a communication system provided in an embodiment of the present application; FIG2 is a schematic diagram of a random access process; FIG3 is an exemplary flow chart of a random access method provided in an embodiment of the present application; FIG4A is a schematic diagram of a method for sending a preamble provided in an embodiment of the present application; FIG4B is a schematic diagram of another method for sending a preamble provided in an embodiment of the present application; FIG5A is a schematic diagram of another method for sending a preamble provided in an embodiment of the present application; FIG5B is a schematic diagram of another method for sending a preamble provided in an embodiment of the present application; FIG6 is a schematic diagram of a resource group provided in an embodiment of the present application; FIG7 is a schematic diagram of a communication device provided in an embodiment of the present application; FIG8 is a schematic diagram of another communication device provided in an embodiment of the present application; FIG9 is a schematic diagram of another communication device provided in an embodiment of the present application; FIG10 is a schematic diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained and illustrated below. 1) Repeated transmission can be understood as sending the same information multiple times or sending multiple identical information, such as the preamble of random access or message 1 of random access. It can be understood that repeated transmission can be sending the same information multiple times on multiple time domain resources, and the information is sent once on each time domain resource. For example, the preamble is repeatedly sent on multiple time domain resources, and the time domain resources may include resource A and resource B. When sending the preamble, it can be sent on resource A and resource B, and the preambles sent on resource A and resource B are the same. 2) The number of repeated transmissions, which may also be referred to as the number of repeated transmissions or the number of transmissions or the number of repetitions, may be understood as the number of transmissions of the same information (e.g., the preamble of random access or the message 1 of random access). As mentioned above, if the preamble is transmitted on resource A and resource B, then the number of repeated transmissions of the preamble is two, and the transmission of the preamble on resource A and resource B may be regarded as one repeated transmission respectively. The technical solutions of the embodiments of the present application can be applied to New Radio (NR) systems, Long Term Evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, Worldwide Interoperability for Microwave Access (WiMAX) communication systems, and next-generation wireless communication systems such as 6G, etc., without limitation herein. FIG1 is a schematic diagram of the architecture of a communication system 1000 used in an embodiment of the present application. As shown in FIG1 , the communication system includes a wireless access network 100. The wireless access network 100 may include at least one network device (such as 110a and / or 110b in FIG1 ), and may also include at least one terminal device (such as at least one of 120a-120j in FIG1 ). The terminal device is connected to the access network device wirelessly, and the access network device is connected to the core network device wirelessly or by wire. Terminal devices and terminal devices and network devices may be connected to each other by wire or wirelessly. FIG1 is only a schematic diagram, and the communication system may also include other network devices, such as wireless relay devices and wireless backhaul devices, which are not shown in FIG1 . A network device is a network-side device with wireless transceiver functions. A network device may be a device in a radio access network (RAN) that provides wireless communication functions for terminal devices, and is called a RAN device. For example, a network device may be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next generation NodeB (gNB) in a fifth generation (5G) mobile communication system, a next generation base station in a sixth generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system; it may also be a module or unit that completes some functions of a base station, for example, 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 layer 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 the above-mentioned various protocol layers, please refer to the relevant technical specifications of the third generation partnership project (3GPP). The network device can be a macro base station (such as 110a in Figure 1), a micro base station or an indoor station (such as 110b in Figure 1), or a relay node or a donor node. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network device. In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a CU, DU, CU-control plane (CP), CU-user plane (UP), or radio unit (RU). The CU and DU can be set separately, or can also be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU) or a remote radio head (RRH). In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in an open radio access network (ORAN) system, CU may also be called O-CU (open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application takes CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module. The terminal device is a user-side device with wireless transceiver function. The terminal device can also be called user equipment (UE), mobile station, mobile terminal, etc. The terminal device can be widely used in various scenarios, for example, device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things (IOT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. The terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a mechanical arm, a smart home device, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device. The network equipment and terminal equipment can be fixed or movable. The network equipment and terminal equipment can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on the water surface; they can also be deployed on aircraft, balloons and artificial satellites in the air. The embodiments of the present application do not limit the application scenarios of the network equipment and terminal equipment. The roles of network devices and terminal devices can be relative. For example, the helicopter or drone 120i in FIG. 1 can be configured as a mobile network device. For the terminal devices 120j that access the wireless access network 100 through 120i, the terminal device 120i is a network device; but for the network device 110a, 120i is a terminal device, that is, 110a and 120i communicate through the wireless air interface protocol. Of course, 110a and 120i can also communicate through the interface protocol between network devices. In this case, relative to 110a, 120i is also a network device. Therefore, network devices and terminal devices can be collectively referred to as communication devices. 110a and 110b in FIG. 1 can be referred to as communication devices with network device functions, and 120a-120j in FIG. 1 can be referred to as communication devices with terminal device functions. In the embodiments of the present application, the functions of the network device may also be performed by a module (such as a chip) in the network device, or by a control subsystem including the network device function. The control subsystem including the network device function here may be a control center in the above-mentioned application scenarios such as smart grid, industrial control, smart transportation, and smart city. The functions of the terminal device may also be performed by a module (such as a chip or a modem) in the terminal device, or by a device including the terminal device function. Coverage is one of the key indicators of network equipment. With the continuous development of communication technology, people have higher expectations for the coverage and quality of communication networks. The coverage of a network is one of the important indicators for evaluating its coverage. Coverage mainly refers to the geographical area that the network signal can cover. When evaluating the coverage of a network, factors such as signal propagation attenuation, building obstruction, and the influence of terrain need to be considered. Better network coverage means a wider signal coverage area, allowing users to enjoy high-speed network connections in a wider geographical area. In addition to coverage, coverage density is also an important indicator for evaluating network coverage capabilities. Coverage density refers to the number of base stations per unit area. The higher the coverage density, the closer the distance between network devices is, and the terminal devices can obtain stronger signal coverage and faster network connection speed. Therefore, coverage density is an important indicator for evaluating network coverage capabilities in high-density areas such as cities. Signal strength is one of the important indicators to measure the quality of network coverage. Signal strength refers to the strength of the network signal, usually measured in decibels (dB). Better signal strength means users can get a more stable and faster network connection. The terminal device needs to obtain uplink synchronization through random access and access the network for communication. Random access includes contention-based random access and non-contention-based random access. Non-contention-based access is usually used when the terminal device can successfully receive radio resource control (RRC) signaling. The following describes the random access process by taking the contention-based random access process as an example. In the following, the network device is a base station and the terminal device is a terminal. Referring to FIG. 2 , it is an exemplary flowchart of random access, which may include the following operations. S201: The base station sends configuration information of message 1 (message 1, Msg1) repetition to the terminal. The configuration information may include the configuration of Msg1 repetition, including a repetition number, time domain resources and preamble, etc. The preamble may also be referred to as a preamble code or a preamble sequence, etc. in this document. The correspondence between the synchronization signal and physical broadcast channel block (SSB) and the random access channel occasion (RO) is pre-configured by the base station. RO can be understood as the time-frequency resource of Msg1 repetition. S202: The terminal sends message 1 (Msg1) to the base station repeatedly. The terminal may send a repeated Msg1 to the base station via a physical random access channel (PRACH). The repeated Msg1 may carry a preamble. The terminal may receive multiple SSBs from the base station. The terminal may detect the power of the multiple SSBs and select the SSB with the highest power from the multiple SSBs. The terminal may randomly select an RO from the RO associated with the SSB with the highest power to send a preamble. The terminal may send repeated Msg1, and the number of repeated transmissions may be the number of repetitions contained in the configuration information. In one example, a maximum of 64 preambles can be transmitted simultaneously on an RO. The terminal can select a preamble from the 64 preambles, that is, the preamble carried in the Msg1 repetition. S203: The base station sends message 2 (Msg2) to the terminal. Msg2 is also called random access response (RAR) information. The terminal can receive Msg2 encrypted with a radio access network temporary identifier (RA-RNTI) based on the RA-RNTI. The RAR information can indicate RAR uplink grant information, temporary C-RNTI and timing advance information. The calculation of RA-RNTI is as follows: RA-RNTI=1+s_id+14×t_id+14×80×f_id+14×80×8×ul_carrier_id Where s_id is the index of the first orthogonal frequency division multiplexing (OFDM) symbol of PRACH RO (0≤s_id<14), t_id is the index of the first time slot of PRACH RO in the system frame (0≤t_id<80). Wherein, the subcarrier spacing of t_id is determined based on the μ value specified in clause 5.3.2 of TS 38.211, μ={0,1,2,3},μ={5,6}, where t_id is the index of the 120kHz time slot in the system frame containing PRACH RO (0≤t_id<80), and f_id is the index of PRACH RO in the frequency domain (0≤f_id<8). ul_carrier_id is the UL carrier used for random access preamble transmission (0 indicates normal carrier NUL, 1 indicates supplementary carrier SUL). In the non-contention-based random access process, the terminal can send uplink data based on the RAR uplink scheduling information. In the contention-based random access process, the terminal can send Msg3 based on the RAR uplink scheduling information, and the RAR uplink scheduling information can indicate the time domain resources of Msg3. S204: The terminal sends message 3 (Msg3) to the base station. The terminal may send Msg3 to the base station via a physical uplink shared channel (PUSCH). The terminal may send Msg3 on the time domain resources indicated by Msg2. The Msg3 may include uplink control information, such as a common control channel (CCCH) message or a cell-radio network temporary identifier (C-RNTI). S205: The base station sends message 4 (Msg4) to the terminal. The Msg4 is mainly used for conflict resolution. When multiple terminals access at the same time, it is necessary to determine which terminal is selected for random access. For example, the Msg4 may include a terminal identifier to indicate that the terminal corresponding to the terminal identifier has successfully accessed the random access. Based on the process shown in Figure 2, it can be seen that whether it is contention-based random access or non-contention-based random access, the terminal uses a single beam to send Msg1, which will result in high random access delay and may cause the terminal to be unable to reliably access the base station. For example, when the coverage capability of the base station is poor, when the terminal uses a single beam to send Msg1, the base station may not be able to accurately receive Msg1, which will cause the terminal device to transmit Msg1 multiple times, increase the random access delay of the terminal, and may cause the terminal to be unable to reliably access the base station. In view of this, an embodiment of the present application provides a random access method. In the method, the base station can send configuration information of Msg1 repetitions corresponding to multiple beams to the terminal, and the terminal can use multiple beams to send Msg1 repetitions. Based on this solution, the terminal sends Msg1 repetitions through multiple beams, which can improve uplink coverage and increase the reliability of random access. Referring to FIG. 3 , which is an exemplary flowchart of a random access method provided in an embodiment of the present application, the following operations may be included. S301: The base station sends configuration information to the terminal. Correspondingly, the terminal receives configuration information from the base station. The configuration information may indicate the first number and the first random access resource, and the first random access resource corresponds to the first number. In this document, the first number may be an integer greater than 1, such as 2, 3, 4, 8, 16 or a larger integer. For example, the configuration information may include indication information A1 and indication information A2, where indication information A1 indicates the first number and indication information A2 indicates the first random access resource. Optionally, the first number may also be referred to as the number of repetitions or the number of transmissions of Msg1 or Msg1 repetitions. In one possible example, the first random access resource includes the time domain resource of the preamble and / or the preamble of random access. For example, the configuration information further includes indication information B1, and the indication information B1 indicates the time domain resource of the preamble corresponding to the first number. Exemplarily, the indication information B1 indicates the index of the RO (for example, Mask index), or the index of one or more RO sets (sets), and the terminal can determine the time domain resource of the preamble according to the index of the RO. For another example, the configuration information also includes indication information D1, and the indication information D1 indicates the root sequence of the random access or the identifier of the preamble. The terminal can determine the time-frequency resource of the preamble based on the indication information B1, and determine the preamble used for random access, such as the first preamble, based on the indication information D1. The terminal can repeatedly send the first preamble on the time-frequency resource of the preamble based on N beams, and the number of times the first preamble is repeatedly sent is the first number. In a possible example, the time domain resources (such as RO) used to send a repetition of Msg1 can be continuous or non-continuous in the time domain, but the frequency domain resources are the same. Optionally, the configuration information may be carried in a radio resource control (RRC) message, a media access control (MAC) control element (CE) or downlink control information (DCI), or the configuration information may be an RRC message, a MAC CE or a DCI. Optionally, the configuration information may be sent via a physical downlink shared channel (PDSCH). It should be noted that the above configuration information may be used for contention-based random access or for non-contention-based random access, and this application does not make any specific limitation. In an embodiment of the present application, the first number (M times) and the first random access resource both correspond to N beams, M and N are integers greater than 1, and M and N may be the same or different. For example, M is an integer of 2, 4, 8, 16 or more. Similarly, N is an integer of 2, 4, 8 or more. In other words, the first number and the first random access resource are used for random access of multiple beams. The terminal performs random access of multiple beams based on the first number and the first random access resource. Each of the N beams is an uplink beam or a spatial filter. In the present application, the beam can be replaced by a spatial filter, and a signal in a specific direction can be generated by spatial filtering. In the current random access process, the preamble is repeatedly sent on multiple time domain resources based on the same beam. In the embodiment of the present application, for multi-beam random access, the terminal can send the preamble (such as the first preamble) indicated by the configuration information in multiple beams. If the terminal repeatedly sends in multiple beams, the specific terminal can repeatedly send the preamble in each of the multiple beams, or can also non-repeatedly send the preamble in each of the multiple beams, but the preamble is still repeatedly sent for multiple beams. In one possible implementation, the preamble may also be repeatedly transmitted on each beam in the multi-beam random access, and the number of repeated transmissions of the preamble on each beam is the same. Exemplarily, the configuration information indicates a second number (M1), and the second number may be an integer greater than or equal to 1, such as 1, 2, 4, 8, 16 or a larger integer, and M1 is less than or equal to M. For example, the configuration information includes indication information C1, and the indication information C1 indicates the second number (M1), and the second number is used to indicate the number of repeated transmissions of the preamble of each uplink beam in the multi-beam random access. That is, the second number (M1) is the number of repeated transmissions of the preamble on each of the N beams in a random access attempt. The number of times the terminal sends the preamble on each beam is the second number. It should be noted that multi-beam random access means that before message 2, the terminal uses multiple beams to send message 1 (Msg1). If the terminal uses multiple beams to send repeatedly, the specific terminal can send message 1 repeatedly on each of the multiple beams, or can send message 1 non-repeatedly on each of the multiple beams, but message 1 is still sent repeatedly for multiple beams. Among them, message 1 can carry a preamble, or message 1 can be a preamble. Optionally, the value of N can be directly indicated by the base station or determined by the first number and the second number, for example, N = first number M / second number M1. Exemplarily, the first number M is 4 and the second number M1 is 2, then the terminal can determine N = first number / second number, that is, N = 2, which means that the terminal can send the preamble based on two beams, and the number of times the preamble is sent on each beam is 2. Exemplarily, the first number M is 2 and the second number M1 is 1, then the terminal can determine N = first number / second number, that is, N = 2, which means that the terminal can send the preamble based on two beams, and the number of times the preamble is sent on each beam is 1. If the first number M / second number M1 is not an integer, it is rounded up to N, for example 5 (M) / 2 (M1) = 2.5, then N = 3. In another possible implementation, the number of repeated transmissions on each beam in the random access of multiple beams is different. Exemplarily, the configuration information may indicate K third numbers, and the K third numbers correspond one-to-one to N1 beams, K=N1, and N1 is greater than or equal to N. Each third number may be the number of times the preamble is transmitted on the corresponding beam. It should be noted that at least two of the above K third numbers are different, or the K third numbers are all different. For example, the configuration information may indicate third numbers 1 to third numbers K, and each of the third numbers 1 to third numbers K is different, or at least two of the third numbers 1 to third numbers K are different. Exemplarily, the configuration information indicates third number 1, third number 2, and third number 3, and the three third numbers 1, third number 2, and third number 3 may all be different, or third number 1 and third number 2 are the same, but different from third number 3, or third number 1 and third number 3 are the same, but different from third number 2, or third number 2 and third number 3 are the same, but different from third number 1. The terminal can determine the N beams used to send the preamble from the N1 beams, and determine the third number corresponding to each beam based on the configuration information. The terminal uses N beams to send the preamble indicated by the configuration information, such as the first preamble. Among them, the number of times the first preamble is sent on each beam conforms to the corresponding third number. For example, the terminal determines to use uplink beam 1 and uplink beam 2 to send the preamble. Based on the configuration information, the terminal determines that the third number 1 corresponding to uplink beam 1 is 2, and the third number 2 corresponding to uplink beam 2 is 4. If the configuration information indicates that the terminal sends the first preamble, then the number of times the terminal sends the first preamble on uplink beam 1 is 2, and the number of times the terminal sends the first preamble on uplink beam 2 is 4. In the embodiment of the present application, the N beams (for example, beam 0 to beam N-1) that the terminal repeatedly sends the preamble may be determined by the terminal itself. For example, the terminal may select an SSB from multiple SSBs of the base station, the receiving power of the SSB is higher than the threshold, and the first random access resource corresponds to the SSB and also corresponds to the N beams (for example, beam 0 to beam N-1). In a possible implementation, the configuration information may indicate P first numbers, the P first numbers are all different, or some of the P first numbers are the same and some are different. For example, the configuration information may indicate first numbers 1 to first numbers P, each of the first numbers 1 to first numbers P is different, or some of the first numbers 1 to first numbers P, such as first numbers 1 to first numbers P-1 are the same and different from the first number P. The configuration information also indicates P random access resources and P second numbers corresponding to the P first numbers one by one. Among them, the P random access resources are different, the P second numbers can be the same or different, and P is an integer greater than 1. Exemplarily, the configuration information includes the above-mentioned indication information A1, as well as indication information B1 and indication information C1. Optionally, the configuration information also includes indication information D1. Among them, indication information A1 indicates that the first number is 4, indication information B1 indicates random access resource 1, and indication information C1 indicates that the second number is 2. Among them, random access resource 1 includes multiple random resources. The configuration information also includes indication information A2, indication information B2 and indication information C2. Indication information A2 indicates a number different from the aforementioned indication information A1, for example, indication information A2 indicates that the first number is 8, indication information B1 indicates random access resource 2, and indication information C1 indicates that the second number is 4. The terminal can determine the number of repeated transmissions of the preamble on N beams, that is, the first number, thereby determining the corresponding random access resource and the number of times the preamble is transmitted on each beam. S302: The terminal sends a first preamble. Correspondingly, the base station receives the first preamble. In a possible implementation, in S302, the terminal uses multiple beams (N beams, for example, beam 0 to beam N-1) according to the configuration information to send repeated Msg1 on the leading time-frequency resources. For example, the time-frequency resources of the first preamble include L ROs (RO 0 to RO L-1), and the L ROs form N RO subsets. For example, RO subset 0 to RO subset N-1, beam 0 to beam N-1 correspond to RO subset 0 to RO subset N-1 one by one, and one RO subset is used to repeatedly send the first preamble on one beam. L is an integer greater than 1. Msg1 repetition can be understood as repeated transmission of Msg1. It can be understood that the number of times the terminal repeats the transmission of the first preamble on N beams can be the first number (M), and the number of times the terminal repeats the transmission of the first preamble on each beam can be the second number, that is, the number of times the first preamble is repeated on beam 0 to beam N-1 is the second number. Among them, the first number is equal to the second number multiplied by N. In the embodiment of the present application, the first number and the first random access resource correspond to N beams, which can be understood as the first number and the first random access resource corresponding to multiple beams rather than a single beam, and the terminal can use multiple beams for random access based on the first number and the first random access resource. In the present application, sending a preamble through multiple beams can be referred to as a first type of random access or a multi-beam random access, and sending a preamble through a single beam, such as sending a preamble in S201, can be referred to as a second type of random access or a single-beam random access. The following describes the random access of multiple beams in conjunction with the accompanying drawings. Referring to FIG4A , it is assumed that the configuration information indicates that the first number is 4, and the random access resources (RO set) corresponding to the first number include RO0 to RO3. The configuration information also indicates that the second number is 2, that is, the number of times the preamble is sent on each beam in the RO set is 2. According to the second number, it can be determined that an RO set can be divided into two RO subsets, and two uplink beams are required to send the preamble. Among them, RO0 and RO1 belong to RO subset 1, and RO2 and RO3 belong to RO subset 2. RO subset 1 can correspond to uplink beam 1, and RO subset 2 can correspond to uplink beam 2. That is, uplink beam 1 is used to send the preamble on RO subset 1, and uplink beam 2 is used to send the preamble on RO subset 2, wherein the terminal switches the uplink beam after sending the preamble twice on uplink beam 1, and sends the preamble twice on uplink beam 2. It should be noted that the preamble sent on RO subset 1 is the same as the preamble sent on RO subset 2. The terminal sends preambles on RO subset 1 and RO subset 2 until the number of times indicated by the first number is reached. Referring to FIG. 4B , it is assumed that the configuration information indicates that the first number is 8, and the random access resources (RO set) corresponding to the first number include RO0 to RO7. The configuration information also indicates that the second number is 2, that is, the number of times the preamble on each beam in the RO set is sent is 2. According to the second number, it can be determined that an RO set can be divided into four RO subsets (subsets), and four uplink beams are required to send the preamble. Among them, RO0 and RO1 belong to RO subset 1, RO2 and RO3 belong to RO subset 2, RO4 and RO5 belong to RO subset 3, and RO6 and RO7 belong to RO subset 4. RO subset 1 can correspond to uplink beam 1, RO subset 2 can correspond to uplink beam 2, RO subset 3 can correspond to uplink beam 3, and RO subset 4 can correspond to uplink beam 4. That is, uplink beam 1 is used to send a preamble on RO subset 1, uplink beam 2 is used to send a preamble on RO subset 2, uplink beam 3 is used to send a preamble on RO subset 3, and uplink beam 4 is used to send a preamble on RO subset 4, wherein the terminal switches the uplink beam after sending a preamble twice on uplink beam 1, switches the uplink beam after sending a preamble twice on uplink beam 2, switches the uplink beam after sending a preamble twice on uplink beam 3, and sends a preamble twice on uplink beam 4. It should be noted that the preambles sent by the terminal on RO subset 1, RO subset 2, RO subset 3, and RO subset 4 are the same, that is, the same preamble. The terminal sends preambles on RO subset 1, RO subset 2, RO subset 3, and RO subset 4 until the number indicated by the first number is reached. Based on the above content, it can be seen that the terminal can send the preamble based on multiple beams, thereby improving the uplink coverage. It should be noted that the RO numbering in FIG. 4A and FIG. 4B is illustrated by taking 0 as the starting number as an example. In the communication system, RO may also be numbered starting with 1, which is not specifically limited in this application. In addition, an RO subset may also correspond to an index, and the index of each RO subset may be determined by the terminal. For example, the terminal may determine how many RO subsets the RO set can be divided into, or determine the value of N, based on the second number and the first number. Assuming that the RO set includes RO0 to RO7, the second number is 2, and the first number is 8, then the terminal may determine that N=the second number÷the first number, that is, N=4, that is, the terminal may determine that the RO set is divided into 4 RO subsets. The terminal may number the RO subsets from 0 or from 1, and the embodiment of this application is illustrated by taking numbering from 1 as an example. The terminal may determine that the RO set includes RO subset 1, RO subset 2, RO subset 3, and RO subset 4, respectively, where RO0 and RO1 belong to RO subset 1, RO2 and RO3 belong to RO subset 2, RO4 and RO5 belong to RO subset 3, and RO6 and RO7 belong to RO subset 4. In a possible case, the configuration information may also indicate a triggering event for random access of the multi-beam. For example, the configuration information may include indication information D, and the indication information D may indicate a triggering event for random access of the multi-beam. The triggering event may include one or more of the following. Event 1: Beam failure recovery. The terminal may perform random access of multiple beams when event 1 is satisfied. For example, when the terminal wants to perform beam failure recovery, the terminal may perform random access of multiple beams to perform recovery. Event 2: Wireless connection established. The terminal may perform random access of multiple beams when event 2 is satisfied. For example, when the terminal wants to establish a wireless connection, such as an RRC connection establishment, the terminal may perform random access of multiple beams. Event 3: Wireless connection restored. The terminal may perform multi-beam random access when event 3 is satisfied. For example, when the terminal wants to perform radio connection recovery or radio connection re-establishment, such as RRC recovery or RRC re-establishment, the terminal may perform multi-beam random access. Event 4: Uplink timing synchronization. Uplink timing synchronization may mean that uplink signals of different terminals can arrive at the base station synchronously (or simultaneously). The terminal can perform random access of multiple beams when event 4 is satisfied. For example, when the terminal wants to perform uplink synchronization, the terminal can obtain timing advance (TA) information through random access of multiple beams. Different terminal devices need to obtain their own timing advances before using their own timing advances for uplink transmission. Event 5: Cell switching. Cell switch or handover means that in a wireless communication system, when a terminal moves from one cell to another, in order to maintain the continuity of communication, the terminal can perform multi-beam random access when event 5 is met. For example, when the terminal wants to perform cell handover, multi-beam random access can be performed to switch to the target cell. The configuration information may indicate one or more of the above events 1 to 5. The terminal may perform multi-beam random access when any one of the above events 1 to 5 is met. That is, the terminal may trigger the random access of multi-beam Msg1 repetition when any one of the above events 1 to 5 is met, determine the number of multi-beam Msg1 repetitions (for example, the number of repetitions M), select the resources corresponding to the multi-beam Msg1 repetitions (the number of repetitions M), and send Msg1 using multi-beam repetitions according to the configuration information. Optionally, the embodiment shown in FIG. 3 may further include S303 to S305 . S303: The base station sends a random access response to the first preamble to the terminal. Correspondingly, the terminal receives a random access response to the first preamble from the base station. In a possible implementation, the terminal receives a random access response to a first preamble (refer to S302) based on a radio access network temporary identifier (RA-RNTI), and the RA-RNTI is determined based on part of the first random access resource, for example, the last valid RO in the time-frequency resource of the preamble (for example, RO L-1). The random access response to the first preamble may include identification information of the random access resource, such as the index of the first RO subset or the index of the first RO, and the identification information of the random access resource is used to indicate that the transmission beam of the uplink data or uplink control information (refer to S304) is the same as the transmission beam of the first preamble on the first RO subset (refer to S302). Different RO subset indexes correspond to different uplink beams. Different RO subsets correspond to the same RA-RNTI. The first RO corresponds to the first RO subset. For example, the N RO subsets in S302 include the first RO subset, assuming that the first RO subset is RO subset n, and the first RO subset includes the first RO, such as the first RO is an RO in the first RO subset (for example, the first RO). The index of the first RO subset contained in the random access response in S303, the first RO subset index is used to indicate the uplink beam for sending uplink data or uplink control information, and the uplink beam can be the same as the uplink beam for sending the first preamble. The terminal can determine the corresponding uplink beam according to the index of the RO subset. In another possible implementation, the terminal listens for a random access response for the first preamble (refer to S302) based on N radio access network temporary identifiers (RA-RNTIs). The N radio access network temporary identifiers (RA-RNTIs 0 to N-1) correspond one-to-one with N RO subsets. The RA-RNTI i (0 <= i < N) is determined according to the i-th RO subset among the N RO subsets. For example, it is determined according to the last RO of the i-th RO subset. The network device uses one of the N RA-RNTIs (for example, the first RA-RNTI) to send a random access response for the first preamble to the terminal. The first RA-RNTI corresponds to the first RO subset in the first random access resource. When the terminal receives a random access response for the first preamble using the RA-RNTI corresponding to the first RO subset (i.e., the first RA-RNTI), the terminal determines that the transmission beam for the uplink data or uplink control information (refer to S304) is the same as the transmission beam of the first preamble on the first RO subset (refer to S302). For example, taking Figure 4A as an example, the terminal sends a preamble using uplink beam 1 on RO subset 1 and sends a preamble using uplink beam 2 on RO subset 2. Among them, it is assumed that the index 1 of the RO subset corresponds to uplink beam 1, and the index 0 of the RO subset corresponds to uplink beam 2. In S303, if the index of the RO subset contained in the received random access resource response by the terminal is 1, then the terminal can determine uplink beam 1 and use this uplink beam 1 to send uplink data or uplink control information, as shown in the following step S304. The random access response may also indicate the PUSCH resource, for example, the PUSCH resource of message 3. S304: The terminal sends uplink data or uplink control information to the base station. Correspondingly, the base station receives the uplink data or uplink control information from the terminal. According to S303, the terminal sends uplink data or uplink control information to the base station using the same beam as the transmission beam of the first preamble on the first RO subset (refer to S302). In S304, for non-contention-based random access, the terminal may send uplink data on the uplink beam corresponding to the identifier of the random access resource contained in the random access response. For contention-based random access, the terminal may send Msg3 on the uplink beam corresponding to the identifier of the random access resource contained in the random access response. The Msg3 may include uplink control information, such as a CCCH message (for example, an RRC recovery request message or an RRC establishment request message or an RRC re-establishment request message) or the C-RNTI of the terminal. The C-RNTI may uniquely identify the terminal within the cell. Exemplarily, the transmission beam of the uplink data or uplink control information is the same as the transmission beam of the first preamble corresponding to the RO subset n. It is understandable that Msg3 can also be sent repeatedly, and reference can be made to the repeated sending of the first preamble, which is not specifically limited in this application. S305: The base station sends Msg4 to the terminal. Correspondingly, the terminal receives Msg4 from the base station. The Msg4 is mainly used for conflict resolution. When multiple terminals access at the same time, it is necessary to determine which terminal is selected for successful access in this random access. For example, the Msg4 may include a terminal identifier (for example, the above-mentioned C-RNTI) or all or part of the above-mentioned CCCH message to indicate that the terminal corresponding to the terminal identifier or CCCH message has successfully accessed the random access. It can be understood that after the terminal sends the preamble through multiple beams, if no random access response or Msg4 is received, the terminal can use another N beams (beam N to beam 2*N-1) to retransmit the preamble. The specific process refers to S301. The difference is that the time domain resources indicated by the resource indication of the preamble retransmission are the same or different from the time domain resources indicated by the first random access resource, and the time domain resources indicated by the resource indication of the preamble retransmission also include N RO subsets. The terminal repeatedly sends the second preamble indicated by the time domain resources indicated by the resource indication of the preamble retransmission based on the time domain resources indicated by the resource indication of the preamble retransmission, which is the same or different from the first preamble sent in S301. In other words, the terminal can send the preamble through multiple beams other than N beams (beam 0 to beam N-1). In other words, the terminal can send the preamble in another direction to improve the reliability of random access. Referring to FIG. 5A , it is assumed that the terminal sends the first preamble in the manner shown in FIG. 4A . If the terminal does not receive a random access response or Msg4, then the terminal may use other beams, such as uplink beam 3 and uplink beam 4, to send the second preamble. It is understandable that the first preamble and the second preamble may be the same or different, and the present application does not make specific limitations. Similarly, it is assumed that the configuration information indicates that the first number is 4, and the number of random access resources (RO sets) corresponding to the first number is 4, including RO0 to RO3. The configuration information also indicates that the second number is 2, that is, the number of transmissions on each beam is 2. Then in an RO set, RO0 and RO1 belong to RO subset 1, and RO2 and RO3 belong to RO subset 2. Then the terminal may use uplink beam 3 to send the second preamble on RO subset 1, and use uplink beam 4 to send the second preamble on RO subset 2. Referring to FIG. 5B , it is assumed that the terminal sends the first preamble in the manner shown in FIG. 4B . If the terminal does not receive the random access response or Msg4, the terminal may use other beams, such as uplink beam 5 to uplink beam 8, to send the second preamble. It is understandable that the first preamble and the second preamble may be the same or different, and the present application does not make specific limitations. Similarly, it is assumed that the configuration information indicates that the first number is 8, and the number of random access resources (RO sets) corresponding to the first number is 8, including RO0 to RO7. The configuration information also indicates that the second number is 2, that is, the number of transmissions on each beam is 2. Then in an RO set, RO0 and RO1 belong to RO subset 1, RO2 and RO3 belong to RO subset 2, RO4 and RO5 belong to RO subset 3, and RO6 and RO7 belong to RO subset 4. Then the terminal can use uplink beam 5 to send the second preamble on RO subset 1, use uplink beam 6 to send the second preamble on RO subset 2, use uplink beam 7 to send the second preamble on RO subset 3, and use uplink beam 8 to send the second preamble on RO subset 4. Based on the above solution, when the terminal does not receive a random access response, it can send a preamble through multiple beams other than N beams to improve the reliability of random access. In a possible implementation, the random access resources of multiple beams and the random access resources of a single beam may correspond to the same feature. For example, the configuration information may further indicate a second random access resource, which corresponds to one beam. That is, the second random access resource is a random access resource of a single beam. The first random access resource and the second random access resource correspond to the feature of message 1 repetition, and the first random access resource and the second random access resource belong to the same random access resource group, as shown in FIG6. In FIG6, each random access (random access, RA) partition may include multiple ROs, and the number of ROs included in each RA partition may be determined by the number of Msg1 repetitions. For example, if the number of Msg1 repetitions of RA partition 1 is 2, then RA partition 1 contains 2 ROs. For another example, if the number of Msg1 repetitions of RA partition 2 is 4, then RA partition 2 contains four ROs, and so on. RA partitions 1 to RA partition 3 correspond to random access resources of a single beam, and RA partitions 4 to RA partition 6 correspond to random access resources of multiple beams. RA partitions 1 to RA partitions 6 correspond to the feature of message 1 repetition. In a possible example, the random access resources of a single beam and the random access resources of multiple beams correspond to the same priority, and the priority can be used to select a random access resource group with the characteristic of message 1 repetition. For example, the base station can send the priority corresponding to the characteristic of message 1 repetition to the terminal in the system message. Assume that the terminal needs to send message 1 repetition and perform small data transport (SDT). Among them, the priority corresponding to the characteristic of message 1 repetition is higher than the priority corresponding to the SDT characteristic. Then the terminal can select a high-priority characteristic, that is, select the random access resource group corresponding to the characteristic of message 1 repetition, and do not select the random access resource group corresponding to the SDT characteristic, that is, the terminal chooses to execute the sending of message 1 repetition instead of the sending of SDT. For example, in the random access resource group shown in Figure 6, the terminal can send message 1 repetition. In this case, the terminal preferentially selects the random access resource corresponding to message 1 repetition according to the priority to execute the sending of message 1 repetition, and does not select the random access resource corresponding to the low priority to execute the sending of SDT, thereby ensuring that the terminal successfully accesses the base station. In a possible implementation, whether the terminal performs single-beam random access or multi-beam random access can be determined according to a triggering event. If one or more of the above events 1 to 5 are met, the terminal performs multi-beam random access, otherwise the terminal performs single-beam random access. Based on the above scheme, the random access resources repeated in message 1 of a single beam and the random access resources repeated in message 1 of a multi-beam correspond to the same grouping and the same characteristic priority, thereby reducing resource overhead and reducing the complexity of the terminal. In an embodiment of the present application, fallback or switching can be performed between multi-beam random access and single-beam random access. In one example, the configuration information may indicate a first maximum number of transmissions. The first maximum number of transmissions is used to control the fallback from multi-beam random access to single-beam random access. The first maximum number of transmissions is the maximum number of transmissions of the preamble of the multi-beam random access. For example, in S302, the terminal performs multi-beam random access and sends a first preamble through N beams. If the terminal does not receive a random access response or Msg4 for the first preamble, it can be considered that the preamble transmission of the multi-beam random access has failed. The terminal can retransmit the preamble of the multi-beam random access, such as repeatedly sending the second preamble. If the terminal does not receive a random access response or Msg4 for the second preamble, it can be considered that the preamble transmission of the multi-beam random access has failed. At this time, it is considered that the cumulative number of preamble transmission failures of the multi-beam random access is two. If the cumulative number of preamble transmission failures of the multi-beam random access is greater than or equal to the first maximum number of transmissions, the terminal can perform a first fallback, that is, the terminal can fall back from the multi-beam random access to the single-beam random access and perform the single-beam random access. For example, when performing S201, the terminal can select the random access resource corresponding to the single-beam random access (repeated or non-repeated transmission) to send the preamble of the single-beam random access. In another example, the configuration information may indicate a second maximum number of transmissions. The second maximum number of transmissions is used to control the fallback from random access of a single beam to random access of multiple beams. The second maximum number of transmissions is the maximum number of transmissions of the preamble of the random access of a single beam. It is understood that the second maximum number of transmissions may be the same as or different from the first maximum number of transmissions, and this application does not make specific limitations. For example, before S302, the terminal performs a single-beam random access and sends a preamble through a single beam (repeated or non-repeated transmission), such as executing S201. If the terminal does not receive a random access response or Msg4 for the preamble, it can be considered that the preamble transmission of a single-beam random access has failed. The terminal can send the preamble of the single-beam random access again. If the terminal does not receive a random access response or Msg4 for the preamble, it can be considered that the preamble transmission of a single-beam random access has failed. At this time, it is considered that the cumulative number of preamble transmission failures of the single-beam random access is two. If the cumulative number of preamble transmission failures of the single-beam random access is greater than or equal to the second maximum number of transmissions, the terminal can perform a second fallback, that is, the terminal can fall back from the single-beam random access to the multi-beam random access. For example, the terminal can select the multi-beam random access resource (repeated or non-repeated) to send the multi-beam random access preamble, that is, execute S302. In another example, the configuration information may also indicate a third maximum number of transmissions. The third maximum number of transmissions may be used to determine that the random access process has failed. For example, the third maximum number of transmissions is greater than or equal to the first maximum number of transmissions, and greater than or equal to the second maximum number of transmissions. For example, if the cumulative number of leading transmission failures of random access is greater than or equal to the third maximum number of transmissions, it may be determined that the random access process has failed, and the cumulative number of leading transmission failures includes the number of leading transmission failures of random access of a single beam of the terminal and the number of leading transmission failures of random access of multiple beams. Optionally, the terminal may perform an RRC re-establishment process to re-establish a connection with the base station through other cells. Based on the above solution, by using the fallback of random access, it is possible to avoid the terminal from re-establishing RRC too early, which may cause service interruption and affect service experience. At present, the internal power device of the terminal cannot continuously guarantee the maximum transmission power corresponding to the lower power level. When it cannot be continuously guaranteed, the terminal can temporarily increase the power level, thereby reducing the maximum transmission power of the terminal and temporarily guaranteeing data transmission. At this time, the base station is unaware that the terminal actively increases the power level, which may cause the scheduled resources to exceed the maximum transmission power of the terminal, resulting in data transmission failure. Different power classes (PC) of terminals may correspond to different maximum transmit powers of the terminals. The lower the power class, the higher the maximum transmit power. For example, the maximum transmit power of the terminal corresponding to the first power class (such as PC1.5) is 29dBm, and the maximum transmit power of the terminal corresponding to the second power class (such as PC3) is 23dBm. The correspondence between the power class and the maximum transmit power of the terminal is shown in Table 1, and the correspondence may be preconfigured or predefined by the protocol. Table 1: An example of the relationship between a power level and the maximum transmit power As shown in Table 1, when the power level is PC1, the maximum transmit power of the terminal is 31 dBm, when the power level is PC1.5, the maximum transmit power of the terminal is 29 dBm, and so on. In a possible implementation, the terminal triggers a delta power class (DPC) when the first condition is met. The first condition may include that the terminal is at the first power level and the uplink duty cycle exceeds the threshold, that is, within an evaluation period, the duration of the scheduled uplink transmission symbol in the evaluation period accounts for a greater than or equal to threshold value, such as greater than a percentage threshold value, or may include that after the uplink duty cycle of the terminal exceeds the threshold, the terminal falls back from the second power level to the first power level again. Exemplarily, assuming that the power level of the terminal is the first power level, after the uplink duty cycle of the terminal exceeds the threshold, the terminal falls back to the second power level, and the first maximum transmit power of the second power level is greater than or equal to the first maximum transmit power of the first power level minus the DPC indicated in the first DPC field in the first report. The second maximum transmit power of the second power level is less than or equal to the second maximum transmit power of the first power level minus the DPC indicated in the second DPC field in the first report. The first maximum transmit power of the first power level and the second power level corresponds to the first cell, and the second maximum transmit power of the first power level and the second power level corresponds to the first frequency band combination (Band Combination, BC). The first maximum transmit power of the first power level is greater than the first maximum transmit power of the second power level. The second maximum transmit power of the first power level is greater than the second maximum transmit power of the second power level. Exemplarily, after the uplink duty cycle of the terminal exceeds the threshold, the terminal falls back from the second power level to the first power level. Since the maximum transmit power of the terminal is restored, the terminal falls back to the first power level, which triggers DPC again. When the DPC is triggered, the terminal sends a first report to the base station, such as a power headroom report (PHR), where the first report includes a first DPC field (such as a DPC field) and a second DPC field (such as a DPC_BC field). Among them, the information indicated by the first DPC field is shown in Table 2. Table 2: An example of a first DPC field. The first DPC field has 2 bits and includes four code points, which can indicate four different values. In Table 2, the value of the first DPC field is a first value, such as 0, indicating that the condition for the terminal to report DPC is not met. The value of the first DPC field is a second value, such as 1, indicating that the incremental power level (DPC) is 0dB, and optionally, it is also used to indicate that the condition for the terminal to report DPC is met. The value of the first DPC field is a third value, such as 2, indicating that the incremental power level (DPC) is 3dB, and optionally, it is also used to indicate that the condition for the terminal to report DPC is met. The value of the first DPC field is a fourth value, such as 3, indicating that the incremental power level (DPC) is 6dB, and optionally, it is also used to indicate that the condition for the terminal to report DPC is met. Among them, the first value, the second value, the third value and the fourth value are different integers, and the first value < the second value < the third value < the fourth value. In another example, the first DCP field indicates two values, such as the first value or the second value, that is, there are no third value and fourth value. The first report may also include a first DPC field of at least one first cell. Different first cells correspond to respective first DPC fields. The values of the first DPC field of each cell are explained as shown above. The at least one first cell is a service cell of the terminal device, such as a service cell of a CA or a service cell of a DC. After receiving the first report, the base station determines the maximum transmit power of the terminal corresponding to the current first cell (such as the first maximum transmit power of the second power level) according to the first maximum transmit power of the first power level and the first DPC field (i.e., the DPC not indicated by the first value), and determines the maximum transmit power of the terminal corresponding to the current first frequency band combination (such as the second maximum transmit power of the second power level) according to the second maximum transmit power of the first power level and the second DPC field (i.e., the indicated DPC). The first frequency band combination includes the carrier of the first cell, the bandwidth of the first frequency point combination is greater than the bandwidth of the first cell, and may include the bandwidths of multiple cells. The first cell is a terminal service cell, which may be a service cell of CA, or a service cell of DC. The first report is transmitted via a Medium Access Control Control Element (MAC CE). The base station allocates appropriate wireless resources to the terminal according to the maximum transmit power of the terminal corresponding to the current first cell or the maximum transmit power of the terminal corresponding to the current first frequency band combination, and the allocated resources do not exceed the current maximum transmit power of the terminal device. In one possible implementation, the first DPC field indicates a non-first value (such as a second value, a third value, or a fourth value). When the first DPC field indicates a non-first value (such as a second value, a third value, or a fourth value), the second DPC field indicates the DPC corresponding to the first band combination. Specifically, the number of bits of the first DPC field is 1, including 2 code points, which can indicate two different values (fifth value or sixth value). When the first DPC field indicates a non-first value (such as a second value, a third value, or a fourth value), the second DPC field takes the fifth value (such as 0), and the second DPC field indicates that the DPC corresponding to the first band combination is 0dB, and the second DPC field takes the sixth value (such as 1), and the second DPC field indicates that the DPC corresponding to the first band combination is greater than or equal to 3dB. Among them, the fifth value is different from the sixth value, and both are integers. In the case where the first DPC field indicates the first value, the second DPC field is ignored, regardless of whether the second DPC field indicates 0 or 1, or the bit corresponding to the second DPC field is not used to indicate the DPC corresponding to the first frequency band combination. A possible format of the first report is shown in Table 3. Table 3: The explanation of each field in Table 3 can be as follows. The second DPC field (such as DPC in Table 3 BC ) is a fifth value, such as (1 bit, value 0) used to indicate that the incremental power level of the first frequency band combination is 0 dB when the first PDC field is set to a non-first value (such as the second value, the third value or the fourth value), and the second DPC field (such as the DPC in Table 3) is BC ) is a sixth value, such as (1 bit, value 1) is used to indicate that the incremental power level of the first frequency band combination is greater than or equal to 3 dB when the first PDC field is set to the first value (such as the second value, the third value or the fourth value). When the first PDC field is set to the first value, the second DPC field is ignored. The fifth value is different from the sixth value, and the fifth value and the sixth value are both integers. C i : This field indicates the presence of the PH field of the serving cell i (ServCellIndex i) specified in TS38.331 [5]. i Set to 1 to indicate that the report includes the PH field of serving cell i (ServCellIndex i). i Set to 0 to indicate that the report does not include the PH field of serving cell i (ServCellIndex i). DPC BC or R: If dpc-Reporting-FR1 is configured, this field indicates ΔP PowerClass,CA / ΔP PowerClass,EN-DC / ΔP PowerClass,NR-DC , such as TS 38.101-1
[0014] and as specified in TS 38.101-3
[0016] . This field is set to 0 to indicate that if the DPC field is not set to 0, the incremental power level of the band combination is 0 dB, this field is set to 1 to indicate that if the DPC field is not set to 0, the power level of the band combination is the same or greater than 3 dB, and this field is ignored if the DPC field is set to 0. Alternatively, this field is set to 0 as a reserved bit. V: This field indicates whether the PH value is based on a real transmission or a reference format. For a PH of type 1, a V field set to 0 indicates a real transmission on the physical uplink shared channel (PUSCH), and a V field set to 1 indicates the use of the PUSCH reference format. For a PH of type 2, a V field set to 0 indicates a real transmission on the physical uplink control channel (PUCCH), and a V field set to 1 indicates the use of the PUCCH reference format. For a PH of type 3, a V field set to 0 indicates a real transmission on the sounding reference signal (SRS), and a V field set to 1 indicates the use of the SRS reference format. In addition, for PHs of type 1, type 2, and type 3, a V field set to 0 indicates the presence of an associated word P CMAX,f,c field, while a V field set to 1 indicates the presence of an associated P CMAX,f,c , MPE, or DPC fields are omitted. Power Headroom (PH): This field indicates the power headroom level and is 6 bits long. The reported PH and the corresponding power headroom level are as shown in dB for the corresponding measurement of the NR serving cell specified in TS38.133
[0011] or the corresponding measurement of the serving cell of E-UTRA specified in TS36.133
[0012] . P: If mpe-Reporting-FR2 is configured and the serving cell is running in FR2, if you want to meet TS38.101-2
[0015] The media access control (MAC) entity sets this field to 0 if the P-MPR value applied due to the MPE requirements specified in TS38.101-1
[0014] , TS38.101-2
[0015] and TS38.101-3 is not configured, or the serving cell is operating in FR1, then this field indicates whether power backoff is applied due to power management, as specified in TS38.101-1
[0014] , TS38.101-2
[0015] and TS38.101-3
[0016] The MAC entity shall set this field to 1 if power backoff due to power management is not applied and the corresponding PCMAX,f,c field will have a different value. P CMAX,f,c : If present, this field indicates the P of the NR serving cell. CMAX,f,c (as specified in TS 38.213 [6]) or the P of the serving cell of E-UTRA CMAX,f,c(such as TS38.213
[0017] Specified in ), used to calculate the previous PH field. The reported P CMAX,f,c and the nominal UE transmit power level as shown in the corresponding measured value (in dBm) for the NR serving cell as specified in TS 38.133
[0011] , or the corresponding measured value (in dBm) for the E-UTRA serving cell as specified in TS 36.133
[0012] . MPE or DPC: If mpe-Reporting-FR2 is configured and the serving cell operates in FR2, and if the P field is set to 1, this field indicates the power backoff applied by the lock to meet the MPE requirements as specified in TS 38.101-2
[0015] . This field indicates the index to Table 6.1.3.8-3 and the corresponding P-MPR level measurement in dBm as specified in TS 38.133
[0011] . If dpc-Reporting-FR1 is configured and the serving cell operates in FR1, this field indicates the ΔP PowerClass , as specified in TS 38.101-1
[0014] and TS 38.101-3
[0016] . This field indicates the index of Table 6.1.3.8-4 and the value of the DPC specified by TS 38.133
[0011] . If the conditions for DPC reporting are not met, the DPC field is set to 0. This field is 2 bits in length and is replaced by the R bit if neither mpe-Reporting-FR2 nor dpc-Reporting-FR1 is configured, or if mpe-Reporting-FR2 is configured and the serving cell operates in FR1, or if dpc-Reporting-FR1 is configured and the serving cell operates in FR2, or if mpe-Reporting-FR2 is configured and the P field is 0. Based on the following embodiments, the communication device provided by the embodiment of the present application is introduced. Figure 7 is a schematic block diagram of a communication device 700 provided by an embodiment of the present application. The communication device 700 can correspond to the functions or steps implemented by the terminal device or network device in the above-mentioned various method embodiments. The communication device may include a processing unit 710 and a transceiver unit 720. Optionally, a storage unit may also be included, which can be used to store instructions (codes or programs) and / or data. The processing unit 710 and the transceiver unit 720 can be coupled to the storage unit. For example, the processing unit 710 can read the instructions (codes or programs) and / or data in the storage unit to implement the corresponding method. The above-mentioned units can be set independently or partially or fully integrated. Optionally, the transceiver unit 720 may include a sending unit and a receiving unit, wherein the sending unit may be used to perform all sending operations performed by the communication device 700, and the receiving unit may be used to perform all receiving operations performed by the communication device 700. In some possible implementations, the communication device 700 can correspond to the behaviors and functions of the terminal device and the like in the above-mentioned method embodiments. For example, the communication device 700 can be a terminal device, or a component (such as a chip or circuit) used in a terminal device. The transceiver unit 720 can be used to perform all receiving or sending operations performed by the terminal device in the embodiment shown in FIG. 3. For example, S301, S302 in the embodiment shown in FIG. 3, and / or other processes for supporting the technology described herein; wherein the processing unit 710 is used to perform all operations except the transceiver operation performed by the terminal device in the embodiment shown in FIG. 3. For example, the transceiver unit 720 is used to receive configuration information from a network device, where the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The processing unit 710 is used to determine the N beams and the first random access resource. The transceiver unit 720 is also used to send a first preamble based on the N beams and the first random access resource. The number of times the first preamble is sent in the N beams is the first number. In some possible implementations, the communication device 700 can correspond to the implementation of the behaviors and functions of the network device in the above method embodiments. For example, the communication device 700 can be a network device, or a component (such as a chip or circuit) used in a network device. The transceiver unit 720 can be used to perform all receiving or sending operations performed by the network device in the embodiment shown in Figure 3. For example, S301, S302 in the embodiment shown in Figure 3, and / or other processes for supporting the technology described herein; wherein the processing unit 710 is used to perform all operations except the transceiver operations performed by the network device in the embodiment shown in Figure 3. For example, the processing unit 710 is used to determine configuration information, where the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The transceiver unit 720 is used to send the configuration information. The transceiver unit 720 is also used to receive a first preamble on the first random access resource. The number of times the first preamble is sent in the N beams is the first number. For the operations performed by the processing unit 710 and the transceiver unit 720, reference may be made to the related description of the aforementioned method embodiment. It should be understood that the processing unit 710 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the transceiver unit 720 can be implemented by a transceiver or a transceiver-related circuit component or a communication interface. Based on the same concept, as shown in FIG8 , an embodiment of the present application provides a communication device 800. The communication device 800 includes a processor 810. Optionally, the communication device 800 may also include a memory 820 for storing instructions executed by the processor 810 or storing input data required by the processor 810 to execute instructions or storing data generated after the processor 810 executes instructions. The processor 810 may implement the method shown in the above method embodiment through the instructions stored in the memory 820. Based on the same concept, as shown in Figure 9, the embodiment of the present application provides a communication device 900, which can be a chip or a chip system. Optionally, in the embodiment of the present application, the chip system can be composed of chips, or can include chips and other discrete devices. The communication device 900 may include at least one processor 910, and the processor 910 is coupled to a memory. Optionally, the memory may be located inside the device or outside the device. For example, the communication device 900 may also include at least one memory 920. The memory 920 stores necessary computer programs, configuration information, computer programs or instructions and / or data for implementing any of the above embodiments; the processor 910 may execute the computer program stored in the memory 920 to complete the method in any of the above embodiments. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 910 may operate in conjunction with the memory 920. The communication device 900 may also include a transceiver 930, and the communication device 900 may exchange information with other devices through the transceiver 930. The transceiver 930 may be a circuit, a bus, a transceiver or any other device that can be used for information exchange, or may be referred to as a signal transceiver unit. As shown in FIG9 , the transceiver 930 includes a transmitter 931, a receiver 932 and an antenna 933. In addition, when the communication device 900 is a chip-type device or circuit, the transceiver in the communication device 900 may also be an input-output circuit and / or a communication interface, which may input data (or receive data) and output data (or send data), and the processor may be an integrated processor or microprocessor or integrated circuit, and the processor may determine the output data based on the input data. The specific connection medium between the above-mentioned transceiver 930, the processor 910 and the memory 920 is not limited in the embodiment of the present application. In a possible implementation, the communication device 900 can be applied to a terminal device. Specifically, the communication device 900 can be a terminal device, or a device that can support the terminal device to implement the functions of the terminal device in any of the above-mentioned embodiments. The memory 920 stores the necessary computer programs, computer programs or instructions and / or data to implement the functions of the communication device in any of the above-mentioned embodiments. The processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the terminal device in any of the above-mentioned embodiments. In a possible implementation, the communication device 900 can be applied to a network device. Specifically, the communication device 900 can be a network device, or a device that can support the network device to implement the functions of the network device in any of the above-mentioned embodiments. The memory 920 stores the necessary computer programs, computer programs or instructions and / or data for implementing the functions of the network device in any of the above-mentioned embodiments. The processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the network device in any of the above-mentioned embodiments. Since the communication device 900 provided in this embodiment can be applied to a terminal device to complete the method executed by the terminal device, or can be applied to a network device to complete the method executed by the above network device, the technical effects that can be obtained can refer to the above method embodiments and will not be repeated here. In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor. In an embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory may also be any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in an embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing a computer program, a computer program or an instruction and / or data. Based on the above embodiments, referring to FIG. 10 , the embodiment of the present application also provides another communication device 10, including: an input-output interface 1010 and a logic circuit 1020; the input-output interface 1010 is used to receive code instructions and transmit them to the logic circuit 1020; the logic circuit 1020 is used to run code instructions to execute the method executed by the terminal device or network device in any of the above embodiments. Optionally, the input / output interface 1010 may be an interface on a chip, and the logic circuit 1020 may be one or more processors. Optionally, the one or more processors may be located inside the device or outside the device. The following describes in detail the operations performed by the communication device when applied to a terminal device or a network device. In an optional implementation, the communication device 10 may be applied to a terminal device to execute the method executed by the above-mentioned terminal device, for example, the method executed by the terminal device in the embodiment shown in the aforementioned FIG. 3 . For example, the input-output interface 1010 is used to receive configuration information from a network device, where the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The logic circuit 1020 is used to determine the N beams and the first random access resource. The input-output interface 1010 is also used to send a first preamble based on the N beams and the first random access resource. The number of times the first preamble is sent in the N beams is the first number. Since the communication device 10 provided in this embodiment can be applied to a terminal device to complete the method executed by the above-mentioned terminal device, the technical effects that can be obtained can refer to the above-mentioned method embodiment, and will not be repeated here. In an optional implementation, the communication device 10 may be applied to a network device to execute the method executed by the aforementioned network device, for example, the method executed by the network device in the embodiment shown in FIG. 3 . For example, the logic circuit 1020 is used to determine configuration information, where the configuration information is used to indicate a first number and a first random access resource corresponding to the first number. The first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1. The input-output interface 1010 is used to send the configuration information. The input-output interface 1010 is also used to receive a first preamble on the first random access resource. The number of times the first preamble is sent in the N beams is the first number. Since the communication device 10 provided in this embodiment can be applied to a network device to complete the method executed by the above network device, the technical effects that can be obtained can refer to the above method embodiment, which will not be repeated here. Based on the above embodiments, the embodiments of the present application also provide a communication system. The communication system includes at least one communication device applied to a terminal device and at least one communication device applied to a network device. The technical effects that can be obtained can refer to the above method embodiments, which will not be repeated here. Based on the above embodiments, the embodiments of the present application further provide a system. The communication system includes at least one network device and a terminal device. Based on the above embodiments, the embodiments of the present application further provide a computer-readable storage medium, which stores a computer program or instruction. When the instruction is executed, the method executed by the terminal device in any of the above embodiments is implemented or the method executed by the network device is implemented. The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media that can store program codes. In order to realize the functions of the communication device of Figures 7 to 10 above, the embodiment of the present application further provides a chip, including a processor, for supporting the communication device to realize the functions involved in the terminal device or network device in the above method embodiment. In one possible design, the chip is connected to a memory or the chip includes a memory, and the memory is used to store the necessary computer programs or instructions and data of the communication device. Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code. The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be realized by a computer program or instruction. These computer programs or instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram. These computer programs or instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram. These computer programs or instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram. Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A random access method, characterized in that: include: Receive configuration information from a network device, where the configuration information is used to indicate a first random access resource corresponding to a first number and the first number; wherein the first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1; Based on the N beams and the first random access resource, a first preamble is sent; wherein the first preamble is sent the first number of times in the N beams.
2. The method according to claim 1, characterized in that The configuration information further indicates a second number, and the number of times the first preamble is sent in each of the N beams is the second number.
3. The method according to claim 1 or 2, characterized in that: The first random access resource includes a time domain resource of the first random access and / or the first preamble.
4. The method according to any one of claims 1 to 3, characterized in that: Sending the first preamble based on the N beams corresponds to a first type of random access, and the configuration information is further used to indicate a triggering event of the first type of random access; wherein the triggering event includes one or more of the following: Beam failure recovery, wireless connection establishment, wireless connection recovery, uplink synchronization and cell switching.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: receiving a random access response from the network device, where the random access response includes an identifier of a portion of the random access resources in the first random access resources, where the identifier of the portion of the random access resources corresponds to a first beam in the N beams; Based on the first beam, uplink data and / or uplink control information is sent.
6. The method according to any one of claims 1 to 5, characterized in that: The configuration information is also used to indicate a second random access resource, where the second random access resource corresponds to a beam, and the first random access resource and the second random access resource correspond to a characteristic of message 1 repetition.
7. The method according to claim 6, characterized in that The first random access resource and the second random access resource belong to the same random access resource group.
8. The method according to claim 7, characterized in that Also includes: receiving a priority corresponding to a characteristic of repetition of the message 1 from the network device; The priority is used to select a random access resource group corresponding to the repetition characteristic of the message 1.
9. The method according to any one of claims 1 to 8, characterized in that: Sending preambles based on multiple beams corresponds to a first type of random access, and sending preambles based on one beam corresponds to a second type of random access, and the configuration information is further used to indicate a first maximum number of transmissions, the first maximum number of transmissions being the maximum number of transmissions of the preamble of the first type of random access, and the first maximum number of transmissions being used to control a fallback from the first type of random access to the second type of random access; The preamble of the first type of random access includes the first preamble.
10. The method according to claim 9, characterized in that Also includes: When the number of transmissions of the preamble of the first type of random access reaches the first maximum number of transmissions, the preamble of the second type of random access is sent.
11. The method according to any one of claims 1 to 8, characterized in that: Sending preambles based on multiple beams corresponds to a first type of random access, and sending preambles based on one beam corresponds to a second type of random access, the configuration information is further used to indicate a second maximum number of transmissions, the second maximum number of transmissions is the maximum number of transmissions of the preamble of the second type of random access, and the second maximum number of transmissions is used to control the fallback from the second type of random access to the first type of random access; The sending a first preamble based on the N beams and the first random access resource includes: The number of transmissions of the second type of random access preamble reaches the second maximum number of transmissions, and the first preamble is sent based on the N beams and the first random access resource.
12. The method according to claim 9 or 11, characterized in that: The configuration information is further used to indicate a third maximum number of transmissions, where the third maximum number of transmissions is greater than or equal to the first maximum number of transmissions, and greater than or equal to the second maximum number of transmissions; In a case where the number of transmissions of the transmitted preamble reaches the third maximum number of transmissions, determining that the random access procedure fails; The transmitted preamble includes a preamble of the first type of random access and a preamble of the second type of random access.
13. A random access method, characterized in that: include: Sending configuration information, where the configuration information is used to indicate a first random access resource corresponding to a first number and the first number; wherein the first random access resource and the first number correspond to N beams, the first number is greater than 1, and N is an integer greater than 1; A first preamble is received on the first random access resource; wherein the first number indicates the number of times the first preamble is sent in the N beams.
14. The method according to claim 13, characterized in that The configuration information further indicates a second number, where the second number indicates the number of times the first preamble is transmitted in each of the N beams.
15. The method according to claim 13 or 14, characterized in that The first random access resource includes a time domain resource of the first random access and / or the first preamble.
16. The method according to any one of claims 13 to 15, characterized in that: The first preamble is sent in N beams corresponding to a first type of random access, and the configuration information is further used to indicate a triggering event of the first type of random access; wherein the triggering event includes one or more of the following: Beam failure recovery, wireless connection establishment, wireless connection recovery, uplink synchronization and cell switching.
17. The method according to any one of claims 13 to 16, characterized in that: Also includes: Sending a random access response, where the random access response includes an identifier of a portion of the random access resources in the first random access resources, where the identifier of the portion of the random access resources corresponds to a first beam in the N beams; Receive uplink data and / or uplink control information.
18. The method according to any one of claims 13 to 17, characterized in that: The configuration information is also used to indicate a second random access resource, where the second random access resource corresponds to a beam, and the first random access resource and the second random access resource correspond to a characteristic of message 1 repetition.
19. The method according to claim 18, characterized in that The first random access resource and the second random access resource belong to the same random access resource group.
20. The method according to claim 19, characterized in that Also includes: The priority corresponding to the characteristic of repeating the message 1 is sent; the priority is used to select the random access resource group corresponding to the characteristic of repeating the message 1.
21. The method according to any one of claims 13 to 20, characterized in that: The preamble is sent in multiple beams corresponding to a first type of random access, and the preamble is sent in one beam corresponding to a second type of random access, and the configuration information is further used to indicate a first maximum number of transmissions, where the first maximum number of transmissions is the maximum number of transmissions of the preamble of the first type of random access, and the first maximum number of transmissions is used to control the fallback from the first type of random access to the second type of random access; The preamble of the first type of random access includes the first preamble.
22. The method according to any one of claims 13 to 21, characterized in that: The preamble is sent in multiple beams corresponding to the first type of random access, and the preamble is sent in one beam corresponding to the second type of random access. The configuration information is also used to indicate a second maximum transmission number, which is the maximum transmission number of the preamble of the second type of random access. The second maximum transmission number is used to control the fallback from the second type of random access to the first type of random access.
23. The method according to claim 21 or 22, characterized in that The configuration information is also used to indicate a third maximum number of transmissions, which is greater than or equal to the first maximum number of transmissions, and greater than or equal to the second maximum number of transmissions; wherein the third maximum number of transmissions is used to control the failure of a random access process.
24. A communication method, characterized in that: include: A first report is sent, wherein the first report includes a first incremental power level DPC field and a second DPC field; wherein, when the first DPC field indicates a non-first value, the second DPC field indicates the DPC corresponding to the first frequency band combination, and the first value corresponds to a condition for reporting the DPC not being met.
25. The method according to claim 24, characterized in that When the first DPC field indicates a value other than the first value, the first DPC field indicates a DPC corresponding to a first cell, the first cell is a serving cell, and the first frequency band combination includes a carrier of the first cell.
26. The method according to claim 25, characterized in that The first DPC field is used to determine a first maximum transmit power of the first cell.
27. The method according to claim 26, characterized in that The first maximum transmit power of the first cell is greater than or equal to the first maximum transmit power of the first power level minus the DPC corresponding to the first cell; The first power level is the power before fallback, and the second power level is the power after fallback.
28. The method according to any one of claims 24 to 27, characterized in that: The second DPC field is used to determine a second maximum transmit power of the first frequency band combination.
29. The method according to claim 28, characterized in that The second maximum transmit power of the first frequency band combination is less than or equal to the second maximum transmit power of the first power level minus the DPC corresponding to the first frequency band combination; The first power level is the power before fallback, and the second power level is the power after fallback.
30. A communication method, characterized in that: include: A first report is received, wherein the first report includes a first incremental power level DPC field and a second DPC field; wherein, when the first DPC field indicates a non-first value, the second DPC field indicates a DPC corresponding to a first frequency band combination, and the first value corresponds to a condition for reporting the DPC not being met.
31. The method according to claim 30, characterized in that When the first DPC field indicates a value other than the first value, the first DPC field indicates a DPC corresponding to a first cell, the first cell is a serving cell, and the first frequency band combination includes a carrier of the first cell.
32. The method according to claim 31, characterized in that The first DPC field is used to determine a first maximum transmit power of the first cell.
33. The method according to claim 32, characterized in that The first maximum transmit power of the first cell is greater than or equal to the first maximum transmit power of the first power level minus the DPC corresponding to the first cell; The first power level is the power before fallback, and the second power level is the power after fallback.
34. The method according to any one of claims 30 to 33, characterized in that: The second DPC field is used to determine a second maximum transmit power of the first frequency band combination.
35. The method according to claim 34, characterized in that The second maximum transmit power of the first frequency band combination is less than or equal to the second maximum transmit power of the first power level minus the DPC corresponding to the first frequency band combination; The first power level is the power before fallback, and the second power level is the power after fallback.
36. The method according to any one of claims 30 to 35, characterized in that: Also includes: In a case where the first DPC field indicates the first value, the second DPC field is ignored.
37. A communication device, characterized in that: The method comprises means for executing the method according to any one of claims 1 to 12.
38. A communication device, characterized in that: Comprising means for performing the method as claimed in any one of claims 13 to 23.
39. A communication device, characterized in that: Comprising means for performing the method as claimed in any one of claims 24 to 29.
40. A communication device, characterized in that: Comprising means for performing the method as claimed in any one of claims 30 to 36.
41. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which, when called by an electronic device, cause the electronic device to execute the method as described in any one of claims 1 to 12, or cause the electronic device to execute the method as described in any one of claims 13 to 23, or cause the electronic device to execute the method as described in any one of claims 24 to 29, or cause the electronic device to execute the method as described in any one of claims 30 to 36.
42. A communication system, characterized in that: The invention comprises an apparatus for executing the method according to any one of claims 1 to 12 and an apparatus for executing the method according to any one of claims 13 to 23.
43. A communication system, characterized in that: The invention comprises an apparatus for executing the method according to any one of claims 24 to 29 and an apparatus for executing the method according to any one of claims 30 to 36.
44. A chip system, characterized in that: The chip system comprises: Communication interface; A processor, used to call and run the instruction through the communication interface, so that the device installed with the chip system executes the method as described in any one of claims 1 to 12, or the device installed with the chip system executes the method as described in any one of claims 13 to 23, or the device installed with the chip system executes the method as described in any one of claims 24 to 29, or the device installed with the chip system executes the method as described in any one of claims 30 to 36.
45. A computer program product, characterized in that The method comprises computer execution instructions, which, when executed on a computer, cause the computer to execute the method as claimed in any one of claims 1 to 12, or cause the electronic device to execute the method as claimed in any one of claims 13 to 23, or cause the electronic device to execute the method as claimed in any one of claims 24 to 29, or cause the electronic device to execute the method as claimed in any one of claims 30 to 36.
46. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which, when called by an electronic device, cause the electronic device to execute the method as described in any one of claims 1 to 12, or cause the electronic device to execute the method as described in any one of claims 13 to 23, or cause the electronic device to execute the method as described in any one of claims 24 to 29, or cause the electronic device to execute the method as described in any one of claims 30 to 36.
Citation Information
Patent Citations
Random access method and device for terminal and random access method and device for base station
CN108811172A
Random access method, UE, and base station
US20200260480A1
Method and device for reporting power headroom and user equipment
WO2015113232A1
System and method for enhancing an uplink transmission message
WO2022067753A1