WO2020015221A1 - Mail processing method, device, storage medium and computer device - Google Patents

Mail processing method, device, storage medium and computer device Download PDF

Info

Publication number
WO2020015221A1
WO2020015221A1 PCT/CN2018/111704 CN2018111704W WO2020015221A1 WO 2020015221 A1 WO2020015221 A1 WO 2020015221A1 CN 2018111704 W CN2018111704 W CN 2018111704W WO 2020015221 A1 WO2020015221 A1 WO 2020015221A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
level
target
message
superior
Prior art date
Application number
PCT/CN2018/111704
Other languages
French (fr)
Chinese (zh)
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 WO2020015221A1 publication Critical patent/WO2020015221A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]

Definitions

  • the present application relates to the technical field of data processing, and in particular, to a method, a device, a storage medium, and a computer device for processing mail.
  • Some existing mailboxes have a mail aggregation function, but the mail aggregation function only implements the aggregation of mails with the same email address or the same subject (for example, a subscription email sent by a merchant on a regular basis).
  • the current mail aggregation function is not applied to mail correspondence. Scenario, and even less suitable for multiple recipients.
  • the present application provides a method, a device, a storage medium, and a computer device for processing mails, which are used to solve the defect that the existing mailboxes cannot integrate the mails.
  • Obtaining mail information of a target mail where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
  • an apparatus for processing mail provided in the embodiments of the present application includes:
  • An obtaining module configured to obtain mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
  • a processing module configured to determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
  • a first display module configured to display the first upper-level mail, and display the target mail in a lower-level display area of the first upper-level mail, and the lower-level display area is used to display all of the first upper-level mail Subordinate mail.
  • An embodiment of the present application further provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are used to execute the foregoing method for processing mail .
  • An embodiment of the present application further provides a computer device, including:
  • At least one processor and a memory connected in communication with the at least one processor; wherein,
  • the memory stores computer-readable instructions executable by the at least one processor, and the computer-readable instructions are executed by the at least one processor, so that the at least one processor can perform the foregoing processing of mail. method.
  • a method, a device, a storage medium, and a computer device for processing mail provided by the embodiments of the present application, determine the type of mail according to the mail information, and determine the subordinate mail of the current mail according to the reference relationship between the mail, and then according to the mail's
  • the citation relationship displays the corresponding emails in the corresponding display area.
  • the user can know the contents of all the emails by reading an email. The user does not need to view the emails in a closed manner. Archive and review.
  • displaying a category of emails in the same view is also convenient for users to choose the objects they need to reply to. Users can reply to multiple people's different responses to the same topic at the same time, and other recipients can also be in the same view. Reading all messages and replies to this topic can improve your response efficiency.
  • FIG. 1 is a first flowchart of a method for processing mail according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a first display manner for displaying a mail according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a second display mode for displaying mail in the embodiment of the present application.
  • FIG. 4 is a second flowchart of a method for processing mail according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a third display mode for displaying mail in the embodiment of the present application.
  • FIG. 6 is a first structural diagram of a mail processing device in an embodiment of the present application.
  • FIG. 7 is a second structural diagram of an apparatus for processing mail in an embodiment of the present application.
  • FIG. 8 is a third structural diagram of an apparatus for processing mail according to an embodiment of the present application.
  • FIG. 9 is a structural diagram of a first display module in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a computer device in an embodiment of the present application.
  • a method for processing mail provided by the embodiments of the present application is used to implement the integration of mails, as shown in FIG. 1, including steps 101-103:
  • Step 101 Obtain mail information of a target mail, and the mail information includes one or more of a mail subject, a mail body, and a mail attachment.
  • the target mail can be any one or more of the inbox, outbox, etc.
  • the target mail can be a new unread mail received by the user, or a previously received mail
  • the read message can also be a new message that the user needs to send, or one or more messages selected based on the user's selection instruction.
  • the mail information for example, text recognition
  • the mail information such as the subject, body, and attachment of the target mail can be determined.
  • This email information is used to determine the category of the target email.
  • the subject of the email can be used as the email information, or other items or multiple items can be used as the email information, which depends on the actual situation.
  • the mail information may further include one or more of a sender, a recipient list, a carbon copy list, and a sending time; the richer the content of the mail information, the subsequent classification process based on the mail information The more accurate.
  • Step 102 Determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all the mails in the mail category.
  • the determination of the mail category of the target mail is essentially to determine all mails having a correspondence relationship with the target mail, and all the mails belong to the mail category; the related mails can be grouped into a group; for example, Group messages with the same message subject. At the same time, there is a quotation relationship between messages within the same message category.
  • the "quotation relationship" in the examples of this application refers to the reply relationship and / or the forwarding relationship when sending the mail; for example, the mail b is used to reply to the mail a Mail, mail b refers to mail a, and mail a is a parent mail of mail b.
  • the superior email may be one or multiple.
  • user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, then user C replies to mail a with mail c, and finally user D replies with mail d with mail d b and mail c; when mail a is the target mail, there is no parent mail in mail a; when mail b is the target mail, the parent mail of mail b is mail a; similarly, the parent mail of mail c is also the mail a; and because the mail d references both the mail b and the mail c, the superior mail of the mail d includes the mail b and the mail c.
  • the target mail as a newly received unread mail as an example
  • the target mail is the most original mail (such as the mail a in the above example)
  • the target mail a can be classified into a category separately, and there is no higher-level mail
  • email b is a reply to the mail a
  • the mail b is the target mail
  • the mail b is classified into the same category as the mail a, and the mail a is a superior mail referenced by the mail b.
  • the target mail a is the original mail
  • the mail a since there is no category corresponding to the mail a at this time, the mail a may not be classified at this time, and the mails a and b are generated when other similar mails b are received. Corresponding message category.
  • determining the first superior mail referenced by the target mail in step 102 may specifically include: first determining the reference content in the target mail, the reference content is the mail information referenced when editing the target mail; The message whose reference content matches is the first parent message of the target message. For example, when user B needs to reply to mail a with mail b, user B needs to reply on the basis of mail a. At this time, when editing mail b, the mail information of mail a will be automatically included, including the sender and receiver of mail a. Users, email subject, etc .; the user adds the content that needs to be answered so that the email body of email b can be generated, and then email b is generated.
  • the mail b refers to the mail information of the mail a, that is, the reference content of the mail b is the mail information of the mail a, and the other user can determine that the superior mail of the mail b is the mail.
  • the first higher-level mail includes the higher-level mail referenced by the single-level target mail and / or the higher-level mail referenced by the multi-level target mail.
  • Single-level referencing refers to the fact that there is only one level of referential relationship between the target message and the first superior email, and the levels of the two are adjacent; multi-level referencing refers to the superimposed reference between the target email and the first superior email Relationship.
  • the upper-level mails referenced by mail d are mail b and mail c, and the higher-level mails referenced by mail d are mail a; there is no multi-level reference of mail b and mail c. There is only one single-level reference to the parent mail a.
  • Step 103 Display the first upper-level mail, and display the target mail in the lower-level display area of the first upper-level mail.
  • the lower-level display area is used to display all the lower-level mails of the first upper-level mail.
  • the target mail and the first upper-level mail are displayed at the same time. Since the target mail is a lower-level mail of the first upper-level mail, the target mail is displayed in the first upper-level mail. Within the lower-level display area; at the same time, there may be multiple lower-level mails for the first-level mail, and all lower-level mails of the first-level mail can be displayed in the lower-level display area, and different lower-level mails occupy different display areas.
  • all messages in the message category can be displayed, or only the similar messages with the sending time before the target message sending time can be displayed, which can be determined according to the actual situation or user settings .
  • mails in this application contain a quotation relationship, so mails can be classified according to the quotation relationship.
  • mail b refers to mail a (that is, mail b is used to reply to mail a).
  • the subordinate message is message b.
  • each message is provided with a corresponding display area, in which the sender, subject, and even the message body of the corresponding message can be displayed.
  • the target mail is a subordinate mail of a certain mail
  • the area or position for displaying the target mail is determined according to the subordinate display area of the mail.
  • general mails can be arranged in order from bottom to top, that is, a certain area above the first upper-level mail is used as the lower-level display area of the first upper-level mail, and displayed at the lower level.
  • the target message is displayed in the area; when the first higher-level message has multiple lower-level messages (that is, there are other messages referencing the first higher-level message in addition to the target message), the multiple lower-level messages can bisect the lower-level display area.
  • user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, then user C replies to mail a with mail c, and finally user D replies with mail d with mail d b and mail c;
  • mail a mail a is the initial mail, and mail a is displayed at the bottom;
  • mail b and mail c both are subordinate mails of mail a, so mail b and mail c can be displayed side by side Above mail a; for mail d, it is a subordinate mail of mail b and mail c, so it can be displayed above mail b and mail c.
  • FIG. 2 a display manner of the mails a, b, c, and d is shown in FIG. 2.
  • the lower-level display area of the upper-level email may be set below the upper-level email, and the corresponding display mode at this time is shown in FIG. 3.
  • a method for processing mail provided by the embodiments of the present application is to determine the category of a mail according to the mail information, and to determine the subordinate mail of the current mail according to the reference relationship between the mails, and then to respectively display the corresponding display area according to the reference relationship of the mail.
  • Displaying the mails users can know all the contents of the mails by reading one mail, and do not need to view the mails with one cover, it is convenient for users to read the mails, and it is convenient for users to manage similar mails, and it is convenient to archive and check the mails.
  • Another embodiment of the present application provides a method for processing mail.
  • the method includes steps 101 to 103 in the foregoing embodiment.
  • steps 101 to 103 For implementation principles and technical effects, refer to the embodiment corresponding to FIG. 1.
  • all similar mails can be displayed when displaying similar mails.
  • the method further includes steps A1-A2:
  • Step A1 traverse all historical messages in the message category, and determine the second parent message referenced by each historical message according to the reference relationship between all historical messages, and the historical message is any one of all historical messages in the message category .
  • Step A2 Display the historical mail in the lower display area of the second higher-level mail corresponding to the historical mail.
  • all the mails in the mail category may form a mail group, and the historical mail is a mail in the mail group except the target mail; similarly, "all mails in the mail category" may be all mails, It can also be a message (including the target message) before the target message is received.
  • all messages in the mail group need to be displayed at this time. Similar to the way to display the target message and the first superior message according to the reference relationship, after determining the second superior message of the historical message, the historical message is displayed in the lower display area of the second superior message; the first superior message can also be Perform steps A1-A2 above as historical mail.
  • all mails are displayed according to the reference relationship, and all similar mails can be displayed globally in a hierarchical manner, which is convenient for users to check.
  • step 103 display the target mail in the lower display area of the first upper mail
  • the method further includes a process of replying to the mail, as shown in FIG. 4, which specifically includes step 104- 105:
  • Step 104 Receive a reply instruction to the mail to be reply, and the mail to be reply is one or more mails in a display state among all mails of the mail category.
  • the mail when a certain mail is displayed, the mail is displayed at the current time. For example, after the target mail and the first superior mail are displayed in the above step 103, the target mail and the first superior mail are in a display state, that is, the user can consult the target mail and the first superior mail.
  • the reply instruction can specify one recipient, or multiple recipients or recipient lists, etc., depending on the user's instruction.
  • Step 105 Determine the third-level superior message of the to-be-reply message according to the reference relationship between the to-reply message and other messages, and generate an editable email template.
  • the email template contains the to-be-reply message and the third-level superior message, and the to-be-reply message It is displayed in the lower display area of the third upper mail.
  • the third superior mail is the superior mail of the to-be-reply mail; when the pending mail is the target mail, the third superior mail is the above-mentioned first superior mail.
  • the mail template generated based on the mail to be responded to and the third-level superior mail also displays the mail hierarchically according to the reference relationship between the mails, so that users who receive the mail based on the mail template can also quickly determine the Reference relationship.
  • the reply instruction in the embodiment of the present application can refer to multiple emails.
  • multiple emails to be responded to can be limited to emails of the same level, that is, only Can reply to multiple messages at the same level at the same time.
  • user D since mail a and mail b are not mails of the same level, user D does not reply to mail a and mail b at the same time.
  • the mail template generated at this time can contain the content of all mails of the same category known to the user, and the display form is calculated based on the user's current mailbox and the response time of the mail, and the mails are arranged according to the parent-child relationship (as shown in Figure 2 above) (Shown) to make it easier for the recipient to view the emails and understand the entire email reply process.
  • the overall reply process of the mail is displayed by adjusting the display area of the current mail. For example, user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, and then user C replies to mail a with mail c.
  • all the mails may be displayed in another manner, and the display manner specifically includes steps B1-B2:
  • Step B1 Determine whether the first higher-level mail is the original message of the mail category. When the first high-level mail is not the most original mail of the mail category, determine and display the fourth high-level mail, and display it in the lower display area of the fourth high-level mail. The first parent email is displayed, and the fourth parent email is the parent email referenced by the first parent email.
  • Step B2 Repeat the above-mentioned processing procedure for the superior mail until the determined superior mail is the original mail of the mail category.
  • the original message is a message that is referenced by all other messages in the message category (including single-level reference and multi-level reference).
  • the superior mail of the first superior mail that is, the fourth superior mail
  • the superior mail of the first superior mail can be determined according to a process similar to step 102, and the first superior mail is displayed according to a similar process to step 103.
  • fourth superior mail Then continue to judge whether the newly determined superior mail (that is, the fourth superior mail) is the original message, that is, determine whether there is any further superior mail in the fourth superior mail; when it exists, repeat step B1 to determine all the superior mail ; When it does not exist, the current superior message is the original message, and processing can be stopped at this time.
  • the upper-level mail is determined and displayed layer by layer by judging whether the current upper-level mail is the most original mail, so that all the mails related to the target mail can be displayed, and then all similar mails can be displayed globally in a hierarchical manner. , Further convenient for users to consult.
  • step "displaying the target mail in the lower display area of the first upper mail" in step 103 includes steps C1-C2:
  • Step C1 Determine all the lower-level mails of the first-level mail, and determine the sending time of each lower-level mail. According to the number of lower-level mails and the sending time of each lower-level mail, determine the lower-level display area of the first upper-level mail for Displays the staging area of the target message.
  • Step C2 Combine the temporary areas for displaying the target mails of all the first upper-level mails into an effective display area, and display the target mails in the effective display area.
  • the target mail when the target mail needs to be displayed, firstly, because the first upper-level mail may correspond to multiple lower-level mails, that is, the lower-level display area of the first upper-level mail needs to display multiple lower-level mails; and the target mail is only multiple lower-level mails.
  • One of the emails, and the subordinate display area needs to be assigned at this time.
  • the lower-level mail of the mail a includes the mail b and the mail c.
  • the display areas for the mail b and the mail c need to be respectively allocated in the lower-level display area of the mail a, and FIG. 2 shows that the lower-level display areas are evenly allocated.
  • mail b has only one upper-level mail, that is, mail a.
  • the temporary area for displaying mail b in the lower display area of mail a can directly display mail b, that is, the temporary area determined at this time. Only one, can be directly used as the effective display area of mail b.
  • the sending time of the mail b is earlier than the sending time of the mail c, the mail b is set on the left side of the mail c.
  • each first-level superior email allocates a temporary area for the target email. At this time, all the temporary areas need to be combined in step C2 for display. The effective display area of the target message.
  • the mails above mail d include mail b and mail c; at the same time, the mails below mail b and mail c only have mail d, so the subordinate display area of mail b It is a temporary area of mail d, and the lower-level display area of mail c is also a temporary area of mail d, and all the lower-level display areas of mail b and mail c together form an area for displaying mail d, that is, an effective display area.
  • the reference relationship between the mails can be more intuitively expressed, and the user can further check the mails.
  • the target message when the target message is displayed, the content of the message related to the first superior message in the target message is hidden. Since the target email is based on the first parent email, the target email may contain the content of the first parent email. If the target email and the first parent email are displayed at the same time, the first email may be displayed repeatedly. The email content of an upper-level email. At this time, the content of the email related to the first superior email in the target email is hidden to avoid repeated display.
  • step 102 "determine the mail category to which the target mail belongs according to the mail information, and determine the first higher-level mail referenced by the target mail according to the reference relationship between all mails in the mail category" specifically includes step D1 -D3:
  • Step D1 Determine the reference content in the target mail, and the reference content is the mail information referenced when editing the target mail.
  • Step D2 According to the content of the quotation, determine the first parent message of the target mail single-level reference and the original message at the top reference of the target mail, and determine the mail identifier of the first parent mail and the mail identifier of the original email, and the first parent mail.
  • the mail ID is an ID that is generated based on at least the mail ID of the original message.
  • Step D3 Generate the mail ID of the target mail according to the mail ID of the first upper-level mail and the mail ID of the original mail; the mail ID is used to determine the mail category of the mail and the reference relationship between all mails in the mail category.
  • the reference content of the target mail may match multiple parent mails.
  • the direct parent mail of the target mail (the parent mail referenced by a single level) may also refer to other mails, and the mail is the target.
  • Indirect superior mail of the message (super-referenced higher-level mail). This is because the reference content of the direct superior mail is also related to the mail information of the indirect superior mail. Therefore, the superior mail that matches the reference content of the target mail may exist. Multiple, and one of them is the original message of the message category, that is, the other messages refer to the original message directly or indirectly.
  • each message is provided with a message identifier, which is related to the message identifier of the original message; the message identifier can be generated at the same time when the message is generated, or it can be preset according to the locality after receiving the message.
  • the rule or the preset rule of the mail system is automatically generated, or the mail identifier may be automatically generated when the user views the mail, which is not limited in this embodiment.
  • the mail identifier in the embodiment of the present application is used to determine a mail category of a mail and a reference relationship between all mails in the mail category.
  • all message identifiers are generated based on the message identifier of the most original message, that is, according to the message identifier of the most original message referenced by the message, it can be determined which messages belong to the same message category, or all messages in the same message category
  • the mail IDs of all are related to the mail ID of the same original message; at the same time, when generating the mail ID of the target mail, the first higher-level mail referenced by the single level is also referred, so that the superiors directly related to the target mail can be determined based on the mail ID
  • the message category of the message and the reference relationship between all messages in the message category can be determined, which facilitates the subsequent process of determining the reference relationship between messages and the superior message.
  • mail a is the original mail.
  • the mail identifier 1 (or "1, null, null") of mail a can be generated separately. Reference relationship, or use null (empty).
  • the single-level referenced upper-level mail and the original mail of mail b are both mail a.
  • the mail identifier “2, 1, 1” of mail b can be generated, where 2 indicates the mail serial number of mail b, and There is also a one-to-one correspondence between the mail serial number and the mail.
  • the middle 1 indicates the mail serial number of the upper-level mail referenced by the single-level mail b. Since the mail a is the original mail, the mail serial number and the mail identifier of the mail a may be the same; the last 1 Indicates the message sequence number of the most original message.
  • the mail code of mail c is 3, 1, 1, where 3 is the mail serial number of mail c; the mail code of mail d is 4, 23, 1, where 4 is the mail of mail d
  • the serial number, 23 in the middle indicates that the single-level reference superior mail of mail d is the mail whose mail serial numbers are 2 and 3, that is, mail b and mail c.
  • the email serial number of each email can include the citation relationship of all superior emails; as in the above example, the email encoding of email a is 1, the email encoding of email b is 2, 1, 1, and the email encoding of email c is 3, 1, 1;
  • the mail code of the mail d can be 4, 211, 311, 1, that is, the mail code of the target mail is directly generated according to the mail code of the single-level reference mail (211, 311). More space, but the reference relationship of all superior messages can be determined based on one message encoding.
  • a method for processing mail is to determine the category of a mail according to the mail information, and to determine the subordinate mail of the current mail according to the reference relationship between the mails, and then to respectively display the corresponding display area according to the reference relationship of the mail.
  • Displaying the mails users can know all the contents of the mails by reading one mail, and do not need to view the mails with one cover, it is convenient for users to read the mails, and it is convenient for users to manage similar mails, and it is convenient to archive and check the mails.
  • displaying a category of emails in the same view is also convenient for users to choose the objects they need to reply to. Users can reply to multiple people's different responses to the same topic at the same time, and other recipients can also be in the same view. Reading all messages and replies to this topic can improve your response efficiency.
  • An apparatus for processing mail provided by an embodiment of the present application, as shown in FIG. 6, includes:
  • the obtaining module 61 is configured to obtain mail information of a target mail, and the mail information includes one or more of a sender, a recipient list, a carbon copy list, a mail subject, a mail body, a mail attachment, and a sending time;
  • a processing module 62 configured to determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all the mails in the mail category;
  • the first display module 63 is configured to display the first upper-level mail, and display the target mail in the lower-level display area of the first upper-level mail, and the lower-level display area is used to display all the lower-level mails of the first upper-level mail.
  • the apparatus further includes: a traversal module 64 and a second display module 65;
  • the traversal module 64 is used to traverse all historical mails in the mail category, and determine the second superior mail referenced by each historical mail according to the reference relationship between all historical mails.
  • the historical mail is any of the historical mails in the mail category.
  • the second display module 65 is configured to display the historical mail in the lower display area of the second upper-level mail corresponding to the historical mail.
  • the processing module 62 includes:
  • a first determining unit configured to determine a reference content in the target email, where the reference content is email information referenced when editing the target email;
  • a processing unit configured to use a message that matches the content of the reference as the first higher-level message of the target message; the first higher-level message includes the higher-level message that the single-level reference of the target message and / or the higher-level reference that the multi-level target message references.
  • the processing module 62 includes:
  • a second determining unit configured to determine a reference content in the target email, where the reference content is email information referenced when the target email is edited;
  • the preprocessing unit is configured to determine the first parent message referenced by the target mail single-level reference and the original message referenced by the topmost target mail according to the content of the reference, and determine the message identifier of the first parent message and the message identifier of the original message.
  • the mail ID of a superior mail is an ID generated at least based on the mail ID of the original mail;
  • a generating unit is configured to generate a mail identifier of the target mail according to the mail identifier of the first upper-level mail and the mail identifier of the most original mail; the mail identifier is used to determine the mail category of the mail and the reference relationship between all messages in the mail category.
  • the apparatus further includes: a receiving module 66 and a template generating module 67;
  • the receiving module 66 is configured to receive a reply instruction pointing to the mail to be reply, and the mail to be reply is one of the mail types in the display state. Or multiple messages
  • the template generating module 67 is configured to determine the third-level superior mail of the to-be-replyed mail according to the reference relationship between the to-reply mail and other mails, and generate an editable mail template.
  • the mail template includes the to-be-replyed mail and the third-level superior mail, The message to be responded is displayed in the lower display area of the third higher-level message.
  • the apparatus further includes a judgment module and a circulation module;
  • the determination module is used to determine whether the first high-level mail is the most original mail of the mail category, and when the first high-level mail is not the most original mail of the mail category, determine and display the fourth high-level mail.
  • Upper-level mail, and the first-level mail is displayed in the lower-level display area of the fourth-level mail, and the fourth-level mail is the higher-level mail referenced by the first-level mail;
  • the loop module is used to repeat the above-mentioned processing process of the superior mail until the determined superior mail is the most original mail of the mail category.
  • the first display module 63 includes:
  • a determining unit 631 configured to determine all the lower-level mails of the first-level mail, and determine the sending time of each lower-level mail, and determine the lower-level display area of the first-level mail according to the number of lower-level mails and the sending time of each lower-level mail; The temporary area used to display the target mail;
  • the display unit 632 is configured to combine the temporary areas for displaying the target mails of all the first upper-level mails into effective display areas, and display the target mails in the effective display area.
  • An embodiment of the present application further provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-readable instructions that include a program for executing the foregoing method for processing mail,
  • the computer-readable instructions can execute the method in any of the method embodiments described above.
  • the non-transitory computer-readable storage medium may be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), Optical memory (such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid-state hard disk (SSD), etc.).
  • magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • Optical memory such as CD, DVD, BD, HVD, etc.
  • semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid-state hard disk (SSD), etc.
  • FIG. 10 shows a structural block diagram of a computer device according to another embodiment of the present application.
  • the computer device 1100 may be a host server with a computing capability, a personal computer PC, or a portable portable computer or terminal.
  • the specific embodiments of the present application do not limit the specific implementation of the computer equipment.
  • the computer device 1100 includes at least one processor 1110, communications interface 1120, memory 1130, and a bus 1140. Among them, the processor 1110, the communication interface 1120, and the memory 1130 complete communication with each other through the bus 1140.
  • the communication interface 1120 is configured to communicate with a network element, where the network element includes, for example, a virtual machine management center, shared storage, and the like.
  • the processor 1110 is configured to execute computer-readable instructions.
  • the processor 1110 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • ASIC application specific integrated circuit
  • the memory 1130 is used for executable instructions.
  • the memory 1130 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
  • the memory 1130 may also be a memory array.
  • the memory 1130 may also be divided into blocks, and the blocks may be combined into a virtual volume according to a certain rule.
  • the instructions stored in the memory 1130 may be executed by the processor 1110, so that the processor 1110 can execute the method in any of the foregoing method embodiments.

Abstract

Provided is a method for processing mail, device, storage medium and computer device, wherein the method comprises: obtaining the mail information of the target mail, the mail information includes one or more items of the mail subject, the mail text and the mail attachment (S101); determining the mail category to which the target mail belongs according to the mail information, and determining the first superior mail referenced by the target mail according to the reference relationship between all the mails in the mail category (S102); displaying the first superior mail, and displaying the target mail in the subordinate display area of the first superior mail, the subordinate display area is used to display all the subordinate mails of the first superior mail (103). The method can facilitate the user to manage similar mails, and facilitate archiving and viewing of mails.

Description

一种处理邮件的方法、装置、存储介质及计算机设备Method, device, storage medium and computer equipment for processing mail
本申请要求于2018年7月19日提交中国专利局、申请号为2018107973109、申请名称为“一种处理邮件的方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of a Chinese patent application filed on July 19, 2018 with the Chinese Patent Office, application number 2018107973109, and application name "A Method, Device, Storage Medium, and Electronic Equipment for Processing Mail", its entire content Incorporated by reference.
技术领域Technical field
本申请涉及数据处理技术领域,特别涉及一种处理邮件的方法、装置、存储介质及计算机设备。The present application relates to the technical field of data processing, and in particular, to a method, a device, a storage medium, and a computer device for processing mail.
背景技术Background technique
随着人们网络生活越来越丰富,邮件往来也很频繁,有时候同一个主题的邮件,由于来回回复了很多次,这些邮件散落在收件箱的各个位置,不利于阅读,很难把握来龙去脉;当用户给多个收件人或包含多个收件人的邮件列表发送邮件时,邮件回复的数量更多、且回复过程更加复杂。此时如果一个用户需要完全理解这个主题,需要点开多封邮件才能完全知道关于这个主题的各种讨论;如果需要回复多个人关于这个主题的不同邮件,则需要回复多次。虽然可以采用人工方式归类,但是总归还是要人工的设置邮件标签或者文件夹进行归类,这样比较费时。As people's online life becomes more and more abundant, and the emails are exchanged frequently, sometimes the emails of the same subject, because they have been replying back and forth many times, are scattered in various places in the inbox, which is not conducive to reading, and it is difficult to grasp the ins and outs. ; When a user sends a message to multiple recipients or a mailing list that contains multiple recipients, the number of email responses is greater and the response process is more complicated. At this point, if a user needs to fully understand the topic, he needs to open multiple emails to fully understand the various discussions on the topic. If he needs to reply to multiple emails about this topic, he needs to reply multiple times. Although manual classification can be used, it is always time-consuming to manually set up mail labels or folders for classification.
现有部分邮箱具有邮件聚合功能,但是邮件聚合功能仅仅实现对同一邮件地址或同一主题的邮件(例如某商家定期发送的订阅邮件等)进行聚合,目前的邮件聚合功能并未应用到邮件往来回复的场景,且更不适用于多收件人的情况。Some existing mailboxes have a mail aggregation function, but the mail aggregation function only implements the aggregation of mails with the same email address or the same subject (for example, a subscription email sent by a merchant on a regular basis). The current mail aggregation function is not applied to mail correspondence. Scenario, and even less suitable for multiple recipients.
发明内容Summary of the invention
本申请提供一种处理邮件的方法、装置、存储介质及计算机设备,用以解决现有邮箱不能对往来邮件进行整合的缺陷。The present application provides a method, a device, a storage medium, and a computer device for processing mails, which are used to solve the defect that the existing mailboxes cannot integrate the mails.
本申请实施例提供的一种处理邮件的方法,包括:A method for processing mail provided by the embodiments of the present application includes:
获取目标邮件的邮件信息,所述邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项;Obtaining mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件;Determining a mail category to which the target mail belongs according to the mail information, and determining a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
显示所述第一上级邮件,并在所述第一上级邮件的下级显示区域内显示所述目标邮件, 所述下级显示区域用于显示所述第一上级邮件的所有下级邮件。Displaying the first upper-level mail, and displaying the target mail in a lower-level display area of the first upper-level mail, where the lower-level display area is used to display all lower-level mails of the first upper-level mail.
基于同样的发明构思,本申请实施例提供的一种处理邮件的装置,包括:Based on the same inventive concept, an apparatus for processing mail provided in the embodiments of the present application includes:
获取模块,用于获取目标邮件的邮件信息,所述邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项;An obtaining module, configured to obtain mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
处理模块,用于根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件;A processing module, configured to determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
第一显示模块,用于显示所述第一上级邮件,并在所述第一上级邮件的下级显示区域内显示所述目标邮件,所述下级显示区域用于显示所述第一上级邮件的所有下级邮件。A first display module, configured to display the first upper-level mail, and display the target mail in a lower-level display area of the first upper-level mail, and the lower-level display area is used to display all of the first upper-level mail Subordinate mail.
本申请实施例还提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可读指令,所述计算机可读指令用于执行上述处理邮件的方法。An embodiment of the present application further provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are used to execute the foregoing method for processing mail .
本申请实施例还提供一种计算机设备,包括:An embodiment of the present application further provides a computer device, including:
至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,At least one processor; and a memory connected in communication with the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的计算机可读指令,所述计算机可读指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的处理邮件的方法。The memory stores computer-readable instructions executable by the at least one processor, and the computer-readable instructions are executed by the at least one processor, so that the at least one processor can perform the foregoing processing of mail. method.
本申请实施例提供的一种处理邮件的方法、装置、存储介质及计算机设备,根据邮件信息确定邮件的类别,并根据邮件之间的引用关系可以确定当前邮件的上下级邮件,进而根据邮件的引用关系分别在相应的显示区域显示往来邮件,用户通过阅读一封邮件即可得知所有的往来邮件内容,不需要一封封地查看邮件,方便用户阅读邮件,且方便用户管理同类邮件,便于邮件的归档和查阅。同时,在同一个视图内显示一类的邮件,也方便用户选择所需回复的对象,用户可以在同一封邮件同时回复多个人对同一主题的不同回复,其他收件人也可以在同样的视图阅读该主题的所有邮件和回复,可以提高回复效率。A method, a device, a storage medium, and a computer device for processing mail provided by the embodiments of the present application, determine the type of mail according to the mail information, and determine the subordinate mail of the current mail according to the reference relationship between the mail, and then according to the mail's The citation relationship displays the corresponding emails in the corresponding display area. The user can know the contents of all the emails by reading an email. The user does not need to view the emails in a closed manner. Archive and review. At the same time, displaying a category of emails in the same view is also convenient for users to choose the objects they need to reply to. Users can reply to multiple people's different responses to the same topic at the same time, and other recipients can also be in the same view. Reading all messages and replies to this topic can improve your response efficiency.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be explained in the following description, and partly become apparent from the description, or be understood by implementing the present application. The objects and other advantages of the present application can be achieved and obtained by the structures specifically indicated in the written description, claims, and drawings.
下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。The technical solutions of the present application are described in further detail below with reference to the drawings and embodiments.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
附图用来提供对本申请的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请,并不构成对本申请的限制。在附图中:The drawings are used to provide a further understanding of the present application, and constitute a part of the specification. They are used to explain the present application together with the embodiments of the present application, and do not constitute a limitation on the present application. In the drawings:
图1为本申请实施例中处理邮件的方法的第一流程图;FIG. 1 is a first flowchart of a method for processing mail according to an embodiment of the present application; FIG.
图2为本申请实施例中显示邮件的第一显示方式示意图;FIG. 2 is a schematic diagram of a first display manner for displaying a mail according to an embodiment of the present application; FIG.
图3为本申请实施例中显示邮件的第二显示方式示意图;FIG. 3 is a schematic diagram of a second display mode for displaying mail in the embodiment of the present application; FIG.
图4为本申请实施例中处理邮件的方法的第二流程图;4 is a second flowchart of a method for processing mail according to an embodiment of the present application;
图5为本申请实施例中显示邮件的第三显示方式示意图;FIG. 5 is a schematic diagram of a third display mode for displaying mail in the embodiment of the present application; FIG.
图6为本申请实施例中处理邮件的装置的第一结构图;FIG. 6 is a first structural diagram of a mail processing device in an embodiment of the present application; FIG.
图7为本申请实施例中处理邮件的装置的第二结构图;7 is a second structural diagram of an apparatus for processing mail in an embodiment of the present application;
图8为本申请实施例中处理邮件的装置的第三结构图;FIG. 8 is a third structural diagram of an apparatus for processing mail according to an embodiment of the present application; FIG.
图9为本申请实施例中第一显示模块的结构图;9 is a structural diagram of a first display module in an embodiment of the present application;
图10为本申请实施例中计算机设备的结构示意图。FIG. 10 is a schematic structural diagram of a computer device in an embodiment of the present application.
具体实施方式detailed description
以下结合附图对本申请的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本申请,并不用于限定本申请。The following describes preferred embodiments of the present application with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not intended to limit the present application.
本申请实施例提供的一种处理邮件的方法,用于实现往来邮件的整合,参见图1所示,包括步骤101-103:A method for processing mail provided by the embodiments of the present application is used to implement the integration of mails, as shown in FIG. 1, including steps 101-103:
步骤101:获取目标邮件的邮件信息,邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项。Step 101: Obtain mail information of a target mail, and the mail information includes one or more of a mail subject, a mail body, and a mail attachment.
本申请实例中,目标邮件可以是收件箱、发件箱等中的任何一封或多封邮件,具体的,目标邮件可以是用户新收到的未读邮件,可以是用户之前收到的已读邮件,也可以是用户需要新发出的邮件,还可以是基于用户的选择指令所选择的一封或多封邮件。通过对邮件信息进行识别(例如文本识别)可以确定目标邮件的主题、正文、附件等邮件信息。该邮件信息用于确定目标邮件的类别,一般可以将邮件主题作为邮件信息,也可以将其他项或多项作为邮件信息,具体根据实际情况而定;同时,当需要获取某一项信息但是该信息(如抄送列表、邮件附件等)并不存在,此时将该项信息设置为空(null);比如邮件没有附件,则邮件附件一项为空。可选的,该邮件信息还可以包括发件人、收件人列表、抄送列表、发件时间中的一项或多项;邮件信息包含的内容越丰富,后续基于邮件信息进行分类的过程越准确。In the example of this application, the target mail can be any one or more of the inbox, outbox, etc. Specifically, the target mail can be a new unread mail received by the user, or a previously received mail The read message can also be a new message that the user needs to send, or one or more messages selected based on the user's selection instruction. By identifying the mail information (for example, text recognition), the mail information such as the subject, body, and attachment of the target mail can be determined. This email information is used to determine the category of the target email. Generally, the subject of the email can be used as the email information, or other items or multiple items can be used as the email information, which depends on the actual situation. At the same time, when you need to obtain a certain item of information but the The information (such as the CC list, email attachment, etc.) does not exist. At this time, the information is set to null; for example, if the email has no attachment, the email attachment is empty. Optionally, the mail information may further include one or more of a sender, a recipient list, a carbon copy list, and a sending time; the richer the content of the mail information, the subsequent classification process based on the mail information The more accurate.
步骤102:根据邮件信息确定目标邮件所属的邮件类别,并根据邮件类别中所有邮件之间的引用关系确定目标邮件所引用的第一上级邮件。Step 102: Determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all the mails in the mail category.
本申请实施例中,确定目标邮件的邮件类别本质上是确定与该目标邮件具有往来关系的所有邮件,所有邮件均属于该邮件类别;可以以分组的形式将相关邮件归为一组;例如, 将具有同一邮件主题的邮件归为一组。同时,同一邮件类别内的邮件之间存在引用关系,本申请实施例中的“引用关系”指的是发送邮件时的回复关系和/或转发关系;例如,邮件b是用来回复邮件a的邮件,则邮件b引用邮件a,且邮件a为邮件b的上级邮件。通过邮件之间的引用关系可以确定目标邮件所引用的上级邮件(即第一上级邮件)该上级邮件可以为1封,也可以为多封。例如,用户A向用户B、C、D同时发送了邮件a,之后用户B以邮件b回复了邮件a,再之后用户C以邮件c回复了邮件a,最后用户D以邮件d同时回复了邮件b和邮件c;则当邮件a为目标邮件时,邮件a不存在上级邮件;当邮件b为目标邮件时,邮件b的上级邮件即为邮件a;同理,邮件c的上级邮件也为邮件a;而由于邮件d同时引用了邮件b和邮件c,故邮件d的上级邮件包括邮件b和邮件c。In the embodiment of the present application, the determination of the mail category of the target mail is essentially to determine all mails having a correspondence relationship with the target mail, and all the mails belong to the mail category; the related mails can be grouped into a group; for example, Group messages with the same message subject. At the same time, there is a quotation relationship between messages within the same message category. The "quotation relationship" in the examples of this application refers to the reply relationship and / or the forwarding relationship when sending the mail; for example, the mail b is used to reply to the mail a Mail, mail b refers to mail a, and mail a is a parent mail of mail b. According to the reference relationship between the emails, it is possible to determine the superior email (that is, the first superior email) referenced by the target email. The superior email may be one or multiple. For example, user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, then user C replies to mail a with mail c, and finally user D replies with mail d with mail d b and mail c; when mail a is the target mail, there is no parent mail in mail a; when mail b is the target mail, the parent mail of mail b is mail a; similarly, the parent mail of mail c is also the mail a; and because the mail d references both the mail b and the mail c, the superior mail of the mail d includes the mail b and the mail c.
以目标邮件为新收到的未读邮件为例,当该目标邮件为最原始的邮件(例如上例中的邮件a)时,即暂时还不存在与该目标邮件a同类的其他邮件,此时可以将该目标邮件a单独归为一个类别,且不存在上级邮件;待之后收取到其他同类邮件b时(邮件b是回复邮件a的邮件),此时将邮件b作为目标邮件,并将该邮件b归为与邮件a同一类,且邮件a为邮件b所引用的上级邮件。或者,当目标邮件a为最原始的邮件时,由于此时没有与邮件a对应的类别,此时可以不对邮件a做分类处理,待接收到其他同类邮件b时再生成与邮件a和邮件b对应的邮件类别。Taking the target mail as a newly received unread mail as an example, when the target mail is the most original mail (such as the mail a in the above example), that is, there is no other mail similar to the target mail a. When the target mail a can be classified into a category separately, and there is no higher-level mail; when other similar mail b is received later (mail b is a reply to the mail a), the mail b is the target mail, and The mail b is classified into the same category as the mail a, and the mail a is a superior mail referenced by the mail b. Alternatively, when the target mail a is the original mail, since there is no category corresponding to the mail a at this time, the mail a may not be classified at this time, and the mails a and b are generated when other similar mails b are received. Corresponding message category.
本申请实施例中,步骤102中确定目标邮件所引用的第一上级邮件具体可以包括:首先确定目标邮件中的引用内容,该引用内容为编辑所述目标邮件时所引用的邮件信息;将与该引用内容相匹配的邮件作为目标邮件的第一上级邮件。例如,用户B需要以邮件b回复邮件a时,用户B需要在邮件a的基础上进行回复,此时在编辑邮件b时会自动包含邮件a的邮件信息,包括邮件a的发件人、收件人、邮件主题等;用户添加需要回复的内容从而可以生成邮件b的邮件正文,进而生成邮件b。当其他用户收到该邮件b后即可确定邮件b所引用的是邮件a的邮件信息,即邮件b的引用内容为邮件a的邮件信息,该其他用户即可确定邮件b的上级邮件为邮件a。同时,第一上级邮件包括目标邮件单级引用的上级邮件和/或目标邮件多级引用的上级邮件。单级引用指的是目标邮件与该第一上级邮件之间只有一级引用关系,二者的层级是相邻的;多级引用指的是目标邮件与该第一上级邮件之间是叠加引用的关系。以上述四个用户分别发送四封邮件为例,邮件d单级引用的上级邮件为邮件b和邮件c,邮件d多级引用的上级邮件为邮件a;邮件b和邮件c不存在多级引用的上级邮件,只有一个单级引用的上级邮件a。In the embodiment of the present application, determining the first superior mail referenced by the target mail in step 102 may specifically include: first determining the reference content in the target mail, the reference content is the mail information referenced when editing the target mail; The message whose reference content matches is the first parent message of the target message. For example, when user B needs to reply to mail a with mail b, user B needs to reply on the basis of mail a. At this time, when editing mail b, the mail information of mail a will be automatically included, including the sender and receiver of mail a. Users, email subject, etc .; the user adds the content that needs to be answered so that the email body of email b can be generated, and then email b is generated. When other users receive the mail b, they can determine that the mail b refers to the mail information of the mail a, that is, the reference content of the mail b is the mail information of the mail a, and the other user can determine that the superior mail of the mail b is the mail. a. At the same time, the first higher-level mail includes the higher-level mail referenced by the single-level target mail and / or the higher-level mail referenced by the multi-level target mail. Single-level referencing refers to the fact that there is only one level of referential relationship between the target message and the first superior email, and the levels of the two are adjacent; multi-level referencing refers to the superimposed reference between the target email and the first superior email Relationship. Take the above four users to send four mails respectively as an example. The upper-level mails referenced by mail d are mail b and mail c, and the higher-level mails referenced by mail d are mail a; there is no multi-level reference of mail b and mail c. There is only one single-level reference to the parent mail a.
步骤103:显示第一上级邮件,并在第一上级邮件的下级显示区域内显示目标邮件,该下级显示区域用于显示第一上级邮件的所有下级邮件。Step 103: Display the first upper-level mail, and display the target mail in the lower-level display area of the first upper-level mail. The lower-level display area is used to display all the lower-level mails of the first upper-level mail.
本申请实施例中,在确定目标邮件的第一上级邮件后,同时显示目标邮件和第一上级邮件,由于目标邮件是第一上级邮件的一个下级邮件,故目标邮件显示在第一上级邮件的下级显示区域内;同时,该第一上级邮件可能存在多个下级邮件,第一上级邮件的所有下级邮件均可以显示在该下级显示区域内,不同的下级邮件占用不同的显示区域。此外,在确定目标邮件的邮件类别后,可以显示该邮件类别中的所有邮件,也可以只显示发件时间在该目标邮件发件时间之前的同类邮件,具体可以根据实际情况或用户设置而定。In the embodiment of the present application, after the first upper-level mail of the target mail is determined, the target mail and the first upper-level mail are displayed at the same time. Since the target mail is a lower-level mail of the first upper-level mail, the target mail is displayed in the first upper-level mail. Within the lower-level display area; at the same time, there may be multiple lower-level mails for the first-level mail, and all lower-level mails of the first-level mail can be displayed in the lower-level display area, and different lower-level mails occupy different display areas. In addition, after the message category of the target message is determined, all messages in the message category can be displayed, or only the similar messages with the sending time before the target message sending time can be displayed, which can be determined according to the actual situation or user settings .
如上所述,本申请中同类邮件之间含有引用关系,故可以根据该引用关系对邮件进行分级,例如邮件b引用邮件a(即邮件b是用来回复邮件a的邮件),则邮件a的下级邮件为邮件b。同时每个邮件设有一个相应的显示区域,在该显示区域内可以显示相应邮件的发件人、主题、甚至邮件正文等。当确定目标邮件为某一邮件的下级邮件时,根据该邮件的下级显示区域确定用来显示该目标邮件的区域或位置。例如,一般邮件可以按照发件时间(或收件时间)从下往上的顺序排列,即将该第一上级邮件的上方某一区域作为该第一上级邮件的下级显示区域,并在该下级显示区域内显示目标邮件;当该第一上级邮件具有多封下级邮件时(即除了目标邮件外,还有其他邮件引用了该第一上级邮件),则多封下级邮件可以平分该下级显示区域。例如,用户A向用户B、C、D同时发送了邮件a,之后用户B以邮件b回复了邮件a,再之后用户C以邮件c回复了邮件a,最后用户D以邮件d同时回复了邮件b和邮件c;对于邮件a,邮件a是最初始的邮件,邮件a显示在最底层;对于邮件b和邮件c,二者均为邮件a的下级邮件,故邮件b和邮件c可以并列显示在邮件a的上方;对于邮件d,其为邮件b和邮件c的下级邮件,故可以显示在邮件b和邮件c的上方。此时,邮件a、b、c、d的一种显示方式如图2所示。或者,也可以将上级邮件的下级显示区域设置在上级邮件的下方,此时对应的显示方式如图3所示。As mentioned above, similar mails in this application contain a quotation relationship, so mails can be classified according to the quotation relationship. For example, mail b refers to mail a (that is, mail b is used to reply to mail a). The subordinate message is message b. At the same time, each message is provided with a corresponding display area, in which the sender, subject, and even the message body of the corresponding message can be displayed. When it is determined that the target mail is a subordinate mail of a certain mail, the area or position for displaying the target mail is determined according to the subordinate display area of the mail. For example, general mails can be arranged in order from bottom to top, that is, a certain area above the first upper-level mail is used as the lower-level display area of the first upper-level mail, and displayed at the lower level. The target message is displayed in the area; when the first higher-level message has multiple lower-level messages (that is, there are other messages referencing the first higher-level message in addition to the target message), the multiple lower-level messages can bisect the lower-level display area. For example, user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, then user C replies to mail a with mail c, and finally user D replies with mail d with mail d b and mail c; for mail a, mail a is the initial mail, and mail a is displayed at the bottom; for mail b and mail c, both are subordinate mails of mail a, so mail b and mail c can be displayed side by side Above mail a; for mail d, it is a subordinate mail of mail b and mail c, so it can be displayed above mail b and mail c. At this time, a display manner of the mails a, b, c, and d is shown in FIG. 2. Alternatively, the lower-level display area of the upper-level email may be set below the upper-level email, and the corresponding display mode at this time is shown in FIG. 3.
本申请实施例提供的一种处理邮件的方法,根据邮件信息确定邮件的类别,并根据邮件之间的引用关系可以确定当前邮件的上下级邮件,进而根据邮件的引用关系分别在相应的显示区域显示往来邮件,用户通过阅读一封邮件即可得知所有的往来邮件内容,不需要一封封地查看邮件,方便用户阅读邮件,且方便用户管理同类邮件,便于邮件的归档和查阅。A method for processing mail provided by the embodiments of the present application is to determine the category of a mail according to the mail information, and to determine the subordinate mail of the current mail according to the reference relationship between the mails, and then to respectively display the corresponding display area according to the reference relationship of the mail. Displaying the mails, users can know all the contents of the mails by reading one mail, and do not need to view the mails with one cover, it is convenient for users to read the mails, and it is convenient for users to manage similar mails, and it is convenient to archive and check the mails.
本申请另一实施例提供一种处理邮件的方法,该方法包括上述实施例中的步骤101-103,其实现原理以及技术效果参见图1对应的实施例。同时,本申请实施例中在显示同类邮件时可以显示全部的同类邮件,此时该方法还包括步骤A1-A2:Another embodiment of the present application provides a method for processing mail. The method includes steps 101 to 103 in the foregoing embodiment. For implementation principles and technical effects, refer to the embodiment corresponding to FIG. 1. At the same time, in the embodiment of the present application, all similar mails can be displayed when displaying similar mails. At this time, the method further includes steps A1-A2:
步骤A1:遍历邮件类别中的所有历史邮件,根据所有历史邮件之间的引用关系分别确定每个历史邮件所引用的第二上级邮件,历史邮件为邮件类别中的所有历史邮件中的任一 个邮件。Step A1: traverse all historical messages in the message category, and determine the second parent message referenced by each historical message according to the reference relationship between all historical messages, and the historical message is any one of all historical messages in the message category .
步骤A2:在与历史邮件对应的第二上级邮件的下级显示区域内显示历史邮件。Step A2: Display the historical mail in the lower display area of the second higher-level mail corresponding to the historical mail.
本申请实施例中,该邮件类别的所有邮件可以组成一个邮件组,历史邮件为该邮件组中除了目标邮件之外的一个邮件;同样的,“邮件类别的所有邮件”可以为全部的邮件,也可以是在收到该目标邮件之前的邮件(包括目标邮件)。当在邮件组中除了包含目标邮件和第一上级邮件之外,还包含其他邮件时,此时需要显示邮件组中的所有邮件。与按照引用关系显示目标邮件和第一上级邮件的方式相似,在确定历史邮件的第二上级邮件之后,在第二上级邮件的下级显示区域内显示该历史邮件;其中,第一上级邮件也可以作为历史邮件执行上述步骤A1-A2。本申请实施例中根据引用关系显示所有邮件,可以分层次地全局显示所有同类的往来邮件,进一步方便用户查阅。In the embodiment of the present application, all the mails in the mail category may form a mail group, and the historical mail is a mail in the mail group except the target mail; similarly, "all mails in the mail category" may be all mails, It can also be a message (including the target message) before the target message is received. When the mail group contains other messages in addition to the target message and the first parent message, all messages in the mail group need to be displayed at this time. Similar to the way to display the target message and the first superior message according to the reference relationship, after determining the second superior message of the historical message, the historical message is displayed in the lower display area of the second superior message; the first superior message can also be Perform steps A1-A2 above as historical mail. In the embodiment of the present application, all mails are displayed according to the reference relationship, and all similar mails can be displayed globally in a hierarchical manner, which is convenient for users to check.
在上述实施例的基础上,在步骤103“在第一上级邮件的下级显示区域内显示目标邮件”之后,该方法还包括回复邮件的过程,参见图4所示,该过程具体包括步骤104-105:On the basis of the above embodiment, after step 103 "display the target mail in the lower display area of the first upper mail", the method further includes a process of replying to the mail, as shown in FIG. 4, which specifically includes step 104- 105:
步骤104:接收指向待回复邮件的回复指令,待回复邮件为邮件类别的所有邮件中处于显示状态的一个或多个邮件。Step 104: Receive a reply instruction to the mail to be reply, and the mail to be reply is one or more mails in a display state among all mails of the mail category.
本申请实施例中,当显示某一邮件后,则该邮件在当前时刻即为显示状态。例如,上述步骤103显示目标邮件和第一上级邮件后,该目标邮件和第一上级邮件处于显示状态,即用户可以查阅目标邮件和第一上级邮件。当用户需要回复处于显示状态的邮件时,输入指向该邮件的回复指令即可,该邮件即为待回复邮件。例如,用户可以通过单击、双击、长按或滑动等方式来选定待回复的邮件。同时,该回复指令可以指定一个收件人、也可以指定多个收件人或收件人列表等,具体根据用户的指令而定。In the embodiment of the present application, when a certain mail is displayed, the mail is displayed at the current time. For example, after the target mail and the first superior mail are displayed in the above step 103, the target mail and the first superior mail are in a display state, that is, the user can consult the target mail and the first superior mail. When the user needs to reply to the mail in the display state, just input a reply instruction pointing to the mail, and the mail is the mail to be reply. For example, the user can select a message to reply by clicking, double-clicking, long-pressing, or swiping. At the same time, the reply instruction can specify one recipient, or multiple recipients or recipient lists, etc., depending on the user's instruction.
步骤105:根据待回复邮件与其他邮件之间的引用关系确定待回复邮件的第三上级邮件,并生成可编辑的邮件模板,邮件模板中包含待回复邮件和第三上级邮件,且待回复邮件显示于第三上级邮件的下级显示区域内。Step 105: Determine the third-level superior message of the to-be-reply message according to the reference relationship between the to-reply message and other messages, and generate an editable email template. The email template contains the to-be-reply message and the third-level superior message, and the to-be-reply message It is displayed in the lower display area of the third upper mail.
本申请实施例中,第三上级邮件为该待回复邮件的上级邮件;当该待回复邮件为目标邮件时,第三上级邮件即为上述的第一上级邮件。根据待回复邮件和第三上级邮件生成的邮件模板也按照邮件之间的引用关系分层级地显示邮件,从而使得接收到以该邮件模板为基础的邮件的用户也可以快速确定邮件之间的引用关系。In the embodiment of the present application, the third superior mail is the superior mail of the to-be-reply mail; when the pending mail is the target mail, the third superior mail is the above-mentioned first superior mail. The mail template generated based on the mail to be responded to and the third-level superior mail also displays the mail hierarchically according to the reference relationship between the mails, so that users who receive the mail based on the mail template can also quickly determine the Reference relationship.
同时,本申请实施例中的回复指令可以指向多封邮件,当待回复邮件为多封时,为了避免邮件之间上下级关系错乱,多封待回复邮件可以限定为同级的邮件,即只可以针对同一级的多封邮件进行同时回复。如上图2对应的实施例,由于邮件a和邮件b不是同级的邮件,用户D不同时回复邮件a和邮件b。此时生成的邮件模板中可以包含该用户已知的同类 别的所有邮件的内容,展示形式根据用户当前邮箱已收到邮件及回复时间计算所得,且邮件按照上下级关系排列(如上图2所示),方便收件人查看邮件往来,更容易理解整个邮件回复过程。At the same time, the reply instruction in the embodiment of the present application can refer to multiple emails. When there are multiple emails to be responded to, in order to avoid disorder of the relationship between the emails, multiple emails to be responded to can be limited to emails of the same level, that is, only Can reply to multiple messages at the same level at the same time. As in the embodiment corresponding to FIG. 2 above, since mail a and mail b are not mails of the same level, user D does not reply to mail a and mail b at the same time. The mail template generated at this time can contain the content of all mails of the same category known to the user, and the display form is calculated based on the user's current mailbox and the response time of the mail, and the mails are arranged according to the parent-child relationship (as shown in Figure 2 above) (Shown) to make it easier for the recipient to view the emails and understand the entire email reply process.
此外,当用户需要同时对不同级的邮件进行回复时,通过调整当前邮件的显示区域来显示邮件的整体回复过程。例如,用户A向用户B、C、D同时发送了邮件a,之后用户B以邮件b回复了邮件a,再之后用户C以邮件c回复了邮件a,此时,如用户D在回复邮件a时,若还需要回复邮件b和c,则根据用户设定规则(例如,提醒是否归并b和c的内容,如果用户选择是,则邮件d既回复了邮件a,同时也包含了邮件b和c的内容作为上级),把b和c的内容归并到当前邮件,此时的一种显示方式参见图5所示。本申请实施例中,在同一个视图内显示一类的邮件,也方便用户选择所需回复的对象,用户可以在同一封邮件同时回复多个人对同一主题的不同回复,其他收件人也可以在同样的视图阅读该主题的所有邮件和回复,可以提高回复效率。In addition, when the user needs to reply to mails of different levels at the same time, the overall reply process of the mail is displayed by adjusting the display area of the current mail. For example, user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, and then user C replies to mail a with mail c. At this time, if user D is replying to mail a If you still need to reply to emails b and c, according to user-set rules (for example, reminding whether to merge the contents of b and c, if the user chooses yes, then email d responds to both email a and email b and The content of c is taken as the superior), and the contents of b and c are merged into the current mail. For a display mode at this time, see FIG. 5. In the embodiment of the present application, a type of mail is displayed in the same view, which is also convenient for the user to select the object to be responded to. The user can reply to multiple people's different replies to the same topic at the same time, and other recipients can also Reading all messages and replies to this topic in the same view can improve the response efficiency.
可选的,在上述实施例的基础上,在显示第一上级邮件之后,还可以以另一种方式显示全部邮件,该显示方式具体包括步骤B1-B2:Optionally, on the basis of the above embodiment, after displaying the first higher-level mail, all the mails may be displayed in another manner, and the display manner specifically includes steps B1-B2:
步骤B1:判断第一上级邮件是否为邮件类别的最原始邮件,在第一上级邮件不是邮件类别的最原始邮件时,确定并显示第四上级邮件,并在第四上级邮件的下级显示区域内显示第一上级邮件,第四上级邮件为第一上级邮件所引用的上级邮件。Step B1: Determine whether the first higher-level mail is the original message of the mail category. When the first high-level mail is not the most original mail of the mail category, determine and display the fourth high-level mail, and display it in the lower display area of the fourth high-level mail. The first parent email is displayed, and the fourth parent email is the parent email referenced by the first parent email.
步骤B2:重复上述对上级邮件的处理过程,直至确定的上级邮件是邮件类别的最原始邮件。Step B2: Repeat the above-mentioned processing procedure for the superior mail until the determined superior mail is the original mail of the mail category.
本申请实施例中,最原始邮件为该邮件类别中所有其他邮件均引用(包括单级引用和多级引用)的邮件。当该第一上级邮件不是最原始邮件时,即可按照与步骤102相似的过程确定该第一上级邮件的上级邮件,即第四上级邮件,并按照与步骤103相似的过程显示第一上级邮件和第四上级邮件。之后继续判断新确定的上级邮件(即该第四上级邮件)是否是最原始邮件,即确定该第四上级邮件是否还存在进一步的上级邮件;当存在时,重复步骤B1以确定所有的上级邮件;当不存在时,则当前的上级邮件是最原始的邮件,此时可以停止处理。In the embodiment of the present application, the original message is a message that is referenced by all other messages in the message category (including single-level reference and multi-level reference). When the first superior mail is not the original message, the superior mail of the first superior mail, that is, the fourth superior mail, can be determined according to a process similar to step 102, and the first superior mail is displayed according to a similar process to step 103. And fourth superior mail. Then continue to judge whether the newly determined superior mail (that is, the fourth superior mail) is the original message, that is, determine whether there is any further superior mail in the fourth superior mail; when it exists, repeat step B1 to determine all the superior mail ; When it does not exist, the current superior message is the original message, and processing can be stopped at this time.
本申请实施例中,通过判断当前的上级邮件是否为最原始邮件来逐层确定上级邮件并显示,从而可以显示与该目标邮件相关的所有邮件,进而可以分层次地全局显示所有同类的往来邮件,进一步方便用户查阅。In the embodiment of the present application, the upper-level mail is determined and displayed layer by layer by judging whether the current upper-level mail is the most original mail, so that all the mails related to the target mail can be displayed, and then all similar mails can be displayed globally in a hierarchical manner. , Further convenient for users to consult.
在上述实施例的基础上,步骤103中“在第一上级邮件的下级显示区域内显示目标邮件”,包括步骤C1-C2:Based on the above embodiment, the step "displaying the target mail in the lower display area of the first upper mail" in step 103 includes steps C1-C2:
步骤C1:确定第一上级邮件的所有下级邮件,并确定每个下级邮件的发件时间,根据下级邮件的数量以及每个下级邮件的发件时间确定第一上级邮件的下级显示区域内用于显示目标邮件的临时区域。Step C1: Determine all the lower-level mails of the first-level mail, and determine the sending time of each lower-level mail. According to the number of lower-level mails and the sending time of each lower-level mail, determine the lower-level display area of the first upper-level mail for Displays the staging area of the target message.
步骤C2:将所有第一上级邮件的用于显示目标邮件的临时区域组合为有效显示区域,在有效显示区域内显示目标邮件。Step C2: Combine the temporary areas for displaying the target mails of all the first upper-level mails into an effective display area, and display the target mails in the effective display area.
本申请实施例中,在需要显示目标邮件时,首先由于第一上级邮件可能对应多个下级邮件,即第一上级邮件的下级显示区域需要显示多个下级邮件;而目标邮件仅仅是多个下级邮件中的一个,此时需要分配该下级显示区域。以图2为例,邮件a的下级邮件包括邮件b和邮件c,此时需要分别在邮件a的下级显示区域内为邮件b和邮件c分配显示区域,图2为平均分配该下级显示区域。同时,对于邮件b来说,邮件b只有一个上级邮件,即邮件a,此时可以在邮件a的下级显示区域内用于显示邮件b的临时区域直接显示邮件b,即此时确定的临时区域只为一个,可以直接作为邮件b的有效显示区域。同时,由于邮件b的发件时间早于邮件c的发件时间,故将邮件b设置在邮件c的左侧。In the embodiment of the present application, when the target mail needs to be displayed, firstly, because the first upper-level mail may correspond to multiple lower-level mails, that is, the lower-level display area of the first upper-level mail needs to display multiple lower-level mails; and the target mail is only multiple lower-level mails. One of the emails, and the subordinate display area needs to be assigned at this time. Taking FIG. 2 as an example, the lower-level mail of the mail a includes the mail b and the mail c. At this time, the display areas for the mail b and the mail c need to be respectively allocated in the lower-level display area of the mail a, and FIG. 2 shows that the lower-level display areas are evenly allocated. At the same time, for mail b, mail b has only one upper-level mail, that is, mail a. At this time, the temporary area for displaying mail b in the lower display area of mail a can directly display mail b, that is, the temporary area determined at this time. Only one, can be directly used as the effective display area of mail b. Meanwhile, since the sending time of the mail b is earlier than the sending time of the mail c, the mail b is set on the left side of the mail c.
若目标邮件具有多个第一上级邮件时,此时在步骤C1中每个第一上级邮件为该目标邮件分配一个临时区域,此时需要在步骤C2中将所有的临时区域组合为用于显示目标邮件的有效显示区域。以图2为例,当目标邮件为邮件d时,此时邮件d的上级邮件包括邮件b和邮件c;同时,邮件b和邮件c的下级邮件均只有邮件d,则邮件b的下级显示区域为邮件d的一个临时区域,邮件c的下级显示区域也是邮件d的一个临时区域,而邮件b和邮件c的所有下级显示区域共同组成用于显示邮件d的区域,即有效显示区域。本申请实施例中,通过将一个或多个临时区域组合成用于显示目标邮件的有效显示区域的方式,可以更加直观的表示邮件之间的引用关系,进一步方便用户查阅往来邮件。If the target email has multiple first-level superior emails, at this time in step C1, each first-level superior email allocates a temporary area for the target email. At this time, all the temporary areas need to be combined in step C2 for display. The effective display area of the target message. Taking Figure 2 as an example, when the target mail is mail d, the mails above mail d include mail b and mail c; at the same time, the mails below mail b and mail c only have mail d, so the subordinate display area of mail b It is a temporary area of mail d, and the lower-level display area of mail c is also a temporary area of mail d, and all the lower-level display areas of mail b and mail c together form an area for displaying mail d, that is, an effective display area. In the embodiment of the present application, by combining one or more temporary areas into an effective display area for displaying the target mail, the reference relationship between the mails can be more intuitively expressed, and the user can further check the mails.
可选的,显示目标邮件时,隐藏目标邮件中与第一上级邮件相关的邮件内容。由于目标邮件在以第一上级邮件为基础进行回复时,目标邮件的邮件内容中可能存在第一上级邮件的邮件内容,此时若同时显示目标邮件和第一上级邮件,则可能会重复显示第一上级邮件的邮件内容,此时通过隐藏目标邮件中与第一上级邮件相关的邮件内容的方式避免重复显示。Optionally, when the target message is displayed, the content of the message related to the first superior message in the target message is hidden. Since the target email is based on the first parent email, the target email may contain the content of the first parent email. If the target email and the first parent email are displayed at the same time, the first email may be displayed repeatedly. The email content of an upper-level email. At this time, the content of the email related to the first superior email in the target email is hidden to avoid repeated display.
在上述实施例的基础上,步骤102:“根据邮件信息确定目标邮件所属的邮件类别,并根据邮件类别中所有邮件之间的引用关系确定目标邮件所引用的第一上级邮件”具体包括步骤D1-D3:On the basis of the above embodiment, step 102: "determine the mail category to which the target mail belongs according to the mail information, and determine the first higher-level mail referenced by the target mail according to the reference relationship between all mails in the mail category" specifically includes step D1 -D3:
步骤D1:确定目标邮件中的引用内容,引用内容为编辑目标邮件时所引用的邮件信息。Step D1: Determine the reference content in the target mail, and the reference content is the mail information referenced when editing the target mail.
步骤D2:根据引用内容确定目标邮件单级引用的第一上级邮件和目标邮件最顶级引用 的最原始邮件,并确定第一上级邮件的邮件标识和最原始邮件的邮件标识,且第一上级邮件的邮件标识为至少根据最原始邮件的邮件标识生成的标识。Step D2: According to the content of the quotation, determine the first parent message of the target mail single-level reference and the original message at the top reference of the target mail, and determine the mail identifier of the first parent mail and the mail identifier of the original email, and the first parent mail. The mail ID is an ID that is generated based on at least the mail ID of the original message.
步骤D3:根据第一上级邮件的邮件标识和最原始邮件的邮件标识生成目标邮件的邮件标识;邮件标识用于确定邮件的邮件类别和邮件类别中所有邮件之间的引用关系。Step D3: Generate the mail ID of the target mail according to the mail ID of the first upper-level mail and the mail ID of the original mail; the mail ID is used to determine the mail category of the mail and the reference relationship between all mails in the mail category.
本申请实施例中,目标邮件的引用内容可能与多个上级邮件相匹配,这是由于目标邮件的直接上级邮件(单级引用的上级邮件)可能也会引用其他的邮件,该邮件即为目标邮件的间接上级邮件(多级引用的上级邮件),这是因为该直接上级邮件的引用内容也是与该间接上级邮件的邮件信息相关的,故与目标邮件的引用内容相匹配的上级邮件可能存在多个,且其中一个为该邮件类别的最原始邮件,即其他邮件均直接或间接的引用该最原始邮件。同时,每封邮件设有一个邮件标识,该邮件标识均与最原始邮件的邮件标识相关;邮件的邮件标识可以是在生成该邮件时同时生成的,也可以为接收到邮件后根据本地预设规则或邮件系统预设规则自动生成,也可以是在用户查看该邮件时再自动生成该邮件标识,本实施例对此不做限定。In the embodiment of the present application, the reference content of the target mail may match multiple parent mails. This is because the direct parent mail of the target mail (the parent mail referenced by a single level) may also refer to other mails, and the mail is the target. Indirect superior mail of the message (super-referenced higher-level mail). This is because the reference content of the direct superior mail is also related to the mail information of the indirect superior mail. Therefore, the superior mail that matches the reference content of the target mail may exist. Multiple, and one of them is the original message of the message category, that is, the other messages refer to the original message directly or indirectly. At the same time, each message is provided with a message identifier, which is related to the message identifier of the original message; the message identifier can be generated at the same time when the message is generated, or it can be preset according to the locality after receiving the message. The rule or the preset rule of the mail system is automatically generated, or the mail identifier may be automatically generated when the user views the mail, which is not limited in this embodiment.
具体的,本申请实施例中的邮件标识用于确定邮件的邮件类别和邮件类别中所有邮件之间的引用关系。首先,由于所有的邮件标识均是基于最原始邮件的邮件标识生成的,即根据邮件所引用的最原始邮件的邮件标识即可确定哪些邮件属于同一邮件类别,或者说同一邮件类别中的所有邮件的邮件标识均与同一个最原始邮件的邮件标识相关;同时,在生成目标邮件的邮件标识时还参考单级引用的第一上级邮件,从而根据邮件标识即可确定与目标邮件直接相关的上级邮件;综上,根据所有邮件的邮件标识即可确定邮件的邮件类别和邮件类别中所有邮件之间的引用关系,方便后续确定邮件之间引用关系以及上级邮件的过程。Specifically, the mail identifier in the embodiment of the present application is used to determine a mail category of a mail and a reference relationship between all mails in the mail category. First of all, because all message identifiers are generated based on the message identifier of the most original message, that is, according to the message identifier of the most original message referenced by the message, it can be determined which messages belong to the same message category, or all messages in the same message category The mail IDs of all are related to the mail ID of the same original message; at the same time, when generating the mail ID of the target mail, the first higher-level mail referenced by the single level is also referred, so that the superiors directly related to the target mail can be determined based on the mail ID In summary, according to the message identifiers of all messages, the message category of the message and the reference relationship between all messages in the message category can be determined, which facilitates the subsequent process of determining the reference relationship between messages and the superior message.
例如,用户A向用户B、C、D同时发送了邮件a,之后用户B以邮件b回复了邮件a,再之后用户C以邮件c回复了邮件a,最后用户D以邮件d同时回复了邮件b和邮件c;上述过程中,邮件a为最原始邮件,此时可以单独生成邮件a的邮件标识①(或者“①,null,null”),邮件a的邮件标识可以不含有邮件之间的引用关系,或者用null(空)表示。对于邮件b,邮件b的单级引用的上级邮件和最原始邮件均为邮件a,此时可以生成邮件b的邮件标识“②,①,①”,其中,②表示邮件b的邮件序号,且邮件序号与邮件之间也是一一对应关系,中间的①表示邮件b单级引用的上级邮件的邮件序号;由于邮件a为最原始邮件,邮件a的邮件序号与邮件标识可以相同;最后的①表示最原始邮件的邮件序号。同样的,对于邮件c,邮件c的邮件编码为③,①,①,其中的③即为邮件c的邮件序号;邮件d的邮件编码为④,②③,①,其中的④表示邮件d的邮件序号,中间的②③表示邮件d的单级引用的 上级邮件为邮件序号是②和③的邮件,即邮件b和邮件c。或者,每个邮件的邮件序号可以包含所有上级邮件的引用关系;如上例,邮件a的邮件编码为①,邮件b的邮件编码为②,①,①,邮件c的邮件编码为③,①,①;此时,邮件d的邮件编码可以为④,②①①,③①①,①,即根据单级引用邮件的邮件编码(②①①,③①①)直接生成目标邮件的邮件编码,此时虽然邮件编码会占用较多的空间,但根据一个邮件编码即可以确定所有上级邮件的引用关系。For example, user A sends mail a to users B, C, and D at the same time, then user B replies to mail a with mail b, then user C replies to mail a with mail c, and finally user D replies with mail d with mail d b and mail c; in the above process, mail a is the original mail. At this time, the mail identifier ① (or "①, null, null") of mail a can be generated separately. Reference relationship, or use null (empty). For mail b, the single-level referenced upper-level mail and the original mail of mail b are both mail a. At this time, the mail identifier “②, ①, ①” of mail b can be generated, where ② indicates the mail serial number of mail b, and There is also a one-to-one correspondence between the mail serial number and the mail. The middle ① indicates the mail serial number of the upper-level mail referenced by the single-level mail b. Since the mail a is the original mail, the mail serial number and the mail identifier of the mail a may be the same; the last ① Indicates the message sequence number of the most original message. Similarly, for mail c, the mail code of mail c is ③, ①, ①, where ③ is the mail serial number of mail c; the mail code of mail d is ④, ②③, ①, where ④ is the mail of mail d The serial number, ②③ in the middle indicates that the single-level reference superior mail of mail d is the mail whose mail serial numbers are ② and ③, that is, mail b and mail c. Alternatively, the email serial number of each email can include the citation relationship of all superior emails; as in the above example, the email encoding of email a is ①, the email encoding of email b is ②, ①, ①, and the email encoding of email c is ③, ①, ①; At this time, the mail code of the mail d can be ④, ②①①, ③①①, ①, that is, the mail code of the target mail is directly generated according to the mail code of the single-level reference mail (②①①, ③①①). More space, but the reference relationship of all superior messages can be determined based on one message encoding.
本申请实施例提供的一种处理邮件的方法,根据邮件信息确定邮件的类别,并根据邮件之间的引用关系可以确定当前邮件的上下级邮件,进而根据邮件的引用关系分别在相应的显示区域显示往来邮件,用户通过阅读一封邮件即可得知所有的往来邮件内容,不需要一封封地查看邮件,方便用户阅读邮件,且方便用户管理同类邮件,便于邮件的归档和查阅。同时,在同一个视图内显示一类的邮件,也方便用户选择所需回复的对象,用户可以在同一封邮件同时回复多个人对同一主题的不同回复,其他收件人也可以在同样的视图阅读该主题的所有邮件和回复,可以提高回复效率。A method for processing mail provided by the embodiments of the present application is to determine the category of a mail according to the mail information, and to determine the subordinate mail of the current mail according to the reference relationship between the mails, and then to respectively display the corresponding display area according to the reference relationship of the mail. Displaying the mails, users can know all the contents of the mails by reading one mail, and do not need to view the mails with one cover, it is convenient for users to read the mails, and it is convenient for users to manage similar mails, and it is convenient to archive and check the mails. At the same time, displaying a category of emails in the same view is also convenient for users to choose the objects they need to reply to. Users can reply to multiple people's different responses to the same topic at the same time, and other recipients can also be in the same view. Reading all messages and replies to this topic can improve your response efficiency.
以上详细介绍了处理邮件的方法流程,该方法也可以通过相应的装置实现,下面详细介绍该装置的结构和功能。The method flow of processing mail is described in detail above, and the method can also be implemented by a corresponding device. The structure and function of the device are described in detail below.
本申请实施例提供的一种处理邮件的装置,参见图6所示,包括:An apparatus for processing mail provided by an embodiment of the present application, as shown in FIG. 6, includes:
获取模块61,用于获取目标邮件的邮件信息,邮件信息包括发件人、收件人列表、抄送列表、邮件主题、邮件正文、邮件附件、发件时间中的一项或多项;The obtaining module 61 is configured to obtain mail information of a target mail, and the mail information includes one or more of a sender, a recipient list, a carbon copy list, a mail subject, a mail body, a mail attachment, and a sending time;
处理模块62,用于根据邮件信息确定目标邮件所属的邮件类别,并根据邮件类别中所有邮件之间的引用关系确定目标邮件所引用的第一上级邮件;A processing module 62, configured to determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all the mails in the mail category;
第一显示模块63,用于显示第一上级邮件,并在第一上级邮件的下级显示区域内显示目标邮件,下级显示区域用于显示第一上级邮件的所有下级邮件。The first display module 63 is configured to display the first upper-level mail, and display the target mail in the lower-level display area of the first upper-level mail, and the lower-level display area is used to display all the lower-level mails of the first upper-level mail.
在一种可能的实现方式中,参见图7所示,该装置还包括:遍历模块64和第二显示模块65;In a possible implementation manner, referring to FIG. 7, the apparatus further includes: a traversal module 64 and a second display module 65;
遍历模块64用于遍历邮件类别中的所有历史邮件,根据所有历史邮件之间的引用关系分别确定每个历史邮件所引用的第二上级邮件,历史邮件为邮件类别中的所有历史邮件中的任一个邮件;The traversal module 64 is used to traverse all historical mails in the mail category, and determine the second superior mail referenced by each historical mail according to the reference relationship between all historical mails. The historical mail is any of the historical mails in the mail category. A mail
第二显示模块65用于在与历史邮件对应的第二上级邮件的下级显示区域内显示历史邮件。The second display module 65 is configured to display the historical mail in the lower display area of the second upper-level mail corresponding to the historical mail.
在一种可能的实现方式中,处理模块62包括:In a possible implementation manner, the processing module 62 includes:
第一确定单元,用于确定目标邮件中的引用内容,引用内容为编辑目标邮件时所引用 的邮件信息;A first determining unit, configured to determine a reference content in the target email, where the reference content is email information referenced when editing the target email;
处理单元,用于将与引用内容相匹配的邮件作为目标邮件的第一上级邮件;第一上级邮件包括目标邮件单级引用的上级邮件和/或目标邮件多级引用的上级邮件。A processing unit, configured to use a message that matches the content of the reference as the first higher-level message of the target message; the first higher-level message includes the higher-level message that the single-level reference of the target message and / or the higher-level reference that the multi-level target message references.
在一种可能的实现方式中,处理模块62包括:In a possible implementation manner, the processing module 62 includes:
第二确定单元,用于确定目标邮件中的引用内容,引用内容为编辑目标邮件时所引用的邮件信息;A second determining unit, configured to determine a reference content in the target email, where the reference content is email information referenced when the target email is edited;
预处理单元,用于根据引用内容确定目标邮件单级引用的第一上级邮件和目标邮件最顶级引用的最原始邮件,并确定第一上级邮件的邮件标识和最原始邮件的邮件标识,且第一上级邮件的邮件标识为至少根据最原始邮件的邮件标识生成的标识;The preprocessing unit is configured to determine the first parent message referenced by the target mail single-level reference and the original message referenced by the topmost target mail according to the content of the reference, and determine the message identifier of the first parent message and the message identifier of the original message. The mail ID of a superior mail is an ID generated at least based on the mail ID of the original mail;
生成单元,用于根据第一上级邮件的邮件标识和最原始邮件的邮件标识生成目标邮件的邮件标识;邮件标识用于确定邮件的邮件类别和邮件类别中所有邮件之间的引用关系。A generating unit is configured to generate a mail identifier of the target mail according to the mail identifier of the first upper-level mail and the mail identifier of the most original mail; the mail identifier is used to determine the mail category of the mail and the reference relationship between all messages in the mail category.
在一种可能的实现方式中,参见图8所示,该装置还包括:接收模块66和模板生成模块67;In a possible implementation manner, referring to FIG. 8, the apparatus further includes: a receiving module 66 and a template generating module 67;
在第一显示模块63在第一上级邮件的下级显示区域内显示目标邮件之后,接收模块66用于接收指向待回复邮件的回复指令,待回复邮件为邮件类别的所有邮件中处于显示状态的一个或多个邮件;After the first display module 63 displays the target mail in the lower display area of the first higher-level mail, the receiving module 66 is configured to receive a reply instruction pointing to the mail to be reply, and the mail to be reply is one of the mail types in the display state. Or multiple messages
模板生成模块67用于根据待回复邮件与其他邮件之间的引用关系确定待回复邮件的第三上级邮件,并生成可编辑的邮件模板,邮件模板中包含待回复邮件和第三上级邮件,且待回复邮件显示于第三上级邮件的下级显示区域内。The template generating module 67 is configured to determine the third-level superior mail of the to-be-replyed mail according to the reference relationship between the to-reply mail and other mails, and generate an editable mail template. The mail template includes the to-be-replyed mail and the third-level superior mail, The message to be responded is displayed in the lower display area of the third higher-level message.
在一种可能的实现方式中,该装置还包括判断模块和循环模块;In a possible implementation manner, the apparatus further includes a judgment module and a circulation module;
在第一显示模块61显示第一上级邮件之后,判断模块用于判断第一上级邮件是否为邮件类别的最原始邮件,在第一上级邮件不是邮件类别的最原始邮件时,确定并显示第四上级邮件,并在第四上级邮件的下级显示区域内显示第一上级邮件,第四上级邮件为第一上级邮件所引用的上级邮件;After the first display module 61 displays the first higher-level mail, the determination module is used to determine whether the first high-level mail is the most original mail of the mail category, and when the first high-level mail is not the most original mail of the mail category, determine and display the fourth high-level mail. Upper-level mail, and the first-level mail is displayed in the lower-level display area of the fourth-level mail, and the fourth-level mail is the higher-level mail referenced by the first-level mail;
循环模块用于重复上述对上级邮件的处理过程,直至确定的上级邮件是邮件类别的最原始邮件。The loop module is used to repeat the above-mentioned processing process of the superior mail until the determined superior mail is the most original mail of the mail category.
在一种可能的实现方式中,参见图9所示,第一显示模块63包括:In a possible implementation manner, referring to FIG. 9, the first display module 63 includes:
确定单元631,用于确定第一上级邮件的所有下级邮件,并确定每个下级邮件的发件时间,根据下级邮件的数量以及每个下级邮件的发件时间确定第一上级邮件的下级显示区域内用于显示目标邮件的临时区域;A determining unit 631, configured to determine all the lower-level mails of the first-level mail, and determine the sending time of each lower-level mail, and determine the lower-level display area of the first-level mail according to the number of lower-level mails and the sending time of each lower-level mail; The temporary area used to display the target mail;
显示单元632,用于将所有第一上级邮件的用于显示目标邮件的临时区域组合为有效显 示区域,在有效显示区域内显示目标邮件。The display unit 632 is configured to combine the temporary areas for displaying the target mails of all the first upper-level mails into effective display areas, and display the target mails in the effective display area.
本申请实施例还提供了一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可读指令,其包含用于执行上述处理邮件的方法的程序,该计算机可读指令可执行上述任意方法实施例中的方法。An embodiment of the present application further provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-readable instructions that include a program for executing the foregoing method for processing mail, The computer-readable instructions can execute the method in any of the method embodiments described above.
其中,所述非易失性计算机可读存储介质可以是计算机能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。The non-transitory computer-readable storage medium may be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), Optical memory (such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid-state hard disk (SSD), etc.).
图10示出了本申请的另一个实施例的一种计算机设备的结构框图。所述计算机设备1100可以是具备计算能力的主机服务器、个人计算机PC、或者可携带的便携式计算机或终端等。本申请具体实施例并不对计算机设备的具体实现做限定。FIG. 10 shows a structural block diagram of a computer device according to another embodiment of the present application. The computer device 1100 may be a host server with a computing capability, a personal computer PC, or a portable portable computer or terminal. The specific embodiments of the present application do not limit the specific implementation of the computer equipment.
该计算机设备1100包括至少一个处理器(processor)1110、通信接口(Communications Interface)1120、存储器(memory array)1130和总线1140。其中,处理器1110、通信接口1120、以及存储器1130通过总线1140完成相互间的通信。The computer device 1100 includes at least one processor 1110, communications interface 1120, memory 1130, and a bus 1140. Among them, the processor 1110, the communication interface 1120, and the memory 1130 complete communication with each other through the bus 1140.
通信接口1120用于与网元通信,其中网元包括例如虚拟机管理中心、共享存储等。The communication interface 1120 is configured to communicate with a network element, where the network element includes, for example, a virtual machine management center, shared storage, and the like.
处理器1110用于执行计算机可读指令。处理器1110可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 1110 is configured to execute computer-readable instructions. The processor 1110 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
存储器1130用于可执行的指令。存储器1130可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1130也可以是存储器阵列。存储器1130还可能被分块,并且所述块可按一定的规则组合成虚拟卷。存储器1130存储的指令可被处理器1110执行,以使处理器1110能够执行上述任意方法实施例中的方法。The memory 1130 is used for executable instructions. The memory 1130 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory. The memory 1130 may also be a memory array. The memory 1130 may also be divided into blocks, and the blocks may be combined into a virtual volume according to a certain rule. The instructions stored in the memory 1130 may be executed by the processor 1110, so that the processor 1110 can execute the method in any of the foregoing method embodiments.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (20)

  1. 一种处理邮件的方法,其特征在于,包括:A method for processing mail, comprising:
    获取目标邮件的邮件信息,所述邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项;Obtaining mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
    根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件;Determining a mail category to which the target mail belongs according to the mail information, and determining a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
    显示所述第一上级邮件,并在所述第一上级邮件的下级显示区域内显示所述目标邮件,所述下级显示区域用于显示所述第一上级邮件的所有下级邮件。Displaying the first upper-level mail, and displaying the target mail in a lower-level display area of the first upper-level mail, where the lower-level display area is used to display all lower-level mails of the first upper-level mail.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    遍历所述邮件类别中的所有历史邮件,根据所有历史邮件之间的引用关系分别确定每个历史邮件所引用的第二上级邮件,所述历史邮件为所述邮件类别中的所有历史邮件中的任一个邮件;Traverse all historical messages in the message category, and determine the second higher-level message referenced by each historical message according to the reference relationship between all historical messages, the historical message being the Any mail
    在与所述历史邮件对应的第二上级邮件的下级显示区域内显示所述历史邮件。The historical mail is displayed in a lower display area of a second higher-level mail corresponding to the historical mail.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件包括:The method according to claim 1, wherein determining the first higher-level mail referenced by the target mail according to a reference relationship between all mails in the mail category comprises:
    确定所述目标邮件中的引用内容,所述引用内容为编辑所述目标邮件时所引用的邮件信息;Determining a reference content in the target email, where the reference content is email information referenced when editing the target email;
    将与所述引用内容相匹配的邮件作为所述目标邮件的第一上级邮件;所述第一上级邮件包括所述目标邮件单级引用的上级邮件和/或所述目标邮件多级引用的上级邮件。Using a message that matches the reference content as the first superior message of the target message; the first superior message includes the superior message that is a single-level reference of the target message and / or the superior that is a multi-level reference of the target message mail.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件包括:The method according to claim 1, characterized in that the mail category to which the target mail belongs is determined according to the mail information, and the target mail location is determined according to a reference relationship between all mails in the mail category. The quoted first parent message includes:
    确定所述目标邮件中的引用内容,所述引用内容为编辑所述目标邮件时所引用的邮件信息;Determining a reference content in the target email, where the reference content is email information referenced when editing the target email;
    根据所述引用内容确定所述目标邮件单级引用的第一上级邮件和所述目标邮件最顶级引用的最原始邮件,并确定所述第一上级邮件的邮件标识和所述最原始邮件的邮件标识,且所述第一上级邮件的邮件标识为至少根据所述最原始邮件的邮件标识生成的标识;Determining, according to the reference content, the first upper-level mail referenced by the target mail single-level reference and the most original mail referenced by the topmost level of the target mail, and determining the mail identifier of the first upper-level mail and the mail of the most original mail An identifier, and the email identifier of the first upper-level email is an identifier generated at least according to the email identifier of the most original email;
    根据所述第一上级邮件的邮件标识和所述最原始邮件的邮件标识生成所述目标邮件的邮件标识;所述邮件标识用于确定邮件的邮件类别和所述邮件类别中所有邮件之间的引用 关系。Generating a mail identifier of the target mail according to the mail identifier of the first upper-level mail and the mail identifier of the most original mail; the mail identifier is used to determine a mail category between the mail and all messages in the mail category Reference relationship.
  5. 根据权利要求1所述的方法,其特征在于,在所述第一上级邮件的下级显示区域内显示所述目标邮件之后,还包括:The method according to claim 1, wherein after displaying the target mail in a lower display area of the first upper mail, further comprising:
    接收指向待回复邮件的回复指令,所述待回复邮件为所述邮件类别的所有邮件中处于显示状态的一个或多个邮件;Receiving a reply instruction to a mail to be reply, the mail to be reply being one or more mails in a display state among all mails of the mail category;
    根据所述待回复邮件与其他邮件之间的引用关系确定所述待回复邮件的第三上级邮件,并生成可编辑的邮件模板,所述邮件模板中包含所述待回复邮件和所述第三上级邮件,且所述待回复邮件显示于所述第三上级邮件的下级显示区域内。Determine the third-level superior mail of the to-be-reply mail according to the reference relationship between the to-be-reply mail and other mails, and generate an editable mail template, wherein the mail template includes the to-be-reply mail and the third mail An upper-level mail, and the to-be-reply mail is displayed in a lower-level display area of the third upper-level mail.
  6. 根据权利要求1所述的方法,其特征在于,在显示所述第一上级邮件之后,还包括:The method according to claim 1, further comprising: after displaying the first superior mail:
    判断所述第一上级邮件是否为所述邮件类别的最原始邮件,在所述第一上级邮件不是所述邮件类别的最原始邮件时,确定并显示第四上级邮件,并在所述第四上级邮件的下级显示区域内显示所述第一上级邮件,所述第四上级邮件为所述第一上级邮件所引用的上级邮件;Determine whether the first superior mail is the most original mail of the mail category, and determine and display a fourth superior mail when the first upper mail is not the most original mail of the mail category, and The first higher-level mail is displayed in a lower-level display area of the higher-level mail, and the fourth higher-level mail is a higher-level mail referenced by the first high-level mail;
    重复上述对上级邮件的处理过程,直至确定的上级邮件是所述邮件类别的最原始邮件。The above-mentioned processing procedure for the superior mail is repeated until the determined superior mail is the most original mail of the mail category.
  7. 根据权利要求1所述的方法,其特征在于,所述在所述第一上级邮件的下级显示区域内显示所述目标邮件,包括:The method according to claim 1, wherein the displaying the target mail in a lower display area of the first upper mail comprises:
    确定所述第一上级邮件的所有下级邮件,并确定每个下级邮件的发件时间,根据所述下级邮件的数量以及每个下级邮件的发件时间确定所述第一上级邮件的下级显示区域内用于显示所述目标邮件的临时区域;Determine all lower-level messages of the first upper-level message, determine the sending time of each lower-level message, and determine the lower-level display area of the first upper-level message according to the number of lower-level messages and the sending time of each lower-level message A temporary area for displaying the target mail;
    将所有第一上级邮件的用于显示所述目标邮件的临时区域组合为有效显示区域,在所述有效显示区域内显示所述目标邮件。A temporary display area for displaying the target mail of all the first upper-level mails is combined into an effective display area, and the target mail is displayed in the effective display area.
  8. 一种处理邮件的装置,其特征在于,包括:A device for processing mail includes:
    获取模块,用于获取目标邮件的邮件信息,所述邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项;An obtaining module, configured to obtain mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
    处理模块,用于根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件;A processing module, configured to determine a mail category to which the target mail belongs according to the mail information, and determine a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
    第一显示模块,用于显示所述第一上级邮件,并在所述第一上级邮件的下级显示区域内显示所述目标邮件,所述下级显示区域用于显示所述第一上级邮件的所有下级邮件。A first display module, configured to display the first upper-level mail, and display the target mail in a lower-level display area of the first upper-level mail, and the lower-level display area is used to display all of the first upper-level mail Subordinate mail.
  9. 根据权利要求8所述的装置,其特征在于,还包括:遍历模块和第二显示模块;The apparatus according to claim 8, further comprising: a traversal module and a second display module;
    所述遍历模块用于遍历所述邮件类别中的所有历史邮件,根据所有历史邮件之间的引用关系分别确定每个历史邮件所引用的第二上级邮件,所述历史邮件为所述邮件类别中的 所有历史邮件中的任一个邮件;The traversal module is used to traverse all historical mails in the mail category, and determine the second superior mail referenced by each historical mail according to the reference relationship between all historical mails, and the historical mail is in the mail category. Any one of all historical messages of
    所述第二显示模块用于在与所述历史邮件对应的第二上级邮件的下级显示区域内显示所述历史邮件。The second display module is configured to display the historical mail in a lower display area of a second upper-level mail corresponding to the historical mail.
  10. 根据权利要求8所述的装置,其特征在于,所述处理模块包括:The apparatus according to claim 8, wherein the processing module comprises:
    第一确定单元,用于确定所述目标邮件中的引用内容,所述引用内容为编辑所述目标邮件时所引用的邮件信息;A first determining unit, configured to determine a reference content in the target mail, where the reference content is mail information referenced when the target mail is edited;
    处理单元,用于将与所述引用内容相匹配的邮件作为所述目标邮件的第一上级邮件;所述第一上级邮件包括所述目标邮件单级引用的上级邮件和/或所述目标邮件多级引用的上级邮件。A processing unit, configured to use a message that matches the quoted content as the first superior email of the target email; the first superior email includes the superior email and / or the target email referenced by the target email in a single level Multi-level referenced superior mail.
  11. 根据权利要求8所述的装置,其特征在于,所述处理模块包括:The apparatus according to claim 8, wherein the processing module comprises:
    第二确定单元,用于确定所述目标邮件中的引用内容,所述引用内容为编辑所述目标邮件时所引用的邮件信息;A second determining unit, configured to determine a reference content in the target mail, where the reference content is mail information referenced when the target mail is edited;
    预处理单元,用于根据所述引用内容确定所述目标邮件单级引用的第一上级邮件和所述目标邮件最顶级引用的最原始邮件,并确定所述第一上级邮件的邮件标识和所述最原始邮件的邮件标识,且所述第一上级邮件的邮件标识为至少根据所述最原始邮件的邮件标识生成的标识;A preprocessing unit, configured to determine, according to the reference content, the first upper-level mail referenced by the target mail single-level reference and the most original mail referenced by the top-level reference of the target mail, and determine the mail identifier and address of the first upper-level mail The mail identifier of the most original mail, and the mail identifier of the first higher-level mail is an identifier generated at least according to the mail identifier of the most original mail;
    生成单元,用于根据所述第一上级邮件的邮件标识和所述最原始邮件的邮件标识生成所述目标邮件的邮件标识;所述邮件标识用于确定邮件的邮件类别和所述邮件类别中所有邮件之间的引用关系。A generating unit, configured to generate a mail identifier of the target mail according to the mail identifier of the first upper-level mail and the mail identifier of the most original mail; the mail identifier is used to determine a mail category of the mail and the mail category Reference relationship between all messages.
  12. 根据权利要求8所述的装置,其特征在于,还包括:接收模块和模板生成模块;The device according to claim 8, further comprising: a receiving module and a template generating module;
    在所述第一显示模块在第一上级邮件的下级显示区域内显示目标邮件之后,所述接收模块用于接收指向待回复邮件的回复指令,所述待回复邮件为所述邮件类别的所有邮件中处于显示状态的一个或多个邮件;After the first display module displays the target mail in the lower display area of the first higher-level mail, the receiving module is configured to receive a reply instruction to the mail to be reply, and the mail to be reply is all mails of the mail category One or more messages in the display state;
    所述模板生成模块用于根据所述待回复邮件与其他邮件之间的引用关系确定所述待回复邮件的第三上级邮件,并生成可编辑的邮件模板,所述邮件模板中包含所述待回复邮件和所述第三上级邮件,且所述待回复邮件显示于所述第三上级邮件的下级显示区域内。The template generating module is configured to determine a third superior email of the pending email according to a reference relationship between the pending email and other emails, and generate an editable email template, where the email template includes the pending email The reply mail and the third superior mail, and the to-be-reply mail is displayed in a lower display area of the third superior mail.
  13. 根据权利要求8所述的装置,其特征在于,还包括判断模块和循环模块;The device according to claim 8, further comprising a judgment module and a circulation module;
    在所述第一显示模块显示第一上级邮件之后,所述判断所述第一上级邮件是否为所述邮件类别的最原始邮件,在所述第一上级邮件不是所述邮件类别的最原始邮件时,确定并显示第四上级邮件,并在所述第四上级邮件的下级显示区域内显示所述第一上级邮件,所述第四上级邮件为所述第一上级邮件所引用的上级邮件;After the first display module displays the first upper-level mail, determining whether the first upper-level mail is the most original mail of the mail category, and the first upper-level mail is not the most original mail of the mail category At that time, a fourth superior mail is determined and displayed, and the first superior mail is displayed in a lower display area of the fourth superior mail, and the fourth superior mail is the superior mail referenced by the first superior mail;
    所述循环模块用于重复上述对上级邮件的处理过程,直至确定的上级邮件是所述邮件类别的最原始邮件。The loop module is configured to repeat the above-mentioned processing process of the superior mail until the determined superior mail is the most original mail of the mail category.
  14. 根据权利要求8所述的装置,其特征在于,所述第一显示模块包括:The apparatus according to claim 8, wherein the first display module comprises:
    确定单元,用于确定所述第一上级邮件的所有下级邮件,并确定每个下级邮件的发件时间,根据所述下级邮件的数量以及每个下级邮件的发件时间确定所述第一上级邮件的下级显示区域内用于显示所述目标邮件的临时区域;A determining unit, configured to determine all lower-level emails of the first-level mail, and determine a sending time of each lower-level mail, and determine the first upper-level according to the number of the lower-level mails and the sending time of each lower-level mail A temporary area for displaying the target mail in a lower-level display area of the mail;
    显示单元,用于将所有第一上级邮件的用于显示所述目标邮件的临时区域组合为有效显示区域,在所述有效显示区域内显示所述目标邮件。The display unit is configured to combine a temporary area for displaying the target mail of all the first upper-level mails into an effective display area, and display the target mail in the effective display area.
  15. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现一种处理邮件的方法,包括:A non-volatile computer-readable storage medium, characterized in that the non-volatile computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, a type of mail processing is implemented. Methods, including:
    获取目标邮件的邮件信息,所述邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项;Obtaining mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
    根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件;Determining a mail category to which the target mail belongs according to the mail information, and determining a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
    显示所述第一上级邮件,并在所述第一上级邮件的下级显示区域内显示所述目标邮件,所述下级显示区域用于显示所述第一上级邮件的所有下级邮件。Displaying the first upper-level mail, and displaying the target mail in a lower-level display area of the first upper-level mail, where the lower-level display area is used to display all lower-level mails of the first upper-level mail.
  16. 根据权利要求15所述的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被处理器执行时实现所述方法还包括:The non-transitory computer-readable storage medium of claim 15, wherein when the computer-readable instructions are executed by a processor, implementing the method further comprises:
    遍历所述邮件类别中的所有历史邮件,根据所有历史邮件之间的引用关系分别确定每个历史邮件所引用的第二上级邮件,所述历史邮件为所述邮件类别中的所有历史邮件中的任一个邮件;Traverse all historical messages in the message category, and determine the second higher-level message referenced by each historical message according to the reference relationship between all historical messages, the historical message being the Any mail
    在与所述历史邮件对应的第二上级邮件的下级显示区域内显示所述历史邮件。The historical mail is displayed in a lower display area of a second higher-level mail corresponding to the historical mail.
  17. 根据权利要求15所述的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被处理器执行时实现所述根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件,包括:The non-transitory computer-readable storage medium according to claim 15, wherein when the computer-readable instructions are executed by a processor, the determining is performed according to a reference relationship between all mails in the mail category. The first parent email referenced by the target email includes:
    确定所述目标邮件中的引用内容,所述引用内容为编辑所述目标邮件时所引用的邮件信息;Determining a reference content in the target email, where the reference content is email information referenced when editing the target email;
    将与所述引用内容相匹配的邮件作为所述目标邮件的第一上级邮件;所述第一上级邮件包括所述目标邮件单级引用的上级邮件和/或所述目标邮件多级引用的上级邮件。Using a message that matches the reference content as the first superior message of the target message; the first superior message includes the superior message that is a single-level reference of the target message and / or the superior that is a multi-level reference of the target message mail.
  18. 一种计算机设备,包括:A computer device including:
    至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,At least one processor; and a memory connected in communication with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的计算机可读指令,所述计算机可读指令被所述至少一个处理器执行,所述至少一个处理器执行所述计算机可读指令时实现一种处理邮件的方法,包括:The memory stores computer-readable instructions executable by the at least one processor, the computer-readable instructions are executed by the at least one processor, and the at least one processor is implemented when the computer-readable instructions are executed A method for processing mail, including:
    获取目标邮件的邮件信息,所述邮件信息包括邮件主题、邮件正文、邮件附件中的一项或多项;Obtaining mail information of a target mail, where the mail information includes one or more of a mail subject, a mail body, and a mail attachment;
    根据所述邮件信息确定所述目标邮件所属的邮件类别,并根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件;Determining a mail category to which the target mail belongs according to the mail information, and determining a first superior mail referenced by the target mail according to a reference relationship between all mails in the mail category;
    显示所述第一上级邮件,并在所述第一上级邮件的下级显示区域内显示所述目标邮件,所述下级显示区域用于显示所述第一上级邮件的所有下级邮件。Displaying the first upper-level mail, and displaying the target mail in a lower-level display area of the first upper-level mail, where the lower-level display area is used to display all lower-level mails of the first upper-level mail.
  19. 根据权利要求18所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时实现所述方法还包括:The computer device according to claim 18, wherein implementing the method when the processor executes the computer-readable instructions further comprises:
    遍历所述邮件类别中的所有历史邮件,根据所有历史邮件之间的引用关系分别确定每个历史邮件所引用的第二上级邮件,所述历史邮件为所述邮件类别中的所有历史邮件中的任一个邮件;Traverse all historical messages in the message category, and determine the second higher-level message referenced by each historical message according to the reference relationship between all historical messages, the historical message being the Any mail
    在与所述历史邮件对应的第二上级邮件的下级显示区域内显示所述历史邮件。The historical mail is displayed in a lower display area of a second higher-level mail corresponding to the historical mail.
  20. 根据权利要求18所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时实现所述根据所述邮件类别中所有邮件之间的引用关系确定所述目标邮件所引用的第一上级邮件,包括:The computer device according to claim 18, wherein when the processor executes the computer-readable instructions, the processor is configured to determine, based on a reference relationship between all messages in the message category, a reference to the target message. First-level mail, including:
    确定所述目标邮件中的引用内容,所述引用内容为编辑所述目标邮件时所引用的邮件信息;Determining a reference content in the target email, where the reference content is email information referenced when editing the target email;
    将与所述引用内容相匹配的邮件作为所述目标邮件的第一上级邮件;所述第一上级邮件包括所述目标邮件单级引用的上级邮件和/或所述目标邮件多级引用的上级邮件。Using a message that matches the reference content as the first superior message of the target message; the first superior message includes the superior message that is a single-level reference of the target message and / or the superior that is a multi-level reference of the target message mail.
PCT/CN2018/111704 2018-07-19 2018-10-24 Mail processing method, device, storage medium and computer device WO2020015221A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810797310.9 2018-07-19
CN201810797310.9A CN109144632A (en) 2018-07-19 2018-07-19 A kind of method, apparatus, storage medium and electronic equipment handling mail

Publications (1)

Publication Number Publication Date
WO2020015221A1 true WO2020015221A1 (en) 2020-01-23

Family

ID=64801042

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111704 WO2020015221A1 (en) 2018-07-19 2018-10-24 Mail processing method, device, storage medium and computer device

Country Status (2)

Country Link
CN (1) CN109144632A (en)
WO (1) WO2020015221A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055278A (en) * 2021-04-02 2021-06-29 中国工商银行股份有限公司 Mail filing processing method and device
CN113315692B (en) * 2021-05-21 2023-03-24 北京来也网络科技有限公司 Mail processing method and device combining RPA and AI and electronic equipment
CN115473868B (en) * 2022-08-15 2024-04-19 联想(北京)有限公司 Mail processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453428A (en) * 2007-11-30 2009-06-10 国际商业机器公司 Method and equipment for mail history customization
CN101938430A (en) * 2009-06-30 2011-01-05 国际商业机器公司 Processing method and processing system of electronic mail
CN102622686A (en) * 2011-01-30 2012-08-01 国际商业机器公司 Method for managing email and system
CN103338147A (en) * 2013-06-28 2013-10-02 宇龙计算机通信科技(深圳)有限公司 Mail processing method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970211B (en) * 2012-11-05 2017-05-17 东莞宇龙通信科技有限公司 E-mail reply processing method and system, mobile terminal and E-mail server
CN103699598A (en) * 2013-12-12 2014-04-02 福建榕基软件股份有限公司 Method for displaying data reference process in graphical manner and device thereof
CN106156105A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 Email polymerization sorting technique and device
CN105530176A (en) * 2016-02-05 2016-04-27 华为技术有限公司 Mail associating method and device
CN107800610B (en) * 2016-09-06 2022-03-11 中兴通讯股份有限公司 Server, client and mail display method and system
CN107888484A (en) * 2017-11-29 2018-04-06 北京明朝万达科技股份有限公司 A kind of email processing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453428A (en) * 2007-11-30 2009-06-10 国际商业机器公司 Method and equipment for mail history customization
CN101938430A (en) * 2009-06-30 2011-01-05 国际商业机器公司 Processing method and processing system of electronic mail
CN102622686A (en) * 2011-01-30 2012-08-01 国际商业机器公司 Method for managing email and system
CN103338147A (en) * 2013-06-28 2013-10-02 宇龙计算机通信科技(深圳)有限公司 Mail processing method and terminal

Also Published As

Publication number Publication date
CN109144632A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
US10250549B2 (en) Electronic message organization via social groups
US11416676B2 (en) Using text messages to interact with spreadsheets
US7107544B1 (en) Display of messages
US8024412B2 (en) User interface reading email conversations
CN112511410B (en) Method, system and medium for determining reply content
KR101635228B1 (en) Displaying a list of file attachments associated with a message thread
US10198419B2 (en) Systems and methods for providing an email client interface with an integrated tabular data management interface
US8626852B2 (en) Email thread monitoring and automatic forwarding of related email messages
US9026921B2 (en) Intelligent workspace
US7743105B2 (en) System, method and program for selecting recipients of an e-mail
US7716295B2 (en) Recipient classification management utility for e-mail replies
WO2020015221A1 (en) Mail processing method, device, storage medium and computer device
US20160110898A1 (en) Email content management and visualization
US8364765B2 (en) Prioritizing electronic messages based upon geographical location of the recipient
US9449309B2 (en) Managing emails at an electronic mail client
CN107004178A (en) Method and system for exchanging Email
US11706175B2 (en) Electronic mail delivery negotiation and rejection using sender specified acceptance criteria values
TW201526576A (en) Method, sending terminal, receiving terminal, and system for classifying emails
US9088534B2 (en) Systems and methods for providing a recipient of an electronic communication with data used to determine whether to respond to the electronic communication
WO2020015222A1 (en) Mail processing method and apparatus, storage medium, and computer device
US8549079B2 (en) Drag and drop forward E-mail reply utility
US20060075043A1 (en) On demand email response
WO2018149340A1 (en) Recipient determination method utilized in email replying process, and device
US20100070593A1 (en) Visualizing features of messages communicated between users
JP2005182154A (en) Message processing system and method

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: 18926873

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18926873

Country of ref document: EP

Kind code of ref document: A1