WO2014166254A1 - 一种网络切换方法、装置和终端 - Google Patents

一种网络切换方法、装置和终端 Download PDF

Info

Publication number
WO2014166254A1
WO2014166254A1 PCT/CN2013/087076 CN2013087076W WO2014166254A1 WO 2014166254 A1 WO2014166254 A1 WO 2014166254A1 CN 2013087076 W CN2013087076 W CN 2013087076W WO 2014166254 A1 WO2014166254 A1 WO 2014166254A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
quality parameter
terminal
channel quality
wlan
Prior art date
Application number
PCT/CN2013/087076
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 中兴通讯股份有限公司
Publication of WO2014166254A1 publication Critical patent/WO2014166254A1/zh

Links

Classifications

    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • H04W36/008375Determination of triggering parameters for hand-off based on historical data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a network switching method, apparatus, and terminal.
  • WLAN wireless local area network
  • the wireless access node AP (or its logical resources) forms a separate wireless fidelity WIFI network and then provides free or chargeable wireless access services.
  • WLAN is becoming more and more widely used as a high-speed wireless access network in some hotspots, and multi-mode mobile broadband terminals with LTE and WIFI functions are becoming more and more popular.
  • the mobile terminal can usually detect multiple wireless network coverages during the mobile process.
  • WLANs and LTE networks which network to select or which network to switch to to access the Internet is essential to improve the user experience.
  • the bandwidth resources that the network can provide to the terminal are different, and as the fourth generation network technology develops and supports the popularization of high-performance terminals, users pay more attention to the user experience of the application and the performance of the terminal data.
  • most mobile terminals are manually selected by the user to preferentially use a certain communication system. The user first needs to actively search for the currently available WLAN. Secondly, after discovering the available WLAN, the user needs to manually register to access the Internet, which requires the user to have corresponding The professional network skills also cause trouble for users.
  • the embodiment of the invention provides a network switching method, a device, and a terminal, which can automatically perform network switching and improve user experience when detecting that the terminal meets the network switching condition.
  • a network switching method is provided in the embodiment of the present invention, where the method includes: when the terminal accesses the first network, detecting whether there is an available second network around the terminal, obtaining the first Test results;
  • the first detection result indicates that the second network exists, registering the second network; after successfully registering the second network, detecting whether the terminal is satisfied to be switched by the first network to the first The switching condition of the second network obtains the second detection result;
  • the network switching method where the first network is a WLAN, and the second network is an LTE network; or
  • the first network is an LTE network
  • the second network is a WLAN
  • the first network is a first sub-network in the WLAN
  • the second network is a second sub-network in the WLAN network
  • the WLAN includes a private WLAN sub-network that is known to the terminal user or can be set by the user
  • the operator's WLAN sub-network maintained by the operator and the free WLAN sub-network that can be accessed without authentication.
  • the first network list of the private WLAN sub-network and the second network list of the operator WLAN sub-network are pre-stored in the terminal, and the list information of the network list includes at least a network service set identifier, a login user name, and a login.
  • the list information of the network list includes at least a network service set identifier, a login user name, and a login.
  • the step of detecting whether there is an available second network around the terminal, and obtaining the first detection result includes:
  • the network switching method where the step of detecting whether there is an available second network includes: Detecting whether there is an available second network according to the first period pre-stored by the terminal.
  • the network switching method wherein, when the second network is a WLAN network, when the first detection result indicates that the second network exists, the step of registering the second network includes: when When the first detection result indicates that the second network exists, the second network is registered according to the login user name and the login password in the network list pre-stored by the terminal.
  • the network switching method wherein the switching condition is that a signal quality parameter of the first network is lower than a signal quality parameter of the second network, and a channel quality parameter of the first network is lower than the second Channel quality parameters of the network;
  • the step of detecting whether the terminal meets a handover condition that is switched by the first network to the second network, and obtaining the second detection result includes:
  • the current channel quality parameter of the first network is measured according to the second period; determining the first network Whether the current channel quality parameter is lower than a historical channel quality parameter of the second network pre-stored by the terminal, and obtaining a second determination result;
  • the second determination result indicates that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network, determining that the second detection result is specifically that the terminal satisfies the handover condition.
  • the determining whether the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network pre-stored by the terminal, the second determination result is specifically:
  • the network switching method where the signal quality parameter includes an average received signal strength parameter and an average signal to noise ratio measurement parameter;
  • the channel quality parameter includes an average packet loss rate parameter and an average throughput rate parameter
  • the determining whether the signal quality parameter of the first network is lower than the signal quality parameter of the second network, the step of obtaining the first determination result includes:
  • Determining whether the current channel quality parameter of the first network is lower than a historical channel quality parameter of the second network pre-stored by the terminal, and obtaining the second determination result includes:
  • the second judgment result is that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network.
  • the method further includes:
  • the method further includes:
  • the step of updating the historical channel quality parameter of the second network stored by the terminal according to the current channel quality parameter includes:
  • the embodiment of the present invention further provides a network switching device, which is used for a terminal, where the device includes: a first detecting module, configured to: when the terminal accesses the first network, detect whether the terminal is surrounding There is a second network available to obtain the first detection result;
  • a registration module configured to: when the first detection result indicates that the second network exists, registering the second network;
  • a second detecting module configured to: after detecting that the second network is successful, detecting whether the terminal meets a switching condition that is switched by the first network to the second network, to obtain a second detection result;
  • a switching module configured to: when the second detection result indicates that the terminal meets the handover condition, switch the mobile terminal from the first network to the second network.
  • the network switching device where the first network is a WLAN, and the second network is an LTE network; or
  • the first network is an LTE network
  • the second network is a WLAN
  • the first network is a first sub-network in the WLAN
  • the second network is a second sub-network in the WLAN
  • the WLAN includes a private WLAN sub-network or user that is known to the terminal user or can be set by the user.
  • the ordered carrier WLAN subnet maintained by the operator and the free WLAN subnetwork that can be accessed without authentication.
  • the first network list of the private WLAN sub-network and the second network list of the operator WLAN sub-network are pre-stored in the terminal, and the list information of the network list includes at least a network service set identifier, a login user name, and a login.
  • the list information of the network list includes at least a network service set identifier, a login user name, and a login.
  • the first detecting module is configured to:
  • the first detecting module is configured to: detect whether there is an available second network according to the first period pre-stored by the terminal.
  • the registration module is configured to:
  • the network switching device wherein the switching condition is that a signal quality parameter of the first network is lower than a signal quality parameter of the second network, and a channel quality parameter of the first network is lower than the second Channel quality parameters of the network;
  • the second detection module includes:
  • a first measurement sub-module configured to: measure signal quality parameters of the first network and the second network according to a second period pre-stored by the terminal;
  • a first determining sub-module configured to: determine whether a signal quality parameter of the first network is lower than a signal quality parameter of the second network, and obtain a first determination result
  • a second measurement sub-module configured to: when the first determination result indicates that the signal quality parameter of the first network is lower than the signal quality parameter of the second network, measure the current current of the first network according to the second period Channel quality parameter;
  • a second determining sub-module configured to: determine whether a current channel quality parameter of the first network is lower than a historical channel quality parameter of the second network pre-stored by the terminal, to obtain a second determination result;
  • a switching condition determining sub-module configured to: when the second determining result indicates that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network, determining that the second detection result is specifically the terminal The switching condition is satisfied.
  • the second determining submodule is configured as:
  • the switching condition determining sub-module is specifically, when the second determining result indicates a current letter of the first network When the channel quality parameter is lower than the historical channel quality parameter of the second network in the first time period, determining that the second detection result is that the terminal meets the switching condition.
  • the signal quality parameter includes an average received signal strength parameter and an average signal to noise ratio measurement parameter
  • the channel quality parameter includes an average packet loss rate parameter and an average throughput rate parameter
  • the first determining submodule is set to:
  • the second determining sub-module is configured to: when an average packet loss rate of the first network is greater than a historical average packet loss rate of the second network, and an average throughput rate of the first network is smaller than the second The historical average throughput of the network determines that the second determination result is that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network.
  • the above network switching device wherein the device further includes:
  • a measurement module configured to: measure a current channel quality parameter of the second network
  • an update module configured to: update a historical channel quality parameter of the second network stored by the terminal according to the current channel quality parameter.
  • the above network switching device wherein the device further includes:
  • An adjustment module configured to: add an adjustment factor to the current channel quality parameter; the update module is configured to:
  • an embodiment of the present invention further provides a terminal, including any of the foregoing.
  • the network switching device includes any of the foregoing.
  • the embodiment of the invention can automatically perform network switching to improve the user experience when detecting that the terminal meets the network switching condition;
  • the signal quality parameter and the channel quality parameter of the network are used as a measure of network handover, and only when the signal quality parameter and the channel quality parameter of the second network are superior to the first network, the first network is switched to the first network.
  • the user does not need to manually input the login user name and password, which also improves the user experience.
  • channel switching, routing update, etc. are mainly completed, and the impact is not affected.
  • the adaptive parameters pre-stored by the terminal may be self-learned, and the terminal may perform persistent storage for subsequent use;
  • the embodiment of the present invention also introduces an adjustment factor for the channel quality parameter.
  • FIG. 1 is a schematic flowchart diagram of a network switching method according to an embodiment of the present invention
  • FIG. 2 is a network list structure of a private WLAN sub-network according to an embodiment of the present invention
  • FIG. 3 is a network list structure of an operator WLAN sub-network according to an embodiment of the present invention
  • FIG. 4 is an adaptive parameter structure according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a network handover performed by an LTE network to a WLAN network according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a handover condition decision according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an adaptive parameter adjustment process according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a network switching apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another network switching apparatus according to an embodiment of the present invention. Preferred embodiment of the invention
  • An embodiment of the present invention provides a network switching method, which is used in a terminal.
  • the method is as shown in FIG. 1 and includes:
  • Step 11 When the terminal accesses the first network, detecting whether there is an available second network around the terminal, and obtaining a first detection result;
  • Step 12 When the first detection result indicates that the second network exists, registering the second network;
  • Step 13 After the second network is successfully registered, detecting whether the terminal meets a handover condition that is switched by the first network to the second network, to obtain a second detection result;
  • Step 14 When the second detection result indicates that the terminal meets the handover condition, the mobile terminal is switched from the first network to the second network.
  • the terminal user is not required to manually search for the available second network.
  • the terminal accesses the first network
  • the terminal automatically detects the available second network, and after searching for the second network, The terminal does not need to manually register the access, and the terminal automatically registers the second network. After the registration is successful, if it detects that the handover condition is met, the terminal is automatically switched from the first network to the second network.
  • the above process is automatically performed by the terminal, which improves the user experience.
  • step 11 is performed.
  • the terminal accesses the first network, it is detected whether there is an available second network around the terminal, and the first detection result is obtained.
  • the first network is a wireless local area network (WLAN), and the second network is a long term evolution (LTE) network; or
  • the first network is an LTE network
  • the second network is a WLAN
  • the first network is a first sub-network in the WLAN
  • the second network is a second sub-network in the WLAN
  • the WLAN includes a private WLAN sub-network or user that is known to the terminal user or can be set by the user.
  • Ordered carrier WLAN subnet maintained by the operator and accessible without Free WLAN subnet to be authenticated.
  • LTE network registration usually completes registration when the initial network is selected. Therefore, when the terminal is powered on, it generally accesses the first network LTE network. At this time, it can be detected whether there is a second network WLAN available around the terminal;
  • the terminal when the terminal is connected to a certain WLAN after being powered on for a period of time, it is possible to detect whether there is an available LTE network around the terminal;
  • the terminal can also switch between the sub-networks in the WLAN network.
  • the terminal accesses the first sub-network in the WLAN, it detects whether there is a second sub-network in the available WLAN, and the terminal is in the WLAN sub-network.
  • An example of switching is as follows.
  • the terminal accesses the first network, where the first network is a private WLAN sub-network in the WLAN, and the bandwidth that the network can provide for the terminal user is between 1-2M, and if a second available around the terminal is detected,
  • the second network is the carrier WLAN sub-network in the WLAN.
  • the network can provide the terminal user with a bandwidth of 5M.
  • the terminal can also be switched from the private WLAN sub-network to the carrier WLAN sub-network to obtain a higher network. bandwidth.
  • the handover between the terminals in the network is not limited to the above-mentioned handover between the LTE network and the WLAN, or the handover between the WLAN sub-networks, and the handover between other networks is also the scope of protection of the present invention.
  • the first network list of the private WLAN sub-network and the second network list of the operator WLAN sub-network are pre-stored in the terminal, and the list information of the network list includes at least a network service set identifier, a login user name, and a login password. ;
  • step 11 may include:
  • the above three sub-networks in the WLAN can access the free WLAN sub-network without authentication.
  • the login information is generally required to authenticate the terminal user.
  • the first network list of the private WLAN sub-network and the second network list of the operator WLAN sub-network are pre-maintained in the terminal, and at least the list information is at least The network service set identifier, the login user name, and the login password are included, and the list structures of the first network list and the second network list are respectively shown in FIGS. 2 and 3.
  • the terminal can directly register according to the list information of the network list when the network of the WLAN needs to be registered, and the terminal user is no longer required to manually input the registration information.
  • the terminal accesses the LTE network
  • the network has the first priority, and the second priority of the operator's WLAN sub-network, and finally detects whether there is a free WLAN sub-network available.
  • the WLAN sub-networks in the same network list can be sorted according to the signal strength.
  • the detection of the second network may be performed periodically, that is, The second network that detects whether there is an available can be:
  • step 12 may include:
  • the second network is a WLAN, or the first network is a first sub-network of the WLAN network, and the second network is a second sub-network of the WLAN network, directly
  • the second network is registered with the login user name and login password in the pre-stored network list, and the terminal user is no longer required to manually input the registration information.
  • the LTE network does not require a username and password to register, and can be directly registered.
  • the terminal may not be able to switch from the first network to the second network. Only after the second network is successfully registered, step 13 needs to be performed to detect whether the terminal is satisfied.
  • the first network switches to a handover condition of the second network, and obtains a second detection result.
  • the signal quality parameter and the channel quality parameter of the network are used as the handover condition, and the second network only meets the handover condition when the signal quality and the channel quality exceed the first network, that is, the handover condition is specific.
  • the signal quality parameter of the first network is lower than the signal quality parameter of the second network, and the channel quality parameter of the first network is lower than the channel quality parameter of the second network;
  • the step 13 may include:
  • the current channel quality parameter of the first network is measured according to the second period; determining the first network Whether the current channel quality parameter is lower than a historical channel quality parameter of the second network pre-stored by the terminal, and obtaining a second determination result;
  • the second determination result indicates that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network, determining that the second detection result is specifically that the terminal satisfies the handover condition.
  • the signal quality of the two networks is detected first. If the signal quality of the second network is lower than that of the first network, the channel quality of the second network is not higher than that of the first network. Therefore, in the embodiment of the present invention, Preferably, it is first determined whether the signal quality parameter of the first network is lower than a signal quality parameter of the second network, and then determining whether the channel quality parameter of the first network is lower than a channel quality parameter of the second network.
  • the sample is measured according to the second terminal preset by the terminal, and the average value of the sample is calculated, as exemplified below.
  • the second cycle is 3.84 seconds, and the number of samples is 3, that is, the sample is executed every 1.28 seconds, and the average of 3 results is used for each cycle.
  • the determining whether the current channel quality parameter of the first network is lower than the terminal may include: determining whether the current channel quality parameter of the first network is lower than the history of the second network in the first time period preset by the terminal Channel quality parameter, obtaining a second judgment result;
  • the second determination result indicates that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network in the first time period, determining that the second detection result is specifically that the terminal meets the handover condition.
  • the channel quality parameter of the first network is determined to be lower than the second network in the first time period, and the channel quality of the first network is determined.
  • the parameter is lower than the second network.
  • said signal quality parameter comprises an average received signal strength parameter and an average signal to noise ratio parameter
  • the channel quality parameter includes an average packet loss rate parameter and an average throughput rate parameter
  • Determining whether the signal quality parameter of the first network is lower than a signal quality parameter of the second network, and obtaining the first determination result is specifically:
  • the second judgment result is that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network.
  • the average received signal strength parameter of the first network and the second network, and the average signal to noise ratio parameter of the two networks are first measured according to the second period, when the average received signal strength parameter of the first network is Lower than the average received signal strength parameter of the second network, and the average signal to noise ratio parameter of the first network is lower than the average signal to noise ratio parameter of the second network, determining the The first judgment result is that the signal quality parameter of the first network is lower than the signal quality parameter of the second network;
  • a current channel average packet loss rate and an average throughput rate of the first network compared with the predicted historical average packet loss rate and the average throughput rate of the second network, when the average packet loss of the first network The rate is greater than the historical average packet loss rate of the second network, and the average throughput rate of the first network is smaller than the historical average throughput rate of the second network, and determining that the second determination result is the first network
  • the current channel quality parameter is lower than the historical channel quality parameter of the second network, and it is determined that the terminal satisfies the handover condition of the first network to the second network.
  • step 14 is performed to switch the terminal from the first network to the second network.
  • Channel switching, routing update, TCP/IP reconfiguration, and link re-establishment are mainly performed during network switching, and there is no need to interrupt the ongoing data service of the terminal.
  • the information pre-stored by the terminal includes a first network list of the private WLAN sub-network and a second network list of the operator WLAN sub-network, where the list information includes at least a network service set identifier, a login user name, and a login password.
  • There is also a first period of detecting whether there is a second network a second period of measuring signal quality parameters and channel quality parameters, a first time period, and a historical average packet loss rate and a historical average throughput rate of the network.
  • the first network list may be set by the user, and the second network list is usually built in the SIM card file or the terminal ROM, and is edited by the operator, and the user is not set. In the embodiment of the present invention, other parameters except the network list are used.
  • the adaptive parameters of the terminal, the structure of the adaptive parameters are shown in Figure 4.
  • the adaptive parameter when the terminal is powered on for the first time is derived from an experience value, and then the adaptive learning may be performed by the terminal to modify the adaptive parameter, that is, after the first network is switched to the second network,
  • the method further includes:
  • the adaptive parameter is stored persistently in the non-conscious random access memory.
  • Self-learning for maintenance and modification does not require special configuration by the user.
  • Updating the historical channel quality parameter of the second network stored by the terminal according to the current channel quality parameter may preferably be:
  • the historical channel parameters are updated with a weighted average of the current channel quality parameters and the historical channel quality parameters.
  • the method may further include:
  • Updating the historical channel quality parameter of the second network stored by the terminal according to the current channel quality parameter is specifically:
  • the embodiment of the present invention introduces an adjustment factor for the channel quality parameter, the adjustment factor of the throughput rate in the LTE network channel is u, and the adjustment factor of the throughput rate in the WLAN network channel is V, which is inversely proportional to the throughput rate and the packet loss rate.
  • the throughput rate is high, the packet loss rate is low, the throughput rate is low, and the packet loss rate is high, and vice versa. Therefore, the packet loss rate can be directly expressed by the throughput rate -1, and the channel quality parameters to which the adjustment factor is added are as follows:
  • WIFI network throughput Twifi — default v + ⁇ Twifi — default';
  • ⁇ Tlte_default' is a weighted average of the average throughput rate of the LTE network channel and the throughput rate of the current serving channel
  • ⁇ Plte_default is the weighting of the average packet loss rate of the LTE network channel and the packet loss rate of the current serving channel.
  • the average value, ⁇ Twifi—default', ⁇ Pwifi—default' is the weighted average of the average throughput rate of the WIFI network channel and the throughput rate of the current service channel, the average packet loss rate of the WIFI network channel, and the packet loss of the current service channel. The weighted average of the rates.
  • the adjustment factor is preferably inversely proportional to the absolute value of the product of the signal quality parameter. The better the signal quality of the channel, the larger the adjustment factor, the larger the channel quality parameter with the adjustment factor added, the higher the priority coefficient of the network channel, and the more likely it is to use the network, and accordingly, the number of network handovers can be reduced. Effectively avoid frequent switching.
  • the value of RSSI is generally negative.
  • the higher the signal quality parameter of LTE network the stronger the average received signal strength and the larger the average signal-to-noise ratio.
  • the embodiment of the present invention when the terminal accesses the first network, if the second network is available, the second network is directly registered according to the list information of the network list in the pre-existing terminal, and the user is not required to Manually input the login user name and password, and automatically perform network switching when the terminal meets the network switching condition, thereby improving the user experience. Further, the embodiment of the present invention uses the signal quality parameter and the channel quality parameter of the network as a measure of network switching. Only when the signal quality parameter and the channel quality parameter of the second network are better than the first network, the first network is switched to the second network; when switching from the first network to the second network, the channel switching and routing are mainly completed.
  • Updates, etc. do not affect the current data task of the terminal; in addition, the adaptive parameters pre-stored by the terminal can be self-learned. Further, the terminal can perform persistent storage for subsequent use.
  • the embodiment of the present invention also introduces channel quality parameters. Adjustment factor, the larger the adjustment factor, the network channel The higher the priority coefficient, the more likely it is to use the network, and accordingly, the number of network handovers can be reduced, effectively avoiding frequent handovers.
  • the process of network switching includes:
  • Step 51 The mobile terminal starts the booting, and reads the configuration information of the encrypted file system EFS file or the non-volatile random access memory, and obtains the adaptive parameter of the terminal, which specifically includes: Detecting whether there is a first period of the second network, measuring a second period of the signal quality parameter and the channel quality parameter, the first time period, and a historical average packet loss rate and a historical average throughput rate of each network, and the initial value is derived from an empirical value ;
  • Step 52 The mobile terminal performs initial network selection, and the terminal access layer scans the LTE network frequency point in the current spatial range, and performs registration and registration;
  • Step 53 If the mobile terminal WIFI is turned on, the terminal searches for available WLANs in a preset priority order according to the first period, where the available WLAN includes the network service set identifier and the first network list of the private WLAN sub-network pre-stored by the terminal.
  • the network service set identifies the same network, and the network with the same network service set identifier in the second network list of the operator pre-stored operator WLAN sub-network, and the accessible free WLAN without authentication, and the priority order is : private WLAN sub-network, carrier WLAN sub-network and free WLAN sub-network;
  • Step 54 Determine whether the available WLAN is currently found. If the available WLAN is found, go to step 55. If no WLAN is found, go back to step 53 and continue the periodic search.
  • Step 55 When searching for an available WLAN sub-network, register the WLAN network according to the login user name and login password in the first network list or the second network list pre-stored by the terminal, of course, if the available WLAN is a free WLAN sub-network When the registration is successful, after the registration is successful, go to step 56;
  • Step 56 Detect whether the terminal meets a handover condition that is switched from the LTE network to the WLAN network, and the handover condition is:
  • the average received signal strength parameter of the LTE network is lower than the average received signal strength parameter of the WLAN network, and the average signal to noise ratio parameter of the LTE network is lower than the average signal to noise ratio parameter of the WLAN network;
  • the average packet loss rate of the LTE network is greater than the historical average packet loss rate of the WLAN, and the average throughput rate of the LTE network is less than the historical average throughput rate of the WLAN.
  • step 57 is performed. If the switching condition is not met, return to step 55 to register other available WLAN networks;
  • Step 57 the terminal is switched from the LTE network to the WLAN, and the network switching main completion letter is completed. Track switching, routing update, TCP/IP reconfiguration, link reestablishment, keeping data services unaffected; Step 58, adaptive parameter update;
  • step 56 therein may include:
  • Step 561 After the device registers the WLAN, start measuring the signal quality parameter of the LTE network and the WLAN, and the terminal may first clear the second period measurement timer, and then sample the signal strength and the signal to noise ratio of the two networks, each The measurement period is performed N times, and N depends on the system implementation.
  • the initial second period is used for 3.84 seconds
  • the N ⁇ is used for 3 times, that is, every 1.28 seconds, and each period is used for 3 times.
  • Step 562 Determine whether the signal quality parameter of the LTE network is lower than the signal quality parameter of the WLAN, that is, determine whether the average received signal strength parameter of the LTE network is lower than the average received signal strength parameter of the WLAN, and whether the average SNR parameter of the LTE network is Lower than the average signal to noise ratio parameter of the WLAN network, if it is step 563, if no, step 561 is performed;
  • Step 563 Measure channel quality parameters of the LTE channel according to the second period.
  • Step 564 Determine whether the channel quality parameter of the LTE network is lower than the first time period.
  • the historical channel quality parameter of the WLAN that is, whether the average packet loss rate of the LTE network is greater than the historical average packet loss rate of the WLAN network in the first time period, and whether the average throughput rate of the LTE network is less than the historical average throughput rate of the WLAN.
  • the initial value of the first time period is derived from the empirical value. In the embodiment of the present invention, the initial 10 seconds is used. If the step 57 is performed, if no, the step 561 is performed.
  • step 58 therein may include:
  • Step 581 adjusting the optimized adaptive parameters.
  • the device adaptation parameters are adjusted according to the current network channel state, and the average throughput rate and the average packet loss rate of the WLAN and the LTE network are used to calculate the update history information, and the adjustment factors u and V are added simultaneously, when the target channel is added.
  • step 582 persistent storage is performed for subsequent use.
  • the terminal When the terminal is powered on, it is generally connected to the LTE network. If the available WLAN is detected periodically, the terminal registers the WLAN according to the list information of the pre-stored network list. Once the registration is successful, the terminal periodically measures LTE. The signal quality parameter and the channel quality parameter of the network and the WLAN, if the handover condition is met, the terminal automatically switches from the LTE network to the WLAN network, and the entire process does not require the user to manually select an available network and manually input registration information, thereby improving the user experience.
  • the embodiment of the invention further provides a network switching device, which is used for a terminal, and the device is as shown in FIG.
  • a first detecting module configured to: when the terminal accesses the first network, detect whether there is an available second network around the terminal, and obtain a first detection result
  • a registration module configured to: when the first detection result indicates that the second network exists, registering the second network;
  • a second detecting module configured to: after detecting that the second network is successful, detecting whether the terminal meets a switching condition that is switched by the first network to the second network, to obtain a second detection result;
  • a switching module configured to: when the second detection result indicates that the terminal meets the handover condition, switch the mobile terminal from the first network to the second network.
  • the network switching device where the first network is a wireless local area network (WLAN), and the second network is a long term evolution (LTE) network; or
  • WLAN wireless local area network
  • LTE long term evolution
  • the first network is an LTE network
  • the second network is a WLAN
  • the first network is a first sub-network in the WLAN
  • the second network is a second sub-network in the WLAN
  • the WLAN includes a private WLAN sub-network or user that is known to the terminal user or can be set by the user.
  • the ordered carrier WLAN subnet maintained by the operator and the free WLAN subnetwork that can be accessed without authentication.
  • the first network list of the private WLAN sub-network and the second network list of the operator WLAN sub-network are pre-stored in the terminal, and the list information of the network list includes at least a network service set identifier, a login user name, and a login.
  • the list information of the network list includes at least a network service set identifier, a login user name, and a login.
  • the test module is set to:
  • the first detecting module is configured to:
  • the registration module is set to:
  • the network switching device wherein the handover condition is specifically that a signal quality parameter of the first network is lower than a signal quality parameter of the second network, and a channel quality parameter of the first network is lower than the first Channel quality parameters of the second network;
  • the second detection module includes:
  • a first measurement sub-module configured to: measure signal quality parameters of the first network and the second network according to a second period pre-stored by the terminal;
  • a first determining sub-module configured to: determine whether a signal quality parameter of the first network is lower than a signal quality parameter of the second network, and obtain a first determination result
  • a second measurement sub-module configured to: when the first determination result indicates that the signal quality parameter of the first network is lower than the signal quality parameter of the second network, measure the current current of the first network according to the second period Channel quality parameter;
  • a second determining sub-module configured to: determine whether a current channel quality parameter of the first network is lower than a historical channel quality parameter of the second network pre-stored by the terminal, to obtain a second determination result;
  • the setting is as follows: when the second determination result indicates that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network, determining that the second detection result is that the terminal meets the handover condition.
  • the second determining submodule is configured as: Determining whether the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network in the first time period preset by the terminal, to obtain a second determination result;
  • the switching condition determining sub-module is specifically configured to determine the second detection result when the second determination result indicates that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network in the first time period. Specifically, the terminal satisfies the switching condition.
  • the signal quality parameter includes an average received signal strength parameter and an average signal to noise ratio measurement parameter
  • the channel quality parameter includes an average packet loss rate parameter and an average throughput rate parameter
  • the first determining submodule is set to:
  • the second determining submodule is set to:
  • the second judgment result is that the current channel quality parameter of the first network is lower than the historical channel quality parameter of the second network.
  • the above network switching device wherein the device further includes:
  • a measurement module configured to measure a current channel quality parameter of the second network
  • an update module configured to update a historical channel quality parameter of the second network stored by the terminal according to the current channel quality parameter.
  • the above network switching device wherein the device further includes:
  • An adjustment module configured to add an adjustment factor to the current channel quality parameter; the update module is configured to:
  • the embodiment of the present invention further provides a preferred network switching device, as shown in FIG. 9, comprising: a configuration module, which is configured to maintain an adaptive parameter of the terminal;
  • a first detecting module configured to detect, when the terminal accesses the first network, whether there is an available second network around the terminal, to obtain a first detection result
  • a registration module configured to register the second network when the first detection result indicates that the second network exists
  • a second detecting module configured to: after detecting that the second network is successful, detecting whether the terminal meets a switching condition that is switched by the first network to the second network, to obtain a second detection result;
  • the second detecting module includes: a measuring submodule configured to measure signal quality parameters and channel quality parameters of the terminal in the first network and the second network;
  • a switching decision sub-module configured to determine whether the switching condition is met according to the measurement result of the measurement sub-module
  • a switching module configured to: when the second detection result indicates that the terminal meets the switching condition, switch the mobile terminal from the first network to the second network;
  • the adaptive module is configured to perform self-learning after the terminal switches to the second network, and modify the adaptive parameter in the configuration module.
  • the embodiment of the invention further provides a terminal, comprising the network switching device according to any one of the preceding claims.
  • a terminal comprising the network switching device according to any one of the preceding claims.
  • the embodiment of the invention can automatically perform network switching when the terminal meets the network switching condition, thereby improving the user experience.

Landscapes

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

Abstract

一种网络切换方法、装置和终端,所述方法包括:当所述终端接入到第一网络中时,检测所述终端周围是否存在可用的第二网络,获得第一检测结果(11);当所述第一检测结果指示存在所述第二网络时,注册所述第二网络(12);当注册所述第二网络成功后,检测所述终端是否满足由所述第一网络切换到所述第二网络的切换条件,获得第二检测结果(13);当所述第二检测结果指示所述终端满足所述切换条件时,将所述移动终端由所述第一网络切换到所述第二网络(14)。

Description

一种网络切换方法、 装置和终端 技术领域
本发明涉及无线通信领域, 尤其涉及一种网络切换方法、 装置和终端。
背景技术
随着移动互联以及物联网技术的发展, 各种异构网络越来越多, 以通用 分组无线服务技术(General Packet Radio Service, GPRS ) 、 第三代移动通信 技术( 3rd Generation, 3G )为基础的移动通信网络能够提供大规模的网络覆 盖, 长期演进网络 (Long Term Evolution, LTE)作为第四代移动通信标准( 4rd Generation, 4G )也已经开始了大规模的部署, LTE相对于第三代和第二代通 信标准在传输速率上有大幅提升, 是未来移动宽带技术的目标和演进方向。 同时随着电子终端产品设备组网或者接入移动互联的需求越来越旺盛, 无线 局域网络( Wireless Local Area Network , WLAN )技术得到了迅猛发展, 任 何个人或者机构可以通过自行部署或是租用多个无线访问节点 AP(或其逻辑 资源) 的方式, 形成一个单独的无线保真 WIFI 网络, 然后提供免费或收费 的无线接入服务。 WLAN正在作为一种高速的无线接入网正在一些热点地区 得到越来越广泛的应用, 具有 LTE和 WIFI功能的多模移动宽带终端也越来 越普及。
但是移动终端在移动过程中通常能够检测到多种无线网络覆盖, 在有可 用 WLAN以及 LTE网络时, 选择哪一个网络或者需要切换到哪一个网络接 入互联网 internet对提高用户体验至关重要,不同网络可以提供给终端的带宽 资源不同, 并且随着第四代网络技术发展和支持高性能终端普及, 用户更关 注应用程序的用户体验和终端数据性能。 但是目前大多数移动终端都是由用 户手动选择优先使用某一种通信系统, 用户首先需要主动搜索当前可用 WLAN, 其次发现可用 WLAN后, 用户需要手动注册接入 Internet, 这就要 求用户能够具备相应的专业网络技能, 同时也给用户造成了使用上的麻烦。
发明内容 本发明实施例提供一种网络切换方法、 装置和终端, 能够在检测到终端 满足网络切换条件时, 自动进行网络的切换, 提升用户体验。
本发明实施例提供的一种网络切换方法, 用于终端, 所述方法包括: 当所述终端接入到第一网络中时, 检测所述终端周围是否存在可用的第 二网络, 获得第一检测结果;
当所述第一检测结果指示存在所述第二网络时, 注册所述第二网络; 当注册所述第二网络成功后, 检测所述终端是否满足由所述第一网络切 换到所述第二网络的切换条件, 获得第二检测结果;
当所述第二检测结果指示所述终端满足所述切换条件时, 将所述移动终 端由所述第一网络切换到所述第二网络。
上述的网络切换方法, 其中, 所述第一网络为 WLAN, 所述第二网络为 LTE网络; 或者
所述第一网络为 LTE网络, 所述第二网络为 WLAN; 或者
所述第一网络为 WLAN中的第一子网络, 所述第二网络为 WLAN网络 中的第二子网络,其中所述 WLAN包括所述终端用户已知或用户能够设置的 私有 WLAN子网络、 用户订购的由运营商维护的运营商 WLAN子网络和可 接入无需鉴权的免费 WLAN子网络。
上述的网络切换方法, 其中, 所述终端中预存私有 WLAN子网络的第一 网络列表和运营商 WLAN子网络的第二网络列表, 网络列表的列表信息至少 包括网络服务集标识、 登录用户名和登录密码;
当所述第一网络为 LTE , 所述第二网络为 WLAN时, 所述检测所述终端 周围是否存在可用的第二网络, 获得第一检测结果的步骤包括:
按照预设的优先级顺序检测所述终端周围是否存在可用的第二网络, 获 得第一检测结果, 其中所述优先级顺序依次为第一网络列表中的私有 WLAN 子网络、第二网络列表中的运营商 WLAN子网络和所述免费 WLAN子网络。
上述的网络切换方法, 其中, 所述检测是否存在可用的第二网络的步骤 包括: 按照所述终端预存的第一周期检测是否存在可用的第二网络。 上述的网络切换方法, 其中, 当所述第二网络为 WLAN网络时, 所述当 所述第一检测结果指示存在所述第二网络时,注册所述第二网络的步骤包括: 当所述第一检测结果指示存在所述第二网络时, 根据终端预存的所述网 络列表中的登录用户名和登录密码, 注册所述第二网络。
上述的网络切换方法, 其中, 所述切换条件为所述第一网络的信号质量 参数低于所述第二网络的信号质量参数, 且所述第一网络的信道质量参数低 于所述第二网络的信道质量参数;
所述检测所述终端是否满足由所述第一网络切换到所述第二网络的切换 条件, 获得第二检测结果的步骤包括:
按照所述终端预存的第二周期测量所述第一网络和所述第二网络的信号 质量参数;
判断所述第一网络的信号质量参数是否低于第二网络的信号质量参数, 获得第一判断结果;
当第一判断结果指示所述第一网络的信号质量参数低于第二网络的信号 质量参数时, 按照所述第二周期测量所述第一网络的当前信道质量参数; 判断所述第一网络的当前信道质量参数是否低于所述终端预存的第二网 络的历史信道质量参数, 获得第二判断结果;
当第二判断结果指示所述第一网络的当前信道质量参数低于第二网络的 历史信道质量参数时, 确定所述第二检测结果具体为所述终端满足所述切换 条件。
上述的网络切换方法, 其中, 所述判断所述第一网络的当前信道质量参 数是否低于所述终端预存的第二网络的历史信道质量参数, 获得第二判断结 果具体为:
判断所述第一网络的当前信道质量参数是否在所述终端预设的第一时间 段内低于第二网络的历史信道质量参数, 获得第二判断结果;
当第二判断结果指示第一网络的当前信道质量参数在所述第一时间段内 低于第二网络的历史信道质量参数时, 确定所述第二检测结果具体为所述终 端满足所述切换条件。
上述的网络切换方法, 其中, 所述信号质量参数包括平均接收信号强度 参数和平均信噪比衡量参数;
所述信道质量参数包括平均丟包率参数和平均吞吐率参数;
所述判断所述第一网络的信号质量参数是否低于第二网络的信号质量参 数, 获得第一判断结果的步骤包括:
当所述第一网络的平均接收信号强度参数低于所述第二网络的平均接收 信号强度参数, 同时所述第一网络的平均信噪比参数低于所述第二网络的平 均信噪比参数, 确定所述第一判断结果为所述第一网络的信号质量参数低于 第二网络的信号质量参数;
所述判断所述第一网络的当前信道质量参数是否低于所述终端预存的第 二网络的历史信道质量参数, 获得第二判断结果的步骤包括:
当所述第一网络的平均丟包率大于所述第二网络的历史平均丟包率, 且 所述第一网络的平均吞吐率小于所述第二网络的历史平均吞吐率, 确定所述 第二判断结果为所述第一网络的当前信道质量参数低于第二网络的历史信道 质量参数。
上述的网络切换方法, 其中, 由所述第一网络切换到所述第二网络后, 所述方法还包括:
测量第二网络的当前信道质量参数;
根据所述当前信道质量参数更新所述终端存储的第二网络的历史信道质 量参数。
上述的网络切换方法, 其中, 测量第二网络的当前信道质量参数后, 所 述方法还包括:
在所述当前信道质量参数中加入调节因子;
所述根据所述当前信道质量参数更新所述终端存储的第二网络的历史信 道质量参数的步骤包括:
用加入调节因子的当前信道质量参数更新所述终端存储的第二网络的历 史信道质量参数。
上述的网络切换方法, 其中, 所述调节因子与信号质量参数乘积的绝对 值成反比。
本发明实施例还提供了一种网络切换装置, 用于终端, 所述装置包括: 第一检测模块, 其设置为: 当所述终端接入到第一网络中时, 检测所述 终端周围是否存在可用的第二网络, 获得第一检测结果;
注册模块, 其设置为: 当所述第一检测结果指示存在所述第二网络时, 注册所述第二网络;
第二检测模块, 其设置为: 当注册所述第二网络成功后, 检测所述终端 是否满足由所述第一网络切换到所述第二网络的切换条件, 获得第二检测结 果; 以及
切换模块, 其设置为: 当所述第二检测结果指示所述终端满足所述切换 条件时, 将所述移动终端由所述第一网络切换到所述第二网络。
上述的网络切换装置, 其中, 所述第一网络为 WLAN, 所述第二网络为 LTE网络; 或者
所述第一网络为 LTE网络, 所述第二网络为 WLAN; 或者
所述第一网络为 WLAN中的第一子网络, 所述第二网络为 WLAN中的 第二子网络,其中所述 WLAN包括所述终端用户已知或用户能够设置的私有 WLAN子网络、用户订购的由运营商维护的运营商 WLAN子网络和可接入无 需鉴权的免费 WLAN子网络。
上述的网络切换装置, 其中, 所述终端中预存私有 WLAN子网络的第一 网络列表和运营商 WLAN子网络的第二网络列表, 网络列表的列表信息至少 包括网络服务集标识、 登录用户名和登录密码;
当所述第一网络为 LTE网络, 所述第二网络为 WLAN网络时, 所述第 一检测模块是设置为:
按照预设的优先级顺序检测所述终端周围是否存在可用的第二网络, 获 得第一检测结果, 其中所述优先级顺序依次为第一网络列表中的私有 WLAN 子网络、第二网络列表中的运营商 WLAN子网络和所述免费 WLAN子网络。 上述的网络切换装置, 其中, 所述第一检测模块是设置为: 按照所述终端预存的第一周期检测是否存在可用的第二网络。
上述的网络切换装置, 其中, 当所述第二网络为 WLAN网络时, 所述注 册模块是设置为:
当所述第一检测结果指示存在所述第二网络时, 根据终端预存的所述网 络列表中的登录用户名和登录密码, 注册所述第二网络。
上述的网络切换装置, 其中, 所述切换条件为所述第一网络的信号质量 参数低于所述第二网络的信号质量参数, 且所述第一网络的信道质量参数低 于所述第二网络的信道质量参数;
所述第二检测模块包括:
第一测量子模块, 其设置为: 按照所述终端预存的第二周期测量所述第 一网络和所述第二网络的信号质量参数;
第一判断子模块, 其设置为: 判断所述第一网络的信号质量参数是否低 于第二网络的信号质量参数, 获得第一判断结果;
第二测量子模块, 其设置为: 当第一判断结果指示所述第一网络的信号 质量参数低于第二网络的信号质量参数时, 按照所述第二周期测量所述第一 网络的当前信道质量参数;
第二判断子模块, 其设置为: 判断所述第一网络的当前信道质量参数是 否低于所述终端预存的第二网络的历史信道质量参数, 获得第二判断结果; 以及
切换条件确定子模块, 其设置为: 当第二判断结果指示所述第一网络的 当前信道质量参数低于第二网络的历史信道质量参数时, 确定所述第二检测 结果具体为所述终端满足所述切换条件。
上述的网络切换装置, 其中, 所述第二判断子模块是设置为:
判断所述第一网络的当前信道质量参数是否在所述终端预设的第一时间 段内低于第二网络的历史信道质量参数, 获得第二判断结果;
所述切换条件确定子模块具体为当第二判断结果指示第一网络的当前信 道质量参数在所述第一时间段内低于第二网络的历史信道质量参数时, 确定 所述第二检测结果为所述终端满足所述切换条件。
上述的网络切换装置, 其中, 所述信号质量参数包括平均接收信号强度 参数和平均信噪比衡量参数;
所述信道质量参数包括平均丟包率参数和平均吞吐率参数;
所述第一判断子模块是设置为:
当所述第一网络的平均接收信号强度参数低于所述第二网络的平均接收 信号强度参数, 同时所述第一网络的平均信噪比参数低于所述第二网络的平 均信噪比参数, 确定所述第一判断结果为所述第一网络的信号质量参数低于 第二网络的信号质量参数;
所述第二判断子模块是设置为: 当所述第一网络的平均丟包率大于所述第二网络的历史平均丟包率, 且 所述第一网络的平均吞吐率小于所述第二网络的历史平均吞吐率, 确定所述 第二判断结果为所述第一网络的当前信道质量参数低于第二网络的历史信道 质量参数。
上述的网络切换装置, 其中, 所述装置还包括:
测量模块, 其设置为: 测量第二网络的当前信道质量参数;
更新模块, 其设置为: 根据所述当前信道质量参数更新所述终端存储的 第二网络的历史信道质量参数。
上述的网络切换装置, 其中, 所述装置还包括:
调节模块, 其设置为: 在所述当前信道质量参数中加入调节因子; 所述更新模块是设置为:
用加入调节因子的当前信道质量参数更新所述终端存储的第二网络的历 史信道质量参数。
上述的网络切换装置, 其中, 所述调节因子与信号质量参数乘积的绝对 值成反比。
为了实现上述目的, 本发明实施例还提供了一种终端, 包括上述任一项 所述的网络切换装置。
本发明实施例能够在检测到终端满足网络切换条件时, 自动进行网络切 换, 提升用户体验;
本发明实施例以网络的信号质量参数和信道质量参数作为网络切换的衡 量标准,只有在第二网络的信号质量参数和信道质量参数均优于第一网络时, 才由第一网络切换到第二网络;
二网络, 不需要用户再手动输入登录用户名和密码, 同样提升了用户体验; 本发明实施例, 在由第一网络切换至第二网络时, 主要完成信道切换, 路由更新等, 不会中影响终端当前的数据任务;
在本发明实施例中, 终端预存的自适应参数可以进行自学习, 终端可以 进行持久化存储, 供后续使用;
本发明实施例还针对信道质量参数引入了调节因子, 调节因子越大, 网 络信道的优先系数就越高, 越有可能使用该网络, 相应地, 就能够减少网络 切换次数, 有效避免频繁切换。
附图概述
图 1为本发明实施例提供的网络切换方法的流程示意图;
图 2为本发明实施例提供的私有 WLAN子网络的网络列表结构; 图 3为本发明实施例提供的运营商 WLAN子网络的网络列表结构; 图 4为本发明实施例提供的自适应参数结构示意图
图 5为本发明实施例提供的由 LTE网络切换至 WLAN网络的网络切换 流程图;
图 6为本发明实施例提供的切换条件判决示意图;
图 7为本发明实施例提供的自适应参数调整过程示意图;
图 8为本发明实施例提供的一种网络切换装置的结构示意图;
图 9为本发明实施例提供的另一种网络切换装置的结构示意图。 本发明的较佳实施方式
下面将结合附图对本发明具体实施例进行详细描述,在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例提供了一种网络切换方法, 用于终端, 所述方法如图 1所 示, 包括:
步骤 11 , 当所述终端接入到第一网络中时, 检测所述终端周围是否存在 可用的第二网络, 获得第一检测结果;
步骤 12, 当所述第一检测结果指示存在所述第二网络时, 注册所述第二 网络;
步骤 13 , 当注册所述第二网络成功后, 检测所述终端是否满足由所述第 一网络切换到所述第二网络的切换条件, 获得第二检测结果;
步骤 14, 当所述第二检测结果指示所述终端满足所述切换条件时, 将所 述移动终端由所述第一网络切换到所述第二网络。
在本发明实施例中, 不需要终端用户手动搜索可用的第二网络, 当终端 接入到第一网络中时, 终端会自动检测可用的第二网络, 同时在搜索到第二 网络后, 也不需要用户手动注册接入, 终端会自动注册第二网络, 注册成功 后, 如果检测到满足切换条件时, 自动将所述终端由第一网络切换至第二网 络。 上述过程均有终端自动进行, 提升了用户体验。
下面分步骤介绍上述方法。
首先, 执行步骤 11 , 当所述终端接入到第一网络中时, 检测所述终端周 围是否存在可用的第二网络, 获得第一检测结果。
其中, 优选地, 所述第一网络为无线局域网络 WLAN, 所述第二网络为 长期演进 LTE网络; 或者
所述第一网络为 LTE网络, 所述第二网络为 WLAN; 或者
所述第一网络为 WLAN中的第一子网络, 所述第二网络为 WLAN中的 第二子网络,其中所述 WLAN包括所述终端用户已知或用户能够设置的私有 WLAN子网络、用户订购的由运营商维护的运营商 WLAN子网络和可接入无 需鉴权的免费 WLAN子网络。
由于 LTE网络覆盖要优于 WLAN, 所以 LTE网络注册通常在初始网络 选择时可以完成登记注册, 因此, 终端开机时一般接入到第一网络 LTE网络 中。 此时可以检测所述终端周围是否存在可用的第二网络 WLAN;
或者当终端已经开机一段时间后连接到了某一 WLAN, 此时, 可以检测 终端周围是否存在可用的 LTE网络;
当然, 终端还可以在 WLAN网络中子网络之间进行切换, 当终端接入到 WLAN中的第一子网络时,检测是否有可用的 WLAN中的第二子网络,对终 端在 WLAN子网络间进行切换举例说明如下。
<实施例 1>
终端接入到第一网络中, 第一网络为 WLAN中的私有 WLAN子网络, 该网络能够为终端用户提供的带宽在 1-2M之间, 而此时如果检测到终端周 围存在可用的第二网络, 第二网络为 WLAN中的运营商 WLAN子网络, 该 网络能够为终端用户提供的带宽可以达到 5M,那么终端也可以由私有 WLAN 子网络切换到运营商 WLAN子网络, 以获得更高的带宽。
当然, 终端在网络间的切换并不局限于上述的 LET网络与 WLAN间的 切换、 或者 WLAN子网络间的切换, 其他网络间的切换也是本发明保护的范 围。
本发明实施例优选地,所述终端中预存私有 WLAN子网络的第一网络列 表和运营商 WLAN子网络的第二网络列表, 网络列表的列表信息至少包括网 络服务集标识、 登录用户名和登录密码;
当所述第一网络为 LTE网络, 所述第二网络为 WLAN时, 步骤 11可以 包括:
按照预设的优先级顺序检测所述终端周围是否存在可用的第二网络, 获 得第一检测结果, 其中所述优先级顺序依次为第一网络列表中的私有 WLAN 子网络、第二网络列表中的运营商 WLAN子网络和所述免费 WLAN子网络。
WLAN中的上述三种子网络, 除了可接入无需鉴权的免费 WLAN子网 络, 其他的 WLAN子网络在注册时, 一般都需要进行登录信息验证终端用户 都需要手动输入注册信息, 为了提升用户体验, 本发明实施例优选地, 在终 端中预先维护了私有 WLAN子网络的第一网络列表和运营商 WLAN子网络 的第二网络列表, 列表信息中至少包括网络服务集标识、 登录用户名和登录 密码, 第一网络列表和第二网络列表的列表结构分别如图 2和 3所示。 终端 通过维护上述网络列表, 当需要注册 WLAN 的网络时, 就可以直接根据网 络列表的列表信息自动注册, 不再需要终端用户手动输入注册信息。
当终端接入到 LTE网络时, 为了更高效率的检测到终端周围是否存在可 用的 WLAN网络, 优选地, 可以按照预设的优选级顺序检测所述终端周围是 否存在可用的 WLAN, 私有 WLAN子网络具有第一优先级, 运营商 WLAN 子网络时第二优先级,最后才检测是否存在可用的免费 WLAN子网络。另夕卜, 处于在同一网络列表中的 WLAN子网络可以按照信号强度高低进行排序。
此外, 在检测终端周围是否存在可用的第二网络时, 如果一直进行检测, 会过多的占用终端资源, 造成资源浪费, 因此, 优选地, 可以周期性地进行 第二网络的检测, 即所述检测是否存在可用的第二网络可以为:
按照所述终端预存的第一周期检测是否存在可用的第二网络。
当所述第二网络为 WLAN时, 步骤 12可以包括:
当所述第一检测结果指示存在所述第二网络时, 根据终端预存的所述网 络列表中的登录用户名和登录密码, 注册所述第二网络。
当所述第一网络为 LTE网络, 所述第二网络为 WLAN时, 或者所述第 一网络为 WLAN网络的第一子网络, 所述第二网络为 WLAN网络的第二子 网络时, 直接用预存的网络列表中的登录用户名和登录密码, 注册所述第二 网络, 不再需要终端用户手动输入注册信息。
当第一网络为 WLAN, 第二网络为 LTE网络时, LTE网络进行注册不需 要用户名和密码, 可以直接注册。
应当注意地是, 如果注册第二网络不成功, 那么终端肯定不能够从第一 网络切换到第二网络, 只有在注册第二网络成功后, 才需要执行步骤 13 , 检 测所述终端是否满足由所述第一网络切换到所述第二网络的切换条件, 获得 第二检测结果。 本发明实施例中优选地, 用网络的信号质量参数和信道质量参数作为切 换条件, 第二网络只有在信号质量和信道质量均超过第一网络时, 才满足切 换条件, 即所述切换条件具体为所述第一网络的信号质量参数低于所述第二 网络的信号质量参数, 且所述第一网络的信道质量参数低于所述第二网络的 信道质量参数;
所述步骤 13可以包括:
按照所述终端预存的第二周期测量所述第一网络和所述第二网络的信号 质量参数;
判断所述第一网络的信号质量参数是否低于第二网络的信号质量参数, 获得第一判断结果;
当第一判断结果指示所述第一网络的信号质量参数低于第二网络的信号 质量参数时, 按照所述第二周期测量所述第一网络的当前信道质量参数; 判断所述第一网络的当前信道质量参数是否低于所述终端预存的第二网 络的历史信道质量参数, 获得第二判断结果;
当第二判断结果指示所述第一网络的当前信道质量参数低于第二网络的 历史信道质量参数时, 确定所述第二检测结果具体为所述终端满足所述切换 条件。
一般情况下, 先检测两个网络的信号质量, 如果第二网络的信号质量已 经低于第一网络, 那么第二网络的信道质量也不会高于第一网络, 因此, 本 发明实施例中, 优选地, 首先判断所述第一网络的信号质量参数是否低于第 二网络的信号质量参数, 再判断所述第一网络的信道质量参数是否低于第二 网络的信道质量参数。
在测量信号质量参数和信道质量参数时, 优选地, 按照终端预设的第二 终端进行釆样测量, 计算釆样平均值, 举例说明如下。
<实施例 2>
第二周期为 3.84秒, 釆样次数为 3次, 即每 1.28秒执行一次釆样, 每个 周期釆用 3次结果的平均值。
较佳地, 所述判断所述第一网络的当前信道质量参数是否低于所述终端 预存的第二网络的历史信道质量参数, 获得第二判断结果可以包括: 判断所述第一网络的当前信道质量参数是否在所述终端预设的第一时间 段内低于第二网络的历史信道质量参数, 获得第二判断结果;
当第二判断结果指示第一网络的当前信道质量参数在所述第一时间段内 低于第二网络的历史信道质量参数时, 确定所述第二检测结果具体为所述终 端满足所述切换条件。
由于网络信道有时会出现突发性错误, 因此, 在衡量信道质量参数时, 需要第一网络的信道质量参数至少在第一时间段内低于第二网络时, 才确定 第一网络的信道质量参数低于第二网络。
优选地, 所述信号质量参数包括平均接收信号强度参数和平均信噪比衡 量参数;
所述信道质量参数包括平均丟包率参数和平均吞吐率参数;
所述判断所述第一网络的信号质量参数是否低于第二网络的信号质量参 数, 获得第一判断结果具体为:
当所述第一网络的平均接收信号强度参数低于所述第二网络的平均接收 信号强度参数, 同时所述第一网络的平均信噪比参数低于所述第二网络的平 均信噪比参数, 确定所述第一判断结果为所述第一网络的信号质量参数低于 第二网络的信号质量参数;
所述判断所述第一网络的当前信道质量参数是否低于所述终端预存的第 二网络的历史信道质量参数, 获得第二判断结果具体为:
当所述第一网络的平均丟包率大于所述第二网络的历史平均丟包率, 且 所述第一网络的平均吞吐率小于所述第二网络的历史平均吞吐率, 确定所述 第二判断结果为所述第一网络的当前信道质量参数低于第二网络的历史信道 质量参数。
在本发明实施例中, 首先按照第二周期测量第一网络和第二网络的平均 接收信号强度参数, 以及两个网络的平均信噪比参数, 当所述第一网络的平 均接收信号强度参数低于所述第二网络的平均接收信号强度参数, 同时所述 第一网络的平均信噪比参数低于所述第二网络的平均信噪比参数, 确定所述 第一判断结果为所述第一网络的信号质量参数低于第二网络的信号质量参 数;
然后按照第二周期测量第一网络的当前信道平均丟包率和平均吞吐率, 与预测的第二网络的历史平均丟包率和平均吞吐率相比, 当所述第一网络的 平均丟包率大于所述第二网络的历史平均丟包率, 且所述第一网络的平均吞 吐率小于所述第二网络的历史平均吞吐率, 确定所述第二判断结果为所述第 一网络的当前信道质量参数低于第二网络的历史信道质量参数, 同时确定终 端满足由第一网络切换到第二网络的切换条件。
当检测到终端满足切换条件时, 执行步骤 14, 将所述终端由第一网络切 换至第二网络。
在进行网络切换时主要完成信道切换、 路由更新、 TCP/IP重配和链路重 建, 不需要中断终端正在进行的数据业务。
从上述过程可以看出,终端预存的信息包括私有 WLAN子网络的第一网 络列表和运营商 WLAN子网络的第二网络列表,其中的列表信息至少包括网 络服务集标识、 登录用户名和登录密码, 还有检测是否存在第二网络的第一 周期, 测量信号质量参数和信道质量参数的第二周期, 第一时间段, 以及网 络的历史平均丟包率和历史平均吞吐率。
其中第一网络列表可由用户设置, 第二网络列表通常内置于 SIM卡文件 或者终端 ROM中, 由运营商控制编辑, 用户不可设置, 在本发明实施例中, 将除了网络列表外的其他参数作为终端的自适应参数, 自适应参数的结构如 图 4所示。
在本发明实施例中, 终端首次开机时的自适应参数来源于经验值, 之后 可以由终端进行自适应学习来修改自适应参数, 即由所述第一网络切换到所 述第二网络后, 优选地, 所述方法还包括:
测量第二网络的当前信道质量参数;
根据所述当前信道质量参数更新所述终端存储的第二网络的历史信道质 量参数。
自适应参数优选地, 持久化存储在非意识性随机访问存储器中, 可以通 过自学习进行维护和修改, 不需要用户进行特殊配置。
所述的根据当前信道质量参数更新所述终端存储的第二网络的历史信道 质量参数优选地, 可以为:
用当前信道质量参数与历史信道质量参数的加权平均值来更新历史信道 参数。
测量第二网络的当前信道质量参数后, 所述方法还可以包括:
在所述当前信道质量参数中加入调节因子;
所述根据所述当前信道质量参数更新所述终端存储的第二网络的历史信 道质量参数具体为:
用加入调节因子的当前信道质量参数更新所述终端存储的第二网络的历 史信道质量参数。
本发明实施例针对信道质量参数引入了调节因子, LTE网络信道中吞吐 率的调节因子为 u, WLAN网络信道中吞吐率的调节因子为 V, 由于吞吐率和 丟包率成反比, 一般情况下, 吞吐率高, 丟包率就低, 吞吐率低, 丟包率就 高, 反之亦然。 因此, 丟包率可以直接用吞吐率 -1来表示, 则加入了调节因 子的信道质量参数如下:
LTE网络的吞吐率 Tlte— default = u+∑Tlte— default';
LTE网络的丟包率 Plte_default = ( u-1 ) +∑Plte_default';
WIFI网络的吞吐率 Twifi— default = v+∑Twifi— default';
WIFI网络的丟包率 Pwifi_default = ( v-1 ) +∑Pwifi_default';
其中, ∑ Tlte— default'为 LTE网络信道的平均吞吐率与当前服务信道的吞 吐率的加权平均值, ∑Plte— default为 LTE网络信道的平均丟包率与当前服务 信道的丟包率的加权平均值, ∑ Twifi— default', ∑ Pwifi— default'分别为 WIFI 网络信道的平均吞吐率与当前服务信道的吞吐率的加权平均值、 WIFI网络信 道的平均丟包率与当前服务信道的丟包率的加权平均值。
由于本发明实施例中是根据信号质量参数和信道质量参数来衡量是否进 行网络切换的, 所述调节因子优选地, 与信号质量参数乘积的绝对值成反比, 信道的信号质量越好, 调节因子越大, 加入了调节因子的信道质量参数越大, 该网络信道的优先系数就越高, 越有可能使用该网络, 相应地, 就能够减少 网络切换次数, 有效避免频繁切换。
对信道的信号质量越好, 调节因子越大, 加入了调节因子的信道质量参 数越大举例说明如下。
<实施例 3>
LTE网络信道中吞吐率的调节因子 u=l/ ( |SNR' * RSSI'I ) , 其中 SNR'为 LTE网络的平均信噪比, RSSI'为 LTE网络的平均接收信号强度。
RSSI的取值一般为负值,那么 LTE网络的信号质量参数越高, 即平均接 收信号强度越强, 平均信噪比越大, 二者乘积的绝对值越小, 调节因子 u越 大, 相应地, LTE网络信道中丟包率的调节因子越小, 说明该 LTE网络的信 道质量越好。
本发明实施例中, 终端接入到第一网络时, 如果检测到周围有可用的第 二网络时, 会根据预存在终端中的网络列表的列表信息, 直接注册第二网络, 不需要用户再手动输入登录用户名和密码, 并在终端满足网络切换条件时, 自动进行网络切换, 提升了用户体验; 进一步地, 本发明实施例以网络的信 号质量参数和信道质量参数作为网络切换的衡量标准, 只有在第二网络的信 号质量参数和信道质量参数均优于第一网络时, 才由第一网络切换到第二网 络; 在由第一网络切换至第二网络时, 主要完成信道切换, 路由更新等, 不 会中影响终端当前的数据任务; 另外, 终端预存的自适应参数可以进行自学 习, 进一步地, 终端可以进行持久化存储, 供后续使用; 本发明实施例还针 对信道质量参数引入了调节因子, 调节因子越大, 网络信道的优先系数就越 高, 越有可能使用该网络, 相应地, 就能够减少网络切换次数, 有效避免频 繁切换。
下面结合实际说明上述过程。
如图 5所示, 网络切换的过程包括:
步骤 51 , 移动终端启动开机, 读取加密文件系统 EFS文件或者非易失性 随机访问存储器的配置信息, 获取终端的自适应参数, 具体包括: 检测是否存在第二网络的第一周期, 测量信号质量参数和信道质量参数 的第二周期, 第一时间段, 以及各网络的历史平均丟包率和历史平均吞吐率, 初始值来源于经验值;
步骤 52, 移动终端进行初始网络选择, 终端接入层扫描当前空间范围内 LTE网络频点, 并进行登记注册;
步骤 53 , 如果移动终端 WIFI打开时, 终端按照第一周期, 按预设的优 先级顺序搜索周围可用的 WLAN,可用 WLAN包括网络服务集标识和终端预 存的私有 WLAN子网络的第一网络列表中的网络服务集标识相同的网络、和 终端预存的运营商 WLAN子网络的第二网络列表中的网络服务集标识相同 的网络、以及可接入的无需鉴权的免费 WLAN,且优先级顺序为:私有 WLAN 子网络、 运营商 WLAN子网络和免费 WLAN子网络;
步骤 54,判断当前是否搜到可用的 WLAN络,如果搜索到可用的 WLAN, 执行步骤 55, 如果没有搜索到可用的 WLAN, 则返回执行步骤 53 , 继续进行 周期性的搜索;
步骤 55, 当搜索到可用的 WLAN子网络时, 根据终端预先存储的第一 网络列表或第二网络列表中的登录用户名和登录密码, 注册 WLAN网络, 当 然, 如果可用的 WLAN为免费 WLAN子网络时, 直接注册, 注册成功后, 执行步骤 56;
步骤 56,检测终端是否满足由 LTE网络切换至 WLAN网络的切换条件, 切换条件为:
如果 LTE网络的平均接收信号强度参数低于 WLAN网络的平均接收信 号强度参数, 同时 LTE网络的平均信噪比参数低于 WLAN网络的平均信噪 比参数; 且
在第一时间段内, LTE网络的平均丟包率大于该 WLAN的历史平均丟包 率, 且 LTE网络的平均吞吐率小于该 WLAN的历史平均吞吐率;
如果满足切换条件则执行步骤 57,如果不满足切换条件,则返回步骤 55, 注册其他可用的 WLAN网络;
步骤 57, 将所述终端由 LTE网络切换至 WLAN, 网络切换主要完成信 道切换, 路由更新, TCP/IP重配, 链路重建, 保持数据业务不受影响; 步骤 58, 自适应参数更新;
步骤 59, 结束。
如图 6所示, 其中的步骤 56可以包括:
步骤 561 , 当设备注册 WLAN后, 开始进行 LTE网络和 WLAN的信号 质量参数测量, 终端可以首先清除第二周期测量定时器, 然后对两个网络的 信号强度和信噪比进行釆样, 每个测量周期进行 N次釆样, N取决于系统实 现, 本发明实施例中, 初始第二周期釆用 3.84秒, N釆用 3次, 即每 1.28秒 执行一次釆样, 每个周期釆用 3次平均值;
步骤 562,判断 LTE网络的信号质量参数是否低于 WLAN的信号质量参 数, 即判断 LTE网络的平均接收信号强度参数是否低于 WLAN的平均接收 信号强度参数, 同时 LTE网络的平均信噪比参数是否低于 WLAN网络的平 均信噪比参数, 如果是执行步骤 563 , 如果否, 则执行步骤 561 ;
步骤 563 , 按照第二周期测量 LTE信道的信道质量参数;
步骤 564 , 判断 LTE 网络的信道质量参数是否在第一时间段内低于
WLAN的历史信道质量参数, 即在第一时间段内, LTE网络的平均丟包率是 否大于该 WLAN网络的历史平均丟包率, 且 LTE网络的平均吞吐率是否小 于该 WLAN的历史平均吞吐率, 其中第一时间段的初始值源于经验值, 本发 明实施例釆用初始 10秒, 如果是执行步骤 57, 如果否, 则执行步骤 561。
如图 7所示, 其中的步骤 58可以包括:
步骤 581 , 调整优化自适应参数。
切换成功后, 根据当前网络信道状态, 调整设备自适应参数, WLAN和 LTE网络平均吞吐率和平均丟包率釆用加权平均法, 计算更新历史信息, 同 时加入调节因子 u、 V, 当目标信道 SNR'和 RSSI'的乘积越小, u越大, 该网 络信道的优先系数就越高, 即信号强度和信号质量越好, 则其绝对值越小, 乘积就越小, 则该网络信道质量越好, 也就越有可能使用该网络, 减少网络 切换次数, 有效避免频繁切换;
步骤 582, 进行持久化存储, 供后续使用。 当终端开机时, 一般接入到 LTE网络中, 此时如果按照周期性检测到可 用的 WLAN,终端会根据预存的网络列表的列表信息注册该 WLAN网,一旦 注册成功, 终端通过周期性测量 LTE网络和该 WLAN的信号质量参数和信 道质量参数, 如果满足切换条件, 终端会自动由 LTE网络切换至 WLAN网 络, 整个过程不需要用户手动选择可用网络以及手动输入注册信息等, 提升 了用户体验。
本发明实施例还提供了一种网络切换装置, 用于终端, 所述装置如图 8 所示, 包括:
第一检测模块, 其设置为: 当所述终端接入到第一网络中时, 检测所述 终端周围是否存在可用的第二网络, 获得第一检测结果;
注册模块, 其设置为: 当所述第一检测结果指示存在所述第二网络时, 注册所述第二网络;
第二检测模块, 其设置为: 当注册所述第二网络成功后, 检测所述终端 是否满足由所述第一网络切换到所述第二网络的切换条件, 获得第二检测结 果;
切换模块, 其设置为: 当所述第二检测结果指示所述终端满足所述切换 条件时, 将所述移动终端由所述第一网络切换到所述第二网络。
上述的网络切换装置, 其中, 所述第一网络为无线局域网络 WLAN, 所 述第二网络为长期演进 LTE网络; 或者
所述第一网络为 LTE网络, 所述第二网络为 WLAN; 或者
所述第一网络为 WLAN中的第一子网络, 所述第二网络为 WLAN中的 第二子网络,其中所述 WLAN包括所述终端用户已知或用户能够设置的私有 WLAN子网络、用户订购的由运营商维护的运营商 WLAN子网络和可接入无 需鉴权的免费 WLAN子网络。
上述的网络切换装置, 其中, 所述终端中预存私有 WLAN子网络的第一 网络列表和运营商 WLAN子网络的第二网络列表, 网络列表的列表信息至少 包括网络服务集标识、 登录用户名和登录密码;
当所述第一网络为 LTE网络, 所述第二网络为 WLAN时, 所述第一检 测模块是设置为:
按照预设的优先级顺序检测所述终端周围是否存在可用的第二网络, 获 得第一检测结果, 其中所述优先级顺序依次为第一网络列表中的私有 WLAN 子网络、第二网络列表中的运营商 WLAN子网络和所述免费 WLAN子网络。
上述的网络切换装置, 其中, 所述第一检测模块是设置为:
按照所述终端预存的第一周期检测是否存在可用的第二网络。
上述的网络切换装置, 其中, 当所述第二网络为 WLAN时, 所述注册模 块是设置为:
当所述第一检测结果指示存在所述第二网络时, 根据终端预存的所述网 络列表中的登录用户名和登录密码, 注册所述第二网络。
上述的网络切换装置, 其中, 所述切换条件具体为所述第一网络的信号 质量参数低于所述第二网络的信号质量参数, 且所述第一网络的信道质量参 数低于所述第二网络的信道质量参数;
所述第二检测模块包括:
第一测量子模块, 其设置为: 按照所述终端预存的第二周期测量所述第 一网络和所述第二网络的信号质量参数;
第一判断子模块, 其设置为: 判断所述第一网络的信号质量参数是否低 于第二网络的信号质量参数, 获得第一判断结果;
第二测量子模块, 其设置为: 当第一判断结果指示所述第一网络的信号 质量参数低于第二网络的信号质量参数时, 按照所述第二周期测量所述第一 网络的当前信道质量参数;
第二判断子模块, 其设置为: 判断所述第一网络的当前信道质量参数是 否低于所述终端预存的第二网络的历史信道质量参数, 获得第二判断结果; 切换条件确定子模块, 其设置为: 当第二判断结果指示所述第一网络的 当前信道质量参数低于第二网络的历史信道质量参数时, 确定所述第二检测 结果具体为所述终端满足所述切换条件。
上述的网络切换装置, 其中, 所述第二判断子模块是设置为: 判断所述第一网络的当前信道质量参数是否在所述终端预设的第一时间 段内低于第二网络的历史信道质量参数, 获得第二判断结果;
所述切换条件确定子模块具体为当第二判断结果指示第一网络的当前信 道质量参数在所述第一时间段内低于第二网络的历史信道质量参数时, 确定 所述第二检测结果具体为所述终端满足所述切换条件。
上述的网络切换装置, 其中, 所述信号质量参数包括平均接收信号强度 参数和平均信噪比衡量参数;
所述信道质量参数包括平均丟包率参数和平均吞吐率参数;
所述第一判断子模块是设置为:
当所述第一网络的平均接收信号强度参数低于所述第二网络的平均接收 信号强度参数, 同时所述第一网络的平均信噪比参数低于所述第二网络的平 均信噪比参数, 确定所述第一判断结果为所述第一网络的信号质量参数低于 第二网络的信号质量参数;
所述第二判断子模块是设置为:
当所述第一网络的平均丟包率大于所述第二网络的历史平均丟包率, 且 所述第一网络的平均吞吐率小于所述第二网络的历史平均吞吐率, 确定所述 第二判断结果为所述第一网络的当前信道质量参数低于第二网络的历史信道 质量参数。
上述的网络切换装置, 其中, 所述装置还包括:
测量模块, 其设置为测量第二网络的当前信道质量参数;
更新模块, 其设置为根据所述当前信道质量参数更新所述终端存储的第 二网络的历史信道质量参数。
上述的网络切换装置, 其中, 所述装置还包括:
调节模块, 其设置为在所述当前信道质量参数中加入调节因子; 所述更新模块是设置为:
用加入调节因子的当前信道质量参数更新所述终端存储的第二网络的历 史信道质量参数。 上述的网络切换装置, 其中, 所述调节因子与信号质量参数乘积的绝对 值成反比。
本发明实施例还提供了一种优选的网络切换装置, 如图 9所示, 包括: 配置模块, 其设置为维护终端的自适应参数;
第一检测模块, 其设置为当所述终端接入到第一网络中时, 检测所述终 端周围是否存在可用的第二网络, 获得第一检测结果;
注册模块, 其设置为当所述第一检测结果指示存在所述第二网络时, 注 册所述第二网络;
第二检测模块, 其设置为当注册所述第二网络成功后, 检测所述终端是 否满足由所述第一网络切换到所述第二网络的切换条件,获得第二检测结果; 其中, 第二检测模块包括: 测量子模块, 其设置为测量终端在第一网络和第二网络中的信号质量参 数以及信道质量参数;
切换判决子模块, 其设置为根据测量子模块的测量结果判断是否满足切 换条件;
切换模块, 其设置为当所述第二检测结果指示所述终端满足所述切换条 件时, 将所述移动终端由所述第一网络切换到所述第二网络;
自适应模块, 其设置为在终端切换到第二网络后, 进行自学习, 修改所 述配置模块中的自适应参数。
本发明实施例还提供了一种终端,包括上述任一项所述的网络切换装置。 以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润 饰, 这些改进和润饰也应视为本发明的保护范围。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
工业实用性
本发明实施例能够在检测到终端满足网络切换条件时, 自动进行网络切 换, 提升用户体验。

Claims

权 利 要 求 书
1. 一种网络切换方法, 用于终端, 所述方法包括:
当所述终端接入到第一网络中时, 检测所述终端周围是否存在可用的第 二网络, 获得第一检测结果;
当所述第一检测结果指示存在所述第二网络时, 注册所述第二网络; 当注册所述第二网络成功后, 检测所述终端是否满足由所述第一网络切 换到所述第二网络的切换条件, 获得第二检测结果;
当所述第二检测结果指示所述终端满足所述切换条件时, 将所述终端由 所述第一网络切换到所述第二网络。
2.如权利要求 1 所述的网络切换方法, 其中, 所述第一网络为无线局域 网络 WLAN, 所述第二网络为长期演进 LTE网络; 或者
所述第一网络为 LTE网络, 所述第二网络为 WLAN; 或者
所述第一网络为 WLAN中的第一子网络, 所述第二网络为 WLAN中的 第二子网络,其中所述 WLAN包括所述终端用户已知或用户能够设置的私有 WLAN子网络、用户订购的由运营商维护的运营商 WLAN子网络和可接入无 需鉴权的免费 WLAN子网络。
3. 如权利要求 2所述的网络切换方法,其中,所述终端中预存私有 WLAN 子网络的第一网络列表和运营商 WLAN子网络的第二网络列表, 网络列表的 列表信息至少包括网络服务集标识、 登录用户名和登录密码;
当所述第一网络为 LTE网络, 所述第二网络为 WLAN时, 所述检测所 述终端周围是否存在可用的第二网络, 获得第一检测结果的步骤包括:
按照预设的优先级顺序检测所述终端周围是否存在可用的第二网络, 获 得第一检测结果, 其中所述优先级顺序依次为第一网络列表中的私有 WLAN 子网络、第二网络列表中的运营商 WLAN子网络和所述免费 WLAN子网络。
4.如权利要求 1-3任一项所述的网络切换方法,其中, 所述检测是否存在 可用的第二网络的步骤包括: 按照所述终端预存的第一周期检测是否存在可用的第二网络。
5. 如权利要求 4所述的网络切换方法, 其中, 当所述第二网络为 WLAN 时, 所述当所述第一检测结果指示存在所述第二网络时, 注册所述第二网络 的步骤包括:
当所述第一检测结果指示存在所述第二网络时, 根据终端预存的所述网 络列表中的登录用户名和登录密码, 注册所述第二网络。
6. 如权利要求 4所述的网络切换方法, 其中, 所述切换条件为所述第一 网络的信号质量参数低于所述第二网络的信号质量参数, 且所述第一网络的 信道质量参数低于所述第二网络的信道质量参数;
所述检测所述终端是否满足由所述第一网络切换到所述第二网络的切换 条件, 获得第二检测结果的步骤包括:
按照所述终端预存的第二周期测量所述第一网络和所述第二网络的信号 质量参数;
判断所述第一网络的信号质量参数是否低于第二网络的信号质量参数, 获得第一判断结果;
当第一判断结果指示所述第一网络的信号质量参数低于第二网络的信号 质量参数时, 按照所述第二周期测量所述第一网络的当前信道质量参数; 判断所述第一网络的当前信道质量参数是否低于所述终端预存的第二网 络的历史信道质量参数, 获得第二判断结果;
当第二判断结果指示所述第一网络的当前信道质量参数低于第二网络的 历史信道质量参数时,确定所述第二检测结果为所述终端满足所述切换条件。
7.如权利要求 6 所述的网络切换方法, 其中, 所述判断所述第一网络的 当前信道质量参数是否低于所述终端预存的第二网络的历史信道质量参数, 获得第二判断结果的步骤包括: 判断所述第一网络的当前信道质量参数是否在所述终端预设的第一时间 段内低于第二网络的历史信道质量参数, 获得第二判断结果;
当第二判断结果指示第一网络的当前信道质量参数在所述第一时间段内 低于第二网络的历史信道质量参数时, 确定所述第二检测结果具体为所述终 端满足所述切换条件。
8. 如权利要求 6或 7所述的网络切换方法, 其中, 所述信号质量参数包 括平均接收信号强度参数和平均信噪比衡量参数;
所述信道质量参数包括平均丟包率参数和平均吞吐率参数;
所述判断所述第一网络的信号质量参数是否低于第二网络的信号质量参 数, 获得第一判断结果的步骤包括:
当所述第一网络的平均接收信号强度参数低于所述第二网络的平均接收 信号强度参数, 同时所述第一网络的平均信噪比参数低于所述第二网络的平 均信噪比参数, 确定所述第一判断结果为所述第一网络的信号质量参数低于 第二网络的信号质量参数;
所述判断所述第一网络的当前信道质量参数是否低于所述终端预存的第 二网络的历史信道质量参数, 获得第二判断结果具体为:
当所述第一网络的平均丟包率大于所述第二网络的历史平均丟包率, 且 所述第一网络的平均吞吐率小于所述第二网络的历史平均吞吐率, 确定所述 第二判断结果为所述第一网络的当前信道质量参数低于第二网络的历史信道 质量参数。
9.如权利要求 8 所述的网络切换方法, 其中, 由所述第一网络切换到所 述第二网络后, 所述方法还包括:
测量第二网络的当前信道质量参数;
根据所述当前信道质量参数更新所述终端存储的第二网络的历史信道质 量参数。
10.如权利要求 9所述的网络切换方法, 其中, 测量第二网络的当前信道 质量参数后, 所述方法还包括:
在所述当前信道质量参数中加入调节因子;
所述根据所述当前信道质量参数更新所述终端存储的第二网络的历史信 道质量参数的步骤包括:
用加入调节因子的当前信道质量参数更新所述终端存储的第二网络的历 史信道质量参数。
11.如权利要求 10 所述的网络切换方法, 其中, 所述调节因子与信号质 量参数乘积的绝对值成反比。
12.—种网络切换装置, 用于终端, 所述装置包括:
第一检测模块, 其设置为: 当所述终端接入到第一网络中时, 检测所述 终端周围是否存在可用的第二网络, 获得第一检测结果;
注册模块, 其设置为: 当所述第一检测结果指示存在所述第二网络时, 注册所述第二网络;
第二检测模块, 其设置为: 当注册所述第二网络成功后, 检测所述终端 是否满足由所述第一网络切换到所述第二网络的切换条件, 获得第二检测结 果; 以及
切换模块, 其设置为: 当所述第二检测结果指示所述终端满足所述切换 条件时, 将所述移动终端由所述第一网络切换到所述第二网络。
13.如权利要 12 所述的网络切换装置, 其中, 所述第一网络为无线局域 网络 WLAN, 所述第二网络为长期演进 LTE网络; 或者
所述第一网络为 LTE网络, 所述第二网络为 WLAN; 或者
所述第一网络为 WLAN中的第一子网络, 所述第二网络为 WLAN中的 第二子网络,其中所述 WLAN包括所述终端用户已知或用户能够设置的私有 WLAN子网络、用户订购的由运营商维护的运营商 WLAN子网络和可接入无 需鉴权的免费 WLAN子网络。
14. 如权利要求 13 所述的网络切换装置, 其中, 所述终端中预存私有
WLAN子网络的第一网络列表和运营商 WLAN子网络的第二网络列表,网络 列表的列表信息至少包括网络服务集标识、 登录用户名和登录密码;
当所述第一网络为 LTE网络, 所述第二网络为 WLAN时, 所述第一检 测模块是设置为:
按照预设的优先级顺序检测所述终端周围是否存在可用的第二网络, 获 得第一检测结果, 其中所述优先级顺序依次为第一网络列表中的私有 WLAN 子网络、第二网络列表中的运营商 WLAN子网络和所述免费 WLAN子网络。
15.如权利要求 12-14任一项所述的网络切换装置, 其中, 所述第一检测 模块是设置为:
按照所述终端预存的第一周期检测是否存在可用的第二网络。
16.如权利要求 15所述的网络切换装置,其中,当所述第二网络为 WLAN 时, 所述注册模块是设置为:
当所述第一检测结果指示存在所述第二网络时, 根据终端预存的所述网 络列表中的登录用户名和登录密码, 注册所述第二网络。
17. 如权利要求 15所述的网络切换装置, 其中, 所述切换条件具体为所 述第一网络的信号质量参数低于所述第二网络的信号质量参数, 且所述第一 网络的信道质量参数低于所述第二网络的信道质量参数;
所述第二检测模块包括:
第一测量子模块, 其设置为: 按照所述终端预存的第二周期测量所述第 一网络和所述第二网络的信号质量参数;
第一判断子模块, 其设置为: 判断所述第一网络的信号质量参数是否低 于第二网络的信号质量参数, 获得第一判断结果;
第二测量子模块, 其设置为: 当第一判断结果指示所述第一网络的信号 质量参数低于第二网络的信号质量参数时, 按照所述第二周期测量所述第一 网络的当前信道质量参数;
第二判断子模块, 其设置为: 判断所述第一网络的当前信道质量参数是 否低于所述终端预存的第二网络的历史信道质量参数, 获得第二判断结果; 以及
切换条件确定子模块, 其设置为: 当第二判断结果指示所述第一网络的 当前信道质量参数低于第二网络的历史信道质量参数时, 确定所述第二检测 结果具体为所述终端满足所述切换条件。
18.如权利要求 17 所述的网络切换装置, 其中, 所述第二判断子模块是 设置为:
判断所述第一网络的当前信道质量参数是否在所述终端预设的第一时间 段内低于第二网络的历史信道质量参数, 获得第二判断结果;
所述切换条件确定子模块具体为当第二判断结果指示第一网络的当前信 道质量参数在所述第一时间段内低于第二网络的历史信道质量参数时, 确定 所述第二检测结果具体为所述终端满足所述切换条件。
19. 如权利要求 17或 18所述的网络切换装置, 其中, 所述信号质量参 数包括平均接收信号强度参数和平均信噪比衡量参数;
所述信道质量参数包括平均丟包率参数和平均吞吐率参数;
所述第一判断子模块是设置为:
当所述第一网络的平均接收信号强度参数低于所述第二网络的平均接收 信号强度参数, 同时所述第一网络的平均信噪比参数低于所述第二网络的平 均信噪比参数, 确定所述第一判断结果为所述第一网络的信号质量参数低于 第二网络的信号质量参数;
所述第二判断子模块是设置为:
当所述第一网络的平均丟包率大于所述第二网络的历史平均丟包率, 且 所述第一网络的平均吞吐率小于所述第二网络的历史平均吞吐率, 确定所述 第二判断结果为所述第一网络的当前信道质量参数低于第二网络的历史信道 质量参数。
20.如权利要求 19所述的网络切换装置, 其中, 所述装置还包括: 测量模块, 其设置为测量第二网络的当前信道质量参数; 以及
更新模块, 其设置为根据所述当前信道质量参数更新所述终端存储的第 二网络的历史信道质量参数。
21.如权利要求 20所述的网络切换装置, 其中, 所述装置还包括: 调节模块, 其设置为: 在所述当前信道质量参数中加入调节因子; 所述更新模块是设置为:
用加入调节因子的当前信道质量参数更新所述终端存储的第二网络的历 史信道质量参数。
22.如权利要求 21 所述的网络切换装置, 其中, 所述调节因子与信号质 量参数乘积的绝对值成反比。
23.—种终端, 包括权利要求 12-22任一项所述的网络切换装置。
PCT/CN2013/087076 2013-07-29 2013-11-13 一种网络切换方法、装置和终端 WO2014166254A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310323098.X 2013-07-29
CN201310323098.XA CN104349411B (zh) 2013-07-29 2013-07-29 一种网络切换方法、装置和终端

Publications (1)

Publication Number Publication Date
WO2014166254A1 true WO2014166254A1 (zh) 2014-10-16

Family

ID=51688919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087076 WO2014166254A1 (zh) 2013-07-29 2013-11-13 一种网络切换方法、装置和终端

Country Status (2)

Country Link
CN (1) CN104349411B (zh)
WO (1) WO2014166254A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072645A (zh) * 2015-07-24 2015-11-18 广东欧珀移动通信有限公司 基于中国电信网络制式的终端上网自适应调整方法及装置
CN105100057A (zh) * 2015-06-05 2015-11-25 北京奇虎科技有限公司 应用数据处理方法与系统
CN105898810A (zh) * 2015-01-26 2016-08-24 中兴通讯股份有限公司 一种用户设备选择网络的方法和装置
CN113613310A (zh) * 2021-07-02 2021-11-05 深圳Tcl新技术有限公司 Wifi连接方法、装置、存储介质及移动终端

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162696A (zh) * 2015-04-15 2016-11-23 中兴通讯股份有限公司 一种无线网络连接的方法、装置及终端
CN106488516B (zh) * 2015-08-31 2019-11-29 展讯通信(上海)有限公司 用户终端及其小区切换方法及装置
CN105517079A (zh) * 2015-11-25 2016-04-20 国网北京市电力公司 电力信息的传输方法及传输装置
CN105873139A (zh) * 2016-03-30 2016-08-17 联想(北京)有限公司 一种信息处理方法及电子设备
CN106358255A (zh) * 2016-09-18 2017-01-25 广东小天才科技有限公司 一种通信制式的切换方法及装置、移动终端
CN107872795B (zh) * 2016-09-26 2021-04-20 中国电信股份有限公司 终端接入WiFi的认证方法、系统以及相关设备
CN107969020A (zh) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 一种通信中的网络切换方法及装置、移动终端
CN106658588A (zh) * 2016-12-21 2017-05-10 广东欧珀移动通信有限公司 网络质量检测方法、装置和计算机设备
CN107124742B (zh) 2017-04-01 2020-08-21 捷开通讯(深圳)有限公司 实现wlan和lte网络自动切换的方法及通信终端
CN107318140A (zh) * 2017-08-09 2017-11-03 广东欧珀移动通信有限公司 网络切换方法、移动终端及计算机可读存储介质
CN107484217B (zh) * 2017-09-20 2018-11-27 广东欧珀移动通信有限公司 切换注册ip多媒体子系统的方法、移动终端及存储介质
CN107896382B (zh) * 2017-12-26 2020-12-22 Oppo广东移动通信有限公司 网络切换控制方法及装置
WO2020043010A1 (zh) * 2018-08-27 2020-03-05 Oppo广东移动通信有限公司 一种ui显示方法、终端设备及装置
CN109511107A (zh) * 2018-11-26 2019-03-22 广州鲁邦通物联网科技有限公司 一种移动网络智能漫游选择方法
CN109922205A (zh) * 2018-11-29 2019-06-21 努比亚技术有限公司 投屏实现方法、移动终端及计算机可读存储介质
CN111404773B (zh) * 2020-03-10 2023-03-17 深信服科技股份有限公司 一种网络质量监测方法、装置及电子设备和存储介质
CN113099497B (zh) * 2021-03-30 2022-09-02 捷开通讯(深圳)有限公司 一种网络切换方法、存储介质及电子设备
CN117813864A (zh) * 2021-08-13 2024-04-02 上海诺基亚贝尔股份有限公司 用于子网的动态通信配置
CN116137676B (zh) * 2021-11-18 2023-10-20 荣耀终端有限公司 一种网络加速方法、电子设备、芯片系统及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711201A (zh) * 2012-06-06 2012-10-03 中兴通讯股份有限公司 一种多模无线接入的切换方法和装置
CN102958127A (zh) * 2011-08-10 2013-03-06 宏达国际电子股份有限公司 移动通信装置以及在多个异质网络间进行交递的方法
CN103024844A (zh) * 2012-12-03 2013-04-03 中兴通讯股份有限公司 网络流量切换方法及装置
CN103067993A (zh) * 2011-10-19 2013-04-24 中国电信股份有限公司 无线终端和使其在两种无线网络之间切换的方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20095966A0 (fi) * 2009-09-18 2009-09-18 Valtion Teknillinen Menetelmä tietoliikenneverkon valitsemiseksi käyttäen hyväksi palvelunlaadun mittauksia
CN102711200B (zh) * 2012-05-18 2018-07-24 南京中兴新软件有限责任公司 一种无线局域网wlan切换方法、装置以及移动终端
CN102802224B (zh) * 2012-08-27 2015-04-08 东莞宇龙通信科技有限公司 终端和终端网络切换方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102958127A (zh) * 2011-08-10 2013-03-06 宏达国际电子股份有限公司 移动通信装置以及在多个异质网络间进行交递的方法
CN103067993A (zh) * 2011-10-19 2013-04-24 中国电信股份有限公司 无线终端和使其在两种无线网络之间切换的方法
CN102711201A (zh) * 2012-06-06 2012-10-03 中兴通讯股份有限公司 一种多模无线接入的切换方法和装置
CN103024844A (zh) * 2012-12-03 2013-04-03 中兴通讯股份有限公司 网络流量切换方法及装置

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898810A (zh) * 2015-01-26 2016-08-24 中兴通讯股份有限公司 一种用户设备选择网络的方法和装置
CN105100057A (zh) * 2015-06-05 2015-11-25 北京奇虎科技有限公司 应用数据处理方法与系统
CN105072645A (zh) * 2015-07-24 2015-11-18 广东欧珀移动通信有限公司 基于中国电信网络制式的终端上网自适应调整方法及装置
CN105072645B (zh) * 2015-07-24 2018-11-13 广东欧珀移动通信有限公司 基于中国电信网络制式的终端上网自适应调整方法及装置
CN113613310A (zh) * 2021-07-02 2021-11-05 深圳Tcl新技术有限公司 Wifi连接方法、装置、存储介质及移动终端
CN113613310B (zh) * 2021-07-02 2023-10-13 深圳Tcl新技术有限公司 Wifi连接方法、装置、存储介质及移动终端

Also Published As

Publication number Publication date
CN104349411B (zh) 2019-07-02
CN104349411A (zh) 2015-02-11

Similar Documents

Publication Publication Date Title
WO2014166254A1 (zh) 一种网络切换方法、装置和终端
JP6847223B2 (ja) 無線ネットワークハンドオーバ方法および装置
RU2480955C2 (ru) Способ и устройство для усовершенствования рсс для мобильности на основе потоков
US9264450B2 (en) Method of seamless policy based network discovery, selection and switching
US11838114B2 (en) Method and apparatus for effective wireless LAN selection
RU2323532C2 (ru) Способ взаимодействия во взаимодействующей сети блс для быстрого выбора оборудованием пользователя сети мобильной связи для доступа
KR101038409B1 (ko) 튠-어웨이 및 크로스 페이징 시스템 및 방법
CN103391633B (zh) 网络接入方法及装置
JP4954704B2 (ja) ワイヤレスローカルエリアネットワーク(wlan)においてユーザ端末がアクセスモバイルネットワークを選択する最適化インタラクション方法
JP2017076994A (ja) ワイヤレス通信機器のための接続マネージャ
TWI551168B (zh) 在漫遊情境中的無線區域網路之選擇規章的控制技術
JP2005027313A (ja) 無線ローカル・エリア・ネットワークのハンドオフ切換方法
US10470093B2 (en) Connection attempt to alternative access upon connection attempt rejection
US8948728B2 (en) Method and apparatus for using a cellular network to facilitate access by a mobile device to a local wireless access point
CN104717709B (zh) 一种网络切换方法及装置
WO2009009993A1 (fr) Procédé de sélection de réseau, système de communication et terminal mobile
JP2007535229A (ja) 多種類ネットワーク内の無線lan再度選択方法
WO2015028053A1 (en) Attachment of a mobile terminal to a radio access network
WO2014101198A1 (zh) 小区重选的实现方法和装置
WO2014110952A1 (zh) 选择v-andsf方法及装置、接入网接入方法及装置
CN111787575A (zh) 一种终端设备的网络接入管理方法及装置
WO2011109983A1 (zh) 策略处理方法、andsf和ue
Sanchez et al. Experimental analysis of connectivity management in mobile operating systems
CN113543282A (zh) 一种无线漫游方法及系统
US20240114441A1 (en) Network Access Management

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13881736

Country of ref document: EP

Kind code of ref document: A1