WO2022257644A1 - 数据断流恢复方法、终端及存储介质 - Google Patents

数据断流恢复方法、终端及存储介质 Download PDF

Info

Publication number
WO2022257644A1
WO2022257644A1 PCT/CN2022/090479 CN2022090479W WO2022257644A1 WO 2022257644 A1 WO2022257644 A1 WO 2022257644A1 CN 2022090479 W CN2022090479 W CN 2022090479W WO 2022257644 A1 WO2022257644 A1 WO 2022257644A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdu session
data
network
session
recovery
Prior art date
Application number
PCT/CN2022/090479
Other languages
English (en)
French (fr)
Inventor
杨海城
周金星
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP22819246.4A priority Critical patent/EP4329371A1/en
Priority to JP2023571757A priority patent/JP2024519379A/ja
Publication of WO2022257644A1 publication Critical patent/WO2022257644A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0022Control or signalling for completing the hand-off for data sessions of end-to-end connection for transferring data sessions between adjacent core network technologies
    • H04W36/00222Control or signalling for completing the hand-off for data sessions of end-to-end connection for transferring data sessions between adjacent core network technologies between different packet switched [PS] network technologies, e.g. transferring data sessions between LTE and WLAN or LTE and 5G
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels

Definitions

  • Embodiments of the present disclosure relate to but are not limited to the communication field, and specifically, relate to but are not limited to a data interruption recovery method, a terminal, and a storage medium.
  • Smart terminals have become an important tool in people's daily life. Many of people's affairs and entertainment applications in life have been expanded and multiplied with the development of smart terminals. Connection data transmission failure) will bring a lot of inconvenience to the user's life.
  • the smart terminal After the smart terminal establishes a network channel connection with the network side (i.e. establishes a data connection), it will continuously detect whether the network channel established with the network side has a data interruption, and when the data interruption is detected, through the reset Connect to the network to clear all data connections for data connection recovery.
  • the terminal may establish multiple PDU (Protocol Data Unit, Protocol Data Unit) sessions with the network side through the network channel.
  • PDU Protocol Data Unit
  • the smart terminal When the smart terminal detects that the network channel is disconnected, it may only The individual PDU session data on the network channel is disconnected. Therefore, simply reconnecting the network to restore the data connection will reset other normal PDU sessions on the network channel, resulting in poor business continuity and poor user experience. Satisfaction is low.
  • a data interruption recovery method, terminal and storage medium provided by the embodiments of the present disclosure solve the technical problem that in the related art, when a data interruption is detected, the network is directly reconnected to restore the data connection, resulting in a normal PDU There is also a problem with sessions being reset.
  • An embodiment of the present disclosure provides a data disconnection recovery method, including: monitoring protocol data unit PDU session data disconnection; determining whether the PDU session currently satisfies the session switching condition; determining that the PDU session currently satisfies the session switching condition , switch the PDU session.
  • An embodiment of the present disclosure also provides a terminal, including a memory, a processor, and a communication bus connecting the memory and the processor; the memory stores one or more computer programs, and the one or more computer programs can be Executed by the processor to implement the steps of the data interruption recovery method described above.
  • An embodiment of the present disclosure also provides a computer-readable storage medium, where one or more computer programs are stored in the computer-readable storage medium, and the one or more computer programs can be executed by one or more processors to The steps of the method for recovering from a data outage as described above are realized.
  • FIG. 1 is a schematic flow chart of a data interruption recovery method provided by Embodiment 1 of the present disclosure
  • FIG. 2 is a schematic flow chart of a data connection restoration method provided by Embodiment 1 of the present disclosure
  • FIG. 3 is a schematic flowchart of another data connection restoration method provided by Embodiment 1 of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a data interruption recovery device provided by Embodiment 2 of the present disclosure.
  • FIG. 5 is a schematic diagram of the ATSSS function provided by Embodiment 2 of the present disclosure.
  • FIG. 6 is a schematic flow chart of a data interruption recovery method provided by Embodiment 2 of the present disclosure.
  • FIG. 7 is a schematic diagram of a terminal structure provided by Embodiment 3 of the present disclosure.
  • the detection of data interruption is performed in units of the network channel, for example, the terminal and the network side establish a cellular network channel and a Wi-Fi (Wireless Fidelity, wireless fidelity) network
  • the channel After the channel, it will detect whether there is a data interruption on the cellular network channel and the Wi-Fi network channel. If so, it will directly restore the data by reconnecting to the network. At this time, it may be only the individual PDU session data on the network channel is disconnected, so directly and simply reconnecting the network to restore the data connection will reset other normal PDU sessions on the network channel, resulting in poor business continuity , Low user experience satisfaction.
  • this embodiment provides a new data interruption recovery method.
  • the terminal detects data interruption in units of PDU sessions instead of network channels.
  • the detection granularity is finer and can be specifically located
  • the specific PDU session where data interruption occurs which is more conducive to the precise control of subsequent data recovery; when a data interruption occurs in a PDU session is detected, it does not immediately reconnect to the network to restore the data connection, but first determines the occurrence of data interruption. Whether the PDU session of the flow meets the session switching condition, and switching the PDU session when it is satisfied can avoid reconnecting the network for data connection recovery operation and resetting other normal PDU sessions, and can also cause data interruption.
  • the PDU session is switched to other channels to run normally, improving the efficiency and accuracy of data recovery, ensuring business continuity, and improving user experience satisfaction.
  • the terminal further includes establishing a network channel connection with the network side, and establishing at least one PDU session on the network channel.
  • the terminal monitors at least a part of the currently established PDU sessions in units of PDU sessions (for example, in some application scenarios, the terminal can monitor whether data interruption occurs in all established PDU sessions) whether there is a data interruption; instead of using the network channel as the basis Unit detection, the detection granularity is finer, and can specifically locate the specific PDU session where data interruption occurs, which is more conducive to the precise control of subsequent data recovery.
  • the terminal may only monitor whether data interruption occurs in the PDU session on the data plane, or may only monitor whether data interruption occurs in the PDU session on the control plane. In another example of this embodiment, the terminal can simultaneously monitor whether data interruption occurs in the PDU session on the data plane and the control plane, so that the monitoring is more comprehensive and the accuracy of monitoring is improved.
  • monitoring whether data interruption occurs in a PDU session may include but not limited to one of the following.
  • N is greater than or equal to
  • the integer value of 1 can be flexibly set according to requirements, for example, it can be set to but not limited to 1, 3, 5, 7, etc.; the first preset time period can also be flexibly set according to requirements, and will not be repeated here.
  • M is greater than or equal to 1 Integer value, which can be flexibly set according to requirements, for example, it can be set to but not limited to 2, 4, 6, 8, etc.
  • the M failures in this example can be M consecutive or M non-consecutive times; the second The preset time period can also be flexibly set according to requirements, which will not be repeated here.
  • the integer value of which can be flexibly set according to the requirements, for example, can be set to but not limited to 1, 4, 5, 8, etc.
  • the K failures can be consecutive K times or non-consecutive K times;
  • the three preset time periods can also be flexibly set according to requirements, which will not be repeated here.
  • the preset message retransmission threshold within the fourth preset time period; if so, it can be determined that the PDU session has a data interruption; wherein the preset message retransmission
  • the value of the threshold and the fourth preset time period can also be flexibly set according to requirements, which will not be repeated here.
  • the preset PDU session release instruction message sent by the network side for the PDU session is monitored, and if so, it can be determined that the PDU session has a data disconnection.
  • the preset PDU session release instruction message can be flexibly set according to application requirements, for example, it can include but not limited to a PDU session release instruction message carrying at least one of the following reasons: Network Failure network failure; Insufficient resources for specific slice specific Insufficient resources for slices; Insufficient resources for specific slice and DNN Insufficient resources for specific slices and DNNs.
  • determining whether the PDU session currently satisfies the session switching condition includes but is not limited to: determining whether the PDU session in which data flow interruption occurs is an MA (Multi-Access, multi-access) session that supports multiple network channel access. Incoming) PDU session; when determining that the PDU session with data interruption is a MA PDU session, determine whether there are currently available network channels among the multiple network channels supported by the PDU session, and if so, determine that the MA PDU session meets the session switching condition .
  • MA Multi-Access, multi-access
  • the multiple network channels supported by the MA PDU session include but are not limited to include at least one of the following: at least one cellular network channel; at least one non-cellular network channel.
  • the terminal when the terminal is in the non-independent mode 5G network, the terminal can access the 5G network and the 4G network at the same time.
  • the terminal can access the 5G network and the 4G network at the same time, and the MA PDU session
  • the supported multiple network channels may include 4G network channels and 5G network channels.
  • a terminal can simultaneously access a 5G network (or 4G network) and a Wi-Fi network.
  • the multiple network channels supported by the MA PDU session may include a 5G network channel (or 4G network channel) and Wi-Fi network access.
  • a terminal can access a 5G network, a 4G network, and a Wi-Fi network at the same time.
  • the multiple network channels supported by the MA PDU session can include a 5G network channel, a 4G network channel, and a Wi-Fi network channel. At least two of the Fi network channels.
  • this embodiment illustrates the method of determining whether there are currently available network channels among the multiple network channels corresponding to the MA PDU session.
  • the determination method may include but is not limited to one of the following: Whether there are network channels that are not marked as disconnected in multiple network channels, and if so, the network channel that is not marked as disconnected is the available network channel of the MA PDU; determine the multiple network channels corresponding to the MA PDU session Whether there is a network channel with normal packet loss rate (that is, the packet loss rate is less than or equal to the preset packet loss rate threshold), if so, the network channel with normal packet loss rate is the available network channel of the MA PDU; determine the corresponding MA PDU session Whether there is a network channel that detects the server successfully in multiple network channels, and if so, the network channel that detects the server successfully is the available network channel of the MA PDU; determine whether there is a successful Internet packet detection in the multiple network channels corresponding to the MA PDU session Network channel, if so, then the network channel that Internet packet detects success
  • Way 1 See Figure 2, which includes but not limited to the following steps.
  • the statistics can be carried out in units of network channels, that is, the statistics show that the number of PDU sessions marked as data disconnection on a certain network channel reaches the preset data recovery threshold (the data recovery threshold can be set flexibly, for example It can be set to 10%, 15 or 20% of the total number of current PDU sessions, etc., or it can be set to a fixed value, etc.) to execute the data connection recovery operation, and the data connection recovery can be performed only for this network channel For other network channels currently connected to the terminal, the data connection recovery operation may not be performed, and of course it may be performed at the same time.
  • the data recovery threshold can be set flexibly, for example It can be set to 10%, 15 or 20% of the total number of current PDU sessions, etc., or it can be set to a fixed value, etc.
  • the data connection recovery operation may be performed when the number of PDU sessions marked as data disconnection on all network channels currently connected to the statistics terminal reaches a preset data recovery threshold, and may Perform data connection recovery operations for some or all of the network channels.
  • the data connection recovery will not be performed temporarily and continue to wait.
  • the PDU with data interruption before The session may be automatically restored due to the improvement of the network environment or other factors.
  • the data interruption mark can be canceled, that is, in this method 1, at least some PDUs with data interruption can be given.
  • Way 2 See Figure 3, which includes but not limited to the following steps.
  • start timing (it can also be equivalently replaced by starting timing when the data interruption of the PDU session is detected);
  • the data recovery operation can be controlled according to the type of data service performed by the PDU session with data interruption. Recovery operation; for example, when the PDU session of some important data services has a data interruption, the data recovery operation can be performed immediately when the switching condition is met.
  • other control modes can also be replaced or extended, and details will not be repeated here.
  • the data connection control switch is turned off and then turned on; for example, assuming that the current To restore the data connection of the network channel of the 5G network connected to the terminal, you can turn off the 5G network data connection control switch on the terminal and then turn it on again.
  • the control methods for other networks are similar and will not be described here; re-execute The process of staying on the network; restart the radio frequency module; restart the modem.
  • the set data recovery rules in this embodiment can be flexibly set, for example, they can be set to operate in random order, or the above data recovery operations can be provided to the user for selection and executed according to the selection of the user.
  • the data recovery rule in order to improve the rationality and efficiency of data recovery control, includes a step-by-step execution rule, and the step-by-step execution rule includes: after the current data recovery operation is executed in a preset order Finally, monitor whether there is a data interruption of the PDU session within the fifth preset time period. If it exists, perform the next data recovery operation; if it does not exist, it indicates that the data interruption problem has been solved, and no data recovery operation will be performed. .
  • the preset sequence can be executed sequentially: turn off the data connection control switch and then turn it on, re-execute the network resident process, restart the radio frequency module, and restart the modem; the current data recovery operation is to turn off the data connection control switch Monitor whether there is a data interruption of the PDU session within the fifth preset time period. If it exists, execute the network stationing process again; if it does not exist, it indicates that the data interruption problem has been solved, and no data recovery operation will be performed.
  • At least one step in the data interruption recovery method exemplified in this embodiment can be performed by the terminal; the terminal can detect data interruption in units of PDU sessions, and when detecting data interruption in a PDU session, it is not Immediately reconnect to the network for data connection recovery operation, but first determine whether the PDU session with data interruption meets the session switching condition, and switch the PDU session when it is satisfied, so as to avoid reconnecting to the network for data connection Restoration operation, thereby avoiding the reset of other normal PDU sessions due to the data connection restoration operation, and enabling the PDU session with data interruption to switch to other channels for normal operation, improving the efficiency and accuracy of data recovery, and ensuring business continuity
  • the data connection recovery operation is performed only when the current PDU session with data disconnection meets the set data recovery conditions, which has better fault tolerance performance and can reduce data recovery operations
  • the frequency can also improve the ability and success rate of automatic recovery of PDU sessions with data interruption, as well as resource utilization.
  • This embodiment provides a data interruption recovery device, as shown in FIG. 4 , which includes but is not limited to the following modules.
  • the monitoring module 401 is used to monitor whether there is a data interruption in the PDU session, and whether the PDU session in which the data interruption occurs is a MA PDU session. .
  • the measurement module 402 is used to detect whether there is an available channel in the plurality of network channels corresponding to the MA PDU session when the PDU session in which the data flow interruption occurs is a MA PDU session; its detection method can be adopted but not limited to the above-mentioned embodiment way, which will not be repeated here.
  • the multi-channel management module 403 is used to switch the MA PDU session to the corresponding available network when the measurement module 402 detects that there are available channels in a plurality of network channels corresponding to the MA PDU session in which data interruption occurs, and the MA PDU session is switched to the corresponding available network.
  • the incoming and outgoing data packets of the session are sent to the available network channel after switching.
  • the identification module 404 is configured to mark the PDU session as a data interruption state when the PDU session in which the data interruption occurs does not meet the session switching condition.
  • the monitoring module 405 is configured to monitor whether the PDU session currently marked as the data disconnection state satisfies the set data connection recovery condition.
  • the conditions for data connection restoration may be adopted but not limited to the conditions shown in the foregoing embodiments, which will not be repeated here.
  • the recovery module 406 is configured to perform a data connection recovery operation when the monitoring module 405 detects that the data connection recovery condition is satisfied, and the execution method may be but not limited to the above-mentioned example, which will not be repeated here.
  • the above at least one module may be set on the terminal, and the function of the at least one module may be implemented by but not limited to a processor. Certainly, in some examples, some of the modules may also be set on devices on the network side. I won't repeat them here.
  • the terminal is connected to the 5G network and the Wi-Fi network at the same time.
  • the condition for data recovery connection is that the number of PDU sessions in the data interruption state reaches the preset data recovery threshold.
  • the 3GPP R16 version introduces the ATSSS (Access Traffic Steering, Switching, Splitting, access traffic steering, switching, splitting) function, which can also be introduced in the 4G network, mainly for the MA service of the terminal
  • ATSSS Access Traffic Steering, Switching, Splitting, access traffic steering, switching, splitting
  • the terminal can select the optimal network path from the 5G network and the Wi-Fi network to perform data services; for seamless handover, the terminal can switch from the 5G network to the Wi-Fi network to perform data services, or from the Wi-Fi network
  • the Fi network is switched to the 5G network to perform data services; for multi-channel concurrency, the terminal can use the 5G network and Wi-Fi network to perform data services at the same time.
  • the terminal judges whether the network supports ATSSS by detecting the ats_ind field of the Registration Accept message sent by the 5G network side.
  • An example Registration Accept message is shown below.
  • the data interruption recovery method provided in this application example is shown in FIG. 6 , which includes but is not limited to the following steps.
  • the terminal After registering on the 5G network supporting ATSSS, the terminal establishes PDU session 1 to PDU session n with the network side on the 5G channel and the WiFi channel respectively.
  • the established PDU session may include but not limited to: an Internet-type PDU session for Internet services, an IMS-type PDU session for IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) services, and a PDU session for MMS (Multimedia Messaging Service, Multimedia Message Service) type PDU session of MMS service, and network slicing PDU session, etc.
  • IMS IP Multimedia Subsystem
  • MMS Multimedia Messaging Service, Multimedia Message Service
  • the terminal detects that a data flow interruption occurs in the PDU session 1 of the 5G network.
  • whether the terminal detects whether the PDU session has a data interruption may include, but is not limited to, one of the following: monitoring whether the N data packets continuously sent to the network side by the PDU session within the first preset time period are received by the network side Response; monitor whether the DNS query corresponding to the PDU session fails M times during the second preset time period; monitor whether the PING detection corresponding to the PDU session fails K times during the third preset time period, and if so, then you can Determine whether the PDU session has a data interruption; monitor whether the number of data message retransmissions of the PDU session reaches the preset message retransmission threshold within the fourth preset time period; monitor whether the server detection corresponding to the PDU session fails; monitor The preset PDU session release instruction message sent by the network side for the PDU session.
  • the preset PDU session release instruction message can be flexibly set according to application requirements. For example, it may include but not limited to a PDU session that carries at least one of the following reasons: Release instruction message: Network Failure network failure; Insufficient resources for specific slice; Insufficient resources for specific slice and DNN Insufficient resources for specific slice and DNN.
  • the network side notifies the terminal through the PDU Session Release Command message that the PDU session will be released, and carries the release reason in the "5GSM cause" field, as shown in Table 1 and Table 2 below.
  • S603 The terminal judges whether the PDU session 1 is an MA PDU session, if yes, go to S604; otherwise, go to S608.
  • the terminal judges whether the PDU session 1 is a MA PDU session, by judging whether the PDU session corresponding to the session ID of the PDU session 1 has been established on multiple network channels, and if so, it indicates that the PDU session 1 For the MA PDU session. It is also possible to pre-set or obtain the MA PDU session list to determine whether the PDU session in which the data flow is interrupted is in the MA PDU session list.
  • S604 The terminal measures whether the WiFi channel corresponding to the PDU session 1 is available, if yes, go to S605; otherwise, go to S606.
  • S605 The terminal switches the PDU session 1 to the WiFi channel, and sends all data packets to the WiFi channel of the PDU session 1.
  • S606 The terminal measures whether the public PDU session channel of the 5G network is available, if yes, go to S607; otherwise, go to S608.
  • the terminal switches the PDU session 1 to the public PDU session channel of the 5G network, and sends all data packets to the public PDU session channel of the 5G network of the PDU session 1 (that is, the Internet-type default PDU session).
  • the method for the terminal to measure whether the Wi-Fi network channel or the public PDU session of the 5G network is available may include but not limited to one of the following: detecting the Wi-Fi network channel corresponding to PDU session 1 or the public PDU session of the 5G network Whether the channel is marked as a data interruption state; check the statistical information of data transmission and reception of the Wi-Fi network channel corresponding to PDU session 1 or the public PDU session channel of the 5G network in the kernel, and determine whether the packet loss rate is abnormal; in PDU session 1
  • the corresponding Wi-Fi network channel or the public PDU session channel of the 5G network initiates server detection; initiates a PING operation on the Wi-Fi network channel corresponding to PDU session 1 or the public PDU session channel of the 5G network; Initiate measurements on the Fi network channel or the public PDU session channel of the 5G network.
  • the terminal sends a PMFP Echo request message to the network side during measurement, and the network side replies with a PMFP Echo response message.
  • the terminal calculates the current value of the timer Tx in the PMFP Echo response message and the timer Tx in the PMFP Echo request message. The difference between the original values is used to obtain the current RTT value.
  • at least one of the indicators representing network quality such as rate, RSSI, and SNR can also be measured.
  • S608 The terminal marks the PDU session 1 as a data disconnection state.
  • S609 The terminal judges whether the number of PDU sessions identified as the data interruption state reaches the data recovery threshold, if yes, go to S610; otherwise, go to S611.
  • S610 The terminal performs a data connection recovery operation.
  • the terminal adopts the level-by-level execution rules. After the current data recovery operation is performed in the preset order, it monitors whether there is a data interruption of the PDU session within the fifth preset time period. If there is, the next item is executed. Data recovery operation; if it does not exist, it means that the data interruption problem has been solved, and no data recovery operation will be performed.
  • the preset sequence can be executed sequentially: turn off the data connection control switch and then turn it on, re-execute the network resident process, restart the radio frequency module, and restart the modem; the current data recovery operation is to turn off the data connection control switch Monitor whether there is a data interruption of the PDU session within the fifth preset time period. If it exists, execute the network stationing process again; if it does not exist, it indicates that the data interruption problem has been solved, and no data recovery operation will be performed.
  • the WiFi channel and the cellular channel are taken as units, and in this embodiment, the detection granularity is reduced to a PDU session.
  • the terminal establishes multiple PDU sessions with the network side on the WiFi channel and the cellular channel.
  • the detection range is extended to the control plane in this embodiment, so as to improve the comprehensiveness and accuracy of the data detection.
  • the detection granularity of the terminal is finer. , try to perform business switching to ensure business continuity; the recovery operation is performed only when the number of PDU sessions in the disconnected state reaches a certain threshold, which has a high accuracy rate and better fault tolerance, which can reduce the frequency of data recovery operations and improve data Capability and success rate of automatic recovery of disconnected PDU sessions, as well as resource utilization.
  • the terminal includes a processor 701, a memory 702, and a communication bus 703, wherein: the communication bus 703 is used to realize connection and communication between the processor 701 and the memory 702; the processor 701 is used to execute one or A plurality of computer programs to implement at least one step in the methods for recovering from data outages exemplified in the foregoing embodiments.
  • the present embodiment also provides a computer-readable storage medium, which includes information implemented in any method or technology for storing information, such as computer-readable instructions, data structures, computer program modules, or other data. volatile or nonvolatile, removable or non-removable media.
  • Computer-readable storage media include but are not limited to RAM (Random Access Memory, random access memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, electrically erasable programmable read-only memory ), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory, compact disk read-only memory), digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store desired information and that can be accessed by a computer.
  • the computer-readable storage medium in 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, so as to implement the data interrupts exemplified in the above-mentioned embodiments. At least one step of a flow recovery method.
  • This embodiment also provides a computer program (or called computer software), which can be distributed on a computer-readable medium and executed by a computing device, so as to implement the data interruption recovery method described in the above-mentioned embodiments At least one step; and in some cases, at least one step different from the data interruption recovery method exemplified in the foregoing embodiments may be used.
  • a computer program or called computer software
  • This embodiment also provides a computer program product, including a computer-readable device, on which the above-mentioned computer program is stored.
  • the computer-readable device in this embodiment may include the computer-readable storage medium as described above.
  • data disconnection is detected in units of PDU sessions.
  • data disconnection occurs in a PDU session, it is not immediately reconnected to the network for data connection recovery. Instead, first determine whether the PDU session with data interruption meets the session switching condition, and switch the PDU session when it is satisfied, so as to avoid reconnecting to the network for data connection recovery operation, and then avoid data connection recovery due to The operation resets other normal PDU sessions, and enables the PDU session with data interruption to switch to other channels for normal operation, improving the efficiency and accuracy of data recovery, ensuring business continuity, and improving user experience satisfaction .
  • the functional modules/units in the system and the device can be implemented as software (the computer program code executable by the computing device can be used to realize ), firmware, hardware, and appropriate combinations thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute.
  • Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • communication media typically embodies computer readable instructions, data structures, computer program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery medium. Therefore, the present disclosure is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开实施例提供了一种数据断流恢复方法、终端及存储介质,以PDU会话为单位检测数据断流,当检测到PDU会话出现数据断流时,并不是马上重连网络以进行数据连接恢复操作,而是先确定出现数据断流的PDU会话是否满足会话切换条件,并在满足时对该PDU会话进行切换。

Description

数据断流恢复方法、终端及存储介质
相关申请的交叉引用
本公开要求享有2021年06月07日提交的名称为“数据断流恢复方法、终端及存储介质”的中国专利申请CN 202110630174.6的优先权,其全部内容通过引用并入本公开中。
技术领域
本公开实施例涉及但不限于通信领域,具体而言,涉及但不限于一种数据断流恢复方法、终端及存储介质。
背景技术
智能终端已经成为了人们日常生活重要工具,人们很多事务以及生活上娱乐上的应用随着智能终端的发展而得到了扩展和繁衍,一旦发生终端数据断流(即智能终端与网络侧建立的数据连接数据传输出现故障)就会对用户的生活带来很多不便。为了提高用户体验,智能终端在与网络侧建立网络通道连接(即建立数据连接)后,会持续检测与网络侧建立的网络通道是否发生数据断流,并在检测到数据断流时,通过重连网络以清除所有数据连接进行数据连接恢复。但是,智能终端与网络侧建立网络通道后,终端可能与网络侧通过该网络通道建立多个PDU(Protocol Data Unit,协议数据单元)会话,智能终端在检测到网络通道出现断流时,可能仅仅是该网络通道上的个别PDU会话数据断流,因此直接简单的重连网络以进行数据连接恢复的操作,会将该网络通道上其他正常的PDU会话重置,导致业务的连续性差、用户体验满意度低。
发明内容
本公开实施例提供的一种数据断流恢复方法、终端及存储介质,解决的技术问题是:相关技术中在检测到数据断流时就直接重连网络以进行数据连接恢复,导致正常的PDU会话也会被重置的问题。
本公开实施例提供了一种数据断流恢复方法,包括:监测到协议数据单元PDU会话数据断流;确定所述PDU会话当前是否满足会话切换条件;在确定所述PDU会话当前满足会话切换条件时,对所述PDU会话进行切换。
本公开实施例还提供了一种终端,包括存储器、处理器以及将所述存储器和处理器连接的通信总线;所述存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序可被所述处理器执行,以实现如上所述的数据断流恢复方法的步骤。
本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一 个或者多个计算机程序,所述一个或者多个计算机程序可被一个或者多个处理器执行,以实现如上所述的数据断流恢复方法的步骤。
本公开其他特征和相应的有益效果在说明书的后面部分进行阐述说明,且应当理解,至少部分有益效果从本公开说明书中的记载变得显而易见。
附图说明
图1为本公开实施例一提供的数据断流恢复方法流程示意图;
图2为本公开实施例一提供的一种数据连接恢复方式流程示意图;
图3为本公开实施例一提供的另一种数据连接恢复方式流程示意图;
图4为本公开实施例二提供的数据断流恢复装置的结构示意图;
图5为本公开实施例二提供的ATSSS功能示意图;
图6为本公开实施例二提供的数据断流恢复方法流程示意图;
图7为本公开实施例三提供的终端结构示意图。
具体实施方式
为了使本公开的目的、技术方案及优点更加清楚明白,下面通过具体实施方式结合附图对本公开实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
实施例一
针对相关技术中,终端与网络侧建立网络通道连接后,以网络通道为单位进行数据断流的检测,例如终端与网络侧建立了蜂窝网络通道和Wi-Fi(Wireless Fidelity,无线保真)网络通道后,会检测蜂窝网络通道和Wi-Fi网络通道上是否出现数据断流,如果是,则直接通过重连网络的方式进行数据恢复。而此时可能仅仅是网络通道上的个别PDU会话数据断流,因此直接简单的重连网络以进行数据连接恢复的操作,会将网络通道上其他正常的PDU会话重置,导致业务的连续性差、用户体验满意度低。对此,本实施例提供了一种新的数据断流恢复方法,终端以PDU会话为单位检测数据断流,而不再是以网络通道为单位检测,检测粒度更为精细,能具体定位到出现数据断流的具体PDU会话,从而更利于后续数据恢复的精准控制;当检测到PDU会话出现数据断流时,并不是马上重连网络以进行数据连接恢复操作,而是先确定出现数据断流的PDU会话是否满足会话切换条件,并在满足时对该PDU会话进行切换,能避免重连网络以进行数据连接恢复操作而对其他正常的PDU会话重置,又能使得出现数据断流的PDU会话切换到其他通道上正常运行,提升数据恢复的效率、准确率,保证业务的连续性,进而提升用户体验的满意度。
为了便于理解,下面对本实施例提供的数据断流恢复方法进行示例说明。参见图1所示,其包括但不限于以下步骤。
S101:监测到PDU会话数据断流。
应当理解的是,在S101之前还包括终端与网络侧建立网络通道连接,并在网络通道上建立至少一个PDU会话。在本实施例中,终端与网络侧建立的网络通道连接可以只有一个,也可有多个。终端以PDU会话为单位监测当前建立的至少一部分PDU会话(例如在一些应用场景中,终端可监测建立的所有PDU会话是否出现数据断流)是否出现数据断流;而不再是以网络通道为单位检测,检测粒度更为精细,能具体定位到出现数据断流的具体PDU会话,从而更利于后续数据恢复的精准控制。
在本实施例的一种示例中,终端可以仅在数据面监测PDU会话是否出现数据断流,也可以仅在控制面监测PDU会话是否出现数据断流。在本实施例的另一种示例中,终端可以同时在数据面和控制面监测PDU会话是否出现数据断流,监测更为全面,提升监测的准确率。例如,在一种应用示例中,监测PDU会话是否出现数据断流可以包括但不限于以下之一。
监测在第一预设时间段内,PDU会话连续发给网络侧的N个数据报文是否收到网络侧的响应,如否,则可确定该PDU会话出现数据断流;其中N为大于等于1的整数值,具体可根据需求灵活设置,例如可以设置为但不限于1、3、5、7等;第一预设时间段也可根据需求灵活设置,在此不再赘述。
监测在第二预设时间段内,PDU会话对应的DNS(Domain Name System,域名系统)查询是否出现M次失败,如是,则可确定该PDU会话出现数据断流;其中M为大于等于1的整数值,具体可根据需求灵活设置,例如可以设置为但不限于2、4、6、8等,本示例中的M次失败可以是连续的M次,也可是非连续的M次;第二预设时间段也可根据需求灵活设置,在此不再赘述。
监测在第三预设时间段内,PDU会话对应的PING(Packet Internet Groper,互联网包检测)检测是否出现K次失败,如是,则可确定该PDU会话出现数据断流;其中K为大于等于1的整数值,具体可根据需求灵活设置,例如可以设置为但不限于1、4、5、8等,本示例中的K次失败可以是连续的K次,也可是非连续的K次;第三预设时间段也可根据需求灵活设置,在此不再赘述。
监测在第四预设时间段内,PDU会话的数据报文重传的数量是否达到预设报文重传阈值;如是,则可确定该PDU会话出现数据断流;其中预设报文重传阈值的数值以及第四预设时间段也可根据需求灵活设置,在此不再赘述。
监测PDU会话对应的服务器探测是否失败;如是,则可确定该PDU会话出现数据断 流。
监测网络侧针对PDU会话发送的预设PDU会话释放指令消息,如是,则可确定该PDU会话出现数据断流。本实施例中预设PDU会话释放指令消息可根据应用需求灵活设置,例如可以包括但不限于携带以下理由中的至少之一的PDU会话释放指令消息:Network Failure网络故障;Insufficient resources for specific slice特定切片的资源不足;Insufficient resources for specific slice and DNN用于特定切片和DNN的资源不足。
另外,应当理解的是,在本实施例的一些应用场景中,可以在监测到PDU会话出现上述示例中的至少两种情况时才确定该PDU会话出现数据断流。
S102:确定PDU会话当前是否满足会话切换条件。
在本实施例的一种示例中,确定PDU会话当前是否满足会话切换条件包括但不限于:确定出现数据断流的PDU会话是否为支持多个网络通道接入的MA(Multi-Access,多接入)PDU会话;在确定出现数据断流的PDU会话为MA PDU会话时,确定该PDU会话支持的多个网络通道中当前是否存在可用网络通道,如是,则确定该MA PDU会话满足会话切换条件。
在本实施例的一些应用示例中,MA PDU会话支持的多个网络通道中包括但不限于包括以下至少之一:至少一个蜂窝网络通道;至少一个非蜂窝网络通道。
例如,在一种应用场景中,终端处于非独立模式5G网络下时,终端可以同时接入5G网络和4G网络,在本应用场景中,终端可以同时接入5G网络和4G网络,MA PDU会话支持的多个网络通道可以包括4G网络通道和5G网络通道。
又例如,在一种应用场景中,终端可同时接入5G网络(或4G网络)和Wi-Fi网络,此时MA PDU会话支持的多个网络通道可以包括5G网络通道(或4G网络通道)和Wi-Fi网络通道。
再例如,在一种应用场景中,终端可同时接入5G网络、4G网络、和Wi-Fi网络,此时MA PDU会话支持的多个网络通道可以包括5G网络通道、4G网络通道和Wi-Fi网络通道中的至少两个。
以上应用场景仅仅是作为便于理解的示例,具体可根据应用需求灵活设置和调整,在此不再赘述。
为了便于理解,本实施例对确定MA PDU会话对应的多个网络通道中当前是否存在可用网络通道的确定方式进行示例说明,该确定方式可包括但不限于以下之一:确定MA PDU会话对应的多个网络通道中是否存在未被标记为断流状态的网络通道,如是,则未被标记为断流状态的网络通道为该MA PDU的可用网络通道;确定MA PDU会话对应的多个网络通道中是否存在丢包率正常(即丢包率小于等于预设丢包率阈值)的网络通道,如是,则 丢包率正常的网络通道为该MA PDU的可用网络通道;确定MA PDU会话对应的多个网络通道中是否存在探测服务器成功的网络通道,如是,则探测服务器成功的网络通道为该MA PDU的可用网络通道;确定MA PDU会话对应的多个网络通道中是否存在互联网包检测成功的网络通道,如是,则互联网包检测成功的网络通道为该MA PDU的可用网络通道;确定MA PDU会话对应的多个网络通道中是否存在网络质量(可以包括但不限于通信时延、速率、参考信号接收功率、参考信号接收质量、信噪比、接收信号强度指示等指标中的至少一种)测量结果满足设定网络质量条件的网络通道,如是,则网络质量测量结果满足设定网络质量条件的网络通道为该MA PDU的可用网络通道。
S103:在确定出现数据断流的PDU会话当前满足会话切换条件时,对数据断流的PDU会话进行切换,例如可切换至其对应的可用网络通道上,继续执行相应的数据业务。从而既能避免重连网络以进行数据连接恢复操作,进而避免因数据连接恢复操作对其他正常的PDU会话重置,又能使得出现数据断流的PDU会话切换到其他通道上正常运行,提升数据恢复的效率、准确率,保证业务的连续性,进而提升用户体验的满意度。
在本实施例中,当确定出现数据断流的PDU会话当前不满足会话切换条件时,还包括进行数据连接恢复的控制。此时可以采用上述相关技术中的数据连接恢复控制。但在本实施例中,提供了一种更为合理的数据连接恢复方式,其包括但不限于以下示例的两种数据连接恢复方式。
方式一:参见图2所示,其包括但不限于以下步骤。
S201:在确定出现数据断流的PDU会话当前不满足会话切换条件时,将出现数据断流的PDU会话标记为数据断流状态;
S202:在当前标记为数据断流状态的PDU会话的数量达到预设数据恢复阈值时,进行数据连接恢复处理;在当前标记为数据断流状态的PDU会话的数量未达到预设数据恢复阈值时,则暂不进行数据连接恢复。
在本实施例中,可以网络通道为单位进行统计,也即统计到某一网络通道上标记为数据断流状态的PDU会话的数量达到预设数据恢复阈值(该数据恢复阈值可灵活设置,例如可以设置为占当前PDU会话总数量的百分之十,十五或二十等,也可设置为一个固定值等)时,执行数据连接恢复操作,且可以仅针对该网络通道进行数据连接恢复操作,对于终端当前连接的其他网络通道可不执行数据连接恢复操作,当然也可同时执行。
在本实施例中的另一示例中,也可以在统计终端当前连接的所有网络通道上标记为数据断流状态的PDU会话的数量达到预设数据恢复阈值时,执行数据连接恢复操作,且可以针对其中的一部分或所有网络通道进行数据连接恢复操作。
在本方式一中,在当前标记为数据断流状态的PDU会话的数量未达到预设数据恢复阈 值时,则暂不进行数据连接恢复继续等待,在等待过程中,之前出现数据断流的PDU会话可能会因为网络环境变好或其他因素而自动恢复,在监测到自动恢复的PDU会话后,可取消数据断流的标记,也即在本方式一中可以给至少一部分出现数据断流的PDU会话自动恢复的时间,容错性能更好,能减少数据恢复操作的频率,也能提升数据断流的PDU会话自动恢复的能力和成功率以及资源的利用率。
方式二:参见图3所示,其包括但不限于以下步骤。
S301:在确定出现数据断流的PDU会话当前不满足会话切换条件时,开始计时(也可等同替换为监测到PDU会话数据断流时开始计时);
S302:在计时值达到预设时间阈值(该时间阈值可以根据需求灵活设置)时,若仍监测到该PDU会话数据断流(即监测到该PDU会话仍处于会话数据断流状态),进行数据连接恢复处理。也即在本方式二中可以给出现数据断流的PDU会话自动恢复的时间,容错性能更好,能减少数据恢复操作的频率,也能提升数据断流的PDU会话自动恢复的能力和成功率以及资源的利用率。
当然,在本实施例的一些示例中,可以根据数据断流的PDU会话执行的数据业务类型控制进行数据恢复操作,例如对于一些不重要的数据业务的PDU会话出现数据断流时,可不执行数据恢复操作;例如对于一些重要的数据业务的PDU会话出现数据断流时,在满足切换条件时可立即执行数据恢复操作等。根据本实施例的提供的上述控制示例基础上,还可替换或扩展到其他的控制方式,在此不再一一赘述。
为了便于理解,本实施例中对进行数据连接恢复处理的方式进行示例说明,包括按设定数据恢复规则执行以下数据恢复操作中的至少之一:将数据连接控制开关关闭后打开;例如假设当前对终端连接的5G网络的网络通道进行数据连接恢复操作,则可将终端上的5G网络数据连接控制开关关闭后,再重新打开,对于其他网络的控制方式类似,在此不再赘述;重新执行驻网流程;重启射频模块;重启调制解调器。
本实施例中的设定数据恢复规则可以灵活设置,例如可以设置为按随机顺序操作,也可将以上数据恢复操作提供给用户供用户选择,根据用户的选择执行。在本实施例中的一种示例中,为了提升数据恢复控制的合理性和效率,数据恢复规则包括逐级执行规则,该逐级执行规则包括:在按预设顺序执行完当前的数据恢复操作后,监测第五预设时间段内是否存在PDU会话的数据断流,如存在,再执行下一项数据恢复操作;如不存在,则表明数据断流问题已解决,不再执行数据恢复操作。
例如,预设顺序可以为依次执行:将数据连接控制开关关闭后打开、重新执行驻网流程、重启射频模块、重启调制解调器;当前执行的数据恢复操作为数据连接控制开关关闭后打开,执行完后监测第五预设时间段内是否存在PDU会话的数据断流,如存在,再执行 重新执行驻网流程;如不存在,则表明数据断流问题已解决,不再执行数据恢复操作。
应当理解的是,本实施例的中示例的数据断流恢复方法中的至少一个步骤可由终端执行;终端可以PDU会话为单位检测数据断流,当检测到PDU会话出现数据断流时,并不是马上重连网络以进行数据连接恢复操作,而是先确定出现数据断流的PDU会话是否满足会话切换条件,并在满足时对该PDU会话进行切换,从而既能避免重连网络以进行数据连接恢复操作,进而避免因数据连接恢复操作对其他正常的PDU会话重置,又能使得出现数据断流的PDU会话切换到其他通道上正常运行,提升数据恢复的效率、准确率,保证业务的连续性;而在数据断流的PDU会话不满足会话切换条件时,只有在当前数据断流的PDU会话满足设定数据恢复条件时才执行数据连接恢复操作,容错性能更好,能减少数据恢复操作的频率,也能提升数据断流的PDU会话自动恢复的能力和成功率以及资源的利用率。
实施例二
本实施例提供了一种数据断流恢复装置,参见图4所示,其包括但不限于以下模块。
监测模块401,用于监测PDU会话是否出现数据断流,以及出现数据断流的PDU会话是否为MA PDU会话,其监测方式可采用但不限于上述实施例所示的方式,在此不再赘述。
测量模块402,用于在出现数据断流的PDU会话为MA PDU会话时,检测该MA PDU会话对应的多个网络通道中是否存在可用通道;其检测方式可采用但不限于上述实施例所示的方式,在此不再赘述。
多通道管理模块403,用于在测量模块402检测出现数据断流的MA PDU会话对应的多个网络通道中存在可用通道时,将该MA PDU会话切换到对应的可用网络上,将该MA PDU会话的往来数据报文发往切换后可用网络通道上。
标识模块404,用于在出现数据断流的PDU会话不满足会话切换条件时,将该PDU会话标记为数据断流状态。
监听模块405,用于监听当前标记为数据断流状态的PDU会话是否满足设定的数据连接恢复条件。数据连接恢复条件可采用但不限于上述实施例所示的条件,在此不再赘述。
恢复模块406,用于在监听模块405监听到满足数据连接恢复条件时,执行数据连接恢复操作,执行方式可采用但不限于上述示例的方式,在此不再赘述。
应当理解的是,以上至少一个模块可以设置于终端上,其至少一个模块的功能可通过但不限于处理器实现。当然,在一些示例中,其中一些模块也可设置于网络侧的设备上。在此不再赘述。
为了便于理解,本实施例下面结合一种具体的应用场景为示例进行说明。在本应用场 景中,终端同时接入5G网络和Wi-Fi网络。数据恢复连接的条件是处于数据断流状态的PDU会话数量达到预设数据恢复阈值。
对于5G网络,3GPP R16版本引入了ATSSS(Access Traffic Steering,Switching,Splitting,接入流量的转向、切换、分流)功能,该ATSSS功能在4G网络中也可被引入,主要用于终端的MA业务的路径优选、无缝切换、多路并发等,一种示意图参见图5所示。
对于路径优选,终端可以从5G网络和Wi-Fi网络中选择最优的网络路径执行数据业务;对于无缝切换,终端可以从5G网络切换到Wi-Fi网络执行数据业务,也可从Wi-Fi网络切换到5G网络执行数据业务;对于多路并发时,终端可以同时利用5G网络和Wi-Fi网络执行数据业务。
在本应用示例中,终端通过检测5G网络侧发送的Registration Accept消息的ats_ind字段,判断该网络是否支持ATSSS。一种示例的Registration Accept消息如下所示。
Figure PCTCN2022090479-appb-000001
本应用示例所提供的数据断流恢复方法参见图6所示,其包括但不限于以下步骤。
S601:终端注册上支持ATSSS的5G网络后,分别在5G通道和WiFi通道上与网络侧建立了PDU会话1至PDU会话n。
一种应用场景中,建立的PDU会话可包括但不限于:用于互联网业务的Internet类型的PDU会话、用于IMS(IP Multimedia Subsystem,IP多媒体子系统)业务的IMS类型的PDU会话、用于彩信业务的MMS(Multimedia Messaging Service,多媒体消息服务)类型的PDU会话,以及网络切片PDU会话等。
S602:终端检测到5G网络的PDU会话1发生数据断流。本示例中终端检测PDU会话是否产生数据断流可包括但不限于以下之一:监测在第一预设时间段内,PDU会话连续发给网络侧的N个数据报文是否收到网络侧的响应;监测在第二预设时间段内,PDU会话对应的DNS查询是否出现M次失败;监测在第三预设时间段内,PDU会话对应的PING检测是否出现K次失败,如是,则可确定该PDU会话出现数据断流;监测在第四预设时 间段内,PDU会话的数据报文重传的数量是否达到预设报文重传阈值;监测PDU会话对应的服务器探测是否失败;监测网络侧针对PDU会话发送的预设PDU会话释放指令消息,本实施例中预设PDU会话释放指令消息可根据应用需求灵活设置,例如可以包括但不限于携带以下理由中的至少之一的PDU会话释放指令消息:Network Failure网络故障;Insufficient resources for specific slice特定切片的资源不足;Insufficient resources for specific slice and DNN用于特定切片和DNN的资源不足。
根据3GPP TS 24.501规范,网络侧通过PDU Session Release Command消息告知终端将释放PDU会话,并在“5GSM cause”字段中携带释放原因,如下表1和表2所示。
表1-Table 8.3.14.1.1:PDU SESSION RELEASE COMMAND message content
Figure PCTCN2022090479-appb-000002
表2-Table 9.11.4.2.1:5GSM cause information element
Figure PCTCN2022090479-appb-000003
S603:终端判断该PDU会话1是否为MA PDU会话,如是,转至S604;否则,转至 S608。
在一种示例中,终端判断该PDU会话1是否为MA PDU会话,可以通过判断是否在多个网络通道上都建立了PDU会话1的会话ID对应的PDU会话,如是,则表明该PDU会话1为MA PDU会话。也可为预先设置或获取MA PDU会话清单,确定出现数据断流的PDU会话是否在该MA PDU会话清单内。
S604:终端测量PDU会话1对应的WiFi通道是否可用,如是,转至S605;否则,转至S606。
S605:终端将该PDU会话1切换至WiFi通道,所有数据报文发往该PDU会话1的WiFi通道。
S606:终端测量5G网络的公共PDU会话通道是否可用,如是,转至S607;否则,转至S608。
S607:终端将该PDU会话1切换至5G网络的公共PDU会话通道,所有数据报文发往该PDU会话1的5G网络的公共PDU会话(即Internet类型的默认PDU会话)通道。
在本示例中,终端测量Wi-Fi网络通道或5G网络的公共PDU会话是否可用的方式可包括但不限于以下之一:检测PDU会话1对应的Wi-Fi网络通道或5G网络的公共PDU会话通道是否被标识为数据断流状态;在内核中检查PDU会话1对应的Wi-Fi网络通道或5G网络的公共PDU会话通道的数据收发的统计信息,确定丢包率是否异常;在PDU会话1对应的Wi-Fi网络通道或5G网络的公共PDU会话通道发起服务器探测;在PDU会话1对应的Wi-Fi网络通道或5G网络的公共PDU会话通道发起PING操作;在PDU会话1对应的Wi-Fi网络通道或5G网络的公共PDU会话通道上发起测量。
根据3GPP TS 24.193规范,测量时终端发送PMFP Echo请求消息给网络侧,网络侧答复PMFP Echo响应信息,终端通过计算PMFP Echo响应消息中的定时器Tx当前值与PMFP Echo请求消息中的定时器Tx原始值的差,得到本次的RTT值,当然也可测量速率、RSSI、SNR等表征网络质量的指标中的至少之一。
S608:终端将该PDU会话1标识为数据断流状态。
S609:终端判断标识为数据断流状态的PDU会话的数量是否达到数据恢复阈值,如是,转至S610;否则,转至S611。
S610:终端执行数据连接恢复操作。
本示例中,终端采用逐级执行规则,在按预设顺序执行完当前的数据恢复操作后,监测第五预设时间段内是否存在PDU会话的数据断流,如存在,再执行下一项数据恢复操作;如不存在,则表明数据断流问题已解决,不再执行数据恢复操作。例如,预设顺序可以为依次执行:将数据连接控制开关关闭后打开、重新执行驻网流程、重启射频模块、重启调 制解调器;当前执行的数据恢复操作为数据连接控制开关关闭后打开,执行完后监测第五预设时间段内是否存在PDU会话的数据断流,如存在,再执行重新执行驻网流程;如不存在,则表明数据断流问题已解决,不再执行数据恢复操作。
S611:继续等待。
本实施例中,相对于相关技术的数据断流检测粒度是以WiFi通道、蜂窝通道为单位,本实施例中将检测粒度缩小到PDU会话。根据业务需要,终端在WiFi通道、蜂窝通道上与网络侧建立了多个PDU会话。
相对于相关技术中通过数据面方式进行检测,本实施例中将检测范围扩展到了控制面,提升数据检测的全面性和准确性。
相对于相关技术中检测粒度较大,在检测到数据断流后,只能采用数据连接恢复手段,导致准确率受限,本实施例中终端的检测粒度更细,在检测到数据断流后,尝试进行业务切换以保证业务连续性;确认断流状态的PDU会话数量达到一定阈值时才执行恢复操作,准确率较高,容错性能更好,能减少数据恢复操作的频率,也能提升数据断流的PDU会话自动恢复的能力和成功率以及资源的利用率。
实施例三
本实施例还提供了一种终端,该终端包括但不限于各种移动智能终端,例如智能手机、IPAD、车载终端、智能穿戴设备等,也可包括非移动类智能终端。参见图7,终端包括处理器701、存储器702及通信总线703,其中:通信总线703用于实现处理器701和存储器702之间的连接通信;处理器701用于执行存储器702中存储的一个或者多个计算机程序,以实现上述各实施例中示例的数据断流恢复方法中的至少一个步骤。
本实施例还提供了一种计算机可读存储介质,该计算机可读存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、计算机程序模块或其他数据)的任何方法或技术中实施的易失性或非易失性、可移除或不可移除的介质。计算机可读存储介质包括但不限于RAM(Random Access Memory,随机存取存储器),ROM(Read-Only Memory,只读存储器),EEPROM(Electrically Erasable Programmable read only memory,带电可擦可编程只读存储器)、闪存或其他存储器技术、CD-ROM(Compact Disc Read-Only Memory,光盘只读存储器),数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。
本实施例中的计算机可读存储介质可用于存储一个或者多个计算机程序,其存储的一个或者多个计算机程序可被一个或多个处理器执行,以实现上述各实施例中示例的数据断流恢复方法的至少一个步骤。
本实施例还提供了一种计算机程序(或称计算机软件),该计算机程序可以分布在计算机可读介质上,由可计算装置来执行,以实现上述各实施例中示例的数据断流恢复方法中的至少一个步骤;并且在某些情况下,可以采用不同于上述各实施例中示例的数据断流恢复方法的至少一个步骤。
应当理解的是,在某些情况下,可以采用不同于上述实施例所描述的顺序执行所示出或描述的至少一个步骤。
本实施例还提供了一种计算机程序产品,包括计算机可读装置,该计算机可读装置上存储有如上所示的计算机程序。本实施例中该计算机可读装置可包括如上所示的计算机可读存储介质。
根据本公开实施例提供的数据断流恢复方法、终端及存储介质,以PDU会话为单位检测数据断流,当检测到PDU会话出现数据断流时,并不是马上重连网络以进行数据连接恢复操作,而是先确定出现数据断流的PDU会话是否满足会话切换条件,并在满足时对该PDU会话进行切换,从而既能避免重连网络以进行数据连接恢复操作,进而避免因数据连接恢复操作对其他正常的PDU会话重置,又能使得出现数据断流的PDU会话切换到其他通道上正常运行,提升数据恢复的效率、准确率,保证业务的连续性,进而提升用户体验的满意度。
可见,本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的计算机程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。
此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、计算机程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。所以,本公开不限制于任何特定的硬件和软件结合。
以上内容是结合具体的实施方式对本公开实施例所作的进一步详细说明,不能认定本公开的具体实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本公开的保护范围。

Claims (10)

  1. 一种数据断流恢复方法,包括:
    监测到协议数据单元PDU会话数据断流;
    确定所述PDU会话当前是否满足会话切换条件;
    在确定所述PDU会话当前满足会话切换条件时,对所述PDU会话进行切换。
  2. 如权利要求1所述的数据断流恢复方法,其中,所述监测到PDU会话数据断流包括以下之一:
    监测到在第一预设时间段内,所述PDU会话连续发给网络侧的N个数据报文未收到所述网络侧的响应,所述N大于等于1;
    监测到在第二预设时间段内,所述PDU会话对应的域名系统M次查询失败,所述M大于等于1;
    监测到在第三预设时间段内,所述PDU会话对应的互联网包检测K次失败,所述K大于等于1;
    监测到在第四预设时间段内,所述PDU会话的数据报文重传的数量达到预设报文重传阈值;
    监测到所述PDU会话对应的服务器探测失败;
    监测到网络侧针对所述PDU会话发送的预设PDU会话释放指令消息。
  3. 如权利要求1所述的数据断流恢复方法,其中,所述确定所述PDU会话当前是否满足会话切换条件包括:
    确定所述PDU会话是否为支持多个网络通道接入的多接入MA PDU会话;
    在确定所述PDU会话为MA PDU会话时,确定所述PDU会话支持的多个网络通道中当前是否存在可用网络通道。
  4. 如权利要求3所述的数据断流恢复方法,其中,所述确定所述PDU会话对应的多个网络通道中当前是否存在可用网络通道包括以下之一:
    确定所述PDU会话对应的多个网络通道中是否存在未被标记为断流状态的网络通道;
    确定所述PDU会话对应的多个网络通道中是否存在丢包率正常的网络通道;
    确定所述PDU会话对应的多个网络通道中是否存在探测服务器成功的网络通道;
    确定所述PDU会话对应的多个网络通道中是否存在互联网包检测成功的网络通道;
    确定所述PDU会话对应的多个网络通道中是否存在网络质量测量结果满足设定网络质量条件的网络通道。
  5. 如权利要求4所述的数据断流恢复方法,其中,所述PDU会话对应的多个网络通道包括以下至少之一:
    至少一个蜂窝网络通道;
    至少一个非蜂窝网络通道。
  6. 如权利要求1-5任一项所述的数据断流恢复方法,其中,所述数据断流恢复方法还包括:
    在确定所述PDU会话当前不满足会话切换条件时,将所述PDU会话标记为数据断流状态;
    在当前标记为数据断流状态的PDU会话的数量达到预设数据恢复阈值时,进行数据连接恢复处理;
    或,
    在确定所述PDU会话当前不满足会话切换条件时,开始计时,在计时值达到预设时间阈值时,若仍监测到所述PDU会话数据断流,进行数据连接恢复处理。
  7. 如权利要求6所述的数据断流恢复方法,其中,所述进行数据连接恢复处理包括按设定数据恢复规则执行以下数据恢复操作中的至少之一:
    将数据连接控制开关关闭后打开;
    重新执行驻网流程;
    重启射频模块;
    重启调制解调器。
  8. 如权利要求7所述的数据断流恢复方法,其中,所述数据恢复规则包括逐级执行规则,所述逐级执行规则包括:在按预设顺序执行完当前的数据恢复操作后,监测第五预设时间段内是否存在PDU会话的数据断流,如存在,再执行下一项数据恢复操作。
  9. 一种终端,其中,包括存储器、处理器以及将所述存储器和处理器连接的通信总线;
    所述存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序可被所述处理器执行,以实现如权利要求1-8任一项所述的数据断流恢复方法的步骤。
  10. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个计算机程序,所述一个或者多个计算机程序可被一个或者多个处理器执行,以实现如权利要求1-8任一项所述的数据断流恢复方法的步骤。
PCT/CN2022/090479 2021-06-07 2022-04-29 数据断流恢复方法、终端及存储介质 WO2022257644A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22819246.4A EP4329371A1 (en) 2021-06-07 2022-04-29 Recovery method for dataflow interruption, and terminal and storage medium
JP2023571757A JP2024519379A (ja) 2021-06-07 2022-04-29 データ中断回復方法、端末、および記憶媒体

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110630174.6A CN115515200A (zh) 2021-06-07 2021-06-07 数据断流恢复方法、终端及存储介质
CN202110630174.6 2021-06-07

Publications (1)

Publication Number Publication Date
WO2022257644A1 true WO2022257644A1 (zh) 2022-12-15

Family

ID=84425464

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090479 WO2022257644A1 (zh) 2021-06-07 2022-04-29 数据断流恢复方法、终端及存储介质

Country Status (4)

Country Link
EP (1) EP4329371A1 (zh)
JP (1) JP2024519379A (zh)
CN (1) CN115515200A (zh)
WO (1) WO2022257644A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110692281A (zh) * 2017-07-10 2020-01-14 摩托罗拉移动有限责任公司 移动网络中的多接入数据连接
CN111436087A (zh) * 2019-01-15 2020-07-21 电信科学技术研究院有限公司 一种pdu会话切换方法及其装置
WO2020150250A1 (en) * 2019-01-14 2020-07-23 Idac Holdings, Inc. Methods and wireless transmit/receive units for supporting virtual machine migration
WO2020166880A1 (ko) * 2019-02-14 2020-08-20 엘지전자 주식회사 Ma pdu 세션에 기초하여 화면을 표시하는 방법 및 사용자 장치
WO2021029382A1 (ja) * 2019-08-09 2021-02-18 シャープ株式会社 Ue及びsmf

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110692281A (zh) * 2017-07-10 2020-01-14 摩托罗拉移动有限责任公司 移动网络中的多接入数据连接
WO2020150250A1 (en) * 2019-01-14 2020-07-23 Idac Holdings, Inc. Methods and wireless transmit/receive units for supporting virtual machine migration
CN111436087A (zh) * 2019-01-15 2020-07-21 电信科学技术研究院有限公司 一种pdu会话切换方法及其装置
WO2020166880A1 (ko) * 2019-02-14 2020-08-20 엘지전자 주식회사 Ma pdu 세션에 기초하여 화면을 표시하는 방법 및 사용자 장치
WO2021029382A1 (ja) * 2019-08-09 2021-02-18 シャープ株式会社 Ue及びsmf

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
3GPP TS 24.193
3GPP TS 24.501
ANONYMOUS: "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; System architecture for the 5G System (5GS); Stage 2 (Release 16)", 3GPP STANDARD; 3GPP TS 23.501, vol. SA WG2, no. V16.8.0, 30 March 2021 (2021-03-30), pages 1 - 451, XP052000156 *

Also Published As

Publication number Publication date
CN115515200A (zh) 2022-12-23
EP4329371A1 (en) 2024-02-28
JP2024519379A (ja) 2024-05-10

Similar Documents

Publication Publication Date Title
US8868130B2 (en) Apparatus and methods for state suspension in hybrid networks
US20190124559A1 (en) Voice service client device
CN111566943B (zh) 用于执行无线电链路监视的方法
EP3641382A1 (en) Wireless link monitoring method and device
KR102434810B1 (ko) 재개 요청의 거부와 관련한 ue 거동
EP2941918B1 (en) Performance monitoring of wireless local area network (wlan) offloading in wireless cellular networks
WO2021057526A1 (zh) 一种网关设备容灾的方法及通信设备
US10270812B2 (en) Registration management for a secondary wireless device using a primary wireless device
US10327196B2 (en) Apparatus and methods for intelligent scheduling in hybrid networks based on client identity
WO2021004517A1 (zh) 一种实现核心网子切片容灾的方法、装置和系统
CN112205036A (zh) 动态信道绑定的系统和方法
WO2013131331A1 (zh) 制式切换方法及装置
US20230413214A1 (en) Method, apparatus and computer program
US20220225149A1 (en) Network API Capability Reporting Method, Apparatus, and System
WO2018201318A1 (zh) 一种信号测量方法及相关设备
EP3738246B1 (en) Radio link maintenance involving muliple uplink carriers
US8699445B2 (en) Wireless communication system
WO2022257644A1 (zh) 数据断流恢复方法、终端及存储介质
WO2022252874A1 (zh) 信令风暴抑制方法、移动终端、电子设备及存储介质
CN111479302A (zh) 一种数据业务切换方法及通信装置
WO2019141194A1 (zh) 更新系统消息的方法及装置
WO2020156460A1 (en) Methods and nodes for ue-to-ue event monitoring
CN112788786A (zh) 网络连接的控制方法、终端及存储介质
WO2017059728A1 (zh) 负荷上报及控制方法、eMSC装置、MME装置及通信系统
WO2023138494A1 (zh) Rrc重建立方法及装置、计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22819246

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023571757

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2022819246

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022819246

Country of ref document: EP

Effective date: 20231122

NENP Non-entry into the national phase

Ref country code: DE