CN103297966B - Realize the access authentication method and device of WLAN - Google Patents
Realize the access authentication method and device of WLAN Download PDFInfo
- Publication number
- CN103297966B CN103297966B CN201210047342.XA CN201210047342A CN103297966B CN 103297966 B CN103297966 B CN 103297966B CN 201210047342 A CN201210047342 A CN 201210047342A CN 103297966 B CN103297966 B CN 103297966B
- Authority
- CN
- China
- Prior art keywords
- continuity testing
- wlan
- login
- logging
- program
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of access authentication method and device for realizing WLAN, belong to wireless communication field.Methods described includes:It is the access point progress continuity testing of Wireless Fidelity WIFI accesses to access way;If the continuity testing is not by opening logging program, opening login page by the automatic calling system browser of the logging program or browser control part, user is completed the register of WLAN in the login page.Described device includes:First test module and login module.The present invention opens login page by the automatic calling system browser of logging program or browser control part, user is set to complete the register of WLAN in login page, not only realize and WIFI accesses are authenticated using unified method, also family can be used to complete login process in original login page, be advantageous to cognition of the user to accessed network, improve the experience of user.
Description
Technical field
The present invention relates to wireless communication field, more particularly to a kind of access authentication method and dress for realizing WLAN
Put.
Background technology
With the development of radio network technique, have become reality, particularly WLAN using mobile terminal Internet access
The development of (Wireless Local Area Network, WLAN), make mobile terminal (such as:Mobile phone) can be same
Computer is the same to be connected to internet in the wireless local area network.In order that mobile terminal can smoothly access WLAN,
Mobile terminal needs to carry out the access authentication of WLAN when accessing WLAN, thus how to carry out access and recognize
Card turns into the principal element for influenceing mobile terminal success access WLAN.
Prior art is when realizing the access authentication of WLAN, only for conventional WIFI (Wireless
Fidelity, Wireless Fidelity) access point is by analyzing its login page or according to its login protocol, being received by logging program
Collection logs in required information, completes corresponding login process from the background, conventional WIFI includes CMCC (China Mobile
Communications Corporation, group of China Mobile), ChinaNet (the public INTERNET backbone networks of China)
Deng.
During the present invention is realized, inventor has found that prior art at least has problems with:
Prior art realizes the function of access authentication only for specific access point service, without generality and extension
Property, and prior art is collected log-on message by logging program and logged in from the background, causes user can not see original login
The page, it is unfavorable for cognition of the user to accessed network, influences Consumer's Experience.
The content of the invention
In order to realize using unified method to carry out WIFI access authentication, make login authentication that there is generality, and carry
Consumer's Experience is risen, the embodiments of the invention provide a kind of method and device for the access authentication for realizing WLAN.It is described
Technical scheme is as follows:
On the one hand, there is provided a kind of access authentication method for realizing WLAN, methods described include:
By analyzing the login protocol of WLAN or logging in required information, the access way of access point is judged
Whether it is WIFI accesses, if it is, being the access point progress connectedness of Wireless Fidelity WIFI accesses to access way
Test;
If the continuity testing not by, open logging program, it is clear by the automatic calling system of the logging program
Look at device or browser control part and open login page, user is completed the login of WLAN in the login page and grasp
Make;
Wherein, described is that the access point that Wireless Fidelity WIFI is accessed carries out continuity testing, tool to access way
Body includes:
Data by from described access point to one fixed uniform resource position mark URL of service end acquisition request;
Whether the data for judging to get are the network information consulted in advance with the service end;
If it is, the continuity testing passes through;
If it is not, then the continuity testing does not pass through.
The opening logging program, opened and logged in by the automatic calling system browser of the logging program or browser control part
The page, when the user is completed the register of WLAN in the login page, in addition to:
Continuity testing is carried out on backstage, if the continuity testing passes through program of logging off;
If the continuity testing is not by continuing continuity testing.
The opening logging program, opened and logged in by the automatic calling system browser of the logging program or browser control part
The page, make after user completes the register of WLAN in the login page, in addition to:
Continuity testing is carried out again, if the continuity testing is by the way that opening logging program, which re-starts, to be stepped on
Record operation;
If the continuity testing passes through program of logging off.
On the other hand, there is provided a kind of access authentication device for realizing WLAN, described device include:
Judge module, for by the information required for analyzing the login protocol of the WLAN or logging in, sentencing
Whether the access way of disconnected described access point is WIFI accesses, if it is, being performed by the first test module to described access point
The step of carrying out continuity testing;
First test module, specifically for being provided by described access point to the one fixed unification of service end acquisition request
Source finger URL URL data;Whether the data for judging to get are the fixed character string consulted in advance with the service end;If
It is that the then continuity testing passes through;If it is not, then the continuity testing does not pass through;
Login module, if for the first test module continuity testing not by logging program being opened, by institute
State the automatic calling system browser of logging program or browser control part opens login page, make user complete in the login page
Into the register of WLAN.
Described device, in addition to:
Background module, for while the login module carries out WLAN register, being carried out on backstage
Continuity testing, if the continuity testing passes through program of logging off;If the continuity testing not by,
Continue continuity testing.
Described device, in addition to:
Second test module, for after the register of login module completion WLAN, carrying out again
Continuity testing, if the continuity testing is not by opening logging program and re-starting register;If the company
General character test passes through, then program of logging off.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By opening logging program, log in page is opened by the automatic calling system browser of logging program or browser control part
Face, user is completed the register of WLAN in login page, be applicable not only to conventional WIFI access points
Access authentication, other WIFI access points are equally applicable, it is achieved thereby that being recognized using unified method WIFI accesses
Card, it also family can be used to complete login process in original login page, be advantageous to cognition of the user to accessed network, improve
The experience of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram for access authentication for realizing WLAN that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram for access authentication for realizing WLAN that the embodiment of the present invention two provides;
Fig. 3 is that the structure for the access authentication device that the first that the embodiment of the present invention three provides realizes WLAN is shown
It is intended to;
Fig. 4 is that the structure for second of access authentication device for realizing WLAN that the embodiment of the present invention three provides is shown
It is intended to;
Fig. 5 be the embodiment of the present invention three provide the third realize that the structure of access authentication device of WLAN is shown
It is intended to;
Fig. 6 is that the structure for the 4th kind of access authentication device for realizing WLAN that the embodiment of the present invention three provides is shown
It is intended to.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
A kind of access authentication method for realizing WLAN is present embodiments provided, referring to Fig. 1, this method flow tool
Body is as follows:
101:It is the access point progress continuity testing of WIFI accesses to access way.
102:If continuity testing is not by opening logging program, by the automatic calling system browser of logging program
Or browser control part opens login page, user is completed the register of WLAN in the login page.
Wherein, before carrying out continuity testing to access way for the access point of WIFI accesses, in addition to:
By analyzing the login protocol of WLAN or logging in required information, the access way of access point is judged
Whether it is WIFI accesses, if it is, performing the step of carrying out continuity testing to access point.
It is the access point progress continuity testing of Wireless Fidelity WIFI accesses to access way, specifically includes:
Data by from access point to one fixed uniform resource position mark URL of service end acquisition request;
Whether the data for judging to get are the fixed character string consulted in advance with service end;
If it is, continuity testing passes through;
If it is not, then continuity testing does not pass through.
Further, logging program is opened, is opened and stepped on by the automatic calling system browser of logging program or browser control part
The page is recorded, when the user is completed the register of WLAN in login page, in addition to:
Continuity testing is carried out on backstage, if continuity testing passes through program of logging off;
If continuity testing is not by continuing continuity testing.
Further, logging program is opened, is opened and stepped on by the automatic calling system browser of logging program or browser control part
The page is recorded, is made after user completes the register of WLAN in login page, in addition to:
Continuity testing is carried out again, if continuity testing is not by opening logging program and re-starting login behaviour
Make;
If continuity testing passes through program of logging off.
The method that the present embodiment provides, opened and logged in by the automatic calling system browser of logging program or browser control part
The page, user is completed the register of WLAN in login page, be applicable not only to conventional WIFI access points
Access authentication, other WIFI access points are equally applicable, it is achieved thereby that using unified method to WIFI access carry out
Certification, user is completed login process in original login page, be advantageous to cognition of the user to accessed network, improve use
The experience at family.
Embodiment two
Present embodiments provide a kind of access authentication method for realizing WLAN, for convenience of description, this implementation
Example on the mobile terminal with wireless networking capabilities exemplified by realizing the method for the access authentication of WLAN, to this reality
The method for applying example offer is described in detail.Referring to Fig. 2, this method flow is specific as follows:
201:Whether the access way for judging current access point is WIFI accesses, if it is, step 202 is performed, if
No, then flow terminates;
For the step, the present embodiment is not to judging that the method for wireless network access way is defined, during specific implementation
It can be realized according to the judgment technology of prior wireless network access way;
Specifically, client searches the access point that Internet service provider is supplied to automatically in WLAN, main program according to
The access point of family selection, by the information required for analyzing the login protocol of WLAN or logging in, judge the access point
Access way whether be WIFI access, if it is, perform step 202, if it is not, then flow terminates.
202:Continuity testing is carried out to access point, judges whether access point needs to log according to test result, if it is,
Step 203 is then performed, if it is not, then flow terminates;
Specifically, sent by the access point to service end obtain fixed URL (Uniform Resource Locator,
URL) data request, and judge whether the data that get are the fixed word consulted in advance with server
Symbol string, if it is, continuity testing is by illustrating to have been coupled to network, it is not necessary to log in;If it is not, then connective survey
Examination test is not by illustrating to be not connected to network, it is necessary to log in;
The URL can be network address, when the network address is input, if network has connected, can obtain corresponding
The network information, i.e., the network information consulted in advance, such as:Input www.qq.com can obtain the letter of www.qq.com in a browser
Breath, if network is not connected with, it cannot get the information of www.qq.com, therefore, it is possible to according to whether the data letter consulted in advance
Cease to judge whether access point needs to log in.
203:Login page is opened, user is completed the register of WLAN in login page;
For the step, because the login page that WIFI service ends provide is different, not specifically for mobile terminal
Made, the application of general mobile terminal is difficult directly to open login page to complete login, thus, in the embodiment of the present invention by
System browser or browser control part open login page, user is completed stepping on for WLAN in login page
Record operation;
Specifically, logging program is opened, is opened and logged in by the automatic calling system browser of logging program or browser control part
The page, user is carried out the register of WLAN in login page, while connective survey is carried out on program backstage
Examination, if continuity testing is by illustrating that user has logged on completion, program of logging off, if continuity testing is not led to
Cross, then carry out continuity testing next time, until continuity testing passes through;
In addition, user logs in for convenience, the method that the present embodiment provides shows the page of original login when user logs in
Face, the network information of login page display access, sets prompt message to guide user to complete login process, enters in login page
After login page, prompt user to input the username and password that Virtual network operator provides, and confirm to log in, if account and password
Correctly, then display login successfully, login page can show user account balance, used surf time or flow and
The information how to nullify, if account or code error, prompt account or code error and correct account please be re-enter
Number and password.
204:Continuity testing is carried out again, judges whether to login successfully according to test result, if it is, flow knot
Beam, if it is not, then performing step 203;
Specifically, completed in the login page that system browser or browser control part that logging program calls are opened wireless
After the register of LAN, program of logging off is returned in main program, again continuity testing, judges whether to pass through connection
Property test, if it is, explanation user login successfully, flow terminates, if it is not, then perform step 203.
The method that the present embodiment provides, by opening logging program, by the automatic calling system browser or clear of logging program
Device control of looking at opens login page, user is completed the register of WLAN in login page, is applicable not only to
The access authentication of conventional WIFI access points, other WIFI access points are equally applicable, it is achieved thereby that using unified side
Method is authenticated to WIFI accesses, also family be can be used to complete login process in original login page, is advantageous to user to being connect
Enter the cognition of network, improve the experience of user.
Embodiment three
Referring to Fig. 3, a kind of access authentication device for realizing WLAN is present embodiments provided, the device is used to hold
The access authentication method for realizing wireless network in row above-described embodiment one and embodiment two, the device include:
First test module 301, for being that the access point of Wireless Fidelity WIFI accesses connects to access way
The general character is tested;
Login module 302, if for the continuity testing of the first test module 301 not by, open logging program, by
The automatic calling system browser of logging program or browser control part open login page, user is completed in login page wirelessly
The register of LAN.
The login module 302 opens logging program, is beaten by the automatic calling system browser of logging program or browser control part
Login page is opened, when the user is completed the register of WLAN in login page, detailed process refers to above-mentioned reality
The associated description of step 203 in example two is applied, here is omitted.
Referring to Fig. 4, the device also includes:
Judge module 303, for the first test module 301 carry out continuity testing before, by analyzing wireless local
The login protocol of network logs in required information, and whether the access way for judging access point is WIFI accesses, if it is,
The step of carrying out continuity testing to access point is performed by login module 302.
Specifically, the first test module 301, specifically for fixed unified to service end acquisition request one by access point
URLs URL data;Whether the data for judging to get are the fixed character string consulted in advance with service end;If
It is that then continuity testing passes through;If it is not, then continuity testing does not pass through.
First test module 301 is by access point to one fixed uniform resource position mark URL of service end acquisition request
Data;When whether the data for judging to get are the fixed character string consulted in advance with service end, detailed process refers to above-mentioned
The associated description of step 202 in embodiment two, here is omitted.
Referring to Fig. 5, the device also includes:
Background module 304, for while login module 302 carries out WLAN register, entering from the background
Row continuity testing, if continuity testing passes through program of logging off;If continuity testing not by, continue into
Row continuity testing.
Referring to Fig. 6, the device also includes:
Second test module 305, for after the register of the completion WLAN of login module 302, entering again
Row continuity testing, if continuity testing is not by opening logging program and re-starting register;
If continuity testing passes through program of logging off.
The device that the present embodiment provides, by opening logging program, by the automatic calling system browser or clear of logging program
Device control of looking at opens login page, user is completed the register of WLAN in login page, is applicable not only to
The access authentication of conventional WIFI access points, other WIFI access points are equally applicable, it is achieved thereby that using unified side
Method is authenticated to WIFI accesses, also family be can be used to complete login process in original login page, is advantageous to user to being connect
Enter the cognition of network, improve the experience of user.
It should be noted that:A kind of access authentication device for realizing WLAN that above-described embodiment provides is wireless
, can basis only with the division progress of above-mentioned each functional module for example, in practical application during the access authentication of LAN
Need and complete above-mentioned function distribution by different functional modules, i.e., the internal structure of device is divided into different function moulds
Block, to complete all or part of function described above.In addition, one kind that above-described embodiment provides realizes WLAN
Access authentication device and a kind of access authentication method embodiment for realizing WLAN belong to same design, it is specific real
Existing process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (6)
1. a kind of access authentication method for realizing WLAN, it is characterised in that methods described includes:
By analyze WLAN login protocol or log in required for information, judge access point access way whether
Accessed for WIFI, if it is, being the access point progress continuity testing of Wireless Fidelity WIFI accesses to access way;
If the continuity testing is not by opening logging program, by the automatic calling system browser of the logging program
Or browser control part opens login page, user is completed the register of WLAN in the login page;
Wherein, described is that the access point that Wireless Fidelity WIFI is accessed carries out continuity testing, specific bag to access way
Include:
Data by from described access point to one fixed uniform resource position mark URL of service end acquisition request;
Whether the data for judging to get are the network information consulted in advance with the service end;
If it is, the continuity testing passes through;
If it is not, then the continuity testing does not pass through.
2. the method as described in claim 1, it is characterised in that the opening logging program, adjusted automatically by the logging program
Login page is opened with system browser or browser control part, user is completed WLAN in the login page
During register, in addition to:
Continuity testing is carried out on backstage, if the continuity testing passes through program of logging off;
If the continuity testing is not by continuing continuity testing.
3. the method as described in claim 1, it is characterised in that the opening logging program, adjusted automatically by the logging program
Login page is opened with system browser or browser control part, user is completed WLAN in the login page
After register, in addition to:
Continuity testing is carried out again, if the continuity testing is not by opening logging program and re-starting login behaviour
Make;
If the continuity testing passes through program of logging off.
4. a kind of access authentication device for realizing WLAN, it is characterised in that described device includes:
Judge module, for by the information required for analyzing the login protocol of the WLAN or logging in, judging institute
Whether the access way for stating access point is WIFI accesses, and described access point is carried out if it is, being performed by the first test module
The step of continuity testing;
First test module, specifically for being determined by described access point to one fixed unified resource of service end acquisition request
Position symbol URL data;Whether the data for judging to get are the fixed character string consulted in advance with the service end;If it is,
Then the continuity testing passes through;If it is not, then the continuity testing does not pass through;
Login module, if for the first test module continuity testing not by opening logging program, being stepped on by described
Record the automatic calling system browser of program or browser control part opens login page, user is completed nothing in the login page
The register of line LAN.
5. device as claimed in claim 4, it is characterised in that described device, in addition to:
Background module, for while the login module carries out WLAN register, being connected from the background
Property test, if the continuity testing passes through program of logging off;If the continuity testing is not by continuing
Carry out continuity testing.
6. device as claimed in claim 4, it is characterised in that described device, in addition to:
Second test module, for after the register of login module completion WLAN, being connected again
Property test, if the continuity testing not by, open logging program re-start register;If the connectedness
Test passes through, then program of logging off.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210047342.XA CN103297966B (en) | 2012-02-27 | 2012-02-27 | Realize the access authentication method and device of WLAN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210047342.XA CN103297966B (en) | 2012-02-27 | 2012-02-27 | Realize the access authentication method and device of WLAN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103297966A CN103297966A (en) | 2013-09-11 |
CN103297966B true CN103297966B (en) | 2018-02-13 |
Family
ID=49098149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210047342.XA Active CN103297966B (en) | 2012-02-27 | 2012-02-27 | Realize the access authentication method and device of WLAN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103297966B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007581B (en) | 2015-08-12 | 2018-03-20 | 腾讯科技(深圳)有限公司 | A kind of network access authentication method and client |
CN107864503A (en) * | 2017-10-12 | 2018-03-30 | 上海连尚网络科技有限公司 | Connection method, equipment and the computer-readable recording medium of WLAN |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212297A (en) * | 2006-12-28 | 2008-07-02 | 中国移动通信集团公司 | WEB-based WLAN access authentication method and system |
CN101399726A (en) * | 2007-09-29 | 2009-04-01 | 中国电信股份有限公司 | Method for WLAN terminal authentication |
-
2012
- 2012-02-27 CN CN201210047342.XA patent/CN103297966B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212297A (en) * | 2006-12-28 | 2008-07-02 | 中国移动通信集团公司 | WEB-based WLAN access authentication method and system |
CN101399726A (en) * | 2007-09-29 | 2009-04-01 | 中国电信股份有限公司 | Method for WLAN terminal authentication |
Also Published As
Publication number | Publication date |
---|---|
CN103297966A (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104702406B (en) | Auth method and device | |
CN104113551B (en) | A kind of platform authorization method, platform service end and applications client and system | |
CN105007581B (en) | A kind of network access authentication method and client | |
CN102413489A (en) | Automatic test method for WiFi (Wireless Fidelity) network connection of mobile phone | |
CN104993945B (en) | A kind of authentication test method and system for wireless router | |
CN109379742A (en) | A kind of cut-in method of WLAN, device and storage medium | |
CN108390955A (en) | Domain Name acquisition method, Website access method and server | |
CN106341233A (en) | Authentication method for client to log into server, device, system and electronic device | |
CN104811462A (en) | Access gateway redirection method and access gateway | |
CN110995764B (en) | Mobile cellular network application layer data flow fuzzy test method, electronic equipment and storage medium | |
CN104298675B (en) | For the method and apparatus of cache management | |
CN106658756A (en) | Method and device for recognizing connection between terminal device and hotspot | |
CN107040429A (en) | A kind of method of testing and system of port forwarding performance | |
CN107872445A (en) | Access authentication method, equipment and Verification System | |
CN105657781A (en) | Method and device for accessing WiFi network | |
CN107645428A (en) | A kind of automatic test approach and device | |
CN101873593A (en) | Android-based Wifi wireless dial system and method | |
CN103164324A (en) | Microblog test method and device | |
CN103297966B (en) | Realize the access authentication method and device of WLAN | |
CN106789561A (en) | Terminals physical address binding method and system based on Intranet service platform | |
WO2023134312A1 (en) | Content charging test method, management device, terminal device and storage medium | |
CN108600190A (en) | A kind of account login method and system based on router | |
CN105119898A (en) | WiFi hotspot Portal automatic authentication method and WiFi hotspot Portal automatic authentication system | |
CN104394151A (en) | Method, device and system for accessing campus network into operator network | |
CN110913406B (en) | Access configuration method and device of RCS test server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |