Method and device for numbering single-point data in cloud storage system and storage medium
A cloud storage system and data numbering technology, applied in the computer field, can solve problems such as cloud storage single point of failure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Such as figure 1 As shown, the peer-to-peer structure in the P2P network topology is mainly divided into the complete peer-to-peer structure of all nodes and the peer-to-peer structure based on the storage cluster as the unit according to the characteristics of the basic unit of peer-to-peer.
[0056] Complete peering in the cloud storage model based on complete peering means that all server nodes used for storage in cloud storage form a ring structure, and all nodes are equal without hierarchical relationships. In this ring structure, the storage server node is not only responsible for storing file data and metadata of these file data, but also storing related routing data. Its system structure is a distributed hash table (DHT) network, its Using a consistent hash algorithm, all the server devices that constitute the cloud storage network are mapped to a hash space through a hash function, and the hash space is abstracted as a ring end-to-end. In the completely peer-t...
Embodiment 2
[0060] refer to figure 2 , the method based on single-point data numbering in the cloud storage system includes:
[0061] Step 210, assigning a unique file identifier for each user file;
[0062] Step 220, if the user file is divided into N data blocks, numbering the N data blocks;
[0063] Step 230, if M data blocks are stored in the system, number the M data blocks;
[0064] Step 240, if there are user files of different versions in the system, number the files of different versions respectively.
[0065] Exemplarily, for each user file, the system will assign a unique File ID in the system to identify the file. Files are stored in blocks in the system, so data blocks also need to be numbered, called Block ID. If the user file is divided into N blocks, the number of the Block ID is 0 to N-1. Each file in the system will store multiple copies, and files are stored in the form of data blocks in the system, so each data block is stored in multiple copies in the system. A...
Embodiment 3
[0069] refer to image 3 , Embodiment 3 of the present invention is optimized on the basis of Embodiment 2. Specifically, after numbering files of different versions, a specific method based on single-point data numbering in the cloud storage system is newly added.
[0070] Step 310, assigning a unique file identifier for each user file; if the user file is divided into N data blocks, number the N data blocks; if M data blocks are stored in the system, number the M data blocks number the data blocks; if there are different versions of user files in the system, number the files of different versions respectively;
[0071] Exemplarily, the Fa is sequentially divided into data blocks Bi each with a fixed size of 64MB, and the data blocks are numbered.
[0072] Step 320, obtain the position La of the file Fa to be stored in the Chord ring through a preset algorithm, and search for the storage cluster where the Fa is stored;
[0073] Wherein, searching for the storage cluster whe...
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