CN106714181A - Method and apparatus for accessing WiFi hotspot - Google Patents
Method and apparatus for accessing WiFi hotspot Download PDFInfo
- Publication number
- CN106714181A CN106714181A CN201611118653.5A CN201611118653A CN106714181A CN 106714181 A CN106714181 A CN 106714181A CN 201611118653 A CN201611118653 A CN 201611118653A CN 106714181 A CN106714181 A CN 106714181A
- Authority
- CN
- China
- Prior art keywords
- hotspot
- target
- type
- network
- hotspot type
- 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.)
- Granted
Links
Classifications
-
- 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
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Abstract
The embodiment of the invention discloses a method and an apparatus for accessing a WiFi hotspot, wherein the method comprises the following steps: during accessing the WiFi hotspot, obtaining a WiFi hotspot type corresponding to the accessed target WiFi hotspot as a target WiFi hotspot type, wherein the WiFi hotspot type comprises a non-trust WiFi hotspot type and a trusted WiFi hotspot type; when the target WiFi hotspot type is the non-trust WiFi hotspot type, detecting a network call request, and determining that an application initiating the network call request is a target application; judging whether the target application is in a preset application whitelist or not; when the target application is in the preset application whitelist, accessing a network by using a mobile data network; and when the target application is not in the preset application whitelist, accessing the network by using a network corresponding to the accessed target WiFi hotspot. Through the adoption of the method and the apparatus, the security in WiFi hotspot accessing can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device for being connected into Wi-Fi hotspot.
Background technology
In conventional art, same panel region there may be the wireless coverage of multiple Wi-Fi hotspots, when the intelligent terminal of user
When starting shooting into the region or in this region, then neighbouring Wi-Fi Hotspot can be detected.And these public Wi-Fi hotspots include
Similar to official's Wi-Fi hotspot that the enterprises such as CMCC, Starbucks or mechanism specially assume to serve the general public, it is also typically present to fish
The mode of fish steals the fishing Wi-Fi hotspot of the official's Wi-Fi hotspot that disguises oneself as of privacy of user, if the intelligent terminal of user is accessed
Fishing Wi-Fi hotspot, then easily cause the privacy leakage of user;Especially user is containing individual subscriber using wechat, QQ etc.
During the banking software such as the application of privacy and Alipay, Mobile banking, once connect into fishing WiFi, it is easy to cause user
Property loss.That is, in correlation technique there is asking for security deficiency in the connection of public Wi-Fi hotspot and application method
Topic.
The content of the invention
Based on this, the security and secret protection degree caused for the method for solving access Wi-Fi hotspot in conventional art are not
The technical problem of foot, spy proposes a kind of method for being connected into Wi-Fi hotspot.
A kind of method for being connected into Wi-Fi hotspot, including:
When Wi-Fi hotspot is connected into, it is target to obtain Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot being connected into
Wi-Fi hotspot type, the Wi-Fi hotspot type includes non-trusted Wi-Fi hotspot type and trusts Wi-Fi hotspot type;
When the target Wi-Fi hotspot type is non-trusted Wi-Fi hotspot type, detection network call request, it is determined that hair
The application for playing the network call request is intended application;
Judge whether the intended application belongs to default application white list;
When the intended application belongs to default application white list, network is accessed using mobile data network;
When the intended application is not belonging to default application white list, the target Wi-Fi hotspot correspondence being connected into is used
Network access network.
Optionally, it is described to obtain Wi-Fi hotspot class corresponding with the target Wi-Fi hotspot wherein in one embodiment
Also include after the step of type is target Wi-Fi hotspot type:
When the target Wi-Fi hotspot type is to trust Wi-Fi hotspot type, the target Wi-Fi hotspot being connected into is used
Access network.
Optionally, it is described to obtain Wi-Fi hotspot class corresponding with the target Wi-Fi hotspot wherein in one embodiment
Also include after the step of type is target Wi-Fi hotspot type:
If not being stored with Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot in the terminal, show Wi-Fi hotspot
Type selecting component, the Wi-Fi hotspot type for receiving selection by the Wi-Fi hotspot type selecting component is used as target WiFi heat
Vertex type.
Optionally, wherein in one embodiment, methods described also includes:
Wi-Fi hotspot link order is received, target Wi-Fi hotspot corresponding with the Wi-Fi hotspot link order is obtained;
The target Wi-Fi hotspot is connected into according to the Wi-Fi hotspot link order, and performs the acquisition and be connected into described
The corresponding Wi-Fi hotspot type of target Wi-Fi hotspot be target Wi-Fi hotspot type the step of.
Optionally, wherein in one embodiment, also include after the detection network call request:
When the intended application belongs to default application white list, obtain the intended application and initiate the network call
The object run of request, judges whether the object run belongs to default operation white list, if it is not, then using the target
Wi-Fi hotspot performs the object run.
Additionally, to solve to access security and secret protection degree deficiency that the method for Wi-Fi hotspot is caused in conventional art
Technical problem, spy propose a kind of device for being connected into Wi-Fi hotspot.
A kind of device for being connected into Wi-Fi hotspot, including:
Hotspot type determining module, for when Wi-Fi hotspot is connected into, obtaining and the target Wi-Fi hotspot pair being connected into
The Wi-Fi hotspot type answered is target Wi-Fi hotspot type, and the Wi-Fi hotspot type includes non-trusted Wi-Fi hotspot type and letter
Appoint Wi-Fi hotspot type;
Network call request detection module, for being non-trusted Wi-Fi hotspot type when the target Wi-Fi hotspot type
When, detection network call request, it is determined that the application for initiating the network call request is intended application;
Judge module, for judging whether the intended application belongs to default application white list;
Data traffic Web vector graphic module, for when the intended application belongs to default application white list, using shifting
Dynamic data network accesses network;
First WiFi network uses module, for when the intended application is not belonging to default application white list, using
The corresponding network access network of the target Wi-Fi hotspot being connected into.
Optionally, wherein in one embodiment, described device also uses module including the second WiFi network, for working as
Target Wi-Fi hotspot type is stated to trust during Wi-Fi hotspot type, network is accessed using the target Wi-Fi hotspot being connected into.
Optionally, wherein in one embodiment, described device also includes hotspot type selecting module, in the terminal
During the Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot that is not stored with, show Wi-Fi hotspot type selecting component, pass through
The Wi-Fi hotspot type selecting component receives the Wi-Fi hotspot type of selection as target Wi-Fi hotspot type.
Optionally, wherein in one embodiment, described device also includes WiFi link blocks, for receiving Wi-Fi hotspot
Link order, obtains target Wi-Fi hotspot corresponding with the Wi-Fi hotspot link order;Referred to according to Wi-Fi hotspot connection
Order is connected into the target Wi-Fi hotspot, and calls the hotspot type determining module.
Optionally, wherein in one embodiment, described device also includes object run determining module, in the mesh
When mark application belongs to default application white list, the object run that the intended application initiates the network call request is obtained,
Judge whether the object run belongs to default operation white list, if it is not, then being performed using the target Wi-Fi hotspot described
Object run.
In the present invention, to solve to access in conventional art the method security and secret protection journey that cause of Wi-Fi hotspot
Spend not enough technical problem, it is also proposed that a kind of mobile terminal, including:
Processor and memory;Wherein, the processor is by calling code in the memory or instruction to perform
Method as described in claim 1 to 5 any one.
Implement the embodiment of the present invention, will have the advantages that:
Employ it is above-mentioned be connected into after the method and apparatus of Wi-Fi hotspot, after terminal is connected into Wi-Fi hotspot, according to even
The Wi-Fi hotspot for entering is belonging to trusty or is belonging to the fly-by-night access strategy to determine follow-up access network;
If that is, what is be connected into is Wi-Fi hotspot trusty, accessing network the need for terminal is all or calling the behaviour of network
The work Wi-Fi hotspot that is connected into using this is completed;Conversely, what if user was connected into is fly-by-night Wi-Fi hotspot, terminal is simultaneously
The corresponding network of wireless Wi-Fi hotspot and mobile data network are resided in, when terminal needs to access network, is accessed as needed
Whether the concrete application of network is default white list determines specific Web vector graphic strategy, i.e., if desired access the tool of network
Body application belongs to default white list, then access network using mobile data network, otherwise, visiting using the Wi-Fi hotspot being connected into
Ask network.That is, the security of the security and the application for accessing network according to Wi-Fi hotspot is hot using WiFi to determine
Point or use comparatively safe mobile data network, it is to avoid be connected into public WiFi in user or other have safety
Because the safety issue of the privacy of user leakage caused using network or accounts information leakage, is carried during the Wi-Fi hotspot of hidden danger
It is high to access and using the security of Wi-Fi hotspot, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Wherein:
Fig. 1 is a kind of schematic flow sheet of the method for being connected into Wi-Fi hotspot in one embodiment;
Fig. 2 is a kind of structural representation of the device for being connected into Wi-Fi hotspot in one embodiment;
Fig. 3 be one embodiment in run the foregoing method for being connected into Wi-Fi hotspot computer equipment structural representation.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
To solve to access security and the not enough skill of secret protection degree that the method for Wi-Fi hotspot is caused in conventional art
Art problem, in the present embodiment, spy proposes a kind of method for being connected into Wi-Fi hotspot, and the realization of the method can be dependent on computer
Program, the computer program can run on the computer system based on von Neumann system, and the computer system can be
Smart mobile phone, notebook computer, panel computer etc. are provided with the computer equipment of wireless network card or Wi-Fi chips.The computer
Program can be that Wi-Fi connection on the intelligent terminals such as smart mobile phone or panel computer and the management program that uses or focus are managed
The computer programs such as program.
Specifically, as shown in figure 1, the above-mentioned method for being connected into Wi-Fi hotspot comprises the following steps S102-S108:
Step S102:When Wi-Fi hotspot is connected into, Wi-Fi hotspot corresponding with the target Wi-Fi hotspot being connected into is obtained
Type is target Wi-Fi hotspot type, and the Wi-Fi hotspot type includes non-trusted Wi-Fi hotspot type and trusts Wi-Fi hotspot class
Type.
In the present embodiment, if the WiFi connect settings on the intelligent terminal of user are opening, the intelligent terminal
In the detection state to WiFi signal, WiFi connection managements program or focus management program can be by calling the drive of intelligent terminal
Dynamic program obtains focus mark (such as services set mark of the detectable WiFi signal in WiFi chip detection surrounding environment
Know, Service Set Identity, abbreviation SSID) and corresponding signal intensity, then by signal intensity or other
Wi-Fi hotspot or being manually selected by user needs the Wi-Fi hotspot of connection hot to be connected into corresponding WiFi that parameter selection is connected
Point.
Accordingly, the WiFi connection managements program and focus management program on intelligent terminal are in the driving by intelligent terminal
While the focus that program gets the WiFi signal that WiFi chip is detected is identified, it is also possible to by the driving journey of intelligent terminal
The signal intensity of the WiFi signal that the WiFi chip that sequence gets is detected.
In the present embodiment, it is necessary to the WiFi that constantly poll is currently connected into after intelligent terminal is connected into Wi-Fi hotspot
The corresponding signal intensity of focus, when signal intensity is less than default signal intensity, switches to the more preferable WiFi heat of signal intensity
Point, or disconnect the current Wi-Fi hotspot being connected into and switch to mobile data network, the online experience good to ensure user.
In an optional embodiment, methods described also includes:Receive Wi-Fi hotspot link order, obtain with it is described
The corresponding target Wi-Fi hotspot of Wi-Fi hotspot link order;The target WiFi heat is connected into according to the Wi-Fi hotspot link order
Point, and it is target Wi-Fi hotspot type to perform acquisition Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot being connected into
The step of.
It should be noted that in the present embodiment, Wi-Fi hotspot link order can be that user shows boundary in Wi-Fi hotspot
Wi-Fi hotspot in face by selecting some to show is input into, or terminal is according to the corresponding letter of each Wi-Fi hotspot
Number intensity or signal quality are selected and are input into automatically.
In the present embodiment, each Wi-Fi hotspot there are a corresponding Wi-Fi hotspot type for this terminal,
The Wi-Fi hotspot type can be user to be input into, or by selection operation according to using the Wi-Fi hotspot before user
Historical record determine.
In an optional embodiment, when user is connected into certain Wi-Fi hotspot first, it is necessary to manually select WiFi heat
The Wi-Fi hotspot type of point.Specifically, the above method also includes:Wi-Fi hotspot link order is received, is obtained and WiFi heat
The corresponding target Wi-Fi hotspot of point link order;The target Wi-Fi hotspot is connected into according to the Wi-Fi hotspot link order, and
Displaying Wi-Fi hotspot type selecting component, the Wi-Fi hotspot type for receiving selection by the Wi-Fi hotspot type selecting component is made
It is target Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot.
That is, when some WiFi is connected into first, terminal is by showing showing interface Wi-Fi hotspot type selecting
Component, user can select corresponding with the Wi-Fi hotspot being currently connected into by the Wi-Fi hotspot type selecting component of the displaying
Wi-Fi hotspot type is simultaneously stored.That is, when user is connected into some Wi-Fi hotspot first, can be according to the choosing of user
Select and be input into the Wi-Fi hotspot type corresponding with the focus mark of the Wi-Fi hotspot that is stored with the terminal, for example, with key-value pair
Form (the focus mark of Wi-Fi hotspot:WIFi hotspot types) in the terminal default WiFi data storage region storage history
The corresponding Wi-Fi hotspot type of all of Wi-Fi hotspot of connection, needs the WiFi heat for obtaining with being currently connected into step s 102
During the corresponding Wi-Fi hotspot type of point, search and currently connect by the default WiFi data storage region in above-mentioned terminal
The corresponding Wi-Fi hotspot type of target Wi-Fi hotspot for entering is used as target Wi-Fi hotspot type.
Further, if not being stored with default WiFi data storage region in above-mentioned terminal and target WiFi heat
The related data of the corresponding Wi-Fi hotspot type of point, then illustrate that present terminal is to be connected into target Wi-Fi hotspot first or deposit before
The data of storage are deletion because of certain reason, accordingly, it would be desirable to the target of user's target Wi-Fi hotspot again to being currently connected into
Wi-Fi hotspot type carries out selection operation.
Specifically, described obtain Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot for target Wi-Fi hotspot type
The step of after also include:If not being stored with Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot in the terminal, open up
Show Wi-Fi hotspot type selecting component, the Wi-Fi hotspot type for receiving selection by the Wi-Fi hotspot type selecting component is used as
Target Wi-Fi hotspot type.
It should be noted that in the present embodiment, Wi-Fi hotspot type includes trusting Wi-Fi hotspot type and non-trusted
Wi-Fi hotspot type.For example, the Wi-Fi hotspot set in user's family or company is traditionally arranged to be trust Wi-Fi hotspot type,
The public Wi-Fi hotspot of public place is traditionally arranged to be non-trusted Wi-Fi hotspot type.User can according to the demand of oneself and
Wi-Fi hotspot to being currently connected into judges, when the security of the Wi-Fi hotspot being connected into has hidden danger, by the Wi-Fi hotspot
It is set to non-trusted Wi-Fi hotspot type.
Certainly, in addition to above-mentioned trust Wi-Fi hotspot type and non-trusted Wi-Fi hotspot type, other can also be set
Wi-Fi hotspot type, can specifically be configured according to the use habit of user and actual conditions.
Step S1042:When the target Wi-Fi hotspot type is to trust Wi-Fi hotspot type, the mesh being connected into is used
Mark Wi-Fi hotspot accesses network.
If the corresponding target Wi-Fi hotspot type of target Wi-Fi hotspot that terminal is currently connected into is to trust Wi-Fi hotspot type,
Represent that the current Wi-Fi hotspot type being connected into is credible, be do not exist potential safety hazard, therefore, user is using company
When the target Wi-Fi hotspot for entering accesses network, it is not necessary to consider because of safety issue or privacy quilt caused by Wi-Fi hotspot
The problem of leakage.
That is, being trust Wi-Fi hotspot type in the corresponding target Wi-Fi hotspot type of target Wi-Fi hotspot being connected into
When, the operation of network is arbitrarily accessed in terminal or asks the target Wi-Fi hotspot that can be connected into by this to complete.
Step S1044:When the target Wi-Fi hotspot type is non-trusted Wi-Fi hotspot type, detection network call please
Ask, it is determined that the application for initiating the network call request is intended application.
In another embodiment, if the corresponding target Wi-Fi hotspot type of target Wi-Fi hotspot that terminal is currently connected into is
During non-trusted Wi-Fi hotspot type, that is, illustrate that the use of the corresponding network of target Wi-Fi hotspot is likely to result in subscriber data
The amount of money in leakage or account is stolen, and there is certain potential safety hazard.In this case, for needing to access in terminal
The operation of network is, it is necessary to a point various situations are processed.Specifically, when terminal needs to access network, because the input of user
Or the operation of background process sends network call and asks to corresponding module in terminal;That is, the net that terminal is detected
Network call request can user be input into by the operation interface applied at some, it is also possible to background process is according to specific
What demand was initiated.
In the present embodiment, if the initiation of network call request is initiated according to the input of user, user input phase
Application corresponding to the operation interface of the network call request answered is the intended application of the network call request for initiating to detect;
If the process that the initiation of network call request is operation in terminal is automatically initiated, entering for corresponding network call request is initiated
Application corresponding to journey is the intended application for initiating network call request.
It is determined that the intended application for initiating network call request is determines that the concrete operations institute for being currently needed for access network is right
The application program answered, the application program of network is accessed so as to terminal to select corresponding response policy as needed.
Step S106:Judge whether the intended application belongs to default application white list;Belong in the intended application
During default application white list, step S1082 is performed:Network is accessed using mobile data network;Do not belong in the intended application
When default application white list, step S1084 is performed:Use the corresponding network access net of the target Wi-Fi hotspot being connected into
Network.
In the present embodiment, white list is applied in default setting, and it can be QQ, micro- to be included in this using the application in white list
Letter etc. is related to the application program of privacy of user, and can also be that Mobile banking, Alipay etc. be related to user account or the amount of money should
Use program.System can be configured to the conventional application for being related to user account safety and privacy of user in advance, will be conventional
The application for being related to user account safety and privacy of user be added to using in white list;Further, user can be with root
Some application is added to using in white list according to the use habit and demand of oneself.
If intended application belongs to default application white list, illustrate that the intended application for currently initiating network call request is related to
And to privacy of user or account safety, it is necessary to consider currently the Wi-Fi hotspot that is connected into whether can cause the privacy leakage of user or
Person's account safety is threatened.Therefore, belonging to the network call request initiated using the application of white list should be using without peace
The network of full hidden danger is completed.If intended application is not belonging to default application white list, illustrate that currently initiating network call asks
The intended application asked is not related to privacy of user or account safety, it is not necessary to consider the safety of the current Wi-Fi hotspot being connected into
Sex chromosome mosaicism.
Specifically, in the present embodiment, if the corresponding target Wi-Fi hotspot type of target Wi-Fi hotspot being currently connected into is
Non-trusted Wi-Fi hotspot type, then terminal be connected into wireless network corresponding with target Wi-Fi hotspot and mobile data network simultaneously
Network, that is to say, that terminal resident WiFi networks and mobile data network simultaneously, also, when needing to access network, can be with
One of network is selected to access network from simultaneously resident WiFi networks and mobile data network.
In specific embodiment, if the intended application for initiating network call request belongs to default application white list, use
Resident mobile data network (such as 2G/3G/4G networks) responds the request of corresponding network call, i.e., by mobile data network
Network (such as 2G/3G/4G networks) accesses network;If it is white that the intended application for initiating network call request is not belonging to default application
List, then respond the request of corresponding network call using the corresponding network of target Wi-Fi hotspot being connected into, i.e., by being connected into
Target Wi-Fi hotspot accesses network.That is, initiate network call request intended application be related to privacy of user or
During account safety, the network access operation of correlation is carried out using comparatively safe mobile data network.
Further, for belonging to the intended application using white list, it is not all the need for call network
The operation of completion can all be related to privacy of user or account safety, for example, in the application of the chat tool of instant messaging, under
Carry application installation package, download the associative operations such as file, be not related to privacy of user or account safety, and in specifically chatting
The reception and transmission of appearance are then related to privacy of user or account safety.In order to ensure that the premise of privacy of user and account safety
Under, for the intended application belonged to using white list in the associative operation for not being related to privacy of user or account safety, can be with
Completed using the corresponding network connection of the Wi-Fi hotspot being connected into, to save the mobile data flow of terminal.
Specifically, also including after the detection network call request:Belong to default application in the intended application white
During list, the object run that the intended application initiates the network call request is obtained, judge whether the object run belongs to
In default operation white list, if it is not, then performing the object run using the target Wi-Fi hotspot.
, it is necessary to preset operation white list in specific embodiment, the operation being included in the operation white list is to be related to
To the concrete operations of privacy of user or account safety.It should be noted that in the present embodiment, operation white list can be system
One setting, or belong to what is set respectively using each application in white list according to different.
After network call request is detected, not only it needs to be determined that initiating the specific of network call request applies journey
Sequence, in addition it is also necessary to it is determined that initiating network call request needs the specific object run that carries out, for example, uploading pictures, payment transaction,
Download file, check chat record etc. then, whether default operation white list is belonged to according to the object run for determining, and
And, when object run is not belonging to default white list, carrys out performance objective using the corresponding network of target Wi-Fi hotspot and operate;Instead
It, if object run belongs to default operation white list, corresponding object run is performed using mobile data network.
Additionally, to solve to access security and secret protection degree deficiency that the method for Wi-Fi hotspot is caused in conventional art
Technical problem, in one embodiment, as shown in Figure 2, it is also proposed that a kind of device for being connected into Wi-Fi hotspot, including focus class
Type determining module 102, network call request detection module 104, judge module 106, data traffic Web vector graphic module 108 and
First WiFi network uses module 110, wherein:
Hotspot type determining module 102, for when Wi-Fi hotspot is connected into, obtaining and the target Wi-Fi hotspot being connected into
Corresponding Wi-Fi hotspot type be target Wi-Fi hotspot type, the Wi-Fi hotspot type include non-trusted Wi-Fi hotspot type and
Trust Wi-Fi hotspot type;
Network call request detection module 104, for being non-trusted Wi-Fi hotspot class when the target Wi-Fi hotspot type
During type, detection network call request, it is determined that the application for initiating the network call request is intended application;
Judge module 106, for judging whether the intended application belongs to default application white list;
Data traffic Web vector graphic module 108, for when the intended application belongs to default application white list, using
Mobile data network accesses network;
First WiFi network uses module 110, for when the intended application is not belonging to default application white list, making
With the corresponding network access network of the target Wi-Fi hotspot being connected into.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also use module including the second WiFi network
112, for when the target Wi-Fi hotspot type is to trust Wi-Fi hotspot type, using the target Wi-Fi hotspot being connected into
Access network.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also include hotspot type selecting module 114, use
In be not stored with the terminal Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot when, show Wi-Fi hotspot type selecting
Component, the Wi-Fi hotspot type for receiving selection by the Wi-Fi hotspot type selecting component is used as target Wi-Fi hotspot type.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also include WiFi link blocks 116, for connecing
Wi-Fi hotspot link order is received, target Wi-Fi hotspot corresponding with the Wi-Fi hotspot link order is obtained;According to the WiFi
Focus link order is connected into the target Wi-Fi hotspot, and calls the hotspot type determining module.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also include object run determining module 116, use
The network call request is initiated in the intended application when the intended application belongs to default application white list, is obtained
Object run, judges whether the object run belongs to default operation white list, if it is not, then using the target Wi-Fi hotspot
Perform the object run.
Implement the embodiment of the present invention, will have the advantages that:
Employ it is above-mentioned be connected into after the method and apparatus of Wi-Fi hotspot, after terminal is connected into Wi-Fi hotspot, according to even
The Wi-Fi hotspot for entering is belonging to trusty or is belonging to the fly-by-night access strategy to determine follow-up access network;
If that is, what is be connected into is Wi-Fi hotspot trusty, accessing network the need for terminal is all or calling the behaviour of network
The work Wi-Fi hotspot that is connected into using this is completed;Conversely, what if user was connected into is fly-by-night Wi-Fi hotspot, terminal is simultaneously
The corresponding network of wireless Wi-Fi hotspot and mobile data network are resided in, when terminal needs to access network, is accessed as needed
Whether the concrete application of network is default white list determines specific Web vector graphic strategy, i.e., if desired access the tool of network
Body application belongs to default white list, then access network using mobile data network, otherwise, visiting using the Wi-Fi hotspot being connected into
Ask network.That is, the security of the security and the application for accessing network according to Wi-Fi hotspot is hot using WiFi to determine
Point or use comparatively safe mobile data network, it is to avoid be connected into public WiFi in user or other have safety
Because the safety issue of the privacy of user leakage caused using network or accounts information leakage, is carried during the Wi-Fi hotspot of hidden danger
It is high to access and using the security of Wi-Fi hotspot, improve Consumer's Experience.
In one embodiment, as shown in figure 3, Fig. 3 illustrates a kind of base for running the above-mentioned method for being connected into Wi-Fi hotspot
In the terminal of the computer system of von Neumann system.The computer system can be smart mobile phone, panel computer, palm electricity
The terminal devices such as brain, notebook computer or PC.Specifically, may include the outer input interface connected by system bus
1001st, processor 1002, memory 1003 and output interface 1004.Wherein, outer input interface 1001 optionally can be wrapped at least
Include network interface 10012.Memory 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and memory storage
Device 10034.Output interface 1004 can at least include the equipment such as display screen 10042.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in
In the external memory 10032 of the foregoing computer system based on von Neumann system, built-in storage is operationally loaded into
In 10034, then it is compiled as being transferred to be performed in processor 1002 after machine code, so that being based on von Neumann system
Computer system in form hotspot type determining module 102 in logic, network call request detection module 104, judge mould
Block 106, data traffic Web vector graphic module 108, the first WiFi network use module using module 110, the second WiFi network
112nd, hotspot type selecting module 114, WiFi link blocks 116 and object run determining module 116.And be connected into above-mentioned
In the method implementation procedure of Wi-Fi hotspot, the parameter of input is received by outer input interface 1001, and is transferred to memory
Cached in 1003, be then input to be processed in processor 1002, the result data for the treatment of or be cached in memory 1003
Subsequently processed, or be passed to output interface 1004 and exported.
Specifically, above-mentioned processor 1002 is used to perform following operation:
When Wi-Fi hotspot is connected into, it is target to obtain Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot being connected into
Wi-Fi hotspot type, the Wi-Fi hotspot type includes non-trusted Wi-Fi hotspot type and trusts Wi-Fi hotspot type;
When the target Wi-Fi hotspot type is non-trusted Wi-Fi hotspot type, detection network call request, it is determined that hair
The application for playing the network call request is intended application;
Judge whether the intended application belongs to default application white list;
When the intended application belongs to default application white list, network is accessed using mobile data network;
When the intended application is not belonging to default application white list, the target Wi-Fi hotspot correspondence being connected into is used
Network access network.
Optionally, in one embodiment, above-mentioned processor 1002 is additionally operable to when the target Wi-Fi hotspot type is letter
When appointing Wi-Fi hotspot type, network is accessed using the target Wi-Fi hotspot being connected into.
Optionally, in one embodiment, if above-mentioned processor 1002 is additionally operable to not be stored with the terminal and the mesh
The corresponding Wi-Fi hotspot type of mark Wi-Fi hotspot, then show Wi-Fi hotspot type selecting component, by the Wi-Fi hotspot type
Selection component receives the Wi-Fi hotspot type of selection as target Wi-Fi hotspot type.
Optionally, in one embodiment, above-mentioned processor 1002 be additionally operable to receive Wi-Fi hotspot link order, obtain with
The corresponding target Wi-Fi hotspot of the Wi-Fi hotspot link order;The target is connected into according to the Wi-Fi hotspot link order
Wi-Fi hotspot, and it is target WiFi heat to perform acquisition Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot being connected into
The step of vertex type.
Optionally, in one embodiment, above-mentioned processor 1002 be additionally operable to the intended application belong to it is default should
When using white list, the object run that the intended application initiates the network call request is obtained, judge that the object run is
It is no to belong to default operation white list, if it is not, then performing the object run using the target Wi-Fi hotspot.
Above disclosed is only present pre-ferred embodiments, can not limit the right model of the present invention with this certainly
Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (11)
1. a kind of method for being connected into Wi-Fi hotspot, it is characterised in that including:
When Wi-Fi hotspot is connected into, it is target WiFi to obtain Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot being connected into
Hotspot type, the Wi-Fi hotspot type includes non-trusted Wi-Fi hotspot type and trusts Wi-Fi hotspot type;
When the target Wi-Fi hotspot type is non-trusted Wi-Fi hotspot type, detection network call request, it is determined that initiating institute
The application for stating network call request is intended application;
Judge whether the intended application belongs to default application white list;
When the intended application belongs to default application white list, network is accessed using mobile data network;
When the intended application is not belonging to default application white list, the corresponding net of target Wi-Fi hotspot being connected into is used
Network accesses network.
2. the method for being connected into Wi-Fi hotspot according to claim 1, it is characterised in that the acquisition and the target WiFi
Also include after the step of corresponding Wi-Fi hotspot type of focus is target Wi-Fi hotspot type:
When the target Wi-Fi hotspot type is to trust Wi-Fi hotspot type, accessed using the target Wi-Fi hotspot being connected into
Network.
3. the method for being connected into Wi-Fi hotspot according to claim 1, it is characterised in that the acquisition and the target WiFi
Also include after the step of corresponding Wi-Fi hotspot type of focus is target Wi-Fi hotspot type:
If not being stored with Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot in the terminal, show Wi-Fi hotspot type
Selection component, the Wi-Fi hotspot type for receiving selection by the Wi-Fi hotspot type selecting component is used as target Wi-Fi hotspot class
Type.
4. the method for being connected into Wi-Fi hotspot according to claim 1, it is characterised in that methods described also includes:
Wi-Fi hotspot link order is received, target Wi-Fi hotspot corresponding with the Wi-Fi hotspot link order is obtained;
The target Wi-Fi hotspot is connected into according to the Wi-Fi hotspot link order, and performs the acquisition and the mesh being connected into
The step of corresponding Wi-Fi hotspot type of mark Wi-Fi hotspot is target Wi-Fi hotspot type.
5. the method for being connected into Wi-Fi hotspot according to claim 1, it is characterised in that the detection network call asks it
Also include afterwards:
When the intended application belongs to default application white list, obtain the intended application and initiate the network call request
Object run, judge whether the object run belongs to default operation white list, if it is not, then using the target WiFi heat
Point performs the object run.
6. a kind of device for being connected into Wi-Fi hotspot, it is characterised in that including:
Hotspot type determining module, for when Wi-Fi hotspot is connected into, obtaining corresponding with the target Wi-Fi hotspot being connected into
Wi-Fi hotspot type is target Wi-Fi hotspot type, and the Wi-Fi hotspot type includes non-trusted Wi-Fi hotspot type and trust
Wi-Fi hotspot type;
Network call request detection module, for when the target Wi-Fi hotspot type is non-trusted Wi-Fi hotspot type, examining
Survey grid network call request, it is determined that the application for initiating the network call request is intended application;
Judge module, for judging whether the intended application belongs to default application white list;
Data traffic Web vector graphic module, for when the intended application belongs to default application white list, using mobile number
According to network access network;
First WiFi network uses module, for when the intended application is not belonging to default application white list, using described
The corresponding network access network of target Wi-Fi hotspot being connected into.
7. the device for being connected into Wi-Fi hotspot according to claim 6, it is characterised in that described device also includes the 2nd WiFi
Web vector graphic module, for when the target Wi-Fi hotspot type is to trust Wi-Fi hotspot type, using the mesh being connected into
Mark Wi-Fi hotspot accesses network.
8. the device for being connected into Wi-Fi hotspot according to claim 6, it is characterised in that described device also includes hotspot type
Selecting module, for be not stored with the terminal Wi-Fi hotspot type corresponding with the target Wi-Fi hotspot when, show WiFi
Hotspot type selects component, and the Wi-Fi hotspot type for receiving selection by the Wi-Fi hotspot type selecting component is used as target
Wi-Fi hotspot type.
9. the device for being connected into Wi-Fi hotspot according to claim 6, it is characterised in that described device is also connected including WiFi
Module, for receiving Wi-Fi hotspot link order, obtains target Wi-Fi hotspot corresponding with the Wi-Fi hotspot link order;Root
The target Wi-Fi hotspot is connected into according to the Wi-Fi hotspot link order, and calls the hotspot type determining module.
10. the device for being connected into Wi-Fi hotspot according to claim 6, it is characterised in that described device is also grasped including target
Make determining module, initiate described for when the intended application belongs to default application white list, obtaining the intended application
The object run of network call request, judges whether the object run belongs to default operation white list, if it is not, then using institute
State target Wi-Fi hotspot and perform the object run.
A kind of 11. mobile terminals, it is characterised in that including:
Processor and memory;Wherein, the processor is by calling code in the memory or instruction to perform such as power
Profit requires the method described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611118653.5A CN106714181B (en) | 2016-12-07 | 2016-12-07 | Method and device for connecting WiFi hotspot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611118653.5A CN106714181B (en) | 2016-12-07 | 2016-12-07 | Method and device for connecting WiFi hotspot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106714181A true CN106714181A (en) | 2017-05-24 |
CN106714181B CN106714181B (en) | 2020-05-26 |
Family
ID=58936222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611118653.5A Active CN106714181B (en) | 2016-12-07 | 2016-12-07 | Method and device for connecting WiFi hotspot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106714181B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107396365A (en) * | 2017-06-29 | 2017-11-24 | 宇龙计算机通信科技(深圳)有限公司 | Data transmission method and mobile terminal |
CN108337707A (en) * | 2018-04-17 | 2018-07-27 | Oppo广东移动通信有限公司 | A kind of switching method of wireless network, mobile terminal and storage medium |
CN108770042A (en) * | 2018-04-12 | 2018-11-06 | Oppo广东移动通信有限公司 | A kind of method for connecting network, terminal device and computer storage media |
CN111050380A (en) * | 2019-11-21 | 2020-04-21 | 深圳传音控股股份有限公司 | Hotspot opening method and device, terminal equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6671510B1 (en) * | 1999-12-27 | 2003-12-30 | Nortel Networks Limited | Wireless telephone system and operation method therefor |
US8595810B1 (en) * | 2013-01-13 | 2013-11-26 | Mourad Ben Ayed | Method for automatically updating application access security |
CN104717653A (en) * | 2015-03-12 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Network connection control method and system of mobile terminal |
CN104837167A (en) * | 2015-04-29 | 2015-08-12 | 深圳市金立通信设备有限公司 | Network switching method |
CN105430713A (en) * | 2015-11-30 | 2016-03-23 | 东莞酷派软件技术有限公司 | Identification method of wireless fidelity WiFi hotspot and terminal |
CN105898751A (en) * | 2016-04-14 | 2016-08-24 | 惠州Tcl移动通信有限公司 | Application verification method and application verification system based on AP |
CN105916103A (en) * | 2016-07-07 | 2016-08-31 | 腾讯科技(深圳)有限公司 | WLAN (Wireless Local Area Network) connecting method and device |
CN106096450A (en) * | 2016-06-21 | 2016-11-09 | 依偎科技(南昌)有限公司 | A kind of application program freezing method and mobile terminal |
-
2016
- 2016-12-07 CN CN201611118653.5A patent/CN106714181B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6671510B1 (en) * | 1999-12-27 | 2003-12-30 | Nortel Networks Limited | Wireless telephone system and operation method therefor |
US8595810B1 (en) * | 2013-01-13 | 2013-11-26 | Mourad Ben Ayed | Method for automatically updating application access security |
CN104717653A (en) * | 2015-03-12 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Network connection control method and system of mobile terminal |
CN104837167A (en) * | 2015-04-29 | 2015-08-12 | 深圳市金立通信设备有限公司 | Network switching method |
CN105430713A (en) * | 2015-11-30 | 2016-03-23 | 东莞酷派软件技术有限公司 | Identification method of wireless fidelity WiFi hotspot and terminal |
CN105898751A (en) * | 2016-04-14 | 2016-08-24 | 惠州Tcl移动通信有限公司 | Application verification method and application verification system based on AP |
CN106096450A (en) * | 2016-06-21 | 2016-11-09 | 依偎科技(南昌)有限公司 | A kind of application program freezing method and mobile terminal |
CN105916103A (en) * | 2016-07-07 | 2016-08-31 | 腾讯科技(深圳)有限公司 | WLAN (Wireless Local Area Network) connecting method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107396365A (en) * | 2017-06-29 | 2017-11-24 | 宇龙计算机通信科技(深圳)有限公司 | Data transmission method and mobile terminal |
CN108770042A (en) * | 2018-04-12 | 2018-11-06 | Oppo广东移动通信有限公司 | A kind of method for connecting network, terminal device and computer storage media |
CN108770042B (en) * | 2018-04-12 | 2022-01-18 | Oppo广东移动通信有限公司 | Network connection method, terminal device and computer storage medium |
CN108337707A (en) * | 2018-04-17 | 2018-07-27 | Oppo广东移动通信有限公司 | A kind of switching method of wireless network, mobile terminal and storage medium |
CN111050380A (en) * | 2019-11-21 | 2020-04-21 | 深圳传音控股股份有限公司 | Hotspot opening method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106714181B (en) | 2020-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10869196B2 (en) | Internet access authentication method and client, and computer storage medium | |
US20220312166A1 (en) | Network Access Method, Device, and System | |
CN106714181A (en) | Method and apparatus for accessing WiFi hotspot | |
CN108770068A (en) | A kind of WIFI Frequency Band Selections method, apparatus, storage medium and electronic equipment | |
CN103532938B (en) | The method and system of application data protection | |
CN108021830B (en) | Information processing method and electronic equipment | |
CN107465662A (en) | Mobile terminal policy management method, mobile terminal and computer-readable recording medium | |
CN106096450A (en) | A kind of application program freezing method and mobile terminal | |
CN106454968A (en) | CSFB-based calling method and apparatus | |
CN107343279A (en) | Method for connecting network, device, terminal device and storage medium | |
CN106161793A (en) | Originating method based on contact person's packet and device | |
WO2017197757A1 (en) | Method and device for apn assignment, and terminal | |
CN106209918A (en) | The method of a kind of internet security management and terminal | |
CN106295271A (en) | Account automatic logging method, device and related system | |
CN107396365A (en) | Data transmission method and mobile terminal | |
CN106604363B (en) | A kind of Wireless Fidelity Wi-Fi scan method, mobile terminal and storage medium | |
CN107396354A (en) | A kind of WiFi connection methods, terminal device and system | |
CN106686627A (en) | WiFi/hotspot starting method and device | |
CN105828458A (en) | Method and device for talk access | |
CN110493246A (en) | Wireless network connecting method, device, electronic equipment and medium | |
CN106201298A (en) | The access method of a kind of point of desktop and device, subscriber equipment | |
CN108093450A (en) | A kind of method for switching network and terminal device | |
CN108419238A (en) | A kind of method and device of detection rogue AP | |
CN106792698A (en) | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal | |
CN105490810B (en) | Method, device and system for processing virtual resource data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |