WO2016095521A1 - 一种域名系统dns重定向的方法、装置和系统 - Google Patents

一种域名系统dns重定向的方法、装置和系统 Download PDF

Info

Publication number
WO2016095521A1
WO2016095521A1 PCT/CN2015/084703 CN2015084703W WO2016095521A1 WO 2016095521 A1 WO2016095521 A1 WO 2016095521A1 CN 2015084703 W CN2015084703 W CN 2015084703W WO 2016095521 A1 WO2016095521 A1 WO 2016095521A1
Authority
WO
WIPO (PCT)
Prior art keywords
url address
address
redirect
terminal
navigation server
Prior art date
Application number
PCT/CN2015/084703
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 WO2016095521A1 publication Critical patent/WO2016095521A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • This document relates to the domain name system DNS redirection technology field, especially a method, device and system for domain name system DNS redirection.
  • the technical problem to be solved by the present invention is to provide a method, a device and a system for DNS redirection of a domain name system, which can effectively analyze abnormal situations that may occur in a user, provide a friendly and practical solution, and improve the user's online experience.
  • a method for DNS redirection of a domain name system includes:
  • the gateway node receives the uniform resource locator URL address input by the terminal, and forwards the URL address to the DNS server;
  • the gateway node determines that the URL address is an incorrect URL address, modifies the response failure message to a response success message, and redirects the navigation server. An address and response success message is sent to the terminal;
  • the gateway node acquires a reminder interface returned by the redirect navigation server, where the reminder interface includes a redirect link to the correct URL address;
  • the gateway node provides the reminder interface to the terminal to enable the user to perform correct link access according to the redirect link.
  • the method further includes:
  • the gateway node forwards the erroneous URL address to the redirect navigation server by using the redirect navigation server address, the reason for the failure is sent, and the failure reason is that the wrong URL address is received.
  • the method of the embodiment of the present invention is used to guide the user to access the correct website address and improve the user experience when the user inputs the wrong website address.
  • a gateway node for DNS redirection of a domain name system comprising an acquisition module, a communication module, and a modification module, wherein:
  • the communication module is configured to: receive a uniform resource locator URL address input by the terminal, and forward the URL address to the DNS server; send the address of the redirected navigation server and the modified response success message to the Receiving, by the terminal, a request packet that carries the address of the redirected navigation server, and forwarding the wrong URL address to the redirect navigation server by using the redirected navigation server address; to the terminal Providing the reminder interface to enable the user to perform correct link access according to the redirect link;
  • the modifying module is configured to: when the response message returned by the domain name system DNS server is a response failure message, determine that the URL address is an incorrect URL address, and modify the response failure message to a response success message;
  • the obtaining module is configured to: obtain a reminder interface returned by the redirected navigation server, where the reminder interface includes a redirect link to a correct URL address.
  • a method for DNS redirection of a domain name system is applied to a server side, including:
  • a reminder interface is returned to the terminal by the gateway node, the reminder interface including a redirect link to a correct URL address.
  • the step of analyzing the wrong URL address to obtain a redirect link to the correct URL address includes:
  • Matching the erroneous URL address with all pre-stored redirect links matches all redirect links associated with the erroneous URL address, including redirect links to the correct URL address.
  • a navigation server for DNS redirection of a domain name system comprising a communication module and a matching module, wherein:
  • the communication module is configured to: receive an incorrect URL address sent by the terminal through the gateway node; return a reminder interface to the terminal by using the gateway node, where the reminder interface includes a redirect link to the correct URL;
  • the matching module is configured to: analyze the wrong URL address to obtain a redirect link to a correct URL;
  • the matching module is configured to analyze the erroneous URL address to obtain a redirect link to the correct URL as follows:
  • a system for DNS redirection of a domain name system includes: any of the above-mentioned gateway nodes and any of the above-mentioned DNS redirection navigation servers.
  • a computer program comprising program instructions that, when executed by a server, cause the server to perform any of the methods of DNS redirection described above.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • a computer program comprising program instructions that, when executed by a gateway node, cause the gateway node to perform any of the methods of DNS redirection described above.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • the technical solution of the present invention analyzes the abnormal situation that may occur in the user in a timely and effective manner in the case that the user fails to access the webpage, and sends a friendly reminder interface to guide the user to access the correct URL by intelligently analyzing the failed URL. To achieve the purpose of improving the user's online experience.
  • FIG. 1 is a schematic flowchart of a method for DNS redirection of a domain name system according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for DNS redirection of a domain name system according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a gateway node of a DNS redirection of a domain name system according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for DNS redirection of another domain name system according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a navigation server for DNS redirection of a domain name system according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart diagram of a method for DNS redirection of a domain name system according to Embodiment 1 of the present invention.
  • the embodiment of the invention provides a method for DNS redirection of a domain name system, including:
  • the gateway node receives the failed Uniform Resource Locator URL address input by the terminal, and forwards the failed URL address to the DNS server;
  • the DNS server returns a response message to the terminal, and when the response message includes a response failure message, the gateway node modifies the response failure message to a response success message, and redirects the navigation server The address and the modified response message are sent to the terminal;
  • the gateway node receives a request message that is sent by the terminal and carries the redirected navigation server address and the failed URL address, and forwards the failed URL address to the redirected navigation server according to the redirected navigation server address;
  • the gateway node acquires a reminder interface that is redirected to the terminal by the navigation server, and the reminder interface includes a redirect link that points to the redirect response;
  • the gateway node returns a reminder interface including the redirect link to the terminal.
  • the DNS request packet carries the wrong URL, and the DNS server fails to respond.
  • the gateway node intercepts such a DNS response failure packet and constructs a DNS success response packet (the IP address is redirected to the navigation server address provided by the operator) to direct the user's incorrect HTTP request to the navigation server.
  • the defeated URL sends a friendly reminder interface to guide the user to the correct URL.
  • a method for DNS redirection of a domain name system includes:
  • the gateway node obtains a reminder interface returned by the redirect navigation server, where the reminder interface includes a redirect link pointing to the correct URL address;
  • the reminder interface returned to the terminal may include one or more redirect links, and the redirect link may be a web link or a URL address link of a Chinese character.
  • the terminal in the embodiment of the present invention generally refers to a mobile internet terminal, such as a tablet computer or a mobile phone.
  • steps A-C are further included:
  • the gateway node receives the uniform resource locator URL address input by the terminal, and forwards the URL address to the DNS server.
  • the gateway node determines that the URL address is an incorrect URL address, and the response failure message is modified into a response success message, and the navigation is redirected.
  • the server's address and response success message is sent to the terminal.
  • the gateway node receives the request packet that is sent by the terminal and carries the redirected navigation server address, and forwards the erroneous URL address to the redirect navigation server by using the redirected navigation server address.
  • the wrong URL address in step A may be other types of addresses supported by the terminal or the gateway node; one of the reasons for returning the response message containing the response failure message in step B is that the URL address received the error may be caused by other reasons.
  • the response message contains a response failure message.
  • the method of the embodiment of the present invention is used to guide the user to access the correct website address and improve the user experience when the user inputs the wrong website address.
  • an embodiment of the present invention provides a gateway node for DNS redirection of a domain name system, including:
  • the obtaining module 301 is configured to: obtain a reminder interface returned by the redirect navigation server, where The reminder interface contains a redirect link to the correct URL address;
  • the communication module 302 is configured to: provide the reminder interface to the terminal, so that the user performs correct link access according to the redirect link.
  • the gateway node further includes a modification module 303:
  • the communication module 302 is further configured to: receive a uniform resource locator URL address input by the terminal, and forward the URL address to the DNS server;
  • the modifying module 303 is configured to: when the response message returned by the domain name system DNS server is a response failure message, determine that the URL address is an incorrect URL address, and modify the response failure message to a response success message;
  • the communication module 302 is further configured to: send the address of the redirected navigation server and the modified response success message to the terminal.
  • the communication module 302 is further configured to: receive a request packet that is sent by the terminal and carry a redirect navigation server address, and forward the erroneous URL address to the redirect navigation server by using the redirect navigation server address .
  • the method for DNS redirection of the domain name system provided by the embodiment of the present invention is applied to the server side, and includes:
  • a reminder interface is returned to the terminal by the gateway node, the reminder interface including a redirect link to a correct URL address.
  • the step of analyzing the erroneous URL address to obtain a redirect link to the correct URL address includes:
  • Matching the erroneous URL address with all pre-stored redirect links matches all redirect links associated with the erroneous URL address, including redirect links to the correct URL address.
  • the redirect link may be returned or displayed in the form of a list (especially when multiple redirect links are returned), wherein the links in the redirected link list may include fine links and/or pan links and/or association links, where The exact link is a result obtained by exact matching of the erroneous URL address, and the ubiquitous link is a result obtained by fuzzy matching the erroneous URL address, and the association link is a result obtained by associative matching of the erroneous URL address. .
  • the embodiment of the present invention further provides a navigation server for DNS redirection of a domain name system, including:
  • the communication module 501 is configured to: receive an incorrect URL address sent by the terminal through the gateway node;
  • the matching module 502 is configured to: analyze the wrong URL address to obtain a redirect link to the correct URL;
  • the communication module 501 is further configured to: return a reminder interface to the terminal through the gateway node, where the reminder interface includes a redirect link to a correct URL.
  • the matching module 502 is configured to analyze the erroneous URL address to obtain a redirect link to the correct URL as follows:
  • Matching the erroneous URL address with all pre-stored redirect links matches all redirect links associated with the erroneous URL address, including redirect links to the correct URL address.
  • the embodiment of the invention further provides a system for DNS redirection of a domain name system, comprising: any of the foregoing gateway nodes and a redirected navigation server.
  • An embodiment of the present invention provides a method for DNS redirection of a domain name system, including:
  • the method before obtaining the reminder interface returned by the redirect navigation server to the terminal, the method further includes:
  • the response message returned by the domain name system DNS server to the terminal includes a response failure message
  • the response failure message is modified to a response success message, and the address of the redirected navigation server and the modified response message are sent. To the terminal.
  • the method before modifying the response failure message to the response success message, the method further includes:
  • the method further includes:
  • the receiving terminal carries a request message for redirecting the navigation server address, and forwards the failed URL address to the redirect navigation server according to the redirected navigation server address.
  • An embodiment of the present invention further provides a gateway node for DNS redirection of a domain name system, including:
  • Obtaining a module obtaining a reminder interface that is redirected to the terminal by the navigation server, where the reminder interface includes a redirect link to the redirect response;
  • the communication module is configured to: return a reminder interface including the redirect link to the terminal.
  • the gateway node further includes:
  • the modifying module is configured to: when the response message returned by the domain name system DNS server to the terminal includes a response failure message, modify the response failure message to a response success message;
  • the communication module is further configured to: send the address of the redirected navigation server and the modified response message to the terminal.
  • the communication module is further configured to: receive a failed Uniform Resource Locator URL address input by the terminal, and forward the failed URL address to the DNS server.
  • the communication module is further configured to: the receiving terminal carries a request message that redirects the address of the navigation server, and forwards the failed URL address to the location according to the redirected navigation server address. Redirect the navigation server.
  • the embodiment of the invention further provides a method for DNS redirection of a domain name system, including:
  • analyzing the failed URL address according to a predetermined manner to obtain a redirect link that points to the redirect response includes:
  • mapping relationship is a correspondence between a historical access record of the failed URL address and a redirected link
  • the embodiment of the invention further provides a navigation server for domain name system DNS redirection, comprising:
  • the communication module is set to: receive the failed URL address;
  • the matching module is configured to: analyze the failed URL address according to a predetermined manner to obtain a redirect link that points to the redirect response;
  • the communication module is further configured to: return a reminder interface, the reminder interface includes a redirect link to the redirect response.
  • the matching module is specifically configured to:
  • mapping relationship is a correspondence between a historical access record of the failed URL address and a redirected link
  • the embodiment of the invention further provides a system for DNS redirection of a domain name system, which comprises: a gateway node and a redirect navigation server,
  • the gateway node acquires a reminder interface that is redirected to the terminal by the navigation server, and the reminder interface includes a redirect link that points to the redirect response;
  • the gateway node returns a reminder interface including the redirect link to the terminal.
  • system further includes a domain name system DNS server,
  • the gateway node modifies the response failure message to a response success message, and redirects the address of the navigation server and the modified A response message is sent to the terminal.
  • the gateway node receives the failed Uniform Resource Locator URL address input by the terminal, and forwards the failed URL address to the DNS server.
  • the gateway node receives the request message that the terminal carries the redirected navigation server address, and forwards the failed URL address to the redirect navigation server according to the redirected navigation server address.
  • FIG. 6 is a schematic flowchart of a redirection method according to an embodiment of the present invention.
  • the terminal is a mobile phone, including:
  • Step 1 The mobile phone user accesses the 163 website, but in the process of inputting the website address, the error is input into www.164.com, and the DNS request message (URL: www.164.com) is sent to the DNS server through the operator gateway node device.
  • the DNS request message URL: www.164.com
  • Step 2 Since the www.164.com URL does not exist, the response message returned by the DNS server contains a response failure message.
  • the gateway node intercepts the DNS failure response message, modifies the response failure message to a response success message, and modifies the IP address in the packet to the IP address of the redirecting navigation server, and then sends the packet to the mobile phone user.
  • Step 3 After receiving the DNS success response, the mobile phone user navigates through the gateway node to redirect The server initiates an HTTP request (the IP address is the redirected navigation server address, URL: www.164.com). The packet is sent to the redirect navigation server through the gateway node.
  • Step 4 The redirecting navigation server receives the HTTP request packet, and analyzes the URL, for example, according to each user error URL history access record, URL fuzzy matching, etc., constructs an HTTP downlink response message to remind the user whether to access the www. .163.com.
  • Step 5 The mobile phone user performs normal business of www.163.com according to the information provided by the reminder interface:
  • IP address is 163 server address, URL: www.163.com.
  • the message is sent to the 163 server through the gateway node.
  • the embodiment of the invention also discloses a computer program, comprising program instructions, when the program instruction is executed by the gateway node, so that the gateway node can perform the method of DNS redirection on any of the above gateway nodes.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, which, when executed by the server, enable the server to perform the DNS redirection method of the navigation server side of any of the above-mentioned DNS redirection.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the technical solution of the present invention analyzes the abnormal situation that may occur in the user in a timely and effective manner in the case that the user fails to access the webpage, and sends a friendly reminder interface to guide the user to access the correct URL by intelligently analyzing the failed URL.
  • the present invention has strong industrial applicability.

Abstract

一种域名系统DNS重定向的方法、装置和系统,涉及通讯领域,接收终端输入的失败URL地址,并将所述失败URL地址转发至所述DNS服务器;当DNS服务器向所述终端返回的响应报文包含响应失败消息时,将所述响应失败消息修改为响应成功消息,并将所述重定向导航服务器的地址和修改后的响应报文发送至所述终端;接收终端携带重定向导航服务器地址的请求报文,并按照所述重定向导航服务器地址将失败URL地址转发至所述重定向导航服务器;获取重定向导航服务器向终端返回的提醒界面,所述提醒界面包含指向重定向响应的重定向链接;向所述终端返回包含有所述重定向链接的提醒界面。上述技术方案能够引导用户访问正确的URL。

Description

一种域名系统DNS重定向的方法、装置和系统 技术领域
本文涉及域名系统DNS重定向技术领域,尤指一种域名系统DNS重定向的方法、装置和系统。
背景技术
随着移动互联网的快速发展,终端用户体验在电信运营商之间的竞争越重要。
移动用户在访问网络过程中,由于外部环境、终端设备输入限制、年龄、文化水平等因素影响下,难免会出现输错网址的情况。在该情况下,浏览器提示用户的信息有:网络不稳定、未接入网络、网址不正确等。
在用户访问网页失败的情况下,运营商需要及时有效地分析用户可能出现的异常情况,网络不稳定和未接入网络这两项都属于错误的提示项,会误导用户,降低用户的体验感。
发明内容
本发明要解决的技术问题是提供一种域名系统DNS重定向的方法、装置和系统,能够有效地分析用户可能出现的异常情况,提供友好切实的解决方法,提升用户上网体验。
为了达到本发明目的,采用如下技术方案:
一种域名系统DNS重定向的方法,包括:
网关节点接收终端输入的统一资源定位器URL地址,并将所述URL地址转发至DNS服务器;
当域名系统DNS服务器反馈的响应报文为响应失败消息时,所述网关节点确定所述URL地址为错误的URL地址,将所述响应失败消息修改为响应成功消息,并将重定向导航服务器的地址和响应成功消息发送至所述终端;
所述网关节点接收所述终端发送的携带重定向导航服务器地址的请求报文,并通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器;
所述网关节点获取重定向导航服务器返回的提醒界面,所述提醒界面包含指向正确URL地址的重定向链接;
所述网关节点向所述终端提供所述提醒界面,以使得该用户根据该重定向链接进行正确的链接访问。
可选地,该方法还包括:
所述网关节点通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器时,发送失败原因,该失败原因为接收到错误的URL地址。
应用本发明实施例的方法,在用户输入错误网址时,通过导航服务器智能提醒,引导用户访问正确的网址,提升用户体验。
一种域名系统DNS重定向的网关节点,包括获取模块、通信模块和修改模块,其中:
所述通信模块设置成:接收终端输入的统一资源定位器URL地址,并将所述URL地址转发至所述DNS服务器;将所述重定向导航服务器的地址和修改后得到的响应成功消息发送至所述终端;接收所述终端发送的携带重定向导航服务器地址的请求报文,并通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器;向所述终端提供所述提醒界面,以使得该用户根据该重定向链接进行正确的链接访问;
所述修改模块设置成:当域名系统DNS服务器返回的响应报文为响应失败消息时,确定所述URL地址为错误的URL地址,将所述响应失败消息修改为响应成功消息;
所述获取模块设置成:获取所述重定向导航服务器返回的提醒界面,所述提醒界面包含指向正确URL地址的重定向链接。
一种域名系统DNS重定向的方法,应用于服务器侧,包括:
接收终端通过网关节点发来的错误的URL地址,并对所述错误的URL地址进行分析获得指向正确的URL地址的重定向链接;
通过所述网关节点向所述终端返回提醒界面,所述提醒界面包含指向正确的URL地址的重定向链接。
可选地,其中,所述对所述错误的URL地址进行分析获得指向正确的URL地址的重定向链接的步骤包括:
从预先存储的错误的URL地址的历史访问记录与相应的指向正确的URL地址的重定向链接的对应关系中匹配出与所述错误的URL地址对应的指向正确的URL地址的重定向链接;或者,
将所述错误的URL地址与预存的所有重定向链接进行匹配,匹配出所有与所述错误的URL地址相关的重定向链接,其中包括指向正确URL地址的重定向链接。
一种域名系统DNS重定向的导航服务器,包括通讯模块和匹配模块,其中:
所述通讯模块设置成:接收终端通过网关节点发来的错误的URL地址;通过所述网关节点向所述终端返回提醒界面,所述提醒界面包含指向正确的URL的重定向链接;
所述匹配模块设置成:对所述错误的URL地址进行分析获得指向正确的URL的重定向链接;
可选地,所述匹配模块设置成按照如下方式对所述错误的URL地址进行分析获得指向正确的URL的重定向链接:
从预先存储的错误的URL地址的历史访问记录与相应的指向正确的URL地址的重定向链接的对应关系中匹配出与所述错误的URL地址对应的指向正确的URL地址的重定向链接;或者,
将所述错误的URL地址与预存的所有重定向链接进行匹配,匹配出所有与所述错误的URL地址相关的重定向链接,其中包括指向正确URL地址 的重定向链接。
一种域名系统DNS重定向的系统,包括:上述任意的网关节点和上述任意的DNS重定向导航服务器。
一种计算机程序,包括程序指令,当该程序指令被服务器执行时,使得该服务器可执行上述任意的DNS重定向的方法。
一种载有所述计算机程序的载体。
一种计算机程序,包括程序指令,当该程序指令被网关节点执行时,使得该网关节点可执行上述任意的DNS重定向的方法。
一种载有所述计算机程序的载体。
与相关技术相比,本发明的技术方案在用户访问网页失败的情况下,及时有效地分析用户可能出现的异常情况,通过智能分析失败的URL,发送友好提醒界面,引导用户访问正确的URL,达到提升用户上网体验的目的。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图概述
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为本发明实施例中域名系统DNS重定向的方法的流程示意图
图2为本发明实施例中域名系统DNS重定向的方法的优选流程示意图;
图3为本发明实施例中域名系统DNS重定向的网关节点的结构示意图;
图4为本发明实施例中另一域名系统DNS重定向的方法的流程示意图;
图5为本发明实施例中域名系统DNS重定向的导航服务器的结构示意图;
图6为本发明实施例一的域名系统DNS重定向的方法的流程示意图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例提供一种域名系统DNS重定向的方法,包括:
所述网关节点接收终端输入的失败统一资源定位器URL地址,并将所述失败URL地址转发至所述DNS服务器;
所述DNS服务器向所述终端返回响应报文,当所述响应报文包含响应失败消息时,所述网关节点将所述响应失败消息修改为响应成功消息,并将所述重定向导航服务器的地址和修改后的响应报文发送至所述终端;
所述网关节点接收终端发送的携带重定向导航服务器地址和失败URL地址的请求报文,并按照所述重定向导航服务器地址将失败URL地址转发至所述重定向导航服务器;
所述网关节点获取重定向导航服务器向终端返回的提醒界面,所述提醒界面包含指向重定向响应的重定向链接;
所述网关节点向所述终端返回包含有所述重定向链接的提醒界面。
终端用户上网过程中输错URL时,DNS请求报文中携带错误的URL,DNS服务器响应失败。网关节点截获到此类DNS响应失败报文,通过构造DNS成功响应报文(IP地址重定向至运营商提供的导航服务器地址),将用户错误的HTTP请求引导至导航服务器。在导航服务器上,通过智能分析失 败的URL,发送友好提醒界面,引导用户访问正确的URL。
如图1所示,在网关节点侧,本发明实施例提供的一种域名系统DNS重定向的方法,包括:
D、网关节点获取重定向导航服务器返回的提醒界面,所述提醒界面包含指向指向正确URL地址的重定向链接;
E、向所述终端提供所述提醒界面,以使得该用户根据该重定向链接进行正确的链接访问。
向终端返回的提醒界面可以包括一个或者多个重定向链接,重定向链接可以为中文字符的网址链接或者URL地址链接,本发明实施例中的终端一般指移动互联网终端,例如平板电脑或者手机。
可选地,如图2所示,本发明实施例步骤D之前还包括如下步骤A-C:
A、网关节点接收终端输入的统一资源定位器URL地址,并将所述URL地址转发至所述DNS服务器。
B、当域名系统DNS服务器反馈的响应报文为响应失败消息时,所述网关节点确定所述URL地址为错误的URL地址,将所述响应失败消息修改为响应成功消息,并将重定向导航服务器的地址和响应成功消息发送至所述终端。
C、所述网关节点接收所述终端发送的携带重定向导航服务器地址的请求报文,并通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器。
其中步骤A中的错误的URL地址可以为终端或网关节点支持的其它类型地址;步骤B返回包含响应失败消息的响应报文的原因之一为接收到错误的URL地址,可以为其他原因造成的响应报文包含响应失败消息。
应用本发明实施例的方法,在用户输入错误网址时,通过导航服务器智能提醒,引导用户访问正确的网址,提升用户体验。
如图3所示,本发明实施例提供一种域名系统DNS重定向的网关节点,包括:
获取模块301,设置成:获取重定向导航服务器返回的提醒界面,所述 提醒界面包含指向正确URL地址的重定向链接;
通信模块302,设置成:向所述终端提供所述提醒界面,以使得该用户根据该重定向链接进行正确的链接访问。
所述网关节点,还包括修改模块303:
所述通信模块302还设置成:接收终端输入的统一资源定位器URL地址,并将所述URL地址转发至所述DNS服务器;
修改模块303,设置成:当域名系统DNS服务器返回的响应报文为响应失败消息时,确定所述URL地址为错误的URL地址,将所述响应失败消息修改为响应成功消息;
所述通信模块302还设置成:将所述重定向导航服务器的地址和修改后得到的响应成功消息发送至所述终端。
所述通信模块302还设置成:接收所述终端发送的携带重定向导航服务器地址的请求报文,并通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器。
如图4所示,在重定向导航服务器侧,本发明实施例提供的一种域名系统DNS重定向的方法,应用于服务器侧,包括:
接收终端通过网关节点发来的错误的URL地址,并对所述错误的URL地址进行分析获得指向正确的URL地址的重定向链接;
通过所述网关节点向所述终端返回提醒界面,所述提醒界面包含指向正确的URL地址的重定向链接。
对所述错误的URL地址进行分析获得指向正确的URL地址的重定向链接的步骤包括:
从预先存储的错误的URL地址的历史访问记录与相应的指向正确的URL地址的重定向链接的对应关系中匹配出与所述错误的URL地址对应的指向正确的URL地址的重定向链接;或者,
将所述错误的URL地址与预存的所有重定向链接进行匹配,匹配出所有与所述错误的URL地址相关的重定向链接,其中包括指向正确URL地址的重定向链接。
所述重定向链接可以以列表的形式返回或者显示(尤其是返回多个重定向链接时),其中重定向链接列表中的链接可以包括精细链接和/或泛链接和/或联想链接,其中,精确链接为对所述错误的URL地址进行精确匹配获得的结果,泛链接为对所述错误的URL地址进行模糊匹配获得的结果,联想链接为对所述错误的URL地址进行联想匹配获得的结果。
如图5所示,本发明实施例还提供一种域名系统DNS重定向的导航服务器,包括:
通讯模块501,设置成:接收终端通过网关节点发来的错误的URL地址;
匹配模块502,设置成:对所述错误的URL地址进行分析获得指向正确的URL的重定向链接;
所述通讯模块501还设置成:通过所述网关节点向所述终端返回提醒界面,所述提醒界面包含指向正确的URL的重定向链接。
所述匹配模块502设置成按照如下方式对所述错误的URL地址进行分析获得指向正确的URL的重定向链接:
从预先存储的错误的URL地址的历史访问记录与相应的指向正确的URL地址的重定向链接的对应关系中匹配出与所述错误的URL地址对应的指向正确的URL地址的重定向链接;或者,
将所述错误的URL地址与预存的所有重定向链接进行匹配,匹配出所有与所述错误的URL地址相关的重定向链接,其中包括指向正确URL地址的重定向链接。
本发明实施例还提供一种域名系统DNS重定向的系统,包括:上述任意的网关节点和重定向导航服务器。
本发明实施例提供了一种域名系统DNS重定向的方法,包括:
获取重定向导航服务器向终端返回的提醒界面,所述提醒界面包含指向重定向响应的重定向链接;
向所述终端返回包含有所述重定向链接的提醒界面。
可选地,获取重定向导航服务器向终端返回的提醒界面之前还包括:
当域名系统DNS服务器向所述终端返回的响应报文包含响应失败消息时,将所述响应失败消息修改为响应成功消息,并将所述重定向导航服务器的地址和修改后的响应报文发送至所述终端。
可选地,将所述响应失败消息修改为响应成功消息之前还包括:
接收终端输入的失败统一资源定位器URL地址,并将所述失败URL地址转发至所述DNS服务器。
可选地,将所述重定向导航服务器的地址和修改后的响应报文发送至所述终端之后还包括:
接收终端携带重定向导航服务器地址的请求报文,并按照所述重定向导航服务器地址将失败URL地址转发至所述重定向导航服务器。
本发明实施例还提供了一种域名系统DNS重定向的网关节点,包括:
获取模块,获取重定向导航服务器向终端返回的提醒界面,所述提醒界面包含指向重定向响应的重定向链接;
通信模块,设置成:向所述终端返回包含有所述重定向链接的提醒界面。
可选地,所述网关节点还包括:
修改模块,设置成:当域名系统DNS服务器向所述终端返回的响应报文包含响应失败消息时,将所述响应失败消息修改为响应成功消息;
所述通信模块还设置成:将所述重定向导航服务器的地址和修改后的响应报文发送至所述终端。
可选地,所述通信模块还设置成:接收终端输入的失败统一资源定位器URL地址,并将所述失败URL地址转发至所述DNS服务器。
可选地,所述通信模块还设置成:接收终端携带重定向导航服务器地址的请求报文,并按照所述重定向导航服务器地址将失败URL地址转发至所 述重定向导航服务器。
本发明实施例还提供了一种域名系统DNS重定向的方法,包括:
接收失败URL地址,并对所述失败URL地址按照预定方式进行分析获得指向重定向响应的重定向链接;
返回提醒界面,所述提醒界面包含指向重定向响应的重定向链接。
可选地,对所述失败URL地址按照预定方式进行分析获得指向重定向响应的重定向链接包括:
从预先存储的映射关系中匹配出与所述失败URL地址对应的指向重定向响应的重定向链接;所述映射关系为失败URL地址的历史访问记录与重定向链接的对应关系;
或者对所述失败URL地址进行匹配,匹配出与所述失败URL地址对应的指向重定向响应的重定向链接。
本发明实施例还提供了一种域名系统DNS重定向的导航服务器,包括:
通讯模块,设置成:接收失败URL地址;
匹配模块,设置成:对所述失败URL地址按照预定方式进行分析获得指向重定向响应的重定向链接;
所述通讯模块,还设置成:返回提醒界面,所述提醒界面包含指向重定向响应的重定向链接。
可选地,所述匹配模块具体设置成:
从预先存储的映射关系中匹配出与所述失败URL地址对应的指向重定向响应的重定向链接;所述映射关系为失败URL地址的历史访问记录与重定向链接的对应关系;
或者对所述失败URL地址进行匹配,匹配出与所述失败URL地址对应的指向重定向响应的重定向链接。
本发明实施例还提供了一种域名系统DNS重定向的系统,其中,包括:网关节点和重定向导航服务器,
所述网关节点获取重定向导航服务器向终端返回的提醒界面,所述提醒界面包含指向重定向响应的重定向链接;
所述网关节点向所述终端返回包含有所述重定向链接的提醒界面。
可选地,所述系统还包括域名系统DNS服务器,
当所述DNS服务器向所述终端返回的响应报文包含响应失败消息时,所述网关节点将所述响应失败消息修改为响应成功消息,并将所述重定向导航服务器的地址和修改后的响应报文发送至所述终端。
可选地,所述网关节点接收终端输入的失败统一资源定位器URL地址,并将所述失败URL地址转发至所述DNS服务器。
可选地,所述网关节点接收终端携带重定向导航服务器地址的请求报文,并按照所述重定向导航服务器地址将失败URL地址转发至所述重定向导航服务器。
实施例一
请参见图6,是本发明实施例中重定向方法的流程示意图,其中,本发明实施例中,终端为手机,包括:
步骤1,手机用户访问163网站,但是在输入网址过程中,误输入www.164.com,经过运营商网关节点设备,DNS请求报文(URL:www.164.com)发送至DNS服务器。
步骤2,由于www.164.com网址不存在,DNS服务器返回的响应报文包含响应失败消息。网关节点截获该DNS失败响应报文,将响应失败消息修改为响应成功消息,并将该报文中的IP地址修改至重定向导航服务器的IP地址后将该报文发送至手机用户。
步骤3,手机用户收到DNS成功响应之后,通过网关节点向重定向导航 服务器发起HTTP请求(IP地址为重定向导航服务器地址,URL:www.164.com)。报文经过网关节点发送至重定向导航服务器。
步骤4,重定向导航服务器收到该HTTP请求报文,通过对URL进行分析,例如依据各个用户错误URL历史访问记录、URL模糊匹配等方式,构造HTTP下行响应报文,提醒用户是否应该访问www.163.com。
步骤5,手机用户根据提醒界面提供的信息,进行www.163.com正常业务:
包括发起HTTP请求(IP地址为163服务器地址,URL:www.163.com)。报文经过网关节点发送至163服务器。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被网关节点执行时,使得该网关节点可执行上述任意的网关节点侧的DNS重定向的方法。
本发明实施例还公开了一种载有所述计算机程序的载体。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被服务器执行时,使得该服务器可执行上述任意的DNS重定向的导航服务器侧的DNS重定向的方法。
本发明实施例还公开了一种载有所述计算机程序的载体。
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
与相关技术相比,本发明的技术方案在用户访问网页失败的情况下,及时有效地分析用户可能出现的异常情况,通过智能分析失败的URL,发送友好提醒界面,引导用户访问正确的URL,达到提升用户上网体验的目的。因此本发明具有很强的工业实用性。

Claims (12)

  1. 一种域名系统DNS重定向的方法,包括:
    网关节点接收终端输入的统一资源定位器URL地址,并将所述URL地址转发至DNS服务器;
    当域名系统DNS服务器反馈的响应报文为响应失败消息时,所述网关节点确定所述URL地址为错误的URL地址,将所述响应失败消息修改为响应成功消息,并将重定向导航服务器的地址和响应成功消息发送至所述终端;
    所述网关节点接收所述终端发送的携带重定向导航服务器地址的请求报文,并通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器;
    所述网关节点获取重定向导航服务器返回的提醒界面,所述提醒界面包含指向正确URL地址的重定向链接;
    所述网关节点向所述终端提供所述提醒界面,以使得该用户根据该重定向链接进行正确的链接访问。
  2. 如权利要求1所述的DNS重定向的方法,该方法还包括:
    所述网关节点通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器时,发送失败原因,该失败原因为接收到错误的URL地址;
    应用本发明实施例的方法,在用户输入错误网址时,通过导航服务器智能提醒,引导用户访问正确的网址,提升用户体验。
  3. 一种域名系统DNS重定向的网关节点,包括获取模块、通信模块和修改模块,其中:
    所述通信模块设置成:接收终端输入的统一资源定位器URL地址,并将所述URL地址转发至所述DNS服务器;将所述重定向导航服务器的地址和修改后得到的响应成功消息发送至所述终端;接收所述终端发送的携带重定向导航服务器地址的请求报文,并通过所述重定向导航服务器地址将所述错误的URL地址转发至所述重定向导航服务器;向所述终端提供所述提醒 界面,以使得该用户根据该重定向链接进行正确的链接访问;
    所述修改模块设置成:当域名系统DNS服务器返回的响应报文为响应失败消息时,确定所述URL地址为错误的URL地址,将所述响应失败消息修改为响应成功消息;
    所述获取模块设置成:获取所述重定向导航服务器返回的提醒界面,所述提醒界面包含指向正确URL地址的重定向链接。
  4. 一种域名系统DNS重定向的方法,应用于服务器侧,包括:
    接收终端通过网关节点发来的错误的URL地址,并对所述错误的URL地址进行分析获得指向正确的URL地址的重定向链接;
    通过所述网关节点向所述终端返回提醒界面,所述提醒界面包含指向正确的URL地址的重定向链接。
  5. 如权利要求4所述的DNS重定向的方法,其中所述对所述错误的URL地址进行分析获得指向正确的URL地址的重定向链接的步骤包括:
    从预先存储的错误的URL地址的历史访问记录与相应的指向正确的URL地址的重定向链接的对应关系中匹配出与所述错误的URL地址对应的指向正确的URL地址的重定向链接;或者,
    将所述错误的URL地址与预存的所有重定向链接进行匹配,匹配出所有与所述错误的URL地址相关的重定向链接,其中包括指向正确URL地址的重定向链接。
  6. 一种域名系统DNS重定向的导航服务器,包括通讯模块和匹配模块,其中:
    所述通讯模块设置成:接收终端通过网关节点发来的错误的URL地址;通过所述网关节点向所述终端返回提醒界面,所述提醒界面包含指向正确的URL的重定向链接;
    所述匹配模块设置成:对所述错误的URL地址进行分析获得指向正确的URL的重定向链接。
  7. 如权利要求6所述的DNS重定向的导航服务器,其中,所述匹配模块设置成按照如下方式对所述错误的URL地址进行分析获得指向正确的 URL的重定向链接:
    从预先存储的错误的URL地址的历史访问记录与相应的指向正确的URL地址的重定向链接的对应关系中匹配出与所述错误的URL地址对应的指向正确的URL地址的重定向链接;或者,
    将所述错误的URL地址与预存的所有重定向链接进行匹配,匹配出所有与所述错误的URL地址相关的重定向链接,其中包括指向正确URL地址的重定向链接。
  8. 一种域名系统DNS重定向的系统,包括:如权利要求3所述的网关节点和如权利要求6或7所述的DNS重定向导航服务器。
  9. 一种计算机程序,包括程序指令,当该程序指令被服务器执行时,使得该服务器可执行如权利要求4或5所述的DNS重定向的方法。
  10. 一种载有如权利要求9所述计算机程序的载体。
  11. 一种计算机程序,包括程序指令,当该程序指令被网关节点执行时,使得该网关节点可执行如权利要求1或2所述的DNS重定向的方法。
  12. 一种载有如权利要求11所述计算机程序的载体。
PCT/CN2015/084703 2014-12-19 2015-07-21 一种域名系统dns重定向的方法、装置和系统 WO2016095521A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410805705.0 2014-12-19
CN201410805705.0A CN105791450A (zh) 2014-12-19 2014-12-19 一种域名系统dns重定向的方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2016095521A1 true WO2016095521A1 (zh) 2016-06-23

Family

ID=56125820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084703 WO2016095521A1 (zh) 2014-12-19 2015-07-21 一种域名系统dns重定向的方法、装置和系统

Country Status (2)

Country Link
CN (1) CN105791450A (zh)
WO (1) WO2016095521A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021042815A1 (zh) * 2019-09-04 2021-03-11 苏宁易购集团股份有限公司 Http重定向状态码捕获方法、装置和计算机设备
CN113242329A (zh) * 2021-04-30 2021-08-10 平安证券股份有限公司 基于模糊匹配的映射关系发送方法、装置和计算机设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733815A (zh) * 2018-05-21 2018-11-02 北京五八信息技术有限公司 交互方法、装置、终端、服务器及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505323A (zh) * 2009-02-24 2009-08-12 南京联创科技股份有限公司 海量数据下基于内容分析的域名解析重定向方法
CN103051740A (zh) * 2012-12-13 2013-04-17 上海牙木通讯技术有限公司 域名解析方法、dns服务器及域名解析系统
CN104170356A (zh) * 2013-12-30 2014-11-26 华为技术有限公司 一种处理域名请求的方法及设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854375A (zh) * 2009-03-31 2010-10-06 华为软件技术有限公司 重定向方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505323A (zh) * 2009-02-24 2009-08-12 南京联创科技股份有限公司 海量数据下基于内容分析的域名解析重定向方法
CN103051740A (zh) * 2012-12-13 2013-04-17 上海牙木通讯技术有限公司 域名解析方法、dns服务器及域名解析系统
CN104170356A (zh) * 2013-12-30 2014-11-26 华为技术有限公司 一种处理域名请求的方法及设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021042815A1 (zh) * 2019-09-04 2021-03-11 苏宁易购集团股份有限公司 Http重定向状态码捕获方法、装置和计算机设备
CN113242329A (zh) * 2021-04-30 2021-08-10 平安证券股份有限公司 基于模糊匹配的映射关系发送方法、装置和计算机设备
CN113242329B (zh) * 2021-04-30 2022-03-18 平安证券股份有限公司 基于模糊匹配的映射关系发送方法、装置和计算机设备

Also Published As

Publication number Publication date
CN105791450A (zh) 2016-07-20

Similar Documents

Publication Publication Date Title
US11425137B2 (en) Centralized authentication for granting access to online services
US9794242B2 (en) Method, apparatus and application platform for realizing logon to an application service website
US10250714B2 (en) Page redirection method, routing device, terminal device and system
US8325739B2 (en) Process for managing resource address requests and associated gateway device
US9749143B2 (en) Web real-time communication call transferring method and apparatus
EP2985705A2 (en) Webpage access method and apparatus, and router
EP2571228B1 (en) Access control method and system, and access terminal
US20140214921A1 (en) System and method for identification of an application executed on a mobile device
CN107835155B (zh) 一种双认证保护方法及装置
CN104010051B (zh) 一种访问网络的方法及管理服务器
US10951616B2 (en) Proximity-based device authentication
KR20160066545A (ko) 미디어 리소스 피드백 방법, 장치, 프로그램 및 기록매체
WO2016095521A1 (zh) 一种域名系统dns重定向的方法、装置和系统
CN104509066B (zh) 一种访问网络的方法及网络设备、管理服务器
US20130268662A1 (en) Hypertext transfer protocol http stream association method and device
CN105677688B (zh) 页面数据加载方法和系统
EP2991281B1 (en) Webpage pushing method, device and terminal
WO2016180137A1 (zh) 一种消息处理方法和装置
US20200314190A1 (en) De termining that multiple requests are received from a particular user device
CN106790176B (zh) 一种访问网络的方法及系统
CN104618242A (zh) 一种报文转发方法和装置
WO2014161338A1 (en) Method, apparatus, and system for webgame interaction
US9550119B2 (en) Method, apparatus, and system for webgame interaction

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: 15869032

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: 15869032

Country of ref document: EP

Kind code of ref document: A1