节点文献
多文件压缩传输及解压缩的方法
Method of Multi-files Compression to Transmit and Decompression
【摘要】 分析了Zlib压缩、解压缩原理及在Delphi中的应用方法.对比流行压缩软件多文件压缩方法,针对交通诱导屏显示方案特点,通过优化文件合并方式,设计一种通过程序控制把多个离散的类型单一的文件压缩成单个文件传输,接收方接收到压缩文件后自动解压缩的方法,其中借助了自定义的压缩和解压缩协议、Dephi对流的高效率支持.最后给出了压缩文件传输的一般方法.从项目运行结果来看,该压缩方法压缩效率比RAR压缩效率要高,却避免了程序调用方法程序间不同步原因出现的一系列问题.
【Abstract】 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.
- 【文献出处】 武汉理工大学学报(交通科学与工程版) ,Journal of Wuhan University of Technology(Transportation Science & Engineering) , 编辑部邮箱 ,2009年06期
- 【分类号】TP311.52;U495
- 【被引频次】8
- 【下载频次】230