1. Technical Field
Embodiments of the present disclosure relate generally to cloud storage technologies, and particularly to a cloud computing device and a distributed data management method.
2. Description of Related Art
Cloud storage services are widely used by individuals and companies for storing important data. The cloud storage services are provided by third parties, and users can directly store their data to data centers provided by the third parties through particular networks, such as the Internet. One or more cloud storage devices may act as a data center. A large amount of data from various client devices may be transmitted to and stored in the data center, and the data center may provide a data sharing service to the client devices through the networks. Since a large amount of data will be stored in the data center, the cloud storage devices with high performance and a large storage space are desired, which is costly for the third parties.
The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
The receiving module 101 receives basic information of various data stored in the client devices through the network 2, and stores the received basic information into the storage system 11. In the embodiment, the basic information of the data includes a data name and a data size of the data, an address (e.g., IP address and Mac address) of the client device where the data is stored, a storage location of the data in the client device, and verification information (e.g., password) for accessing the data. In one embodiment, the basic information of the data may be transmitted to the cloud computing device 1 according to user requirements. In another embodiment, the receiving module 101 may automatically acquire the basic information of the data from the corresponding client device according to the data name of the data provided by the user using any client device in advance.
The receiving module 101 further creates a user interface, and displays the received basic information to any user through the user interface when the user login onto the cloud computing device 1 using the client device.
The verification module 102 verifies if one of the client devices, which requests access to a target data through the cloud computing device 1, is authorized to access the target data. In the embodiment, it is assuming that the first client device 3 requests access to the target data, and the target data is stored in the second client device 4. The basic information of the target data has been stored in the storage system 11 of the cloud computing device 1. The first client device 3 may request to access the target data by selecting/clicking any item of the basic information (e.g., the data name) of the target data through the user interface. The verification module 102 may notify the user of the first client device 3 to input verification information and determine the first client device 3 is authorized when valid verification information is inputted. If the user has not input the valid verification information within a predetermined time period, such as three seconds or five seconds, the verification module 102 determines the first client device 3 is not authorized to access the target data. In other embodiments, the basic information of the target data may not include the verification information, and the verification module 102 may directly determine that the first client device 3 has the authorization to access the target data. The verification information of the target data may be set by the user of the second client device 4.
The access module 103 acquires the target data from the second client device 4 according to the basic information of the target data, and transmits the acquired target data to the first client device 3 through the network 2, if the first client device 3 is authorized to access the target data. In one example, the access module 103 may access the second client device 4 according to the IP address or Mac address of the client device 4 through the network 2, and then acquires the target data according to the location of target data in the second client device 4. Thus, since the basic information of the various data is stored in the cloud computing device 1, the various data is dispersedly stored in different client devices accordingly, and the client devices can share their data with each other, a large amount of storage space of the cloud computing device 1 can be saved.
Additionally, the target data may be backed up in the first client device 3 after the target is transmitted to the first client device 3. The access module 103 further records an access log of the target data in the storage system 11. If the target data of the second client device 4 is destroyed or lost, the access module 103 may recover the target data from the first client device 3 to the second client device 4. In one embodiment, the access log includes an address of the second client device 4 where the target data is sourced from, and an address of the first client device 3 accessed the target data.
In step S01, the receiving module 101 receives basic information of various data of the client devices through the network 2, and stores the received basic information into the storage system 11. Additionally, in this step, the receiving module 101 further creates a user interface, and displays the received basic information of various data on the user interface, so that the user of the client device can access any data by selecting corresponding information of the data through the user interface when the client device logins onto the cloud computing device 1.
In step S02, the verification module 102 verifies if a client device is authorized to access a target data upon the condition that the client device requests access to the target data. In the embodiment, it is assumed that the first client device 3 requests access to the target data, which is stored in the second client device 4.
In step S03, the access module 103 acquires the target data from the second client device 4 according to the basic information of the target data, and transmits the acquired target data to the first client device 3 through the network 2, if the first client device 3 is authorized to access the target data.
In step S04, the access module 103 records an access log of the target data in the storage system 11. Thus, if the target data of the second client device 4 is destroyed or lost, the second client device 4 can recover the target data from the first client device 3 according the recorded access log.
Although certain embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210037804.X | Feb 2012 | CN | national |