CN103458404B - Wi-Fi hotspot connection method and system - Google Patents

Wi-Fi hotspot connection method and system Download PDF

Info

Publication number
CN103458404B
CN103458404B CN201210169998.9A CN201210169998A CN103458404B CN 103458404 B CN103458404 B CN 103458404B CN 201210169998 A CN201210169998 A CN 201210169998A CN 103458404 B CN103458404 B CN 103458404B
Authority
CN
China
Prior art keywords
hotspot
authentication information
login authentication
service end
inquiring
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.)
Active
Application number
CN201210169998.9A
Other languages
Chinese (zh)
Other versions
CN103458404A (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201210169998.9A priority Critical patent/CN103458404B/en
Publication of CN103458404A publication Critical patent/CN103458404A/en
Application granted granted Critical
Publication of CN103458404B publication Critical patent/CN103458404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of Wi-Fi hotspot connection method and system, described method includes: obtains the login authentication information of the first Wi-Fi hotspot and is stored into service end, the login authentication information of the first Wi-Fi hotspot by inquiring from described service end connects described first Wi-Fi hotspot, and the present invention automatically can obtain the login authentication information of the first Wi-Fi hotspot from service end and be attached.

Description

Wi-Fi hotspot connection method and system
Technical field
The present invention relates to a kind of Wi-Fi hotspot connection method and system.
Background technology
Along with the high speed of various hand-held intelligent equipment is popularized, support that connecting Wi-Fi hotspot has become the standard configuration function of all kinds of hand-held intelligent equipment.Although user uses smart machine can scan neighbouring Wi-Fi hotspot, but, if user wants the Wi-Fi hotspot being connected to these vicinity scanned, also need to know the login authentication information of these Wi-Fi hotspot, but user generally cannot obtain the login authentication information of these Wi-Fi hotspot at present, therefore can cause the problem that cannot carry out networking on the hand-held intelligent equipment of oneself with Wi-Fi hotspot.
Summary of the invention
It is an object of the invention to provide a kind of Wi-Fi hotspot connection method and system, it is possible to automatically obtain the login authentication information of Wi-Fi hotspot from service end and be attached.
For solving the problems referred to above, the present invention provides a kind of Wi-Fi hotspot connection method, including:
Obtain the login authentication information of the first Wi-Fi hotspot and be stored into service end;And
The login authentication information of the first Wi-Fi hotspot by inquiring from described service end connects described first Wi-Fi hotspot.
Further, in the above-mentioned methods, connected by the second Wi-Fi hotspot or mobile data cube computation inquires about the login authentication information of the first Wi-Fi hotspot from described service end.
Further, in the above-mentioned methods, described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot.
Further, in the above-mentioned methods, the authentication of described first Wi-Fi hotspot includes WPA or WEP mode.
Further, in the above-mentioned methods, included by the step of login authentication information described first Wi-Fi hotspot of connection of the first Wi-Fi hotspot inquired from described service end:
Scan and obtain the first Wi-Fi hotspot;
Whether judgment device is already connected to the Internet,
If being already connected to the Internet, then terminate;
If being not attached to the Internet, then inquiring about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connecting described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and terminating.
Further, in the above-mentioned methods, included by the step of login authentication information described first Wi-Fi hotspot of connection of the first Wi-Fi hotspot inquired from described service end:
Scan and obtain the first Wi-Fi hotspot;
Whether judgment device is already connected to the Internet,
If being already connected to the Internet, then the second Wi-Fi hotspot connection or mobile data cube computation by currently having built up inquire about login authentication information from described service end, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;
If being not attached to the Internet, then inquiring about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connecting described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and terminating.
Further, in the above-mentioned methods, inquire about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connect described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and the step that terminates includes:
Whether judgment device is already connected to the 3rd Wi-Fi hotspot;
If being not attached to the 3rd Wi-Fi hotspot, then set up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;
If being already connected to the 3rd Wi-Fi hotspot, first disconnect the connection of described 3rd Wi-Fi hotspot, resettle mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate.
Another side according to the present invention, it is provided that a kind of Wi-Fi hotspot connection system, including:
Service end, for obtaining and store the login authentication information of the first Wi-Fi hotspot;And
Client, for inquiring about the login authentication information of the first Wi-Fi hotspot from described service end and connecting described first Wi-Fi hotspot.
Further, in said system, described client is connected by the second Wi-Fi hotspot or moves data cube computation inquires about from described service end and obtains the login authentication information of the first Wi-Fi hotspot.
Further, in said system, described client includes:
Scan module, is used for scanning and obtain the first Wi-Fi hotspot;
First judge module, is used for judging whether to be already connected to the Internet;
Directly terminate module, for when being already connected to the Internet, directly performing to terminate;
First link block, for when being not attached to the Internet, inquiring about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connects described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and terminates.
Further, in said system, described client includes:
Scan module, is used for scanning and obtain the first Wi-Fi hotspot;
First judge module, is used for judging whether to be already connected to the Internet;
Second link block, for when being already connected to the Internet, connected by the second Wi-Fi hotspot currently having built up or mobile data cube computation inquires about login authentication information from described service end, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;
First link block, for when being not attached to the Internet, then inquiring about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connects described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and terminates.
Further, in said system, described first link block includes:
Second judging unit, is used for judging whether to be already connected to the 3rd Wi-Fi hotspot,
Connect unit, for setting up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;
Switching units, for disconnecting the connection of described 3rd Wi-Fi hotspot.
Compared with prior art, the present invention is by obtaining the login authentication information of the first Wi-Fi hotspot and being stored into service end, the login authentication information of the first Wi-Fi hotspot by inquiring from described service end connects described first Wi-Fi hotspot, it is possible to automatically obtains the login authentication information of the first Wi-Fi hotspot from service end and is attached.
Additionally, the present invention is connected by the second Wi-Fi hotspot currently having built up or mobile data cube computation inquires about login authentication information from described service end, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate, can when being already connected to the Internet, connect or mobile data cube computation according to current network connecting mode such as the second Wi-Fi hotspot, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end and be attached.
Additionally, whether the present invention is already connected to the 3rd Wi-Fi hotspot by judgment device;If being not attached to the 3rd Wi-Fi hotspot, then set up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;If being already connected to the 3rd Wi-Fi hotspot, first disconnect the connection of described 3rd Wi-Fi hotspot, resettle mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate, can when being not attached to the Internet, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end by setting up mobile data cube computation and be attached.
Accompanying drawing explanation
Fig. 1 is the flow chart of the Wi-Fi hotspot connection method of the embodiment of the present invention one;
Fig. 2 is the flow chart of the Wi-Fi hotspot connection method of the embodiment of the present invention two;
Fig. 3 is the schematic diagram of the Wi-Fi hotspot connection method of the embodiment of the present invention two;
Fig. 4 is the flow chart of the Wi-Fi hotspot connection method of the embodiment of the present invention three;
Fig. 5 is the module diagram of the Wi-Fi hotspot connection system of the embodiment of the present invention four;
Fig. 6 is the module diagram of the Wi-Fi hotspot connection system of the embodiment of the present invention five.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
As it is shown in figure 1, the present invention provides a kind of Wi-Fi hotspot connection method, including:
Step S11, obtains the login authentication information of the first Wi-Fi hotspot and is stored into service end;
Wherein it is possible to the login authentication information by multiple first Wi-Fi hotspot of different location is stored into service end, different user inquiry is facilitated to obtain;
Step S12, inquires about the login authentication information of the first Wi-Fi hotspot from described service end;
Wherein it is possible to inquire about multiple login authentication information stating the first Wi-Fi hotspot according to actual needs simultaneously;
Preferably, can be connected or be inquired about from described service end by mobile data cube computation the login authentication information of the first Wi-Fi hotspot by the second Wi-Fi hotspot, described first Wi-Fi hotspot refers to that subscriber equipment can scan but needs the Wi-Fi hotspot from described service end inquiry login authentication information, described second Wi-Fi hotspot refers to that subscriber equipment can scan and the Wi-Fi hotspot of already known login authentication information, need the equipment connecting the first Wi-Fi hotspot to connect such as through the second Wi-Fi hotspot or mobile data cube computation is connected with service end, with inquiry and the login authentication information obtaining the first Wi-Fi hotspot, described first Wi-Fi hotspot or the second Wi-Fi hotspot can connect Internet (outer net);
Preferably, described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot, wherein, the authentication of described first Wi-Fi hotspot can include WPA mode (Wi-FiProtectedAccessWi-Fi, network security accesses) or WEP mode (WiredEquivalentPrivacy, wired equivalent privacy), described login authentication information is available for user and is called by http mode;
Step S13, connects described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot.
To sum up, the method for the present embodiment automatically can obtain the login authentication information of the first Wi-Fi hotspot from service end and be attached.
Embodiment two
As shown in Figure 2, the present invention provides another kind of Wi-Fi hotspot connection method, the present embodiment and embodiment one are distinctive in that and add whether judgment device is already connected to the step of the Internet, if equipment is already connected to the Internet, then the login authentication information without inquiring about the first Wi-Fi hotspot connects the Internet again, if equipment is not attached to the Internet, then needing the login authentication information of inquiry the first Wi-Fi hotspot to connect the Internet, the present embodiment specifically includes:
Step S21, obtains the login authentication information of the first Wi-Fi hotspot and is stored into service end;
Preferably, described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot, wherein, the authentication of described first Wi-Fi hotspot can include WPA mode (Wi-FiProtectedAccessWi-Fi, network security accesses) or WEP mode (WiredEquivalentPrivacy, wired equivalent privacy);
Step S22, scanning and obtain the first Wi-Fi hotspot, wherein, described first Wi-Fi hotspot refers to that subscriber equipment can scan but needs the Wi-Fi hotspot from described service end inquiry login authentication information, setting up after connecting, described first Wi-Fi hotspot can connect Internet (outer net);
Step S23, it is judged that whether equipment is already connected to the Internet, if being already connected to the Internet, then performs step S30, if being not attached to the Internet, then performs step S24;
Wherein, described equipment includes the intelligent mobile terminal such as mobile phone, PAD, and described equipment supports Wi-Fi hotspot to connect or the mobile data cube computation of 2G, 3G (WCDMA/CDMA2000 etc.);
Step S30, terminates, and now equipment has passed through mobile data cube computation (2G/3G) or other Wi-Fi hotspot are connected to the Internet, then without any operation;
Step S24, it is judged that whether equipment is already connected to the 3rd Wi-Fi hotspot, if being not attached to the 3rd Wi-Fi hotspot, then performing step S26, if being already connected to the 3rd Wi-Fi hotspot, performing step S25;
Wherein, described 3rd Wi-Fi hotspot refers to that can only connect LAN (Intranet) cannot connect Internet (outer net) Wi-Fi hotspot, it is different from the first Wi-Fi hotspot or the second Wi-Fi hotspot, the first Wi-Fi hotspot or the second Wi-Fi hotspot and can connect Internet (outer net);
Step S26, is set up mobile data cube computation, is inquired about the login authentication information of described first Wi-Fi hotspot by described mobile data cube computation from service end;
Step S27, it may be judged whether inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then performs step S28, if not inquiring, then performs step S29;
Step S28, connects described first Wi-Fi hotspot by described login authentication information;
Perform step S24 after step S28, terminate;
It is also preferred that the left can the described login authentication information that inquire be saved in equipment, when connecting next time for user;
Step S29, recovers the initial connection state of described equipment;
Perform step S24 after step S29, terminate;
Wherein, described initial connection state can include equipment and is not attached to the Internet state as being connected to the state of the 3rd Wi-Fi hotspot, being connected to the state of the second Wi-Fi hotspot or the state of mobile data cube computation;
Step S25, disconnects the connection of described 3rd Wi-Fi hotspot;
Perform step S26 after step s25 to step S27, and select to perform step S28 or step S29, and perform step S30.
nullSpecifically,As shown in Figure 3,After user opens the Wi-Fi hotspot scan function of Intelligent mobile equipment,The Intelligent mobile equipment of user scan near have encryption ssid be aaa,Authentication is wep,Bssid(MAC address) for 00:23:a3:25:89:0b the first Wi-Fi hotspot 1.,When user selects to inquire about described service end by mobile data cube computation,Intelligent mobile equipment sends the request setting up mobile data cube computation to operator base station,Described operator base station accepts request and sets up mobile data cube computation 2. for Intelligent mobile equipment,Then 3. described Intelligent mobile equipment can send the request of the login authentication information of inquiry the first Wi-Fi hotspot by mobile data cube computation to described service end,Then 4. described service end sends the login authentication information of the first Wi-Fi hotspot according to request to described Intelligent mobile equipment,Finally,5. described Intelligent mobile equipment can connect described first Wi-Fi hotspot according to the login authentication information of the first Wi-Fi hotspot got.
To sum up, the method for the present embodiment when being not attached to the Internet, can obtain the login authentication information of the first Wi-Fi hotspot from service end by setting up mobile data cube computation and be attached automatically.
Embodiment three
As shown in Figure 4, the present invention provides another kind of Wi-Fi hotspot connection method, even if the present embodiment and embodiment two are distinctive in that equipment is already connected to the Internet, it is also carried out the login authentication information of inquiry the first Wi-Fi hotspot to connect the step of the Internet, so that when the current the Internet connection status being connected is unsatisfied with by user, can obtaining the login authentication information of other Wi-Fi hotspot to be connected to other more suitably Wi-Fi hotspot from service end easily at any time, the present embodiment specifically includes:
Step S31, obtains the login authentication information of the first Wi-Fi hotspot and is stored into service end;
Preferably, described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot, wherein, the authentication of described first Wi-Fi hotspot can include WPA mode (Wi-FiProtectedAccessWi-Fi, network security accesses) or WEP mode (WiredEquivalentPrivacy, wired equivalent privacy);
Step S32, scanning and obtain the first Wi-Fi hotspot, wherein, described first Wi-Fi hotspot refers to that subscriber equipment can scan but needs the Wi-Fi hotspot from described service end inquiry login authentication information, setting up after connecting, described first Wi-Fi hotspot can connect Internet (outer net);
Step S33, it is judged that whether equipment is already connected to the Internet, if being already connected to the Internet, then performs step S34, if being not attached to the Internet, then performs step S35;
Wherein, described equipment includes the intelligent mobile terminal such as mobile phone, PAD, and described equipment supports Wi-Fi hotspot to connect or the mobile data cube computation of 2G, 3G (WCDMA/CDMA2000 etc.);
Step S34, connected by the second Wi-Fi hotspot currently having built up or mobile data cube computation inquires about login authentication information from described service end, namely judge that currently having built up connection is that the second Wi-Fi hotspot connects or mobile data cube computation, if having built up connection is that the second Wi-Fi hotspot connects, then connected by this second Wi-Fi hotspot and inquire about login authentication information from described service end, if having built up connection is mobile data cube computation, then moves data cube computation by this and inquire about login authentication information from described service end;
After step S34, performing step S38, it may be judged whether inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then performing step S39, if not inquiring, then performing step S40;
Step S39, connects described first Wi-Fi hotspot by described login authentication information and terminates;
Step S40, recovers the initial connection state of described equipment and terminates;
Wherein, described initial connection state can include being not attached to the Internet state as being connected to the state of the 3rd Wi-Fi hotspot, being connected to the state of the 3rd Wi-Fi hotspot or the state of mobile data cube computation;
It is also preferred that the left can the described login authentication information that inquire is saved in equipment, use when connecting next time for user;
Step S35, it is judged that whether equipment is already connected to the 3rd Wi-Fi hotspot, if being not attached to the 3rd Wi-Fi hotspot, then performing step S37, if being already connected to the 3rd Wi-Fi hotspot, performing step S36;
Wherein, described 3rd Wi-Fi hotspot refers to that can only connect LAN (Intranet) cannot connect Internet (outer net) Wi-Fi hotspot, it is different from the first Wi-Fi hotspot or the second Wi-Fi hotspot, the first Wi-Fi hotspot or the second Wi-Fi hotspot and can connect Internet (outer net);
Step S37, is set up mobile data cube computation, is inquired about the login authentication information of described first Wi-Fi hotspot by described mobile data cube computation from service end;
Perform step S38 after step S37 and select to perform step S39 or step S40;
Step S36, disconnects the connection of described 3rd Wi-Fi hotspot;
After step S36, perform step S37, step S38 successively and select to perform step S39 or step S40.
The method of the present embodiment can not only when being not attached to the Internet, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end by setting up mobile data cube computation and be attached, and can when being already connected to the Internet, connect or mobile data cube computation according to current network connecting mode such as the second Wi-Fi hotspot, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end and be attached.
Embodiment four
As it is shown in figure 5, the present invention also provides for another kind of Wi-Fi hotspot connection system, including service end 11 and client 12.
Service end 11 is for obtaining and store the login authentication information of the first Wi-Fi hotspot.Preferably, described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot, wherein, the authentication of described first Wi-Fi hotspot can include WPA mode (Wi-FiProtectedAccessWi-Fi, network security accesses) or WEP mode (WiredEquivalentPrivacy, wired equivalent privacy).
Client 12 is for inquiring about the login authentication information of the first Wi-Fi hotspot from described service end and connecting described first Wi-Fi hotspot, wherein, described client 12 can be connected by the second Wi-Fi hotspot or move data cube computation inquires about from described service end 11 and obtains the login authentication information of the first Wi-Fi hotspot, described client is for supporting Android, the handheld device of the operating systems such as Ios or Windowsphone, described handheld device includes mobile phone, the intelligent mobile terminals such as PAD, described handheld device supports that Wi-Fi hotspot connects or 2G, the mobile data cube computation of 3G (WCDMA/CDMA2000 etc.).
Preferably, described client 12 includes scan module the 121, first judge module 122, directly terminates module 123 and the first link block 124.
Scan module 121 is used for scanning and obtain the first Wi-Fi hotspot.Wherein, described first Wi-Fi hotspot refers to that subscriber equipment can scan but needs the Wi-Fi hotspot from described service end inquiry login authentication information, and setting up after connecting, described first Wi-Fi hotspot can connect Internet (outer net).
First judge module 122 is used for judging whether to be already connected to the Internet.
Directly terminate module 123 for when described first judge module 122 is judged as being already connected to the Internet, directly performing to terminate.
First link block 124 is for when described first judge module 122 is judged as being not attached to the Internet, inquire about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connect described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and terminate.
It is also preferred that the left described first link block 124 includes the second judging unit 1241, connects unit 1242 and switching units 1243.
Second judging unit 1241 is used for judging whether to be already connected to the 3rd Wi-Fi hotspot, wherein, described 3rd Wi-Fi hotspot refers to that can only connect LAN (Intranet) cannot connect Internet (outer net) Wi-Fi hotspot, it is different from the first Wi-Fi hotspot or the second Wi-Fi hotspot, first Wi-Fi hotspot or the second Wi-Fi hotspot can connect Internet (outer net), when the second judging unit 1241 determine be already connected to three Wi-Fi hotspot time, mobile data cube computation is set up by connection unit 1242 again disconnected the connection of described 3rd Wi-Fi hotspot by switching units 1243 after, when the second judging unit 1241 determine be not attached to three Wi-Fi hotspot time, directly set up mobile data cube computation by connection unit 1242.
Connect unit 1242 to be used for setting up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate.Wherein, described initial connection state can include equipment and is not attached to the Internet state as being connected to the state of the 3rd Wi-Fi hotspot, being connected to the state of the second Wi-Fi hotspot or the state of mobile data cube computation.
Switching units 1243 for when described second judging unit 1241 determine be already connected to three Wi-Fi hotspot time, disconnect the connection of described 3rd Wi-Fi hotspot, set up mobile data cube computation for follow-up connection unit 1242.
To sum up, the system of the present embodiment when being not attached to the Internet, can obtain the login authentication information of the first Wi-Fi hotspot from service end by setting up mobile data cube computation and be attached automatically.
Embodiment five
As shown in Figure 6, the present invention also provides for a kind of Wi-Fi hotspot connection system, the present embodiment and embodiment four are distinctive in that and replace with the second link block 223 by directly terminating module 123, so that when the current the Internet connection status being connected is unsatisfied with by user, can obtaining the login authentication information of other Wi-Fi hotspot to be connected to other more suitably Wi-Fi hotspot from service end easily at any time, native system specifically includes service end 11 and client 12.
Service end 21 is for obtaining and store the login authentication information of the first Wi-Fi hotspot.Preferably, described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot, wherein, the authentication of described first Wi-Fi hotspot can include WPA mode (access of Wi-FiProtectedAccessWi-Fi network security) or WEP mode (WiredEquivalentPrivacy wired equivalent privacy).
Client 22 is for inquiring about the login authentication information of the first Wi-Fi hotspot from described service end and connecting described first Wi-Fi hotspot, wherein, described client 22 can be connected by the second Wi-Fi hotspot or move data cube computation inquires about from described service end 21 and obtains the login authentication information of the first Wi-Fi hotspot, described client is for supporting Android, the handheld device of the operating systems such as Ios or Windowsphone, , described handheld device includes mobile phone, the intelligent mobile terminals such as PAD, described handheld device supports that Wi-Fi hotspot connects or 2G, the mobile data cube computation of 3G (WCDMA/CDMA2000 etc.)..
Preferably, described client 22 includes scan module the 221, first judge module the 222, second link block 223 and the first link block 224.
Scan module 221 is used for scanning and obtain the first Wi-Fi hotspot.
First judge module 222 is used for judging whether to be already connected to the Internet.Wherein, described first Wi-Fi hotspot refers to that subscriber equipment can scan but needs the Wi-Fi hotspot from described service end inquiry login authentication information, and setting up after connecting, described first Wi-Fi hotspot can connect Internet (outer net).
nullSecond link block 223 is for when described first judge module 222 is judged as being already connected to the Internet,Connected by the second Wi-Fi hotspot currently having built up or mobile data cube computation inquires about login authentication information from described service end,Namely judge that currently having built up connection is that the second Wi-Fi hotspot connects or mobile data cube computation,If having built up connection is that the second Wi-Fi hotspot connects,Then connected by this second Wi-Fi hotspot and inquire about login authentication information from described service end,If having built up connection is mobile data cube computation,Then move data cube computation by this and inquire about login authentication information from described service end,Then judge whether to inquire the login authentication information of described first Wi-Fi hotspot,If inquiring,Then connect described first Wi-Fi hotspot by described login authentication information and terminate,If not inquiring,Then recover the initial connection state of described equipment and terminate.
First link block 224 is for being judged as being not attached to the Internet when described first judge module 222, then inquire about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connect described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and terminate.
It is also preferred that the left described first link block 224 includes the second judging unit 2241, connects unit 2242 and switching units 2243.
Second judging unit 2241 is used for judging whether to be already connected to the 3rd Wi-Fi hotspot.Wherein, described 3rd Wi-Fi hotspot refers to that can only connect LAN (Intranet) cannot connect Internet (outer net) Wi-Fi hotspot, it is different from the first Wi-Fi hotspot or the second Wi-Fi hotspot, first Wi-Fi hotspot or the second Wi-Fi hotspot can connect Internet (outer net), when the second judging unit 1241 determine be already connected to three Wi-Fi hotspot time, mobile data cube computation is set up by connection unit 1242 again disconnected the connection of described 3rd Wi-Fi hotspot by switching units 1243 after, when the second judging unit 1241 determine be not attached to three Wi-Fi hotspot time, directly set up mobile data cube computation by connection unit 1242.
Connect unit 2242 to be used for setting up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate.Wherein, described initial connection state can include equipment and is not attached to the Internet state as being connected to the state of the 3rd Wi-Fi hotspot, being connected to the state of the second Wi-Fi hotspot or the state of mobile data cube computation.
Switching units 2243 for when described second judging unit 2241 determine be already connected to three Wi-Fi hotspot time, disconnect the connection of described 3rd Wi-Fi hotspot, set up mobile data cube computation for follow-up connection unit 1242.
To sum up, the system of the present embodiment can not only when being not attached to the Internet, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end by setting up mobile data cube computation and be attached, and can when being already connected to the Internet, connect or mobile data cube computation according to current network connecting mode such as the second Wi-Fi hotspot, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end and be attached.
The present invention is by obtaining the login authentication information of the first Wi-Fi hotspot and being stored into service end, the login authentication information of the first Wi-Fi hotspot by inquiring from described service end connects described first Wi-Fi hotspot, it is possible to automatically obtains the login authentication information of the first Wi-Fi hotspot from service end and is attached.
Additionally, the present invention is connected by the second Wi-Fi hotspot currently having built up or mobile data cube computation inquires about login authentication information from described service end, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate, can when being already connected to the Internet, connect or mobile data cube computation according to current network connecting mode such as the second Wi-Fi hotspot, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end and be attached.
Additionally, whether the present invention is already connected to the 3rd Wi-Fi hotspot by judgment device;If being not attached to the 3rd Wi-Fi hotspot, then set up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;If being already connected to the 3rd Wi-Fi hotspot, first disconnect the connection of described 3rd Wi-Fi hotspot, resettle mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate, can when being not attached to the Internet, automatically obtain the login authentication information of the first Wi-Fi hotspot from service end by setting up mobile data cube computation and be attached.
In this specification, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to.For system disclosed in embodiment, owing to corresponding to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part.
Professional further appreciates that, the unit of each example described in conjunction with the embodiments described herein and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
Obviously, invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, 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 include these change and modification.

Claims (6)

1. a Wi-Fi hotspot connection method, it is characterised in that including:
Obtain the login authentication information of multiple first Wi-Fi hotspot and be stored into service end, to facilitate different user inquiry to obtain;And
Scan and obtain the first Wi-Fi hotspot, whether judgment device is already connected to the Internet, if being already connected to the Internet, then the second Wi-Fi hotspot connection or mobile data cube computation by currently having built up inquire about login authentication information from described service end, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate, if being not attached to the Internet, then inquire about described service end to obtain the login authentication information of described first Wi-Fi hotspot, login authentication information according to described first Wi-Fi hotspot connects described first Wi-Fi hotspot and terminates.
2. Wi-Fi hotspot connection method as claimed in claim 1, it is characterised in that described login authentication information includes: the login password of the MAC Address of the first Wi-Fi hotspot, the authentication of the first Wi-Fi hotspot and the first Wi-Fi hotspot.
3. Wi-Fi hotspot connection method as claimed in claim 1, it is characterised in that the authentication of described first Wi-Fi hotspot includes WPA or WEP mode.
4. Wi-Fi hotspot connection method as claimed in claim 1, it is characterized in that, inquire about described service end to obtain the login authentication information of described first Wi-Fi hotspot, connect described first Wi-Fi hotspot according to the login authentication information of described first Wi-Fi hotspot and the step that terminates includes:
Whether judgment device is already connected to the 3rd Wi-Fi hotspot;
If being not attached to the 3rd Wi-Fi hotspot, then set up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;
If being already connected to the 3rd Wi-Fi hotspot, first disconnect the connection of described 3rd Wi-Fi hotspot, resettle mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate.
5. a Wi-Fi hotspot connection system, it is characterised in that including:
Service end, for obtaining and store the login authentication information of the first Wi-Fi hotspot;And
Client, for scanning and obtain the first Wi-Fi hotspot, whether judgment device is already connected to the Internet, if being already connected to the Internet, then the second Wi-Fi hotspot connection or mobile data cube computation by currently having built up inquire about login authentication information from described service end, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate, if being not attached to the Internet, then inquire about described service end to obtain the login authentication information of described first Wi-Fi hotspot, login authentication information according to described first Wi-Fi hotspot connects described first Wi-Fi hotspot and terminates.
6. Wi-Fi hotspot connection system as claimed in claim 5, it is characterised in that described client includes the first link block, and wherein, described first link block includes:
Second judging unit, is used for judging whether to be already connected to the 3rd Wi-Fi hotspot;
Connect unit, for setting up mobile data cube computation, inquired about the login authentication information of described first Wi-Fi hotspot from service end by described mobile data cube computation, judge whether to inquire the login authentication information of described first Wi-Fi hotspot, if inquiring, then connect described first Wi-Fi hotspot by described login authentication information and terminate, if not inquiring, then recover the initial connection state of described equipment and terminate;
Switching units, for disconnecting the connection of described 3rd Wi-Fi hotspot.
CN201210169998.9A 2012-05-29 2012-05-29 Wi-Fi hotspot connection method and system Active CN103458404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210169998.9A CN103458404B (en) 2012-05-29 2012-05-29 Wi-Fi hotspot connection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210169998.9A CN103458404B (en) 2012-05-29 2012-05-29 Wi-Fi hotspot connection method and system

Publications (2)

Publication Number Publication Date
CN103458404A CN103458404A (en) 2013-12-18
CN103458404B true CN103458404B (en) 2016-07-13

Family

ID=49740276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210169998.9A Active CN103458404B (en) 2012-05-29 2012-05-29 Wi-Fi hotspot connection method and system

Country Status (1)

Country Link
CN (1) CN103458404B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618991B (en) * 2014-12-31 2017-02-08 上海连尚网络科技有限公司 Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal
CN104486362A (en) * 2014-12-31 2015-04-01 广东顺德中山大学卡内基梅隆大学国际联合研究院 Obtaining method and system for WiFi access point description information
CN104717721B (en) * 2015-02-27 2019-03-05 上海连尚网络科技有限公司 WiFi access system
CN105245540B (en) * 2015-10-27 2019-06-14 深圳市宏电技术股份有限公司 Offline WIFI hot spot authentication method and Verification System based on IOS terminal
CN107371199B (en) * 2016-05-13 2019-10-22 华为技术有限公司 A kind of method, gateway and the system of WLAN switching
CN107277815A (en) * 2017-08-03 2017-10-20 广东欧珀移动通信有限公司 Wifi hotspot management method, device and terminal device
CN107864500A (en) * 2017-08-31 2018-03-30 上海连尚网络科技有限公司 A kind of method and apparatus for connecting into power information for being used to determine WAP
CN108076464B (en) * 2017-12-13 2021-03-19 上海连尚网络科技有限公司 WiFi hotspot connection guiding method, device and medium for terminal
CN108668277B (en) 2018-04-17 2020-01-14 上海连尚网络科技有限公司 Method and equipment for sharing and acquiring information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534531B (en) * 2009-04-02 2011-07-13 中兴通讯股份有限公司 A network switching method and system
CN101711022A (en) * 2009-11-18 2010-05-19 卓望数码技术(深圳)有限公司 Wireless local area network (WLAN) access terminal, WLAN authentication server and WLAN authentication method
CN102448166A (en) * 2011-12-27 2012-05-09 中兴通讯股份有限公司 Location method and system and mobile terminal

Also Published As

Publication number Publication date
CN103458404A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103458404B (en) Wi-Fi hotspot connection method and system
KR101467780B1 (en) Method for handover between heterogeneous radio access networks
JP5523632B2 (en) WiFi communication implementation method, user equipment, and wireless router
US8358627B2 (en) Radio communication system, radio communication method, and mobile station
CN104394579B (en) A kind of information processing method and electronic equipment
JP5305453B2 (en) Wireless LAN high-speed roaming system, high-speed roaming method, and high-speed roaming program
JP4714261B2 (en) Optimal selection of communication networks in the location area of terminal equipment
CN104853448A (en) Method for automatically establishing wireless connection and device thereof
CN103338483A (en) Data distribution method, data distribution device and heterogeneous network
CN103002511A (en) Data distribution triggering method, network side equipment, user equipment and network system
CN103327644A (en) Method and equipment for wireless connection
CN104394522A (en) Establishment method and establishment device of communication links
NO337392B1 (en) Method Device for Effective Delivery of Additional Services to Multipurpose Wireless Transmitter / Receiver Devices
CN111182657B (en) Tunnel negotiation establishment method and device
CN104170416A (en) Online subscription data configuration method, device, and system
CN101938745B (en) Roaming handover method and device thereof
CN104540185A (en) Network access method, access gateway and access control device
WO2014209194A1 (en) Methods and network nodes for enhanced mobility between mobile communications networks
CN104717709A (en) Network switching method and device
CN103281692B (en) Method for fast roaming between a kind of AC and equipment
CN103517339A (en) System for realizing data traffic shunting by WLAN, equipment and method
WO2008140325A2 (en) Methods and devices for initiating handover, discovering candidates access points and initiating authentication of a wireless terminal in a wireless network
CN105101274B (en) The configuration method and device of message pass-through mode
EP3111611B1 (en) A node and a method for enabling network access authorization
CN105556866A (en) Method to set up a wireless communication connection and electronic device utilizing the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHANGHAI ZHANGMEN TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SHENGYUE INFORMATION TECHNOLOGY (SHANGHAI) CO., LTD.

Effective date: 20140416

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201203 PUDONG NEW AREA, SHANGHAI TO: 201821 JIADING, SHANGHAI

TA01 Transfer of patent application right

Effective date of registration: 20140416

Address after: 201821, room 5358, 140 Shanghai Yi Road, Shanghai, Jiading District

Applicant after: SHANGHAI ZHANGMEN TECHNOLOGY CO., LTD.

Address before: 201203 Shanghai Guo Shou Jing Road, Zhangjiang High Tech Park of Pudong New Area No. 356 building 3 Room 102

Applicant before: Shengle Information Technology (Shanghai) Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant