计算机应用 ›› 2011, Vol. 31 ›› Issue (08): 2261-2264.DOI: 10.3724/SP.J.1087.2011.02261

• 典型应用 • 上一篇    下一篇

Web全文检索中间件的设计与应用

张维刚1,徐永东1,雷小强2,何辉1   

  1. 1. 哈尔滨工业大学(威海) 计算机科学与技术学院,山东 威海264209
    2. 华中科技大学 计算机科学与技术学院,武汉430074
  • 收稿日期:2011-02-23 修回日期:2011-04-06 发布日期:2011-08-01 出版日期:2011-08-01
  • 通讯作者: 张维刚
  • 作者简介:张维刚(1980-),男,湖北咸宁人,讲师,博士研究生,CCF会员,主要研究方向:多媒体技术、信息检索;徐永东(1974-),男,黑龙江鸡西人,副教授,博士,主要研究方向:自然语言处理、自动文摘;雷小强(1986-),男,湖南耒阳人,硕士研究生,主要研究方向:信息检索;何辉(1978-),男,山东济宁人,工程师,博士研究生,主要研究方向:可信计算、嵌入式计算。
  • 基金资助:

    国家自然科学基金资助项目(60803092)

Design and application of middleware for Web full-text retrieval

Wei-gang ZHANG1,Yong-dong XU1,Xiao-qiang LEI2,Hui HE1   

  1. 1. School of Computer Science and Technology, Harbin Institute of Technology at Weihai, Weihai Shandong 264209, China
    2. School of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan Hubei 430074, China
  • Received:2011-02-23 Revised:2011-04-06 Online:2011-08-01 Published:2011-08-01
  • Contact: Wei-gang ZHANG

摘要: 为了更好地为Web站内检索提供服务,对Web全文检索的关键技术进行了研究,设计并实现了一个用于Web全文检索的中间件。该中间件通过多线程网页爬虫程序来抓取网页;对抓取结果采用基于Bloom-Filter的大规模URL去重算法来进行高效消重;应用所提出的新的基于标签的正文提取方法来进行网页正文提取,实验结果表明该正文提取方法是有效可行的;此外,为了改善用户的搜索体验,该中间件还提供了一些个性化搜索辅助功能。最后,实现了一个完整的博客搜索系统Boso(博搜)来验证中间件的性能,结果说明该中间件是可以投入实际应用的。

关键词: Web全文检索, 中间件, URL去重, 网页标签, 正文提取

Abstract: To provide better Web search services, the key techniques of the full-text retrieval were studied and a middleware was designed and implemented. By using a multi-thread website crawler program, the Web pages of the given URLs were collected. Bloom-Filter algorithm was employed to get rid of large-scale duplicate URLs in the collected Web pages. A new content extraction approach based on the Web tags was presented to extract the full-text content of Web pages for indexing and searching. The experimental results verify the efficiency of the content extraction method. Furthermore, to improve the search experience of users, many personalized search assistances were provided by this middleware. Boso, a blog search engine, was developed to test and verify the presented middleware. The results show that the presented middleware can be applied to actual search engines.

Key words: Web full-text retrieval, middleware, URL filter, Web tag, content extraction

中图分类号: