Research and Implementation of the Improvement of Web Crawler’s Performance and the Function Expansion

Author
JinMei
Advisor
ShiXiaoHu
School
Jilin University
Major
Software Engineering
Classification
TP391.3 Retrieval machine
Degree
Master's thesis
Year
2012
Downloads
141
Citations
0

Request the full text

Abstract

With the development of Internet technologies, websites are becoming the biggest carriers of information. How to get and make best use of such resources are of more and more importance but also an inevitable challenge. A web crawler is born to come with the tide of this need, such kind of program or script is able to automatically fetch web contents while follow certain rules.This paper firstly reviews the history and major applications of web crawlers. By means of overall researches on current popular web crawlers, we discovered that the majority of existing web crawlers is serving the search engines by rendering data resources to topic-specific queries from Internet users. Traditional web crawlers are so important to search engines that their adaptability and multi-functionality are progressively weakened when they are based on such crawling framework with superior extensibilities. Then, this paper discusses some of crawlers’performance indicators based on several optimization strategies for small and medium-scaled web crawlers to improve the running performance and to expand the crawlers’function.About the performance improvement, this paper designed diverse optimized strategies for different function modules. First, it uses Gzip compression on page contents to reduce transmission time. Second, it sends asynchronous requests to an Internet resource to raise bandwidth and CPU usage. Third, crawl in breadth-first order and conduct massive duplicated URL detection with bloom filter. Fourth, use well-designed regex to extract links out of a web page. Fifth, it normalizes crawled URL to avoid misleading the crawler by its abnormality otherwise. Sixth, use optimized thread pool for efficiently managed multi threads.About the function expansion module, this paper describes three distinguish characteristics between this crawler and the existing one. It firstly analyzes the performance of crawled static web pages and provides optimizing suggestions for target websites. Then it performs as an automatic test tool to run test cases on crawled web pages. At last, it extract customized data from web resources following specified formats.Based on the purpose of testifying the strategies above,.NET platform is quite suitable for building a light web crawler. This crawler is coded in C#language and programmed in Visual Studio2008IDE. Experimental results show that our crawler run in console mode with high configurability based on file inputs.

Table of contents

Summary 4-5 Abstract 5-8 Chapter 1 Introduction 8-14 1.1 Literature Review 8-12 1.1.1 Internet and search engine 8-9 1.1.2 Web crawler 9 1.1.3 web crawler classification 9-10 <br / > 1.1.4 current research main content and significance of the research 10-12 1.2 of organizational structure 12 1.3 papers 12-14 Chapter 2 Web crawler model 14-17 2.1 Web crawler principle 14-15 2.2 Web crawler main performance evaluation analysis 15-17 Chapter 3 Web crawler performance improvement strategy analysis 17-26 3.1 download page 17-20 3.1.1 Gzip / deflate compression encoding transmission 17-18 3.1.2 asynchronous non-blocking downloads 18-20 3.2 URL related strategies 20-26 3.2.1 URL search strategy 21 3.2.2 URL extraction strategy 21-23 3.2.3 URL specification strategy 23-24 3.2.4 URL to heavy strategy 24-26 4 web crawler function expansion strategy analysis 26-31 4.1 technologies introduced 26-27 4.1.1 HTML DOM 26-27 4.1.2 XPath technology 27 4.2 expansion strategy analysis 27-31 4.2.1 website performance analysis 27-29 4.2.2 automated testing tools 29-30 4.2.3 -specific data extraction 30-31 Chapter 5 web crawler system design 31 -53 5.1 overall design 31-32 5.2 module design 32-53 5.2.1 system Configuration module 32-35 <br / > 5.2.2 URL management module 35-40 5.2.3 data collection module 40-43 5.2.4 data Analysis module 43-48 <br / > 5.2.5 file storage module 48-50 5.2.6 thread scheduling module achieve 50-53 Chapter 6 Web crawler system 53 - achieve 60 6.1 interface is 53-54 6.2 features experimental 54-60 6.2.1 page data download 55-57 <br / > 6.2.2 page performance analysis 57-58 6.2.3 automated test 58-59 6.2.4 -specific data extraction 59-60 <br / > Chapter 7 conclusions 60-61 References About 61-63 authors and learning gained during research 63-64 <br / > Thanks 64

Related dissertations

  1. Based on the Lucene and Heririx build research and examples of the search engines to achieve
  2. The BJMB Company Performance Management Improvement Program
    DengZhiLin ·Hebei University of Technology ·2013 ·Master's thesis
  3. Research on Employee Performance Management System of SY Group Co Ltd
  4. Research on Knowledge-based Employee Performance Management in Corporations
  5. Study on the Improvement of Front-line Marketing Employee Performance Management System for R Mobile Company
  6. Design and Implementation of Network Information Collection and Processing System
  7. Design and Implementation of Information Acquisition System Based on News and Forums
    KongLiYuan ·Shandong Normal University ·2014 ·Master's thesis
  8. Research and Implementation of High-performance Website Architecture Optimization for Power Customer Service
  9. Research and Implementation of Microblog Crawler
    GuoYingWei ·Jilin University ·2013 ·Master's thesis
  10. Design and Implementation on Microblog Data Collection System
  11. Software Update Manager Based on Web Monitoring Technology
    YuShuZhen ·Dalian University of Technology ·2013 ·Master's thesis
  12. The Real-time Search Engine of Social Network Service
    GuoTao ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Research and Implementation of Personal Literature Service Platform
    HuLin ·Central South University ·2013 ·Master's thesis
  14. Research on Vertical Search Engine of Mobile Products Information
    WangWenHua ·Hunan University of Technology ·2013 ·Master's thesis
  15. The Establishment of Intelligent Search Engine Platform in Enterprise
    WangMuPo ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  16. Research and Implementation of Internet Public Opinion Information Mining
  17. Designing and Implementation of Information Collection and Classification System Based on Web Crawler
    ZhouZuo ·Xiamen University ·2013 ·Master's thesis
  18. CNA:a Performance Optimization System for Multi-core NUMA Architecture in Virtualized Environment
    LiLingLing ·Zhejiang University ·2014 ·Master's thesis
  19. Study on Mode and Evaluation of Service-oriented Government Performance Management
    GaoShuBin ·Tianjin University ·2012 ·Doctoral dissertation
  20. The Big Performance Management Project Implementation Case Studies of China Nuclear Industry Fifth Construction Co.,LTD