分类号:TP302.8 U D C:D10621-408-(2007) 5945-0
密 级:公 开 编 号:2003032098
成 都 信 息 工 程 学 院
学 位 论 文
基于纠错码的容错技术的研究
——EVENODD 码的设计与实现
论 文 作 者 姓 名 :
谭林强
申 请 学 位 专 业 :
网络工程
申 请 学 位 类 别 :
工学学士
指导教师姓名(职称):
万武南(讲师)
论 文 提 交 日 期 :
2007 年 06 月 06
日
基于纠错码的容错技术的研究
——EVENODD 码的设计与实现
摘 要
由于网络技术的迅猛发展,存储系统的规模变得越来越庞大。因此它对系统
的可靠性提出了严峻的挑战。而采用 EVENODD 编码算法的布局策略可以同时容许
两个数据块同时出错,可以很好的保证系统的稳定性。它已经被广泛应用在 RAID
(Redundant Arrays of Independent Disks)等技术中。本论文从 EVENODD 编
码原理出发,详细介绍了 EVENODD 的编码和译码过程,以及从理论上对该译码的
算法进行了分析证明,同时使用 java 编译技术实现了该编码过程的仿真。在本
论文中还对该仿真软件的设计思路、开发过程、以及主要功能模块的实现都进行
了详细的介绍。EVENODD 码仿真软件的实现是理论运用于实际的又一典范。通过
对其编码和译码核心算法的调用,可以实现图片、二进制文件等格式的备份和恢
复。
关键词: EVENODD 编码 ;容错技术 ;系统稳定性; java 编译技术
Research of Fault Tolerance Technology based on Error
Correcting Code
——The Design and Implementation of EVENODD Codes
Abstract
With the fast development of network technique, the scale of storage system
becomes bigger and bigger. So, it is an austere challenge to the system. But the data
placement strategy of EVENODD which has the ability to simultaneously correct two
error data blocks can ensure the stability of the system. It has been extensively used in
the RAID( Redundant Arrays of Independent Disks) technology. In the thesis
encoding and decoding algorithms of EVENODD codes are introduced. Moreover
decoding algorithms are analyzed and proven. At the same time, the software of
EVENODD emulator is developed by java technology .The idea of design, the
process of development and the design of main function blocks are proposed. It is an
apotheosis which uses theory in the real world. Pictures and binary files can be
backed up and recovered by EVENODD codes.
Key words: EVENODD; Fault-tolerant; Stability of system; Java
technology
目 录
论文总页数: 31 页
1 引言 ....................................................................1
1.1 选题背景及意义........................................................1
1.2 相近课题研究..........................................................1
1.2.1 2D 奇偶校验编码方案 ...............................................1
1.2.2 纠双错 RS 码.......................................................2
1.3 本课题要达到的设计目标................................................2
2 EVENODD 码 ...............................................................2
2.1 预先定义..............................................................2
2.2 编码原理..............................................................3
2.3 EVENODD 码译码算法 ....................................................4
2.4 译码原理证明..........................................................6
3 软件设计与目标 ..........................................................8
3.1 设计目标及内容........................................................8
3.2 软件总体功能结构......................................................8
3.2.1 功能结构图........................................................8
3.2.2 功能说明..........................................................8
3.3 设计实现的策略及主要算法描述..........................................9
3.3.1 VENODD 编码算法 ...................................................9
3.3.2 EVENODD 译码算法.................................................11
3.4 算法接口实现.........................................................22
3.4.1 编码功能接口设计.................................................22
3.4.2 编码功能接口流程图...............................................22
3.4.3 译码功能接口设计.................................................22
3.4.4 译码功能接口设计流程图...........................................22
4 软件操作说明 ...........................................................25
4.1 打开.................................................................25
4.2 编码.................................................................26
4.3 数据破坏.............................................................27
4.4 译码.................................................................27
4.5 其余功能.............................................................28
结 论.....................................................................28
参考文献.....................................................................28