Data interruption recovery method, terminal, and storage medium

By monitoring and switching PDU sessions based on specific conditions, the method addresses the issue of data interruption in smart terminals, enhancing recovery efficiency and continuity.

JP7621513B2Active Publication Date: 2025-01-24ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023571757
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-06-07
Filing Date
2022-04-29
Publication Date
2025-01-24
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

Existing data interruption recovery methods in smart terminals often result in degraded traffic continuity and user experience due to indiscriminate reconnection, which resets normal PDU sessions when data interruptions occur.

Method used

The method involves monitoring PDU sessions for data interruptions and switching them to available network channels only if specific session switching conditions are met, rather than immediately reconnecting, thereby avoiding the resetting of other normal sessions.

Benefits of technology

This approach enhances data recovery efficiency, accuracy, and ensures traffic continuity by precisely controlling data recovery operations, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007621513000004
    Figure 0007621513000004
  • Figure 0007621513000005
    Figure 0007621513000005
  • Figure 0007621513000006
    Figure 0007621513000006
Patent Text Reader

Abstract

An embodiment of the present disclosure provides a data interruption recovery method, terminal, and storage medium that detects data interruption on a PDU session basis, and when it is detected that a data interruption has occurred in a PDU session, rather than immediately reconnecting to the network and resuming the data connection, first determines whether the PDU session in which the data interruption occurred satisfies a session switching condition, and if so, switches the PDU session.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This disclosure claims priority to Chinese patent application CN 202110630174.6, filed on June 7, 2021, and entitled “Data Interruption Recovery Method, Terminal, and Storage Medium,” the entire contents of which are incorporated herein by reference.

[0002] SUMMARY OF THE DISCLOSURE The embodiments of the present disclosure relate to, but are not limited to, the communications field, and specifically relate to, but are not limited to, a data interruption recovery method, a terminal, and a storage medium. [Background technology]

[0003] Smart terminals have become an important tool for people's daily life, and applications related to people's work, life and entertainment are expanding and popularizing with the development of smart terminals. Once a data interruption of a terminal (i.e., a failure in the data connection or data transmission between the smart terminal and the network side) occurs, it will bring a lot of inconvenience to the user's life. In order to improve the user's experience, after the smart terminal establishes a network channel connection with the network side (i.e., after establishing a data connection), it continuously detects whether a data interruption occurs in the network channel established with the network side, and if a data interruption is detected, it reconnects to the network and clears all data connections to resume the data connection. However, after the smart terminal establishes a network channel with the network side, the terminal may establish multiple PDU (Protocol Data Unit) sessions with the network side through the network channel, and when the smart terminal detects the interruption of the network channel, the data of each PDU session in the network channel may only be interrupted. Therefore, simply reconnecting to the network directly to resume the data connection will reset other normal PDU sessions in the network channel, degrading the continuity of traffic and causing a deterioration of the user's experience. Summary of the Invention [Problem to be solved by the invention]

[0004] The data interruption recovery method, terminal, and storage medium according to the embodiments of the present disclosure solve the technical problem in the related art that when a data interruption is detected, a normal PDU session is also reset by directly reconnecting to the network and resuming the data connection. [Means for solving the problem]

[0005] The embodiment of the present disclosure includes: monitoring for data interruptions in a protocol data unit (PDU) session; determining whether the PDU session currently satisfies a session switching condition; and switching the PDU session when it is determined that the PDU session currently satisfies a session switching condition.

[0006] The embodiment of the present disclosure includes: A terminal including a memory, a processor, and a communication bus connecting the memory and the processor, The memory further provides a terminal having stored therein one or more computer programs which, when executed by the processor, implement the steps of the data interruption recovery method.

[0007] The embodiment of the present disclosure includes: There is further provided a computer readable storage medium having stored thereon one or more computer programs for, when executed by one or more processors, implementing the steps of the data interruption recovery method described above.

[0008] Other features of the present disclosure and corresponding beneficial effects are described hereinafter in the specification, and it should be understood that at least some of the beneficial effects will be apparent from the description of the specification of the present disclosure. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a schematic diagram of the flow of a data interruption recovery method according to Example 1 of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of the flow of a data connection resumption method according to the first embodiment of the present disclosure; [Diagram 3] FIG. 13 is a schematic diagram of the flow of another data connection resumption method according to Example 1 of the present disclosure. [Figure 4] FIG. 2 is a structural schematic diagram of a data interruption recovery device according to Example 2 of the present disclosure; [Diagram 5]FIG. 11 is a schematic diagram of an ATSSS function according to a second embodiment of the present disclosure. [Figure 6] FIG. 11 is a schematic diagram of the flow of a data interruption recovery method according to Example 2 of the present disclosure. [Figure 7] FIG. 11 is a structural schematic diagram of a terminal according to a third embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be described in more detail below with reference to drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, and are not used to limit the present disclosure.

[0011] Example 1 In the related art, after a terminal establishes a network channel connection with a network side, it detects data interruption on a network channel basis. For example, after a terminal establishes a cellular network channel and a wireless fidelity (Wi-Fi) network channel with a network side, it detects whether data interruption occurs on the cellular network channel and the Wi-Fi network channel, and if it does, it directly reconnects to the network to perform data recovery. However, in this case, since data of individual PDU sessions in the network channel may only be interrupted, simply reconnecting directly to the network to resume data connection may reset other normal PDU sessions in the network channel, which may degrade traffic continuity and degrade user experience. In contrast, the present embodiment provides a new data interruption recovery method in which a terminal detects data interruption on a PDU session basis rather than on a network channel basis, which makes the detection granularity finer and allows the terminal to identify a specific PDU session in which data interruption occurs, and is more favorable for precise control of subsequent data recovery. When detecting that a data interruption has occurred in a PDU session, rather than immediately reconnecting to the network and resuming the data connection, it first determines whether the PDU session where the data interruption occurred meets the session switching conditions, and if so, switches the PDU session. This makes it possible to avoid resetting other normal PDU sessions by reconnecting to the network and resuming the data connection, and also makes it possible to switch the PDU session where the data interruption occurred to another channel for normal operation, thereby improving the efficiency and accuracy of data recovery, ensuring traffic continuity, and improving the user experience.

[0012] For ease of understanding, the data interruption recovery method according to the present embodiment is exemplarily described below. As shown in FIG. 1, the method includes, but is not limited to, the following steps S101 to S103.

[0013] S101: Monitor data interruption of the PDU session.

[0014] In addition, before S101, a step may also be included in which the terminal establishes a network channel connection with the network side and establishes at least one PDU session on the network channel. In this embodiment, the terminal may establish only one network channel connection with the network side, or may have multiple network channel connections. The terminal monitors whether a data interruption occurs in at least a part of the currently established PDU sessions in units of PDU sessions (for example, in some application scenarios, it can monitor whether a data interruption occurs in all established PDU sessions). Since the detection is not performed in units of network channels, the granularity of detection is finer, and a specific PDU session in which a data interruption occurs can be identified, which is more favorable for accurate control of subsequent data recovery.

[0015] In one example of this embodiment, the terminal may monitor whether a data interruption occurs in the PDU session only in the data plane, or may monitor whether a data interruption occurs in the PDU session only in the control plane. In another example of this embodiment, the terminal may monitor whether a data interruption occurs in the PDU session in both the data plane and the control plane, so that the monitoring is more comprehensive and the accuracy of the monitoring can be improved. For example, in one application example, the step of monitoring whether a data interruption occurs in the PDU session may include, but is not limited to, one of the following:

[0016] It is monitored whether N data messages continuously transmitted to the network side by the PDU session within a first preset period receive a response from the network side, and if no response is received, it is determined that a data interruption has occurred in the PDU session. Here, N is an integer value of 1 or more, and specifically, it can be flexibly set as needed, for example, 1, 3, 5, 7, etc., but is not limited thereto. The first preset period can also be flexibly set as needed, and will not be described in detail here.

[0017] It is monitored whether a Domain Name System (DNS) query corresponding to the PDU session fails M times within a second preset period, and if it fails M times, it is determined that a data interruption has occurred in the PDU session. Here, M is an integer value of 1 or more, and specifically, it can be flexibly set as needed, for example, it can be set to 2, 4, 6, 8, etc., but is not limited thereto, and in this example, the M failures can be M consecutive times or M non-consecutive times. The second preset period can also be flexibly set as needed, so it will not be described in detail here.

[0018] It is monitored whether a Packet Internet Groper (PING) corresponding to the PDU session fails K times within a third preset period, and if it fails K times, it is determined that a data interruption has occurred in the PDU session. Here, K is an integer value of 1 or more, and specifically, it can be flexibly set as needed, for example, it can be set to 1, 4, 5, 8, etc., but is not limited thereto. In this example, the K failures can be K consecutive times or K non-consecutive times. The third preset period can also be flexibly set as needed, so it will not be described in detail here.

[0019] Whether the number of data message retransmissions of the PDU session reaches a preset message retransmission threshold within a fourth preset period is monitored, and if the retransmission threshold is reached, it is determined that a data interruption has occurred in the PDU session. The preset message retransmission threshold value and the fourth preset period may be flexibly set as needed, and therefore will not be described in detail here.

[0020] It is monitored whether a server probe corresponding to a PDU session has failed, and if it has failed, it is determined that a data interruption has occurred in the PDU session.

[0021] A preset PDU session release instruction message transmitted from the network side to the PDU session is monitored, and when the message is monitored, it is determined that a data interruption has occurred in the PDU session. In this embodiment, the preset PDU session release instruction message can be flexibly set according to application requirements, and may include, but is not limited to, a PDU session release instruction message including at least one of the following reasons: Network Failure, Insufficient resources for a specific slice, and Insufficient resources for a specific slice and DNN.

[0022] Furthermore, in some application scenarios of this embodiment, it can be determined that a data interruption has occurred in the PDU session only when at least two of the situations in the above examples are detected in the PDU session.

[0023] S102: Determine whether the PDU session currently meets the session switching condition.

[0024] In one example of this embodiment, the step of determining whether the PDU session currently satisfies the session switching condition includes, but is not limited to, the steps of determining whether the PDU session in which the data interruption occurred is a Multi-Access (MA) PDU session that supports multiple network channel access, and if it is determined that the PDU session in which the data interruption occurred is an MA PDU session, determining whether there is a currently available network channel among the multiple network channels supported by the PDU session, and if there is, determining that the MA PDU session satisfies the session switching condition.

[0025] In some application examples of this embodiment, the multiple network channels supported by the MA PDU session include, but are not limited to, at least one of at least one cellular network channel and at least one non-cellular network channel.

[0026] For example, in one application scenario, when the terminal is under a non-independent mode 5G network, it may simultaneously connect to a 5G network and a 4G network, and in this application scenario, the terminal may simultaneously connect to a 5G network and a 4G network, and the multiple network channels supported by the MA PDU session may include a 4G network channel and a 5G network channel.

[0027] Also, for example, in one application scenario, a terminal may connect to a 5G network (or a 4G network) and a Wi-Fi network simultaneously, in which case the multiple network channels supported by the MA PDU session may include a 5G network channel (or a 4G network channel) and a Wi-Fi network channel.

[0028] Further, for example, in one application scenario, a terminal may simultaneously connect to a 5G network, a 4G network, and a Wi-Fi network, in which case the multiple network channels supported by the MA PDU session may include at least two of a 5G network channel, a 4G network channel, and a Wi-Fi network channel.

[0029] The above application scenarios are merely examples for easy understanding, and can be flexibly configured and adjusted according to application needs, so they will not be described in detail here.

[0030] For ease of understanding, this embodiment exemplarily describes a determination method for determining whether or not there is a currently available network channel among multiple network channels corresponding to an MA PDU session, and this determination method includes determining whether or not there is a network channel that is not marked as interrupted among multiple network channels corresponding to an MA PDU session, and if there is, setting the network channel that is not marked as interrupted as an available network channel for the MA PDU; determining whether or not there is a network channel with a normal packet loss rate (i.e., the packet loss rate is equal to or less than a preset packet loss rate threshold) among multiple network channels corresponding to an MA PDU session, and if there is, setting the network channel with the normal packet loss rate as an available network channel for the MA PDU; determining whether or not there is a network channel with a successful probe server among multiple network channels corresponding to an MA PDU session, and if there is, setting the network channel with the successful probe server as an available network channel for the MA PDU; determining whether or not there is a network channel with a successful packet Internet grower among multiple network channels corresponding to an MA PDU session, and if there is, setting the network channel with the successful packet Internet grower as an available network channel for the MA PDU; This method includes, but is not limited to, determining whether there is a network channel whose network quality (which may include at least one of indicators such as communication delay, rate, reference signal received power, reference signal received quality, signal-to-noise ratio, received signal strength indication, etc.) measurement result satisfies the set network quality condition among multiple network channels corresponding to the PDU session, and if so, setting the network channel whose network quality measurement result satisfies the set network quality condition as an available network channel for the MA PDU.

[0031] S103: If it is determined that the PDU session where data interruption occurs currently satisfies the session switching condition, switch the PDU session where data interruption occurs, for example, switch to a corresponding available network channel, and continue to execute the corresponding data traffic, thereby avoiding reconnecting to the network and performing a data connection resumption operation, and further avoiding resetting other normal PDU sessions due to the data connection resumption operation, and switching the PDU session where data interruption occurs to another channel for normal operation, thereby improving the efficiency and accuracy of data recovery, ensuring traffic continuity, and further improving user experience.

[0032] In this embodiment, when it is determined that the PDU session in which the data interruption occurs does not currently satisfy the session switching condition, the step of performing data connection resumption control is also included. In this case, the data connection resumption control of the related art described above may be adopted. However, in this embodiment, a more reasonable data connection resumption method is provided, which includes, but is not limited to, the following two data connection resumption methods:

[0033] Method 1: As shown in FIG. 2, the method includes but is not limited to the following steps:

[0034] S201: If it is determined that the PDU session in which the data interruption occurred does not currently satisfy the session switching conditions, the PDU session in which the data interruption occurred is marked as being in a data interrupted state.

[0035] S202: If the number of PDU sessions currently marked as being in a data interrupted state reaches a preset data recovery threshold, perform data connection resumption processing; if the number of PDU sessions currently marked as being in a data interrupted state does not reach the preset data recovery threshold, do not perform data connection resumption.

[0036] In this embodiment, statistics may be performed on a network channel basis; that is, if the number of PDU sessions marked as in a data interruption state on a certain network channel as a result of the statistics reaches a predetermined data recovery threshold (this data recovery threshold may be flexibly set, for example, to 10%, 15%, or 20% of the total number of current PDU sessions, or may be set to a fixed value), a data connection resume operation is performed, and the data connection resume operation is performed only on that network channel, and the data connection resume operation may not be performed on other network channels to which the terminal is currently connected, or of course may be performed simultaneously.

[0037] In another example of this embodiment, the data connection resume operation may be performed when statistics show that the number of PDU sessions marked as in a data interruption state on all network channels to which the terminal is currently connected reaches a pre-set data recovery threshold, or may be performed for some or all of the network channels.

[0038] In the present method 1, if the number of PDU sessions currently marked as in a data interruption state does not reach a preset data recovery threshold, the data connection is not resumed and the PDU sessions that previously experienced data interruptions may automatically recover during the wait due to an improved network environment or other factors, and the data interruption mark can be deleted after monitoring the automatically recovered PDU sessions. That is, in the present method 1, at least some of the PDU sessions that experienced data interruptions can be given time for automatic recovery, which can improve fault-tolerant performance, reduce the frequency of data recovery operations, and improve the automatic recovery capability, success rate, and resource utilization rate of the PDU sessions that experienced data interruptions.

[0039] Method 2: As shown in FIG. 3, the method includes but is not limited to the following steps:

[0040] S301: When it is determined that the PDU session in which a data interruption occurred does not currently satisfy the session switching conditions, timing is started (equivalently, this may be replaced by starting timing when a data interruption in the PDU session is monitored).

[0041] S302: When the clock value reaches a preset time threshold (this time threshold can be flexibly set according to requirements), if the data interruption of the PDU session is still monitored (i.e., if the PDU session is monitored to be in a session data interruption state), perform data connection resumption processing. That is, in this method 2, the PDU session in which data interruption occurs can be given time for automatic recovery, which can improve the fault-tolerant performance, reduce the frequency of data recovery operations, and improve the automatic recovery ability, success rate, and resource utilization rate of the PDU session in which data interruption occurs.

[0042] Of course, in some examples of this embodiment, the data recovery operation may be controlled and executed according to the type of data traffic carried by the PDU session in which the data interruption occurred, for example, if a data interruption occurs in a PDU session of non-important data traffic, the data recovery operation may not be executed, and for example, if a data interruption occurs in a PDU session of important data traffic, the data recovery operation may be executed immediately when the switching condition is met. Based on the above control example according to this embodiment, it is also possible to replace or extend it with other control methods, but this will not be described in detail here.

[0043] For ease of understanding, in this embodiment, the data connection resumption processing mode is illustratively described, and the data connection resumption processing mode includes performing at least one of the following operations according to the set data recovery rule: turning off and then on the data connection control switch, re-executing the network joining procedure, restarting the RF module, and restarting the modem. For the operation of turning off and then on the data connection control switch, for example, assuming that the data connection resumption operation is performed for the network channel of the 5G network to which the terminal is currently connected, the 5G network data connection control switch of the terminal can be turned off and then turned on again, and the control modes for other networks are similar, so they will not be described in detail here.

[0044] The data recovery rule set in this embodiment can be flexibly set, for example, it can be set to operate in a random order, or the above data recovery operations can be provided to a user and executed according to the user's selection. In one example of this embodiment, in order to improve the rationality and efficiency of data recovery control, the data recovery rule includes a stepwise execution rule, which includes: after executing the current data recovery operation in a preset order, monitoring whether there is a data interruption of the PDU session within a fifth preset period, and if there is, executing the next data recovery operation; if there is not, indicating that the data interruption has been resolved, and stopping the data recovery operation.

[0045] For example, the preset sequence may be to turn off and then turn on the data connection control switch, re-run the network joining procedure, restart the RF module, and restart the modem in sequence. After turning off and then turning on the data connection control switch as the currently executed data recovery operation and completing the execution, it is monitored whether there is a data interruption of the PDU session within a fifth preset period, and if there is, re-run the network joining procedure, and if not, indicates that the data interruption has been resolved and stops the data recovery operation.

[0046] In addition, in one example of the present embodiment, at least one step of the data interruption recovery method may be executed by a terminal. The terminal detects data interruption in units of PDU sessions, and when it detects that a data interruption has occurred in a PDU session, it does not immediately reconnect to the network and perform a data connection resume operation, but first determines whether the PDU session in which the data interruption has occurred satisfies a session switching condition, and if so, switches the PDU session. This makes it possible to avoid reconnecting to the network and performing a data connection resume operation, and to avoid resetting other normal PDU sessions due to the data connection resume operation, and to switch the PDU session in which the data interruption has occurred to another channel for normal operation, thereby improving the efficiency and accuracy of data recovery and ensuring traffic continuity. Meanwhile, when the PDU session in which the data interruption has occurred does not satisfy the session switching condition, the data connection resume operation is executed only when the current PDU session in which the data interruption has occurred satisfies the set data recovery condition, so that the fault tolerance performance is improved, the frequency of data recovery operations is reduced, and the automatic recovery capability, success rate, and resource utilization rate of the PDU session in which the data interruption has occurred can be improved.

[0047] Example 2 This embodiment provides a data interruption recovery device, as shown in FIG. 4, which includes, but is not limited to, a monitoring module 401, a measurement module 402, a multi-channel management module 403, a mark module 404, a listening module 405, and a recovery module 406.

[0048] The monitoring module 401 is for monitoring whether a data interruption has occurred in a PDU session and whether the PDU session in which the data interruption has occurred is an MA PDU session, and the monitoring method can adopt the method shown in the above embodiment, but is not limited to these and will not be described in detail here.

[0049] The measurement module 402 is for detecting whether there is an available channel among the multiple network channels corresponding to the MA PDU session when the PDU session in which data interruption occurred is an MA PDU session, and the detection method can adopt the method shown in the above embodiment, but is not limited to this, and will not be described in detail here.

[0050] The multi-channel management module 403 is configured to switch the MA PDU session to a corresponding available network channel when an available channel is present among the multiple network channels corresponding to the MA PDU session in which data interruption has occurred as a result of detection by the measurement module 402, and to transmit an exchange data message of the MA PDU session to the available network channel after the switch.

[0051] The mark module 404 is for marking a PDU session in which a data interruption occurs as being in a data interruption state if the PDU session does not meet the session switching conditions.

[0052] The listening module 405 is for listening to whether the PDU session currently marked as a data interruption state meets a set data connection resume condition. The data connection resume condition can adopt the conditions shown in the above embodiment, but is not limited thereto, and will not be described in detail here.

[0053] The recovery module 406 is for performing a data connection resumption operation when the listening module 405 hears that the data connection resumption condition is met, and the execution manner can adopt the manner described in the above example, but is not limited thereto, and will not be described in detail here.

[0054] It should be noted that at least one of the above modules may be disposed in a terminal, and the functions of the at least one module may be implemented by a processor, but are not limited thereto. Of course, in some examples, some of these modules may be disposed in a network-side device, which will not be described in detail here.

[0055] For ease of understanding, the present embodiment will be described below by taking a specific application scenario as an example. In this application scenario, a terminal connects to a 5G network and a Wi-Fi network simultaneously. The data recovery connection is conditional on the number of PDU sessions in a data interruption state reaching a preset data recovery threshold.

[0056] For 5G networks, the 3GPP® R16 version introduces an access traffic steering, switching, and splitting (ATSSS) function that can also be introduced in 4G networks. This ATSSS function is mainly used for terminal MA traffic route priority, seamless switching, multi-path simultaneous execution, etc., and a schematic diagram of one of them is shown in Figure 5.

[0057] For route priority, the terminal can select an optimal network route from the 5G network and the Wi-Fi network to execute data traffic. For seamless switching, the terminal can switch from the 5G network to the Wi-Fi network to execute data traffic, or switch from the Wi-Fi network to the 5G network to execute data traffic. For multi-path concurrent execution, the terminal can use the 5G network and the Wi-Fi network simultaneously to execute data traffic.

[0058] JPEG0007621513000001.jpg70170

[0059] As shown in FIG. 6, the data interruption and recovery method according to this application example includes the following steps S601 to S611, but is not limited to these. S601: When a terminal registers a 5G network that supports ATSSS, it establishes PDU sessions 1 to n with the network side on the 5G channel and the WiFi channel, respectively.

[0060] In one application scenario, the PDU sessions established may include, but are not limited to, an Internet type PDU session for Internet traffic, an IMS type PDU session for IMS (IP Multimedia Subsystem) traffic, an MMS type PDU session for Multimedia Messaging Service (MMS), and a network slice PDU session.

[0061] S602: The terminal detects that a data interruption occurs in PDU session 1 of the 5G network. In this example, the step of detecting whether a data interruption occurs in the PDU session by the terminal may include, but is not limited to, one of the following steps: monitoring whether N data messages continuously transmitted to the network side by the PDU session within a first preset period receive a response from the network side; monitoring whether a DNS query corresponding to the PDU session fails M times within a second preset period; monitoring whether a PING detection corresponding to the PDU session fails K times within a third preset period, and determining that a data interruption occurs in the PDU session if it fails K times; monitoring whether the number of data message retransmissions of the PDU session reaches a preset message retransmission threshold within a fourth preset period; monitoring whether a server probe corresponding to the PDU session fails; and monitoring a preset PDU session release indication message transmitted from the network side to the PDU session. In this embodiment, the pre-configured PDU session release instruction message can be flexibly configured according to the needs of the application, and may include, for example, a PDU session release instruction message including at least one of the reasons for Network Failure, Insufficient resources for a specific slice, and Insufficient resources for a specific slice and DNN, but is not limited to these.

[0062] According to the 3GPP TS 24.501 specification, the network side notifies the terminal of the release of the PDU session by the PDU Session Release Command, and includes the release reason in the "5GSM cause" field as shown in Tables 1 and 2 below.

[0063] JPEG0007621513000002.jpg133170

[0064] JPEG0007621513000003.jpg47170

[0065] S603: The terminal determines whether the PDU session 1 is an MA PDU session, and if it is an MA PDU session, proceeds to S604; if it is not an MA PDU session, proceeds to S608.

[0066] In one example, the terminal determines whether the PDU session 1 is an MA PDU session, determines whether a PDU session corresponding to the session ID of the PDU session 1 is established across multiple network channels, and if so, indicates that the PDU session 1 is an MA PDU session. The terminal may also pre-configure or pre-obtain an MA PDU session list, and determine whether the PDU session in which the data interruption occurred is in the MA PDU session list.

[0067] S604: The terminal measures whether the WiFi channel corresponding to PDU session 1 is available, and if it is available, proceeds to S605; if it is not available, proceeds to S606.

[0068] S605: The terminal switches the PDU session 1 to the WiFi channel and transmits all data messages to the WiFi channel of the PDU session 1.

[0069] S606: The terminal measures whether a common PDU session channel of the 5G network is available, and if it is available, proceeds to S607; if it is not available, proceeds to S608.

[0070] S607: The terminal switches the PDU session 1 to a common PDU session channel of the 5G network, and transmits all data messages to the common PDU session (i.e., the default PDU session of Internet type) channel of the 5G network of the PDU session 1.

[0071] In this example, the manner in which the terminal measures whether a Wi-Fi network channel or a common PDU session of a 5G network is available includes, but is not limited to, one of: detecting whether the Wi-Fi network channel or the common PDU session channel of the 5G network corresponding to PDU session 1 is marked as a data interruption state; checking in the kernel the data transmission and reception statistics of the Wi-Fi network channel or the common PDU session channel of the 5G network corresponding to PDU session 1 to determine whether the packet loss rate is abnormal; initiating a server probe on the Wi-Fi network channel or the common PDU session channel of the 5G network corresponding to PDU session 1; initiating a PING operation on the Wi-Fi network channel or the common PDU session channel of the 5G network corresponding to PDU session 1; and initiating measurement on the Wi-Fi network channel or the common PDU session channel of the 5G network corresponding to PDU session 1.

[0072] According to the 3GPP TS 24.193 specification, during measurement, the terminal sends a PMFP Echo request message to the network side, and the network side returns PMFP Echo response information. The terminal obtains the current RTT value by calculating the difference between the current value of the timer Tx in the PMFP Echo response message and the original value of the timer Tx in the PMFP Echo request message. Of course, at least one of the indicators representing network quality, such as rate, RSSI, SNR, etc., can also be measured.

[0073] S608: The terminal marks the PDU session 1 as in a data interrupted state.

[0074] S609: The terminal determines whether the number of PDU sessions marked as in a data interruption state has reached a data recovery threshold, and if the data recovery threshold has been reached, proceeds to S610; if the data recovery threshold has not been reached, proceeds to S611.

[0075] S610: The terminal performs a data connection resumption operation.

[0076] In this example, the terminal adopts a stepwise execution rule, and after performing the current data recovery operation in a preset order, monitors whether there is a data interruption of the PDU session within a fifth preset period, and if there is, performs the next data recovery operation, and if there is no data interruption, indicates that the data interruption has been resolved and stops the data recovery operation. For example, the preset order may be to turn off and then on the data connection control switch, re-execute the network joining procedure, restart the RF module, and restart the modem in sequence. After turning off and then on the data connection control switch as the currently executed data recovery operation, and completing the execution, monitors whether there is a data interruption of the PDU session within a fifth preset period, and if there is, re-executes the network joining procedure, and if there is no data interruption, indicates that the data interruption has been resolved and stops the data recovery operation.

[0077] S611: Keep waiting.

[0078] In this embodiment, the granularity of data interruption detection in the related art is WiFi channel or cellular channel, whereas in this embodiment, the detection granularity is narrowed down to PDU session. The terminal establishes multiple PDU sessions with the network side on the WiFi channel or cellular channel according to traffic requirements.

[0079] In the related art, detection is performed by a data plane method, whereas in this embodiment, the detection range is expanded to the control plane, improving the completeness and accuracy of data detection.

[0080] In the related art, the detection granularity is large, and only a data connection resumption means can be adopted after detecting data interruption, resulting in limited accuracy, whereas in the present embodiment, the detection granularity of the terminal is finer, and after detecting data interruption, traffic switching is attempted to ensure traffic continuity.Recovery operations are only performed when it is determined that the number of interrupted PDU sessions reaches a certain threshold, resulting in higher accuracy, better fault tolerance performance, reduced frequency of data recovery operations, and improved automatic recovery capability, success rate and resource utilization rate of PDU sessions in data interruption.

[0081] Example 3 This embodiment further provides a terminal, which includes, but is not limited to, various mobile smart terminals such as smartphones, IPADs, in-vehicle terminals, smart wearable devices, etc., and may also include non-mobile type smart terminals. As shown in Fig. 7, the terminal includes a processor 701, a memory 702, and a communication bus 703, the communication bus 703 connects the processor 701 and the memory 702, and the processor 701 executes one or more computer programs stored in the memory 702 to realize at least one step of the data interruption recovery method exemplified in each of the above embodiments.

[0082] The present embodiment further provides a computer readable storage medium, including volatile or non-volatile, removable or non-removable media, implemented in any method or technology for storing information (e.g., computer readable instructions, data structures, computer program modules, or other data, etc.). Computer readable storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disk (DVD) or other optical disk storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and that can be accessed by a computer.

[0083] The computer-readable storage medium of this embodiment can be used to store one or more computer programs, and the one or more computer programs stored therein can be executed by one or more processors to realize at least one step of the data interruption recovery method illustrated in each of the above embodiments.

[0084] The present embodiment further provides a computer program (or computer software) that can be distributed to a computer-readable medium and executed by a computing device to realize at least one step of the data interruption recovery method exemplified in each of the above embodiments. In addition, in some cases, at least one step of the data interruption recovery method different from the examples of each of the above embodiments may be adopted.

[0085] It should be noted that in some cases, at least one step shown or described may be performed in a different order than that described in the above examples.

[0086] The present embodiment further provides a computer program product including a computer readable device storing the above computer program. The computer readable device in the present embodiment may include the above computer readable storage medium.

[0087] In the data interruption recovery method, terminal, and storage medium according to the embodiment of the present disclosure, data interruption is detected in units of PDU sessions, and when it is detected that a data interruption has occurred in a PDU session, instead of immediately reconnecting to the network and performing a data connection resumption operation, it is first determined whether the PDU session in which the data interruption has occurred satisfies a session switching condition, and if so, the PDU session is switched, thereby making it possible to avoid reconnecting to the network and performing a data connection resumption operation, and further avoid resetting other normal PDU sessions due to the data connection resumption operation, and to switch the PDU session in which the data interruption has occurred to another channel for normal operation, thereby improving the efficiency and accuracy of data recovery, ensuring traffic continuity, and further improving the user experience.

[0088] Those skilled in the art will appreciate that all or part of the steps of the methods, systems, and functional modules / units in the devices disclosed herein may be implemented as software (which may be implemented by a computer program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware embodiments, the division between the functional modules / units described in the above description does not necessarily correspond to the division of physical components, for example, one physical component may have multiple functions, or multiple physical components may cooperate to perform one function or step. Some or all of the physical components may be implemented as software executed by a processor such as a central processing unit, digital signal processing unit, or microprocessor, or as hardware, or as an integrated circuit such as an application specific integrated circuit.

[0089] Additionally, communication media generally includes computer readable instructions, data structures, computer program modules, or other data in a modulated data signal, such as a carrier wave or other transmission mechanism, and may include any information delivery media, as known to those skilled in the art. Thus, the present disclosure is not limited to any particular combination of hardware and software.

[0090] The above is a detailed description of the embodiments of the present disclosure with reference to specific embodiments, and it should not be understood that the specific implementation of the present disclosure is limited to these descriptions. Those skilled in the art can make some simple inferences or substitutions without departing from the concept of the present disclosure, and all of them should be considered as belonging to the patent scope of the present disclosure.

Claims

1. monitoring for a data interruption of a protocol data unit (PDU) session; When a data interruption occurs in the PDU session, determining whether the PDU session is a multi-access MA PDU session that supports multiple network channel accesses; if it is determined that the PDU session is the MA PDU session, determining whether there is a currently available network channel among a plurality of network channels supported by the PDU session; determining that the PDU session currently satisfies a session switching condition if there is a currently available network channel; When it is determined that the PDU session satisfies the current session switching condition, switching the PDU session. Data interruption recovery methods.

2. The data interruption of the PDU session includes: As a result of the monitoring, within a first preset period, N data messages (N is 1 or more) continuously transmitted to the network side by the PDU session have not received a response from the network side; As a result of the monitoring, within a second preset period, a domain name system query corresponding to the PDU session has failed M times (M is 1 or more); As a result of the monitoring, within a third preset period, a packet internet grower corresponding to the PDU session has failed K times (K is 1 or more); As a result of the monitoring, within a fourth preset period, the number of data message retransmissions of the PDU session reaches a preset message retransmission threshold; The result of monitoring is that a server probe corresponding to the PDU session has failed; monitoring a pre-configured PDU session release indication message sent from the network side for the PDU session; 2. The data interruption recovery method according to claim 1.

3. The step of determining whether there is a currently available network channel among a plurality of network channels corresponding to the PDU session includes: Determining whether there is a network channel that is not marked as suspended among a plurality of network channels corresponding to the PDU session; determining whether there is a network channel with a normal packet loss rate among a plurality of network channels corresponding to the PDU session; determining whether there is a network channel in which a server probe has succeeded among a plurality of network channels corresponding to the PDU session; determining whether there is a network channel in which a packet internet grower has succeeded among a plurality of network channels corresponding to the PDU session; and determining whether there is a network channel whose network quality measurement result satisfies a set network quality condition among a plurality of network channels corresponding to the PDU session.

2. The data interruption recovery method according to claim 1.

4. A plurality of network channels corresponding to the PDU session include: at least one cellular network channel; at least one of the at least one non-cellular network channel; 4. The data interruption recovery method according to claim 3.

5. If it is determined that the PDU session does not currently meet a session switching condition, marking the PDU session as being in a data interruption state; When the number of PDU sessions currently marked as data suspended reaches a preset data recovery threshold, performing a data connection resume process; or When it is determined that the PDU session does not currently satisfy the session switching condition, starting a time count, and when the time count value reaches a preset time threshold, if the data interruption of the PDU session is still monitored, performing a data connection resumption process.

2. The data interruption recovery method according to claim 1.

6. The step of performing the data connection resumption process includes: According to the set data recovery rules, Turning the data connection control switch off and on, re-performing the network joining procedure; Restarting the RF module performing at least one of the following operations: rebooting the modem; 6. The data interruption recovery method according to claim 5.

7. The data recovery rule includes a stepwise execution rule, and the stepwise execution rule includes monitoring whether there is a data interruption of the PDU session within a fifth preset period after the current data recovery operation is performed in a preset order, and if there is, performing a next data recovery operation.

7. The data interruption recovery method according to claim 6.

8. A terminal including a memory, a processor, and a communication bus connecting the memory and the processor, A terminal, the memory storing one or more computer programs which, when executed by the processor, implement the steps of the data interruption recovery method according to any one of claims 1 to 7.

9. A computer readable storage medium storing one or more computer programs for implementing the steps of the data interruption recovery method according to any one of claims 1 to 7, when executed by one or more processors.

Citation Information

Patent Citations

  • Network access method of terminal, and method and apparatus for mobility support and data delivery

    EP3624490A1

  • System and method for adaptive multiple read of NAND flash

    US20200012561A1