Android平台下手机资源搜索系统的研究与设计
发布时间:2018-06-08 08:33
本文选题:Android + SQLite数据库 ; 参考:《浙江师范大学》2013年硕士论文
【摘要】:随着移动互联网的快速发展,智能手机以及平板电脑越来越普及,移动互联网已经时代已经到来,这使得手机已经不再只是一般的通话工具,而是承载着移动互联网信息传播与分享的一个终端,手机上的数据资源丰富多样,随之智能手机也发展迅猛,内存不断扩展,处理器不断升级来满足用户的需求,手机方便人们生活工作的同时,也出现了一些亟待解决的问题,比如说如何定位手机中的数据,手机不像PC机,屏幕大,操作方便,可以很快地找到用户所需资源,手机上得慢慢查找,因此一款针对手机的搜索系统能够帮助用户更好的使用手机。 手机上搭载的操作系统有很多,比如Android、IOS、WindowsPhone等,本文研究的是Android操作系统,因为它是基于Linux的而且是开源的,便于研究核心的部分。本文深入研究了Android操作系统,从底层至上层应用,并以此为基础,分析了Android平台下手机搜索系统的需求,并结合手机的软硬件特性设计了一款界面友好的多功能搜索系统。本文所做的工作有以下几个:第一、设计了一个基于SQLite数据库的统一的文档格式,建立一张数据表来把手机上的各种数据如短信、联系人等整合起来,方便建立索引;第二、将单个中文字切分移植到Android上进行实现,此外,研究了IK分词算法,提出了一种正向迭代不回溯匹配算法,用于扫描字符串,进行分词,并且移植到Android系统中进行了验证,此外,对其字典进行了改进,利用SQLite数据库添加用户自定义的词,然后扩充IK分词的词库,这样有效解决了词典覆盖不全的问题,提高了查全率;第三、深入研究了SQLite开源数据库,本文提出了两种基于SQLite建立索引的方案;第四、在手机数据资源提取时加入了域(field),用户可以选择范围进行搜索;第五、结果排序算法设计中使用了filed、文档的新旧程度以及关键词的权重三个因素来进行排序。 本文首先对搜索引擎的基本原理进行了探索讨论,主要研究了搜索引擎的逻辑流程以及各部分所涉及的算法策略,然后结合Lucene开源框架的设计思想,对本文提出的搜索系统进行设计,接着了解了Android应用程序开发,并且在中兴U880手机上验证了此搜索系统的可行性。
[Abstract]:With the rapid development of the mobile Internet, smartphones and tablets are becoming more and more popular, the mobile Internet has come to an era, which makes mobile phones no longer just ordinary means of communication. Instead, it is a terminal that carries the spread and sharing of information on the mobile Internet. The data resources on the mobile phone are rich and diverse. With the rapid development of the smartphone, the memory is constantly expanding, and the processor is constantly upgraded to meet the needs of the users. While the mobile phone is convenient for people to live and work, there are also some problems that need to be solved. For example, how to locate the data in the mobile phone. Unlike a PC, the mobile phone has a large screen and is easy to operate. It can quickly find the resources required by the user. Mobile phones need to be searched slowly, so a search system for mobile phones can help users use their phones better. There are a lot of operating systems on their phones, such as Android OS and Windows phone. This paper studies the Android operating system. Because it is Linux-based and open-source, easy to study the core part. This paper deeply studies the Android operating system, from the bottom to the upper application, and on this basis, analyzes the requirements of the mobile phone search system under the Android platform, and designs a multi-function search system with friendly interface combined with the hardware and software characteristics of the mobile phone. The work of this paper is as follows: first, a unified document format based on SQLite database is designed, and a data table is established to integrate all kinds of data on mobile phone, such as SMS, contact person, etc. In addition, IK word segmentation algorithm is studied, and a forward iterative non-backtracking matching algorithm is proposed to scan strings, carry out word segmentation, and transplant to Android system for verification. In addition, the dictionary is improved to add user-defined words in SQLite database, and then to expand the lexicon of IK participle, which effectively solves the problem of incomplete coverage of the dictionary and improves the recall rate. This paper studies SQLite open source database in depth, and puts forward two schemes of building index based on SQLite. Fourth, the domain is added to the mobile phone data resource extraction, so that the user can choose the range to search. In the design of the sorting algorithm, three factors, filed, the degree of old and new documents and the weight of keywords, are used to sort. This paper first discusses the basic principle of search engine. This paper mainly studies the logic flow of search engine and the algorithm strategy involved in each part. Then, combining the design idea of Lucene open source framework, the search system proposed in this paper is designed, and then the Android application development is understood. And in ZTE U880 mobile phone to verify the feasibility of the search system.
【学位授予单位】:浙江师范大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP311.52;TN929.53
【参考文献】
相关期刊论文 前10条
1 蔡菁;;Android移动终端数据同步技术研究与应用[J];广东通信技术;2011年01期
2 沈岳;;搜索引擎技术综述[J];北京城市学院学报;2007年04期
3 郑凯明;李义杰;;垂直搜索引擎及其应用价值[J];信息技术;2008年04期
4 张海燕;;Java多线程技术在手机联网中的应用[J];农业网络信息;2008年03期
5 马玉春,宋瀚涛;Web中文文本分词技术研究[J];计算机应用;2004年04期
6 邹海山,吴勇,吴月珠,陈阵;中文搜索引擎中的中文信息处理技术[J];计算机应用研究;2000年12期
7 公磊;周聪;;基于Android的移动终端应用程序开发与研究[J];计算机与现代化;2008年08期
8 黄昌宁;赵海;;中文分词十年回顾[J];中文信息学报;2007年03期
9 尹锋;基于神经网络的汉语自动分词系统的设计与分析[J];情报学报;1998年01期
10 何伟;薛素静;孔梦荣;杨正党;;基于Lucene的全文搜索引擎的设计与实现[J];情报杂志;2006年09期
,本文编号:1995365
本文链接:https://www.wllwen.com/kejilunwen/sousuoyinqinglunwen/1995365.html