CN108616947A - A kind of method and apparatus of network switching - Google Patents

A kind of method and apparatus of network switching Download PDF

Info

Publication number
CN108616947A
CN108616947A CN201810322978.8A CN201810322978A CN108616947A CN 108616947 A CN108616947 A CN 108616947A CN 201810322978 A CN201810322978 A CN 201810322978A CN 108616947 A CN108616947 A CN 108616947A
Authority
CN
China
Prior art keywords
network
application program
changeable
attribute
characteristic information
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
CN201810322978.8A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810322978.8A priority Critical patent/CN108616947A/en
Publication of CN108616947A publication Critical patent/CN108616947A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0094Definition of hand-off measurement parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface

Abstract

An embodiment of the present invention provides a kind of method and apparatus of network switching, the method includes:When detecting changeable network, the characteristic information of currently running application program is determined;Based on the characteristic information, judge whether the changeable network is adapted with the application program;If the changeable network is adapted with the application program, the changeable network is switched to.Through the embodiment of the present invention, it realizes and automatically switches to network compatible with application program, avoid influence of the network switching to application program, ensure that the normal operation of application program, improve user experience.

Description

A kind of method and apparatus of network switching
Technical field
The present invention relates to computer network field more particularly to a kind of method and apparatus of network switching.
Background technology
With the development of science and technology, the radio network techniques day such as WI-FI (WIreless-FIdelity, Wireless Fidelity) Benefit is universal, and the major part such as company, market, bus place is covered with wireless network.
Currently, the mobile terminals such as smart mobile phone, which may be used, in user is connected to wireless network, a certain wireless network was being connected After network, when mobile terminal is again introduced into the coverage area of the wireless network, mobile terminal can connect the wireless network automatically Network.
However, during being currently running certain application programs, class game is such as fought, if mobile terminal connects automatically Upper wireless network, and wireless network is second-rate, may result in currently running application program and interim card occurs, postpone, fall Phenomena such as line, influences the operation of application program, causes user experience poor.
Invention content
The embodiment of the present invention provides a kind of method and apparatus of network switching, influences application program fortune to solve network switching Capable problem.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of method of network switching, the method includes:
When detecting changeable network, the characteristic information of currently running application program is determined;
Based on the characteristic information, judge whether the changeable network is adapted with the application program;
If the changeable network is adapted with the application program, the changeable network is switched to.
Second aspect, an embodiment of the present invention provides a kind of device of network switching, described device includes:
Application program determining module, the spy for when detecting changeable network, determining currently running application program Reference ceases;
Be adapted to judgment module, for being based on the characteristic information, judge the changeable network whether with described using journey Sequence is adapted;
Network handover module, if being adapted with the application program for the changeable network, switch to it is described can Handover network.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, by when detecting changeable network, determining the spy of currently running application program Reference ceases, and is then based on characteristic information, judges to can be switched whether network is adapted with application program, if changeable network and application Program is adapted, then switches to changeable network, is realized and is automatically switched to network compatible with application program, avoids net Network switches the influence to application program, ensure that the normal operation of application program, improves user experience.
Description of the drawings
Fig. 1 is a kind of flow chart of the method for network switching of the embodiment of the present invention;
Fig. 2 is the flow chart of the method for another network switching of the embodiment of the present invention;
Fig. 3 is a kind of structure diagram of the device of network switching of the embodiment of the present invention;
Fig. 4 is a kind of hardware architecture diagram of mobile terminal of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, a kind of step flow chart of the method for network switching of the embodiment of the present invention is shown, the method can To be applied to mobile terminal, mobile terminal may include smart mobile phone, tablet computer, laptop, palm PC etc., and be somebody's turn to do The operating system of mobile terminal may include Android, IOS, Windows Phone, Windows etc., and the present invention does not make this It limits.
Specifically, the embodiment of the present invention may include steps of:
Step 101, when detecting changeable network, the characteristic information of currently running application program is determined;
Wherein, changeable network can be the wireless network for prestoring the link informations such as password.
Characteristic information may include the mark of application program, type of application program etc..
In in the concrete realization, mobile terminal can be detected the wireless network of covering mobile terminal region, When detecting that region has changeable network, currently running application program in mobile terminal can be further detected, And can determine the characteristic information of application program, such as determine that the type of currently running application program is type of play, to judge Whether the changeable network is suitable for switching.
In a kind of preferable example, mobile terminal can first detect the network type of current network, if current network be 3G, The mobile networks such as 4G can then carry out the detection to network can be switched, can be with if current network is the wireless networks such as WI-FI Without the detection to network can be switched, continue to be communicated using current network.
Step 102, it is based on the characteristic information, judges whether the changeable network is adapted with the application program;
After the characteristic information for determining currently running application program, it may be determined that be directed to this feature in mobile terminal in advance The network connection conditions of information setting, network connection conditions can be for signal strength, network speed, network delay, security level Etc. network attributes condition of contact, then may determine that whether the changeable network meets the network connection conditions.
If satisfied, then judging that network can be switched to be adapted with application program, if not satisfied, then judging that network can be switched and answer It is not adapted with program, and continues to be communicated using current network.
Step 103, if the changeable network is adapted with the application program, the changeable network is switched to.
When network, which can be switched, in judgement is adapted with application program, current network can be switched to this and can cut by mobile terminal Switching network, to be communicated using the changeable network.
In embodiments of the present invention, by when detecting changeable network, determining the spy of currently running application program Reference ceases, and is then based on characteristic information, judges to can be switched whether network is adapted with application program, if changeable network and application Program is adapted, then switches to changeable network, is realized and is automatically switched to network compatible with application program, avoids net Network switches the influence to application program, ensure that the normal operation of application program, improves user experience.
With reference to Fig. 2, the step flow chart of the method for another network switching of the embodiment of the present invention is shown, it specifically can be with Include the following steps:
Step 201, wireless network connection switch, and display target button are opened;
In embodiments of the present invention, mobile terminal can show wireless network connection switch in designated position, when user opens After opening wireless network connection switch, mobile terminal can be with display target button.
Step 202, when detecting that user is directed to the clicking operation of the target button, opening network screening switch;
When detecting that user is directed to the clicking operation of the target button, mobile terminal can be screened with opening network network and be opened It closes, to carry out the screening of high-quality network.
Step 203, when detecting changeable network, the characteristic information of currently running application program is determined;
After opening network screening switch, mobile terminal can carry out the wireless network of covering mobile terminal region It is currently running using journey can further to detect mobile terminal when detecting that region has changeable network for detection Sequence, and can determine the characteristic information of application program, such as determine that the type of currently running application program is type of play, to sentence Whether the changeable network break suitable for switching.
Step 204, it is based on the characteristic information, judges whether the changeable network is adapted with the application program;
As an example, characteristic information may include the mark of application program, type of application program etc..
After the characteristic information for determining currently running application program, it can obtain and be directed to this feature in mobile terminal in advance The network connection conditions of information setting, network connection conditions can be for signal strength, network speed, network delay, security level Etc. network attributes condition of contact, then may determine that whether the changeable network meets the network connection conditions.
If satisfied, then judging that network can be switched to be adapted with application program, if not satisfied, then judging that network can be switched and answer It is not adapted with program, and continues to be communicated using current network.
For example, being in advance that network connection of the network delay less than 100ms is arranged in type of play for the type of application program Condition then can be into one when detecting changeable network, and determining that the type of currently running application program is type of play The network delay of the step detection changeable network if the network delay is less than 100ms judges that network and application program can be switched It is adapted, if the network delay is not less than 100ms, judges that network can be switched not to be adapted with application program.
In a kind of preferred embodiment of the present invention, network connection conditions may include network attribute range, such as signal strength Range, network speed range, network delay range, security level range, then step 204 may include following sub-step:
Sub-step 11 determines the corresponding network attribute range of the characteristic information;
In embodiments of the present invention, multiple spies can be established in the terminal in a manner of using automatic or manual in advance Reference ceases the correspondence with network attribute range, after the characteristic information for determining currently running application program, mobile terminal The corresponding network attribute range of this feature information can be obtained.
Specifically, sub-step 11 may include following sub-step:
Sub-step 111 determines the corresponding goal gradient of the characteristic information;
Due to ordinary user and the meaning of unfamiliar network attribute characterization, mobile terminal can pre-set multiple grades, And different network attribute ranges is set for each grade, the mode of automatic or manual then may be used, multiple features are set The correspondence of information and grade.
For example, the type that application program can be arranged corresponds to the first estate when being game class, can for another example be arranged using journey Sequence corresponds to the second grade when being identified as " Web bank ".
In one embodiment, mobile terminal can determine the corresponding grade of the type of currently running application program, As goal gradient, such as type of currently running application program is game class, then can determine corresponding target of game class etc. Grade.
In another embodiment, mobile terminal can determine that the mark of currently running application program is corresponding etc. Grade, as goal gradient, such as currently running application program is identified as " Web bank ", then can determine that " Web bank " is right The goal gradient answered.
Sub-step 112 obtains the corresponding network attribute range of the goal gradient from initialized data base;
Wherein, initialized data base can store the correspondence of multiple grades and network attribute range.
After determining goal gradient, mobile terminal can be matched in initialized data base, and from initialized data base Determine goal gradient corresponding network range of attributes.
For example, A, B, C three grades are previously provided in mobile terminal, when network attribute ranging from security level range When, may include advanced, intermediate, rudimentary three ranges, then it is ranging from advanced to be arranged the corresponding security level of A grades, B etc. The corresponding security level of grade is ranging from intermediate, and the corresponding security level of C ranks is ranging from rudimentary, and application program can be arranged Corresponding A grade when type is " bank's class ", the type of application program correspond to B grades, the type of application program when being " shopping class " To correspond to C grades when " video class ".
If detecting, the type of currently running application program is " bank's class ", it may be determined that corresponding A grade, and can be true It is ranging from advanced to determine the corresponding security level of A grades, then it is advanced that currently running application program, which can only connect security level, Wireless network.
Sub-step 12 determines the corresponding target network attribute of the changeable network;
Correspondingly, mobile terminal can be directed to the information of changeable Web Publishing by reading router, therefrom obtaining can The corresponding target network attribute of handover network, target network attribute may include signal strength, network speed, network delay, safety level Not etc..
Sub-step 13 is sentenced when it is the network attribute within the scope of the network attribute to detect the target network attribute The fixed changeable network is adapted with the application program.
After obtaining target network attribute, mobile terminal may determine that target network attribute is the net within the scope of network attribute Network attribute is adapted if so, network can be switched in judgement with application program, if it is not, then judging that network and application program can be switched It is not adapted, and then continues to be communicated using current network.
Step 205, if the changeable network is adapted with the application program, the changeable network is switched to.
When network, which can be switched, in judgement is adapted with application program, current network can be switched to this and can cut by mobile terminal Switching network, to be communicated using the changeable network.
In a kind of preferred embodiment of the present invention, step 205 may include following sub-step:
Sub-step 21 calculates each changeable when there are multiple changeable networks compatible with the application program Network is adapted to intensity grade with the application program;
When there are multiple changeable networks compatible with application program, for each changeable network, mobile terminal The deviation value that can calculate the second network attribute and first network attribute respectively, can be switched network and application program as this Adaptation intensity grade.
For example, network speed is 2Mbps in first network attribute, network speed is 4Mbps in the second network attribute, then the second network category Property with first network attribute in network speed deviation value be 2M.
Current network is switched to the highest changeable network of adaptation intensity grade by sub-step 22.
After obtaining adaptation degree, mobile terminal can from multiple changeable networks, choose adaptation degree is highest can Then handover network uses the highest changeable network of the adaptation intensity grade to carry out network switching.
In embodiments of the present invention, by when detecting changeable network, determining the spy of currently running application program Reference ceases, and is then based on characteristic information, judges to can be switched whether network is adapted with application program, if changeable network and application Program is adapted, then switches to changeable network, is realized and is automatically switched to network compatible with application program, avoids net Network switches the influence to application program, ensure that the normal operation of application program, improves user experience.
Moreover, by determining the corresponding goal gradient of characteristic information, and then determine the corresponding network attribute model of goal gradient Enclose and determine the corresponding target network attribute of changeable network, when detect the target network attribute be the network attribute model When enclosing interior network attribute, judge that network can be switched to be adapted with application program, ensure that changeable network and application program Whether compatible accurate judgement, improve the adaptation degree of network.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
With reference to Fig. 3, shows a kind of structure diagram of the device of network switching of the embodiment of the present invention, can specifically include Following module:
Application program determining module 301, for when detecting changeable network, determining currently running application program Characteristic information;
Be adapted to judgment module 302, for be based on the characteristic information, judge the changeable network whether with the application Program is adapted;
Network handover module 303 switches to described if being adapted with the application program for the changeable network Changeable network.
In a kind of preferred embodiment of the present invention, the adaptation judgment module 302 includes:
Network attribute range determination submodule, for determining the corresponding network attribute range of the characteristic information;
Target network attribute determination sub-module, for determining the corresponding target network attribute of the changeable network;
Attributes match detection sub-module detects that the target network attribute is within the scope of the network attribute for working as When network attribute, judge that the changeable network is adapted with the application program.
In a kind of preferred embodiment of the present invention, the network attribute range determination submodule includes:
Goal gradient determination unit, for determining the corresponding goal gradient of the characteristic information;
Network attribute acquiring unit, for from initialized data base, obtaining the corresponding network attribute model of the goal gradient It encloses;
Wherein, the correspondence of the preset data library storage multiple grades and network attribute range.
In a kind of preferred embodiment of the present invention, further include:
The target button display module, for opening wireless network connection switch, and display target button;
Network screening switch opening module, for when detecting that user is directed to the clicking operation of the target button, opening net Network screening switch.
In a kind of preferred embodiment of the present invention, the network handover module 303 includes:
Adaptation degree computational submodule, for when there are multiple changeable networks compatible with the application program, The each changeable network of calculating is adapted to intensity grade with the application program;
Current network switching submodule, for current network to be switched to the highest changeable net of adaptation intensity grade Network.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2 Each process, to avoid repeating, which is not described herein again.
With reference to a kind of hardware architecture diagram of the mobile terminal of each embodiment to realize the present invention of figure 4.
The mobile terminal 400 includes but not limited to:It is radio frequency unit 401, network module 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 410, the characteristic information for when detecting changeable network, determining currently running application program; Based on the characteristic information, judge whether the changeable network is adapted with the application program;If the changeable network It is adapted with the application program, then switches to the changeable network.
In embodiments of the present invention, by when detecting changeable network, determining the spy of currently running application program Reference ceases, and is then based on characteristic information, judges to can be switched whether network is adapted with application program, if changeable network and application Program is adapted, then switches to changeable network, is realized and is automatically switched to network compatible with application program, avoids net Network switches the influence to application program, ensure that the normal operation of application program, improves user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 402 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 403 can receive radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loud speaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 401 by being converted in the case of telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Transmission data between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can include mainly storing program area And storage data field, wherein storing program area can storage program area, the application program to be identified needed at least one function (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created number according to mobile phone According to (such as audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program to be identified etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in On memory 409 and the computer program that can be run on the processor 410, the computer program are executed by processor 410 A kind of above-mentioned each processes of the embodiment of the method for network switching of Shi Shixian, and identical technique effect can be reached, to avoid weight Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize a kind of each mistake of the embodiment of the method for above-mentioned network switching when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (RandomAccess Memory, Abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (10)

1. a kind of method of network switching, which is characterized in that the method includes:
When detecting changeable network, the characteristic information of currently running application program is determined;
Based on the characteristic information, judge whether the changeable network is adapted with the application program;
If the changeable network is adapted with the application program, the changeable network is switched to.
2. according to the method described in claim 1, it is characterized in that, it is described be based on the characteristic information, judge it is described can be switched Network step whether compatible with the application program includes:
Determine the corresponding network attribute range of the characteristic information;
Determine the corresponding target network attribute of the changeable network;
When it is the network attribute within the scope of the network attribute to detect the target network attribute, the changeable net is judged Network is adapted with the application program.
3. according to the method described in claim 2, it is characterized in that, the corresponding network attribute model of the determination characteristic information The step of enclosing include:
Determine the corresponding goal gradient of the characteristic information;
From initialized data base, the corresponding network attribute range of the goal gradient is obtained;
Wherein, the correspondence of the preset data library storage multiple grades and network attribute range.
4. according to the method described in claim 1, it is characterized in that, described when detecting changeable network, determine current Before the characteristic information step of the application program of operation, further include:
Open wireless network connection switch, and display target button;
When detecting that user is directed to the clicking operation of the target button, opening network screening switch.
5. if according to the method described in claim 1, it is characterized in that, the changeable network and the application program phase Adaptation, then the step of switching to the changeable network include:
When there are multiple changeable networks compatible with the application program, each changeable network and the application are calculated The adaptation intensity grade of program;
Current network is switched into the highest changeable network of adaptation intensity grade.
6. a kind of device of network switching, which is characterized in that described device includes:
Application program determining module, for when detecting changeable network, determining that the feature of currently running application program is believed Breath;
Be adapted to judgment module, for be based on the characteristic information, judge the changeable network whether with the application program phase Adaptation;
Network handover module switches to described changeable if being adapted with the application program for the changeable network Network.
7. device according to claim 6, which is characterized in that the adaptation judgment module includes:
Network attribute range determination submodule, for determining the corresponding network attribute range of the characteristic information;
Target network attribute determination sub-module, for determining the corresponding target network attribute of the changeable network;
Attributes match detection sub-module detects that the target network attribute is the network within the scope of the network attribute for working as When attribute, judge that the changeable network is adapted with the application program.
8. device according to claim 7, which is characterized in that the network attribute range determination submodule includes:
Goal gradient determination unit, for determining the corresponding goal gradient of the characteristic information;
Network attribute range acquiring unit, for from initialized data base, obtaining the corresponding network attribute model of the goal gradient It encloses;
Wherein, the correspondence of the preset data library storage multiple grades and network attribute range.
9. device according to claim 6, which is characterized in that further include:
The target button display module, for opening wireless network connection switch, and display target button;
Network screening switch opening module, for when detecting that user is directed to the clicking operation of the target button, opening network to sieve Choosing switch.
10. device according to claim 6, which is characterized in that the network handover module includes:
Adaptation degree computational submodule, for when there are multiple changeable networks compatible with the application program, calculating Each changeable network is adapted to intensity grade with the application program;
Current network switching submodule, for current network to be switched to the highest changeable network of adaptation intensity grade.
CN201810322978.8A 2018-04-11 2018-04-11 A kind of method and apparatus of network switching Pending CN108616947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810322978.8A CN108616947A (en) 2018-04-11 2018-04-11 A kind of method and apparatus of network switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810322978.8A CN108616947A (en) 2018-04-11 2018-04-11 A kind of method and apparatus of network switching

Publications (1)

Publication Number Publication Date
CN108616947A true CN108616947A (en) 2018-10-02

Family

ID=63659754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810322978.8A Pending CN108616947A (en) 2018-04-11 2018-04-11 A kind of method and apparatus of network switching

Country Status (1)

Country Link
CN (1) CN108616947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314964A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Data flow control method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060884A (en) * 2016-05-19 2016-10-26 维沃移动通信有限公司 Network switching method and mobile terminal
CN106211164A (en) * 2016-07-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal network changing method, terminal network switching device and terminal
CN106658625A (en) * 2017-02-15 2017-05-10 中国联合网络通信集团有限公司 Network switching method and device
CN106658616A (en) * 2016-12-26 2017-05-10 北京奇虎科技有限公司 Network switching method and apparatus based on network speed, and terminal device
CN106851759A (en) * 2017-03-14 2017-06-13 朱钦 The cut-in method and device of network
CN107040970A (en) * 2017-04-14 2017-08-11 合肥酷庆信息科技有限公司 A kind of mobile access terminal with network selection functional
CN107404740A (en) * 2017-08-07 2017-11-28 广东欧珀移动通信有限公司 Method for switching network, device and the terminal device of safety
CN107734584A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
CN107872855A (en) * 2017-11-30 2018-04-03 河南浩德科技有限公司 Method for switching network, device, mobile terminal and computer-readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060884A (en) * 2016-05-19 2016-10-26 维沃移动通信有限公司 Network switching method and mobile terminal
CN106211164A (en) * 2016-07-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal network changing method, terminal network switching device and terminal
CN106658616A (en) * 2016-12-26 2017-05-10 北京奇虎科技有限公司 Network switching method and apparatus based on network speed, and terminal device
CN106658625A (en) * 2017-02-15 2017-05-10 中国联合网络通信集团有限公司 Network switching method and device
CN106851759A (en) * 2017-03-14 2017-06-13 朱钦 The cut-in method and device of network
CN107040970A (en) * 2017-04-14 2017-08-11 合肥酷庆信息科技有限公司 A kind of mobile access terminal with network selection functional
CN107404740A (en) * 2017-08-07 2017-11-28 广东欧珀移动通信有限公司 Method for switching network, device and the terminal device of safety
CN107734584A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
CN107872855A (en) * 2017-11-30 2018-04-03 河南浩德科技有限公司 Method for switching network, device, mobile terminal and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314964A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Data flow control method and electronic equipment
CN111314964B (en) * 2020-01-22 2023-09-15 维沃移动通信有限公司 Data flow control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108536411A (en) A kind of method for controlling mobile terminal and mobile terminal
CN107908383A (en) A kind of screen color method of adjustment, device and mobile terminal
CN107608514A (en) Information processing method and mobile terminal
CN109905907A (en) A kind of method for searching network and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108762875A (en) A kind of application program display methods and terminal
CN108304061A (en) A kind of display control method and terminal
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN107831891A (en) A kind of brightness adjusting method and mobile terminal
CN108469968A (en) A kind of applied program processing method and mobile terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN108495349A (en) A kind of switching method and mobile terminal of carrier network
CN110365853A (en) A kind of reminding method and electronic equipment
CN108282759A (en) A kind of method for processing business and mobile communication terminal
CN108416203A (en) A kind of unlocking screen method and mobile terminal
CN108235084B (en) Video playing method and mobile terminal
CN108718360A (en) A kind of charging method and mobile terminal
CN110516495A (en) A kind of barcode scanning method and mobile terminal
CN108540951A (en) A kind of recharge method and mobile terminal
CN108319440A (en) Audio-frequency inputting method and mobile terminal
CN108650392A (en) A kind of call recording method and mobile terminal
CN108388400A (en) A kind of operation processing method and mobile terminal

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