A communication method and device

By obtaining the complete movement history information of the terminal device during the RRC connection re-establishment process, the problem that the target base station cannot evaluate the movement speed and select an appropriate cell is solved, and the success rate of cell handover is improved.

CN114616868BActive Publication Date: 2024-10-11HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN201980101948.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-08
Publication Date
2024-10-11
Estimated Expiration
2039-11-08

AI Technical Summary

Technical Problem

During the RRC connection re-establishment process, when the target base station does not receive the handover request message, it cannot obtain the complete movement history information of the terminal device, resulting in a high probability of handover failure.

Method used

By sending a request message from the first network device to the second network device, the context of the terminal device is obtained, including the movement history information recorded by the terminal device and the movement history information recorded by the network device, thereby evaluating the movement speed of the terminal device and setting appropriate measurements. parameter.

Benefits of technology

The success rate of cell handover is improved, the probability of handover failure is reduced, and the terminal equipment is ensured to select an appropriate target cell.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114616868B_ABST
    Figure CN114616868B_ABST
Patent Text Reader

Abstract

The present application discloses a communication method and device, which are applied to the field of mobile communications. The method includes a first network device sending a first message to a second network device, the first message is used to request the second network device to obtain the context of the terminal device; the first network device receives a second message from the second network device, the second message includes first mobile history information and second mobile history information, the first mobile history information is recorded by the terminal device, the second mobile history information is recorded by the network device, and the second message is a response message to the first message. Through this method, a network device without a terminal device context can obtain complete mobile history information of the terminal device, so that based on the complete mobile history information, for example, appropriate measurement parameters can be set, and then a suitable target cell can be selected for switching, so as to reduce the probability of cell switching failure and the number of switching times of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] When a terminal device establishes a connection with a base station, for example, enters a radio resource control (RRC) connection state, a radio link failure or a handover failure may occur, which may trigger the terminal device to perform an RRC connection re-establishment process to ensure communication continuity.

[0003] During the RRC connection reestablishment process performed by the terminal device, the terminal device performs a cell selection process to select a target cell, thereby initiating an RRC connection reestablishment process on the target cell to reestablish the RRC connection.

[0004] If the terminal device supports the mobile history information recording function, the terminal device enters the RRC connected state from the idle state, or enters the RRC connected state from the deactivated state, and the terminal device can inform the current serving base station that there is available mobile history information. When the serving base station needs the mobile history information, it can request the terminal device to report the mobile history information. After the terminal device enters the RRC connected state, the network device will record the mobile history information of the terminal device after entering the connected state. In the subsequent cell switching process, the source base station sends a switching request message to the target base station, and the switching request message will carry the mobile history information recorded by the network device and the mobile history information reported by the terminal device. In this way, the target base station can evaluate the moving speed of the terminal device based on the mobile history information recorded by the network device and the mobile history information reported by the terminal device, for example, and then can set appropriate measurement parameters according to the evaluated moving speed, and select a suitable target cell for subsequent cell switching, thereby reducing the probability of cell switching failure and the number of switching times of the terminal device.

[0005] However, during the RRC connection re-establishment process, according to the current standard protocol, if the target base station has not received the switching request message from the source base station, that is, the target base station where the target cell selected by the terminal device is located does not have the context of the terminal device, then the target base station cannot obtain the complete mobile history information of the terminal device. This results in the target base station being unable to set appropriate measurement parameters based on the mobile history information of the terminal device, and being unable to select a suitable target cell for the terminal device, resulting in a higher probability of switching failure. Summary of the invention

[0006] The present application provides a communication method and apparatus for reducing the probability of cell switching failure of a terminal device.

[0007] The embodiments of the present application provide a communication method and apparatus for reducing the probability of cell switching failure of a terminal device.

[0008] In a first aspect, a first communication method is provided, the method comprising: a first network device sends a first message to a second network device, the first message being used to request the second network device to obtain the context of a terminal device; the first network device receives a second message from the second network device, the second message comprising first mobile history information and second mobile history information, the first mobile history information being recorded by the terminal device, the second mobile history information being recorded by the network device, and the second message being a response message to the first message.

[0009] It is understandable that the method of the first aspect can be performed by a first device, which can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. Exemplarily, the communication device is a network device, such as a base station.

[0010] According to a second aspect, a second communication method is provided, which includes: a second network device receives a first message from a first network device, the first message is used to request the second network device to obtain the context of a terminal device; the second network device sends a second message to the first network device, the second message includes first mobile history information and second mobile history information, the first mobile history information is recorded by the terminal device, the second mobile history information is recorded by the network device, and the second message is a response message to the first message.

[0011] It is understandable that the method of the second aspect can be performed by a second device, which can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. Exemplarily, the communication device is a network device, such as a base station.

[0012] In some embodiments of the first aspect and the second aspect, the terminal device needs to re-establish a connection with a certain network device. For example, the first network device can be a target network device, and the second network device can be a device previously connected to the terminal device in communication, that is, the terminal device switches from the second network device to the first network device. The second network device can provide the mobile history information recorded by the terminal device, that is, the mobile history information before the terminal device enters the connected state. At the same time, the second network device can also provide the mobile history information of the terminal device recorded by the network device, that is, the mobile history information of the terminal device in the connected state. Even in a possible scenario, the first network device does not have the context of the terminal device, and can obtain the first mobile history information and the second mobile history information from the second network device. Therefore, the first network device can more accurately evaluate the moving speed of the terminal device based on the first mobile history information and the second mobile history information, and then set the measurement parameters of the appropriate terminal device, and select a more suitable target cell for the terminal device, so as to improve the success rate of the cell switching of the terminal device.

[0013] In the embodiment of the first aspect, the first network device processes the first movement history information and the second movement history information differently according to different scenarios in which the terminal device establishes a connection, which may be:

[0014] Exemplarily, before the first network device sends a first message to the second network device, if it receives an RRC re-establishment request message from a terminal device; then after the first network device receives the second message from the second network device, the first network device saves the first mobility history information and the second mobility history information.

[0015] Exemplarily, before the first network device sends a first message to the second network device, if it receives an RRC recovery request message from the terminal device; then after the first network device receives the second message from the second network device, the first network device discards the first mobile history information and the second mobile history information.

[0016] The above two exemplary schemes, that is, if the second network device sends the first mobile history information and the second mobile history information to the first network device by default, then the first network device obtains the first mobile history information and the second mobile history information, and can determine the scenario in which the terminal device establishes a connection with the first network device, such as an RRC re-establishment scenario or an RRC recovery scenario, thereby determining to save or discard the first mobile history information and the second mobile history information according to the scenario in which the terminal device establishes a connection with the first network device. For example, if the first network device determines that the terminal device sends an RRC re-establishment request message, it determines that the scenario in which the terminal device establishes a connection with the first network device is an RRC re-establishment scenario, and determines to save the first mobile history information and the second mobile history information. If the first network device determines that the terminal device sends an RRC recovery request message, it determines that the scenario in which the terminal device establishes a connection with the first network device is an RRC recovery scenario, and discards the first mobile history information and the second mobile history information. This can avoid the first network device using incomplete mobility history information. For example, in the RRC recovery scenario, the terminal device may have performed a cell reselection in a deactivated state, but the second mobility history information recorded by the second network device may not include the mobility history information of the terminal device performing the cell reselection, that is, the second mobility history information is incomplete.

[0017] In the embodiment of the second aspect, the second network device processes the first movement history information and the second movement history information differently according to different scenarios in which the terminal device establishes a connection, which may be:

[0018] Exemplarily, the first message carries the context identifier of the terminal device, and the second network device determines that the type of the context identifier is RRC re-establishment. The second network device determines that the second message includes the first mobile history information and the second mobile history information, and sends the second message to the first network device.

[0019] Exemplarily, the second network device determines that the terminal device is in an RRC connected state, then the second network device determines that the second message includes the first mobility history information and the second mobility history information, and sends the second message to the first network device.

[0020] In this scheme, the second network device determines whether to send the first mobile history information and the second mobile history information to the first network device based on the scenario in which the terminal device establishes a connection with the first network device, such as an RRC re-establishment scenario or an RRC recovery scenario, thereby eliminating the need for the first network device to determine whether to discard the received first mobile history information and second mobile history information.

[0021] The above two exemplary schemes provide two schemes for the second network device to determine that the scenario in which the terminal device establishes a connection with the first network device is an RRC re-establishment scenario. For example, the second network device can determine the scenario in which the terminal device establishes a connection with the first network device based on the type of the context identifier of the terminal device. If the type of the context identifier of the terminal device is RRC re-establishment, then the scenario in which the terminal device establishes a connection with the first network device is determined to be an RRC re-establishment scenario. Or for another example, the second network device can determine the scenario in which the terminal device establishes a connection with the first network device based on the state of the terminal device. If the terminal device is in an RRC connected state, then the scenario in which the terminal device establishes a connection with the first network device is determined to be an RRC re-establishment scenario.

[0022] Of course, if the second network device determines that the type of the context identifier of the terminal device is RRC recovery, then the scenario in which the terminal device establishes a connection with the first network device is determined to be an RRC recovery scenario; or if the terminal device is in an RRC deactivated state, then the scenario in which the terminal device establishes a connection with the first network device is determined to be an RRC recovery scenario. Then the second network device determines not to send the first mobile history information and the second mobile history information to the first network device. In this way, the first network device receives and saves the first mobile history information and the second mobile history information. If the first mobile history information and the second mobile history information are not received, the mobile history information can be obtained from the terminal device when needed, such as during the RRC recovery process.

[0023] Exemplarily, the second network device receives a first message from the first network device, where the first message is used to request the second network device to obtain a context of the terminal device;

[0024] The second network device sends a second message to the first network device, where the second message is a response message to the first message, wherein:

[0025] The first message carries a context identifier of the terminal device, and the type of the context identifier is RRC recovery, then the second message does not include the first mobility history information and the second mobility history information; or, the terminal device is in an RRC deactivated state, then the second message does not include the first mobility history information and the second mobility history information, wherein the first mobility history information is recorded by the terminal device, and the second mobility history information is recorded by the network device.

[0026] According to a third aspect, a first communication method is provided, which includes: a terminal device sends an RRC re-establishment request message to a first network device; the terminal device receives an RRC re-establishment message from the first network device; the terminal device sends an RRC re-establishment completion message to the first network device, and the RRC re-establishment completion message includes first indication information, and the first indication information is used to indicate that the terminal device has available mobile history information.

[0027] It is understandable that the method of the third aspect can be performed by a third device, which can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. Exemplarily, the communication device is a terminal device.

[0028] In a fourth aspect, a first communication method is provided, the method comprising: a first network device receives an RRC re-establishment request message from a terminal device; the first network device sends an RRC re-establishment message to the terminal device; the first network device receives an RRC re-establishment completion message from the terminal device, the RRC re-establishment completion message comprising first indication information, and the first indication information is used to indicate that the terminal device has available mobile history information.

[0029] It is understandable that the method of the fourth aspect can be performed by a first device, which can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. Exemplarily, the communication device is a network device, such as a base station.

[0030] In some embodiments of the third aspect and the fourth aspect above, when the terminal device re-establishes RRC with the first network device, the terminal device can inform the first network device that the terminal device has available mobility history information. For example, the RRC re-establishment completion message sent by the terminal device to the first network device may include indication information indicating that the terminal device has available mobility history information. In this way, even if the first network device does not have the context of the terminal device, it can obtain the mobility history information of the terminal device from the terminal device, that is, relatively complete mobility history information. Therefore, the first network device can more accurately evaluate the historical mobility speed of the terminal device based on the mobility history information, and then set appropriate measurement parameters for the terminal device, and select a more suitable target cell for the terminal device, thereby improving the success rate of cell switching of the terminal device.

[0031] In an embodiment of the third aspect, the terminal device can provide mobile history information for the first network device. Exemplarily, the terminal device receives a first message from the first network device, and the first message is used to request to obtain the mobile history information; the terminal device sends a second message to the first network device, and the second message includes the mobile history information.

[0032] In an embodiment of the fourth aspect, the first network device can obtain the mobile history information of the terminal device from the terminal device when the mobile history information of the terminal device is needed. Exemplarily, the first network device sends a first message to the terminal device based on the first indication information, and the first message is used to request to obtain the mobile history information; the first network device receives a second message from the terminal device, and the second message includes the mobile history information.

[0033] For example, the first message is a message requesting the terminal device to report the mobility history information, and the second message may include the mobility history information, so that the first network device obtains the mobility history information. The first network device can avoid receiving unnecessary mobility history information when necessary.

[0034] It should be understood that in some embodiments of the first aspect above, the terminal device sends an RRC re-establishment completion message to the first network device, and the RRC re-establishment completion message includes first indication information, and the first indication information is used to indicate that the terminal device has available mobility history information.

[0035] In some embodiments of the second aspect above, the first network device receives an RRC re-establishment completion message from the terminal device, and the RRC re-establishment completion message includes first indication information, and the first indication information is used to indicate that the terminal device has available mobility history information.

[0036] By adopting this solution, the second network device can provide the first mobile history information and the second mobile history information, the terminal device can provide the available mobile history information, and the first network device can determine to obtain the required mobile history information from the second network device or the terminal device. It is more flexible and better meets actual needs.

[0037] In a fifth aspect, a communication device is provided. The beneficial effects can be found in the description of the first aspect, which will not be described in detail here. The communication device has the function of implementing the behavior in the method embodiment of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a sending unit for sending a first message to a second network device, wherein the first message is used to request the second network device to obtain the context of the terminal device; a receiving unit for receiving a second message from the second network device, wherein the second message includes first mobile history information and second mobile history information, wherein the first mobile history information is recorded by the terminal device, the second mobile history information is recorded by the network device, and the second message is a response message to the first message. These modules can perform the corresponding functions in the method example of the first aspect, and refer to the detailed description in the method example for details, which will not be described here.

[0038] Regarding the technical effects brought about by the fifth aspect or various possible implementations of the fifth aspect, reference may be made to the introduction to the technical effects of the first aspect or various possible implementations of the first aspect.

[0039] In a sixth aspect, a communication device is provided. The beneficial effects can be found in the description of the second aspect, which will not be repeated here. The communication device has the function of implementing the behavior in the method embodiment of the second aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a receiving unit for receiving a first message from a first network device, the first message being used to request the communication device to obtain the context of a terminal device; a sending unit for sending a second message to the first network device, the second message including first mobile history information and second mobile history information, the first mobile history information being recorded by the terminal device, the second mobile history information being recorded by the network device, and the second message being a response message to the first message. These modules can perform the corresponding functions in the method example of the second aspect, and refer to the detailed description in the method example for details, which will not be repeated here.

[0040] Alternatively, in another possible design, the communication device includes: a receiving unit, used to receive a first message from a first network device, the first message being used to request the communication device to obtain the context of a terminal device; a sending unit, used to send a second message to the first network device, the second message being a response message to the first message, wherein the first message carries a context identifier of the terminal device, and the type of the context identifier is RRC recovery, then the second message does not include the first mobile history information and the second mobile history information; or, the terminal device is in an RRC deactivated state, then the second message does not include the first mobile history information and the second mobile history information, wherein the first mobile history information is recorded by the terminal device, and the second mobile history information is recorded by the network device. These modules can perform the corresponding functions in the above-mentioned second aspect method example, please refer to the detailed description in the method example for details, which will not be repeated here.

[0041] Regarding the technical effects brought about by the sixth aspect or various possible implementations of the sixth aspect, reference may be made to the introduction to the technical effects of the second aspect or various possible implementations of the second aspect.

[0042] In the seventh aspect, a communication device is provided. The beneficial effects can be found in the description of the third aspect, which will not be described in detail here. The communication device has the function of implementing the behavior in the method embodiment of the third aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a sending unit for sending an RRC re-establishment request message to a first network device; a receiving unit for receiving an RRC re-establishment message from the first network device; the sending unit is also used to send an RRC re-establishment completion message to the first network device, and the RRC re-establishment completion message includes a first indication information, and the first indication information is used to indicate that the terminal device has available mobile history information. These modules can perform the corresponding functions in the method example of the third aspect, and refer to the detailed description in the method example for details, which will not be described here.

[0043] Regarding the technical effects brought about by the seventh aspect or various possible implementation methods of the seventh aspect, reference may be made to the introduction to the technical effects of the third aspect or various possible implementation methods of the third aspect.

[0044] In an eighth aspect, a communication device is provided. The beneficial effects can be found in the description of the fourth aspect, which will not be described in detail here. The communication device has the function of implementing the behavior described in the method embodiment of the fourth aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a sending unit for sending an RRC re-establishment request message to a first network device; a receiving unit for receiving an RRC re-establishment message from the first network device; the sending unit is also used to send an RRC re-establishment completion message to the first network device, and the RRC re-establishment completion message includes a first indication information, and the first indication information is used to indicate that the terminal device has available mobile history information. These modules can perform the corresponding functions in the method example of the fourth aspect, and refer to the detailed description in the method example for details, which will not be described here.

[0045] Regarding the technical effects brought about by the eighth aspect or various possible implementation methods of the eighth aspect, reference may be made to the introduction to the technical effects of the fourth aspect or various possible implementation methods of the fourth aspect.

[0046] In the ninth aspect, a communication device is provided, which may be the communication device in the fifth aspect, the sixth aspect, the seventh aspect, or the eighth aspect in the above method embodiment, or a chip arranged in the communication device in the fifth aspect, the sixth aspect, the seventh aspect, or the eighth aspect. The communication device includes a communication interface and a processor, and optionally, also includes a memory. The memory is used to store computer programs or instructions or data, and the processor is coupled to the memory and the communication interface. When the processor reads the computer program or instructions or data, the communication device executes the method executed by the first network device or the second network device or the terminal device in the above method embodiment.

[0047] It should be understood that the communication interface may be a transceiver in a communication device, for example, implemented by an antenna, a feeder, and a codec in the communication device, or, if the communication device is a chip provided in a network device, the communication interface may be an input / output interface of the chip, such as an input / output pin, etc. The transceiver is used for the communication device to communicate with other devices. Exemplarily, when the communication device is a terminal device, the other device is a network device; or, when the communication device is a network device, the other device is a terminal device.

[0048] In a tenth aspect, an embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the method performed by the communication device in the fifth aspect, the sixth aspect, the seventh aspect, or the eighth aspect. In one possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system may be composed of a chip, or may include a chip and other discrete devices.

[0049] In the eleventh aspect, an embodiment of the present application provides a communication system, which includes the communication device described in the fifth aspect and the communication device described in the sixth aspect, or includes the communication device described in the seventh aspect and the communication device described in the eighth aspect.

[0050] In the twelfth aspect, a computer program product is provided, comprising: a computer program code, which, when run in parallel, enables the method executed by the first network device in the above aspects to be executed, or enables the method executed by the second network device in the above aspects to be executed; or enables the method executed by the terminal device in the above aspects to be executed.

[0051] In the thirteenth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, it implements the method executed by the first network device in the above aspects; or implements the method executed by the second network device in the above aspects; or implements the method executed by the terminal device in the above aspects.

[0052] In an embodiment of the present application, for example, the first network device may be a target network device, and the second network device may be a device that was previously connected to the terminal device for communication, that is, the terminal device switches from the second network device to the first network device. The second network device may provide the mobile history information recorded by the terminal device, that is, the mobile history information before the terminal device enters the connected state. At the same time, the second network device may also provide the mobile history information of the terminal device recorded by the network device, that is, the mobile history information of the terminal device in the connected state. Even in a possible scenario, the first network device does not have the context of the terminal device, and the first mobile history information and the second mobile history information may be obtained from the second network device. Thus, the first network device can more accurately evaluate the moving speed of the terminal device based on the first mobile history information and the second mobile history information, and then set appropriate measurement parameters for the terminal device, and select a more suitable target cell for the terminal device, thereby improving the success rate of the terminal device performing cell switching. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of the architecture of a communication system used in an embodiment of the present application;

[0054] Figure 2 A flow chart of a communication method provided in an embodiment of the present application;

[0055] Figure 3 A flow chart of movement history information provided by an embodiment of the present application;

[0056] Figure 4 A flowchart of an example of a communication method provided in an embodiment of the present application;

[0057] Figure 5 A flowchart of an example of a communication method provided in an embodiment of the present application;

[0058] Figure 6 A flowchart of an example of a communication method provided in an embodiment of the present application;

[0059] Figure 7 A flowchart of an example of a communication device provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0061] Fig. 9 Another schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0062] Fig.10 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0063] Fig.11 Another schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0064] Fig.12 Another structural schematic diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0066] The technical solutions of the embodiments of the present application described below can be applied to Figure 1 The network architecture shown in Figure 1 is only an example of a communication system, which may include multiple terminal devices and multiple network devices. Figure 1 Take the example of two terminal devices and two network devices. Figure 1 The number of terminal devices is just an example, and can be less or more. Any network device can provide services for terminal devices within the coverage area.

[0067] The terminal device, which may also be referred to as a terminal device, includes a device that provides voice and / or data connectivity to a user, such as a handheld device with a wireless connection function, or a processing device connected to a wireless modem. The terminal device can communicate with the core network via a radio access network (RAN) and exchange voice and / or data with the RAN. The terminal device may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, device-to-device (D2D) terminal equipment, V2X terminal equipment, machine-to-machine / machine-type communications (M2M / MTC) terminal equipment, Internet of Things (IoT) terminal equipment, subscriber unit (SU), subscriber station (SS), mobile station, remote station, access point (AP), remote terminal, access terminal, user terminal, user agent, aircraft (such as drone, hot air balloon, civil airliner, etc.) or user equipment, etc. For example, it may include a mobile phone (or "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer-built-in mobile device, etc. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDA), and other devices. It also includes limited devices, such as devices with low power consumption, or devices with limited storage capacity, or devices with limited computing power, etc. For example, it includes information sensing devices such as barcodes, radio frequency identification (RFID), sensors, global positioning systems (GPS), laser scanners, etc.

[0068] As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices or smart wearable devices, etc., which are a general term for the application of wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-size, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, etc., as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0069] Among them, the network device can be an access network device, which can also be called a radio access network (RAN) device, which refers to a device in the access network that communicates with a wireless terminal through one or more sectors on the air interface, and can also be considered as a device that provides wireless communication functions for terminal devices. Access network devices include, for example, but are not limited to: next-generation base stations (generation nodeB, gNB) in 5G, evolved node B (evolved node B, eNB), baseband units (baseband units, BBU), transmitting and receiving points (transmitting and receiving points, TRP), transmitting points (transmitting points, TP), base stations in future mobile communication systems or access points in WiFi systems, etc. The access network device can also be a wireless controller, a centralized unit (centralized unit, CU), and / or a distributed unit (distributed unit, DU) in a cloud radio access network (cloud radio access network, CRAN) scenario, or the network device can be a relay station, a vehicle-mounted device, and a network device in a future evolved PLMN network, etc.

[0070] CU and DU can be physically separated or deployed together. Multiple DUs can share one CU. One DU can also be connected to multiple CUs. CU and DU can be connected through an interface, such as an F1 interface. CU and DU can be divided according to the protocol layer of the wireless network. For example, one possible division method is: CU is used to perform the functions of the RRC layer, the service data adaptation protocol (SDAP) layer and the packet data convergence protocol (PDCP) layer, while DU is used to perform the functions of the radio link control (RLC) layer, the media access control (MAC) layer, the physical layer, etc. It can be understood that the division of CU and DU processing functions according to this protocol layer is only an example, and it can also be divided in other ways. For example, CU or DU can be divided into functions with more protocol layers. For example, CU or DU can also be divided into partial processing functions with protocol layers. In one design, some functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. In another design, the functions of CU or DU can also be divided according to service type or other system requirements. For example, by latency, the functions whose processing time needs to meet the latency requirements are set in DU, and the functions that do not need to meet the latency requirements are set in CU. The network architecture shown in the above figure can be applied to 5G communication systems, which can also share one or more components or resources with LTE systems. In another design, CU can also have one or more functions of the core network. One or more CUs can be set centrally or separately. For example, CU can be set on the network side for centralized management. DU can have multiple RF functions, or the RF functions can be set remotely.

[0071] The functions of CU can be implemented by one entity or by different entities. For example, the functions of CU can be further divided, for example, the control plane (CP) and the user plane (UP) are separated, that is, the control plane (CU-CP) of CU and the user plane (CU-UP) of CU. For example, CU-CP and CU-UP can be implemented by different functional entities, and the CU-CP and CU-UP can be coupled with DU to jointly complete the functions of the base station.

[0072] The terminal device can communicate with access network devices of different technologies. For example, the terminal device can communicate with access network devices supporting long term evolution (LTE), can communicate with access network devices supporting 5G, and can also communicate with access network devices supporting LTE and access network devices supporting 5G at the same time. The embodiments of the present application are not limited.

[0073] In the following, the network device is taken as an example, which is a base station. The terminal device will move, and it is inevitable that the terminal device that is using the service of a certain base station will move to the coverage of another base station. If it is not switched in time, or due to the obstruction of the building, the wireless link between the terminal device and a certain base station may fail. Or due to the movement of the terminal device, in order to ensure the continuity of communication and the quality of service, it is necessary to transfer the communication link between the terminal device and one cell to another cell, that is, to switch the communication link of the terminal device. The communication link of the switching terminal device may also fail. After the terminal device enters the RRC connection state, if a wireless link failure, switching failure, etc. occurs, the terminal device will be triggered to perform RRC connection re-establishment to ensure communication continuity. During the RRC connection re-establishment process of the terminal device, the terminal device performs a cell selection process to select a target cell, and then initiates an RRC connection re-establishment process on the target cell to reestablish the RRC connection.

[0074] After the terminal device enters the RRC connection state, the base station can evaluate the approximate moving speed of the terminal device based on the mobile history information of the terminal device, so as to set appropriate measurement parameters, such as the time to trigger the terminal device to report the measurement report (Time To Trigger), etc. For example, if the terminal device moves at a fast speed, the time to trigger the reporting of the measurement report can be set to be shorter, that is, the terminal device is triggered to upload the measurement report faster to minimize the probability of switching failure. For another example, if the terminal device moves at a fast speed, the terminal device can be switched to a cell with a larger coverage area to minimize the number of switching. For another example, the base station can determine whether a ping-pong switching occurs in the terminal device based on the mobile history information of the terminal device, that is, whether the terminal device at the edge of two cells switches from one of the two cells to the other cell, and then switches from the other cell to this cell, thereby improving the switching conditions to avoid ping-pong switching of the terminal device as much as possible.

[0075] The mobile history information of the terminal device may include the information of the cell that the terminal device has recently visited (for example, the service cell (primary cell) in which the terminal device is in a connected state, the resident cell in which the terminal device is in an idle state and a deactivated state), or the information of the cell in which the terminal device has entered other radio access technologies (radio access technology, RAT) or is out of service. The information of each cell includes at least one of the global cell ID, the physical cell ID and the frequency point and the time the terminal device has stayed in the cell. The cells where the terminal device stays are arranged in the order of visit.

[0076] In one embodiment of the present application, if the terminal device supports the function of recording mobile history information, the terminal device enters the RRC connected state from the idle state, or enters the RRC connected state from the deactivated state, the terminal device can inform the current service base station that there is available mobile history information, and when the service base station needs the mobile history information, it can request the terminal device to report the mobile history information. After the terminal device enters the RRC connected state, the network device will record the mobile history information of the terminal device after entering the connected state. Optionally, in the subsequent cell switching process, the source base station sends a switching request message to the target base station, and the switching request message will carry the mobile history information recorded by the network device and the mobile history information reported by the terminal device. In this way, the target base station can evaluate the mobile speed of the terminal device based on the mobile history information recorded by the network device and the mobile history information reported by the terminal device, for example, and then can set appropriate measurement parameters according to the evaluated mobile speed, and select a suitable target cell for subsequent cell switching, thereby reducing the probability of cell switching failure and the number of switching times of the terminal device.

[0077] In the prior art, during the RRC connection re-establishment process, if the base station of the target cell selected by the terminal device does not have the context of the terminal device, the base station cannot obtain the complete mobility history information of the terminal device. This causes the base station to be unable to reasonably configure the terminal device based on the mobility history information of the terminal device, such as being unable to set appropriate measurement parameters, and thus being unable to select a suitable target cell for the terminal device, resulting in a higher probability of switching failure.

[0078] In view of this, a technical solution of an embodiment of the present application is provided. In one embodiment of the present application, after receiving an RRC re-establishment request message sent by a terminal device, a first network device sends a first message to a second network device, and the first message is used to request the second network device to obtain the context of the terminal device; the second network device responds to the first message and sends a second message to the first network device, and the second message includes a first mobile history information and a second mobile history information. The first mobile history information is recorded by the terminal device, that is, the mobile history information before the terminal device enters the connected state, and the second mobile history information is recorded by the network device, that is, the mobile history information after the terminal device enters the connected state. In this way, even if the first network device does not have the context of the terminal device, the first network device can obtain the first mobile history information and the second mobile history information from the second network device, so that the historical mobile speed of the terminal device can be more accurately evaluated according to the first mobile history information and the second mobile history information, and then the measurement parameters of the appropriate terminal device can be set. In some implementations, a more suitable target cell can be set for the terminal device, thereby improving the success rate of the terminal device in performing cell switching.

[0079] The technical solution provided by the embodiments of the present application is described below in conjunction with the accompanying drawings.

[0080] An embodiment of the present application provides a communication method, see Figure 2 , which is a flowchart of the method. In the following introduction, the method is applied to Figure 1 Take the communication system shown as an example. In addition, the method can be performed by two communication devices, such as a first network device and a second network device. Among them, the first network device can be a base station or a communication device (such as a chip system) that can support the base station to implement the functions required by the method, and of course it can also be other communication devices. The second network device can be a base station or a communication device (such as a chip system) that can support the base station to implement the functions required by the method, and of course it can also be other communication devices. And there is no restriction on the implementation methods of the first network device and the second network device. For example, the two network devices can be implemented in the same form, such as both are implemented in the form of devices, or the two network devices can also be implemented in different forms, such as the first network device is implemented in the form of a device, and the second network device is implemented in the form of a chip system, and so on.

[0081] For ease of introduction, in the following introduction, the method is performed by the first network device and the second network device as an example. The first network device and the second network device can both be base stations, the first network device can be a base station to which the terminal device is to connect for RRC re-establishment, and the second network device can be a serving base station of the terminal device before initiating the re-establishment process; or the first network device can be a base station to which the terminal device is to connect for RRC recovery, and the second network device can be a serving base station of the terminal device before entering the RRC deactivated state.

[0082] S201. A first network device sends a first message to a second network device, and the second network device receives the first message. The first message is used by the first network device to request the second network device to obtain a context of a terminal device.

[0083] If the first network device determines that the terminal device needs to connect to the first network device, for example, the terminal device re-establishes an RRC connection with the first network device, or the terminal device recovers an RRC connection with the first network device, the first network device can obtain the context of the terminal device from the second network device to achieve connection with the terminal device.

[0084] When the first network device needs to obtain the context of the terminal device, the first network device can send a first message to the second network device, where the first message is used to request the second network device to obtain the context of the terminal device. The first message can be a retrieve UE context request message.

[0085] Exemplarily, if the terminal device sends an RRC reestablishment request message to the first network device, the RRC reestablishment request message is a message requesting to reestablish an RRC connection with the first network device. Afterwards, the first network device receives the RRC reestablishment request message and can send the first message to the second network device.

[0086] In another exemplary embodiment, if the terminal device sends an RRC resume request message to the first network device, the first network device may send the first message to the second network device after receiving the RRC resume request message.

[0087] S202a: The second network device sends a second message to the first network device, and the first network device receives the second message, where the second message includes the first movement history information and the second movement history information.

[0088] The first mobile history information can be considered as the mobile information recorded by the terminal device itself. In contrast, the second mobile history information can be recorded by the network device, that is, the mobile information after the terminal device enters the connected state. It should be understood that the first mobile history information can be considered as the mobile information before the terminal device enters the connected state.

[0089] It should be noted that the second mobile history information may be recorded by one or more network devices. For example, the terminal device is connected to the first network device, and the first network device records the mobile information A of the terminal device. Then, the terminal device enters the coverage area of ​​the second network device from the coverage area of ​​the first network device, that is, the terminal device is connected to the second network device, and the second network device records the mobile information B of the terminal device. Then, the mobile information of the terminal device recorded by the second network device includes both mobile information A and mobile information B. In other words, the next network device can add the mobile information recorded by the next network device to the mobile information recorded by the previous network device to form the second mobile history information.

[0090] For easier understanding, see Figure 3 is a schematic diagram of mobile history information. Figure 3 In the example, the terminal device is powered on at time t1 and chooses to reside in cell 1. The terminal device records movement information, for example, called movement information 1. The terminal device reselects to cell 2 at time t2. In cell 2, the terminal device records movement information, for example, called movement information 2.

[0091] The terminal device enters the RRC connection state at time t0, and the mobile information that the terminal device can report at this time includes mobile information 1 and mobile information 2, that is, the first mobile history information. After the terminal device enters the RRC connection state, the source base station can record the mobile information of the terminal device, that is, the network device records the mobile information of the terminal device in cell2 from time t0, for example, called mobile information 3.

[0092] Afterwards, the terminal device switches from cell2 to cell3 at time t3. At this time, the mobile information of the terminal device that the source base station can send to the first target base station may include mobile information 3 recorded by the source base station from t2, that is, the second mobile history information, and mobile information 1 and mobile information 2 reported by the terminal device to the source base station, that is, the first mobile history information. The network device records the mobile information of the terminal device in cell2 from time t3, for example, called mobile information 4.

[0093] Afterwards, the terminal device switches from cell 3 to cell 4 at time t4. Similarly, at this time, the first target base station as the source base station can send the terminal device's mobile information to the second target base station, which may include mobile information 3 and mobile information 4, i.e., the second mobile history information, and mobile information 1 and mobile information 2 reported by the terminal device to the source base station, i.e., the first mobile history information. The network device records the mobile information of the terminal device in cell 3 from time t4, for example, called mobile information 5.

[0094] Afterwards, the wireless link fails and the terminal device initiates re-establishment at time t5. At this time, the mobile history information that the third target base station can obtain from the second target base station may include mobile information 1 and mobile information 2 (the first mobile history information reported by the terminal device) and mobile information 3 and mobile information 4 (the second mobile history information recorded by the network device).

[0095] The second message is a response message to the first message. For example, if the first message is a retrieve UE context request message, the second message may be a retrieve UE context response message. Since the second message includes the first mobile history information and the second mobile history information, even if the first network device does not have the context of the terminal device, for example, in the process of RRC connection reestablishment, when the first network device has not received the handover request message from the second network device, the first network device may obtain the first mobile history information and the second mobile history information, that is, relatively complete mobile history information, from the second network device, so that appropriate measurement parameters may be set according to the acquired mobile history information, and then a suitable target cell may be selected for the terminal device to maximize the success rate of cell handover. Exemplarily, the mobile history information acquired by the first network device is relatively complete, so the mobile speed of the terminal device may be more accurately evaluated according to the mobile history information, and the measurement parameters set based on the evaluated mobile speed are more appropriate. For example, if the mobile speed of the terminal device is faster, the terminal device may be switched to a cell with a larger coverage area, that is, a more suitable target cell may be selected for the terminal device to minimize the number of handovers. If the terminal device moves at a fast speed, the time for triggering the reporting of the measurement report can be set to be shorter, that is, the terminal device is triggered to upload the measurement report faster to minimize the failure probability of the terminal device performing cell switching.

[0096] Optionally, after receiving the second message, the first network device may determine whether the first mobile history information and the second mobile history information are available according to the actual application scenario. If the terminal device sends an RRC re-establishment request message to the first network device, that is, in the RRC connection re-establishment scenario, the first mobile history information and the second mobile history information are complete, so the first mobile history information and the second mobile history information are available. If the terminal device sends an RRC recovery request message to the first network device, that is, in the RRC recovery scenario, the terminal device may perform cell reselection in the deactivated state, but the second mobile history information recorded by the second network device may not contain the mobile history information of the terminal device performing cell reselection, that is, the second mobile history information is incomplete. In this case, the first mobile history information and the second mobile history information are not available. If the first mobile history information and the second mobile history information are available, the first network device can save the first mobile history information and the second mobile history information, and if the first mobile history information and the second mobile history information are not available, the first network device can discard the first mobile history information and the second mobile history information. This can avoid the first network device from using incomplete mobile history information, so that the complete historical mobile information of the terminal device can be obtained when needed.

[0097] The following takes two possible scenarios as examples to illustrate how the first network device processes the first movement history information and the second movement history information after receiving the second message.

[0098] The first possible scenario is that if the first network device determines that the terminal device sends an RRC re-establishment request message to the first network device before sending the first message to the second network device, then the first network device can determine that the scenario in which the terminal device establishes a connection with the first network device is an RRC connection re-establishment scenario. If the first network device determines that the scenario in which the terminal device establishes a connection with the first network device is an RRC connection re-establishment scenario, then after receiving the second message, the first network device obtains and saves the first mobile history information and the second mobile history information. It should be understood that the first network device saves the first mobile history information and the second mobile history information, which can be understood as the first network device storing the first mobile history information and the second mobile history information for subsequent use. Alternatively, the first network device saves the first mobile history information and the second mobile history information, which can also be understood as the first network device currently using the first mobile history information and the second mobile history information.

[0099] The second possible scenario is that if the first network device determines that the terminal device sends an RRC recovery request message to the first network device before sending the first message to the second network device, then the first network device can determine that the scenario in which the terminal device establishes a connection with the first network device is an RRC recovery scenario. If the first network device determines that the scenario in which the terminal device establishes a connection with the first network device is an RRC recovery scenario, then after receiving the second message, the first network device discards the first mobile history information and the second mobile history information. It should be understood that the first network device discards the first mobile history information and the second mobile history information, which can be understood as the first network device obtains the first mobile history information and the second mobile history information, but does not store the first mobile history information and the second mobile history information. Alternatively, the first network device discards the first mobile history information and the second mobile history information, which can be understood as the first network device will not use the first mobile history information and the second mobile history information.

[0100] After the second network device receives the first message, it sends the first mobile history information and the second mobile history information to the first network device by default. As an alternative solution, the second network device can also determine whether to send the first mobile history information and the second mobile history information to the first network device according to different scenarios in which the terminal device requests to establish a connection, that is, determine whether to carry the first mobile history information and the second mobile history information in the second message. With this solution, after the first network device receives the second message, if the first mobile history information and the second mobile history information exist, they are saved, and there is no need to determine whether to discard the received first mobile history information and the second mobile history information. That is to say, S202a can be replaced by S203 and S202b.

[0101] S203: The second network device determines whether to send the first movement history information and the second movement history information according to a scenario in which the terminal device establishes a connection.

[0102] In a possible implementation, the second network device may determine the scenario in which the terminal device requests to establish a connection based on the type of the context identifier of the terminal device. For example, the first message may carry the context identifier of the terminal device, and the type of the context identifier may indicate the scenario in which the terminal device requests to establish a connection. Exemplarily, if the type of the context identifier is RRC reestablishment, then the scenario in which the terminal device requests to establish a connection is an RRC connection reestablishment scenario; if the type of the context identifier is RRC recovery, then the scenario in which the terminal device requests to establish a connection is an RRC recovery scenario.

[0103] As another possible implementation, the second network device may determine the scenario in which the terminal device requests to establish a connection based on the state of the terminal device in the context of the terminal device stored by the second network device. For example, if the terminal device is in an RRC connected state, then the scenario in which the terminal device requests to establish a connection is an RRC connection re-establishment scenario; and if the terminal device is in a deactivated state, then the scenario in which the terminal device requests to establish a connection is not an RRC connection re-establishment scenario, but an RRC recovery scenario.

[0104] If the second network device determines that the scenario in which the terminal device requests to establish a connection is an RRC connection reestablishment scenario, the second network device determines that the second message includes the first mobility history information and the second mobility history information. If the second network device determines that the scenario in which the terminal device requests to establish a connection is an RRC recovery scenario, the second network device determines that the second message does not include the first mobility history information and the second mobility history information. In this way, after receiving the second message, the first network device saves the first mobility history information and the second mobility history information. If the first mobility history information and the second mobility history information are not received, the mobility history information can be obtained from the terminal device when needed.

[0105] It should be understood that if the second network device executes S203, then the second network device executes S202b, that is, the second network device sends a second message to the first network device, and the first network device receives the second message. If the second network device determines that the scenario in which the terminal device establishes a connection is an RRC re-establishment scenario, then the second message includes the first mobility history information and the second mobility history information. If the second network device determines that the scenario in which the terminal device establishes a connection is an RRC re-establishment scenario, then the second message does not include the first mobility history information and the second mobility history information. Figure 2 S203 and S202b are indicated by dashed boxes, wherein the steps indicated by the dashed boxes are executed alternatively with S202a.

[0106] Next Figure 2 Some sub-schemes involved in the illustrated embodiment are introduced by way of examples.

[0107] Figure 4 The illustrated process takes the second network device sending the first movement history information and the second movement history information to the first network device by default as an example.

[0108] S401. The terminal device sends an RRC resume request message to the first network device.

[0109] S402. The first network device sends a terminal device context request (retrieve UE context request) message to the second network device.

[0110] S403. The second network device sends a terminal device context response (retrieve UE context response) message to the first network device.

[0111] The retrieve UE context response message includes the first mobility history information and the second mobility history information. For example, the terminal device context response message may carry a first information element representing the first mobility history information and a second information element representing the second mobility history information. For example, the first information element may be represented as "UE history information from the UE" and the second information element may be represented as "UE history information".

[0112] S404. The first network device determines whether the scenario in which the terminal device establishes a connection is an RRC connection re-establishment scenario.

[0113] S405: The first network device determines that the scenario in which the terminal device establishes a connection is an RRC recovery scenario, and discards the first mobility history information and the second mobility history information.

[0114] Optionally, the method in this embodiment may further include the following steps:

[0115] S406. The first network device sends an RRC resume message to the terminal device.

[0116] Figure 4 In S401, the example of the terminal device sending an RRC recovery request to the first network device is taken. It should be understood that if in S401, the terminal device sends an RRC re-establishment request message to the first network device, then in S405, the first network device determines that the scenario in which the terminal device establishes a connection is an RRC connection re-establishment scenario, and saves the first mobile history information and the second mobile history information.

[0117] about Figure 4 For some specific implementation details of the steps in the process shown, please refer to Figure 2 The relevant description of the illustrated embodiment will not be repeated here.

[0118] Figure 5 The illustrated process takes the example of the second network device determining whether to send the first movement history information and the second movement history information to the first network device according to the scenario of establishing a connection with the terminal device.

[0119] S501. The terminal device sends an RRC re-establishment request message to the first network device.

[0120] S502: The first network device sends a terminal device context request message to the second network device.

[0121] S503: The second network device determines whether the scenario in which the terminal device establishes a connection is an RRC connection re-establishment scenario.

[0122] S504: The second network device determines that the scenario in which the terminal device establishes a connection is an RRC connection re-establishment scenario, and sends a terminal device context response message to the first network device, where the terminal device context response message includes first mobility history information and second mobility history information.

[0123] Optionally, the method in this embodiment may further include the following steps:

[0124] S505. The first network device sends an RRC re-establishment message to the terminal device.

[0125] S506. The terminal device sends an RRC re-establishment completion message to the first network device.

[0126] Figure 5 In the step, S504 is the step when the second network device determines that the scenario in which the terminal device establishes a connection is an RRC connection re-establishment scenario. It should be understood that if the second network device determines that the scenario in which the terminal device establishes a connection is an RRC recovery scenario, then in S504, the second network device determines that the terminal device context response message does not include the first mobile history information and the second mobile history information.

[0127] about Figure 5 For some specific implementation details of the steps in the process shown, please refer to Figure 2 The relevant description of the illustrated embodiment will not be repeated here.

[0128] Another embodiment of the present application provides a communication method, see Figure 6 , which is a flowchart of the method. In the following introduction, the method is applied to Figure 1Take the communication system shown as an example. In addition, the method can be performed by two communication devices, such as a first communication device and a second communication device. Among them, the first communication device can be a network device or a communication device (such as a chip system) that can support the network device to implement the functions required by the method, and of course it can also be other communication devices. The second communication device can be a terminal device or a communication device (such as a chip system) that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices. And there is no restriction on the implementation methods of the first network communication device and the second communication device. For example, the two communication devices can be implemented in the same form, such as both are implemented in the form of devices, or the two communication devices can also be implemented in different forms, such as the first communication device is implemented in the form of a device, and the second communication device is implemented in the form of a chip system, and so on.

[0129] For ease of introduction, in the following introduction, it is taken that the method is performed by the first communication device being the first network device and the second network device being the terminal device. The first network device may be a base station to which the terminal device is to connect for RRC re-establishment. Since the RRC re-establishment process involves the serving base station of the terminal device before the re-establishment process is initiated, for the purpose of distinction, the second network device appearing below is the serving base station of the terminal device before the re-establishment process is initiated.

[0130] S601. The terminal device sends an RRC re-establishment request message to the first network device, and the first network device receives the RRC re-establishment request message, where the RRC re-establishment request message is a message requesting to re-establish an RRC connection with the first network device.

[0131] S602. The first network device sends an RRC re-establishment message to the terminal device. The terminal device receives the RRC re-establishment message. The RRC re-establishment message can be used to instruct the terminal device to re-establish an RRC connection.

[0132] S603. The terminal device sends an RRC re-establishment completion message to the first network device. The first network device receives the RRC re-establishment completion message. The RRC re-establishment completion message includes first indication information. The first indication information can be used to indicate that the terminal device has available mobility history information.

[0133] In the RRC re-establishment scenario, the terminal device may inform the first network device that the terminal device has available mobility history information. For example, the RRC re-establishment completion message sent by the terminal device to the first network device may include first indication information, and the first indication information may indicate that the terminal device has available mobility history information. It is understandable that the first indication information may also be carried in other messages, and the embodiments of the present application are not limited to this.

[0134] In this way, even if the first network device does not have the context of the terminal device, when the mobility history information of the terminal device is needed, it can also be known based on the first indication information that the terminal device has available mobility history information, so that the mobility history information of the terminal device can be obtained from the terminal device, that is, relatively complete mobility history information. In some possible implementations, the first network device can more accurately evaluate the historical mobility speed of the terminal device based on the acquired mobility history information, so as to set appropriate measurement parameters, and thus select a more appropriate target cell for the terminal device, thereby improving the success rate of cell switching of the terminal device.

[0135] Optionally, the embodiment of the present application may further include the following steps:

[0136] S604: The first network device sends a first message to the terminal device, and the terminal device receives the first message, where the first message is used to request to obtain movement history information of the terminal device.

[0137] The first network device can learn that the terminal device has available movement history information based on the first indication information. After receiving the first indication information, the first network device can send a first message to the terminal device, such as a terminal device information request (UEinformation request) message, to obtain the movement history information of the terminal device from the terminal device.

[0138] S605: The terminal device sends a second message to the first network device, and the first network device receives the second message, where the second message includes movement history information of the terminal device.

[0139] The second message may be a terminal equipment information response (UE information response) message, and the second message may carry mobility history information (mobility history report).

[0140] Since the first network device obtains the latest mobile history information from the terminal device, it is complete mobile history information. Therefore, based on the mobile history information, the historical moving speed of the terminal device can be evaluated more accurately. In this way, the measurement parameters set according to the mobile history information are also more appropriate, and a more suitable target cell can be selected for the terminal device, thereby improving the success rate of cell switching of the terminal device.

[0141] In an embodiment of the present application, in an RRC re-establishment scenario, the RRC re-establishment completion message sent by the terminal device to the first network device may carry an indication information for indicating to the first network device that the terminal device has available mobility history information, so that the first network device can instruct the terminal device to report the mobility history information. Alternatively, the second network device may send the mobility history information recorded by the terminal device itself and the mobility history information of the terminal device recorded by the network device to the first network device, so that the first network device can obtain the complete mobility history information of the terminal device from the second network device. With this solution, the first network device can obtain the complete mobility history information of the terminal device, thereby setting a more suitable target cell for the terminal device, improving the success rate of the terminal device performing cell switching, and reducing the number of cell switching times.

[0142] It should be understood that the above Figure 5 S506 in the example may be similar to S603, that is, the RRC re-establishment completion message in S506 includes the first indication information, and the first indication information may be used to indicate that the terminal device has available mobility history information. In other words, the RRC re-establishment completion message sent by the terminal device to the first network device includes the first indication information by default. Figure 5 In the embodiment, after S506, the first network device may execute S604, and the subsequent terminal device may execute S605. With this solution, the second network device can provide the first movement history information and the second movement history information, the terminal device can provide the available movement history information, and the first network device can determine to obtain the required movement history information from the second network device or the terminal device, which is more flexible and better meets actual needs.

[0143] In the embodiments provided by the present application, the methods provided by the embodiments of the present application are introduced from the perspective of the interaction between the first network device, the second network device and the terminal device. In order to realize the functions in the methods provided by the embodiments of the present application, the first network device, the second network device and the terminal device may include a hardware structure and / or a software module, and the functions are realized in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function in the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0144] The following describes the device used to implement the above method in the embodiment of the present application in conjunction with the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and the repeated content will not be repeated.

[0145] Figure 7A schematic block diagram of a communication device 700 provided in an embodiment of the present application. The communication device 700 can correspond to the functions or steps implemented by the first network device or the second network device or the terminal device in the above-mentioned various method embodiments. The communication device may include a sending unit 710 and a receiving unit 720, and optionally, may also include a processing unit 730. Optionally, a storage unit may also be included, which can be used to store instructions (codes or programs) and / or data. The sending unit 710, the receiving unit 720 and the processing unit 730 can be coupled to the storage unit, for example, the processing unit 730 can read the instructions (codes or programs) and / or data in the storage unit to implement the corresponding method. The above-mentioned units can be set independently, or they can be partially or fully integrated.

[0146] In some possible implementations, the communication device 700 can implement the behavior and function of the first network device in the above method embodiment. For example, the communication device 700 can be the first network device, or a component (such as a chip or circuit) used in the first network device. The sending unit 710 and the receiving unit 720 can be used to perform Figure 2 In the embodiment shown, all receiving or sending operations performed by the first network device, such as Figure 2 S201 and S202a, or S202b in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute the following steps: Figure 2 In the illustrated embodiment, all operations except the sending and receiving operations are performed by the first network device, and / or other processes for supporting the technology described herein.

[0147] In some embodiments, the sending unit 710 is used to send a first message to the second network device, where the first message is used to request the second network device to obtain the context of the terminal device;

[0148] The receiving unit 720 is used to receive a second message from a second network device, the second message includes first mobile history information and second mobile history information, the first mobile history information is recorded by the terminal device, the second mobile history information is recorded by the network device, and the second message is a response message to the first message.

[0149] As an optional implementation, the receiving unit 720 is also used to receive an RRC re-establishment request message from the terminal device before sending the first message to the second network device; the processing unit 730 is used to determine that the terminal device is in an RRC connection re-establishment scenario, so as to save the first mobile history information and the second mobile history information.

[0150] As an optional implementation, the receiving unit 720 is further configured to receive an RRC recovery request message from the terminal device before sending the first message to the second network device, where the RRC recovery request message is a message requesting to restore the RRC connection with the communication device 700;

[0151] The processing unit 730 is used to determine that the terminal device is in an RRC recovery scenario and discard the first mobility history information and the second mobility history information.

[0152] It should be understood that the processing unit 730 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the sending unit 710 and the receiving unit 720 can be implemented by a transceiver or a transceiver-related circuit component or a communication interface.

[0153] In some possible implementations, the communication device 700 can implement the behaviors and functions of the second network device in the above method embodiments. For example, the communication device 700 can be a second network device, or a component (such as a chip or circuit) used in the second network device. The sending unit 710 and the receiving unit 720 can be used to perform Figure 2 In the embodiment shown, all receiving or sending operations performed by the second network device, such as Figure 2 S201 and S202a, or S202b in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute the following steps: Figure 2 In the illustrated embodiment, all operations except the transceiver operations are performed by the second network device, and / or other processes for supporting the technology described herein.

[0154] In some embodiments, the receiving unit 720 is used to receive a first message from a first network device, and the first message is used by the first network device to request the communication device 700 to obtain the context of the terminal device; the sending unit 710 is used to send a second message to the first network device, and the second message includes first mobile history information and second mobile history information. The first mobile history information is recorded by the terminal device, and the second mobile history information is recorded by the network device. The second message is a response message to the first message.

[0155] As an optional implementation manner, the first message carries a context identifier of the terminal device.

[0156] The sending unit 710 is configured to send the second message to the first network device when the processing unit 730 determines that the type of the context identifier is RRC reestablishment and determines that the second message includes the first mobility history information and the second mobility history information; or,

[0157] The sending unit 710 is used to send the second message to the first network device when the processing unit 730 determines that the terminal device is in the RRC connected state and determines that the second message includes the first mobility history information and the second mobility history information.

[0158] It should be understood that the processing unit 730 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the sending unit 710 and the receiving unit 720 can be implemented by a transceiver or a transceiver-related circuit component.

[0159] In some possible implementations, the communication device 700 can implement the behaviors and functions of the second network device in the above method embodiments. For example, the communication device 700 can be a second network device, or a component (such as a chip or circuit) used in the second network device. The sending unit 710 and the receiving unit 720 can be used to perform Figure 2 In the embodiment shown, all receiving or sending operations performed by the second network device, such as Figure 2 S201 and S202a in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute Figure 2 In the illustrated embodiment, all operations except the transceiver operations are performed by the second network device, and / or other processes for supporting the technology described herein.

[0160] In some embodiments, the receiving unit 720 is used to receive a first message from a first network device, where the first message is used to request the communication device to obtain the context of the terminal device; the sending unit 710 is used to send a second message to the first network device, where the second message is a response message to the first message, wherein:

[0161] The first message carries a context identifier of the terminal device, and the type of the context identifier is RRC recovery, then the second message does not include the first mobility history information and the second mobility history information; or, the terminal device is in an RRC deactivated state, then the second message does not include the first mobility history information and the second mobility history information, wherein the first mobility history information is recorded by the terminal device, and the second mobility history information is recorded by the network device.

[0162] In some possible implementations, the communication device 700 can implement the behaviors and functions of the first network device in the above method embodiments. For example, the communication device 700 can be the first network device, or a component (such as a chip or circuit) used in the first network device. The sending unit 710 and the receiving unit 720 can be used to perform Figure 5In the embodiment shown, all receiving or sending operations performed by the first network device, such as Figure 5 S201 and S202a, or S202b in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute the following steps: Figure 2 In the illustrated embodiment, all operations except the sending and receiving operations are performed by the first network device, and / or other processes for supporting the technology described herein.

[0163] In some embodiments, the receiving unit 720 is used to receive an RRC re-establishment request message from a terminal device; the sending unit 710 is used to send an RRC re-establishment message to the terminal device; the receiving unit 720 is also used to receive an RRC re-establishment completion message from the terminal device, the RRC re-establishment completion message including first indication information, and the first indication information is used to indicate that the terminal device has available mobility history information.

[0164] As an optional implementation, the sending unit 710 is also used to send a first message to the terminal device, wherein the first message is used to request the mobile history information; the receiving unit 720 is also used to receive a second message from the terminal device, wherein the second message includes the mobile history information.

[0165] In some possible implementations, the communication device 700 can implement the behaviors and functions of the terminal device in the above method embodiments. For example, the communication device 700 can be a terminal device, or a component (such as a chip or circuit) used in the terminal device. The sending unit 710 and the receiving unit 720 can be used to perform Figure 6 In the embodiment shown, all receiving or sending operations performed by the terminal device, such as Figure 6 S601, S602, S603, S604 and S605 in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute the following steps: Figure 2 All operations except the sending and receiving operations performed by the terminal device in the illustrated embodiment, and / or other processes for supporting the technology described in this document.

[0166] In some embodiments, the sending unit 710 is used to send an RRC re-establishment request message to a first network device; the receiving unit 720 is used to receive an RRC re-establishment message from the first network device; the sending unit 710 is also used to send an RRC re-establishment completion message to the first network device, the RRC re-establishment completion message includes first indication information, and the first indication information is used to indicate that the terminal device has available mobility history information.

[0167] As an optional implementation, the receiving unit 720 is also used to receive a first message from the first network device, wherein the first message is used to request the mobile history information; the sending unit 710 is also used to send a second message to the first network device, wherein the second message includes the mobile history information.

[0168] It should be understood that the communication device 700 may be the first network device mentioned above, and the sending unit 710 and the receiving unit 720 may be used to perform Figure 4 or Figure 5 In the embodiment shown, all receiving or sending operations performed by the first network device, such as Figure 4 S401, S402, S403 and S406 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example Figure 5 S501, S502, S504, S505 and S406 in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute Figure 4 or Figure 5 In the illustrated embodiment, all operations except the transceiver operation performed by the first network device, and / or other processes for supporting the technology described herein, such as Figure 5 S404 and S405 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0169] It should be understood that the communication device 700 may be the second network device mentioned above, and the sending unit 710 and the receiving unit 720 may be used to perform Figure 4 or Figure 5 In the embodiment shown, all receiving or sending operations performed by the second network device, such as Figure 4 S402 and S403 in the embodiment shown, and / or other processes for supporting the technology described herein, for example Figure 5 S502 and S504 in the embodiment shown, and / or other processes for supporting the technology described herein. The processing unit 730 is used to execute Figure 4 or Figure 5 In the illustrated embodiment, all operations except the transceiver operation performed by the second network device, and / or other processes for supporting the technology described herein, such as Figure 5 S503 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0170] like Figure 8The communication device 800 provided in the embodiment of the present application is shown, wherein the communication device 800 may be a terminal device, capable of implementing the function of the terminal device in the method provided in the embodiment of the present application, or the communication device 800 may be a network device, capable of implementing the function of the first network device or the second network device in the method provided in the embodiment of the present application; the communication device 800 may also be a device capable of supporting the terminal device to implement the corresponding function in the method provided in the embodiment of the present application, or a device capable of supporting the first network device or the second network device to implement the corresponding function in the method provided in the embodiment of the present application. The communication device 800 may be a chip system. In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.

[0171] In terms of hardware implementation, the sending unit 710 and the receiving unit 720 may be transceivers, and the transceivers are integrated in the communication device 800 to form a communication interface 810 .

[0172] The communication device 800 includes at least one processor 820, which is used to implement or support the communication device 800 to implement the function of the first network device or the second network device or the terminal device in the method provided in the embodiment of the present application. Please refer to the detailed description in the method example for details, which will not be repeated here.

[0173] The communication device 800 may also include at least one memory 830 for storing program instructions and / or data. The memory 830 is coupled to the processor 820. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 820 may operate in coordination with the memory 830. The processor 820 may execute program instructions and / or data stored in the memory 830 so that the communication device 800 implements the corresponding method. At least one of the at least one memory may be included in the processor.

[0174] The communication device 800 may further include a communication interface 810, which is used to communicate with other devices through a transmission medium, so that the device in the communication device 800 can communicate with other devices. Exemplarily, when the communication device is a terminal device, the other device is a first network device or a second network device; or, when the communication device is a first network device or a second network device, the other device is a terminal device. The processor 820 can use the communication interface 810 to send and receive data. The communication interface 810 can specifically be a transceiver.

[0175] The specific connection medium between the communication interface 810, the processor 820 and the memory 830 is not limited in the embodiment of the present application. Figure 8In the embodiment, the memory 830, the processor 820 and the communication interface 810 are connected via a bus 840. Figure 8 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0176] In the embodiment of the present application, the processor 820 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0177] In an embodiment of the present application, the memory 830 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random access memory (RAM). The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.

[0178] It should be noted that the communication device in the above embodiments may be a terminal device or a circuit, or may be a chip used in a terminal device or other combined devices, components, etc. having the functions of the above terminal devices. When the communication device is a terminal device, the transceiver unit may be a transceiver, which may include an antenna and a radio frequency circuit, etc., and the processing module may be a processor, such as a central processing unit (CPU). When the communication device is a component having the functions of the above terminal device, the transceiver unit may be a radio frequency unit, and the processing module may be a processor. When the communication device is a chip system, the transceiver unit may be an input and output interface of the chip system, and the processing module may be a processor of the chip system.

[0179] Fig. 9 A simplified schematic diagram of the structure of a communication device is shown. For ease of understanding and illustration, Fig. 9 In the communication device, a network device is taken as an example of a base station. The base station can be applied to Figure 1 In the system shown, it can be Figure 1 The network device in the embodiment of the method performs the functions of the network device in the embodiment of the method. The network device 900 may include one or more radio frequency units, such as a remote radio unit (RRU) 910 and one or more baseband units (BBU) (also referred to as digital units, digital units, DU) 920. The RRU 910 may be referred to as a communication module. Figure 7 The transmitting unit 710 and the receiving unit 720 in the communication module correspond to each other. Optionally, the communication module can also be called a transceiver, a transceiver circuit, or a transceiver, etc., which may include at least one antenna 911 and a radio frequency unit 912. The RRU 910 part is mainly used for receiving and transmitting radio frequency signals and converting radio frequency signals into baseband signals, for example, for sending indication information to terminal devices. The BBU 920 part is mainly used for baseband processing, controlling the base station, etc. The RRU 910 and the BBU 920 can be physically arranged together or physically separated, that is, a distributed base station.

[0180] The BBU 920 is the control center of the base station, which can also be called a processing module. Figure 7 The processing unit 730 in the embodiment corresponds to the baseband processing unit 730, which is mainly used to complete baseband processing functions, such as channel coding, multiplexing, modulation, spread spectrum, etc. For example, the BBU (processing module) can be used to control the base station to execute the operation process of the network device in the above method embodiment, for example, to generate the above indication information.

[0181] In one example, the BBU 920 may be composed of one or more single boards, and the multiple single boards may jointly support a wireless access network of a single access standard (such as an LTE network), or may respectively support wireless access networks of different access standards (such as an LTE network, a 5G network, or other networks). The BBU 920 also includes a memory 921 and a processor 922. The memory 921 is used to store necessary instructions and data. The processor 922 is used to control the base station to perform necessary actions, for example, to control the base station to execute the operation process of the network device in the above method embodiment. The memory 921 and the processor 922 can serve one or more single boards. In other words, a memory and a processor can be separately set on each single board. It is also possible that multiple single boards share the same memory and processor. In addition, necessary circuits can also be set on each single board.

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

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

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

[0185] In the embodiments of the present application, the antenna and the radio frequency circuit having transceiver functions may be regarded as the transceiver unit of the device, and the processor having a processing function may be regarded as the processing unit of the device. Fig.10As shown, the device includes a transceiver unit 1010 and a processing unit 1020. The transceiver unit 1010 may also be referred to as a transceiver, a transceiver, a transceiver device, etc. The processing unit 1020 may also be referred to as a processor, a processing board, a processing module, a processing device, etc. Optionally, the device used to implement the receiving function in the transceiver unit 1010 may be regarded as a receiving unit, and the device used to implement the sending function in the transceiver unit 1010 may be regarded as a sending unit, that is, the transceiver unit 1010 includes a receiving unit and a sending unit. The transceiver unit 1010 may also be sometimes referred to as a transceiver, a transceiver, or a transceiver circuit, etc. The receiving unit may also be sometimes referred to as a receiver, a receiver, or a receiving circuit, etc. The sending unit may also be sometimes referred to as a transmitter, a transmitter, or a transmitting circuit, etc.

[0186] It should be understood that the transceiver unit 1010 is used to perform sending operations and receiving operations on the terminal device side in the above method embodiment, and the processing unit 1020 is used to perform other operations except the sending and receiving operations on the terminal device in the above method embodiment.

[0187] For example, in one implementation, the transceiver unit 1010 may be configured to execute Figure 4 S401 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0188] For example, in one implementation, the transceiver unit 1010 may be configured to execute Figure 5 S501 , S505 , S506 and / or other processes in the illustrated embodiment are used to support the techniques described herein.

[0189] For example, in one implementation, the transceiver unit 1010 may be configured to execute Figure 6 S601 , S602 , S603 , S604 , S605 and / or other processes in the illustrated embodiment are used to support the techniques described herein.

[0190] When the communication device is a chip-type device or circuit, the device may include a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit and / or a communication interface; and the processing unit may be an integrated processor or microprocessor or integrated circuit.

[0191] In this embodiment, reference can be made to Fig.11 As an example, the device can perform similar Figure 7 The function of the processing unit 730. Fig.11 In the embodiment, the apparatus includes a processor 1110, a sending data processor 1120, and a receiving data processor 1130. The processing unit 730 in the above embodiment may be Fig.11The processor 1110 in the embodiment can perform corresponding functions. Fig.11 The sending data processor 1120 and / or the receiving data processor 1130 in the embodiment of the present invention are as follows. Fig.11 A channel encoder and a channel decoder are shown in the figure, but it can be understood that these modules do not constitute a restrictive description of this embodiment and are only illustrative.

[0192] Fig.12 Another form of this embodiment is shown. The communication device 1200 includes modules such as a modulation subsystem, a central processing subsystem, and a peripheral subsystem. The communication device in this embodiment can be used as a modulation subsystem therein. Specifically, the modulation subsystem may include a processor 1203 and an interface 1204. The processor 1203 performs the functions of the above-mentioned processing unit 730, and the interface 1204 performs the functions of the above-mentioned sending unit 710 and the receiving unit 720. As another variation, the modulation subsystem includes a memory 1206, a processor 1203, and a program stored on the memory 1206 and executable on the processor, and the processor 1203 implements the method of the terminal device in the above-mentioned method embodiment when executing the program. It should be noted that the memory 1206 may be non-volatile or volatile, and its location may be located inside the modulation subsystem or in the processing device 1200, as long as the memory 1206 can be connected to the processor 1203.

[0193] The embodiment of the present application also provides a communication system. Specifically, the communication system includes a first network device, a second network device and a terminal device, or may also include more first network devices, more second network devices and more terminal devices. Exemplarily, the communication system includes a method for implementing the above Figure 2 The first network device and the second network device of the related functions, or the communication system includes a first network device and a second network device for implementing the above Figure 4 The first network device, the second network device and the terminal device of the related functions, or the communication system includes a first network device, a second network device and a terminal device for implementing the above Figure 5 or Figure 6 The first network device, the second network device and the terminal device of the related functions, or the communication system includes a first network device, a second network device and a terminal device for implementing the above Figure 2 , Figure 4 , Figure 5 or Figure 6 A first network device, a second network device and a terminal device having related functions of at least two embodiments of the present invention.

[0194] The first network device and the second network device are respectively used to implement the above Figure 2 , Figure 4 , Figure 5 and Figure 6The terminal device is used to implement the above Figure 4 , Figure 5 and Figure 6 The functions of the relevant terminals are described in detail in the above method embodiments, which will not be described here.

[0195] The present application also provides a computer-readable storage medium including instructions, which, when executed on a computer, causes the computer to execute Figure 2 , Figure 4 , Figure 5 or Figure 6 A method executed by a first network device or a second network device in a computer; or when it is executed on a computer, the computer is caused to execute Figure 4 , Figure 5 or Figure 6 The method executed by the terminal device.

[0196] The present application also provides a computer program product, including instructions, which, when executed on a computer, causes the computer to execute Figure 2 , Figure 4 , Figure 5 or Figure 6 A method executed by the first network device or the second network device in the embodiment; or when it is run on a computer, the computer is caused to execute Figure 4 , Figure 5 or Figure 6 The method executed by the terminal device.

[0197] The embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the functions of the first network device and the second network device in the aforementioned method; or for implementing the functions of the first network device, the second network device and the terminal device in the aforementioned method. The chip system may be composed of a chip, or may include a chip and other discrete devices.

[0198] It should be understood that the terms "system" and "network" in the embodiments of the present application can be used interchangeably. "At least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc or abc, where a, b, c can be single or multiple.

[0199] Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. For example, the first message and the second message are only used to distinguish different messages, and do not indicate the difference in priority, sending order or importance of the two messages.

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

[0201] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

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

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

[0204] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

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

[0206] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0207] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

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

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

[0211] The above is only a specific implementation of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, which should be included in the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: include: The first network device receives a radio resource control RRC re-establishment request message from the terminal device; The first network device sends a first message to the second network device, where the first message is used to request the second network device to obtain the context of the terminal device; The first network device receives a second message from the second network device, the second message includes first movement history information and second movement history information, the first movement history information is recorded by the terminal device, the second movement history information is recorded by the network device, and the second message is a response message to the first message; The first network device stores the first movement history information and the second movement history information.

2. A communication method, characterized in that: include: The second network device receives a first message from the first network device, where the first message is used to request the second network device to obtain a context of the terminal device, and the first message carries a context identifier of the terminal device; The second network device determines that the type of the context identifier is RRC re-establishment, and sends a second message to the first network device, the second message including first mobile history information and second mobile history information, the first mobile history information is recorded by the terminal device, the second mobile history information is recorded by the network device, and the second message is a response message to the first message.

3. A communication method, characterized in that: include: The second network device receives a first message from the first network device, where the first message is used to request the second network device to obtain a context of the terminal device, and the first message carries a context identifier of the terminal device; The second network device sends a second message to the first network device, where the second message is a response message to the first message, wherein if the type of the context identifier is RRC recovery, the second message does not include the first mobile history information and the second mobile history information, so that the first network device obtains the latest mobile history information of the terminal device from the terminal device when the mobile history information of the terminal device is needed; or, if the terminal device is in an RRC deactivated state, the second message does not include the first mobile history information and the second mobile history information, so that the first network device obtains the latest mobile history information of the terminal device from the terminal device when the mobile history information of the terminal device is needed; wherein the first mobile history information is recorded by the terminal device, and the second mobile history information is recorded by the network device.

4. A communication method, characterized in that: include: The first network device sends a first message to the second network device, where the first message is used to request the second network device to obtain the context of the terminal device, and the first message carries the context identifier of the terminal device; The first network device receives a second message from the second network device, where the second message is a response message to the first message, wherein the type of the context identifier is RRC recovery, then the second message does not include the first mobility history information and the second mobility history information; or, the terminal device is in an RRC deactivated state, then the second message does not include the first mobility history information and the second mobility history information; wherein the first mobility history information is recorded by the terminal device, and the second mobility history information is recorded by the network device; The first network device receives the latest movement history information of the terminal device from the terminal device.

5. A communication method, characterized in that: include: The terminal device sends an RRC re-establishment request message to the first network device; The terminal device receives an RRC re-establishment message from the first network device; The terminal device sends an RRC re-establishment completion message to the first network device, where the RRC re-establishment completion message includes first indication information, where the first indication information is used to indicate that the terminal device has available mobility history information; The terminal device receives a first message from the first network device, where the first message is used to request to obtain the movement history information; The terminal device sends a second message to the first network device, where the second message includes the latest movement history information.

6. A communication method, characterized in that: include: The first network device receives an RRC re-establishment request message from the terminal device; The first network device sends an RRC re-establishment message to the terminal device; The first network device receives an RRC re-establishment completion message from the terminal device, where the RRC re-establishment completion message includes first indication information, where the first indication information is used to indicate that the terminal device has available mobility history information; The first network device sends a first message to the terminal device based on the first indication information, where the first message is used to request to obtain the movement history information; The first network device receives a second message from the terminal device, where the second message includes the latest movement history information.

7. A communication device, characterized in that: include: A receiving unit, configured to receive a radio resource control RRC re-establishment request message from a terminal device before sending the first message to the second network device; A sending unit, configured to send a first message to a second network device, wherein the first message is used to request the second network device to obtain a context of a terminal device; The receiving unit is further configured to receive a second message from the second network device, the second message including first movement history information and second movement history information, the first movement history information is recorded by the terminal device, the second movement history information is recorded by the network device, and the second message is a response message to the first message; A processing unit is used to determine that the terminal device is in an RRC connection re-establishment scenario, so as to save the first mobile history information and the second mobile history information.

8. A communication device, characterized in that: include: A receiving unit, configured to receive a first message from a first network device, wherein the first message is used to request the communication apparatus to obtain a context of a terminal device, and the first message carries a context identifier of the terminal device; a processing unit, configured to determine that the type of the context identifier is RRC reestablishment, and determine that the second message includes the first mobility history information and the second mobility history information, and the second message is a response message to the first message; A sending unit is used to send a second message to the first network device when the processing unit determines that the type of the context identifier is RRC re-establishment, and determines that the second message includes the first mobile history information and the second mobile history information, wherein the first mobile history information is recorded by the terminal device and the second mobile history information is recorded by the network device.

9. A communication device, characterized in that: include: A receiving unit, configured to receive a first message from a first network device, wherein the first message is used to request the communication apparatus to obtain a context of a terminal device, and the first message carries a context identifier of the terminal device; A sending unit is used to send a second message to the first network device, where the second message is a response message to the first message, wherein if the type of the context identifier is RRC recovery, the second message does not include the first mobile history information and the second mobile history information, so that the first network device obtains the latest mobile history information of the terminal device from the terminal device when the mobile history information of the terminal device is needed; or, if the terminal device is in an RRC deactivated state, the second message does not include the first mobile history information and the second mobile history information, so that the first network device obtains the latest mobile history information of the terminal device from the terminal device when the mobile history information of the terminal device is needed; wherein the first mobile history information is recorded by the terminal device, and the second mobile history information is recorded by the network device.

10. A communication device, characterized in that: include: A sending unit, configured to send a first message to a second network device, wherein the first message is used to request the second network device to obtain a context of a terminal device, and the first message carries a context identifier of the terminal device; A receiving unit, configured to receive a second message from the second network device, where the second message is a response message to the first message, wherein if the type of the context identifier is RRC recovery, the second message does not include the first mobility history information and the second mobility history information; or, if the terminal device is in an RRC deactivated state, the second message does not include the first mobility history information and the second mobility history information; wherein the first mobility history information is recorded by the terminal device, and the second mobility history information is recorded by the network device; The receiving unit is further configured to receive the latest movement history information of the terminal device from the terminal device.

11. A terminal device, characterized in that: include: A sending unit, configured to send an RRC re-establishment request message to the first network device; A receiving unit, configured to receive an RRC re-establishment message from the first network device; The sending unit is further used to send an RRC re-establishment completion message to the first network device, where the RRC re-establishment completion message includes first indication information, where the first indication information is used to indicate that the terminal device has available mobility history information; The receiving unit is further configured to receive a first message from the first network device, wherein the first message is used to request to obtain the movement history information; The sending unit is further configured to send a second message to the first network device, where the second message includes the latest movement history information.

12. A communication device, characterized in that: include: A receiving unit, configured to receive an RRC re-establishment request message from a terminal device; A sending unit, configured to send an RRC re-establishment message to the terminal device; The receiving unit is further used to receive an RRC re-establishment completion message from the terminal device, the RRC re-establishment completion message including first indication information, and the first indication information is used to indicate that the terminal device has available mobility history information; The sending unit is further used to send a first message to the terminal device based on the first indication information, where the first message is used to request to obtain the movement history information; The receiving unit is further configured to receive a second message from the terminal device, wherein the second message includes the latest movement history information.

13. A communication device, characterized in that: The communication device includes a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device implements the method according to claim 1, 2, 3, 4, 5 or 6.

14. A communication system, characterized in that: The communication system includes the communication device as described in claim 7 and the communication device as described in claim 8, or the communication system includes the communication device as described in claim 9 and the communication device as described in claim 10, or the communication system includes the terminal equipment as described in claim 11 and the communication device as described in claim 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a computer, causes the computer to perform the method according to claim 1, 2, 3, 4, 5 or 6.

16. A computer program product, characterized in that The computer program product comprises a computer program which, when run on a computer, causes the computer to perform the method of claim 1 , 2 , 3 , 4 , 5 or 6 .

Citation Information

Cited By

  • System and method for adaptive cell search based on artificial intelligence model of an electronic device

    US12543095B2