Research and Implementation based on minimum risk Bayesian multi-level mail filtering system

Author
LiRu
Advisor
LiuPeiYu
School
Shandong Normal University
Major
Computer Software and Theory
Classification
TP393.098 E-mail ( E -mail )
Degree
Master's thesis
Year
2011
Downloads
39
Citations
0

Request the full text

Abstract

With the rapidly growing popularity of the Internet, e-mail occupy an increasingly important position in people's lives. Because of its ease of use, to send a quick, low-cost advantages become very important and popular means of communication in the modern society. But e-mail with a number of negative effects, especially the proliferation of spam increasingly serious occupy system resources, waste of user time and a threat to the security of the network. Has become an urgent problem on the Internet, designed and implemented an effective spam filtering model has important practical significance. For common spam solution from the following four aspects: (1) current spam technology is mostly concentrated in the field of machine learning and data mining, but most of algorithms can not effectively filter spam for spam filtering false negative and false positive problem, the paper proposes an improved minimum risk Bayesian algorithm. The algorithm AdaBoost algorithm combined minimum risk Bayesian algorithm is essentially based classifier using AdaBoost algorithm as the framework of the training the classifier, through training often points the wrong class training samples, and to mark them to to achieve the purpose of mail classification accuracy rate. The combination of the two algorithms to improve the accuracy of the classification and recall, and achieved good filtering effect. (2) In the process of doing experiments, found a problem: not necessarily improved algorithm to filter all information must be better than the original algorithm. Solve the problem, put forward the idea of ??a shunt filter spam. The shunt filter spam based on the content of the message, the first e-mail for the first time a simple classification into different categories, and then a second classification will be divided into good filter such content module, and so divided the use of algorithms that can be better targeted filtering. (3) for a single filtration technology is difficult to effectively filter the spam problem, put forward a multi-level filtering spam. Black / white list, keyword-based, rule-based, based on the contents of a variety of methods such as the integration of the filter on the subject of the message, the text content of the attachment name keywords, the body of the message content and attachments, multi-level filtering can give full play to the advantages of each technology, to achieve the ideal filter effect. (4) the design and content-based multi-level mail filtering system in the Microsoft Visual Studio 2005 platform. Training and test mail samples are derived from the China Education and Research Network Emergency Response Team (CCERT) database of spam and legitimate messages selected from the database 400, 200 spam test, experiments show that the ideology of this e-mail filtering effective.

Table of contents

Abstract 7-8 ABSTRACT 8-10 first chapter 10-15 1.1 Background and Significance 10 - 11 1.2 of spam situation and development trend 11 1.3 Introduction spam 11-13 1.3.1 The definition of spam 11 - 12 1.3.2 spam hazards 12 1.3.3 spam causes and sources 12-13 1.4 The main work 13 1.5 of this paper is organized 13-14 1.6 Chapter Summary 14-15 Chapter key technology research 15 - 26 2.1 email works 15 2.2 messaging system involving the relevant e-mail protocol 15-19 2.2.1 SMTP protocol 15-16 2.2.2 POP3 protocol 16 2.2.3 MIME protocol 16-19 2.2.3.1 MIME mail protocol type 16 -17 2.2.3.2 MIME message format analysis 17-19 2.3 message parsing technology 19-21 2.3.1 MIME messages analytically 19 2.3.2 regex 19-20 2.3.2.1 The basic syntax of regular expression characters 19-20 2.3.2.2 regex positioning of characters 20 2.3.2.3 repeated description regex character 20 2.3.3 MIME protocol information extracted 20-21 <br / > 2.4 spam filtering technology 21-26 2.4.1 Definition of spam filtering 21-22 2.4.2 primary method of spam filtering 22 -26 2.4.2.1 keyword-based filtering 22 2.4.2.2 whitelist-based filtering 22 2.4.2.3 blacklist-based filtering 22-23 2.4.2.4 rule-based filtering 23-24 2.4.2.5 Content-based filtering 24-26 chapter content-based spam filtering 26-35 3.1 Bayesian algorithm 26-27 3.1.1 Bayesian algorithm origins 26 3.1 .2 The main idea of ??Bayesian algorithm and the basic steps 26-27 3.2 Bayesian algorithms 27-29 3.2.1 Naive Bayes algorithm is the basic Thought 28-29 3.3 minimum risk Bayesian algorithm 29-30 3.4 integrated learning algorithm 30-32 3.4.1 Boosting Algorithm 30-31 3.4.1.1 Boosting algorithm originated 30-31 3.4.1.2 Boosting algorithm basic idea 31 3.4.2 AdaBoost algorithm Principle and analysis 31-32 3.5 AdaBoost-based minimum risk Bayesian algorithm 32-33 3.5.1 algorithm introduced 32 3.5 .2 Experimental results and analysis 32-33 3.6 shunt filter thinking 33-35 Chapter spam filtering system design 35-44 4.1 summarizes the system design 35-37 4.1.1 Design Goals 35 4.1.2 spam filtering system framework 35-37 4.2 based on SMTP protocol server design 37-39 4.2.1 SMTP server to receive mail 37-38 4.2.2 SMTP mail forwarding 38 -39 4.3 server-based POP3 protocol design 39-40 4.3.1 Functional design 39 4.3.2 POP3 server flowchart 39 -40 4.4 message parsing module design 40-41 4.5 class determination module design 41-42 4.6 server-side filtering module design 42 - 44 4.6.1 Functional design 42 4.6.2 layered filter flowchart 42-44 Chapter spam filtering system implementation 44-59 5.1 server-side implementation 44-50 5.1.1 system settings and user management 44-46 5.1.1.1 System Settings 44-45 5.1.1.2 filter settings 45 5.1.1.3 domain suffix management functions 45-46 5.1.1.4 user management function 46 5.1.2 SMTP and POP3 servers 46-48 5.1.2.1 SMTP server 46-47 5.1.2.2 POP3 server 47 -48 5.1.3 multi-layered spam filtering 48-50 5.1.3.1 IP black / white list filter 48-49 5.1.3.2 key theme word filter 49-50 5.1.3.3 attachment name keyword filters 50 5.2 Web client implementation 50-59 5.2.1 Mail send and receive functions to achieve 52-53 5.2.1.1 mail sent 52-53 5.2.1.2 Mail receive 53 5.2.2 Web client filtering to achieve 53-56 5.2.2.1 system default filtering levels and filtering 54-55 5.2.2.2 filtering level setting 55-56 5.2.3 Mail intelligent management functions to achieve 56-57 5.2.4 system evaluation and analysis 57 5.2.5 evaluation and analysis 57-59 5.2.5.1 selecting training and testing samples mail 57-58 5.2.5.2 Experimental results and analysis 58-59 <br / > Chapter Summary and Outlook 59-60 6.1 The main research work done 59 6.2 Research Prospects 59-60 References 60-62 papers published during the study for a degree 62 participate in research projects during the study for a degree 62-63 Thanks 63

Related dissertations

  1. Research and Implementation of Sight Detection System Architecture on ASIC
    QinChao ·Tianjin University ·2012 ·Master's thesis
  2. Research on Target Detection and Tracking Algorithms Based on Neural Network
    LiuYanLi ·Anhui University of Engineering ·2013 ·Master's thesis
  3. Comparison of Adaboost-based Learning Algorithms of Classifiers
  4. Design and Implementation of Website Security Protection System
  5. Research and Realization of Face Detection and Recognition
    YangNing ·Northeastern University ·2012 ·Master's thesis
  6. Research on Pedestrian Detection Method Based on Integrated Machine Learning
    LiaoXianMei ·Hunan University ·2013 ·Master's thesis
  7. Face Detection Technology Based on Adaboost Algorithm
  8. Detecting Driver Drowsiness State Based on Video Image
    ShenLin ·Tianjin University ·2012 ·Master's thesis
  9. Vehicle Detection Based on HOG and Haar-like Features
  10. Research on Face Detection and Tracking System Based on OpenCV in Embedded Environment
  11. The Research of Detecting the Number of People in Lift Car Based on Adaboost Algorithm and Background Subtraction Method
    CaiJun ·Xiamen University ·2014 ·Master's thesis
  12. Research on Driving Fatigue Detection Methods Based on Face Recognition
    GengXuZuo ·Hebei University of Technology ·2012 ·Master's thesis
  13. The Research on Driver Fatigue Detection Based on Facial Feature Recognition
    ZhaoLiKun ·Central South University ·2013 ·Master's thesis
  14. Researech of License Plate Character Recognition Based on Machine Learning
    LiuYuXia ·Anhui University of Engineering ·2013 ·Master's thesis
  15. Research of License Plate Recognition System on Vehicle PTZ Camera
    MaoJiangPing ·Zhejiang University ·2014 ·Master's thesis
  16. The Research of the Credit Risk of Commercial Bank Based on Optimized Neural Network
  17. Application of SVM_AdaBoost Models in Listed Companies Delisting Warning Research
    WangYuan ·South China University of Technology ·2013 ·Master's thesis
  18. The combination classifier and its application research in financial early warning
    LiXinQiang ·Yunnan University ·2012 ·Master's thesis
  19. The Research on Financial Crisis Prediction of Corporations with Ellipse Probabilistic Neural Network Ensemble
    ZhangXia ·Harbin Institute of Technology ·2013 ·Master's thesis
  20. Research and Implementation of Spam Filtering System Based on Batv and Content Filtering Technology
    LiuKai ·Nanjing Agricultural College ·2009 ·Master's thesis