IP Library › Granted Patent US 8,918,476
Granted Patent B2
US 8,918,476 · App. 13/731,360 · Granted Dec 23, 2014

Method for page redirection and WAP gateway

Inventors: Zanfeng Yang (Shenzhen, CN); Xuri Liu (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L12/5689H04L12/66H04L67/2814H04L67/2828H04L67/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,918,476
App. No.
13/731,360
Granted
Dec 23, 2014
Kind
B2
Abstract

The present disclosure relates to the field of communications, and discloses a method for page redirection and a WAP gateway, which reduces the time delay the terminal experiences when acquiring pages. In the present disclosure, the WAP gateway requests, when receiving a page request from a user terminal, a page requested by the user terminal from a service provider; and when a page returned by the service provider satisfies a page redirection criterion, the WAP gateway performs a page redirection, and returns the page obtained after the redirection to the user terminal. The page redirection criterion is that the page contains redirection serial status codes indicating that a redirection is needed, or that the page contains an “onenterforward” mark. The WAP gateway retains the “Cookie” information included in the page returned by the service provider.

Claims (68)

1. In a gateway physically separate from a user terminal device and located in a network, a method for performing page redirection on behalf of the user terminal device serviced thereby, the method comprising:

receiving, by the gateway, a page request that includes Uniform Resource Location (URL) information for a page requested from the user terminal;

based on the received URL, sending, by the gateway, a page request with the URL to a service provider;

receiving, by the gateway, a first page from the service provider according to the URL;

identifying, by the gateway, that the first page returned by the service provider meets a redirection criterion on behalf of the user terminal;

based on the identified redirection criterion met, parsing, by the gateway, the first page to determine URL information carried in the first page;

performing, by the gateway, a page redirection via initiating a redirection page request to a redirection server to obtain a second page from the redirection server based on the determined URL information;

sending the second page to the user terminal;

retaining, by the gateway, “Cookie” information included in the first page;

receiving, by the gateway, a page request carrying URL information from the user terminal;

determining that the carried URL is directing to the service provider which returned the first page; and

based on the determined URL directing to the service provider, correcting, by the WAP gateway, “Cookie” information carried in the page request according to the retained “Cookie” information;

requesting a page from the service provider according to the corrected “Cookie” information and the URL directing to the service provider.

2. The method for page redirection according to claim 1 , wherein the redirection criterion is a redirection serial status code indicating that a redirection is needed.

3. The method for page redirection according to claim 1 , wherein the redirection criterion is contains an “onenterforward” mark.

4. The method for page redirection according to claim 1 , wherein the method further comprises:

determining that the second page contains relative URL information;

based on the determined relative URL information, changing the relative URL information in the second page into absolute URL information; and

returning the second page containing the absolute URL information to the user terminal.

5. The method for page redirection according to claim 1 , wherein performing page redirection further comprises:

subsequently determining that the page requested by the user terminal is a download page; and

based on the subsequent determination, directly sending the first page satisfying the first page redirection criterion to the user terminal.

6. The method for page redirection according to claim 5 , wherein the process of determining whether the page requested by the user terminal is a download page is based on a suffix name of the page requested by the user terminal.

7. The method for page redirection according to claim 1 , wherein the method further comprises:

subsequently determining that a second page requested for page redirection is a download page; and

based on the subsequent determination, sending the first page to the user terminal.

8. The method for page redirection according to claim 7 , wherein the determining that the second page is a download page based on a Multimedia Internet Mail Extend type of the second page.

9. The method for page redirection according to claim 1 , wherein the method further comprises:

determining that the first page contains a timer; and

upon expiration of a time limit of the timer, performing the page redirection.

10. The method for page redirection according to claim 1 , wherein the method further comprises:

determining that the second page satisfies a second page redirection criterion; and

based on the determination that the second page satisfies a second page redirection criterion, continuously performing subsequent page redirection until a page obtained does not meet one or more page redirection criterion, and

sending the obtained page that does not meet one or more page redirection criterion to the user terminal.

11. A Wireless Application Protocol (WAP) gateway physically separate from a user terminal device and located in a network, the gateway comprising:

a requesting module, configured to:

receive a page request that includes Uniform Resource Location (URL) information for a page requested from the user terminal,

based on the received URL, send a page request with the URL to a service provider, and

receive a first page returned by the service provider according to the URL;

a first determining module, configured to identify that the first page returned by the service provider satisfies a redirection criterion on behalf of the user terminal;

a redirecting module, configured to, based on the identified redirection criteria met, parse the first page to determine URL information carried in the first page and perform a page redirection via initiating a redirection page request to a redirection server to obtain a second page from the redirection server based on the determined URL information;

a sending module, configured to return a second page which is obtained based on the redirection by the redirecting module to the user terminal;

a storing module, configured to retain “Cookie” information included in the first page returned by the service provider; and

the requesting module further configured to:

receive a page request carrying URL information from the user terminal,

determine that the carried URL is directing to the service provider which returned the first page, and

based on the determined URL directing to the service provider, correct “Cookie” information carried in the page request according to the “Cookie” information retained by the storing module, acquired request a page from the service provider according to the corrected “Cookie” information and the URL directing to the service provider.

12. The WAP gateway according to claim 11 , wherein the redirection criterion is a redirection serial status code indicating that a redirection is needed.

13. The WAP gateway according to claim 11 , wherein the first page redirection criterion is contains an “onenterforward” mark.

14. The WAP gateway according to claim 11 , wherein:

the WAP gateway further comprises a URL information changing module, configured to change a relative URL information into absolute URL information when the second page contains the relative URL information; and

the sending module returns the second page in which the URL information has been changed to the user terminal.

15. The WAP gateway according to claim 11 , wherein the WAP gateway further comprises:

a second determining module, configured to determine that the page requested by the user terminal is a download page; and

the sending module is further configured to send the first page satisfying the first page redirection criterion to the user terminal.

16. In a Wireless Application Protocol (WAP) gateway physically separate from a user terminal device and located in a network, a computer program product comprising computer executable instructions stored on a non-transitory computer readable medium that when executed by a processor cause the WAP gateway to perform the following page redirection on behalf of the user terminal device serviced thereby:

receiving, from the user terminal, a page request including Uniform Resource Location (URL) information for a page requested;

based on the received URL, sending the page request to a service provider;

receiving, from the service provider, a first page returned by the service provider according to the URL;

identifying that the first page returned by the service provider meets a redirection criteria on behalf of the user terminal;

based on the identified redirection criteria being met, parsing the first page to determine URL information carried in the first page;

performing a page redirection via initiating a redirection page request to a redirection server to obtain a second page from the redirection server based on the determined URL information;

sending the second page to the user terminal;

retaining “Cookie” information included in the first page;

receiving from the user terminal, a page request carrying URL information from the user terminal;

determining that the carried URL is directing to the service provider which returned the first page;

based on the determined URL directing to the service provider, correcting “Cookie” information carried in the page request according to the retained “Cookie” information; and

requesting an page from the service provider according to the corrected “Cookie” information and the URL directing to the service provider.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 26, 2013
From: YANG, ZANFENG; LIU, XURI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 029877/0196 →
Priority Claims (1)
CN 2007 1 0124514 · Nov 13, 2007 · national
Continuity (3)
Continuation 12779851 · May 13, 2010
Continuation PCTCN2008073035 · Nov 12, 2008
Related Publication 20130124678A1 · May 16, 2013