A communication method and device

By setting two thresholds on the terminal device side and dividing three business scenarios according to the wireless signal measurement results, the problem of delaying wireless link fault determination in the prior art is solved, and the effect of rapid response and reduction of interrupt delay is achieved.

CN114830725BActive Publication Date: 2025-06-10HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980103176.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-25
Publication Date
2025-06-10
Estimated Expiration
2039-12-25

AI Technical Summary

Technical Problem

In the prior art, when the wireless link fails, it is necessary to wait for the timer to time out before determining the link failure, resulting in a long delay in communication interruption and cannot meet the communication needs of industrial scenarios.

Method used

By setting two thresholds on the terminal device side, the first threshold and the second threshold, three business scenarios are determined based on the wireless signal measurement results and the threshold relationship, so as to accurately locate the problem and adopt corresponding processing methods.

Benefits of technology

It realizes the rapid determination of the cause of wireless link failure and adopts different processing methods according to different causes of failure, reducing the delay in service interruption and meeting the communication needs of industrial scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114830725B_ABST
    Figure CN114830725B_ABST
Patent Text Reader

Abstract

A communication method and device, the method comprising: two thresholds are set on the terminal device side, namely a first threshold and a second threshold. The terminal device can determine the reason for radio link failure (RLF) according to the magnitude relationship between the two thresholds and the radio signal measurement result, and then can adopt different processing methods according to different RLF reasons. Through the above method, the terminal device can more accurately locate the reason for RLF, take corresponding processing, quickly resume normal communication, and meet the service requirements of industrial scenarios, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this application relate to the field of communication technologies, and in particular, to a communication method and device. Background Art

[0002] Wireless communication can be performed between a network device and a terminal device. When there are problems with the wireless communication between the two, it is necessary to be able to detect the problems in a timely manner and handle them so that the wireless communication between the network device and the terminal device can proceed normally.

[0003] Currently, the terminal device monitors whether there are problems with the wireless communication between the two by measuring the wireless signal sent by the network device. If the quality of the wireless signal measured by the terminal device is lower than a pre-set threshold, an out-of-sync signal is reported to the upper protocol layer, otherwise a sync signal is reported to the upper protocol layer. Suppose the upper protocol layer of the terminal device continuously receives a first number of out-of-sync signals, then the terminal device will start a T 310 timer. If a second number of sync signals are continuously received during the operation of the timer, it is considered that the wireless link has been restored, and the T 310 timer is stopped, and communication with the network device continues; otherwise, when the T 310 timer times out, the terminal device considers that a radio link failure (RLF) has occurred and initiates a radio resource control (RRC) reestablishment process.

[0004] In the above solution, from detecting poor signal quality to performing wireless link reestablishment, the above waiting process needs to be experienced. At this time, the terminal device is very likely unable to communicate normally. Coupled with the delay caused by the terminal device initiating the reestablishment process and the possible new establishment due to reestablishment failure, the communication requirements in industrial scenarios cannot be met. Summary of the Invention

[0005] Embodiments of this application provide a communication method and device, which can determine the cause of RLF and can adopt different processing methods according to different RLF causes, so as to meet the communication requirements in industrial scenarios.

[0006] In a first aspect, a communication method is provided. The method includes: a first network device sending a wireless signal to a terminal device, where the wireless signal is used to measure or evaluate the wireless signal quality, and the wireless signal may include a reference signal, a sounding signal, a measurement signal, or other signals, etc. The terminal device measures the wireless signal to determine a measurement result; the terminal device determines a first comparison result according to at least one of a first threshold or a second threshold and the measurement result; then, the terminal device determines a first processing manner according to the first comparison result. Among them, the above-mentioned first threshold and second threshold may be specified by a protocol or configured by the network device for the terminal device.

[0007] Through the above method, two thresholds are set on the terminal device side, namely the first threshold and the second threshold. According to the magnitude relationship between the two thresholds and the wireless signal measurement result, three service scenarios can be determined. Compared with the method of setting only one threshold on the terminal device side and only two service scenarios can be determined according to the magnitude relationship between the threshold and the wireless signal measurement result, a more fine-grained service scenario division can be performed, so as to more accurately locate problems and perform corresponding processing. For example, in some scenarios (such as equipment failures in industrial scenarios), normal communication can be restored faster, the service interruption delay can be reduced, and the communication requirements in industrial scenarios can be met.

[0008] It should be noted that in the design of this application, taking setting two thresholds and dividing three scenarios as an example for illustration is not a limitation on the embodiments of this application. For example, in the embodiments of this application, three thresholds can also be set to divide four scenarios, etc.

[0009] In a possible design, when the above-mentioned first comparison result is that the measurement result is greater than or equal to the first threshold, the above-mentioned first processing manner is that the terminal device determines that the wireless communication between the terminal device and the first terminal device is normal. When the above-mentioned first comparison result is that the measurement result is less than the first threshold and greater than or equal to the second threshold, the above-mentioned first processing manner is that the terminal device determines that a first fault has occurred and executes a first processing process. When the above-mentioned first comparison result is that the measurement result is less than the second threshold, the above-mentioned first processing manner is that the terminal device determines that a second fault has occurred and executes a second processing process. Or, the above process can also be described as: when the measurement result of the wireless signal is greater than or equal to the first threshold, the terminal device can determine that the wireless communication between the terminal device and the first network device is normal. When the measurement result of the wireless signal is less than the first threshold and greater than or equal to the second threshold, the terminal device can determine that a first fault has occurred and executes a first processing process. When the measurement result of the wireless signal is less than the second threshold, the terminal device can determine that a second fault has occurred and executes a second processing process.

[0010] In a possible design, the first comparison result is less than the second threshold, specifically: within the running duration of the first timer, the measurement results of the wireless signal of the first network device by the terminal device are all less than the second threshold; or, the measurement results of the wireless signal of the first network device measured by the terminal device for N consecutive times are all less than the second threshold, where N is a positive integer greater than 0.

[0011] Through the above method, since when the first comparison result is less than the second threshold, the terminal device determines that the terminal device has a second fault. In this design, however, when the first comparison result is less than the second threshold for multiple consecutive times or within a certain duration, it is determined that the terminal device has a second fault. Thus, the probability of misjudging the fault of the terminal device can be reduced.

[0012] In a possible design, the first network device can send the configuration information of the second network device or the configuration information of the cell corresponding to the second network device to the terminal device.

[0013] Among them, the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: the identification information of the second network device, the identification information of the cell corresponding to the second network device, the frequency information of the cell corresponding to the second network device, or the priority information of the cell corresponding to the second network device.

[0014] Through the above method, when the terminal device has a second fault, the terminal device can access the second network device for communication more quickly according to the configuration information of the second network device or the configuration information of the cell corresponding to the second network device, reduce the fault delay, and meet the service requirements of the industrial scenario.

[0015] In a possible design, the above terminal device executes the second processing procedure, including:

[0016] The terminal device reselects to the cell corresponding to the second network device or initiates a re-establishment procedure to the cell corresponding to the second network device according to the configuration information of the second network device or the configuration information of the cell corresponding to the second network device.

[0017] Through the above method, when the terminal device determines that the first network device fails, that is, the above second fault, it then executes the above second processing procedure, accesses the second network device for communication, thereby ensuring the normal operation of the terminal device, avoiding the interruption of communication services, and meeting the service requirements in the industrial scenario.

[0018] In a possible design, the second network device can send a handover command to the terminal device; the terminal device can switch from the cell corresponding to the first network device to the cell corresponding to the second network device according to the handover command.

[0019] In a possible design, the terminal device sends first indication information to the second network device, where the first indication information is used to indicate the occurrence of the second fault, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, the measurement result of the radio signal, or the measurement report of the radio signal.

[0020] By the above method, when the terminal device determines that the first network device has a fault, that is, the second fault above, it sends the first indication information to the second network device to indicate the fault of the first network device. Correspondingly, when the second network device receives the first indication information, it sends a handover indication command to the terminal device to indicate that the terminal device switches from the cell corresponding to the first network device to the cell corresponding to the second network device. It can be seen that when the terminal device determines that the first network device has a fault, it timely notifies the second network device to request to establish normal communication with the second network device, reduces the fault delay, ensures the normal communication of the terminal device, and meets the service requirements of the industrial scenario.

[0021] In a possible design, the first fault is a radio link failure (RLF), and the second fault is the fault of the first network device.

[0022] In a second aspect, a communication method is provided, and the method includes: the first network device sends the configuration information of the second network device or the configuration information of the cell corresponding to the second network device to the terminal device; the first network device sends the context of the terminal device and / or the configuration information of the terminal device to the second network device.

[0023] By the above method, the first network device can send the configuration information of the second network device to the terminal device, and at the same time, the first network device also sends the configuration information of the terminal device to the second network device. In this way, when the communication link between the first network device and the terminal device fails, the terminal device can establish a normal communication link with the second network device according to the configuration information of the second network device. Correspondingly, the second network device can establish a normal communication link with the terminal device according to the configuration information of the terminal device. It ensures the normal communication of the terminal device and meets the service requirements of the industrial scenario.

[0024] In a possible design, the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: the identification information of the second network device, the identification information of the cell corresponding to the second network device, the frequency information of the cell corresponding to the second network device, or the priority information of the cell corresponding to the second network device.

[0025] In a possible design, the first network device sends the context of the terminal device and / or the configuration information of the terminal device to the second network device, including: the first network device directly sends the context of the terminal device and / or the configuration information of the terminal device to the second network device; or, the first network device sends handover indication information to the second network device, and the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0026] In a possible design, the context of the terminal device includes security information, and / or the configuration information of the terminal device includes security information, and the security information is used for the terminal device to perform security verification when accessing the cell corresponding to the second network device.

[0027] In a third aspect, a communication method is provided, and the method includes: the second network device receives the context of the terminal device and / or the configuration information of the terminal device from the first network device; the second network device communicates with the terminal device according to the context of the terminal device and / or the configuration information of the terminal device.

[0028] Through the above method, under normal circumstances, a communication link is established between the terminal device and the first network device. When the first network device fails, the second network device can directly establish a communication link with the terminal device according to the configuration information of the terminal device pre-sent by the first network device. Correspondingly, when the second network device is preparing to establish a communication link with the first network device and then requests the configuration information of the terminal device from the first network device, the duration of link establishment can be reduced, the fault delay can be reduced, and the communication requirements of the terminal device can be guaranteed.

[0029] In a possible design, the second network device receives the context of the terminal device and / or the configuration information of the terminal device from the first network device, including: the second network device directly receives the context of the terminal device and / or the configuration information of the terminal device from the first network device; or, the second network device receives handover indication information from the first network device, and the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0030] In a possible design, the context of the terminal device includes security information, and / or the configuration information of the terminal device includes security information, and the security information is used for the terminal device to perform security verification when accessing the cell corresponding to the second network device.

[0031] Fourth aspect, a communication method is provided, including: a second network device sending a handover command to a terminal device, where the handover command is used to notify the terminal device to hand over from a cell corresponding to a first network device to a cell corresponding to the second network device; the second network device communicating with the terminal device.

[0032] In a possible design, the method further includes: the second network device receiving first indication information from the terminal device, where the first indication information is used to indicate that a second fault has occurred, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, a measurement result of a radio signal, or a measurement report of a radio signal.

[0033] Through the above method, when the terminal device determines that a fault has occurred in the first network device, that is, the above-mentioned second fault, it sends the first indication information to the second network device to indicate the fault of the first network device. Correspondingly, when the second network device receives the first indication information, it sends a handover indication command to the terminal device to indicate that the terminal device hands over from the cell corresponding to the first network device to the cell corresponding to the second network device. It can be seen that when the terminal device determines that a fault has occurred in the first network device, it timely notifies the second network device to request to establish normal communication with the second network device, reduces the fault delay, ensures the normal communication of the terminal device, and meets the service requirements of the industrial scenario.

[0034] In a possible design, the method further includes: the second network device receiving the context of the terminal device and / or the configuration information of the terminal device from the first network device.

[0035] In a possible design, the second network device receiving the context of the terminal device and / or the configuration information of the terminal device from the first network device includes: the second network device directly receiving the context of the terminal device, or the configuration information of the terminal device, from the first network device; or the second network device receiving handover indication information from the first network device, where the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0036] Fifth aspect, a terminal device is provided. For the beneficial effects of this terminal device, reference can be made to the description in the first aspect above, which will not be elaborated here. The terminal device has the function of implementing the actions in the method embodiments of the first aspect. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions. In a possible design, the structure of the terminal device includes a communication unit and a processing unit. The communication unit and the processing unit can execute the corresponding functions in the examples of the first aspect. For specific functions, reference can be made to the description in the first aspect.

[0037] Sixth aspect, a first network device is provided. For the beneficial effects of this first network device, reference can be made to the description in the second aspect above, which will not be elaborated here. The first network device has the function of implementing the actions in the method embodiments of the second aspect. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions. In a possible design, the structure of the first network device includes a communication unit. Further, a processing unit may also be included. The communication unit and the processing unit can execute the corresponding functions in the examples of the second aspect. For specific functions, reference can be made to the description in the second aspect.

[0038] Seventh aspect, a second network device is provided. For the beneficial effects of this second network device, reference can be made to the description in the third aspect above, which will not be elaborated here. The second network device has the function of implementing the actions in the method embodiments of the third aspect. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions. In a possible design, the structure of the second network device includes a communication unit and a processing unit. The communication unit and the processing unit can execute the corresponding functions in the examples of the third aspect. For specific functions, reference can be made to the description in the third aspect.

[0039] Eighth aspect, a second network device is provided. For the beneficial effects of this second network device, reference can be made to the description in the fourth aspect above, which will not be elaborated here. The second network device has the function of implementing the actions in the method embodiments of the fourth aspect. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions. In a possible design, the structure of the second network device includes a communication unit. Further, a processing unit may also be included. The communication unit and the processing unit can execute the corresponding functions in the examples of the fourth aspect. For specific functions, reference can be made to the description in the fourth aspect.

[0040] In a ninth aspect, a device is provided. The device includes a processor for implementing the method described in any one of the first to fourth aspects above. The device may further include a memory for storing program instructions and data. The memory is coupled to the processor, and when the processor executes the program instructions stored in the memory, the method described in any one of the first to fourth aspects above can be implemented. The device may further include a communication interface for communicating with other devices. Exemplarily, the communication interface may be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.

[0041] In a tenth aspect, a chip is provided, including a processor for invoking a program stored in a memory to execute the method described in any one of the first to fourth aspects.

[0042] In an eleventh aspect, a computer-readable storage medium is provided, including a program, and when the program is run by a processor, the method described in any one of the first to fourth aspects is executed.

[0043] In a twelfth aspect, a computer program product is provided, including instructions, and when the instructions are run on a computer, the computer is caused to execute the method in any one of the first to fourth aspects.

[0044] In a thirteenth aspect, a system is provided, which includes the terminal device, the first network device, and / or the second network device described in any one of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of the communication system provided by an embodiment of the present application;

[0046] Figure 2 A schematic diagram of the communication system provided by an embodiment of the present application;

[0047] Figure 3 A flowchart of the communication method provided by an embodiment of the present application;

[0048] Figure 4 A schematic diagram of performing different processing procedures according to different thresholds provided by an embodiment of the present application;

[0049] Figure 5 A schematic diagram of networking of device A / device B provided by an embodiment of the present application;

[0050] Figure 6 A schematic diagram of wireless link recovery provided by an embodiment of the present application;

[0051] Figure 7 A schematic diagram of dual-connection-based fault detection provided by an embodiment of the present application;

[0052] Figure 8 Schematic diagram of wireless link recovery provided by an embodiment of the present application;

[0053] Figure 9 Flowchart of a communication method provided by an embodiment of the present application;

[0054] Figure 10 Schematic diagram of wireless link recovery provided by an embodiment of the present application;

[0055] Figure 11 Flowchart of a communication method provided by an embodiment of the present application;

[0056] Figure 12 Schematic structural diagram of a device provided by an embodiment of the present application;

[0057] Figure 13 Another schematic structural diagram of a device provided by an embodiment of the present application. Detailed implementation manners

[0058] Figure 1FIG. 0 shows one of the communication systems 100 to which the embodiments of the present application are applied. The communication system 100 may include at least one network device 110. The network device 110 may be a device that communicates with a terminal device, such as a base station or a base station controller, etc. Each network device 110 may provide communication coverage for a specific geographical area and may communicate with terminal devices located within the coverage area (cell). The network device 110 may be an access network device. The access network device may also be referred to as a radio access network (RAN) device, which is a device that provides wireless communication functions for terminal devices. The access network device includes, for example, but is not limited to: the next-generation base station (generation nodeB, gNB) in 5G, evolved node B (eNB), radio network controller (RNC), node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved nodeB, or home node B, HNB), baseband unit (BBU), transmitting and receiving point (TRP), transmitting point (TP), mobile switching center, etc. The access network device may also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario, or the network device may be a relay station, an access point, a vehicle-mounted device, a terminal device, a wearable device, and a network device in a future 5G network or a network device in a future evolved public land mobile network (PLMN) network, etc. The terminal device may communicate with multiple access network devices of different technologies. For example, the terminal device may communicate with an access network device that supports long term evolution (LTE), may also communicate with an access network device that supports 5G, and may also perform dual connection with an access network device that supports LTE and an access network device that supports 5G. The embodiments of the present application do not limit this.

[0059] The communication system 100 further includes one or more terminal devices 120 within the coverage of the network device 110. The terminal device 120 can be mobile or fixed. The terminal device 120 can be simply referred to as a terminal, which is a device with wireless transceiver functions. The terminal device can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons, satellites, etc.). The terminal device can be a mobile phone, a tablet computer (pad), a computer with wireless transceiver functions, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in smart city, a wireless terminal device in smart home, and can also include a user equipment (UE), etc. The terminal device can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication functions, a computing device or other processing devices connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in the future fifth generation (5G) network or a terminal device in a future evolved public land mobile network (PLMN), etc. The terminal device can sometimes also be referred to as a user equipment (UE), an access terminal device, a vehicle-mounted terminal device, an industrial control terminal device, a UE unit, a UE station, a mobile station, a mobile platform, a remote station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent or a UE device, etc. The terminal device can also be fixed or mobile. The embodiments of the present application do not limit this.

[0060] Among them, the network device 110 and the terminal device 120 can perform data transmission through air interface resources, which can include at least one of time domain resources, frequency domain resources, and code domain resources. Specifically, when the network device and the terminal device perform data transmission, the network device can send control information to the terminal through a control channel, such as a physical downlink control channel (PDCCH), so as to allocate resources for a data channel, such as a physical downlink shared channel (PDSCH) or a physical uplink shared channel (PUSCH). For example, the control information can indicate the symbols and / or resource blocks (RBs) to which the data channel is mapped, and the network device and the terminal device perform data transmission through the data channel in the allocated time-frequency resources. Among them, the above data transmission can include downlink data transmission and / or uplink data transmission. Downlink data (such as the data carried by PDSCH) transmission can refer to the network device sending data to the terminal device, and uplink data (such as the data carried by PUSCH) transmission can refer to the terminal device sending data to the network device. The data can be generalized data, such as user data, system information, broadcast information, or other information, etc.

[0061] Figure 1 An example shows a network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices, and the coverage range of one network device may include other numbers of terminal devices. The embodiments of the present application do not limit this.

[0062] Figure 2 Fig. 2 shows a second communication system 200 to which the embodiments of the present application are applied, including: a terminal device 201, a terminal device 202, a terminal device 203, a terminal device 204, a terminal device 205, a terminal device 206, and a network device 207.

[0063] Among them, the terminal devices 201 to 206 and the network device 207 can form a communication system. In this communication system, at least one of the terminal devices 201, 202, 203, 204, 205, or 206 can send uplink data to the network device 207. The network device 207 can send downlink data to at least one of the terminal devices 201, 202, 203, 204, 205, or 206.

[0064] It can be understood that with reference to Figure 2As shown, in downlink transmission, the network device 207 can directly send downlink data to the terminal device 201, the terminal device 202, the terminal device 203, and the terminal device 205, and the terminal device 205 can forward the downlink data to the terminal device 204 and the terminal device 206. Similarly, in uplink transmission, the terminal device 204 and the terminal device 206 can send uplink data to the terminal device 205, and the terminal device 205 forwards the uplink data to the network device 207. Figure 2 This is only for illustrative purposes and does not limit the embodiments of the present application. For example, the network device 207 can directly send downlink data to the terminal device 204 and the terminal device 206, and the terminal device 204 and the terminal device 206 can also directly send uplink data to the network device 207, etc.

[0065] Or, still referring to Figure 2 As shown, the terminal device 204, the terminal device 205, and the terminal device 206 can also form a communication system. In this communication system, the terminal device 205 can send downlink data to the terminal device 204 and the terminal device 206. And the terminal device 204 and the terminal device 206 can send uplink data to the terminal device 205, etc.

[0066] Figure 2 An example shows one network device and six terminal devices. Optionally, the communication system 200 can include multiple network devices and the coverage range of one network device can include other numbers of terminal devices. The embodiments of the present application do not limit this.

[0067] It can be understood that the communication method and device provided by the embodiments of the present application can be applied to the fourth-generation (4G) communication system, such as the long term evolution (LTE) system; the fifth-generation (5G) communication system, such as the new radio (NR) system; or various future evolved communication systems, such as the Internet of Things, the Internet of Vehicles, the sixth-generation (6G) communication system, etc., without limitation.

[0068] Further, in the following description of the embodiments of the present application, terms such as "first" and "second", for example, "first network device", "second network device", "first threshold", and "second threshold", etc., are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order, etc. "At least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0069] As Figure 3 shown, a communication method process is provided. The execution subject of this method is a terminal device, a first network device, and a second network device. The terminal device can be the terminal device 120 mentioned above Figure 1 or can be any one of the terminal devices 201 to 206 mentioned above Figure 2 . The first network device or the second network device can be the network device 110 mentioned above Figure 1 or can be the network device 207 mentioned above Figure 2 . This process includes:

[0070] S300: The first network device sends a wireless signal to the terminal device. Correspondingly, the terminal device receives the wireless signal from the first network device.

[0071] Wherein, the wireless signal is used to measure or evaluate the wireless channel quality. The wireless signal can be a reference signal, a sounding signal, a measurement signal, or other signals, etc. The reference signal can also be called a pilot signal. The reference signal can include a synchronization signal / physical broadcast channel block (SSB / PBCH block, SSB) and a channel state information reference signal (channel state information, CSI reference signal, CSI-RS), a channel sounding signal (sounding reference signal, SRS), etc., without limitation.

[0072] S301: The terminal device measures the wireless signal and determines the measurement result.

[0073] Among them, the terminal device can measure the received power, received quality, signal-to-noise ratio, etc. of the wireless signal to obtain a measurement result. For example, the unit of the measurement result can be decibel-milliwatt (dBm), decibel (dB), etc., which is not limited.

[0074] S302: The terminal device determines a first threshold and a second threshold, and the value of the first threshold is greater than the value of the second threshold.

[0075] Among them, both the above-mentioned first threshold and second threshold can be specified by the protocol. Alternatively, both the above-mentioned first threshold and second threshold can be configured by the network device for the terminal device. For example, the network device can configure the first threshold and the second threshold for the terminal device through signaling such as broadcast, radio resource control (RRC), or media access control (MAC). Alternatively, the above-mentioned first threshold can be specified by the protocol, and the above-mentioned second threshold can be configured by the network device for the terminal device. Alternatively, the above-mentioned first threshold is configured by the network device for the terminal device, and the above-mentioned second threshold is specified by the protocol, etc., which is not limited.

[0076] S303: The terminal device determines a first comparison result according to at least one of the first threshold or the second threshold and the measurement result.

[0077] The above-mentioned "at least one of the first threshold or the second threshold" may specifically be: the first threshold, the second threshold, or both the first threshold and the second threshold. That is to say, in the above S303, the terminal device may determine the first comparison result based on the first threshold and the measurement result. Or, in the above S303, the terminal device may determine the first comparison result based on the second threshold and the measurement result. Or, in the above S303, the terminal device may determine the first comparison result based on the first threshold, the second threshold, and the measurement result, etc. The first comparison result may be that the measurement result is greater than or equal to the first threshold, or the first comparison result may be that the measurement result is less than the first threshold and greater than or equal to the second threshold, or the first comparison result may be that the measurement result is less than the second threshold. It can be understood that in the description of the embodiments of the present application, "greater than or equal to" may be replaced by "greater than", "less than" may be replaced by "less than or equal to", etc., without limitation. It should be noted that in the above description of "the measurement result of the wireless signal is greater than or equal to the first threshold", it may specifically refer to: the measurement result of the wireless signal of the first network device by the terminal device once is greater than or equal to the first threshold. Or, it may refer to: the measurement results of the wireless signal of the first network device by the terminal device continuously or cumulatively multiple times (for example, N times, N is an integer greater than 1) are all greater than or equal to the first threshold. Or, it may refer to: within the running duration of a timer (for example, the first timer), the measurement results of the wireless signal of the first network device by the terminal device are all greater than or equal to the first threshold, etc. Similarly, in the above description of "the measurement result of the wireless signal is less than the first threshold and greater than or equal to the second threshold", it may specifically be: the measurement result of the wireless signal of the first network device by the terminal device once is less than the first threshold and greater than or equal to the second threshold. Or, it may refer to: the measurement results of the wireless signal of the first network device by the terminal device continuously or cumulatively multiple times are less than the first threshold and greater than or equal to the second threshold. Or, it may refer to: within the running duration of the timer, the measurement results of the wireless signal of the first network device by the terminal device are less than the first threshold and greater than or equal to the second threshold. In the above description of "the measurement result of the wireless signal is less than the second threshold", it may specifically be: the measurement result of the wireless signal of the first network device by the terminal device once is less than the second threshold. Or, it may refer to: the measurement results of the wireless signal of the first network device by the terminal device continuously or cumulatively multiple times are less than the second threshold. Or, it may refer to: within the running duration of the timer, the measurements of the wireless signal of the first network device by the terminal device are all less than the second threshold.

[0078] Exemplarily, taking "the relationship between the measurement result of the wireless signal in a certain measurement of the terminal device and the first threshold and the second threshold" as an example for illustration: For example, the first threshold is -11 dBm, the second threshold is -15 dBm, and the first threshold is greater than the second threshold. If the measurement result of the wireless signal in S302 above is -12 dBm, it can be determined that the first comparison result above is that the measurement result is greater than the second threshold and less than the first threshold. Similarly, if the measurement result of the wireless signal in S302 above is -16 dBm, it can be determined that the first comparison result above is that the measurement result is less than the second threshold. If the measurement result of the wireless signal in S302 above is -10 dBm, it can be determined that the first comparison result above is that the measurement result is greater than the first threshold.

[0079] S304: The terminal device determines a first processing method according to the first comparison result.

[0080] When the first comparison result in S303 above is that the measurement result is greater than or equal to the first threshold, the first processing method in S304 above is that the terminal device determines that the wireless communication between the terminal device and the first terminal device is normal. When the first comparison result in S303 above is that the measurement result is less than the first threshold and greater than or equal to the second threshold, the first processing method in S304 above is that the terminal device determines that a first fault has occurred and executes a first processing procedure. When the first comparison result in S303 above is that the measurement result is less than the second threshold, the first processing method in S304 above is that the terminal device determines that a second fault has occurred and executes a second processing procedure. Or, the above process can also be described as: As Figure 4 shown, when the measurement result of the wireless signal is greater than or equal to the first threshold, the terminal device can determine that the wireless communication between the terminal device and the first network device is normal. When the measurement result of the wireless signal is less than the first threshold and greater than or equal to the second threshold, the terminal device can determine that a first fault has occurred and executes a first processing procedure. When the measurement result of the wireless signal is less than the second threshold, the terminal device can determine that a second fault has occurred and executes a second processing procedure.

[0081] As can be seen from the above, in the embodiment of the present application, two thresholds are set on the terminal device side, namely the first threshold and the second threshold. According to the magnitude relationship between the above two thresholds and the wireless signal measurement result, three service scenarios can be determined. Compared with the method of setting only one threshold on the terminal device side and only two service scenarios can be determined according to the magnitude relationship between the above threshold and the wireless signal measurement result, a more fine-grained service scenario division can be performed, so as to more accurately locate problems and perform corresponding processing. For example, in some scenarios (such as equipment failures in industrial scenarios), normal communication can be restored faster, reducing the service interruption delay. It should be noted that, as an example, the present invention stipulates three scenarios through two thresholds. Further, four scenarios can be stipulated by stipulating three thresholds, and corresponding processing can be made for the four scenarios respectively, and so on.

[0082] The above first failure may be a radio link failure (RLF). The first processing procedure corresponding to the above first failure may be: the terminal device starts a T 310 timer. If during the operation of the T 310 timer, the upper layer of the terminal device continuously receives a second quantity (for example, N 311 pieces) of synchronization signals, it is considered that the radio link has been restored and can meet the communication requirements, and the T 310 timer is stopped, and communication continues. If the T 310 timer is not stopped, the T 310 timer will keep running until the timeout state. When the T 310 timer times out, the terminal device needs to perform an RRC reestablishment process to restore normal communication. It should be noted that during the operation of the T 310 timer, the physical layer of the terminal device will continuously detect the wireless signal quality of the first network device. And if the wireless signal quality of the first network device is greater than or equal to the first threshold, the physical layer of the terminal device will report a synchronization signal to the upper layer, otherwise the physical layer of the terminal device reports an out-of-sync signal to the upper layer. The synchronization signal may include a Qin signal or an in sync signal, etc., and the out-of-sync signal may include a Q out signal or an out of sync signal, etc., which is not limited.

[0083] The second failure described above may be a first network device failure. Alternatively, the second failure may be a failure caused by the terminal device moving to a location with very poor signal quality, such as an elevator, basement, or garage. Or, the second failure may be that the signal is blocked due to an obstacle between the first network device and the terminal device. The second processing procedure corresponding to the second failure may be: the terminal device reselects to the cell corresponding to the second network device according to the configuration information of the second network device, or initiates a reestablishment procedure to the cell corresponding to the second network device, or switches to the cell corresponding to the second network device, etc.

[0084] It can be seen from the above analysis that in the embodiment of the present application, the terminal device can determine two types of failures, namely the first failure and the second failure. In one solution, the terminal device side can only determine the first failure described above. The recovery duration of the first processing procedure corresponding to the first failure is relatively long, and the service interruption delay is relatively long. In the embodiment of the present application, in addition to determining the first failure, the terminal device can also determine the second failure. The recovery duration of the second processing procedure corresponding to the second failure is relatively short, and the service interruption delay is relatively short, which can meet the communication requirements in the industrial scenario.

[0085] Exemplarily, in the case of a normal wireless link, the terminal device may be in a connected state with the first network device and in a non-connected state with the second network device. When the terminal device determines that the above-mentioned second fault occurs (i.e., the first network device fails), the second network device can be used for communication. Optionally, in order to enable the terminal device to access the second network device more quickly, the first network device may pre-transmit the configuration information of the second network device to the terminal device. At the same time, the first network device may transmit the context and / or configuration information of the terminal device to the second network device. Alternatively, the above process can also be described as: the first network device sends the configuration information of the second network device to the terminal device. Correspondingly, the terminal device receives the configuration information of the second network device from the first network device. The first network device sends the context and / or configuration information of the terminal device to the second network device. Correspondingly, the second network device receives the context and / or configuration information of the terminal device from the first network device. Among them, the context of the terminal device or the configuration information of the terminal device can be directly transmitted, that is, the first network device sends the context and / or configuration information of the terminal device to the second network device. Or, the context of the terminal device or the configuration information of the terminal device can be carried in the handover indication or handover request information for transmission, that is, the first network device sends the handover indication or handover request indication information, and the handover indication or handover request information carries the context and / or configuration information of the terminal device. Optionally, when the terminal device establishes an RRC connection with the first network device, or after the terminal device completes the establishment of the RRC connection with the first network device, the first network device performs the above step of "sending the context and / or configuration information of the terminal device to the second network device". Similarly, when the terminal device establishes an RRC connection with the first network device, or after the terminal device completes the establishment of the RRC connection with the first network device, the first network device performs the above step of "sending the configuration information of the second network device to the terminal device". The first network device and the second network device can communicate through the Xn interface. For example, the first network device can send the context and / or configuration information of the terminal device to the second network device through the Xn interface.

[0086] Among them, the configuration information of the second network device can also be referred to as the configuration information of the cell corresponding to the second network device. In the following embodiments, the configuration information of the second network device is taken as an example for description. The configuration information of the second network device may include one or more of the following information: the identification information of the second network device, the identification information of the cell corresponding to the second network device, the frequency information of the cell corresponding to the second network device, or the priority information of the cell corresponding to the second network device, etc. The context of the above terminal device may include security information, or the configuration information of the terminal device may include security information, and the security information is used for the terminal device to perform security verification when accessing the cell corresponding to the second network device.

[0087] For the above example, as Figure 5 shown, a specific implementation manner is provided. In this implementation manner, taking the first network device as device A, the second network device as device B, the terminal device as UE, the second fault as the fault of device A, and the radio signal as the reference signal as examples, the above Figure 3 provided method is described in detail.

[0088] See Figure 5 shown. Under normal circumstances, UE communicates with device A, UE is in a connected state with device A, and UE is in a non-connected state with device B. When device A fails, UE accesses device B for communication. UE detects the reference signal sent by device A to perform corresponding actions when different conditions are met. For example, when UE determines that device A fails, it changes to communicate with device B quickly, etc.

[0089] 1). When UE performs radio resource control (RRC) connection establishment in the cell of device A or after the RRC connection establishment is completed, device A sends the configuration information related to the cell of device B to UE, so that UE can quickly access cell B for communication when certain conditions are met. Among them, the configuration information related to the cell of device B includes one or more of the following: cell identification, base station identification, cell frequency information, cell priority, security parameters and other information.

[0090] 2). Device A sends the context of UE and / or the configuration information of UE to the cell of device B through the Xn interface, so that UE can successfully complete reconstruction when accessing the cell of device B. Among them, the context or configuration information may carry verification information, so that security verification can be performed when UE accesses the cell of device B, and the security verification may be integrity verification or decryption.

[0091] 3) Device A can periodically send reference signals to the UE. The UE detects the reference signals sent by Device A to obtain the reference signal quality. Different processing is performed according to the magnitude relationship between the reference signal quality and the first threshold and the second threshold. Among them, the first threshold and the second threshold can be specified by the protocol, or the first threshold and the second threshold can be configured by Device A for the terminal device. For example, they can be configured for the UE through RRC or media access control (MAC), etc. It should be noted that in the following description: "lower than" can mean less than, "higher than" can mean greater than or equal to. Or, "lower than" can mean less than or equal to, "higher than" can mean greater than, etc., which is not limited.

[0092] 3.1) When the reference signal quality of Device A measured by the UE is higher than the first threshold, the UE considers that both the radio link and Device A are okay and normal wireless communication can be carried out. The physical layer of the UE can report the synchronization signal to the upper layer or take no special action. The synchronization signal indicates that the signal quality is okay. The synchronization signal can be the Qin signal, or the in sync signal, etc., which is not limited.

[0093] 3.2) When the reference signal quality of Device A measured by the UE is lower than the first threshold and higher than the second threshold, the UE considers that a wireless communication failure has occurred and normal wireless communication cannot be completed. The physical layer of the UE reports an out-of-sync signal to the upper layer. The out-of-sync signal can include the Q out signal, or the out of sync signal, etc. When the upper layer connection of the UE receives N out-of-sync signals, the T30 timer is started. If, during the running of the timer, the connection receives a second quantity (for example, N 311 pieces) of synchronization signals, it is considered that the radio link has been restored and can meet the communication requirements, and the T 310 timer is stopped, and communication continues. If the timer is not stopped, it will keep running until the timeout state. When it times out, the UE considers that an RLF has occurred at this time, and an RRC reconstruction process needs to be performed to restore normal communication.

[0094] 3.3) When the signal quality of Device A measured by the UE is lower than the second threshold, the UE starts timer T. The duration of T is configured by Device A or specified by the protocol. During the running of T, if the signal quality of Device A detected by the UE is higher than the first threshold, then return and continue to execute the above 3.1), and stop timer T. Or, during the running of T, if the signal quality of Device A detected by the UE is lower than the first threshold but higher than the second threshold, then return and execute the above 3.2), and stop timer T. Or, during the running of T, if the signal quality of Device A detected by the UE is always lower than the second threshold, then when T times out, the UE considers that Device A has failed. At this time, refer to Figure 6As shown, the UE may initiate an RRC reestablishment procedure to the cell of Device B according to the configuration information of the cell of Device B, access the cell of Device B, and communicate with Device B. Optionally, the process in 3.3) above may be replaced with: If the signal quality of Device A measured by the UE for M consecutive times is lower than the second threshold, the UE considers that Device A has failed, and thus initiates an RRC reestablishment procedure to the cell of Device B, where M is an integer greater than 0.

[0095] As can be seen from the above, the UE can determine what kind of failure has occurred in the current communication according to the reference signal quality and the threshold value. When it is determined that Device A has failed, the UE can quickly initiate a reestablishment procedure to the cell of Device B and quickly access the cell of Device B for normal communication.

[0096] Exemplarily, in the embodiment of the present application, under normal circumstances, the terminal device can be in a connected state with both the first network device and the second network device (that is, it can communicate through a dedicated link). When the terminal device determines that a second failure has occurred (that is, the above-mentioned first network device has failed), the terminal device can send a first indication message to the second network device. Wherein, the first indication message is used to indicate that the second failure has occurred, and the first indication message may include one or more of the following information: the cause of the failure, the type of the failure, the measurement result of the radio signal, or the measurement report of the radio signal, etc. After receiving the first indication message from the terminal device, the second network device can send a handover command to the terminal device, and the handover command is used to notify the terminal device to hand over from the cell corresponding to the first network device to the cell corresponding to the second network device. Correspondingly, the terminal device receives the handover command from the second network device and, according to the handover command, hands over from the cell corresponding to the first network device to the cell corresponding to the second network device. Optionally, in order to enable the terminal device to hand over from the first network device to the second network device more quickly, the first network device may pre-transmit the context of the terminal device and / or the configuration information of the terminal device to the second network device. Correspondingly, the second network device receives the context of the terminal device and / or the configuration information of the terminal device from the first network device. Optionally, the first network device may directly send the context of the terminal device and / or the configuration information of the terminal device to the second network device, that is, the first network device may send the context of the terminal device and / or the configuration information of the terminal device to the second network device. Correspondingly, the second network device receives the context of the terminal device and / or the configuration information of the terminal device from the first network device. Or, the first network device may indirectly send the context of the terminal device and / or the configuration information of the terminal device to the second network device. For example, the first network device may send a handover indication message to the second network device, and the handover indication message may carry the context of the terminal device and / or the configuration information of the terminal device, etc. Correspondingly, the second network device may receive the handover indication message from the first network device.

[0097] For the above example, as Figure 7 shown, a specific implementation manner is provided. In this implementation manner, taking the first network device as device A, the second network device as device B, the terminal device as UE, the second fault as the fault of device A, and the radio signal as the reference signal as an example, the above Figure 3 provided method is described in detail.

[0098] Refer to Figure 7 shown, device A is the master base station, and device A can add device B as a secondary base station. In this case, for both device A and device B, UE is in the connected state, so that UE and device B can communicate directly. When device A and UE are communicating normally, UE and device B can communicate, or UE and device B may not communicate, etc., which is not limited.

[0099] 1), When device A is normal, device A sends the context of UE and / or the configuration information of UE to device B. The context of UE and / or the configuration information of UE can be carried in the handover indication information. For example, device A can first send handover indication information to device B, and the handover indication information carries the context of UE and / or the configuration information of UE, and the handover indication information is used to instruct device B to send a handover command to UE when device A fails. After device B receives the handover indication information, it sends an acknowledgment message to device A. Or, the context of UE or the configuration information of UE can be sent separately, etc., which is not limited. For example, device A can first send a handover indication request to device B, and after device B receives the handover indication information, it sends an acknowledgment message to device A. Then, device A sends the context of UE and / or the configuration information of UE to device B.

[0100] 2), UE can adopt the method shown in the above Figure 3 process to detect the reference signal of device A. When it is determined that device A fails, UE sends indication information to device B, and the indication information is used to indicate the failure of device A, or the indication information is used to indicate the communication failure between UE and device A. The indication information can carry at least one of the following: the reason for sending the indication information, the type of failure that occurs (which can be a device failure or the reference signal quality is lower than a certain threshold), the measurement result, the measurement report, etc. After device B receives the indication information, as Figure 8 shown, device B can send a handover command to UE. UE can switch from the cell corresponding to the first network device to the cell corresponding to the second network device according to the handover command.

[0101] Through the above method, UE can detect device A. When it is found that device A fails, UE can switch to device B for communication, so that UE can quickly resume normal communication and reduce the interruption delay.

[0102] As shown Figure 9 in the figure, a process of a communication method is provided. The execution entities of this method are a terminal device, a first network device, and a second network device. The terminal device may be the terminal device 120 in the above Figure 1 , or may be any one of the terminal devices 201 to 206 in the above Figure 2 . The first network device or the second network device may be the network device 110 in the above Figure 1 , or may be the network device 207 in the above Figure 2 . This process includes:

[0103] S901: When the second network device fails to detect the first indication information sent by the first network device, the second network device determines that the first network device has failed. The first indication information is used to indicate that the first network device is in a normal working state.

[0104] Optionally, under normal circumstances, the first network device may periodically send the first indication information to the second network device. The first indication information is used to indicate that the first network device is in a normal working state. When the second network device fails to detect or receive the first indication information of the first network device for N consecutive times or within a period of time, it can be considered that the first network device has failed.

[0105] S902: The second network device sends second indication information to the terminal device. The second indication information is used to indicate that the first network device has failed, or the second indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication.

[0106] S903: The terminal device switches from the first network device to the second network device for communication according to the second indication information.

[0107] As can be seen from the above, the second network device can detect the first network device. When it is found that the first network device fails, it sends indication information to the terminal device and switches the terminal device to the second network device for communication, so that the terminal device can quickly resume normal communication and reduce the interruption delay.

[0108] Optionally, the first network device may pre - send the context of the terminal device and / or the configuration information of the terminal device to the second network device. Correspondingly, the second network device may receive the context of the terminal device and / or the configuration information of the terminal device from the first network device. Or, the first network device may send switching indication information to the second network device, and the switching indication information carries the context of the terminal device and / or the configuration information of the terminal device. Correspondingly, the second network device receives the switching indication information from the first network device.

[0109] In the embodiments of the present application, asFigure 10 As shown, taking the first network device as device A, the second network device as device B, the terminal device as UE, the second fault as the fault of device A, and the wireless signal as the reference signal as an example, the above Figure 9 provided method will be described in detail.

[0110] Refer to Figure 10 As shown, device A is the master base station, and device A can add device B as a secondary base station. In this case, for both device A and device B, UE is in the connected state, so that UE and device B can communicate directly. When device A is communicating with UE normally, UE can communicate with device B, or UE and device B may not communicate, which is not limited.

[0111] 1) When device A is normal, device A can send the context of UE and / or the configuration information of UE to device B. The context of UE and / or the configuration information of UE can be directly transmitted, or the context of UE and / or the configuration information of UE can be carried in the handover indication information.

[0112] 2) Device A can periodically send indication information to device B to indicate that device A is in the normal working state. Assuming that within a period of time or continuously N times, device B does not receive the indication information from device A, then device B can consider that device A has failed. After that, device B can send indication information to UE, and UE can switch to the cell of device B according to the indication information and communicate with device B.

[0113] As Figure 11 shown, a flow of a communication method is provided. The execution entities of this method are the terminal device, the first network device, and the second network device. The terminal device can be the terminal device 120 above Figure 1 or can be any one of the terminal devices 201 to 206 above Figure 2 . The first network device or the second network device can be the network 110 above Figure 1 or can be the network device 207 above Figure 2 . This flow includes:

[0114] S1100: The first network device sends a wireless signal to the second network device. Correspondingly, the second network device receives the wireless signal from the first network device, and the wireless signal can include a reference signal, etc.

[0115] S1101: The second network device determines that the first network device has failed according to the quality of the wireless signal. Optionally, when the quality of the wireless signal of the first network device is less than or equal to the first threshold, it can be considered that the first network device has failed, otherwise it is considered that the first network device is in the normal working state.

[0116] S1102: The second network device sends first indication information to the terminal device. The first indication information is used to indicate that the first network device has failed, or the first indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication.

[0117] S1103: The terminal device switches from the first network device to the second network device for communication according to the first indication information.

[0118] Optionally, the first network device may send the context of the terminal device and / or the configuration information of the terminal device to the second network device in advance. The context of the terminal device and / or the configuration information of the terminal device may be transmitted in other signaling, or the context of the terminal device and / or the configuration information of the terminal device may be carried in the handover indication information for transmission, etc., which is not limited.

[0119] As can be seen from the above, the second network device can detect the first network device. When it is found that the first network device fails, it sends indication information to the terminal device and switches the terminal device to the second network device for communication, so that the terminal device can quickly resume normal communication and reduce the interruption delay.

[0120] In the embodiments of the present application, taking the first network device as device A, the second network device as device B, and the terminal device as UE, and taking the second failure as the failure of device A as an example, the provided method will be described in detail. Figure 11 The provided method.

[0121] Among them, device A is the main base station, and device A can add device B as a secondary base station. In this case, for both device A and device B, UE is in the connected state, so that UE and device B can communicate directly. When device A is communicating with UE normally, UE communicates with device B, or UE and device B do not communicate, which is not limited.

[0122] 1) When device A is normal, device A may send the context of UE and / or the configuration information of UE to device B. The context of UE and / or the configuration information of UE may be directly transmitted, or the context of UE and / or the configuration information of UE may be carried in the handover indication information, which is not limited.

[0123] 2) Device A may periodically send wireless signals to device B. Assuming that the wireless signals of device A received by device B within a period of time or after connecting N times are all less than or equal to the first threshold, device B may consider that device A has failed. After that, device B may send indication information to UE, and UE may switch to the cell of device B according to the indication information and communicate with device B.

[0124] The various embodiments described in this document can be independent solutions or can be combined according to their inherent logic, and all these solutions fall within the scope of protection of this application.

[0125] It can be understood that, in the above method embodiments, the methods and operations implemented by the terminal device can also be implemented by components of the terminal device (such as chips or circuits). The methods and operations implemented by the network device can also be implemented by components of the network device (such as chips or circuits). In the embodiments provided in this application above, the methods provided in the embodiments of this application are introduced from the perspectives of the network device, the terminal, and the interaction between the network device and the terminal. To implement the various functions in the methods provided in the embodiments of this application above, the network device and the terminal can include a hardware structure and / or software module, and implement the above various functions in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module. Whether a certain function among the above various functions is executed in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module depends on the specific application and design constraints of the technical solution.

[0126] Above, in combination with Figures 1 to 11 The method provided in the embodiments of this application has been described in detail. Below, in combination with Figure 12 and Figure 13 The device provided in the embodiments of this application will be described in detail. It should be understood that the description of the device embodiments corresponds to the description of the method embodiments. Therefore, the content not described in detail can be referred to the description in the above method embodiments.

[0127] Figure 12 FIG. is a schematic block diagram of a device 1200 provided in the embodiments of this application, which is used to implement the functions of the network device or the terminal device in the above method. For example, this device can be a software module or a chip system. The chip system can be composed of chips or can also include chips and other discrete devices. The device 1200 includes a communication unit 1201 and may also include a processing unit 1202. The communication unit 1201 can communicate with the outside. The processing unit 1202 is used for processing. The communication unit 1201 can include a sending unit and / or a receiving unit, which are respectively used to execute the sending or receiving steps of the terminal device or the network device in the above Figures 1 to 11 process.

[0128] In one example, the device 1200 can implement the steps corresponding to the terminal device in the process shown in the above Figure 3 The device 1200 can be a terminal device, or a chip or circuit configured in the terminal device. The communication unit 1201 is used to execute the transceiver-related operations on the terminal device side in the above method embodiments, and the processing unit 1202 is used to execute the processing-related operations on the terminal device in the above method embodiments.

[0129] For example, a communication unit 1201 is configured to receive a wireless signal from a first network device; a processing unit 1202 is configured to measure the wireless signal, determine a measurement result, determine a first threshold and a second threshold, determine a first comparison result according to at least one of the first threshold or the second threshold and the measurement result, and determine a first processing manner according to the first comparison result, wherein the value of the first threshold is greater than the value of the second threshold.

[0130] Optionally, when determining the first processing manner according to the first comparison result, the processing unit 1202 is specifically configured to: if the first comparison result is that the measurement result is greater than or equal to the first threshold, the first processing manner is to determine that the wireless communication between the terminal device and the first network device is normal; or, if the first comparison result is that the measurement result is less than the first threshold and greater than or equal to the second threshold, the first processing manner is to determine that a first fault has occurred and execute a first processing procedure; or, if the first comparison result is that the measurement result is less than the second threshold, the first processing manner is to determine that a second fault has occurred and execute a second processing procedure.

[0131] Optionally, the first comparison result being that the measurement result is less than the second threshold includes: within the running duration of a first timer, the measurement results of the wireless signal of the first network device are all less than the second threshold; or, the measurement results of continuously measuring the wireless signal of the first network device N times are all less than the second threshold, where N is a positive integer greater than 0.

[0132] Optionally, the communication unit 1201 is further configured to: receive configuration information of a second network device or configuration information of a cell corresponding to the second network device from the first network device, where the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: identification information of the second network device, identification information of the cell corresponding to the second network device, frequency information of the cell corresponding to the second network device, or priority information of the cell corresponding to the second network device.

[0133] Optionally, when executing the second processing procedure, the processing unit 1202 is specifically configured to: reselect to the cell corresponding to the second network device or initiate a re - establishment procedure to the cell corresponding to the second network device according to the configuration information of the second network device or the configuration information of the cell corresponding to the second network device.

[0134] Optionally, when executing the second processing procedure, the processing unit 1202 is specifically configured to: receive a handover command from a second network device; and perform a handover from the cell corresponding to the first network device to the cell corresponding to the second network device according to the handover command.

[0135] Optionally, the communication unit 1201 is further configured to: send first indication information to the second network device, where the first indication information is used to indicate the occurrence of the second fault, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, the measurement result of the radio signal, or the measurement report of the radio signal.

[0136] Optionally, the first fault is a radio link failure (RLF), and the second fault is a fault of the first network device.

[0137] In another example, the apparatus 1200 may implement the steps performed by the first network device corresponding to Figure 3 the process shown. The apparatus 1200 may be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the side of the first network device in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the side of the first network device in the above method embodiments.

[0138] For example, the processing unit 1202 is configured to obtain the configuration information of the second network device or the configuration information of the cell corresponding to the second network device; the communication unit 1201 is configured to send the configuration information of the second network device or the configuration information of the cell corresponding to the second network device to the terminal device; the processing unit 1202 is further configured to obtain the context of the terminal device and / or the configuration information of the terminal device; the communication unit 1201 is further configured to send the context of the terminal device and / or the configuration information of the terminal device to the second network device.

[0139] Optionally, the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: the identification information of the second network device, the identification information of the cell corresponding to the second network device, the frequency information of the cell corresponding to the second network device, or the priority information of the cell corresponding to the second network device.

[0140] Optionally, when the communication unit 1201 sends the context of the terminal device and / or the configuration information of the terminal device to the second network device, it is specifically configured to: directly send the context of the terminal device and / or the configuration information of the terminal device to the second network device; or send handover indication information to the second network device, where the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0141] Optionally, the context of the terminal device includes security information, and / or the configuration information of the terminal device includes security information, where the security information is used for the terminal device to perform security verification when accessing the cell corresponding to the second network device.

[0142] In another example, the apparatus 1200 may implement the steps on the second network device side in the above method embodiments. The apparatus 1200 may be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the second network device side in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the second network device side in the above method embodiments.

[0143] For example, the communication unit 1201 is configured to receive the context of the terminal device and / or the configuration information of the terminal device from the first network device; the processing unit 1202 is configured to control the communication unit 1201 to communicate with the terminal device according to the context of the terminal device and / or the configuration information of the terminal device.

[0144] Optionally, when the communication unit 1201 receives the context of the terminal device and / or the configuration information of the terminal device from the first network device, it is specifically configured to: directly receive the context of the terminal device and / or the configuration information of the terminal device from the first network device; or receive handover indication information from the first network device, where the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0145] Optionally, the context of the terminal device includes security information, and / or the configuration information of the terminal device includes security information, where the security information is used for the terminal device to perform security verification when accessing the cell corresponding to the second network device.

[0146] In another example, the apparatus 1200 may implement the steps on the second network device side in the above method embodiments. The apparatus 1200 may be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the second network device side in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the second network device side in the above method embodiments.

[0147] For example, the communication unit 1201 is configured to send a handover command to the terminal device, where the handover command is used to notify the terminal device to hand over from the cell corresponding to the first network device to the cell corresponding to the second network device; the processing unit 1202 is configured to control the communication unit 1201 to communicate with the terminal device.

[0148] Optionally, the communication unit 1201 is further configured to: receive first indication information from the terminal device, where the first indication information is used to indicate that a second fault has occurred, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, the measurement result of the wireless signal, or the measurement report of the wireless signal.

[0149] Optionally, the communication unit 1201 is further configured to: receive the context of the terminal device and / or the configuration information of the terminal device from the first network device.

[0150] Optionally, when the communication unit 1201 receives the context of the terminal device and / or the configuration information of the terminal device from the first network device, it is specifically configured to:

[0151] directly receive the context of the terminal device from the first network device, or the configuration information of the terminal device; or, the second network device receives handover indication information from the first network device, and the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0152] In one example, the apparatus 1200 can implement the steps on the side of the second network device in the above-mentioned embodiments Figure 9 shown in the process. The apparatus 1200 can be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the side of the second network device in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the side of the second network device in the above method embodiments.

[0153] For example, the processing unit 1202 is configured to determine that the first network device has failed when the second network device fails to detect the first indication information sent by the first network device, where the first indication information is used to indicate that the first network device is in a normal working state; the communication unit 1201 is configured to send second indication information to the terminal device, where the second indication information is used to indicate that the first network device has failed, or the second indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication.

[0154] In one example, the apparatus 1200 can implement the steps on the side of the terminal device in the above-mentioned embodiments Figure 9 shown in the process. The apparatus 1200 can be a terminal device, or a chip or circuit configured in a terminal device. The communication unit 1201 is configured to perform the transceiver-related operations on the side of the terminal device in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the side of the terminal device in the above method embodiments.

[0155] For example, a communication unit 1201 is configured to receive second indication information from a second network device, where the second indication information is used to indicate that a first network device has failed, or the second indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication; a processing unit 1202 is configured to switch from the first network device to the second network device for communication according to the second indication information.

[0156] In one example, the apparatus 1200 may implement the steps on the side of the first network device in the above method embodiments. The apparatus 1200 may be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the side of the first network device in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the side of the first network device in the above method embodiments.

[0157] For example, the processing unit 1202 is configured to determine first indication information, where the first indication information is used to determine that the first network device is in a normal operating state. The communication unit 1201 is configured to send the first indication information to a second network device.

[0158] In one example, the apparatus 1200 may implement the Figure 11 steps on the side of the first network device in the process shown in the above embodiments. The apparatus 1200 may be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the side of the first network device in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the side of the first network device in the above method embodiments.

[0159] For example, the processing unit 1202 is configured to determine a wireless signal. The communication unit 1201 is configured to send the wireless signal to a second network device.

[0160] In one example, the apparatus 1200 may implement the Figure 11 steps on the side of the second network device in the process shown in the above embodiments. The apparatus 1200 may be a network device, or a chip or circuit configured in a network device. The communication unit 1201 is configured to perform the transceiver-related operations on the side of the second network device in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the side of the second network device in the above method embodiments.

[0161] For example, a communication unit 1201 is configured to receive a wireless signal from a first network device; a processing unit 1202 is configured to determine that the first network device has a fault according to the quality of the wireless signal; the communication unit 1201 is further configured to send first indication information to a terminal device, where the first indication information is used to indicate that the first network device has a fault, or the first indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication.

[0162] Optionally, when determining that the first network device has a fault according to the quality of the wireless signal, the processing unit 1202 is specifically configured to: determine that the first network device has a fault when the quality of the wireless signal is less than or equal to a first threshold.

[0163] In one example, the apparatus 1200 can implement the steps of the terminal device in the above embodiments Figure 11 shown in the process. The apparatus 1200 can be a terminal device, or a chip or circuit configured in a terminal device. The communication unit 1201 is configured to perform the transceiver-related operations on the terminal device side in the above method embodiments, and the processing unit 1202 is configured to perform the processing-related operations on the terminal device side in the above method embodiments.

[0164] For example, a communication unit 1201 is configured to receive first indication information from a second network device, where the first indication information is used to indicate that the first network device has a fault, or the first indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication. The processing unit 1202 is configured to switch from the first network device to the second network device for communication according to the first indication information.

[0165] The division of units in the embodiments of the present application is illustrative. It is only a logical function division. In actual implementation, there may be other division methods. In addition, in each embodiment of the present application, the functional units can be integrated in one processor, or exist separately physically, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0166] It can be understood that the functions of the communication unit in the above embodiments can be implemented by a transceiver, and the functions of the processing unit can be implemented by a processor. The transceiver can include a transmitter and / or a receiver, etc., which are respectively used to implement the functions of the sending unit and / or the receiving unit. The following is combined with Figure 11 examples for illustration.

[0167] Figure 13 is a schematic block diagram of an apparatus 1300 provided by an embodiment of the present application. Figure 13 The shown apparatus 1300 can be Figure 12An implementation of the hardware circuit of the device shown. The device can be applicable to the above Figures 1 to 11 shown in the process, and perform the functions of the network device or the terminal device in the above method embodiments. For ease of explanation, Figure 13 only the main components of the communication device are shown.

[0168] Figure 13 The device 1300 shown includes at least one processor 1301. The device 1300 may further include at least one memory 1302 for storing program instructions and / or data. The memory 1302 and the processor 1301 are coupled. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and can be electrical, mechanical or other forms for information interaction between devices, units or modules. The processor 1301 can cooperate with the memory 1302. The processor 1301 can execute the program instructions stored in the memory 1302, and at least one of the at least one memory 1302 can be included in the processor 1301.

[0169] The device 1300 may further include a communication interface 1303 for communicating with other devices through a transmission medium, so that the device 1300 can communicate with other devices. In the embodiments of the present application, the communication interface can be a transceiver, a circuit, a bus, a module or other types of communication interfaces. In the embodiments of the present application, when the communication interface is a transceiver, the transceiver can include an independent receiver, an independent transmitter; it can also be a transceiver integrating transceiver functions, or an interface circuit, etc.

[0170] It should be understood that the connection medium between the above-mentioned processor 1301, memory 1302 and communication interface 1303 is not limited in the embodiments of the present application. In the embodiments of the present application Figure 13 it is shown that the memory 1302, the processor 1301 and the communication interface 1303 are connected through a communication bus 1304. The bus is Figure 13 shown by a thick line, and the connection manners between other components are only illustrative and not limiting. The bus may include an address bus, a data bus, a control bus, etc. For ease of representation, Figure 13 only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus, etc.

[0171] In one example, the device 1300 is used to implement the steps performed by the terminal device in the above Figure 3 shown process. The communication interface 1303 is used to perform the transceiver-related operations on the terminal device side in the above method embodiments. The processor 1301 is used to perform the processing-related operations on the terminal device in the above method embodiments.

[0172] For example, a communication interface 1303 is used to receive a wireless signal from a first network device; a processor 1301 is used to measure the wireless signal, determine a measurement result, determine a first threshold and a second threshold, determine a first comparison result based on at least one of the first threshold or the second threshold and the measurement result, and determine a first processing method based on the first comparison result, where the value of the first threshold is greater than the value of the second threshold.

[0173] Optionally, when determining the first processing method based on the first comparison result, the processor 1301 is specifically configured to:

[0174] When the first comparison result is that the measurement result is greater than or equal to the first threshold, the first processing method is to determine that the wireless communication between the terminal device and the first network device is normal; or, when the first comparison result is that the measurement result is less than the first threshold and greater than or equal to the second threshold, the first processing method is to determine that a first fault has occurred and execute a first processing process; or, when the first comparison result is that the measurement result is less than the second threshold, the first processing method is to determine that a second fault has occurred and execute a second processing process.

[0175] Optionally, the first comparison result being that the measurement result is less than the second threshold includes: within the running duration of a first timer, the measurement results of the wireless signal of the first network device are all less than the second threshold; or, the measurement results of continuously measuring the wireless signal of the first network device N times are all less than the second threshold, where N is a positive integer greater than 0.

[0176] Optionally, the communication interface 1303 is further used to: receive configuration information of a second network device or configuration information of a cell corresponding to the second network device from the first network device, where the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: identification information of the second network device, identification information of the cell corresponding to the second network device, frequency information of the cell corresponding to the second network device, or priority information of the cell corresponding to the second network device.

[0177] Optionally, when executing the second processing process, the processor 1301 is specifically configured to: reselect to the cell corresponding to the second network device or initiate a re-establishment process to the cell corresponding to the second network device according to the configuration information of the second network device or the configuration information of the cell corresponding to the second network device.

[0178] Optionally, when the processor 1301 executes the second processing procedure, it is specifically configured to: receive a handover command from a second network device; and perform a handover from the cell corresponding to the first network device to the cell corresponding to the second network device according to the handover command.

[0179] Optionally, the communication interface 1303 is further configured to: send first indication information to the second network device, where the first indication information is used to indicate that the second fault has occurred, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, a measurement result of a radio signal, or a measurement report of a radio signal.

[0180] Optionally, the first fault is a radio link failure (RLF), and the second fault is a failure of the first network device.

[0181] In one example, the apparatus 1300 is used to implement the steps executed by the first network device in the above Figure 3 shown process. The apparatus 1300 may be a network device, or a chip or circuit configured in a network device. The communication interface 1303 is configured to perform the transceiver-related operations on the side of the first network device in the above method embodiments. The processor 1301 is configured to perform the processing-related operations on the side of the first network device in the above method embodiments.

[0182] For example, the processor 1301 is configured to determine configuration information of a second network device or configuration information of a cell corresponding to the second network device; the communication interface 1303 is configured to send the configuration information of the second network device or the configuration information of the cell corresponding to the second network device to a terminal device; the processor 1301 is further configured to determine the context of the terminal device and / or the configuration information of the terminal device; and the communication interface 1303 is further configured to send the context of the terminal device and / or the configuration information of the terminal device to the second network device.

[0183] Optionally, the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: identification information of the second network device, identification information of the cell corresponding to the second network device, frequency information of the cell corresponding to the second network device, or priority information of the cell corresponding to the second network device.

[0184] Optionally, when the communication interface 1303 sends the context of the terminal device and / or the configuration information of the terminal device to the second network device, it is specifically configured to: directly send the context of the terminal device and / or the configuration information of the terminal device to the second network device; or send handover indication information to the second network device, where the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0185] Optionally, the context of the terminal device includes security information, and / or the configuration information of the terminal device includes security information, and the security information is used for the terminal device to perform security verification when accessing the cell corresponding to the second network device.

[0186] In one example, the apparatus 1300 is used to implement the steps performed by the second network device in the above method embodiments. The apparatus 1300 may be a network device, or a chip or circuit configured in a network device. The communication interface 1303 is used to perform the transceiver-related operations on the second network device side in the above method embodiments. The processor 1301 is used to perform the processing-related operations on the second network device side in the above method embodiments.

[0187] For example, the communication interface 1303 is used to receive the context of the terminal device and / or the configuration information of the terminal device from the first network device; the processor 1301 is used to communicate with the terminal device according to the context of the terminal device and / or the configuration information of the terminal device.

[0188] Optionally, when the communication interface 1303 receives the context of the terminal device and / or the configuration information of the terminal device from the first network device, it is specifically used to: directly receive the context of the terminal device and / or the configuration information of the terminal device from the first network device; or receive handover indication information from the first network device, where the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0189] Optionally, the context of the terminal device includes security information, and / or the configuration information of the terminal device includes security information, and the security information is used for the terminal device to perform security verification when accessing the cell of the second network device.

[0190] In one example, the apparatus 1300 is used to implement the steps performed by the second network device in the above method embodiments. The apparatus 1300 may be a network device, or a chip or circuit configured in a network device. The communication interface 1303 is used to perform the transceiver-related operations on the second network device side in the above method embodiments. The processor 1301 is used to perform the processing-related operations on the second network device side in the above method embodiments.

[0191] For example, the communication interface 1303 is used to send a handover command to the terminal device, and the handover command is used to notify the terminal device to hand over from the cell corresponding to the first network device to the cell corresponding to the second network device; the processor 1301 is used to control the communication interface 1303 to communicate with the terminal device.

[0192] Optionally, the communication interface 1303 is further configured to: receive first indication information from the terminal device, where the first indication information is used to indicate that a second fault has occurred, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, the measurement result of the radio signal, or the measurement report of the radio signal.

[0193] Optionally, the communication interface 1303 is further configured to: receive the context of the terminal device and / or the configuration information of the terminal device from the first network device.

[0194] Optionally, when receiving the context of the terminal device and / or the configuration information of the terminal device from the first network device, the communication interface 1303 is specifically configured to: directly receive the context of the terminal device from the first network device, or the configuration information of the terminal device; or receive handover indication information from the first network device, where the handover indication information includes the context of the terminal device and / or the configuration information of the terminal device.

[0195] In one example, the apparatus 1300 is used to implement the steps of the second network device in the above method embodiments Figure 9 shown in the process. The apparatus 1300 may be a network device, or a chip or circuit configured in a network device. The communication interface 1303 is configured to perform the transceiver-related operations on the second network device side in the above method embodiments. The processor 1301 is configured to perform the processing-related operations on the second network device side in the above method embodiments.

[0196] For example, the processor 1301 is configured to determine that the first network device has a fault when the first indication information sent by the first network device cannot be detected, where the first indication information is used to indicate that the first network device is in a normal working state. The communication interface 1303 is configured to send second indication information to the terminal device, where the second indication information is used to indicate that the first network device has a fault, or the second indication information is used to indicate that the terminal device is switched from the first network device to the second network device.

[0197] In one example, the apparatus 1300 is used to implement the steps of the terminal device in the above method embodiments Figure 9 shown in the process. The apparatus 1300 may be a terminal device, or a chip or circuit configured in a terminal device. The communication interface 1303 is configured to perform the transceiver-related operations on the terminal device side in the above method embodiments. The processor 1301 is configured to perform the processing-related operations on the terminal device side in the above method embodiments.

[0198] For example, a communication interface 1303 is configured to receive second indication information from a second network device, where the second indication information is used to indicate that a first network device has failed, or the second indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication; a processor 1301 is configured to switch from the first network device to the second network device for communication according to the second indication information.

[0199] In one example, the apparatus 1300 is configured to implement the steps on the side of the first network device in the foregoing method embodiments. The apparatus 1300 may be a network device, or a chip or circuit configured in a network device. The communication interface 1303 is configured to perform the transceiver-related operations on the side of the first network device in the foregoing method embodiments. The processor 1301 is configured to perform the processing-related operations on the side of the first network device in the foregoing method embodiments.

[0200] For example, the processor 1301 is configured to determine first indication information, where the first indication information is used to determine that the first network device is in a normal operating state. The communication interface 1303 is configured to send the first indication information to a second network device.

[0201] In one example, the apparatus 1300 is configured to implement the Figure 11 steps of the first network device in the flow shown in the foregoing method embodiments. The apparatus 1300 may be the first network device, or a chip or circuit configured in the first network device. The communication interface 1303 is configured to perform the transceiver-related operations on the side of the first network device in the foregoing method embodiments. The processor 1301 is configured to perform the processing-related operations on the side of the first network device in the foregoing method embodiments.

[0202] For example, the processor 1301 is configured to determine a wireless signal. The communication interface 1303 is configured to send the wireless signal to a second network device.

[0203] In one example, the apparatus 1300 is configured to implement the Figure 11 steps of the second network device in the flow shown in the foregoing method embodiments. The apparatus 1300 may be the second network device, or a chip or circuit configured in the second network device. The communication interface 1303 is configured to perform the transceiver-related operations on the side of the second network device in the foregoing method embodiments. The processor 1301 is configured to perform the processing-related operations on the side of the second network device in the foregoing method embodiments.

[0204] For example, a communication interface 1303 is configured to receive a wireless signal from a first network device; a processor 1301 is configured to determine that the first network device has failed according to the quality of the wireless signal; the communication interface 1303 is further configured to send first indication information to a terminal device, where the first indication information is used to indicate that the first network device has failed, or the first indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication.

[0205] Optionally, when determining that the first network device has failed according to the quality of the wireless signal, the processor 1301 is specifically configured to: determine that the first network device has failed when the quality of the wireless signal is less than or equal to a first threshold.

[0206] In one example, the apparatus 1300 is used to implement the steps of the terminal device in the above method embodiments Figure 11 The apparatus 1300 may be a terminal device, or a chip or circuit configured in a terminal device. The communication interface 1303 is configured to perform the transceiver-related operations on the terminal device side in the above method embodiments. The processor 1301 is configured to perform the processing-related operations on the terminal device side in the above method embodiments.

[0207] For example, a communication interface 1303 is configured to receive first indication information from a second network device, where the first indication information is used to indicate that the first network device has failed, or the first indication information is used to indicate that the terminal device switches from the first network device to the second network device for communication; a processor 1301 is configured to switch from the first network device to the second network device for communication according to the first indication information.

[0208] Furthermore, the present application further provides an apparatus for performing the steps of the units in the above embodiments Figure 3 、 Figure 9 or Figure 11 shown in the process, or the apparatus includes at least one processor and an interface circuit, and the at least one processor is configured to communicate with other devices through the interface circuit and perform the above Figure 3 、 Figure 9 or Figure 11 method of the process. Or, the apparatus includes a processor configured to call a program stored in a memory to execute the above Figure 3 、 Figure 9 or Figure 11 method in the process.

[0209] The present application further provides a computer-readable storage medium, including a program, when the program is run by a processor, the above Figure 3 、 Figure 9 or Figure 11The method in the above process is executed. This application also provides a chip system, which includes a processor and may also include a memory for implementing the above Figure 3 , Figure 9 or Figure 11 the method of the process shown. The chip system can be composed of chips or can also include chips and other discrete devices. This application also provides a computer program product, including instructions, which when running on a computer, cause the computer to execute the above Figure 3 , Figure 9 or Figure 11 the method shown. This application also provides a system, including the terminal device, the first network device, and / or the second network device in the above embodiments.

[0210] In the embodiments of this application, the processor can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of this application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

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

[0212] In the method provided by the embodiments of the present application, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as an SSD), etc.

[0213] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these changes and modifications.

Claims

1. A communication method, characterized in that, it includes: The terminal device receives a wireless signal from a first network device; The terminal device measures the wireless signal to determine a measurement result; The terminal device determines a first threshold and a second threshold, and the value of the first threshold is greater than the value of the second threshold; The terminal device determines a first comparison result according to at least one of the first threshold or the second threshold, and the measurement result; The terminal device determines a first processing method according to the first comparison result; Wherein, the terminal device determines a first processing method according to the first comparison result, including: The first comparison result is that the measurement result is greater than or equal to the first threshold, and the first processing method is that the terminal device determines that the wireless communication between the terminal device and the first network device is normal; or, The first comparison result is that the measurement result is less than the first threshold and greater than or equal to the second threshold, and the first processing method is that the terminal device determines that a first fault has occurred and executes a first processing procedure; or, The first comparison result is that the measurement result is less than the second threshold, and the first processing method is that the terminal device determines that a second fault has occurred and executes a second processing procedure; Wherein, the first fault is a radio link failure (RLF), and the second fault is a first network device fault; Wherein, when the terminal device establishes a radio resource control (RRC) connection with the first network device, or after the terminal device establishes an RRC connection with the first network device, and the first network device sends the context and / or configuration information of the terminal device to a second network device, the method further includes: When the terminal device establishes an RRC connection with the first network device, or after the terminal device establishes an RRC connection with the first network device, the terminal device receives the configuration information of the second network device or the configuration information of the cell corresponding to the second network device from the first network device, and the configuration information of the second network device or the configuration information of the cell corresponding to the second network device includes one or more of the following information: the identification information of the second network device, the identification information of the cell corresponding to the second network device, the frequency information of the cell corresponding to the second network device, or the priority information of the cell corresponding to the second network device; The method further includes: the terminal device sends a first indication information to the second network device, the first indication information is used to indicate that the second fault has occurred, and the first indication information includes one or more of the following information: the cause of the fault, the type of the fault, the measurement result of the wireless signal, or the measurement report of the wireless signal; and the terminal device executes the second processing procedure, including: After the terminal device sends the first indication information to the second network device, the terminal device receives a handover command from the second network device; The terminal device switches from the cell corresponding to the first network device to the cell corresponding to the second network device according to the handover command.

2. A communication system comprising a terminal device, a first network device, and a second network device, wherein, the terminal device, the first network device, and the second network device are configured to execute the method according to claim 1.

3. The system according to claim 2, wherein, the second network device is further configured to: receive the context and / or configuration information of the terminal device from the first network device; or, receive handover indication information from the first network device, the handover indication information including the context and / or the configuration information of the terminal device.

Citation Information

Patent Citations

  • Method and apparatus for handover processing

    US20140171085A1

  • Radio frequency beam management and recovery

    US20190053072A1