The disclosure relates to a method and a device for realizing
cloud storage. The method comprises: receiving
cloud storage strategies that are set by a user according to
data synchronization requirement, wherein, the
cloud storage strategies comprise mapping of a specified attribute file; monitoring operation from the user on a file of a
client end in real time; in the case that the user executes, at the local
client end, operation of creation, modification, or deletion on the file meeting the cloud storage strategies, executing corresponding operation on a file in a cloud storage
server; and in the case that the user executes, at the local
client end, the operation of deletion on the file meeting the cloud storage strategies, determining whether a strategy corresponding to the operation of deletion is removed from the cloud storage strategies according to the
data synchronization requirement, and updating the cloud storage strategies in the case that the strategy corresponding to the operation of deletion is removed from the cloud storage strategies. The method and the device for realizing cloud storage can synchronize the specified files at different directories onto the cloud storage
server without constructing the local virtual disks.