WO2018148890A1 - 网络连接方法及装置 - Google Patents

网络连接方法及装置 Download PDF

Info

Publication number
WO2018148890A1
WO2018148890A1 PCT/CN2017/073641 CN2017073641W WO2018148890A1 WO 2018148890 A1 WO2018148890 A1 WO 2018148890A1 CN 2017073641 W CN2017073641 W CN 2017073641W WO 2018148890 A1 WO2018148890 A1 WO 2018148890A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
preset condition
service
data
meets
Prior art date
Application number
PCT/CN2017/073641
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 CA3053427A priority Critical patent/CA3053427C/en
Priority to RU2019128532A priority patent/RU2735615C1/ru
Priority to SG11201907480WA priority patent/SG11201907480WA/en
Priority to EP17896869.9A priority patent/EP3582549B1/en
Priority to US16/486,209 priority patent/US20200059843A1/en
Priority to MX2019009719A priority patent/MX2019009719A/es
Priority to KR1020197026640A priority patent/KR20190117628A/ko
Priority to CN201780085545.9A priority patent/CN110249661B/zh
Priority to JP2019543916A priority patent/JP6961708B2/ja
Priority to AU2017398782A priority patent/AU2017398782A1/en
Priority to BR112019016880A priority patent/BR112019016880A2/pt
Priority to PCT/CN2017/073641 priority patent/WO2018148890A1/zh
Publication of WO2018148890A1 publication Critical patent/WO2018148890A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1446Reselecting a network or an air interface over a different radio air interface technology wherein at least one of the networks is unlicensed
    • 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/302Reselection being triggered by specific parameters by measured or perceived connection quality data due to low signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the embodiments of the present invention relate to the field of terminal technologies, and in particular, to a network connection method and apparatus.
  • terminals such as smartphones and tablets can connect to the network and process various types of data services through the network.
  • the network connected by the terminal may be a cellular network or a non-cellular network such as a WLAN (Wireless Local Area Network), and when the terminal moves to a coverage area of the non-cellular network during the process of connecting the cellular network, the terminal may automatically connect the network.
  • the connection method is switched from the cellular network to the non-cellular network, thereby making a network connection through the non-cellular network.
  • the network connection is temporarily interrupted. If the user is playing online video or processing data services such as video communication through the terminal, the data service may be interrupted, causing inconvenience to the user, thereby reducing The user's web experience.
  • the non-cellular network as the WLAN as an example
  • the ANDSF Access Network Discovery Selection Function
  • Hotspot2.0 Wireless
  • Hotspots LTE (Long Term Evolution) technology and WLAN are aggregated, or LTE and WLAN are interoperated to implement network connection mode switching.
  • the embodiment of the present invention provides a network connection method and device.
  • the technical solution is as follows:
  • a network connection method is provided, where the method includes:
  • the first preset condition is a condition that does not affect the service quality of the data service in a handover process of the network connection manner
  • the determining whether the service status of the currently processed data service meets the first preset condition includes at least one of the following manners:
  • Determining the service status when the network time to be transmitted is determined by the service status, if the transmission time interval between the current time and the transmission start time of the network data to be transmitted is greater than a preset time interval. Compliance with the first preset condition;
  • determining that the service status meets the first preset condition including at least one of the following manners:
  • the method further includes:
  • the network connection is performed based on the wireless signal.
  • the method further includes:
  • the method further includes:
  • the network connection is performed based on the wireless signal.
  • the method further includes:
  • performing network connection based on the wireless signal including:
  • the network is connected to the network based on the wireless signal.
  • performing network connection based on the wireless signal including:
  • the network state includes a current signal strength of the cellular network, a current transmission speed of the cellular network, and a current signal strength of the wireless signal. At least one of them;
  • the third preset condition includes that a current signal strength of the cellular network is less than a first preset intensity threshold, and a current transmission speed of the cellular network is less than a preset transmission speed. And a current signal strength of the wireless signal is greater than at least one of a second preset intensity threshold;
  • a network connection apparatus comprising at least one module, the at least one module being configured to implement any one of the foregoing first aspect or the first aspect
  • the network connection method provided by the method.
  • a terminal comprising: a transmitter, a receiver, a memory, and a processor, the memory, the transmitter, and the receiver respectively associated with the processor Connected, the memory stores program code, and the processor is configured to invoke program code to execute the network connection method described in the first aspect above.
  • a computer readable medium storing one or more instructions for implementing any of the above first aspect or first aspect A network connection method provided by a possible implementation.
  • the technical solution provided by the embodiment of the present invention has the beneficial effects that, in the embodiment of the present invention, when the wireless signal of the connectable non-cellular network is detected in a state where the network connection is performed through the cellular network, in order to avoid the network connection
  • the data service interruption caused by the mode switching may determine whether the service state of the currently processed data service meets the first preset condition.
  • the first preset condition is a condition that does not affect the service quality of the data service in the process of switching the network connection mode. Therefore, when the service state meets the first preset condition, the network connection is performed based on the wireless signal. Thus The current data business is guaranteed to go smoothly.
  • FIG. 1 is a flowchart of a network connection method according to an embodiment of the present invention
  • FIG. 2A is a schematic structural diagram of a first network connection apparatus according to an embodiment of the present invention.
  • 2B is a schematic structural diagram of a determining module according to an embodiment of the present invention.
  • 2C is a schematic structural diagram of a second network connection apparatus according to an embodiment of the present invention.
  • 2D is a schematic structural diagram of a third network connection apparatus according to an embodiment of the present invention.
  • 2E is a schematic structural diagram of a fourth network connection apparatus according to an embodiment of the present invention.
  • 2F is a schematic structural diagram of a fifth network connection apparatus according to an embodiment of the present invention.
  • 2G is a schematic structural diagram of a first connection module according to an embodiment of the present invention.
  • 2H is a schematic structural diagram of another first connection module according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • a “module” as referred to herein generally refers to a program or instruction stored in a memory that is capable of performing certain functions; a “sub-module” as referred to herein generally refers to a functional structure that is logically divided, the "sub-module”
  • the module can be implemented by pure hardware or a combination of hardware and software.
  • Multiple as referred to herein means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.
  • the terminal when the terminal is connected to the cellular network, it moves to a connectable non-cellular network. When the coverage area of the network is reached, the terminal can automatically switch the network connection mode from the cellular network to the non-cellular network. However, in the process of switching the network connection mode, the network connection is temporarily interrupted. If the user is processing the data service through the terminal, the data service may be interrupted, which may cause inconvenience to the user. For example, when the terminal is playing online video or processing video communication through the cellular network, the playback of the online video may be interrupted when the network connection mode is switched, or the video communication may be interrupted.
  • the embodiment of the present invention provides a method for network connection, which can avoid data service interruption caused by handover of a network connection manner, thereby ensuring smooth running of current data services.
  • FIG. 1 is a flowchart of a network connection method according to an embodiment of the present invention. Referring to FIG. 1, the method includes the following steps.
  • Step 101 The terminal determines whether a wireless signal of the connectable non-cellular network is detected in a state in which the network connection is performed through the cellular network.
  • the wireless signal may be a WIFI (Wireless Fidelity) signal or another wireless signal of a non-cellular network.
  • WIFI Wireless Fidelity
  • the operation of the terminal to determine whether the wireless signal of the connectable non-cellular network is detected may be referred to the related art.
  • the terminal determines whether to perform network connection based on the wireless signal according to the operations of the following steps 102 to 103, there may be a case where the network connection mode switching is not performed.
  • the user may be eager to switch the network connection mode.
  • the terminal may also prompt the user to detect the wireless signal by shaking, ringing, bulleting, etc., thereby enabling the user to When the prompt information is received, the network connection method can be manually switched.
  • Step 102 When the terminal detects the wireless signal, determine whether the service status of the currently processed data service meets the first preset condition, where the first preset condition refers to the data service in the process of switching the network connection mode. The quality of the business does not affect the conditions.
  • the data service refers to a service that the terminal can process through the network, for example, a voice call, a video call, a video play upload or download, and the like.
  • the service status refers to the state in which the terminal processes the data service.
  • the first preset condition may be set in advance.
  • the first preset condition may include that the network data is not currently transmitted, the specified application is not currently running, and the current There is no at least one of network data to be transmitted, and the like.
  • the operation of determining, by the terminal, whether the service status of the currently processed data service meets the first preset condition may include at least one of the following manners:
  • the terminal determines that the network data is not currently transmitted through the service state, determining that the service state meets the first preset condition.
  • the terminal When the terminal does not currently transmit network data, the network interruption caused by the handover of the network connection mode will not affect the terminal. Therefore, when the terminal determines that the network data is not currently transmitted through the service state, the terminal may determine the The business status conforms to the first preset condition.
  • the network data may include video data, audio data, image data, and the like transmitted by the terminal through the network.
  • the current untransmitted network data may mean that the terminal does not currently transmit any data through the cellular network.
  • the terminal does not currently transmit network data, which may include that the terminal does not currently make a voice call through the network, does not perform a video call through the network, does not perform video playback or video download through the network, and the like.
  • the terminal determines that the network data is currently being transmitted through the service state, if the network data meets the second preset condition, determining that the service state meets the first preset condition.
  • the terminal may determine whether the network data meets the second preset condition, and the specific operation may include at least one of the following (1)-(3) manners. :
  • the specified type may be a type set in advance, for example, the specified type may be video, audio, image, and the like.
  • the specified application may also be set in advance.
  • the specified application may be an instant messaging application, a video playing application, or the like, and the number of specified applications may be one or more.
  • the preset rate threshold may also be set in advance.
  • the preset rate threshold may be 20 bits/second, 30 bits/second, or the like.
  • a third mode when the terminal determines, by the service status, that the application is currently running, if the application is not the specified application, determining that the service status meets the first preset condition.
  • the terminal determines, by the service state, that the application is currently running
  • the network interruption caused by the switching of the network connection mode only affects the currently running application, if the application is not the specified application, The network interruption does not affect the specified application. Therefore, when the terminal determines, by the service status, that the application is currently running, and the application is not the specified application, it can be determined that the service status conforms to the first preset. condition.
  • the specified application is a video playback application
  • the currently running application is an instant messaging application
  • a fourth mode when the terminal determines, by using the service status, that the network data to be transmitted does not currently exist, determining that the service status meets the first preset condition.
  • the network data to be transmitted may refer to network data that is transmitted from the start time of the transmission, and the network data to be transmitted may include cache data of the terminal operating system, cache data of the specified application, and a cellular network modem. Cache data and more.
  • the terminal determines that there is no network data to be transmitted through the service state, the network does not affect the terminal regardless of whether the network interruption occurs. Therefore, when the terminal determines that the terminal does not exist through the service state, the terminal does not exist.
  • the network data is transmitted, it can be determined that the service status meets the first preset condition.
  • a fifth mode when it is determined by the service status that the network data to be transmitted currently exists, if the transmission time interval between the current time and the transmission start time of the network data to be transmitted is greater than a preset time interval, then determining The business status conforms to the first preset condition.
  • the temporary interruption of the network caused by the handover of the network connection manner will not affect the subsequent transmission, because the transmission time interval between the current time and the transmission start time of the network data to be transmitted is greater than the preset time interval.
  • the transmission of the network data therefore, when the transmission time interval is greater than the preset time interval, determining that the service status conforms to the first preset condition.
  • the preset time interval may be set in advance, for example, the preset time interval is 30 seconds, 1 minute, 2 minutes, and the like.
  • a sixth mode when the terminal determines, by using the service status, that the specified webpage is not currently opened, determining that the service state meets the first preset condition.
  • the terminal determines that the specified webpage is not currently opened by the service state
  • the network interruption caused by the switching of the network connection mode does not affect the specified webpage, and therefore, the industry can be determined.
  • the service status meets the first preset condition.
  • the specified webpage may be set in advance, for example, the designated webpage may be a shopping webpage, a bank official website, or the like.
  • the terminal determines that the business status conforms to the first preset condition.
  • the terminal determines that the specified webpage is currently opened by the service state, if the page state of the specified webpage is not currently in the specified state, it is determined that the service state meets the first preset condition.
  • the terminal may further determine the service status by using the page status of the specified webpage. Whether the first preset condition is met.
  • the specified status may be set in advance, for example, the specified status may be an online shopping pending payment status, an online banking pending status, and the like.
  • the terminal may perform the operations of step 203 described below.
  • the operation that the terminal determines that the service status does not meet the first preset condition may include at least one of the following manners:
  • the terminal determines that the network data is currently being transmitted through the service status, if the network data being transmitted does not satisfy the second preset condition, it is determined that the service status does not meet the first preset condition.
  • the terminal may further determine whether the network data being transmitted meets the second preset condition, and when the network data being transmitted does not satisfy the second preset condition, determine that the service status does not meet the first preset condition. .
  • the terminal determines that the network data being transmitted does not satisfy the second preset condition, and the operation of determining that the service status does not meet the first preset condition may include at least one of the following (1)-(3) modes:
  • the terminal may directly determine that the service status does not meet the first preset condition. However, if the terminal directly determines that the service status does not meet the first preset condition, the terminal may not perform the network connection mode switching, and the network data is still transmitted through the cellular network. If the terminal is currently performing data-consuming data services such as video downloading, it may waste the cellular network. Therefore, in general, the terminal can determine that the service status does not meet the first preset condition by using the operation in the foregoing manner, thereby saving consumption of the cellular network.
  • the terminal determines that the application is currently running through the service state, if the application is the specified application, it is determined that the service state does not meet the first preset condition.
  • the network interruption caused by the switching of the network connection mode when the terminal determines that the application is currently running through the service state affects the currently running application, and if the application is a specified application, The network interruption will affect the specified application. Therefore, when the terminal determines that the application is currently running through the service status, and the application is the specified application, it can be determined that the service status does not meet the first preset condition. .
  • the specified application is a video playback application
  • the currently running application is a video playback application
  • a third mode when the terminal determines that the network data to be transmitted currently exists through the service state, if the transmission time interval is less than or equal to the preset time interval, the temporary interruption of the network caused by the switching of the network connection manner may affect The network data to be transmitted is transmitted. Therefore, when the transmission time interval is less than or equal to the preset time interval, it is determined that the service status does not meet the first preset condition.
  • the transmission start time is the current time and the specified time interval is 30 seconds
  • the network connection mode is switched at this time, the network data cannot be transmitted, and therefore, the service status is determined not to be Meet the first preset condition.
  • the terminal determines that there is currently network data to be transmitted through the service status, it directly determines that the service status does not meet the first preset condition. However, if the terminal directly determines that the service status does not meet the first preset condition, the terminal may not perform the network connection mode switching, and still processes other data services through the cellular network, thereby causing waste of the cellular network. Simultaneously, When the transmission time interval is greater than the preset time interval, no network interruption occurs at present, and the subsequent transmission of the network data to be transmitted is not affected. Therefore, in general, the terminal can determine that the service status does not meet the first preset condition by using the operation in the foregoing third manner, thereby saving consumption of the cellular network.
  • the terminal determines that the specified webpage is currently opened by the service state, the temporary network interruption has little influence on the specified webpage, and does not affect the subsequent operation of the terminal on the specified webpage. Therefore, the terminal can continue. Determines if the page status of the specified web page is in the specified state. If the page status of the specified web page is currently in the specified state, it is determined that the service status does not meet the first preset condition.
  • the terminal may directly determine that the current service state does not meet the first preset condition.
  • the temporary network interruption has little influence on the specified webpage. If the terminal directly determines that the current service state does not meet the first preset condition, the terminal may not When the network connection mode is switched, other data services are still processed through the cellular network, thereby causing waste of the cellular network. Therefore, in a normal situation, the terminal may determine that the service state does not meet the first preset condition by using the operation in the foregoing fourth manner, thereby saving consumption of the cellular network.
  • the terminal may perform the operations of step 204 described below.
  • Step 103 When the service status meets the first preset condition, the terminal performs network connection based on the wireless signal.
  • the terminal may directly perform network connection based on the wireless signal.
  • the network state of the non-cellular network is not good, resulting in a decrease in the efficiency of processing data services after the terminal connects to the non-cellular network.
  • the manner in which the terminal performs network connection based on the wireless signal may further include the following two manners.
  • the terminal may attach or connect to the non-cellular network based on the wireless signal; determine, by not cutting off the cellular network, the non-cellular network Whether the data service can be processed; when the data service can be processed, the network connection mode is switched from the cellular network to the non-cellular network, and the network connection is performed based on the wireless signal.
  • the terminal can perform data transmission through the non-cellular network without cutting off the cellular network, and determine whether the data can be successfully transmitted. When the data can be successfully transmitted, it is determined that the data can be processed by the non-cellular network terminal. The service, when the data cannot be successfully transmitted, determines that the data service cannot be processed by the non-cellular network terminal.
  • the terminal can determine whether the data service can be processed by the non-cellular network, and can be determined by other methods, not only by cutting the cellular network in the above manner.
  • the situation that the terminal is connected to the non-cellular network but cannot handle the data service can be avoided, thereby improving the network experience of the user.
  • the network handover is not performed.
  • the terminal may acquire a network status, where the network status includes a current signal strength of the cellular network, a current transmission speed of the cellular network, and a current signal of the wireless signal. At least one of the strengths; determining whether the network state meets a third preset condition, where the third preset condition includes that the current signal strength of the cellular network is less than a first preset intensity threshold, and the current transmission speed of the cellular network is less than a preset The transmission speed and the current signal strength of the wireless signal are greater than at least one of the second preset strength thresholds; when the network state conforms to the third preset condition, the network connection manner is switched from the cellular network to the non-cellular network, And making a network connection based on the wireless signal.
  • the terminal may further acquire a network status, and further determine, according to the network status, whether to perform network connection based on the wireless signal.
  • the first preset intensity threshold may be set in advance, for example, the first preset intensity threshold may be 30 db (decibels), 40 db, and the like.
  • the second preset intensity threshold may also be set in advance.
  • the second preset intensity may be 50 db, 60 db, or the like.
  • the preset transmission speed can also be set in advance.
  • the preset transmission speed can be 20 kb/s, 30 kb/s, and the like.
  • the network state may not only include the current signal strength of the cellular network. At least one of a degree, a current transmission speed of the cellular network, and a current signal strength of the wireless signal, the network state may also include a format of a cellular network, a system of a non-cellular network, and the like.
  • the system of the cellular network may include 4G LTE, 3G WCDMA (Wideband Code Division Multiple Access)/TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Chinese name: Time Division-Synchronous Code Division Multiple Access) /CDMA2000 (Code Division Multiple Access, Code Division Multiple Access 2000), etc.
  • the non-cellular network system may include IEEE802.11a/b/g/n/ac/ad (Institute of Electrical and Electronics Engineers, International Institute of Electrical and Electronic Engineering) 802.11a/b/g/n/ac/ad) and so on.
  • the network state includes the format of the cellular network and the non-cellular network
  • the matching relationship between the cellular network standard and the non-cellular network standard may be set in advance.
  • the matching relationship between the cellular network standard and the non-cellular network standard includes The standard 4G LTE of the cellular network is matched with the IEEE802.11ac standard of the non-cellular network, the standard 3GW CDMA of the cellular network is matched with the IEEE802.11g standard of the non-cellular network, and the like.
  • the non-cellular network matching the standard 4G LTE of the cellular network is IEEE802.11ac
  • the corresponding non-cellular network of the wireless signal is IEEE802.11ac
  • Step 104 When the service status does not meet the first preset condition, the terminal does not switch the network connection mode, and continues to process the current data service through the cellular network.
  • the terminal may continue to process the current data service without performing network connection through the wireless signal.
  • the terminal may perform the wireless signal based on the wireless signal in at least one of the following situations. Internet connection.
  • the transmission process of the network data is monitored;
  • the network data is monitored to end the transmission, or when the transmission period of the network data is greater than the preset transmission period, the network connection is performed based on the wireless signal.
  • the terminal can perform network connection based on the wireless signal when monitoring the end of transmission of the network data.
  • the period of the data transmission is long, it is proved that the transmission of the network data is substantially completed. If the network interruption occurs, the transmission of the network data will not be affected. Therefore, in the embodiment of the present invention, When the transmission period of the network data is greater than the preset transmission period, the network connection is performed based on the wireless signal.
  • the preset transmission period may be set in advance.
  • the preset transmission period may be 100 ms (millisecond), 200 ms, and the like.
  • the terminal determines, by using the service status, that the specified application is currently running, the running status of the specified application may be monitored; when the designation is detected When the application stops running, the network connection is made based on the wireless signal.
  • the operation of the terminal to monitor the running state of the specified application may be referred to the related technology, which is not repeatedly described in the embodiment of the present invention.
  • the page status of the specified webpage is performed. Monitoring; when it is detected that the page status of the specified web page is not in the specified state, the network connection is performed based on the wireless signal.
  • the terminal may not interrupt the currently processed data service, but after completing the currently processed data service, perform network connection based on the wireless signal, thereby avoiding switching due to the network connection manner.
  • the resulting data service is interrupted, ensuring smooth processing of the current data service and improving the user's network experience.
  • the terminal also saves the consumption of the cellular network for subsequent Internet access.
  • the terminal may also attach or link to the non-cellular network based on the wireless signal; continue to monitor the service status; when the service status is detected to be consistent When the first preset condition is met, a network connection is made.
  • the terminal may monitor the service status in real time, and may also monitor the service status after determining that the service status does not meet the specified preset time of the first preset condition. And re-execute the steps
  • the operation of step 102 is to determine whether the service status meets the first preset condition.
  • the specified duration can be set in advance, for example, the specified duration can be 1 minute, 5 minutes, 10 minutes, and the like.
  • the terminal first attaches or joins to the non-cellular network, and when the service state meets the first preset condition, the network connection is continued without reattaching or joining operations. , which increases the speed of network connections.
  • the terminal when the terminal detects the wireless signal of the connectable non-cellular network in the state of the network connection through the cellular network, it can determine whether the service state of the currently processed data service meets the first preset condition. And when the first preset condition is met, the network connection is performed based on the wireless signal. When the first preset condition is not met, the service status is monitored. When the current data service is detected, the network connection is performed based on the wireless signal, thereby avoiding the data service caused by the switching of the network connection mode. The interruption ensures the smooth progress of the current data service, thereby improving the user's network experience. In addition, since the terminal can also acquire the network status before performing network connection based on the wireless network, it is further determined whether the network connection is performed based on the wireless signal, thereby improving the reliability of the network connection.
  • the device includes: a determination module 201, a determination module 202, and a first connection module 203.
  • the determining module 201 is configured to determine whether a wireless signal of the connectable non-cellular network is detected in a state in which the network connection is performed through the cellular network;
  • the determining module 202 is configured to determine, when the wireless signal is detected, whether the service status of the currently processed data service meets a first preset condition, where the first preset condition is that the data is in the process of switching the network connection mode. The quality of business of the business does not affect the conditions;
  • the first connection module 203 is configured to perform network connection based on the wireless signal when the service status meets the first preset condition.
  • the determining module 202 includes at least one of the following submodules:
  • the first determining sub-module 2021 is configured to determine, when the current service data is not transmitted by using the service status, that the service status meets the first preset condition;
  • a second determining sub-module 2022 configured to determine, when the network data is currently being transmitted, by using the service status, if the network data meets the second preset condition, determining that the service status meets the first preset condition;
  • a third determining submodule 2023 configured to determine, by using the service status, that the application is currently running If the application is not the specified application, determining that the business status meets the first preset condition;
  • the fourth determining sub-module 2024 is configured to: when it is determined by the service state that there is no network data to be transmitted, determine that the service state meets the first preset condition;
  • the fifth determining sub-module 2025 is configured to: when determining, by using the service state, that the network data to be transmitted currently exists, if the transmission time interval between the current time and the transmission start time of the network data to be transmitted is greater than a preset time interval Determining that the service status meets the first preset condition;
  • the sixth determining sub-module 2026 is configured to determine, when the specified webpage is not currently opened by the service state, that the service state meets the first preset condition;
  • the seventh determining sub-module 2027 is configured to determine, when the specified webpage is currently opened by the service state, if the page state of the specified webpage is not currently in the specified state, determining that the service state meets the first preset condition.
  • the second determining submodule 2022 is configured to perform at least one of the following manners:
  • the apparatus further includes:
  • the first monitoring module 204 is configured to: when the service status does not meet the first preset condition, and determine, by using the service status, that network data is currently being transmitted or network data to be transmitted exists, the network data transmission process is monitored. ;
  • the second connection module 205 is configured to perform network connection based on the wireless signal when the network data is detected to end the transmission, or when the transmission period of the network data is greater than a preset transmission period.
  • the apparatus further includes:
  • the second monitoring module 206 is configured to: when the service status does not meet the first preset condition, and determine, by using the service status, that the specified application is currently running, monitor the running status of the specified application;
  • the third connection module 207 is configured to perform network connection based on the wireless signal when it is detected that the designated application stops running.
  • the apparatus further includes:
  • the third monitoring module 208 is configured to: when the service status does not meet the first preset condition, determine, by using the service status, that the specified webpage is currently open and the page status of the specified webpage is currently in a specified state, the page of the specified webpage Status monitoring;
  • the fourth connection module 209 is configured to perform network connection based on the wireless signal when it is detected that the page status of the specified webpage is not in the designated state.
  • the apparatus further includes:
  • connection module 210 is configured to attach or link to the non-cellular network based on the wireless signal when the service status does not meet the first preset condition;
  • the fourth monitoring module 211 is configured to continue to monitor the service status
  • the fifth connection module 212 is configured to perform network connection when the service status is monitored to meet the first preset condition.
  • the first connection module 203 includes:
  • connection sub-module 2031 is configured to attach or link to the non-cellular network based on the wireless signal when the service status meets the first preset condition;
  • the determining sub-module 2032 is configured to determine whether the data service can be processed by the non-cellular network without cutting the cellular network;
  • the first connection submodule 2033 is configured to switch a network connection manner from the cellular network to the non-cellular network when the data service can be processed, and perform network connection based on the wireless signal.
  • the first connection module 203 includes:
  • the obtaining sub-module 2034 is configured to acquire a network state when the service state meets the first preset condition, where the network state includes a current signal strength of the cellular network, a current transmission speed of the cellular network, and a current signal of the wireless signal. At least one of strengths;
  • the eighth determining sub-module 2035 is configured to determine whether the network status meets a third preset condition, where the third preset condition includes that the current signal strength of the cellular network is less than a first preset intensity threshold, and a current transmission speed of the cellular network. And less than a preset transmission speed and a current signal strength of the wireless signal is greater than at least one of a second preset intensity threshold;
  • the second connection sub-module 2036 is configured to switch the network connection mode from the cellular network to the non-cellular network when the network status meets the third preset condition, and perform network connection based on the wireless signal.
  • the terminal is in a state of network connection through a cellular network.
  • the wireless signal of the connectable non-cellular network it can be determined whether the service state of the currently processed data service meets the first preset condition, and when the first preset condition is met, the network connection is performed based on the wireless signal.
  • the service status is monitored.
  • the network connection is performed based on the wireless signal, thereby avoiding the data service caused by the switching of the network connection mode. The interruption ensures the smooth progress of the current data service, thereby improving the user's network experience.
  • the terminal can also acquire the network status before performing network connection based on the wireless network, it is further determined whether the network connection is performed based on the wireless signal, thereby improving the reliability of the network connection.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal includes: a processor 31, a receiver 32, a transmitter 33, a memory 34, and a bus 35.
  • the processor 31 includes one or more processing cores, and the processor 31 executes various functional applications and information processing by running software programs and modules.
  • the receiver 32 and the transmitter 33 can be implemented as a communication component.
  • the communication component can be a communication chip.
  • the communication chip can include a receiving module, a transmitting module, a modem module, etc., for modulating and/or decoding information. Adjust and receive or send this information via wireless signal.
  • the memory 34 is connected to the processor 31 via a bus 35.
  • Memory 34 can be used to store software programs as well as modules.
  • the memory 34 can store the application module 36 as described by at least one function.
  • the application module 36 can include a generation module 361, a transmission module 362, and a receiving module 363.
  • the processor 31 is configured to execute the generating module 361 to implement the functions related to the generating step in the foregoing various method embodiments; the processor 31 is configured to perform the sending 362 to implement the functions related to the transmitting step in the foregoing various method embodiments; the processor 31 is configured to The receiving module 363 is executed to implement the functions of the receiving steps in the various method embodiments described above.
  • memory 34 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable In addition to Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk
  • Disk Disk or Optical Disk
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

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

Abstract

本发明公开了一种网络连接方法及装置,属于终端技术领域。该方法包括:判断在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号;当检测到所述无线信号时,确定当前处理的数据业务的业务状态是否符合第一预设条件,所述第一预设条件是指在网络连接方式的切换过程中对所述数据业务的业务质量不会造成影响的条件;当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接。本发明可以判断当前处理的数据业务的业务状态是否符合第一预设条件,并在符合第一预设条件时,基于无线信号进行网络连接,从而避免了因网络连接方式的切换而导致数据业务的中断,保证了当前数据业务顺利进行,进而提高了用户的网络体验。

Description

网络连接方法及装置 技术领域
本发明实施例涉及终端技术领域,特别涉及一种网络连接方法及装置。
背景技术
目前,诸如智能手机、平板电脑等终端均可以连接网络,并通过网络处理各种类型的数据业务。其中,终端连接的网络可以为蜂窝网络或者诸如WLAN(Wireless LocalAreaNetworks,无线局域网)的非蜂窝网络,并且当终端在连接蜂窝网络的过程中移动到非蜂窝网络的覆盖区域时,终端可以自动地将网络连接方式从蜂窝网络切换到非蜂窝网络,从而通过非蜂窝网络进行网络连接。
在网络连接方式切换的过程中往往会造成网络连接的暂时中断,如果用户正在通过终端播放在线视频或者处理视频通信等数据业务,则可能导致该数据业务的中断,给用户带来不便,从而降低了用户的网络体验。以非蜂窝网络为WLAN为例,为了解决在网络连接方式切换过程中造成的网络中断的问题,通常将ANDSF(Access Network Discovery Selection Function,接入网发现与选择功能)技术、Hotspot2.0(无线热点)、LTE(Long Term Evolution,长期演进)技术和WLAN进行聚合,或者是将LTE与WLAN进行互操作来实现网络连接方式的切换。
但是,由于将ANDSF技术、Hotspot2.0、LTE技术和WLAN进行聚合,或者将LTE与WLAN进行互操作的技术过于复杂、对蜂窝网络与WLAN系统之间的耦合度要求很高等原因,上述技术通常只能使用在蜂窝网络运营商自营的WLAN网络上,从而限制了上述技术的使用范围。
发明内容
为了避免数据业务的业务状态在进行网络连接方式的切换时发生中断,本发明实施例提供了一种网络连接方法及装置。所述技术方案如下:
根据本发明实施例的第一方面,提供了一种网络连接方法,所述方法包括:
判断在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号;
当检测到所述无线信号时,确定当前处理的数据业务的业务状态是否符合 第一预设条件,所述第一预设条件是指在网络连接方式的切换过程中对所述数据业务的业务质量不会造成影响的条件;
当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接。
可选地,所述确定当前处理的数据业务的业务状态是否符合第一预设条件,包括如下方式中的至少一种:
当通过所述业务状态确定当前未传输网络数据时,确定所述业务状态符合所述第一预设条件;
当通过所述业务状态确定当前正在传输网络数据时,如果所述网络数据满足第二预设条件,则确定所述业务状态符合所述第一预设条件;
当通过所述业务状态确定当前正在运行应用程序时,如果所述应用程序不为指定应用程序,则确定所述业务状态符合所述第一预设条件;
当通过所述业务状态确定当前不存在待传输的网络数据时,确定所述业务状态符合所述第一预设条件;
当通过所述业务状态确定当前存在待传输的网络数据时,如果当前时间与所述待传输的网络数据的传输起始时间之间的传输时间间隔大于预设时间间隔,则确定所述业务状态符合所述第一预设条件;
当通过所述业务状态确定当前未打开指定网页时,确定所述业务状态符合所述第一预设条件;
当通过所述业务状态确定当前已打开指定网页时,如果所述指定网页的页面状态当前未处于指定状态,则确定所述业务状态符合所述第一预设条件。
可选地,所述如果所述网络数据满足第二预设条件,则确定所述业务状态符合所述第一预设条件,包括如下方式中的至少一种:
如果所述网络数据的数据类型不为指定类型,则确定所述业务状态符合所述第一预设条件;
如果所述网络数据不为所述指定应用程序的数据,则确定所述业务状态符合所述第一预设条件;
如果所述网络数据的传输速率小于预设速率阈值,则确定所述业务状态符合所述第一预设条件。
可选地,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
当所述业务状态不符合所述第一预设条件,且通过所述业务状态确定当前正在传输网络数据或存在待传输的网络数据时,对所述网络数据的传输过程进行监测;
当监测到所述网络数据结束传输,或者当所述网络数据的传输周期大于预设传输周期时,基于所述无线信号进行网络连接。
可选地,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
当所述业务状态不符合所述第一预设条件,且通过所述业务状态确定当前正在运行指定应用程序时,对所述指定应用程序的运行状态进行监测;
当监测到所述指定应用程序停止运行时,基于所述无线信号进行网络连接。
可选地,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
当所述业务状态不符合所述第一预设条件、通过所述业务状态确定当前已打开指定网页且所述指定网页的页面状态当前处于指定状态时,对所述指定网页的页面状态进行监测;
当监测到所述指定网页的页面状态未处于所述指定状态时,基于所述无线信号进行网络连接。
可选地,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
当所述业务状态不符合所述第一预设条件时,基于所述无线信号,附着或联结到所述非蜂窝网络;
对所述业务状态继续进行监测;
当监测到所述业务状态符合所述第一预设条件时,进行网络连接。
可选地,所述当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接,包括:
当所述业务状态符合所述第一预设条件时,基于所述无线信号,附着或联结到所述非蜂窝网络;
在不切断所述蜂窝网络的情况下,判断通过所述非蜂窝网络是否能够处理数据业务;
当能够处理数据业务时,将网络连接方式从所述蜂窝网络切换到所述非蜂 窝网络,并基于所述无线信号进行网络连接。
可选地,所述当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接,包括:
当所述业务状态符合所述第一预设条件时,获取网络状态,所述网络状态包括所述蜂窝网络的当前信号强度、所述蜂窝网络的当前传输速度、所述无线信号的当前信号强度中的至少一个;
确定所述网络状态是否符合第三预设条件,所述第三预设条件包括所述蜂窝网络的当前信号强度小于第一预设强度阈值、所述蜂窝网络的当前传输速度小于预设传输速度和所述无线信号的当前信号强度大于第二预设强度阈值中的至少一个;
当所述网络状态符合所述第三预设条件时,将网络连接方式从所述蜂窝网络切换到所述非蜂窝网络,并基于所述无线信号进行网络连接。
根据本发明实施例的第二方面,提供了一种网络连接装置,所述网络连接装置包括至少一个模块,该至少一个模块用于实现上述第一方面或第一方面中任意一种可能的实现方式所提供的网络连接方法。
根据本发明实施例的第三方面,提供了一种终端,该终端包括:发射器、接收器、存储器和处理器,所述存储器、所述发送器和所述接收器分别与所述处理器连接,所述存储器存储有程序代码,所述处理器用于调用程序代码,执行上述第一方面所述的网络连接方法。
根据本发明实施例的第四方面,提供了一种计算机可读介质,所述计算机可读介质存储有一个或一个以上的指令,所述指令用于实现上述第一方面或第一方面中任意一种可能的实现方式所提供的网络连接方法。
本发明实施例提供的技术方案带来的有益效果是:在本发明实施例中,在通过蜂窝网络进行网络连接的状态下检测到可连接的非蜂窝网络的无线信号时,为了避免因网络连接方式的切换而导致的数据业务中断,可以确定当前处理的数据业务的业务状态是否符合第一预设条件。由于该第一预设条件为在网络连接方式的切换过程中对该数据业务的业务质量不会造成影响的条件,因此,可以在业务状态符合第一预设条件时,基于无线信号进行网络连接,从而 保证了当前数据业务的顺利进行。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种网络连接方法的流程图;
图2A是本发明实施例提供的第一种网络连接装置的结构示意图;
图2B是本发明实施例提供的一种确定模块的结构示意图;
图2C是本发明实施例提供的第二种网络连接装置的结构示意图;
图2D是本发明实施例提供的第三种网络连接装置的结构示意图;
图2E是本发明实施例提供的第四种网络连接装置的结构示意图;
图2F是本发明实施例提供的第五种网络连接装置的结构示意图;
图2G是本发明实施例提供的一种第一连接模块的结构示意图;
图2H是本发明实施例提供的另一种第一连接模块的结构示意图;
图3是本发明实施例提供的一种终端的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
在本文提及的“模块”通常是指存储在存储器中的能够实现某些功能的程序或指令;在本文中提及的“子模块”通常是指按照逻辑划分的功能性结构,该“子模块”可以由纯硬件实现,或者,软硬件的结合实现。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
在对本发明实施例进行详细地解释说明之前,先对本发明实施例的应用场景予以介绍。目前,当终端在连接蜂窝网络的过程中移动到可连接的非蜂窝网 络的覆盖区域时,该终端可以自动地将网络连接方式从蜂窝网络切换到非蜂窝网络。但是,由于在网络连接方式切换的过程中往往会造成网络连接的暂时中断,如果用户正在通过终端处理数据业务,则可能导致该数据业务的中断,给用户带来不便。比如,该终端正在通过蜂窝网络播放在线视频或者处理视频通信时,在进行网络连接方式的切换时,该在线视频的播放可能会发生中断,或者,该视频通信可能会发生中断。但是,目前解决该问题的技术过于复杂,且在技术的应用上有过多的限制,导致进行网络连接方式的切换效率低。因此,本发明实施例提供了一种网络连接的方法,该方法可以避免因网络连接方式的切换而导致的数据业务中断,从而可以保证当前数据业务的顺利进行。
图1是本发明实施例提供的一种网络连接方法的流程图,参见图1,该方法包括如下步骤。
步骤101:终端判断在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号。
其中,该无线信号可以是WIFI(Wireless Fidelity,无线保真)信号,也可以是非蜂窝网络的其他无线信号。
需要说明的是,终端判断是否检测到可连接的非蜂窝网络的无线信号的操作可以参考相关技术,本发明实施例对此不再进行一一赘述。
另外,当检测到该无线信号时,由于该终端按照下述步骤102-步骤103的操作确定是否基于该无线信号进行网络连接时,可能会出现不进行网络连接方式切换的情况。但是为了节省蜂窝网络的消耗,用户可能会急切的希望进行网络连接方式的切换,此时该终端还可以通过震动、响铃、弹框等方式提示用户已检测到该无线信号,从而使用户在接收到该提示信息时,能够手动进行网络连接方式的切换。
步骤102:当终端检测到该无线信号时,确定当前处理的数据业务的业务状态是否符合第一预设条件,该第一预设条件是指在网络连接方式的切换过程中对该数据业务的业务质量不会造成影响的条件。
需要说明的是,数据业务是指终端能够通过网络进行处理的业务,比如,语音通话、视频通话、视频播放上传或下载等等。该业务状态是指终端对数据业务进行处理时所处的状态。另外,该第一预设条件可以事先设置,比如,该第一预设条件可以包括当前未传输网络数据、当前未运行指定应用程序、当前 不存在待传输的网络数据等等中的至少一个。
其中,终端确定当前处理的数据业务的业务状态是否符合第一预设条件的操作可以包括如下方式中的至少一种:
第一种方式,当终端通过该业务状态确定当前未传输网络数据时,确定该业务状态符合该第一预设条件。
其中,当该终端当前未传输网络数据时,由网络连接方式的切换,导致的网络中断将不会对终端产生影响,因此,当终端通过该业务状态确定当前未传输网络数据时,可以确定该业务状态符合该第一预设条件。
需要说明的是,网络数据可以包括终端通过网络传输的视频数据、音频数据、图像数据等等。当前未传输网络数据可以是指终端当前未通过蜂窝网络进行任何数据的传输。比如,该终端当前未传输网络数据可以包括终端当前未通过网络进行语音通话、未通过网络进行视频通话、未通过网络进行视频播放或视频下载等等。
第二种方式,当终端通过该业务状态确定当前正在传输网络数据时,如果该网络数据满足第二预设条件,则确定该业务状态符合该第一预设条件。
其中,由于终端通过该业务状态确定当前正在传输网络数据时,当前传输的网络数据可能不是用户重视的数据,如果网络发生中断,对用户来说也不会觉得上网体验受到影响。因此,为了进一步判断该业务状态是否符合该第一预设条件,该终端还可以判断网络数据是否满足第二预设条件,具体操作可以包括如下(1)-(3)方式中的至少一种:
(1)如果该网络数据的数据类型不为指定类型,则确定该业务状态符合该第一预设条件。
(2)如果该网络数据不为该指定应用程序的数据,则确定该业务状态符合该第一预设条件。
(3)如果该网络数据的传输速率小于预设速率阈值,则确定该业务状态符合该第一预设条件。
需要说明的是,该指定类型可以为事先设置的类型,比如该指定类型可以为视频、音频、图像等等。该指定应用程序同样可以事先设置,比如,该指定应用程序可以为即时通信应用程序、视频播放应用程序等等,且设置的指定应用程序的个数可以是一个也可以是多个。该预设速率阈值同样可以事先设置,比如,该预设速率阈值可以为20比特/秒、30比特/秒等等。
第三种方式,当终端通过该业务状态确定当前正在运行应用程序时,如果该应用程序不为指定应用程序,则确定该业务状态符合该第一预设条件。
其中,当该终端通过该业务状态确定当前正在运行应用程序时,由网络连接方式的切换,导致的网络中断只会对当前运行的应用程序造成影响,如果该应用程序不为指定应用程序,则该网络中断不会对该指定应用程序产生影响,因此,当终端通过该业务状态确定当前正在运行应用程序,且该应用程序不为指定应用程序时,可以确定该业务状态符合该第一预设条件。
比如,当指定应用程序为视频播放应用程序,且当当前正在运行的应用程序为即时通信应用程序时,则确定业务状态符合第一预设条件。
第四种方式,当终端通过该业务状态确定当前不存在待传输的网络数据时,确定该业务状态符合该第一预设条件。
需要说明的是,待传输的网络数据可以是指从传输起始时间开始传输的网络数据,且该待传输的网络数据可以包括终端操作系统的缓存数据、指定应用程序的缓存数据、蜂窝网络调制解调器的缓存数据等等。
其中,由于当该终端通过该业务状态确定当前不存在待传输的网络数据时,无论是否会发生网络中断,都不会给终端带来影响,因此,当终端通过该业务状态确定当前不存在待传输的网络数据时,可以确定该业务状态符合该第一预设条件。
第五种方式,当通过该业务状态确定当前存在待传输的网络数据时,如果当前时间与该待传输的网络数据的传输起始时间之间的传输时间间隔大于预设时间间隔,则确定该业务状态符合该第一预设条件。
其中,由于当该当前时间与该待传输的网络数据的传输起始时间之间的传输时间间隔大于预设时间间隔,由网络连接方式的切换造成网络的暂时中断将不会影响后续对待传输的网络数据的传输,因此,当该传输时间间隔大于该预设时间间隔时,确定该业务状态符合该第一预设条件。
需要说明的是,该预设时间间隔可以事先设置,比如,该预设时间间隔为30秒、1分钟、2分钟等等。
第六种方式,当终端通过该业务状态确定当前未打开指定网页时,确定该业务状态符合该第一预设条件。
其中,当终端通过该业务状态确定当前未打开指定网页时,由网络连接方式的切换而导致的网络中断不会对该指定网页产生影响,因此,可以确定该业 务状态符合该第一预设条件。
需要说明的是,该指定网页可以事先设置,比如,该指定网页可以是购物网页、银行官网等等。
比如,当该指定网页为购物网页,当前打开的网页为游戏网页,则该终端确定该业务状态符合第一预设条件。
第七种方式,当终端通过该业务状态确定当前已打开指定网页时,如果该指定网页的页面状态当前未处于指定状态,则确定该业务状态符合该第一预设条件。
其中,由于终端通过该业务状态确定当前已打开指定网页时,网络的暂时中断可能不会对该指定网页造成任何影响,因此,该终端可以通过该指定网页的页面状态,进一步的确定该业务状态是否符合第一预设条件。另外,该指定状态可以事先设置,比如,该指定状态可以为网上购物待付款状态、网上银行待确定状态等等。
需要说明的是,基于上述至少一种方式的判断结果,当该业务状态符合第一预设条件时,该终端可以执行下述步骤203的操作。
另外,终端确定该业务状态不符合该第一预设条件的操作可以包括如下方式中的至少一种:
第一种方式,当该终端通过该业务状态确定当前正在传输网络数据时,如果该正在传输的网络数据不满足第二预设条件,则确定该业务状态不符合该第一预设条件。
其中,由于当前传输的网络数据可能不是用户重视的数据,如果网络发生中断,对用户来说也不会觉得上网体验受到影响,而当该网路数据是重要数据时,如果网络发生中断,则可能会造成较大的影响,用户的上网体验较差。因此,终端还可以确定该正在传输的网络数据是否满足第二预设条件,当该正在传输的网络数据不满足第二预设条件的情况时,确定该业务状态不符合该第一预设条件。而终端确定正在传输的网络数据不满足第二预设条件,以确定该业务状态不符合该第一预设条件的操作可以包括下述(1)-(3)方式中的至少一种:
(1)如果该网络数据的数据类型不为指定类型,则确定该业务状态不符合该第一预设条件。
(2)如果该网络数据不为该指定应用程序的数据,则确定该业务状态不 符合该第一预设条件。
(3)如果该网络数据的传输速率小于预设速率阈值,则确定该业务状态不符合该第一预设条件。
值得说明的是,当该终端通过该业务状态确定当前正在传输网络数据时,该终端还可以直接确定该业务状态不符合第一预设条件。但是如果终端直接确定该业务状态不符合第一预设条件,则该终端可能不会进行网络连接方式的切换,依旧会通过蜂窝网络进行网络数据的传输。如果终端当前进行诸如视频下载等耗费网络的数据业务时,可能会对蜂窝网络造成浪费。因此,通常情况下,终端可以通过上述第一种方式的操作确定该业务状态不符合该第一预设条件,从而节省了对该蜂窝网络的消耗。
第二种方式,当终端通过该业务状态确定当前正在运行应用程序时,如果该应用程序为指定应用程序,则确定该业务状态不符合该第一预设条件。
其中,由于当该终端通过该业务状态确定当前正在运行应用程序时,由网络连接方式的切换,导致的网络中断会对当前运行的应用程序造成影响,如果该应用程序为指定应用程序,则该网络中断将会对该指定应用程序产生影响,因此,当终端通过该业务状态确定当前正在运行应用程序,且该应用程序为指定应用程序时,可以确定该业务状态不符合该第一预设条件。
比如,当指定应用程序为视频播放应用程序,且当当前正在运行的应用程序为视频播放应用程序时,则确定业务状态不符合第一预设条件。
第三种方式,当终端通过该业务状态确定当前存在待传输的网络数据时,如果该传输时间间隔小于或等于该预设时间间隔,由网络连接方式的切换造成的网络的暂时中断可能会影响到该待传输的网络数据进行传输,因此,当该传输时间间隔小于或等于该预设时间间隔时,确定该业务状态不符合该第一预设条件。
比如,当该传输起始时间为当前时间且该指定时间间隔为30秒时,如果此时对网络连接的方式进行切换,则会导致无法对该网络数据进行传输,因此,确定该业务状态不符合该第一预设条件。
值得说明的是,当该终端通过该业务状态确定当前存在待传输的网络数据时,直接确定该业务状态不符合该第一预设条件。但是如果终端直接确定该业务状态不符合该第一预设条件,则该终端可能不会进行网络连接方式的切换,依旧会通过蜂窝网络进行其他数据业务的处理,造成蜂窝网络的浪费。同时, 当该传输时间间隔大于该预设时间间隔时,当前无论是否发生网络中断,都不会影响后续对该待传输的网络数据进行传输。因此,通常情况下,终端可以通过上述第三种方式的操作确定该业务状态不符合该第一预设条件,从而节省对该蜂窝网络的消耗。
第四种方式,当终端通过该业务状态确定当前打开指定网页时,暂时的网络中断对该指定网页影响较小,不会影响到终端后续对该指定网页进行的操作,因此,该终端可以继续确定该指定网页的页面状态是否处于指定状态。如果该指定网页的页面状态当前处于指定状态,则确定该业务状态不符合该第一预设条件。
值得说明的是,当该当终端通过该业务状态确定当前打开指定网页时,该终端可以直接确定当前的业务状态不符合该第一预设条件。由于当该当终端通过该业务状态确定当前打开指定网页时,暂时的网络中断对该指定网页影响较小,如果终端直接确定当前的业务状态不符合该第一预设条件,则该终端可能不会进行网络连接方式的切换,依旧会通过蜂窝网络进行其他数据业务的处理,从而造成对蜂窝网络的浪费。因此,在通常情况下,终端可以通过上述第四种方式的操作确定该业务状态不符合该第一预设条件,从而节省对该蜂窝网络的消耗。
需要说明的是,基于上述至少一种方式的判断结果,当该业务状态不符合该第一预设条件时,该终端可以执行下述步骤204的操作。
步骤103:当该业务状态符合该第一预设条件时,终端基于该无线信号进行网络连接。
其中,当该业务状态符合该第一预设条件时,该终端可以直接基于该无线信号进行网络连接。当然,有时非蜂窝网络的网络状态不佳,导致终端连接至该非蜂窝网络之后处理数据业务的效率降低。或者,可能还会出现当该终端连接到该非蜂窝网络后,却无法处理数据业务的情况。因此,为了避免上述情况的发生,当该业务状态符合该第一预设条件时,该终端基于该无线信号进行网络连接的方式还可以包括如下两种方式。
(1)、当该业务状态符合该第一预设条件时,该终端可以基于该无线信号,附着或联结到该非蜂窝网络;在不切断该蜂窝网络的情况下,判断通过该非蜂窝网络是否能够处理数据业务;当能够处理数据业务时,将网络连接方式从该蜂窝网络切换到该非蜂窝网络,并基于该无线信号进行网络连接。
其中,该终端可以在不切断该蜂窝网络的情况下,通过非蜂窝网络进行数据的传输,判断该数据是否能够成功传输,当该数据能够成功传输时,确定通过该非蜂窝网络终端能够处理数据业务,当该数据不能够成功传输时,确定通过该非蜂窝网络终端不能够处理数据业务。
需要说明的是,终端不仅可以通过上述方式在不切断该蜂窝网络的情况下,判断通过该非蜂窝网络是否能够处理数据业务,还可以通过其他方式进行判断。
值得说明的是,通过上述第一种方式,可以避免终端连接到该非蜂窝网络却不能处理数据业务的情况发生,从而提高了用户的网络体验。
另外,当终端确定通过该非蜂窝网络不能够处理数据业务时,则不进行网络切换。
(2)、当该业务状态符合该第一预设条件时,该终端可以获取网络状态,该网络状态包括该蜂窝网络的当前信号强度、该蜂窝网络的当前传输速度、该无线信号的当前信号强度中的至少一个;确定该网络状态是否符合第三预设条件,该第三预设条件包括该蜂窝网络的当前信号强度小于第一预设强度阈值、该蜂窝网络的当前传输速度小于预设传输速度和该无线信号的当前信号强度大于第二预设强度阈值中的至少一个;当该网络状态符合该第三预设条件时,将网络连接方式从该蜂窝网络切换到该非蜂窝网络,并基于该无线信号进行网络连接。
其中,当蜂窝网络的信号强度或者传输速度较低时,可能会影响到终端当前对数据业务的处理效率,从而降低用户的网络体验。另外,当非蜂窝网络的信号强度较低时,如果终端在该较低的信号强度下接入该非蜂窝网络,后续可能会出现网络中断的情况,导致终端无法进行数据业务的处理,同样也降低了用户的网络体验。因此,当该业务状态符合该第一预设条件时,该终端还可以获取网络状态,并根据该网络状态进一步判断是否基于该无线信号进行网络连接。
需要说明的是,第一预设强度阈值可以事先设置,比如该第一预设强度阈值可以为30db(分贝)、40db等等。该第二预设强度阈值同样可以事先设置,比如,该第二预设强度可以为50db、60db等等。该预设传输速度同样可以事先设置,比如,该预设传输速度可以为20kb/s、30kb/s等等。
另外,在实际应用中,该网络状态不仅可以包括该蜂窝网络的当前信号强 度、该蜂窝网络的当前传输速度、该无线信号的当前信号强度中的至少一个,该网络状态还可以包括蜂窝网络的制式、非蜂窝网络的制式等等。该蜂窝网络的制式可以包括4G LTE、3G WCDMA(Wideband Code Division Multiple Access,宽带码分多址)/TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,中文名:时分-同步码分多址)/CDMA2000(Code Division Multiple Access,码分多址2000)等等,该非蜂窝网络的制式可以包括IEEE802.11a/b/g/n/ac/ad(Institute ofElectrical and Electronics Engineers,国际电工电子工程学会802.11a/b/g/n/ac/ad)等等。
其中,当该网络状态包括该蜂窝网络的制式和非蜂窝网络的制式时,根据存储的蜂窝网路的制式与该非蜂窝网路的制式之间的匹配关系,判断该蜂窝网络的制式与该无线信号对应的非蜂窝网络的制式是否匹配,当该蜂窝网络的制式与该无线信号对应的非蜂窝网络的制式匹配时,将网络连接方式从该蜂窝网络切换到该非蜂窝网络,并基于该无线信号进行网络连接。
需要说明的是,该蜂窝网路的制式与该非蜂窝网路的制式之间的匹配关系可以事先设置,比如,该蜂窝网路的制式与该非蜂窝网路的制式之间的匹配关系包括:该蜂窝网络的制式4G LTE与非蜂窝网络的制式IEEE802.11ac相匹配,该蜂窝网络的制式3GWCDMA与非蜂窝网络的制式IEEE802.11g相匹配等等。
比如,该蜂窝网络的制式为4G LTE时,由于与该蜂窝网络的制式4G LTE相匹配的非蜂窝网络的制式为IEEE802.11ac,如果该无线信号的对应的非蜂窝网络的制式为IEEE802.11ac,则该终端确定该蜂窝网络的制式与该非蜂窝网络的制式匹配,将网络连接方式从该蜂窝网络切换到该非蜂窝网络,并基于该无线信号进行网络连接。
步骤104:当该业务状态不符合第一预设条件时,该终端不对网络连接方式进行切换,并继续通过蜂窝网络对当前的数据业务进行处理。
其中,由于当业务状态不符合第一预设条件时,如果该终端直接进行网络连接方式的切换,则会导致网络中断,从而影响终端进行数据业务的处理。因此,当该业务状态不符合第一预设条件时,该终端可以继续对当前的数据业务进行处理,无需通过该无线信号进行网络连接。
进一步地,为了避免用户对蜂窝网络的消耗,以及为了提高用户的网络体验,当该业务状态不符合第一预设条件时,该终端还可以在如下至少一种情况下,基于该无线信号进行网络连接。
第一种情况,当该业务状态不符合该第一预设条件,且终端通过该业务状态确定当前正在传输网络数据或存在待传输的网络数据时,对该网络数据的传输过程进行监测;当监测到该网络数据结束传输,或者当该网络数据的传输周期大于预设传输周期时,基于该无线信号进行网络连接。
其中,由于当网络数据完成传输,发生网络中断也不会造成任何影响,因此,终端可以在监测到该网络数据结束传输时,基于该无线信号进行网络连接。另外,当该数据传输的周期较长时,证明网络数据的传输基本完成,此时如果发生网络中断,则将不会在影响到网络数据的传输,因此,本发明实施例中,可以在该网络数据的传输周期大于预设传输周期时,基于该无线信号进行网络连接。
需要说明的是,该预设传输周期可以事先设置,比如,该预设传输周期可以为100ms(毫秒)、200ms等等。
第二种情况,当该业务状态不符合该第一预设条件,且终端通过该业务状态确定当前正在运行指定应用程序时,可以对该指定应用程序的运行状态进行监测;当监测到该指定应用程序停止运行时,基于该无线信号进行网络连接。
需要说明的是,终端对该指定应用程序的运行状态进行监测的操作可以参考相关技术,本发明实施例对此不再进行一一赘述。
第三种情况,当该业务状态不符合该第一预设条件、终端通过该业务状态确定当前已打开指定网页且该指定网页的页面状态当前处于指定状态时,对该指定网页的页面状态进行监测;当监测到该指定网页的页面状态未处于该指定状态时,基于该无线信号进行网络连接。
值得说明的是,通过上述至少一种情况,终端可以不中断当前处理的数据业务,而是在结束当前处理的数据业务后,基于该无线信号进行网络连接,从而避免了因网络连接方式的切换而导致的数据业务中断,保证当前的数据业务顺利的处理,提高了用户的网络体验。同时,该终端也为后续上网节省了对蜂窝网络的消耗。
进一步地,当该业务状态不符合该第一预设条件时,该终端还可以基于该无线信号,附着或联结到该非蜂窝网络;对该业务状态继续进行监测;当监测到该业务状态符合该第一预设条件时,进行网络连接。
其中,该终端可以对该业务状态实时进行监测,也可以在确定该业务状态不符合该第一预设条件的指定时长后,对该业务状态进行监测。并重新执行步 骤102的操作,以判断该业务状态是否符合该第一预设条件。该指定时长可以事先设置,比如,该指定时长可以为1分钟、5分钟、10分钟等等。
值得说明的是,该终端基于该无线信号,先附着或联结到该非蜂窝网络,并在该业务状态符合该第一预设条件时,继续进行网络连接,而无需再次进行附着或联结的操作,从而提高了网络连接的速度。
在本发明实施例中,终端在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号时,可以判断当前处理的数据业务的业务状态是否符合第一预设条件,并在符合第一预设条件时,基于无线信号进行网络连接。当不符合该第一预设条件时,对该业务状态进行监测,当检测到该当前数据业务处理完毕时,基于无线信号进行网络连接,从而避免了因网络连接方式的切换而导致数据业务的中断,保证了当前数据业务的顺利进行,进而提高了用户的网络体验。另外,由于在基于该无线网络进行网络连接之前,该终端还可以获取网络状态,通过该网络状态进一步确定是否基于该无线信号进行网络连接,从而提高了网络连接的可靠性。
图2A是本发明实施例提供的一种网络连接装置,参见图2A,该装置包括:判断模块201、确定模块202和第一连接模块203。
判断模块201,用于判断在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号;
确定模块202,用于当检测到该无线信号时,确定当前处理的数据业务的业务状态是否符合第一预设条件,该第一预设条件是指在网络连接方式的切换过程中对该数据业务的业务质量不会造成影响的条件;
第一连接模块203,用于当该业务状态符合该第一预设条件时,基于该无线信号进行网络连接。
可选地,参见图2B,该确定模块202包括如下子模块中的至少一种:
第一确定子模块2021,用于当通过该业务状态确定当前未传输网络数据时,确定该业务状态符合该第一预设条件;
第二确定子模块2022,用于当通过该业务状态确定当前正在传输网络数据时,如果该网络数据满足第二预设条件,则确定该业务状态符合该第一预设条件;
第三确定子模块2023,用于当通过该业务状态确定当前正在运行应用程序 时,如果该应用程序不为指定应用程序,则确定该业务状态符合该第一预设条件;
第四确定子模块2024,用于当通过该业务状态确定当前不存在待传输的网络数据时,确定该业务状态符合该第一预设条件;
第五确定子模块2025,用于当通过该业务状态确定当前存在待传输的网络数据时,如果当前时间与该待传输的网络数据的传输起始时间之间的传输时间间隔大于预设时间间隔,则确定该业务状态符合该第一预设条件;
第六确定子模块2026,用于当通过该业务状态确定当前未打开指定网页时,确定该业务状态符合该第一预设条件;
第七确定子模块2027,用于当通过该业务状态确定当前已打开指定网页时,如果该指定网页的页面状态当前未处于指定状态,则确定该业务状态符合该第一预设条件。
可选地,该第二确定子模块2022用于执行如下方式中的至少一种:
如果该网络数据的数据类型不为指定类型,则确定该业务状态符合该第一预设条件;
如果该网络数据不为该指定应用程序的数据,则确定该业务状态符合该第一预设条件;
如果该网络数据的传输速率小于预设速率阈值,则确定该业务状态符合该第一预设条件。
可选地,参见图2C,该装置还包括:
第一监测模块204,用于当该业务状态不符合该第一预设条件,且通过该业务状态确定当前正在传输网络数据或存在待传输的网络数据时,对该网络数据的传输过程进行监测;
第二连接模块205,用于当监测到该网络数据结束传输,或者当该网络数据的传输周期大于预设传输周期时,基于该无线信号进行网络连接。
可选地,参见图2D,该装置还包括:
第二监测模块206,用于当该业务状态不符合该第一预设条件,且通过该业务状态确定当前正在运行指定应用程序时,对该指定应用程序的运行状态进行监测;
第三连接模块207,用于当监测到该指定应用程序停止运行时,基于该无线信号进行网络连接。
可选地,参见图2E,该装置还包括:
第三监测模块208,用于当该业务状态不符合该第一预设条件、通过该业务状态确定当前已打开指定网页且该指定网页的页面状态当前处于指定状态时,对该指定网页的页面状态进行监测;
第四连接模块209,用于当监测到该指定网页的页面状态未处于该指定状态时,基于该无线信号进行网络连接。
可选地,参见图2F,该装置还包括:
联结模块210,用于当该业务状态不符合该第一预设条件时,基于该无线信号,附着或联结到该非蜂窝网络;
第四监测模块211,用于对该业务状态继续进行监测;
第五连接模块212,用于当监测到该业务状态符合该第一预设条件时,进行网络连接。
可选地,参见图2G,该第一连接模块203包括:
联结子模块2031,用于当该业务状态符合该第一预设条件时,基于该无线信号,附着或联结到该非蜂窝网络;
判断子模块2032,用于在不切断该蜂窝网络的情况下,判断通过该非蜂窝网络是否能够处理数据业务;
第一连接子模块2033,用于当能够处理数据业务时,将网络连接方式从该蜂窝网络切换到该非蜂窝网络,并基于该无线信号进行网络连接。
可选地,参见图2H,该第一连接模块203包括:
获取子模块2034,用于当该业务状态符合该第一预设条件时,获取网络状态,该网络状态包括该蜂窝网络的当前信号强度、该蜂窝网络的当前传输速度、该无线信号的当前信号强度中的至少一个;
第八确定子模块2035,用于确定该网络状态是否符合第三预设条件,该第三预设条件包括该蜂窝网络的当前信号强度小于第一预设强度阈值、该蜂窝网络的当前传输速度小于预设传输速度和该无线信号的当前信号强度大于第二预设强度阈值中的至少一个;
第二连接子模块2036,用于当该网络状态符合该第三预设条件时,将网络连接方式从该蜂窝网络切换到该非蜂窝网络,并基于该无线信号进行网络连接。
综上所述,在本发明实施例中,终端在通过蜂窝网络进行网络连接的状态 下是否检测到可连接的非蜂窝网络的无线信号时,可以判断当前处理的数据业务的业务状态是否符合第一预设条件,并在符合第一预设条件时,基于无线信号进行网络连接。当不符合该第一预设条件时,对该业务状态进行监测,当检测到该当前数据业务处理完毕时,基于无线信号进行网络连接,从而避免了因网络连接方式的切换而导致数据业务的中断,保证了当前数据业务的顺利进行,进而提高了用户的网络体验。另外,由于在基于该无线网络进行网络连接之前,该终端还可以获取网络状态,通过该网络状态进一步确定是否基于该无线信号进行网络连接,从而提高了网络连接的可靠性。
图3是本发明实施例示例的一种终端的结构示意图,该终端包括:处理器31、接收器32、发射器33、存储器34和总线35。
处理器31包括一个或者一个以上处理核心,处理器31通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。
接收器32和发射器33可以实现为一个通信组件,该通信组件可以是一块通信芯片,通信芯片中可以包括接收模块、发射模块和调制解调模块等,用于对信息进行调制和/或解调,并通过无线信号接收或发送该信息。
存储器34通过总线35与处理器31相连。
存储器34可用于存储软件程序以及模块。
存储器34可存储至少一个功能所述的应用程序模块36。应用程序模块36可以包括:生成模块361、发送模块362和接收模块363。
处理器31用于执行生成模块361以实现上述各个方法实施例中有关生成步骤的功能;处理器31用于执行发送362以实现上述各个方法实施例中有关发送步骤的功能;处理器31用于执行接收模块363以实现上述各个方法实施例中有关接收步骤的功能。
此外,存储器34可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随时存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软 件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (18)

  1. 一种网络连接方法,其特征在于,所述方法包括:
    判断在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号;
    当检测到所述无线信号时,确定当前处理的数据业务的业务状态是否符合第一预设条件,所述第一预设条件是指在网络连接方式的切换过程中对所述数据业务的业务质量不会造成影响的条件;
    当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接。
  2. 根据权利要求1所述的方法,其特征在于,所述确定当前处理的数据业务的业务状态是否符合第一预设条件,包括如下方式中的至少一种:
    当通过所述业务状态确定当前未传输网络数据时,确定所述业务状态符合所述第一预设条件;
    当通过所述业务状态确定当前正在传输网络数据时,如果所述网络数据满足第二预设条件,则确定所述业务状态符合所述第一预设条件;
    当通过所述业务状态确定当前正在运行应用程序时,如果所述应用程序不为指定应用程序,则确定所述业务状态符合所述第一预设条件;
    当通过所述业务状态确定当前不存在待传输的网络数据时,确定所述业务状态符合所述第一预设条件;
    当通过所述业务状态确定当前存在待传输的网络数据时,如果当前时间与所述待传输的网络数据的传输起始时间之间的传输时间间隔大于预设时间间隔,则确定所述业务状态符合所述第一预设条件;
    当通过所述业务状态确定当前未打开指定网页时,确定所述业务状态符合所述第一预设条件;
    当通过所述业务状态确定当前已打开指定网页时,如果所述指定网页的页面状态当前未处于指定状态,则确定所述业务状态符合所述第一预设条件。
  3. 根据权利要求2所述的方法,其特征在于,所述如果所述网络数据满足第二预设条件,则确定所述业务状态符合所述第一预设条件,包括如下方式中 的至少一种:
    如果所述网络数据的数据类型不为指定类型,则确定所述业务状态符合所述第一预设条件;
    如果所述网络数据不为所述指定应用程序的数据,则确定所述业务状态符合所述第一预设条件;
    如果所述网络数据的传输速率小于预设速率阈值,则确定所述业务状态符合所述第一预设条件。
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
    当所述业务状态不符合所述第一预设条件,且通过所述业务状态确定当前正在传输网络数据或存在待传输的网络数据时,对所述网络数据的传输过程进行监测;
    当监测到所述网络数据结束传输,或者当所述网络数据的传输周期大于预设传输周期时,基于所述无线信号进行网络连接。
  5. 根据权利要求1-3任一所述的方法,其特征在于,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
    当所述业务状态不符合所述第一预设条件,且通过所述业务状态确定当前正在运行指定应用程序时,对所述指定应用程序的运行状态进行监测;
    当监测到所述指定应用程序停止运行时,基于所述无线信号进行网络连接。
  6. 根据权利要求1-3任一所述的方法,其特征在于,所述确定当前处理的数据业务的业务状态是否符合第一预设条件之后,还包括:
    当所述业务状态不符合所述第一预设条件、通过所述业务状态确定当前已打开指定网页且所述指定网页的页面状态当前处于指定状态时,对所述指定网页的页面状态进行监测;
    当监测到所述指定网页的页面状态未处于所述指定状态时,基于所述无线信号进行网络连接。
  7. 根据权利要求1-3任一所述的方法,其特征在于,所述确定当前处理的 数据业务的业务状态是否符合第一预设条件之后,还包括:
    当所述业务状态不符合所述第一预设条件时,基于所述无线信号,附着或联结到所述非蜂窝网络;
    对所述业务状态继续进行监测;
    当监测到所述业务状态符合所述第一预设条件时,进行网络连接。
  8. 根据权利要求1所述的方法,其特征在于,所述当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接,包括:
    当所述业务状态符合所述第一预设条件时,基于所述无线信号,附着或联结到所述非蜂窝网络;
    在不切断所述蜂窝网络的情况下,判断通过所述非蜂窝网络是否能够处理数据业务;
    当能够处理数据业务时,将网络连接方式从所述蜂窝网络切换到所述非蜂窝网络,并基于所述无线信号进行网络连接。
  9. 根据权利要求1所述的方法,其特征在于,所述当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接,包括:
    当所述业务状态符合所述第一预设条件时,获取网络状态,所述网络状态包括所述蜂窝网络的当前信号强度、所述蜂窝网络的当前传输速度、所述无线信号的当前信号强度中的至少一个;
    确定所述网络状态是否符合第三预设条件,所述第三预设条件包括所述蜂窝网络的当前信号强度小于第一预设强度阈值、所述蜂窝网络的当前传输速度小于预设传输速度和所述无线信号的当前信号强度大于第二预设强度阈值中的至少一个;
    当所述网络状态符合所述第三预设条件时,将网络连接方式从所述蜂窝网络切换到所述非蜂窝网络,并基于所述无线信号进行网络连接。
  10. 一种网络连接装置,其特征在于,所述装置包括:
    判断模块,用于判断在通过蜂窝网络进行网络连接的状态下是否检测到可连接的非蜂窝网络的无线信号;
    确定模块,用于当检测到所述无线信号时,确定当前处理的数据业务的业 务状态是否符合第一预设条件,所述第一预设条件是指在网络连接方式的切换过程中对所述数据业务的业务质量不会造成影响的条件;
    第一连接模块,用于当所述业务状态符合所述第一预设条件时,基于所述无线信号进行网络连接。
  11. 根据权利要求10所述的装置,其特征在于,所述确定模块包括如下子模块中的至少一种:
    第一确定子模块,用于当通过所述业务状态确定当前未传输网络数据时,确定所述业务状态符合所述第一预设条件;
    第二确定子模块,用于当通过所述业务状态确定当前正在传输网络数据时,如果所述网络数据满足第二预设条件,则确定所述业务状态符合所述第一预设条件;
    第三确定子模块,用于当通过所述业务状态确定当前正在运行应用程序时,如果所述应用程序不为指定应用程序,则确定所述业务状态符合所述第一预设条件;
    第四确定子模块,用于当通过所述业务状态确定当前不存在待传输的网络数据时,确定所述业务状态符合所述第一预设条件;
    第五确定子模块,用于当通过所述业务状态确定当前存在待传输的网络数据时,如果当前时间与所述待传输的网络数据的传输起始时间之间的传输时间间隔大于预设时间间隔,则确定所述业务状态符合所述第一预设条件;
    第六确定子模块,用于当通过所述业务状态确定当前未打开指定网页时,确定所述业务状态符合所述第一预设条件;
    第七确定子模块,用于当通过所述业务状态确定当前已打开指定网页时,如果所述指定网页的页面状态当前未处于指定状态,则确定所述业务状态符合所述第一预设条件。
  12. 根据权利要求11所述的装置,其特征在于,所述第二确定子模块用于执行如下方式中的至少一种:
    如果所述网络数据的数据类型不为指定类型,则确定所述业务状态符合所述第一预设条件;
    如果所述网络数据不为所述指定应用程序的数据,则确定所述业务状态符 合所述第一预设条件;
    如果所述网络数据的传输速率小于预设速率阈值,则确定所述业务状态符合所述第一预设条件。
  13. 根据权利要求10-12任一所述的装置,其特征在于,所述装置还包括:
    第一监测模块,用于当所述业务状态不符合所述第一预设条件,且通过所述业务状态确定当前正在传输网络数据或存在待传输的网络数据时,对所述网络数据的传输过程进行监测;
    第二连接模块,用于当监测到所述网络数据结束传输,或者当所述网络数据的传输周期大于预设传输周期时,基于所述无线信号进行网络连接。
  14. 根据权利要求10-12任一所述的装置,其特征在于,所述装置还包括:
    第二监测模块,用于当所述业务状态不符合所述第一预设条件,且通过所述业务状态确定当前正在运行指定应用程序时,对所述指定应用程序的运行状态进行监测;
    第三连接模块,用于当监测到所述指定应用程序停止运行时,基于所述无线信号进行网络连接。
  15. 根据权利要求10-12任一所述的装置,其特征在于,所述装置还包括:
    第三监测模块,用于当所述业务状态不符合所述第一预设条件、通过所述业务状态确定当前已打开指定网页且所述指定网页的页面状态当前处于指定状态时,对所述指定网页的页面状态进行监测;
    第四连接模块,用于当监测到所述指定网页的页面状态未处于所述指定状态时,基于所述无线信号进行网络连接。
  16. 根据权利要求10-12任一所述的装置,其特征在于,所述装置还包括:
    联结模块,用于当所述业务状态不符合所述第一预设条件时,基于所述无线信号,附着或联结到所述非蜂窝网络;
    第四监测模块,用于对所述业务状态继续进行监测;
    第五连接模块,用于当监测到所述业务状态符合所述第一预设条件时,进行网络连接。
  17. 根据权利要求10所述的装置,其特征在于,所述第一连接模块包括:
    联结子模块,用于当所述业务状态符合所述第一预设条件时,基于所述无线信号,附着或联结到所述非蜂窝网络;
    判断子模块,用于在不切断所述蜂窝网络的情况下,判断通过所述非蜂窝网络是否能够处理数据业务;
    第一连接子模块,用于当能够处理数据业务时,将网络连接方式从所述蜂窝网络切换到所述非蜂窝网络,并基于所述无线信号进行网络连接。
  18. 根据权利要求10所述的装置,其特征在于,所述第一连接模块包括:
    获取子模块,用于当所述业务状态符合所述第一预设条件时,获取网络状态,所述网络状态包括所述蜂窝网络的当前信号强度、所述蜂窝网络的当前传输速度、所述无线信号的当前信号强度中的至少一个;
    第八确定子模块,用于确定所述网络状态是否符合第三预设条件,所述第三预设条件包括所述蜂窝网络的当前信号强度小于第一预设强度阈值、所述蜂窝网络的当前传输速度小于预设传输速度和所述无线信号的当前信号强度大于第二预设强度阈值中的至少一个;
    第二连接子模块,用于当所述网络状态符合所述第三预设条件时,将网络连接方式从所述蜂窝网络切换到所述非蜂窝网络,并基于所述无线信号进行网络连接。
PCT/CN2017/073641 2017-02-15 2017-02-15 网络连接方法及装置 WO2018148890A1 (zh)

Priority Applications (12)

Application Number Priority Date Filing Date Title
CA3053427A CA3053427C (en) 2017-02-15 2017-02-15 Network connection method and apparatus
RU2019128532A RU2735615C1 (ru) 2017-02-15 2017-02-15 Способ сетевого соединения и устройство
SG11201907480WA SG11201907480WA (en) 2017-02-15 2017-02-15 Network connection method and apparatus
EP17896869.9A EP3582549B1 (en) 2017-02-15 2017-02-15 Network connection method and apparatus
US16/486,209 US20200059843A1 (en) 2017-02-15 2017-02-15 Network connection method and apparatus
MX2019009719A MX2019009719A (es) 2017-02-15 2017-02-15 Metodo y aparato de conexion de red.
KR1020197026640A KR20190117628A (ko) 2017-02-15 2017-02-15 네트워크 연결 방법 및 장치
CN201780085545.9A CN110249661B (zh) 2017-02-15 2017-02-15 网络连接方法及装置
JP2019543916A JP6961708B2 (ja) 2017-02-15 2017-02-15 ネットワーク接続方法及び装置
AU2017398782A AU2017398782A1 (en) 2017-02-15 2017-02-15 Network connection method and apparatus
BR112019016880A BR112019016880A2 (pt) 2017-02-15 2017-02-15 método de conexão à rede e dispositivo de conexão de rede
PCT/CN2017/073641 WO2018148890A1 (zh) 2017-02-15 2017-02-15 网络连接方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/073641 WO2018148890A1 (zh) 2017-02-15 2017-02-15 网络连接方法及装置

Publications (1)

Publication Number Publication Date
WO2018148890A1 true WO2018148890A1 (zh) 2018-08-23

Family

ID=63170065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073641 WO2018148890A1 (zh) 2017-02-15 2017-02-15 网络连接方法及装置

Country Status (12)

Country Link
US (1) US20200059843A1 (zh)
EP (1) EP3582549B1 (zh)
JP (1) JP6961708B2 (zh)
KR (1) KR20190117628A (zh)
CN (1) CN110249661B (zh)
AU (1) AU2017398782A1 (zh)
BR (1) BR112019016880A2 (zh)
CA (1) CA3053427C (zh)
MX (1) MX2019009719A (zh)
RU (1) RU2735615C1 (zh)
SG (1) SG11201907480WA (zh)
WO (1) WO2018148890A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020237506A1 (zh) * 2019-05-28 2020-12-03 北京小米移动软件有限公司 信息配置方法及装置、业务处理方法及装置和基站
WO2021018284A1 (zh) * 2019-07-31 2021-02-04 维沃移动通信有限公司 网络切换方法、网络设备及终端

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11234177B2 (en) * 2017-06-23 2022-01-25 Beijing Xiaomi Mobile Software Co., Ltd. Data offloading method and device, access point equipment and station
US20230141323A1 (en) * 2020-03-20 2023-05-11 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for transmitting data, communication device and storage medium
CN111770491B (zh) * 2020-06-08 2024-01-02 上海依图网络科技有限公司 一种数据链路建立方法及装置
US12052647B2 (en) * 2021-04-26 2024-07-30 Comcast Cable Communications, Llc Management of wireless service to minimize disruption
CN114867075B (zh) * 2022-06-09 2024-06-07 西安紫光展锐科技有限公司 无线网络切换方法、装置、设备、存储介质及产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024844A (zh) * 2012-12-03 2013-04-03 中兴通讯股份有限公司 网络流量切换方法及装置
CN103024843A (zh) * 2012-11-30 2013-04-03 中兴通讯股份有限公司 一种切换接入网络的方法和系统
CN103856997A (zh) * 2012-11-30 2014-06-11 中兴通讯股份有限公司 一种切换无线局域网的方法和系统

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7817606B2 (en) * 2004-04-05 2010-10-19 Daniel J. LIN Method for establishing network connections between stationary terminals and remote devices through mobile devices
US7613171B2 (en) * 2004-08-31 2009-11-03 Ephraim Zehavi Cellular network service over WLAN
CN101674615B (zh) * 2008-09-09 2014-02-19 上海华为技术有限公司 一种异构网络之间的切换方法、装置和系统
US8185120B2 (en) * 2010-03-26 2012-05-22 Microsoft Corporation Cellular service with improved service availability
CN102413531B (zh) * 2011-11-30 2014-03-26 上海顶竹通讯技术有限公司 多模终端的网络切换装置及方法
CN103139858B (zh) * 2011-12-01 2016-07-06 中国电信股份有限公司 一种实现CDMA与WiFi无缝切换的方法、系统以及手机终端
JP5349665B1 (ja) * 2012-09-28 2013-11-20 ソフトバンクモバイル株式会社 端末、その制御方法、及び制御プログラム
CN103813395A (zh) * 2012-11-09 2014-05-21 中兴通讯股份有限公司 终端用户在不同网络间进行无缝移动的方法及wog
US10595245B2 (en) * 2013-04-03 2020-03-17 Avago Technologies International Sales Pte. Limited Method and apparatus for managing wireless connection switching
CN104521287B (zh) * 2013-07-30 2018-12-14 华为技术有限公司 网络切换方法、装置、设备及系统
CN104349415B (zh) * 2013-08-01 2018-01-30 中国移动通信集团公司 一种数据包的发送方法及装置
CN104427567B (zh) * 2013-09-04 2019-10-01 南京中兴新软件有限责任公司 实现ip移动的方法及系统、接入点设备、无线接入控制器
CN104770019B (zh) * 2013-09-04 2019-04-05 华为技术有限公司 实现蜂窝网络和无线局域网络互操作的方法和设备
JP2015095678A (ja) * 2013-11-08 2015-05-18 富士通株式会社 通信先切替装置、通信先切替方法、及び通信先切替プログラム
CN103731907A (zh) * 2013-12-24 2014-04-16 广西大学 基于多网络融合的网络选择方法和多模终端设备
US9510251B2 (en) * 2013-12-31 2016-11-29 Microsoft Technology Licensing, Llc Call handoff initiation in hybrid networks
CN106105315B (zh) * 2014-03-04 2020-01-21 谷歌技术控股有限责任公司 基于无缝移动性条件的切换方法
US9326205B2 (en) * 2014-03-04 2016-04-26 Google Technology Holdings LLC Handover method based on seamless mobility conditions
WO2016013591A1 (ja) * 2014-07-24 2016-01-28 京セラ株式会社 ユーザ端末及び基地局
EP3203776A4 (en) * 2014-09-29 2017-10-18 Huawei Technologies Co. Ltd. Distribution method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024843A (zh) * 2012-11-30 2013-04-03 中兴通讯股份有限公司 一种切换接入网络的方法和系统
CN103856997A (zh) * 2012-11-30 2014-06-11 中兴通讯股份有限公司 一种切换无线局域网的方法和系统
CN103024844A (zh) * 2012-12-03 2013-04-03 中兴通讯股份有限公司 网络流量切换方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020237506A1 (zh) * 2019-05-28 2020-12-03 北京小米移动软件有限公司 信息配置方法及装置、业务处理方法及装置和基站
WO2021018284A1 (zh) * 2019-07-31 2021-02-04 维沃移动通信有限公司 网络切换方法、网络设备及终端

Also Published As

Publication number Publication date
EP3582549A4 (en) 2020-01-01
US20200059843A1 (en) 2020-02-20
EP3582549B1 (en) 2020-12-23
RU2735615C1 (ru) 2020-11-05
CN110249661A (zh) 2019-09-17
JP2020511819A (ja) 2020-04-16
CA3053427A1 (en) 2018-08-23
JP6961708B2 (ja) 2021-11-05
CA3053427C (en) 2021-10-26
EP3582549A1 (en) 2019-12-18
BR112019016880A2 (pt) 2020-04-14
SG11201907480WA (en) 2019-09-27
CN110249661B (zh) 2021-09-17
MX2019009719A (es) 2019-10-07
KR20190117628A (ko) 2019-10-16
AU2017398782A1 (en) 2019-10-03

Similar Documents

Publication Publication Date Title
WO2018148890A1 (zh) 网络连接方法及装置
CN110267245B (zh) 通信控制方法及电子设备
US9459879B2 (en) Systems and methods for thermal mitigation with multiple processors
JP6281025B2 (ja) ユーザ機器及び回線交換フォールバック切替え方法
US20180206165A1 (en) Wireless Hotspot Handover Method, Mobile Terminal and Storage Medium
US11627507B2 (en) Network handover method and apparatus
WO2021022497A1 (zh) 一种ims语音通信方法、无线通信装置及通信系统
WO2020098411A1 (zh) 电磁干扰控制方法及相关装置
WO2022057119A1 (zh) 小区切换方法、装置、存储介质及电子设备
CN113660653B (zh) 一种传输方法、装置及电子设备
WO2022087914A1 (zh) 波束测量方法、设备以及存储介质
WO2017128185A1 (zh) 控制服务连接的方法和终端
WO2016183747A1 (zh) 一种启动中继功能的方法及设备
US10165619B2 (en) Generation of a fingerprint of an access point
WO2020048337A1 (zh) 业务标识显示方法及相关产品
US11864033B2 (en) System and method for IMS PDN recovery
US20230034534A1 (en) Node handover method and apparatus
WO2020043059A1 (zh) 显示业务标识的方法、装置及存储介质
WO2016149992A1 (zh) 一种网络切换方法、装置和移动终端
WO2022127878A1 (zh) 繁忙指示的传输方法及装置
WO2022068813A1 (zh) 拥塞控制方法、装置、终端及网络侧设备
WO2022057828A1 (zh) 测量方法、测量装置、终端及网络设备
CN112867114A (zh) 一种无线设备
CN112866964A (zh) 一种无线耳机组件
CN112866965A (zh) 一种智能眼镜

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: 17896869

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 3053427

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2019543916

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112019016880

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20197026640

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017896869

Country of ref document: EP

Effective date: 20190909

ENP Entry into the national phase

Ref document number: 2017398782

Country of ref document: AU

Date of ref document: 20170215

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 112019016880

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20190814