Distributed storage method and device, computer equipment and storage medium
A distributed storage and storage node technology, applied in the field of data storage, can solve the problems of unencrypted data, unstable storage nodes, and easy loss, so as to improve privacy and security, avoid restoring original files, and reduce bandwidth costs Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 1 It is a flowchart of a distributed storage method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of storing files in a distributed network. The method can be executed by a distributed storage device, which can be implemented by software and / or hardware, and generally can be integrated in any computer device that needs to initiate data storage, such as figure 1 As shown, the method includes the following operations:
[0035] S110. Group the files to be stored into groups to form multiple data groups.
[0036] Wherein, the file to be stored may be text, picture, video, audio, and other types of storable files (such as compressed files in zip format, etc.), and the embodiment of the present invention does not limit the type of the file to be stored. The data packet may be part of the file data of the file to be stored.
[0037] In the embodiment of the present invention, before distributed storage of the files ...
Embodiment 2
[0054] Figure 2a It is a flow chart of a distributed storage method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the foregoing embodiments. In this embodiment, an implementation manner of encrypting data packets is given. At the same time, the corresponding relationship between data fragments and data packets, and the corresponding relationship between storage nodes and stored data fragments will be recorded as follows: the hash value of the data packets included in the data fragments is recorded in the form of a Merkle tree, As a fragmented Merkle tree; recording the correspondence between each fragmented Merkle tree and the storage node where each said data fragment is located. Correspondingly, such as Figure 2a As shown, the method of this embodiment may include:
[0055] S210. Group the files to be stored to form multiple data groups.
[0056] S220. Encrypt each data packet sequentially using a key, wherein the key of ...
Embodiment 3
[0072] Figure 3a It is a flowchart of a distributed storage method provided in Embodiment 3 of the present invention, Figure 3b It is a flowchart of a method for recovering stored files in a distributed storage method provided by Embodiment 3 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. The specific implementation of forming storage files, correspondingly, such as Figure 3a As shown, the method of the embodiment of the present invention may include:
[0073] S310. Group the files to be stored to form multiple data groups.
[0074] S320. Form all data packets into at least three data fragments, wherein each data fragment includes some data packets, and each data packet is added to at least two data fragments.
[0075] S330. Perform distributed storage of each piece of data in the distributed storage nodes.
[0076] S340. Record the correspondence between data slices and data packets, and the correspondence between...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com