Communication method and apparatus, storage medium, and device

By establishing an emergency communication connection by sending a first registration request after the 5G network fault is recovered, and establishing a home routing data connection after reconnection, a solution for emergency communication during inter-network roaming is achieved, ensuring the continuity and reliability of emergency communication.

CN122179768APending Publication Date: 2026-06-09CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
Filing Date
2025-08-13
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

A solution for enabling emergency communication services while waiting to return to the 5G network when a terminal device fails from a different 5G network has not yet been found.

Method used

After the 5G network failure is resolved, the terminal device establishes an emergency communication connection by sending a first registration request and conducts emergency communication while waiting to reconnect to the 5G network; after reconnection, it establishes a data connection to the home route by sending a second registration request to continue communication.

Benefits of technology

It enables emergency communication while waiting to return to the other network during roaming, meeting the principle of accessing the nearest network and ensuring the continuity and reliability of emergency communication services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122179768A_ABST
    Figure CN122179768A_ABST
Patent Text Reader

Abstract

The present disclosure provides a communication method and device, storage medium and equipment, wherein a terminal device is in a roaming state in a different network, when a first network accessed in a roaming state in a different network fails, the terminal device accesses a second network in a disaster roaming mode. When the first network recovers from the failure, if emergency communication is needed, the terminal device sends a first registration request to the first network to establish a first data connection with the first network for emergency communication, so that emergency communication services can be realized during the process of waiting to return to the first network visited in a roaming state in a different network through the first data connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to a communication method and apparatus, storage medium and device. Background Technology

[0002] The related technology allows terminal devices to access other operators' 5G (fifth-generation mobile communication technology) networks for 5G inter-network roaming. In the event of a failure in the accessed 5G network, the terminal device can access other operators' 4G (fourth-generation mobile communication technology) networks for 4G disaster recovery roaming. When the accessed 5G network recovers from the failure, the terminal device needs to wait for a certain period of time before returning to the accessed 5G network after the waiting time has elapsed.

[0003] Currently, the research focus of related technologies is mainly on how to achieve disaster roaming, while there is still no solution on how to achieve emergency communication services while waiting to return to a network visited by another network (such as a 5G network). Summary of the Invention

[0004] The purpose of this disclosure is to provide a communication method, apparatus, storage medium, and device for enabling emergency communication services while waiting for a return to a network roaming from another network.

[0005] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part from practice of this disclosure.

[0006] According to a first aspect of this disclosure, a communication method is provided, which is applied to a terminal device in a cross-network roaming state. When a first network accessed in a cross-network roaming manner fails, the terminal device accesses a second network in a disaster recovery roaming manner. The method includes: when the first network recovers from the failure and the terminal device is waiting to reconnect to the first network, if emergency communication is required, sending a first registration request to the first network to establish a first data connection with the first network for emergency communication.

[0007] In some exemplary embodiments of this disclosure, when the first network recovers from a fault and awaits reconnection to the first network, a timer is started and kept running.

[0008] In some exemplary embodiments of this disclosure, when the timer's count reaches a set value, the time to reconnect to the first network is determined.

[0009] In some exemplary embodiments of this disclosure, the set value is determined based on a target time range, which is used to characterize the range of time for waiting to access the first network.

[0010] In some exemplary embodiments of this disclosure, the first registration request includes a first type parameter, which is used to characterize the data connection to be established for emergency communication.

[0011] In some exemplary embodiments of this disclosure, the first registration request includes a second type parameter, which is used to characterize the data connection to be established as a locally routed data connection.

[0012] In some exemplary embodiments of this disclosure, the method of the first aspect further includes: sending a second registration request to the first network after the first data connection has been released and the time for reconnection to the first network has arrived, in order to establish a second data connection with the first network with a home route.

[0013] In some exemplary embodiments of this disclosure, the second registration request includes a third type parameter, which is used to characterize the data connection to be established as a home route data connection.

[0014] In some exemplary embodiments of this disclosure, the first network is a 5G network and the second network is a 4G network.

[0015] According to a second aspect of this disclosure, a communication method is provided, the method being applied to a network device, the network device being included in a first network, a terminal device accessing the first network via inter-network roaming, and, in the event of a failure of the first network, the terminal device accessing a second network via disaster recovery roaming, the method comprising: receiving a first registration request from the terminal device when the first network recovers from the failure and the terminal device has not re-accessed the first network; and establishing a first data connection for emergency communication based on the first registration request and the terminal device.

[0016] In some exemplary embodiments of this disclosure, the first registration request includes a first type parameter, which is used to characterize the data connection to be established for emergency communication.

[0017] In some exemplary embodiments of this disclosure, the first registration request includes a second type parameter, which is used to characterize the data connection to be established as a locally routed data connection.

[0018] In some exemplary embodiments of this disclosure, the method of the second aspect further includes: receiving a second registration request from the terminal device when the first data connection has been released; and establishing a second data connection with a home route based on the second registration request and the terminal device.

[0019] In some exemplary embodiments of this disclosure, the second registration request includes a second type parameter, which is used to characterize the data connection to be established as a home route data connection.

[0020] In some exemplary embodiments of this disclosure, the first network is a 5G network and the second network is a 4G network.

[0021] According to a third aspect of this disclosure, a communication device is provided, comprising: an application to a terminal device, the terminal device being in a cross-network roaming state, wherein when a first network accessed in a cross-network roaming manner fails, the terminal device accesses a second network in a disaster recovery roaming manner, the communication device comprising: a first sending module, configured to, if emergency communication is required when the first network recovers from the failure and is waiting to reconnect to the first network, send a first registration request to the first network to establish a first data connection with the first network for emergency communication.

[0022] According to a fourth aspect of this disclosure, a communication device is provided, comprising: an application to a network device, the network device being included in a first network, a terminal device accessing the first network via inter-network roaming, and, in the event of a failure of the first network, the terminal device accessing a second network via disaster recovery roaming; the communication device comprising: a first receiving module, configured to receive a first registration request from the terminal device when the first network recovers from the failure and the terminal device has not re-accessed the first network; and an establishing module, configured to establish a first data connection for emergency communication based on the first registration request and the terminal device.

[0023] According to a fifth aspect of this disclosure, a terminal device is provided, including a processor and a memory, the memory being used to store executable instructions of the processor; wherein the processor is configured to perform the method of the first aspect described above by executing the executable instructions.

[0024] According to a sixth aspect of this disclosure, a network device is provided, including a processor and a memory, the memory being used to store executable instructions of the processor; wherein the processor is configured to perform the method of the second aspect described above by executing the executable instructions.

[0025] According to a seventh aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method of the first or second aspect described above.

[0026] In the communication method, apparatus, storage medium, and device provided in the embodiments of this disclosure, when a terminal device is in a cross-network roaming state and the first network accessed via cross-network roaming fails, the terminal device accesses a second network via disaster recovery roaming. When the first network recovers from the failure and the terminal device is waiting to reconnect to it, if emergency communication is required, the terminal device sends a first registration request to the first network to establish a first data connection for emergency communication. This first data connection enables emergency communication services to be performed while waiting to return to the first network for cross-network roaming.

[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0029] Figure 1 A flowchart of a communication method according to an embodiment of this disclosure is shown;

[0030] Figure 2 A schematic diagram of a signaling interaction method according to an embodiment of this disclosure is shown;

[0031] Figure 3 A flowchart of another communication method in an embodiment of this disclosure is shown;

[0032] Figure 4 A flowchart of yet another communication method according to an embodiment of this disclosure is shown;

[0033] Figure 5 This is a schematic diagram illustrating another signaling interaction method in an embodiment of this disclosure;

[0034] Figure 6 This diagram illustrates a communication device according to an embodiment of the present disclosure;

[0035] Figure 7 A schematic diagram of another communication device according to an embodiment of this disclosure is shown;

[0036] Figure 8 A structural block diagram of a terminal device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0037] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0038] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0039] The following examples illustrate the solutions provided in this disclosure.

[0040] Figure 1 A flowchart of a communication method according to an embodiment of this disclosure is shown. In this communication method, the terminal device is in a cross-network roaming state. When the first network accessed by the terminal device in the cross-network roaming mode fails, the terminal device accesses a second network in a disaster recovery roaming mode.

[0041] Inter-network roaming refers to a terminal device roaming from its home PLMN (public land mobile network) to another PLMN (i.e., the first network) to obtain communication services. The home PLMN and the other PLMN to which it roams belong to different operators.

[0042] Disaster roaming refers to a situation where a terminal device connects to a second network to obtain communication services when the first network it roams to fails. The second network and the PLMN to which the terminal device belongs belong to different operators. The second network and the first network may belong to the same operator or different operators. When the first network recovers from the failure, the second network deregisters the terminal device from the second network. The terminal device then waits to reconnect to the first network. The first network can be, for example, a 5G network, but is not limited to 5G. The second network can be, for example, a 4G network, but is not limited to 4G. For example, in some cases, the first network can also be a 6G network, and the second network can also be a 5G or 4G network. Of course, this is only an example and not a unique limitation.

[0043] A terminal device (UE) can be understood as any user-end device capable of wireless communication. For example, in some examples, a terminal device may also be referred to as a user equipment, communication equipment, mobile station (MS), or access terminal (AT). Terminal devices can include, but are not limited to, mobile phones, cellular phones, smartphones, tablet computers, wearable terminal devices, personal digital assistants (PDAs), portable computers, desktop computers, gaming terminal devices, music storage and playback facilities, in-vehicle wireless terminal devices, wireless endpoints, mobile stations, laptop embedded devices (LEEs), laptop-mounted devices (LMEs), Internet of Things (IoT) devices, watches or other wearable devices, head-mounted displays (HMDs), vehicles, drones, medical devices, industrial equipment, consumer electronics, etc.

[0044] like Figure 1 As shown, in some embodiments, the communication method provided by this disclosure may include the following steps.

[0045] In step S101, if the terminal device needs to perform emergency communication, it sends a first registration request to the first network to establish a first data connection with the first network for emergency communication, while the first network recovers from the fault and is waiting to reconnect to the first network.

[0046] Example, Figure 2 A schematic diagram of a signaling interaction method according to an embodiment of this disclosure is shown, such as... Figure 2 As shown, in some embodiments, the signaling interaction methods provided by this disclosure are as follows.

[0047] In step S201, the first network recovers from the fault.

[0048] In step S203, the first network sends a first notification message to the second network to notify the second network that the first network has recovered from the fault.

[0049] In step S205a, the second network sends a second notification message to the terminal device to notify the terminal device that the first network has recovered from the fault.

[0050] In step S205b, the second network deregisters the terminal device from the second network.

[0051] In step S207a, after receiving the second notification message, the terminal device waits to reconnect to the first network.

[0052] In step S207b, after the time for reconnecting to the first network is reached, the user reconnects to the first network. The time for reconnecting to the first network can be a specific moment or point in time, or it can be a duration, such as 30 seconds, but is not limited to 30 seconds.

[0053] The time for reconnecting to the first network can be configured by the second network for the terminal device, or it can be a time value determined by the terminal device based on a target time range, and included within that target time range. The target time range characterizes the range of time spent waiting to reconnect to the first network. The target time range can be configured by the second network or pre-stored in the terminal device.

[0054] For example, in some implementations, the terminal device can start a timer to keep running while the first network recovers from a failure and awaits reconnection. When the timer reaches a set value, the time to reconnect to the first network is determined. This set value can be understood as a time value determined by the terminal device based on a target time range, or a time value configured by the second network.

[0055] The relevant technology prevents terminal devices from reconnecting to the first network until the allotted time for reconnection has elapsed. At this point, because the terminal device has already deregistered from the second network and has not yet reconnected to the first network, it is unable to perform emergency communication services.

[0056] In some embodiments of this disclosure, if emergency communication is required before the first network recovers from a fault but before the first real-time condition is reached, the terminal device can send first registration information to the first network to trigger a connection establishment process, thereby establishing a first data connection between the first network and the terminal device for emergency communication. Emergency communication services are then conducted through this first data connection, ensuring that the emergency communication service meets the principle of proximity access.

[0057] In this embodiment, during the establishment of the first data connection and the conduct of emergency communication services through the first data connection, the timer mentioned in this disclosure continues to run until the timer value reaches a set value and then stops running. That is to say, in some embodiments, the timer mentioned in this disclosure runs independently and is not affected by the emergency communication services.

[0058] In some implementations, the first registration information referred to in the embodiments of this disclosure may include a first type parameter, which is used to characterize the data connection requested by the terminal device for emergency communication.

[0059] Alternatively, in some other embodiments, the first registration information referred to in the embodiments of this disclosure may include a second type of parameter, which is used to characterize the data connection requested by the terminal device as a localbreakout data connection. A localbreakout data connection refers to a data connection method in which, in a communication network, the user's data traffic does not need to pass through the home network, but is processed and forwarded directly on the visited network.

[0060] After receiving the first registration message, the first network establishes a first data connection with the terminal device for emergency communication based on the first type parameter or the second type parameter.

[0061] In the above embodiments of this disclosure, by sending a first registration request to the first network while waiting to reconnect to the first network after the first network recovers from a fault, a first data connection for emergency communication can be established with the first network during the waiting period. Thus, emergency communication services can be realized through the first data connection while waiting to reconnect to the first network.

[0062] Example, Figure 3 A flowchart of another communication method according to an embodiment of this disclosure is shown. For example... Figure 3 As shown, in some embodiments, the communication method provided by this disclosure may include the following steps.

[0063] In step S301, if the first data connection has been released and the time for reconnecting to the first network has arrived, the terminal device sends a second registration request to the first network to establish a second data connection with the first network that belongs to the first network.

[0064] For example, assuming the emergency communication service has ended and the first data connection has been released, if the timer's countdown value also reaches the set value, a second registration request can be sent to the first network. This second registration request triggers the connection establishment process, enabling the first network and the terminal device to establish a home-routed second data connection. A home-routed data connection refers to a data connection method in a communication network where the terminal device's data is routed to the home network for processing.

[0065] In some implementations, the second registration request may include a third type parameter, which characterizes the data connection requested by the terminal device as a home route data connection. Upon receiving the second registration request, the first network establishes a home route data connection with the terminal device based on the third type parameter.

[0066] It should be noted that in some implementations, the second registration request may not be limited to including only the third type of parameters. For example, in some implementations, it may also include information such as the terminal device's identifier and timestamp. Furthermore, in other implementations, the second registration request may also carry a parameter indicating that the registration type is "initial registration," so as to request the establishment of a home route data connection through this parameter. Of course, this is merely an illustrative example and not a definitive limitation.

[0067] In the above embodiments of this disclosure, by sending a second registration request to the first network when the first data connection has been released and the time for reconnection to the first network has arrived, a second data connection with the first network that belongs to the first network can be established through the second registration request. Thus, through the second data connection, roaming between different networks can continue in the first network and receiving communication services from the first network.

[0068] Figure 4 A flowchart of yet another communication method according to an embodiment of this disclosure is shown. This communication method is applied to a network device. The network device is included in a first network. A terminal device accesses the first network via inter-network roaming. In the event of a failure in the first network, the terminal device accesses a second network via disaster recovery roaming. When the first network recovers from the failure, the second network deregisters the terminal device from the second network, and the terminal device waits to reconnect to the first network.

[0069] Network equipment can be understood, for example, as equipment used to implement core network-related functions, or base stations (BS), or access points (AP), etc. Examples include Node B (NodeB or NB), evolved Node B (eNodeB or eNB), remote radio unit (RRU), non-terrestrial network (NTN) or non-terrestrial network equipment (such as satellite network equipment, low Earth orbit (LEO) satellites and geostationary orbit (GEO) satellites, aircraft network equipment, etc.), but are not limited to the equipment listed here.

[0070] like Figure 4 As shown, in some embodiments, the communication method provided by this disclosure may include the following steps.

[0071] In step S401, the network device receives a first registration request from the terminal device when the first network recovers from the fault and the terminal device has not reconnected to the first network.

[0072] In step S403, a first data connection for emergency communication is established based on the first registration request and the terminal device.

[0073] In some exemplary embodiments of this disclosure, the first registration request includes a first type parameter, which is used to characterize the data connection requested by the terminal device for emergency communication.

[0074] In some exemplary embodiments of this disclosure, the first registration request includes a second type parameter, which is used to characterize the data connection requested by the terminal device as a locally routed data connection.

[0075] In some exemplary embodiments of this disclosure, Figure 4The method of the embodiment may further include: receiving a second registration request from a terminal device when the first data connection has been released; and establishing a second data connection with the terminal device for home routing based on the second registration request.

[0076] In some exemplary embodiments of this disclosure, the second registration request includes a second type parameter, which is used to characterize the data connection to be established as a home route data connection.

[0077] In some exemplary embodiments of this disclosure, the first network is a 5G network and the second network is a 4G network.

[0078] Network equipment Figure 4 For the execution method and beneficial effects described in the embodiments, please refer to [link / reference]. Figure 1 The execution method and beneficial effects of the first network in the embodiments will not be repeated here.

[0079] Figure 5 This is a schematic diagram illustrating another signaling interaction method in an embodiment of this disclosure. For example... Figure 5 As shown, this signaling interaction method may include at least the following steps.

[0080] In step S501, the 5G network PLMN-D accessed by the terminal device via inter-network roaming fails.

[0081] In this context, the 5G network PLMN-D can be understood as the first network in the above embodiments.

[0082] PLMN-D faults may include base stations accessed by terminal equipment in PLMN-D, and / or core network element / AMF (Access and Mobility Management Function) element faults.

[0083] When PLMN-D fails, the 4G network PLMN-A is notified via a preset notification message.

[0084] In step S503, the core network element / MME (Mobility Management Entity) device of the 4G network PLMN-A sends a broadcast message through the PLMN-A base station. This broadcast message is used to indicate a PLMN-D failure, and PLMN-A can provide disaster roaming service.

[0085] In step S505, the terminal device accesses PLMN-A via disaster roaming.

[0086] In step S507, the PLMN-D fault is cleared and PLMN-A is notified. PLMN-A then notifies the terminal device to end the disaster roaming and return to PLMN-D.

[0087] In step S509a, the terminal device receives the target time range sent by PLMN-A or pre-stored by itself. It then generates a random number within the target time range as a set value and starts a timer to begin timing.

[0088] The target time range is used to characterize the range of time spent waiting to access the first network.

[0089] In step S509b, the terminal device needs to perform emergency communication.

[0090] In step S511, the terminal device sends a first registration request to the core network element / AMF element of PLMN-D.

[0091] The first registration request may include parameters indicating that the registration type is "emergency communication type" in order to request the establishment of a data connection for emergency communication.

[0092] In step S513, the core network element / AMF element of PLMN-D sends a notification message to the terminal device to indicate acceptance of registration.

[0093] In step S515a, the terminal device establishes a first data connection for emergency communication through the core network element / AMF element of PLMN-D and the base station of PLMN-D.

[0094] In step S515b, the timer continues to run.

[0095] In step S515c, the emergency communication service ends and the first data connection is released.

[0096] In step S517, the timer's timing value reaches the set value.

[0097] For example, in a countdown implementation, when the timer's countdown value is 0, it can be understood as reaching the set value. Of course, this is just an example and not the only limitation.

[0098] In step S519, the terminal device sends a second registration request to the core network element / AMF element of PLMN-D.

[0099] The second registration request may include a parameter indicating that the registration type is "initial registration" in order to request the establishment of a data connection for the home route.

[0100] It should be noted that, in some implementations, after receiving the second registration request, the core network element / AMF element of PLMN-D can also send a message to the terminal device indicating acceptance of registration.

[0101] In step S521, the terminal device establishes a second data connection for home routing with the PLMN-D core network element / AMF network element and the PLMN-D base station, and routes the terminal device's data to the core network of the 5G network HPLMN to which the terminal device belongs for processing through the second data connection.

[0102] Figure 5 The implementation method and beneficial effects of the illustrated embodiments can be found in the above description. Figures 1-4 Any of the embodiments described herein will not be repeated here.

[0103] Figure 6 This diagram illustrates a communication device according to an embodiment of the present disclosure. The communication device is applied to a terminal device in a cross-network roaming state. When the first network accessed via cross-network roaming fails, the terminal device accesses a second network via disaster recovery roaming. Figure 6 As shown, in some embodiments, the communication device 600 may include:

[0104] The first sending module 601 is configured to send a first registration request to the first network to establish a first data connection with the first network for emergency communication if emergency communication is required when the first network recovers from a fault and is waiting to reconnect to the first network.

[0105] In some implementations, when the first network recovers from a failure and awaits reconnection to the first network, a timer is started and kept running.

[0106] In some implementations, when the timer's count reaches a set value, the time to reconnect to the first network is determined.

[0107] In some implementations, the set value is determined based on a target time range, which is used to characterize the range of time for waiting to access the first network.

[0108] In some implementations, the first registration request includes a first type parameter, which is used to characterize the data connection to be established for emergency communication.

[0109] In some implementations, the first registration request includes a second type parameter, which is used to characterize the data connection to be established as a locally routed data connection.

[0110] In some embodiments, the communication device 600 may further include:

[0111] The second sending module is configured to send a second registration request to the first network when the first data connection has been released and the time for reconnection to the first network has arrived, so as to establish a second data connection with the first network for home routing.

[0112] In some implementations, the second registration request includes a third type parameter, which is used to characterize the data connection to be established as a home route data connection.

[0113] In some implementations, the first network is a 5G network and the second network is a 4G network.

[0114] Figure 6 The communication device described in this embodiment, its operation, and its beneficial effects can be found in [reference needed]. Figures 1-3 Any of the embodiments described herein will not be repeated here.

[0115] Figure 7 A schematic diagram of another communication device according to an embodiment of this disclosure is shown. This communication device is applied to a network device. This network device is included in a first network, and a terminal device accesses the first network via inter-network roaming. In the event of a failure in the first network, the terminal device accesses a second network via disaster recovery roaming. Figure 7 As shown, in some embodiments, the communication device 700 may include:

[0116] The first receiving module 701 is configured to receive a first registration request from the terminal device when the first network recovers from a fault and the terminal device does not reconnect to the first network.

[0117] Establishment module 702 is used to establish a first data connection for emergency communication based on the first registration request and the terminal device.

[0118] In some implementations, the first registration request includes a first type parameter, which is used to characterize the data connection to be established for emergency communication.

[0119] In some implementations, the first registration request includes a second type parameter, which is used to characterize the data connection to be established as a locally routed data connection.

[0120] In some embodiments, the communication device 700 may further include:

[0121] The second receiving module is configured to receive a second registration request from the terminal device when the first data connection has been released.

[0122] The module 702 is also used to establish a second data connection with a home route based on the second registration request and the terminal device.

[0123] In some implementations, the second registration request includes a second type parameter, which is used to characterize the data connection to be established as a home route data connection.

[0124] In some implementations, the first network is a 5G network and the second network is a 4G network.

[0125] Figure 7 The communication device provided in the embodiments, its execution method and beneficial effects can be found in the foregoing. Figure 4 Examples will not be repeated here.

[0126] In some embodiments, this disclosure also provides a terminal device including a processor and a memory, the memory being used to store executable instructions of the processor; wherein the processor is configured to execute the method executed by the terminal device in any of the above method embodiments by executing the executable instructions.

[0127] Figure 8 A structural block diagram of a terminal device according to an embodiment of this disclosure is shown. Referring below... Figure 8 To describe a terminal device 800 according to this embodiment of the present invention. Figure 8 The terminal device 800 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0128] like Figure 8 As shown, the terminal device 800 is presented in the form of a general-purpose computing device. The components of the terminal device 800 may include, but are not limited to: at least one processing unit 810 (included in one or more processors), at least one storage unit 820 (included in one or more memories), and a bus 830 connecting different system components (including storage unit 820 and processing unit 810).

[0129] The storage unit stores program code that can be executed by the processing unit 810, causing the processing unit 810 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention.

[0130] Storage unit 820 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 821 and / or cache memory 822, and may further include a read-only memory (ROM) 823.

[0131] The storage unit 820 may also include a program / utility 824 having a set (at least one) of program modules 825, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0132] Bus 830 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0133] Terminal device 800 can also communicate with one or more external devices 870 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with terminal device 800, and / or any device that enables terminal device 800 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 850. Furthermore, terminal device 800 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 860. As shown, network adapter 860 communicates with other modules of terminal device 800 via bus 830. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with terminal device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0134] In some exemplary embodiments of this disclosure, a network device is also provided, including a processor and a memory, the memory being used to store executable instructions of the processor; wherein the processor is configured to perform the above-mentioned tasks by executing the executable instructions. Figure 4 The method in the illustrated embodiment.

[0135] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0136] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the invention may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the invention described in the "Exemplary Methods" section of this specification.

[0137] A program product for implementing the above-described method according to embodiments of the present invention is described. This product may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0138] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0139] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0140] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0141] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0142] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0143] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.

[0144] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

Claims

1. A communication method, characterized in that, Applied to a terminal device in a cross-network roaming state, when the first network accessed via cross-network roaming fails, the terminal device accesses a second network via disaster recovery roaming. The method includes: If emergency communication is required when the first network recovers from a failure and the user is waiting to reconnect to the first network, a first registration request is sent to the first network to establish a first data connection for emergency communication.

2. The method according to claim 1, characterized in that, When the first network recovers from a fault and is waiting to be reconnected to the first network, a timer is started and kept running.

3. The method according to claim 3, characterized in that, When the timer reaches its set value, the time to reconnect to the first network is determined.

4. The method according to claim 3, characterized in that, The set value is determined based on a target time range, which is used to characterize the range of time for waiting to access the first network.

5. The method according to claim 1, characterized in that, The first registration request includes a first type parameter, which is used to characterize the data connection to be established for emergency communication.

6. The method according to claim 1, characterized in that, The first registration request includes a second type parameter, which is used to characterize the data connection to be established as a locally routed data connection.

7. The method according to claim 1, characterized in that, The method further includes: If the first data connection has been released and the time for reconnection to the first network has arrived, a second registration request is sent to the first network to establish a second data connection with the first network that belongs to the first network.

8. The method according to claim 7, characterized in that, The second registration request includes a third type parameter, which is used to characterize the data connection to be established as a home route data connection.

9. The method according to any one of claims 1-8, characterized in that, The first network is a 5G network, and the second network is a 4G network.

10. A communication method, characterized in that, Applied to network devices, said network devices being contained in a first network, terminal devices accessing the first network via inter-network roaming, and in the event of a failure of the first network, the terminal devices accessing a second network via disaster recovery roaming, the method comprising: If the first network recovers from the fault and the terminal device does not reconnect to the first network, a first registration request is received from the terminal device. A first data connection for emergency communication is established based on the first registration request and the terminal device.

11. The method according to claim 11, characterized in that, The first registration request includes a first type parameter, which is used to characterize the data connection to be established for emergency communication.

12. The method according to claim 11, characterized in that, The first registration request includes a second type parameter, which is used to characterize the data connection to be established as a locally routed data connection.

13. The method according to claim 11, characterized in that, The method further includes: If the first data connection has been released, a second registration request is received from the terminal device; A second data connection with a home route is established based on the second registration request and the terminal device.

14. The method according to claim 13, characterized in that, The second registration request includes a second type parameter, which is used to characterize the data connection to be established as a home route data connection.

15. The method according to any one of claims 10-14, characterized in that, The first network is a 5G network, and the second network is a 4G network.

16. A communication device, characterized in that, Applied to a terminal device, wherein the terminal device is in a cross-network roaming state, and when the first network accessed via cross-network roaming fails, the terminal device accesses a second network via disaster recovery roaming, the communication device comprising: The first sending module is configured to send a first registration request to the first network to establish a first data connection with the first network for emergency communication if emergency communication is required when the first network recovers from a failure and is waiting to reconnect to the first network.

17. A communication device, characterized in that, Applied to network devices, the network devices are included in a first network, and terminal devices access the first network via inter-network roaming. In the event of a failure in the first network, the terminal devices access a second network via disaster recovery roaming. The communication device includes: The first receiving module is configured to receive a first registration request from the terminal device when the first network recovers from a fault and the terminal device does not reconnect to the first network. A module is established to establish a first data connection for emergency communication based on the first registration request and the terminal device.

18. A terminal device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1 to 9 by executing the executable instructions.

19. A network device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to perform the method of any one of claims 10-15 by executing the executable instructions.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 15.