The present invention relates to the technical field of mobile communication, and concretely relates to a method and system for agent redirecting the service request of customized mobile terminals.
At present, mobile communication networks can provide a variety of services. In order to make it convenient for users to use, services can be customized in the mobile terminals in advance. Recently, many terminal providers can provide such kind of mobile terminals. Each service in the network is usually provided by respective service server. In order to carry out the presetting in the mobile terminals, it's necessary to preset the address of the service server in the customized mobile terminals. However, generally in the customized mobile terminals, the address of only one service server can be preset for each service and can't be changed once it has been preset. However, with the development of the scale of the network, the situation that a service is provided by multiple service servers together appears. And each server has its own address. Therefore, how to preset the addresses of the service servers in the terminals and select a specific server has become an urgent problem to be resolved.
The technical problem the present invention aims to settle is to provide a method and system for agent redirecting the terminal request, in order to solve the problem existing in the prior art on presetting the address and selecting a specific Service Server in a customized mobile terminal.
A method for agent redirecting the terminal request in accordance with the present invention comprises: presetting a uniform service address for each service in the terminal; the terminal initiating a service access request; the Agent Gateway querying the service subscribing information of the user; the Agent Gateway determining the type of the service requested by the terminal according to the uniform service address and querying the address of the corresponding Service Server; the Agent Gateway transmitting the service access request to the Service Server obtained by query; and the Service Server returning the service access response to the terminal via the Agent Gateway.
Said querying the address of the Service Server comprises: choosing the principle of address query according to the type of the service; and querying the address of the Service Server according to said principle.
The system for agent redirecting the terminal request in accordance with the present invention comprises: N Service Servers and a User Data Management System located in the mobile communication network, wherein said Service Servers are applied to providing specific service and said User Data Management System is applied to storing user numbers and corresponding service subscribing information thereof, wherein said system also comprises an Agent Gateway and an Address Query Server; said Agent Gateway is connected with the terminal, said Service Servers, said User Data Management System, and said Address Query Server respectively, and is applied to transmitting requests for querying the service subscribing information of the user and the address of the Service Server, and applied to transmitting the service access request and response; said Address Query Server is applied to querying the address of the Service Server corresponding to the current service request of the terminal.
The present invention can choose the suitable Service Server and redirect the service access request to the designated Service Server in the case that multiple servers exist by presetting the uniform service address in the terminal and bringing in the Agent Gateway and the Address Query Server. In the meantime, presetting the uniform service address in the terminal can avoid the complicated configuration process of the server address in the terminal and improve the service level for the users.
The technical solution of the present invention will be more fully described by the following detailed description of preferred embodiments of the invention which is to be considered together with the accompanying drawings.
As shown in
As shown in
After that, the Agent Gateway determines the type of the service requested by the terminal according to the uniform service address in the service access request, then queries the address of the corresponding Service Server locally according to the user number and the type of the service. If failed to obtain the address of the corresponding Service Server locally, the Agent Gateway transmits a request to the Address Query Server to query the address of the corresponding Service Server. The request includes the information of the type of the service, the uniform service address, the user number and the current access address. The Address Query Server chooses the principle of address query according to the type of the service. Two query principles are provided in the present invention: the principle of accessing the nearest Service Server and the principle of accessing the Home Service Server. The Address Query Server then queries the address of the Service Server according to the principle of address query. If the principle of address query is the principle of accessing the nearest Service Server, the Address Query Server queries and obtains the address of the nearest Service Server according to the information of the user's current access address. If the principle of address query is the principle of accessing the Home Service Server, the Address Query Server queries the address of the Service Server which the user belongs to according to the user number and the type of the service. The Address Query Server returns the obtained address of the Service Server to the Agent Gateway. The Agent Gateway buffers the query result. The Agent Gateway transmits the service access request to the corresponding Service Server, then the Service Server returns the service access response to the Agent Gateway, and then the Agent Gateway returns the service access response to the terminal.
If the Agent Gateway obtains the address of the corresponding Service Server based on the local query, the Agent Gateway directly transmits the service access request to the corresponding Service Server, then the Service Server returns the service access response to the Agent Gateway, and then the Agent Gateway returns the service access response to the terminal.
Finally, it should be understood that the above embodiments are only used to explain, but not to limit the technical solution of the present invention. In despite of describing the present invention detailedly with reference to the preferred embodiments, it should be understood that various modifications, changes or equivalent replacements could be made by an ordinary person skilled in the relevant field without departing from the spirit and scope of the technical solution of the present invention, which should be covered in the extent of the claims of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200410096279.4 | Nov 2004 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2005/001725 | 10/20/2005 | WO | 00 | 11/18/2008 |