基于Lucene的邮件管理系统的设计与实现
发布时间:2018-02-12 06:56
本文关键词: 电子邮件 SMTP 邮件解析 Lucene 出处:《吉林大学》2014年硕士论文 论文类型:学位论文
【摘要】:随着互联网的快速发展与普及,电子邮件已经成为当今进社会不可或缺的应用工具之一。电子邮件系统由于其方便、快捷而成为了信息交流的重要工具,并被越来越多地应用于日常工作和生活。目前用户使用电子邮件方式主要有两种:一种是使用公用的免费电子邮箱;另一种是申请自己的邮件域名,建立单独的邮件服务器。无论使用何种邮件服务器,客户端作为用户与服务器的交互工具都是必不可少的。目前广泛使用的邮件客户端软件有Foxmail和Outlook等。虽然当前的电子邮件管理软件已经具备了较完善的功能,但不同的用户会有不同的需求,通用的电子邮件管理软件无法满足所有的用户群体。例如,在实际应用和科研中,往往需要对邮件系统进行二次开发,而现有的邮件管理软件也不公开源码。而某些对信息的安全性要求较高的企业或者部门,使用现有的邮件客户端软件也会带来一些安全上的隐患。所以设计并且实现一个安全的有效的电子邮件管理系统具有很重大的理论意义和实际应用价值。 本文着重阐述了电子邮件管理系统的整体开发过程,全面阐述了系统的设计思想和设计流程,详尽的说明了数据库表结构的创建过程和各个数据表之间存在的联系。本文充分的利用了功能模块图来清晰的表明系统的设计思想和程序各功能模块的规划。系统以Windows操作系统作为开发平台,Visual Studio2010作为开发工具,Microsoft Access作为数据库平台,设计并实现了基于Lucene的电子邮件管理系统,完成了电子邮件的编写、发送、接收和本地电子邮件检索等功能。 本文主要介绍的功能包括如下几个方面。第一,实现了对邮件联系人的有效管理,实现了在通讯录中快速添加、删除联系人以及修改联系人信息,通讯录模块有效的提高了用户使用邮件系统的效率;第二,设计了邮件收发模块,通过对标准邮件格式的分析,利用SMTP协议实现邮件的发送,,还实现了利用POP3协议接收电子邮件,并且对电子邮件进行解析和信息提取;第三,设计了草稿箱和已发送等实用的功能模块,进一步的提升了系统的可用性;第四,通过对Lucene技术的研究,利用Lucene实现对本地电子邮件的检索,提高了邮件检索的性能和准确度。最后,对系统实现的各个功能模块进行了全面的功能测试和性能测试,实验结果表明了系统设计的正确性与功能实现的稳定性。
[Abstract]:With the rapid development and popularization of the Internet, email has become one of the indispensable application tools in modern society. E-mail system has become an important tool for information exchange because of its convenience and rapidity. And is increasingly being used in daily work and life. At present, there are two main ways for users to use email: one is to use a common free email address, the other is to apply for their own mail domain name. Create a separate mail server. Regardless of which mail server is used, The client is indispensable as the interaction tool between the user and the server. At present, the widely used mail client software includes Foxmail and Outlook, etc. Although the current email management software already has the relatively perfect function, But different users will have different needs, and general email management software will not be able to meet all user groups. For example, in practical applications and scientific research, mail systems often need to be re-developed. However, the existing mail management software is also not open source code. And some enterprises or departments that have higher requirements for the security of information, The use of the existing mail client software will also bring some security risks, so the design and implementation of a secure and effective email management system has great theoretical significance and practical application value. In this paper, the whole development process of the email management system is described, and the design idea and flow chart of the system are expounded. This paper makes full use of the function module diagram to show clearly the design idea of the system and the programming of each function module of the program. The Windows operating system is used as the development platform and Visual Studio2010 is used as the development tool. Microsoft Access is used as the database platform. An email management system based on Lucene is designed and implemented. The functions of writing, sending, receiving and retrieving local email are completed. The main functions of this paper include the following aspects. First, it realizes the effective management of email contacts, the rapid addition of contacts in the address book, the deletion of contacts and the modification of contact information. The address book module effectively improves the efficiency of using the mail system. Secondly, the mail transceiver module is designed. Through the analysis of the standard mail format, the SMTP protocol is used to send the mail. It also realizes the use of POP3 protocol to receive email, and the analysis of e-mail and information extraction; third, designed a draft box and sent functional modules to further improve the availability of the system; 4th, Through the research of Lucene technology, we use Lucene to realize the retrieval of local email, which improves the performance and accuracy of mail retrieval. Finally, the function and performance tests of each function module of the system are carried out. The experimental results show the correctness of the system design and the stability of the function realization.
【学位授予单位】:吉林大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.098;TP311.52
【参考文献】
相关期刊论文 前2条
1 李平;马丽;;基于Lotus Domino/Notes的邮件服务系统的设计和实现[J];微计算机信息;2006年15期
2 张校乾,金玉玲,侯丽波;一种基于Lucene检索引擎的全文数据库的研究与实现[J];现代图书情报技术;2005年02期
本文编号:1505041
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1505041.html