FILE SHARING METHOD, DEVICE, AND SYSTEM
The disclosure relates to a method, apparatus and system for sharing files, and mainly relates to the technical field of computers. One specific implementation mode of the method comprises: acquiring files to be shared, and uploading, on a blockchain, formed compressed file packages; generating by c...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The disclosure relates to a method, apparatus and system for sharing files, and mainly relates to the technical field of computers. One specific implementation mode of the method comprises: acquiring files to be shared, and uploading, on a blockchain, formed compressed file packages; generating by calculation a root hash value in accordance with file names of the compressed packages and hash values thereof; and acquiring respective compressed file packages in a blockchain in accordance with the root hash value. The technical problem of an excessive burden of network resources caused by a large number of files is partially overcome by compressing a plurality of files into compressed file packages, and the file uploading and sharing efficiencies are increased by uploading the respective compressed file packages on the blockchain concurrently; the files are stored or updated, and the root hash value is shared by using data structures such as a binary tree structure, a multi-way tree structure, and a dynamic tree structure to acquire, by the root hash value and respective node hash values, the shared files, which improves the security of the files. |
---|