• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (4): 78-80.

• 论文 • 上一篇    下一篇

PDF417条码编码算法的研究与实现

党春 段汕   

  • 出版日期:2007-04-01 发布日期:2010-05-30

  • Online:2007-04-01 Published:2010-05-30

摘要:

本文介绍了PDF417条码实现中的模式切换、子模式切换和纠错码计算等难点,实现了文本模式、字节模式和数字模式下的数据压缩算法,给出了码字符号长度最短的优化编码算 法。针对PDF417条码采用的Reed-Solomon错误控制码算法,本文提出了一种优化的查表算法。

关键词: 二维条码 PDF417 压缩模式 Reed-Solomn错误控制码

Abstract:

The difficulties of encoding barcode PDF417 are introduced, such as compaction mode switching and subschema switching, error correction code calculati on. The data compression algorithms in text mode, byte mode and number mode are implemented, an optimization encoding algorithm of the shortest length o f codewords is presented, and an optimization check-table algorithm is presented for calculating error correction code words using the Reed Solomon tech niques.

Key words: 2D barcode, PDF417, compression mode, Reed-Solomn error correction code