Abstract:
A method, an apparatus and a system for downloading a file in a content delivery network are provided. A sending rate of a file fragment is determined according to a requirement for playing the file fragment, the sending rate of the file fragment is carried in a request message for downloading the file fragment, so that a content source server or an upper-level cache server can send the file fragment at the sending rate of the file fragment carried in the request message, which solves the problem in the prior art that, the upper-level cache server or the content source server fails to meet diversified downloading requirements of a lower-level cache server, and the lower-level cache server is capable of providing a flexible streaming service for a terminal apparatus, improving user experience.
Abstract:
A proxy-based encryption method includes generating, according to a private key of a sending end and a public key of a receiving end, proxy keys that correspond to at least two proxy servers, respectively. The number of the proxy keys is equal to the number of the proxy servers. The method further includes sending encrypted ciphertexts and the proxy keys that correspond to the at least two proxy servers respectively to the at least two proxy servers, respectively, so that the at least two proxy servers re-encrypt the encrypted ciphertexts according to the corresponding proxy keys.