Communication methods and related apparatuses

CN120614659BActive Publication Date: 2025-12-16HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511102457.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-07
Publication Date
2025-12-16
Estimated Expiration
2045-08-07

AI Technical Summary

Technical Problem

[0003]若需要对多个UE进行网络设备切换,也就是说在某个时段内有多个UE均需要从接入其他网络设备切换为接入目标网络设备;很可能导致目标网络设备可分配的物理资源块(physical resource block,PRB)等资源紧张,从而导致多个UE中的部分或全部UE不能获得必要的资源,以至于不能成功地进行网络设备切换,进而影响该部分或全部UE的通信服务的质量,例如出现通话中断、数据传输失败等问题

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120614659B_ABST
    Figure CN120614659B_ABST
Patent Text Reader

Abstract

The application provides a communication method and related devices, for example, suitable for the scenario of network devices switching access for terminal devices. In the method, a source network device determines a first time length required for a terminal device to move to the coverage range of a target network device according to the position and speed of the terminal device relative to the target network device, sends the first time length to the target network device, and the target network device determines a switching time according to the first time length and a second time length required for reserving resources for the terminal device. In the case where the first time length is greater than the second time length, the target network device instructs the source network device to initiate switching when the terminal device moves to the coverage range of the target network device; otherwise, the target network device instructs the source network device to initiate switching when the target network device has reserved resources for the terminal device. The method can determine a suitable switching time in the case where the resources of the target network device are scarce, and improve the success rate of switching network devices for terminal devices.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, and in particular to a communication method and related apparatus. BACKGROUND

[0002] In a communication scenario, a user equipment (UE) accesses a network device to provide communication services for users. In order to ensure the quality of the communication services, in the case that the UE moves from the coverage of a network device (which can be referred to as a source network device) to the coverage of another network device (which can be referred to as a target network device), the network device accessed by the UE is usually switched from the source network device to the target network device.

[0003] If network device switching needs to be performed for multiple UEs, that is, multiple UEs need to be switched from accessing other network devices to accessing the target network device within a certain period of time; it is likely to cause the target network device to be short of resources such as physical resource blocks (PRBs) that can be allocated, thereby causing part or all of the multiple UEs to be unable to obtain necessary resources, so as to fail to successfully perform network device switching, and further affect the quality of the communication services of the part or all of the UEs, for example, causing problems such as call interruption and data transmission failure.

[0004] Therefore, in the case that the target network device is short of resources, how to improve the success rate of switching the network device for the UE becomes a problem to be solved urgently. SUMMARY

[0005] The present application provides a communication method, which can determine a suitable switching time in the case that the target network device is short of resources, and improve the success rate of switching the network device for the UE.

[0006] In a first aspect, a communication method is provided, which can be performed by a source network device, or can be performed by a component (such as a circuit, a chip or a chip system, etc.) configured in the source network device, and can also be implemented by a logic module or software that can implement all or part of the functions of the source network device. The present application does not make any limitation in this regard. Hereinafter, the source network device is taken as an example for description.

[0007] The method comprises: receiving a first position and a first speed of the terminal device, the first position being a position of the terminal device relative to the target network device, and the first speed being a speed of movement of the terminal device; sending, to the target network device, a first time length according to the first position and the first speed, the first time length being a time length expected for the terminal device to move into a coverage range of the target network device; receiving first indication information from the target network device, the first indication information indicating a time for the source network device to send a handover request message, the first indication information being determined based on the first time length; and sending, to the target network device, the handover request message according to the first indication information, the handover request being used to request the target network device to allocate resources for the terminal device.

[0008] The above scheme enables the source network device to determine, according to a position and a speed of the terminal device relative to the target network device, a first time length expected for the terminal device to move into a coverage range of the target network device, and send the first time length to the target network device, so that the target network device can determine a handover time according to the first time length, and the source network device sends the handover request message according to the handover time indicated by the target network device, that is, the source network device and the target network device align the handover time, thereby improving a success rate of switching the network device for the terminal device.

[0009] In a possible implementation manner, the first indication information indicates that the handover request message is sent in a case where the terminal device moves into the coverage range of the target network device, and sending, to the target network device, the handover request message according to the first indication information comprises: sending, to the target network device, the handover request message in response to detecting that the terminal device moves into the coverage range of the target network device.

[0010] The above scheme can reduce a time for which resources are reserved as much as possible, as compared with a scheme in which the terminal device enters the coverage range of the target network device and still needs to meet other conditions to trigger handover.

[0011] In a possible implementation manner, the first indication information indicates that the handover request message is sent in a case where the target network device has reserved resources for the terminal device, and sending, to the target network device, the handover request message according to the first indication information comprises: receiving second indication information from the target network device, the second indication information indicating that resources have been reserved for the terminal device; and sending, to the target network device, the handover request message in response to the second indication information.

[0012] The above scheme can reduce a case where the target network device directly triggers handover before reserving resources for the terminal device, thereby causing handover failure, and thereby improves a success rate of switching the network device for the terminal device.

[0013] In a possible implementation, the first position is a position of the terminal device relative to the target network device at the first time, and the first speed is a speed of the terminal device at the first time; the method further includes: predicting a second position and a second speed of the terminal device according to the first position and the first speed of the terminal device at the first time, the second position being a position of the terminal device relative to the target network device at a second time, and the second speed being a speed of the terminal device at the second time, wherein the second time is later than the first time; and determining the first time length according to the second position and the second speed.

[0014] The foregoing scheme is that the source network device calculates the first time length and provides the first time length to the target network device, so that the target network device determines the timing of the handover, thereby facilitating improvement of the success rate of the handover of the terminal device to the network device.

[0015] In a possible implementation, the method further includes: determining whether the target network device reserves resources for the terminal device according to a priority of a task performed by the terminal device; and in a case where it is determined that the target network device reserves resources for the terminal device, sending third indication information to the target network device, the third indication information including information of resources required by the terminal device, and the third indication information indicating that the target network device reserves resources for the terminal device.

[0016] It can be understood that if the target network device reserves resources for each terminal device to be accessed, although it is likely to increase the success rate of the handover of the terminal device to the network device, it is also likely to cause a calculation explosion, resulting in a prediction error that is too large and causing resource mismatch and other problems. The foregoing scheme selectively reserves resources for the terminal device according to the priority of the task, and can achieve coordination between the success rate of the handover and resource utilization.

[0017] In a second aspect, a communication method is provided, which can be executed by, for example, a target network device, or can also be executed by a component (such as a circuit, a chip, or a chip system, etc.) configured in the target network device, and can also be implemented by a logic module or software that can implement all or part of the functions of the target network device. The present application does not limit this. The following is described by taking the target network device as an example.

[0018] The method includes: receiving the first time length from the source network device, the first time length being a time length required for the terminal device to move to a coverage range of the target network device; sending first indication information to the source network device according to the first time length and a second time length, the second time length being a time length required for the target network device to reserve resources for the terminal device, and the first indication information indicating a timing at which the source network device sends a handover request message; and receiving the handover request message from the source network device, the handover request being used to request the target network device to allocate resources for the terminal device.

[0019] The scheme can reduce the time for which resources are reserved as much as possible compared to a scheme in which the terminal device triggers handover only after entering the coverage of the target network device and meeting other conditions.

[0020] In a possible implementation, when the first time length is greater than the second time length, the first indication information indicates that the handover request message is sent when the terminal device moves into the coverage of the target network device.

[0021] The scheme can reduce the time for which resources are reserved as much as possible compared to a scheme in which the terminal device triggers handover only after entering the coverage of the target network device and meeting other conditions.

[0022] In a possible implementation, when the first time length is less than or equal to the second time length, the first indication information indicates that the handover request message is sent when the target network device has reserved resources for the terminal device, and the method further includes: sending second indication information to the source network device, where the second indication information indicates that resources have been reserved for the terminal device.

[0023] The scheme can reduce the case that the target network device triggers handover directly before reserving resources for the terminal device, thereby improving the success rate of network device switching for the terminal device.

[0024] In a possible implementation, the target network device currently serves other terminal devices based on first resources, and resources currently not occupied by the target network device are second resources, and the method further includes: obtaining a remaining time length for serving the other terminal devices; and when the number of resources required by the terminal device is greater than or equal to the number of the second resources, determining, as the second time length, a maximum value in the remaining time length for serving the other terminal devices.

[0025] The scheme can ensure that all resources occupied by the other terminal devices are released after the second time length, so as to reserve sufficient resources for the terminal device, thereby improving the success rate of network device switching for the terminal device.

[0026] In a possible implementation, the other terminal devices include a first other terminal device and a second other terminal device, and the obtaining of the remaining time length for the other terminal devices includes: obtaining a first initial remaining time length for the first other terminal device and a second initial remaining time length for the second other terminal device, where the first initial remaining time length corresponds to a first initial weight of the first other terminal device, the first initial weight being used to determine a quantity of resources allocated to the first other terminal device, and the second initial remaining time length corresponds to a second initial weight of the second other terminal device, the second initial weight being used to determine a quantity of resources allocated to the second other terminal device; determining a first weight of the first other terminal device according to the first initial remaining time length and a maximum value of the first initial remaining time length and the second initial remaining time length, the first initial remaining time length being negatively related to the first weight, and the first weight being used to update the quantity of resources allocated to the first other terminal device; obtaining a first remaining time length of the first other terminal device according to the first initial weight, the first weight, and the first initial remaining time length, the first weight being negatively related to the first remaining time length; determining a second weight of the second other terminal device according to the second initial remaining time length and the maximum value of the first initial remaining time length and the second initial remaining time length, the second initial remaining time length being negatively related to the second weight, and the second weight being used to update the quantity of resources allocated to the second other terminal device; obtaining a second remaining time length of the second other terminal device according to the second initial weight, the second weight, and the second initial remaining time length, the second weight being negatively related to the second remaining time length; and taking the first remaining time length and the second remaining time length as the remaining time length for the other terminal devices.

[0027] The above scheme allocates more resources to the other terminal device with a shorter initial remaining time length, so that the service of the target network device to the other terminal device can end faster, and the updated remaining time length of the other terminal device is shorter. The service of the target network device to the other terminal device that has accessed can end faster, and more resources can be released as soon as possible, so that sufficient resources can be reserved for the terminal device, and the success rate of switching the network device for the terminal device is improved.

[0028] In a possible implementation, the method further includes: determining a third weight of the terminal device according to the first time length, the third weight being negatively related to the first time length; determining a fourth weight of the other terminal device according to the remaining time length, the fourth weight being negatively related to the remaining time length; and determining a quantity of resources reserved for the terminal device according to the third weight, the fourth weight, and a quantity of resources that can be allocated by the target network device, where the quantity of resources reserved for the terminal device is positively related to the third weight and negatively related to the fourth weight.

[0029] The third weight is negatively related to the first time length, that is, the shorter the time length for the terminal device to move into the coverage range of the target network device (that is, the higher the switching urgency), the greater the third weight; the quantity of resources reserved for the terminal device is positively related to the third weight, which means that the greater the third weight, the greater the quantity of resources reserved for the terminal device. That is, the closer the terminal device is to the critical position, the greater the quantity of resources reserved for the terminal device by the target network device, which helps to improve the success rate of switching the network device for the terminal device. The fourth weight is negatively related to the remaining time length, that is, the shorter the remaining time length for the target network device to serve other terminal devices, the greater the fourth weight; the quantity of resources reserved for the terminal device is negatively related to the fourth weight, that is, the quantity of resources allocated for other terminal devices is positively related to the fourth weight. That is, the shorter the remaining time length of other terminal devices, the more resources are allocated for the other terminal devices, so as to end the service for the terminal device with a shorter remaining time length more quickly and release more resources to be able to reserve sufficient resources for the terminal device.

[0030] In a possible implementation, the method further includes: determining a first time length threshold according to the first time length and a priority of a task performed by the terminal device; and in a case where the time length after the reserved resources are completed is greater than the first time length threshold, releasing the reserved resources in response to detecting that the reserved resources have not been used by the terminal device.

[0031] It can be understood that if resources are reserved for as long as possible, although it is likely to increase the success rate of switching the network device for the terminal device, the reserved resources cannot be released for a long time, which causes the resources of the target network device to be gradually exhausted and unable to meet the needs of subsequent tasks, seriously affecting the user experience and even threatening the reliability and security of critical services. The above scheme sets a maximum time limit for which the resources can be reserved in the case of reserving resources, which can reduce the case that the resources are occupied for too long, and thus can coordinate the switching success rate, resource utilization rate, and user experience.

[0032] In a possible implementation, the method further includes: receiving resource information from the source network device, the resource information indicating resources required by the terminal device, and the resource information further indicating that the target network device reserves resources for the terminal device; and in response to the resource information, calculating a second time length and reserving resources for the terminal device.

[0033] It can be understood that if the target network device reserves resources for each terminal device to be accessed, although it is likely to increase the success rate of switching the network device for the terminal device, it is likely to cause a calculation explosion, resulting in a large prediction error and resource mismatch. The above scheme selectively reserves resources for the terminal device according to the priority of the task, which can coordinate the switching success rate and resource utilization rate.

[0034] In a possible implementation, the method further includes: determining whether to reserve resources for the terminal device according to a priority of a task performed by the terminal device; and calculating the second time length in a case where it is determined to reserve resources for the terminal device, and sending the second time length to the source network device, the second time length indicating the resources reserved for the terminal device.

[0035] It can be understood that if the target network device reserves resources for each terminal device to be accessed, although it is likely to increase the success rate of switching the network device for the terminal device, it is also likely to cause a calculation explosion, resulting in a prediction error being too large and causing resource mismatch and other problems. According to the foregoing solution, resources are selectively reserved for the terminal device according to the priority of the task, and coordination between the switching success rate and the resource utilization rate can be achieved.

[0036] In a third aspect, a communication apparatus is provided, which includes a communication module and a processing module. The communication module is configured to receive a first position and a first speed of a terminal device, the first position being a position of the terminal device relative to a target network device, and the first speed being a speed at which the terminal device moves; send a first time length to the target network device according to the first position and the first speed, the first time length being a time length required for the terminal device to move to a coverage range of the target network device; receive first indication information from the target network device, the first indication information indicating a time for the source network device to send a handover request message, the first indication information being determined based on the first time length; and send the handover request message to the target network device according to the first indication information, the handover request being used to request the target network device to allocate resources for the terminal device.

[0037] In a fourth aspect, a communication apparatus is provided, which includes a communication module and a processing module. The communication module is configured to receive a first time length from a source network device, the first time length being a time length required for a terminal device to move to a coverage range of a target network device; send first indication information to the source network device according to the first time length and a second time length, the second time length being a time length required for resources to be reserved for the terminal device, and the first indication information indicating a time for the source network device to send a handover request message; and receive the handover request message from the source network device, the handover request being used to request the target network device to allocate resources for the terminal device.

[0038] The third and fourth aspects are device-side implementations corresponding to the first and second aspects. The explanations, supplements, and beneficial effects of the first and second aspects also apply to the third and fourth aspects, and will not be repeated.

[0039] In a fifth aspect, a communication apparatus is provided, which includes a processor. The processor is coupled with a memory and can be used to execute instructions or data in the memory to implement the method in any possible implementation of the first aspect. Optionally, the communication apparatus further includes the memory. Optionally, the communication apparatus further includes a communication interface, and the processor is coupled with the communication interface.

[0040] In an implementation, the communication interface can be a transceiver, or an input / output interface.

[0041] In another implementation, the communication apparatus is a chip configured in a terminal device. When the communication apparatus is a chip configured in a terminal device, the communication interface can be an input / output interface.

[0042] In a sixth aspect, a communication apparatus is provided, which includes a processor. The processor is coupled with a memory and is configured to execute instructions or data stored in the memory to implement the method in any possible implementation of the second aspect. Optionally, the communication apparatus further includes the memory. Optionally, the communication apparatus further includes a communication interface, and the processor is coupled with the communication interface.

[0043] In an implementation, the communication interface can be a transceiver, or an input / output interface.

[0044] In another implementation, the communication apparatus is a chip configured in a network device. When the communication apparatus is a chip configured in a network device, the communication interface can be an input / output interface.

[0045] In a seventh aspect, a processor is provided, which includes an input circuit, an output circuit and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any possible implementation of any aspect.

[0046] In a specific implementation, the processor can be one or more chips, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a flip-flop, various logic circuits, etc. The input signal received by the input circuit can be received and input by, for example but not limited to, a receiver, the signal output by the output circuit can be output to and transmitted by, for example but not limited to, a transmitter, and the input circuit and the output circuit can be the same circuit which is used as the input circuit and the output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0047] In an eighth aspect, a communication apparatus is provided, which includes a processor and a memory. The processor is configured to read instructions stored in the memory, and is configured to receive a signal through a receiver and transmit a signal through a transmitter to execute the method in any possible implementation of any aspect.

[0048] Optionally, the processor is one or more, and the memory is one or more.

[0049] In a ninth aspect, a computer program product is provided, which includes a computer program (which can also be referred to as code or instructions) that, when executed by a computer, causes the computer to perform the method in any possible implementation of any of the aspects above.

[0050] In a tenth aspect, a computer-readable storage medium is provided, which stores a computer program (which can also be referred to as code or instructions) that, when executed on a computer, causes the computer to perform the method in any possible implementation of any of the aspects above.

[0051] In an eleventh aspect, an embodiment of the present application provides a chip system, which includes one or more processors for invoking and running instructions stored in a memory, so that the method in any of the aspects above or any possible implementation of the aspects is performed. The chip system can be constituted by a chip, or can include a chip and other discrete devices.

[0052] In the chip system, the chip system can include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.

[0053] In a twelfth aspect, a communication system is provided, which includes the terminal device, the source network device and the target network device described above. Optionally, the communication system can further include other devices that communicate with the terminal device and / or the network device. BRIEF DESCRIPTION OF DRAWINGS

[0054] Figure 1 is a structural schematic diagram of an application scenario 100 provided by an embodiment of the present application;

[0055] Figure 2 is a schematic diagram of a communication method 200 provided by an embodiment of the present application;

[0056] Figure 3 is a schematic diagram of a communication method 300 provided by an embodiment of the present application;

[0057] Figure 4 is a schematic block diagram of a communication apparatus provided by an embodiment of the present application;

[0058] Figure 5 is another schematic block diagram of a communication apparatus provided by an embodiment of the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the present application will be described below with reference to the accompanying drawings.

[0060] The technical solutions of the embodiments of the present application can be applied to various communication systems, including but not limited to: a global system for mobile communications (GSM), an enhanced data rate for GSM evolution (EDGE), a wideband code division multiple access (WCDMA) system, a code division multiple access 2000 (CDMA2000) system, a time division-synchronous code division multiple access (TD-SCDMA) system, a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a worldwide interoperability for microwave access (WiMAX) communication system, a 5G mobile communication system or a new radio (NR) system, a narrow band internet of things (NB-IoT) system, an enhanced machine-type communication (eMTC) system, an enhanced mobile broadband (eMBB) system, an ultra reliable low latency communication (URLLC) system, a satellite communication system or an LTE-machine-to-machine (LTE-M) system, and a future 6th generation (6G) mobile communication system, and the like.

[0061] Figure 1 A structural schematic diagram of an application scenario 100 of the embodiments of the present application.

[0062] As Figure 1As shown, the communication apparatuses in the application scenario 100 include, but are not limited to, the network device 101, the network device 102, and the terminal device 103. The network device 101 and the terminal device 103 perform uplink communication, and can also perform downlink communication. The network device 102 and the terminal device 103 perform uplink communication, and can also perform downlink communication. It should be understood that the application scenario 100 is only an example, and does not limit the scope of protection claimed in the present application.

[0063] In the application scenario 100, when the terminal device 103 is located in the coverage of the network device 101, the terminal device 103 accesses the network device 101 to provide communication services for the user. In the process of moving of the terminal device 103, the terminal device 103 moves from the coverage of the network device 101 to the coverage of the network device 102. In order to ensure the continuity of the communication services, the network device 101 usually interacts with the network device 102 to switch the network device accessed by the terminal device 103 from the network device 101 to the network device 102.

[0064] For the application scenario 100, the network device 101 is referred to as a source network device, an original network device, or a first network device in the embodiments of the present application; and the network device 102 is referred to as a target network device or a second network device. However, the present application does not limit this, and a unified description is made here, and details are not described below.

[0065] In the embodiments of the present application, the network device can be a radio access network device, for example, can be a base station, an evolved Node B (eNodeB), a transmission reception point (TRP), a next generation Node B (gNB) in a 5th generation (5G) mobile communication system, a next generation Node B in a 6th generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system, etc.; or can be a module or unit that completes part of the functions of the base station, for example, the radio access network device can include at least one of a centralized unit (CU), a distributed unit (DU), a radio unit (RU), wherein the centralized unit can also be referred to as a central unit (CU) or a control unit (CU). The CU here completes the functions of the radio resource control (RRC) layer and the packet data convergence protocol (PDCP) layer of the base station, and can also complete the function of the service data adaptation protocol (SDAP) layer; the DU completes the functions of the radio link control (RLC) layer and the medium access control (MAC) layer of the base station, and can also complete part of the physical layer (for example, the upper layer of the physical layer) or all the physical layer functions; the RU completes the radio frequency function, and can also complete part of the physical layer function (for example, the lower layer of the physical layer); for specific descriptions of the above various protocol layers, reference can be made to the third generation partnership project (3GPP) standard documents. rdThe wireless access network device can be a macro base station, or a micro base station or an indoor station, or a relay node or a donor node, etc. Alternatively, the wireless access network device can include, but is not limited to, a base station carried on a satellite (referred to as a satellite base station), a transmission receiving point / transmission reception point (TRP) or a distributed unit (DU) carried on a satellite, a satellite ground station in a satellite system (which can be referred to as a ground station), a balloon station, a unmanned aerial vehicle station, etc. The embodiments of the present application do not limit the type and mode of the network device. The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.

[0066] The terminal device can also be referred to as a terminal, a UE, a mobile station, a mobile terminal, etc. The terminal can be widely used in various scenarios, such as device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), IoT, virtual reality, augmented reality, industrial control, automatic driving, remote medical treatment, smart power grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. The terminal can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a mechanical arm, a smart home device, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal.

[0067] The terminal device can communicate with the network device directly or through a relay station. The terminal device can communicate with multiple network devices carrying different communication technologies.

[0068] It should be noted that the network device and the terminal device in the present application both have a sensing-integrated function, for example, the network device can obtain the position and speed of the terminal device through its own sensing system.

[0069] As described in the background, if multiple UEs need to perform network device switching, that is, multiple UEs all need to access the target network device within a certain period of time; it is likely to cause the target network device to be short of resources such as allocable physical resource blocks (PRBs), thereby causing part or all of the multiple UEs to be unable to obtain necessary resources, so as to fail to successfully perform network device switching, and further affect the quality of communication services of the part or all of the UEs, such as call interruption, data transmission failure, and the like.

[0070] Therefore, in the case of resource shortage of the target network device, how to improve the success rate of UE switching network device becomes a problem to be solved.

[0071] Therefore, in the case of resource shortage of the target network device, how to improve the success rate of UE switching network device becomes a problem to be solved.

[0072] The scheme provided by the present application will be described in detail below in combination with the corresponding flowchart. It can be understood that the main devices (such as terminal devices and network devices) in the illustrative flowchart provided by the present application are taken as examples of the execution subject of the interaction to illustrate the method, but the present application does not limit the execution subject of the interaction. For example, the devices (such as terminal devices and network devices) in the illustrative flowchart can also be chips, chip systems, or processors supporting the implementation of the method by the devices, and can also be logical modules or software capable of realizing all or part of the functions of the devices.

[0073] Here, it is uniformly stated that the message or signaling interaction involved in the interaction flow of the embodiments of the present application can adopt the message or signaling in the standard or newly introduced message or signaling, and the embodiments of the present application do not make specific limitations thereon.

[0074] Figure 2 is a schematic diagram of a communication method 200 provided by an embodiment of the present application. It can be understood that the terminal device in Figure 2 may be a terminal device in a communication system, such as a terminal device in a 5G communication system. Figure 1Any of the terminal devices in the foregoing, can also refer to an apparatus (for example, a processor, a chip, or a chip system, etc.) in the terminal device. Any of the network devices in the foregoing, can also refer to an apparatus (for example, a processor, a chip, or a chip system, etc.) in the network device. Figure 1 Any of the network devices in the foregoing, can also refer to an apparatus (for example, a processor, a chip, or a chip system, etc.) in the network device. As shown in the foregoing, Figure 2 The method 200 includes the following steps:

[0075] S201, the terminal device sends a first position and a first speed to a source network device; correspondingly, the source network device receives the first position and the first speed from the terminal device.

[0076] The first position is a position of the terminal device relative to a target network device, and the first speed is a speed of movement of the terminal device.

[0077] The specific implementation of S201 will be described in detail below in S303, and the position #i and the speed #i in S303 are specific examples of the first position and the first speed respectively.

[0078] S202, the source network device sends a first time length to the target network device according to the first position and the first speed; correspondingly, the target network device receives the first time length from the source network device.

[0079] The first time length is a time length required for the terminal device to move to a coverage range of the target network device, or the first time length is a time length required for the terminal device to move to a critical position.

[0080] The critical position is understood as a position of the terminal device relative to the target network device when the terminal device just enters the coverage range of the target network device, or a position of the terminal device relative to the target network device when a distance between the terminal device and the target network device is a critical distance triggering handover.

[0081] The triggering handover is understood as triggering the source network device to initiate a handover mechanism for the terminal device to the target network device, for example, triggering the source network device to send a handover request message to the target network device. The critical distance triggering handover is understood as that when the source network device perceives that the distance between the terminal device and the target network device reaches a certain distance threshold, the source network device will initiate the handover mechanism for the terminal device to the target network device, and the distance threshold is referred to as the critical distance. More accurately, the critical distance triggering handover is understood as that, in the case that the source network device does not receive other triggering conditions triggering handover, when the source network device perceives that the distance between the terminal device and the target network device reaches the critical distance, the source network device will initiate the handover mechanism for the terminal device to the target network device.

[0082] The first time length is determined according to the first position and the first speed. The first position is a position of the terminal device relative to the target network device at a first time, and the first speed is a speed of the terminal device at the first time. The source network device predicts a second position and a second speed of the terminal device according to the first position and the first speed of the terminal device at the first time, the second position being a position of the terminal device relative to the target network device at a second time, and the second speed being a speed of the terminal device at the second time, wherein the second time is later than the first time; and the first time length is determined according to the second position and the second speed.

[0083] It can be understood that the first time length is calculated by the source network device and provided to the target network device, so as to facilitate the target network device to determine the time of switching, thereby facilitating to improve the success rate of switching the network device for the terminal device.

[0084] The specific implementation of determining the first time length will be described in detail below by taking the time length #i required for the UE to reach a critical position as an example of the first time.

[0085] Optionally, S202 further includes determining, by the source network device or the target network device, whether the target network device reserves resources for the terminal device, and not performing subsequent steps in a case where it is determined that the target network device does not reserve resources for the terminal device; and informing a peer network device in a case where it is determined that the target network device reserves resources for the terminal device.

[0086] As an implementation manner of S202, the source network device determines whether the target network device reserves resources for the terminal device according to a priority of a task performed by the terminal device. The source network device sends resource information to the target network device in a case where it is determined that the target network device reserves resources for the terminal device; and correspondingly, the target network device receives the resource information from the source network device. The resource information indicates resources required by the terminal device, and the resource information further indicates that the target network device reserves resources for the terminal device. The target network device calculates a second time length in response to the resource information, and reserves resources for the terminal device. The second time length is a time length required by the target network device to reserve resources for the terminal device.

[0087] As another implementation manner of S202, the target network device determines whether to reserve resources for the terminal device according to a priority of a task performed by the terminal device. The target network device calculates a second time length in a case where it is determined to reserve resources for the terminal device. The second time length is a time length required by the target network device to reserve resources for the terminal device. The target network device sends the second time length to the source network device, and correspondingly, the target network device receives the second time length from the source network device. The second time length indicates that resources are reserved for the terminal device. Furthermore, the target network device reserves resources for the terminal device.

[0088] It can be understood that if the target network device reserves resources for each terminal device to be accessed, although it is likely to increase the success rate of switching network devices for the terminal device, it is also likely to cause a computing explosion, resulting in a prediction error that is too large and causing resource mismatching and other problems. Therefore, selectively reserving resources for the terminal device according to the priority of the task can coordinate the switching success rate and resource utilization.

[0089] Based on the above two implementation manners of S202, an implementation manner of determining the number of resources reserved for the terminal device is given. A third weight of the terminal device is determined according to the first duration, the third weight being negatively correlated with the first duration; a fourth weight of other terminal devices is determined according to the remaining duration, the fourth weight being negatively correlated with the remaining duration; and the number of resources reserved for the terminal device is determined according to the third weight, the fourth weight, and the number of resources allocatable by the target network device.

[0090] It can be understood that the third weight is negatively correlated with the first duration, that is, the shorter the duration for the terminal device to move into the coverage range of the target network device (that is, the higher the switching urgency), the greater the third weight; and the number of resources reserved for the terminal device is positively correlated with the third weight, which means that the greater the third weight, the greater the number of resources reserved for the terminal device. That is, the closer the terminal device is to the critical position, the greater the number of resources reserved for the terminal device by the target network device, which helps to improve the success rate of switching network devices for the terminal device.

[0091] It can also be understood that the fourth weight is negatively correlated with the remaining duration, that is, the shorter the remaining duration for the target network device to serve other terminal devices, the greater the fourth weight; and the number of resources reserved for the terminal device is negatively correlated with the fourth weight, that is, the number of resources allocated for other terminal devices is positively correlated with the fourth weight. That is, the shorter the remaining duration of other terminal devices, the more resources are allocated for the other terminal devices, so as to end the service for the terminal device with a shorter remaining duration faster and release more resources to be able to reserve sufficient resources for the terminal device.

[0092] Specifically, the following will and be taken as examples of the third weight and the fourth weight, respectively, to introduce in detail the determination of the number of resources reserved for the terminal device.

[0093] Specifically, the following will

[0094] The specific implementation of S202 will be described in detail below. In the following, the time length #i required for the UE to reach the critical position is a specific example of the first time length, and the information of the resources required by the UE is a specific example of the resource information.

[0095] In S203, the target network device sends first indication information to the source network device according to the first time length and the second time length, and correspondingly, the source network device receives the first indication information from the target network device.

[0096] The second time length is the time length required by the target network device to reserve resources for the terminal device, that is, from the current time, when the second time length is reached, the target network device has completed the reservation of resources for the terminal device. The first indication information indicates the timing of sending the handover request message by the source network device.

[0097] It can be understood that the following will be described in detail taking the time length #i required for reserving resources as an example of the second time length.

[0098] For example, the target network device is currently serving other terminal devices. The target network device can calculate the second time length according to the remaining time of the other terminal devices that have accessed the target network device. The target network device obtains the remaining time of serving the other terminal devices; in the case that the resource amount required by the terminal device is greater than or equal to the resource amount not occupied by the other terminal devices, the target network device determines the maximum value in the remaining time of serving the other terminal devices as the second time length.

[0099] It can be understood that the second time length is the maximum value in the remaining time of the target network device serving the other terminal devices, which can ensure that after the second time length, all the resources occupied by the other terminal devices are released, so as to reserve sufficient resources for the terminal device and improve the success rate of switching the network device for the terminal device.

[0100] The following gives an example of obtaining the remaining time of serving the other terminal devices.

[0101] The first other terminal device and the second other terminal device are examples of other terminal devices. The target network device obtains a first initial remaining time length for serving the first other terminal device, and a second initial remaining time length for serving the second other terminal device. The first initial remaining time length corresponds to a first initial weight of the first other terminal device, and the first initial weight is used to determine a number of resources allocated to the first other terminal device. The second initial remaining time length corresponds to a second initial weight of the second other terminal device, and the second initial weight is used to determine a number of resources allocated to the second other terminal device. The target network device determines a first weight of the first other terminal device according to the first initial remaining time length and a maximum value of the first initial remaining time length and the second initial remaining time length. The first initial remaining time length is negatively correlated with the first weight, and the first weight is used to update the number of resources allocated to the first other terminal device. The target network device obtains a first remaining time length of the first other terminal device according to the first initial weight, the first weight, and the first initial remaining time length. The first weight is negatively correlated with the first remaining time length. The target network device determines a second weight of the second other terminal device according to the second initial remaining time length and the maximum value of the first initial remaining time length and the second initial remaining time length. The second initial remaining time length is negatively correlated with the second weight, and the second weight is used to update the number of resources allocated to the second other terminal device. The target network device obtains a second remaining time length of the second other terminal device according to the second initial weight, the second weight, and the second initial remaining time length. The second weight is negatively correlated with the second remaining time length. The target network device uses the first remaining time length and the second remaining time length as remaining time lengths for serving the other terminal devices.

[0102] It can be understood that the other terminal device with a shorter initial remaining time length is allocated more resources, so that the service of the target network device to the other terminal device ends faster, and the updated remaining time length of the other terminal device is shorter. The service of the target network device to the other terminal device that has accessed ends faster, so that more resources are released as soon as possible, so as to reserve sufficient resources for the terminal device and improve the success rate of switching the network device for the terminal device.

[0103] The first indication information is determined based on the first time length and the second time length.

[0104] In a case where the first time length is greater than the second time length, the first indication information indicates that the handover request message is sent in a case where the terminal device moves to the coverage range of the target network device. In response to detecting that the terminal device moves to the coverage range of the target network device, the source network device sends the handover request message to the target network device. This case will be described in detail below in case A, and the request message in S310 can be an example of the first indication information.

[0105] Alternatively, in a case that the first time length is less than or equal to the second time length, the first indication information indicates that the handover request message is sent in a case that the target network device has reserved resources for the terminal device, and the method 200 further includes: the target network device sends second indication information to the source network device, and correspondingly, the source network device receives the second indication information from the target network device. The second indication information indicates that the resources have been reserved for the terminal device. In response to the second indication information, the source network device sends the handover request message to the target network device, and the request message in S311 can be an example of the first indication information.

[0106] Optionally, the target network device further sets a first time length threshold of resource reservation in a case that the resources are reserved for the terminal device. The first time length threshold is determined according to the first time length and a priority of a task performed by the terminal device, and in a case that a time length after the resources are reserved is greater than the first time length threshold, the reserved resources are released in response to detecting that the reserved resources have not been used by the terminal device.

[0107] It can be understood that if the resources are reserved for as long as possible, although it is likely to increase the success rate of switching the network device for the terminal device, it will also cause the reserved resources to be unable to be released for a long time, so that the resources of the target network device are gradually exhausted and cannot meet the needs of subsequent tasks, seriously affecting the user experience, and even threatening the reliability and security of critical services. Therefore, setting a maximum time limit for which the resources can be reserved in the case of reserving resources can reduce the case that the resources are occupied for too long, and therefore can coordinate the success rate of switching, resource utilization, and user experience.

[0108] Hereinafter, the maximum time limit for which the resources can be reserved will be taken as an example of the first time length threshold to be described in detail.

[0109] S204, the source network device sends a handover request message to the target network device according to the first indication information, and correspondingly, the target network device receives the handover request message from the source network device.

[0110] The handover request is used to request the target network device to allocate resources for the terminal device.

[0111] The specific implementation of S204 will be described in detail in S313 below.

[0112] The above scheme, the source network device determines the first time length required for the terminal device to move to the coverage range of the target network device according to the position and speed of the terminal device relative to the target network device, sends the first time length to the target network device, and the target network device determines the handover timing according to the first time length and the second time length required for reserving resources for the terminal device. In the case where the first time length is greater than the second time length, the target network device instructs the source network device to initiate handover when the terminal device moves to the coverage range of the target network device; otherwise, the target network device instructs the source network device to initiate handover when the target network device has reserved resources for the terminal device. The above scheme can determine a suitable handover timing in the case where the resources of the target network device are scarce, thereby improving the success rate of switching network devices for the terminal device.

[0113] In the case where the first time length is greater than the second time length, the target network device instructs the source network device to initiate handover when the terminal device moves to the coverage range of the target network device, which can reduce the time for which resources are reserved as much as possible compared to the scheme in which the terminal device enters the coverage range of the target network device and still needs to meet other conditions to trigger handover. In the case where the first time length is less than the second time length, the target network device instructs the source network device to initiate handover when the target network device has reserved resources for the terminal device, which can reduce the case where the target network device directly triggers handover before reserving resources for the terminal device, thereby improving the success rate of switching network devices for the terminal device.

[0114] Figure 3 FIG. 3 is a schematic diagram of a communication method 300 provided by an embodiment of the present application. It can be understood that Figure 3 The UE in FIG. 3 can be Figure 1 any terminal device in FIG. 3, or can refer to an apparatus (such as a processor, a chip, or a chip system, etc.) in the terminal device. Figure 3 The source gNB in FIG. 3 can be Figure 1 the network device 101 in FIG. 3, or can refer to an apparatus (such as a processor, a chip, or a chip system, etc.) in the network device 101, Figure 3 The target gNB in FIG. 3 can be Figure 1 the network device 102 in FIG. 3, or can refer to an apparatus (such as a processor, a chip, or a chip system, etc.) in the network device 102. It can also be understood that the communication method 300 is a specific example of the communication method 200. As shown in FIG. 3, Figure 3 the method 300 includes the following steps:

[0115] S301, the source gNB sends an RRCReconfiguration message to the UE, and accordingly, the UE receives the RRCReconfiguration message from the source gNB.

[0116] The RRCReconfiguration message carries measurement configuration (MC) related parameters, which are used to configure the measurement task of the UE, such as setting the measurement requirement of the UE on the surrounding base station signal strength and the like.

[0117] In S302, the UE sends an RRCReconfigurationComplete message to the source gNB, and correspondingly, the source gNB receives the RRCReconfigurationComplete message from the UE.

[0118] The RRCReconfigurationComplete message is used to feed back to the source gNB that the related configuration required by the source gNB in the RRCReconfiguration message is successfully completed.

[0119] In S303, the UE sends a MeasurementReport to the source gNB, and correspondingly, the source gNB receives the MeasurementReport from the UE.

[0120] In a possible implementation, the measurement task configured for the UE by the MC in S301 further includes measuring the position and speed of the UE. After the UE determines that the event condition is met, the UE sends the MeasurementReport to the source gNB.

[0121] The MeasurementReport in S303 is the i th MeasurementReport sent by the UE to the source gNB. The i th MeasurementReport includes the speed #i and the position #i of the UE, i≥1 and i is an integer. For example, the value of i corresponds to the number of times that the UE sends the MeasurementReport to the source gNB in the communication method 300.

[0122] For example, the position #i of the UE is understood as the position of the UE relative to the target gNB, that is, the relative position of the UE is calibrated based on the position of the target gNB. For example, a coordinate system can be established with the target gNB as the origin, and the position of the UE can be represented by the coordinates in the coordinate system. In a possible implementation, the speed #i of the UE is understood as the speed of the UE moving towards the target gNB.

[0123] For example, the speed #i and the position #i of the UE are the position and speed of the UE at the i th first time based on the measurement of the perception system of the UE. For example, the first time can be the current time when the UE performs the measurement task.

[0124] Alternatively, as another possible implementation of S303, the ith MeasurementReport does not include the ith UE speed and the ith UE location, and the source gNB obtains the UE location and the UE speed at the ith first time based on the measurements of its own sensing system.

[0125] S304, the source gNB predicts the ith UE speed and the ith UE location at a future time.

[0126] That is, the source gNB predicts the UE speed and the UE location at the ith future time based on the UE speed and the UE location at the ith first time in the MeasurementReport. The future time is later than the first time, or, the future time is later than the time when the source gNB receives the MeasurementReport. For example, the source gNB performs periodic scanning, and the time interval between the future time and the first time is one or more scanning periods.

[0127] For example, the source gNB can implement S304 by Kalman filtering or particle filtering, and the specific implementation will be described in detail below.

[0128] S305, the source gNB calculates the ith UE time required to reach the critical location based on the UE speed and the UE location at the future time, and determines whether the ith UE time required to reach the critical location is greater than a second time threshold.

[0129] For example, the source gNB can calculate the ith UE time required to reach the critical location based on the predicted UE speed and the predicted UE location according to a logarithmic path loss model, and the specific implementation will be described in detail below.

[0130] The determination of whether the ith UE time required to reach the critical location is greater than the second time threshold is to determine whether to continue to update the ith UE time required to reach the critical location. For example, the second time threshold can be adjusted according to the actual deployment of the source base station and the target gNB. If the determination result is yes, it means that the ith UE time required to reach the critical location still needs to be updated, which corresponds to the following case 1. If the determination result is no, it means that the ith UE time required to reach the critical location does not need to be updated, and the current ith UE time required to reach the critical location can be sent to the target gNB for processing, which corresponds to the following case 2.

[0131] Case 1: If the result of S305 is yes, then S306 and S307 are executed; and after S307 is executed, i is updated according to i = i + 1; and then S303 to S305 are continued to be executed based on the updated i, and it is determined to continue Case 1 or Case 2 according to the result of S305.

[0132] S306, the source gNB sends a prediction report to the target gNB, and correspondingly, the target gNB receives the prediction report from the source gNB.

[0133] The prediction report includes current task priority information, an estimated time length #i required for the UE to reach a critical position, and information of resources required by the UE.

[0134] The current task priority information indicates the priority of the task currently executed by the UE.

[0135] For example, according to the degree of requirement of the task for communication continuity, the task is classified to obtain a plurality of task types, and different task types correspond to different priorities. The correspondence between each task type and a specific task, and the correspondence between the task type and the priority can be preconfigured in the source gNB. The source gNB determines the priority corresponding to the task currently executed by the UE according to the preconfigured correspondence, and generates the current task priority information.

[0136] Table 1 gives an example of the above correspondence.

[0137] Table 1

[0138]

[0139] As shown in Table 1, the task executed by the UE is divided into three types. Critical task: this type of task should not be interrupted under any circumstances, such as emergency call or disaster warning, which is related to the life safety of the user, so the priority is the highest; service task: this type of task is a task that is expected to be interrupted as little as possible, such as remote monitoring or remote consultation, which is related to the health of the user, so the priority is the second highest; ordinary task: this type of task has a significantly lower requirement for communication continuity than the first two types, such as data transmission of social media services, so the priority is the lowest.

[0140] Correspondingly, for different task priorities, Table 1 also configures a corresponding task priority coefficient (P).

[0141] The resources required by the UE can be understood as: if the UE switches to access the target gNB, in order to ensure that the UE can continuously execute the current task, the target gNB needs to provide resources for the UE. For example, the resource is PRB, and the information of the resources required by the UE can be the number of PRBs required by the UE.

[0142] S307, the target gNB sends a request (REQUEST) message to the source gNB, and the source gNB receives the REQUEST message from the target gNB accordingly.

[0143] The REQUEST message includes: a time length #i required to implement the reserved resource, and a maximum time limit for which the resource can be reserved.

[0144] The time length #i required to implement the reserved resource can be understood as the time length from a certain starting time to the time when the target gNB completes the reservation of the resource required by the UE.

[0145] For example, the starting time is the i-th future time, or the time when the target gNB sends the REQUEST message.

[0146] The maximum time limit for which the resource can be reserved can be understood as the maximum time limit for which the resource can be continuously reserved from the time when the target gNB completes the reservation of the resource required by the UE.

[0147] It can be understood that if the resource is reserved for as long as possible, although it is likely to increase the success rate of switching network devices for terminal devices, it will also cause the reserved resource to be unable to be released for a long time, so that the resources of the target gNB are gradually exhausted and cannot meet the needs of subsequent tasks, seriously affecting user experience, and even threatening the reliability and security of critical services. Therefore, by setting the maximum time limit for which the resource can be reserved in the case of reserving the resource, the situation that the resource is occupied for too long can be reduced, so that the coordination of the success rate of switching, resource utilization, and user experience can be achieved.

[0148] For example, the target gNB determines the maximum time limit for which the resource can be reserved according to the time length #i required by the UE to reach the critical position and the current task priority information, and the specific implementation manner will be described in detail below.

[0149] In a possible implementation manner of case 1, after the target gNB receives the prediction report in S306, the target gNB starts to reserve the resource according to the information of the resource required by the UE, and after completing the resource reservation, the target gNB indicates in a subsequent step that the resource has been reserved.

[0150] Optionally, whether to reserve the resource is determined by the target gNB or the source gNB according to the priority of the task currently performed by the UE, and in the case where the determination result is yes, the target gNB starts to reserve the resource according to the information of the resource required by the UE.

[0151] For example, the higher the priority, the higher the probability of the result being yes.

[0152] It can be understood that if the target gNB reserves resources for each UE to be accessed, although it is likely to increase the success rate of switching network devices for terminal devices, it is also likely to cause a calculation explosion, resulting in a prediction error being too large and causing resource mismatching and other problems. Therefore, selectively reserving resources for UEs according to the task priority can coordinate the switching success rate and resource utilization.

[0153] In another possible implementation of case 1, after the target gNB receives the prediction report in S306, the target gNB first determines whether to reserve resources according to the current task priority information. If the result is no, no resources are reserved, and the method ends after S306 without executing the subsequent steps. If the result is yes, S307 is continued after S306, and the target gNB starts to reserve resources according to the information of the resources required by the UE, and indicates to the source gNB that the resource reservation has been completed after the resource reservation is completed.

[0154] For example, the target gNB determines whether to reserve resources according to the priority coefficient.

[0155] In one implementation, the current task priority information includes a priority coefficient of a task currently executed by the UE.

[0156] In another implementation, the current task priority information includes a task type and / or a priority of a task currently executed by the UE, and the target gNB and the source gNB are preconfigured with the same corresponding relationship, including a corresponding relationship between each task type and a specific task, and a corresponding relationship between the task type and the priority, and the target gNB determines the priority coefficient of the task currently executed by the UE according to the current task priority information.

[0157] For example, the specific implementation of the target gNB determining whether to reserve resources according to the current task priority information will be described in detail below, and the specific implementation of the target gNB reserving resources will be described in detail below.

[0158] In another possible implementation of case 1, after determining that the result of S305 is yes, the source gNB first determines whether the target gNB reserves resources according to the priority of the task currently executed by the UE. If the result is no, the source gNB does not send the prediction report to the target gNB, that is, S306 is not executed, and the method 300 is stopped. If the result is yes, the source gNB sends the prediction report to the target gNB, and continues to execute S307 after S306, and the target gNB starts to reserve resources according to the information of the resources required by the UE, and indicates to the source gNB that the resource reservation has been completed after the resource reservation is completed.

[0159] For example, the source gNB determines whether to reserve resources according to the priority of the task currently performed by the UE. The specific implementation manner will be described in detail below.

[0160] Case 2: If the result of S305 is no, S308 is performed, and after S308, S309 is performed.

[0161] S308, the source gNB sends a prediction report to the target gNB, and correspondingly, the target gNB receives the prediction report from the source gNB.

[0162] The prediction report includes the time length #i required for the UE to reach the critical position and the information of the resources required by the UE.

[0163] The resources required by the UE can be understood according to the description above.

[0164] S309, the target gNB determines whether the time length #i required for the UE to reach the critical position is greater than the time length #i required for reserving resources.

[0165] In a possible implementation manner, after S305 is performed for the first time, case 1 is performed before case 2, and the time length #i required for reserving resources in S309 is described in case 1.

[0166] In a possible implementation manner, after S305 is performed for the first time, case 1 is not performed and case 2 is directly performed, and before S309, the method 300 further includes: the target gNB determines the time length #i required for reserving resources according to the remaining time of other UEs that have accessed the target gNB, and the specific implementation manner will be described in detail below. The time length #i required for reserving resources can be understood according to the description above.

[0167] If the result is yes, it means that the target gNB can complete the reservation of resources before the UE reaches the critical position, corresponding to case A described below; if the result is no, it means that the target gNB cannot complete the reservation of resources before the UE reaches the critical position, corresponding to case B described below.

[0168] Case A: If the result of S309 is yes, S310 is performed, and in subsequent steps, the source gNB can perform S313 when it is perceived that the UE reaches the critical position. That is, the trigger condition for the source gNB to initiate the handover mechanism for the UE to the target gNB is that the source gNB perceives that the UE reaches the critical position.

[0169] S310, the target gNB sends a request (REQUEST) message to the source gNB, and correspondingly, the source gNB receives the request message from the target gNB.

[0170] wherein the request message indicates that the source gNB initiates the handover when it perceives that the UE reaches the critical location.

[0171] S313, the source gNB sends a handover request (HANDOVER REQUEST) message to the target gNB, and correspondingly, the target gNB receives the handover request message from the target gNB.

[0172] It can be understood that according to the request message received in S310, the source gNB sends the handover request to the target gNB in response to perceiving that the UE reaches the critical location.

[0173] Case B: the result of S309 is no, S311 and S312 are executed, and S312 triggers S313. That is, the trigger condition for the source gNB to initiate the handover mechanism for the UE to the target gNB is that the source gNB perceives that the target gNB has completed the reservation of resources.

[0174] S311, the target gNB sends a request (REQUEST) message to the source gNB, and correspondingly, the source gNB receives the request message from the target gNB.

[0175] wherein the request message indicates that the source gNB initiates the handover after receiving the indication that the reservation of resources is completed.

[0176] S312, the target gNB sends a request (REQUEST) message to the source gNB, and correspondingly, the source gNB receives the request message from the target gNB.

[0177] wherein the request message includes indication information for indicating that the reservation of resources is completed.

[0178] It can be understood that the target gNB sends the request message to the source gNB after completing the reservation of resources.

[0179] S313, the source gNB sends a handover request (HANDOVER REQUEST) message to the target gNB, and correspondingly, the target gNB receives the handover request message from the target gNB.

[0180] It can be understood that the source gNB sends the handover request to the target gNB in response to the indication information received in S312.

[0181] In case B, the source gNB can also send the handover request to the target gNB in combination with the maximum time limit of resource reservation obtained in S307, in case the triggering condition of the handover mechanism is met. For example, the source gNB sends the handover request to the target gNB within the maximum time limit of resource reservation after S312. In this way, the source gNB can initiate the handover to the target gNB before the target gNB releases the reserved resources, which can improve the success rate of handover and resource utilization.

[0182] After case A or case B, the target gNB performs admission control according to the handover request message, and allocates transmission resources and corresponding UE instances to the UE after admission.

[0183] S314 and subsequent steps are continued.

[0184] S314, the target gNB sends a handover request acknowledgement (HANDOVER REQUEST ACKNOWLEDGE) message to the source gNB, and correspondingly, the source gNB receives the handover request acknowledgement message from the target gNB.

[0185] S315, the source gNB sends an RRC reconfiguration (RRC Reconfiguration) message to the UE, and correspondingly, the UE receives the RRC reconfiguration message from the source gNB.

[0186] The RRC reconfiguration message carries handover-related configuration information, informing the UE of the upcoming handover operation and related configuration parameters after handover to the target gNB.

[0187] S316, the source gNB sends a serial number (SN) status transfer (SN STATUS TRANSFER) message to the UE, and correspondingly, the UE receives the SN status transfer message from the source gNB.

[0188] It can be understood that the SN status transfer message mainly includes data transmission state information of the UE at the source gNB side.

[0189] S317, the UE sends an RRC reconfiguration complete (RRC Reconfiguration Complete) message to the target gNB, and correspondingly, the target gNB receives the RRC reconfiguration complete message from the UE.

[0190] It can be understood that after the UE successfully applies the handover-related configuration information, the UE sends the RRC reconfiguration complete message to the target gNB. This message is an acknowledgement message for feeding back the successful application of the handover-related configuration information to the target gNB.

[0191] S318, the target gNB sends a path switch request (PATH SWITCH REQUEST) message to an access and mobility management function (AMF), and the AMF receives the path switch request message from the target gNB accordingly.

[0192] The path switch request message is used to inform the core network (for example, the AMF) that the UE has changed the cell for access, and is updated from the original cell covered by the source gNB to the target cell covered by the target gNB. The message contains the identification of the target cell and the protocol data unit (PDU) session list of the UE after the path switch.

[0193] It can be understood that after the core network receives the message, the downlink general packet radio service (GPRS) tunneling protocol user plane (GTPU) data plane is updated, and the GTPU address on the radio access network device side is modified to the address of the target gNB.

[0194] S319, the AMF sends a path switch request acknowledgment (PATH SWITCH REQUEST ACKNOWLEDG) message to the target gNB, and the target gNB receives the path switch request acknowledgment message from the AMF accordingly.

[0195] The path switch request acknowledgment message is used to respond to the path switch request message.

[0196] It can be understood that the AMF processes the PDU Session list carried in the path switch request message. Optionally, part of the PDU Session in the PDU Session list fails to be established, and the AMF indicates the PDU Session that fails to be established in the path switch request acknowledgment message. After the target gNB receives the path switch request message, the target gNB deletes the PDU Session that fails to be established in the PDU Session list.

[0197] S320, the target gNB sends a UE context release (UE CONTEXT RELEASE) message to the source gNB, and the source gNB receives the UE context release message from the target gNB accordingly.

[0198] In response to the UE context release message, the source gNB releases the context of the UE.

[0199] S321, the target gNB sends an RRC configuration (RRC Reconfiguration) message to the UE, and correspondingly, the UE receives the RRC configuration message from the target gNB.

[0200] The RRC configuration message carries MC related parameters, which are used to configure the measurement task of the UE, such as setting the measurement requirement of the UE on the signal strength of the surrounding base stations and the like.

[0201] S322, the UE sends an RRC configuration completion (RRC Reconfiguration Complete) message to the target gNB, and correspondingly, the target gNB receives the RRC configuration completion message from the UE.

[0202] The RRC configuration completion message is used to feed back to the target gNB that the related configuration required by the target gNB in the RRC configuration message is successfully completed.

[0203] The above introduces the main flow of the method 300, and the specific implementation modes of some steps are described in detail below.

[0204] As described above, the source gNB can implement S304 through Kalman filtering or particle filtering. Two specific implementation modes are introduced below based on Kalman filtering and particle filtering respectively.

[0205] Implementation mode 1: the source gNB predicts the speed #i' and the position #i' of the UE based on Kalman filtering according to the speed #i and the position #i of the UE in the measurement report in S304.

[0206] It can be understood that Kalman filtering is an algorithm for optimal estimation of system state through two steps of prediction and update, combining system model and observation data. In the prediction (prior estimation) step, the current state and uncertainty are predicted based on the system dynamic model. For example, in this application, the position and speed at the next moment are predicted according to the system model. In the update (posterior estimation) step, the predicted value is corrected by using new observation data to obtain a better estimation. For example, the predicted position is corrected by using radar measurement value to reduce error. In Kalman filtering, not only the system state is predicted, but also the covariance is predicted and the Kalman gain is calculated. The size of the predicted covariance matrix reflects the uncertainty of the predicted state. The calculation of the Kalman gain depends on the predicted covariance matrix. The Kalman gain is used to determine how to fuse the observation data and the predicted data to obtain a more accurate state estimation.

[0207] The observation data in the present application includes the speed and / or position of the UE at the i-th first time instant, and the prediction data includes the speed and / or position of the UE at the i-th future time instant. Kalman filtering is implemented according to the following formulas (1) to (5):

[0208] State prediction equation: (1);

[0209] Covariance prediction equation: (2);

[0210] Kalman gain calculation equation: (3);

[0211] State update equation: (4);

[0212] Covariance update equation: (5).

[0213] In the formulas (1) to (5), : optimal state estimation at k-1 time instant; : predicted state at k time instant obtained according to the observation data at k-1 time instant; B: control matrix; : control input at k time instant (generally set as 0 considering that the UE is not controlled); : predicted state at k-1 time instant; P: covariance matrix of the predicted state at k-1 time instant; : covariance matrix of the predicted state at k time instant, used for representing the credibility of the prediction; A: state transition matrix; Q: process noise covariance matrix; : Kalman gain at k time instant; : observation data at k time instant; H: observation matrix; R: observation noise covariance matrix; : unit matrix.

[0214] Wherein, when k=0, the speed #i and / or position #i of the UE in the measurement report in S304 are taken as ; when k≥1, the optimal state estimation at k-1 time instant is taken as ; the perception system (such as through millimeter wave radar / beam positioning, etc.) of the source gNB periodically acquires the coordinates of the UE in the coordinate system established with the target gNB as the origin, and determines the speed and / or position of the UE at k time instant according to the coordinates, as .

[0215] ​It can be understood that if S303 is executed multiple times in method 300, S304 is also executed multiple times, that is, Kalman filtering is performed according to the above formulas (1) to (5) at different times to predict the position of the UE. By connecting the positions of the UE predicted at different times, the predicted motion trajectory of the UE is obtained. In the process of predicting the motion trajectory of the UE, the source gNB can correct and update the predicted motion trajectory of the UE by the position of the UE obtained by the perception system.

[0216] Implementation 2: The source gNB predicts the speed #i' and position #i' of the UE based on particle filtering according to the speed #i and position #i of the UE in the measurement report in S304.

[0217] Particle filtering approximates a probability distribution by a set of random samples (particles) with weights. In the prediction process, the particles are updated in state by using the system model, and the particle weights are adjusted according to the observation data, and finally the system state is estimated based on these particles and their weights.

[0218] In this application, the state of the UE is approximated by particles in a particle set, and the state of the UE includes position and / or speed. The observation data in this application represents the state of the UE at K-1 time, where K-1 time corresponds to the above-mentioned i-th first time, and the state includes speed and / or position; correspondingly, the prediction data represents the predicted state of the UE at K time, where K time corresponds to the above-mentioned i-th future time, and K time speed and / or position. Particle filtering is implemented according to the following formulas (6) to (11):

[0219] Initialization: (6);

[0220] Prediction stage: (7);

[0221] Weight update: (8);

[0222] Weight normalization: (9);

[0223] Resampling: (10);

[0224] State estimation: (11).

[0225] In formula (6), : a particle set initialized, is the total number of particles, that is, the state distribution of the system is approximated by particles, : the state of the i-th particle at the initial time (k=0), : the weight of the i-th particle at the initial time, the weight of each particle at the initial time is equal, and is .

[0226] Equation (7) refers to Equation (11), and : the optimal estimation state of the UE at time K-1, : process noise, which is subject to a Gaussian distribution with a mean of 0 and a covariance of Q; represents the predicted state of the UE at time K; : the weight of the particle, which represents the importance of the estimation of the particle to the current state; : observation data at time k; : a state transition function; : an observation model; : a process noise covariance matrix; R : an observation noise variance.

[0227] wherein, when k = 0, the speed #i and / or the position #i of the UE in the measurement report in S304 are taken as ; when k ≥ 1, the optimal state estimation at time k-1 is taken as ; the perception system (such as through millimeter wave radar / beam positioning, etc.) of the source gNB periodically obtains the coordinates of the UE in a coordinate system established with the target gNB as the origin, and determines the speed and / or position of the UE at time k according to the coordinates, as .

[0228] It can be understood that if S303 is executed multiple times in method 300, S304 is also executed multiple times, that is, particle filtering is performed according to the above-mentioned Equations (6) to (11) at multiple different times, respectively, to predict the position of the UE. By connecting the positions of the UE predicted at multiple different times, respectively, the predicted motion trajectory of the UE is obtained. In the process of predicting the motion trajectory of the UE, the source gNB can correct and update the predicted motion trajectory of the UE by the position of the UE obtained by the perception system.

[0229] As described above, the source gNB can calculate the time length #i required for the UE to reach the critical position according to the predicted speed #i' and position #i' of the UE based on the logarithmic path loss model.

[0230] The time length #i required for the UE to reach the critical position in the present application can also be referred to as the time length required for the UE to reach the target gNB. Therefore, by calculating the distance between the current position of the UE and the critical position, the time length required for the UE to reach the target gNB can be further calculated.

[0231] Assuming the UE approaches the target gNB along a straight line, the position on the line connecting the UE and the target gNB where the distance to the target gNB is the critical position is called the critical position. The distance between the UE's current position and the critical position can also be called the remaining distance for the UE to reach the target gNB.

[0232] First, the critical distance is calculated using a logarithmic path loss model; then, the remaining distance is calculated based on the critical distance; finally, the estimated time required for the UE to reach the critical position is calculated based on the remaining distance.

[0233] Logarithmic path loss model:

[0234] (12);

[0235] Where PL(d) is the path loss at distance d (in dB); d represents the distance between the transmitting node and the receiving node, which physically measures the degree of spatial separation between the two points; PL(d0) is the path loss at a reference distance d0 (usually d0 = 1 km); n is the path loss exponent, which represents the rate at which path loss increases with distance, and its value depends on the environment type, and is generally set to 2 in free space; A zero-mean Gaussian distributed random variable, representing the shading effect, has a standard deviation of [missing value]. It typically varies between 3.0 and 14.1 dB.

[0236] Will and Substituting the values ​​into the above formula (12), we obtain equations (1) and (2). Subtracting the two equations, we can obtain the critical distance. .

[0237] (13);

[0238] in, For transmission power, The received power of the reference signal that triggers the switching.

[0239] (14);

[0240] in, The remaining distance. and These are the predicted x-coordinate and y-coordinate of the UE at time k, respectively. and These are the x and y coordinates of the target gNB, respectively.

[0241] Understandable, ( , )and( , ) are located in the same coordinate system. For example, taking the line connecting the target gNB and the source gNB as the y-axis and the origin as the point (0, 0), the x-axis is determined according to the right-hand rule in the plane where the base stations are located, thereby determining the coordinate system. , ) are located in the same coordinate system. For example, taking the line connecting the target gNB and the source gNB as the y-axis and the origin as the point (0, 0), the x-axis is determined according to the right-hand rule in the plane where the base stations are located, thereby determining the coordinate system.

[0242] (15);

[0243] wherein, is the time length required for the UE to reach the critical position or the time length required for the UE to reach the target gNB; is the speed of the UE at time k obtained by prediction.

[0244] As described above, the source gNB or the target gNB determines whether to reserve resources according to the current task priority information.

[0245] For example, the source gNB or the target gNB determines according to the following resource reservation decision formula:

[0246] (16);

[0247] wherein, P is the priority coefficient, which maps the service level performed by the UE; R is the requirement of the UE for the task on the delay; T is the decision threshold; is the priority weight, for example, 0.6; is the weight of the delay requirement, for example, 0.4; For example, the decision threshold and the two weights can be dynamically adjusted according to the actual situation. For example, the decision threshold can be flexibly adjusted according to the actual running situation and the change of the network environment. For example, when the priority coefficients of most services currently performed by the UE are the same, the weight of the delay requirement can be increased.

[0248] The following gives a specific implementation of the target gNB reserving resources.

[0249] In the scenario where the target gNB is in a resource shortage, the weight of the UE about to access the target gNB can be temporarily increased based on the following formula, so that the UE can get more resources.

[0250] (17);

[0251] wherein, it is assumed that there are M UEs about to access the target gNB, M ≥ 1 and M is an integer, is the weight of the mth UE in the M UEs, 1 ≤ m ≤ M, and m is an integer; is the preset static priority; and is the weight of the static priority, which is set as [0.4, 0.6]; the time length required for the mth UE to arrive at the target gNB, the reciprocal of the time length required for the mth UE to arrive at the target gNB; the time length required for the M UEs to arrive at the target gNB, respectively; denotes the reciprocal of the time length required for the M UEs to arrive at the target gNB, respectively, denotes the maximum value in the reciprocal of the time length required for the M UEs to arrive at the target gNB; can represent the time urgency of the mth UE in the M UEs to arrive at the target gNB, the smaller the value is, the greater the value is; is the weight of the time urgency, which is set to [0.4, 0.6]. . It can be flexibly adjusted according to the actual scene requirements (for example, the degree of resource shortage) .

[0252] It can be understood that the terminal device in the method 200 and the UE in the method 300 correspond to one or more UEs of the M UEs.

[0253] Taking the mth UE as an example, in the process of moving of the UE, dynamically changes. For example, each time S306 is executed, the predicted time length #i required for the UE to arrive at the critical position is also dynamically updated according to the speed #i and the position #i in the measurement report in S303. Therefore also dynamically changes.

[0254] For the UEs that have accessed, the weight is adjusted according to the remaining time for the target gNB to serve, and the UE with shorter remaining service time obtains more resources.

[0255] (18);

[0256] wherein it is assumed that there are S UEs that have accessed the target gNB, S≥1 and S is an integer, is the weight of the s th UE in the S UEs, 1≤s≤S, s is an integer; is the remaining time length for the target gNB to serve the s th UE; is the reciprocal of the remaining time length for the target gNB to serve the s th UE; is the remaining time length for the target gNB to serve the S UEs, respectively, denotes the reciprocal of the remaining time length for the target gNB to serve the S UEs, respectively, the maximum value in the reciprocal of the remaining time length for the target gNB to serve the S UEs; can represent the time urgency of the s th UE in the S UEs to end in advance, The smaller the remaining time length that the target gNB serves the UE, the greater the value, and the greater the weight of the UE, and the more resources are allocated; , and See the description of formula (17).

[0257] It can be understood that during the movement of the above M UEs, are all dynamically changing, so are also dynamically changing.

[0258] After the target gNB updates the weights of the two types of UEs according to formula (17) and formula (18), it can allocate resources according to the updated weights.

[0259] (19);

[0260] Wherein, the target gNB needs to allocate PRB for C UEs, C=M+S; represents the number of PRB allocated to the cth UE in the C UEs; represents the total number of PRB that the target gNB can allocate in total; is the weight of the cth UE, if the cth UE is a UE about to access, then According to formula (17), if the cth UE is a UE that has accessed, then According to formula (18); represents the sum of the weights of the M UEs about to access the target gNB and the S UEs that have accessed the target gNB.

[0261] In an implementation manner, according to formula (17) to (19), resources can be dynamically reserved for UEs about to access.

[0262] In order to reduce the situation that business cannot be carried out due to too low weight of individual UEs, the minimum guarantee resource of business (that is, the minimum number of allocated PRB) can be set.

[0263] The actual resource allocated to the cth UE is max( , ) (20);

[0264] Wherein, is the minimum guarantee resource of business.

[0265] It can be understood that if the total resource actually allocated to the C UEs is greater than after calculation according to formula (20), it can be considered to switch part of the UEs with lower weights to adjacent gNBs for task offloading.

[0266] In another implementation, according to formulas (17) to (20), resources can be dynamically reserved for the UE that will be accessed.

[0267] As mentioned above, the target gNB determines the duration #i required to implement the reserved resources based on the remaining time of other UEs that have already connected to the target gNB.

[0268] The target gNB can prematurely terminate service to already connected UEs; the original weights of these UEs are called... The remaining service time is After updating the weights according to formula (18), the updated weights are: The updated target gNB is the remaining service duration for the s-th UE. = Therefore, the updated target gNB is the set of remaining service durations for S UEs. The resource set occupied by the S UEs corresponding to this set is The remaining resources of the target gNB are represented as follows: The target gNB needs to reserve resources for M UEs. express.

[0269] like ≤ Then, M UEs can directly access the target gNB without reservation. This application mainly considers... > In this case, the target gNB needs to reserve resources for M UEs.

[0270] Furthermore, to satisfy In this case, if the target gNB can reserve sufficient resources for M UEs, then S307 can be executed. for The total number of all PRBs in the system. If this condition is not met, after S306, execution of method 300 will stop.

[0271] Furthermore, In the case of taking The maximum value in This refers to the longest remaining service time, which is the duration required to fulfill the reserved resources. This ensures that the target gNB has terminated service to all S UEs by the time the required duration for fulfilling the reserved resources is reached.

[0272] It is understandable that when executing S303 to S307 multiple times, the time #i required to reserve the resources can be determined in the above manner each time S307 is executed. Similarly, the time #i required to reserve the resources can be determined in the above manner when executing S308.

[0273] As mentioned above, the target gNB determines the maximum time limit for which resources can be reserved based on the estimated time #i required for the UE to reach the critical position and the current task priority information.

[0274] For example, it can be determined according to the following formula:

[0275] =min( , + +P× ) (twenty one);

[0276] in, This indicates the maximum time period for which resources can be reserved. The estimated time required for the UE to reach the target gNB; : Prediction error compensation, which is adaptively adjusted based on the historical error of the prediction model; P: Priority coefficient, as described above; : Reserve basic time for resources; The maximum duration of resource reservation. Among them, and It's pre-set.

[0277] The beneficial effects of communication method 300 can be found in the beneficial effects of the relevant content in communication method 200, and will not be repeated here.

[0278] It should be understood that Figures 2 to 3 The flowcharts or scene diagrams shown are for illustrative purposes only and are not intended to limit the embodiments of this application to the examples illustrated. In fact, those skilled in the art can interpret the embodiments based on... Figures 2 to 3 The examples in the document can be transformed into equivalent ways to obtain more implementations.

[0279] The above text combined Figures 2 to 3 This document describes in detail the communication method provided in the embodiments of this application. The following will combine... Figures 4 to 5 The device embodiments of this application are described in detail below. It should be understood that the communication device of this application embodiment can execute the various communication methods of the foregoing embodiments of this application, that is, the specific working processes of the various products below can be referred to the corresponding processes in the foregoing method embodiments.

[0280] In the embodiments above, the terminal device can perform some or all of the steps in the embodiments; the network device can perform some or all of the steps in the embodiments. These steps or operations are merely examples, and the embodiments of the present application can also perform other operations or variations of various operations. In addition, the various steps can be performed in different orders presented in the embodiments, and it is possible that not all operations in the embodiments of the present application are performed. Moreover, the magnitude of the serial number of each step does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0281] Figure 4 A schematic block diagram of a communication apparatus provided by the embodiments of the present application is shown in FIG. 10. As shown in FIG. 10, the communication apparatus 1000 can include a communication module 1010. The communication module 1010 can implement a corresponding communication function, which can be an internal communication function of the communication apparatus 1000, or a communication function of the communication apparatus 1000 and other apparatuses. Alternatively, the communication module 1010 can also be referred to as a communication interface or a transceiver module. Alternatively, the communication apparatus 1000 further includes a processing module 1020. The processing module 1020 can implement a corresponding processing function. Figure 4

[0282] Alternatively, the communication apparatus 1000 further includes a storage module, which can be used to store instructions and / or data; the processing module 1020 can read the instructions and / or data in the storage module, so that the communication apparatus 1000 implements the foregoing method embodiments.

[0283] In a possible design, the communication apparatus 1000 can correspond to the source network device in the foregoing method embodiments, or be a component (such as a circuit, a chip or a chip system, etc.) configured in the source network device. The communication apparatus 1000 can be used to perform steps or processes performed by the source network device in any of the foregoing method embodiments.

[0284] For example, the communication module 1010 is configured to receive a first position and a first speed from a first network device, the first position being a position of the first network device relative to a target network device, and the first speed being a speed at which the first network device moves; send, to the target network device, a first time length according to the first position and the first speed, the first time length being a time length expected for the first network device to move to a coverage range of the target network device; receive first indication information from the target network device, the first indication information indicating a time for the source network device to send a handover request message, the first indication information being determined based on the first time length; and send, to the target network device, the handover request message according to the first indication information, the handover request being used to request the target network device to allocate resources for the first network device.

[0285] ​Optionally, the first indication information indicates that the handover request message is sent in a case that the terminal device moves into a coverage of the target network device, and the communication module 1010 is further configured to send the handover request message to the target network device in response to detecting that the terminal device moves into the coverage of the target network device.

[0286] Optionally, the first indication information indicates that the handover request message is sent in a case that the target network device has reserved resources for the terminal device, and the communication module 1010 is further configured to send the handover request message, receive second indication information from the target network device, the second indication information indicating that the resources have been reserved for the terminal device, and send the handover request message to the target network device in response to the second indication information.

[0287] Optionally, the first position is a position of the terminal device relative to the target network device at a first time, and the first speed is a speed of the terminal device at the first time, and the processing module 1020 is configured to predict a second position and a second speed of the terminal device according to the first position and the first speed of the terminal device at the first time, the second position being a position of the terminal device relative to the target network device at a second time, and the second speed being a speed of the terminal device at the second time, wherein the second time is later than the first time, and determine the first time length according to the second position and the second speed.

[0288] Optionally, the processing module 1020 is further configured to determine whether the target network device reserves resources for the terminal device according to a priority of a task performed by the terminal device, and the communication module 1010 is further configured to send third indication information to the target network device in a case that it is determined that the target network device reserves resources for the terminal device, the third indication information including information of resources required by the terminal device, and the third indication information indicating that the target network device reserves resources for the terminal device.

[0289] The above is only an example, and detailed steps or processes can refer to the descriptions of the foregoing embodiments. The above example is an implementation of a source network device corresponding to the various communication methods of the foregoing embodiments of the present application, and the descriptions of the explanations, supplements and benefits of the various communication methods of the foregoing embodiments of the present application are also applicable to the above example, and will not be described herein.

[0290] In a possible design, the communication apparatus 1000 can correspond to the target network device in the foregoing method embodiments, or be a component (such as a circuit, a chip or a chip system, etc.) configured in the second network device. The communication apparatus 1000 can be configured to perform the steps or processes performed by the second network device in any of the foregoing method embodiments.

[0291] For example, the communication module 1010 is configured to receive a first time length from the source network device, the first time length being a time length required for the terminal device to move into a coverage range of the target network device; send first indication information to the source network device according to the first time length and a second time length, the second time length being a time length required for reserving resources for the terminal device, the first indication information indicating a time for the source network device to send a handover request message; and receive the handover request message from the source network device, the handover request being used to request the target network device to allocate resources for the terminal device.

[0292] Optionally, in a case where the first time length is greater than the second time length, the first indication information indicates that the handover request message is sent in a case where the terminal device moves into the coverage range of the target network device.

[0293] Optionally, in a case where the first time length is less than or equal to the second time length, the first indication information indicates that the handover request message is sent in a case where the target network device has reserved resources for the terminal device, and the communication module 1010 is further configured to send second indication information to the source network device, the second indication information indicating that the resources have been reserved for the terminal device.

[0294] Optionally, the target network device is currently serving other terminal devices, and the processing module 1020 is configured to obtain a remaining time length for serving the other terminal devices; and in a case where a required amount of resources of the terminal device is greater than or equal to an amount of resources not occupied by the other terminal devices, determine a maximum value in the remaining time length for serving the other terminal devices as the second time length.

[0295] Optionally, the other terminal devices include a first other terminal device and a second other terminal device, and the processing module 1020 is further configured to acquire a first initial remaining time duration for the first other terminal device and a second initial remaining time duration for the second other terminal device, where the first initial remaining time duration corresponds to a first initial weight of the first other terminal device, the first initial weight is further used to determine a quantity of resources allocated to the first other terminal device, the second initial remaining time duration corresponds to a second initial weight of the second other terminal device, and the second initial weight is further used to determine a quantity of resources allocated to the second other terminal device; the processing module 1020 is further configured to determine a first weight of the first other terminal device according to the first initial remaining time duration and a maximum value of the first initial remaining time duration and the second initial remaining time duration, the first initial remaining time duration being negatively correlated with the first weight, and the first weight being further used to update the quantity of resources allocated to the first other terminal device; the processing module 1020 is further configured to obtain a first remaining time duration of the first other terminal device according to the first initial weight, the first weight, and the first initial remaining time duration, the first weight being negatively correlated with the first remaining time duration; the processing module 1020 is further configured to determine a second weight of the second other terminal device according to the second initial remaining time duration and the maximum value of the first initial remaining time duration and the second initial remaining time duration, the second initial remaining time duration being negatively correlated with the second weight, and the second weight being further used to update the quantity of resources allocated to the second other terminal device; the processing module 1020 is further configured to obtain a second remaining time duration of the second other terminal device according to the second initial weight, the second weight, and the second initial remaining time duration, the second weight being negatively correlated with the second remaining time duration; and the processing module 1020 is further configured to take the first remaining time duration and the second remaining time duration as the remaining time durations for the other terminal devices.

[0296] Optionally, the processing module 1020 is further configured to determine a third weight of the terminal device according to the first time duration, the third weight being negatively correlated with the first time duration; the processing module 1020 is further configured to determine a fourth weight of the other terminal devices according to the remaining time duration, the fourth weight being negatively correlated with the remaining time duration; and the processing module 1020 is further configured to determine a quantity of resources reserved for the terminal device according to the third weight, the fourth weight, and the quantity of resources allocable by the target network device, where the quantity of resources reserved for the terminal device is positively correlated with the third weight and negatively correlated with the fourth weight.

[0297] Optionally, the processing module 1020 is further configured to determine a first time duration threshold according to the first time duration and a priority of a task performed by the terminal device, and release the reserved resources in response to detecting that the reserved resources have not been used by the terminal device in a case where a time duration after the resources are reserved is greater than the first time duration threshold.

[0298] Optionally, the communication module 1010 is further configured to receive a first duration and resource information from the source network device, wherein the resource information indicates the resources required by the terminal device and the resource information also indicates the target network device to reserve resources for the terminal device; the processing module 1020 is further configured to, in response to the resource information, calculate a second duration and reserve resources for the terminal device.

[0299] Optionally, the processing module 1020 is further configured to determine whether to reserve resources for the terminal device based on the priority of the task performed by the terminal device; if it is determined that resources are reserved for the terminal device, the second duration is calculated based on the resource information; the communication module 1010 is further configured to send the second duration to the source network device, the second duration indicating that resources are reserved for the terminal device.

[0300] The above are merely examples; detailed steps or processes can be found in the descriptions of the foregoing embodiments. The above examples illustrate the implementation of target network devices corresponding to various communication methods in the foregoing embodiments of this application. The explanations, supplements, and descriptions of beneficial effects in the various communication methods in the foregoing embodiments of this application also apply to the above examples and will not be repeated here.

[0301] Figure 5 This is another schematic block diagram of the communication device provided in the embodiments of this application. The communication device 2000 may be a chip, chip system, or processor, etc., in a terminal device or network device that implements the above-described methods. The communication device 2000 can be used to implement the methods described in the above-described method embodiments; for details, please refer to the descriptions in the above-described method embodiments.

[0302] like Figure 5 As shown, the communication device 2000 may include one or more processors 2010, which may also be referred to as processing units or processing modules, and can implement certain control functions. The processor 2010 may be a general-purpose processor or a dedicated processor, such as a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, while the central processing unit can be used to control the communication device 2000 (e.g., a base station, baseband chip, user, user chip), execute software programs, and process data from the software programs.

[0303] In an alternative design, the processor 2010 may also store instructions and / or data that can be executed by the processor 2010 to cause the communication device 2000 to perform the methods described in the above method embodiments.

[0304] In another alternative design, the communication device 2000 can include a communication interface 2020 for implementing the receiving and transmitting functions. For example, the communication interface 2020 can be a transceiver circuit, an interface, an interface circuit, or a transceiver, etc. The transceiver circuit, the interface, the interface circuit, or the transceiver for implementing the receiving and transmitting functions can be separate or integrated together. The transceiver circuit, the interface, the interface circuit, or the transceiver described above can be used for reading and writing of codes / data, or the transceiver circuit, the interface, the interface circuit, or the transceiver described above can be used for transmission or transfer of signals.

[0305] Optionally, one or more memories 2030 can be included in the communication device 2000, and instructions can be stored in the memories 2030, which can be executed on the processor 2010, so that the communication device 2000 performs the methods described in the above method embodiments. Optionally, data can also be stored in the memories 2030. Optionally, instructions and / or data can also be stored in the processor 2010. The processor 2010 and the memories 2030 can be separately arranged or integrated together.

[0306] It should be understood that, in a possible design, the steps in the method embodiments provided in the present application can be completed by integrated logic circuits of hardware in the processor or instructions in the form of software. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being completed by a hardware processor, or being completed by a combination of hardware and software modules in the processor. The software modules can be located in random access memories, flash memories, read-only memories, programmable read-only memories, or electrically erasable programmable memories, registers, or other mature storage media in the art. The storage media are located in the memories, and the processor reads information in the memories and combines hardware to complete the steps of the above method. To avoid repetition, they will not be described in detail here.

[0307] In an implementation, the communication device 2000 can correspond to the terminal device in the above method embodiments, and can be used to execute the steps and / or processes performed by the terminal device in the above method embodiments. The processor 2010 can be used to execute the instructions stored in the memories 2030, and when the processor 2010 executes the instructions stored in the memories, the processor 2010 is used to execute the steps and / or processes of the above method embodiments corresponding to the terminal device.

[0308] In another implementation, the communication device 2000 can correspond to the network device in the above method embodiments, and can be used to execute the steps and / or processes performed by the network device in the above method embodiments. The processor 2010 can be used to execute the instructions stored in the memories 2030, and when the processor 2010 executes the instructions stored in the memories, the processor 2010 is used to execute the steps and / or processes of the above method embodiments corresponding to the network device.

[0309] It should be understood that the above-mentioned processing device can be one or more chips. For example, the processing device can be a field programmable gate array (FPGA), can be an application specific integrated circuit (ASIC), can be a system on chip (SoC), can be a central processor unit (CPU), can be a network processor (NP), can be a digital signal processor (DSP), can be a micro controller unit (MCU), can be a programmable logic device (PLD), or other integrated chip.

[0310] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM) 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 SDRAM (ESDRAM), synchlink DRAM (SLDRAM) and direct rambus RAM (DR RAM). It should be noted that the memory of the system and method described herein is intended to include, but not limited to, these and any other suitable types of memory.

[0311] According to the method provided in the embodiments of the present application, the present application further provides a chip system, which comprises one or more processors, and is configured to call and run instructions stored in a memory, so that the method provided in the embodiments of the present application is executed. The chip system can be composed of a chip, or can comprise a chip and other discrete devices.

[0312] The chip system can comprise input circuitry or an interface for sending information or data, and output circuitry or an interface for receiving information or data.

[0313] According to the method provided in the embodiments of the present application, the present application further provides a communication system, which comprises the network device and the terminal device described above.

[0314] According to the method provided in the embodiments of the present application, the present application further provides a computer program product, which comprises computer program codes, and when the computer program codes are run on a computer, the computer is caused to execute each step or flow of the network device and the terminal device in any of the method embodiments described above.

[0315] According to the method provided in the embodiments of the present application, the present application further provides a computer readable storage medium, which stores program codes, and when the program codes are run on a computer, the computer is caused to execute each step or flow of the network device and the terminal device in any of the method embodiments described above.

[0316] The computer readable storage medium can be the volatile memory or the non-volatile memory described above, or can comprise both the volatile memory and the non-volatile memory.

[0317] In the embodiments of the present application, each term and English abbreviation is an exemplary example given for convenience of description, and should not constitute any limitation on the present application. The present application does not exclude the possibility of defining other terms capable of achieving the same or similar functions in the existing or future protocols.

[0318] In the above embodiments, all or part of the embodiments can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of the embodiments can be realized in the form of a computer program product. The computer program product comprises one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.

[0319] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the division of the above-described device embodiment is only a logical function division, and there can be another division manner for actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0320] It should be understood that, in various embodiments of the present application, the sequence of the processes does not mean the execution sequence, and the execution sequence of the processes should be determined according to the functions and the inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0321] In summary, the above description is only the preferred embodiment of the technical scheme of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. A communication method applied to a source network device, characterized in that, The method comprises: receiving a first position and a first speed from a terminal device, the first position being a position of the terminal device relative to a target network device, and the first speed being a speed at which the terminal device moves; sending a first time length to the target network device according to the first position and the first speed, the first time length being a time length expected to be required for the terminal device to move into a coverage range of the target network device; receiving first indication information from the target network device, the first indication information indicating a timing at which a handover request message is to be sent by the source network device, the first indication information being determined based on the first time length; sending a handover request message to the target network device according to the first indication information, the handover request being used to request the target network device to allocate resources for the terminal device.

2. The communication method according to claim 1, characterized by, The first indication information indicates that the handover request message is to be sent in a case where the terminal device moves into the coverage range of the target network device, and the sending of the handover request message to the target network device according to the first indication information comprises: sending the handover request message to the target network device in response to detecting that the terminal device moves into the coverage range of the target network device.

3. The communication method according to claim 1, wherein, The first indication information indicates that the handover request message is to be sent in a case where the target network device has reserved resources for the terminal device, and the sending of the handover request message to the target network device according to the first indication information comprises: receiving second indication information from the target network device, the second indication information indicating that resources have been reserved for the terminal device; sending the handover request message to the target network device in response to the second indication information.

4. The communication method according to any one of claims 1 to 3, characterized by, The first position is a position of the terminal device at a first time relative to the target network device, and the first speed is a speed at which the terminal device moves at the first time, and the method further comprises: predicting a second position and a second speed of the terminal device according to the first position and the first speed of the terminal device at the first time, the second position being a position of the terminal device at a second time relative to the target network device, and the second speed being a speed at which the terminal device moves at the second time, wherein the second time is later than the first time; determining the first time length according to the second position and the second speed.

5. The communication method according to any one of claims 1 to 3, characterized by, The method further comprises: determining whether the target network device reserves resources for the terminal device according to a priority of a task performed by the terminal device; in a case where it is determined that the target network device reserves resources for the terminal device, sending third indication information to the target network device, the third indication information comprising information of resources required by the terminal device, and the third indication information indicating that the target network device reserves resources for the terminal device.

6. A communication method applied to a target network device, comprising: The method comprises: receiving a first time length from a source network device, the first time length being a time length expected to be required for a terminal device to move into a coverage range of the target network device; sending first indication information to the source network device according to the first time length and the second time length, wherein the second time length is a time length required for reserving resources for the terminal device, and the first indication information indicates a time for the source network device to send a handover request message; receiving the handover request message from the source network device, wherein the handover request is used to request the target network device to allocate resources for the terminal device.

7. The communication method of claim 6, wherein, in a case where the first time length is greater than the second time length, the first indication information indicates that the handover request message is sent in a case where the terminal device moves to a coverage range of the target network device.

8. The communication method according to claim 6, wherein, in a case where the first time length is less than or equal to the second time length, the first indication information indicates that the handover request message is sent in a case where the target network device has reserved resources for the terminal device, and the method further comprises: sending second indication information to the source network device, wherein the second indication information indicates that resources have been reserved for the terminal device.

9. The communication method according to claim 6, wherein, the target network device currently serves other terminal devices based on first resources, and a resource currently not occupied by the target network device is second resources, and the method further comprises: obtaining a remaining time length for serving the other terminal devices; in a case where a number of resources required by the terminal device is greater than or equal to a number of the second resources, determining a maximum value in the remaining time length for serving the other terminal devices as the second time length.

10. The communication method according to claim 9, wherein, the other terminal devices include a first other terminal device and a second other terminal device, and the obtaining of the remaining time length for serving the other terminal devices comprises: obtaining a first initial remaining time length for serving the first other terminal device and a second initial remaining time length for serving the second other terminal device, wherein the first initial remaining time length corresponds to a first initial weight of the first other terminal device, the first initial weight is used to determine a number of resources allocated to the first other terminal device, and the second initial remaining time length corresponds to a second initial weight of the second other terminal device, the second initial weight is used to determine a number of resources allocated to the second other terminal device; determining a first weight of the first other terminal device according to the first initial remaining time length and a maximum value in the first initial remaining time length and the second initial remaining time length, the first initial remaining time length is negatively related to the first weight, and the first weight is used to update the number of resources allocated to the first other terminal device; obtaining a first remaining time length of the first other terminal device according to the first initial weight, the first weight, and the first initial remaining time length, the first weight is negatively related to the first remaining time length. determining a second weight of the second other terminal device according to the second initial remaining time length and a maximum value of the first initial remaining time length and the second initial remaining time length, the second initial remaining time length being negatively related to the second weight, the second weight being used to update a number of resources allocated to the second other terminal device; obtaining a second remaining time length of the second other terminal device according to the second initial weight, the second weight and the second initial remaining time length, the second weight being negatively related to the second remaining time length; taking the first remaining time length and the second remaining time length as the remaining time length for serving the other terminal devices.

11. The communication method according to claim 9 or 10, characterized by, The method further comprises: determining a third weight of the terminal device according to the first time length, the third weight being negatively related to the first time length; determining a fourth weight of the other terminal device according to the remaining time length, the fourth weight being negatively related to the remaining time length; determining a number of resources reserved for the terminal device according to the third weight, the fourth weight and a number of resources allocatable by a target network device, wherein the number of resources reserved for the terminal device is positively related to the third weight and negatively related to the fourth weight.

12. The communication method according to any one of claims 6 to 10, characterized by, The method further comprises: determining a first time length threshold according to the first time length and a priority of a task performed by the terminal device; in a case where a time length after the reserved resources are completed is greater than the first time length threshold, releasing the reserved resources in response to detecting that the reserved resources have not been used by the terminal device.

13. The communication method according to any one of claims 6 to 10, characterized by, The method further comprises: receiving resource information from a source network device, the resource information indicating resources required by the terminal device, the resource information further indicating that the target network device reserves resources for the terminal device; calculating the second time length and reserving resources for the terminal device in response to the resource information.

14. The communication method according to any one of claims 6 to 10, characterized by, The method further comprises: determining whether to reserve resources for the terminal device according to a priority of a task performed by the terminal device; in a case where it is determined to reserve resources for the terminal device, calculating the second time length; sending the second time length to the source network device, the second time length indicating that resources are reserved for the terminal device.

15. An apparatus, comprising: The apparatus comprises at least one processor coupled with a memory, the memory storing programs or instructions, the processor executing the programs or instructions to cause the apparatus to perform the method of any one of claims 1 to 5, or the processor executing the programs or instructions to cause the apparatus to perform the method of any one of claims 6 to 14.

16. A computer readable storage medium having stored thereon a computer program or instructions, characterized in that, The computer programs or instructions, when executed, cause a computer to perform the method of any one of claims 1 to 5, or cause a computer to perform the method of any one of claims 6 to 14.

Citation Information

Patent Citations

  • Method and system for resource allocation in a wireless communication network

    US20080049676A1

  • Resource reservation method and apparatus, access point, and network server

    US20170105146A1