Storage capacity balancing method and device and object storage method and device

A technology of storage capacity and equalization method, applied in the direction of instruments, electrical digital data processing, input/output to record carriers, etc., can solve the problems of unbalanced storage node capacity, reduced system throughput, large number of objects, etc.

Active Publication Date: 2019-12-31
北京马赫谷科技有限公司
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the huge number of objects and different sizes, ranging from tens of KB (=210 bytes) to several MB (=220 bytes), the storage capacity occupied by the same number of objects on each storage node varies greatly. It is easy to cause the capacity of storage nodes to be unbalanced, causing some storage nodes to withdraw from service due to full capacity, which in turn reduces the overall throughput of the system

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
  • Storage capacity balancing method and device and object storage method and device
  • Storage capacity balancing method and device and object storage method and device
  • Storage capacity balancing method and device and object storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0025] In order to make the technical solution of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0026] figure 1 A flow chart of a method for balancing storage capacity provided by an embodiment of the present invention, such as figure 1 As shown, the storage capacity...

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 invention discloses a storage capacity balancing method and device and an object storage method and device. The storage capacity balancing method comprises the steps of forming a hash ring, wherein the hash ring is composed of N hash values; dividing the hash ring into M equal parts, wherein each equal part of the hash ring forms a virtual node; allocating X virtual nodes to the to-be-distributed storage nodes according to the real-time capacity information of the storage nodes; hashing the X virtual nodes onto a hash ring; forming a hash index record, wherein the Hash index record comprises VNode _ ID of virtual nodes, corresponding Hash values and OSD _ IDs of the to-be-distributed storage nodes; and repeatedly distributing the virtual nodes to all the storage nodes in the storage system, hashing the virtual nodes and forming a hash index record. When the virtual nodes are allocated to the storage nodes, the real-time capacity information of the storage nodes and all the storagenodes in the storage system is referred to, the write-in amount of each storage node is automatically balanced, and the capacity balance of each storage node is ensured to the maximum extent.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a storage capacity equalization method, an object storage method and a device. Background technique [0002] Object storage is a storage system based on objects as the basic unit of storage. In order to meet the massive object storage requirements, a distributed storage system is generally composed of multiple storage nodes (Object Storage Device, referred to as: OSD) to provide high-performance storage externally. Write and query capabilities. [0003] When faced with the storage requirements of a large number of small files, such as storing pictures collected by video capture devices, the industry usually adopts the method of writing hashes, that is, calculating hash values ​​​​based on object IDs. Different hash values ​​correspond to different storage nodes. In this way, objects can be evenly written to each storage node in quantity. [0004] However, due to the huge n...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0613G06F3/0662G06F3/067
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