FILE SAVING SYSTEM AND METHOD
First Claim
Patent Images
1. An assignment server in electronic communication with a client and a plurality of storage server, comprising:
- at least one processor; and
a storage system that stores one or more programs, when executed by the at least one processor, cause the at least one processor to perform a file saving method, the method comprising;
receiving a hash list corresponding to a file from the client, and saving the hash list corresponding to the file into the database connected to the assignment server, wherein the hash list comprises a hash value of each data block of the file, and a name of each data block;
calculating a transfer process usage ratio of each storage server and a remaining storage capacity of each storage server;
determining an available storage server according to the transfer process usage ratio of the storage server and the remaining storage capacity of each storage server;
searching for repetitive data blocks according to the hash value of each data block and keeping one repetitive data block by deleting other repetitive data blocks from the client;
assigning a storage space for storing each data block in the available storage server and obtaining a pointer corresponding to the data block that points to the storage space; and
uploading each data block from the client into the storage space corresponding to the data block according to the pointer corresponding to the data block, and sending sends the pointer of each data block to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
An assignment server receives two or more data blocks of the file from a client. The assignment server deletes repetitive data blocks from the client, and sets a storage space in a storage server for storing each data block from the client. The assignment server uploads each data block from the client into the storage space corresponding to the data block.
5 Citations
20 Claims
-
1. An assignment server in electronic communication with a client and a plurality of storage server, comprising:
-
at least one processor; and a storage system that stores one or more programs, when executed by the at least one processor, cause the at least one processor to perform a file saving method, the method comprising; receiving a hash list corresponding to a file from the client, and saving the hash list corresponding to the file into the database connected to the assignment server, wherein the hash list comprises a hash value of each data block of the file, and a name of each data block; calculating a transfer process usage ratio of each storage server and a remaining storage capacity of each storage server; determining an available storage server according to the transfer process usage ratio of the storage server and the remaining storage capacity of each storage server; searching for repetitive data blocks according to the hash value of each data block and keeping one repetitive data block by deleting other repetitive data blocks from the client; assigning a storage space for storing each data block in the available storage server and obtaining a pointer corresponding to the data block that points to the storage space; and uploading each data block from the client into the storage space corresponding to the data block according to the pointer corresponding to the data block, and sending sends the pointer of each data block to the client. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A file saving method implemented by an assignment server, the assignment server in electronic communication with a client and a plurality of storage servers, the method comprising:
-
receiving a hash list corresponding to a file from the client, and saving the hash list corresponding to the file into the database connected to the assignment server, wherein the hash list comprises a hash value of each data block of the file, and a name of each data block; calculating a transfer process usage ratio of each storage server and a remaining storage capacity of each storage server; determining an available storage server according to the transfer process usage ratio of the storage server and the remaining storage capacity of each storage server; searching for repetitive data blocks according to the hash value of each data block and keeping one repetitive data block by deleting other repetitive data blocks from the client; assigning a storage space for storing each data block in the available storage server and obtaining a pointer corresponding to the data block that points to the storage space; and uploading each data block from the client into the storage space corresponding to the data block according to the pointer corresponding to the data block, and sending sends the pointer of each data block to the client. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable medium having stored thereon instructions that, when executed by an assignment server, the assignment server in electronic communication with a client and a plurality of storage servers, causing the assignment server to perform a file saving method, the method comprising:
-
receiving a hash list corresponding to a file from the client, and saving the hash list corresponding to the file into the database connected to the assignment server, wherein the hash list comprises a hash value of each data block of the file, and a name of each data block; calculating a transfer process usage ratio of each storage server and a remaining storage capacity of each storage server; determining an available storage server according to the transfer process usage ratio of the storage server and the remaining storage capacity of each storage server; searching for repetitive data blocks according to the hash value of each data block and keeping one repetitive data block by deleting other repetitive data blocks from the client; assigning a storage space for storing each data block in the available storage server and obtaining a pointer corresponding to the data block that points to the storage space; and uploading each data block from the client into the storage space corresponding to the data block according to the pointer corresponding to the data block, and sending sends the pointer of each data block to the client. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification