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

Inactive Publication Date: 2018-01-05
柏科数据技术(深圳)股份有限公司
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method, device and storage medium based on single-p

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for numbering single-point data in cloud storage system and storage medium
  • Method and device for numbering single-point data in cloud storage system and storage medium
  • Method and device for numbering single-point data in cloud storage system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method and device for numbering single-point data in a cloud storage system and a storage medium. A unique file identifier is allocated for each user file;if the user file is divided into N data blocks, and the N data blocks are numbered; if M data blocks are stored in the system, the M data blocks are numbered; if different versions of user files existin the system, different versions of files are respectively numbered. A cloud storage model blocks data. Each piece of large file data is sequentially divided into 64MB data blocks to serve as data blocks, and thus the redundancy of the system is reduced.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a method, device and storage medium based on single-point data numbering in a cloud storage system. Background technique [0002] P2P is the abbreviation of Peer-to-Peer, also known as peer-to-peer technology. P2P does not depend on a centralized server, but on all machines participating in the P2P network. From the point of view of the system structure, the P2P system is a distributed structure, which is different from a centralized structure or a server-based structure. Because it does not rely on a central server node in a network to provide indexing services, any two machines in the network can directly establish a connection to share resources, and can discover various services in the P2P system. Compared with the client-server architecture, the key advantage of P2P is that it distributes the services provided by the entire system to each peer node in the sy...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08G06F17/30
Inventor 卢晶晶张剑波
Owner 柏科数据技术(深圳)股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products