WO2017049917A1 - 一种邮件处理方法及装置 - Google Patents

一种邮件处理方法及装置 Download PDF

Info

Publication number
WO2017049917A1
WO2017049917A1 PCT/CN2016/082185 CN2016082185W WO2017049917A1 WO 2017049917 A1 WO2017049917 A1 WO 2017049917A1 CN 2016082185 W CN2016082185 W CN 2016082185W WO 2017049917 A1 WO2017049917 A1 WO 2017049917A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
template
client
mail template
display
Prior art date
Application number
PCT/CN2016/082185
Other languages
English (en)
French (fr)
Inventor
王益进
张世佳
Original Assignee
九玉(北京)科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 九玉(北京)科技有限公司 filed Critical 九玉(北京)科技有限公司
Publication of WO2017049917A1 publication Critical patent/WO2017049917A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a mail processing method and apparatus.
  • the embodiment of the invention provides a mail processing method and device for realizing more accurate classification of mails, thereby facilitating the user to view mails.
  • a mail processing method applied to a client includes the following steps:
  • the key information is displayed in accordance with the display template.
  • the above technical solution can extract key information in the mail according to the mail template matching the mail, and display the key information according to the display template corresponding to the mail template, so that the display of the mail is more targeted, thereby enabling the user to Convenient and clear view of the key information of the mail, no need to manually find out from a large number of mail; at the same time, matching the specific mail template for the mail to make the classification of the mail more accurate, so that users can manage and view the mail.
  • the determining a mail template that matches the mail includes:
  • the mail template matching the mail is determined from the pre-stored mail template according to the mail data, and the mail data includes at least one of a sender, a mail header, and a mail content.
  • the sender of the mail, the mail header or the mail content matches the corresponding mail template for the mail, so that the matching of the mail template is more targeted, so that the mail can be classified more accurately.
  • the method further includes:
  • the filtered mail is displayed according to the display template.
  • the user can select one or more types of emails to display, thereby facilitating the user to view the emails and improving the user experience.
  • the method further includes:
  • the full content of the mail is displayed when a click operation on the viewing option is received.
  • the user can view the complete content of the email by clicking the viewing option, which not only facilitates the user to view the key information of the email, but also facilitates the user to view the complete content of the important email.
  • the method further includes:
  • the mail template database of the client is updated according to the mail template on the network side, so that the mail template stored by the client can match different types of mail to a greater extent, so that the classification of the mail is more accurate; meanwhile, the client can
  • the mail template uploaded by other users is obtained from the network side, and the mail template is shared, and the user does not need to update the client, and only needs to update the mail template database to dynamically update the mail template and its corresponding display template.
  • the method further includes:
  • the mail When receiving the selected operation of the prompt information, the mail is sent to the network side, and the network side is configured to analyze the mail and establish a mail template of the mail.
  • the user can specifically create a specific mail template for the mail, thereby realizing the personalizedization of the mail template, thereby being able to identify the mail when sorting. More special types of mail to improve the accuracy of mail classification.
  • a mail processing method is applied to the network side, and includes the following steps:
  • the mail template is stored in a mail template database on the network side.
  • the above technical solution by receiving the mail sent by the client, and generating the mail template according to the mode that the mail conforms to and the keywords in the mail, realizes that the client and the network side can establish an email template through interaction, so that the mail template is more It is versatile and targeted so that more specific types of messages can be identified when categorizing messages, improving the accuracy of message classification.
  • the client and the network side establish an e-mail template in an interactive manner so that the same type of mail can correspond to the same e-mail template on the network side, so that different users can share the mail template and avoid using the same type of mail.
  • the different users have repeated operations on the establishment of mail templates, which improves the user experience.
  • the method further includes:
  • the client's to-be-updated email template can be determined according to the current state of the client's mail template database, so that the client can update the mail template database in time, so that the client-stored mail template can match different types to a greater extent.
  • Mail and the sharing of the mail template is realized.
  • the user does not need to update the client, and only needs to update the mail template database to dynamically update the mail template and its corresponding display template.
  • the determining the mode and keywords that the mail conforms to include:
  • the mode and keywords that the mail matches are determined.
  • a new mail template is generated only when the mail template pre-stored on the network side does not include the mail template matching the mail, thereby avoiding repetitive work on the network side and reducing the burden on the network side.
  • a mail processing device is applied to a client, including:
  • a first determining module configured to determine a mail template that matches the mail
  • An extracting module configured to extract key information of the mail according to the mail template
  • a first obtaining module configured to acquire a display template corresponding to the mail template according to a correspondence between the mail template and the display template;
  • the first display module is configured to display the key information according to the display template.
  • the first determining module comprises:
  • the first determining submodule is configured to determine, according to the mail data, a mail template matching the mail from the pre-stored mail template, the mail data including at least one of a sender, a mail header, and a mail content.
  • the apparatus further includes:
  • a second display module configured to display an option including a type of the display template
  • a screening module configured to filter a mail corresponding to the at least one type when receiving a selection operation on at least one of the options
  • a third display module configured to display the filtered email according to the display template.
  • the apparatus further includes:
  • a fourth display module configured to display a viewing option for the complete content of the mail
  • a fifth display module configured to display the complete content of the mail when receiving a click operation on the viewing option.
  • the apparatus further includes:
  • a first sending module configured to send a request for acquiring the mail template to a network side, where the obtaining request includes a current state of a mail template database of the client, where the mail template database is used to store the mail template;
  • a second obtaining module configured to acquire the to-be-updated mail template sent by the network side, where the network side is configured to obtain the to-be-updated mail template according to the current state of the mail template database of the client;
  • an update module configured to update the mail template database of the client according to the mail template to be updated.
  • the apparatus further includes:
  • An output module configured to: when the pre-stored mail template does not include a mail template matching the mail, output prompt information of whether the mail template of the mail is established;
  • a second sending module configured to send the mail to the network side when receiving the selected operation of the prompt information, where the network side is configured to analyze the mail and establish a mail template of the mail .
  • the above device can extract key information in the mail according to the mail template matching the mail, and display the key information according to the display template corresponding to the mail template, so that the display of the mail is more targeted, thereby making the user convenient. And clearly view the key information of the mail, without having to manually find out from many mails; at the same time, matching the specific mail template to the mail makes the classification of the mail more precise, so that the user can manage and view the mail.
  • a mail processing device is applied to the network side, and includes:
  • a first receiving module configured to receive an email sent by the client
  • a second determining module configured to determine a mode and a keyword that the mail meets
  • a generating module configured to generate a mail template according to the mode and the keyword
  • a storage module configured to store the mail template in a mail template database on the network side.
  • the apparatus further includes:
  • a second receiving module configured to receive a request for acquiring the mail template sent by the client, where the obtaining request includes a current state of a mail template database of the client;
  • a comparison module configured to compare a current state of the client's mail template database with a current state of the network side mail template database
  • a third obtaining module configured to acquire, according to the comparison result, a mail template to be updated of the client
  • a third sending module configured to send the to-be-updated mail template to the client.
  • the second determining module comprises:
  • a determining sub-module configured to determine whether the pre-stored mail template includes a mail template matching the mail
  • the second determining submodule is configured to determine, when the pre-stored mail template does not include a mail template that matches the mail, determine a mode and a keyword that the mail conforms to.
  • the above device generates the mail template by receiving the mail sent by the client and according to the mode that the mail conforms to and the keyword in the mail, so that the client and the network side can establish the mail template through interaction, so that the mail template has more Diversity and targeting, which allows for the identification of more specific types of messages when categorizing messages, improving the accuracy of message classification.
  • the client and the network side establish an e-mail template in an interactive manner so that the same type of mail can correspond to the same e-mail template on the network side, so that different users can share the mail template and avoid using the same type of mail.
  • the different users have repeated operations on the establishment of mail templates, which improves the user experience.
  • FIG. 1 is a flowchart of a mail processing method according to an embodiment of the present invention.
  • step S11 in a mail processing method according to an embodiment of the present invention
  • FIG. 3 is an interface display diagram of a mail processing method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a mail processing method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for processing a mail according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a mail processing method according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 11 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 12 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 13 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • FIG. 14 is a block diagram of a second determining module in a mail processing apparatus according to an embodiment of the present invention.
  • the mail processing method provided by the embodiment of the present invention may be a client, or may be a network side, and the implementation manner of the mail processing method is different under different execution subjects.
  • the angles respectively illustrate the specific implementation of the method.
  • FIG. 1 is a flowchart of a mail processing method according to an embodiment of the present invention.
  • the mail processing method is applied to a client installed on a terminal, wherein the terminal may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, Personal digital assistants, etc., including the following steps S11-S14:
  • step S11 a mail template matching the mail is determined.
  • the mail template is pre-stored in the mail template database of the client, and the mail template stored in the client is obtained by sending an acquisition request to the network side.
  • the step may be implemented as the following steps S111-S113. :
  • Step S111 Send an acquisition request for the mail template to the network side, where the acquisition request includes the current state of the mail template database of the client, and the mail template database is used to store the mail template.
  • the current state of the mail template database represents the update degree of the mail template stored in the mail template database, and can also be represented by the version value of the mail template database.
  • the terminal first installs the client, the mail template database never stores the mail. Template, the version value is 0 at this time.
  • step S112 the mail template to be updated sent by the network side is obtained, and the network side is configured to obtain the mail template to be updated according to the current state of the mail template database of the client.
  • the mail template to be updated is a mail template that the client has not obtained from the network side.
  • Step S113 updating the mail template database of the client according to the mail template to be updated.
  • the mail template is obtained, and the mail template database of the client is updated, so that the mail template stored by the client can match different types of mail to a greater extent, thereby making the classification of the mail more accurate; meanwhile, due to the network side
  • the stored mail template includes other user-uploaded mail templates, so the client can also obtain the mail template uploaded by other users from the network side, realize the sharing of the mail template, and the user does not need to update the client, only need to update the mail template database.
  • the mail template and its corresponding display template can be dynamically updated.
  • step S12 key information of the mail is extracted according to the mail template.
  • the key information is thickened by the keywords in the email and the specific content corresponding to the keyword.
  • the keyword “order number” is included, and the specific content corresponding to the keyword “order number” is included.
  • the key information of the email is "Order No.: 9910XXXXXX".
  • the key information of the email may include the following information: available credit, transaction date, consumption count, transaction amount, and each item thereof. specific contents.
  • Step S13 Acquire a display template corresponding to the mail template according to the correspondence between the mail template and the display template.
  • the mail template and the display template are correspondingly stored on the client and the network side, and each mail template corresponds to a respective display template.
  • step S14 the key information is displayed in accordance with the display template.
  • the key information in the email can be extracted according to the email template matched with the email, and the key information is displayed according to the display template corresponding to the email template, so that the display of the email is more targeted.
  • sexuality so that users can easily and clearly view the key information of the mail, without having to manually search through many emails; at the same time, matching the specific email template to the mail makes the classification of the mail more precise, so that users can manage and view the mail.
  • step S11 may be implemented as: determining, according to the mail data, a mail template matching the mail from the pre-stored mail template; wherein the mail data includes any one of a sender, a mail header, and a mail content.
  • the mail data includes any one of a sender, a mail header, and a mail content.
  • the sender of an email is the account of XX Bank, and the email title contains the keyword “consumer reminder”
  • the email template matching the email can be matched to the XX bank credit card consumption record email template.
  • FIG. 3 is a diagram showing an interface display of a mail processing method according to an embodiment of the present invention.
  • the client identifies three emails, matches the email template matching each email, and then determines the corresponding display template of each email according to the correspondence between the email template and the display template, and displays them according to the display template.
  • the display template can display the key information in the e-mail, for example, the display template of the XX bank credit card e-bill mail can display the repayment date and the repayment amount of the current period in the e-mail, so that Users can easily and clearly view the key information in the mail without having to manually find it from a large amount of mail.
  • the above method further comprises the following steps A1-A3:
  • Step A1 displaying an option including a type of the display template
  • Step A2 When receiving a selection operation on at least one type of the option, filtering the mail corresponding to the at least one type;
  • step A3 the filtered mail is displayed according to the display template.
  • the user can select one or more types of emails to display, thereby facilitating the user to view the emails and improving the user experience.
  • the client displays the "various styles" option displayed on the interface. By clicking this option, the user can select the type of mail to be viewed as needed, for example, if the user selects the "various styles" option. , all types of mail are displayed on the client. If the user selects the "XX bank credit card style” option, only the type of mail belonging to the XX bank credit card is displayed on the client, and so on.
  • the above method further includes the following steps B1-B2:
  • step B1 a viewing option for the complete content of the mail is displayed.
  • step B2 when the click operation on the viewing option is received, the complete content of the mail is displayed.
  • the viewing option may be set to any position of the email displayed on the client, or may be set to an option corresponding to each email, and the user can view the complete content of the email by clicking the viewing option, which is convenient for the user to view.
  • the key information of the mail and it is convenient for the user to view the complete content of the important mail.
  • the client can also display the functional options corresponding to each email.
  • This functional option allows the user to view the specific content of the key information of the email, as shown in Figure 3.
  • XX bank credit card mail The "View Consumer Details” option is displayed below.
  • the client will display the user's consumption details in this email.
  • the email template of the client may not store a mail template matching the certain email.
  • the user can establish the email template of the email through the network side. Therefore, as shown in FIG.
  • the above method can also be implemented as the following steps S41-S46:
  • step S41 the mail is received.
  • step S42 it is determined whether there is a mail template matching the mail in the mail template pre-stored in the mail template database. If there is a mail template matching the mail in the mail template database, the step S43 is performed; if there is no mail template matching the mail in the mail template pre-stored in the mail template database, step S45 is performed.
  • step S43 the key information of the mail is extracted according to the mail template.
  • Step S44 Acquire a display template corresponding to the mail template according to the correspondence between the mail template and the display template, and display the key information according to the display template.
  • Step S45 outputting prompt information of whether to establish an email template of the mail.
  • Step S46 when receiving the selected operation of the prompt information, sending the mail to the network side, and the network side is used for Mail analyzes and builds a mail template for the mail.
  • the mail when the user sends the mail to the network side, the mail can be uploaded to the network side in the file format of EML (Email Markup Language).
  • EML Email Markup Language
  • the user may send the mail to the network side to establish an email template of the mail, or the user may actively send the mail to the network.
  • Submit a special email to enable the network side to create a template for the special email.
  • the client can obtain the email template submitted by the client by updating the email template database. In either case, the user can make the email targeted.
  • the establishment of a specific mail template realizes the personalization of the mail template, so that more special types of mail can be identified when the mail is classified, and the accuracy of mail sorting is improved.
  • FIG. 5 is a flowchart of a mail processing method according to an embodiment of the present invention. As shown in FIG. 5, the mail processing method is used in the cloud server on the network side, and includes the following steps S51-S54:
  • Step S51 receiving an email sent by the client.
  • the email from the client may be actively submitted by the user, or may be passively uploaded by the user according to the prompt of the client, and is mainly used when the client does not currently store the email template matching the email.
  • step S52 it is determined that the mode and keywords of the mail match.
  • the regular expression can be used to determine the mode that the mail conforms to, and the regular expression and keywords that the mail meets can be extracted from the mail.
  • Key words such as: "repayment date” in bank credit card mail, "reserved in this period”; "order number” in express order mail, etc., the specific content corresponding to the keyword and the keyword together constitute the key information of the mail.
  • Step S53 generating a mail template according to the mode and the keyword.
  • step S54 the mail template is stored in the mail template database on the network side.
  • the mail template sent by the client is received, and the mail template is generated according to the mode that the mail conforms to and the keyword in the mail, so that the client and the network side can establish the mail through interaction.
  • the template makes the mail template more versatile and targeted, so that more special types of mail can be identified when sorting the mail, which improves the accuracy of mail sorting.
  • the client and the network side establish an e-mail template in an interactive manner so that the same type of mail can correspond to the same e-mail template on the network side, so that different users can share the mail template and avoid using the same type of mail.
  • the different users have repeated operations on the establishment of mail templates, which improves the user experience.
  • the above method further includes the following steps S61-S64:
  • Step S61 Receive an acquisition request for a mail template sent by the client, where the acquisition request includes a current state of the mail template database of the client.
  • the client's mail template database is used to store the client's mail template.
  • the current state of the mail template database represents the update degree of the mail template stored in the mail template database, and can also be represented by the version value of the mail template database.
  • the mail template is never stored in the mail template database. In this case, the version value is 0, and all mail templates in the cloud server are sent to the client.
  • Step S62 comparing the current state of the client's mail template database with the current state of the mail template database on the network side.
  • Step S63 Acquire a mail template to be updated of the client according to the comparison result.
  • the mail template to be updated is a mail template that the client has not obtained from the network side.
  • step S64 the mail template to be updated is sent to the client.
  • the mail template to be updated of the client is determined according to the current state of the mail template database of the client, so that the client can update the mail template database in time, so that the mail template stored by the client can match different types of mail to a greater extent.
  • the mail template is shared, and the user does not need to update the client, and only needs to update the mail template database to dynamically update the mail template and its corresponding display template.
  • the foregoing step S52 may be implemented as: determining whether the pre-stored mail template includes a mail template matching the mail; and determining the mail when the pre-stored mail template does not include the mail template matching the mail The patterns and keywords that match.
  • a new mail template is generated only when the mail template pre-stored on the network side does not include the mail template matching the mail, thereby avoiding repetitive work on the network side and reducing the burden on the network side.
  • the present invention further provides a mail processing apparatus for performing the above method.
  • FIG. 7 is a block diagram of a mail processing apparatus according to an embodiment of the present invention.
  • the device is applied to a client installed on a terminal, wherein the terminal can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, and a personal number.
  • the terminal can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, and a personal number. Assistant, etc., the device includes:
  • the first determining module 701 is configured to determine a mail template that matches the mail
  • the extracting module 702 is configured to extract key information of the mail according to the mail template
  • the first obtaining module 703 is configured to obtain a display template corresponding to the mail template according to the correspondence between the mail template and the display template.
  • the first display module 704 is configured to display the key information according to the display template.
  • the first determining module 701 includes:
  • the first determining submodule is configured to determine, according to the mail data, a mail template matching the mail from the pre-stored mail template, where the mail data includes at least one of a sender, a mail header, and a mail content.
  • the foregoing apparatus further includes:
  • a second display module 705, configured to display an option including a type of the display template
  • the filtering module 706 is configured to: when receiving the selection operation of the at least one type of the option, filter the mail corresponding to the at least one type;
  • the third display module 707 is configured to display the filtered mail according to the display template.
  • the foregoing apparatus further includes:
  • a fourth display module 708, configured to display a viewing option for the complete content of the mail
  • the fifth display module 709 is configured to display the complete content of the mail when receiving a click operation on the viewing option.
  • the foregoing apparatus further includes:
  • the first sending module 710 is configured to send a request for acquiring the mail template to the network side, where the request includes the current state of the mail template database of the client, and the mail template database is used to store the mail template;
  • the second obtaining module 711 is configured to obtain a mail template to be updated sent by the network side, where the network side is configured to obtain the mail template to be updated according to the current state of the mail template database of the client;
  • the update module 712 is configured to update the mail template database of the client according to the mail template to be updated.
  • the foregoing apparatus further includes:
  • the output module 713 is configured to: when the pre-stored mail template does not include the mail template matching the mail, output prompt information of whether the mail template of the mail is established;
  • the second sending module 714 is configured to send the mail to the network side when receiving the selected operation of the prompt information, and the network side is configured to analyze the mail and establish a mail template of the mail.
  • the device provided by the embodiment of the invention can extract key information in the email according to the email template matched with the email, and display the key information according to the display template corresponding to the email template, so that the display of the email is more targeted. Therefore, the user can conveniently and clearly view the key information of the mail without manually searching from a plurality of mails; at the same time, matching the specific mail template for the mail makes the mail classification more precise, thereby facilitating the user to manage and view the mail.
  • FIG. 12 is a block diagram of a mail processing apparatus according to an embodiment of the present invention. As shown in FIG. 12, the device is applied to the network side, and includes:
  • the first receiving module 121 is configured to receive an email sent by the client.
  • a second determining module 122 configured to determine a mode and a keyword that the mail conforms to
  • a generating module 123 configured to generate a mail template according to the mode and the keyword
  • the storage module 124 is configured to store the mail template in a mail template database on the network side.
  • the foregoing apparatus further includes:
  • the second receiving module 125 is configured to receive a request for acquiring a mail template sent by the client, where the request includes the current state of the mail template database of the client.
  • the comparison module 126 is configured to compare the current state of the client's mail template database with the current state of the mail template database on the network side;
  • the third obtaining module 127 is configured to obtain a mail template to be updated of the client according to the comparison result;
  • the third sending module 128 is configured to send the to-be-updated mail template to the client.
  • the second determining module 122 includes:
  • the determining sub-module 1221 is configured to determine whether the pre-stored mail template includes a mail template matching the mail;
  • the second determining sub-module 1222 is configured to determine a mode and a keyword that the mail conforms when the pre-stored mail template does not include the mail template that matches the mail.
  • the mail template sent by the client is received, and the mail template is generated according to the mode that the mail conforms to and the keyword in the mail, so that the client and the network side can establish the mail template through interaction.
  • the client and the network side establish an e-mail template in an interactive manner so that the same type of mail can correspond to the same e-mail template on the network side, so that different users can share the mail template and avoid using the same type of mail.
  • the different users have repeated operations on the establishment of mail templates, which improves the user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种邮件处理方法及装置,用于实现更加精确地对邮件进行分类,从而为用户查看邮件带来方便。所述方法包括:确定与邮件相匹配的邮件模板;根据所述邮件模板提取所述邮件的关键信息;根据邮件模板和显示模板之间的对应关系,获取与所述邮件模板相对应的显示模板;将所述关键信息按照所述显示模板进行显示。该技术方案不仅使邮件的显示更加有针对性,从而使用户能够方便且清晰地查看邮件的关键信息,无需从众多邮件中手动查找;同时,为邮件匹配特定的邮件模板使得邮件的分类更加精确,从而方便用户对邮件进行管理和查看。图1

Description

一种邮件处理方法及装置 技术领域
本发明涉及互联网技术领域,尤其涉及一种邮件处理方法及装置。
背景技术
用户收到的众多邮件中,有些邮件具有明显的类型特征,例如电商订单、银行对账单、机票行程单、特定商务信函、企业内部特定业务表格、行政红头文件等。这些邮件包含对用户而言非常关键的信息,用户希望能在海量的日常邮件中将这些重要邮件进行区别显示,从而对重要邮件中的关键信息一目了然。相关技术中,有以下几种分类识别邮件的方法:(1)根据邮件发件人的名称对邮件进行分类,即将相同发件人的邮件归为一类,并在邮件显示列表上显示相应的图标;(2)通过分析邮件内容,识别出具有显著特征的邮件,可以是邮件内容中的显著特征,例如广告、垃圾邮件等,并根据显著特征对邮件进行分类;(3)用户在发邮件时使用邮件服务器规定的特定的标签,将邮件主动标识为某种类型的邮件,然后,服务器再通过邮件上标识的标签对邮件进行分类。
然而,上述几种分类识别邮件的方法虽然在一定程度上完成了对邮件的分类,但仍存在一些问题:(1)由于同一发件人通常会发出多种类别的邮件,且不同类型的邮件内容中也可能包含相似的显著特征,例如包含大量图片、网络链接、相似的关键词等等,因此,仅对邮件发件人或者邮件内容进行单一算法分析,无法实现对邮件的精确分类,甚至出现分类错误的情况;(2)对于某些特定类型的邮件,其邮件内容中可能并不包含显著特征,例如,企业内部的特定业务表格,由于它是企业内部特有的一种表格,无论在形式上还是内容上都可能存在很大的差异,因此,无法通过一般的分析方法分析出邮件的类别,也就无法准确地对邮件进行分类;(3)对于需要用户通过编辑邮件内容、并用特定的标签标记邮件类型的方法,由于过于专业化,普通用户很难理解和应用,因此非常难以普及,同时,用户需要对每一封邮件进行手动编辑和标记,十分耗时耗力。
发明内容
本发明实施例提供一种邮件处理方法及装置,用于实现更加精确地对邮件进行分类,从而为用户查看邮件带来方便。
一种邮件处理方法,应用于客户端,包括以下步骤:
确定与邮件相匹配的邮件模板;
根据所述邮件模板提取所述邮件的关键信息;
根据邮件模板和显示模板之间的对应关系,获取与所述邮件模板相对应的显示模板;
将所述关键信息按照所述显示模板进行显示。
本发明实施例的一些有益效果可以包括:
上述技术方案,能够根据与邮件相匹配的邮件模板提取邮件中的关键信息,并将关键信息按照与邮件模板相对应的显示模板显示出来,不仅使邮件的显示更加有针对性,从而使用户能够方便且清晰地查看邮件的关键信息,无需从众多邮件中手动查找;同时,为邮件匹配特定的邮件模板使得邮件的分类更加精确,从而方便用户对邮件进行管理和查看。
在一个实施例中,所述确定与邮件相匹配的邮件模板,包括:
根据邮件数据从预存的邮件模板中确定与邮件相匹配的邮件模板,所述邮件数据包括发件人、邮件标题和邮件内容中的至少一种。
该实施例中,通过邮件的发件人、邮件标题或邮件内容为邮件匹配相应的邮件模板,使得邮件模板的匹配更加有针对性,从而能够更精确地对邮件进行分类。
在一个实施例中,所述方法还包括:
显示包含所述显示模板的类型的选项;
当接收到对所述选项中的至少一个类型的选择操作时,筛选与所述至少一个类型相对应的邮件;
按照所述显示模板显示所述筛选后的邮件。
该实施例中,用户可根据需要选择一个或多个类型的邮件的显示,从而为用户查看邮件带来方便,提高用户的体验度。
在一个实施例中,所述方法还包括:
显示对所述邮件的完整内容的查看选项;
当接收到对所述查看选项的点击操作时,显示所述邮件的完整内容。
该实施例中,用户通过点击查看选项即可查看邮件的完整内容,不仅方便用户查看邮件的关键信息,且方便用户对重要邮件的完整内容的查看。
在一个实施例中,所述方法还包括:
向网络侧发送对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态,所述邮件模板数据库用于存储所述邮件模板;
获取所述网络侧发送的待更新邮件模板,所述网络侧用于根据所述客户端的邮件模板 数据库的当前状态获取所述待更新邮件模板;
根据所述待更新邮件模板,更新所述客户端的邮件模板数据库。
该实施例中,根据网络侧的邮件模板来更新客户端的邮件模板数据库,使得客户端存储的邮件模板能够更大限度地匹配不同类型的邮件,从而使邮件的分类更加精确;同时,客户端能够从网络侧获取其他用户所上传的邮件模板,实现了邮件模板的共享,且用户无需更新客户端,仅需更新邮件模板数据库即可动态更新邮件模板及其对应的显示模板。
在一个实施例中,所述方法还包括:
当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,输出是否建立所述邮件的邮件模板的提示信息;
当接收到对所述提示信息的选定操作时,将所述邮件发送至网络侧,所述网络侧用于对所述邮件进行分析并建立所述邮件的邮件模板。
该实施例中,通过将邮件发送至网络侧以建立该邮件的邮件模板,使得用户能够有针对性地为邮件建立特定的邮件模板,实现了邮件模板的个性化,从而在邮件分类时能够识别更多特殊类型的邮件,提高邮件分类的精准度。
一种邮件处理方法,应用于于网络侧,包括以下步骤:
接收客户端发送的邮件;
确定所述邮件所符合的模式和关键词;
根据所述模式和所述关键词生成邮件模板;
将所述邮件模板存储至所述网络侧的邮件模板数据库中。
本发明实施例的一些有益效果可以包括:
上述技术方案,通过接收客户端发送的邮件,并根据邮件所符合的模式和邮件中的关键词来生成邮件模板,实现了客户端和网络侧能够通过交互的方式建立邮件模板,使得邮件模板更加具有多样性和针对性,从而在对邮件分类时能够识别出更多特殊类型的邮件,提高了邮件分类的精确度。同时,这种客户端和网络侧以交互的方式建立邮件模板的方案使相同类型的邮件可在网络侧对应同一个邮件模板,从而使不同用户之间能够共享邮件模板,避免了使用同一类型邮件的不同用户对建立邮件模板的重复性操作,提高了用户的体验度。
在一个实施例中,所述方法还包括:
接收所述客户端发送的对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态;
将所述客户端的邮件模板数据库的当前状态和所述网络侧的邮件模板数据库的当前状态进行对比;
根据所述对比结果,获取所述客户端的待更新邮件模板;
将所述待更新邮件模板发送至所述客户端。
该实施例中,能够根据客户端的邮件模板数据库的当前状态确定客户端的待更新邮件模板,以使客户端能够及时更新邮件模板数据库,从而使客户端存储的邮件模板能够更大限度地匹配不同类型的邮件,且实现了邮件模板的共享,同时,用户无需更新客户端,仅需更新邮件模板数据库即可动态更新邮件模板及其对应的显示模板。
在一个实施例中,所述确定所述邮件所符合的模式和关键词,包括:
判断所述预存的邮件模板中是否包含与所述邮件相匹配的邮件模板;
当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,确定所述邮件所符合的模式和关键词。
该实施例中,仅在网络侧预存的邮件模板中不包含与邮件相匹配的邮件模板时才会生成新的邮件模板,避免了网络侧进行重复性的工作,减少网络侧负担。
一种邮件处理装置,应用于客户端,包括:
第一确定模块,用于确定与邮件相匹配的邮件模板;
提取模块,用于根据所述邮件模板提取所述邮件的关键信息;
第一获取模块,用于根据邮件模板和显示模板之间的对应关系,获取与所述邮件模板相对应的显示模板;
第一显示模块,用于将所述关键信息按照所述显示模板进行显示。
在一个实施例中,所述第一确定模块包括:
第一确定子模块,用于根据邮件数据从预存的邮件模板中确定与邮件相匹配的邮件模板,所述邮件数据包括发件人、邮件标题和邮件内容中的至少一种。
在一个实施例中,所述装置还包括:
第二显示模块,用于显示包含所述显示模板的类型的选项;
筛选模块,用于当接收到对所述选项中的至少一个类型的选择操作时,筛选与所述至少一个类型相对应的邮件;
第三显示模块,用于按照所述显示模板显示所述筛选后的邮件。
在一个实施例中,所述装置还包括:
第四显示模块,用于显示对所述邮件的完整内容的查看选项;
第五显示模块,用于当接收到对所述查看选项的点击操作时,显示所述邮件的完整内容。
在一个实施例中,所述装置还包括:
第一发送模块,用于向网络侧发送对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态,所述邮件模板数据库用于存储所述邮件模板;
第二获取模块,用于获取所述网络侧发送的待更新邮件模板,所述网络侧用于根据所述客户端的邮件模板数据库的当前状态获取所述待更新邮件模板;
更新模块,用于根据所述待更新邮件模板,更新所述客户端的邮件模板数据库。
在一个实施例中,所述装置还包括:
输出模块,用于当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,输出是否建立所述邮件的邮件模板的提示信息;
第二发送模块,用于当接收到对所述提示信息的选定操作时,将所述邮件发送至网络侧,所述网络侧用于对所述邮件进行分析并建立所述邮件的邮件模板。
本发明实施例的一些有益效果可以包括:
上述装置,能够根据与邮件相匹配的邮件模板提取邮件中的关键信息,并将关键信息按照与邮件模板相对应的显示模板显示出来,不仅使邮件的显示更加有针对性,从而使用户能够方便且清晰地查看邮件的关键信息,无需从众多邮件中手动查找;同时,为邮件匹配特定的邮件模板使得邮件的分类更加精确,从而方便用户对邮件进行管理和查看。
一种邮件处理装置,应用于网络侧,包括:
第一接收模块,用于接收客户端发送的邮件;
第二确定模块,用于确定所述邮件所符合的模式和关键词;
生成模块,用于根据所述模式和所述关键词生成邮件模板;
存储模块,用于将所述邮件模板存储至所述网络侧的邮件模板数据库中。
在一个实施例中,所述装置还包括:
第二接收模块,用于接收所述客户端发送的对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态;
对比模块,用于将所述客户端的邮件模板数据库的当前状态和所述网络侧的邮件模板数据库的当前状态进行对比;
第三获取模块,用于根据所述对比结果,获取所述客户端的待更新邮件模板;
第三发送模块,用于将所述待更新邮件模板发送至所述客户端。
在一个实施例中,所述第二确定模块包括:
判断子模块,用于判断所述预存的邮件模板中是否包含与所述邮件相匹配的邮件模板;
第二确定子模块,用于当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,确定所述邮件所符合的模式和关键词。
本发明实施例的一些有益效果可以包括:
上述装置,通过接收客户端发送的邮件,并根据邮件所符合的模式和邮件中的关键词来生成邮件模板,实现了客户端和网络侧能够通过交互的方式建立邮件模板,使得邮件模板更加具有多样性和针对性,从而在对邮件分类时能够识别出更多特殊类型的邮件,提高了邮件分类的精确度。同时,这种客户端和网络侧以交互的方式建立邮件模板的方案使相同类型的邮件可在网络侧对应同一个邮件模板,从而使不同用户之间能够共享邮件模板,避免了使用同一类型邮件的不同用户对建立邮件模板的重复性操作,提高了用户的体验度。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。
附图说明
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:
图1为本发明实施例中一种邮件处理方法的流程图;
图2为本发明实施例中一种邮件处理方法中步骤S11的流程图;
图3为本发明一具体实施例中一种邮件处理方法的界面显示图;
图4为本发明实施例中一种邮件处理方法的流程图;
图5为本发明实施例中一种邮件处理方法的流程图;
图6为本发明实施例中一种邮件处理方法的流程图;
图7为本发明实施例中一种邮件处理装置的框图;
图8为本发明实施例中一种邮件处理装置的框图;
图9为本发明实施例中一种邮件处理装置的框图;
图10为本发明实施例中一种邮件处理装置的框图;
图11为本发明实施例中一种邮件处理装置的框图;
图12为本发明实施例中一种邮件处理装置的框图;
图13为本发明实施例中一种邮件处理装置的框图;
图14为本发明实施例中一种邮件处理装置中第二确定模块的框图。
具体实施方式
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
本发明实施例提供的一种邮件处理方法,由于其执行主体可以是客户端,也可以是网络侧,且不同执行主体之下该邮件处理方法的实施方式不同,因此,以下以不同执行主体的角度分别说明该方法的具体实施方式。
客户端
图1为本发明实施例中一种邮件处理方法的流程图。如图1所示,该邮件处理方法应用于终端上安装的客户端,其中,终端可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等,包括以下步骤S11-S14:
步骤S11,确定与邮件相匹配的邮件模板。
该步骤中,客户端的邮件模板数据库中预存有邮件模板,且客户端中存储的邮件模板是通过向网络侧发送获取请求获取的,如图2所示,该步骤可实施为以下步骤S111-S113:
步骤S111,向网络侧发送对邮件模板的获取请求;其中,获取请求中包括客户端的邮件模板数据库的当前状态,邮件模板数据库用于存储邮件模板。其中,邮件模板数据库的当前状态表征了邮件模板数据库中存储的邮件模板的更新程度,也可用邮件模板数据库的版本值来表示,当终端首次安装客户端时,邮件模板数据库中从未存储有邮件模板,此时版本值为0。
步骤S112,获取网络侧发送的待更新邮件模板,网络侧用于根据客户端的邮件模板数据库的当前状态获取待更新邮件模板。其中,待更新邮件模板即为客户端当前尚未从网络侧获取到的邮件模板。
步骤S113,根据待更新邮件模板,更新客户端的邮件模板数据库。
通过上述步骤S111-S113来获取邮件模板,并更新客户端的邮件模板数据库,使得客户端存储的邮件模板能够更大限度地匹配不同类型的邮件,从而使邮件的分类更加精确;同时,由于网络侧存储的邮件模板中包括其他用户上传的邮件模板,因此客户端也能够从网络侧获取其他用户所上传的邮件模板,实现了邮件模板的共享,且用户无需更新客户端,仅需更新邮件模板数据库即可动态更新邮件模板及其对应的显示模板。
步骤S12,根据邮件模板提取邮件的关键信息。
其中,关键信息由邮件中的关键词以及关键词对应的具体内容粗成,例如,对于一封快递订单的邮件,其中包含关键词“订单号”,且关键词“订单号”对应的具体内容为9910XXXXXX,那么该邮件的关键信息则为“订单号:9910XXXXXX”。以一封具体的邮件为例,当该邮件被识别为XX银行***消费记录邮件后,则该邮件的关键信息可包括以下信息:可用额度、交易日期、消费次数、交易金额及其各项的具体内容。
步骤S13,根据邮件模板和显示模板之间的对应关系,获取与邮件模板相对应的显示模板。
其中,邮件模板和显示模板对应存储于客户端和网络侧,每一种邮件模板对应各自的一种显示模板。
步骤S14,将关键信息按照显示模板进行显示。
采用本发明实施例提供的技术方案,能够根据与邮件相匹配的邮件模板提取邮件中的关键信息,并将关键信息按照与邮件模板相对应的显示模板显示出来,不仅使邮件的显示更加有针对性,从而使用户能够方便且清晰地查看邮件的关键信息,无需从众多邮件中手动查找;同时,为邮件匹配特定的邮件模板使得邮件的分类更加精确,从而方便用户对邮件进行管理和查看。
在一个实施例中,步骤S11可实施为以下步骤:根据邮件数据从预存的邮件模板中确定与邮件相匹配的邮件模板;其中,邮件数据包括发件人、邮件标题和邮件内容中的任一种或多种。例如,一封邮件的发件人为XX银行的账号,且该邮件标题中包含关键字“消费提醒”,则可匹配出与该邮件相匹配的邮件模板为XX银行***消费记录邮件模板。
图3为本发明一具体实施例中一种邮件处理方法的界面显示图。如图3所示,客户端上共显示有三条邮件,第一条邮件属于XX银行***邮件,第二条邮件属于MM快递邮件,第三条邮件属于NN银行***邮件。客户端对三条邮件进行识别,匹配出与每条邮件相匹配的邮件模板,然后根据邮件模板与显示模板之间的对应关系,确定出每条邮件相对应的显示模板,并按照显示模板分别显示三条邮件,显示模板中能够显示出邮件中的关键信息,例如,XX银行***电子账单邮件的显示模板中,能够显示出该邮件中包含的还款日期和本期应还金额的信息,从而使用户能够方便清晰地查看到邮件中的关键信息,而无需从海量邮件中手动查找。
在一个实施例中,上述方法还包括以下步骤A1-A3:
步骤A1,显示包含显示模板的类型的选项;
步骤A2,当接收到对选项中的至少一个类型的选择操作时,筛选与至少一个类型相对应的邮件;
步骤A3,按照显示模板显示筛选后的邮件。
本实施例中,用户可根据需要选择一个或多个类型的邮件的显示,从而为用户查看邮件带来方便,提高用户的体验度。如图3所示,客户端显示界面上显示的“各种样式”选项,用户通过点击该选项,即可根据需要选择想要查看的类型的邮件,例如,如果用户选择“各种样式”选项,则客户端上显示所有类型的邮件,如果用户选择“XX银行***样式”选项,则客户端上仅显示属于XX银行***的类型的邮件,等等。
在一个实施例中,上述方法还包括以下步骤B1-B2:
步骤B1,显示对邮件的完整内容的查看选项。
步骤B2,当接收到对查看选项的点击操作时,显示邮件的完整内容。
本实施例中,查看选项可以设置在客户端上显示的邮件的任意位置,也可设置为与每一条邮件对应的一个选项,用户通过点击查看选项即可查看邮件的完整内容,不仅方便用户查看邮件的关键信息,且方便用户对重要邮件的完整内容的查看。
此外,客户端上还可显示每条邮件对应的功能性选项,该功能性选项使用户可查看邮件的关键信息的具体内容,如图3所示,在客户端的显示界面上,XX银行***邮件下方显示有“查看消费明细”选项,当用户点击“查看消费明细”选项后,客户端就会显示本条邮件中用户的消费明细。
在一个实施例中,客户端的邮件模板数据库中可能未存储有与某条邮件相匹配的邮件模板,针对这种情况,用户可通过网络侧建立该邮件的邮件模板,因此,如图4所示,上述方法还可实施为以下步骤S41-S46:
步骤S41,接收邮件。
步骤S42,判断邮件模板数据库中预存的邮件模板中是否有与邮件相匹配的邮件模板。如果邮件模板数据库中预存的邮件模板中有与邮件相匹配的邮件模板,则执行步骤S43;如果邮件模板数据库中预存的邮件模板中没有与邮件相匹配的邮件模板,则执行步骤S45。
步骤S43,根据邮件模板提取邮件的关键信息。
步骤S44,根据邮件模板和显示模板之间的对应关系,获取与邮件模板相对应的显示模板,并将关键信息按照显示模板进行显示。
步骤S45,输出是否建立该邮件的邮件模板的提示信息。
步骤S46,当接收到对提示信息的选定操作时,将该邮件发送至网络侧,网络侧用于对 邮件进行分析并建立邮件的邮件模板。
该步骤中,用户将邮件发送至网络侧时,可将邮件以EML(Email Markup Language,邮件标识语言)的文件格式上传至网络侧。
本实施例中,当邮件模板数据库中预存的邮件模板中没有与邮件相匹配的邮件模板时,用户可通过将邮件发送至网络侧以建立该邮件的邮件模板,或者,用户还可主动向网络侧提交一封特殊邮件,使网络侧为该特殊邮件建立模板,客户端通过更新邮件模板数据库,即可获取到自己提交的邮件模板,不论哪种方式,都能够使用户有针对性地为邮件建立特定的邮件模板,实现了邮件模板的个性化,从而在邮件分类时能够识别更多特殊类型的邮件,提高邮件分类的精准度。
网络侧
图5为本发明实施例中一种邮件处理方法的流程图。如图5所示,该邮件处理方法用于网络侧的云服务器中,包括以下步骤S51-S54:
步骤S51,接收客户端发送的邮件。
该步骤中,来自客户端的邮件可以是用户主动提交的,也可以是用户根据客户端的提示来被动上传的,主要用于客户端当前未存储有与该邮件匹配的邮件模板的情况。
步骤S52,确定邮件所符合的模式和关键词。
该步骤中,可以按照正则表达式来确定邮件所符合的模式,并从邮件中提取出该邮件所符合的正则表达式及关键词。关键词如:银行***邮件中的“还款日期”、“本期应还”;快递订单邮件中的“订单号”等,关键词与关键词对应的具体内容共同组成邮件的关键信息。
步骤S53,根据模式和关键词生成邮件模板。
步骤S54,将邮件模板存储至网络侧的邮件模板数据库中。
采用本发明实施例提供的技术方案,通过接收客户端发送的邮件,并根据邮件所符合的模式和邮件中的关键词来生成邮件模板,实现了客户端和网络侧能够通过交互的方式建立邮件模板,使得邮件模板更加具有多样性和针对性,从而在对邮件分类时能够识别出更多特殊类型的邮件,提高了邮件分类的精确度。同时,这种客户端和网络侧以交互的方式建立邮件模板的方案使相同类型的邮件可在网络侧对应同一个邮件模板,从而使不同用户之间能够共享邮件模板,避免了使用同一类型邮件的不同用户对建立邮件模板的重复性操作,提高了用户的体验度。
在一个实施例中,如图6所示,上述方法还包括以下步骤S61-S64:
步骤S61,接收客户端发送的对邮件模板的获取请求;其中,获取请求中包括客户端的邮件模板数据库的当前状态。
该步骤中,客户端的邮件模板数据库用于存储客户端的邮件模板,邮件模板数据库的当前状态表征了邮件模板数据库中存储的邮件模板的更新程度,也可用邮件模板数据库的版本值来表示,当终端首次安装客户端时,邮件模板数据库中从未存储有邮件模板,此时版本值为0,网络侧则会将云服务器中的所有邮件模板发送至客户端。
步骤S62,将客户端的邮件模板数据库的当前状态和网络侧的邮件模板数据库的当前状态进行对比。
步骤S63,根据对比结果,获取客户端的待更新邮件模板。
其中,待更新邮件模板即为客户端当前尚未从网络侧获取到的邮件模板。
步骤S64,将待更新邮件模板发送至客户端。
本实施例能够根据客户端的邮件模板数据库的当前状态确定客户端的待更新邮件模板,以使客户端能够及时更新邮件模板数据库,从而使客户端存储的邮件模板能够更大限度地匹配不同类型的邮件,且实现了邮件模板的共享,同时,用户无需更新客户端,仅需更新邮件模板数据库即可动态更新邮件模板及其对应的显示模板。
在一个实施例中,上述步骤S52可实施为以下步骤:判断预存的邮件模板中是否包含与邮件相匹配的邮件模板;当预存的邮件模板中不包含与邮件相匹配的邮件模板时,确定邮件所符合的模式和关键词。本实施例中,仅在网络侧预存的邮件模板中不包含与邮件相匹配的邮件模板时才会生成新的邮件模板,避免了网络侧进行重复性的工作,减少网络侧负担。
对应于上述实施例中的一种邮件处理方法,本发明还提供一种邮件处理装置,用以执行上述方法。
图7为本发明实施例中一种邮件处理装置的框图。如图7所示,该装置应用于终端上安装的客户端,其中,终端可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等,该装置包括:
第一确定模块701,用于确定与邮件相匹配的邮件模板;
提取模块702,用于根据邮件模板提取邮件的关键信息;
第一获取模块703,用于根据邮件模板和显示模板之间的对应关系,获取与邮件模板相对应的显示模板;
第一显示模块704,用于将关键信息按照显示模板进行显示。
在一个实施例中,第一确定模块701包括:
第一确定子模块,用于根据邮件数据从预存的邮件模板中确定与邮件相匹配的邮件模板,邮件数据包括发件人、邮件标题和邮件内容中的至少一种。
在一个实施例中,如图8所示,上述装置还包括:
第二显示模块705,用于显示包含显示模板的类型的选项;
筛选模块706,用于当接收到对选项中的至少一个类型的选择操作时,筛选与至少一个类型相对应的邮件;
第三显示模块707,用于按照显示模板显示筛选后的邮件。
在一个实施例中,如图9所示,上述装置还包括:
第四显示模块708,用于显示对邮件的完整内容的查看选项;
第五显示模块709,用于当接收到对查看选项的点击操作时,显示邮件的完整内容。
在一个实施例中,如图10所示,上述装置还包括:
第一发送模块710,用于向网络侧发送对邮件模板的获取请求,获取请求中包括客户端的邮件模板数据库的当前状态,邮件模板数据库用于存储邮件模板;
第二获取模块711,用于获取网络侧发送的待更新邮件模板,网络侧用于根据客户端的邮件模板数据库的当前状态获取待更新邮件模板;
更新模块712,用于根据待更新邮件模板,更新客户端的邮件模板数据库。
在一个实施例中,如图11所示,上述装置还包括:
输出模块713,用于当预存的邮件模板中不包含与邮件相匹配的邮件模板时,输出是否建立邮件的邮件模板的提示信息;
第二发送模块714,用于当接收到对提示信息的选定操作时,将邮件发送至网络侧,网络侧用于对邮件进行分析并建立邮件的邮件模板。
采用本发明实施例提供的装置,能够根据与邮件相匹配的邮件模板提取邮件中的关键信息,并将关键信息按照与邮件模板相对应的显示模板显示出来,不仅使邮件的显示更加有针对性,从而使用户能够方便且清晰地查看邮件的关键信息,无需从众多邮件中手动查找;同时,为邮件匹配特定的邮件模板使得邮件的分类更加精确,从而方便用户对邮件进行管理和查看。
图12为本发明实施例中一种邮件处理装置的框图。如图12所示,该装置应用于网络侧,包括:
第一接收模块121,用于接收客户端发送的邮件;
第二确定模块122,用于确定邮件所符合的模式和关键词;
生成模块123,用于根据模式和关键词生成邮件模板;
存储模块124,用于将邮件模板存储至网络侧的邮件模板数据库中。
在一个实施例中,如图13所示,上述装置还包括:
第二接收模块125,用于接收客户端发送的对邮件模板的获取请求,获取请求中包括客户端的邮件模板数据库的当前状态;
对比模块126,用于将客户端的邮件模板数据库的当前状态和网络侧的邮件模板数据库的当前状态进行对比;
第三获取模块127,用于根据对比结果,获取客户端的待更新邮件模板;
第三发送模块128,用于将待更新邮件模板发送至客户端。
在一个实施例中,如图14所示,第二确定模块122包括:
判断子模块1221,用于判断预存的邮件模板中是否包含与邮件相匹配的邮件模板;
第二确定子模块1222,用于当预存的邮件模板中不包含与邮件相匹配的邮件模板时,确定邮件所符合的模式和关键词。
采用本发明实施例提供的装置,通过接收客户端发送的邮件,并根据邮件所符合的模式和邮件中的关键词来生成邮件模板,实现了客户端和网络侧能够通过交互的方式建立邮件模板,使得邮件模板更加具有多样性和针对性,从而在对邮件分类时能够识别出更多特殊类型的邮件,提高了邮件分类的精确度。同时,这种客户端和网络侧以交互的方式建立邮件模板的方案使相同类型的邮件可在网络侧对应同一个邮件模板,从而使不同用户之间能够共享邮件模板,避免了使用同一类型邮件的不同用户对建立邮件模板的重复性操作,提高了用户的体验度。
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以 产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (18)

  1. 一种邮件处理方法,其特征在于,应用于客户端,所述方法包括:
    确定与邮件相匹配的邮件模板;
    根据所述邮件模板提取所述邮件的关键信息;
    根据邮件模板和显示模板之间的对应关系,获取与所述邮件模板相对应的显示模板;
    将所述关键信息按照所述显示模板进行显示。
  2. 根据权利要求1所述的方法,其特征在于,所述确定与邮件相匹配的邮件模板,包括:
    根据邮件数据从预存的邮件模板中确定与邮件相匹配的邮件模板,所述邮件数据包括发件人、邮件标题和邮件内容中的至少一种。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    显示包含所述显示模板的类型的选项;
    当接收到对所述选项中的至少一个类型的选择操作时,筛选与所述至少一个类型相对应的邮件;
    按照所述显示模板显示所述筛选后的邮件。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    显示对所述邮件的完整内容的查看选项;
    当接收到对所述查看选项的点击操作时,显示所述邮件的完整内容。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    向网络侧发送对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态,所述邮件模板数据库用于存储所述邮件模板;
    获取所述网络侧发送的待更新邮件模板,所述网络侧用于根据所述客户端的邮件模板数据库的当前状态获取所述待更新邮件模板;
    根据所述待更新邮件模板,更新所述客户端的邮件模板数据库。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,输出是否建立所述邮件的邮件模板的提示信息;
    当接收到对所述提示信息的选定操作时,将所述邮件发送至网络侧,所述网络侧用于对所述邮件进行分析并建立所述邮件的邮件模板。
  7. 一种邮件处理方法,其特征在于,应用于网络侧,所述方法包括:
    接收客户端发送的邮件;
    确定所述邮件所符合的模式和关键词;
    根据所述模式和所述关键词生成邮件模板;
    将所述邮件模板存储至所述网络侧的邮件模板数据库中。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    接收所述客户端发送的对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态;
    将所述客户端的邮件模板数据库的当前状态和所述网络侧的邮件模板数据库的当前状态进行对比;
    根据所述对比结果,获取所述客户端的待更新邮件模板;
    将所述待更新邮件模板发送至所述客户端。
  9. 根据权利要求7所述的方法,其特征在于,所述确定所述邮件所符合的模式和关键词,包括:
    判断所述预存的邮件模板中是否包含与所述邮件相匹配的邮件模板;
    当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,确定所述邮件所符合的模式和关键词。
  10. 一种邮件处理装置,其特征在于,应用于客户端,所述装置包括:
    第一确定模块,用于确定与邮件相匹配的邮件模板;
    提取模块,用于根据所述邮件模板提取所述邮件的关键信息;
    第一获取模块,用于根据邮件模板和显示模板之间的对应关系,获取与所述邮件模板相对应的显示模板;
    第一显示模块,用于将所述关键信息按照所述显示模板进行显示。
  11. 根据权利要求10所述的装置,其特征在于,所述第一确定模块包括:
    第一确定子模块,用于根据邮件数据从预存的邮件模板中确定与邮件相匹配的邮件模板,所述邮件数据包括发件人、邮件标题和邮件内容中的至少一种。
  12. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    第二显示模块,用于显示包含所述显示模板的类型的选项;
    筛选模块,用于当接收到对所述选项中的至少一个类型的选择操作时,筛选与所述至少一个类型相对应的邮件;
    第三显示模块,用于按照所述显示模板显示所述筛选后的邮件。
  13. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    第四显示模块,用于显示对所述邮件的完整内容的查看选项;
    第五显示模块,用于当接收到对所述查看选项的点击操作时,显示所述邮件的完整内容。
  14. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    第一发送模块,用于向网络侧发送对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态,所述邮件模板数据库用于存储所述邮件模板;
    第二获取模块,用于获取所述网络侧发送的待更新邮件模板,所述网络侧用于根据所述客户端的邮件模板数据库的当前状态获取所述待更新邮件模板;
    更新模块,用于根据所述待更新邮件模板,更新所述客户端的邮件模板数据库。
  15. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    输出模块,用于当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,输出是否建立所述邮件的邮件模板的提示信息;
    第二发送模块,用于当接收到对所述提示信息的选定操作时,将所述邮件发送至网络侧,所述网络侧用于对所述邮件进行分析并建立所述邮件的邮件模板。
  16. 一种邮件处理装置,其特征在于,应用于网络侧,所述装置包括:
    第一接收模块,用于接收客户端发送的邮件;
    第二确定模块,用于确定所述邮件所符合的模式和关键词;
    生成模块,用于根据所述模式和所述关键词生成邮件模板;
    存储模块,用于将所述邮件模板存储至所述网络侧的邮件模板数据库中。
  17. 根据权利要求16所述的装置,其特征在于,所述装置还包括:
    第二接收模块,用于接收所述客户端发送的对所述邮件模板的获取请求,所述获取请求中包括所述客户端的邮件模板数据库的当前状态;
    对比模块,用于将所述客户端的邮件模板数据库的当前状态和所述网络侧的邮件模板数据库的当前状态进行对比;
    第三获取模块,用于根据所述对比结果,获取所述客户端的待更新邮件模板;
    第三发送模块,用于将所述待更新邮件模板发送至所述客户端。
  18. 根据权利要求16所述的装置,其特征在于,所述第二确定模块包括:
    判断子模块,用于判断所述预存的邮件模板中是否包含与所述邮件相匹配的邮件模板;
    第二确定子模块,用于当所述预存的邮件模板中不包含与所述邮件相匹配的邮件模板时,确定所述邮件所符合的模式和关键词。
PCT/CN2016/082185 2015-09-23 2016-05-16 一种邮件处理方法及装置 WO2017049917A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510614268.9A CN106549853A (zh) 2015-09-23 2015-09-23 一种邮件处理方法及装置
CN201510614268.9 2015-09-23

Publications (1)

Publication Number Publication Date
WO2017049917A1 true WO2017049917A1 (zh) 2017-03-30

Family

ID=58365305

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082185 WO2017049917A1 (zh) 2015-09-23 2016-05-16 一种邮件处理方法及装置

Country Status (2)

Country Link
CN (1) CN106549853A (zh)
WO (1) WO2017049917A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150351A (zh) * 2022-09-05 2022-10-04 深圳美云集网络科技有限责任公司 基于跨境电商平台的信息交互管理方法及***

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587040B (zh) * 2018-12-19 2021-06-29 广东万丈金数信息技术股份有限公司 邮件处理方法、***、计算机设备和存储介质
CN109787887B (zh) * 2019-01-25 2022-08-16 中国平安人寿保险股份有限公司 告警信息管理方法、装置、计算机装置及可读存储介质
CN113221036B (zh) * 2021-05-25 2022-05-10 支付宝(杭州)信息技术有限公司 电子票据邮件的处理方法及装置
CN114969266A (zh) * 2021-07-20 2022-08-30 支付宝(杭州)信息技术有限公司 票据处理方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560777A (zh) * 2004-02-16 2005-01-05 �Ϻ���ͨ��ѧ 一种使用xml组织和表示电子邮件方法
CN101283350A (zh) * 2005-07-15 2008-10-08 思索软件有限公司 用于为自由文本消息提供结构化数据的方法和装置
US20150033141A1 (en) * 2013-07-24 2015-01-29 Yahoo! Inc. System and method for providing an interactive message inbox
CN104463552A (zh) * 2013-09-22 2015-03-25 中国电信股份有限公司 日历提醒生成方法和装置
US9176945B1 (en) * 2013-03-15 2015-11-03 Easilydo, Inc. Extracting data from messages for multiple accounts

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539522A (zh) * 2014-12-29 2015-04-22 宁波江东恒冠信息技术有限公司 一种电子邮件的图表***方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560777A (zh) * 2004-02-16 2005-01-05 �Ϻ���ͨ��ѧ 一种使用xml组织和表示电子邮件方法
CN101283350A (zh) * 2005-07-15 2008-10-08 思索软件有限公司 用于为自由文本消息提供结构化数据的方法和装置
US9176945B1 (en) * 2013-03-15 2015-11-03 Easilydo, Inc. Extracting data from messages for multiple accounts
US20150033141A1 (en) * 2013-07-24 2015-01-29 Yahoo! Inc. System and method for providing an interactive message inbox
CN104463552A (zh) * 2013-09-22 2015-03-25 中国电信股份有限公司 日历提醒生成方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150351A (zh) * 2022-09-05 2022-10-04 深圳美云集网络科技有限责任公司 基于跨境电商平台的信息交互管理方法及***
CN115150351B (zh) * 2022-09-05 2023-04-18 深圳美云集网络科技有限责任公司 基于跨境电商平台的信息交互管理方法及***

Also Published As

Publication number Publication date
CN106549853A (zh) 2017-03-29

Similar Documents

Publication Publication Date Title
WO2017049917A1 (zh) 一种邮件处理方法及装置
US7698335B1 (en) Cluster organization of electronically-stored items
US11232523B2 (en) System and method for providing an intelligent operating interface and intelligent personal assistant as a service on a crypto secure social media and cross bridge service with continuous prosumer validation based on i-operant tags, i-bubble tags, demojis and demoticons
US20140236663A1 (en) System and method for providing unified workflows integrating multiple computer network resources
US9218568B2 (en) Disambiguating data using contextual and historical information
US20080270248A1 (en) System and device for social shopping on-line
US20130332385A1 (en) Methods and systems for detecting and extracting product reviews
CN105573966A (zh) 电子表格中所呈现的内容的自适应修改
US10454869B2 (en) Computerized system and method for controlling electronic messages and their responses after delivery
CN111091351A (zh) 用户画像构建方法、装置、电子设备和可读存储介质
WO2018175750A1 (en) Intelligent visual object management system
US20120259844A1 (en) Methods and systems for assessing excessive accessory listings in search results
Perdana et al. Accelerating data analytics adoption in small and mid-size enterprises: A Singapore context
CN105045797A (zh) 优化内容活动以实现想要的目的
CN112700271A (zh) 一种基于标签模型的大数据画像方法及***
CN115168736A (zh) 一种评标专家推荐方法、装置、设备及介质
US20200019601A1 (en) Method & system for labeling and organizing data for summarizing and referencing content via a communication network
US20190295097A1 (en) Cross-functional analytics tool for integrating web analytics data and customer relationship management data
Su et al. The routineness of routines: measuring rhythms of media interaction
CN112748969A (zh) 信息处理方法、信息显示方法及装置
US11514481B2 (en) Sales support marketing system
CN110717095B (zh) 服务项目的推送方法及装置
Bano Aligning services and requirements with user feedback
US10354313B2 (en) Emphasizing communication based on past interaction related to promoted items
Lommatzsch et al. Recommender Ensembles for News Articles based on Most-Popular Strategies.

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16847799

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.07.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16847799

Country of ref document: EP

Kind code of ref document: A1