Improving HTML Compression

P. Skibinski
{"title":"Improving HTML Compression","authors":"P. Skibinski","doi":"10.1109/DCC.2008.74","DOIUrl":null,"url":null,"abstract":"The primary objective of our research was to design an efficient way of compressing HTML documents, which will reduce Internet's traffic or will reduce storage requirements of HTML data. In our work we present the lossless HTML transform (LHT) aiming to improve lossless HTML compression in combination with existing general purpose compressors. The main components of our algorithm are: a static dictionary or a semi-static dictionary of frequent alphanumerical phrases, and binary encoding of popular patterns, like numbers, dates or IP addresses. Alphanumerical phrases are not limited to \"words\" in a conventional sense as they can be XML tags, XML entities, URL addresses, e-mails, and runs of spaces. We have developed two versions of LHT: static and semi-static. Both algorithms have some disadvantages. Static LHT uses a fixed English dictionary required for compression and decompression. Semi-static LHT does not support streams as input (offline compression) as it requires two passes over an input file. Semi-static LHT creates a dictionary in a first pass and stores it within the compressed file.","PeriodicalId":328537,"journal":{"name":"Data Compression Conference (dcc 2008)","volume":"26 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Data Compression Conference (dcc 2008)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DCC.2008.74","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

The primary objective of our research was to design an efficient way of compressing HTML documents, which will reduce Internet's traffic or will reduce storage requirements of HTML data. In our work we present the lossless HTML transform (LHT) aiming to improve lossless HTML compression in combination with existing general purpose compressors. The main components of our algorithm are: a static dictionary or a semi-static dictionary of frequent alphanumerical phrases, and binary encoding of popular patterns, like numbers, dates or IP addresses. Alphanumerical phrases are not limited to "words" in a conventional sense as they can be XML tags, XML entities, URL addresses, e-mails, and runs of spaces. We have developed two versions of LHT: static and semi-static. Both algorithms have some disadvantages. Static LHT uses a fixed English dictionary required for compression and decompression. Semi-static LHT does not support streams as input (offline compression) as it requires two passes over an input file. Semi-static LHT creates a dictionary in a first pass and stores it within the compressed file.
改进HTML压缩
我们研究的主要目的是设计一种有效的方法来压缩HTML文档,这将减少互联网的流量或将减少HTML数据的存储需求。在我们的工作中,我们提出了无损HTML转换(LHT),旨在结合现有的通用压缩器改进无损HTML压缩。我们算法的主要组成部分是:包含频繁字母数字短语的静态字典或半静态字典,以及流行模式(如数字、日期或IP地址)的二进制编码。字母数字短语不限于传统意义上的“单词”,它们可以是XML标记、XML实体、URL地址、电子邮件和空格。我们开发了两个版本的LHT:静态和半静态。这两种算法都有一些缺点。静态LHT使用压缩和解压缩所需的固定英语字典。半静态LHT不支持流作为输入(离线压缩),因为它需要对输入文件进行两次传递。半静态LHT在第一次传递中创建一个字典,并将其存储在压缩文件中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书