使用Jerasure library实现一些erasure coding

该库source code及其说明文档所在:http://web.eecs.utk.edu/~plank/plank/papers/CS-08-627.html

Github上也贴出了代码:https://github.com/tsuraan/Jerasure

如果我们直接google的话可以搜到两篇相关的博文,在此也贴出来,供大家深入学习:

1,http://www.cnblogs.com/yuki-lau/p/3365878.html

2,http://blog.chinaunix.net/uid-20196318-id-3277600.html

《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》


该库使用的编程语言为Unix下的C/C++。

所给的technique report即时一个简要的使用手册也是一个对于内部实现的介绍说明。


一,介绍

In this library, it seems that the raw encoding methods can not guarantee any level of security of the input files , because there are all  systematic codes, whose  raw file blocks are  still  "among" the encoded blocks. This is illustrated in the introduction part of this technique report.

 

“Most codes have a third parameter w, which is theword size. The description of a code views each device as
having w bits worth of data. ”说白了,就是指定最基本的编码操作单位,把多少个bits作为一个基本元素。(Wrong!)。

根据这篇文档的意思,word size是最高层的对于device的一种划分,形成一个个packet,而每一个packet都是同样的实际大小,这个大小称为packet size,所以总的device的大小就是w*(packet size)


这个库的结构还是比较清晰的:“This library is broken into five modules, each with its own header file and implementation in C. Typically, when using a code, one only needs three of these modules: galois, jerasure and one of the others.”

五部分满足较好的模块独立性:


有一些参数的意义必须要明白才能较好的使用库的接口:

  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值