Chinese Internet data compression of single character coding optimization method research and Implementation

Author
YangJunYan
Advisor
XuJie
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP391.1 Text Processing
Degree
Master's thesis
Year
2012
Downloads
23
Citations
0

Request the full text

Abstract

How to quickly obtain information from the network to attract attention.On the basisof existing network equipment,how to improve the data transferrate becoming a hotresearch topic in particular. Internet data compression is a feasible direction canimprove the data transfer rate, but the existing compression algorithms targeted Internetdata transmission coded by ASCII.These rarely targeted Chinese-encoded Internet.Universal data compression, there are compression algorithms difficult to improve itscompression performance.This thesis contrapose the Characteristics of transmission ofdata and compression theory of existing algorithms, improvement of the existingalgorithm is a feasible direction. This is the direction of this thesis.This thesis is more comprehensive in-depth research and analysis of the compressionalgorithm, Applied to the Internet data compression. A comparative study targetedcompression principle.Characteristics of Chinese Internet data coding, and tested onexisting compression algorithm to do the performance test. Through the analysis ofthese studiesand experiments on a test the compression algorithm and by improving theunmatch single character encoding, improved compression algorithm and not spend toomuch time. In this thesis, in addition to study the existing algorithms, but also acomparative study targeted the compression algorithm is applied to the specificcombination of Internet data compression. Combined with improved compressionalgorithm, the application prototype is simulated.The main content of this thesis: Study the compression principle of existingcompression algorithm used in Internet data compression, In particular, the algorithm ofunmatch single character encoding. According to the compression algorithm principle,writing the encoding of existing compression algorithms, building the algorithmcomparison test experimental platform, grabing the test data samples from the ChineseInternet, testing the performance of existing algorithms, combining with LZJHalgorithm,targeted the algorithmof unmatch single character to do the performance test.targeted the unmatch single character encoding of algorithm and data characteristics of the Chinese Internet,proposing the optimization algorithm of single character encoding.It is the innovation of this thesis.Giving the way of combining the optimizationalgorithm with existing algorithms and the theoretical analysis for the improvedalgorithm. Finally, this thesis gives the way of combining the optimization algorithms ofsingle character encoding whith LZJH. Through the comparison test experimentofimproved LZJH and existing algorithm, proving the feasibility of the proposedalgorithm. Combining with HTTP compression prototype and using the OPNETnetwork simulation software, optimize LZJH algorithm of combining with singlecharacter encoding applied to the HTTP compression prototype.A prototype systemtargeted HTTP compression testing and analysis in OPNET simulation environment. Inaddition to the research the algorithm, this thesis also studied and implemented:Separation out of the experimental test samples from data exported by the packetcapture software. Researching the router’s routing algorithm of the RIP protocol andDNS protocol.building the domain server.

Table of contents

Summary 4-5 ABSTRACT 5-11 first chapter 11-17 1.1 Introduction 11 1.2 background and significance of the subject 11-14 1.2.1 subject background 11-13 1.2.2 Chinese Internet Data Features 13 1.2 .3 significance 13-14 1.3 Internet data compression method comparison major work 14 1.4 papers 14-15 1.5 section of this article arrangements 15-17 Internet data compression algorithm chapter review 17-27 2.1 lossless compression mathematical basis : entropy 17-18 2.2 HUFFMAN lossless compression algorithm 18 2.3 LZ77 lossless compression algorithm 18-19 2.4 LZ78 lossless compression algorithm 19-20 2.5 LZW lossless compression algorithm 20-21 2.6 LZS lossless compression algorithm 21-22 2.7 DEFLATE lossless compression algorithm 22-24 2.7.1 matching Find 22-23 2.7.2 encoded output 23-24 2.8 LHJH lossless compression algorithm 24-26 2.9 Summary 26-27 Chapter typical compression algorithm research and comparative analysis 27-44 3.1 comparison platform Introduction 27-28 3.2 experimental testing process 28 - 29 3.2.1 IP packet test 28 3.2.2 text file test 28-29 3.2.3 LZJH performance testing 29 3.3 algorithm 29-36 3.3.1 algorithm to select 30-31 3.3.2 compression algorithm framework 31 3.3 .3 LZ77 implementation details 31-32 3.3.4 LZW implementation details 32-33 3.3.5 LZJH implementation details 33-35 3.3.6 DEFLATE series algorithm 35 3.3.7 time Test 35-36 3.4 WIRESHARK subcontracting 36 3.5 nbsp test results and analysis ; 36-42 3.5.1 compression ratio and compression time 37-39 3.5.2 intervals statistical experimental 3.5.3 single 39-41 character performance test 41-42 3.6 single-character locality 42-43 3.6.1 switching rate 43 3.6.2 local level 43 3.7 Summary 43-44 Chapter IV single character encoding optimization methods 44-70 4.1 background 44 - 45 4.2 specific methods 45-52 4.2.1 optimization 46-48 4.2.2 codec step 48-51 <br / > 4.2.3 control code processing method theory 51-52 4.3 optimization analysis 52-55 4.4 single-character locality and optimization methods 55 -56 4.5 single character encoding optimization advantages 56 4.6 embodiments 56-63 4.7 LZJH improved algorithm experiment 63-66 4.8 data Analysis 66-69 4.9 Summary 69-70 Chapter HTTP compression prototype system design and implementation 70-85 <br / > 5.1 simulation overall framework 71-72 5.2 client 72-80 5.2.1 proxy layer to achieve 73-75 5.2. 2 net layer implementation 75-76 5.2.3 request layer implementation 76-77 5.2.4 collect layer implementation 77-78 5.2 .5 HttpDeal layer implementation 78-80 5.3 server 80-83 5.3.1 http service layer implementation 80-83 5.4 router 83-84 5.5 DNS server 84 5.6 Summary 84-85 Chapter VI HTTP compression prototype system testing and analysis 85-91 6.1 proxy mode simulation run 85-87 6.2 list mode simulation run 87-88 6.3 algorithm simulation run comparative results 88 -90 6.4 optimization method described 90 6.5 summary 90-91 Chapter VII Conclusion and outlook 91-93 7.1 summarizes 91-92 7.2 Prospects 92-93 Thanks 93-94 References 94-97 <br / > Master of CVs and research results during 97-98 1 CVs 97 2 master during research 97-98 2.1 Awards 97 2.2 published 97-98