Supercharge Your Innovation With Domain-Expert AI Agents!

Parallel erasure code encoding and decoding method and system

A codec method and erasure code technology, applied in the field of data storage, can solve problems such as low serial execution efficiency, and achieve the effects of improving efficiency, operating performance, and high I/O throughput

Active Publication Date: 2020-09-04
中国人民武装警察部队警官学院
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is that the serial execution efficiency of the existing erasure correction coding and decoding is low, and the purpose is to provide a parallel correction Erasure code encoding and decoding method and system to solve the above problems

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
  • Parallel erasure code encoding and decoding method and system
  • Parallel erasure code encoding and decoding method and system
  • Parallel erasure code encoding and decoding method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Such as figure 1 As shown, a parallel erasure code encoding and decoding method includes:

[0051]The I / O reading thread reads the data bar of the original data and obtains the data buffer from the free data buffer queue for storing the data bar;

[0052] Add the data buffer for storing the data bar to the encoding ready data buffer queue, and the data encoding thread judges whether the encoding ready queue is empty;

[0053] When the encoding ready queue is not empty, take out the encoding ready data buffer queue and obtain the encoding buffer from the idle encoding buffer queue;

[0054] When the coding ready queue is empty and the memory does not reach the upper limit, the memory allocates a coding buffer for storing the coding ready data buffer queue;

[0055] The data encoding thread encodes the data strips in the encoding buffer to obtain an encoding strip, and transmits the encoding-ready data buffer queue and the data buffer to the write-ready encoding buffer ...

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 parallel erasure code encoding and decoding method and system. The parallel erasure code encoding and decoding method comprises the steps that an I / O reading thread reads a data bar of original data and obtains a data bar stored in a data buffer area; the data buffer area is added into a coding ready data buffer area queue, and a judgment is made as to whether the codingready queue is empty or not by a data coding thread; when the coding ready queue is not empty, the coding ready data buffer queue is taken out and a coding buffer is acquired; when the coding ready queue is empty, a coding buffer area is allocated to a memory to store the coding ready data buffer area queue; the data encoding thread encodes the data bar to obtain an encoded bar, and transmits theencoded bar to a write-in ready data buffer queue; the I / O write-in thread judges whether the write-in ready data buffer queue and the coding buffer queue are empty or not; and when the write-ready data buffer queue and the coding buffer queue are not empty, the I / O write-in thread writes the coding bar and the data bar into different files respectively.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a parallel erasure code encoding and decoding method and system. Background technique [0002] Erasure code technology stores data objects in the system through encoding, thereby improving the fault-tolerant performance of the system. Compared with copy-based fault-tolerant technology, erasure code technology can store less data while maintaining the same fault-tolerant capability, so it can effectively improve the utilization rate of storage space and reduce storage overhead. However, the erasure code-based storage system needs to encode the data before the data enters the system, and when reading the data, the stored data needs to be encoded to obtain the original data object. Therefore, the efficiency of encoding and decoding is crucial to improving the efficiency of erasure code-based storage systems. [0003] Jerasure is an open source erasure code library implemented in C / C++ ...

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/10G06F9/50G06F9/48
CPCG06F11/1044G06F9/505G06F9/4881Y02D10/00
Inventor 郑力明葛运龙唐松黄正兴杨颖龙文峰刘雨佳孙伟东田晓波杨艳秋付宇贤
Owner 中国人民武装警察部队警官学院
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More