CN107295592A - Method for switching network, mobile terminal and computer-readable recording medium - Google Patents

Method for switching network, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107295592A
CN107295592A CN201710693235.7A CN201710693235A CN107295592A CN 107295592 A CN107295592 A CN 107295592A CN 201710693235 A CN201710693235 A CN 201710693235A CN 107295592 A CN107295592 A CN 107295592A
Authority
CN
China
Prior art keywords
network
mobile terminal
wlan
fraction
current connected
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
CN201710693235.7A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710693235.7A priority Critical patent/CN107295592A/en
Publication of CN107295592A publication Critical patent/CN107295592A/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/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • 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/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment

Landscapes

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

Abstract

The present invention is applied to communication technical field there is provided a kind of method for switching network, mobile terminal and computer-readable recording medium, and methods described includes:Detect the current connected network of mobile terminal;If the current connected network of mobile terminal is WLAN WLAN, the current connected WLAN of mobile terminal network quality fraction is obtained;If the current connected WLAN of mobile terminal network quality fraction is less than the first predetermined threshold value, the frequency of the current connected WLAN of detection mobile terminal network quality fraction is improved;If the network quality fraction that the current connected WLAN of mobile terminal is detected after frequency is improved is less than the second predetermined threshold value, the current connected WLAN of mobile terminal is switched into the network that network quality fraction is more than the 3rd predetermined threshold value.When the network condition for the WLAN that can solve to connect when mobile terminal by the present invention is poor, the problem of possibly can not meeting the online demand of user.

Description

Method for switching network, mobile terminal and computer-readable recording medium
Technical field
The invention belongs to communication technical field, more particularly to method for switching network, mobile terminal and computer-readable storage Medium.
Background technology
With the development of the communication technology, most mobile terminal (such as mobile phone, tablet personal computer) can be by even Connect WLAN (Wireless Local Area Networks, WLAN) and carry out network access, such as mobile phone is in connection The operation such as web page browsing or chat is carried out under WLAN.However, when the network condition for the WLAN that mobile terminal is connected is poor, can It can not meet user online demand.
Therefore be necessary to propose a kind of new technical scheme, to solve above-mentioned technical problem.
The content of the invention
In view of this, the embodiments of the invention provide a kind of method for switching network, mobile terminal and computer-readable storage Medium, to solve that, when the WLAN of mobile terminal connection network condition is poor, the online demand of user possibly can not be met Problem.
The first aspect of the embodiment of the present invention provides a kind of method for switching network, and the method for switching network includes:
Detect the current connected network of mobile terminal;
If the current connected network of the mobile terminal is WLAN WLAN, the mobile terminal is obtained current The WLAN connected network quality fraction, wherein, the network quality fraction is the index for evaluating network quality;
If the current connected WLAN of mobile terminal network quality fraction is less than the first predetermined threshold value, inspection is improved Survey the frequency of the current connected WLAN of mobile terminal network quality fraction;
If the network quality fraction that the current connected WLAN of the mobile terminal is detected after frequency is improved is less than the Two predetermined threshold values, then switch to network quality fraction more than the 3rd predetermined threshold value by the current connected WLAN of the mobile terminal Network, wherein, the second predetermined threshold value be less than the first predetermined threshold value, the 3rd predetermined threshold value be more than the first predetermined threshold value.
The second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Network detection module, the network current connected for detecting mobile terminal;
Fraction acquisition module, if the network current connected for the mobile terminal is WLAN WLAN, is obtained The current connected WLAN of mobile terminal network quality fraction is taken, wherein, the network quality fraction is to evaluate network The index of quality;
Frequency improves module, if the WLAN current connected for mobile terminal network quality fraction is less than first Predetermined threshold value, then improve the frequency of the current connected WLAN of detection mobile terminal network quality fraction;
Network handover module, if the net for detecting the current connected WLAN of the mobile terminal after frequency is improved Network mass fraction is less than the second predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into network quality fraction More than the network of the 3rd predetermined threshold value, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than first Predetermined threshold value.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor and is stored in In the memory and the computer program that can run on the processor, described in the computing device during computer program Realize as described in above-mentioned first aspect the step of method for switching network.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, realizes that the network as described in above-mentioned first aspect is cut when the computer program is executed by processor The step of changing method.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The embodiment of the present invention passes through in mobile terminal When current connected network is WLAN, the current connected WLAN of mobile terminal network quality fraction is obtained, by institute The network quality fraction and the first predetermined threshold value for stating the current connected WLAN of mobile terminal are compared, and pre- less than first If during threshold value, the frequency of the current connected WLAN of detection mobile terminal network quality fraction is improved, if improving frequency The network quality fraction for detecting the current connected WLAN of the mobile terminal afterwards is less than the second predetermined threshold value, then is moved described The current connected WLAN of dynamic terminal switches to the network that network quality fraction is more than the 3rd predetermined threshold value.The embodiment of the present invention is led to Cross when the current connected WLAN of mobile terminal network quality fraction is less than the second predetermined threshold value, by the current institute of mobile terminal The WLAN of connection switches to the network that network quality fraction is more than the 3rd predetermined threshold value, so as to may be implemented in the current institute of mobile terminal When the WLAN of connection network state is poor, switch it to network state preferably other networks, and then meet the upper of user Net demand.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram for the method for switching network that the embodiment of the present invention one is provided;
Fig. 2 is the implementation process schematic diagram for the method for switching network that the embodiment of the present invention two is provided;
Fig. 3 is the schematic diagram for the mobile terminal that the embodiment of the present invention three is provided;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four is provided;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five is provided.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " indicates described spy Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.So, terminal public physical structure (for example, Touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process Execution sequence should be determined with its function and internal logic, and any limit is constituted without tackling the implementation process of the embodiment of the present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is the implementation process schematic diagram for the method for switching network that the embodiment of the present invention one is provided, the network switching referring to Fig. 1 Method is applied to mobile terminal, and the method for switching network may comprise steps of as shown in the figure:
Step S101, the current connected network of detection mobile terminal.
In embodiments of the present invention, unlatching WLAN switch and opening for data network are usually provided with the terminal Close, the mobile terminal can be determined described mobile whole by detecting WLAN on off state and the on off state of data network The current connected network in end is WLAN or data network.Specifically, detecting WLAN on off state for opening When, determine that the current connected network of the mobile terminal is WLAN, when detecting WLAN on off state closed mode, really The fixed mobile terminal current time is not connected with WLAN;When detecting the on off state of data network for opening, it is determined that The current connected network of the mobile terminal is data network, is detecting the on off state of data network for closed mode When, determine the mobile terminal current time unconnected data network.It should be noted that detecting WLAN on off state When on off state with data network is opening, network access priority can be pre-set, for example, sets WLAN's Priority is higher than data network, then is opening in the on off state of the on off state and data network that detect WLAN When, although mobile terminal is shown while being connected to WLAN and data network, but be substantially that the preferential WLAN using connection is carried out Network access.
Wherein, the data network refers to the subscriber identification card (Subscriber that the mobile terminal is installed Identification Module, SIM card) belonging to the network that is provided of operator, such as three big UNICOMs of operator, movement, The logical network provided of telecommunications, such as general packet radio service technology (General Packet Radio Service, GPRS) Network, 3 G mobile communication network (i.e. 3G network), forth generation mobile communications network (i.e. 4G networks) etc., are not limited herein It is fixed.The WLAN includes but is not limited to Wireless Fidelity (Wireless Fidelity, WiFi) network.
Step S102, if the current connected network of the mobile terminal is WLAN WLAN, obtains the shifting The current connected WLAN of dynamic terminal network quality fraction, wherein, the network quality fraction is the finger for evaluating network quality Mark.
In embodiments of the present invention, transmission that can be by detecting the current connected WLAN links of the mobile terminal is controlled Agreement (Transmission Control Protocol, TCP), HTTP (HyperText Transfer Protocol, HTTP), packet loss and receive signal intensity indicate (Received Signal Strength Indication, RSSI) parameter such as value, acquired aforementioned four parameter is weighted algorithm calculates the mobile terminal and work as Preceding connected WLAN network quality fraction, can according to the current connected WLAN of mobile terminal network quality fraction Judge the current connected WLAN of mobile terminal network state.
Optionally, the network quality fraction for obtaining the current connected WLAN of the mobile terminal includes:
Obtain the current connected WLAN of mobile terminal transmission control protocol TCP connection status, Hyper text transfer Agreement HTTP connection status, packet loss and the intensity indicating RSSI value for receiving signal;
Respectively the WLAN current connected to mobile terminal TCP connection state, HTTP connection status, packet loss and RSSI value is given a mark, with the fraction of the TCP connection state that obtains the current connected WLAN of the mobile terminal, HTTP connection status Fraction, the fraction of the fraction of packet loss and RSSI value;
By the fraction of the current connected WLAN of mobile terminal TCP connection state, the fraction of HTTP connection status, The fraction of packet loss and the fraction of RSSI value are added up, and regard accumulated value as the current connected WLAN of the mobile terminal Network quality fraction.
In embodiments of the present invention, the TCP connection state includes TCP successful connections and TCP connection failures.To described When the current connected WLAN of mobile terminal TCP connection state is given a mark, WLAN TCP connection shapes can be set in advance in State when being TCP successful connections the fraction of corresponding TCP connection state be the first preset fraction, be in WLAN TCP connection state The fraction of corresponding TCP connection state is the second preset fraction during TCP connection failures, and the first preset fraction is default more than second Fraction, after the current connected WLAN of mobile terminal TCP connection state is got, according to the WLAN pre-set TCP connection state fraction corresponding relation, obtain the current connected WLAN of mobile terminal TCP connection state Fraction.The HTTP connection status includes HTTP successful connections and HTTP connection failures.Currently connect to the mobile terminal When the WLAN connect HTTP connection status is given a mark, the HTTP connection status that can be set in advance in WLAN connects into for HTTP The fraction of corresponding HTTP connection status is the 3rd preset fraction during work(, is HTTP connection failures in WLAN HTTP connection status When corresponding HTTP connection status fraction be the 4th preset fraction, and the 3rd preset fraction be more than the 4th preset fraction, obtaining After the HTTP connection status for getting the current connected WLAN of the mobile terminal, connected according to the WLAN pre-set HTTP The corresponding relation of the fraction of state is connect, the fraction of the current connected WLAN of mobile terminal HTTP connection status is obtained. When the WLAN current connected to mobile terminal packet loss is given a mark, multiple packet loss models can be pre-set Enclose, and set up the corresponding relation of the fraction of the multiple packet loss scope and packet loss, the mobile terminal is current getting After the WLAN connected packet loss, the packet loss belonging to the current connected WLAN of mobile terminal packet loss is judged Scope, and using the fraction of the corresponding packet loss of packet loss scope as the current connected WLAN of the mobile terminal packet loss The fraction of rate.When the WLAN current connected to mobile terminal RSSI value is given a mark, it can pre-set multiple RSSI value scope, and the corresponding relation of the fraction of the multiple RSSI value scope and RSSI value is set up, getting the movement After the current connected WLAN of terminal RSSI value, belonging to the RSSI value for judging the current connected WLAN of the mobile terminal RSSI value scope, and it regard the fraction of the corresponding RSSI value of RSSI value scope as the current connected WLAN of the mobile terminal RSSI value fraction.
Step S103, if the current connected WLAN of mobile terminal network quality fraction is less than the first default threshold Value, then improve the frequency of the current connected WLAN of detection mobile terminal network quality fraction.
In embodiments of the present invention, it is the current connected WLAN of mobile terminal network quality fraction and first is pre- If threshold value is compared, to determine whether to improve the network quality fraction for detecting the current connected WLAN of the mobile terminal Frequency, and when the current connected WLAN of mobile terminal network quality fraction is less than the first predetermined threshold value, improve inspection The frequency of the current connected WLAN of mobile terminal network quality fraction is surveyed, it is current connected in the mobile terminal When WLAN network quality fraction is more than or equal to the first predetermined threshold value, continue to work as with mobile terminal described in original frequency detecting Preceding connected WLAN network quality fraction.
Step S104, if detecting the current connected WLAN of mobile terminal network quality point after frequency is improved Number is less than the second predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into network quality fraction more than the 3rd The network of predetermined threshold value, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than the first default threshold Value.
In embodiments of the present invention, it is the current connected WLAN of mobile terminal network quality fraction and second is pre- If threshold value is compared, if the current connected WLAN of mobile terminal network quality fraction is less than the second predetermined threshold value, Then determine that the current connected WLAN of mobile terminal network state is poor, it is impossible to meet the online demand of user;If institute The network quality fraction for stating the current connected WLAN of mobile terminal is more than or equal to the second predetermined threshold value, it is determined that the movement The current connected WLAN of terminal network condition preferably, can meet the online demand of user.Wherein, the described second default threshold Value is for judging whether the current connected WLAN of the mobile terminal disclosure satisfy that the standard value of the online demand of user.Institute Stating the second predetermined threshold value can be set based on experience value.Because the network quality that different online demands needs is different, Second predetermined threshold value can be set according to different online demands.Such as different online demand:Watch video and browse Webpage, because the network quality needed for viewing video is higher than the network quality browsed needed for webpage, then setting second pre- If during threshold value, corresponding second predetermined threshold value of viewing video, which is necessarily greater than, browses corresponding second predetermined threshold value of webpage.
It is preferable in order to which the current connected WLAN of the poor mobile terminal of network state is switched into network state Other networks, can be by determining network state preferably other networks more than the 3rd predetermined threshold value of the second predetermined threshold value. Wherein, the network quality fraction is more than the network of the 3rd predetermined threshold value and includes but is not limited to network quality fraction more than the 3rd pre- If the WLAN and data network of threshold value.
The embodiment of the present invention is preset by being less than second in the current connected WLAN of mobile terminal network quality fraction During threshold value, the current connected WLAN of mobile terminal is switched into the network that network quality fraction is more than the 3rd predetermined threshold value, from And the network state that may be implemented in the current connected WLAN of mobile terminal it is poor when, switch it to network state preferably its His network, and then meet the online demand of user.
It is the implementation process schematic diagram for the method for switching network that the embodiment of the present invention two is provided, the network switching referring to Fig. 2 Method is applied to mobile terminal, and the method for switching network may comprise steps of as shown in the figure:
Step S201, the current connected network of detection mobile terminal.
The step is identical with step S101, for details, reference can be made to step S101 associated description, will not be repeated here.
Step S202, if the current connected network of the mobile terminal is WLAN WLAN, obtains the shifting The current connected WLAN of dynamic terminal network quality fraction, wherein, the network quality fraction is the finger for evaluating network quality Mark.
The step is identical with step S102, for details, reference can be made to step S102 associated description, will not be repeated here.
Step S203, if the current connected WLAN of mobile terminal network quality fraction is less than the first default threshold Value, then improve the frequency of the current connected WLAN of detection mobile terminal network quality fraction.
The step is identical with step S103, for details, reference can be made to step S103 associated description, will not be repeated here.
Step S204, if detecting the current connected WLAN of mobile terminal network quality point after frequency is improved Number is less than the second predetermined threshold value, then detects and whether there is other networks in preset range, wherein, other described networks refer to remove institute State the network outside the current connected WLAN of mobile terminal.
Wherein, the preset range is can to ensure that the mobile terminal can search other networks and can be with search Other networks arrived set up the distance range of communication connection.For example, using the current location of mobile terminal as the center of circle, radius is 10 meters Circle.
Other described networks include but is not limited to the WLAN sums in addition to the current connected WLAN of the mobile terminal According to network.
Step S205, if in the presence of other networks, obtaining the network quality fraction of other networks.
If it should be noted that other described networks are in addition to the current connected WLAN of the mobile terminal WLAN, then can use and the phase for the network quality fraction that the current connected WLAN of the mobile terminal is obtained in step S102 Other described WLAN are calculated with algorithm.If other described networks are data network, it can detect that the data network whether can Enough online is (for example, the TCP and HTTP of the link by detecting the data network by turns determine that the data network whether can Online), if can surf the Net, the network quality fraction of the data network is set to the 4th predetermined threshold value, wherein, described the Four predetermined threshold values are higher than the 3rd predetermined threshold value;If can not surf the Net, the network quality fraction of the data network is set to 5th predetermined threshold value, and the 5th predetermined threshold value is less than the second predetermined threshold value.
Step S206, will if there is the network that network quality fraction is more than the 3rd predetermined threshold value in other described networks The current connected WLAN of the mobile terminal switches to the network.
Wherein, the 3rd predetermined threshold value is for judging that the network quality of other networks preferably, that is, disclosure satisfy that user The standard value of online demand.Optionally, user can set the 3rd predetermined threshold value according to actual needs, be not limited thereto, but 3rd predetermined threshold value have to be larger than the first predetermined threshold value.
Optionally, if there is the network that network quality fraction is more than the 3rd predetermined threshold value in other described networks, by institute Stating the current connected WLAN of mobile terminal and switching to the network includes:
If there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks, moved described The current connected WLAN of dynamic terminal switches to network quality fraction highest network in the multiple network.
In embodiments of the present invention, it is pre- more than the 3rd if there are multiple network quality fractions in other networks described in detecting If the network of threshold value, then the network quality fraction of the multiple network is compared, so that it is determined that in the multiple network which The network quality fraction highest of individual network, and the current connected WLAN of the mobile terminal is switched into network quality fraction most High network.
Optionally, if there is the network that network quality fraction is more than the 3rd predetermined threshold value in other described networks, by institute Stating the current connected WLAN of mobile terminal and switching to the network includes:
If there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks, according to default Condition is ranked up to the multiple network, and according to the multiple network of display that puts in order;
When detecting user to the selection operation of the multiple network, by the current connected WLAN of the mobile terminal Switch to chosen network.
In embodiments of the present invention, it is pre- more than the 3rd if there are multiple network quality fractions in other networks described in detecting If the network of threshold value, then the network quality fraction of the multiple network is compared, according to preparatory condition (such as network quality Fraction is from high to low) the multiple network is ranked up, and shown according to putting in order on the screen of the mobile terminal The multiple network (title and corresponding network quality fraction that for example show each network in the multiple network), in order to User checks the multiple network, selects that the mobile terminal is current connected from shown the multiple network Which network WLAN switches to.
Optionally, the method for switching network also includes:
If the network that network quality fraction is more than the 3rd predetermined threshold value is not present in other described networks, user is pointed out to repair The current connected WLAN of the multiple mobile terminal.
Exemplary, it can be moved described in prompting user to point out user to repair the current connected WLAN of the mobile terminal The current connected WLAN of dynamic terminal can not surf the Net, and please detect the current connected WLAN of mobile terminal router.
The embodiment of the present invention is preset by being less than second in the current connected WLAN of mobile terminal network quality fraction During threshold value, the current connected WLAN of mobile terminal is switched into the network that network quality fraction is more than the 3rd predetermined threshold value, from And the network state that may be implemented in the current connected WLAN of mobile terminal it is poor when, switch it to network state preferably its His network, and then meet the online demand of user.
Referring to Fig. 3, it is the schematic diagram for the mobile terminal that the embodiment of the present invention three is provided, for convenience of description, illustrate only The part related to the embodiment of the present invention.
The mobile terminal includes:
Network detection module 31, the network current connected for detecting mobile terminal;
Fraction acquisition module 32, if the network current connected for the mobile terminal is WLAN WLAN, The current connected WLAN of mobile terminal network quality fraction is obtained, wherein, the network quality fraction is to evaluate net The index of network quality;
Frequency improves module 33, if the WLAN current connected for mobile terminal network quality fraction is less than the One predetermined threshold value, then improve the frequency of the current connected WLAN of detection mobile terminal network quality fraction;
Network handover module 34, if for detecting the current connected WLAN's of the mobile terminal after frequency is improved Network quality fraction is less than the second predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into network quality point Number more than the 3rd predetermined threshold value networks, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than the One predetermined threshold value.
Optionally, the network handover module 34 includes:
Detection unit 341, if the net for detecting the current connected WLAN of the mobile terminal after frequency is improved Network mass fraction is less than the second predetermined threshold value, then detects and whether there is other networks in preset range, wherein, other described networks Refer to the network in addition to the current connected WLAN of the mobile terminal;
Acquiring unit 342, if in the presence of other networks, obtaining the network quality fraction of other networks;
Switch unit 343, if being more than the net of the 3rd predetermined threshold value for there is network quality fraction in other described networks Network, then switch to the network by the current connected WLAN of the mobile terminal.
Optionally, the switch unit 343 specifically for:
If there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks, moved described The current connected WLAN of dynamic terminal switches to network quality fraction highest network in the multiple network.
Optionally, the switch unit 343 includes:
Subelement is shown, if for there are multiple network quality fractions in other described networks more than the 3rd predetermined threshold value Network, then be ranked up according to preparatory condition to the multiple network, and according to the multiple network of display that puts in order;
Switching subelement, for when detecting user to the selection operation of the multiple network, by the mobile terminal Current connected WLAN switches to chosen network.
Optionally, the network handover module 34 also includes:
Tip element 344, if being more than the 3rd predetermined threshold value for network quality fraction to be not present in other described networks Network, then point out user to repair the current connected WLAN of the mobile terminal.
Optionally, the fraction acquisition module 32 includes:
Parameter acquiring unit 321, the transmission control protocol TCP for obtaining the current connected WLAN of the mobile terminal Connection status, HTTP HTTP connection status, packet loss and the intensity indicating RSSI value for receiving signal;
Marking unit 322, TCP connection state, HTTP for WLAN current connected to the mobile terminal respectively Connection status, packet loss and RSSI value marking, to obtain the mobile terminal current connected WLAN TCP connection state Fraction, the fraction of HTTP connection status, the fraction of the fraction of packet loss and RSSI value;
Summing elements 323, for by the fraction of the current connected WLAN of mobile terminal TCP connection state, The fraction of the fraction of HTTP connection status, the fraction of packet loss and RSSI value is added up, and regard accumulated value as the movement The current connected WLAN of terminal network quality fraction.
The embodiment of the present invention is preset by being less than second in the current connected WLAN of mobile terminal network quality fraction During threshold value, the current connected WLAN of mobile terminal is switched into the network that network quality fraction is more than the 3rd predetermined threshold value, from And the network state that may be implemented in the current connected WLAN of mobile terminal it is poor when, switch it to network state preferably its His network, and then meet the online demand of user.
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four is provided.The mobile terminal as depicted can be wrapped Include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure), One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeated Go out equipment 403 and memory 404 is connected by bus 405.Memory 404 is used for store instruction, and processor 401 is deposited for execution The instruction that reservoir 404 is stored.Wherein:
The processor 401, the network current connected for detecting mobile terminal;If the mobile terminal currently connects The network connect is WLAN WLAN, then obtains the mobile terminal by the input equipment 402 current connected WLAN network quality fraction, wherein, the network quality fraction is the index for evaluating network quality;If the mobile terminal is worked as Preceding connected WLAN network quality fraction is less than the first predetermined threshold value, then improves the detection mobile terminal current connected WLAN network quality fraction frequency;If detecting the current connected WLAN's of the mobile terminal after frequency is improved Network quality fraction is less than the second predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into network quality point Number more than the 3rd predetermined threshold value networks, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than the One predetermined threshold value.
Optionally, the processor 401, if currently connecting specifically for detecting the mobile terminal after frequency is improved The WLAN connect network quality fraction is less than the second predetermined threshold value, then detects and whether there is other networks in preset range, wherein, Other described networks refer to the network in addition to the current connected WLAN of the mobile terminal;If in the presence of other networks, leading to Cross the network quality fraction that the input equipment 402 obtains other networks;If there is network quality in other described networks Fraction is more than the network of the 3rd predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into the network.
Optionally, the processor 401, if being more than specifically for there are multiple network quality fractions in other described networks The network of 3rd predetermined threshold value, then switch to network matter in the multiple network by the current connected WLAN of the mobile terminal Measure fraction highest network.
Optionally, the processor 401, if being more than specifically for there are multiple network quality fractions in other described networks The network of 3rd predetermined threshold value, then be ranked up according to preparatory condition to the multiple network, and according to putting in order by institute State output equipment 403 and show the multiple network;When detecting user to the selection operation of the multiple network, moved described The current connected WLAN of dynamic terminal switches to chosen network.
Optionally, the processor 401, if being additionally operable to be not present network quality fraction in other described networks more than the 3rd The network of predetermined threshold value, then point out user to repair the current connected WLAN of the mobile terminal.
Optionally, the processor 401, it is current specifically for obtaining the mobile terminal by the input equipment 402 The WLAN connected transmission control protocol TCP connection status, HTTP HTTP connection status, packet loss and reception The intensity indicating RSSI value of signal;The WLAN current connected to mobile terminal TCP connection state, HTTP connections respectively State, packet loss and RSSI value marking, with point for the TCP connection state for obtaining the current connected WLAN of the mobile terminal The fraction of number, the fraction of HTTP connection status, the fraction of packet loss and RSSI value;The mobile terminal is current connected The fraction of WLAN TCP connection state, the fraction of HTTP connection status, the fraction of the fraction of packet loss and RSSI value are tired out Plus, and using accumulated value as the current connected WLAN of the mobile terminal network quality fraction.
The memory 404, for storing software program and module.The processor 401 is stored in institute by operation The software program and module of memory 404 are stated, so that various function application and data processing are performed, will be described mobile whole The current connected WLAN in end switches to the network that network quality fraction is more than the 3rd predetermined threshold value.
It should be appreciated that in embodiments of the present invention, the processor 401 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the and of output equipment 403 described in the embodiment of the present invention Memory 404 can perform the implementation described in the embodiment of method for switching network provided in an embodiment of the present invention, also may be used The implementation described in mobile terminal described in embodiment three is performed, be will not be repeated here.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five is provided.As shown in figure 5, the mobile end of the embodiment End 5 includes:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50 Calculation machine program 52.The processor 50 is realized when performing the computer program 52 in each above-mentioned information processing method embodiment The step of, such as the step S101 to S104 shown in Fig. 1.Or, the processor 50 performs real during the computer program 52 The function of each module/unit, such as function of module 31 to 34 shown in Fig. 3 in existing above-mentioned each mobile terminal embodiment.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are performed by the processor 50, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided It is cut into network detection module, fraction acquisition module, frequency and improves module and network handover module, each module concrete function is such as Under:
Network detection module, the network current connected for detecting mobile terminal;
Fraction acquisition module, if the network current connected for the mobile terminal is WLAN WLAN, is obtained The current connected WLAN of mobile terminal network quality fraction is taken, wherein, the network quality fraction is to evaluate network The index of quality;
Frequency improves module, if the WLAN current connected for mobile terminal network quality fraction is less than first Predetermined threshold value, then improve the frequency of the current connected WLAN of detection mobile terminal network quality fraction;
Network handover module, if the net for detecting the current connected WLAN of the mobile terminal after frequency is improved Network mass fraction is less than the second predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into network quality fraction More than the network of the 3rd predetermined threshold value, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than first Predetermined threshold value.
Optionally, the network handover module includes:
Detection unit, if the network matter for detecting the current connected WLAN of the mobile terminal after frequency is improved Measure fraction and be less than the second predetermined threshold value, then detect and whether there is other networks in preset range, wherein, other described networks refer to Network in addition to the current connected WLAN of the mobile terminal;
Acquiring unit, if in the presence of other networks, obtaining the network quality fraction of other networks;
Switch unit, if being more than the network of the 3rd predetermined threshold value for there is network quality fraction in other described networks, The current connected WLAN of the mobile terminal is then switched into the network.
Optionally, the switch unit specifically for:
If there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks, moved described The current connected WLAN of dynamic terminal switches to network quality fraction highest network in the multiple network.
Optionally, the switch unit includes:
Subelement is shown, if for there are multiple network quality fractions in other described networks more than the 3rd predetermined threshold value Network, then be ranked up according to preparatory condition to the multiple network, and according to the multiple network of display that puts in order;
Switching subelement, for when detecting user to the selection operation of the multiple network, by the mobile terminal Current connected WLAN switches to chosen network.
Optionally, the network handover module also includes:
Tip element, if for the net that network quality fraction is more than the 3rd predetermined threshold value to be not present in other described networks Network, then point out user to repair the current connected WLAN of the mobile terminal.
Optionally, the fraction acquisition module includes:
Parameter acquiring unit, the transmission control protocol TCP for obtaining the current connected WLAN of the mobile terminal connects Connect state, HTTP HTTP connection status, packet loss and the intensity indicating RSSI value for receiving signal;
Marking unit, TCP connection state, HTTP connections for WLAN current connected to the mobile terminal respectively State, packet loss and RSSI value marking, with point for the TCP connection state for obtaining the current connected WLAN of the mobile terminal The fraction of number, the fraction of HTTP connection status, the fraction of packet loss and RSSI value;
Summing elements, for the fraction of the current connected WLAN of mobile terminal TCP connection state, HTTP to be connected The fraction for connecing the fraction of state, the fraction of packet loss and RSSI value is added up, and is worked as accumulated value as the mobile terminal Preceding connected WLAN network quality fraction.
The mobile terminal 5 can be that the calculating such as desktop PC, notebook, palm PC and cloud server is set It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 Only the example of mobile terminal 5, does not constitute the restriction to mobile terminal 5, can include than illustrating more or less portions Part, either combines some parts or different parts, such as described mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other PLDs, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be appointed What conventional processor etc..
The memory 51 can be the internal storage unit of the mobile terminal 5, such as hard disk of mobile terminal 5 or interior Deposit.The memory 51 can also be the External memory equipment of the mobile terminal 5, such as is equipped with described mobile terminal 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodges Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5 Member also includes External memory equipment.The memory 51 is used for needed for storing the computer program and the mobile terminal Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.Institute The technical staff in category field can be understood that, for convenience of description and succinctly, only with above-mentioned each functional unit, module Division progress for example, in practical application, can be as needed and by above-mentioned functions distribution by different functional units, mould Block is completed, will the internal structure of the mobile terminal be divided into different functional unit or module, it is described above to complete All or part of function.Each functional unit, module in embodiment can be integrated in a processing unit or each Individual unit is individually physically present, can also two or more units it is integrated in a unit, above-mentioned integrated unit was both It can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each functional unit, module Specific name also only to facilitate mutually distinguish, be not limited to the protection domain of the application.Unit in said system, The specific work process of module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be by it in embodiment provided by the present invention, it should be understood that disclosed mobile terminal and method Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as, in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (14)

1. a kind of method for switching network, it is characterised in that the method for switching network includes:
Detect the current connected network of mobile terminal;
If the current connected network of the mobile terminal is WLAN WLAN, obtains the mobile terminal and currently connect The WLAN connect network quality fraction, wherein, the network quality fraction is the index for evaluating network quality;
If the current connected WLAN of mobile terminal network quality fraction is less than the first predetermined threshold value, detection institute is improved State the frequency of the current connected WLAN of mobile terminal network quality fraction;
If it is pre- that the network quality fraction that the current connected WLAN of the mobile terminal is detected after frequency is improved is less than second If threshold value, then the current connected WLAN of the mobile terminal is switched into the net that network quality fraction is more than the 3rd predetermined threshold value Network, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than the first predetermined threshold value.
2. method for switching network as claimed in claim 1, it is characterised in that if being detected after frequency is improved described mobile whole The current connected WLAN in end network quality fraction is less than the second predetermined threshold value, then the mobile terminal is current connected WLAN switches to network quality fraction to be included more than the network of the 3rd predetermined threshold value:
If it is pre- that the network quality fraction that the current connected WLAN of the mobile terminal is detected after frequency is improved is less than second If threshold value, then detect and whether there is other networks in preset range, wherein, other described networks refer to except the mobile terminal is worked as Network outside preceding connected WLAN;
If in the presence of other networks, obtaining the network quality fraction of other networks;
If there is the network that network quality fraction is more than the 3rd predetermined threshold value in other described networks, the mobile terminal is worked as Preceding connected WLAN switches to the network.
3. method for switching network as claimed in claim 2, it is characterised in that if there is network quality point in other described networks Number is more than the network of the 3rd predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into the network includes:
, will be described mobile whole if there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks The current connected WLAN in end switches to network quality fraction highest network in the multiple network.
4. method for switching network as claimed in claim 2, it is characterised in that if there is network quality point in other described networks Number is more than the network of the 3rd predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into the network includes:
If there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks, according to preparatory condition The multiple network is ranked up, and according to the multiple network of display that puts in order;
When detecting user to the selection operation of the multiple network, the current connected WLAN of the mobile terminal is switched To the network chosen.
5. method for switching network as claimed in claim 2, it is characterised in that the method for switching network also includes:
If the network that network quality fraction is more than the 3rd predetermined threshold value is not present in other described networks, user is pointed out to repair institute State the current connected WLAN of mobile terminal.
6. method for switching network as claimed in claim 1, it is characterised in that the acquisition mobile terminal is current connected WLAN network quality fraction include:
Obtain the current connected WLAN of mobile terminal transmission control protocol TCP connection status, HTTP HTTP connection status, packet loss and the intensity indicating RSSI value for receiving signal;
The WLAN current connected to mobile terminal TCP connection state, HTTP connection status, packet loss and RSSI respectively Value marking, with the fraction of the TCP connection state that obtains the current connected WLAN of the mobile terminal, point of HTTP connection status The fraction of number, the fraction of packet loss and RSSI value;
By the fraction, the fraction of HTTP connection status, packet loss of the current connected WLAN of mobile terminal TCP connection state The fraction of rate and the fraction of RSSI value are added up, and using accumulated value as the current connected WLAN of the mobile terminal net Network mass fraction.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Network detection module, the network current connected for detecting mobile terminal;
Fraction acquisition module, if the network current connected for the mobile terminal is WLAN WLAN, obtains institute The current connected WLAN of mobile terminal network quality fraction is stated, wherein, the network quality fraction is to evaluate network quality Index;
Frequency improves module, is preset if the WLAN current connected for mobile terminal network quality fraction is less than first Threshold value, then improve the frequency of the current connected WLAN of detection mobile terminal network quality fraction;
Network handover module, if the network matter for detecting the current connected WLAN of the mobile terminal after frequency is improved Measure fraction and be less than the second predetermined threshold value, then the current connected WLAN of the mobile terminal is switched into network quality fraction and be more than The network of 3rd predetermined threshold value, wherein, the second predetermined threshold value is less than the first predetermined threshold value, and the 3rd predetermined threshold value is more than first and preset Threshold value.
8. mobile terminal as claimed in claim 7, it is characterised in that the network handover module includes:
Detection unit, if the network quality point for detecting the current connected WLAN of the mobile terminal after frequency is improved Number is less than the second predetermined threshold value, then detects and whether there is other networks in preset range, wherein, other described networks refer to remove institute State the network outside the current connected WLAN of mobile terminal;
Acquiring unit, if in the presence of other networks, obtaining the network quality fraction of other networks;
Switch unit, will if being more than the network of the 3rd predetermined threshold value for there is network quality fraction in other described networks The current connected WLAN of the mobile terminal switches to the network.
9. mobile terminal as claimed in claim 8, it is characterised in that the switch unit specifically for:
, will be described mobile whole if there is the network that multiple network quality fractions are more than the 3rd predetermined threshold value in other described networks The current connected WLAN in end switches to network quality fraction highest network in the multiple network.
10. mobile terminal as claimed in claim 8, it is characterised in that the switch unit includes:
Subelement is shown, if being more than the net of the 3rd predetermined threshold value for there are multiple network quality fractions in other described networks Network, then be ranked up according to preparatory condition to the multiple network, and according to the multiple network of display that puts in order;
Switching subelement, it is for when detecting user to the selection operation of the multiple network, the mobile terminal is current The WLAN connected switches to chosen network.
11. mobile terminal as claimed in claim 8, it is characterised in that the network handover module also includes:
Tip element, if for the network that network quality fraction is more than the 3rd predetermined threshold value to be not present in other described networks, User is pointed out to repair the current connected WLAN of the mobile terminal.
12. mobile terminal as claimed in claim 7, it is characterised in that the fraction acquisition module includes:
Parameter acquiring unit, the transmission control protocol TCP for obtaining the current connected WLAN of the mobile terminal connects shape State, HTTP HTTP connection status, packet loss and the intensity indicating RSSI value for receiving signal;
Marking unit, TCP connection state, HTTP connection shapes for WLAN current connected to the mobile terminal respectively State, packet loss and RSSI value marking, with the fraction of the TCP connection state that obtains the current connected WLAN of the mobile terminal, The fraction of the fraction of HTTP connection status, the fraction of packet loss and RSSI value;
Summing elements, for by the fraction of the current connected WLAN of mobile terminal TCP connection state, HTTP connection shapes The fraction of the fraction of state, the fraction of packet loss and RSSI value is added up, and regard accumulated value as the current institute of the mobile terminal The WLAN of connection network quality fraction.
13. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 6 described in the computing device during computer program The step of any one method for switching network.
14. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realization method for switching network as described in any one of claim 1 to 6 when the computer program is executed by processor Suddenly.
CN201710693235.7A 2017-08-14 2017-08-14 Method for switching network, mobile terminal and computer-readable recording medium Pending CN107295592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710693235.7A CN107295592A (en) 2017-08-14 2017-08-14 Method for switching network, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710693235.7A CN107295592A (en) 2017-08-14 2017-08-14 Method for switching network, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107295592A true CN107295592A (en) 2017-10-24

Family

ID=60105945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710693235.7A Pending CN107295592A (en) 2017-08-14 2017-08-14 Method for switching network, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107295592A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949024A (en) * 2018-01-08 2018-04-20 广东欧珀移动通信有限公司 AP method for handover control and device, electronic device and computer-readable recording medium
CN110267302A (en) * 2019-06-18 2019-09-20 广东以诺通讯有限公司 A kind of raising VoWiFi business service quality method and system
CN112040520A (en) * 2020-08-20 2020-12-04 Oppo(重庆)智能科技有限公司 Network switching method, device, terminal equipment and computer storage medium
CN114465932A (en) * 2021-07-30 2022-05-10 荣耀终端有限公司 TCP communication quality evaluation method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902526A (en) * 2015-05-25 2015-09-09 广东欧珀移动通信有限公司 Method and device for switching network, and mobile terminal
CN106162768A (en) * 2015-05-21 2016-11-23 小米科技有限责任公司 Wireless access point switching method and device
CN106211254A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method for connecting network and mobile terminal
CN106231640A (en) * 2016-07-29 2016-12-14 北京小米移动软件有限公司 Wireless access point switching method and device
CN106658588A (en) * 2016-12-21 2017-05-10 广东欧珀移动通信有限公司 Network quality detection method and device and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162768A (en) * 2015-05-21 2016-11-23 小米科技有限责任公司 Wireless access point switching method and device
CN104902526A (en) * 2015-05-25 2015-09-09 广东欧珀移动通信有限公司 Method and device for switching network, and mobile terminal
CN106211254A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method for connecting network and mobile terminal
CN106231640A (en) * 2016-07-29 2016-12-14 北京小米移动软件有限公司 Wireless access point switching method and device
CN106658588A (en) * 2016-12-21 2017-05-10 广东欧珀移动通信有限公司 Network quality detection method and device and computer equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949024A (en) * 2018-01-08 2018-04-20 广东欧珀移动通信有限公司 AP method for handover control and device, electronic device and computer-readable recording medium
CN110267302A (en) * 2019-06-18 2019-09-20 广东以诺通讯有限公司 A kind of raising VoWiFi business service quality method and system
CN112040520A (en) * 2020-08-20 2020-12-04 Oppo(重庆)智能科技有限公司 Network switching method, device, terminal equipment and computer storage medium
CN112040520B (en) * 2020-08-20 2023-02-17 Oppo(重庆)智能科技有限公司 Network switching method, device, terminal equipment and computer storage medium
CN114465932A (en) * 2021-07-30 2022-05-10 荣耀终端有限公司 TCP communication quality evaluation method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107222898A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107295592A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107360536A (en) Control method, terminal device and the computer-readable recording medium of terminal device
CN107708168A (en) SIM card switching method, mobile terminal and computer-readable recording medium
CN107318140A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN110225104A (en) Data capture method, device and terminal device
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN104267987B (en) A kind of newer detection method of application APP, detection device and terminal
CN107479806A (en) The method and terminal of a kind of changing interface
CN109151337A (en) Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal
CN107404740A (en) Method for switching network, device and the terminal device of safety
CN108880700A (en) Frequency hopping method, frequency hopping device and the mobile terminal of clock signal
CN107294811A (en) Network detecting method, network detection means and intelligent terminal
CN106775185A (en) A kind of desktop display method and terminal
CN110445558A (en) Performance test methods, device and terminal device
CN107291327A (en) Application control method and related product
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
US11882468B2 (en) Traffic/rate counting method and related device
CN108667588A (en) Carrier wave aggregation configuration method, relevant device and storage medium
CN107277896A (en) Wifi hotspot management method, device and terminal device
CN107343326A (en) A kind of data transmission method and device
CN107277877A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107864295A (en) Call control method, mobile terminal and computer-readable recording medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171024