计算机与现代化

• 数据库与数据挖掘 • 上一篇    

实时数据库中数据的分类压缩算法

  

  1. 中国人民解放军第一医院,甘肃兰州730000
  • 收稿日期:2015-12-08 出版日期:2016-06-16 发布日期:2016-06-17
  • 作者简介:戴杨(1976-),男,四川达县人,中国人民解放军第一医院助理工程师,本科,研究方向:数字信息化技术; 陈芳(1973-),女,甘肃兰州人,馆员,研究方向:数据库信息管理。

Data Compression Algorithm in Real-time Database

  1. The First Hospital of PLA, Lanzhou 730000, China
  • Received:2015-12-08 Online:2016-06-16 Published:2016-06-17

摘要: 为解决实时数据库数据量大导致存储困难等问题,提出一种分类的数据压缩算法,实现对实时数据库数据的无损和高效压缩。首先将实时数据库的数据分为数值、时间戳和质量码3部分,然后根据每种数据的特征形态,将LZ78和LZW数据压缩算法融合,分别设计对应的数据压缩算法。实验结果表明,该算法在提高数据库的实际存储容量的同时也提高了实时数据库的实时性。

关键词: 实时数据库, 数据压缩算法, LZ78算法, LZW算法

Abstract: 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.

Key words:  real-time database, data compression algorithm, LZ78 algorithm, LZW algorithm

中图分类号: