CN105049334A - E-mail filtering method and device - Google Patents
E-mail filtering method and device Download PDFInfo
- Publication number
- CN105049334A CN105049334A CN201510470653.0A CN201510470653A CN105049334A CN 105049334 A CN105049334 A CN 105049334A CN 201510470653 A CN201510470653 A CN 201510470653A CN 105049334 A CN105049334 A CN 105049334A
- Authority
- CN
- China
- Prior art keywords
- user
- type
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides an E-mail filtering method and device. The method comprises the following steps: acquiring an E-mail to be filtered; determining the mail type of the E-mail, and determining a user type to which a recipient user of the E-mail belongs; judging whether or not the mail type of the E-mail to be filtered belongs to a type of E-mail permitted to be received by the user type to which the recipient user belongs according to the pre-established corresponding relation between the user type and the mail type; when a judgment result is positive, determining that the E-mail to be filtered is not any junk mail; and when the judgment result is negative, determining that the E-mail to be filtered is the junk mail. Through adoption of the E-mail filtering method and device, the storage resource occupation rate is low while individual E-mail filtering is realized; the storage space can be saved; and the E-mail filtering speed and efficiency are increased.
Description
Technical field
The present invention relates to electronic information technical field, espespecially a kind of electronic mail filtering method for realizing Spam filtering and device.
Background technology
Need solution two class problem in Email anti-spam field always, one is as far as possible accurately spam filtering out, and weeded out, it is made not enter into the Inbox of user, another one is exactly while filtering spam mail, ensure the good mail of user's real concern, not misjudged one-tenth spam, the trash folder entering into user of mistake.
Due to the occupation of user, interest, the differences such as age, different user is different for the subjective attitude of same envelope Email, and someone thinks spam, and someone not thinks it is spam.Therefore, create a kind of electronic mail filtering scheme of personalization, existing individual electronic filtrating mail scheme sets up feature database to each user, the Email newly received extracts mail features to it, have feature database with user to compare, thus acquisition result of determination, it is filtered or reservation operations.
The method flow realizing Spam filtering in prior art is concrete as shown in Figure 1.Mail study module in Mail Clients (Mail Clients A, Mail Clients B, Mail Clients C etc.) carries out feature learning to the mail sample being stored in Mail Clients, generating feature learning database, and learning outcome is sent to mail server, original feature database of up-to-date learning outcome and this Mail Clients is integrated by mail server, forms the latest features storehouse of each client; Twit filter adopts the new mail of latest features storehouse to the corresponding Mail Clients that mail server receives to filter.Putting into recycle bin when being defined as spam, when determining not to be spam, then putting into addressee position and collecting for user.
Realizing in process of the present invention, inventor finds that in prior art, at least there are the following problems:
Prior art needs to set up mail features storehouse to each user, when customer volume is larger, needs to take a lot of storage resources, and along with the increase of addressee amount, the size of feature database, also in increase, strengthens taking storage resources further.
Summary of the invention
The embodiment of the present invention provides a kind of electronic mail filtering method and device, and in order to solve the Spam filtering for a large number of users existed in prior art, to take storage resources many, the problem that filter efficiency is low.
On the one hand, embodiments provide a kind of electronic mail filtering method, comprising:
Obtain Email to be filtered;
Determine the email type of described Email, and determine the user type belonging to addressee user of described Email;
According to the corresponding relation of the user type set up in advance and email type, judge the email type of described Email to be filtered whether belong to user type belonging to described addressee user allow the email type that receives;
When being judged as YES, determine that described Email to be filtered is not spam; When being judged as NO, determine that described Email to be filtered is spam.
In some optional embodiments, the process setting up the corresponding relation of user type and email type comprises:
Obtain the mail sample data of user, wherein, mail sample data comprises mail data and user data;
Set up email type feature database according to described mail data, set up user type feature database according to described user data;
According to described email type feature database and described user type feature database, determine the corresponding relation of user type and email type.
In some optional embodiments, determine the corresponding relation of user type and email type, specifically comprise:
The Customs Assigned Number being classified into selected user type is obtained from described user type feature database;
According to the Customs Assigned Number obtained, obtain the mail data of respective user, determine the quantity of email type involved by this user and all types of mail;
According to the quantity of the email type determined and all types of mail, determine the corresponding relation of user type and email type.
In some optional embodiments, described mail data comprises at least one item in following message: mail numbering, envelope sender, letter body sender, transmit IP, mail matter topics and theme participle, message body and text participle;
Described user data comprises at least one item in following message: Customs Assigned Number, hour of log-on, age, occupation, liveness, user behavior, conventional log in ground, conventional login mode.
In some optional embodiments, obtain Email to be filtered, specifically comprise:
Obtain the new mail received; Or
Obtain the spam determined after overall situation filtration is carried out to the new mail received.
On the other hand, embodiments provide electronic mail filtering device, comprising:
Acquisition module, for obtaining Email to be filtered;
Sort module, for determining the email type of described Email, and determines the user type belonging to addressee user of described Email;
Judge module, for the corresponding relation according to the user type set up in advance and email type, judges that the email type of the described Email to be filtered user type institute whether belonged to belonging to described addressee user allows the email type of reception;
Determination module, for when described judge module is judged as YES, determines that described Email to be filtered is not spam; When being judged as NO, determine that described Email to be filtered is spam.
In some optional embodiments, said apparatus also comprises training module, for:
Obtain the mail sample data of user, wherein, mail sample data comprises mail data and user data;
Set up email type feature database according to described mail data, set up user type feature database according to described user data;
According to described email type feature database and described user type feature database, determine the corresponding relation of user type and email type.
In some optional embodiments, described training module, specifically for:
The Customs Assigned Number being classified into selected user type is obtained from described user type feature database;
According to the Customs Assigned Number obtained, obtain the mail data of respective user, determine the quantity of email type involved by this user and all types of mail;
According to the quantity of the email type determined and all types of mail, determine the corresponding relation of user type and email type.
In some optional embodiments, described acquisition module, specifically for:
Obtain the new mail received; Or
Obtain the spam determined after overall situation filtration is carried out to the new mail received.
The embodiment of the present invention also provides a kind of e-mail server, comprising: above-mentioned electronic mail filtering device.
Technique scheme has following beneficial effect: the corresponding relation setting up user type and email type according to the mail sample data of user in advance, according to the corresponding relation set up in advance, filtering screening is carried out to the Email received, thus achieve the Spam filtering of the personalization for user, special feature database need not be set up for each user, thus decrease taking of storage resources, save memory space, reduce system loading, the method is according to the corresponding relation of user type and email type, screening and filtering is carried out to the mail of dissimilar user, realize simple, convenient, breakneck acceleration is fast, improve breakneck acceleration and the efficiency of Spam filtering.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of electronic mail filtering method in prior art;
Fig. 2 is the realization flow figure of electronic mail filtering method in the embodiment of the present invention one;
Fig. 3 is the realization flow figure of electronic mail filtering method in the embodiment of the present invention two;
Fig. 4 is the principle schematic preparing mail sample data in the embodiment of the present invention two;
Fig. 5 is the principle schematic setting up email type feature database in the embodiment of the present invention two;
Fig. 6 is the principle schematic setting up user type feature database in the embodiment of the present invention two;
Fig. 7 is the principle schematic setting up email type and user type corresponding relation in the embodiment of the present invention two;
Fig. 8 is the principle schematic performing filtrating mail in the embodiment of the present invention two;
Fig. 9 is the email type and user type corresponding relation exemplary plot set up in the embodiment of the present invention two;
Figure 10 is the exemplary plot performing filtrating mail in the embodiment of the present invention two based on the corresponding relation of Fig. 9;
Figure 11 is the realization flow figure of electronic mail filtering method in the embodiment of the present invention three;
Figure 12 is the structural representation of electronic mail filtering device in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
During in order to solve the electronic mail filtering of the realization personalization existed in prior art, the problem that the storage resources taken is excessive, the embodiment of the present invention provides a kind of electronic mail filtering method, the method can ensure the filter effect of Email personalization, and the storage resources taken is smaller, can memory space be saved, improve speed and the efficiency of Email.
Embodiment one
The embodiment of the present invention one provides a kind of electronic mail filtering method, and its flow process as shown in Figure 2, comprises the steps:
Step S101: obtain Email to be filtered.
Optionally, obtain Email to be filtered, the new mail received can be obtained.In this case, be that the electronic mail filtering method embodiment of the present invention provided is separately as the method for filtering Email.
Optionally, obtain Email to be filtered, also can obtain the spam determined after overall situation filtration is carried out to the new mail received.In this case, it is electronic mail filtering method that the embodiment of the present invention the is provided a kind of additional project as overall filtrating mail, realize the further screening of spam after the overall situation is filtered and identification, the accuracy of Spam filtering during to improve overall filtrating mail scheme further.
Step S102: the email type determining the Email obtained.
When determining the email type of Email, can classify according to the mail data of Email, wherein, the mail data of Email comprises at least one item in following message: mail numbering, envelope sender, letter body sender, transmit IP, mail matter topics and theme participle, message body and text participle.
Step S103: the user type belonging to addressee user determining the Email obtained.
When determining the user type belonging to addressee user of Email, can classify according to the user data of addressee user, wherein, user data comprises at least one item in following message: Customs Assigned Number, hour of log-on, age, occupation, liveness, user behavior, conventional log in ground, conventional login mode.
The execution sequence of step S102 and step S103 in no particular order, can carry out by exchange sequence, also can carry out simultaneously.
Step S104: according to the corresponding relation of the user type set up in advance and email type, judge the email type of Email to be filtered whether belong to user type belonging to addressee user allow the email type that receives.If so, step S105 is performed; Otherwise, perform step S106.
The corresponding relation of user type and email type can be set up according to the mail sample data of each user.Select the mail sample data of the user of the some in a period of time, such as, selected user is within the selected time period, and the mail in its inbox, can as the mail sample data of training.
The process setting up the corresponding relation of user type and email type can comprise: the mail sample data obtaining user, and wherein, mail sample data comprises mail data and user data; Set up email type feature database according to mail data, set up user type feature database according to user data; According to email type feature database and user type feature database, determine the corresponding relation of user type and email type.
In the mail sample data obtained, its mail data comprises at least one item in following message: mail numbering, envelope sender, believe body sender, transmit IP, mail matter topics and theme participle, message body and text participle; Its user data comprises at least one item in following message: Customs Assigned Number, hour of log-on, age, occupation, liveness, user behavior, conventional log in ground, conventional login mode.
After establishing the corresponding relation of user type and email type, when needs carry out electronic mail filtering, judge the email type of Email to be filtered whether belong to user type belonging to addressee user allow the email type that receives.The above-mentioned corresponding relation setting up user type and email type, all must not set up once when carrying out electronic mail filtering at every turn, and optionally, according to corresponding relation cycle update time of setting, the renewal periodically carrying out corresponding relation is just passable.
Step S105: determine that Email to be filtered is not spam.
When being judged as YES, determining that Email to be filtered is not spam, this Email being put into the mail reception position of this addressee user, such as, inbox.
Step S106: determine that Email to be filtered is spam.
When being judged as NO, determining that Email to be filtered is spam, this Email being put into the spam position of this addressee user, such as, dustbin.
Embodiment two
The embodiment of the present invention two provides a kind of concrete methods of realizing of above-mentioned electronic mail filtering method, and the filtrating mail flow process provided for the embodiment of the present invention, as the filtrating mail flow process be used alone, is filtered the new mail received.Its flow process as shown in Figure 3, comprises the steps:
Step S201: obtain the mail sample data needed for training.
Prepare the principle of mail sample data as shown in Figure 4, select the Email in the user of some in certain period (rationally) and inbox thereof as the mail sample data of training as far as possible comprehensively, edit is carried out to mail sample data, and marks.Mail sample data is divided into mail data and user data two parts.
Wherein, it is one or more that mail data comprises in following message: mail numbering (m1, m2, m3 ...), envelope sender, letter body sender, transmit IP, mail matter topics and theme participle, message body and text participle etc.
It is one or more that user data comprises in following message: Customs Assigned Number (u1, u2, u3,), hour of log-on, the age, sex, occupation, liveness, user behavior (read, report, deletes, mobile etc.), conventionally log in ground, conventional landing approach etc.
Step S202: set up email type feature database according to mail data.
Set up the principle of email type feature database as shown in Figure 5.Choose mail data in this step, set up email type feature database.As shown in Figure 5, take out all mail datas in mail sample data, by grader, obtain email type M1, M2, M3 ...
Any one grader conventional at present can be adopted to choosing of grader, as Bayes, decision tree, neural net etc.
Step S203: set up user type feature database according to user type.
Set up the principle of user type feature database as shown in Figure 6.Choose user data in this step, set up user type feature database.As shown in Figure 6, take out all customer data in mail sample data, by grader, obtain user type U1, U2, U3 ...
Any one grader conventional at present can be adopted to choosing of grader, as Bayes, decision tree, neural net etc.
The execution sequence of step S202 and step S203 in no particular order, can carry out by exchange sequence, also can carry out simultaneously.
Step S204: according to email type feature database and user type feature database, determine the corresponding relation of user type and email type.
Determine that the process of the corresponding relation of user type and email type can comprise: from user type feature database, obtain the Customs Assigned Number being classified into selected user type; According to the Customs Assigned Number obtained, obtain the mail data of respective user, determine the quantity of email type involved by this user and all types of mail; According to the quantity of the email type determined and all types of mail, determine the corresponding relation of user type and email type.
Set up the principle of the corresponding relation of user type and email type as shown in Figure 7.
From user type feature database, obtain any user type Ui in U, such as: user type U1, user type U2, user type U3 ..., etc.
Obtain be classified into user type Ui Customs Assigned Number uj (j=1,2,3 ...), for user type U2, obtain Customs Assigned Number u1, Customs Assigned Number u4, Customs Assigned Number u7, Customs Assigned Number u9 etc. that user type U2 is corresponding.
Obtain the mail data mj corresponding to Customs Assigned Number uj.Such as: the mail data m9 etc. that the mail data m7 that the mail data m4 that the mail data m1 that Customs Assigned Number u1 is corresponding, Customs Assigned Number u4 are corresponding, Customs Assigned Number u7 are corresponding, Customs Assigned Number u9 are corresponding.
According to mail classes database U, mail data mj is classified, obtain some email type M and all types of in the mail number that comprises.Such as: mail data m1 and mail data m4 belongs to email type M3, mail data m7 and mail data m9 belongs to email type M6 etc.
Email type M is arranged, removes abnormal data (only having the situation of an envelope mail in such as certain type), obtain the email type Mk that user type Ui is corresponding.Such as shown in Fig. 7, the email type M3 that user type U2 is corresponding and email type M6 etc.
Thus set up the corresponding relation R of user type U and email type M.
After establishing the corresponding relation of user type and email type, namely can be used for follow-up filtrating mail flow process, step S201 to step S204 sets up the process of the corresponding relation of user type and email type, do not need all to perform one time before each new mail filters, only need the foundation according to setting or update rule, carry out setting up or upgrading, such as, periodically re-establish or upgrade, or re-establish or upgrade when possessing the update condition of setting.Optionally, the update condition of setting can be when having the new mail sample data of setting quantity.
Step S205: obtain the new mail that mail server receives.
Mail server receives new mail, starts the flow process performing filtrating mail, performs the principle of filtrating mail as shown in Figure 8.
Step S206: the new mail obtained is resolved.
As shown in Figure 8, new mail is resolved to the mail data and user data that obtain new mail,
Step S207: the mail data obtaining new mail, classifies to mail, determines the email type of this new mail.
As shown in Figure 8, after new mail being classified according to mail data, determine its email type Mk.
Step S208: the addressee user obtaining new mail, determines the user type belonging to addressee user.
According to the relevant information of addressee user in the mail data of the new mail obtained, the user type Uk belonging to addressee user can be determined.
This step identification mail addressee user, obtains the user type Uk that addressee user is corresponding.Optionally, these data can be precalculated, is kept in mail server, directly obtains during use, thus do not need to recalculate at every turn.
Step S209: the email type searching new mail whether in the user type belonging to addressee user allow in the email type received.
According to the corresponding relation of the user type set up in advance and email type, search the email type of new mail whether in the corresponding relation of the user type belonging to addressee user, if in, the then user type belonging to addressee user allow the email type that receives.
Such as, as shown in Figure 8, according to the corresponding relation of the user type set up above and email type, the user type institute obtained belonging to addressee user allows the email type of reception, searches the email type Mk of the new mail determined whether in the corresponding relation of the user type Uk belonging to addressee user.
When being judged as YES, perform step S210; Otherwise, perform step S211.
Step S210: determine that this new mail is not spam.
For the new mail by filtering, retaining, and being placed on corresponding mail reception position.
Step S211: determine that this new mail is spam.
For the new mail not by filtering, can delete, also can be placed on spam position, select the need of reception for addressee user.
A citing of the electronic mail filtering flow process of above-described embodiment two as shown in Figure 9 and Figure 10.
Wherein, Fig. 9 is the email type and user type corresponding relation exemplary plot set up.User u1, user u2, user u3 belong to user type U1, and user type U1 correspond to email type M1 and email type M4; User u4 and user u5 belongs to user type U5, and user type U5 correspond to email type M2 and email type M3
Figure 10 is the exemplary plot of the corresponding relation execution filtrating mail based on Fig. 9.When mail server receives new mail, new mail is resolved, get addressee user u2 and mail data; Mail data according to getting is classified to mail, and acquisition email type is M4; User type belonging to addressee user u2 is interested email type corresponding to the user of U1, U1 type is M1 and M4; Because new mail type is M4, in the range of interest of user type U1, therefore, new mail allows the mail received, and is not spam.
Embodiment three
The embodiment of the present invention three provides the another kind of concrete methods of realizing of above-mentioned electronic mail filtering method, the filtrating mail flow process that the filtrating mail flow process provided for the embodiment of the present invention uses as a supplement, spam after filtering the overall situation filters further, and its flow process as shown in figure 11.
Filtrating mail process as shown in figure 11, its process setting up the corresponding relation of user type and email type is with reference to step S201-step S204.
When mail server receives new mail, the new mail received is resolved, get addressee user and mail data, carry out the overall situation according to mail data and addressee user to the new mail received to filter, when carrying out overall situation filtration, existing mail filtering method can be adopted, when determining to be good mail (i.e. the non-spam email) that allow to receive, remain to the reception mail position of addressee user, such as inbox; When determining the spam not allowing to receive, put into dustbin.
Obtain the spam determined after carrying out overall situation filtration to the new mail received, the spam determined after filtering the overall situation obtained according to the mail data of above-mentioned acquisition is classified, and determines the email type of the spam obtained.And determine user type according to the addressee user of above-mentioned acquisition, after the user type of above-mentioned foundation and the corresponding relation of email type, determine this user type allow receive email type, judge whether the spam determined after the overall situation that gets is filtered allows in the email type of reception in this user type institute, if, then redefining the spam determined after this overall situation is filtered is not spam, otherwise determines that the spam determined after this overall situation is filtered is not spam.
That is, the electronic mail filtering method that the embodiment of the present invention provides, can as a complete independently electronic mail filtering scheme; Also as an additional project of overall filtrating mail scheme, can be used for carrying out recall operation to erroneous judgement mail, can use flexibly according to the own characteristic of actual mailing system.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic mail filtering device, and its structure as shown in figure 12, comprising: acquisition module 121, sort module 122, judge module 123 and determination module 124.
Acquisition module 121, for obtaining Email to be filtered.
Sort module 122, for determining the email type of the Email obtained, and determines the user type belonging to addressee user of the Email obtained.
Judge module 123, for the corresponding relation according to the user type set up in advance and email type, judges that the email type of the Email to be filtered user type institute whether belonged to belonging to addressee user allows the email type of reception.
Determination module 124, for when judge module 123 is judged as YES, determines that Email to be filtered is not spam; When being judged as NO, determine that Email to be filtered is spam.
7 is preferred, and above-mentioned electronic mail filtering device also comprises training module 125, and for obtaining the mail sample data of user, wherein, mail sample data comprises mail data and user data; Set up email type feature database according to mail data, set up user type feature database according to user data; According to email type feature database and user type feature database, determine the corresponding relation of user type and email type.
Preferably, above-mentioned training module 125, specifically for obtaining the Customs Assigned Number being classified into selected user type from user type feature database; According to the Customs Assigned Number obtained, obtain the mail data of respective user, determine the quantity of email type involved by this user and all types of mail; According to the quantity of the email type determined and all types of mail, determine the corresponding relation of user type and email type.
Preferably, above-mentioned acquisition module 121, specifically for obtaining the new mail received; Or obtain to the new mail received carry out the overall situation filter after the spam determined.
The electronic mail filtering method that the embodiment of the present invention provides and device, the data type stored is needed to have 3 kinds: the email type feature database set up email type, to the user type feature database that user type is set up, the email type (corresponding relation) that often kind of user type is corresponding.In addition, as required, optionally, each user can be stored and belong to which kind of user type.
According to statistics, email type common at present has ten a few to tens of kinds, the degree that becomes more meticulous of email type can be determined according to its own system feature, on the whole can not more than 100 kinds, email type in email type feature database on the whole can not more than 100 kinds, and do not increase with the increase of customer volume, once decide, can stable for extended periods of time.In like manner, the user type in user type feature database is also like this.Its amount of information comprised of the corresponding relation of user type, user type and email type is fairly simple, takies memory space little, only has several byte, even if also can not take too many memory space when customer volume is very large.Comprehensive, the total amount of the data of above-mentioned several types can not be very large, and therefore, the implementation of the embodiment of the present invention can save memory space effectively, and the process of information processing is also simple and convenient, thus further, improves filtrating mail efficiency.
Those skilled in the art can also recognize the various illustrative components, blocks (illustrativelogicalblock) that the embodiment of the present invention is listed, unit, and step can pass through electronic hardware, computer software, or both combinations realize.For the replaceability (interchangeability) of clear displaying hardware and software, above-mentioned various illustrative components (illustrativecomponents), unit and step have universally described their function.Such function is the designing requirement realizing depending on specific application and whole system by hardware or software.Those skilled in the art for often kind of specifically application, can use the function described in the realization of various method, but this realization can should not be understood to the scope exceeding embodiment of the present invention protection.
Various illustrative logical block described in the embodiment of the present invention, or unit can pass through general processor, digital signal processor, application-specific integrated circuit (ASIC) (ASIC), field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the design of above-mentioned any combination realizes or operates described function.General processor can be microprocessor, and alternatively, this general processor also can be any traditional processor, controller, microcontroller or state machine.Processor also can be realized by the combination of calculation element, such as digital signal processor and microprocessor, multi-microprocessor, and a Digital Signal Processor Core combined by one or more microprocessor, or other similar configuration any realizes.
The software module that method described in the embodiment of the present invention or the step of algorithm directly can embed hardware, processor performs or the combination of both.Software module can be stored in the storage medium of other arbitrary form in RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area.Exemplarily, storage medium can be connected with processor, with make processor can from storage medium reading information, and write information can be deposited to storage medium.Alternatively, storage medium can also be integrated in processor.Processor and storage medium can be arranged in ASIC, and ASIC can be arranged in user terminal.Alternatively, processor and storage medium also can be arranged in the different parts in user terminal.
In one or more exemplary design, the above-mentioned functions described by the embodiment of the present invention can realize in the combination in any of hardware, software, firmware or this three.If realized in software, these functions can store on the medium with computer-readable, or are transmitted on the medium of computer-readable with one or more instruction or code form.Computer readable medium comprises computer storage medium and is convenient to make to allow computer program transfer to the communication medium in other place from a place.Storage medium can be that any general or special computer can the useable medium of access.Such as, such computer readable media can include but not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other anyly may be used for carrying or store the medium that can be read the program code of form with instruction or data structure and other by general or special computer or general or special processor.In addition, any connection can be properly termed computer readable medium, such as, if software is by a coaxial cable, fiber optic cables, twisted-pair feeder, Digital Subscriber Line (DSL) or being also comprised in defined computer readable medium with wireless way for transmittings such as such as infrared, wireless and microwaves from a web-site, server or other remote resource.Described video disc (disk) and disk (disc) comprise Zip disk, radium-shine dish, CD, DVD, floppy disk and Blu-ray Disc, and disk is usually with magnetic duplication data, and video disc carries out optical reproduction data with laser usually.Above-mentioned combination also can be included in computer readable medium.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. an electronic mail filtering method, is characterized in that, comprising:
Obtain Email to be filtered;
Determine the email type of described Email, and determine the user type belonging to addressee user of described Email;
According to the corresponding relation of the user type set up in advance and email type, judge the email type of described Email to be filtered whether belong to user type belonging to described addressee user allow the email type that receives;
When being judged as YES, determine that described Email to be filtered is not spam; When being judged as NO, determine that described Email to be filtered is spam.
2. the method for claim 1, is characterized in that, the process setting up the corresponding relation of user type and email type comprises:
Obtain the mail sample data of user, wherein, mail sample data comprises mail data and user data;
Set up email type feature database according to described mail data, set up user type feature database according to described user data;
According to described email type feature database and described user type feature database, determine the corresponding relation of user type and email type.
3. method as claimed in claim 2, is characterized in that, determine the corresponding relation of user type and email type, specifically comprise:
The Customs Assigned Number being classified into selected user type is obtained from described user type feature database;
According to the Customs Assigned Number obtained, obtain the mail data of respective user, determine the quantity of email type involved by this user and all types of mail;
According to the quantity of the email type determined and all types of mail, determine the corresponding relation of user type and email type.
4. method as claimed in claim 2, is characterized in that, comprising:
Described mail data comprises at least one item in following message: mail numbering, envelope sender, letter body sender, transmit IP, mail matter topics and theme participle, message body and text participle;
Described user data comprises at least one item in following message: Customs Assigned Number, hour of log-on, age, occupation, liveness, user behavior, conventional log in ground, conventional login mode.
5. the method as described in as arbitrary in claim 1-4, is characterized in that, obtain Email to be filtered, specifically comprise:
Obtain the new mail received; Or
Obtain the spam determined after overall situation filtration is carried out to the new mail received.
6. an electronic mail filtering device, is characterized in that, comprising:
Acquisition module, for obtaining Email to be filtered;
Sort module, for determining the email type of described Email, and determines the user type belonging to addressee user of described Email;
Judge module, for the corresponding relation according to the user type set up in advance and email type, judges that the email type of the described Email to be filtered user type institute whether belonged to belonging to described addressee user allows the email type of reception;
Determination module, for when described judge module is judged as YES, determines that described Email to be filtered is not spam; When being judged as NO, determine that described Email to be filtered is spam.
7. device as claimed in claim 1, is characterized in that, also comprise training module, for:
Obtain the mail sample data of user, wherein, mail sample data comprises mail data and user data;
Set up email type feature database according to described mail data, set up user type feature database according to described user data;
According to described email type feature database and described user type feature database, determine the corresponding relation of user type and email type.
8. device as claimed in claim 7, is characterized in that, described training module, specifically for:
The Customs Assigned Number being classified into selected user type is obtained from described user type feature database;
According to the Customs Assigned Number obtained, obtain the mail data of respective user, determine the quantity of email type involved by this user and all types of mail;
According to the quantity of the email type determined and all types of mail, determine the corresponding relation of user type and email type.
9. the device as described in as arbitrary in claim 6-8, is characterized in that, described acquisition module, specifically for:
Obtain the new mail received; Or
Obtain the spam determined after overall situation filtration is carried out to the new mail received.
10. an e-mail server, is characterized in that, comprising: the electronic mail filtering device as described in as arbitrary in claim 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510470653.0A CN105049334A (en) | 2015-08-04 | 2015-08-04 | E-mail filtering method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510470653.0A CN105049334A (en) | 2015-08-04 | 2015-08-04 | E-mail filtering method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105049334A true CN105049334A (en) | 2015-11-11 |
Family
ID=54455555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510470653.0A Pending CN105049334A (en) | 2015-08-04 | 2015-08-04 | E-mail filtering method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105049334A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027504A (en) * | 2016-05-09 | 2016-10-12 | 哈尔滨工程大学 | Junk email filtering system and method based on user behaviour classification |
CN106060021A (en) * | 2016-05-20 | 2016-10-26 | 腾讯科技(深圳)有限公司 | E-mail identification method, device and system |
CN106789590A (en) * | 2017-01-03 | 2017-05-31 | 青岛海信移动通信技术股份有限公司 | The sorting technique and device of e-mail sending |
CN108965350A (en) * | 2018-10-23 | 2018-12-07 | 杭州安恒信息技术股份有限公司 | A kind of mail auditing method, device and computer readable storage medium |
CN110519150A (en) * | 2018-05-22 | 2019-11-29 | 深信服科技股份有限公司 | Mail-detection method, apparatus, equipment, system and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645395A (en) * | 2005-02-22 | 2005-07-27 | 中国科学院计算技术研究所 | Method for discovering user interest in e-mail flow and transmitting document effectively |
CN103605791A (en) * | 2013-12-04 | 2014-02-26 | 深圳中兴网信科技有限公司 | Information pushing system and information pushing method |
CN103679433A (en) * | 2012-09-13 | 2014-03-26 | 国际商业机器公司 | Method and system for verifying recipients of outgoing e-mail message |
-
2015
- 2015-08-04 CN CN201510470653.0A patent/CN105049334A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645395A (en) * | 2005-02-22 | 2005-07-27 | 中国科学院计算技术研究所 | Method for discovering user interest in e-mail flow and transmitting document effectively |
CN103679433A (en) * | 2012-09-13 | 2014-03-26 | 国际商业机器公司 | Method and system for verifying recipients of outgoing e-mail message |
CN103605791A (en) * | 2013-12-04 | 2014-02-26 | 深圳中兴网信科技有限公司 | Information pushing system and information pushing method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027504A (en) * | 2016-05-09 | 2016-10-12 | 哈尔滨工程大学 | Junk email filtering system and method based on user behaviour classification |
CN106060021A (en) * | 2016-05-20 | 2016-10-26 | 腾讯科技(深圳)有限公司 | E-mail identification method, device and system |
CN106060021B (en) * | 2016-05-20 | 2018-11-27 | 腾讯科技(深圳)有限公司 | A kind of Email recognition methods, device and system |
CN106789590A (en) * | 2017-01-03 | 2017-05-31 | 青岛海信移动通信技术股份有限公司 | The sorting technique and device of e-mail sending |
CN106789590B (en) * | 2017-01-03 | 2020-03-31 | 青岛海信移动通信技术股份有限公司 | Mail sender classification method and device |
CN110519150A (en) * | 2018-05-22 | 2019-11-29 | 深信服科技股份有限公司 | Mail-detection method, apparatus, equipment, system and computer readable storage medium |
CN110519150B (en) * | 2018-05-22 | 2022-09-30 | 深信服科技股份有限公司 | Mail detection method, device, equipment, system and computer readable storage medium |
CN108965350A (en) * | 2018-10-23 | 2018-12-07 | 杭州安恒信息技术股份有限公司 | A kind of mail auditing method, device and computer readable storage medium |
CN108965350B (en) * | 2018-10-23 | 2021-04-23 | 杭州安恒信息技术股份有限公司 | Mail auditing method, device and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105049334A (en) | E-mail filtering method and device | |
CN102024045B (en) | Information classification processing method, device and terminal | |
US7769815B2 (en) | System and method for determining that an email message is spam based on a comparison with other potential spam messages | |
CN103136266A (en) | Method and device for classification of mail | |
CN104021160B (en) | Client data cleaning method and device | |
CN102456022A (en) | Short message management method and system | |
CN102769687B (en) | Mass texting system and method | |
CN105808988A (en) | Method and device for identifying exceptional account | |
CN105095223A (en) | Method for classifying texts and server | |
CN105812231A (en) | Chatting record fast identification method and device thereof | |
CN101547249A (en) | Mobile termination and information classification management method thereof | |
CN109740133A (en) | Summarize email solution, device, equipment and storage medium based on artificial intelligence | |
CN106933883B (en) | Method and device for classifying common search terms of interest points based on search logs | |
WO2016197814A1 (en) | Junk file identification and management method, identification device, management device and terminal | |
CN102811207A (en) | Network information pushing method and system | |
CN104021205A (en) | Method and device for establishing microblog index | |
CN102098638A (en) | Short message sorting method and device, and terminal | |
CN106156105A (en) | Email polymerization sorting technique and device | |
CN105915440A (en) | Mail recognition method and device | |
CN101686279A (en) | Short message automatic clustering and collecting method | |
JP2001331422A (en) | Email evaluation device | |
CN107025269A (en) | A file processing method, device and intelligent terminal | |
KR20150032888A (en) | Method and terminal for processing message service | |
CN103796184A (en) | Spam short message recognition method and system | |
KR100791552B1 (en) | Spam post blocking system and its operation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151111 |
|
RJ01 | Rejection of invention patent application after publication |