摘要
为解决实时数据库数据量大导致存储困难等问题,提出一种分类的数据压缩算法,实现对实时数据库数据的无损和高效压缩。首先将实时数据库的数据分为数值、时间戳和质量码3部分,然后根据每种数据的特征形态,将LZ78和LZW数据压缩算法融合,分别设计对应的数据压缩算法。实验结果表明,该算法在提高数据库的实际存储容量的同时也提高了实时数据库的实时性。
To handle the problem of storage caused by large amount of data in real- time database,a classification data compression algorithm is proposed,which can achieve the lossless and efficient compression of real- time database data. First,the data of the real- time database are divided into three parts: time stamp,quality code and value. Then the LZ78 and LZW data compression algorithms are fused according to the characteristics of each data. Experimental results show that this algorithm can improve the actual storage capacity of database and the real- time performance of real- time database.
出处
《计算机与现代化》
2016年第6期123-126,共4页
Computer and Modernization