Method and system for redirecting a client
First Claim
1. A method for redirecting a client comprising:
- sending, by the client, a request message to a redirect agent, wherein the client is directed to a first server in a first realm;
receiving, by the client, a first response message from the redirect agent, wherein an identification of a second realm is carried in the first response message, wherein the second realm has a plurality of servers, and wherein the identification of the second realm is set in a redirect field of the first response message received by the client from the redirect agent;
randomly choosing, by the client, a second server in the second realm according to the identification of the second realm set in the redirect field of the first response message; and
sending, by the client, the request message to the second server in the second realm.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for redirecting a client are disclosed, the method including: sending by the client a request message to a redirect agent; returning by the redirect agent a first response message to the client, an identification of a second realm being carried in the first response message; sending by the client the request message to a second server in the second realm. The data are maintained and modified only on the redirect agent, so that the redirection service between different realms may be realized without upgrading or maintaining the client. In addition, because the number of redirect agents is much smaller than the number of clients, the operation and maintenance costs may be reduced greatly.
-
Citations
15 Claims
-
1. A method for redirecting a client comprising:
-
sending, by the client, a request message to a redirect agent, wherein the client is directed to a first server in a first realm; receiving, by the client, a first response message from the redirect agent, wherein an identification of a second realm is carried in the first response message, wherein the second realm has a plurality of servers, and wherein the identification of the second realm is set in a redirect field of the first response message received by the client from the redirect agent; randomly choosing, by the client, a second server in the second realm according to the identification of the second realm set in the redirect field of the first response message; and sending, by the client, the request message to the second server in the second realm. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for redirecting a client comprising:
-
a client having a processor configured to send a request message to a server, wherein the client is directed to a first server in a first realm; and a redirect agent having a processor configured to maintain route data for the client, configure an identification of a second realm into a response message, and return the response message to the client, wherein the second realm has a plurality of servers, and wherein the identification of the second realm is set in a redirect field of the response message returned by the redirect agent to the client, and wherein the client further comprises a server selecting unit configured to choose a second server belonging to the second realm according to the identification of the second realm set in the redirect field of carried in the response message. - View Dependent Claims (11)
-
-
12. A client for being redirected by a redirect agent comprising:
-
a processor configured to request the redirect agent to assign a different server in a new realm for the client; a request message sending unit configured to send a request message to the redirect agent in a first realm and receive a response message from the redirect agent, wherein the response message carries an identification of a second realm, and wherein the identification of the second realm is set in a redirect field of the response message received by the client from the redirect agent; and a server selecting unit configured to randomly choose a server belonging to the second I realm according to the identification of the second realm set in the redirect field of carried in the response message, wherein the second realm includes a plurality of servers.
-
-
13. A method for redirecting a client that is used to request a redirect agent to assign a different server in a new realm for the client, the method comprising:
-
receiving, by the redirect agent, a request message from the client, wherein the client is directed to a first server in a first realm; determining, by the redirect agent, whether the redirect agent is required to redirect the request message from the client; returning a first response message to the client based at least in part on a determination that the redirect agent is required to redirect the request message from the client, wherein an identification of a second realm is carried in the first response message, wherein the second realm has a plurality of servers, and wherein the identification of the second realm is set in a redirect field of the first response message returned from the redirect agent to the client; randomly choosing, by the client, a second server in the second realm according to the identification of the second realm set in the redirect field of the first response message; and sending, by the client, the request message to the second server in the second realm. - View Dependent Claims (14, 15)
-
Specification