Method for page redirection and WAP gateway
First Claim
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.
1 Assignment
0 Petitions
Accused Products
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.
-
Citations
16 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
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; andthe 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. - View Dependent Claims (12, 13, 14, 15)
-
-
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; andrequesting an page from the service provider according to the corrected “
Cookie”
information and the URL directing to the service provider.
-
Specification