A data storage method and protocol server

A data storage, server technology

Active Publication Date: 2018-11-06
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The invention provides a data storage method and a protocol server, which are used to solve the technical problem that the data writing rate of the distributed storage system is reduced in the prior art

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
  • A data storage method and protocol server
  • A data storage method and protocol server
  • A data storage method and protocol server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] An embodiment of the present invention provides a data storage method, such as figure 2 As shown, the method includes:

[0067] S201. The protocol server receives first data, where the first data is used to update data stored in a first data stripe of a destination stripe.

[0068] Wherein, the target stripe includes N data stripes and M check stripes, the N data stripes are specific storage spaces on N storage nodes, and the M check stripes are M storage nodes respectively. For a specific storage space on a node, K is a positive integer greater than 2, M is a positive integer smaller than N, and the first data stripe is any one of the K data stripes.

[0069] S202. The protocol server sends write commands to the storage nodes where the L mirror stripes are located, respectively, where the write commands include the first data and addresses of the mirror stripes.

[0070] Wherein, the L mirror stripes are specific storage spaces on at least two storage nodes, and L i...

Embodiment 2

[0102] In order to make those skilled in the art better understand the technical solution of a data storage method provided by the present invention, the following image 3 The shown distributed storage system is taken as an example, and the data storage method provided by the embodiment of the present invention is described in detail, as image 3 As shown, the data stripe 1 to data stripe 4 of the target stripe are located on storage nodes 1 to 4 respectively, the verification stripe is located on storage node 5, and mirror stripe 1 and mirror stripe 2 are respectively located on storage nodes on node 1 and storage node 5. based on image 3 In the shown distributed storage system, the data storage method provided by the embodiment of the present invention is as follows Figure 4 shown, including:

[0103] S401. The protocol server receives data A, and the data A is used to update data in all data stripes in the destination stripe.

[0104] Wherein, the protocol server may...

Embodiment 3

[0130] An embodiment of the present invention provides a protocol server 60 for implementing the data storage method provided in the first embodiment above, such as Figure 6 As shown, the protocol server 60 includes:

[0131] The receiving unit 61 is configured to receive first data.

[0132] Wherein, the first data is used to update the data stored in the first data stripe of the target stripe, the destination stripe includes N data stripes and M check stripes, and the N data stripes are N Specific storage spaces on storage nodes, the M check strips are specific storage spaces on M storage nodes, N is a positive integer greater than 2, and M is a positive integer smaller than N; the first data strip The strip is any one of the K data strips;

[0133] The writing unit 62 is configured to send write instructions to the storage nodes where the L mirror stripes are located respectively, where the write instructions include the first data and the address of the mirror stripe. ...

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 present invention discloses a data storage method and a protocol server which are used for solving the technical problem that in the prior art, data protection for a distributed memory system reduces the data write rate. The method comprises: the protocol server receives first data, wherein the first data are used for updating data stored in a first data stripe of a target stripe, the target stripe comprises N data stripes and M calibration stripes, and the first data stripe is any one of the K data stripes; write instructions are respectively sent to storage nodes where L mirror image stripes are located, wherein the write instructions comprise the first data and addresses of the mirror image stripes; and a corresponding relation between the L mirror image stripes and the first data stripe is established, wherein based on the corresponding relation, the protocol server can convert a read command for the first data stripe into a read command for any one of the mirror image stripes. The data storage method and the protocol server which are disclosed by the embodiments of the present invention are used for data storage.

Description

technical field [0001] The invention relates to the computer field, in particular to a data storage method and a protocol server. Background technique [0002] In an existing distributed storage system, multiple storage nodes are connected to form a cluster, and each storage node has a data storage function. A distributed storage system usually provides one or more protocol servers (English full name: Protocolserver) to provide users with standard server message block (English full name: Server Message Block, abbreviated: SMB) protocol service functions. [0003] Such as figure 1 As shown, the distributed storage system includes a protocol server and multiple storage nodes, figure 1 Shows storage nodes 1 to 5, the user program can be figure 1 The shown protocol client (English full name: Protocolclient) accesses the storage system, wherein the protocol client and the protocol server are connected through the front-end network, and the storage nodes in the distributed stor...

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 Patents(China)
IPC IPC(8): G06F3/06
Inventor 任永强
Owner HUAWEI TECH 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