摘要 |
The present invention discloses a method for redirecting data by using a service proxy, including: forwarding, according to a data storage path carried in a received first data request message sent by a client, the first data request message to a data server; receiving a redirection response message sent by the data server, where the redirection response message carries a new path for storing requested data; sending, according to the new path for storing the requested data, a second data request message to a data server that is indicated by the new path; receiving data that is requested by the client and is sent by the data server that is indicated by the new path, and sending the requested data to the client. According to the method for redirecting data by using a service proxy provided in the embodiments of the present invention, a proxy server, as a proxy of a client, can request data in a redirection process, and send acquired data to the client, thereby improving data acquiring efficiency and reducing a network delay. |