[go: up one dir, main page]

CN106792953A - The method and apparatus of network switching - Google Patents

The method and apparatus of network switching Download PDF

Info

Publication number
CN106792953A
CN106792953A CN201611155779.XA CN201611155779A CN106792953A CN 106792953 A CN106792953 A CN 106792953A CN 201611155779 A CN201611155779 A CN 201611155779A CN 106792953 A CN106792953 A CN 106792953A
Authority
CN
China
Prior art keywords
network
user
wifi network
wifi
predetermined threshold
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201611155779.XA
Other languages
Chinese (zh)
Inventor
谭康喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611155779.XA priority Critical patent/CN106792953A/en
Publication of CN106792953A publication Critical patent/CN106792953A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data

Landscapes

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

Abstract

The disclosure is directed to a kind of method and apparatus of network switching, terminal is applied to, the method includes:Obtain network parameter of the terminal under the first WIFI network of current connection;Compare the predetermined threshold value that the network parameter is set with user;When comparative result meets default network switching condition, first WIFI network is switched into mobile network, so, the predetermined threshold value set by user, can be according to the flexible controlling network switching of the use demand of user, so as to when the network condition of WIFI network can not meet the use demand of user, voluntarily switch to mobile network, so as to increased the intelligent and controllability of network switching, ensure the online experience of user, and the disclosure voluntarily switches to mobile network without user, user's operation is reduced.

Description

The method and apparatus of network switching
Technical field
This disclosure relates to internet arena, more particularly to a kind of method and apparatus of network switching.
Background technology
With developing rapidly for network technology, user can be by terminal (such as mobile phone or panel computer etc.) in connection The operation such as web page browsing or chat is carried out under WiFi (Wireless-Fidelity, Wireless Fidelity) network, but, work as terminal During network condition poor (such as network signal intensity is weaker) of the WIFI network of connection, the upper dictyosome of user may be influenced whether Test.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of method and apparatus of network switching.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of network switching, methods described includes:Obtain eventually Hold the network parameter under the first WIFI network of current connection;Compare the predetermined threshold value that the network parameter is set with user; When comparative result meets default network switching condition, first WIFI network is switched into mobile network.
Alternatively, the network parameter includes network transfer speeds or signal to noise ratio or the bit error rate;The default network Switching condition includes following at least one:The network transfer speeds are less than or equal to the first default threshold that the user is set Value;The signal to noise ratio is less than or equal to the second predetermined threshold value that the user is set;The bit error rate is more than or equal to institute State the 3rd predetermined threshold value of user's setting.
Alternatively, methods described also includes:Detect attachable second WIFI network;From second WIFI network really Set the goal WIFI network;The mobile network is switched into the target WIFI network.
Alternatively, it is described to determine that target WIFI network includes from second WIFI network:Monitored in Preset Time The transmission time of each packet in the channel of second WIFI network;According to the transmission time from the 2nd WIFI nets The target WIFI network is determined in network.
Alternatively, it is described that the target WIFI network bag is determined from second WIFI network according to the transmission time Include:Obtain the transmission time sum of entire packet in the channel of second WIFI network;Calculate the transmission time sum With the ratio of the Preset Time;Ratio according to the transmission time sum and the Preset Time is from the 2nd WIFI nets The target WIFI network is determined in network.
Alternatively, the ratio according to the transmission time sum and the Preset Time is from second WIFI network It is middle to determine that the target WIFI network includes:Minimum value is determined from the ratio for obtaining;It is more than or equal in the minimum value During four predetermined threshold values, determine that the minimum value corresponding WIFI network in second WIFI network is the target WIFI Network.
Alternatively, methods described also includes:Show switch prompting information to user, wherein, the switch prompting information is used In prompting the user whether for first WIFI network to switch to mobile network;It is described that first WIFI network is switched into shifting Dynamic network includes:User is received to the triggering command of switch prompting information, and according to the triggering command by a WIFI Network switching is mobile network.
Alternatively, the switch prompting information includes that switching is switched, the triggering for receiving user to switch prompting information Instruction includes:Receive trigger action of the user to the switching switch;It is described according to the triggering command by a WIFI Network switching includes for mobile network:In operation of the trigger action for handover network, first WIFI network is cut It is changed to mobile network.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device of network switching, described device includes:Obtain mould Block, is configured as obtaining network parameter of the terminal under the first WIFI network of current connection;Comparison module, is configured as comparing The predetermined threshold value that the network parameter is set with user;First handover module, is configured as meeting default network in comparative result During switching condition, first WIFI network is switched into mobile network.
Alternatively, the network parameter includes network transfer speeds or signal to noise ratio or the bit error rate;The default network Switching condition includes following at least one:The network transfer speeds are less than or equal to the first default threshold that the user is set Value;The signal to noise ratio is less than or equal to the second predetermined threshold value that the user is set;The bit error rate is more than or equal to institute State the 3rd predetermined threshold value of user's setting.
Alternatively, described device also includes:Detection module, is configured as attachable second WIFI network of detection;It is determined that Module, is configured as determining target WIFI network from second WIFI network;Second handover module, being configured as will be described Mobile network switches to the target WIFI network.
Alternatively, the determining module includes:Monitoring submodule, is configured as monitoring described second in Preset Time The transmission time of each packet in the channel of WIFI network;Determination sub-module, is configured as according to the transmission time from institute State and determine the target WIFI network in the second WIFI network.
Alternatively, the determination sub-module, is configured as entire packet in the channel for obtain second WIFI network Transmission time sum;Calculate the ratio of the transmission time sum and the Preset Time;According to the transmission time sum Ratio with the Preset Time determines the target WIFI network from second WIFI network.
Alternatively, the determination sub-module, is configured as determining minimum value from the ratio for obtaining;It is big in the minimum value When four predetermined threshold values, determine that the minimum value corresponding WIFI network in second WIFI network is institute State target WIFI network.
Alternatively, described device also includes:Display module, is configured as showing switch prompting information to user, wherein, institute Switch prompting information is stated for prompting the user whether for first WIFI network to switch to mobile network;Receiver module, is matched somebody with somebody It is set to the triggering command for receiving user to switch prompting information;First handover module, is configured as being referred to according to the triggering First WIFI network is switched to mobile network by order.
Alternatively, the switch prompting information includes that switching is switched, and the receiver module is configured as receiving user to institute State the trigger action of switching switch;First handover module is configured as the operation for handover network in the trigger action When, first WIFI network is switched into mobile network.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device of network switching, described device includes:Treatment Device;Memory for storing processor-executable instruction;Wherein, the processor is configured as:Terminal is obtained to connect currently Network parameter under the first WIFI network for connecing;Compare the predetermined threshold value that the network parameter is set with user;In comparative result When meeting default network switching condition, first WIFI network is switched into mobile network.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, when described Instruction in storage medium by mobile terminal computing device when so that mobile terminal is able to carry out a kind of side of network switching Method, methods described includes:Obtain network parameter of the terminal under the first WIFI network of current connection;Compare the network parameter The predetermined threshold value set with user;When comparative result meets default network switching condition, by first WIFI network switching It is mobile network.
The technical scheme provided by this disclosed embodiment can include the following benefits:Connected currently by obtaining terminal Network parameter under the first WIFI network for connecing, and compare the predetermined threshold value that the network parameter is set with user, in comparative result When meeting default network switching condition, first WIFI network is switched into mobile network, so, by presetting that user is set Threshold value, can be according to the neatly controlling network switching of the use demand of user, so as to the network condition in WIFI network can not expire During the use demand of sufficient user, mobile network is voluntarily switched to, and then increased the intelligent and controllability of network switching, it is ensured that The online experience of user, and the disclosure voluntarily switches to mobile network without user, reduces user's operation.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the method for the network switching according to an exemplary embodiment;
Fig. 2 is the flow chart of the method for another network switching according to an exemplary embodiment;
Fig. 3 is the block diagram of the device of the first network switching according to an exemplary embodiment;
Fig. 4 is the block diagram of the device of second network switching according to an exemplary embodiment;
Fig. 5 is the block diagram of the device of the third network switching according to an exemplary embodiment;
Fig. 6 is the 4th kind of block diagram of the device of network switching according to an exemplary embodiment;
Fig. 7 is the 5th kind of block diagram of the device of network switching according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
The disclosure can apply to the scene that user is surfed the Net by terminal (such as mobile phone or panel computer), in the scene Under, user can be set up with WIFI network by user name or password and is connected, but, when the network condition of WIFI network is poor When (signal intensity of such as WIFI network is weaker), use demand of the user to network may be influenced whether, the use demand can To be demand of the user to network transfer speeds, for example, when user browses webpage using WIFI network, if the WIFI network Signal intensity is weaker, and network transfer speeds can be caused slower, so that the webpage loading that user browses is slower;And for example, when with When family carries out Internet chat using WIFI network, if the signal intensity of the WIFI network is weaker, can cause network transfer speeds compared with Slowly, so that user's communication is second-rate, in these cases, the network connection that user can enter terminal sets interface, And disconnect the WIFI network at the setting interface, and reconnect the preferable WIFI network of other network conditions or mobile network Network, but, above-mentioned setting operation is excessively cumbersome, influences Consumer's Experience.
In order to solve the above problems, the disclosure provides a kind of method and apparatus of network switching, being capable of making according to user With demand, neatly controlling network switches, so that when the network condition of WIFI network can not meet the use demand of user, from Row switches to mobile network, and then increased the intelligent and controllability of network switching, it is ensured that the online experience of user.
The disclosure is specifically described with reference to specific embodiment.
Fig. 1 is a kind of flow chart of the method for the network switching according to an exemplary embodiment, as shown in figure 1, should Method is applied in terminal, is comprised the following steps.
In a step 101, network parameter of the terminal under the first WIFI network of current connection is obtained.
Wherein, the network parameter includes network transfer speeds or signal to noise ratio or the bit error rate.
In a step 102, the predetermined threshold value that the network parameter is set with user is compared.
Wherein, the predetermined threshold value can include the network parameter values that user is set, and illustratively, the predetermined threshold value can be used The network transfer speeds that family is set;Or, the predetermined threshold value can be the signal to noise ratio that user is set;Or, the predetermined threshold value can Be user set the bit error rate.
In step 103, when comparative result meets default network switching condition, first WIFI network is switched into shifting Dynamic network.
Wherein, the default network switching condition includes following at least one:The network transfer speeds are less than or equal to should The first predetermined threshold value that user is set;The signal to noise ratio is less than or equal to the second predetermined threshold value that the user is set;The bit error rate More than or equal to the 3rd predetermined threshold value that the user is set.
Using the above method, the predetermined threshold value set by user can neatly be controlled according to the use demand of user Network switching, so as to when the network condition of WIFI network can not meet the use demand of user, voluntarily switch to mobile network, And then increased the intelligent and controllability of network switching, it is ensured that the online experience of user, and the disclosure voluntarily cuts without user Mobile network is shifted to, user's operation is reduced.
Fig. 2 is a kind of flow chart of the method for the network switching according to an exemplary embodiment, as shown in Fig. 2 should Method is applied in terminal, is comprised the following steps.
In step 201, network parameter of the terminal under the first WIFI network of current connection is obtained.
In this step, the network parameter includes network transfer speeds or signal to noise ratio or the bit error rate.
Wherein, the network transfer speeds are data volume of the network signal in transmitted per unit time;The signal to noise ratio is network In transmission signal and noise signal ratio, illustratively, the signal to noise ratio, example can be obtained when user browses Webpage Such as, removing html (Chinese full name in the webpage are obtained:;English full name:HyperText Markup Language) label substance Content of text afterwards, this part content of text may be considered transmission signal, continue to obtain html label substances, this part label Content is considered noise signal, and now the signal to noise ratio of the webpage is the content of text and html label substances in the webpage Ratio;The bit error rate is to weigh data to transmit the index of accuracy at the appointed time, can be by obtaining transmission signal in Error code data volume and transmission signal in the ratio of total data amount be worth to the bit error rate.
In step 202., the predetermined threshold value that the network parameter is set with user is compared.
Wherein, the predetermined threshold value can include the network parameter values that user is set, illustratively, if the network parameter is network Transmission speed, then the predetermined threshold value can be the network transfer speeds threshold value that user is set (equivalent to the first predetermined threshold value);If The network parameter is signal to noise ratio, then the predetermined threshold value can be that the snr threshold that user is set (presets threshold equivalent to second Value);If the network parameter is the bit error rate, the predetermined threshold value is that the bit error rate threshold that user is set is (default equivalent to the 3rd Threshold value).
It should be noted that in order to ensure preferable network condition, when the network parameter is network transfer speeds, user Can be according to the use demand of itself, by the larger of network transfer speeds threshold value setting;Or, when the network parameter is signal to noise ratio When, user can be according to the use demand of itself, by the larger of signal to noise ratio setting;Or, when the network parameter is the bit error rate When, user can be according to the use demand of itself, by the smaller of bit error rate setting.So, network parameter is set by user Value, the condition that flexibly can be switched according to user's request controlling network.
In step 203, determine whether comparative result meets default network switching condition.
In this step, when the network parameter is network transfer speeds, because the network transfer speeds are bigger, the network Signal intensity is stronger, therefore, the default network switching condition includes:The network transfer speeds are set less than or equal to the user The first predetermined threshold value, now, the comparative result meets the first WIFI network that default network switching condition represents current connection Transmission speed it is slower, network signal intensity is weaker, and network condition is poor;When the network parameter is signal to noise ratio, due to the letter Make an uproar than bigger, the signal intensity of the network is stronger, therefore, the default network switching condition includes:The signal to noise ratio is less than or waits In the second predetermined threshold value that the user is set, now, the comparative result meets default network switching condition and represents current connection The signal to noise ratio of the first WIFI network is relatively low, and network signal intensity is weaker, and network condition is poor;When the network parameter is the bit error rate When, because the bit error rate is smaller, the network signal intensity is stronger, therefore, the default network switching condition includes:The bit error rate is big In or equal to the 3rd predetermined threshold value that sets of the user, now, the comparative result meets default network switching condition and represents works as The bit error rate of the first WIFI network of preceding connection is higher, and network signal intensity is weaker, and network condition is poor.
When it is determined that the comparative result is unsatisfactory for the default network switching condition, step 204 is performed;
When it is determined that the comparative result meets the default network switching condition, step 205 is performed.
In step 204, it is continuing with first WIFI network.
In step 205, first WIFI network is switched into mobile network.
In this step, after switching is completed, first WIFI network can be closed.
It is because mobile network is related to the network traffics of user and then related to the campus network of user, therefore consider Mobile network is switched in the case where user does not perceive, extra monetary loss can be caused to user, therefore, it is another in the disclosure In one embodiment, switch prompting information can be shown to user, and receive triggering command of the user to the switch prompting information, and First WIFI network is switched to by mobile network according to the triggering command, wherein, the switch prompting information is used to point out user Whether first WIFI network is switched into mobile network, so that user's sensing network switches, it is to avoid for user brings damage Lose, improve Consumer's Experience.In a kind of mode in the cards, the switch prompting information can be switch prompting frame, for example, should The information of switch prompting frame displaying is " network condition of current WIFI network is poor, if switch to mobile network ", and this is cut Changing prompting frame can include "Yes" button and "No" button, in the "Yes" button during user clicks on switch prompting frame, it is determined that First WIFI network is switched into mobile network, in the "No" button during user clicks on switch prompting frame, it is determined that do not enter Row network switching.
In alternatively possible implementation, the switch prompting information can be switching switch, and terminal can receive use The trigger action that family switchs to the switching;In operation of the trigger action for handover network, by first WIFI network switching It is mobile network.For example, switching switch can be slide switch, one end of the slide switch is mobile network's closed mode, The other end is mobile network's opening, and slide switch acquiescence is shown as mobile network's closed mode, when user slides this Switch by when front end slides into the other end, will mobile network opening is switched to by closed mode, then by this first WIFI network switches to mobile network.
It should be noted that in order to preferably point out user to pay close attention to the switch prompting information, can be carried by prompt message Show user, such as flash to point out user to pay close attention to the switch prompting information by prompt tone or vibrations or breath light, certainly, this In prompt message be merely illustrative, the disclosure is not construed as limiting to this.
Corresponding expense can be produced in view of using mobile network, in another embodiment of the disclosure, can be in terminal weight It is new that the mobile network is switched into the target WIFI network when detecting signal intensity preferable target WIFI network, illustratively, Illustrated by following steps:
In step 206, attachable second WIFI network is detected.
Wherein, second WIFI network includes the attachable WIFI network of the terminal in WIFI network list in terminal, Terminal storage has the identification information (such as title) and key of the WIFI network for connecting, and in the present embodiment, terminal can lead to The WIFI network connected before the identification information and key reconnect is crossed, without user's certification again.
Illustratively, when entitled " xiaomi_5G " of the WIFI network for being connected when terminal, terminal storage has the WIFI nets The title (i.e. " xiaomi_5G ") and key of network, when user reenters the coverage of the WIFI network of " xiaomi_5G " When interior, terminal can detect the WIFI network of " xiaomi_5G ", so as to determine that the WIFI network is mesh in subsequent step After mark WIFI network, the corresponding key of the WIFI network can be obtained, so as to be connected to the WIFI network by the key.
In step 207, when the transmission of each packet in the channel of second WIFI network is monitored in Preset Time Between.
In this step, can be by monitoring NAV of each packet in the channel of second WIFI network (Network Allocation Vector, network allocation vector) obtains the transmission time of each packet, and the NAV is used for The specified packet is expected to the transmission time of the channel for taking second WIFI network.
In a step 208, the transmission time sum of entire packet in the channel of second WIFI network is obtained.
In step 209, the ratio of the transmission time sum and the Preset Time is calculated.
In step 210, minimum value is determined from the ratio for obtaining.
In step 211, determine the minimum value whether more than or equal to the 4th predetermined threshold value.
It is determined that the minimum value then illustrates the minimum value in the 2nd WIFI nets more than or equal to the 4th predetermined threshold value The network condition of corresponding WIFI network is poor in network, and cannot meet the use demand of user, performs step 212;
It is determined that the minimum value be less than the 4th predetermined threshold value, then illustrate the minimum value in second WIFI network correspondence WIFI network network condition it is preferable, it is possible to meet the use demand of user, perform step 213 to step 214.
In the step 212, it is continuing with mobile network.
In step 213, determine that the minimum value corresponding WIFI network in second WIFI network is target WIFI nets Network.
In step 214, the mobile network is switched into the target WIFI network.
Using the above method, the predetermined threshold value set by user can neatly be controlled according to the use demand of user Network switching, so as to when the network condition of WIFI network can not meet the use demand of user, voluntarily switch to mobile network, And then increased the intelligent and controllability of network switching, it is ensured that the online experience of user, and the disclosure voluntarily cuts without user Mobile network is shifted to, user's operation is reduced.
Fig. 3 is a kind of block diagram of the device of the network switching according to an exemplary embodiment.Reference picture 3, the device Including acquisition module 301, the handover module 303 of comparison module 302 and first.
The acquisition module 301, is configured as obtaining network parameter of the terminal under the first WIFI network of current connection;
The comparison module 302, is configured as comparing the predetermined threshold value that the network parameter is set with user;
First handover module 303, is configured as when comparative result meets default network switching condition, by this first WIFI network switches to mobile network.
Alternatively, the network parameter includes network transfer speeds or signal to noise ratio or the bit error rate;The default network switching Condition includes following at least one:The network transfer speeds are less than or equal to the first predetermined threshold value that the user is set;The letter Make an uproar than the second predetermined threshold value set less than or equal to the user;The 3rd of the bit error rate more than or equal to user setting Predetermined threshold value.
Alternatively, Fig. 4 is a kind of block diagram of the device of the network switching shown in embodiment illustrated in fig. 3, and the device also includes:
Detection module 304, is configured as attachable second WIFI network of detection;
Determining module 305, is configured as determining target WIFI network from second WIFI network;
Second handover module 306, is configured as the mobile network switching to the target WIFI network.
Alternatively, Fig. 5 is a kind of block diagram of the device of the network switching shown in embodiment illustrated in fig. 4, the determining module 305 Including:
Monitoring submodule 3051, is configured as each data in the channel for monitored in Preset Time second WIFI network The transmission time of bag;
Determination sub-module 3052, is configured as determining target WIFI from second WIFI network according to the transmission time Network.
Alternatively, the determination sub-module 3052, is configured as entire packet in the channel for obtain second WIFI network Transmission time sum;Calculate the ratio of the transmission time sum and the Preset Time;It is pre- with this according to the transmission time sum If the ratio of time determines the target WIFI network from second WIFI network.
Alternatively, the determination sub-module 3052, is configured as determining minimum value from the ratio for obtaining;It is big in the minimum value When four predetermined threshold values, determine that the minimum value corresponding WIFI network in second WIFI network is the target WIFI network.
Alternatively, Fig. 6 is a kind of block diagram of the device of the network switching shown in embodiment illustrated in fig. 3, and the device also includes:
Display module 307, is configured as showing switch prompting information to user, wherein, the switch prompting information is used to carry Show whether user switches to mobile network by first WIFI network;
Receiver module 308, is configured as receiving triggering command of the user to the switch prompting information;
First handover module 303, is configured as that first WIFI network is switched into mobile network according to the triggering command Network.
Alternatively, the switch prompting information includes that switching is switched, the receiver module 308, is configured as receiving user to this Switch the trigger action of switch;First handover module 303, is configured as in operation of the trigger action for handover network, First WIFI network is switched into mobile network.
Using said apparatus, the predetermined threshold value set by user can neatly be controlled according to the use demand of user Network switching, so as to when the network condition of WIFI network can not meet the use demand of user, voluntarily switch to mobile network, And then increased the intelligent and controllability of network switching, it is ensured that the online experience of user, and the disclosure voluntarily cuts without user Mobile network is shifted to, user's operation is reduced.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
A kind of block diagram of devices 700 for network switching of the Fig. 7 according to an exemplary embodiment.For example, device 700 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment sets It is standby, body-building equipment, personal digital assistant etc..
Reference picture 7, device 700 can include following one or more assemblies:Processing assembly 702, memory 704, electric power Component 706, multimedia groupware 708, audio-frequency assembly 710, the interface 712 of input/output (I/O), sensor cluster 714, and Communication component 716.
The integrated operation of the usual control device 700 of processing assembly 702, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 702 can refer to including one or more processors 720 to perform Order, to complete all or part of step of the method for network switching.Additionally, processing assembly 702 can include one or more moulds Block, is easy to the interaction between processing assembly 702 and other assemblies.For example, processing assembly 702 can include multi-media module, with Facilitate the interaction between multimedia groupware 708 and processing assembly 702.
Memory 704 is configured as storing various types of data supporting the operation in device 700.These data are shown Example includes the instruction for any application program or method operated on device 700, and contact data, telephone book data disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 706 provides electric power for the various assemblies of device 700.Electric power assembly 706 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 700.
Multimedia groupware 708 is included in one screen of output interface of offer between described device 700 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 708 includes a front camera and/or rear camera.When device 700 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 710 is configured as output and/or input audio signal.For example, audio-frequency assembly 710 includes a Mike Wind (MIC), when device 700 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 704 or via communication set Part 716 sends.In certain embodiments, audio-frequency assembly 710 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 702 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 712 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor cluster 714 can detect the opening/closed mode of device 700, the relative positioning of component is for example described Component is the display and keypad of device 700, and sensor cluster 714 can be with 700 1 components of detection means 700 or device Position change, user is presence or absence of with what device 700 was contacted, the orientation of device 700 or acceleration/deceleration and device 700 Temperature change.Sensor cluster 714 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 714 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), the realization of controller, microcontroller, microprocessor or other electronic components, the method for performing network switching.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 704 of instruction, above-mentioned instruction can be performed the method to complete network switching by the processor 720 of device 700. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and putting into practice the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptability Change follows the general principle of the disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure Art means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following claim Point out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a kind of method of network switching, it is characterised in that be applied to terminal, methods described includes:
Obtain network parameter of the terminal under the first WIFI network of current connection;
Compare the predetermined threshold value that the network parameter is set with user;
When comparative result meets default network switching condition, first WIFI network is switched into mobile network.
2. method according to claim 1, it is characterised in that the network parameter includes network transfer speeds or noise Than or the bit error rate;The default network switching condition includes following at least one:
The network transfer speeds are less than or equal to the first predetermined threshold value that the user is set;
The signal to noise ratio is less than or equal to the second predetermined threshold value that the user is set;
The bit error rate is more than or equal to the 3rd predetermined threshold value that the user is set.
3. method according to claim 1, it is characterised in that methods described also includes:
Detect attachable second WIFI network;
Target WIFI network is determined from second WIFI network;
The mobile network is switched into the target WIFI network.
4. method according to claim 3, it is characterised in that described that target WIFI is determined from second WIFI network Network includes:
The transmission time of each packet in the channel of second WIFI network is monitored in Preset Time;
The target WIFI network is determined from second WIFI network according to the transmission time.
5. method according to claim 4, it is characterised in that described according to the transmission time from the 2nd WIFI nets Determine that the target WIFI network includes in network:
Obtain the transmission time sum of entire packet in the channel of second WIFI network;
Calculate the ratio of the transmission time sum and the Preset Time;
The target is determined from second WIFI network with the ratio of the Preset Time according to the transmission time sum WIFI network.
6. method according to claim 5, it is characterised in that it is described according to the transmission time sum with it is described default when Between ratio determine that the target WIFI network includes from second WIFI network:
Minimum value is determined from the ratio for obtaining;
When the minimum value is more than or equal to four predetermined threshold values, determine the minimum value in second WIFI network Corresponding WIFI network is the target WIFI network.
7. method according to claim 1, it is characterised in that methods described also includes:
Show switch prompting information to user, wherein, the switch prompting information is used to prompt the user whether described first WIFI network switches to mobile network;
It is described to switch to the mobile network to include first WIFI network:
User is received to the triggering command of the switch prompting information, and according to the triggering command by first WIFI network Switch to mobile network.
8. method according to claim 7, it is characterised in that the switch prompting information includes that switching is switched, described to connect Receive user includes to the triggering command of the switch prompting information:
Receive trigger action of the user to the switching switch;
It is described to switch to the mobile network to include first WIFI network according to the triggering command:
In operation of the trigger action for handover network, first WIFI network is switched into mobile network.
9. a kind of device of network switching, it is characterised in that be applied to terminal, described device includes:
Acquisition module, is configured as obtaining network parameter of the terminal under the first WIFI network of current connection;
Comparison module, is configured as the predetermined threshold value that network parameter described in comparing is set with user;
First handover module, is configured as when comparative result meets default network switching condition, by first WIFI network Switch to mobile network.
10. device according to claim 9, it is characterised in that the network parameter includes network transfer speeds or letter Make an uproar than or the bit error rate;The default network switching condition includes following at least one:
The network transfer speeds are less than or equal to the first predetermined threshold value that the user is set;
The signal to noise ratio is less than or equal to the second predetermined threshold value that the user is set;
The bit error rate is more than or equal to the 3rd predetermined threshold value that the user is set.
11. devices according to claim 9, it is characterised in that also include:
Detection module, is configured as attachable second WIFI network of detection;
Determining module, is configured as determining target WIFI network from second WIFI network;
Second handover module, is configured as the mobile network switching to the target WIFI network.
12. devices according to claim 11, it is characterised in that the determining module includes:
Monitoring submodule, is configured as the biography of each packet in the channel for monitored in Preset Time second WIFI network The defeated time;
Determination sub-module, is configured as determining the target WIFI nets from second WIFI network according to the transmission time Network.
13. devices according to claim 12, it is characterised in that the determination sub-module, are configured as obtaining described the The transmission time sum of entire packet in the channel of two WIFI networks;Calculate the transmission time sum and the Preset Time Ratio;The mesh is determined from second WIFI network with the ratio of the Preset Time according to the transmission time sum Mark WIFI network.
14. devices according to claim 13, it is characterised in that the determination sub-module, are configured as from the ratio for obtaining Minimum value is determined in value;When the minimum value is more than or equal to four predetermined threshold values, determine the minimum value described the Corresponding WIFI network is the target WIFI network in two WIFI networks.
15. devices according to claim 9, it is characterised in that also include:
Display module, is configured as showing switch prompting information to user, wherein, the switch prompting information is used to point out user Whether first WIFI network is switched into mobile network;
Receiver module, is configured as receiving triggering command of the user to the switch prompting information;
First handover module, is configured as that first WIFI network is switched into mobile network according to the triggering command Network.
16. devices according to claim 15, it is characterised in that the switch prompting information includes that switching is switched, described Receiver module, is configured as receiving trigger action of the user to the switching switch;First handover module, is configured as When the trigger action is the operation of handover network, first WIFI network is switched into mobile network.
A kind of 17. devices of network switching, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:Obtain network parameter of the terminal under the first WIFI network of current connection;Compare The predetermined threshold value that the network parameter is set with user;When comparative result meets default network switching condition, by described first WIFI network switches to mobile network.
CN201611155779.XA 2016-12-14 2016-12-14 The method and apparatus of network switching Pending CN106792953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611155779.XA CN106792953A (en) 2016-12-14 2016-12-14 The method and apparatus of network switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611155779.XA CN106792953A (en) 2016-12-14 2016-12-14 The method and apparatus of network switching

Publications (1)

Publication Number Publication Date
CN106792953A true CN106792953A (en) 2017-05-31

Family

ID=58888868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611155779.XA Pending CN106792953A (en) 2016-12-14 2016-12-14 The method and apparatus of network switching

Country Status (1)

Country Link
CN (1) CN106792953A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197489A (en) * 2017-08-02 2017-09-22 广东欧珀移动通信有限公司 Network switching method, mobile terminal and computer-readable storage medium
CN107241758A (en) * 2017-08-04 2017-10-10 广东欧珀移动通信有限公司 Network control method, network control device and intelligent terminal
CN107277881A (en) * 2017-08-04 2017-10-20 广东欧珀移动通信有限公司 Network switching method, network switching device and intelligent terminal
CN107318140A (en) * 2017-08-09 2017-11-03 广东欧珀移动通信有限公司 Network switching method, mobile terminal and computer-readable storage medium
CN107450332A (en) * 2017-07-31 2017-12-08 广东美的制冷设备有限公司 Information transferring method, system, intelligent appliance, control terminal and storage medium
CN107613379A (en) * 2017-09-30 2018-01-19 努比亚技术有限公司 A kind of switching method of network connection, terminal and readable storage medium storing program for executing
CN109548059A (en) * 2018-12-27 2019-03-29 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI connection control method, mobile terminal and storage medium
CN109756940A (en) * 2018-06-19 2019-05-14 北京字节跳动网络技术有限公司 A kind of method for switching network and mobile terminal
CN110087270A (en) * 2019-05-15 2019-08-02 深圳市沃特沃德股份有限公司 A kind of method, apparatus of reading, storage medium and computer equipment
CN110234110A (en) * 2019-06-26 2019-09-13 恒宝股份有限公司 A kind of mobile network's automatic switching method
CN110266545A (en) * 2019-06-28 2019-09-20 北京小米移动软件有限公司 A kind of method, apparatus and medium dynamically distributing Internet resources
CN111836324A (en) * 2020-09-08 2020-10-27 珠海格力电器股份有限公司 Network switching method and device
US11425785B2 (en) 2018-08-02 2022-08-23 Huawei Technologies Co., Ltd. Network switching method, electronic device, and system on chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050048977A1 (en) * 2003-08-26 2005-03-03 Motorola, Inc. System and method to improve WLAN handover behavior and phone battery life when stationary in border cells
CN101945435A (en) * 2010-09-29 2011-01-12 上海顶竹通讯技术有限公司 Network with a plurality of access networks and access and switching method
CN102612104A (en) * 2012-03-22 2012-07-25 华东师范大学 Method for upward vertical handover between heterogeneous networks based on time threshold
CN105101317A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Network switching device and method
CN106028375A (en) * 2016-05-12 2016-10-12 北京小米移动软件有限公司 Method and device for prompting network switching and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050048977A1 (en) * 2003-08-26 2005-03-03 Motorola, Inc. System and method to improve WLAN handover behavior and phone battery life when stationary in border cells
CN101945435A (en) * 2010-09-29 2011-01-12 上海顶竹通讯技术有限公司 Network with a plurality of access networks and access and switching method
CN102612104A (en) * 2012-03-22 2012-07-25 华东师范大学 Method for upward vertical handover between heterogeneous networks based on time threshold
CN105101317A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Network switching device and method
CN106028375A (en) * 2016-05-12 2016-10-12 北京小米移动软件有限公司 Method and device for prompting network switching and terminal device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450332A (en) * 2017-07-31 2017-12-08 广东美的制冷设备有限公司 Information transferring method, system, intelligent appliance, control terminal and storage medium
CN107197489A (en) * 2017-08-02 2017-09-22 广东欧珀移动通信有限公司 Network switching method, mobile terminal and computer-readable storage medium
CN107241758A (en) * 2017-08-04 2017-10-10 广东欧珀移动通信有限公司 Network control method, network control device and intelligent terminal
CN107277881A (en) * 2017-08-04 2017-10-20 广东欧珀移动通信有限公司 Network switching method, network switching device and intelligent terminal
CN107318140A (en) * 2017-08-09 2017-11-03 广东欧珀移动通信有限公司 Network switching method, mobile terminal and computer-readable storage medium
CN107613379A (en) * 2017-09-30 2018-01-19 努比亚技术有限公司 A kind of switching method of network connection, terminal and readable storage medium storing program for executing
CN109756940A (en) * 2018-06-19 2019-05-14 北京字节跳动网络技术有限公司 A kind of method for switching network and mobile terminal
US11425785B2 (en) 2018-08-02 2022-08-23 Huawei Technologies Co., Ltd. Network switching method, electronic device, and system on chip
US11910489B2 (en) 2018-08-02 2024-02-20 Huawei Technologies Co., Ltd. Network switching method, electronic device, and system on chip
CN109548059A (en) * 2018-12-27 2019-03-29 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI connection control method, mobile terminal and storage medium
CN109548059B (en) * 2018-12-27 2022-12-09 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI connection control method, mobile terminal and storage medium
CN110087270A (en) * 2019-05-15 2019-08-02 深圳市沃特沃德股份有限公司 A kind of method, apparatus of reading, storage medium and computer equipment
CN110087270B (en) * 2019-05-15 2021-09-17 深圳市沃特沃德信息有限公司 Reading method and device, storage medium and computer equipment
CN110234110B (en) * 2019-06-26 2021-11-02 恒宝股份有限公司 Automatic switching method for mobile network
CN110234110A (en) * 2019-06-26 2019-09-13 恒宝股份有限公司 A kind of mobile network's automatic switching method
CN110266545A (en) * 2019-06-28 2019-09-20 北京小米移动软件有限公司 A kind of method, apparatus and medium dynamically distributing Internet resources
CN111836324A (en) * 2020-09-08 2020-10-27 珠海格力电器股份有限公司 Network switching method and device

Similar Documents

Publication Publication Date Title
CN106792953A (en) The method and apparatus of network switching
CN104898926B (en) The screenshot method and device of mobile terminal
CN104239094B (en) Control method, device and the terminal device of background application
CN104159255B (en) Terminal room shares the method and device of network
US20170344192A1 (en) Method and device for playing live videos
EP2779660A1 (en) Mobile terminal and method of controlling the mobile terminal
CN104932712A (en) Text input method and device
CN105068467B (en) Control the method and device of smart machine
CN104933170A (en) Information exhibition method and device
CN104717554A (en) Smart television control method and device and electronic equipment
CN108040171A (en) Voice operating method, apparatus and computer-readable recording medium
CN105487805A (en) Object operating method and device
CN107219992A (en) Open the method and device of split screen function
CN104636110A (en) Method and device for controlling volume
CN107301242A (en) Method, device and the storage medium of page jump
CN107295190A (en) Working mode switching method, device and protective case
CN107071862A (en) Account binding method and device and smart machine
CN107368233A (en) Switching method, device and the equipment of background picture
CN105391621A (en) Information communication method and device
CN106604230A (en) Region configuration method and region configuration device
CN105095372A (en) Method and apparatus for obtaining search result
CN107241770A (en) Method for connecting network and device
CN104822129B (en) Data transmission method and device
CN106453032A (en) Information pushing method, device and system
CN104780574A (en) Method and device for network switchover

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication