File storage method and apparatus for blockchain network
AssigneeSpacebook Technology Co. Limited
InventorsDAXIN ZHU, YU WANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeSpacebook Technology Co. Limited
InventorsDAXIN ZHU, YU WANG
Estimating the term…
A file storage method and a file storage apparatus ate provided. The file storage method includes: S1, partitioning an input file into multiple file blocks; S2, establishing a corresponding relationship between index values of multiple storage nodes and identifications of the multiple storage nodes; S3, performing a Hash operation on one of the multiple file blocks and obtaining a first identification according to a result of the Hash operation and the corresponding relationship; and S4, storing the one of the multiple file blocks on a first storage node corresponding to the first identification. Therefore, a method for assigning the storage node based on a Hash value is provided, and because the Hash value of each file block is fixed and unchangeable, so that for a submitted file, a corresponding storage relationship can be easily queried, thereby avoiding cheating on scheduling.
A file storage method for a blockchain network, comprising:
A file storage apparatus for a blockchain network, comprising:
A file storage apparatus for a blockchain network, comprising:
Dependencies are inferred from the claim text.