摘要
针对VxWorks自带压缩算法在内存受限系统下的缺陷,提出一种基于Huffman编码的VxWorks映像压缩算法;该算法利用VxWorks映像文件的格式,结合处理器指令集的特点,通过分段和分字节两种策略对VxWorks映像文件进行压缩;以SPARC V7指令集为例,对该算法测试压缩性能,实验结果表明,使用分段和分字节策略后的Huffman压缩率为67.6%,略高于VxWorks自带压缩算法,但占用内存仅为1.5kB,为VxWorks自带压缩算法的1/10。
A compression algorithm for vxWorks image based on Huffman coding was proposed to overcome the shortage of the vxWorks'compression algorithm. The algorithm utilized the format of vxWorks image and instruction set of processor to compress the image by section separation and byte separation. According to the experiments on SPARC V7 instruction set, the compression rate of the algorithm was about 67.6% which was slightly higher than the rate of original algorithm, however, the memory requirement of new algorithm is 1.5KB, which saves 90V0 space to its counterpart.
出处
《计算机测量与控制》
CSCD
北大核心
2010年第2期419-421,共3页
Computer Measurement &Control