多文件压缩传输及解压缩的方法  被引量:5

Method of Multi-files Compression to Transmit and Decompression

在线阅读下载全文

作  者:刘丽伟[1,2] 邓春健[3,2] 

机构地区:[1]长春工业大学计算机科学与工程学院,长春130012 [2]中国科学院长春光学精密机械与物理研究所,长春130033 [3]电子科技大学中山学院,中山528402

出  处:《武汉理工大学学报(交通科学与工程版)》2009年第6期1211-1214,共4页Journal of Wuhan University of Technology(Transportation Science & Engineering)

基  金:高等学校博士学科重点专项科研基金资助(批准号:2004183035)

摘  要:分析了Zlib压缩、解压缩原理及在Delphi中的应用方法.对比流行压缩软件多文件压缩方法,针对交通诱导屏显示方案特点,通过优化文件合并方式,设计一种通过程序控制把多个离散的类型单一的文件压缩成单个文件传输,接收方接收到压缩文件后自动解压缩的方法,其中借助了自定义的压缩和解压缩协议、Dephi对流的高效率支持.最后给出了压缩文件传输的一般方法.从项目运行结果来看,该压缩方法压缩效率比RAR压缩效率要高,却避免了程序调用方法程序间不同步原因出现的一系列问题.Elaborate analysis of the principle for Zlib and its application in Delphi is given. Comparing with compressing way for multi-files by current compress software ,a new method which combines separate files and compresses them to a single' file is presented by optimizing style of combining files aiming at characteristics of display scheme of traffic guiding display, supported by user-defined file compression and decompression protocol and the high efficient stream support of Delphi. In the end, a general way of compressed file transmission is given. It is proven that the compression rate of BMP image files is better than RAR in the use of our project, while the asynchronous problems between programs have faded in the case.

关 键 词:DELPHI Zlib 内存流 压缩与解压缩 

分 类 号:U491.51[交通运输工程—交通运输规划与管理] TP391.72[交通运输工程—道路与铁道工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象