基于Lucene的郵件管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-02-12 06:56
本文關(guān)鍵詞: 電子郵件 SMTP 郵件解析 Lucene 出處:《吉林大學(xué)》2014年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】:隨著互聯(lián)網(wǎng)的快速發(fā)展與普及,電子郵件已經(jīng)成為當(dāng)今進(jìn)社會(huì)不可或缺的應(yīng)用工具之一。電子郵件系統(tǒng)由于其方便、快捷而成為了信息交流的重要工具,并被越來(lái)越多地應(yīng)用于日常工作和生活。目前用戶使用電子郵件方式主要有兩種:一種是使用公用的免費(fèi)電子郵箱;另一種是申請(qǐng)自己的郵件域名,建立單獨(dú)的郵件服務(wù)器。無(wú)論使用何種郵件服務(wù)器,客戶端作為用戶與服務(wù)器的交互工具都是必不可少的。目前廣泛使用的郵件客戶端軟件有Foxmail和Outlook等。雖然當(dāng)前的電子郵件管理軟件已經(jīng)具備了較完善的功能,但不同的用戶會(huì)有不同的需求,通用的電子郵件管理軟件無(wú)法滿足所有的用戶群體。例如,在實(shí)際應(yīng)用和科研中,往往需要對(duì)郵件系統(tǒng)進(jìn)行二次開(kāi)發(fā),而現(xiàn)有的郵件管理軟件也不公開(kāi)源碼。而某些對(duì)信息的安全性要求較高的企業(yè)或者部門(mén),使用現(xiàn)有的郵件客戶端軟件也會(huì)帶來(lái)一些安全上的隱患。所以設(shè)計(jì)并且實(shí)現(xiàn)一個(gè)安全的有效的電子郵件管理系統(tǒng)具有很重大的理論意義和實(shí)際應(yīng)用價(jià)值。 本文著重闡述了電子郵件管理系統(tǒng)的整體開(kāi)發(fā)過(guò)程,全面闡述了系統(tǒng)的設(shè)計(jì)思想和設(shè)計(jì)流程,詳盡的說(shuō)明了數(shù)據(jù)庫(kù)表結(jié)構(gòu)的創(chuàng)建過(guò)程和各個(gè)數(shù)據(jù)表之間存在的聯(lián)系。本文充分的利用了功能模塊圖來(lái)清晰的表明系統(tǒng)的設(shè)計(jì)思想和程序各功能模塊的規(guī)劃。系統(tǒng)以Windows操作系統(tǒng)作為開(kāi)發(fā)平臺(tái),Visual Studio2010作為開(kāi)發(fā)工具,Microsoft Access作為數(shù)據(jù)庫(kù)平臺(tái),設(shè)計(jì)并實(shí)現(xiàn)了基于Lucene的電子郵件管理系統(tǒng),完成了電子郵件的編寫(xiě)、發(fā)送、接收和本地電子郵件檢索等功能。 本文主要介紹的功能包括如下幾個(gè)方面。第一,實(shí)現(xiàn)了對(duì)郵件聯(lián)系人的有效管理,實(shí)現(xiàn)了在通訊錄中快速添加、刪除聯(lián)系人以及修改聯(lián)系人信息,通訊錄模塊有效的提高了用戶使用郵件系統(tǒng)的效率;第二,設(shè)計(jì)了郵件收發(fā)模塊,通過(guò)對(duì)標(biāo)準(zhǔn)郵件格式的分析,利用SMTP協(xié)議實(shí)現(xiàn)郵件的發(fā)送,,還實(shí)現(xiàn)了利用POP3協(xié)議接收電子郵件,并且對(duì)電子郵件進(jìn)行解析和信息提取;第三,設(shè)計(jì)了草稿箱和已發(fā)送等實(shí)用的功能模塊,進(jìn)一步的提升了系統(tǒng)的可用性;第四,通過(guò)對(duì)Lucene技術(shù)的研究,利用Lucene實(shí)現(xiàn)對(duì)本地電子郵件的檢索,提高了郵件檢索的性能和準(zhǔn)確度。最后,對(duì)系統(tǒng)實(shí)現(xiàn)的各個(gè)功能模塊進(jìn)行了全面的功能測(cè)試和性能測(cè)試,實(shí)驗(yàn)結(jié)果表明了系統(tǒng)設(shè)計(jì)的正確性與功能實(shí)現(xiàn)的穩(wěn)定性。
[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.
【學(xué)位授予單位】:吉林大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類(lèi)號(hào)】:TP393.098;TP311.52
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 李平;馬麗;;基于Lotus Domino/Notes的郵件服務(wù)系統(tǒng)的設(shè)計(jì)和實(shí)現(xiàn)[J];微計(jì)算機(jī)信息;2006年15期
2 張校乾,金玉玲,侯麗波;一種基于Lucene檢索引擎的全文數(shù)據(jù)庫(kù)的研究與實(shí)現(xiàn)[J];現(xiàn)代圖書(shū)情報(bào)技術(shù);2005年02期
本文編號(hào):1505041
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1505041.html
最近更新
教材專(zhuān)著