CN105978857A - Portal authentication website automatic jumping device and method - Google Patents

Portal authentication website automatic jumping device and method Download PDF

Info

Publication number
CN105978857A
CN105978857A CN201610247780.9A CN201610247780A CN105978857A CN 105978857 A CN105978857 A CN 105978857A CN 201610247780 A CN201610247780 A CN 201610247780A CN 105978857 A CN105978857 A CN 105978857A
Authority
CN
China
Prior art keywords
network
module
gate verification
verification website
wireless terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610247780.9A
Other languages
Chinese (zh)
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 Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201610247780.9A priority Critical patent/CN105978857A/en
Publication of CN105978857A publication Critical patent/CN105978857A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a portal authentication website automatic jumping device and method which are applied to a wireless terminal. The portal authentication website automatic jumping device comprises a control module, a network monitoring module, a request sending and receiving module and a jumping module, wherein the network monitoring module is connected with the control module, and the network monitoring module monitors whether the wireless terminal is connected with an open wireless network or not under the control of the control module; the request sending and receiving module is respectively connected with the control module and the network monitoring module, and the request sending and receiving module sends a hypertext transfer protocol request based on a monitoring result of the network monitoring module under the control of the control module and is used for receiving a network reply; and the jumping module is respectively connected with the control module and the request sending and receiving module, and the jumping module jumps to a portal authentication website based on the network replay received by the request sending and receiving module. The technical scheme of carrying out automatic jumping according to a network redirection address through the jumping module acquires a technical effect of automatic jumping of the portal authentication website.

Description

A kind of gate verification website redirects device and method automatically
Technical field
The present invention relates to a kind of gate verification website and automatically redirect device and method.
Background technology
Along with mobile radio terminal;Such as: being widely used of mobile phone, notebook etc., wireless WiFi also covers Lid has arrived the every nook and cranny of life, working space, greatly facilitates the live and work of people.A lot Public place;Such as: market, hotel, hospital etc. all can provide free WiFi.
User uses for convenience, and a lot of free WiFi are in security purpose, have employed door (Portal) The mode of certification is attached external network, and this just makes user need by visit device and logs in Portal certificate web Stand, be attached the operation of external network according to prompting.
But, when a lot of users use wireless terminal, not using the custom of visit device, this results in When connecting above-mentioned free WiFi, external network cannot be connected smoothly due to Portal authentification failure.Meanwhile, A lot of users are not aware that and first to open visit device, and just can carry out Portal certification after Outside Access.So, Poor experience is brought to user owing to needing user to open the visit process that is authenticated of device.
Summary of the invention
For the problems referred to above, the invention provides a kind of gate verification website and automatically redirect device.
The technical scheme that the present invention provides is as follows:
A kind of gate verification website redirects device automatically, is applied in wireless terminal, including: control module, Network monitoring module, request transceiver module and redirect module;Wherein,
Described network monitoring module, is connected with described control module, and described network monitoring module is in described control Under the control of module, whether monitoring wireless terminal is connected with open wireless network;
Described request transceiver module, is connected with described control module and described network monitoring module respectively, described Request transceiver module is under the control of described control module, and monitoring result based on described network monitoring module is sent out Send hypertext transfer protocol requests;And be used for receiving network replies;
Described redirect module, be connected with described control module and described request transceiver module respectively, described in redirect The network replies that module receives based on described request transceiver module jumps to gate verification website.
Preferably, described gate verification website automatically redirects in device and also includes: respectively with described control module, The connection detection module that network monitoring module and request transceiver module connect;
When described network monitoring module wireless terminal is connected with open wireless network, described connection detection mould Block detection wireless terminal whether with network-in-dialing, and testing result is sent to described request transceiver module.
Preferably, described connection detection module includes that an outer net connects detector unit, is used for detecting wireless terminal Network-in-dialing whether and between external network server, and testing result is sent to described request transceiver module.
Preferably, described connection detection module includes that an Intranet connects detector unit, is used for detecting wireless terminal Network-in-dialing whether and between intranet server, and testing result is sent to described request transceiver module.
For the problems referred to above, present invention also offers the automatic jump method in a kind of gate verification website.
The technical scheme that the present invention provides is as follows:
Connect open wireless network;
Initiate hypertext transfer protocol requests;
Judge whether to receive network redirection address;
When receiving network redirection address, jump to described network redirection address, complete gate verification net Station redirects.
Preferably, judge whether described in that receiving network redirection address includes:
Judge whether to receive temporary transfer error message;
When receiving described temporary transfer error message, from described temporary transfer error message, extract net Network Redirect Address.
Preferably, also included before initiating hypertext transfer protocol requests:
Judge whether network connects;
When network fails connection, initiate hypertext transfer protocol requests.
Preferably, described judge whether network connects and include:
Judge whether to connect with Intranet;
When Intranet connects, it may be judged whether connect with outer net.
Preferably, described judge that method that whether network connect is for judge network by the Internet packets heuristic approach Whether connect.
The gate verification website that the present invention provides redirects device and method automatically, it is possible to bring following useful effect Really:
In the present invention, by initiating hypertext transfer protocol requests, and according to the network redirection ground replied The technical scheme that location redirects automatically, it is thus achieved that automatically redirecting of gate verification website.
In the present invention, by preferentially judging network-in-dialing state, super literary composition whether is initiated further according to condition adjudgement The technical scheme of this host-host protocol request, can reduce wireless terminal and connect the complexity of open wireless network Degree, improves connection speed.
In the present invention, judge, by the Internet packets heuristic approach, the technical scheme whether network connects, permissible Simple and fast know network connection state.
Accompanying drawing explanation
Below by the way of the most understandable, accompanying drawings preferred implementation, to above-mentioned characteristic, skill Art feature, advantage and implementation thereof are further described.
Fig. 1 is that in the present invention, gate verification website redirects device one embodiment structural representation automatically;
Fig. 2 is that in the present invention, gate verification website redirects device another embodiment structural representation automatically;
Fig. 3 is the automatic jump method in gate verification website one embodiment flow chart in the present invention;
Fig. 4 is the automatic jump method in gate verification website another embodiment flow chart in the present invention.
Drawing reference numeral illustrates:
100-control module, 200-network monitoring module, 300-asks transceiver module, and 400-redirects module, 500-connection detection module, 501-outer net connect detector unit, 502-Intranet connects detector unit.
Detailed description of the invention
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, will compare attached below The detailed description of the invention of the figure explanation present invention.It should be evident that the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings, and obtain other embodiment.
A kind of gate verification website that being illustrated in figure 1 the present invention provides redirects device one real-time mode automatically Structural representation.Include it can be seen that automatically redirect device in this gate verification website: control Module 100, network monitoring module 200, request transceiver module 300 and redirect module 400;Wherein, net Network monitoring modular 200, is connected with control module 100, and network monitoring module 200 is in the control of control module 100 Under, whether monitoring wireless terminal is connected with open wireless network;Request transceiver module 300, respectively with control Molding block 100 and network monitoring module 200 connect, and request transceiver module 300 is in the control of control module 100 Under, the monitoring result of Based Network Monitoring module 200 sends hypertext transfer protocol requests;And be used for receiving Network replies;Redirect module 400, be connected with control module 100 and request transceiver module 300 respectively, redirect The network replies that module 400 receives based on request transceiver module 300 jumps to gate verification website.
In general, the radio function of wireless terminal, when opening, all can carry out wireless automatically WiFi searches for, and provides Search Results to select to connect for user.Network monitoring module 200 can be in control module Under the control of 100, whether monitoring user have selected the wireless network of an opening.As wireless terminal and one After open wireless network connects, network monitoring module 200 one information connected of feedback can give control mould Block 100, control module 100 can control to ask transceiver module 300 to initiate HTML (Hypertext Markup Language) (Http) Request.Generally, after initiating Http request in a network, server can reply request result. In Portal verification process, if after network initiates Http request, server can reply a network weight Vectoring address, the website pointed by this address is exactly Portal authentication website.Request transceiver module 300 exists After receiving this network redirection address, control module 100 meeting control skip module 400 is according to this network Redirect Address redirects, and completes the automatic jump procedure of gate verification website.Through said process, just Without the user oneself the operational access gate verification website by oneself, gate verification website redirects device automatically Can be automatically performed this jump procedure, user only need to carry out authentication operation on the website jumped to and can complete Whole open network connects.
A kind of gate verification website that being illustrated in figure 2 the present invention provides redirects device another kind embodiment party automatically Formula structural representation.It can be seen that automatically redirect in this gate verification website in the present embodiment Device on the basis of the gate verification website shown in Fig. 1 redirects device automatically, add respectively with control mould The connection detection module 500 that block 100, network monitoring module 200 and request transceiver module 300 connect.Specifically For, when network monitoring module 200 wireless terminal is connected with open wireless network, connection detection module 500 detection wireless terminals whether with network-in-dialing, and testing result is sent to request transceiver module 300.Its In, connection detection module 500 includes that an outer net connects detector unit 501, be used for detecting wireless terminal whether with Network-in-dialing between external network server, and testing result is sent to request transceiver module 300.Connect detection Module 500 also includes that an Intranet connects detector unit 502, be used for detecting wireless terminal whether with intranet server Between network-in-dialing, and by testing result send to request transceiver module 300.
Open wireless network, can use simple open connection or the connection of Portal authentication mode, wireless end When end connects the open wireless network of the former connected mode, it is not necessary to gate verification process, directly just can be with outward Net connection, surfs the Net normally.Being no need for when network normally connects initiating Http request, initiating Http please The main purpose asked is to accept network redirection address, carries out redirecting of gate verification website.So, we Before initiating Http request, first pass through connection detection module 500 and network-in-dialing state is detected, when even Connect detection module 500 and detect when network has connected, when i.e. wireless terminal can normally be surfed the Net, just Initiate Http request, when detecting that network fails to connect, when i.e. wireless terminal cannot normally be surfed the Net, request Transceiver module 300 just starts to initiate Http request, carries out follow-up action.General networking can be regarded as one Individual Intranet and an outer net composition, the LAN before so-called Intranet i.e. router, so-called outer net i.e. route Network after device, wireless terminal is positioned at LAN.So, wireless terminal fails and network-in-dialing State includes: fail to connect with Intranet or fail to connect with outer net.When wireless terminal fails to connect with Intranet Time, without initiating Http request, only just initiate Http request with outer net when wireless terminal fails to connect. We use an Intranet connection detector unit 502 to Intranet, use an outer net to connect detector unit 501 outer net Connection status detects, and only network-in-dialing and outer net detected even when Intranet connects detector unit 502 Connecing detector unit 501 and detect when network fails to connect, request transceiver module 300 just initiates Http request, and Carry out subsequent operation.
Heretofore described wireless terminal can be the wireless terminal such as mobile phone or notebook computer.The present invention Described gate verification website automatically redirects device and is the App instrument being mountable on mobile phone or is installed on pen Remember the application tool on this computer.
It is illustrated in figure 3 a kind of gate verification website automatic jump method one embodiment that the present invention provides Flow chart.Specifically, include at this automatic jump method in gate verification website:
Connect open wireless network;
Initiate hypertext transfer protocol requests;
Judge whether to receive network redirection address;
When receiving network redirection address, jump to described network redirection address, complete gate verification net Station redirects.
The radio function of wireless terminal, when opening, all can carry out wireless WiFi search automatically, and Search Results is provided to select to connect for user.After being connected to open wireless network, external network immediately Initiating Http request, now this request can be replied by external network, including: information response's class, process Five big classes of success response class, redirection response class, client error and service end mistake are replied.At Portal In verification process, if after network initiates Http request, one can be replied and redirect the temporary transient of response apoplexy due to endogenous wind Property transfer error message (Http 302);When receiving described temporary transfer error message, from described temporarily Extracting network redirection address in the transfer error message of time property, the website pointed by this address is exactly Portal Authentication website.So when receiving network redirection address, jumping to described network redirection address, Complete gate verification website to redirect.Through said process, it is no need for the user oneself operational access by oneself Gate verification website, gate verification website redirects device automatically can be automatically performed this jump procedure, and user is only Authentication operation need to be carried out on the website jumped to and can complete the connection of whole open network.
It is illustrated in figure 4 a kind of gate verification website automatic jump method another kind embodiment party that the present invention provides Formula schematic flow sheet.It exists on the basis of the automatic jump method in gate verification website shown in Fig. 3, is initiating Before hypertext transfer protocol requests, it is judged that whether network connects;
When network fails connection, initiate hypertext transfer protocol requests;
Wherein, it is judged that whether network connects includes:
Judge whether to connect with Intranet;
When Intranet connects, it may be judged whether connect with outer net.
Open wireless network, can use simple open connection or the connection of Portal authentication mode, wireless end When end connects the open wireless network of the former connected mode, it is not necessary to gate verification process, directly just can be with outward Net connection, surfs the Net normally.Being no need for when network normally connects initiating Http request, initiating Http please The main purpose asked is to accept network redirection address, carries out redirecting of gate verification website.So, we Before initiating Http request, first network-in-dialing state is detected, when detecting that network has connected, When i.e. wireless terminal can normally be surfed the Net, just initiate Http request, when detecting that network fails to connect, When i.e. wireless terminal cannot normally be surfed the Net, just start to initiate Http request, and carry out follow-up action.One As network can be regarded as an Intranet and outer net composition, the local before so-called Intranet i.e. router Network, the network after so-called outer net i.e. router, wireless terminal is positioned at LAN.So, wireless The state that terminal fails with network-in-dialing includes: fail to connect with Intranet or fail to connect with outer net.Work as nothing When line terminal fails to connect with Intranet, without initiating Http request, only fail and outer net at wireless terminal Http request is just initiated during connection.So only when inner-mesh network connection and outer net network fail connection, Just initiate Http request, and carry out subsequent operation.The method whether detection Intranet, outer net are connected, I Use the Internet packets heuristic approach, i.e. Ping bag method, such as: by " Ping www.baidu.com " Method test wireless terminal whether connect with external network;Side by " Ping " intranet server IP address Whether method test wireless terminal connects with internal network.
It should be noted that, above-described embodiment all can independent assortment as required.The above is only the present invention Preferred implementation, it is noted that for those skilled in the art, without departing from On the premise of the principle of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (9)

1. gate verification website redirects a device automatically, is applied in wireless terminal, it is characterised in that institute State gate verification website automatically to redirect device and include: control module, network monitoring module, request transmitting-receiving Module and redirect module;Wherein,
Described network monitoring module, is connected with described control module, and described network monitoring module is in described control Under the control of molding block, whether monitoring wireless terminal is connected with open wireless network;
Described request transceiver module, is connected with described control module and described network monitoring module respectively, institute Stating and ask transceiver module under the control of described control module, monitoring based on described network monitoring module is tied Fruit sends hypertext transfer protocol requests;And be used for receiving network replies;
Described redirect module, be connected with described control module and described request transceiver module respectively, described jumping The network replies that revolving die block receives based on described request transceiver module jumps to gate verification website.
2. gate verification website as claimed in claim 1 redirects device automatically, it is characterised in that described Gate verification website automatically redirects in device and also includes: respectively with described control module, network monitoring module And the connection detection module that request transceiver module connects;
When described network monitoring module wireless terminal is connected with open wireless network, described connection detects Module detection wireless terminal whether with network-in-dialing, and testing result is sent to described request transceiver module.
3. gate verification website as claimed in claim 2 redirects device automatically, it is characterised in that described Connection detection module includes that an outer net connects detector unit, be used for detecting wireless terminal whether with outer net service Network-in-dialing between device, and testing result is sent to described request transceiver module.
4. the gate verification website as described in arbitrary in Claims 2 or 3 redirects device automatically, its feature Being, described connection detection module includes that an Intranet connects detector unit, is used for whether detecting wireless terminal And network-in-dialing between intranet server, and testing result is sent to described request transceiver module.
5. the automatic jump method in gate verification website, it is characterised in that including:
Connect open wireless network;
Initiate hypertext transfer protocol requests;
Judge whether to receive network redirection address;
When receiving network redirection address, jump to described network redirection address, complete gate verification Website redirects.
6. the automatic jump method in gate verification website as claimed in claim 5, it is characterised in that described Judge whether that receiving network redirection address includes:
Judge whether to receive temporary transfer error message;
When receiving described temporary transfer error message, extract from described temporary transfer error message Network redirection address.
7. the automatic jump method in gate verification website as described in arbitrary in claim 5 or 6, its feature It is, also included before initiating hypertext transfer protocol requests:
Judge whether network connects;
When network fails connection, initiate hypertext transfer protocol requests.
8. gate verification website as claimed in claim 7 redirects device automatically, it is characterised in that described Judge whether network connects to include:
Judge whether to connect with Intranet;
When Intranet connects, it may be judged whether connect with outer net.
9. gate verification website as claimed in claim 8 redirects device automatically, it is characterised in that described Judge by the Internet packets heuristic approach, method that whether network connect is for judge whether network connects.
CN201610247780.9A 2016-04-20 2016-04-20 Portal authentication website automatic jumping device and method Pending CN105978857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610247780.9A CN105978857A (en) 2016-04-20 2016-04-20 Portal authentication website automatic jumping device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610247780.9A CN105978857A (en) 2016-04-20 2016-04-20 Portal authentication website automatic jumping device and method

Publications (1)

Publication Number Publication Date
CN105978857A true CN105978857A (en) 2016-09-28

Family

ID=56994708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610247780.9A Pending CN105978857A (en) 2016-04-20 2016-04-20 Portal authentication website automatic jumping device and method

Country Status (1)

Country Link
CN (1) CN105978857A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108075933A (en) * 2016-11-11 2018-05-25 北京金山云网络技术有限公司 A kind of network interworking test method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291848A (en) * 2011-08-10 2011-12-21 广州市动景计算机科技有限公司 Method and system for accessing WLAN (wireless local area network) client of saipan platform
CN102480648A (en) * 2010-11-30 2012-05-30 上海博路信息技术有限公司 Method of service authentication based on mode page
CN103596177A (en) * 2013-11-19 2014-02-19 上海众人网络安全技术有限公司 Method for making mobile terminal get access to public WiFi in one-key mode
CN103634304A (en) * 2013-11-18 2014-03-12 四川长虹电器股份有限公司 Method for realizing quick WEB authentication on smart television

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480648A (en) * 2010-11-30 2012-05-30 上海博路信息技术有限公司 Method of service authentication based on mode page
CN102291848A (en) * 2011-08-10 2011-12-21 广州市动景计算机科技有限公司 Method and system for accessing WLAN (wireless local area network) client of saipan platform
CN103634304A (en) * 2013-11-18 2014-03-12 四川长虹电器股份有限公司 Method for realizing quick WEB authentication on smart television
CN103596177A (en) * 2013-11-19 2014-02-19 上海众人网络安全技术有限公司 Method for making mobile terminal get access to public WiFi in one-key mode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108075933A (en) * 2016-11-11 2018-05-25 北京金山云网络技术有限公司 A kind of network interworking test method and device

Similar Documents

Publication Publication Date Title
CN104158808B (en) Portal authentication method and its device based on APP applications
CN104811462B (en) A kind of access gateway reorientation method and access gateway
CN101702717B (en) Method, system and equipment for authenticating Portal
CN105307169B (en) The cut-in method of guest network, device and system
CN104052832B (en) Method and device for setting IP address of domain name resolution server and server
CN103369531B (en) A kind of method and device that control of authority is carried out based on end message
CN103916490B (en) DNS tamper-proof method and device
WO2017177691A1 (en) Portal authentication method and system
CN103796278A (en) Mobile terminal wireless network access control method
CN105792202B (en) A kind of authentication method and Verification System of wireless network
CN101873332B (en) WEB authentication method and equipment based on proxy server
CN103916492B (en) A kind of network equipment access control method and device
WO2015043455A1 (en) Data transmission method, device, and system
CN110248364A (en) IOT equipment distribution method, apparatus, equipment and medium
CN105873055A (en) Wireless network access authentication method and device
CN105847223A (en) Authentication method and device of terminal device
CN105898786A (en) Access point escape method and access point escape system
CN103634792B (en) Method, device, client and the system of WLAN network user state monitoring
CN102638472B (en) Portal authentication method and equipment
CN104811439A (en) Portal authentication method and device
KR20120058188A (en) Online activation method and system of user subscription for wireless internet service
GB2578999A (en) Mobile number verification for mobile network-based authentication
CN107172006A (en) Detect the malicious method and device of wireless network
WO2017181800A1 (en) Adaptive portal authentication page system based on operating system, and method for same
CN113765912A (en) Distributed firewall device and detection method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160928