CN107124719A - 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 PDFInfo
- Publication number
- CN107124719A CN107124719A CN201710513843.5A CN201710513843A CN107124719A CN 107124719 A CN107124719 A CN 107124719A CN 201710513843 A CN201710513843 A CN 201710513843A CN 107124719 A CN107124719 A CN 107124719A
- Authority
- CN
- China
- Prior art keywords
- wlan
- mobile terminal
- network
- current connected
- user
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (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 method for switching network, mobile terminal and computer-readable recording medium, and the method for switching network includes:In default application operation, the current connected network of the mobile terminal is detected;Whether if the current connected network of the mobile terminal is WLAN WLAN, it is refined net to detect the current connected WLAN of the mobile terminal;If it is not, then the mobile terminal is switched to other networks by prompting user by current connected WLAN, wherein, other described networks refer to the network in addition to the current connected WLAN of the mobile terminal.It can avoid leaking the personal information in mobile terminal by the present invention, improve the security of mobile payment.
Description
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 mobile terminal and Internet technology, the function of mobile terminal also becomes increasingly abundant, intelligentized movement
Terminal just constantly improves the life of people, and therefore mobile payment also breeds.Mobile payment refers to allow user to use
Its mobile terminal (being usually mobile phone) carries out a kind of method of service of account payment to the commodity consumed or service.At present, move
The dynamic utilization rate paid is increased sharply, and user carries out account payment by mobile terminal turns into normality.However, user is using movement
During payment, for the flow of the SIM card of saving mobile terminal, nearby there are WLAN (Wireless Local Area
Networks, WLAN) when, payment is typically moved using WLAN connection networks, easily the individual in leakage mobile terminal
Information, the security of mobile payment is relatively low.
The content of the invention
In view of this, the embodiments of the invention provide method for switching network, mobile terminal and computer-readable recording medium,
To avoid leaking the personal information in mobile terminal, the security of mobile payment is improved.
The first aspect of the embodiment of the present invention provides a kind of method for switching network, applied to mobile terminal, the network
Switching method includes:
In default application operation, the current connected network of the mobile terminal is detected;
If the current connected network of the mobile terminal is WLAN WLAN, detect that the mobile terminal is current
Whether the WLAN connected is refined net;
If it is not, then the mobile terminal is switched to other networks by prompting user by current connected WLAN, wherein, institute
State other networks and refer to network in addition to the current connected WLAN of the mobile terminal.
The second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Network detection module, in default application operation, detecting the current connected network of the mobile terminal;
Encryption detection module, if the network current connected for the mobile terminal is WLAN WLAN, is examined
Whether survey the current connected WLAN of the mobile terminal is refined net;
Reminding module, if the testing result for the encryption detection module is no, points out user will be described mobile whole
End switches to other networks by current connected WLAN, wherein, other described networks refer to remove the current institute of the mobile terminal
Network outside the WLAN of connection.
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 default application
During (class application is paid such as wechat, Alipay) operation, whether the current connected network of detection mobile terminal is WLAN, and
When the current connected network of mobile terminal is WLAN, whether be refined net, if unencryption network, then if detecting the WLAN
Mobile terminal is switched to other networks by prompting user by the WLAN.The embodiment of the present invention is by detect mobile terminal current
The WLAN connected be unencryption network when, point out user by the WLAN switch to other safe networks (such as encryption
WLAN or mobile data network), so as to avoid leaking the personal information in mobile terminal, improve the safety of mobile payment
Property.
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 mobile terminal on surface.So, the public physics frame of mobile terminal
Structure (for example, touch sensitive surface) can support the various application journeys with user interface directly perceived and transparent for a user
Sequence.
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 figure for the method for switching network that the embodiment of the present invention one is provided, the method for switching network referring to Fig. 1
Applied to mobile terminal, the method for switching network may comprise steps of as shown in the figure:
Step S101, in default application operation, detects the current connected network of the mobile terminal.
In embodiments of the present invention, the default application refers to certain that user selectes from the mounted application of mobile terminal
One type or the application with a certain function, the application such as wechat, Alipay with mobile payment function, that is, pay class
Using.Optionally, user can change selected application according to actual needs.
In embodiments of the present invention, mobile terminal detects that the mobile terminal is current when detecting default application operation
The network connected, to judge whether the current connected network of the mobile terminal is WLAN, if so, then performing step
S102, if not, it is determined that the current connected network of the mobile terminal is mobile data network, and in the mobile data network
Under move payment, mobile data network can ensure the security of mobile payment, without carrying out network switching again.Optionally,
If the mobile terminal detects the WLAN that there is encryption in preset range and user knows the password of the WLAN or by void
False WLAN detections, domain name system (Domain Name System, DNS) kidnap detection and/or address resolution protocol (Address
Resolution Protocol, ARP) attack detecting WLAN, then in order to save the mobile data network of the mobile terminal
Flow, the mobile terminal can also switch to the mobile data network connected the WLAN or logical of searched encryption
Cross the WLAN that detection and/or ARP attack detectings are kidnapped in falseness WLAN detections, DNS.Wherein, the mobile data network refers to institute
State the network that the operator belonging to the SIM card that mobile terminal is installed is provided, such as three big UNICOMs of operator, movement, telecommunications
The logical network provided, such as general packet radio service technology (GPRS, General Packet Radio Service)) net
Network, 3 G mobile communication network (i.e. 3G network), forth generation mobile communications network (i.e. 4G networks) etc., are not construed as limiting herein.
The WLAN includes but is not limited to Wireless Fidelity (WiFi, Wireless Fidelity) network.
Step S102, if the current connected network of the mobile terminal is WLAN WLAN, detects the shifting
Whether the current connected WLAN of dynamic terminal is refined net.
In embodiments of the present invention, if the current connected network of the mobile terminal is WLAN, the movement is detected
Whether the current connected WLAN of terminal sets connection password, the password is mobile terminal needed before the WLAN is connected it is defeated
The password entered, only inputs correct password and just can connect to the WLAN.If it is current connected to detect the mobile terminal
WLAN has set connection password, it is determined that the current connected WLAN of the mobile terminal is refined net, the mobile terminal
Payment is moved under the refined net;If detecting the current connected WLAN of the mobile terminal to be not provided with connecting close
Code, it is determined that the current connected WLAN of the mobile terminal is unencryption network, there is the risk attacked, easily leakage is moved
The personal information stored in dynamic terminal, during mobile payment, constitutes a threat to safely to the proprietary information of user, reduces
The security of mobile payment.In order to solve the above problems, it is determined that the current connected WLAN of the mobile terminal is unencryption
During network, step S103 is performed.
It should be noted that the embodiment of the present invention also includes:
When detecting mobile terminal connection WLAN (first connection), the WLAN that the mobile terminal is connected is set
Zone bit information is put, wherein, whether the zone bit information is densification network for characterizing the WLAN that the mobile terminal is connected
Network.
If specifically, the WLAN that the mobile terminal is connected is provided with connection password, zone bit information can be set
It is set to 1 or TRUE;If the WLAN that the mobile terminal is connected is not provided with connecting password, zone bit information can be set
For 0 or FLASH.So when performing step S102, the current connected WLAN of mobile terminal mark can be detected
Position information, if the zone bit information meets preparatory condition (such as zone bit information is 1 or TRUE), it is determined that the movement
The current connected WLAN of terminal is refined net;If the zone bit information does not meet preparatory condition (such as zone bit information
For 0 or FLASH), it is determined that the current connected WLAN of the mobile terminal is unencryption network.
Step S103, if it is not, then the mobile terminal is switched to other nets by prompting user by current connected WLAN
Network, wherein, other described networks refer to the network in addition to the current connected WLAN of the mobile terminal.
In embodiments of the present invention, if the current connected WLAN of the mobile terminal is unencryption network, it can carry
It is unencryption network to show the current connected WLAN of mobile terminal described in user, there is user's property during mobile payment
The risk that information is stolen, and point out for by the mobile terminal by current connected WLAN switch to secure network or
Mobile terminal data or the WLAN encrypted.To improve the security of mobile payment, it is to avoid the personal letter of leakage mobile terminal
Breath and the proprietary information of user.Wherein, the mobile terminal can point out to use by modes such as voice, label, short message, pop-ups
Family, is not limited thereto.The secure network include by falseness WLAN detect, domain name system (Domain Name System,
DNS the WLAN of detection and/or address resolution protocol (Address Resolution Protocol, ARP) attack detecting) is kidnapped.
The embodiment of the present invention is by when detecting the current connected WLAN of mobile terminal for unencryption network, pointing out to use
The WLAN is switched to other safe networks (WLAN or mobile data network of such as encryption) by family, so as to avoid leakage
Personal information in mobile terminal, improves the security of mobile payment.
It is the implementation process figure for the method for switching network that the embodiment of the present invention two is provided, the method for switching network referring to Fig. 2
Applied to mobile terminal, the method for switching network may comprise steps of as shown in the figure:
Step S201, in default application operation, detects the current connected network of the 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, detects the shifting
Whether the current connected WLAN of dynamic terminal is refined net.
The step is identical with step S102, for details, reference can be made to step S102 associated description, will not be repeated here.
In addition, in embodiments of the present invention, if detecting the current connected WLAN of the mobile terminal for unencryption net
Network, then the mobile terminal can perform step S203 or S204.
, can also be current connected in the mobile terminal in order to improve the efficiency of network switching as another embodiment
WLAN be unencryption network when, the mobile terminal is directly switch into mobile data network by current connected WLAN, or
Person switches to encryption WLAN within a preset range that the mobile terminal preserved (in current time foregoing description mobile terminal
The WLAN had been connected, and has preserved the connection password of the WLAN), or kidnapped by false WLAN detections, domain name system DNS
Detection and/or the WLAN of ARP attack detecting.Wherein, the preset range is can to ensure described mobile whole
Hold the distance range that can be searched WLAN and can be with the WLAN foundation communication connections searched.For example, with mobile terminal
Current location is the center of circle, and radius is 10 meters of circle.
Optionally, network switching option is set in the setting options of the mobile terminal, and user can pass through the network
Handoff options selection is when the current connected WLAN of the mobile terminal is unencryption network, and the mobile terminal is by current
The WLAN connected is directly switch into mobile data network, still switches to the mobile terminal and has preserved within a predetermined range
Encryption WLAN, or pass through false WLAN detection, domain name system DNS kidnap detection and/or ARP attack inspection
The WLAN of survey.
Step S203, if the current connected WLAN of the mobile terminal is unencryption network, points out user described
Mobile terminal switches to secure network by current connected WLAN, wherein, the secure network is included by falseness WLAN inspections
The WLAN of detection and/or ARP attack detecting is kidnapped in survey, domain name system DNS.
Optionally, the mobile terminal is switched to secure network bag by the prompting user by current connected WLAN
Include:
Prompting user inputs other WLAN information;
After prompting user inputs other WLAN information, in addition to
If receiving other WLAN of user's input information, kidnapped from by the false WLAN detections, DNS
Search WLAN corresponding with the information that the user inputs, if searching, is controlled in the WLAN of detection and/or ARP attack detectings
Make the corresponding WLAN of information that the mobile terminal is switched to user's input by current connected WLAN.
In embodiments of the present invention, the information of other WLAN can refer to the title of other WLAN.Wherein, institute
It can kidnap and searched in the WLAN of detection and/or ARP attack detectings by the false WLAN detections, DNS to state other WLAN
WLAN corresponding with the information that the user inputs, or the encryption WLAN that the mobile terminal had been connected, or institute
State the encryption WLAN that mobile terminal was not connected with., may because the mobile terminal is when searching for the WLAN in preset range
Multiple WLAN are searched, the mobile terminal encryption WLAN to be connected are known in user, or pass through the false WLAN
During the title for the WLAN that detection, DNS kidnap detection and/or ARP attack detectings, user can be pointed out to input the mobile terminal institute
The encryption WLAN to be connected, or the WLAN for passing through the false WLAN detections, DNS abduction detection and/or ARP attack detectings
Title, so that the mobile terminal is when receiving the WLAN title of user's input, from above-mentioned searched multiple
The desired WLAN of the mobile terminal is quickly positioned in WLAN, and connects the mobile terminal WLAN to be connected.Need
It is bright, when other described WLAN are the encryption WLAN that the mobile terminal was not connected with, from above-mentioned searched many
Quickly positioned in individual WLAN after the desired WLAN of the mobile terminal, input can be ejected in the current interface of the mobile terminal
Frame, in order to which user inputs positioned WLAN connection password in the input frame, so that by the mobile terminal by current
The WLAN connected switches to positioned WLAN.
Optionally, the embodiment of the present invention also includes:If from by the false WLAN detection, DNS kidnap detection and/or
WLAN corresponding with the information that the user inputs is not searched in the WLAN of ARP attack detectings, then points out user's input described
Other WLAN connection password, according to the connection password of input, controls the mobile terminal to be switched by current connected WLAN
To WLAN corresponding with the connection password.
Step S204, if the current connected WLAN of the mobile terminal is unencryption network, points out user described
Mobile terminal switches to mobile data network by current connected WLAN.
In embodiments of the present invention, the mobile data network refers to belonging to the SIM card that the mobile terminal is installed
The network that operator is provided, the network that such as three big UNICOMs of operator, movement, telecommunications are provided, such as GPRS network, 3G nets
Network, 4G networks etc., are not construed as limiting herein.
Wherein, in step S203 and S204, the mobile terminal can pass through the side such as voice, label, short message, pop-up
Formula points out user, is not limited thereto.
The embodiment of the present invention is by when detecting the current connected WLAN of mobile terminal for unencryption network, pointing out to use
The WLAN is switched to secure network or mobile data network by family, so as to avoid leaking the personal information in mobile terminal,
Improve the security of mobile payment.
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, in default application operation, detecting the current connected network of the mobile terminal;
Encryption detection module 32, if the network current connected for the mobile terminal is WLAN WLAN,
Whether detect the current connected WLAN of the mobile terminal is refined net;
Reminding module 33, if the testing result for the encryption detection module is no, points out user by the movement
Terminal switches to other networks by current connected WLAN, wherein, other described networks refer to except the mobile terminal is current
Network outside the WLAN connected.
Optionally, the reminding module 33 is used for:
Point out the user that the mobile terminal is switched into secure network by current connected WLAN, wherein, it is described
Secure network includes kidnapping detection and/or ARP attack detecting by falseness WLAN detections, domain name system DNS
WLAN;
The reminding module 33, other WLAN information is inputted specifically for prompting user;
The mobile terminal also includes:
Control module 34, if the information of other WLAN for receiving user input, from passing through the falseness
WLAN detections, DNS are kidnapped in the WLAN of detection and/or ARP attack detectings and search for corresponding with the information that the user inputs
WLAN, if searching, controls the mobile terminal to switch to the information pair of user's input by current connected WLAN
The WLAN answered;
The control module 34, if being additionally operable to kidnap detection and/or ARP attacks from by the false WLAN detections, DNS
WLAN corresponding with the information that the user inputs is not searched in the WLAN of detection, then points out user's input other described WLAN
Connection password, according to the connection password of input, control the mobile terminal by current connected WLAN switch to it is described
Connect the corresponding WLAN of password.
Optionally, the reminding module 33 is used for:
The mobile terminal is switched to mobile data network by prompting user by current connected WLAN.
It is the structured flowchart for the mobile terminal that the embodiment of the present invention four is provided referring to Fig. 4.The mobile terminal as depicted
It can include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (are only shown in figure
One), one or more output equipments 403 (one is only shown in figure) and memory 404.Above-mentioned processor 401, input equipment
402nd, output equipment 403 and memory 404 are connected by bus 405.Memory 404 is used for store instruction, and processor 401 is used for
Perform the instruction that memory 404 is stored.Wherein:
The processor 401, in default application operation, detecting the current connected network of the mobile terminal;
If the current connected network of the mobile terminal is WLAN WLAN, detect that the mobile terminal is current connected
Whether WLAN is refined net;If the testing result of the encryption detection module is no, pointed out by the output equipment 403
The mobile terminal is switched to other networks by user by current connected WLAN, wherein, other described networks refer to remove institute
State the network outside the current connected WLAN of mobile terminal.
Optionally, the processor 401 is used to point out the user by the mobile terminal by the output equipment 403
Secure network is switched to by current connected WLAN, wherein, the secure network is included by falseness WLAN detections, domain name system
The DNS that unites kidnaps the WLAN of detection and/or ARP attack detecting.
Optionally, the processor 401 by the output equipment 403 specifically for pointing out user to input other WLAN's
Information.
Optionally, if the processor 401 is additionally operable to receive other WLAN of user's input information, from logical
The false WLAN detections, DNS is crossed to kidnap in the WLAN of detection and/or ARP attack detectings and search for the letter inputted with the user
Corresponding WLAN is ceased, if searching, controls the mobile terminal to switch to the user by current connected WLAN and inputs
The corresponding WLAN of information.
Optionally, if the processor 401 be additionally operable to from by the false WLAN detection, DNS kidnap detection and/or
WLAN corresponding with the information that the user inputs is not searched in the WLAN of ARP attack detectings, then passes through the output equipment
403 prompting user's input other WLAN connection password, according to the connection password of input, controls the mobile terminal by working as
Preceding connected WLAN switches to WLAN corresponding with the connection password.
Optionally, the processor 401 by the output equipment 403 specifically for pointing out user by the mobile terminal
Mobile data network is switched to by current connected WLAN.
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
End switches to other secure networks by current connected WLAN.
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 realization side described in the embodiment one and two of method for switching network provided in an embodiment of the present invention
Formula, also can perform the implementation described in mobile terminal described in embodiment three, 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 method for switching network embodiment
The step of, such as the step S101 to S103 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 device 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
Network detection module, encryption detection module, reminding module and control module are cut into, each module concrete function is as follows:
Network detection module, in default application operation, detecting the current connected network of the mobile terminal;
Encryption detection module, if the network current connected for the mobile terminal is WLAN WLAN, is examined
Whether survey the current connected WLAN of the mobile terminal is refined net;
Reminding module, if the testing result for the encryption detection module is no, points out user will be described mobile whole
End switches to other networks by current connected WLAN, wherein, other described networks refer to remove the current institute of the mobile terminal
Network outside the WLAN of connection.
Optionally, the reminding module is used for:
Point out the user that the mobile terminal is switched into secure network by current connected WLAN, wherein, it is described
Secure network includes kidnapping detection and/or ARP attack detecting by falseness WLAN detections, domain name system DNS
WLAN;
The reminding module, other WLAN information is inputted specifically for prompting user;
The mobile terminal also includes:
Control module, if the information of other WLAN for receiving user input, from passing through the falseness
WLAN detections, DNS are kidnapped in the WLAN of detection and/or ARP attack detectings and search for corresponding with the information that the user inputs
WLAN, if searching, controls the mobile terminal to switch to the information pair of user's input by current connected WLAN
The WLAN answered;
The control module, if being additionally operable to kidnap detection and/or ARP attack inspections from by the false WLAN detections, DNS
WLAN corresponding with the information that the user inputs is not searched in the WLAN of survey, then points out user's input other WLAN's
Password is connected, according to the connection password of input, controls the mobile terminal to be switched to and the company by current connected WLAN
Meet the corresponding WLAN of password.
Optionally, the reminding module is used for:
The mobile terminal is switched to mobile data network by prompting user by current connected WLAN.
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 CPU (Central Processing Unit, CPU), 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 PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
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.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work(
Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit 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.In addition, each function list
Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system
The specific work process of middle unit, 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 with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, 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 (10)
1. a kind of method for switching network, applied to mobile terminal, it is characterised in that the method for switching network includes:
In default application operation, the current connected network of the mobile terminal is detected;
If the current connected network of the mobile terminal is WLAN WLAN, detect that the mobile terminal currently connects
Whether the WLAN connect is refined net;
If it is not, then prompting user the mobile terminal is switched into other networks by current connected WLAN, wherein, it is described its
His network refers to the network in addition to the current connected WLAN of the mobile terminal.
2. method for switching network as claimed in claim 1, it is characterised in that the prompting user is by the mobile terminal by working as
Preceding connected WLAN, which switches to other networks, to be included:
The mobile terminal is switched to secure network by prompting user by current connected WLAN, wherein, the secure network
WLAN including kidnapping detection and/or ARP attack detecting by false WLAN detections, domain name system DNS.
3. method for switching network as claimed in claim 2, it is characterised in that the prompting user is by the mobile terminal by working as
Preceding connected WLAN, which switches to secure network, to be included:
Prompting user inputs other WLAN information;
After prompting user inputs other WLAN information, in addition to:
If receiving other WLAN of user's input information, kidnap and detect from by the false WLAN detections, DNS
And/or search WLAN corresponding with the information that the user inputs in the WLAN of ARP attack detectings, if searching, control institute
State the corresponding WLAN of information that mobile terminal is switched to user's input by current connected WLAN.
4. method for switching network as claimed in claim 3, it is characterised in that the method for switching network also includes:
If not searched and institute from the WLAN of detection and/or ARP attack detectings is kidnapped by the false WLAN detections, DNS
The corresponding WLAN of information of user's input is stated, then user's input other WLAN connection password is pointed out, according to the company of input
Password is connect, controls the mobile terminal to switch to WLAN corresponding with the connection password by current connected WLAN.
5. method for switching network as claimed in claim 1, it is characterised in that the prompting user is by the mobile terminal by working as
Preceding connected WLAN, which switches to other networks, to be included:
The mobile terminal is switched to mobile data network by prompting user by current connected WLAN.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Network detection module, in default application operation, detecting the current connected network of the mobile terminal;
Encryption detection module, if the network current connected for the mobile terminal is WLAN WLAN, detects institute
Whether state the current connected WLAN of mobile terminal is refined net;
Reminding module, if the testing result for the encryption detection module is no, point out user by the mobile terminal by
Current connected WLAN switches to other networks, wherein, other described networks refer to except the mobile terminal is current connected
WLAN outside network.
7. mobile terminal as claimed in claim 6, it is characterised in that the reminding module is used for:
Point out the user that the mobile terminal is switched into secure network by current connected WLAN, wherein, the safety
Network is included by falseness WLAN detections, domain name system DNS abduction detection and/or ARP attack detecting
WLAN;
The reminding module, other WLAN information is inputted specifically for prompting user;
The mobile terminal also includes:
Control module, if the information of other WLAN for receiving user's input, is examined from by the false WLAN
Survey, DNS is kidnapped and WLAN corresponding with the information that the user inputs is searched in the WLAN of detection and/or ARP attack detectings, if searching
Rope is arrived, then controls the mobile terminal to switch to the corresponding WLAN of information of user's input by current connected WLAN;
The control module, if being additionally operable to from by the false WLAN detections, DNS abduction detection and/or ARP attack detectings
WLAN corresponding with the information that the user inputs is not searched in WLAN, then points out user's input other WLAN connection
Password, according to the connection password of input, controls the mobile terminal to be switched to by current connected WLAN close with the connection
The corresponding WLAN of code.
8. mobile terminal as claimed in claim 6, it is characterised in that the reminding module is used for:
The mobile terminal is switched to mobile data network by prompting user by current connected WLAN.
9. 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 5 described in the computing device during computer program
The step of any one method for switching network.
10. 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 5 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710513843.5A CN107124719A (en) | 2017-06-29 | 2017-06-29 | Method for switching network, mobile terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710513843.5A CN107124719A (en) | 2017-06-29 | 2017-06-29 | Method for switching network, mobile terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107124719A true CN107124719A (en) | 2017-09-01 |
Family
ID=59719115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710513843.5A Pending CN107124719A (en) | 2017-06-29 | 2017-06-29 | Method for switching network, mobile terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107124719A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182595A (en) * | 2019-12-30 | 2020-05-19 | Oppo广东移动通信有限公司 | Network switching method and device, storage medium and electronic equipment |
CN113365322A (en) * | 2021-06-03 | 2021-09-07 | 北京千丁互联科技有限公司 | Network switching method and device, security flat panel and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008482A (en) * | 2014-06-10 | 2014-08-27 | 北京奇虎科技有限公司 | Mobile terminal and payment method and device based on mobile terminal |
CN104821992A (en) * | 2015-05-25 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for automatically switching network connection type of mobile phone |
CN106096450A (en) * | 2016-06-21 | 2016-11-09 | 依偎科技(南昌)有限公司 | A kind of application program freezing method and mobile terminal |
CN106658513A (en) * | 2017-01-11 | 2017-05-10 | 深圳市金立通信设备有限公司 | Safety detection method of wireless network, terminal and server |
-
2017
- 2017-06-29 CN CN201710513843.5A patent/CN107124719A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008482A (en) * | 2014-06-10 | 2014-08-27 | 北京奇虎科技有限公司 | Mobile terminal and payment method and device based on mobile terminal |
CN104821992A (en) * | 2015-05-25 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for automatically switching network connection type of mobile phone |
CN106096450A (en) * | 2016-06-21 | 2016-11-09 | 依偎科技(南昌)有限公司 | A kind of application program freezing method and mobile terminal |
CN106658513A (en) * | 2017-01-11 | 2017-05-10 | 深圳市金立通信设备有限公司 | Safety detection method of wireless network, terminal and server |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182595A (en) * | 2019-12-30 | 2020-05-19 | Oppo广东移动通信有限公司 | Network switching method and device, storage medium and electronic equipment |
CN111182595B (en) * | 2019-12-30 | 2021-08-24 | Oppo广东移动通信有限公司 | Network switching method and device, storage medium and electronic equipment |
CN113365322A (en) * | 2021-06-03 | 2021-09-07 | 北京千丁互联科技有限公司 | Network switching method and device, security flat panel and readable storage medium |
CN113365322B (en) * | 2021-06-03 | 2022-11-29 | 北京千丁互联科技有限公司 | Network switching method and device, security flat panel and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104125216B (en) | A kind of method, system and terminal for lifting credible performing environment security | |
CN103891242B (en) | System and method for profile based filtering of outgoing information in a mobile environment | |
CN107484190B (en) | Method for connecting network, mobile terminal and computer readable storage medium | |
CN107360536A (en) | Control method, terminal device and the computer-readable recording medium of terminal device | |
CN107222898A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107197489A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN106534093B (en) | A kind of processing method of terminal data, apparatus and system | |
CN107071147A (en) | A kind of parameter regulation means and equipment | |
CN107404740A (en) | Method for switching network, device and the terminal device of safety | |
CN107343279A (en) | Method for connecting network, device, terminal device and storage medium | |
CN107295592A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107318140A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107124719A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107256356A (en) | Pay class application management method, device and mobile terminal | |
CN106535249A (en) | Control method and control device for wireless local area networks, and terminal | |
CN106447325A (en) | Processing method and device based on NFC (Near Filed Communication), and mobile terminal | |
CN108520186A (en) | Record screen method, mobile terminal and computer readable storage medium | |
CN107045610B (en) | Data migration method, terminal device and computer readable storage medium | |
CN107103468A (en) | Network risks detection method, mobile terminal and computer-readable recording medium | |
CN107330058A (en) | Application searches method, mobile terminal and computer-readable recording medium | |
CN107292614A (en) | Pay class application management method, device and mobile terminal | |
CN107248078A (en) | Mobile payment means of defence, mobile terminal and computer-readable recording medium | |
US20210203581A1 (en) | Traffic/rate counting method and related device | |
CN107277877A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107995645A (en) | Method for connecting network, 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: 20170901 |