WO2014194580A1 - 浏览器重定向方法及装置 - Google Patents

浏览器重定向方法及装置 Download PDF

Info

Publication number
WO2014194580A1
WO2014194580A1 PCT/CN2013/083079 CN2013083079W WO2014194580A1 WO 2014194580 A1 WO2014194580 A1 WO 2014194580A1 CN 2013083079 W CN2013083079 W CN 2013083079W WO 2014194580 A1 WO2014194580 A1 WO 2014194580A1
Authority
WO
WIPO (PCT)
Prior art keywords
browser
address
http request
virtual
url
Prior art date
Application number
PCT/CN2013/083079
Other languages
English (en)
French (fr)
Inventor
张文涛
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014194580A1 publication Critical patent/WO2014194580A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Definitions

  • the present invention relates to the field of communications, and in particular, to a browser redirection method and apparatus.
  • a gateway device such as a customer premises (CPE), a wireless access node (AP), a router, and the like is embedded in a webpage.
  • Service webserver
  • the user accesses the built-in web page to set the routing parameters, the third generation (3rd-Gen era ti 0 n, referred to as 3G) dialing settings, wifi parameter settings.
  • 3G third generation
  • Some devices are only 3G, and some devices have 3G and wifi, which can be used as both an AP and a station. After connecting to the network through the AP, users can access these APs or routers to access the Internet using their mobile phones or PCs.
  • the present invention provides a browser redirection method and apparatus that overcomes the above problems or at least partially solves the above problems.
  • a browser redirection method including: after monitoring a disconnection of a network, setting a routing information of a browser to all Hypertext Transfer Protocols (Hypertext Transfer Protocol) to be sent by the browser; Referred to as HTTP) Requests all point to a specific gateway address, and monitor the HTTP request in the browser to send data streams; after monitoring the browser to initiate an HTTP request, intercept the HTTP request and block the next processing of the HTTP request, The specific gateway address is fed back to the browser; after the browser accesses according to the specific gateway address, the gateway device corresponding to the specific gateway address jumps the browser page to the specified page.
  • Hypertext Transfer Protocol Hypertext Transfer Protocol
  • the monitoring of the HTTP request in the browser sending data stream includes: mounting an HTTP request monitoring function at the initial end of the browser sending the data stream, wherein the HTTP request monitoring function determines whether the HTTP request is by determining the port number in the data stream. .
  • the method further includes: after monitoring the successful connection of the network, deleting the routing information, and closing the monitoring of the HTTP request in the data stream sent by the browser; the browser re-initiating the HTTP request.
  • the method further includes: when monitoring the browser to initiate a Domain Name System (DNS) request, obtaining a Uniform Resource Locator (URL) address in the DNS request, and generating a URL corresponding to the URL
  • DNS Domain Name System
  • URL Uniform Resource Locator
  • the virtual network protocol Internet Protocol, IP for short
  • IP Internet Protocol
  • the method further includes: requesting, by the URL, the real IP address corresponding to the URL from the DNS server; storing the URL, the virtual IP address, and the real IP address into the data area.
  • the method further includes: after monitoring the successful connection of the network, deleting the routing information, closing the monitoring of the HTTP request in the data stream sent by the browser; reading the URL, and obtaining the real IP address corresponding to the virtual IP address from the data area according to the URL ; redirects the browser's access to the virtual IP address to the real IP address.
  • Redirecting the browser's access to the virtual IP address to the real IP address includes: If the browser has jumped to the specified page and has not been closed, and the browser accesses the URL again and initiates an HTTP request using the virtual IP address, the system is utilized The built-in routing control command redirects the browser's access to the virtual IP address directly to the real IP address.
  • the method further includes: notifying the gateway device corresponding to the specific gateway address to jump to the specified page.
  • the gateway device corresponding to the specific gateway address jumps the browser page to the specified page includes: When the gateway device displays the page to the user, according to the notification, the browser page is jumped to the specified page.
  • the gateway device corresponding to the specific gateway address jumps the page of the browser to the specified page, including: When the gateway device displays the page to the user, the page of the browser is automatically jumped to the specified page.
  • the specific gateway address includes: The server address of the web service inside the corresponding gateway device.
  • a browser redirection device including: a setting monitoring module, configured to set a browser routing information to send all super-sends after detecting that the network connection is disconnected
  • the text transfer protocol HTTP request points to a specific gateway address, and monitors the HTTP request in the data stream sent by the browser;
  • the interception feedback module is configured to intercept the HTTP request after monitoring the browser to initiate an HTTP request according to the virtual IP address, And blocking the next step of the HTTP request, feedback the specific gateway address to the browser, and redirect the browser to a specific gateway address.
  • the setting monitoring module is configured to mount an HTTP request monitoring function at the initial end of the browser to send the data stream, wherein the HTTP request monitoring function determines whether the HTTP request is by determining the port number in the data stream.
  • the device further includes: a virtual IP module, configured to: when detecting that the browser initiates the domain name system DNS request, obtain a uniform resource locator URL address in the DNS request, generate a virtual network protocol IP address corresponding to the URL, and set the virtual IP address The address is fed back to the browser.
  • a virtual IP module configured to: when detecting that the browser initiates the domain name system DNS request, obtain a uniform resource locator URL address in the DNS request, generate a virtual network protocol IP address corresponding to the URL, and set the virtual IP address The address is fed back to the browser.
  • the device further includes: a request storage module, configured to: after the virtual IP module generates a virtual IP address corresponding to the URL, request a real IP address corresponding to the URL according to the URL according to the URL; and the URL, the virtual IP address, and the real IP address Store to the data area; delete the shutdown module, set to delete the routing information after monitoring the successful network connection, close the monitoring of the HTTP request in the browser sending data stream; the redirection module, set to read the URL, according to the URL from The data area obtains the real IP address corresponding to the virtual IP address, and redirects the browser's access to the virtual IP address to the real IP address.
  • a request storage module configured to: after the virtual IP module generates a virtual IP address corresponding to the URL, request a real IP address corresponding to the URL according to the URL according to the URL; and the URL, the virtual IP address, and the real IP address Store to the data area; delete the shutdown module, set to delete the routing information after monitoring the successful network connection, close the monitoring of the HTTP request in the browser sending
  • the redirect module is set to use the system's own routing control command to bring the browser to the virtual IP when the browser has jumped to the specified page and has not been closed yet, and the browser accesses the URL again and uses the virtual IP address to initiate the HTTP request.
  • the access to the address is redirected directly to the real IP address.
  • the device further includes: a notification module, configured to notify the gateway device corresponding to the specific gateway address to jump to the specified page after the interception feedback module feeds back the specific gateway address to the browser, so that the gateway device displays the page to the user , according to the notification, jump the browser's page to the specified page.
  • the specific gateway address includes: The server address of the web service inside the corresponding gateway device.
  • the technical solution provided by the present invention intercepts the HTTP request data, feeds the browser to the address that needs to be redirected, and then notifies the gateway device to perform the jump of the specified page, which solves the problem that the user cannot immediately know when the network has no service in the prior art.
  • the technical solution of the embodiment of the present invention when the network is disconnected, as long as the user opens the browser to access the webpage, the user can jump to the specified page and prompt the user network to have no service.
  • FIG. 1 is a schematic diagram of a DNS domain name resolution process according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a browser redirection method according to an embodiment of the present invention
  • FIG. 3 is a browser redirection method according to an embodiment of the present invention
  • FIG. 4 is a flowchart of HTTP redirection processing in a disconnected state according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of HTTP redirection in a networked state according to an embodiment of the present invention
  • FIG. 6 is an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a DNS domain name resolution process according to an embodiment of the present invention.
  • FIG. 1 why is there a browser cache problem: As shown in FIG. 1, when a terminal opens a browser, a domain name is entered, and the browser is directed to the DNS. The server initiates a domain name resolution request. When the browser obtains the IP address corresponding to a URL fed back by the DNS server, the IP address is always cached.
  • the present invention provides a browser redirection method and apparatus.
  • the embodiment of the present invention needs to intercept the HTTP request data, and feed back to the browser the address that needs to be redirected, and then notify the gateway device.
  • the web server webserver
  • the web server is used to perform the jump of the specified page, or the web server performs the jump of the page according to the flag bit.
  • the virtual IP needs to be generated.
  • the browser feeds back the virtual IP, and then uses the solution of the problem 1 to jump to the specified page, and then uses the route redirection method to eliminate the problem caused by the browser cache.
  • the network state prompt can be quickly obtained, and the problem that the webpage cannot be accessed by the browser cache can be eliminated after the networking.
  • Step 201 After detecting that the network connection is disconnected, setting the routing information of the browser to point all HTTP requests sent by the browser to a specific gateway address, and sending the data stream in the browser The HTTP request is monitored.
  • the specific gateway address includes: a server address of a webpage service inside the corresponding gateway device.
  • the HTTP request monitoring function when monitoring the HTTP request in the data stream sent by the browser, the HTTP request monitoring function may be mounted at the initial end of the data stream sent by the browser, wherein the HTTP request monitoring function may determine the port in the data stream. Number to determine if it is an HTTP request.
  • Step 202 After monitoring the browser to initiate an HTTP request, intercepting the HTTP request, and blocking the next processing of the HTTP request, and feeding back the specific gateway address to the browser; In step 202, after the specific gateway address is fed back to the browser, the gateway device corresponding to the specific gateway address may be notified to jump to the specified page; Step 203, after the browser accesses according to the specific gateway address, and the specific gateway address The corresponding gateway device jumps the browser's page to the specified page.
  • step 203 if the notification of the jump is received, when the gateway device displays the page to the user, according to the notification, the page of the browser is jumped to the designated page. Alternatively, you can set it to automatically jump the browser's page to the specified page.
  • the browser After the browser has cached the corresponding real IP address, after monitoring the successful network connection, deleting the routing information, closing the monitoring of the HTTP request in the browser sending data stream; the browser directly according to the cache
  • the real IP address re-initiates the HTTP request.
  • the browser initiates a DNS request it is required that the DNS request is initiated to initiate a DNS request for the first time to initiate a DNS request
  • the URL address in the DNS request is obtained.
  • the browser initiates an HTTP request according to the virtual IP address.
  • the real IP address corresponding to the URL needs to be requested from the DNS server according to the URL; and the URL, the virtual IP address, and the real IP address are stored in the data area.
  • the routing information is deleted, and the monitoring of the HTTP request in the data stream sent by the browser is closed; the URL is read, and the real IP address corresponding to the virtual IP address is obtained from the data area according to the URL. ; redirects the browser's access to the virtual IP address to the real IP address.
  • FIG. 3 is a schematic diagram of a function of a browser redirection method according to an embodiment of the present invention. As shown in FIG.
  • FIG. 4 is a flowchart of HTTP redirection processing in a disconnected state according to an embodiment of the present invention. As shown in FIG.
  • Step 1 disconnect the network; Step 2, initialize the route, point all HTTP requests to a specific gateway address, and further, you can use the system's own routing settings command, such as linux Iptables routing settings command, you can also use windows
  • the built-in routing setting command redirects the access 80 (HTTP) port request to the gateway address, which is the server address of the webserver inside the device.
  • Step 3 Mount a function to monitor the HTTP data request at the initial end of the data stream, below The monitoring function becomes HOOK; further, after the external data stream enters the network device of the modem, the monitoring function is added, and the monitoring function is turned on, and the original monitoring function of the system can be utilized, or the monitoring processing function can be added and monitored.
  • Step 4 Accessing the data request of port 80, that is, judging whether it is an HTTP request by judging the port number in the data stream; Step 4, the user inputs the domain name of Baidu; Step 5, determining whether the browser sends the DNS domain name resolution request, if the judgment is yes, Go to step 6, otherwise, go to step 7; Step 6, if the received DNS request initiated by the browser, the URL for the received generate a corresponding virtual IP, URL and save data area to the virtual IP, and returns to step 4.
  • the save mode can be temporarily stored in a file or temporarily stored in memory. And feedback this virtual IP to the browser, otherwise no other operations.
  • the structure of the data includes not limited to: URL, virtual IP, real IP, etc., and the name can be formulated as needed, as shown in Table 1 - Table 1
  • the virtual IP is an IPV4 or IPV6 address, and the generation may not conflict with the gateway address of the terminal or other uses of the terminal as needed. It can be stored in an array or in a linked list.
  • Step 7 the browser performs a TCP handshake;
  • Step 8 the browser uses the parsed IP address to initiate an HTTP request;
  • Step 9, HOOK intercepts the HTTP request, blocks the next processing of the data stream, and performs step 10;
  • Step 10 Perform a redirected HTTP jump, and forward the jump address (which may be a gateway address or other set address) to the browser through the HTTP 3XX status code;
  • Step 11 set the jump flag bit or use Other communication methods inform the webserver to jump to the specified page, or do not set the flag, the webserver performs the default page jump.
  • FIG. 5 is a schematic diagram of HTTP redirection in a networked state according to an embodiment of the present invention.
  • the method includes the following steps: Step 1: The network connection is successful; Step 2, clearing the routing information; Further, due to the jump control module Initialize the route to all the http requests to the specific gateway address. After the network connection is successful, in order not to affect the normal processing of the http data stream of the terminal, the routing information is cleared or directly deleted; Step 3, close the HTTP data stream.
  • Step 4 reading the URL in step 3, obtaining its real IP, specifically, the mapping table of URL, virtual IP and real IP needs to be saved before, In an actual application, each URL in the corresponding relation table may be traversed, and the real IP address is requested from the DNS server for each URL. After the real IP is obtained, it is saved in the corresponding relationship table.
  • Step 5 Perform a route redirection operation, traverse the entire correspondence table, and redirect all accesses to the virtual IP to the real IP. Further, in the disconnected state, the access browser for a URL receives a virtual IP. After the network is connected, if the browser is not closed, and the URL is accessed again, the browser will directly initiate a data request with the virtual IP.
  • the terminal directly redirects the access to the virtual IP to the real state by using the routing control command provided by the system.
  • IP then even if the browser is not closed, it can not affect the access of the URL.
  • the redirect method can be redirected using iptalbes that comes with linux, or use the routing commands that come with Windows.
  • FIG. 6 is a schematic structural diagram of a browser redirection device according to an embodiment of the present invention. As shown in FIG. 6, a browser redirection according to an embodiment of the present invention is shown.
  • the device includes: a setting monitoring module 60, and an intercepting feedback module 62. The respective modules of the embodiments of the present invention are described in detail below.
  • the setting monitoring module 60 is configured to set the routing information of the browser to point all the Hypertext Transfer Protocol HTTP requests sent by the browser to the specific gateway address after monitoring the disconnection of the network connection, and send the data stream to the browser.
  • the HTTP request is monitored; preferably, the specific gateway address includes: a server address of a web service within the corresponding gateway device.
  • the setting monitoring module 60 may be configured to mount an HTTP request monitoring function at an initial end of the browser sending the data stream, wherein the HTTP request monitoring function determines whether the HTTP request is by determining the port number in the data stream.
  • the interception feedback module 62 is configured to intercept the HTTP request after monitoring the browser to initiate the HTTP request, and block the next processing of the HTTP request, and feed back the specific gateway address to the browser to redirect the browser to the specific gateway address.
  • the device may further include: a virtual IP module configured to: when detecting a DNS request initiated by the browser, obtain a uniform resource locator URL address in the DNS request, generate a virtual network protocol IP address corresponding to the URL, and The IP address is fed back to the browser; the request storage module is configured to, after the virtual IP module generates the virtual IP address corresponding to the URL, request the real IP address corresponding to the URL from the DNS server according to the URL; the URL, the virtual IP address, and the real The IP address is stored in the data area; the delete module is set, after the network connection is successfully detected, the routing information is deleted, and the monitoring of the HTTP request in the data stream sent by the browser is closed;
  • the HTTP request module is configured to enable the browser to re-initiate the HTTP request according to the cached real IP address if the browser has already cached the corresponding real IP address; the redirect module is set to read the URL, according to the URL
  • the data area obtains the real IP address corresponding to the virtual IP address, and redirects the browser's access to the virtual IP address to the real IP address.
  • the redirection module may be configured to use the system's own routing control command to browse when the browser has jumped to the specified page and has not been closed yet, and the browser accesses the URL again and uses the virtual IP address to initiate the HTTP request.
  • the access to the virtual IP address is redirected directly to the real IP address.
  • the apparatus may further include: a notification module, configured to notify the gateway device corresponding to the specific gateway address to jump to the designated page after the intercepting feedback module 62 feeds back the specific gateway address to the browser, so that the gateway device When the page is displayed to the user, the browser's page is jumped to the specified page according to the notification.
  • a notification module configured to notify the gateway device corresponding to the specific gateway address to jump to the designated page after the intercepting feedback module 62 feeds back the specific gateway address to the browser, so that the gateway device When the page is displayed to the user, the browser's page is jumped to the specified page according to the notification.
  • the user when the network is disconnected, the user opens a browser to access a specific URL on the Internet, and a page prompt of the network without service is obtained, and the user does not close even after connecting to the network.
  • the current browser can also continue to access the URL.
  • the network disconnection prompt can be obtained.
  • the present invention cover the modifications and the modifications of the invention Industrial Applicability
  • the technical solution provided by the present invention intercepts the request data of HTTP, feeds back to the browser the address that needs to be redirected, and then notifies the gateway device to perform the jump of the specified page, thereby solving the problem in the prior art that the network has no service.
  • the problem of the network connection status cannot be immediately known.
  • the technical solution of the embodiment of the present invention when the network is disconnected, the user can jump to the specified page and prompt the user network to be unavailable, as long as the user opens the browser to access the webpage.

Abstract

本发明公开了一种浏览器重定向方法及装置。该方法包括:在监测到网络连接断开后,将浏览器的路由信息设置为将其发送的所有HTTP请求都指向特定网关地址,并对浏览器发送数据流中的HTTP请求进行监控;在监控到浏览器发起HTTP请求后,截获HTTP请求,并阻断HTTP请求的下一步处理,将特定网关地址反馈给浏览器;在浏览器根据特定网关地址进行访问后,与特定网关地址相应的网关设备将浏览器的页面跳转到指定页面。借助于本发明的技术方案,当网络断开后,只要用户打开浏览器访问网页,即可进行跳转到指定页面并提示用户网络无服务。

Description

浏览器重定向方法及装置 技术领域 本发明涉及通讯领域, 特别是涉及一种浏览器重定向方法及装置。 背景技术 在现有技术中, 当前的物理上位于用户侧的硬件 (Customer Premise Equipment, 简称为 CPE)、 无线无线访问节点 (Access Point, 简称为 AP)、 路由器等网关设备大 都内嵌了一个网页服务 (webserver), 用户通过访问内置的网页来进行路由参数的设 置、 第三代 (3rd-Generati0n, 简称为 3G) 的拨号设置、 wifi的参数设置。 有的设备是 仅有 3G,有的设备具有 3G和 wifi,其既可以做 AP又可以做为站点(station)来使用。 通过 AP连接网络后, 用户就可以用自己的手机或者 PC接入这些 AP或者路由器来上 网了。 但是, 当网络出现一些问题导致网络无服务时, 用户是无法立即获知 AP的网络 连接状态的。 此时, 如果用户正常浏览网页, 可能要重复刷新网页数次后发现无法连 接, 才去检测 AP的网络状态, 通过 AP的 webserver或者通过 AP的屏幕查看, 才可 以发现 3G或者 wifi已经无服务了。 这时用户就需要更换更好的热点, 或者进行 wifi 和 3G的切换。 但是, 由此带来的用户体验是不良的。 发明内容 本发明提供了一种浏览器重定向方法及装置, 可以克服上述问题或者至少部分地 解决上述问题。 根据本发明的一个方面, 提供了一种浏览器重定向方法, 包括: 在监测到网络连 接断开后, 将浏览器的路由信息设置为将其发送的所有超文本传输协议 (Hypertext Transfer Protocol, 简称为 HTTP) 请求都指向特定网关地址, 并对浏览器发送数据流 中的 HTTP请求进行监控; 在监控到浏览器发起 HTTP请求后, 截获 HTTP请求, 并 阻断 HTTP请求的下一步处理, 将特定网关地址反馈给浏览器; 在浏览器根据特定网 关地址进行访问后,与特定网关地址相应的网关设备将浏览器的页面跳转到指定页面。 对浏览器发送数据流中的 HTTP请求进行监控包括: 在浏览器发送数据流的初始 端挂载 HTTP请求监控函数, 其中, HTTP请求监控函数通过判断数据流中的端口号 来判断是否为 HTTP请求。 上述方法还包括: 在监测到网络连接成功后, 删除路由信息, 关闭对浏览器发送 数据流中的 HTTP请求的监控; 浏览器重新发起 HTTP请求。 截获 HTTP请求之前, 上述方法还包括: 在监测到浏览器发起域名系统 (Domain Name System , 简称为 DNS ) 请求时, 获取 DNS 请求中的统一资源定位符 ( UniformResourceLocator , URL) 地址, 生成与 URL相应的虚拟网络协议 (Internet Protocol, 简称为 IP)地址, 并将虚拟 IP地址反馈给浏览器; 浏览器根据虚拟 IP地址 发起 HTTP请求。 生成与 URL对应的虚拟 IP地址之后, 上述方法还包括: 根据 URL向 DNS服务 器请求与 URL相应的真实 IP地址; 将 URL、 虚拟 IP地址、 以及真实 IP地址存储到 数据区。 上述方法还包括: 在监测到网络连接成功后, 删除路由信息, 关闭对浏览器发送 数据流中的 HTTP请求的监控; 读取 URL, 根据 URL从数据区获取虚拟 IP地址所对 应的真实 IP地址; 将浏览器对于虚拟 IP地址的访问重定向到真实 IP地址。 将浏览器对于虚拟 IP地址的访问重定向到真实 IP地址包括: 如果浏览器已经跳 转到指定页面且还未关闭, 并且浏览器再次访问 URL, 并使用虚拟 IP地址发起 HTTP 请求,则利用系统自带的路由控制命令将浏览器对于虚拟 IP地址的访问直接重定向到 真实 IP地址。 将指向特定网关地址反馈给浏览器之后, 上述方法还包括: 通知与特定网关地址 相应的网关设备跳转到指定页面。 与特定网关地址相应的网关设备将浏览器的页面跳转到指定页面包括: 在网关设 备向用户进行页面显示时, 根据通知, 将浏览器的页面跳转到指定页面。 与特定网关地址相应的网关设备将浏览器的页面跳转到指定页面包括: 在网关设 备向用户进行页面显示时, 自动将浏览器的页面跳转到指定页面。 特定网关地址包括: 相应网关设备内部的网页服务的服务器地址。 根据本发明的另一个方面, 还提供了一种浏览器重定向装置, 包括: 设置监控模 块, 设置为在监测到网络连接断开后, 将浏览器的路由信息设置为将其发送的所有超 文本传输协议 HTTP请求都指向特定网关地址, 并对浏览器发送的数据流中的 HTTP 请求进行监控; 截获反馈模块, 设置为在监控到浏览器根据虚拟 IP地址发起 HTTP请 求后, 截获 HTTP请求, 并阻断 HTTP请求的下一步处理, 将特定网关地址反馈给浏 览器, 使浏览器重定向到特定网关地址。 设置监控模块设置为在浏览器发送数据流的初始端挂载 HTTP请求监控函数, 其 中, HTTP请求监控函数通过判断数据流中的端口号来判断是否为 HTTP请求。 上述装置还包括: 虚拟 IP模块, 设置为在监测到浏览器发起域名系统 DNS请求 时, 获取 DNS请求中的统一资源定位符 URL地址, 生成与 URL相应的虚拟网络协议 IP地址, 并将虚拟 IP地址反馈给浏览器。 上述装置还包括: 请求存储模块, 设置为在虚拟 IP模块生成与 URL相应的虚拟 IP地址之后, 根据 URL向 DNS服务器请求与 URL相应的真实 IP地址; 将 URL、 虚 拟 IP地址、 以及真实 IP地址存储到数据区; 删除关闭模块, 设置为在监测到网络连 接成功后, 删除路由信息, 关闭对浏览器发送数据流中的 HTTP请求的监控; 重定向 模块, 设置为读取 URL, 根据 URL从数据区获取虚拟 IP地址所对应的真实 IP地址, 将浏览器对于虚拟 IP地址的访问重定向到真实 IP地址。 重定向模块设置为在浏览器已经跳转到指定页面未还未关闭, 并且浏览器再次访 问 URL, 并使用虚拟 IP地址发起 HTTP请求时, 利用系统自带的路由控制命令将浏 览器对于虚拟 IP地址的访问直接重定向到真实 IP地址。 上述装置还包括: 通知模块, 设置为在截获反馈模块将指向特定网关地址反馈给 浏览器之后, 通知与特定网关地址相应的网关设备跳转到指定页面, 使网关设备在向 用户进行页面显示时, 根据通知, 将浏览器的页面跳转到指定页面。 特定网关地址包括: 相应网关设备内部的网页服务的服务器地址。 本发明提供的技术方案通过截获 HTTP的请求数据, 给浏览器反馈需要跳转的地 址, 然后通知网关设备来进行指定页面的跳转, 解决了现有技术中在网络无服务时用 户无法立即获知网络连接状态的问题, 借助于本发明实施例的技术方案, 当网络断开 后, 只要用户打开浏览器访问网页, 即可进行跳转到指定页面并提示用户网络无服务。 上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明的技术手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上述和其它目的、 特征和优点 能够更明显易懂, 以下特举本发明的具体实施方式。 附图说明 通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对于本领域普通 技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并不认为是对本 发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的部件。 在附图中: 图 1是本发明实施例的 DNS域名解析过程的示意图; 图 2是本发明实施例的浏览器重定向方法的流程图; 图 3是本发明实施例的浏览器重定向方法的功能示意图; 图 4是本发明实施例的断网状态下 HTTP重定向处理的流程图; 图 5是本发明实施例的联网状态下的 HTTP重定向的示意图; 以及 图 6是本发明实施例的浏览器重定向装置的结构示意图。 具体实施方式 下面将参照附图更详细地描述本公开的示例性实施例。 虽然附图中显示了本公开 的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被这里阐述的实 施例所限制。 相反, 提供这些实施例是为了能够更透彻地理解本公开, 并且能够将本 公开的范围完整的传达给本领域的技术人员。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 为了解决现有技术中的问题, 需要首先解决以下两个问题: 问题 1, 网络断开后怎样跳转到指定页面; 问题 2, 网络连接成功状态下, 由于页面跳转和浏览器自身的缓存问题带来的无 法继续访问页面的问题。 图 1是本发明实施例的 DNS域名解析过程的示意图, 首先,根据图 1说明为什么 会有浏览器的缓存问题: 如图 1所示, 在终端打开浏览器, 输入一个域名, 浏览器向 DNS服务器发起域名解析请求, 当浏览器获取到 DNS服务器反馈的一个 URL对应的 IP地址后, 总会把该 IP地址进行缓存, 如果不关闭当前浏览器的话, 以后对该 URL 进行的访问, 浏览器不会再发起 DNS请求, 而是直接利用之前缓存的 IP地址进行数 据的请求。 为了解决上述问题, 本发明提供了一种浏览器重定向方法及装置, 针对问题 1, 本发明实施例需要截获 HTTP的请求数据, 并给浏览器反馈需要跳转的地址, 然后通 知网关设备上的网页服务 (webserver) 来进行指定页面的跳转, 或者 webserver根据 标志位来进行页面的跳转; 针对问题 2, 本发明实施例在浏览器进行 DNS域名解析请 求时, 需要生成虚拟 IP, 给浏览器反馈虚拟 IP, 进而利用问题 1的解决方法进行指定 页面的跳转, 再利用路由重定向的方法消除浏览器缓存带来的问题。 采用本发明实施 例的技术方案, 在断网状态下, 用户访问网页时, 既可以快速得到网络状态提示, 联 网后又可以消除浏览器缓存带来的无法访问网页的问题。 以下结合附图以及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描 述的具体实施例仅仅用以解释本发明, 并不限定本发明。 方法实施例 根据本发明的实施例, 提供了一种浏览器重定向方法, 图 2是本发明实施例的浏 览器重定向方法的流程图, 如图 2所示, 根据本发明实施例的浏览器重定向方法包括 如下处理: 步骤 201, 在监测到网络连接断开后, 将浏览器的路由信息设置为将其发送的所 有 HTTP请求都指向特定网关地址,并对浏览器发送数据流中的 HTTP请求进行监控; 优选地, 在本发明实施例中, 特定网关地址包括: 相应网关设备内部的网页服务的服 务器地址。 在步骤 201中, 对浏览器发送数据流中的 HTTP请求进行监控时, 可以在浏览器 发送数据流的初始端挂载 HTTP请求监控函数, 其中, HTTP请求监控函数可以通过 判断数据流中的端口号来判断是否为 HTTP请求。 步骤 202, 在监控到浏览器发起 HTTP请求后, 截获所述 HTTP请求, 并阻断所 述 HTTP请求的下一步处理, 将所述特定网关地址反馈给浏览器; 在步骤 202中, 将指向特定网关地址反馈给浏览器之后, 可以通知与特定网关地 址相应的网关设备跳转到指定页面; 步骤 203, 在浏览器根据特定网关地址进行访问后, 与特定网关地址相应的网关 设备将浏览器的页面跳转到指定页面。 在步骤 203中, 如果接收到了跳转的通知, 在网关设备向用户进行页面显示时, 根据该通知, 将浏览器的页面跳转到指定页面。 或者, 还可以设置为自动将浏览器的 页面跳转到指定页面。 在浏览器已经缓存有相应的真实的 IP地址的情况下, 在监测到网络连接成功后, 删除所述路由信息, 关闭对浏览器发送数据流中的 HTTP请求的监控; 浏览器直接根 据缓存的真实的 IP地址重新发起所述 HTTP请求。 在本发明实施例中,在监测到浏览器发起 DNS请求时(需要说明的是,发起 DNS 请求一般为第一次对该域名发起访问才会发起 DNS请求), 获取 DNS请求中的 URL 地址, 生成与 URL相应的虚拟网络协议 IP地址, 并将虚拟 IP地址反馈给浏览器; 浏 览器根据所述虚拟 IP地址发起 HTTP请求。 生成与 URL对应的虚拟 IP地址之后, 需要根据 URL向 DNS服务器请求与 URL 相应的真实 IP地址; 并将 URL、 虚拟 IP地址、 以及真实 IP地址存储到数据区。 在上述情况下, 在监测到网络连接成功后, 删除路由信息, 关闭对浏览器发送数 据流中的 HTTP请求的监控; 读取 URL, 根据 URL从数据区获取虚拟 IP地址所对应 的真实 IP地址; 将浏览器对于虚拟 IP地址的访问重定向到真实 IP地址。 具体地, 如 果浏览器已经跳转到指定页面且还未关闭, 并且浏览器再次访问 URL, 并使用虚拟 IP 地址发起 HTTP请求,则利用系统自带的路由控制命令将浏览器对于虚拟 IP地址的访 问直接重定向到真实 IP地址。 以下结合附图, 对本发明实施例的上述技术方案进行详细说明。 图 3是本发明实施例的浏览器重定向方法的功能示意图, 如图 3所示, 根据本发 明实施例的浏览器重定向方法具有初始化路由、 HOOK (上述监控函数) 的关闭和使 能、 虚拟 ip的生成、 HTTP跳转控制、 设置跳转标志位、 真实 IP获取、 以及地址重定 向的功能。 图 4是本发明实施例的断网状态下 HTTP重定向处理的流程图, 如图 4所示, 包 括如下处理: 步骤 1, 断开网络; 步骤 2, 初始化路由, 将所有 HTTP的请求都指向特定的网关地址, 进一步地, 可以利用系统自带的路由设置命令, 例如 linux的 Iptables路由设置命令, 也可以利用 windows 自带的路由设置命令, 将访问 80 (HTTP) 端口请求全部重定向到网关地址 即设备内部的 webserver的服务器地址; 步骤 3, 在数据流的初始端挂载一个函数监控 HTTP的数据请求, 以下该监控函 数成为 HOOK; 进一步地, 在外部数据流进入调制解调器 (modem) 的网络设备后, 增加监控函数, 并开启监控功能, 可以利用系统原有的监控函数, 也可以自己增加监 控处理函数,监控访问 80端口的数据请求, 即通过判断数据流中端口号来判断是否为 HTTP请求; 步骤 4, 用户输入百度的域名; 步骤 5, 判断浏览器是否发送了 DNS域名解析请求, 如果判断为是, 执行步骤 6, 否则, 执行步骤 7; 步骤 6, 如果接收到浏览器发起的 DNS请求, 则针对收到 URL生成对应的虚拟 IP, 保存 URL和虚拟 IP到数据区, 并返回步骤 4。保存方式可以用文件暂存, 也可以 暂存到内存。 并将此虚拟 IP反馈给浏览器, 否则不做其它操作。 进一步地, 数据的结 构体包括不限于: URL、 虚拟 IP、 真实 IP等, 名称可以根据需要自己拟定, 如表 1 所示- 表 1
Figure imgf000009_0001
需要说明的是, 虚拟 IP为一个 IPV4或者 IPV6的地址, 其生成可以根据需要不 与终端的网关地址或者终端使用的其它冲突即可。 可以用一个数组存储, 也可以用一 个链表存储。 步骤 7, 浏览器进行 TCP握手; 步骤 8, 浏览器利用解析到的 IP地址发起 HTTP请求; 步骤 9, HOOK截获到 HTTP的请求, 阻断该数据流的下一步处理, 执行步骤 10; 步骤 10, 进行重定向的 HTTP跳转, 将跳转地址 (可以是网关地址, 也可以是其 它设定的地址) 通过 HTTP 3XX状态码反馈给浏览器; 步骤 11, 设置跳转标志位或者利用其它通信方式知会 webserver进行指定页面的 跳转, 或者不进行标志位设置, webserver进行默认页面跳转。 Webserver进行页面显 示时会根据该标志位的信息或者收到的跳转消息进行指定指定页面或者其它默认页面 的显示。 图 5是本发明实施例的联网状态下的 HTTP重定向的示意图, 如图 5所示, 包括 如下处理: 步骤 1, 网络连接成功; 步骤 2, 清空路由信息; 进一步地, 由于跳转控制模块初始化路由将所有 http的 请求都指向特定的网关地址, 此时网络连接成功后, 为了不影响终端的 http数据流的 正常处理, 将该路由信息清空或者直接删除; 步骤 3, 关闭对于 HTTP数据流的监控 HOOK, 进一步地, 不再监控 80端口的数 据请求; 步骤 4, 读取步骤 3中的 URL, 获取其真实 IP, 具体地, 之前需要保存 URL、 虚 拟 IP和真实 IP的对应关系表, 在实际应用中, 可以遍历对应关系表中的每个 URL, 针对每个 URL向 DNS server请求其真实 IP,获取到真实 IP后,保存在对应关系表中。 步骤 5, 进行路由重定向操作, 遍历整个对应关系表, 将所有对于虚拟 IP的访问 重定向到真实 IP, 进一步地, 断网状态下, 对于一个 URL的访问浏览器会收到一个 虚拟 IP, 联网后, 如果该浏览器不关闭, 再次访问该 URL, 浏览器会直接用虚拟 IP 发起数据请求, 此时终端利用系统自带的路由控制命令, 将对于该虚拟 IP的访问直接 重定向到真实 IP, 那么即使浏览器不关闭, 也可以不影响该 URL的访问。 例如, 重 定向的方法可以利用 linux自带的 iptalbes进行重定向, 或者利用 windows自带的路由 设置命令。 借助于本发明实施例的技术方案, 在网络断开的状态下, 用户打开一个浏览器上 网访问特定 URL, 会得到网络无服务的页面提示, 用户联接网络后, 即使不关闭当前 浏览器也可以继续访问该 URL。 此时如果网络断开, 用户如果继续使用浏览器访问任 意 URL, 就可以得到网络断开的提示。 装置实施例 根据本发明的实施例, 提供了一种浏览器重定向装置, 图 6是本发明实施例的浏 览器重定向装置的结构示意图, 如图 6所示, 根据本发明实施例的浏览器重定向装置 包括: 设置监控模块 60、 以及截获反馈模块 62, 以下对本发明实施例的各个模块进行 详细的说明。 设置监控模块 60, 设置为在监测到网络连接断开后, 将浏览器的路由信息设置为 将其发送的所有超文本传输协议 HTTP请求都指向特定网关地址, 并对浏览器发送的 数据流中的 HTTP请求进行监控; 优选地, 上述特定网关地址包括: 相应网关设备内 部的网页服务的服务器地址。 优选地, 设置监控模块 60 可以设置为在浏览器发送数据流的初始端挂载 HTTP 请求监控函数, 其中, HTTP 请求监控函数通过判断数据流中的端口号来判断是否为 HTTP请求。 截获反馈模块 62, 设置为在监控到浏览器发起 HTTP请求后, 截获 HTTP请求, 并阻断 HTTP请求的下一步处理, 将特定网关地址反馈给浏览器, 使浏览器重定向到 特定网关地址。 上述装置还可以包括: 虚拟 IP模块, 设置为在监测到浏览器发起域名系统 DNS请求时, 获取 DNS请求 中的统一资源定位符 URL地址, 生成与 URL相应的虚拟网络协议 IP地址, 并将虚拟 IP地址反馈给浏览器; 请求存储模块, 设置为在虚拟 IP模块生成与 URL对应的虚拟 IP地址之后, 根据 URL向 DNS服务器请求与 URL相应的真实 IP地址; 将 URL、 虚拟 IP地址、 以及真 实 IP地址存储到数据区; 删除关闭模块, 设置为在监测到网络连接成功后, 删除路由信息, 关闭对浏览器 发送数据流中的 HTTP请求的监控;
HTTP请求模块, 设置为在浏览器已经缓存了相应的真实 IP地址的情况下, 使浏 览器根据缓存的真实 IP地址重新发起所述 HTTP请求; 重定向模块, 设置为读取 URL, 根据 URL从数据区获取虚拟 IP地址所对应的真 实 IP地址, 将浏览器对于虚拟 IP地址的访问重定向到真实 IP地址。 优选地, 重定向模块可以设置为在浏览器已经跳转到指定页面未还未关闭, 并且 浏览器再次访问 URL, 并使用虚拟 IP地址发起 HTTP请求时, 利用系统自带的路由 控制命令将浏览器对于虚拟 IP地址的访问直接重定向到真实 IP地址。 根据本发明实施例的装置还可以包括: 通知模块, 设置为在截获反馈模块 62将指向特定网关地址反馈给浏览器之后,通 知与特定网关地址相应的网关设备跳转到指定页面, 使网关设备在向用户进行页面显 示时, 根据通知, 将浏览器的页面跳转到指定页面。 本发明实施例的上述各个模块的具体处理可以根据上述方法实施例中的相应内容 以及图 3至图 5进行理解, 在此不再赘述。 综上所述, 借助于本发明实施例的技术方案, 在网络断开的状态下, 用户打开一 个浏览器上网访问特定 URL, 会得到网络无服务的页面提示, 用户联接网络后, 即使 不关闭当前浏览器也可以继续访问该 URL。 此时如果网络断开, 用户如果继续使用浏 览器访问任意 URL, 就可以得到网络断开的提示。 显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精 神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的 范围之内, 则本发明也意图包含这些改动和变型在内。 工业实用性 本发明提供的技术方案通过截获 HTTP的请求数据, 给浏览器反馈需要跳转的地 址, 然后通知网关设备来进行指定页面的跳转, 解决了现有技术中在网络无服务时用 户无法立即获知网络连接状态的问题, 借助于本发明实施例的技术方案, 当网络断开 后, 只要用户打开浏览器访问网页, 即可进行跳转到指定页面并提示用户网络无服务。

Claims

权 利 要 求 书 、 一种浏览器重定向方法, 包括:
在监测到网络连接断开后, 将浏览器的路由信息设置为将其发送的所有超 文本传输协议 HTTP 请求都指向特定网关地址, 并对浏览器发送数据流中的 HTTP请求进行监控;
在监控到浏览器发起 HTTP 请求后, 截获所述 HTTP 请求, 并阻断所述 HTTP请求的下一步处理, 将所述特定网关地址反馈给浏览器;
在浏览器根据所述特定网关地址进行访问后, 与所述特定网关地址相应的 网关设备将浏览器的页面跳转到指定页面。 、 如权利要求 1所述的方法, 其中, 对浏览器发送数据流中的 HTTP请求进行监 控包括:
在浏览器发送数据流的初始端挂载 HTTP请求监控函数,其中,所述 HTTP 请求监控函数通过判断数据流中的端口号来判断是否为 HTTP请求。 、 如权利要求 1所述的方法, 其中, 所述方法还包括:
在监测到网络连接成功后, 删除所述路由信息, 关闭对浏览器发送数据流 中的 HTTP请求的监控;
浏览器根据缓存的真实 IP地址重新发起所述 HTTP请求。 、 如权利要求 1所述的方法, 其中, 截获所述 HTTP请求之前, 所述方法还包括: 在监测到浏览器发起域名系统 DNS请求时, 获取所述 DNS请求中的统一 资源定位符 URL地址, 生成与所述 URL相应的虚拟网络协议 IP地址, 并将所 述虚拟 IP地址反馈给浏览器;
浏览器根据所述虚拟 IP地址发起 HTTP请求。 、 如权利要求 4所述的方法, 其中, 生成与所述 URL对应的虚拟 IP地址之后, 所述方法还包括:
根据所述 URL向 DNS服务器请求与所述 URL相应的真实 IP地址; 将所述 URL、 所述虚拟 IP地址、 以及所述真实 IP地址存储到数据区。 、 如权利要求 5所述的方法, 其中, 所述方法还包括:
在监测到网络连接成功后, 删除所述路由信息, 关闭对浏览器发送数据流 中的 HTTP请求的监控;
读取所述 URL, 根据所述 URL从所述数据区获取所述虚拟 IP地址所对应 的所述真实 IP地址;
将浏览器对于所述虚拟 IP地址的访问重定向到所述真实 IP地址。 、 如权利要求 6所述的方法, 其中, 将浏览器对于所述虚拟 IP地址的访问重定向 到所述真实 IP地址包括:
如果所述浏览器已经跳转到所述指定页面且还未关闭, 并且浏览器再次访 问所述 URL, 并使用所述虚拟 IP地址发起 HTTP请求, 则利用系统自带的路 由控制命令将浏览器对于所述虚拟 IP地址的访问直接重定向到所述真实 IP地 址。 、 如权利要求 1所述的方法, 其中,
将所述指向特定网关地址反馈给浏览器之后, 所述方法还包括: 通知与所 述特定网关地址相应的网关设备跳转到指定页面;
与所述特定网关地址相应的网关设备将浏览器的页面跳转到指定页面包 括- 在所述网关设备向用户进行页面显示时, 根据所述通知, 将浏览器的页面 跳转到所述指定页面。 、 如权利要求 1所述的方法, 其中, 与所述特定网关地址相应的网关设备将浏览 器的页面跳转到指定页面包括:
在所述网关设备向用户进行页面显示时, 自动将浏览器的页面跳转到所述 指定页面。 、 如权利要求 1所述的方法, 其中, 所述特定网关地址包括: 相应网关设备内部 的网页服务的服务器地址。 1、 一种浏览器重定向装置, 包括:
设置监控模块, 设置为在监测到网络连接断开后, 将浏览器的路由信息设 置为将其发送的所有超文本传输协议 HTTP请求都指向特定网关地址, 并对浏 览器发送的数据流中的 HTTP请求讲行监控; 截获反馈模块,设置为在监控到浏览器发起 HTTP请求后,截获所述 HTTP 请求, 并阻断所述 HTTP请求的下一步处理, 将所述特定网关地址反馈给浏览 器, 使所述浏览器重定向到所述特定网关地址。 、 如权利要求 11所述的装置,其中,所述设置监控模块设置为在浏览器发送数据 流的初始端挂载 HTTP请求监控函数, 其中, 所述 HTTP请求监控函数通过判 断数据流中的端口号来判断是否为 HTTP请求。 、 如权利要求 11所述的装置, 其中, 所述装置还包括:
虚拟 IP模块, 设置为在监测到浏览器发起域名系统 DNS请求时, 获取所 述 DNS请求中的统一资源定位符 URL地址,生成与所述 URL相应的虚拟网络 协议 IP地址, 并将所述虚拟 IP地址反馈给浏览器。 、 如权利要求 13所述的装置, 其中, 所述装置还包括:
请求存储模块, 设置为在所述虚拟 IP模块生成与所述 URL相应的虚拟 IP 地址之后,根据所述 URL向 DNS服务器请求与所述 URL相应的真实 IP地址; 将所述 URL、 所述虚拟 IP地址、 以及所述真实 IP地址存储到数据区;
删除关闭模块, 设置为在监测到网络连接成功后, 删除所述路由信息, 关 闭对浏览器发送数据流中的 HTTP请求的监控;
HTTP 请求模块, 设置为使浏览器根据缓存的真实 IP 地址重新发起所述 HTTP请求;
重定向模块, 设置为读取所述 URL, 根据所述 URL从所述数据区获取所 述虚拟 IP地址所对应的所述真实 IP地址, 将浏览器对于所述虚拟 IP地址的访 问重定向到所述真实 IP地址。 、 如权利要求 14所述的装置,其中,所述重定向模块设置为在所述浏览器已经跳 转到所述指定页面未还未关闭, 并且浏览器再次访问所述 URL, 并使用所述虚 拟 IP地址发起 HTTP请求时,利用系统自带的路由控制命令将浏览器对于所述 虚拟 IP地址的访问直接重定向到所述真实 IP地址。 、 如权利要求 11所述的装置, 其中, 所述装置还包括:
通知模块, 设置为在所述截获反馈模块将所述指向特定网关地址反馈给浏 览器之后, 通知与所述特定网关地址相应的网关设备跳转到指定页面, 使所述 网关设备在向用户进行页面显示时, 根据所述通知, 将浏览器的页面跳转到所 述指定页面。 如权利要求 11所述的装置, 其中, 所述特定网关地址包括: 相应网关设备内部 的网页服务的服务器地址。
PCT/CN2013/083079 2013-06-06 2013-09-06 浏览器重定向方法及装置 WO2014194580A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310223342.5A CN104243506B (zh) 2013-06-06 2013-06-06 浏览器重定向方法及装置
CN201310223342.5 2013-06-06

Publications (1)

Publication Number Publication Date
WO2014194580A1 true WO2014194580A1 (zh) 2014-12-11

Family

ID=52007461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083079 WO2014194580A1 (zh) 2013-06-06 2013-09-06 浏览器重定向方法及装置

Country Status (2)

Country Link
CN (1) CN104243506B (zh)
WO (1) WO2014194580A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708963A (zh) * 2020-05-22 2020-09-25 北京百度网讯科技有限公司 页面请求的处理方法、装置、电子设备和存储介质
CN111953537A (zh) * 2020-07-31 2020-11-17 深圳市友华通信技术有限公司 网络故障快速排查方法和装置
CN112152973A (zh) * 2019-06-28 2020-12-29 北京奇虎科技有限公司 监控待访问网页内容的方法、装置和系统以及路由器
CN114500059A (zh) * 2022-01-28 2022-05-13 杭州盈高科技有限公司 终端设备的网页认证方法、装置、存储介质及处理器

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227580A (zh) * 2015-10-30 2016-01-06 南京秦杜明视信息技术有限公司 一种网络服务器分配系统及方法
CN107454119A (zh) * 2016-05-30 2017-12-08 中国移动通信集团上海有限公司 一种信息推送方法及装置
CN107276979B (zh) * 2017-04-26 2021-03-05 浙江远望信息股份有限公司 一种自动检测终端设备内外网互联行为的方法
CN107315784B (zh) * 2017-06-07 2020-01-31 北京奇艺世纪科技有限公司 一种数据访问方法和浏览器
CN108712492A (zh) * 2018-05-17 2018-10-26 中兴通讯股份有限公司 一种http重定向方法、装置、路由设备及计算机存储介质
CN111222861B (zh) * 2018-11-27 2023-06-23 中国移动通信集团青海有限公司 一种欠费后的充值方法、装置及计算设备
CN111263422A (zh) * 2018-12-03 2020-06-09 中移(杭州)信息技术有限公司 一种发现智能设备的方法及装置
CN112235432B (zh) * 2020-10-14 2022-10-21 深圳市友华软件科技有限公司 支持异网访问标签地址的方法和装置
CN113613274B (zh) * 2021-09-01 2023-08-18 四川九州电子科技股份有限公司 基于Mesh组网下的智能接入配置方法
CN114338597A (zh) * 2021-11-30 2022-04-12 奇安信科技集团股份有限公司 一种网络访问方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460084B1 (en) * 1997-08-28 2002-10-01 Cisco Technology, Inc. Forced network portal
US20060074949A1 (en) * 2004-10-06 2006-04-06 Takaaki Haruna Computer system with a terminal that permits offline work
US20090061830A1 (en) * 2007-08-31 2009-03-05 Peterson Robert R System and method for requesting asynchronous file downloads to a cellular pervasive device from a website
CN101437048A (zh) * 2008-11-11 2009-05-20 中国移动通信集团北京有限公司 一种推送个性化页面的方法和系统
US20120124651A1 (en) * 2009-11-02 2012-05-17 Authentify, Inc. Secure and efficient authentication using plug-in hardware compatible with desktops, laptops and/or smart mobile communication devices such as iphones

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0519246D0 (en) * 2005-09-21 2005-10-26 Ibm A method, apparatus and computer program for handling web server failure
CN101741769B (zh) * 2008-11-25 2012-12-12 华为终端有限公司 一种网关和网页重定向的方法
CN103116723A (zh) * 2013-02-06 2013-05-22 北京奇虎科技有限公司 一种网址拦截处理的方法、装置和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460084B1 (en) * 1997-08-28 2002-10-01 Cisco Technology, Inc. Forced network portal
US20060074949A1 (en) * 2004-10-06 2006-04-06 Takaaki Haruna Computer system with a terminal that permits offline work
US20090061830A1 (en) * 2007-08-31 2009-03-05 Peterson Robert R System and method for requesting asynchronous file downloads to a cellular pervasive device from a website
CN101437048A (zh) * 2008-11-11 2009-05-20 中国移动通信集团北京有限公司 一种推送个性化页面的方法和系统
US20120124651A1 (en) * 2009-11-02 2012-05-17 Authentify, Inc. Secure and efficient authentication using plug-in hardware compatible with desktops, laptops and/or smart mobile communication devices such as iphones

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152973A (zh) * 2019-06-28 2020-12-29 北京奇虎科技有限公司 监控待访问网页内容的方法、装置和系统以及路由器
CN111708963A (zh) * 2020-05-22 2020-09-25 北京百度网讯科技有限公司 页面请求的处理方法、装置、电子设备和存储介质
CN111708963B (zh) * 2020-05-22 2023-09-29 北京百度网讯科技有限公司 页面请求的处理方法、装置、电子设备和存储介质
CN111953537A (zh) * 2020-07-31 2020-11-17 深圳市友华通信技术有限公司 网络故障快速排查方法和装置
CN111953537B (zh) * 2020-07-31 2022-10-04 深圳市友华通信技术有限公司 网络故障快速排查方法和装置
CN114500059A (zh) * 2022-01-28 2022-05-13 杭州盈高科技有限公司 终端设备的网页认证方法、装置、存储介质及处理器
CN114500059B (zh) * 2022-01-28 2024-01-02 杭州盈高科技有限公司 终端设备的网页认证方法、装置、存储介质及处理器

Also Published As

Publication number Publication date
CN104243506B (zh) 2019-05-10
CN104243506A (zh) 2014-12-24

Similar Documents

Publication Publication Date Title
WO2014194580A1 (zh) 浏览器重定向方法及装置
EP3085064B1 (en) Countering security threats with domain name system
JP6074781B2 (ja) 許可されていないサービスアクセスを防止する方法および装置
EP3032859B1 (en) Access control method and system, and access point
WO2016023357A1 (zh) 访问网页的方法、装置及路由器
US11882199B2 (en) Virtual private network (VPN) whose traffic is intelligently routed
TWI565258B (zh) 過濾https傳輸內容的系統、方法及裝置
WO2012126433A2 (zh) 访问控制方法、系统及接入终端
WO2012113262A1 (zh) 用于移动终端的下载方法、系统和设备
JP2011154622A (ja) アクセス制御システム及びアクセス制御方法
WO2005096160A1 (en) Proxy dns for web browser request redirection in public hotspot accesses
WO2011113390A2 (zh) 提高移动互联网用户访问速度的方法及设备
CN106686033A (zh) 一种缓存和服务内容的方法、装置和系统
WO2016062077A1 (zh) 重定向到Web页面的方法及装置
WO2014089816A1 (zh) 用户设备访问网页的重定向方法、网关以及服务器
US10033830B2 (en) Requesting web pages and content rating information
WO2013056552A1 (zh) 业务数据处理的方法、装置和系统
WO2013182030A1 (zh) 一种用于请求资源的方法、设备及系统
WO2014166078A1 (zh) 数据发送处理方法及路由器
WO2012171315A1 (zh) 一种无线网络控制器分组域内容缓存系统及其实现方法
JP2016532194A (ja) ウェブページプッシュ方法及び装置、並びに端末
CN106657039B (zh) Portal页面获取方法、无线AP及Portal服务器
KR102141444B1 (ko) 모바일 콘텐트 네트워크에서 데이터 전송 및 수신 장치 및 방법
JP2014049807A (ja) 通信パケット処理装置
WO2016106557A1 (zh) 一种用于视频发送的方法与装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13886211

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13886211

Country of ref document: EP

Kind code of ref document: A1