A communication method and related apparatus

CN117651348BActive Publication Date: 2026-10-27HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210952396.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-09
Publication Date
2026-10-27
Estimated Expiration
2042-08-09

AI Technical Summary

Technical Problem

[0004]本申请实施例提供了一种通信方法及相关装置,可以解决终端设备无法接入网络的问题,提高随机接入的成功率

Benefits of technology

[0081]本申请中,处理器和存储器还可能集成于一个器件中,即处理器和存储器还可以被集成在一起。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117651348B_ABST
    Figure CN117651348B_ABST
Patent Text Reader

Abstract

The application discloses a communication method and related devices. The method comprises the following steps: a terminal device receives indication information, wherein the indication information is used for indicating the terminal device to retransmit a third message Msg3; and the terminal device determines that a conflict resolution fails in a case that the terminal device does not send the third message Msg3 within a target time. In the method, in a case that the terminal device receives indication information indicating the terminal device to retransmit a third message Msg3 but does not send the third message Msg3 within a target time, the terminal device is determined to fail in conflict resolution, so that the terminal device can continue to perform subsequent access behaviors, such as re-sending random access preamble information and requesting random access, and the problem that the terminal device cannot access a network can be solved, and the success rate of random access is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication method and related apparatus. Background Technology

[0002] With the development of information technology, modern communication systems have put forward more urgent requirements for the efficiency, mobility and diversity of communication. At present, in some important application scenarios, such as space communication, aviation communication, maritime communication and military communication, non-terrestrial networks (NTN) communication, represented by non-ground equipment such as satellites, drones and high-altitude platforms, plays an irreplaceable role.

[0003] During random access in NTN network communication, terminal devices may experience some anomalies, reducing the success rate of random access. Summary of the Invention

[0004] This application provides a communication method and related apparatus that can solve the problem of terminal devices being unable to access the network and improve the success rate of random access.

[0005] In a first aspect, embodiments of this application provide a communication method, the method comprising:

[0006] The terminal device receives an instruction message, which is used to instruct the terminal device to retransmit the third message Msg3.

[0007] If the terminal device fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed.

[0008] In this embodiment of the application, a communication method is provided. Specifically, when a terminal device receives an indication message instructing it to retransmit a third message Msg3, but the terminal device fails to send the third message Msg3 within the target time, the terminal device determines that the conflict resolution has failed.

[0009] In current communication methods, if a terminal device receives an instruction to retransmit a third message Msg3, but fails to send Msg3, the terminal device does not consider conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0010] Compared with current communication methods, in this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, allowing the terminal device to continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0011] In one possible implementation, if the terminal device fails to send the third message Msg3 within the target time, determining that conflict resolution has failed includes:

[0012] If the first timer expires and the third message Msg3 is not sent within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer that is started after the terminal device sends the previous third message Msg3.

[0013] In this application, a specific implementation method for determining the possibility of conflict resolution failure is provided. Specifically, if the terminal device determines that conflict resolution has failed when the first timer expires and the terminal device fails to send the third message Msg3 within the time indicated by the indication information, the first timer is a timer started after the terminal device sends the previous third message Msg3. Through this embodiment, if the terminal device determines that conflict resolution has failed when the first timer expires and the third message Msg3 is not sent within the time indicated by the indication information, it can continue to perform subsequent access actions, such as resending random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0014] In one possible implementation, if the terminal device fails to send the third message Msg3 within the target time, determining that conflict resolution has failed includes:

[0015] If the first timer does not run and the third message Msg3 is not sent within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

[0016] In this application embodiment, a specific implementation method for determining the possibility of conflict resolution failure is provided. Specifically, if the terminal device determines that conflict resolution has failed when the first timer has not run and the terminal device has not sent the third message Msg3 within the time indicated by the indication information, the first timer is a timer started after the terminal device sent the previous third message Msg3. Through this application embodiment, if the terminal device determines that conflict resolution has failed when the first timer has not run and the third message Msg3 has not been sent within the time indicated by the indication information, it can continue to perform subsequent access actions, such as resending random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0017] In one possible implementation, if the terminal device fails to send the third message Msg3 within the target time, determining that conflict resolution has failed includes:

[0018] If both the first timer and the second timer expire, the terminal device determines that the conflict resolution has failed. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0019] This application provides a specific implementation method for determining the possibility of conflict resolution failure. Specifically, if both the first and second timers expire, the terminal device determines that conflict resolution has failed. The first timer is a timer started after the terminal device sent the previous third message Msg3, and the second timer indicates the time from when the terminal device receives the indication information to when the terminal device needs to send the third message Msg3. Through this embodiment, if both the first and second timers expire, the terminal device determines that conflict resolution has failed, and can then continue to perform subsequent access actions, such as resending random access preamble information to request random access. This solves the problem of the terminal device being unable to access the network and greatly improves the success rate of random access.

[0020] In one possible implementation, the method further includes:

[0021] If the first timer times out while the second timer is running, the terminal device determines that the conflict resolution has not failed.

[0022] In this application embodiment, a specific implementation method is also provided to determine the possibility that conflict resolution has not failed. Specifically, when the first timer times out and the second timer is running, the terminal device determines that the conflict resolution has not failed. The first timer is a timer started after the terminal device sent the previous third message Msg3, and the second timer indicates the time from the moment the terminal device receives the indication information to the moment the terminal device needs to send the third message Msg3. Through this application embodiment, the terminal device can retransmit the third message Msg while the second timer is still running, thereby accessing the network and improving the success rate of random access.

[0023] In one possible implementation, after receiving the indication information, the method further includes:

[0024] The terminal device starts the second timer, which stops after sending the third message Msg3.

[0025] In this application embodiment, a possible specific implementation for starting a second timer is also provided. Specifically, after receiving the indication information, the terminal device starts the second timer, which stops after the terminal device sends the third message Msg3. Through this application embodiment, the terminal device can determine that if the third message Msg3 is not sent within the target time using the second timer, the conflict resolution has failed. This allows it to continue performing subsequent access actions, such as resending the random access preamble information to request random access, thus resolving the problem of the terminal device being unable to access the network and greatly improving the success rate of random access.

[0026] In one possible implementation, the method further includes:

[0027] After determining that conflict resolution has failed, the terminal device sends a random access preamble, which is used to request random access.

[0028] In this application embodiment, a possible specific implementation for sending random access preamble information is also provided. Specifically, after determining that conflict resolution has failed, the terminal device sends random access preamble information to request random access. Through this application embodiment, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within a target time, it can determine that conflict resolution has failed. After determining that conflict resolution has failed, it can continue to perform subsequent access actions, such as retransmitting the random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0029] Secondly, embodiments of this application provide a communication method, the method comprising:

[0030] The network device obtains indication information, which is used to instruct the terminal device to retransmit the third message Msg3;

[0031] The network device sends the instruction information to the terminal device;

[0032] The network device receives random access preamble information sent by the terminal device after determining that conflict resolution has failed. The random access preamble information is used to request random access. The determination that conflict resolution has failed is related to the terminal device not sending the third message Msg3 within a target time.

[0033] In this embodiment of the application, a communication method is provided, specifically, a network device obtains indication information and sends the indication information to a terminal device. The indication information is used to instruct the terminal device to retransmit the third message Msg3. If the terminal device receives the indication information and does not send the third message Msg3 within the target time, it determines that the conflict resolution has failed and sends random access preamble information to the network device to request random access. Correspondingly, the network device receives the random access preamble information sent by the terminal device.

[0034] In current communication methods, if a terminal device receives an instruction to retransmit a third message Msg3, but fails to send Msg3, the terminal device does not consider conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0035] Compared with current communication methods, in this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed. This allows the terminal device to resend the random access preamble information to the network device to request random access, which can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0036] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0037] The determination of conflict resolution failure is related to the timeout of the first timer and the failure of the terminal device to send the third message Msg3 within the time indicated by the indication information. The first timer is a timer started after the terminal device sends the previous third message Msg3.

[0038] This application provides a specific implementation method for determining the possibility of conflict resolution failure. Specifically, the failure is determined to be related to a first timer timeout and the terminal device failing to send the third message Msg3 within the time indicated by the indication information. That is, if the first timer times out and the terminal device fails to send the third message Msg3 within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer started after the terminal device sends the previous third message Msg3. Through this application embodiment, if the first timer times out and the third message Msg3 is not sent within the time indicated by the indication information, the conflict resolution is determined to have failed. Therefore, the terminal device can continue to resend the random access preamble information to the network device to request random access, which can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0039] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0040] The determination of the conflict resolution failure is related to the first timer not running and the terminal device not sending the third message Msg3 within the time indicated by the indication information. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

[0041] This application provides a specific implementation method for determining the possibility of conflict resolution failure. Specifically, the failure is determined to be related to the first timer not running and the terminal device not sending the third message Msg3 within the time indicated by the indication information. That is, if the first timer does not run and the terminal device does not send the third message Msg3 within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. Here, the first timer is a timer started after the terminal device sends the previous third message Msg3. Through this application embodiment, if the first timer does not run and the third message Msg3 is not sent within the time indicated by the indication information, the conflict resolution is determined to have failed. Therefore, the terminal device can continue to resend the random access preamble information to the network device to request random access, which can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0042] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0043] The determination of the conflict resolution failure is related to the timeout of the first timer and the timeout of the second timer. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0044] This application provides a specific implementation method for determining the possibility of conflict resolution failure. Specifically, the determination of conflict resolution failure is related to the timeout of both a first timer and a second timer. That is, if both the first and second timers time out, the terminal device determines that the conflict resolution has failed. The first timer is a timer started after the terminal device sends the previous third message Msg3, and the second timer indicates the time from when the terminal device receives the indication information to when the terminal device needs to send the third message Msg3. Through this embodiment, if both the first and second timers time out, the conflict resolution is determined to have failed. Therefore, the terminal device can continue to resend the random access preamble information to the network device to request random access, which can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0045] Thirdly, embodiments of this application provide a communication device that includes a module or unit for performing the method as described in any one of the first to second aspects.

[0046] In one possible design, the device includes:

[0047] The transceiver unit is used to receive indication information, which is used to instruct the communication device to retransmit the third message Msg3;

[0048] The processing unit is configured to determine that conflict resolution has failed if the third message Msg3 is not sent within the target time.

[0049] In one possible implementation, the processing unit is specifically configured to determine that conflict resolution has failed if the first timer times out and the third message Msg3 is not sent within the time indicated by the indication information, wherein the first timer is a timer started after the communication device sends the previous third message Msg3.

[0050] In one possible implementation, the processing unit is further configured to determine that conflict resolution has failed if the first timer has not run and the third message Msg3 has not been sent within the time indicated by the indication information, wherein the first timer is a timer started after the communication device sends the previous third message Msg3.

[0051] In one possible implementation, the processing unit is further configured to determine that conflict resolution has failed if both the first timer and the second timer expire. The first timer is a timer started after the communication device sends the previous third message Msg3, and the second timer indicates the time from the moment the communication device receives the indication information to the moment when the communication device needs to send the third message Msg3.

[0052] In one possible implementation, the processing unit is further configured to determine that conflict resolution has not failed when the first timer times out and the second timer is running.

[0053] In one possible implementation, the processing unit is further configured to start the second timer after the transceiver unit receives the indication information, and the second timer stops after sending the third message Msg3.

[0054] In one possible implementation, the transceiver unit is further configured to send random access preamble information after the processing unit determines that conflict resolution has failed, the random access preamble information being used to request random access.

[0055] For the technical effects of the third aspect and any possible implementation, please refer to the description of the technical effects corresponding to the first aspect and the corresponding implementation.

[0056] In another possible design, the device includes:

[0057] The processing unit is used to acquire indication information, which is used to instruct the terminal device to retransmit the third message Msg3;

[0058] The transceiver unit is used to send the indication information to the terminal device;

[0059] The transceiver unit is further configured to receive random access preamble information sent by the terminal device after determining that conflict resolution has failed. The random access preamble information is used to request random access. The determination that conflict resolution has failed is related to the terminal device not sending the third message Msg3 within a target time.

[0060] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0061] The determination of conflict resolution failure is related to the timeout of the first timer and the failure of the terminal device to send the third message Msg3 within the time indicated by the indication information. The first timer is a timer started after the terminal device sends the previous third message Msg3.

[0062] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0063] The determination of the conflict resolution failure is related to the first timer not running and the terminal device not sending the third message Msg3 within the time indicated by the indication information. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

[0064] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0065] The determination of the conflict resolution failure is related to the timeout of the first timer and the timeout of the second timer. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0066] For the technical effects of the third aspect and any possible implementation, please refer to the description of the technical effects corresponding to the second aspect and the corresponding implementation.

[0067] Fourthly, embodiments of this application provide a communication device including a processor. The processor is coupled to a memory and can be used to execute instructions in the memory to implement the methods of any one of the first to second aspects and any possible implementations described above. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, and the processor is coupled to the communication interface.

[0068] Fifthly, embodiments of this application provide a communication device, including: a logic circuit and a communication interface. The communication interface is used to receive or send information; the logic circuit is used to receive or send information through the communication interface, causing the communication device to perform the method of any one of the first to second aspects and any possible implementation thereof.

[0069] In a sixth aspect, embodiments of this application provide a computer-readable storage medium for storing a computer program (also referred to as code or instructions); when the computer program is run on a computer, the methods described in any of the first to second aspects and any possible implementations are implemented.

[0070] In a seventh aspect, embodiments of this application provide a computer program product, the computer program product comprising: a computer program (also referred to as code or instructions); and, when the computer program is run, causing a computer to perform the method of any one of the first to second aspects and any possible implementation thereof.

[0071] Eighthly, embodiments of this application provide a chip including a processor configured to execute instructions, which, when executed, cause the chip to perform the methods described in any one of the first to second aspects and any possible implementations thereof. Optionally, the chip further includes a communication interface configured to receive or transmit signals.

[0072] Ninthly, embodiments of this application provide a communication system, the communication system including at least one communication device as described in the third aspect, or the fourth aspect, or the fifth aspect, or the eighth aspect.

[0073] In a tenth aspect, embodiments of this application provide a communication system, the communication system including a terminal device and a network device, the terminal device being used to perform the methods described in the first aspect and any possible implementation thereof, and the network device being used to perform the methods described in the second aspect and any possible implementation thereof.

[0074] Furthermore, in the process of performing the methods described in any of the first to second aspects and any possible embodiments described above, the processes related to sending and / or receiving information in the above methods can be understood as the process of the processor outputting information, and / or the process of the processor receiving input information. When outputting information, the processor can output the information to a transceiver (or communication interface, or transmitting module) so that the transceiver can transmit it. After the information is output by the processor, it may need to undergo other processing before reaching the transceiver. Similarly, when the processor receives input information, the transceiver (or communication interface, or transmitting module) receives the information and inputs it to the processor. Furthermore, after the transceiver receives the information, the information may need to undergo other processing before being input to the processor.

[0075] Based on the above principles, for example, the information sent mentioned in the aforementioned method can be understood as information output by the processor. Similarly, the information received can be understood as information received by the processor from input.

[0076] Optionally, unless otherwise specified, or unless they contradict their actual function or internal logic in the relevant description, the operations of the processor, such as transmitting, sending, and receiving, can be more generally understood as processor output and receiving, input, and other operations.

[0077] Optionally, in the process of performing the methods described in any of the first to second aspects and any possible embodiments above, the processor may be a processor specifically designed to perform these methods, or it may be a processor that performs these methods by executing computer instructions stored in memory, such as a general-purpose processor. The memory may be a non-transitory memory, such as read-only memory (ROM), which may be integrated with the processor on the same chip or disposed on separate chips. This application does not limit the type of memory or the arrangement of the memory and processor.

[0078] In one possible implementation, at least one of the aforementioned memories is located outside the device.

[0079] In yet another possible implementation, at least one of the aforementioned memories is located within the device.

[0080] In another possible implementation, a portion of the memory of the at least one memory is located inside the device, while another portion is located outside the device.

[0081] In this application, the processor and memory may also be integrated into a single device, that is, the processor and memory can be integrated together.

[0082] In this embodiment, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it is determined that the conflict resolution has failed. This allows the terminal device to continue performing subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access. Attached Figure Description

[0083] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0084] Figure 1A This application provides a schematic diagram of the architecture of a communication system.

[0085] Figure 1B This application provides a schematic diagram of the architecture of a communication system.

[0086] Figure 1C This application provides a schematic diagram of the architecture of a communication system.

[0087] Figure 2A This application provides a schematic diagram of the architecture of a communication system.

[0088] Figure 2B This application provides a schematic diagram of the architecture of a communication system.

[0089] Figure 3A A schematic diagram of a random access process provided in an embodiment of this application;

[0090] Figure 3B A schematic diagram of a random access process provided in an embodiment of this application;

[0091] Figure 4 A flowchart illustrating a communication method provided in an embodiment of this application;

[0092] Figure 5 A flowchart illustrating a communication method provided in an embodiment of this application;

[0093] Figure 6 A flowchart illustrating a communication method provided in an embodiment of this application;

[0094] Figure 7 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0095] Figure 8 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0096] Figure 9 This is a schematic diagram of the structure of a chip provided in an embodiment of this application. Detailed Implementation

[0097] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described below with reference to the accompanying drawings.

[0098] The terms "first" and "second," etc., used in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0099] The term "embodiment" as used herein means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that, unless otherwise specified or logically conflicting, the terminology and / or descriptions between the various embodiments of this application are consistent and can be mutually referenced, and technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.

[0100] It should be understood that in this application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three or more, and "and / or" is used to describe the relationship between related objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0101] This application provides a communication method applicable to the field of communication technology. Optionally, it can be applied to random access in NTN communication scenarios. To more clearly describe the solution of this application, some knowledge related to random access in NTN communication will be introduced below.

[0102] With the development of information technology, modern communication systems have put forward more urgent requirements for the efficiency, mobility and diversity of communication. At present, in some important application scenarios, such as space communication, aviation communication, maritime communication and military communication, NTN communication, represented by non-ground equipment such as satellites, drones and high-altitude platforms, plays an irreplaceable role.

[0103] For ease of explanation, the following text will use non-terrestrial equipment, such as satellites, as an example.

[0104] Satellite communication boasts advantages such as long communication distance, large coverage area, and flexible networking, providing communication services for both fixed and various mobile terminals. Since traditional terrestrial networks cannot provide seamless coverage for terminal devices, especially in areas where base stations cannot be deployed, such as oceans, deserts, and the air, NTN (Network Telecommunications) has been introduced into the 5th generation (5G) mobile communication system. It provides seamless coverage for terminal devices by deploying base stations or parts of their functions on high-altitude platforms or satellites. Furthermore, high-altitude platforms or satellites are less affected by natural disasters, improving the reliability of the 5G system. In satellite-based NTN, satellites cover the ground with different beams, forming satellite cells. At any given time, a single terminal device can be covered by multiple satellite cells.

[0105] Based on the satellite's orbital altitude, satellite communication systems can be divided into the following three types:

[0106] Geostationary Earth orbit (GEO) satellite communication systems, also known as synchronous orbit satellite systems, medium Earth orbit (MEO) satellite communication systems, and low Earth orbit (LEO) satellite communication systems.

[0107] GEO satellites orbit at an altitude of 35,786 km. Their main advantages are that they remain relatively stationary relative to the ground and provide a large coverage area. Disadvantages include: 1) The large distance between GEO satellites and Earth results in significant free-space propagation loss, straining communication link budgets and requiring larger-diameter antennas to increase transmit / receive gain; 2) High communication transmission latency, reaching approximately 500 ms round-trip time, which cannot meet the demands of real-time services; 3) Relatively scarce GEO orbital resources, high launch costs, and inability to provide coverage to the polar regions.

[0108] MEO satellites orbit at altitudes ranging from 2000 to 35786 km. Their advantage lies in achieving global coverage with a relatively small number of satellites. However, their higher orbital altitude results in greater transmission latency compared to LEO satellite communication. Considering both advantages and disadvantages, MEO satellites are primarily used for positioning and navigation.

[0109] LEO satellites orbit at altitudes between 300 and 2000 km. Compared to MEO and GEO orbits, LEO satellites orbit at lower altitudes, offering advantages such as lower data propagation latency, less transmission loss, and relatively lower launch costs. To improve the overall signal processing capabilities and communication throughput of satellite networks, satellite operators compensate for the limitations of individual satellite communication capabilities by increasing the number of satellites. In future NTN communication systems, after a terminal device connects to the system, it will be "visible" to multiple communicable satellites for a period of time. At this point, multiple satellites can provide communication services to the terminal device, providing the foundation for multi-satellite collaborative transmission.

[0110] The technical solutions provided in this application can be applied to various communication systems, such as satellite communication systems and systems that integrate satellite communication and cellular networks. Cellular network systems may include, but are not limited to: 5G systems, Global System of Mobile Communication (GSM) systems, Code Division Multiple Access (CDMA) systems, Wideband Code Division Multiple Access (WCDMA) systems, General Packet Radio Service (GPRS), Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, Advanced Long Term Evolution (LTE-A) systems, New Radio (NR) systems, evolution systems of NR systems, LTE-based access to unlicensed spectrum (LTE-U) systems, NR-based access to unlicensed spectrum (NR-U) systems, Universal Mobile Telecommunication System (UMTS), and Worldwide Interoperability for Microwave. Mobile communication systems include WiMAX (Wi-Fi), WLAN (Wireless Local Area Networks), WiFi (Wireless Fidelity), next-generation communication systems, and other communication systems. Traditional communication systems typically support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communication but also, for example, device-to-device (D2D) communication, machine-to-machine (M2M) communication, machine-type communication (MTC), vehicle-to-vehicle (V2V) communication, and other future evolutionary communication systems. The embodiments of this application can also be applied to these communication systems.Satellite communication systems can include various non-terrestrial network systems, such as networks that transmit wireless frequencies from satellite or unmanned aircraft system (UAS) platforms, which will not be listed here.

[0111] For example, the following uses an NTN system as an example to provide a specific application scenario of this solution. The NTN system can be a satellite communication system or other non-terrestrial network system, and the communication method in this solution can be applied to the field of satellite communication.

[0112] Please see Figure 1A , Figure 1B as well as Figure 1C Taking 5G communication systems as an example, Figure 1A , Figure 1B as well as Figure 1C The diagram shows the architecture of several communication systems provided in the embodiments of this application.

[0113] like Figure 1A , Figure 1B as well as Figure 1C As shown, one or more terminal devices (such as mobile terminals) and / or network devices (such as 5G base stations) may exist in the coverage area of ​​a satellite cell. The coverage area of ​​the cell may be the area covered by one or more beams of the satellite, or an area at the same cell level as in the NR system.

[0114] like Figure 1A The diagram illustrates an example of a RAN architecture based on satellite relay. In this architecture, a terrestrial base station (e.g., a terrestrial gNB) acts as an access network device; the satellite is used for signal relay and transparent transmission; and the NTN gateway is used to forward signals from the satellite or from the access network device. The NTN gateway is located on the ground. In this network structure, terminal devices send NR Uu radio interface signals to the access network device via satellite relay and forwarding through the NTN gateway. After receiving the signal, the terrestrial access network device communicates with the terrestrial core network device using conventional terrestrial communication network technology. Similarly, when the core network device sends a signal to the terminal device, the terrestrial base station (e.g., a terrestrial gNB) also acts as an access network device, and the satellite is also used for signal relay and transparent transmission. The specific process is similar to the aforementioned process and will not be elaborated here. In this example, the terrestrial base station, satellite, and NTN gateway constitute an NTN access network device.

[0115] like Figure 1BThe diagram illustrates an example of a RAN architecture based on a regenerative satellite. The satellite functions as an access network device or possesses access network device capabilities. In this network structure, ground terminal equipment transmits Uu radio interface signals to the access network device (i.e., the satellite) via a service link with the satellite. The satellite, acting as the access network device, receives the Uu radio interface signals from the terminal equipment and processes the received signals. The satellite, acting as the access network device, interacts with the ground-based NTN gateway via a feeder link. For example, the satellite interacts with the ground-based core network equipment to exchange NG interface information. The satellite generates NG interface information and transmits it to the core network via the ground-based NTN gateway. Similarly, the core network equipment generates NG interface information and transmits it to the satellite via the ground-based NTN gateway. In this example, the satellite generates the following signals: a Uu radio interface signal and a satellite radio interface (SRI) signal on the feeder link between the NTN gateway and the satellite. Optionally, in this example, the satellite and the NTN gateway constitute an NTN access network device. In this regenerative satellite RAN architecture, access network devices can have Xn interfaces, which are responsible for signaling and data interaction between access network devices.

[0116] like Figure 1C The diagram illustrates another example of a RAN architecture based on a regenerative satellite. In this architecture, the satellite acts as the distributed unit (DU) of the access network equipment, while the ground base station (e.g., gNB-CU) acts as the central unit (CU) of the access network equipment. In this network structure, ground terminal equipment transmits Uu radio interface signals to the DU (i.e., the satellite) of the access network equipment via a service link with the satellite. The DU (i.e., the satellite) of the access network equipment receives and parses the NR-Uu radio interface signals from the terminal equipment. For example, the DU of the access network equipment generates F1 information and transmits this information to the CU of the access network equipment via a feeder link and an NTN gateway. The CU of the access network equipment generates F1 information and transmits it to the DU via an NTN gateway and a feeder link. The CU of the ground access network equipment communicates with the ground core network equipment using conventional terrestrial communication network technology. In this example, the satellite generates the following signals: the Uu radio interface signal and the satellite radio interface signal on the feeder link between the NTN gateway and the satellite. The feeder link transmits F1 interface information. In this example, the ground base station, satellite, and NTN gateway constitute an NTN access network device.

[0117] It is understandable that in actual deployment, the satellites in the above system can be replaced by other NTN equipment such as high altitude platform stations (HAPS), and this application does not impose any restrictions on this.

[0118] The network elements and their interfaces in this scenario are described below:

[0119] Terminal equipment: Mobile devices that support 5G New Radio, such as user terminals and wearable devices. They can access satellite networks via the air interface and initiate services such as calls and internet access.

[0120] 5G base stations primarily provide wireless access services, allocate wireless resources to access terminals, and provide reliable wireless transmission protocols and data encryption protocols.

[0121] 5G core network: This includes services such as user access control, mobility management, session management, user security authentication, and billing. It consists of multiple functional units, which can be divided into control plane and data plane functional entities. Among them, the Access and Mobility Management Unit (AMF) is responsible for user access management, security authentication, and mobility management. The Location Management Unit (LMF) is responsible for managing and controlling location service requests from target terminals and processing location-related information. The User Plane Unit (UPF) is responsible for managing user plane data transmission, traffic statistics, and other functions.

[0122] Ground station: Responsible for forwarding signaling and service data between satellite base stations and the 5G core network.

[0123] 5G New Radio: The wireless link between user equipment and base stations.

[0124] Xn interface: This is the interface between 5G base stations, mainly used for signaling interactions such as handover.

[0125] NG interface: This is the interface between the 5G base station and the 5G core network. It mainly interacts with the non-access stratum (NAS) signaling of the core network, as well as user service data.

[0126] The technical solution provided in this application mainly involves two implementing entities: network equipment and terminal equipment. It can be applied to communication systems such as 5G, especially in the communication process of non-terrestrial networks.

[0127] The terminal devices involved in the embodiments of this application include, but are not limited to, those connected via wired lines, such as via public switched telephone networks (PSTN), digital subscriber lines (DSL), digital cables, direct cable connections; and / or other data connection networks; and / or via wireless interfaces, such as: for cellular networks, wireless local area networks (WLAN), digital television networks such as digital video broadcast-handheld (DVB-H) networks, satellite networks, amplitude modulation-frequency modulation (AM-FM) broadcast transmitters; and / or devices configured to receive / transmit communication signals for another terminal device; and / or Internet of Things (IoT) devices. Terminal devices configured to communicate via wireless interfaces may be referred to as "wireless communication terminals," "wireless terminals," or "mobile terminals." Examples of such terminal devices include, but are not limited to, satellite phones or cellular phones; personal communications system (PCS) terminals that can combine cellular radiotelephone with data processing, fax, and data communication capabilities; personal digital assistants (PDAs) that may include radiotelephones, pagers, Internet / intranet access, web browsers, notebooks, calendars, and / or global positioning system (GPS) receivers; and conventional laptop and / or handheld receivers or other electronic devices that include radiotelephone transceivers. Terminal devices may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user equipment. Terminal devices can also be cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, PDAs, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved public land mobile networks (PLMNs), etc.

[0128] The network device involved in this application embodiment can provide communication coverage in a specific geographical area and can communicate with one or more terminal devices located within that coverage area. It can also communicate with one or more base stations with partial terminal functions (e.g., communication between macro base stations and micro base stations, such as access points). Optionally, the network device can be a base transceiver station (BTS) in a satellite, GSM, or CDMA system; an evolved Node B (eNB) in an LTE system; or a next-generation node base station (gNB) in a 5G or NR system, as well as other satellite base stations and satellite relay nodes. Additionally, the network device can also be an access point (AP), transport point (TRP), central unit (CU), or other network entities, and can include some or all of the functions of the above network entities.

[0129] It is understood that devices with communication functions in the network / system of this application embodiment can be referred to as communication devices. Figure 1A , Figure 1B as well as Figure 1C Taking the communication system shown as an example, the communication equipment may include network devices and terminal devices with communication functions. The network devices and terminal devices may be the specific devices mentioned above, which will not be repeated here. The communication equipment may also include other devices in the communication system, such as network controllers, mobility management entities and other network entities. This application embodiment does not limit this.

[0130] It should also be noted that in this application, the terms "satellite" and "satellite network equipment" are equivalent. That is, the satellite mentioned in this application refers to a collection of satellites and other network equipment related to satellite communications.

[0131] It is understood that a cell in an NTN system can be the projection area of ​​one beam of a satellite on the ground, or the projection area of ​​multiple beams of a satellite on the ground, or it may be a part of the projection area of ​​one or more beams on the ground. This application does not limit this.

[0132] For example, the following provides a specific application scenario of this solution using D2D communication, M2M communication, or V2X communication systems as examples. The communication method in this solution can be applied to the above-mentioned communication categories.

[0133] Please see Figure 2A , Figure 2AThis is a schematic diagram of the architecture of a communication system provided in an embodiment of this application.

[0134] like Figure 2A As shown, the communication system includes one core network device, two base stations, and eight UEs, as follows: Figure 2A The communication system comprises the core network equipment (CN), base station 1 and base station 2, and UEs 1 through UE 8. Base station 1 can send downlink signals such as configuration information or downlink control information (DCI) to UEs 1 through UE 6, while UEs 1 through UE 6 can send uplink signals such as SRS or physical uplink shared channel (PUSCH) to base station 1. Base station 1 can also send downlink signals to UEs 7 through UE 2, and UEs 7 through UE 8 can send uplink signals to base station 1 through base station 2. Base station 2 can send downlink signals such as configuration information or DCI to UEs 7 through UE 8, and UEs 7 through UE 8 can send uplink signals such as SRS or PUSCH to base station 2. For the communication methods between UEs, please refer to the above text. Figure 1A , Figure 1B as well as Figure 1C The relevant descriptions in the document will not be elaborated here.

[0135] It should be understood that Figure 2A An exemplary diagram illustrates two base stations and eight UEs, as well as the communication links between the various communication devices. Optionally, the communication system may include multiple base stations, and the coverage area of ​​each base station may include other numbers of UEs, such as more or fewer UEs, etc., which is not limited in this application.

[0136] The aforementioned communication devices, such as Figure 2A The core network equipment, base stations 1 and 2, and UE1 to UE8 can be configured with multiple antennas. These multiple antennas may include at least one transmitting antenna for transmitting signals and at least one receiving antenna for receiving signals, etc. This application embodiment does not limit the specific structure of each communication device. Optionally, the communication system may also include other network entities such as a network controller and a mobility management entity, but this application embodiment is not limited to these.

[0137] It is understood that the description of the terminal equipment in this communication system can be referred to the above. Figure 1A , Figure 1B as well as Figure 1C The descriptions of the terminal devices in this communication system, as well as the descriptions of the access network devices and core network devices, can be found above. Figure 1A , Figure 1B as well as Figure 1C The descriptions of the network devices in the document will not be repeated here.

[0138] In some deployments, the access network equipment can be a base station (such as a gNB) with a separate architecture for centralized units (CU) and distributed units (DU). See details in [link to relevant documentation]. Figure 2B , Figure 2B This is a schematic diagram of the architecture of a communication system provided in an embodiment of this application.

[0139] like Figure 2BAs shown, CU and DU can be understood as a logical functional division of the base station. Physically, CU and DU can be separate or deployed together. Multiple DUs can share a single CU. A single DU can also connect to multiple CUs (not shown in the diagram). CU and DU can be connected via an interface, such as an F1 interface. CU and DU can also be divided according to the protocol layer of the wireless network. For example, the functions of the radio resource control (RRC), service data adaptation protocol (SDAP), and packet data convergence protocol (PDCP) layers are located in the CU, while the functions of the radio link control (RLC), media access control (MAC), and physical (PHY) layers are located in the DU. It is understood that this protocol layer division of CU and DU processing functions is just one example; other methods can also be used. For example, CU or DU can be divided into functions with more protocol layers. Alternatively, CU or DU can be divided into partial processing functions with different protocol layers. In one design, some functions of the RLC layer and the protocol layer functions above the RLC layer are located in the CU, while the remaining functions of the RLC layer and the protocol layer functions below the RLC layer are located in the DU. In another design, the functions of the CU or DU can be divided according to service type or other system requirements. For example, based on latency, functions that need to meet latency requirements are located in the DU, while functions that do not need to meet this latency requirement are located in the CU. In yet another design, the CU can also have one or more core network functions. One or more CUs can be centrally located or separately located. For example, the CU can be located on the network side for convenient centralized management. The DU can have multiple radio frequency functions, or the radio frequency functions can be remotely located. The functions of the CU can be implemented by a single entity or by different entities. For example, the functions of the CU can be further divided, such as separating the control plane (CP) and the user plane (UP), i.e., the CU control plane (CU-CP) and the CU user plane (CU-UP). For example, the CU-CP and CU-UP can be implemented by different functional entities, and the CU-CP and CU-UP can be coupled with the DU to jointly complete the base station functions. In one possible approach, CU-CP handles control plane functions, primarily including RRC and PDCP-C. PDCP-C is mainly responsible for control plane data encryption / decryption, integrity protection, and data transmission. CU-UP handles user plane functions, primarily including SDAP and PDCP-U.SDAP is primarily responsible for processing core network data and mapping data flows to bearers. PDCP-U is mainly responsible for data plane encryption / decryption, integrity protection, header compression, sequence number maintenance, and data transmission. CU-CP and CU-UP are connected via the E1 interface. CU-CP represents the gNB and connects to the core network via the Ng interface. It connects to the DU via F1-C (control plane). CU-UP connects to the DU via F1-U (user plane). Alternatively, PDCP-C may also be located within CU-UP.

[0140] Understandably, the above Figure 1A , Figure 1B , Figure 1C , Figure 2A as well as Figure 2B The communication system diagram shown is for illustrative purposes only. For other forms of communication system diagrams, please refer to relevant standards or protocols, which will not be detailed here.

[0141] The various embodiments shown below can be applied to Figure 1A , Figure 1B , Figure 1C , Figure 2A as well as Figure 2B The communication system shown can also be applied to other forms of communication systems, which will not be elaborated further below.

[0142] Understandably, the random access process in the above communication scenarios can be found in [reference needed]. Figure 3A and Figure 3B , Figure 3A and Figure 3B The diagram illustrates two random access procedures provided in the embodiments of this application.

[0143] like Figure 3A The diagram shows a four-step random access process based on contention, and its specific steps are as follows:

[0144] Step S301: Random access initialization.

[0145] The random access procedure is triggered by a physical downlink control channel (PDCCH) command, or by the MAC or RRC sublayer itself. If the terminal device receives a PDCCH transmission scrambled with the cell radio network temporary identifier (C-RNTI) and consistent with the PDCCH command, the random access procedure will be triggered. The PDCCH command or RRC message indicates the preamble index used for resource selection during the random access procedure, as well as the physical layer random access channel index.

[0146] The preamble index indicates the preamble for random access. When the preamble index is 000000, it means the random access is initiated by the MAC sublayer, i.e., the preamble is selected by the MAC sublayer itself, corresponding to contention-based random access. When the preamble index is not 000000, the UE uses the preamble indicated by the preamble index for random access, i.e., non-contention-based random access. The physical layer physical access channel index indicates which subframe within the system frame the terminal device can transmit the preamble on the corresponding physical random access channel (PRACH). The terminal device can use the physical access channel index to look up the corresponding table to determine the preamble and available physical resources.

[0147] Random access initialization requires configuring parameters, including: the PRACH resource set (e.g., PRACH-Config Index) available for transmitting random access preambles; available random access preamble packets (Group A or Group B) and the set of preambles available in each group; maximum number of preamble transmissions; initial preamble transmit power; power boost step size; random access response window; maximum number of retransmissions for the hybrid automatic repeat request (HARQ) of the third message Msg3; and a contention resolution timer.

[0148] It should be understood that the above-configured parameters can be updated through higher-level configuration before each random access procedure is triggered. After obtaining the above parameters, the terminal device performs the following operations: clears the third message Msg3 buffer; sets the number of preamble transmissions to 1; sets the backoff parameter value saved by the terminal device to 0ms, and enters the random access resource selection phase.

[0149] It should also be understood that a terminal device performs only one random access procedure at any given time. If, during a random access procedure, the terminal device receives a newly initiated random access request, the implementation on the terminal device side decides whether to continue the ongoing random access procedure or initiate a new random access procedure.

[0150] Step S302: The terminal device sends a random access preamble to the network device, and the network device receives the random access preamble sent by the terminal device.

[0151] Specifically, the random access preamble (RAP) is carried in the first message, Msg1. The main function of the RAP is to inform the network device of a random access request and enable the network device to estimate the transmission delay between itself and the terminal device. This allows the access network device to calibrate the uplink advance and communicate the calibration information to the terminal device via a timing advance command. Optionally, the first message, Msg1, can also be referred to as the random access preamble.

[0152] With the introduction of new random access scenarios in 5G NR systems, random access can also be used for other requests from terminal devices in these new scenarios. For example, a RAP can also be used to instruct the sending of on-demand system message requests, or to instruct the sending of beam failure recovery requests, etc., and this application does not limit this. For example, a RAP can correspond to one or more on-demand system message requests, or a RAP can correspond to one or more beam failure recovery requests. The terminal device can pre-configure the RAP, or receive the RAP configured by the access network device.

[0153] Step S303: The network device sends a random access response to the terminal device, and the terminal device receives the random access response sent by the network device.

[0154] Specifically, the terminal device can use the random access radionetwork temporary identifier (RA-RNTI) to listen to the PDCCH. If it receives its own scheduling information, i.e., downlink control information (DCI), the terminal device receives the random access response (RAR) message from the network device on the physical downlink shared channel (PDSCH) based on the DCI information. The DCI information includes relevant content such as resource block (RB) allocation information and modulation and coding scheme (MCS).

[0155] Specifically, the random access response is carried in the second message, Msg2. After the terminal device sends the preamble, it will listen to the corresponding PDCCH within the RAR response window based on the RA-RNTI value corresponding to the preamble. If the preamble carried in the response received by the terminal device matches the preamble sent by Msg1, it will stop listening to the RAR. In other words, the network device can send the RAR to the terminal device via PDSCH.

[0156] The RAR includes uplink timing advance, uplink grant (UL grant) allocated for the third message Msg3, and temporary cell radio network temporary identifier (temporary C-RNTI, or TC-RNTI) allocated by the network side. The PDCCH carrying the second message Msg2 scheduling message is scrambled with RA-RNTI.

[0157] It should be understood that if multiple terminal devices send RAPs on the same PRACH resource (with the same time, frequency, and location), the corresponding multiple RARs are multiplexed in the same MAC protocol data unit (PDU).

[0158] Step S304: The terminal device sends a third message Msg3 to the network device, and the network device receives the third message Msg3 sent by the terminal device.

[0159] Based on the uplink authorization and uplink timing advance information in the second message Msg2, the terminal device sends a third message Msg3 to the network device via PUSCH. It should be understood that the content of the third message Msg3 may vary depending on the terminal device's status and the application scenario.

[0160] Since the network device sends the MAC PDU to multiple terminal devices in step S303, the RAR received by each terminal device may be different, and correspondingly, the behavior of each terminal device may also be different. After listening to its own RAR, each terminal device can send a third message Msg3 to the access network device according to the specific content contained in the RAR. The third message Msg3 can be divided into the following types: RRC connection request, tracking area data update, resource scheduling request, etc. For example, Table 1 below gives some examples of third message Msg3:

[0161] Table 1

[0162]

[0163]

[0164] Step S305: The network device sends a contention resolution, i.e., the fourth message Msg4, to the terminal device. Correspondingly, the terminal device receives the contention resolution sent by the network device.

[0165] When multiple terminal devices initiate random access using the same preamble, a contention occurs. At most one terminal device can successfully access the network among those competing for the same resource. In this case, the network device sends a contention resolution message to the terminal device via PDSCH.

[0166] Specifically, after sending the third message Msg3, the terminal device starts a contention resolution timer and listens for the PDCCH using the Temporary C-RNTI indicated in the RAR or the C-RNTI pre-configured by the network device. If the terminal device receives a contention resolution message (and contention resolution) from the network device before the contention resolution timer expires, the random access procedure is considered successful. Before the contention resolution timer expires, the network device can notify the terminal device to retransmit the third message Msg3. After retransmitting the third message Msg3, the terminal device restarts the contention resolution timer.

[0167] For scenarios where random access is due to initial access and connection re-establishment: Message 4 (Msg4) carries the UE contention resolution ID via the MAC layer control unit. This MAC CE contains the Common Control Channel (CCCH) Service Data Unit (SDU) transmitted in Message 3 (Msg3), i.e., an RRC Connection Request or an RRC Connection Re-establishment Request. After receiving this MAC CE, the UE compares it with the content sent in Message 3 (Msg3). If they are the same, or if the content in the MAC CE belongs to the part of the information sent in Message 3 (optionally, this part of the information includes the terminal device identifier), then the contention resolution is considered successful. In both scenarios, the UE has not previously allocated a C-RNTI. Message 4 (Msg4) uses PDCCH scheduling scrambled with a temporary C-RNTI. After successful contention resolution, the temporary C-RNTI is upgraded to the UE's C-RNTI.

[0168] In other scenarios, for handover, uplink data arrival, and downlink data arrival, the UE has already been allocated a C-RNTI, and the third message Msg3 also transmits the C-RNTI to the base station via MAC CE. The base station uses the PDCCH scrambled with the C-RNTI to schedule the fourth message Msg4. When the UE receives the scheduling command, the contention is resolved, and the specific content of the fourth message Msg4 is no longer relevant to the contention resolution (although the specific content of the fourth message Msg4 is irrelevant to the contention resolution at this point, since it is scheduled via PDCCH, it can be understood that the fourth message Msg4 has a contention resolution function). In these three scenarios, after successful contention resolution, the temporary C-RNTI is reclaimed, and the base station can allocate it to other UEs. The fourth message Msg4 also uses the HARQ mechanism, but only UEs that successfully decode the fourth message Msg4 and successfully resolve the contention will send an ACK; otherwise, no ACK is sent.

[0169] like Figure 3B The diagram shows a contention-based two-step random access process, the specific steps of which are as follows:

[0170] Step S306: The terminal device sends MsgA to the network device, and the network device receives the MsgA sent by the terminal device.

[0171] Specifically, MsgA includes a random access signal and payload data. The random access signal may include a preamble and / or a demodulation reference signal (DMRS). This random access signal is used for receiving the payload data. For example, the transmission boundaries of the payload data (such as the start and end positions of the time slots for transmitting payload data) or demodulation can be determined based on the random access signal. The payload data can be control plane data and / or user plane data, and it may correspond to the content contained in the third message Msg3 in the aforementioned four-step random access mechanism. For example, the payload data may include any one of the following: an RRC connection request, a terminal device identifier, a scheduling request, a buffer status report (BSR), and actual service data.

[0172] Optionally, the terminal device identifier can be a C-RNTI, a serving-temporary mobile subscriber identity (s-TMSI), or a resume identity for a terminal in an inactive state, etc. The specific identifier carried depends on the different random access trigger events and is not limited. It should be noted that the terminal device identifier can be entirely carried in the payload data, or partially carried in the payload data and partially carried in the random access signal. Carrying it in the random access signal can be understood as using different sequences or the same sequence but with different cyclic shifts to represent different bit values. For example, Table 2 below shows the terminal device identifiers corresponding to different random access trigger events:

[0173] Table 2

[0174] Initial Access NAS Terminal Device ID (S-TMSI) or random number RRC connection re-established C-RNTI Switch C-RNTI Uplink / downlink data arrives, uplink fails to synchronize. C-RNTI inactive state transition Short I-RNTI or I-RNTI Request system information none Beam failure recovery C-RNTI

[0175] After receiving MsgA, the network device decodes the random access signal and payload data, obtaining decoding results including: (1) "Successfully decoded"; (2) "Unsuccessfully decoded". For example, Table 3 below shows the possible decoding results:

[0176] Table 3

[0177] Case 1 Decoding failed Decoding failed Case 2 Decoding failed Successfully decoded Case 3 Successfully decoded Decoding failed Case 4 Successfully decoded Successfully decoded

[0178] Furthermore, the possible relationships between the resources where the random access signal is located and the resources where the payload data is located are as follows: (1) There is an overlapping region in the time domain, but no overlapping region in the frequency domain; (2) There is no overlapping region in the time domain, but there may or may not be an overlapping region in the frequency domain. The resources where the random access signal is located and the resources where the payload data is located can be configured by the network device.

[0179] It should be understood that the third message Msg3 mentioned in this application may refer to the third message Msg3 in the above four-step random access process, or it may refer to the payload data in MsgA in the above two-step random access process. This application does not limit it in this way.

[0180] Step S307: The network device sends MsgB to the terminal device, and the terminal device receives the MsgB sent by the network device.

[0181] Specifically, MsgB is used to carry a response message for the random access signal and payload data. This response message may include at least one of the following: information about the temporary C-RNTI, information about the timing advance command (TA command), information about the uplink grant, and contention resolution ID information. The contention resolution ID may be part or all of the payload data.

[0182] In addition, response messages also include control plane messages (which can also be regarded as response messages based on scheduled transmissions). For example, depending on the state of the terminal device and the triggering scenario, RAR may also include at least one of the following: RRC connection message, RRC re-establishment message, RRC recovery message, etc.

[0183] The response message mentioned in this application refers to a response message to a request for random access, which can also be called a random access response (message).

[0184] In the random access process described above, if a terminal device receives an instruction to retransmit the third message Msg3, but fails to send Msg3, the terminal device will not consider the conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers the conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0185] Especially in NTN networks, due to the relatively large distance between the terminal device and the network device, after sending the third message Msg3, the terminal device does not immediately start the conflict resolution timer. Instead, it starts the timer after a delay (specifically, after the first symbol following the sending of the third message Msg3, plus the round-trip time (RTT) between the terminal and network devices). Thus, if a previous third message Msg3 causes the conflict resolution timer to expire, the terminal device may have already received a notification from the network device instructing it to retransmit the third message Msg3, but the terminal device has not yet sent Msg3 (in this case, the UE will not restart the conflict resolution timer). In this situation, conflict resolution should not be considered a failure (because the UE still has the opportunity to retransmit the third message Msg3). Therefore, in the current standard for NTN networks, if a previous third message Msg3 causes the conflict resolution timer to expire, and the terminal device has not received a notification from the network device instructing it to retransmit the third message Msg3, then conflict resolution is considered a failure. If a previous third message Msg3 causes the conflict resolution timer to time out, and the terminal device receives an instruction to retransmit the third message Msg3, the terminal device considers the conflict resolution to have not failed. However, there is still a period of time between the terminal device receiving the instruction to retransmit the third message Msg3 and the terminal device sending the third message Msg3. If, for some reason, the terminal device is unable to send the third message Msg3, the terminal device will also be unable to continue to perform subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0186] As described above, during the random access process, if the terminal device receives an instruction from the base station that it needs to retransmit the third message Msg3, but is unable to send the third message Msg3, how to solve the problem of the terminal device being unable to access the network and improve the success rate of random access has become an urgent technical problem to be solved.

[0187] To address the aforementioned issues, this application provides a novel communication method. When a terminal device receives an instruction to retransmit a third message Msg3 but fails to send the third message Msg3 within a target time, it determines that the conflict resolution has failed. This allows the terminal device to continue performing subsequent access actions, such as retransmitting random access preamble information to request random access. This method can resolve the issue of the terminal device being unable to access the network and significantly improve the success rate of random access.

[0188] Please see Figure 4 , Figure 4 This is a flowchart illustrating a communication method provided in an embodiment of this application. Optionally, this communication method can be applied in the field of NTN communication technology, and the communication method includes, but is not limited to, the following steps:

[0189] S401: The network device sends an instruction message to the terminal device, and the terminal device receives the instruction message sent by the network device accordingly.

[0190] This instruction information includes information from the PDCCH instructing the terminal device to retransmit the third message Msg3.

[0191] It should be understood that the third message Msg3 mentioned in this application may refer to the third message Msg3 in the above four-step random access process, or it may refer to the payload data in MsgA in the above two-step random access process. This application does not limit it in this way.

[0192] Optionally, before executing this step S401, the terminal device has already interacted with the network device through the first message Msg1, the second message Msg2, and the third message Msg3. For details, please refer to the descriptions of the above steps S302, S303, and S304, which will not be repeated here.

[0193] It is understood that the terminal device in this application embodiment is a device equipped with a processor that can execute computer instructions, which can be a handheld terminal (mobile phone, tablet computer, etc.), or a vehicle terminal (wireless terminal in autonomous driving, etc.), etc., specifically, it can be the aforementioned Figure 1A , Figure 1B , Figure 1C , Figure 2A The terminal devices (including but not limited to any of the devices such as UE1 to UE8) in the present application are used to execute the communication method in the embodiments of the present application to solve the problem that the terminal devices cannot access the network and greatly improve the success rate of random access.

[0194] It is understood that the network device in this application embodiment is a device equipped with a processor that can execute computer instructions, and can be an access network device, such as a base station, a transmission point (TRP), etc., or specifically, the aforementioned. Figure 1A , Figure 1B , Figure 1C , Figure 2A , Figure 2B The access network devices (including but not limited to any of the devices such as base station 1 and base station 2) are used to execute the communication method in the embodiments of this application to solve the problem that the terminal device cannot access the network and greatly improve the success rate of random access.

[0195] S402: If the terminal device fails to send the third message Msg3 within the target time, it is determined that the conflict resolution has failed.

[0196] It is understood that the target time can be the time indicated by the above-mentioned information.

[0197] It is understandable that a terminal device may fail to send the third message Msg3 within the target time for various reasons. For example, a broadcast message might broadcast an offset value (time increment) to the terminal device. The terminal device uses this time increment to determine when to send the uplink signal (third message Msg3). If the offset value in the broadcast message is configured incorrectly, the terminal device may not have enough time to send the uplink signal (third message Msg3), resulting in the terminal device failing to send Msg3 within the target time. Alternatively, insufficient processing power of the terminal device might also cause it to fail to send the uplink signal (third message Msg3) within the target time.

[0198] In this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, allowing the terminal device to continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0199] Optionally, if the terminal device determines that the conflict resolution has failed if it does not send a third message Msg3 within the target time, the following implementation methods may be used:

[0200] In one possible embodiment, if the first timer times out and the terminal device fails to send the third message Msg3 within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed.

[0201] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The terminal device's failure to send the third message Msg3 within the time indicated by the indication information can also be understood as the terminal device failing to send the third message Msg3 at the time indicated by the indication information, or failing to send the third message Msg3 so that the network device could receive the third message Msg3 at the time indicated by the indication information.

[0202] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0203] In the embodiments of this application, if the terminal device fails to send the third message Msg3 within the time indicated by the indication information after the first timer expires, it is determined that the conflict resolution has failed. Therefore, it can continue to perform subsequent access actions, such as resending the random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0204] In one possible embodiment, if the first timer does not run and the terminal device does not send the third message Msg3 within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed.

[0205] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The terminal device's failure to send the third message Msg3 within the time indicated by the indication information can also be understood as the terminal device failing to send the third message Msg3 at the time indicated by the indication information, or failing to send the third message Msg3 so that the network device can receive the third message Msg3 at the time indicated by the indication information. The first timer not running can be understood as the first timer not being started, or the first timer being started and timed out for a certain period of time; this embodiment does not impose any restrictions on this.

[0206] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0207] It is understood that the first timer not running in this embodiment could mean that the first timer has timed out or that the first timer is not in a working state. This embodiment does not limit this.

[0208] In the embodiments of this application, if the terminal device fails to send the third message Msg3 within the time indicated by the indication information when the first timer is not running, it is determined that the conflict resolution has failed. Therefore, it can continue to perform subsequent access actions, such as resending the random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0209] In one possible embodiment, if both the first timer and the second timer time out, the terminal device determines that the conflict resolution has failed.

[0210] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The length of the second timer is from the moment the terminal device receives the indication information to the moment the terminal device needs to send the third message Msg3. The second timer is started when the terminal device receives the indication information.

[0211] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0212] In the embodiments of this application, if the terminal device determines that the conflict resolution has failed when both the first timer and the second timer expire, it can continue to perform subsequent access actions, such as resending the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0213] In one possible embodiment, if the first timer does not run and the second timer times out, the terminal device determines that the conflict resolution has failed.

[0214] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The length of the second timer is from the moment the terminal device receives the indication information to the moment the terminal device needs to send the third message Msg3. When the terminal device receives the indication information, the second timer is started. The statement "the first timer is not running" can be understood as either the first timer not being started, or the first timer being started and timed out for a certain period of time; this embodiment does not impose such limitations.

[0215] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0216] In the embodiments of this application, if the terminal device determines that the conflict resolution has failed when the first timer has not run and the second timer has expired, it can continue to perform subsequent access actions, such as resending random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0217] Optionally, in one possible embodiment, a specific implementation for determining that conflict resolution has not failed is also provided.

[0218] Specifically, if the first timer times out and the second timer is running, the terminal device determines that the conflict resolution has not failed.

[0219] The first timer is a timer started after the terminal device sends the previous third message Msg3, and the second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0220] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0221] Through the embodiments of this application, the terminal device can retransmit the third message Msg while the second timer is still running, and access the network, thereby improving the success rate of random access.

[0222] Optionally, a possible specific implementation for starting a second timer is also provided.

[0223] Specifically, after receiving the instruction information, the terminal device starts the second timer, which stops after the terminal device sends the third message Msg3.

[0224] Through the embodiments of this application, the terminal device can determine that conflict resolution has failed if it fails to send the third message Msg3 within a target time using a second timer. This allows it to continue with subsequent access actions, such as resending the random access preamble and requesting random access, thus resolving the problem of the terminal device being unable to access the network and significantly improving the success rate of random access.

[0225] Optionally, a possible specific implementation for sending random access preamble information is also provided.

[0226] Specifically, after determining that conflict resolution has failed, the terminal device sends a random access preamble, which can be a random access preamble code used to request random access.

[0227] Through the embodiments of this application, if a terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it can determine that the conflict resolution has failed. After determining that the conflict resolution has failed, it can continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0228] Optionally, the terminal device increments the counter each time it transmits the first message Msg1. When the terminal device determines that conflict resolution has failed and the number of times it has transmitted the first message Msg1 has reached a threshold (e.g., the maximum number of times the first message Msg1 has been transmitted +1), the terminal device indicates to the upper layer that a random access problem has occurred. When the terminal device determines that conflict resolution has failed and the number of times it has transmitted the first message Msg1 has not reached the threshold, the terminal device can choose random access resources to initiate random access (i.e., resend the random access preamble).

[0229] For more details, please refer to Figure 5 , Figure 5 This is a flowchart illustrating a communication method provided in an embodiment of this application. It is understood that the communication method provided in this embodiment is as described above. Figure 4 The flowchart of the communication method in the above text is a variation or supplement. Optionally, this communication method can be applied in the field of NTN communication technology, and the communication method includes, but is not limited to, the following steps:

[0230] S501: The terminal device sends random access preamble information to the network device, and the network device receives the random access preamble information sent by the terminal device.

[0231] It is understandable that the random access preamble information can be a random access preamble code. This step can be referred to the description of step S302 above, and will not be repeated here.

[0232] S502: The network device sends a random access response to the terminal device, and the terminal device receives the random access response sent by the network device.

[0233] It is understood that this step can be referred to the description of step S303 above, and will not be repeated here.

[0234] S503: The terminal device sends a third message Msg3 to the network device, and the network device receives the third message Msg3 sent by the terminal device.

[0235] It is understood that this step can be referred to the description of step S304 above, and will not be repeated here.

[0236] S504: The network device sends an instruction message to the terminal device, and the terminal device receives the instruction message sent by the network device accordingly.

[0237] It is understood that this step can be referred to the description of step S401 above, and will not be repeated here.

[0238] S505: If the terminal device determines that the conflict resolution has failed when the first timer expires and the third message Msg3 is not sent within the time indicated by the indication information.

[0239] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The terminal device's failure to send the third message Msg3 within the time indicated by the indication information can also be understood as the terminal device failing to send the third message Msg3 at the time indicated by the indication information, or failing to send the third message Msg3 so that the network device could receive the third message Msg3 at the time indicated by the indication information.

[0240] Optionally, if the terminal device determines that the conflict resolution has failed when the first timer has not run and the terminal device has not sent the third message Msg3 within the time indicated by the indication information.

[0241] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The terminal device's failure to send the third message Msg3 within the time indicated by the indication information can also be understood as the terminal device failing to send the third message Msg3 at the time indicated by the indication information, or failing to send the third message Msg3 so that the network device can receive the third message Msg3 at the time indicated by the indication information. The first timer not running can be understood as the first timer not being started, or the first timer being started and timed out for a certain period of time; this embodiment does not impose any restrictions on this.

[0242] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0243] For example, two possible protocol descriptions are given below. It should be understood that these two protocol descriptions are for illustrative purposes only and should not be construed as limiting this application.

[0244] The specific description of candidate modification method one in the agreement is as follows:

[0245] (1) If the conflict resolution timer times out;

[0246] (2) If it is a third message Msg3 sent in the NTN network;

[0247] (3) If the UE does not receive an uplink grant PDCCH scrambled with TC-RNTI and indicating a retransmission of the third message Msg3 after the conflict resolution timer is started; or if the UE receives an uplink grant PDCCH scrambled with TC-RNTI and indicating a retransmission of the third message Msg3 after the conflict resolution timer is started, but the UE does not send the retransmission of the third message Msg3 at the time specified in the uplink grant.

[0248] (4.1) Discard TC-RNTI;

[0249] (4.2) The conflict resolution is considered unsuccessful (i.e., the conflict resolution is considered unsuccessful);

[0250] (2) Otherwise (i.e., if it is a third message Msg3 sent in the TN network);

[0251] (3.1) Discard TC-RNTI;

[0252] (3.2) The conflict resolution is considered to have failed (i.e., the conflict resolution is considered to have been unsuccessful).

[0253] The specific description of the second candidate modification method in the agreement is as follows:

[0254] (1) If the conflict resolution timer times out;

[0255] (2) If it is a third message Msg3 sent in the NTN network;

[0256] (3) If the UE does not receive an uplink grant PDCCH scrambled with TC-RNTI and indicating a retransmission of the third message Msg3 after the conflict resolution timer is started;

[0257] (4.1) Discard TC-RNTI;

[0258] (4.2) The conflict resolution is considered unsuccessful (i.e., the conflict resolution is considered unsuccessful);

[0259] (2) Otherwise (i.e., if it is a third message Msg3 sent in the TN network);

[0260] (3.1) Discard TC-RNTI;

[0261] (3.2) The conflict resolution is considered unsuccessful (i.e., the conflict resolution is considered unsuccessful);

[0262] (1) If the UE receives an uplink grant PDCCH scrambled with TC-RNTI and indicates a retransmission of the third message Msg3, but the UE does not send the third message Msg3 retransmission at the time specified in the uplink grant, and the conflict resolution timer is not running.

[0263] (2.1) Discard TC-RNTI;

[0264] (2.2) The conflict resolution is considered to have failed (i.e., the conflict resolution is considered to have been unsuccessful).

[0265] In the embodiments of this application, if the terminal device fails to resolve the conflict when the first timer expires / does not run and fails to send the third message Msg3 within the time indicated by the indication information, it can continue to perform subsequent access actions, such as resending the random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0266] S506: The terminal device sends random access preamble information to the network device, and the network device receives the random access preamble information sent by the terminal device.

[0267] After determining that conflict resolution has failed, the terminal device sends a random access preamble, which is used to request random access.

[0268] Through the embodiments of this application, if a terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it can determine that the conflict resolution has failed. After determining that the conflict resolution has failed, it can continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0269] For more details, please refer to Figure 6 , Figure 6 This is a flowchart illustrating a communication method provided in an embodiment of this application. It is understood that the communication method provided in this embodiment is as described above. Figure 4 The flowchart of the communication method in the above text is a variation or supplement. Optionally, this communication method can be applied in the field of NTN communication technology, and the communication method includes, but is not limited to, the following steps:

[0270] S601: The terminal device sends random access preamble information to the network device, and the network device receives the random access preamble information sent by the terminal device.

[0271] It is understandable that the random access preamble information can be a random access preamble code. This step can be referred to the description of step S302 above, and will not be repeated here.

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

[0273] It is understood that this step can be referred to the description of step S303 above, and will not be repeated here.

[0274] S603: The terminal device sends a third message Msg3 to the network device, and the network device receives the third message Msg3 sent by the terminal device.

[0275] It is understood that this step can be referred to the description of step S304 above, and will not be repeated here.

[0276] S604: The network device sends an instruction message to the terminal device, and the terminal device receives the instruction message sent by the network device accordingly.

[0277] It is understood that this step can be referred to the description of step S401 above, and will not be repeated here.

[0278] S605: The terminal device starts the second timer.

[0279] After receiving the instruction information, the terminal device starts the second timer, which stops after the terminal device sends the third message Msg3.

[0280] S606: The terminal device determines that conflict resolution has failed if both the first timer and the second timer expire.

[0281] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The length of the second timer is from the moment the terminal device receives the indication information to the moment the terminal device needs to send the third message Msg3.

[0282] Alternatively, the terminal device may determine that the conflict resolution has failed if the first timer has not run and the second timer has expired.

[0283] The first timer is a timer started after the terminal device sends the previous third message Msg3, such as a conflict resolution timer. The length of the second timer is from the moment the terminal device receives the indication information to the moment the terminal device needs to send the third message Msg3. When the terminal device receives the indication information, the second timer is started. The statement "the first timer is not running" can be understood as either the first timer not being started, or the first timer being started and timed out for a certain period of time; this embodiment does not impose such limitations.

[0284] It is understood that this embodiment can be applied to, but is not limited to, NTN and TN communication networks.

[0285] For example, two possible protocol descriptions are given below. It should be understood that these two protocol descriptions are for illustrative purposes only and should not be construed as limiting this application.

[0286] The specific description of candidate modification method one in the agreement is as follows:

[0287] (1) If the conflict resolution timer times out;

[0288] (2) If it is a third message Msg3 sent in the NTN network;

[0289] (3) If timer #1 (second timer) times out;

[0290] (4.1) Discard TC-RNTI;

[0291] (4.2) The conflict resolution is considered unsuccessful (i.e., the conflict resolution is considered unsuccessful);

[0292] (2) Otherwise (i.e., if it is a third message Msg3 sent in the TN network);

[0293] (3.1) Discard TC-RNTI;

[0294] (3.2) The conflict resolution is considered to have failed (i.e., the conflict resolution is considered to have been unsuccessful).

[0295] The specific description of the second candidate modification method in the agreement is as follows:

[0296] (1) If the conflict resolution timer times out;

[0297] (2) If it is a third message Msg3 sent in the NTN network;

[0298] (3) If timer #1 (second timer) is running;

[0299] (4) Do not consider the conflict resolution to have failed;

[0300] (2) Otherwise (i.e., if it is a third message Msg3 sent in the TN network);

[0301] (3.1) Discard TC-RNTI;

[0302] (3.2) The conflict resolution is considered to have failed (i.e., the conflict resolution is considered to have been unsuccessful).

[0303] In the embodiments of this application, if the terminal device determines that the conflict resolution has failed when the first timer expires / does not run and the second timer expires, it can continue to perform subsequent access actions, such as resending random access preamble information to request random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0304] S607: The terminal device sends random access preamble information to the network device, and the network device receives the random access preamble information sent by the terminal device.

[0305] After determining that conflict resolution has failed, the terminal device sends a random access preamble, which is used to request random access.

[0306] Through the embodiments of this application, if a terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it can determine that the conflict resolution has failed. After determining that the conflict resolution has failed, it can continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0307] The methods of the embodiments of this application have been described in detail above. The following provides an apparatus for implementing any one of the methods in the embodiments of this application. For example, an apparatus is provided that includes a unit (or means) for implementing the steps performed by the device in any of the above methods.

[0308] Please see Figure 7 , Figure 7This is a schematic diagram of the structure of a communication device provided in an embodiment of this application.

[0309] like Figure 7 As shown, the communication device 70 may include a transceiver unit 701 and a processing unit 702. The transceiver unit 701 and the processing unit 702 may be software, hardware, or a combination of software and hardware.

[0310] The transceiver unit 701 can implement sending and / or receiving functions, and can also be described as a communication unit. The transceiver unit 701 can also be a unit integrating an acquisition unit and a sending unit, wherein the acquisition unit is used to implement the receiving function, and the sending unit is used to implement the sending function. Optionally, the transceiver unit 701 can be used to receive information sent by other devices, and can also be used to send information to other devices.

[0311] In one possible design, the communication device 70 may correspond to the above. Figure 4 , Figure 5 , Figure 6 The terminal device in the illustrated method embodiment, such as the communication device 70, can be the terminal device itself or a chip within the terminal device. The communication device 70 may include components for performing the above-described... Figure 4 , Figure 5 , Figure 6 The unit in the method embodiment shown is the one that performs the operation by the terminal device, and each unit in the communication device 70 is respectively for implementing the above. Figure 4 , Figure 5 , Figure 6 The operations performed by the terminal device in the illustrated method embodiment are as follows: The descriptions of each unit are as follows:

[0312] Transceiver unit 701 is used to receive indication information, which is used to instruct the communication device to retransmit the third message Msg3;

[0313] The processing unit 702 is configured to determine that the conflict resolution has failed if the third message Msg3 is not sent within the target time.

[0314] In one possible implementation, the processing unit 702 is specifically configured to determine that conflict resolution has failed if the first timer times out and the third message Msg3 is not sent within the time indicated by the indication information, wherein the first timer is a timer started after the communication device sends the previous third message Msg3.

[0315] In one possible implementation, the processing unit 702 is further configured to determine that the conflict resolution has failed if the first timer has not run and the third message Msg3 has not been sent within the time indicated by the indication information, wherein the first timer is a timer started after the communication device sends the previous third message Msg3.

[0316] In one possible implementation, the processing unit 702 is further configured to determine that conflict resolution has failed when both the first timer and the second timer expire. The first timer is a timer started after the communication device sends the previous third message Msg3, and the second timer indicates the time from the moment the communication device receives the indication information to the moment when the communication device needs to send the third message Msg3.

[0317] In one possible implementation, the processing unit 702 is further configured to determine that conflict resolution has not failed when the first timer times out and the second timer is running.

[0318] In one possible implementation, the processing unit 702 is further configured to start the second timer after the transceiver unit 701 receives the indication information, and the second timer stops after sending the third message Msg3.

[0319] In one possible implementation, the transceiver unit 701 is further configured to send random access preamble information after the processing unit 702 determines that the conflict resolution has failed, the random access preamble information being used to request random access.

[0320] In this embodiment of the application, a communication device is provided, which can execute a corresponding communication method. Specifically, when a terminal device receives an instruction message instructing it to retransmit the third message Msg3, but the terminal device does not send the third message Msg3 within the target time, the terminal device determines that the conflict resolution has failed.

[0321] In current communication methods, if a terminal device receives an instruction to retransmit a third message Msg3, but fails to send Msg3, the terminal device does not consider conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0322] Compared with current communication methods, in this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, allowing the terminal device to continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0323] In another possible design, the communication device 70 may correspond to the above. Figure 4 , Figure 5 , Figure 6 The network device in the illustrated method embodiment, such as the communication device 70, can be a network device itself or a chip within the network device. The communication device 70 may include components for performing the above-described... Figure 4 , Figure 5 , Figure 6 The unit in the method embodiment shown is the one that performs the operation by the network device, and each unit in the communication device 70 is respectively for implementing the above. Figure 4 , Figure 5 , Figure 6 The operations performed by the network device in the illustrated method embodiment are as follows: The descriptions of each unit are as follows:

[0324] Processing unit 702 is used to acquire indication information, which is used to instruct the terminal device to retransmit the third message Msg3;

[0325] Transceiver unit 701 is used to send the indication information to the terminal device;

[0326] The transceiver unit 701 is further configured to receive random access preamble information sent by the terminal device after determining that the conflict resolution has failed. The random access preamble information is used to request random access. The determination that the conflict resolution has failed is related to the terminal device not sending the third message Msg3 within a target time.

[0327] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0328] The determination of conflict resolution failure is related to the timeout of the first timer and the failure of the terminal device to send the third message Msg3 within the time indicated by the indication information. The first timer is a timer started after the terminal device sends the previous third message Msg3.

[0329] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0330] The determination of the conflict resolution failure is related to the first timer not running and the terminal device not sending the third message Msg3 within the time indicated by the indication information. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

[0331] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0332] The determination of the conflict resolution failure is related to the timeout of the first timer and the timeout of the second timer. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0333] In this embodiment of the application, a communication device is provided, which can execute a corresponding communication method. Specifically, when a terminal device receives an instruction message instructing it to retransmit the third message Msg3, but the terminal device does not send the third message Msg3 within the target time, the terminal device determines that the conflict resolution has failed.

[0334] In current communication methods, if a terminal device receives an instruction to retransmit a third message Msg3, but fails to send Msg3, the terminal device does not consider conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0335] Compared with current communication methods, in this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, allowing the terminal device to continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0336] According to the embodiments of this application, Figure 7The various units in the illustrated device can be individually or entirely combined into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above-mentioned units are based on logical function division. In practical applications, the function of one unit can also be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the electronic device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.

[0337] It should be noted that the implementation of each unit can also refer to the above. Figure 4 , Figure 5 , Figure 6 The corresponding description of the method embodiments shown.

[0338] exist Figure 7 In the described communication device 70, if a terminal device receives an instruction to retransmit a third message Msg3 but fails to send the third message Msg3 within the target time, it is determined that the conflict resolution has failed. This allows the terminal device to continue performing subsequent access actions, such as retransmitting random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0339] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application.

[0340] It should be understood that Figure 8 The communication device 80 shown is merely an example; the communication device in this application embodiment may also include other components, or include components related to... Figure 8 Components with similar functions, or not necessarily including Figure 8 All components.

[0341] The communication device 80 includes a communication interface 801 and at least one processor 802.

[0342] The communication device 80 can correspond to any network element or device among network devices and terminal devices. The communication interface 801 is used for sending and receiving signals, and at least one processor 802 executes program instructions, causing the communication device 80 to implement the corresponding process of the method executed by the corresponding device in the above method embodiments.

[0343] In one possible design, the communication device 80 may correspond to the above. Figure 4 , Figure 5 , Figure 6The terminal device in the illustrated method embodiment, such as the communication device 80, can be a terminal device or a chip within the terminal device. The communication device 80 may include components for performing the operations executed by the terminal device in the above method embodiment, and each component in the communication device 80 is specifically designed to implement the operations performed by the terminal device in the above method embodiment. Specifically, it can be as follows:

[0344] The terminal device receives an instruction message, which is used to instruct the terminal device to retransmit the third message Msg3.

[0345] If the terminal device fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed.

[0346] In one possible implementation, if the terminal device fails to send the third message Msg3 within the target time, determining that conflict resolution has failed includes:

[0347] If the first timer expires and the third message Msg3 is not sent within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer that is started after the terminal device sends the previous third message Msg3.

[0348] In one possible implementation, if the terminal device fails to send the third message Msg3 within the target time, determining that conflict resolution has failed includes:

[0349] If the first timer does not run and the third message Msg3 is not sent within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

[0350] In one possible implementation, if the terminal device fails to send the third message Msg3 within the target time, determining that conflict resolution has failed includes:

[0351] If both the first timer and the second timer expire, the terminal device determines that the conflict resolution has failed. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0352] In one possible implementation, the method further includes:

[0353] If the first timer times out while the second timer is running, the terminal device determines that the conflict resolution has not failed.

[0354] In one possible implementation, after receiving the indication information, the method further includes:

[0355] The terminal device starts the second timer, which stops after sending the third message Msg3.

[0356] In one possible implementation, the method further includes:

[0357] After determining that conflict resolution has failed, the terminal device sends a random access preamble, which is used to request random access.

[0358] In this embodiment of the application, a communication device is provided, which can execute a corresponding communication method. Specifically, when a terminal device receives an instruction message instructing it to retransmit the third message Msg3, but the terminal device does not send the third message Msg3 within the target time, the terminal device determines that the conflict resolution has failed.

[0359] In current communication methods, if a terminal device receives an instruction to retransmit a third message Msg3, but fails to send Msg3, the terminal device does not consider conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0360] Compared with current communication methods, in this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, allowing the terminal device to continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0361] In another possible design, the communication device 80 may correspond to the above. Figure 4 , Figure 5 , Figure 6The network device in the illustrated method embodiment, such as the communication device 80, can be a network device itself or a chip within the network device. The communication device 80 may include components for performing the operations executed by the network device in the above method embodiment, and each component in the communication device 80 is specifically designed to implement the operations performed by the network device in the above method embodiment. Specifically, it can be as follows:

[0362] The network device obtains indication information, which is used to instruct the terminal device to retransmit the third message Msg3;

[0363] The network device sends the instruction information to the terminal device;

[0364] The network device receives random access preamble information sent by the terminal device after determining that conflict resolution has failed. The random access preamble information is used to request random access. The determination that conflict resolution has failed is related to the terminal device not sending the third message Msg3 within a target time.

[0365] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0366] The determination of conflict resolution failure is related to the timeout of the first timer and the failure of the terminal device to send the third message Msg3 within the time indicated by the indication information. The first timer is a timer started after the terminal device sends the previous third message Msg3.

[0367] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0368] The determination of the conflict resolution failure is related to the first timer not running and the terminal device not sending the third message Msg3 within the time indicated by the indication information. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

[0369] In one possible implementation, the determination of conflict resolution failure is related to the terminal device's failure to send the third message Msg3 within the target time, including:

[0370] The determination of the conflict resolution failure is related to the timeout of the first timer and the timeout of the second timer. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

[0371] In this embodiment of the application, a communication device is provided, which can execute a corresponding communication method. Specifically, when a terminal device receives an instruction message instructing it to retransmit the third message Msg3, but the terminal device does not send the third message Msg3 within the target time, the terminal device determines that the conflict resolution has failed.

[0372] In current communication methods, if a terminal device receives an instruction to retransmit a third message Msg3, but fails to send Msg3, the terminal device does not consider conflict resolution to have failed because it believes it still has the opportunity to retransmit Msg3. However, in actual communication, there may be situations where the terminal device is unable to send the third message Msg3. In this case, although the terminal device considers conflict resolution to have not failed, it cannot send Msg3, and therefore cannot continue with subsequent access actions, resulting in the terminal device being unable to access the network and a low success rate for random access.

[0373] Compared with current communication methods, in this embodiment of the application, if the terminal device receives an instruction to retransmit the third message Msg3 but fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, allowing the terminal device to continue to perform subsequent access actions, such as retransmitting the random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0374] exist Figure 8 In the described communication device 80, if a terminal device receives an instruction to retransmit a third message Msg3 but fails to send the third message Msg3 within the target time, it is determined that the conflict resolution has failed. This allows the terminal device to continue performing subsequent access actions, such as retransmitting random access preamble information and requesting random access. This can solve the problem of the terminal device being unable to access the network and greatly improve the success rate of random access.

[0375] For cases where the communication device can be a chip or a chip system, please refer to [reference needed]. Figure 9 The diagram shows the structure of the chip.

[0376] like Figure 9 As shown, chip 90 includes processor 901 and interface 902. There can be one or more processors 901, and multiple interfaces 902. It should be noted that the functions of processor 901 and interface 902 can be implemented through hardware design, software design, or a combination of both; no restrictions are placed here.

[0377] Optionally, chip 90 may also include memory 903, which is used to store necessary program instructions and data.

[0378] In this application, processor 901 can be used to call the implementation program of the communication method provided in one or more embodiments of this application in a terminal device, network device, or one or more devices or network elements from memory 903, and execute the instructions contained in the program. Interface 902 can be used to output the execution result of processor 901. In this application, interface 902 can be specifically used to output various messages or information of processor 901.

[0379] The communication methods provided by one or more embodiments of this application can be found in the foregoing. Figure 4 , Figure 5 , Figure 6 The various embodiments shown are not described in detail here.

[0380] The processor in this embodiment can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0381] The memory in this application embodiment is used to provide storage space, in which data such as operating system and computer programs can be stored. The memory includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM).

[0382] According to the method provided in the embodiments of this application, the embodiments of this application also provide a computer-readable storage medium storing a computer program. When the computer program is run on one or more processors, it can implement the above-mentioned... Figure 4 , Figure 5 , Figure 6The method shown.

[0383] According to the method provided in the embodiments of this application, the embodiments of this application also provide a computer program product, which includes a computer program. When the computer program runs on a processor, it can achieve the above-mentioned... Figure 4 , Figure 5 , Figure 6 The method shown.

[0384] This application also provides a system, which includes at least one communication device 70, communication device 80, or chip 90 as described above, for performing the above-described... Figure 4 , Figure 5 , Figure 6 The steps performed by the corresponding device in any embodiment.

[0385] This application also provides a system, which includes a network device and a terminal device, the network device being used to perform the above-described... Figure 4 , Figure 5 , Figure 6 In any embodiment, the corresponding network device performs the steps described above, and the terminal device is used to perform the steps described above. Figure 4 , Figure 5 , Figure 6 The steps performed by the corresponding terminal device in any embodiment.

[0386] This application also provides a processing apparatus, including a processor and an interface; the processor is used to execute the method in any of the above method embodiments.

[0387] It should be understood that the aforementioned processing device can be a chip. For example, the processing device can be a field-programmable gate array (FPGA), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, a system on-chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0388] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0389] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).

[0390] The units in the above-described device embodiments and the electronic devices in the method embodiments completely correspond to each other, with corresponding modules or units performing corresponding steps. For example, the communication unit (transceiver) performs the receiving or sending steps in the method embodiments, while other steps besides sending and receiving can be performed by the processing unit (processor). The functions of specific units can be found in the corresponding method embodiments. There can be one or more processors.

[0391] It is understood that in the embodiments of this application, the electronic device may perform some or all of the steps in the embodiments of this application. These steps or operations are merely examples, and the embodiments of this application may also perform other operations or variations thereof. Furthermore, the steps may be performed in different orders as presented in the embodiments of this application, and it is not necessarily necessary to perform all the operations in the embodiments of this application.

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

[0393] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0394] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

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

[0396] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0397] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0398] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A communication method, characterized in that, include: The terminal device receives an instruction message, which is used to instruct the terminal device to retransmit the third message Msg3. If both the first timer and the second timer expire, the terminal device determines that the conflict resolution has failed. The first timer is a timer started after the terminal device sends the previous third message Msg3. The second timer indicates the time from the moment the terminal device receives the indication information to the moment when the terminal device needs to send the third message Msg3.

2. The method according to claim 1, characterized in that, If the terminal device fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, including: If the first timer expires and the third message Msg3 is not sent within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer that is started after the terminal device sends the previous third message Msg3.

3. The method according to claim 1 or 2, characterized in that, If the terminal device fails to send the third message Msg3 within the target time, it determines that the conflict resolution has failed, including: If the first timer does not run and the third message Msg3 is not sent within the time indicated by the indication information, the terminal device determines that the conflict resolution has failed. The first timer is a timer that starts after the terminal device sends the previous third message Msg3.

4. The method according to claim 1 or 2, characterized in that, The method further includes: If the first timer times out while the second timer is running, the terminal device determines that the conflict resolution has not failed.

5. The method according to claim 1 or 2, characterized in that, After receiving the indication information, the method further includes: The terminal device starts the second timer, which stops after sending the third message Msg3.

6. The method according to claim 1 or 2, characterized in that, The method further includes: After determining that conflict resolution has failed, the terminal device sends a random access preamble, which is used to request random access.

7. A communication device, characterized in that, include: The transceiver unit is used to receive indication information, which is used to instruct the communication device to retransmit the third message Msg3; The processing unit is configured to determine that conflict resolution has failed if both the first timer and the second timer expire. The first timer is a timer started after the communication device sends the previous third message Msg3. The second timer indicates the time from the moment the communication device receives the indication information to the moment when the communication device needs to send the third message Msg3.

8. The apparatus according to claim 7, characterized in that, The processing unit is specifically configured to determine that conflict resolution has failed if the first timer times out and the third message Msg3 is not sent within the time indicated by the indication information. The first timer is a timer started after the communication device sends the previous third message Msg3.

9. The apparatus according to claim 7 or 8, characterized in that, The processing unit is further configured to determine that conflict resolution has failed if the first timer has not run and the third message Msg3 has not been sent within the time indicated by the indication information. The first timer is a timer that is started after the communication device sends the previous third message Msg3.

10. The apparatus according to claim 7 or 8, characterized in that, The processing unit is further configured to determine that conflict resolution has not failed when the first timer times out and the second timer is running.

11. The apparatus according to claim 7 or 8, characterized in that, The processing unit is further configured to start the second timer after the transceiver unit receives the indication information, and the second timer stops after sending the third message Msg3.

12. The apparatus according to claim 7 or 8, characterized in that, The transceiver unit is further configured to send random access preamble information after the processing unit determines that the conflict resolution has failed, the random access preamble information being used to request random access.

13. A communication device, characterized in that, include: processor; When the processor invokes a computer program or instruction in memory, the method as described in any one of claims 1 to 6 is executed.

14. A communication device, characterized in that, It includes logic circuits and interfaces, wherein the logic circuits and the interfaces are coupled; The interface is used to input data to be processed, the logic circuit processes the data to be processed according to any one of claims 1 to 6 to obtain processed data, and the interface is used to output the processed data.

15. A computer-readable storage medium, characterized in that, include: The computer-readable storage medium is used to store instructions or computer programs that, when executed, cause the method as described in any one of claims 1 to 6 to be implemented.

16. A computer program product, characterized in that, include: Instructions or computer programs; When the instructions or the computer program are executed, the method as described in any one of claims 1 to 6 is performed.

17. A communication system, characterized in that, It includes the communication device as described in any one of claims 7 to 12, or the communication device as described in claim 13, or the communication device as described in claim 14.

Citation Information

Patent Citations

  • Method and user equipment for performing random access procedure

    CN110710321A

  • Communication apparatus, base station apparatus, communication method, communication program, communication system

    US20210099933A1