File writing-in method and related device based on erasure codes

An erasure code and file technology, applied in the field of distributed storage, can solve problems such as storage system performance waste and impact on storage system performance, and achieve the effect of improving performance utilization and saving time for writing zero data

Active Publication Date: 2018-01-19
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the operating pressure of the storage system is high, writing these zero data will undoubtedly affect the performance of the entire storage system, resulting in waste of storage system performance.
[0006] Therefore, how to solve the problem that writing zero data under the erasure code technology affects the performance of the storage system is a hot issue concerned by those skilled in the 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
  • File writing-in method and related device based on erasure codes
  • File writing-in method and related device based on erasure codes
  • File writing-in method and related device based on erasure codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The core of this application is to provide a file writing method based on erasure codes, a file writing device, a computer-readable storage medium, and a server, by creating an empty file with the same size as the zero data when writing the zero data to the hard disk Instead of the write operation, the storage system will recognize that zero data has been written, which saves the time for writing zero data, liberates the original performance of writing zero data, and improves the performance utilization of the storage system.

[0047] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embod...

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 file writing-in method and device based on erasure codes, a computer readable storage medium and a server. The method comprises the steps that whether or not the length of source data is needed to be written into zero data to make up the length of erasure strips is judged; if yes, the zero data is written into the source data, and an erasure code algorithm is used for calculating redundant data; when the zero data is written into a hard disk, a file of which the size is identical to that of the zero data is established through system operation commands, and accordingly a memory system identifies the file into the zero data. When the zero data is written into the hard disk, an empty file of which the size is identical to that of the zero data is used for replacinga writing-in operation, the memory system can identify writing-in of the zero data, the writing-in time of the zero data is saved, the performance of writing-in of original zero data is improved, andthe performance utilization rate of the memory system is improved. The file writing-in device based on the erasure codes, the computer readable storage medium and the server have the advantages.

Description

technical field [0001] The present application relates to the technical field of distributed storage, and in particular to an erasure code-based file writing method, a file writing device, a computer-readable storage medium, and a server. Background technique [0002] With the continuous development of storage technology, storage systems for different application scenarios have been extended. In terms of processing a large amount of data, a distributed storage system is generally used. In order to maintain the reliability of data storage, erasure coding technology is commonly used to improve the reliability of the storage system. [0003] Erasure code technology is a data protection method. By dividing a certain length of data into K parts, K parts of data are calculated by encoding algorithm to obtain M redundant check block data. Store K+M copies of data in different locations, such as disks, storage nodes or other locations. Only K of the K+M pieces of data are needed t...

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): G06F11/10
Inventor 方兰春
Owner SUZHOU LANGCHAO INTELLIGENT 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