CN105472616A - Wireless access point connection method and electronic equipment - Google Patents

Wireless access point connection method and electronic equipment Download PDF

Info

Publication number
CN105472616A
CN105472616A CN201510891936.2A CN201510891936A CN105472616A CN 105472616 A CN105472616 A CN 105472616A CN 201510891936 A CN201510891936 A CN 201510891936A CN 105472616 A CN105472616 A CN 105472616A
Authority
CN
China
Prior art keywords
access point
wap
electronic equipment
wireless access
network terminal
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
Application number
CN201510891936.2A
Other languages
Chinese (zh)
Other versions
CN105472616B (en
Inventor
蒋星辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510891936.2A priority Critical patent/CN105472616B/en
Publication of CN105472616A publication Critical patent/CN105472616A/en
Application granted granted Critical
Publication of CN105472616B publication Critical patent/CN105472616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The invention discloses a wireless access point connection method and electronic equipment. The method comprises: obtaining at least one wireless access point covering the electronic equipment through the antenna of the electronic equipment; wirelessly connecting a first wireless access point, wherein the first wireless access point belongs to the at least one wireless access point; determining whether the access of the electronic equipment to the network terminal through the first wireless access point is valid or not based on a predetermined rule when the electronic equipment and the first wireless access point are wirelessly connected successfully; determining whether to keep the wireless connection with the first wireless access point based on whether the access of the electronic equipment to the network terminal through the first wireless access point is valid. The method and device of the invention solve the problem of bad use feeling resulted from fake connection of the wireless access point in the prior art.

Description

A kind of WAP (wireless access point) method of attachment and electronic equipment
Technical field
The present invention relates to data processing field, particularly relate to a kind of WAP (wireless access point) method of attachment and electronic equipment.
Background technology
Wireless network has thrown away the netting twine that cable network must rely on to a certain extent, makes user any one to have the region of the network coverage to use radio reception device access network, and must yield to the wire location in network interface unlike in the past.But the Signal transmissions of wireless network and cable network are different, by transmitting data in cable during cable network, the transfer of data of wireless network is then propagated in atmosphere in a broadcast manner, so the safety problem causing wireless network to face is severeer than cable network.
In prior art, wireless network may be provided in some public places, the radio connection according to present electronic equipment: when user enters a certain coverage range of wireless access point, then automatically connect.But the wireless network that now public place provides may be many times a kind of falsely to connect, this vacation connects can not allow user access network, but the network of user's connection originally can be caused to disconnect suddenly, so it is bad that the use sense of user can be caused to be subject to.In addition, it is likely also deception character fishing access point that this vacation connects, if user's input validation information may bring harm to the property of user and personal safety.
Summary of the invention
The invention provides a kind of WAP (wireless access point) method of attachment and electronic equipment, the vacation that method provided by the present invention and electronic equipment solve WAP (wireless access point) in prior art is connected and causes the use sense of user to be subject to bad problem.
On the one hand, the invention provides a kind of WAP (wireless access point) method of attachment, method comprises:
At least one WAP (wireless access point) covering described electronic equipment is obtained by the antenna of electronic equipment;
Wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal;
Whether effectively determine whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
Optionally, described determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule under described electronic equipment whether effectively comprised by the access of described first WAP (wireless access point) and described network terminal:
Described electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
Described electronic equipment obtains the data feedback of described network terminal based on described request of data by described first WAP (wireless access point), described electronic equipment determine described electronic equipment and described first WAP (wireless access point) wireless connections success and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
Optionally, described determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule under described electronic equipment whether effectively comprised by the access of described first WAP (wireless access point) and described network terminal:
Described electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
Do not receive the data feedback of described network terminal based on described request of data in the given time, described electronic equipment determine described electronic equipment and the unsuccessful and described electronic equipment of described first WAP (wireless access point) wireless connections accessed by described first WAP (wireless access point) and described network terminal invalid; Or
Described electronic equipment and described first WAP (wireless access point) wireless connections success after, directly obtain propelling data by described first WAP (wireless access point), described electronic equipment determines described electronic equipment and described first WAP (wireless access point) wireless connections success, and it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, described determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule under described electronic equipment whether effectively comprised by the access of described first WAP (wireless access point) and described network terminal:
Described electronic equipment and described first WAP (wireless access point) wireless connections success after, by described first WAP (wireless access point) obtain propelling data;
Obtain the scene information residing for described electronic equipment;
When described scene information meets special scenes, resolve the transmission source information that described propelling data obtains described propelling data in a secure environment;
When described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
When described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, described method also comprises:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) and carry out described electronic equipment and whether effectively determine with the access of network terminal until at least one WAP (wireless access point) described has one controls described electronic equipment when successfully can be connected and access valid wireless access point with network terminal and close cellular mobile network.
Aspect in addition, the present invention also provides a kind of electronic equipment, comprising:
Housing;
Memory cell, is arranged in described housing, for storing at least one program module;
At least one processor, be arranged in described housing, be connected with described memory cell, at least one processor described, by obtaining from described memory cell and running at least one program module described, obtains for the antenna by electronic equipment at least one WAP (wireless access point) covering described electronic equipment; Wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described; Under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; Whether described electronic equipment effectively determines whether to maintain the wireless connections with described first WAP (wireless access point) by the access of described first WAP (wireless access point) and described network terminal.
Optionally, at least one processor described also for:
Predetermined information is utilized to carry out request of data by described first WAP (wireless access point) to network terminal; Obtain the data feedback of described network terminal based on described request of data by described first WAP (wireless access point), determine described electronic equipment and described first WAP (wireless access point) wireless connections success and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
Optionally, at least one processor described also for:
Predetermined information is utilized to carry out request of data by described first WAP (wireless access point) to network terminal; Do not receive the data feedback of described network terminal based on described request of data in the given time, determine described electronic equipment and the unsuccessful and described electronic equipment of described first WAP (wireless access point) wireless connections accessed by described first WAP (wireless access point) and described network terminal invalid; Or
After described first WAP (wireless access point) wireless connections success, directly obtain propelling data by described first WAP (wireless access point), determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, at least one processor described also for:
After described first WAP (wireless access point) wireless connections success, obtain propelling data by described first WAP (wireless access point);
Obtain the scene information residing for described electronic equipment;
When described scene information meets special scenes, resolve the transmission source information that described propelling data obtains described propelling data in a secure environment;
When described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
When described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, at least one processor described also for:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) to carry out described electronic equipment and whether effectively determine with the access of network terminal, until at least one WAP (wireless access point) described has one when successfully can be connected and access valid wireless access point with network terminal, to control described electronic equipment and close cellular mobile network.
On the other hand, the present invention also provides another electronic equipment, comprising:
Scan module, obtains for the antenna by electronic equipment at least one WAP (wireless access point) covering described electronic equipment;
Link block, for wirelessly connecting the first WAP (wireless access point), described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Whether Effective judgement module is effective by the access of described first WAP (wireless access point) and described network terminal for described electronic equipment under determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule;
Maintain module, for whether effectively determining whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
One or two in technique scheme, at least has following technique effect:
After the method electronic equipment that the embodiment of the present invention provides enters into the coverage of a certain WAP (wireless access point), first differentiation WAP (wireless access point) provides true connection or false connection, then according to the situation of the true and false connection of WAP (wireless access point), judge whether to be connected with WAP (wireless access point), thus provide the use sense of user to be subject to and improve network connect fail safe.
In addition, the method that this embodiment provides according to the situation of the true and false connection of WAP (wireless access point), can also judge whether that disconnecting original connection is connected with WAP (wireless access point), thus reduces the invalid switching of electronic equipment.
Accompanying drawing explanation
The schematic flow sheet of a kind of WAP (wireless access point) method of attachment that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of electronic equipment that Fig. 2 provides for the embodiment of the present invention;
The structural representation of another electronic equipment that Fig. 3 provides for the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
After the method electronic equipment that the embodiment of the present invention provides enters into the coverage of a certain WAP (wireless access point), first distinguish WAP (wireless access point) provide and true connect or falsely to connect (false connection and electronic equipment invalid by the access of WAP (wireless access point) and network terminal; Although or with WAP (wireless access point) successful connection, access point does not have available data transmission network.Such as, be connected to the wifi of family, but the situation of arrearage.), then according to the situation of the true and false connection of WAP (wireless access point), judge whether to be connected with WAP (wireless access point), thus provide the use sense of user to be subject to and improve network connect fail safe.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
Embodiment one
As shown in Figure 1, the embodiment of the present invention provides a kind of WAP (wireless access point) method of attachment, and method comprises:
Step 101, obtains by the antenna of electronic equipment at least one WAP (wireless access point) covering described electronic equipment;
Step 102, wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Step 103, under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal;
In embodiments of the present invention, whether the access of the first WAP (wireless access point) and described network terminal effectively refers to: access point and WAP (wireless access point) successful connection, and whether access point can provide available data transmission network, if can not, then it is invalid to be judged as; If can, be then judged as effectively.
Whether step 104, effectively determine whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
In this embodiment, determine that the first wireless connections provide by step 103 no for after effective network, in this step, electronic equipment then can maintain the connection with this first WAP (wireless access point) in active block situation; Otherwise, disconnect the connection with the first WAP (wireless access point).
In this example, under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, described electronic equipment comprises multiple by the whether effective mode of access of described first WAP (wireless access point) and described network terminal, below provides several optimized implementation:
One, the mode by sending data verifies that whether the access of the first WAP (wireless access point) and network terminal is effective, and specific implementation can be:
A11, electronic equipment utilizes predetermined information to carry out request of data by the first WAP (wireless access point) to network terminal;
A12, electronic equipment obtains network terminal based on the data feedback of described request of data by the first WAP (wireless access point), described electronic equipment determine described electronic equipment and described first WAP (wireless access point) wireless connections successfully and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
Because under some specific environment, although the first WAP (wireless access point) can provide effective network to connect, but need user to provide personal information, this situation may cause the personal information of user to reveal, or run into fishing website to the person and property threaten.So in this embodiment, accessing the concrete judgment mode of invalid situation for the first WAP (wireless access point) and described network terminal can be:
A21, electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
A22, do not receive the data feedback of described network terminal based on described request of data in the given time, it is invalid that electronic equipment determination electronic equipment and the unsuccessful and described electronic equipment of the first WAP (wireless access point) wireless connections are accessed by described first WAP (wireless access point) and described network terminal; Or
A23, described electronic equipment and described first WAP (wireless access point) wireless connections success after, directly obtain propelling data by described first WAP (wireless access point), described electronic equipment determines described electronic equipment and described first WAP (wireless access point) wireless connections success, and it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
In this embodiment, if the first access point does not have feedback data, then directly can determine electronic equipment accessed by the first WAP (wireless access point) and described network terminal invalid; Another situation is: access point can feed back propelling data (this propelling data is used to indicate the authorization information being needed input by the first access point access network), user needs to input some authorization informations according to this propelling data just can by the first access point access network, this situation may run into rogue access point, thus the network that in this example this access point provided connect also be defined as invalid.Such as: the information obtaining user for lawless person by arranging false wifi hotspot, access point is to user terminal propelling data indicating user input handset number, the information such as identification card number, it is invalid to be then confirmed as this access point revealing personal information, thus improves the fail safe of wireless access.
This exemplary application is in specific implementation environment, and specific implementation can be:
Electronic equipment can by pre-setting a default network address, after being connected with the first access point, then send default network address from trend first WAP (wireless access point), the web page contents that this network address of acquisition request is corresponding, if the web page contents that the first WAP (wireless access point) feedback is corresponding, then the access of the first WAP (wireless access point) and network terminal is effective; Otherwise it is invalid.This example is to illustrate one of aforesaid way, not limiting the program can only use default network address to send request of data as predetermined information to the first WAP (wireless access point), and other can send the mode of request of data to the first WAP (wireless access point) arbitrarily and all be applicable to the scheme that this example provides.
Whether two, effective by the access of the first WAP (wireless access point) and network terminal by the environment determination electronic equipment residing for electronic equipment, specific implementation can be:
B1, electronic equipment and the first WAP (wireless access point) wireless connections success after, by first WAP (wireless access point) obtain propelling data;
B2, obtains the scene information residing for electronic equipment according to propelling data;
This propelling data can be the data (such as: the publicity page etc. that airport wireless access points pushes) of the sign scene that the first WAP (wireless access point) sends; Or, the title etc. of WAP (wireless access point).The environment residing for electronic equipment then can be determined according to this propelling data.Such as have received the publicity webpage on airport, then can determine electronic equipment current be near airports.
B3, when described scene information meets special scenes, resolves the transmission source information that described propelling data obtains described propelling data in a secure environment;
Such as, determine that the current residing environment of electronic equipment is airport, if determine that the access point detected is not the information of the server promotion on airport by pushed information, then can judge that current access point exists certain risk.The mode of concrete judgement transmission source information comprises and multiplely again not to repeat.
B4, when described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
Such as: determine that the first WAP (wireless access point) is official trusty Network Access Point, if this access point needs to carry out verifying then access network, then can input validation information then access.Such as, in airport scene, searching the first access point is official's access point that airport provides, then input validation information in the checking page that can push at access point, thus is verified rear access network.
B5, when described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
In addition, because the wifi vacation that some public places provide connects, electronic equipment can be caused to disconnect with the data network normally used, make user's use sense by not good.The method that this embodiment provides can also according to the situation of the true and false connection of WAP (wireless access point), and judge whether to disconnect original connection, specific implementation step can be:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) and carry out described electronic equipment and whether effectively determine with the access of network terminal until at least one WAP (wireless access point) described has one controls described electronic equipment when successfully can be connected and access valid wireless access point with network terminal and close cellular mobile network.
After the method electronic equipment that the embodiment of the present invention provides enters into the coverage of a certain WAP (wireless access point), first differentiation WAP (wireless access point) provides true connection or false connection, then according to the situation of the true and false connection of WAP (wireless access point), judge whether to be connected with WAP (wireless access point), thus provide the use sense of user to be subject to and improve network connect fail safe.
Embodiment two
As shown in Figure 2, the embodiment of the present invention provides a kind of electronic equipment, comprising:
Housing 201;
Memory cell 202, is arranged in described housing, for storing at least one program module;
At least one processor 203, be arranged in described housing, be connected with described memory cell, at least one processor described, by obtaining from described memory cell and running at least one program module described, obtains for the antenna by electronic equipment at least one WAP (wireless access point) covering described electronic equipment; Wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described; Under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; Whether described electronic equipment effectively determines whether to maintain the wireless connections with described first WAP (wireless access point) by the access of described first WAP (wireless access point) and described network terminal.
Optionally, this at least one processor also for:
Predetermined information is utilized to carry out request of data by described first WAP (wireless access point) to network terminal; Obtain the data feedback of described network terminal based on described request of data by described first WAP (wireless access point), determine described electronic equipment and described first WAP (wireless access point) wireless connections success and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
Optionally, this at least one processor also for:
Predetermined information is utilized to carry out request of data by described first WAP (wireless access point) to network terminal; Do not receive the data feedback of described network terminal based on described request of data in the given time, determine described electronic equipment and the unsuccessful and described electronic equipment of described first WAP (wireless access point) wireless connections accessed by described first WAP (wireless access point) and described network terminal invalid; Or
After described first WAP (wireless access point) wireless connections success, directly obtain propelling data by described first WAP (wireless access point), determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, this at least one processor also for:
After described first WAP (wireless access point) wireless connections success, obtain propelling data by described first WAP (wireless access point);
Obtain the scene information residing for described electronic equipment;
When described scene information meets special scenes, resolve the transmission source information that described propelling data obtains described propelling data in a secure environment;
When described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
When described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, this at least one processor also for:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) to carry out described electronic equipment and whether effectively determine with the access of network terminal, until at least one WAP (wireless access point) described has one when successfully can be connected and access valid wireless access point with network terminal, to control described electronic equipment and close cellular mobile network.
Embodiment three
As shown in Figure 3, based on the method that embodiment one provides, the embodiment of the present invention also provides corresponding a kind of electronic equipment, comprising:
Scan module 301, obtains for the antenna by electronic equipment at least one WAP (wireless access point) covering described electronic equipment;
Link block 302, for wirelessly connecting the first WAP (wireless access point), described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Whether Effective judgement module 303 is effective by the access of described first WAP (wireless access point) and described network terminal for described electronic equipment under determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule;
Maintain module 304, for whether effectively determining whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has following technique effect:
After the method electronic equipment that the embodiment of the present invention provides enters into the coverage of a certain WAP (wireless access point), first differentiation WAP (wireless access point) provides true connection or false connection, then according to the situation of the true and false connection of WAP (wireless access point), judge whether to be connected with WAP (wireless access point), thus provide the use sense of user to be subject to and improve network connect fail safe.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
At least one WAP (wireless access point) covering described electronic equipment is obtained by the antenna of electronic equipment;
Wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal;
Whether effectively determine whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
Optionally, computer program instructions corresponding to step " described determine that whether described electronic equipment is effective with the access of described network terminal by described first WAP (wireless access point) with described electronic equipment in the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule ", when being performed, specifically comprises the steps:
Described electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
Described electronic equipment obtains the data feedback of described network terminal based on described request of data by described first WAP (wireless access point), described electronic equipment determine described electronic equipment and described first WAP (wireless access point) wireless connections success and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
Optionally, computer program instructions corresponding to step " described determine that whether described electronic equipment is effective with the access of described network terminal by described first WAP (wireless access point) with described electronic equipment in the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule ", when being performed, specifically comprises the steps:
Described electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
Do not receive the data feedback of described network terminal based on described request of data in the given time, described electronic equipment determine described electronic equipment and the unsuccessful and described electronic equipment of described first WAP (wireless access point) wireless connections accessed by described first WAP (wireless access point) and described network terminal invalid; Or
Described electronic equipment and described first WAP (wireless access point) wireless connections success after, directly obtain propelling data by described first WAP (wireless access point), described electronic equipment determines described electronic equipment and described first WAP (wireless access point) wireless connections success, and it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, computer program instructions corresponding to step " described determine that whether described electronic equipment is effective with the access of described network terminal by described first WAP (wireless access point) with described electronic equipment in the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule ", when being performed, specifically comprises the steps:
Described electronic equipment and described first WAP (wireless access point) wireless connections success after, by described first WAP (wireless access point) obtain propelling data;
Obtain the scene information residing for described electronic equipment;
When described scene information meets special scenes, resolve the transmission source information that described propelling data obtains described propelling data in a secure environment;
When described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
When described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
Optionally, when corresponding computer program instructions performs, specifically comprise the steps:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) and carry out described electronic equipment and whether effectively determine with the access of network terminal until at least one WAP (wireless access point) described has one controls described electronic equipment when successfully can be connected and access valid wireless access point with network terminal and close cellular mobile network.
Method of the present invention is not limited to the embodiment described in embodiment, and those skilled in the art's technical scheme according to the present invention draws and other execution mode belongs to technological innovation scope of the present invention equally.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (11)

1. a WAP (wireless access point) method of attachment, method comprises:
At least one WAP (wireless access point) covering described electronic equipment is obtained by the antenna of electronic equipment;
Wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal;
Whether effectively determine whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
2. the method for claim 1, it is characterized in that, described determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule under described electronic equipment whether effectively comprised by the access of described first WAP (wireless access point) and described network terminal:
Described electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
Described electronic equipment obtains the data feedback of described network terminal based on described request of data by described first WAP (wireless access point), described electronic equipment determine described electronic equipment and described first WAP (wireless access point) wireless connections success and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
3. the method for claim 1, it is characterized in that, described determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule under described electronic equipment whether effectively comprised by the access of described first WAP (wireless access point) and described network terminal:
Described electronic equipment utilizes predetermined information to carry out request of data by described first WAP (wireless access point) to network terminal;
Do not receive the data feedback of described network terminal based on described request of data in the given time, described electronic equipment determine described electronic equipment and the unsuccessful and described electronic equipment of described first WAP (wireless access point) wireless connections accessed by described first WAP (wireless access point) and described network terminal invalid; Or
Described electronic equipment and described first WAP (wireless access point) wireless connections success after, directly obtain propelling data by described first WAP (wireless access point), described electronic equipment determines described electronic equipment and described first WAP (wireless access point) wireless connections success, and it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
4. the method for claim 1, it is characterized in that, described determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule under described electronic equipment whether effectively comprised by the access of described first WAP (wireless access point) and described network terminal:
Described electronic equipment and described first WAP (wireless access point) wireless connections success after, by described first WAP (wireless access point) obtain propelling data;
Obtain the scene information residing for described electronic equipment;
When described scene information meets special scenes, resolve the transmission source information that described propelling data obtains described propelling data in a secure environment;
When described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
When described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
5. the method as described in as arbitrary in Claims 1 to 4, it is characterized in that, described method also comprises:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) and carry out described electronic equipment and whether effectively determine with the access of network terminal until at least one WAP (wireless access point) described has one controls described electronic equipment when successfully can be connected and access valid wireless access point with network terminal and close cellular mobile network.
6. an electronic equipment, comprising:
Housing;
Memory cell, is arranged in described housing, for storing at least one program module;
At least one processor, be arranged in described housing, be connected with described memory cell, at least one processor described, by obtaining from described memory cell and running at least one program module described, obtains for the antenna by electronic equipment at least one WAP (wireless access point) covering described electronic equipment; Wireless mode connects the first WAP (wireless access point), and described first WAP (wireless access point) belongs at least one WAP (wireless access point) described; Under determining described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule, whether described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; Whether described electronic equipment effectively determines whether to maintain the wireless connections with described first WAP (wireless access point) by the access of described first WAP (wireless access point) and described network terminal.
7. electronic equipment as claimed in claim 6, is characterized in that, at least one processor described also for:
Predetermined information is utilized to carry out request of data by described first WAP (wireless access point) to network terminal; Obtain the data feedback of described network terminal based on described request of data by described first WAP (wireless access point), determine described electronic equipment and described first WAP (wireless access point) wireless connections success and described electronic equipment accessed effectively by described first WAP (wireless access point) and described network terminal.
8. electronic equipment as claimed in claim 6, is characterized in that, at least one processor described also for:
Predetermined information is utilized to carry out request of data by described first WAP (wireless access point) to network terminal; Do not receive the data feedback of described network terminal based on described request of data in the given time, determine described electronic equipment and the unsuccessful and described electronic equipment of described first WAP (wireless access point) wireless connections accessed by described first WAP (wireless access point) and described network terminal invalid; Or
After described first WAP (wireless access point) wireless connections success, directly obtain propelling data by described first WAP (wireless access point), determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
9. electronic equipment as claimed in claim 6, is characterized in that, at least one processor described also for:
After described first WAP (wireless access point) wireless connections success, obtain propelling data by described first WAP (wireless access point);
Obtain the scene information residing for described electronic equipment;
When described scene information meets special scenes, resolve the transmission source information that described propelling data obtains described propelling data in a secure environment;
When described transmission source information meets the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, and described electronic equipment is accessed effectively by described first WAP (wireless access point) and described network terminal;
When described transmission source information does not meet the security information source under described special scenes, determine described electronic equipment and described first WAP (wireless access point) wireless connections success, it is invalid that described electronic equipment is accessed by described first WAP (wireless access point) and described network terminal.
10. the electronic equipment as described in as arbitrary in claim 6 ~ 9, is characterized in that, at least one processor described also for:
The wireless connections with described first WAP (wireless access point) are maintained when described electronic equipment is effective by the access of described first WAP (wireless access point) and described network terminal; And control described electronic equipment and close cellular mobile network;
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and maintain the connection with cellular mobile network; Or,
Control described electronic equipment when described electronic equipment is invalid by the access of described first WAP (wireless access point) and described network terminal and close cellular mobile network, and be switched to the second WAP (wireless access point) to carry out described electronic equipment and whether effectively determine with the access of network terminal, until at least one WAP (wireless access point) described has one when successfully can be connected and access valid wireless access point with network terminal, to control described electronic equipment and close cellular mobile network.
11. 1 kinds of electronic equipments, comprising:
Scan module, obtains for the antenna by electronic equipment at least one WAP (wireless access point) covering described electronic equipment;
Link block, for wirelessly connecting the first WAP (wireless access point), described first WAP (wireless access point) belongs at least one WAP (wireless access point) described;
Whether Effective judgement module is effective by the access of described first WAP (wireless access point) and described network terminal for described electronic equipment under determine described electronic equipment and the successful situation of described first WAP (wireless access point) wireless connections based on pre-defined rule;
Maintain module, for whether effectively determining whether to maintain the wireless connections with described first WAP (wireless access point) based on described electronic equipment by the access of described first WAP (wireless access point) and described network terminal.
CN201510891936.2A 2015-12-07 2015-12-07 Wireless access point connection method and electronic equipment Active CN105472616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510891936.2A CN105472616B (en) 2015-12-07 2015-12-07 Wireless access point connection method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510891936.2A CN105472616B (en) 2015-12-07 2015-12-07 Wireless access point connection method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105472616A true CN105472616A (en) 2016-04-06
CN105472616B CN105472616B (en) 2020-02-21

Family

ID=55609799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510891936.2A Active CN105472616B (en) 2015-12-07 2015-12-07 Wireless access point connection method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105472616B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068372A (en) * 2018-07-25 2018-12-21 Oppo广东移动通信有限公司 Neighbouring sensing network creation method and Related product
CN110113744A (en) * 2019-04-18 2019-08-09 杭州涂鸦信息技术有限公司 Communication means, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102450090A (en) * 2009-05-28 2012-05-09 汤姆森特许公司 System and method for redirecting a mobile device
CN103546903A (en) * 2013-10-29 2014-01-29 深圳市欧珀通信软件有限公司 Method and device for handheld device wifi testing
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN104066129A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Network switching method and system
CN104080111A (en) * 2013-03-29 2014-10-01 宏碁股份有限公司 Network diversity based error reporting method, user equipment and communication system
CN104170460A (en) * 2013-12-03 2014-11-26 华为终端有限公司 Network switching method and terminal
CN105119901A (en) * 2015-07-17 2015-12-02 中国科学院信息工程研究所 Method and system for detecting phishing hotspot

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102450090A (en) * 2009-05-28 2012-05-09 汤姆森特许公司 System and method for redirecting a mobile device
CN104080111A (en) * 2013-03-29 2014-10-01 宏碁股份有限公司 Network diversity based error reporting method, user equipment and communication system
CN103546903A (en) * 2013-10-29 2014-01-29 深圳市欧珀通信软件有限公司 Method and device for handheld device wifi testing
CN104170460A (en) * 2013-12-03 2014-11-26 华为终端有限公司 Network switching method and terminal
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN104066129A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Network switching method and system
CN105119901A (en) * 2015-07-17 2015-12-02 中国科学院信息工程研究所 Method and system for detecting phishing hotspot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068372A (en) * 2018-07-25 2018-12-21 Oppo广东移动通信有限公司 Neighbouring sensing network creation method and Related product
CN110113744A (en) * 2019-04-18 2019-08-09 杭州涂鸦信息技术有限公司 Communication means, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105472616B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN104349423B (en) From the method, system and device of the WLAN (wireless local area network) that is dynamically connected
KR102072095B1 (en) Identity authentication methods, devices, and systems
CN106686601B (en) Pseudo base station protection method and device
KR102139409B1 (en) Information push method and device
EP3562257B1 (en) Wireless fidelity (wi-fi) connection method and related product
CN107707538B (en) Data transmission method and device, mobile terminal and computer readable storage medium
KR101808217B1 (en) Wireless access method and relevant device and system
CN104796385A (en) Terminal binding method, device and system
CN105009617A (en) Method and apparatus for multisim devices with embedded SIM functionality
CN104392500A (en) Checking-in method
KR20130125139A (en) Apparatus and method for selecting a secure element in a near field communication device
CN104346838A (en) Terminal and system
CN106502826A (en) Data backup and transmission method and mobile terminal
CN103944893A (en) Communication method and user equipment
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN112672278A (en) Positioning method and device of wearable equipment
US9697396B2 (en) Interactive processing method and device and electronic apparatus
CN103813439A (en) Method for terminal register and terminal
CN104980420A (en) Business processing method, device, terminal and server
CN106686587B (en) Wireless fidelity Wi-Fi connection method, mobile terminal and medium
CN106714181B (en) Method and device for connecting WiFi hotspot
US9462408B2 (en) Information processing method and electronic device
CN105049631A (en) Method and mobile terminal for sending information in address book program
CN105472616A (en) Wireless access point connection method and electronic equipment
CN105282821A (en) Terminal and method for connecting the terminal with wireless fidelity WiFi access point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant