无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

山东大学校园网搜索引擎的设计与实现

栏目
论文
具体类型
硕士毕业论文
语言
中文
用途
范文参考
更新
关键词
搜索引擎Map网络蜘蛛计算机
分类标签
自然科学计算机科学计算机软件
原站著录信息
原编号
lw201104011004249376
原文字数
42,102 字
原文件格式
DOC
原库登记日期
2011-04-01

摘要

硕士学位论文 论文题目: 山东大学校园网搜索引擎的设计与实现 Design an Implementation of Campus Search Engine for Shandong University 目录 摘 要 I ABSTRACT III 第1章 绪 论 1 1.1系统开发背景 1 1.2 国内外研究现状 2 1.3 解决的主要问题 4 1.4本文的主要工作 5 1.5本文的组织结构 6 第2章 系统需求分析 7 2.1 系统总体描述 7 2.2 系统功能性需求分析 8 2.2.1 系统参与者 9 2.…

硕士学位论文

论文题目:

山东大学校园网搜索引擎的设计与实现
Design an Implementation of Campus Search Engine for Shandong University

 

目录
摘 要 I
ABSTRACT III
第1章 绪 论 1
1.1系统开发背景 1
1.2 国内外研究现状 2
1.3 解决的主要问题 4
1.4本文的主要工作 5
1.5本文的组织结构 6
第2章 系统需求分析 7
2.1 系统总体描述 7
2.2 系统功能性需求分析 8
2.2.1 系统参与者 9
2.2.2 确定系统用例 9
2.2.3 系统用例描述 10
2.2.4 系统用例视图 12
2.2.5 系统总体结构描述 12
2.3 系统非功能性需求描述 13
2.4 本章小结 15
第3章 系统架构设计 16
3.1系统设计目标及设计原则 16
3.2系统功能架构设计 18
3.2.1搜索引擎系统的工作原理 18
3.2.2信息抓取模块 20
3.2.3网页内容分析模块 21
3.2.4中文分词功能的设计 22
3.2.5索引数据库的建立 24
3.2.6检索与结果排序 25
3.3系统技术架构设计 27
3.3.1 Map Reduce分布式处理模型 27
3.3.2 Nutch技术 30
3.4本章小节 32
第4章 系统详细设计 33
4.1系统类结构设计 33
4.2主要模块详细设计 34
4.2.1网页抓取模块 34
4.2.2文本分析模块 36
4.2.3索引模块 37
4.2.4检索排序模块 40
4.3本章小结 44
第5章 系统实现与测试 45
5.1分布式平台的实现 45
5.2系统开发环境 46
5.3主要功能模块的实现 47
5.3.1抓取模块的实现 47
5.3.2索引模块的实现 48
5.3.3信息检索及排序模块的实现 50
5.4 搜索引擎系统用户界面的实现 56
5.5 系统测试 60
5.6 本章小结 62
第6章 总结与展望 63
参 考 文 献 65
致    谢 67

 

CONTENTS
Abstract in Chinese I
Abstract in English III
Chapter 1 Introduction 1
1.1 Background 1
1.2 Current Status in Home and Broad 2
1.3 Major Work Solved 4
1.4 Major Work 5
1.5 Organizational Structure 6
Chapter 2 System Requirements Analysis 7
2.1 Global Description 7
2.2 Functional Requirement 8
2.2.1 Participants 9
2.2.2 Determine Use Cases 9
2.2.3 Usehttp: Cases Description 10
2.2.4 Use Case View 12
2.2.5 Global Structure Description 12
2.3 Unfunctional Requirement 13
2.4 Chapter Summary 15
Chapter 3 System Architecture Design 16
3.1 Objectives and Design Principles Design 16
3.2 Functional Architecture Design 18
3.2.1 Operating Principle 18
3.2.2 Information Crawler Module 20
3.2.3 Content Analysis Module 21
3.2.4 Chinese Participle 22
3.2.5 Create Index Database 24
3.2.6 Retrieval and Results Sequencing 25
3.3 Design System Technical Architecture 27
3.3.1 Map Reduce Distributed Processing Model 27
3.3.2 Nutch Technology 30
3.4 Chapter Summary 32
Chapter 4 System Detailed Design 33
4.1 Class Structure Design 33
4.2 Major Module 34
4.2.1 Crawler Module 34
4.2.2 Document Analysis Module 36
4.2.3 Retrieval Module 37
4.2.4 Result Sequencing Module 40
4.3 Chapter Summary 44
Chapter 5 System Implementation and Testing 45
5.1 Distributed Platform Construction Implement 45
5.2 Development Environment 46
5.3 Main Function Implemention 47
5.3.1 Crawler Module 47
5.3.2 Index Module 48
5.3.2 Retrieval and Results Sequencing Module 50
5.4 User Interface Implemention 56
5.5 Testing 60
5.6 Chapter Summary 62
Chapter 6 Summary and Outlook 63
References 65
Thanks 67

 

摘  要
随着山东大学的不断发展,学校越来越重视校园信息化建设,并迅速步入了信息化高速发展的阶段。在这个过程中,校园网不断地完善,为我校师生提供了一个良好的信息化教学、管理、科研和信息发布等的交流平台,校园网内的信息内容正在以惊人的速度增加着,这样极大地方便了师生的工作、学习和生活。但同时,校园网内信息量的急速增长,也使得全校师生迅速获取到有价值的信息变得越来越困难。如何更全面、更准确地获取最新、最有效的信息已经成为满足当前校园网用户要求的当务之急。目前互联网上虽然已经有一些成功的通用搜索引擎,如Google、百度等,用户通过输入查询信息就可以搜索到很多相关内容的网页,但是这些搜索引擎却有着自身不可避免的一些缺点,通用搜索引擎无法覆盖到所有的网页,即使是全球最大的搜索引擎google也只是搜索到整个互联网的不足十分之一;其次,通用搜索引擎的信息量大,信息更新很缓慢,这使得所搜索到的内容的实时性和准确性很难保证,搜索到的冗余信息也很多;此外,很多通用搜索引擎采用竞价排名的机制,这样会造成一些不公平的排序结果。以上这些显著的缺点决定了通用搜索引擎,不能抓取到所有网页,不能满足不同用户群的不同的需要。特别是对学术搜索、政府类站点、校园网的搜索来说,一个公平的排序结果是非常重要的。为此,为了充分地整合校园网的信息资源,更好地满足广大师生对校园网信息的获取和使用以及其他人对山东大学的了解,针对本校的特点,本文设计并实现了一款实用性强、灵活、可配置、具有良好可扩展性的校园网搜索引擎。
根据本人参加的山东大学校园网信息检索系统的开发,本学位论文介绍大学校园搜索引擎的设计与开发的原理和主要技术。本论文的主要贡献为:根据山东大学自身的特点和网站的内容,利用软件工程的方法,给出了系统的功能性和非功能性的需求分析。在需求分析的基础上,给出了系统的各功能模块及模块之间的关系描述。然后根据需求分析提出了系统的实现目标和原则,并从系统的功能架构和技术架构两个方面描述了系统的整体功能和总体流程。给出了搜索引擎系统中的网页信息抓取,内容分析、中文分词和索引数据库建立等主要功能模块的设计,介绍了系统采用的分布式存储处理模式,用来处理大规模数据量。然后讨论了系统的详细设计。在系统详细设计的基础上,介绍了对系统的实现与测试。给出了采用Hadoop框架来实现Map Reduce分布式处理模式,来提高系统的并发处理能力和降低系统对硬件配置的要求等实现技术。并讨论了网页增量式爬取更新、分词算法的实现、索引模块及检索模块的实现。最后对系统进行测试,并根据测试结果进行了性能分析。该搜索引擎目前不仅能够向用户提供基本的通用搜索引擎的功能,还针对山东大学的特点,开发了高级检索功能,向用户提供按照学院,信息发布时间,在标题或内容中进行检索。最后对全文内容进行了总结,指出系统待完善之处,并对需要进一步研究和解决的技术问题做了展望 ,阐述了下一步需要进行的工作。

 

关键词:搜索引擎;Map;Reduce;分布式;网络蜘蛛

 

ABSTRACT
With the continuous development of Shandong University, the school campus information technology is paid more and more attention, which quickly enters a stage of rapid development of information technology. In the process, the campus continues to improve, and provides our school teachers and students with a good teaching, management, research and exchange of information publishing platform. Content within the campus network is increasing in an alarming rate of increase. This greatly facilitates the work of teachers’ and students’ learning and living. But at the same time, the amount of information within the campus network which rapidly grow also makes teachers and students access to valuable information difficult. How a more comprehensive and more accurate access to the latest and most effective information to meet current campus network has become the top priority users’ requirements. Although the current Internet has been some success in the general search engine such as Google, Baidu, etc. By entering the query information, the user can search many pages with content related, but these search have their inevitable disadvantages. General search engine can not cover all of the pages, even if the biggest search engine only search the entire Internet in less than one; Secondly, General search engine has big information content, and update information slowly, which make the search difficult to ensure real-time and accuracy and the search to have a lot of redundant information; I