主权项 |
1. A storage management system comprising:
at least one processor; and a plurality of modules which are collections of instructions executable by the at least one processor, the modules comprising:
a shared storage space detecting module configured to, upon execution of the at least one processor, cause the at least one processor to detect sizes of shared storage spaces of terminal devices joined in a sharing system;a group determining module configured to, upon execution of the at least one processor, cause the at least one processor to divide all of terminal devices joined in the sharing system into a plurality of device groups according to local area networks (LAN) where the terminal devices located in, wherein each of the plurality of device groups is formed by the terminal devices located in the same LAN;a classification determining module configured to, upon execution of the at least one processor, cause the at least one processor to classify the terminal devices of each device group to a plurality of kinds of terminal devices according to a size of the shared storage space of each terminal device of the device group, wherein each kind of terminal devices has a corresponding storage capacity; a mapping module configured to, upon execution of the at least one processor, cause the at least one processor to map the shared storage spaces of each kind of terminal devices of each device group to virtual disks with corresponding storage capacities of each row of a virtual disk array card one by one; and a storage controlling module configured to, upon execution of the at least one processor, cause the at least one processor to receive a storing request to store a file to cloud from one terminal device, and determine a size of the file to be stored according to the storing request, and randomly select one virtual disk whose storage capacity is nearest and greater than or equal to the size of the file to be stored from one row of the virtual disk array card, and store the file to the shared storage spaces of the terminal devices mapping to the selected virtual disk. |