CN106506675A - A kind of page reorientation method and device - Google Patents

A kind of page reorientation method and device Download PDF

Info

Publication number
CN106506675A
CN106506675A CN201611056661.1A CN201611056661A CN106506675A CN 106506675 A CN106506675 A CN 106506675A CN 201611056661 A CN201611056661 A CN 201611056661A CN 106506675 A CN106506675 A CN 106506675A
Authority
CN
China
Prior art keywords
message
resource request
request message
user terminal
probe messages
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
CN201611056661.1A
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201611056661.1A priority Critical patent/CN106506675A/en
Publication of CN106506675A publication Critical patent/CN106506675A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • 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)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments provide a kind of page reorientation method and device, it is adaptable to which network access equipment, method include:Determine whether the resource request message for receiving is default clearance message, wherein, the message that the resource request message is sent by user terminal;If so, determine whether the resource request message is probe messages, wherein, the probe messages are for detecting the user terminal whether can be with the message of access network;If probe messages, the redirection message for the resource request message is obtained, and the redirection message is sent to the user terminal, for the target web corresponding to redirection message described in the user terminal access.The application embodiment of the present invention, after the WIFI that user clicks on that connection operator is provided, can directly eject the download interface for promoting APP.

Description

A kind of page reorientation method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of page reorientation method and device.
Background technology
As the places such as the development of technology, many markets, bookstore, scenic spot and railway station are provided with free WIFI.But Browser generic web page is redirected to specific by the operator of the free WIFI of these offers often through Portal authentication techniques Certification webpage, wherein, these certification webpages include the advertisement thrown in by operator.For example, passenger waits at the train station, and needs When the WIFI to be provided using the railway station is surfed the Net, connect the WIFI, when browser is opened, browser can be by again fixed To the certification page for logging in railway station WIFI, passenger contains the certification page input phone of the advertisement thrown in by railway station at this After number and identifying code, you can the WIFI provided using the railway station is surfed the Net.
But with APP, (development of (Application, application) software, operator urgently wishes to promote oneself APP.And widely using due to wireless network, for large range of popularization APP so that operator is desirable with APP to do Portal certifications, that is, realize, when user clicks on the WIFI provided by the connection operator, can directly ejecting the download of the APP Interface, and user can pass through downloaded APP and realize the WIFI certifications.
Therefore, how to realize directly ejecting the download for promoting APP after user clicks on the WIFI provided by connection operator Interface, is a problem demanding prompt solution.
Content of the invention
The purpose of the embodiment of the present invention is to provide a kind of page reorientation method and device, so that user clicks on connection fortune After the WIFI provided by battalion business, the download interface for promoting APP can be directly ejected.
In a first aspect, embodiments providing a kind of page reorientation method, it is adaptable to network access equipment, described Method can include:
Determine whether the resource request message for receiving is default clearance message, and wherein, the resource request message is The message sent by user terminal;
If so, determine whether the resource request message is probe messages, wherein, the probe messages are for detecting Whether state user terminal can be with the message of access network;
If probe messages, the redirection message for the resource request message is obtained, and by the redirection message Send to the user terminal, for the target web corresponding to redirection message described in the user terminal access.
Second aspect, embodiments provides a kind of page reorientation device, it is adaptable to network access equipment, described Device can include:
First determining unit, for determining whether the resource request message for receiving is default clearance message, wherein, institute State the message that resource request message is sent by user terminal;
When first determining unit, second determining unit, for determining that the resource request message for receiving is default putting During row message, determine whether the resource request message is probe messages, wherein, the probe messages are for detecting the use Whether family terminal can be with the message of access network;
First transmitting element, for when second determining unit determines that the resource request message is probe messages, The redirection message for the resource request message is obtained, and the redirection message is sent to the user terminal, with For the target web corresponding to redirection message described in the user terminal access.
In embodiments of the present invention, network access equipment detects whether received resource request message is default first Clearance message.If it is, further detect to the resource request message, that is, detect that whether the resource request message is Probe messages.If probe messages, then the resource request message is redirected to target web.As such, it is possible to belonging to Clearance message, but the resource request message for belonging to probe messages again is redirected to target web, so that user's end After termination receives the instruction of the WIFI provided by connection operator, the download interface for promoting APP can be directly ejected.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of page reorientation method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of page reorientation method provided in an embodiment of the present invention;
Fig. 3 carries out wireless network authentication method schematic diagram for one kind provided in an embodiment of the present invention using APP clients;
Fig. 4 is a kind of structural representation of page reorientation device provided in an embodiment of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In order at the download interface of user terminal automatic spring APP, it is often necessary to by Portal authentication techniques, by user The webpage accessed by terminal redirects to the webpage that downloads corresponding to interface of APP, so that user is clicking on connection operator The download interface of APP, after the WIFI for being provided, can be directly provided in user terminal.
But, when user terminal is the terminal based on IOS systems, for example, when being Fructus Mali pumilae terminal, due to Fructus Mali pumilae terminal APP softwares are all in the apple-store websites being put in Apple Web site, when the user of Fructus Mali pumilae terminal is clicking on connection operator After the WIFI for being provided, connection request can be sent to the apple.com websites in Apple Web site.If setting Portal certifications pair The corresponding network address in apple.com websites in Apple Web site is not let pass, and can eject the authentication page of prompting input username and password Face, it is impossible to eject the download interface of APP;If setting Portal certifications to let pass the corresponding network address in the apple.com websites, The corresponding page in apple.com websites can be directly ejected, the effect at the download interface of automatic spring APP is also unable to reach.
In order to solve above-mentioned technical problem, a kind of page reorientation method and device is embodiments provided.
First below page reorientation method provided in an embodiment of the present invention is introduced.
It should be noted that the executive agent of page reorientation method can be network access equipment, network access equipment has There are Portal authentication functions.Wherein, network access equipment includes but is not limited to router and switch;User terminal includes But it is not limited to mobile phone and apparatus such as computer.
Referring to Fig. 1, page reorientation method provided in an embodiment of the present invention may include steps of:
S101:Determine whether the resource request message for receiving is default clearance message, and wherein, resource request message is The message sent by user terminal;
It is understood that before step S101, the resource request that network access equipment meeting receive user terminal sends Message, further, judges whether the resource request message is default clearance message.
For example, when user terminal is i Phone, i Phone is receiving what connection operator was provided After the instruction of WIFI, i Phone can send resource request message to the corresponding server of Apple Web site, and resource request message can Think:
http://captive.apple.com/hotspot-detect.html, in the case of this kind, i Phone is asked The website for asking access is apple.com websites, i.e. request accesses Fructus Mali pumilae official website homepage.
It should be noted that the resource request message received by network access equipment includes but is not limited to above-mentioned institute The message of citing.
Network access equipment after resource request message is received executes Portal and filters.Wherein, Portal is filtered and is included The first step is filtered and second step is filtered, and the first step is filtered to be included:Determine whether resource request message is default clearance message, if Default clearance message, then the message of letting pass.I.e. clearance message be refer to filter by the network equipment first step and temporarily When the message that do not redirect.Wherein, the first step is filtered and can be executed by the first filtering module in the network access equipment, Second step is filtered and can be executed by the second filtering module in the network access equipment.
Specifically, the resource request message can be judged by default first keyword in the URL of resource request message Whether it is default clearance message.
For example, for i Phone, when the first step is filtered, needing please to resource request message for network access equipment The Apple Web site of access is asked to be let pass, without the need for filtering, therefore, it is possible to judge that whether comprising pre- in the URL of resource request message If the first keyword " Apple ", comprising judging the resource request message if default first keyword " Apple " in the URL For default clearance message.
For example, let pass in order to access the resource request message of Apple Web site to request, default clearance message should Including the related network address of all Apple Web sites, such as Fructus Mali pumilae official website homepage network address, apple products introduce network address and iCloud network address Deng.
In addition, when the resource request message is not default clearance message, i.e., be not the network address of Apple Web site (for example Network address for search dog website) when, then directly resource request message can be redirected, the resource request message is fixed The network address that downloads corresponding to interface of position to APP, such that it is able to the download interface of automatic spring APP on the i Phone.
When resource request message is default clearance message, temporarily resource request message is not redirected, continued The step of executing S102.
Step S102:Determine whether resource request message is probe messages, wherein, the probe messages are for detecting Whether state user terminal can be with the message of access network;
It should be noted that determining that whether resource request message is that the mode of probe messages can include:Judge that resource please Whether carry default second keyword in the URL for asking message to carry, default second keyword can include captive and/ Or hostspot-detect, if carrying default second keyword, show that resource request message is probe messages;If it is not, showing Resource request message is not probe messages.
For example, if the URL in received resource request message is:http://captive.apple.com/ Hotspot-detect.html, it can be determined that resource request message is probe messages.Wherein, the probe messages are used for detecting and use Whether family terminal is able to access that apple.com websites, that is, be used for detecting whether user terminal can be connect by network access equipment Enter network.As the probe messages are the messages of access apple.com websites, apple-store nets can not be directly accessed Stand, as APP is placed under apple-store, i.e., can not directly access the download interface of APP, therefore when received Resource request message should also carry out second to the resource request message after the first step certification of the network access equipment Step certification, that is, detect whether the resource request message is probe messages, and in the case where probe messages are detected as, executes Step S103.
Step S103:The redirection message for resource request message is obtained, and the redirection message is sent to user Terminal, for the target web corresponding to the user terminal access redirection message.
It is understood that after detecting that the resource request message is probe messages, obtaining and being directed to the probe messages Redirection message.Wherein, in order to the download interface of automatic spring APP on the subscriber terminal, the redirection message is The message that downloads corresponding to interface of APP.So as to, after redirection message is obtained, redirection message be sent to user's end End, to be capable of the download interface of automatic spring APP on the subscriber terminal.Wherein, redirection message includes the download ground of the APP Location.
For example, the http sent by i Phone is detected://captive.apple.com/hotspot- After detect.html resource request messages are probe messages, the redirection message for being able to access that apple-store websites is obtained. And the redirection message is sent to i Phone, so that the i Phone can directly eject apple-store websites Corresponding webpage.
In embodiments of the present invention, network access equipment detects whether received resource request message is default first Clearance message.If it is, further detect to the resource request message, that is, detect that whether the resource request message is Probe messages.If probe messages, then the resource request message is redirected to target web.As such, it is possible to belonging to Clearance message, but the resource request message for belonging to probe messages again is redirected to target web, so that user's end When end is connected to the WIFI provided by operator, the download interface for promoting APP can be directly ejected.
Due to the network access equipment this be connected to, the resource request message that sent by the user terminal, very May be redirected by the network access equipment before, and the user terminal had been likely to using pushing away Wide APP is authenticated and certification passes through.
Further it will be understood that when the user terminal is by the certification of the network access equipment, the network insertion sets Standby the user terminal can be labeled as portal online users, and by the identification information of the user terminal (for example IP address or Person's MAC Address) record in portal online user's tables.
Therefore, the networking access device is when this resource request message is received, in one embodiment of the present of invention In, before the redirection message for the resource request message is obtained, can also include:
Judge that whether the user terminal is the terminal by the network access equipment certification;
If so, let pass the resource request message, for corresponding to resource request message described in the user terminal access Webpage.
Wherein it is possible to pass through to judge whether the IP address of the user terminal is recorded in portal online user's tables Mode, judges that whether the user terminal is the terminal by the network access equipment certification.Specifically, when the portal exists When record has the IP address of the user terminal in line user's table, determine that user terminal is by the network access equipment certification Terminal, otherwise, it determines certification of the user terminal not over the network access equipment.
It is understood that by judging the user terminal whether by the side of the certification of the network access equipment Formula, can avoid the situation for repeatedly ejecting the download interface for promoting APP on the user terminal from occurring, improve the body of user Test.
It should be noted that in one implementation, described judge whether the user terminal is connect by the network Enter device authentication terminal the step of, can be in step S101:Determine whether the resource request message for receiving is default putting Execute before row message;Correspondingly, when determination user terminal is not over the certification of the network access equipment, execute described The step of S101.
In another kind of implementation, described judge the user terminal whether by the network access equipment certification The step of terminal, it is also possible to after determining that the resource request message for receiving is default clearance message, and in execution step S102:Determine resource request message is executed before whether being probe messages;Correspondingly, when determination user terminal is not over described During the certification of network access equipment, execute the S102 the step of.
In another implementation, described judge the user terminal whether by the network access equipment certification The step of terminal, it is also possible to after determining that the resource request message is probe messages, and in execution step S103:Obtain pin To executing before the redirection message of resource request message;Correspondingly, when determination user terminal is not over the network insertion During the certification of equipment, execute the S103 the step of, this is all rational.
In addition, after determining that the resource request message is probe messages, in still another embodiment of the process, can with to Probe messages server to be accessed sends and terminates connection message, to remove the use by the connection message that terminates TCP connections between family terminal and the server.
It is understood that in this kind of implementation, can remove between the user terminal and the server TCP connect so that when terminal request set up be connected with the TCP of server when, will not being serviced device be considered attack message.
It should be noted that can also be while determining that the resource request message is probe messages, to the detection Message server to be accessed sends and terminates connection message, and this is rational.
In another embodiment of the present invention, the target web can also be the popularization business website that promotes belonging to APP.? That is, the redirection message can be comprising the URL promoted corresponding to business website.
It is understood that in this kind of implementation, resource request message can be redirected to by network access equipment Business website is promoted, and the corresponding URL in business website will be promoted and be pre-stored in clearance message.So that in network access equipment to the money When source request message is redirected, network access equipment can be let pass to promoting the network address corresponding to business website, and due to weight Surely the redirection message for obtaining not is probe messages, and therefore the user terminal can access the popularization business website.
For example, user terminal receives server being obtained, being redirected to popularization business website by network access equipment After first redirection message, the resource request report corresponding to first redirection message is sent to the server for promoting business website Text;The server of business website is being promoted before the resource request message is received, network access equipment can be to the resource request Message is detected, when the resource request message is detected as default clearance message and is not probe messages, network insertion The resource request message is forwarded to equipment the server for promoting business website;The server for promoting business website is receiving the resource After request message, judge whether the user terminal for sending the resource request message is apple system, if it is, popularization business's net The server that stands can be redirected to the second redirection report for promoting business website that promotes belonging to APP by itself obtaining one Text;The server for promoting business website sends second redirection message to user terminal;User terminal second is reset according to this To message, the website corresponding to second redirection message is conducted interviews so that the user terminal being capable of automatic spring popularization The download interface of the APP that business promotes.
Page reorientation method provided in an embodiment of the present invention is described further with reference to Fig. 2.
Referring to Fig. 2, when user terminal is Fructus Mali pumilae terminal (such as i Phone or Fructus Mali pumilae panel computer), and Fructus Mali pumilae terminal connects When being connected to the WIFI that operator provides, the method for page reorientation may include steps of:
S1:Fructus Mali pumilae terminal can set up first time TCP three-way handshake with Apple Web site, so as to set up Fructus Mali pumilae terminal and Fructus Mali pumilae TCP connections between website;
S2:Fructus Mali pumilae terminal sends HTTP GET resource request messages to network access equipment;
S3:Network access equipment judges a HTTP after HTTP GET resource request messages are received Whether GET resource request messages are default clearance message, if so, judge that whether HTTP GET resource request messages are Probe messages;Wherein, the message comprising default first keyword " Apple " is default clearance message, comprising default Second keyword " captive " or " hostspot-detect " are probe messages in message;
S4:When network access equipment judges HTTP GET resource request messages for probe messages, network insertion Equipment obtains first and redirects HTTP message, and wherein, the first redirection HTTP message is carried promotes business's website HTTP message;
S5:First filter module of the network access equipment after the first redirection HTTP message is obtained, in network access equipment The the first redirection HTTP message for obtaining is returned to the second filtering module of network access equipment by block;
S6:The counterfeit Fructus Mali pumilae terminal of network access equipment sends a RST message for disconnecting TCP connections to Apple Web site;
S7:After the second filtering module of network access equipment receives the first redirection HTTP message, network insertion Equipment sends the first redirection HTTP message to Fructus Mali pumilae terminal;
S8:Fructus Mali pumilae terminal sets up second TCP three-way handshake with business website is promoted, so as to setting up Fructus Mali pumilae terminal and promoting business TCP connections between website;
S9:Fructus Mali pumilae terminal sends the 2nd HTTP GET moneys corresponding to the first redirection HTTP message to business website is promoted Source request message;Wherein, the 2nd HTTP GET resource request messages corresponding to the first redirection HTTP message are not belonging to visit Text is observed and predicted, and the 2nd HTTP GET resource request messages carry the HTTP message for promoting business's website;Wherein, comprising pushing away The message of wide business's website is also default clearance message;
S10:Network access equipment judges the 2nd HTTP after the 2nd HTTP GET resource request messages are received GET resource request messages are default clearance message, and judge that the 2nd HTTP GET resource request messages are not probe messages, Let pass the 2nd HTTP GET resource request messages;
S11:After popularization business website receives the 2nd HTTP GET resource request messages, judge to send the 2nd HTTP Whether the user terminal of GET resource request messages is IOS systems;
S12:Promote business website and judge that the user terminal for sending the 2nd HTTP GET resource request messages is IOS systems, Promote business website the second redirection HTTP message is replied to the user terminal (i.e. Fructus Mali pumilae terminal), wherein, second redirection HTTP message carries the apple store websites in Apple Web site;
S13:Fructus Mali pumilae terminal sets up third time TCP three-way handshake with Apple Web site, so as to set up Fructus Mali pumilae terminal and Fructus Mali pumilae net TCP connections between standing;
S14:Fructus Mali pumilae terminal sends the corresponding 3rd HTTP GET resources of the second redirection HTTP message to Apple Web site Request message, wherein, the corresponding 3rd HTTP GET resource request messages of the second redirection HTTP message are not belonging to detection report Text, and the 3rd HTTP GET resource request messages carry the apple store websites in Apple Web site;
S15:Network access equipment judges the 3rd HTTP after the 3rd HTTP GET resource request messages are received GET resource request messages are default clearance message, and judge that the 3rd HTTP GET resource request messages are not probe messages, Let pass the 3rd HTTP GET resource request messages so that can be with the download interface of automatic spring APP in Fructus Mali pumilae terminal.Can be with It is understood by, when Apple Web site detects the instruction for downloading APP, Apple Web site is returned corresponding to the instruction to Fructus Mali pumilae terminal Download content.
Require emphasis, in first time TCP three-way handshake, second TCP three-way handshake and third time TCP three-way handshake For the first time, three TCP three-way handshakes are respectively merely due to distinguishing for the second time and for the third time.
Connect to downloading the popularization APP for obtaining based on page reorientation method provided in an embodiment of the present invention with reference to Fig. 3 Enter WIFI to be further described.
As shown in figure 3, user terminal downloads after installing the APP clients of the popularization APP, in the client homepage page Cake hits me and will surf the Net, and network access equipment responds 302 redirection messages to APP clients, and 302 redirection message is by client End interface is redirected to portal certification webpages (for example keying in the page of username and password).APP clients are to cloud service Device sends certification request, then, when username and password certification request passes through, cloud server responds 302 weights to APP clients Orientation message, 302 redirection message are redirected to named web page, and allow user terminal to access the Internet.Wherein, the high in the clouds Server refers to portal servers, and portal servers are existing concept, and here is not detailed.
Said method embodiment is corresponded to, the embodiment of the present invention additionally provides a kind of page reorientation device, it is adaptable to net Network access device, described device can include:
First determining unit 401, for determining whether the resource request message for receiving is default clearance message, its In, the message that the resource request message is sent by user terminal;
When first determining unit 401, second determining unit 402, for determining that the resource request message for receiving is pre- If clearance message when, determine whether the resource request message is probe messages, wherein, the probe messages are for detecting Whether the user terminal can be with the message of access network;
When second determining unit 402, first transmitting element 403, for determining that the resource request message is detection report Wen Shi, obtains the redirection message for the resource request message, and the redirection message was sent to user's end End, for the target web corresponding to redirection message described in the user terminal access.
In embodiments of the present invention, network access equipment detects whether received resource request message is default first Clearance message.If it is, further detect to the resource request message, that is, detect that whether the resource request message is Probe messages.If probe messages, then the resource request message is redirected to target web.As such, it is possible to belonging to Clearance message, but the resource request message for belonging to probe messages again is redirected to target web, so that user's end After termination receives the instruction of the WIFI provided by connection operator, the download interface for promoting APP can be directly ejected.
Alternatively, page reorientation device provided in an embodiment of the present invention, can also include:
Judging unit, for first transmitting element obtain for the resource request message redirection message it Before, judge that whether the user terminal is the terminal by the network access equipment certification;
When the judging unit, clearance unit, for judging that the user terminal is by the network access equipment certification Terminal when, the resource request message of letting pass, for the net corresponding to resource request message described in the user terminal access Page.
Alternatively, second determining unit 402 determines that the step of whether resource request message is probe messages is wrapped Include:
Judge whether captive is carried in the URL that the resource request message is carried;
If so, show that the resource request message is probe messages;
If it is not, showing that the resource request message is not probe messages.
Alternatively, page reorientation device provided in an embodiment of the present invention, can also include:
Second transmitting element, for after determining that the resource request message is probe messages, to the probe messages institute Server to be accessed sends and terminates connection message, to remove the user terminal and the clothes by the connection message that terminates TCP connections between business device.
Alternatively, page reorientation device provided in an embodiment of the present invention, can also include:
When first determining unit, trigger element, for determining that the resource request message for receiving is not default clearance During message, trigger first transmitting element and execute the redirection message obtained for the resource request message, and will be described The step of redirection message is sent to the user terminal.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or deposit between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to Nonexcludability includes, so that a series of process, method, article or equipment including key elements not only includes that those will Element, but also other key elements including being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for system reality For applying example, as which is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Presently preferred embodiments of the present invention is the foregoing is only, protection scope of the present invention is not intended to limit.All Any modification, equivalent substitution and improvements that is made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention Interior.

Claims (10)

1. a kind of page reorientation method, it is characterised in that suitable for network access equipment, methods described includes:
Determine whether the resource request message for receiving is default clearance message, wherein, the resource request message is user The message sent by terminal;
If so, determine whether the resource request message is probe messages, wherein, the probe messages are for detecting the use Whether family terminal can be with the message of access network;
If probe messages, the redirection message for the resource request message is obtained, and the redirection message is sent To the user terminal, for the target web corresponding to redirection message described in the user terminal access.
2. method according to claim 1, it is characterised in that obtaining the redirection report for the resource request message Before text, also include:
Judge that whether the user terminal is the terminal by the network access equipment certification;
If so, let pass the resource request message, for the net corresponding to resource request message described in the user terminal access Page.
3. method according to claim 1 and 2, it is characterised in that determine whether the resource request message is detection report Text, including:
Judge whether captive is carried in the URL that the resource request message is carried;
If so, show that the resource request message is probe messages;
If it is not, showing that the resource request message is not probe messages.
4. method according to claim 1 and 2, it is characterised in that determining that the resource request message is probe messages Afterwards, also include:
Send to probe messages server to be accessed and terminate connection message, to be removed by the connection message that terminates TCP connections between the user terminal and the server.
5. method according to claim 1, it is characterised in that also include:
When determining that the resource request message for receiving is not default clearance message, the acquisition redirection message is executed, and The step of redirection message is sent to the user terminal.
6. a kind of page reorientation device, it is characterised in that suitable for network access equipment, described device includes:
First determining unit, for determining whether the resource request message for receiving is default clearance message, wherein, the money The message that source request message is sent by user terminal;
When first determining unit, second determining unit, for determining that the resource request message for receiving is default report of letting pass Wen Shi, determines whether the resource request message is probe messages, and wherein, the probe messages are for detecting user's end Whether end can be with the message of access network;
First transmitting element, for when second determining unit determines that the resource request message is probe messages, obtaining For the redirection message of the resource request message, and the redirection message is sent to the user terminal, for institute State the target web corresponding to redirection message described in user terminal access.
7. device according to claim 6, it is characterised in that also include:
Judging unit, for first transmitting element obtain for the resource request message redirection message before, Judge that whether the user terminal is the terminal by the network access equipment certification;
When the judging unit, clearance unit, for judging that the user terminal is the end by the network access equipment certification During end, the resource request message of letting pass, for the webpage corresponding to resource request message described in the user terminal access.
8. the device according to claim 6 or 7, it is characterised in that second determining unit determines the resource request The step of whether message is probe messages includes:
Judge whether captive is carried in the URL that the resource request message is carried;
If so, show that the resource request message is probe messages;
If it is not, showing that the resource request message is not probe messages.
9. the device according to claim 6 or 7, it is characterised in that also include:
Second transmitting element, for, after determining that the resource request message is probe messages, visiting to the probe messages The server that asks sends and terminates connection message, to remove the user terminal and the server by the connection message that terminates Between TCP connection.
10. device according to claim 6, it is characterised in that also include:
When first determining unit, trigger element, for determining that the resource request message for receiving is not default clearance message When, trigger first transmitting element and execute the redirection message obtained for the resource request message, and reset described The step of sending to the user terminal to message.
CN201611056661.1A 2016-11-25 2016-11-25 A kind of page reorientation method and device Pending CN106506675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611056661.1A CN106506675A (en) 2016-11-25 2016-11-25 A kind of page reorientation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611056661.1A CN106506675A (en) 2016-11-25 2016-11-25 A kind of page reorientation method and device

Publications (1)

Publication Number Publication Date
CN106506675A true CN106506675A (en) 2017-03-15

Family

ID=58328576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611056661.1A Pending CN106506675A (en) 2016-11-25 2016-11-25 A kind of page reorientation method and device

Country Status (1)

Country Link
CN (1) CN106506675A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833426A (en) * 2018-06-27 2018-11-16 北京小米移动软件有限公司 The method and apparatus for sending login page
CN109274657A (en) * 2018-09-04 2019-01-25 深圳市吉祥腾达科技有限公司 A kind of method and system carrying out access authentication based on WEB
CN110879870A (en) * 2019-11-08 2020-03-13 深圳市友华软件科技有限公司 Page redirection method and device based on HTTP request

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416090A (en) * 2002-09-23 2003-05-07 华为技术有限公司 Method for pushing customized web page to network users
CN101217568A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 A webpage push method, system and device
WO2009132700A1 (en) * 2008-04-29 2009-11-05 Telefonaktiebolaget L M Ericsson (Publ) Improved intrusion detection and notification
CN104104516A (en) * 2014-07-30 2014-10-15 杭州华三通信技术有限公司 Portal authentication method and device
CN104158808A (en) * 2014-08-19 2014-11-19 杭州华三通信技术有限公司 Portal authentication method based on APP application and device
CN105049413A (en) * 2015-06-02 2015-11-11 杭州敦崇科技股份有限公司 Authentication method for free wireless Internet access
CN105530638A (en) * 2016-01-12 2016-04-27 杭州敦崇科技股份有限公司 Free WIFI authentication system based on friend circle sharing
CN106102060A (en) * 2016-06-04 2016-11-09 杭州敦崇科技股份有限公司 A kind of free WIFI authentication mode increasing information exposure rate
CN106162640A (en) * 2016-06-30 2016-11-23 上海斐讯数据通信技术有限公司 A kind of portal authentication method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416090A (en) * 2002-09-23 2003-05-07 华为技术有限公司 Method for pushing customized web page to network users
CN101217568A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 A webpage push method, system and device
WO2009132700A1 (en) * 2008-04-29 2009-11-05 Telefonaktiebolaget L M Ericsson (Publ) Improved intrusion detection and notification
CN104104516A (en) * 2014-07-30 2014-10-15 杭州华三通信技术有限公司 Portal authentication method and device
CN104158808A (en) * 2014-08-19 2014-11-19 杭州华三通信技术有限公司 Portal authentication method based on APP application and device
CN105049413A (en) * 2015-06-02 2015-11-11 杭州敦崇科技股份有限公司 Authentication method for free wireless Internet access
CN105530638A (en) * 2016-01-12 2016-04-27 杭州敦崇科技股份有限公司 Free WIFI authentication system based on friend circle sharing
CN106102060A (en) * 2016-06-04 2016-11-09 杭州敦崇科技股份有限公司 A kind of free WIFI authentication mode increasing information exposure rate
CN106162640A (en) * 2016-06-30 2016-11-23 上海斐讯数据通信技术有限公司 A kind of portal authentication method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833426A (en) * 2018-06-27 2018-11-16 北京小米移动软件有限公司 The method and apparatus for sending login page
CN109274657A (en) * 2018-09-04 2019-01-25 深圳市吉祥腾达科技有限公司 A kind of method and system carrying out access authentication based on WEB
CN110879870A (en) * 2019-11-08 2020-03-13 深圳市友华软件科技有限公司 Page redirection method and device based on HTTP request

Similar Documents

Publication Publication Date Title
CN104158808B (en) Portal authentication method and its device based on APP applications
CN105007581B (en) A kind of network access authentication method and client
CN102884764B (en) Message receiving method, deep packet inspection device, and system
CN108737327A (en) Intercept method, apparatus, system, processor and the memory of malicious websites
CN110248364B (en) IOT equipment network distribution method, device, equipment and medium
CN104080085B (en) Wireless network access double authentication method, device and system
CN103024740B (en) Method and system for accessing internet by mobile terminal
CN101834866A (en) CC (Communication Center) attack protective method and system thereof
CN108696490A (en) The recognition methods of account permission and device
CN109862043A (en) A kind of method and device of terminal authentication
CN104125258A (en) Page Jump method, terminal, server and system
CN103796278A (en) Mobile terminal wireless network access control method
CN109688280A (en) Request processing method, request processing equipment, browser and storage medium
CN104253785B (en) Dangerous network address recognition methods, apparatus and system
CN105871853A (en) Portal authenticating method and system
CN104378389B (en) Website security detection method and device
CN103703741B (en) application program distribution method, terminal and server
CN110505188B (en) Terminal authentication method, related equipment and authentication system
CN107465666A (en) A kind of client ip acquisition methods and device
CN106506675A (en) A kind of page reorientation method and device
CN108259457A (en) A kind of WEB authentication methods and device
CN106790291A (en) A kind of intrusion detection reminding method and device
CN107274222A (en) Advertisement placement method and device
CN103428062B (en) A kind of access method of vpn server and a kind of VPN client computer
CN106161436A (en) A kind of method preventing domain name system DNS from polluting and gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310

Applicant before: Huasan Communication Technology Co., Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315