A method, device and storage medium for mail processing

By detecting and comparing the similarity between email content and attachments, the mass email processing is automatically processed, which solves the inefficiency of email processing and data omissions caused by the increase in the number of employees in the enterprise, and realizes efficient email summary and summary.

CN112199934BActive Publication Date: 2025-01-10STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010912627.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-03
Publication Date
2025-01-10
Estimated Expiration
2040-09-03

AI Technical Summary

Technical Problem

In an enterprise, as the number of employees increases, the number of mass emails increases exponentially, resulting in the sender needing to perform multiple manual operations to summarize and summarize the data of email reply, which is inefficient and is prone to data omissions or errors due to human errors.

Method used

By detecting whether the email carries a mass sending logo, comparing the similarity between the email content and attachments, determining whether it needs to be processed, and merging it, reducing duplicate operations and improving work efficiency.

Benefits of technology

It effectively reduces the repetitive work of the sender, improves the efficiency of email processing, avoids data omissions and errors, and ensures accurate summary and induction of mass emails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112199934B_ABST
    Figure CN112199934B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for processing mails, comprising the following steps: A, obtaining mails to be received, detecting whether the mails to be received carry a mass-sending mark, if not, ending, if yes, entering step B; B, comparing the mail contents of any two mails to be received to obtain the similarity of the mail contents, judging whether the similarity of the mail contents reaches a first preset similarity threshold, if not, ending, if yes, the two mails to be received are similar mails; C, obtaining mail attachments of similar mails, comparing the mail attachments of similar mails to obtain the similarity of the mail attachments, judging whether the similarity of the mail attachments reaches a second preset similarity threshold, if not, ending, if yes, entering step D; D, merging the mail attachments of similar mails. The present invention also discloses a mail processing device and a storage medium, which improves the working efficiency of mass-sending mail processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a mail processing method, device and storage medium. Background Art

[0002] With the development of technology and the growth of enterprises, enterprises have more and more standardized requirements for internal office processes, and emails have gradually become an important part of office processes. However, when the number of employees in a company increases, the number of emails will also increase exponentially. Therefore, the automated processing of emails is particularly important. Especially when the same email requires collaboration from multiple parties, the sender needs to process the replies to the group messages from multiple people. In the prior art, the sender can only summarize the feedback data in each reply through manual repetitive operations. However, this email processing method will cause the sender to need to manually repeat the operation many times, which is inefficient and requires the email data to be summarized. When the number of group emails is large, the same subject emails are prone to data omissions or errors due to human errors. Summary of the invention

[0003] 1. Technical issues to be resolved

[0004] In view of the above problems, the present invention provides a method, device and storage medium for email processing, which realizes automatic processing of emails for group emails and improves the work efficiency of email processing.

[0005] (II) Technical solution

[0006] Based on the above technical problem, the present invention provides a method for processing mails, comprising the following steps:

[0007] A. Obtain the email to be received, and detect whether the email to be received carries a group sending mark. If not, the process ends; if yes, the process proceeds to step B.

[0008] B. Compare the email contents of any two emails to be received to obtain the similarity of the email contents, and determine whether the similarity of the email contents reaches a first preset similarity threshold. If not, then end. If yes, then the two emails to be received are similar emails;

[0009] C. Obtain the email attachments of the similar emails, compare the email attachments of the similar emails to obtain the similarity of the email attachments, and determine whether the similarity of the email attachments reaches a second preset similarity threshold. If not, end the process; if yes, proceed to step D.

[0010] D. Merge the email attachments of the similar emails.

[0011] Furthermore, the step A and the step C further include:

[0012] E. Determine whether the to-be-received mail needs to be processed. If not, end the process. If yes, proceed to step B. The method for determining whether the to-be-received mail needs to be processed is as follows:

[0013] E1. Obtaining the sent email corresponding to each email to be received;

[0014] E2. Compare the email title of the email to be received with the email title of each of the sent emails to obtain the similarity of the email titles;

[0015] E3. Determine whether the similarity of the email title reaches a preset title similarity threshold. If not, the email to be received does not need to be processed. If so, the email to be received needs to be processed.

[0016] Furthermore, the method for comparing the similarity of the email contents in step B includes:

[0017] B1. Obtaining all sent emails corresponding to the emails to be received;

[0018] B2. Cross-comparing the email contents of every two of the to-be-received emails with the corresponding sent emails to obtain the similarity of the email contents, where the similarity is the ratio of the same words contained therein.

[0019] Furthermore, the method for comparing the similarity of the email attachments in step C includes:

[0020] C1. Obtaining the attachment structure of the email attachment of the similar email;

[0021] C2. Compare the attachment structures to obtain similarities of the email attachments.

[0022] Furthermore, the merging method in step D is to merge the attachment contents of each of the similar emails according to the attachment structure.

[0023] Furthermore, the email content to be compared includes the email title and / or the attachment title.

[0024] Furthermore, the method for obtaining the email to be received in step A is:

[0025] A1. Obtain the to-be-received email on the email web page, save the to-be-received email to the local terminal according to a preset format, and release the mailbox memory;

[0026] A2. Open the to-be-received email stored locally on the terminal through an email client.

[0027] Furthermore, the method further comprises:

[0028] F. Processing of mails to be sent, wherein the mails to be received are mails to be sent before being sent, including:

[0029] F1. The group sending identifier is automatically added to the email title of the email to be sent. The group sending identifier is the group sending ID, which is used to identify that the email belongs to the group sending nature;

[0030] F2. Add a preset mass-sending attachment template to the email to be sent, wherein the preset mass-sending attachment template includes at least one of an email title template, an email body template, and an email attachment template.

[0031] The present invention also discloses a mail processing device, comprising:

[0032] at least one processor; and at least one memory in communication with the processor, wherein:

[0033] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the email processing method; the program instructions include functional modules: an email acquisition module, configured to execute step A; a similarity comparison module, configured to execute steps B and C; and a mail merge module, configured to execute step D.

[0034] The present invention also discloses a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the mail processing method.

[0035] (III) Beneficial effects

[0036] The above technical solution of the present invention has the following advantages:

[0037] (1) The present invention effectively processes mass emails and quickly helps senders of mass emails to summarize and summarize the reply emails to the mass emails, thereby reducing the senders' repetitive work, thereby greatly improving work efficiency and avoiding the omission of processing emails with the same subject and the omission and error of email data due to human factors;

[0038] (2) The present invention determines whether the email to be received needs to be processed by the group identification and the similarity comparison of the email content and the similarity comparison of the email attachments, and makes multiple judgments to ensure that the email to be received is the group email that needs data summary and processing targeted by the present application;

[0039] (3) The similarity comparison of the email content of the present invention adopts different dimensions, and uses a cross-comparison method to compare from different angles of the email title and the attachment title. Compared with a one-to-one similarity comparison, the comparison dimensions are more numerous, the similarity requirements are stricter, and the judgment of similar emails is more accurate;

[0040] (4) The present invention realizes the merging of email attachments according to the attachment structure, which is beneficial to the summary and induction of email data. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:

[0042] Figure 1 An application environment diagram of a mail processing method according to an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of a flow chart of a mail processing method according to an embodiment of the present invention;

[0044] Figure 3 A structural block diagram of a mail processing device according to an embodiment of the present invention;

[0045] Figure 4 An internal structural diagram of a computer device for mail processing according to an embodiment of the present invention;

[0046] In the figure: 1: Email acquisition module; 2: Similarity comparison module; 3: Email merge module. DETAILED DESCRIPTION

[0047] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0048] The present application provides a method for processing mails, which can be applied to Figure 1 In the application environment shown. The terminal communicates with the server through the network, and the terminal can obtain the email to be received from the server through the network communication. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server can be implemented as an independent server or a server cluster composed of multiple servers.

[0049] This application provides a method for mail processing, such as Figure 2 As shown, in one embodiment, Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0050] A. Get the email to be received, and check whether the email to be received carries a group sending mark. If not, end the process. If yes, proceed to step E.

[0051] The to-be-received email refers to an email that is in an unread state and is waiting to be processed. The terminal can obtain the to-be-received email from the server, and the terminal detects the email title of the to-be-received email. When the terminal detects that the email title of the to-be-received email carries a group identification, it can be confirmed that the to-be-received email belongs to a group email. The group identification is the group ID, which is used to identify that the email belongs to a group nature. When the sender selects a group email, the group identification will be automatically added to the email title. The group identification is unique and is used to identify the group email. The corresponding group email can also be found based on the group identification later, which is convenient for recording and tracing.

[0052] The method for obtaining the email to be received is as follows:

[0053] A1. Obtain the to-be-received email on the email web page, save the to-be-received email to the local terminal according to a preset format, and release the mailbox memory;

[0054] A2. Open the to-be-received email stored locally on the terminal through an email client.

[0055] Since the web mailbox has memory limitations, the terminal can first obtain the mails to be received through the web, and then save the mails to be received to the terminal locally according to the preset format, and release the mailbox memory to receive the remaining mails to be received. After saving to the local, the terminal can open the saved mails through the mailbox client. This process can be called mail archiving, and the purpose is to automatically release the mailbox memory to ensure that the remaining mails to be received can be received normally.

[0056] E. Determine whether the to-be-received email needs to be processed. If not, end the process. If yes, proceed to step B.

[0057] The method for determining whether the to-be-received mail needs to be processed is:

[0058] E1. Obtaining the sent email corresponding to each email to be received;

[0059] E2. Compare the email title of the email to be received with the email title of each of the sent emails to obtain the similarity of the email titles;

[0060] E3. Determine whether the similarity of the email title reaches a preset title similarity threshold. If not, the email to be received does not need to be processed. If so, the email to be received needs to be processed. The similarity is determined by the proportion of the same text contained therein.

[0061] For each waiting-to-receive mass mail, the corresponding sent mail can be queried. When the terminal successfully sends a mass mail, it can receive multiple reply mails for the mass mail. When the reply mail is in the waiting-to-receive state, it can be called a waiting-to-receive mail, that is, the mail that is still unread or waiting to be received can be called a waiting-to-receive mail.

[0062] Specifically, the terminal can obtain the sent email corresponding to each email to be received, and then compare the sent email corresponding to each email to be received with the email title of the email to be received. When the similarity of the email title reaches a preset title similarity threshold, it can be determined that the email to be received needs to be processed. After further confirming that the file to be received is suitable for processing by this method, the next step B can be entered, that is, the step of comparing the similarity of the email content of the email to be received.

[0063] B. Compare the email contents of any two emails to be received to obtain the similarity of the email contents, and determine whether the similarity of the email contents reaches a first preset similarity threshold. If not, then end. If yes, then the two emails to be received are similar emails;

[0064] The method for comparing the similarity of the email contents includes:

[0065] B1. Obtaining all sent emails corresponding to the emails to be received;

[0066] B2. Cross-comparing the email contents of every two of the to-be-received emails with the corresponding sent emails to obtain the similarity of the email contents, including cross-comparing the email titles of the to-be-received emails with the email titles of the sent emails, and / or cross-comparing the attachment titles of the to-be-received emails with the attachment titles of the sent emails.

[0067] When comparing the similarity of the email contents to be received, there are multiple comparison dimensions. The compared email contents include email titles and / or attachment titles. The cross comparison means that the email M to be received is compared with the corresponding sent email N of the email N to be received, and the email N to be received is compared with the corresponding sent email M of the email M to be received.

[0068] In one embodiment, if the terminal obtains a total of 100 to-be-received emails that have been confirmed as group emails in step A and as emails that need to be processed in step E: Y1, Y2, Y3, Y4, ..., Y100, when comparing the similarity of the email contents between the emails, the sent emails corresponding to the 100 to-be-received emails can be obtained, which are S1, S2, S3, S4, ..., S100. By comparing the similarity of the email contents of any two to-be-received emails, the to-be-received emails and the sent emails of the two emails can be compared respectively. For example, for the to-be-received emails Y1 and Y2, the sent emails S1 and S2 corresponding to these two emails can be obtained, and then the email title of the to-be-received email Y1 can be compared with the email title of the sent email S2, and the email title of the to-be-received email Y2 can be compared with the email title of the sent email S1; the attachment title of the to-be-received email Y1 can also be compared with the attachment title of the sent email S2, and the attachment title of the to-be-received email Y2 can be compared with the attachment title of the sent email S1, so as to confirm the similarity of the email content between the to-be-received emails Y1 and Y2.

[0069] The similarity of the email content is determined based on the proportion of the same text contained in the email title or attachment title. For example, the email title of the to-be-received email Y1 is: Fill in the first quarter financial data of 2020-Li San, and the email title of the sent email S1 is: Fill in the first quarter financial data of 2020-Wang Si-Reply. It can be seen that the similarity between the email title of the to-be-received email Y1 and the email title of the sent email S2 is 83.3%. Assuming that the first preset similarity threshold is 70%, it can be known that the similarity of the email content of the above-mentioned to-be-received emails Y1 and Y2 is 83.3%, which has exceeded 70%. Therefore, it can be determined that the to-be-received emails Y1 and Y2 are similar emails.

[0070] When using the above multi-dimensional cross-comparison method to confirm whether two to-be-received emails are similar, there are multiple confirmation methods. For example, in the first method, only one of the conditions needs to be met to confirm that the two to-be-received emails are similar. In other words, the confirmation standard can be set to that as long as any one of the following conditions is met, the two to-be-received emails can be considered similar:

[0071] Condition 1: The similarity between the email title of the to-be-received email Y1 and the email title of the sent email S2 reaches a preset first similarity;

[0072] Condition 2: The similarity between the email title of the to-be-received email Y2 and the email title of the sent email S1 reaches a preset first similarity;

[0073] Condition 3: The similarity between the attachment title of the to-be-received email Y1 and the attachment title of the sent email S2 reaches a preset first similarity;

[0074] Condition 4: The similarity between the attachment title of the to-be-received email Y2 and the attachment title of the sent email S1 reaches a preset first similarity.

[0075] The confirmation method can also be set to perform weighted summation of the four comparison dimensions to see whether the value obtained by the summation reaches the preset first similarity. If the preset first similarity value is reached, the two emails to be received are determined to be similar emails, otherwise the two emails to be received are determined not to be similar emails. The weight of each dimension can be customized according to project requirements.

[0076] C. Obtain the email attachments of the similar emails, compare the email attachments of the similar emails to obtain the similarity of the email attachments, and determine whether the similarity of the email attachments reaches a second preset similarity threshold. If not, end the process; if yes, proceed to step E.

[0077] The method for comparing the similarity of the email attachments includes:

[0078] C1. Obtaining the attachment structure of the email attachment of the similar email;

[0079] C2. Compare the attachment structures to obtain similarities of the email attachments.

[0080] When it is determined that the two to-be-received emails are similar, the terminal can further obtain the email attachments carried in the similar emails and compare the similarity of the email attachments. When it is determined that the similarity of the email attachments between the similar emails reaches a preset second similarity value, the next step D is entered, i.e., the step of merging the email attachments of the similar emails.

[0081] When comparing the attachment similarity of email attachments, the attachment structure of the email attachments can be compared to confirm the similarity of the email attachments. For example, if the email attachment is an Excel spreadsheet file, the structure of the spreadsheet can be obtained: such as the number of rows and columns in the spreadsheet, the header name of the spreadsheet, the title name of each row, the title name of each column, etc. The email attachments can be compared by comparing the table structure.

[0082] D. Merging the attachments of the similar emails, wherein the merging method is to merge the attachment contents of each of the similar emails according to the attachment structure.

[0083] The terminal can merge the attachment contents of similar emails according to the attachment structure. For example, the sender sends a group email to 20 colleagues, requiring each person to fill in the corresponding data in the table of the email attachment. Later, the sender receives email replies from the 20 colleagues, then the terminal can compare the attachment structures of the 20 email attachments. When the similarity of the attachment structures of these email attachments reaches the second preset similarity threshold, the terminal can automatically merge the 20 email attachments, that is, automatically read the data in the 20 tables and merge them into a table with complete data. Then the sender only needs to get this merged table to obtain the data of all replies, which greatly simplifies repetitive work and improves work efficiency.

[0084] In one embodiment, the method further comprises before step A:

[0085] F. Processing of mails to be sent: The mails to be received are mails to be sent before being sent, including:

[0086] F1. The group sending mark is automatically added to the email title of the email to be sent, including: obtaining the email to be sent; judging whether the email to be sent is a group sending mark, if so, adding the group sending mark to the email title of the email to be sent, otherwise, not adding the group sending mark to the email title of the email to be sent.

[0087] When sending an email, the sender can freely assign a group, or fill in the recipient by himself through the recipient search function. After the terminal determines that the email belongs to a group email, it will automatically add a group identifier to the email title of the email to be sent. The group identifier can be temporarily generated or randomly selected from a group identifier table. For example, the group identifier can be a set of time-related numbers temporarily generated according to the current time, or multiple group identifiers can be generated in advance according to certain rules. When used later, you can select any one from the generated group identifiers. The group identifier is unique and is used to identify the group email. The corresponding group email can also be found based on the group identifier later, which is convenient for recording and tracing.

[0088] F2. Add a preset mass-sending attachment template to the email to be sent, wherein the preset mass-sending attachment template includes at least one of an email title template, an email body template, and an email attachment template.

[0089] When it is determined that the sender selects a mass email, the terminal will automatically add a preset mass attachment template to the email to be sent, wherein the preset mass attachment template includes at least one of an email title template, an email body template, and an email attachment template.

[0090] The present invention also provides an email processing device using the email processing method, including at least one processor and at least one memory communicatively connected to the processor, the memory storing program instructions executable by the processor, and the processor calling the program instructions to execute the email processing method.

[0091] The program instructions are divided into functional modules, including an email acquisition module 1, a similarity comparison module 2, and an email merging module 3, which are connected in sequence. Figure 3 As shown, specifically:

[0092] The mail acquisition module 1 is used to execute step A, acquire the mail to be received and detect whether it carries a group sending mark, and also to acquire the sent mail corresponding to the mail to be received;

[0093] Similarity comparison module 2 is used to execute steps E, B, and C, compare the email title of the email to be received with each of the sent emails to obtain the similarity of the email title, if the similarity of the email title is greater than the preset title similarity threshold, then compare the similarity of the email content of any two emails to be received to obtain the similarity of the email content, if the similarity of the email content is greater than the first preset similarity threshold, then compare the email attachments of the similar emails to obtain the similarity of the email attachments, and compare the similarity of the email attachments with the second preset similarity threshold. The similarity is the proportion of the same text contained, including the proportion of the same text contained in the email title, attachment title, and attachment structure respectively.

[0094] The mail merging module 3 is used to execute step D, and when it is determined that the similarity of the mail attachments between similar mails reaches a second preset similarity threshold, merge the mail attachments of the similar mails.

[0095] In one embodiment, the functional module of the program instruction also includes a mass mailing template adding module (not shown in the figure), which is used to execute step F, obtain the email to be sent, and when it is determined that the email to be sent is a mass mail, add a mass mailing logo to the email title of the email to be sent, and add a preset mass mailing attachment template to the email to be sent.

[0096] The processor includes a kernel, which retrieves corresponding program units from the memory. One or more kernels can be set, and mass emails can be automatically processed by adjusting kernel parameters.

[0097] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0098] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the method for processing mails in the above embodiment is executed.

[0099] An embodiment of the present invention provides a processor configured to execute the method for processing mail in the above embodiment. For example, the processor may be configured to run a program to execute the method for processing mail.

[0100] like Figure 4 As shown, an embodiment of the present invention provides a device, which includes a processor, a memory, a network interface, a display screen, an input device, and a program instruction stored in the memory and executable on the processor, and the processor implements the mail processing method when executing the program instruction. The device can be a server, a PC, a PAD, a mobile phone, etc.

[0101] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initiating the method for mail processing as described above.

[0102] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0103] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0104] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0106] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0107] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0108] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0109] In summary, the above-mentioned mail processing method, device and storage medium have the following advantages:

[0110] (1) The present invention effectively processes mass emails and quickly helps senders of mass emails to summarize and summarize the reply emails to the mass emails, thereby reducing the senders' repetitive work, thereby greatly improving work efficiency and avoiding the omission of processing emails with the same subject and the omission and error of email data due to human factors;

[0111] (2) The present invention determines whether the email to be received needs to be processed by the group identification and the similarity comparison of the email content and the similarity comparison of the email attachments, and makes multiple judgments to ensure that the email to be received is the group email that needs data summary and processing targeted by the present application;

[0112] (3) The similarity comparison of the email content of the present invention adopts different dimensions, and uses a cross-comparison method to compare from different angles of the email title and the attachment title. Compared with a one-to-one similarity comparison, the comparison dimensions are more numerous, the similarity requirements are stricter, and the judgment of similar emails is more accurate;

[0113] (4) The present invention realizes the merging of email attachments according to the attachment structure, which is beneficial to the summary and induction of email data.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations shall fall within the scope defined by the appended claims.

Claims

1. A method for processing mail, characterized in that: The following steps are involved: A. Obtain the email to be received, and detect whether the email to be received carries a group sending mark. If not, the process ends; if yes, the process proceeds to step E. B. Compare the email contents of any two emails to be received to obtain the similarity of the email contents, and determine whether the similarity of the email contents reaches a first preset similarity threshold. If not, then end. If yes, then the two emails to be received are similar emails; C. Obtain the email attachments of the similar emails, compare the email attachments of the similar emails to obtain the similarity of the email attachments, and determine whether the similarity of the email attachments reaches a second preset similarity threshold. If not, end the process; if yes, proceed to step D. D. merging the email attachments of the similar emails; Step E between step A and step B includes: E. judging whether the to-be-received mail needs to be processed, if not, then ending, if yes, then entering step B; the method for judging whether the to-be-received mail needs to be processed is: E1. obtaining the sent mail corresponding to each of the to-be-received mails; E2. comparing the mail title of the to-be-received mail with the mail title of each of the sent mails to obtain the similarity of the mail title; E3. judging whether the similarity of the mail title reaches a preset title similarity threshold, if not, then the to-be-received mail does not need to be processed, if yes, then the to-be-received mail needs to be processed; The method for comparing the similarity of the email contents in step B includes: B1, obtaining all the sent emails corresponding to the emails to be received; B2, cross-comparing the email contents of every two emails to be received with the corresponding sent emails to obtain the similarity of the email contents, wherein the similarity is the proportion of the same text contained.

2. A mail processing method according to claim 1, characterized in that: The method for comparing the similarity of the email attachments in step C includes: C1, obtaining the attachment structure of the email attachment of the similar email; C2, comparing the attachment structure to obtain the similarity of the email attachment.

3. A mail processing method according to claim 1, characterized in that: The merging method in step D is to merge the attachment contents of each of the similar emails according to the attachment structure.

4. A mail processing method according to claim 3, characterized in that: The email content to be compared includes the email title and / or the attachment title.

5. A mail processing method according to claim 1, characterized in that: The method for obtaining the to-be-received email in step A is: A1, obtaining the to-be-received email on the email web page, saving the to-be-received email to the local terminal according to a preset format, and releasing the mailbox memory; A2, opening the to-be-received email saved in the local terminal through the email client.

6. A mail processing method according to claim 1, characterized in that: The method also includes: F. Processing of the email to be sent, the email to be received is the email to be sent before being sent, including: F1. The group identification is automatically added to the email title of the email to be sent, the group identification is the group ID, which is used to identify that the email belongs to the group nature; F2. Adding a preset group attachment template to the email to be sent, the preset group attachment template includes at least one of an email title template, an email body template and an email attachment template.

7. A mail processing device, characterized in that: include: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the mail processing method according to any one of claims 1 to 6; the program instructions include functional modules: a mail acquisition module, configured to execute step A; a similarity comparison module, configured to execute steps B and C; and a mail merge module, configured to execute step D.

8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the mail processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Mail processing method and terminal

    CN103338147A

  • Server, client, mail display method and system

    CN107800610A