US11496946B2ActiveUtilityA1

Transmission path switching method and apparatus

67
Assignee: HUAWEI TECH CO LTDPriority: Jun 7, 2018Filed: Jun 10, 2019Granted: Nov 8, 2022
Est. expiryJun 7, 2038(~11.9 yrs left)· nominal 20-yr term from priority
H04W 40/248H04W 40/12H04W 80/06H04W 84/12H04W 40/04H04W 12/06H04W 36/0022
67
PatentIndex Score
1
Cited by
18
References
9
Claims

Abstract

Embodiments of this application provide a transmission path switching method and apparatus. When a transmission path is switched, a currently used data transmission path is not directly switched from a first transmission path to a second transmission path after the second transmission path is configured, but after it is further determined that a first condition is met, the currently used data transmission path is switched from the first transmission path to the second transmission path, to avoid data interruption in a process of switching a data transmission path of an application from the first transmission path to the second transmission path. This improves use smoothness of the application.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A transmission path switching apparatus wherein a data transmission path currently used by the apparatus is a first transmission path corresponding to a mobile network, wherein a first TCP connection is established between a specific application and a server corresponding to the specific application, and data of the specific application related to the first TCP connection is transmitted using the first transmission path; and the apparatus comprises an application processor and a wireless-fidelity (Wi-Fi) communications module, wherein the application processor comprises a first module and a second module, wherein
 the application processor is configured to: after a stored Wi-Fi network is detected by the Wi-Fi communications module, configure a second transmission path corresponding to the Wi-Fi network; and when the Wi-Fi network meets a first condition, switch the currently used data transmission path from the first transmission path to the second transmission path, wherein 
 the first condition is related to one or more of the following parameters: a signal strength of the Wi-Fi network, a signal quality of the Wi-Fi network, a duration of the signal strength of the Wi-Fi network, a duration of the signal quality of the Wi-Fi network, whether the Wi-Fi network requires secondary authentication, whether data can be transmitted using the second transmission path, and a rate at which data can be transmitted using the second transmission path 
 and wherein that the application processor is configured to switch the currently used data transmission path from the first transmission path to the second transmission path comprises: 
 the first module is configured to receive indication information from the second module of the apparatus, wherein the indication information is used to switch the currently used data transmission path from the first transmission path to the second transmission path in response to the apparatus determining that a second TCP connection is being established or has been established between the specific application and the corresponding server, wherein the second TCP connection is different from the first TCP connection; and 
 the application processor is configured to switch the currently used data transmission path from the first transmission path to the second transmission path according to the indication information, so that data of the specific application related to the second TCP connection is transmitted using the second transmission path. 
 
     
     
       2. The apparatus according to  claim 1 , wherein the application processor is further configured to determine whether the Wi-Fi network meets the first condition; and
 that the application processor is further configured to determine whether the Wi-Fi network meets the first condition comprises: 
 when an application currently running in the foreground on the apparatus is a specific application, the application processor is configured to determine whether the Wi-Fi network meets the first condition. 
 
     
     
       3. The apparatus according to  claim 2 , wherein
 a corresponding first condition when the application currently running in the foreground on the apparatus is a non-specific application is different from a corresponding first condition when the application currently running in the foreground on the apparatus is a specific application. 
 
     
     
       4. The apparatus according to  claim 2  wherein the specific application is an online game application and/or a video live broadcast application. 
     
     
       5. The apparatus according to  claim 1 , wherein
 the first condition comprises at least one of the following: 
 the signal strength of the Wi-Fi network is greater than a first threshold value; or 
 the signal strength of the Wi-Fi network is greater than the first threshold value, and a duration in which the signal strength of the Wi-Fi network is greater than the first threshold value is greater than a second threshold value; or 
 the signal quality of the Wi-Fi network meets a third condition; or 
 the signal quality of the Wi-Fi network meets a third condition, and a duration in which the signal quality of the Wi-Fi network meets the third condition is greater than a third threshold value; or 
 the Wi-Fi network does not require secondary authentication; or 
 data can be transmitted using the second transmission path; or 
 data can be transmitted using the second transmission path, and a transmission rate is greater than a fourth threshold value. 
 
     
     
       6. The apparatus according to  claim 1 , wherein
 the application processor is further configured to determine whether the Wi-Fi network requires secondary authentication; and 
 that the application processor is configured to configure the second transmission path corresponding to the Wi-Fi network comprises: 
 the application processor is configured to, when the Wi-Fi network does not require secondary authentication, configure the second transmission path corresponding to the Wi-Fi network. 
 
     
     
       7. The apparatus according to  claim 1 , wherein
 the application processor is further configured to send first notification information to the specific application after the second transmission path is configured, wherein the first notification information is used to notify the specific application that a network status changes; and 
 that the application processor is configured to switch the currently used data transmission path from the first transmission path to the second transmission path according to the indication information comprises: the application processor is configured to switch a data transmission path of the specific application from the first transmission path to the second transmission path according to the indication information after the application processor sends the first notification information to the specific application. 
 
     
     
       8. The apparatus according to  claim 7 , wherein that the application processor is configured to switch the data transmission path of the specific application from the first transmission path to the second transmission path according to the indication information after sending the first notification information to the specific application comprises:
 after the application processor sends the first notification information to the specific application, and after the specific application sends, using the first module of the apparatus and based on the first notification information, a TCP connection establishment request used to establish the second TCP connection to the server corresponding to the specific application, and the first module of the apparatus receives the TCP connection establishment request, the application processor switches the data transmission path of the specific application from the first transmission path to the second transmission path. 
 
     
     
       9. The apparatus according to  claim 7 , wherein the application processor is further configured to: send second notification information to another application other than the specific application after switching the data transmission path of the specific application from the first transmission path to the second transmission path, wherein the second notification information is used to notify the another application that a network status changes; and
 switch a data transmission path of the another application other than the specific application from the first transmission path to the second transmission path after sending the second notification information to the another application.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.