Patent ID: 9118526
Filing Date: 2015-08-25
Classification: G06F,H04L

Abstract:
1. A method for controlling data storage, comprising: obtaining a number of copies of to-be-placed media content; inputting user set information, server set information, media traffic demand information, and network topology information that are collected into a joint optimization model based on server selection and traffic engineering to perform joint optimization, and obtaining output information; performing statistics collection on the output information to obtain user access statistics of the to-be-placed media content on each cache device; and placing, according to the user access statistics and the number of copies, the copies of the to-be-placed media content so that the copies of the to-be-placed media content are preferentially placed on a cache device with large user access statistics; wherein the placing, according to the user access statistics and the number of copies, the copies of the to-be-placed media content comprises: 1) traversing the user access statistics of each cache device to obtain a maximum value of the user access statistics; 2) determining whether the media content corresponding to the maximum value of the user access statistics has remaining copies; if the media content has remaining copies, performing operation 3); if the media content does not have remaining copies, deleting the maximum value and performing operation 1); 3) placing the copies of the media content corresponding to the maximum value of the user access statistics on a cache device corresponding to the maximum value of the user access statistics according to the maximum value of the user access statistics, and deleting the maximum value; and 4) repeating operations 1) to 3) until all copies of the media content are placed.