摘要
在研究基于Android平台的瓦斯监测与预警系统过程中,客户端与服务器的大数据交互存在多方面问题,诸如网络不稳定、流量限制等.结合对压缩算法的研究,提出一种基于Zlib算法的数据压缩与解压缩机制.该算法在服务器端对数据进行压缩并封装,在客户端接收到数据后解压缩.仿真实验结果表明,压缩算法能有效减少数据传输量,有效解决瓦斯监测与预警系统中大数据交互的问题.
During the research of gas explosion forewarning system based on android platform,there are several problems to be solved,such as the stability of the mobile network,data flow problems and etc. In the study of the Zlib compression algorithm,a compression and decompression method was proposed based on Zlib algorithm. The algorithm compresses and encapsulates data on the server,and decompresses data on the android client. The simulation and experimental results showed that the algorithm can solve the problem of large amount data interaction.
出处
《吉林师范大学学报(自然科学版)》
2015年第2期91-94,共4页
Journal of Jilin Normal University:Natural Science Edition
基金
安徽省优秀青年人才基金重点项目(2013SQRL106ZD)