Capacity expansion method and device

An expansion method and capacity technology, applied in the communication field, can solve problems such as large fragmentation overhead

Inactive Publication Date: 2017-06-13
NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present invention provides a capacity expansion method and device to at least solve the problem in the related art that a large number of slices need to be set in advance during the expansion process, resulting in too much slice overhead

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
  • Capacity expansion method and device
  • Capacity expansion method and device
  • Capacity expansion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] In this embodiment, a capacity expansion method is provided, figure 1 is a flowchart of a capacity expansion method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0036] Step S102, obtaining the number of server nodes in the current distributed data storage system after adding server nodes, wherein the current distributed data storage system includes newly added server nodes and initial server nodes;

[0037] Step S104, splitting and expanding the fragmented data on the initial server node in the current distributed data storage system according to the number of server nodes, so as to obtain the expanded fragmented data;

[0038] Step S106, redistributing the expanded fragmented data in the current distributed data storage system, so that the number of fragments of the fragmented data on each of the newly added server node and the initial server node satisfies a predetermined condition.

[00...

Embodiment 2

[0105] In this embodiment, a capacity expansion device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0106] Figure 4 is a structural block diagram of a capacity expansion device according to an embodiment of the present invention, such as Figure 4 As shown, the device includes:

[0107] 1) The obtaining module 42 is used to obtain the number of server nodes in the current distributed data storage system after adding server nodes, wherein the current distributed data storage system includes newly added server nodes and initial server nodes;

...

Embodiment 3

[0143] The embodiment of the invention also provides a storage medium. For the specific application scenarios of this embodiment, reference may be made to the foregoing Embodiment 1 and Embodiment 2, and details are not described here. Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

[0144] S1. Obtain the number of server nodes in the current distributed data storage system after adding server nodes, where the current distributed data storage system includes newly added server nodes and initial server nodes;

[0145] S2, splitting and expanding the fragmented data on the initial server node in the current distributed data storage system according to the number of nodes of the server node, so as to obtain the expanded fragmented data;

[0146] S3. Redistribute the expanded fragmented data in the current distributed data storage system, so that the number of fragments of the fragmen...

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 provides a capacity expansion method and device. The method comprises the following steps that: obtaining the node amount of server nodes in a current distributed data storage system in which the server nodes are added, wherein the current distributed data storage system comprises new server nodes and initial server nodes; according to the node amount of the server nodes, carrying out splitting expansion on fragment data on the initial server nodes in the current distributed data storage system to obtain expanded fragment data; and in the current distributed data storage system, redistributing the expanded fragment data to enable the fragment amount of the fragment data on each node in the new server nodes and the initial server nodes to meet a preset condition. Through the method, the problem of overlarge fragment expenditure since a great quantity of fragments needs to be preset during the early stage of the operation of the system in the prior art is solved so as to achieve an effect on reducing fragment expenditure.

Description

technical field [0001] The present invention relates to the communication field, in particular to a capacity expansion method and device. Background technique [0002] Cloud Computing is Grid Computing, Distributed Computing, Parallel Computing, Utility Computing, Network Storage Technologies, Virtualization, Load It is the product of the integration of traditional computer technology and network technology such as LoadBalance. It aims to integrate multiple relatively low-cost computing entities into a system with powerful computing capabilities through the network. Distributed storage is a field in the field of cloud computing, and its role is to provide distributed storage services for massive data and high-speed read and write access capabilities. [0003] A distributed storage system is composed of several server nodes (hereinafter referred to as "nodes") and clients connected to each other. The data is composed of a key (Key) and a value (Value), the Key is equivalen...

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/0644G06F3/0655G06F3/067G06F3/06
Inventor 陈典强郭斌韩银俊
Owner NANJING ZHONGXING XIN SOFTWARE CO LTD
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