{$cfg_webname}
主页 > 计算机 > 论文 >

基于python的分布式网络爬虫设计

来源:56doc.com  资料编号:5D27748 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D27748
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于python的分布式网络爬虫设计(任务书,开题报告,论文12900字)
摘  要
    网络爬虫主要用来进行网上各种资源的收集。是一种按照预先设定的逻辑和规则,不断的对网页信息和数据进行爬取的程序或者脚本。随着技术方面不断的发展,网络爬虫也已经变得更加成熟,用途也更加广泛。搜索引擎就是爬虫的一种具体应用体现,人们通过任何一个搜索引擎能可以很快的获得他们所需要的数据和信息。
分布式爬虫中的一台计算机负责抓取连接,其他计算机负责下载存储,以达到高效爬取的目的。采用分布式爬虫可以提高数据爬取效率,从而降低成本,提高收益。不论对个人或者集体,分布式爬虫都是抓取信息的高效手段。
在数据爆炸的大环境下,对爬虫的设计开发是非常具有前景的。为了能够更加深入的了解爬虫,熟悉爬虫的设计和开发,本课题根据已有的爬虫开发经验和爬虫架构,对分布式爬虫进行设计开发。本课题根据实际情况,采用python语言实现了较为简单的主从模式的分布式爬虫。
Python是目前很具有潜力的一门语言,而且爬虫大多数都用python来编写。本课题就采用python进行分布式网络爬虫的设计。
关键词:网络爬虫  分布式系统  大数据  搜索引擎
 
Design of distributed network crawler based on Python
Abstract
    Web crawler is mainly used to collect all kinds of resources on the Internet. It is a program or script to crawl web information and data according to pre-set logic and rules. With the continuous development of technology, web crawler has become more mature and more widely used. Search engine is a specific application of reptiles. People can get the data and information they need quickly through any search engine.
    A computer in a distributed crawler is responsible for grabbing connections, and other computers are responsible for downloading and storing to achieve efficient crawling. Using distributed crawler can improve data crawling efficiency, thereby reducing costs and increasing revenue. Distributed crawlers are efficient means of grasping information for individuals or collectives.
    In the environment of data explosion, the design and development of reptiles is very promising. In order to be able to understand the crawler more deeply and be familiar with the design and development of reptiles, this topic designs and develops the distributed crawler based on the existing crawler development experience and the crawler architecture. According to the actual situation, we use Python language to implement a simpler distributed crawler based on master slave mode.
    Python is a very potential language at present, and most reptiles are written in Python. This topic adopts Python to design distributed web crawler.
Keywords: Web crawler; Distributed system; Big data; Search engine
    
目    录
摘要    I
Abstract    II
第一章 绪    论    1
1.1  背景介绍及意义    1
1.2  网络爬虫    1
1.2.1 爬虫分类    1
1.2.2 主要搜索策略    2
1.2.3 分布式爬虫原理    2
1.3  课题主要研究内容    3
1.4  本章小结    3
第二章 开发语言和开发环境简介    4
2.1  python语言    4
2.1.1  python简介    4
2.1.2  Python开发环境    4
2.2  python+Eclipse+pydev    4
2.3 本章小结    5
第三章 系统需求分析与概要设计    6
3.1 系统可行性分析    6
3.2 需求分析    6
3.2.1 系统需求    6
3.2.2 功能需求    7
3.3 系统总体设计    7
3.3.1 系统功能设定目标    7
3.3.2分布式网络爬虫的模型分析    8
3.3.3分布式网络爬虫的概要设计    8
第四章 系统实现    11
4.1控制节点    11
4.1.1 URL管理器    11
4.1.2数据存储器    14
4.1.3控制调度器    16
4.2爬虫节点    20
4.2.1 HTML下载器    20
4.2.2 HTML解析器    22
4.2.3爬虫调度器    24
4.3程序运行与结果    26
第五章 系统测试    28
5.1测试方法    28
5.2测试内容    28
5.2.1功能测试    28
5.2.2性能测试    28
5.2.3接口测试    29
5.2.4兼容性测试    29
5.2.5回归测试    29
5.3问题及解决方案    29
第六章 总结    32
参考文献    33
致    谢    I

推荐资料