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

Wi-Fi hotspot connection method and system Download PDF

Info

Publication number
CN103458404A
CN103458404A CN2012101699989A CN201210169998A CN103458404A CN 103458404 A CN103458404 A CN 103458404A CN 2012101699989 A CN2012101699989 A CN 2012101699989A CN 201210169998 A CN201210169998 A CN 201210169998A CN 103458404 A CN103458404 A CN 103458404A
Authority
CN
China
Prior art keywords
wifi focus
authentication information
login authentication
inquire
focus
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
CN2012101699989A
Other languages
Chinese (zh)
Other versions
CN103458404B (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
Shengle Information Technolpogy Shanghai 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 Shengle Information Technolpogy Shanghai Co Ltd filed Critical Shengle Information Technolpogy Shanghai 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

Images

Abstract

The invention relates to a Wi-Fi hotspot connection method and system. The method includes: acquiring login authentication information of a first Wi-Fi hotspot and storing the information in a server, and connecting to the first Wi-Fi hotspot according to the login authentication information of the first Wi-Fi hotspot, queried from the server. The method and system has the advantages that the login authentication information of the first Wi-Fi hotspot, acquired from the server, and connection is made.

Description

The method of attachment of WiFi focus and system
Technical field
The present invention relates to the method for attachment of a kind of WiFi focus and system.
Background technology
Along with the high speed of various hand-held intelligent equipment is universal, Supporting connectivity WiFi focus has become the standard configuration function of all kinds of hand-held intelligent equipment.Although the user uses smart machine can scan near WiFi focus, but, if the user wants to be connected near the WiFi focus that these scan, also need to know the login authentication information of these WiFi focuses, yet the user can't obtain the login authentication information of these WiFi focuses usually at present, therefore can cause the problem that can't be networked with the WiFi focus on the hand-held intelligent equipment of oneself.
Summary of the invention
The object of the present invention is to provide the method for attachment of a kind of WiFi focus and system, can automatically from service end, obtain the login authentication information of WiFi focus and be connected.
For addressing the above problem, the invention provides the method for attachment of a kind of WiFi focus, comprising:
Obtain the login authentication information of a WiFi focus and be stored into service end; And
Login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus.
Further, in said method, by the 2nd WiFi focus connection or Mobile data, connect from the login authentication information of described service end inquiry the one WiFi focus.
Further, in said method, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus.
Further, in said method, the authentication of a described WiFi focus comprises WPA or WEP mode.
Further, in said method, the step that the login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus comprises:
Scan and obtain a WiFi focus;
Whether judgment device has been connected to the Internet,
If be connected to the Internet, finish;
If be not connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, connect a described WiFi focus and finish according to the login authentication information of a described WiFi focus.
Further, in said method, the step that the login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus comprises:
Scan and obtain a WiFi focus;
Whether judgment device has been connected to the Internet,
If be connected to the Internet, by current the 2nd WiFi focus connection of having set up or Mobile data, connect from described service end inquiry login authentication information, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
If be not connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, connect a described WiFi focus and finish according to the login authentication information of a described WiFi focus.
Further, in said method, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connect a described WiFi focus and the step that finishes comprises:
Whether judgment device has been connected to the 3rd WiFi focus;
If be not connected to the 3rd WiFi focus, setting up Mobile data connects, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
If be connected to the 3rd WiFi focus, first disconnect the connection of described the 3rd WiFi focus, setting up Mobile data connects again, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish.
According to another side of the present invention, a kind of WiFi focus connected system is provided, comprising:
Service end, for obtaining and store the login authentication information of a WiFi focus; And
Client, for inquiring about the login authentication information of a WiFi focus and connect a described WiFi focus from described service end.
Further, in said system, described client connects by the 2nd WiFi focus or Mobile data connects the login authentication information of inquiring about and obtain a WiFi focus from described service end.
Further, in said system, described client comprises:
Scan module, for scanning and obtain a WiFi focus;
The first judge module, for judging whether to be connected to the Internet;
Directly finish module, for when being connected to the Internet, directly carrying out and finish;
The first link block, for when not being connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connects a described WiFi focus and finish.
Further, in said system, described client comprises:
Scan module, for scanning and obtain a WiFi focus;
The first judge module, for judging whether to be connected to the Internet;
The second link block, for when being connected to the Internet, by current the 2nd WiFi focus connection of having set up or Mobile data, connect from described service end inquiry login authentication information, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
The first link block, for ought not being connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connects a described WiFi focus and finish.
Further, in said system, described the first link block comprises:
The second judging unit, be connected to the 3rd WiFi focus for judging whether,
Linkage unit, for setting up Mobile data, connect, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
Switching units, for disconnecting the connection of described the 3rd WiFi focus.
Compared with prior art, the login authentication information of the present invention by obtaining a WiFi focus also is stored into service end, login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus, can automatically from service end, obtain the login authentication information of a WiFi focus and be connected.
In addition, the present invention connects by current the 2nd WiFi focus of having set up or Mobile data connects from described service end inquiry login authentication information, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish, can be in the situation that be connected to the Internet, according to current network connecting mode, as the 2nd WiFi focus, connect or the Mobile data connection, automatically obtain the login authentication information of a WiFi focus and connected from service end.
In addition, whether the present invention has been connected to the 3rd WiFi focus by judgment device, if be not connected to the 3rd WiFi focus, setting up Mobile data connects, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish, if be connected to the 3rd WiFi focus, first disconnect the connection of described the 3rd WiFi focus, setting up Mobile data connects again, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish, can be in the situation that be connected to the Internet, automatically obtain the login authentication information of a WiFi focus and connected from service end by setting up the Mobile data connection.
The accompanying drawing explanation
Fig. 1 is the flow chart of the WiFi focus method of attachment of the embodiment of the present invention one;
Fig. 2 is the flow chart of the WiFi focus method of attachment of the embodiment of the present invention two;
Fig. 3 is the schematic diagram of the WiFi focus method of attachment of the embodiment of the present invention two;
Fig. 4 is the flow chart of the WiFi focus method of attachment of the embodiment of the present invention three;
Fig. 5 is the module diagram of the WiFi focus connected system of the embodiment of the present invention four;
Fig. 6 is the module diagram of the WiFi focus connected system of the embodiment of the present invention five.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment mono-
As shown in Figure 1, the invention provides the method for attachment of a kind of WiFi focus, comprising:
Step S11, obtain the login authentication information of a WiFi focus and be stored into service end;
Wherein, the login authentication information of a plurality of WiFi focuses of different location can be stored into to service end, facilitate the different user inquiry to obtain;
Step S12, from the login authentication information of described service end inquiry the one WiFi focus;
Wherein, can inquire about according to actual needs a plurality of login authentication information of stating a WiFi focus simultaneously;
Preferably, can connect or connect from the login authentication information of described service end inquiry the one WiFi focus by Mobile data by the 2nd WiFi focus, a described WiFi focus refers to that subscriber equipment can scan but need to inquire about from described service end the WiFi focus of login authentication information, described the 2nd WiFi focus refers to that subscriber equipment can scan and know the WiFi focus of login authentication information, need the equipment that connects a WiFi focus to connect and to be connected with service end by the 2nd WiFi focus connection or Mobile data, to inquire about and to obtain the login authentication information of a WiFi focus, a described WiFi focus or the 2nd WiFi focus can connect Internet (outer net),
Preferably, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus, wherein, the authentication of a described WiFi focus can comprise WPA mode (Wi-Fi Protected AccessWi-Fi, the network security access) or WEP mode (Wired Equivalent Privacy, wired equivalent privacy), described login authentication information can be called by the http mode for the user;
Step S13, connect a described WiFi focus according to the login authentication information of a described WiFi focus.
To sum up, the method for the present embodiment can automatically be obtained the login authentication information of a WiFi focus and be connected from service end.
Embodiment bis-
As shown in Figure 2, the invention provides the method for attachment of another kind of WiFi focus, the difference of the present embodiment and embodiment mono-has been to increase the step whether judgment device has been connected to the Internet, if equipment has been connected to the Internet, without the login authentication information connecting Internet again of inquiry the one WiFi focus, if equipment is not connected to the Internet, need the login authentication information of inquiring about a WiFi focus to carry out connecting Internet, the present embodiment specifically comprises:
Step S21, obtain the login authentication information of a WiFi focus and be stored into service end;
Preferably, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus, wherein, the authentication of a described WiFi focus can comprise WPA mode (Wi-Fi Protected AccessWi-Fi, the network security access) or WEP mode (Wired Equivalent Privacy, wired equivalent privacy);
Step S22, scan and obtain a WiFi focus, wherein, a described WiFi focus refers to that subscriber equipment can scan but need to inquire about from described service end the WiFi focus of login authentication information, after connecting, a described WiFi focus can connect Internet (outer net);
Step S23, whether judgment device has been connected to the Internet, if be connected to the Internet, performs step S30, if be not connected to the Internet, performs step S24;
Wherein, described equipment comprises the intelligent mobile terminals such as mobile phone, PAD, and described equipment supports WiFi focus connection or 2G, 3G (WCDMA/CDMA2000 etc.) Mobile data to connect;
Step S30, finish, and now equipment connects (2G/3G) by Mobile data or other WiFi focuses are connected to the Internet, without any operation;
Step S24, whether judgment device has been connected to the 3rd WiFi focus, if be not connected to the 3rd WiFi focus, performs step S26, if be connected to the 3rd WiFi focus, execution step S25;
Wherein, described the 3rd WiFi focus refers to that can only connect local area network (LAN) (Intranet) can't connect Internet (outer net) WiFi focus, be different from a WiFi focus or the 2nd WiFi focus, a WiFi focus or the 2nd WiFi focus can connect Internet (outer net);
Step S26, set up Mobile data and connect, and connects the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data;
Step S27, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, performs step S28, if do not inquire, performs step S29;
Step S28, connect a described WiFi focus by described login authentication information;
Perform step S24 after step S28, finish;
Preferably, the described login authentication information inquired can be kept in equipment, while connecting next time for the user;
Step S29, recover the initial connection status of described equipment;
Perform step S24 after step S29, finish;
Wherein, described initial connection status can comprise that equipment is not connected to the state that the Internet state connects as the state that is connected to the 3rd WiFi focus, the state that is connected to the 2nd WiFi focus or Mobile data;
Step S25, disconnect the connection of described the 3rd WiFi focus;
Perform step S26 to step S27 after step S25, and select execution step S28 or step S29, and execution step S30.
Specifically, as shown in Figure 3, after the user opens the WiFi hot spot scanning function of Intelligent mobile equipment, it is aaa that the ssid of encryption is arranged near user's Intelligent mobile equipment scans, authentication is wep, the bssid(MAC address) be 00:23:a3:25:89:0b a WiFi focus 1., when the user selects to connect to inquire about described service end by Mobile data, Intelligent mobile equipment sends the request that Mobile data connects of setting up to the operator base station, described operator base station accepts request and sets up Mobile data for Intelligent mobile equipment and connect 2., described Intelligent mobile equipment can by Mobile data connect to described service end send the inquiry the one WiFi focus login authentication information request 3., then the login authentication information that described service end sends a WiFi focus according to request to described Intelligent mobile equipment 4., finally, 5. described Intelligent mobile equipment can connect a described WiFi focus according to the login authentication information of the WiFi focus got.
To sum up, the method for the present embodiment can be in the situation that be connected to the Internet, by setting up Mobile data, connects and automatically from service end, obtain the login authentication information of a WiFi focus and connected.
Embodiment tri-
As shown in Figure 4, the invention provides the method for attachment of another kind of WiFi focus, even the difference of the present embodiment and embodiment bis-is equipment and has been connected to the Internet, also inquired about the step of the login authentication information of a WiFi focus with connecting Internet, so that the user is when dissatisfied to the current the Internet connection status connected, the login authentication information that can obtain other WiFi focus from service end easily at any time is to be connected to other more suitably WiFi focus, and the present embodiment specifically comprises:
Step S31, obtain the login authentication information of a WiFi focus and be stored into service end;
Preferably, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus, wherein, the authentication of a described WiFi focus can comprise WPA mode (Wi-Fi Protected AccessWi-Fi, the network security access) or WEP mode (Wired Equivalent Privacy, wired equivalent privacy);
Step S32, scan and obtain a WiFi focus, wherein, a described WiFi focus refers to that subscriber equipment can scan but need to inquire about from described service end the WiFi focus of login authentication information, after connecting, a described WiFi focus can connect Internet (outer net);
Step S33, whether judgment device has been connected to the Internet, if be connected to the Internet, performs step S34, if be not connected to the Internet, performs step S35;
Wherein, described equipment comprises the intelligent mobile terminals such as mobile phone, PAD, and described equipment supports WiFi focus connection or 2G, 3G (WCDMA/CDMA2000 etc.) Mobile data to connect;
Step S34; by current the 2nd WiFi focus connection of having set up or Mobile data, connect from described service end inquiry login authentication information; judge that current the 2nd WiFi focus that connected connects or Mobile data connects; if connected, be that the 2nd WiFi focus connects; by the 2nd WiFi focus, connect from described service end inquiry login authentication information; be that Mobile data connects if connected, connect from described service end inquiry login authentication information by this Mobile data;
After step S34, perform step S38, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, perform step S39, if do not inquire, perform step S40;
Step S39, connect a described WiFi focus and finish by described login authentication information;
Step S40, recover the initial connection status of described equipment and finish;
Wherein, described initial connection status can comprise the state that the Internet state connects as the state that is connected to the 3rd WiFi focus, the state that is connected to the 3rd WiFi focus or Mobile data that is not connected to;
Preferably, the described login authentication information inquired can be kept in equipment, use while connecting next time for the user;
Step S35, whether judgment device has been connected to the 3rd WiFi focus, if be not connected to the 3rd WiFi focus, performs step S37, if be connected to the 3rd WiFi focus, execution step S36;
Wherein, described the 3rd WiFi focus refers to that can only connect local area network (LAN) (Intranet) can't connect Internet (outer net) WiFi focus, be different from a WiFi focus or the 2nd WiFi focus, a WiFi focus or the 2nd WiFi focus can connect Internet (outer net);
Step S37, set up Mobile data and connect, and connects the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data;
Perform step S38 after step S37 and select execution step S39 or step S40;
Step S36, disconnect the connection of described the 3rd WiFi focus;
After step S36, perform step successively S37, step S38 and select execution step S39 or step S40.
The method of the present embodiment not only can be in the situation that be connected to the Internet, automatically obtain the login authentication information of a WiFi focus and connected from service end by setting up the Mobile data connection, and can be in the situation that be connected to the Internet, connect as the 2nd WiFi focus or the Mobile data connection according to current network connecting mode, automatically from service end, obtain the login authentication information of a WiFi focus and connected.
Embodiment tetra-
As shown in Figure 5, the present invention also provides another kind of WiFi focus connected system, comprises service end 11 and client 12.
Service end 11 is for obtaining and store the login authentication information of a WiFi focus.Preferably, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus, wherein, the authentication of a described WiFi focus can comprise WPA mode (Wi-Fi Protected AccessWi-Fi, the network security access) or WEP mode (Wired Equivalent Privacy, wired equivalent privacy).
Client 12 is for the login authentication information from described service end inquiry the one WiFi focus and connect a described WiFi focus, wherein, described client 12 can connect the login authentication information of inquiring about and obtain a WiFi focus from described service end 11 by the 2nd WiFi focus connection or Mobile data, described client is for supporting Android, the handheld device of the operating systems such as Ios or Windows phone, described handheld device comprises mobile phone, the intelligent mobile terminals such as PAD, described handheld device supports the WiFi focus to connect or 2G, 3G (WCDMA/CDMA2000 etc.) Mobile data connects.
Preferably, described client 12 comprises scan module 121, the first judge module 122, directly finishes module 123 and the first link block 124.
Scan module 121 is for scanning and obtain a WiFi focus.Wherein, it is that subscriber equipment can scan but need to be from the WiFi focus of described service end inquiry login authentication information that a described WiFi focus refers to, after connecting, a described WiFi focus can connect Internet (outer net).
The first judge module 122 is for judging whether to be connected to the Internet.
When directly end module 123 is connected to the Internet for being judged as when described the first judge module 122, directly carries out and finish.
When the first link block 124 is not connected to the Internet for being judged as when described the first judge module 122, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connect a described WiFi focus and finish.
Preferably, described the first link block 124 comprises the second judging unit 1241, linkage unit 1242 and switching units 1243.
The second judging unit 1241 is connected to the 3rd WiFi focus for judging whether, wherein, described the 3rd WiFi focus refers to that can only connect local area network (LAN) (Intranet) can't connect Internet (outer net) WiFi focus, be different from a WiFi focus or the 2nd WiFi focus, the one WiFi focus or the 2nd WiFi focus can connect Internet (outer net), when the second judging unit 1241 determines while being connected to the 3rd WiFi focus, by after the connection of described the 3rd WiFi focus of switching units 1243 disconnection, setting up Mobile data by linkage unit 1242 again, connect, when the second judging unit 1241 determines while not being connected to the 3rd WiFi focus, directly by linkage unit 1242, setting up Mobile data connects.
Linkage unit 1242 connects for setting up Mobile data, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish.Wherein, described initial connection status can comprise that equipment is not connected to the state that the Internet state connects as the state that is connected to the 3rd WiFi focus, the state that is connected to the 2nd WiFi focus or Mobile data.
When switching units 1243 is connected to the 3rd WiFi focus for determining when described the second judging unit 1241, disconnect the connection of described the 3rd WiFi focus, set up Mobile data for follow-up linkage unit 1242 and connect.
To sum up, the system of the present embodiment can be in the situation that be connected to the Internet, by setting up Mobile data, connects and automatically from service end, obtain the login authentication information of a WiFi focus and connected.
Embodiment five
As shown in Figure 6, the present invention also provides a kind of WiFi focus connected system, the difference of the present embodiment and embodiment tetra-is to replace with the second link block 223 by directly finishing module 123, so that the user is when dissatisfied to the current the Internet connection status connected, the login authentication information that can obtain other WiFi focus from service end easily at any time is to be connected to other more suitably WiFi focus, and native system specifically comprises service end 11 and client 12.
Service end 21 is for obtaining and store the login authentication information of a WiFi focus.Preferably, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus, wherein, the authentication of a described WiFi focus can comprise WPA mode (access of Wi-Fi Protected AccessWi-Fi network security) or WEP mode (Wired Equivalent Privacy wired equivalent privacy).
Client 22 is for the login authentication information from described service end inquiry the one WiFi focus and connect a described WiFi focus, wherein, described client 22 can connect the login authentication information of inquiring about and obtain a WiFi focus from described service end 21 by the 2nd WiFi focus connection or Mobile data, described client is for supporting Android, the handheld device of the operating systems such as Ios or Windows phone, , described handheld device comprises mobile phone, the intelligent mobile terminals such as PAD, described handheld device supports the WiFi focus to connect or 2G, 3G (WCDMA/CDMA2000 etc.) Mobile data connects.。
Preferably, described client 22 comprises scan module 221, the first judge module 222, the second link block 223 and the first link block 224.
Scan module 221 is for scanning and obtain a WiFi focus.
The first judge module 222 is for judging whether to be connected to the Internet.Wherein, it is that subscriber equipment can scan but need to be from the WiFi focus of described service end inquiry login authentication information that a described WiFi focus refers to, after connecting, a described WiFi focus can connect Internet (outer net).
When the second link block 223 is connected to the Internet for being judged as when described the first judge module 222, by current the 2nd WiFi focus connection of having set up or Mobile data, connect from described service end inquiry login authentication information, judge that current the 2nd WiFi focus that connected connects or Mobile data connects, if connected, be that the 2nd WiFi focus connects, by the 2nd WiFi focus, connect from described service end inquiry login authentication information, if connected, be that Mobile data connects, by this Mobile data, connect from described service end inquiry login authentication information, then judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish.
The first link block 224 is for being judged as and not being connected to the Internet when described the first judge module 222, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connect a described WiFi focus and finish.
Preferably, described the first link block 224 comprises the second judging unit 2241, linkage unit 2242 and switching units 2243.
The second judging unit 2241 is connected to the 3rd WiFi focus for judging whether.Wherein, described the 3rd WiFi focus refers to that can only connect local area network (LAN) (Intranet) can't connect Internet (outer net) WiFi focus, be different from a WiFi focus or the 2nd WiFi focus, the one WiFi focus or the 2nd WiFi focus can connect Internet (outer net), when the second judging unit 1241 determines while being connected to the 3rd WiFi focus, by after the connection of described the 3rd WiFi focus of switching units 1243 disconnection, setting up Mobile data by linkage unit 1242 again, connect, when the second judging unit 1241 determines while not being connected to the 3rd WiFi focus, directly by linkage unit 1242, setting up Mobile data connects.
Linkage unit 2242 connects for setting up Mobile data, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish.Wherein, described initial connection status can comprise that equipment is not connected to the state that the Internet state connects as the state that is connected to the 3rd WiFi focus, the state that is connected to the 2nd WiFi focus or Mobile data.
When switching units 2243 is connected to the 3rd WiFi focus for determining when described the second judging unit 2241, disconnect the connection of described the 3rd WiFi focus, set up Mobile data for follow-up linkage unit 1242 and connect.
To sum up, the system of the present embodiment not only can be in the situation that be connected to the Internet, automatically obtain the login authentication information of a WiFi focus and connected from service end by setting up the Mobile data connection, and can be in the situation that be connected to the Internet, connect as the 2nd WiFi focus or the Mobile data connection according to current network connecting mode, automatically from service end, obtain the login authentication information of a WiFi focus and connected.
The login authentication information of the present invention by obtaining a WiFi focus also is stored into service end, login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus, can automatically from service end, obtain the login authentication information of a WiFi focus and be connected.
In addition, the present invention connects by current the 2nd WiFi focus of having set up or Mobile data connects from described service end inquiry login authentication information, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish, can be in the situation that be connected to the Internet, according to current network connecting mode, as the 2nd WiFi focus, connect or the Mobile data connection, automatically obtain the login authentication information of a WiFi focus and connected from service end.
In addition, whether the present invention has been connected to the 3rd WiFi focus by judgment device, if be not connected to the 3rd WiFi focus, setting up Mobile data connects, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish, if be connected to the 3rd WiFi focus, first disconnect the connection of described the 3rd WiFi focus, setting up Mobile data connects again, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish, can be in the situation that be connected to the Internet, automatically obtain the login authentication information of a WiFi focus and connected from service end by setting up the Mobile data connection.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For the disclosed system of embodiment, owing to corresponding to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates and gets final product referring to method.
The professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention invention.Like this, if, within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these change and modification.

Claims (12)

1. WiFi focus method of attachment, is characterized in that, comprising:
Obtain the login authentication information of a WiFi focus and be stored into service end; And
Login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus.
2. WiFi focus as claimed in claim 1 method of attachment, is characterized in that, by the 2nd WiFi focus connection or Mobile data, connects from the login authentication information of described service end inquiry the one WiFi focus.
3. WiFi focus as claimed in claim 1 method of attachment, is characterized in that, described login authentication information comprises: the authentication of the MAC Address of a WiFi focus, a WiFi focus and the login password of a WiFi focus.
4. WiFi focus as claimed in claim 1 method of attachment, is characterized in that, the authentication of a described WiFi focus comprises WPA or WEP mode.
5. WiFi focus as claimed in claim 1 method of attachment, is characterized in that, the step that the login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus comprises:
Scan and obtain a WiFi focus;
Whether judgment device has been connected to the Internet,
If be connected to the Internet, finish;
If be not connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, connect a described WiFi focus and finish according to the login authentication information of a described WiFi focus.
6. WiFi focus as claimed in claim 1 method of attachment, is characterized in that, the step that the login authentication information by the WiFi focus that inquires from described service end connects a described WiFi focus comprises:
Scan and obtain a WiFi focus;
Whether judgment device has been connected to the Internet,
If be connected to the Internet, by current the 2nd WiFi focus connection of having set up or Mobile data, connect from described service end inquiry login authentication information, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
If be not connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, connect a described WiFi focus and finish according to the login authentication information of a described WiFi focus.
7. WiFi focus as described as claim 5 or 6 method of attachment, it is characterized in that, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connect a described WiFi focus and the step that finishes comprises:
Whether judgment device has been connected to the 3rd WiFi focus;
If be not connected to the 3rd WiFi focus, setting up Mobile data connects, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
If be connected to the 3rd WiFi focus, first disconnect the connection of described the 3rd WiFi focus, setting up Mobile data connects again, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish.
8. a WiFi focus connected system, is characterized in that, comprising:
Service end, for obtaining and store the login authentication information of a WiFi focus; And
Client, for inquiring about the login authentication information of a WiFi focus and connect a described WiFi focus from described service end.
9. WiFi focus connected system as claimed in claim 8, is characterized in that, described client connects by the 2nd WiFi focus or Mobile data connects the login authentication information of inquiring about and obtain a WiFi focus from described service end.
10. WiFi focus connected system as claimed in claim 8, is characterized in that, described client comprises:
Scan module, for scanning and obtain a WiFi focus;
The first judge module, for judging whether to be connected to the Internet;
Directly finish module, for when being connected to the Internet, directly carrying out and finish;
The first link block, for when not being connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connects a described WiFi focus and finish.
11. WiFi focus connected system as claimed in claim 8, is characterized in that, described client comprises:
Scan module, for scanning and obtain a WiFi focus;
The first judge module, for judging whether to be connected to the Internet;
The second link block, for when being connected to the Internet, by current the 2nd WiFi focus connection of having set up or Mobile data, connect from described service end inquiry login authentication information, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
The first link block, for ought not being connected to the Internet, inquire about described service end to obtain the login authentication information of a described WiFi focus, according to the login authentication information of a described WiFi focus, connects a described WiFi focus and finish.
12. WiFi focus connected system as described as claim 10 or 11, is characterized in that, described the first link block comprises:
The second judging unit, be connected to the 3rd WiFi focus for judging whether,
Linkage unit, for setting up Mobile data, connect, connect the login authentication information of from service end, inquiring about a described WiFi focus by described Mobile data, judge whether to inquire the login authentication information of a described WiFi focus, if inquire, by described login authentication information, connect a described WiFi focus and finish, if do not inquire, recover the initial connection status of described equipment and finish;
Switching units, for disconnecting the connection of described the 3rd WiFi focus.
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 true CN103458404A (en) 2013-12-18
CN103458404B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486362A (en) * 2014-12-31 2015-04-01 广东顺德中山大学卡内基梅隆大学国际联合研究院 Obtaining method and system for WiFi access point description information
CN104618991A (en) * 2014-12-31 2015-05-13 上海连尚网络科技有限公司 Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal
CN104717721A (en) * 2015-02-27 2015-06-17 上海连尚网络科技有限公司 Wifi access system
CN105245540A (en) * 2015-10-27 2016-01-13 深圳市宏电技术股份有限公司 Offline WIFI (Wireless Fidelity) hotspot authentication method and system based on IOS (Iphone Operating System) terminal
CN107277815A (en) * 2017-08-03 2017-10-20 广东欧珀移动通信有限公司 Wifi hotspot management method, device and terminal device
CN107371199A (en) * 2016-05-13 2017-11-21 华为技术有限公司 A kind of method, gateway and the system of WLAN switching
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
CN108076464A (en) * 2017-12-13 2018-05-25 上海连尚网络科技有限公司 A kind of Wi-Fi hotspot connection bootstrap technique, equipment and medium in terminal
WO2019200966A1 (en) * 2018-04-17 2019-10-24 上海连尚网络科技有限公司 Method and apparatus for sharing and acquiring information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534531A (en) * 2009-04-02 2009-09-16 中兴通讯股份有限公司 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534531A (en) * 2009-04-02 2009-09-16 中兴通讯股份有限公司 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

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618991A (en) * 2014-12-31 2015-05-13 上海连尚网络科技有限公司 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
CN104618991B (en) * 2014-12-31 2017-02-08 上海连尚网络科技有限公司 Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal
CN104717721B (en) * 2015-02-27 2019-03-05 上海连尚网络科技有限公司 WiFi access system
CN104717721A (en) * 2015-02-27 2015-06-17 上海连尚网络科技有限公司 Wifi access system
CN105245540A (en) * 2015-10-27 2016-01-13 深圳市宏电技术股份有限公司 Offline WIFI (Wireless Fidelity) hotspot authentication method and system based on IOS (Iphone Operating System) terminal
CN107371199A (en) * 2016-05-13 2017-11-21 华为技术有限公司 A kind of method, gateway and the system of WLAN switching
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
CN108076464A (en) * 2017-12-13 2018-05-25 上海连尚网络科技有限公司 A kind of Wi-Fi hotspot connection bootstrap technique, equipment and medium in terminal
WO2019200966A1 (en) * 2018-04-17 2019-10-24 上海连尚网络科技有限公司 Method and apparatus for sharing and acquiring information
US11588642B2 (en) 2018-04-17 2023-02-21 Shanghai Lianshang Network Technology Co., Ltd. Method and apparatus for sharing and acquiring information

Also Published As

Publication number Publication date
CN103458404B (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN103458404A (en) Wi-Fi hotspot connection method and system
CN105323757B (en) Anti-network-rubbing wireless routing equipment and method
CN104254070B (en) WiFi cut-in method, intelligent terminal and routing device
CN104394579B (en) A kind of information processing method and electronic equipment
CN104871578B (en) Method, user equipment and network entity for the integrated UE accessibilities instructions of WI-FI in the ran
EP1868323A1 (en) Connection parameter setting system, method thereof, access point, server, radio terminal, and parameter setting device
JP5305453B2 (en) Wireless LAN high-speed roaming system, high-speed roaming method, and high-speed roaming program
CN104853448A (en) Method for automatically establishing wireless connection and device thereof
CN103813474A (en) Method for mobile terminal to be automatically connected with WLAN
JP2011501554A (en) Handover method between heterogeneous radio access networks
CN103338483A (en) Data distribution method, data distribution device and heterogeneous network
CN103037477A (en) Method, server side and client side of family media device accessing to wireless fidelity (wifi) hotspot
US20140365669A1 (en) Device and Method for Associating with WiFi Networks
CN102307374B (en) The changing method of Web TV wireless network
CN107071867A (en) Wireless network access method, Wifi access points and terminal
US20150244810A1 (en) Communication apparatus and network connection method
KR20140010206A (en) Apparatus and method for connecting wireless network in consideration of radio frequency band
US20130304879A1 (en) Configuration of an end device for an access to a wireless communication network
WO2016095186A1 (en) Method and device for device configuration
CN106211273A (en) The method of attachment of a kind of wifi hotspot and device
CN103281692B (en) Method for fast roaming between a kind of AC and equipment
CN110601986A (en) Router supporting peripheral control over mobile terminal equipment, control method and device
CN107124744A (en) A kind of method for switching network and WAP
EP3111611B1 (en) A node and a method for enabling network access authorization
CN104754689B (en) home gateway access management method and system

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