WO2014089816A1 - Redirection method for visiting web pages by user equipment, gateway, and server - Google Patents

Redirection method for visiting web pages by user equipment, gateway, and server Download PDF

Info

Publication number
WO2014089816A1
WO2014089816A1 PCT/CN2012/086631 CN2012086631W WO2014089816A1 WO 2014089816 A1 WO2014089816 A1 WO 2014089816A1 CN 2012086631 W CN2012086631 W CN 2012086631W WO 2014089816 A1 WO2014089816 A1 WO 2014089816A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
home location
url
redirected
location identifier
Prior art date
Application number
PCT/CN2012/086631
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Priority to PCT/CN2012/086631 priority Critical patent/WO2014089816A1/en
Priority to CN201280003085.8A priority patent/CN103384993B/en
Publication of WO2014089816A1 publication Critical patent/WO2014089816A1/en

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a gateway, and a server for redirecting a user equipment to a webpage. Background technique
  • the operator charges the user a certain fee according to the network traffic consumed by the handheld terminal.
  • the operator may choose to configure the policy on the gateway.
  • the user accesses the Internet through the mobile terminal, the user redirects the URL input by the user through the handheld terminal to a view. A page of data such as traffic, billing information, etc., and then the user selects whether or not to continue accessing the page, generating data traffic.
  • redirection policies are configured by the local carrier on the local gateway, such as the Gateway GPRS Support Node (abbreviation: GGSN).
  • GGSN Gateway GPRS Support Node
  • the operator of the roaming place does not necessarily configure the same redirection policy on the gateway of the roaming place, so that the user equipment cannot be redirected to the home location when accessing the webpage in the roaming state.
  • the web page of the policy obtain the corresponding information. Summary of the invention
  • the embodiment of the invention provides a redirection method for a user equipment to access a webpage, so that after the user equipment sends a webpage access request in a roaming state, the user equipment can be redirected to the home device configuration.
  • the redirect page corresponds to the redirect page.
  • the embodiment of the present application provides a method for redirecting a user equipment to access a webpage, where the method includes:
  • the embodiment of the present application provides a user equipment webpage access control method, where the method is applied to a domain name resolution server DNS, and the method includes:
  • a DNS request including a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
  • the embodiment of the present application provides a gateway, where the gateway includes:
  • a receiving unit configured to receive a data access request sent by the roaming user equipment UE, and a searching unit, configured to search for a home location identifier of the UE;
  • a processing unit configured to acquire, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
  • the embodiment of the present application provides a server, where the server includes: a receiving unit, configured to receive a DNS request sent by a user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the weight is The attribution URL carries the attribution information of the UE;
  • a processing unit configured to search for an IP address corresponding to the redirect URL; And sending, by the sending unit, the IP address to the user equipment.
  • the embodiment of the present application provides a gateway, where the gateway includes:
  • An application physically stored in the memory including instructions operable to cause the processor and the system to perform the following process:
  • the embodiment of the present application provides a server, where the server includes: a network interface;
  • An application physically stored in the memory including instructions operable to cause the processor and the system to perform the following process:
  • a DNS request including a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
  • the gateway After the user equipment accesses the webpage redirection method provided by the embodiment of the present invention, after receiving the data access request sent by the user equipment (User Equipment, UE) in the roaming state, the gateway acquires the home location information of the UE, and then according to the UE. Destination of the UE, obtained and described by the UE Determining, by the home device, a redirected unicast resource locator (URL), and sending the redirected URL to the user equipment, so that the user equipment accesses the webpage corresponding to the redirected URL To access the redirected webpage configured by the home gateway to obtain the corresponding information.
  • UE User Equipment
  • 1 is a reference diagram of an interaction state of a user equipment accessing an Internet website
  • FIG. 2 is a flowchart of an embodiment of a user equipment webpage access control method according to an embodiment of the present invention.
  • FIG. 4 is a reference diagram of an interaction state of a user equipment accessing an internet website according to an embodiment of the present invention.
  • FIG. 4 is another embodiment of the present invention.
  • FIG. 5 is a flowchart of another embodiment of a user equipment webpage access control method according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of an embodiment of a gateway according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of an embodiment of a server according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of another embodiment of a gateway according to an embodiment of the present invention.
  • FIG. 9 is a structural diagram of an embodiment of another server according to an embodiment of the present invention. detailed description
  • the base station forwards the above DNS request to the gateway through a wireless network, such as a GGSN or other gateway, and sends the DNS request to the DNS server responsible for the domain name resolution service by the gateway connected to the Internet; the DNS server queries according to the DNS server The IP address corresponding to the domain name carried in the DNS request, and then responding, and returning the IP address to the user equipment through the gateway and the base station, and the browser on the user equipment generates an ultra according to the IP address carried in the DNS response.
  • the Hypertext Transfer Protocol (Http) request is forwarded to the http server as the web server through the base station and the gateway layer, and accesses the web page corresponding to the IP address.
  • the user equipment UE includes, but is not limited to, a portable device such as a smart phone, a tablet computer, and a notebook computer.
  • the various requests sent by the user equipment to the gateway are forwarded by the base station, and the requests sent by the user equipment to the various servers are also forwarded by the base station and the gateway. Therefore, for the sake of brevity, the forwarding process is no longer described, and those skilled in the art It should be understood.
  • an embodiment of the present invention provides a method for redirecting a user equipment to access a webpage, where the method is performed by a gateway, and the method includes:
  • the user equipment is in a roaming state, that is, an operator in a location where the user is located is not an operator of the user equipment home. Therefore, the user equipment needs to go through the gateway of the roaming location to perform the data access request.
  • the data access request is a DNS request, where the website address of the website that the UE wants to access is carried, or It is a domain name, such as Sina, Google or Baidu. The UE wants to be able to obtain the IP address corresponding to the URL entered by the DNS server.
  • the redirection policy is configured on the operator gateway of the roaming site. Before the user equipment browses the webpage, the user equipment needs to be redirected to the redirect page configured by the home operator for the user to refer to the information on the redirect page. , such as traffic, billing information and other data.
  • the gateway After receiving the DNS request sent by the user equipment, the gateway queries the home location information of the user equipment according to the local configuration, for example, the mobile subscriber international integrated service digital network number when the user equipment accesses the gateway (Mobile Subscriber International ISDN/PSTN number) , MSISDN) identifies several digits of the user equipment attribution, and determines the attribution of the user.
  • MSISDN number of the user equipment A is 139010XXXXX.
  • the first three digits 139 can be used to know that the user equipment A is a user of China Mobile. 010 out of 4-6 bits can know that the user equipment A is from Beijing.
  • the gateway may generate a new redirect URL by using the local device, the software, or the external device to request the external device to send a new redirect URL.
  • the URL contains the attribution information of the user equipment.
  • the gateway can intercept the first 6 bits of the MSISDN of the user equipment A, carry it in the URL, generate a URL similar to 139010.
  • Portal.cmcc.com or configure the English name or pinyin name of the attribution name in the weight.
  • Targeted URLs such as Beijing.Portal.cmcc.com.
  • the IP address corresponding to the redirected URL can be obtained.
  • the policy that the gateway redirects to the user equipment includes time limit or number of times. If it is time-limited, the user device only wants to access the Internet during roaming state for the first time in the week, or monthly. If the number of times is limited, the gateway only redirects when the user equipment accesses the Internet for the first time in the roaming. After the user sends the DNS request again, the gateway does not perform the redirection. 204. Send the redirected uniform resource locator to the user equipment.
  • the gateway After the gateway generates the redirect URL for the UE, the gateway returns the packet carrying the redirected URL to the user equipment UE, and the browser of the user equipment generates a new packet after receiving the packet. DNS request, and forward the new DNS request to the DNS server through the gateway.
  • the gateway will not redirect the DNS request, but directly forward the new DNS request to the DNS server through the gateway.
  • the DNS server queries and describes Redirecting the IP address corresponding to the URL, and returning the IP address to the user equipment, the user equipment generates an http request message according to the IP address, where the destination address is the IP address, and then sends the http request to the gateway through the gateway.
  • the web server of the web server is accessed, the webpage corresponding to the redirected URL is accessed, and the prompt data such as traffic and billing information is obtained.
  • the user equipment may end browsing or select to continue accessing. If the user equipment wants to access the webpage, such as Sina, Baidu, etc. in the first data access request, the process may refer to the embodiment shown in FIG. 1, and therefore, the details are not described.
  • the user equipment can access the redirected webpage configured by the home gateway in the roaming state to obtain corresponding information.
  • the gateway receives the data access request sent by the user equipment UE as a DNS request, that is, when the user equipment is ready to access the Internet for the first time, the gateway redirects the user equipment.
  • the gateway may also respond to the DNS request sent by the user equipment to the DNS server through the gateway, that is, the DNS server searches for and returns the domain name that the user equipment wants to access in the user equipment DNS request. After the IP address corresponding to the domain name, the user equipment generates an htt request message according to the IP address, and requests the gateway GGSN to HTTP. When the server forwards the http request packet, the gateway is triggered to redirect the user equipment.
  • step 202-step 204 The flow after the gateway is redirected to the user equipment is the same as step 202-step 204 in the embodiment shown in FIG. 2, and therefore will not be described again.
  • the interaction diagram of this embodiment can be referred to FIG.
  • an embodiment of the present invention further provides a user equipment webpage access control method, where the method is applied to a domain name resolution server DNS, and the method includes:
  • Step 501 Receive a DNS request sent by the user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE; specifically, as shown in FIG.
  • the DNS request message carries the redirect URL, and the redirect URL includes Destination information of the UE.
  • Step 502 Find an IP address corresponding to the redirected URL.
  • the IP address corresponding data associated with the user equipment is stored locally on the DNS server or other device.
  • the IP address corresponding data associated with the user equipment is stored locally on the DNS server or other device.
  • Portal.cmcc.com and 139012.Portal.cmcc.com and other gateways are associated with the same ip address 202.11.55. X.
  • the user equipment of the IP address can access a webpage such as traffic statistics.
  • Step 503 Send the IP address to the user equipment.
  • the DNS server sends the DNS response packet including the IP address to the user equipment UE through the gateway and the base station, where the browser generates the destination address as described above.
  • the hypertext transfer protocol of the IP address is an HTTP request message, and the HTTP request is sent to the HTTP server through the gateway, and the website corresponding to the redirected URL is accessed, and the redirected webpage of the home location is accessed in the roaming state to obtain the traffic. Billing and other information.
  • the user device may end browsing or select to continue accessing.
  • the user equipment is connected to the initial data
  • the webpage that you want to visit such as Sina, Baidu, etc., the flow can refer to the embodiment shown in FIG. 1, so no further details are provided.
  • the embodiment of the present invention further provides a gateway, where the gateway can be a GGSN or other gateway device, including:
  • the receiving unit 601 is configured to receive a data access request sent by the roaming user equipment UE, and the searching unit 602 is configured to search for a home location identifier of the UE.
  • the processing unit 603 is configured to acquire, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
  • the sending unit 604 is configured to send the redirected uniform resource locator to the user equipment.
  • the embodiment of the present invention further provides a server, where the server may be a DNS server, and the method includes:
  • the receiving unit 701 is configured to receive a DNS request sent by the user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL is generated by the gateway according to the home location identifier of the user equipment, The redirecting URL carries the home location information of the UE; the processing unit 702 is configured to search for an IP address corresponding to the redirected URL;
  • the sending unit 703 sends the IP address to the user equipment.
  • the IP address sent by the sending unit 703 to the user equipment is used by the user equipment to generate a data access request packet corresponding to the IP address, and the data access request packet is sent to the data access server to access the The web page corresponding to the redirect URL.
  • the embodiment of the present invention further provides a gateway, where the gateway may be a GGSN or
  • a device such as an MSC in a 3G network this embodiment includes a network interface 81, a processor 82, and a memory 83.
  • the system bus 84 is used to connect the network interface 81, the processor 82, and the memory 83.
  • Network interface 81 is used to communicate with base stations, as well as various servers.
  • the memory 83 may be a persistent storage such as a hard disk drive and a flash memory having a software module and a device driver therein.
  • the software module is capable of performing various functions of the above method of the present invention Module; device drivers can be network and interface drivers.
  • the embodiment of the present invention further provides a server, where the server may be a DNS server, and the embodiment includes a network interface 91, a processor 92, and a memory 93.
  • System bus 94 is used to connect network interface 91, processor 92, and memory 93.
  • the network interface 91 is used to communicate with devices such as gateways and base stations.
  • the memory 93 may be a persistent storage such as a hard disk drive and a flash memory having a software module and a device driver.
  • the software modules are capable of executing the various functional modules of the above described method of the present invention; the device drivers can be network and interface drivers.
  • the DNS request includes a redirected uniform resource locator URL
  • the redirected URL is generated by the gateway according to the home location identifier of the user equipment, where the redirect URL carries Describe the attribution information of the UE;
  • the IP address sent by the DNS server to the user equipment is used by the user equipment to generate a data access request packet corresponding to the IP address, and the data access request packet is sent to the data access server to access the The web page corresponding to the redirect URL.
  • the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present invention provides a redirection method for visiting web pages by a user equipment (UE). The method comprises: receiving a data access request sent by a UE in a roaming state; searching for a home location identification of the UE; obtaining, for the UE, a redirected uniform resource locator (URL) associated with the home location identification according to the home location identification of the UE; and sending the redirected URL to the UE, so that the UE can visit web pages corresponding to the redirected URL. By means of the method, after the UE in the roaming state sends a web page visiting request, the UE can be redirected to a redirected page corresponding to a redirection policy configured at the home location of the UE.

Description

用户设备访问网页的重定向方法、 网关以及服务器 技术领域  Redirection method, gateway and server for user equipment accessing webpage
本发明涉及通信领域,具体涉及到一种用户设备访问网页的重定向方法、 网关以及服务器。 背景技术  The present invention relates to the field of communications, and in particular, to a method, a gateway, and a server for redirecting a user equipment to a webpage. Background technique
随着移动互联网技术的发展, 通过手持移动终端上网成为用户获取信息 的一种重要的途径。 用户通过手持终端上网需要消耗一定的网络流量, 运营 商根据手持终端消耗的网络流量对用户收取一定的费用。 为了使用户能够获 取其流量信息或计费信息, 运营商可以选择在网关上配置策略, 当用户通过 移动终端上网时, 通过重定向策略, 将用户通过手持终端输入的网址重定向 到一个可以查看流量、 计费信息等数据的页面, 之后, 再由用户选择是否需 要继续访问页面, 产生数据流量。 通常这些重定向策略是由本地的运营商在 本地的网关上配置的, 例如网关 GPRS 支持节点 ( Gateway GPRS Support Node, 缩写: GGSN ) 。 但是, 当移动终端在漫游状态下, 漫游地的运营商 并不一定会在漫游地的网关上配置相同的重定向策略, 使得用户设备在漫游 状态下访问网页时, 无法重定向到归属地配置策略规定的网页上, 获取相应 的信息。 发明内容  With the development of mobile Internet technology, surfing the Internet through handheld mobile terminals has become an important way for users to obtain information. The user needs to consume a certain amount of network traffic through the handheld terminal, and the operator charges the user a certain fee according to the network traffic consumed by the handheld terminal. In order to enable the user to obtain the traffic information or the charging information, the operator may choose to configure the policy on the gateway. When the user accesses the Internet through the mobile terminal, the user redirects the URL input by the user through the handheld terminal to a view. A page of data such as traffic, billing information, etc., and then the user selects whether or not to continue accessing the page, generating data traffic. Usually these redirection policies are configured by the local carrier on the local gateway, such as the Gateway GPRS Support Node (abbreviation: GGSN). However, when the mobile terminal is in the roaming state, the operator of the roaming place does not necessarily configure the same redirection policy on the gateway of the roaming place, so that the user equipment cannot be redirected to the home location when accessing the webpage in the roaming state. On the web page of the policy, obtain the corresponding information. Summary of the invention
本发明实施例提供一种用户设备访问网页的重定向方法, 以实现用户设 备在漫游状态下发出网页访问请求后, 能够重定向到在用户设备归属地配置 的重定向策略对应的重定向页面。 The embodiment of the invention provides a redirection method for a user equipment to access a webpage, so that after the user equipment sends a webpage access request in a roaming state, the user equipment can be redirected to the home device configuration. The redirect page corresponds to the redirect page.
第一方面, 本申请实施例提供了一种用户设备访问网页的重定向方法, 所述方法包括:  In a first aspect, the embodiment of the present application provides a method for redirecting a user equipment to access a webpage, where the method includes:
接收漫游的用户设备 UE发送的数据接入请求;  Receiving a data access request sent by the roaming user equipment UE;
查找所述 UE的归属地标识;  Finding a home location identifier of the UE;
根据所述 UE的归属地标识,为所述 UE获取与所述归属地标识关联的重 定向统一资源定位符 URL;  Obtaining, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
将所述重定向统一资源定位符发送给所述用户设备。  Sending the redirected uniform resource locator to the user equipment.
第二方面, 本申请实施例提供了一种用户设备网页访问控制方法, 所述 方法应用于域名解析服务器 DNS, 所述方法包括:  In a second aspect, the embodiment of the present application provides a user equipment webpage access control method, where the method is applied to a domain name resolution server DNS, and the method includes:
接收用户设备 UE发送的 DNS请求, 所述 DNS请求中包含重定向统一 资源定位符 URL, 所述重定向 URL中携带所述 UE的归属地信息;  And receiving, by the user equipment, a DNS request, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
查找所述重定向 URL对应的 IP地址;  Find an IP address corresponding to the redirect URL;
将所述 IP地址发送给所述用户设备。  Sending the IP address to the user equipment.
第三方面, 本申请实施例提供了一种网关, 所述网关包括:  In a third aspect, the embodiment of the present application provides a gateway, where the gateway includes:
接收单元, 用以接收漫游的用户设备 UE发送的数据接入请求; 查找单元, 用以查找所述 UE的归属地标识;  a receiving unit, configured to receive a data access request sent by the roaming user equipment UE, and a searching unit, configured to search for a home location identifier of the UE;
处理单元,用以根据所述 UE的归属地标识, 为所述 UE获取与所述归属 地标识关联的重定向统一资源定位符 URL;  a processing unit, configured to acquire, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
发送单元, 用以将所述重定向统一资源定位符发送给所述用户设备。 第四方面, 本申请实施例提供了一种服务器, 所述服务器包括: 接收单元, 用以接收用户设备 UE发送的 DNS请求, 所述 DNS请求中 包含重定向统一资源定位符 URL,所述重定向 URL中携带所述 UE的归属地 信息;  And a sending unit, configured to send the redirected uniform resource locator to the user equipment. In a fourth aspect, the embodiment of the present application provides a server, where the server includes: a receiving unit, configured to receive a DNS request sent by a user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the weight is The attribution URL carries the attribution information of the UE;
处理单元, 用以查找所述重定向 URL对应的 IP地址; 发送单元, 将所述 IP地址发送给所述用户设备。 a processing unit, configured to search for an IP address corresponding to the redirect URL; And sending, by the sending unit, the IP address to the user equipment.
第五方面, 本申请实施例提供了一种网关, 所述网关包括:  In a fifth aspect, the embodiment of the present application provides a gateway, where the gateway includes:
网络接口;  Network Interface;
处理器;  Processor
存储器;  Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器和所述系统执行以下过程的指令:  An application physically stored in the memory, the application including instructions operable to cause the processor and the system to perform the following process:
接收漫游的用户设备 UE发送的数据接入请求;  Receiving a data access request sent by the roaming user equipment UE;
查找所述 UE的归属地标识;  Finding a home location identifier of the UE;
根据所述 UE的归属地标识,为所述 UE获取与所述归属地标识关联的重 定向统一资源定位符 URL;  Obtaining, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
将所述重定向统一资源定位符发送给所述用户设备。  Sending the redirected uniform resource locator to the user equipment.
第六方面, 本申请实施例提供了一种服务器, 所述服务器包括: 网络接口;  In a sixth aspect, the embodiment of the present application provides a server, where the server includes: a network interface;
处理器;  Processor
存储器;  Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器和所述系统执行以下过程的指令:  An application physically stored in the memory, the application including instructions operable to cause the processor and the system to perform the following process:
接收用户设备 UE发送的 DNS请求, 所述 DNS请求中包含重定向统一 资源定位符 URL, 所述重定向 URL中携带所述 UE的归属地信息;  And receiving, by the user equipment, a DNS request, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
查找所述重定向 URL对应的 IP地址;  Find an IP address corresponding to the redirect URL;
将所述 IP地址发送给所述用户设备。  Sending the IP address to the user equipment.
通过本发明实施例提供的用户设备访问网页的重定向方法, 网关在接收 到处于漫游状态的用户设备 ( User Equipment, UE )发送的数据接入请求之 后, 获取 UE的归属地信息, 之后根据 UE的归属地, 为所述 UE获取与所述 归属地标识关联的重定向统一资源定位符 ( Uniform I Universal Resource Locator , URL ) , 并将所述重定向 URL发送给所述用户设备, 以便于所述 用户设备访问所述重定向 URL对应的网页,以访问归属地网关配置好的重定 向网页, 获取相应的信息。 附图说明 After the user equipment accesses the webpage redirection method provided by the embodiment of the present invention, after receiving the data access request sent by the user equipment (User Equipment, UE) in the roaming state, the gateway acquires the home location information of the UE, and then according to the UE. Destination of the UE, obtained and described by the UE Determining, by the home device, a redirected unicast resource locator (URL), and sending the redirected URL to the user equipment, so that the user equipment accesses the webpage corresponding to the redirected URL To access the redirected webpage configured by the home gateway to obtain the corresponding information. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中 的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不 付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. It is obvious that the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those skilled in the art without any inventive labor.
图 1是用户设备访问互联网网站的交互状态参考图;  1 is a reference diagram of an interaction state of a user equipment accessing an Internet website;
图 2是本发明实施例提供的用户设备网页访问控制方法一实施例的流程 图 3是本发明一种实施例中用户设备访问互联网网站的交互状态的参考 图 4是本发明另一种实施例中用户设备访问互联网网站的交互状态的参 图 5是本发明实施例提供的用户设备网页访问控制方法另一实施例的流 程图  2 is a flowchart of an embodiment of a user equipment webpage access control method according to an embodiment of the present invention. FIG. 4 is a reference diagram of an interaction state of a user equipment accessing an internet website according to an embodiment of the present invention. FIG. 4 is another embodiment of the present invention. FIG. 5 is a flowchart of another embodiment of a user equipment webpage access control method according to an embodiment of the present invention.
图 6是本发明实施例提供一种网关的一种实施例的结构图;  FIG. 6 is a structural diagram of an embodiment of a gateway according to an embodiment of the present invention;
图 7是本发明实施例提供一种服务器的一种实施例的结构图;  FIG. 7 is a structural diagram of an embodiment of a server according to an embodiment of the present invention;
图 8是本发明实施例提供一种网关的另一种实施例的结构图;  FIG. 8 is a structural diagram of another embodiment of a gateway according to an embodiment of the present invention;
图 9是本发明实施例提供另一种服务器的一种实施例的结构图。 具体实施方式  FIG. 9 is a structural diagram of an embodiment of another server according to an embodiment of the present invention. detailed description
以下结合附图, 对本发明的较佳实施例做进一步详细叙述。 首先介绍一种用户设备通过移动网络访问网页的流程, 整个流程如图 1 所示, 用户通过 UE上的浏览器界面输入网址 /域名之后, 向基站 BS发送域 名服务(domain name server, DNS )请求, 基站通过无线网络将上述的 DNS 请求转发给网关, 例如 GGSN或其他的网关, 由连接到互联网的网关将所述 DNS请求发送给负责域名解析服务的 DNS服务器; DNS服务器根据所述 DNS 服务器查询所述 DNS请求中携带的域名对应的 IP地址, 之后做出响应, 将 所述 IP地址再通过网关、 基站返还给用户设备, 用户设备上的浏览器根据 DNS响应中携带的 IP地址, 生成超文本传输协议 (Hypertext transfer protocol , Http)请求, 通过基站、 网关层层转发给作为 web服务器的 http服务器, 访问 所述 IP地址对应的网页。 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in further detail with reference to the accompanying drawings. First, a process of accessing a webpage by a user equipment through a mobile network is described. The whole process is shown in FIG. 1. After the user inputs a web address/domain name through a browser interface on the UE, the domain name server (DNS) request is sent to the base station BS. The base station forwards the above DNS request to the gateway through a wireless network, such as a GGSN or other gateway, and sends the DNS request to the DNS server responsible for the domain name resolution service by the gateway connected to the Internet; the DNS server queries according to the DNS server The IP address corresponding to the domain name carried in the DNS request, and then responding, and returning the IP address to the user equipment through the gateway and the base station, and the browser on the user equipment generates an ultra according to the IP address carried in the DNS response. The Hypertext Transfer Protocol (Http) request is forwarded to the http server as the web server through the base station and the gateway layer, and accesses the web page corresponding to the IP address.
在本发明实施例中, 所述的用户设备 UE包括但不限定于智能手机、 平 板电脑以及笔记本电脑等便携式设备。  In the embodiment of the present invention, the user equipment UE includes, but is not limited to, a portable device such as a smart phone, a tablet computer, and a notebook computer.
用户设备向网关发送的各种请求均是通过基站转发的, 用户设备向各种 服务器发送的请求也是通过基站、 网关转发的, 因此, 为了简洁, 不再将转 发过程叙述, 所属领域的技术人员应当理解。  The various requests sent by the user equipment to the gateway are forwarded by the base station, and the requests sent by the user equipment to the various servers are also forwarded by the base station and the gateway. Therefore, for the sake of brevity, the forwarding process is no longer described, and those skilled in the art It should be understood.
如图 2所示,本发明实施例提供了一种用户设备访问网页的重定向方法, 该方法的执行主体为网关, 所述方法包括:  As shown in FIG. 2, an embodiment of the present invention provides a method for redirecting a user equipment to access a webpage, where the method is performed by a gateway, and the method includes:
201 , 接收漫游的用户设备 UE发送的数据接入请求;  201. Receive a data access request sent by a roaming user equipment UE.
具体而言, 所述用户设备处于漫游状态, 即用户所在的位置的运营商并 不是用户设备归属地的运营商。 因此, 用户设备在发出数据接入请求需要经 过漫游所在地的网关进行中转, 在本实施例中, 所述的数据接入请求为 DNS 请求, 其中携带有 UE想要访问的网站的网址, 或者称之为域名, 例如新浪、 谷歌或者百度等网页。 UE希望能够通过 DNS服务器获得其输入的网址对应 的 IP地址。  Specifically, the user equipment is in a roaming state, that is, an operator in a location where the user is located is not an operator of the user equipment home. Therefore, the user equipment needs to go through the gateway of the roaming location to perform the data access request. In this embodiment, the data access request is a DNS request, where the website address of the website that the UE wants to access is carried, or It is a domain name, such as Sina, Google or Baidu. The UE wants to be able to obtain the IP address corresponding to the URL entered by the DNS server.
202, 查找所述 UE的归属地标识; 具体而言, 漫游地的运营商网关上配置了重定向策略, 在用户设备浏览 网页之前, 需要将其重定向到归属地运营商配置的重定向页面上, 供用户参 考重定向页面上的信息, 例如流量、 计费信息等数据。 202. Search for a home location identifier of the UE. Specifically, the redirection policy is configured on the operator gateway of the roaming site. Before the user equipment browses the webpage, the user equipment needs to be redirected to the redirect page configured by the home operator for the user to refer to the information on the redirect page. , such as traffic, billing information and other data.
网关在接收到用户设备发送的 DNS请求之后, 根据本地配置, 查询该用 户设备的归属地信息, 例如可以通过用户设备访问网关时的移动用户国际综 合业务数字网号码 ( Mobile Subscriber International ISDN/PSTN number , MSISDN ) 中标识用户设备归属地的几位数字, 确定用户的归属地, 例如用 户设备 A的 MSISDN号码为 139010XXXXX, 通过前三位 139可以获知该用 户设备 A选用的是中国移动的用户, 通过 4-6位中的 010可以获知该用户设 备 A来自于北京市。  After receiving the DNS request sent by the user equipment, the gateway queries the home location information of the user equipment according to the local configuration, for example, the mobile subscriber international integrated service digital network number when the user equipment accesses the gateway (Mobile Subscriber International ISDN/PSTN number) , MSISDN) identifies several digits of the user equipment attribution, and determines the attribution of the user. For example, the MSISDN number of the user equipment A is 139010XXXXX. The first three digits 139 can be used to know that the user equipment A is a user of China Mobile. 010 out of 4-6 bits can know that the user equipment A is from Beijing.
203 , 根据所述 UE的归属地标识, 为所述 UE获取与所述归属地标识关 联的重定向统一资源定位符 URL;  203. Obtain a redirected uniform resource locator URL associated with the home location identifier for the UE according to the home location identifier of the UE.
具体而言, 网关在查询到用户设备的归属地信息之后, 可以通过在本地 配置、 软件生成、 或者是向外部设备请求后由外部设备下发的方式生成一个 新的重定向 URL, 该重定向 URL中包含了用户设备的归属地信息。  Specifically, after the gateway queries the home location information of the user equipment, the gateway may generate a new redirect URL by using the local device, the software, or the external device to request the external device to send a new redirect URL. The URL contains the attribution information of the user equipment.
例如, 网关可以截取用户设备 A的 MSISDN中的前 6位, 将其携带在 URL中, 生成类似 139010. Portal.cmcc.com的 URL, 或将归属地的名字的英 文名称或者拼音名称配置在重定向 URL中,例如 Beijing.Portal.cmcc.com。这 样在配置有与所述重定向 URL对应的 IP地址的 DNS服务器中, 就能够获取 与所述重定向 URL对应的 IP地址。  For example, the gateway can intercept the first 6 bits of the MSISDN of the user equipment A, carry it in the URL, generate a URL similar to 139010. Portal.cmcc.com, or configure the English name or pinyin name of the attribution name in the weight. Targeted URLs, such as Beijing.Portal.cmcc.com. Thus, in the DNS server configured with the IP address corresponding to the redirected URL, the IP address corresponding to the redirected URL can be obtained.
需要注意的是网关对用户设备重定向的策略中包含时间限定或者次数先 动, 如果是时间限定, 则只在每周、 或每月中用户设备第一次想要在漫游状 态下访问互联网时, 才进行重定向; 而如果是次数限定, 则网关只在用户设 备在漫游地第一次访问互联网时, 才进行重定向, 用户再次发出 DNS请求之 后, 不再进行重定向。 204, 将所述重定向统一资源定位符发送给所述用户设备。 Note that the policy that the gateway redirects to the user equipment includes time limit or number of times. If it is time-limited, the user device only wants to access the Internet during roaming state for the first time in the week, or monthly. If the number of times is limited, the gateway only redirects when the user equipment accesses the Internet for the first time in the roaming. After the user sends the DNS request again, the gateway does not perform the redirection. 204. Send the redirected uniform resource locator to the user equipment.
具体的, 网关在为所述 UE生成了重定向 URL之后, 将携带有所述重定 向 URL的报文返还给用户设备 UE, 用户设备的浏览器在接收到所述报文之 后, 生成新的 DNS请求, 并将所述新的 DNS请求通过网关转发到 DNS服务 器。  Specifically, after the gateway generates the redirect URL for the UE, the gateway returns the packet carrying the redirected URL to the user equipment UE, and the browser of the user equipment generates a new packet after receiving the packet. DNS request, and forward the new DNS request to the DNS server through the gateway.
需要指出的是, 由于网关上配置了次数或时间策略, 因此网关不会再对 此次 DNS请求进行重定向, 而是直接将新的 DNS请求通过网关转发到 DNS 服务器, DNS服务器查询与所述重定向 URL对应的 IP地址, 将所述 IP地址 返回给用户设备, 用户设备根据该 IP地址生成 http请求报文, 其中的目的地 址为所述 IP地址, 之后, 将 http请求通过网关发送给做完 web服务器的 http 服务器,从而访问重定向 URL对应的网页,获取流量、计费信息等提示数据。 上述实施例的流程可参考图 3所示的交互图。  It should be noted that because the number of times or time policy is configured on the gateway, the gateway will not redirect the DNS request, but directly forward the new DNS request to the DNS server through the gateway. The DNS server queries and describes Redirecting the IP address corresponding to the URL, and returning the IP address to the user equipment, the user equipment generates an http request message according to the IP address, where the destination address is the IP address, and then sends the http request to the gateway through the gateway. After the web server of the web server is accessed, the webpage corresponding to the redirected URL is accessed, and the prompt data such as traffic and billing information is obtained. For the flow of the above embodiment, reference may be made to the interaction diagram shown in FIG.
之后, 用户设备在浏览完重定向 URL对应的页面以后, 可以结束浏览, 或者选择继续访问。 继续访问, 用户设备在初次数据接入请求中, 想要访问 的网页, 例如新浪、 百度等, 这个流程可参考图 1所示的实施例, 因此不多 赘述。  After that, after browsing the page corresponding to the redirected URL, the user equipment may end browsing or select to continue accessing. If the user equipment wants to access the webpage, such as Sina, Baidu, etc. in the first data access request, the process may refer to the embodiment shown in FIG. 1, and therefore, the details are not described.
通过上述实施例, 能够使得用户设备在漫游状态下访问归属地网关配置 好的重定向网页, 获取相应的信息。  With the above embodiment, the user equipment can access the redirected webpage configured by the home gateway in the roaming state to obtain corresponding information.
在前述实施例的步驟 201 中, 网关接收用户设备 UE发送的数据接入请 求为 DNS请求, 也就是说用户设备在初次准备接入互联网时, 网关就对用户 设备进行重定向。  In step 201 of the foregoing embodiment, the gateway receives the data access request sent by the user equipment UE as a DNS request, that is, when the user equipment is ready to access the Internet for the first time, the gateway redirects the user equipment.
在另外一种实施例中, 网关也可以在用户设备通过网关发送给 DNS服务 器的 DNS请求得到响应,也就是说 DNS服务器为用户设备 DNS请求中携带 的该用户设备想要访问的域名查找并返回了该域名对应的 IP地址之后, 用户 设备根据该 IP地址, 生成了 htt 请求报文之后, 请求网关 GGSN向 HTTP 服务器转发所述 http请求报文时, 才触发网关对用户设备进行重定向。 In another embodiment, the gateway may also respond to the DNS request sent by the user equipment to the DNS server through the gateway, that is, the DNS server searches for and returns the domain name that the user equipment wants to access in the user equipment DNS request. After the IP address corresponding to the domain name, the user equipment generates an htt request message according to the IP address, and requests the gateway GGSN to HTTP. When the server forwards the http request packet, the gateway is triggered to redirect the user equipment.
在触发了网关对用户设备进行重定向之后的流程和图 2所示的实施例中 的步驟 202-步驟 204相同, 因此不多赘述。 该实施例的交互图可参考图 4。  The flow after the gateway is redirected to the user equipment is the same as step 202-step 204 in the embodiment shown in FIG. 2, and therefore will not be described again. The interaction diagram of this embodiment can be referred to FIG.
如图 5所示, 本发明实施例还提供了一种用户设备网页访问控制方法, 所述方法应用于域名解析服务器 DNS, 所述方法包括:  As shown in FIG. 5, an embodiment of the present invention further provides a user equipment webpage access control method, where the method is applied to a domain name resolution server DNS, and the method includes:
步驟 501 ,接收用户设备 UE发送的 DNS请求, 所述 DNS请求中包含重 定向统一资源定位符 URL, 所述重定向 URL中携带所述 UE的归属地信息; 具体而言, 与图 2所示的实施例类似, 在网关 GGSN为用户设备 UE获 取到重定向 URL之后, 用户设备生成新的 DNS请求, DNS请求报文中携带 的是所述重定向 URL, 并且所述重定向 URL中包含了 UE的归属地信息。例 ^口, 139010. Portal.cmcc.com或 Beijing .Portal.cmcc.com。  Step 501: Receive a DNS request sent by the user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE; specifically, as shown in FIG. In the embodiment, after the gateway GGSN obtains the redirect URL for the user equipment UE, the user equipment generates a new DNS request, the DNS request message carries the redirect URL, and the redirect URL includes Destination information of the UE. Example ^ mouth, 139010. Portal.cmcc.com or Beijing .Portal.cmcc.com.
步驟 502 , 查找所述重定向 URL对应的 IP地址;  Step 502: Find an IP address corresponding to the redirected URL.
具体而言,在 DNS服务器本地或其他设备上存储有与所述用户设备归属 地相关的 IP 地址对应数据。 例如, Beijing .Portal .cmcc.com 与 139010. Portal.cmcc.com以及 139012.Portal.cmcc.com等网关获取到的与用户设备归属 地北京相关的域名都对应于同一个 ip地址 202.11.55.X, 通过该 IP地址用户 设备可以访问例如流量统计信息的网页。  Specifically, the IP address corresponding data associated with the user equipment is stored locally on the DNS server or other device. For example, Beijing .Portal .cmcc.com and 139010. Portal.cmcc.com and 139012.Portal.cmcc.com and other gateways are associated with the same ip address 202.11.55. X. The user equipment of the IP address can access a webpage such as traffic statistics.
步驟 503 , 将所述 IP地址发送给所述用户设备。  Step 503: Send the IP address to the user equipment.
具体而言, DNS服务器在获取到重定向 URL对应的 IP地址之后, 通过 网关、 基站将包含所述 ip地址的 DNS响应报文发送给用户设备 UE, UE上 的浏览器生成目的地址为所述 IP地址的超文本传输协议 HTTP请求报文, 并 通过网关将所述 HTTP请求发送给 HTTP服务器,访问重定向 URL对应的网 站, 实现在漫游状态下, 访问归属地的重定向网页, 获取流量、 计费等信息。  Specifically, after obtaining the IP address corresponding to the redirected URL, the DNS server sends the DNS response packet including the IP address to the user equipment UE through the gateway and the base station, where the browser generates the destination address as described above. The hypertext transfer protocol of the IP address is an HTTP request message, and the HTTP request is sent to the HTTP server through the gateway, and the website corresponding to the redirected URL is accessed, and the redirected webpage of the home location is accessed in the roaming state to obtain the traffic. Billing and other information.
与前述实施例相同,之后, 用户设备在浏览完重定向 URL对应的页面以 后, 可以结束浏览, 或者选择继续访问。 继续访问, 用户设备在初次数据接 入请求中, 想要访问的网页, 例如新浪、 百度等, 这个流程可参考图 1所示 的实施例, 因此不多赘述。 After the user equipment browses the page corresponding to the redirect URL, the user device may end browsing or select to continue accessing. Continue to access, the user equipment is connected to the initial data In the request, the webpage that you want to visit, such as Sina, Baidu, etc., the flow can refer to the embodiment shown in FIG. 1, so no further details are provided.
如图 6所示, 本发明实施例还提供一种网关, 所述网关可以的 GGSN或 其他网关设备, 其包括:  As shown in FIG. 6, the embodiment of the present invention further provides a gateway, where the gateway can be a GGSN or other gateway device, including:
接收单元 601 , 用以接收漫游的用户设备 UE发送的数据接入请求; 查找单元 602 , 用以查找所述 UE的归属地标识;  The receiving unit 601 is configured to receive a data access request sent by the roaming user equipment UE, and the searching unit 602 is configured to search for a home location identifier of the UE.
处理单元 603 , 用以根据所述 UE的归属地标识, 为所述 UE获取与所述 归属地标识关联的重定向统一资源定位符 URL;  The processing unit 603 is configured to acquire, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
发送单元 604, 用以将所述重定向统一资源定位符发送给所述用户设备。 如图 7所示, 本发明实施例还提供一种服务器, 所述服务器可以是 DNS 服务器, 其包括:  The sending unit 604 is configured to send the redirected uniform resource locator to the user equipment. As shown in FIG. 7, the embodiment of the present invention further provides a server, where the server may be a DNS server, and the method includes:
接收单元 701 , 用以接收用户设备 UE发送的 DNS请求, 所述 DNS请求 中包含重定向统一资源定位符 URL, 所述重定向 URL是网关根据所述用户 设备的归属地标识生成的, 所述重定向 URL中携带所述 UE的归属地信息; 处理单元 702, 用以查找所述重定向 URL对应的 IP地址;  The receiving unit 701 is configured to receive a DNS request sent by the user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL is generated by the gateway according to the home location identifier of the user equipment, The redirecting URL carries the home location information of the UE; the processing unit 702 is configured to search for an IP address corresponding to the redirected URL;
发送单元 703 , 将所述 IP地址发送给所述用户设备。  The sending unit 703 sends the IP address to the user equipment.
其中发送单元 703发送给用户设备的 IP地址用于用户设备生成包含所述 IP地址对应的数据接入请求报文, 并将所述数据接入请求报文发送给数据接 入服务器, 以访问所述重定向 URL对应的网页。  The IP address sent by the sending unit 703 to the user equipment is used by the user equipment to generate a data access request packet corresponding to the IP address, and the data access request packet is sent to the data access server to access the The web page corresponding to the redirect URL.
如图 8所示, 本发明实施例还提供一种网关, 所述网关可以是 GGSN或 As shown in FIG. 8, the embodiment of the present invention further provides a gateway, where the gateway may be a GGSN or
3G网络中的 MSC等设备, 本实施例包括网络接口 81、 处理器 82和存储器 83。 系统总线 84用于连接网络接口 81、 处理器 82和存储器 83。 A device such as an MSC in a 3G network, this embodiment includes a network interface 81, a processor 82, and a memory 83. The system bus 84 is used to connect the network interface 81, the processor 82, and the memory 83.
网络接口 81用于与基站、 以及各种服务器通信。  Network interface 81 is used to communicate with base stations, as well as various servers.
存储器 83可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 83中具 有软件模块和设备驱动程序。 软件模块能够执行本发明上述方法的各种功能 模块; 设备驱动程序可以是网络和接口驱动程序。 The memory 83 may be a persistent storage such as a hard disk drive and a flash memory having a software module and a device driver therein. The software module is capable of performing various functions of the above method of the present invention Module; device drivers can be network and interface drivers.
在启动时, 这些软件组件被加载到存储器 83中, 然后被处理器 82访问 并执行如下指令:  At startup, these software components are loaded into memory 83 and then accessed by processor 82 and executed as follows:
接收漫游的用户设备 UE发送的数据接入请求;  Receiving a data access request sent by the roaming user equipment UE;
查找所述 UE的归属地标识;  Finding a home location identifier of the UE;
根据所述 UE的归属地标识,为所述 UE获取与所述归属地标识关联的重 定向统一资源定位符 URL;  Obtaining, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
将所述重定向统一资源定位符发送给所述用户设备。  Sending the redirected uniform resource locator to the user equipment.
如图 9所示, 本发明实施例还提供一种服务器, 所述服务器可以是 DNS 服务器, 本实施例包括网络接口 91、 处理器 92和存储器 93。 系统总线 94用 于连接网络接口 91、 处理器 92和存储器 93。  As shown in FIG. 9, the embodiment of the present invention further provides a server, where the server may be a DNS server, and the embodiment includes a network interface 91, a processor 92, and a memory 93. System bus 94 is used to connect network interface 91, processor 92, and memory 93.
网络接口 91用于与网关、 基站等设备通信。  The network interface 91 is used to communicate with devices such as gateways and base stations.
存储器 93可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 93中具 有软件模块和设备驱动程序。 软件模块能够执行本发明上述方法的各种功能 模块; 设备驱动程序可以是网络和接口驱动程序。  The memory 93 may be a persistent storage such as a hard disk drive and a flash memory having a software module and a device driver. The software modules are capable of executing the various functional modules of the above described method of the present invention; the device drivers can be network and interface drivers.
在启动时, 这些软件组件被加载到存储器 93中, 然后被处理器 92访问 并执行如下指令:  At startup, these software components are loaded into memory 93 and then accessed by processor 92 and executed as follows:
接收用户设备 UE发送的 DNS请求, 所述 DNS请求中包含重定向统一 资源定位符 URL, 所述重定向 URL是网关根据所述用户设备的归属地标识 生成的, 所述重定向 URL中携带所述 UE的归属地信息;  Receiving a DNS request sent by the user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL is generated by the gateway according to the home location identifier of the user equipment, where the redirect URL carries Describe the attribution information of the UE;
查找所述重定向 URL对应的 IP地址;  Find an IP address corresponding to the redirect URL;
将所述 IP地址发送给所述用户设备。  Sending the IP address to the user equipment.
DNS服务器发送给用户设备的 IP地址用于所述用户设备生成包含所述 IP地址对应的数据接入请求报文, 并将所述数据接入请求报文发送给数据接 入服务器, 以访问所述重定向 URL对应的网页。 专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步驟, 能够以电子硬件、 计算机软件或者二者的结合来 实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能 一般性地描述了各示例的组成及步驟。 这些功能究竟以硬件还是软件方式来 执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。 The IP address sent by the DNS server to the user equipment is used by the user equipment to generate a data access request packet corresponding to the IP address, and the data access request packet is sent to the data access server to access the The web page corresponding to the redirect URL. A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步驟可以用硬件、 处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ) 、 内存、 只读存储器(ROM ) 、 电可编程 R0M、 电可擦除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-ROM , 或技术领域内所公知的任意其它形式 的存储介质中。  The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above described embodiments of the present invention are further described in detail, and the embodiments of the present invention are intended to be illustrative only. The scope of the protection, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 书 Claims
1、 一种用户设备访问网页的重定向方法, 其特征在于, 所述方法包括: 接收漫游的用户设备 UE发送的数据接入请求; A method for redirecting a user equipment to access a webpage, the method comprising: receiving a data access request sent by a roaming user equipment UE;
查找所述 UE的归属地标识;  Finding a home location identifier of the UE;
根据所述 UE的归属地标识,为所述 UE获取与所述归属地标识关联的重 定向统一资源定位符 URL;  Obtaining, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
将所述重定向统一资源定位符发送给所述用户设备。  Sending the redirected uniform resource locator to the user equipment.
2、 如权利要求 1所述的方法, 其特征在于, 所述数据接入请求为域名解 析服务 DNS请求。  2. The method of claim 1, wherein the data access request is a domain name resolution service DNS request.
3、 如权利要求 1所述的方法, 其特征在于, 所述数据接入请求为超文本 传输协议 htt 请求。  3. The method of claim 1, wherein the data access request is a hypertext transfer protocol htt request.
4、 如权利要求 1-3任一项所述的方法, 其特征在于, 所述归属地标识为 所述 UE的移动台识别号码 MSISDN,所述才 据所述 UE的归属地标识, 为所 述 UE获取与所述归属地标识关联的重定向统一资源定位符 URL具体为: 截取所述 MSISDN号码中标识所述 UE归属地的字段, 将所述字段携带 在所述重定向 URL中。  The method according to any one of claims 1-3, wherein the attribution identifier is a mobile station identification number MSISDN of the UE, and the location identifier of the UE is The obtaining, by the UE, the redirected Uniform Resource Locator URL associated with the home location identifier is: intercepting a field in the MSISDN number that identifies the UE home location, and carrying the field in the redirect URL.
5、 如权利要求 1-3任一项所述的方法, 其特征在于, 所述归属地标识为 所述 UE的移动台识别号码 MSISDN,所述根据所述 UE的归属地标识,为所 述 UE获取与所述归属地标识关联的重定向统一资源定位符 URL具体为: 才艮据所述 UE的所述 MSISDN , 识别所述 UE的归属地;  The method according to any one of claims 1-3, wherein the attribution identifier is a mobile station identification number MSISDN of the UE, and the attribution identifier according to the UE is the The obtaining, by the UE, the redirected Uniform Resource Locator URL associated with the home location identifier is: identifying the home location of the UE according to the MSISDN of the UE;
将所述 UE归属地的名称, 携带在所述重定向 URL中。  Carrying the name of the UE home location in the redirect URL.
6、 如权利要求 1所述的方法, 其特征在于, 所述根据所述 UE的归属地 标识, 为所述 UE获取与所述归属地标识关联的重定向 URL具体为:  The method according to claim 1, wherein the obtaining, by the UE, a redirection URL associated with the home location identifier according to the home location identifier of the UE is:
才 据所述 UE的归属地标识和本地配置,为所述 UE获取与所述归属地标 识关联的重定向 URL。 Obtaining the home landmark with the UE according to the attribution identifier and the local configuration of the UE. Know the associated redirect URL.
7、 如权利要求 1所述的方法, 其特征在于, 所述根据所述 UE的归属地 标识, 为所述 UE获取与所述归属地标识关联的重定向 URL具体为:  The method according to claim 1, wherein the obtaining, by the UE, a redirection URL associated with the home location identifier according to the home location identifier of the UE is:
向外部设备请求获取所述 UE的归属地标识对应的重定向 URL;  And requesting, by the external device, a redirect URL corresponding to the home location identifier of the UE;
接收所述外部设备下发与所述归属地标识关联的重定向 URL。  Receiving, by the external device, a redirect URL associated with the home identity.
8、 如权利要求 1所述的方法, 其特征在于, 所述查找所述 UE的归属地 标识, 具体为:  The method according to claim 1, wherein the searching for the home location identifier of the UE is specifically:
才艮据本地配置, 在本地查找所述 UE的归属地标识。  According to the local configuration, the home location identifier of the UE is locally searched.
9、 一种用户设备网页访问控制方法, 其特征在于, 所述方法应用于域名 解析服务器 DNS, 所述方法包括:  A user equipment webpage access control method, wherein the method is applied to a domain name resolution server DNS, and the method includes:
接收用户设备 UE发送的 DNS请求, 所述 DNS请求中包含重定向统一 资源定位符 URL, 所述重定向 URL中携带所述 UE的归属地信息;  And receiving, by the user equipment, a DNS request, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
查找所述重定向 URL对应的 IP地址;  Find an IP address corresponding to the redirect URL;
将所述 IP地址发送给所述用户设备。  Sending the IP address to the user equipment.
10如 权利要求 9所述的方法, 其特征在于, 所述域名解析服务器中存 储有所述重定向 URL与 IP地址之间的对应关系, 所述 DNS服务器在本地查 找所述重定向 URL对应的 IP地址。  The method according to claim 9, wherein the domain name resolution server stores a correspondence between the redirected URL and an IP address, and the DNS server locally searches for the corresponding corresponding to the redirected URL. IP address.
11 如 权利要求 9所述的方法, 其特征在于, 所述数据接入请求报文为 超文本传输协议 HTTP报文, 所述数据接入服务器为 HTTP服务器。  The method of claim 9, wherein the data access request message is a hypertext transfer protocol HTTP message, and the data access server is an HTTP server.
12、 如权利要求 9所述的方法, 其特征在于, 所述所述重定向 URL是网 关根据所述用户设备的归属地标识生成的。  The method according to claim 9, wherein the redirect URL is generated by a gateway according to a home location identifier of the user equipment.
13、 如权利要求 9所述的方法, 其特征在于, 所述 IP地址用于所述用户 设备生成包含所述 IP地址对应的数据接入请求报文, 并将所述数据接入请求 报文发送给数据接入服务器, 以访问所述重定向 URL对应的网页。  The method of claim 9, wherein the IP address is used by the user equipment to generate a data access request message corresponding to the IP address, and the data access request message is sent. Send to the data access server to access the webpage corresponding to the redirected URL.
14、 一种网关, 其特征在于, 包括: 接收单元, 用以接收漫游的用户设备 UE发送的数据接入请求; 查找单元, 用以查找所述 UE的归属地标识; 14. A gateway, comprising: a receiving unit, configured to receive a data access request sent by the roaming user equipment UE, and a searching unit, configured to search for a home location identifier of the UE;
处理单元,用以根据所述 UE的归属地标识, 为所述 UE获取与所述归属 地标识关联的重定向统一资源定位符 URL;  a processing unit, configured to acquire, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
发送单元, 用以将所述重定向统一资源定位符发送给所述用户设备。 And a sending unit, configured to send the redirected uniform resource locator to the user equipment.
15、 一种服务器, 其特征在于, 包括: 15. A server, comprising:
接收单元, 用以接收用户设备 UE发送的 DNS请求, 所述 DNS请求中 包含重定向统一资源定位符 URL,所述重定向 URL中携带所述 UE的归属地 信息;  a receiving unit, configured to receive a DNS request sent by the user equipment UE, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
处理单元, 用以查找所述重定向 URL对应的 IP地址;  a processing unit, configured to search for an IP address corresponding to the redirected URL;
发送单元, 将所述 IP地址发送给所述用户设备。  The sending unit sends the IP address to the user equipment.
16、 一种网关, 其特征在于, 包括:  16. A gateway, comprising:
网络接口;  Network Interface;
处理器;  Processor
存储器;  Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器和所述系统执行以下过程的指令:  An application physically stored in the memory, the application including instructions operable to cause the processor and the system to perform the following process:
接收漫游的用户设备 UE发送的数据接入请求;  Receiving a data access request sent by the roaming user equipment UE;
查找所述 UE的归属地标识;  Finding a home location identifier of the UE;
根据所述 UE的归属地标识,为所述 UE获取与所述归属地标识关联的重 定向统一资源定位符 URL;  Obtaining, according to the home location identifier of the UE, a redirected uniform resource locator URL associated with the home location identifier for the UE;
将所述重定向统一资源定位符发送给所述用户设备。  Sending the redirected uniform resource locator to the user equipment.
17 一种服务器, 其特征在于, 包括:  A server, comprising:
网络接口;  Network Interface;
处理器; 存储器; processor; Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器和所述系统执行以下过程的指令:  An application physically stored in the memory, the application including instructions operable to cause the processor and the system to perform the following process:
接收用户设备 UE发送的 DNS请求, 所述 DNS请求中包含重定向统一 资源定位符 URL, 所述重定向 URL中携带所述 UE的归属地信息;  And receiving, by the user equipment, a DNS request, where the DNS request includes a redirected uniform resource locator URL, where the redirected URL carries the home location information of the UE;
查找所述重定向 URL对应的 IP地址;  Find an IP address corresponding to the redirect URL;
将所述 IP地址发送给所述用户设备。  Sending the IP address to the user equipment.
PCT/CN2012/086631 2012-12-14 2012-12-14 Redirection method for visiting web pages by user equipment, gateway, and server WO2014089816A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/086631 WO2014089816A1 (en) 2012-12-14 2012-12-14 Redirection method for visiting web pages by user equipment, gateway, and server
CN201280003085.8A CN103384993B (en) 2012-12-14 2012-12-14 The reorientation method of user equipment access webpage, gateway and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/086631 WO2014089816A1 (en) 2012-12-14 2012-12-14 Redirection method for visiting web pages by user equipment, gateway, and server

Publications (1)

Publication Number Publication Date
WO2014089816A1 true WO2014089816A1 (en) 2014-06-19

Family

ID=49492147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/086631 WO2014089816A1 (en) 2012-12-14 2012-12-14 Redirection method for visiting web pages by user equipment, gateway, and server

Country Status (2)

Country Link
CN (1) CN103384993B (en)
WO (1) WO2014089816A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991589B (en) * 2015-02-13 2019-04-26 华为技术有限公司 A kind of method, apparatus and system for redirection
CN106550001B (en) * 2015-09-23 2021-02-23 中兴通讯股份有限公司 Redirection method and device
CN105787038B (en) * 2016-02-25 2019-04-30 北京搜狗科技发展有限公司 A kind of method and electronic equipment for excavating uniform resource locator transformation rule
CN107231445A (en) * 2016-03-23 2017-10-03 中兴通讯股份有限公司 A kind of dynamic domain name system DNS reorientation methods, apparatus and system
CN107656946B (en) * 2016-09-28 2020-06-05 平安科技(深圳)有限公司 Method and system for redirecting business process
CN108021564B (en) * 2016-10-31 2021-11-26 阿里巴巴集团控股有限公司 Method and equipment for redirecting page
CN108595447A (en) * 2016-12-13 2018-09-28 广州市动景计算机科技有限公司 User terminal and Webpage specificity analysis apparatus and method
CN108347460B (en) * 2017-01-25 2020-04-14 华为技术有限公司 Resource access method and device
US11689414B2 (en) 2017-11-10 2023-06-27 International Business Machines Corporation Accessing gateway management console
CN108733815A (en) * 2018-05-21 2018-11-02 北京五八信息技术有限公司 Exchange method, device, terminal, server and computer readable storage medium
CN111935327B (en) * 2020-02-24 2023-07-25 北京豆萌信息技术有限公司 Domain name assignment method, device, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299869A (en) * 2007-04-30 2008-11-05 上海贝尔阿尔卡特股份有限公司 Method and device for controlling mobile terminal to access service in wireless communication network
CN101553796A (en) * 2006-11-15 2009-10-07 思达伦特网络公司 System and method for redirecting requests
CN101651908A (en) * 2008-08-14 2010-02-17 中兴通讯股份有限公司 Call redirection method and business system
CN101729591A (en) * 2008-10-29 2010-06-09 中国移动通信集团公司 User guide device, system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540759B (en) * 2008-03-20 2013-01-23 中国移动通信集团公司 Method for acquiring address of service server and communication system
CN101631146B (en) * 2008-07-17 2013-02-13 华为技术有限公司 Method and terminal for realizing address resolution of service platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101553796A (en) * 2006-11-15 2009-10-07 思达伦特网络公司 System and method for redirecting requests
CN101299869A (en) * 2007-04-30 2008-11-05 上海贝尔阿尔卡特股份有限公司 Method and device for controlling mobile terminal to access service in wireless communication network
CN101651908A (en) * 2008-08-14 2010-02-17 中兴通讯股份有限公司 Call redirection method and business system
CN101729591A (en) * 2008-10-29 2010-06-09 中国移动通信集团公司 User guide device, system and method

Also Published As

Publication number Publication date
CN103384993B (en) 2016-10-12
CN103384993A (en) 2013-11-06

Similar Documents

Publication Publication Date Title
WO2014089816A1 (en) Redirection method for visiting web pages by user equipment, gateway, and server
US9401962B2 (en) Traffic steering system
CN102171673B (en) Cross-layer pipelining optimizations for reduced roundtrips and improving quality of experience
JP4675206B2 (en) User authentication method, wireless communication network, home wireless communication network, and authentication server
JP5739023B2 (en) System and method using a web proxy server to access a device having an assigned network address
WO2013131472A1 (en) Message processing method, device and system
JP6074781B2 (en) Method and apparatus for preventing unauthorized service access
CN103220371B (en) Content adaptation method and system
WO2016023357A1 (en) Webpage access method and apparatus, and router
WO2012174885A1 (en) Information sending method and gateway
WO2013185693A1 (en) Method for router to process web page data, and router
WO2021007752A1 (en) Return-to-source method and related device in content delivery network
WO2009067926A1 (en) Page redirection method and wap gateway
JP2012161078A (en) Method and apparatus for determining server which should respond to service request
WO2015000320A1 (en) Mobile terminal cross-browser login method and device
US9544944B2 (en) Adaptive, personal localized cache control server
WO2019091494A1 (en) Method for acquiring access information of wireless access points, method for providing access information of wireless access points, device, and medium
TW200406675A (en) Communication terminal providing function against connection with specific website and method thereof and memory media memorizing the program
CN112702425A (en) WEB application access agent method, device and system based on domain name extensive resolution
CN101800758B (en) Mobile terminal network visiting method, system and gateway
EP2290884A1 (en) Method, terminal and system for implementing address resolution of service server
WO2014166078A1 (en) Data sending and processing method and router
WO2015103738A1 (en) Content distribution method, apparatus and system
WO2018157755A1 (en) Method for processing data service, data gateway and policy control network element
US20120124025A1 (en) Method for Querying a Search Word Via SMS and Sending a Search Engine Results to Mobile Devices

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

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

Country of ref document: EP

Kind code of ref document: A1