WO2019028676A1 - 邮件传输方法及相关设备 - Google Patents

邮件传输方法及相关设备 Download PDF

Info

Publication number
WO2019028676A1
WO2019028676A1 PCT/CN2017/096428 CN2017096428W WO2019028676A1 WO 2019028676 A1 WO2019028676 A1 WO 2019028676A1 CN 2017096428 W CN2017096428 W CN 2017096428W WO 2019028676 A1 WO2019028676 A1 WO 2019028676A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
information
original
mode
attachment
Prior art date
Application number
PCT/CN2017/096428
Other languages
English (en)
French (fr)
Inventor
沈日胜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780093696.9A priority Critical patent/CN110999227B/zh
Priority to PCT/CN2017/096428 priority patent/WO2019028676A1/zh
Publication of WO2019028676A1 publication Critical patent/WO2019028676A1/zh

Links

Images

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a mail transmission method and related devices.
  • E-mail email plays an important role in Internet internet applications, and has become an indispensable communication tool for people's daily office or communication. However, due to the high confidentiality and confidentiality of e-mail, it does not support the operation of modifying or deleting the e-mail sent out.
  • the embodiment of the invention provides a mail transmission method, a related device and a system, can support the online revision of the mail, avoid the cumbersome process of modifying the mail in the prior art, and improve the usage rate and practicability of the mailbox.
  • an embodiment of the present invention provides a mail transmission method, including:
  • the sending client obtains the first mail, and the first mail is the revised mail for the original mail;
  • the mail content information is used by the receiving server to update the original mail to the first mail.
  • an embodiment of the present invention provides a mail transmission method, including:
  • the receiving server receives the second mail sent by the sending server, where the second mail includes the mail content information and the identifier of the original mail;
  • the online revision of the mail can be supported, the cumbersome process of modifying the mail in the prior art can be avoided, and the usage rate and practicability of the mailbox can be improved.
  • the second mail further includes a mode indication, the mode indication is used to notify the receiving server of the mail content information.
  • the email content information includes a first email information or a second email information.
  • the value of the mode indication is a first value, that is, the mode indication is the first mode mode0.
  • the mode indication is used to notify the receiving server that the mail content information is first mail information, and the first mail information is difference information between the first mail and the original mail.
  • the receiving server will use the first post The piece of information is merged with the original mail to obtain the first mail.
  • the value of the mode indication is a second value, that is, the mode indication is the second mode mode1.
  • the mode indication is used to notify the receiving server that the mail content information is second mail information, and the second mail information is content information of the first mail.
  • the receiving server replaces the mail content information of the original mail by using the second mail information to obtain a first mail.
  • the email content information includes email body information and email attachment information.
  • the value indicated by the mode is a third value, that is, the mode is indicated as the third mode mode00.
  • the mode indication is used to notify the receiving server that the mail content information is composed of first text information and first attachment information.
  • the receiving server merges the body information of the original mail with the first body information to obtain a mail body of the first mail. And combining the attachment information of the original mail with the first attachment information to obtain email attachment information of the first email, thereby obtaining the first email.
  • the degree of difference between the body information of the first mail and the body information of the original mail does not exceed a second threshold, and the degree of difference between the attachment information of the first mail and the attachment information of the original mail
  • the value indicated by the mode is a fourth value, that is, the mode is indicated as the fourth mode mode01.
  • the mode indication is used to notify the receiving server that the mail content information is composed of first text information and second attachment information.
  • the receiving server combines the body information of the original mail and the first text information to obtain a mail body information of the first mail. And replacing the attachment information of the original mail with the second attachment information, thereby obtaining the first mail.
  • the value indicated by the mode is a fifth value, that is, the mode is indicated as the fifth mode mode10.
  • the mode indication is used to notify the receiving server that the mail content information is composed of second text information and first attachment information.
  • the receiving server replaces the body information of the original mail with the second body information, and the attachment information of the original mail and The first attachment information is merged to obtain email attachment information of the first email, thereby obtaining the first email.
  • the value indicated by the mode is a sixth value, that is, the mode is indicated as the sixth mode mode11.
  • the mode indication is used to notify the receiving server that the mail content information is composed of second text information and second attachment information.
  • the receiving server replaces the body information of the original mail with the second text information, and replaces the attachment information of the original mail.
  • the second attachment information is obtained, thereby obtaining the first mail.
  • the first text information is difference information between the body information of the first mail and the body information of the original mail
  • the second The body information is the first The body information of the mail
  • the first attachment information is difference information between the attachment information of the first mail and the attachment information of the original mail
  • the second attachment information is attachment information of the first mail.
  • the differentiated mail online modification can be supported, and the entire revised mail can be avoided in the prior art, the mail transmission rate can be improved, the traffic consumption is saved, and the mailbox usage rate and practicability are improved.
  • the sending client sends a revocation mail to the sending server to send the revocation mail to the receiving server through the sending server
  • the withdrawal of the mail includes a withdrawal indication for indicating withdrawal of the original mail in the receiving server.
  • the receiving server receives the revocation mail, and withdraws/deletes the original mail according to the revocation indication.
  • the receiving server sends a withdrawal response mail to the sending server, and the withdrawal response mail is used to notify the receiving server to withdraw the original mail successfully.
  • the online withdrawal function of the support mail can be increased, and the usage rate and practicability of the mailbox can be improved.
  • the obtaining the first mail includes: determining, according to the mail content information of the original mail, whether the receiving server is a designated type of receiving server; In the case where the server is a specified type of receiving server, the first message entered by the user is obtained.
  • the sending client when detecting that the receiving server where the original mail is located is the receiving server MTA-S of the specified type, allows the first mail to be obtained, otherwise, the sending mail may be prompted to receive
  • the server does not support the online mail revision function; this saves user operations and prevents users from doing some useless operations and improving the user experience.
  • the method before the searching for the original mail according to the identifier of the original mail, the method further includes: receiving a deleted mail sent by the receiving client, where the deleting mail includes a deletion indication The deletion indication is used to instruct the receiving server to delete the original mail; the original mail is marked as a to-be-deleted mail, and the to-be-deleted mail is retained within a preset time period from receiving the deleted mail.
  • the receiving server At the receiving server;
  • the searching for the original mail according to the identifier of the original mail includes: searching for the original mail according to the identifier of the original mail if the second mail is received within the preset time period.
  • the preset time period is automatically configured by the user side or the receiving server side, and is not limited. By implementing the above steps, the storage time of the mail in the receiving server can be delayed according to the actual needs of the user, which provides a basis for subsequent online modification of the mail.
  • the recall indication and/or the deletion indication may be configured as a mode indication, such as the recall indication being a seventh mode, the deletion indication being configured as an eighth mode.
  • the mode indication can be encapsulated in a header field of the second mail.
  • the receiving server may obtain the mode indication by parsing a header field of the second mail, and further perform related operations, such as updating, deleting, revoking, etc., on the original mail according to the mode indication.
  • an embodiment of the present invention provides a sending client, including a functional unit for performing the method of the above first aspect.
  • an embodiment of the present invention provides a receiving server, including a functional unit for performing the method of the foregoing second aspect.
  • an embodiment of the present invention provides a sending client, including a memory, a communication interface, and a processor coupled to the memory and a communication interface; the memory is configured to store an instruction, and the processor is configured to execute the Instruction,
  • the communication interface is configured to communicate with a sending server under control of the processor; wherein the processor executes the instructions to perform the method described in the first aspect above.
  • an embodiment of the present invention provides a receiving server, including a memory, a communication interface, and a processor coupled to the memory and a communication interface; the memory is configured to store an instruction, and the processor is configured to execute the An instruction to communicate with a terminal device under control of the processor; wherein the processor executes the instructions to perform the method described in the second aspect above.
  • the terminal device includes at least a sending server, and optionally a receiving client.
  • a computer readable storage medium storing program code for mail transmission.
  • the program code includes instructions for performing the method described in the first aspect above.
  • a computer readable storage medium storing program code for mail transmission.
  • the program code includes instructions for performing the method described in the second aspect above.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the first aspect above.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the second aspect above.
  • FIG. 1 is a schematic structural diagram of a communication system provided in the prior art
  • FIG. 2 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a mail transmission method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a mail revision according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of generating email content information according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of obtaining a first mail according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart diagram of still another method for transmitting a mail according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a sending client according to an embodiment of the present invention.
  • FIG. 8B is a schematic structural diagram of still another sending client according to an embodiment of the present invention.
  • FIG. 9A is a schematic structural diagram of a receiving server according to an embodiment of the present invention.
  • FIG. 9B is a schematic structural diagram of still another receiving server according to an embodiment of the present invention.
  • FIG. 1 is a schematic block diagram of a communication system provided by the prior art.
  • the communication system 100 includes a sending client 102, a sending server 104, a receiving server 106, and a receiving client 108. among them:
  • Both the sending client and the receiving client can be mail user agents (MUAs). It is a mail client that receives mail and helps users read mail.
  • the MUA can communicate with the mail server using the mail transfer protocol.
  • the mail transfer protocol includes but is not limited to an internet mail access protocol (IMAP), a post office protocol 3 (POP3), and a simple mail transfer protocol (SMTP).
  • IMAP internet mail access protocol
  • POP3 post office protocol 3
  • SMTP simple mail transfer protocol
  • the embodiments of the present invention are not limited.
  • Both the sending server and the receiving server can be Mail Transport Agents (MTAs). It is a mail server that uses the mail transfer protocol to forward or send mail. For the mail transmission protocol, refer to the related description in the foregoing embodiment, and details are not described herein again.
  • MTAs Mail Transport Agents
  • the communication system further includes a mail delivery server 112.
  • the mail delivery server may be a Mail Deliver Agent (MDA) for placing the mail received by the MTA in the user's mailbox.
  • MDA Mail Deliver Agent
  • the illustration may be understood as the mail delivery server 112 may receive the receiving server 106. The received mail is placed in the receiving client 108.
  • the inventor of the present application found in the process of the present application that email email is an important communication tool for people's office or online communication, and thousands of users use mail every day. Communicate. However, in actual applications, mail sending errors often occur, and you want to withdraw, re-edit, and then send. However, based on the communication system shown in FIG. 1, the MTA and MUA currently provided in the prior art do not support the above operational functions.
  • the embodiment of the present invention performs functional improvement on the sending client 102, the sending server 104, the receiving server 106, and the receiving client 108 shown in FIG. 1, thereby obtaining an improvement as shown in FIG. After the communication system.
  • the sending client and the receiving client can be MUA-S (MUA special).
  • MUA-S MUA-S
  • the MUA-S can also provide mail revision, mail withdrawal, or other use for The function interface for which the sent mail has been operated, and so on.
  • the function interface of the mail revision can be used to support the user to re-edit/edit the sent mail, and allow the modified mail to be sent again.
  • a feature interface for mail withdrawal that can be used to allow users to recall and delete sent messages.
  • the sending server and the receiving server can be MTA-S (MTA special).
  • MTA-S MTA special.
  • the MTA-S can also add functions such as mail identification, mail merge, and mail replacement/coverage, or Other functions for providing other operations on the sent mail are not limited in the embodiment of the present invention.
  • the mail identification function refers to that the MTA-S can identify information in the mail, including but not limited to indication information, notification information, and the like.
  • the mail merge function means that the MTA-S can merge two or more messages to get the merged new mail.
  • the mail replacement (also referred to as mail coverage) function refers to the mutual replacement between the MTA-S support mails, for example, replacing the mail A with the mail B, or it can be understood that the MTA-S completely covers the mail A with the mail B. Thus, the mail B after the overwriting/replacement is obtained.
  • the MTA-S can perform content analysis on the received mail to obtain relevant information. Specifically, for example, the header field of the email is encapsulated with the withdrawal indication information, and the withdrawal indication information is used to indicate the withdrawal of the email A. After the MTA-S receives the mail, it parses the header field of the mail to know that the mail is used to indicate the withdrawal of the mail A. Accordingly, the MTA-S can find the mail A in its own server and withdraw (delete) the mail A. Optionally, the MTA-S may also return a withdrawal response message to notify that the message A was successfully withdrawn.
  • FIG. 3 is a schematic flowchart of a mail transmission method according to an embodiment of the present invention.
  • the method shown in FIG. 3 includes the following implementation steps:
  • Step S302 The sending client determines, according to the mail content information of the original mail, whether the receiving server is a receiving server of a specified type.
  • the receiving server of the specified type is the receiving server MTA-S having the above new functions.
  • the new functions include, but are not limited to, the mail identification function, the mail merge function, the mail replacement/coverage, and the like in the foregoing embodiments.
  • the original mail refers to the mail that has been sent by the sending client, and the mail content information of the original mail includes but is not limited to the mail address, the address domain name, the attachment information, the body information, and the like.
  • the sending client may determine, according to the domain name of the receiving address in the original mail, whether the receiving server (MTA) corresponding to the receiving address is the above-mentioned improved receiving server. MTA-S.
  • Step S304 The sending client obtains the first email, where the first email is a modified email of the original email.
  • the sending client determines that the receiving server MTA is a receiving server MTA-S with a new function
  • the user may access the original through the mail revision function interface provided by the sending client.
  • the message is revised and the first message described in the revision is obtained.
  • the sending client may prompt the corresponding mailing server of the original mail not to Support for mail revisions, please re-edit a new mail delivery.
  • Step S306 The sending client obtains a second email according to the first email and the original email, where the second email includes email content information and an identifier of the original email.
  • the sending client may use the first mail and the original mail to perform mail content comparison, thereby generating a second mail.
  • the second mail may include information such as mail content information, an original ID of the original mail, and a new ID of the second mail.
  • the identifier of the second email and the identifier of the original email may be the same or different. For details about the content of the mail, refer to the detailed description in step S302, and details are not described herein again.
  • Step S308 the sending client sends the second mail to the sending server.
  • the receiving server receives the second mail and forwards the second mail to the receiving server.
  • the receiving server receives the second mail.
  • the identifier of the original mail in the second mail may be used by the receiving server to find the original mail from its own server.
  • Step S310 The receiving server searches for the original mail according to the identifier of the original mail.
  • Step S312 The receiving server updates the original mail to the first mail according to the mail content information.
  • the mail server may use the mail content information to use the original The initial mail is updated to the revised first mail. If the original mail is not found, the receiving server may directly discard the second mail, or the receiving server may decide whether to discard the second mail according to the mail content information, specifically The article is detailed.
  • Step S314 The receiving server sends the first mail to the receiving client.
  • the receiving client receives the first mail.
  • the receiving client may directly replace/cover the original email by using the received first email, thereby saving the receiving client. Storage space on the side. If the recipient client has not previously received the original mail, the receiving client receives and stores the first mail for review by the user.
  • the sending client may compare the first mail with the original mail to obtain a degree of difference or matching between the first mail and the original mail.
  • the following takes the difference degree as an example for detailed description.
  • the mail content of the second mail is the first mail information, where The first mail information is difference information between the first mail and the original mail.
  • the sending client may further determine and record a transmission mode of the second mail to a first mode, mode0.
  • the mail content of the second mail is second mail information
  • the second mail information may be The content information of the first mail, that is, the receiving client uses the first mail as the second mail to send to the receiving server.
  • the sending client may determine and record that the transmission mode of the second mail is the second mode, mode1.
  • the first threshold may be set by the user side or the sender client side, which is not limited by the embodiment of the present invention.
  • the first mode and the second mode are used to indicate a transmission mode of a mail, which is referred to as a mode indication in the present application.
  • the mode indication may be in the form of a preset character string, or a preset value, and the like, for example, the first mode mode0 is represented by “0”, and the second mode mode1 is represented by “1”, which is not limited in the embodiment of the present invention.
  • the mode indication may be encapsulated in a header field of the second mail for transmission to the receiving server.
  • the second mail may further include a mode indication, the mode indication being associated with the mail content information.
  • the mode indication is used to notify the receiving server that the mail content information is the first Mail information.
  • the mode indication is used to notify the receiving server that the mail content information is the second Mail information.
  • the mode indication when the value of the mode indication is the first value “0”, the mode indicates that the corresponding mode is the first mode mode0, and the mode0 is used to notify the receiving server of the mail content information of the second mail.
  • the first mail information that is, the second mail includes difference information between the first mail and the original mail. Accordingly, if the receiving server wants to obtain the first mail, it may be obtained by combining the first mail information (ie, the mail content information of the second mail) and the original mail.
  • the mode indicates that the value is the second value "1"
  • the mode indicates that the corresponding mode is the second mode mode1
  • the mode1 is used to notify the receiving server that the mail content information of the second mail is the
  • the mail information that is, the mail content information of the first mail is included in the second mail. Accordingly, if the receiving server wants to obtain the first mail, it can be obtained by directly replacing the original mail with the second mail (ie, the mail content information of the first mail).
  • step S312 in a case where the receiving server finds the original mail, the receiving server may learn by parsing the second mail, for example, parsing a header field of the second mail.
  • the mode indication in a case where the receiving server finds the original mail, the receiving server may learn by parsing the second mail, for example, parsing a header field of the second mail.
  • the receiving server may merge the first mail information and the original mail to obtain the first mail.
  • the receiving server may directly replace/cover the mail content information of the original mail by using the second mail information, thereby obtaining the first mail.
  • the first value and the second value are autonomously set by the user side or the server side, and the first value and the second value are different.
  • the mail content information may include mail body information and mail attachment information.
  • the receiving client can compare the body information and the attachment information of the first mail and the original mail respectively, and correspondingly obtain the mail body information and the mail attachment information. Specifically, when the degree of difference between the body information of the first mail and the body information of the original mail is less than a second threshold, the mail body information is first text information, wherein the first text information A difference information between the first mail and the body information of the original mail. And when the degree of difference between the body information of the first mail and the body information of the original mail is greater than or equal to a second threshold, the mail body information is second text information, wherein the second text information is The body information of the first mail.
  • the email attachment information is first attachment information
  • the first attachment information is The difference information between the first mail and the attachment information of the original mail; otherwise, the mail attachment information is the second attachment information, and the second attachment information is the attachment information of the first mail.
  • the second threshold and the third threshold may be autonomously set by the user side or the sending client side, and the second threshold and the third threshold may be the same or different, and the embodiment of the present invention does not Make a limit.
  • the sending client may determine a mode indication of the second mail according to the mail body information and the mail attachment information.
  • the second mail may further include a mode indication, the mode indication being associated with the mail content information.
  • the mode indication is used to indicate a transmission mode of the second mail, and is further configured to notify the mail content information of the second mail.
  • the transmission mode may include four modes, which are a third mode to a sixth mode, respectively.
  • the sending client may determine and record the mode indication as the third mode, mode00.
  • the mode is indicated as the third mode mode00, if the mode indicates that the value is the third value, the third mode mode00 is used to notify the receiving server that the mail content information is the first The message content information composed of the body information and the first attachment information.
  • the sending client may determine and record the The mode indication is the fourth mode, mode01.
  • the mode is indicated as the fourth mode mode01, and the value indicated by the mode is the fourth value
  • the fourth mode mode01 is used to notify the receiving server that the mail content information is the first The message content information composed of the body information and the first attachment information.
  • the sending client may determine and record the mode indication as The fifth mode, mode10.
  • the mode is indicated as the fifth mode mode 10
  • the value indicated by the mode is the fifth value
  • the fifth mode mode 10 is configured to notify the receiving server that the mail content information is the first The mail content information composed of the body information and the second attachment information.
  • the sending client may determine and record the mode indication as The sixth mode, mode11.
  • the mode is indicated as the sixth mode mode11, and the value indicated by the mode is the sixth value
  • the sixth mode mode11 is configured to notify the receiving server that the mail content information is the second The mail content information composed of the body information and the second attachment information.
  • the second value to the sixth value may be autonomously set by the user side or the sending client side, and the second value to the sixth value are different from each other.
  • the mode indication may be expressed in the form of a preset character string, a preset value, etc., and the preset character strings/values corresponding to the above four modes are different.
  • the first text information is represented by a character “0”
  • the second text information is represented by “1”
  • the first attachment information is represented by a character “0”
  • the second attachment information is represented by “1”
  • “00” indicates the first correspondingly.
  • Mode mode00 “01” indicates the second mode mode01
  • "10” indicates the third mode mode10
  • "11” indicates the fourth mode mode11, etc., which is not limited in the embodiment of the present invention.
  • the mode indication may be encapsulated in a header field of the second mail for transmission to the receiving server.
  • the receiving server may learn the mode indication by parsing the second mail, for example, parsing a header field of the second mail.
  • the receiving server may update the original mail to the first mail according to the mode indication.
  • the receiving server may learn that the mail content information includes the first text information and the The first attachment information is described.
  • the first text information is difference information between the body information of the first mail and the body information of the original mail
  • the first attachment information is attachment information of the first mail and the original mail. Information about the difference between the attachment information.
  • the receiving server may separately merge the first text information and the first attachment information in the second mail with the text information and the attachment information in the original mail, thereby obtaining the The first mail is specifically combined to obtain the body information and the attachment information of the first mail.
  • the receiving server may know that the mail content information includes the first text information and the second attachment information.
  • the first text information is difference information between the body information of the first mail and the body information of the original mail
  • the second attachment information is attachment information of the first mail.
  • the receiving server may combine the first text information and the text information in the original mail to obtain the text information in the first mail.
  • the receiving server may directly replace/cover the attachment information in the first email by using the first attachment information, thereby obtaining attachment information in the first email, and the first information is also obtained at this time. mail.
  • the receiving server may know that the mail content information includes the second text information and the first attachment information.
  • the second text information is body information of the first mail
  • the first attachment information is difference information between the attachment information of the first mail and the attachment information of the original mail.
  • the receiving server may directly replace/cover the text information in the original mail by using the second text information in the second mail, thereby obtaining body information in the first mail.
  • the receiving server may use the first attachment information and the attachment information in the original email to merge, thereby obtaining attachment information in the first email, and correspondingly obtaining the first One mail.
  • the receiving server may learn that the mail content information includes the second text information and the second attachment information.
  • the second text information is the body information of the first mail
  • the second attachment information is the attachment information of the first mail.
  • the receiving server may directly replace/cover the text information in the original mail by using the second text information in the second mail, thereby obtaining body information in the first mail.
  • the receiving server may directly replace/cover the attachment information in the original email by using the second attachment information, thereby obtaining attachment information in the first email, and accordingly obtaining the First email.
  • Email A includes text text-A and attachment file-A.
  • the sending client MUA-S where the user A is located identifies whether the receiving server MTA corresponding to the user B is the MTA-S with the newly added function through the email A. If yes, you can use the mail revision function provided by the sending client to modify Email A through the mail revision function interface to obtain the revised first email Email A+.
  • User A can prompt User B's receiving server to not support mail revision when using the mail revision function provided by the sending client. Please re-edit a new mail delivery.
  • the specific revision of Email A is shown, and the specific revision is: text-a ⁇ text-a+, file-a ⁇ file-a+, and thus Email-A ⁇ Email-A+.
  • the sending client MUA-S can use a text comparison tool, such as a diff tool, to compare the original email Email-A with the first email Email-A+ to generate a second email Email- Am, wherein Email-Am may include mail content information (illustrated specifically as text-a-diff and file-a-diff) and an identifier of the original mail (specifically, Email-A ID).
  • a text comparison tool such as a diff tool
  • the sending client can use a text comparison tool (such as a diff tool) to generate text-a-diff and file according to the difference between text-a+ and text-a and file-a+ and file-a respectively. -a-diff.
  • text-a-diff is generated by the diff tool
  • text-a-diff is the difference between text-a+ and text-a. information.
  • file-a-diff is generated by the diff tool. At this time, file-a-diff is the difference information between file-a+ and file-a.
  • text-a-diff when the degree of difference between text-a+ and text-a is greater than or equal to the second threshold, text-a-diff is generated by the diff tool, and text-a-diff can be text-a+.
  • file-a-diff when the degree of difference between file-a+ and file-a is greater than or equal to the third threshold, file-a-diff is generated by the diff tool, and file-a-diff can be file-a+.
  • the sending client may further determine the second email according to the difference between the text-a+ and the text-a and the difference between the file-a+ and the file-a. -Am mode indication, this is recorded as diff mode.
  • the sending client may determine that the diff mode is the first mode, mode0.
  • the first threshold ie, the original mail Email-A and the first When the degree of difference between the first mail Email-A+ is less than the first threshold, for example, 60%
  • the sending client may determine that the diff mode is the first mode, mode0.
  • the first threshold ie, the original mail Email-A and the first When the difference between a mail Email-A+ is greater than or equal to the first threshold (60%)
  • the sending client may determine that the diff mode is the second mode, mode1.
  • the sending client when the degree of difference between text-a+ and text-a is less than a second threshold, and the degree of difference between file-a+ and file-a is less than a third threshold, the sending client The terminal can determine that the diff mode is the third mode, mode00. When the degree of difference between text-a+ and text-a is less than a second threshold, and the degree of difference between file-a+ and file-a is greater than or equal to a third threshold, the sending client may determine that the diff mode is The fourth mode, mode01.
  • the sending client may determine that the diff mode is The fifth mode, mode10.
  • the sender client may determine a diff when the degree of difference between text-a+ and text-a is greater than or equal to a second threshold, and the degree of difference between file-a+ and file-a is greater than or equal to a third threshold.
  • the mode is the sixth mode, mode11.
  • the sending client may encapsulate the mode indication in a header field of the second mail, send the second mail to the sending server, and forward through the sending server.
  • the second email Email-A+ includes email content information (specifically text-a-diff and file-a-diff), the mode indication and the identifier of the original email (specifically, Email-A ID).
  • the receiving server receives the second mail, and parses the second mail to obtain the mode indication and the identifier of the original mail, such as an Email-A ID.
  • the receiving server searches for the Email-A stored in the receiving server according to the Email-A ID, where Email-A includes text-a and file-a. Further, as shown in FIG. 6, the receiving server updates the original mail Email-A to the first mail Email-A+ according to the mode indication and the mail content information.
  • the receiving server merges the mail content information of the second mail with the first mail according to the mode indication, thereby obtaining the first Email Email-A+.
  • text-a-diff and text-a are merged into text-a+
  • file-a-diff and file-a are merged into file-a+
  • Email-A+ includes text-a+ and File-a+.
  • the receiving server may replace the text information text-a in the original mail with the second text information text-a in the second mail according to the mode indication.
  • Diff ie, text-a+
  • the attachment information file-a of the original mail and the first attachment information file-a-diff of the second mail are merged into the attachment information file-a+ of the first mail, Thereby obtaining the first mail Email-A+.
  • the second body information text-a-diff For the text information text-a+ of the first mail, the first attachment information file-a-diff is between the attachment information file-a of the original mail and the attachment information file-a+ of the first mail. Difference information.
  • the receiving server may decide whether to discard the second mail according to the mode indication. Specifically, when the mode is indicated as the first mode mode 1 or the sixth mode mode 11, that is, the mail content information is the content information of the first mail, specifically the body information and the attachment information of the first mail, Then the receiving server can directly store the second mail. Otherwise, the receiving server will discard the second mail. Because the mail content information of the second mail is not the content information of the complete mail in the case of the other mode indication, only the difference information between the first mail and the original mail is included, specifically including the first mail and the original mail. The difference information between the body information, and/or the difference information between the first mail and the attachment information of the original mail, so the receiving server may discard the second mail.
  • the receiving server may also send an update response message to the sending server. Accordingly, the sending server can forward the update response mail to the sending client. The update response message is used to notify the receiving client whether the original mail is successfully updated to the first mail.
  • the update response mail is used to notify that the original mail is successfully updated to the first mail.
  • the update response mail is used to notify that the original mail update fails, and the re-sent the edited mail.
  • the user may delete the original mail on the receiving client side before step S310.
  • the receiving client may also send a delete mail to the receiving server, the deleted mail including a delete indication and an identifier of the original mail.
  • the deletion indication is used to instruct the receiving server to delete the original mail.
  • the receiving server may receive the deleted mail, and parse the deleted mail to obtain an identifier of the original mail and the deletion indication.
  • the receiving server may search for the original mail according to the identifier of the original mail, and further mark the original mail as a mail to be deleted according to the deletion indication.
  • the time to start receiving the deleted mail begins, and the to-be-deleted mail (ie, the original mail) is retained within a preset time period, and the to-be-deleted mail is not deleted immediately.
  • the to-be-delete message retained in the receiving server may be deleted.
  • step S310 if the receiving server receives the second mail sent by the sending server within the preset time period, the receiving server may be according to the second mail.
  • the identifier of the original mail is successfully searched for the original mail. If the second mail sent by the sending server is received after the preset time period, since the original mail has been deleted in the receiving server at this time, the second mail cannot be used according to the second mail. The identifier of the original mail, and the original mail is found.
  • the sending message is sent by the sending client to the sending server to forward the second mail to the sending server by the sending server.
  • the sending client may automatically prompt that the time when the original mail was last sent has exceeded the preset time (for example, one day), and the mail sending may fail.
  • the preset time period and the preset time length may be set by the user side or the server side.
  • the preset time period and the preset time length may be the same or different, which is not limited in the embodiment of the present invention.
  • the deletion indication may also be configured as a mode indication, for example, configured as a seventh mode, and may be embodied in a preset character string, a preset value, or the like.
  • the delete indication can be encapsulated in the header field of the mail.
  • the receiving server receives an email, it can learn that the email is a deleted email by parsing the header field of the email. For example, when the mode is indicated as the seventh mode mode3, the message can be identified as the deleted mail by the seventh value "3".
  • FIG. 7 is a schematic flowchart diagram of still another mail transmission method according to an embodiment of the present invention.
  • Step S402 The sending client sends a revocation mail to the sending server. Accordingly, the sending server receives the revocation mail and forwards the revocation mail to the receiving server.
  • the receiving service receives the recalled mail.
  • the withdrawal email includes a withdrawal indication and an identifier of the original email. The revocation indication is used to instruct the receiving server to withdraw the original mail.
  • Step S404 The receiving server searches for the original mail according to the identifier of the original mail, and withdraws the original mail according to the withdrawal instruction.
  • Step S406 The receiving server sends a withdrawal response mail to the sending server.
  • the sending server forwards the recall response mail to the sending client, and the recall response mail is used to notify the original mail to be successfully retracted.
  • the sending client may use the function interface of the mail withdrawal provided by itself to withdraw the mail (such as the original mail) that is to be withdrawn, and generate a corresponding withdrawal of the mail.
  • the recalled mail includes a withdrawal indication and an identification of the original mail.
  • the identifier of the original mail is an identifier of the mail to be revoked, and may be used by the receiving server to search for the original mail, where the withdrawal indication is used to instruct the receiving server to withdraw the original mail.
  • the revocation indication may also be configured as a mode indication, for example, configured as an eighth mode, which may be embodied by a preset character string, a preset value, or the like.
  • the recall indication can be encapsulated in the header field of the message.
  • the receiving server receives an email, it can be found that the email is a withdrawal email by parsing the header field of the email.
  • the eighth value "4" can be used to indicate that the mail is a revocation mail or the like.
  • the receiving server when the receiving server withdraws the original mail in the receiving server according to the revocation indication, the receiving server may synchronously update the receiving client to Delete the original message in the receiving client.
  • the terminal device includes corresponding hardware structures and/or software modules for executing the respective functions.
  • the embodiments of the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. Those skilled in the art can Each of the specific applications uses different methods to implement the described functions, but such implementations should not be considered to be beyond the scope of the technical solutions of the embodiments of the present invention.
  • the embodiment of the present invention may divide the functional unit into the sending client according to the foregoing method example.
  • each functional unit may be divided according to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 8A shows a possible structural diagram of the sending client involved in the above embodiment.
  • the sending client 800 includes a processing unit 802 and a communication unit 803.
  • the processing unit 802 is configured to control and manage the actions of the sending client 800.
  • the processing unit 802 is configured to support the sending client 800 to perform S302, S304, and S306 in FIG. 3, and/or to perform the description herein.
  • Other steps of the technology are configured to support communication between the sending client 800 and the sending server.
  • the communication unit 803 is configured to support the sending client 800 to perform step S308 in FIG. 3, step S418 in FIG. 7, and/or Other steps of the techniques described herein are performed.
  • the originating client 800 can also include a storage unit 801 for storing program code and data of the sending client 800.
  • the processing unit 802 can be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit. (English: Application-Specific Integrated Circuit, ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 803 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces, such as an interface between the sending client and the sending server.
  • the storage unit 801 can be a memory.
  • the sending client may be the sending client shown in FIG. 8B.
  • the sending client 810 includes a processor 812, a communication interface 813, and a memory 811.
  • the sending client 810 can also include a bus 814.
  • the communication interface 813, the processor 812, and the memory 811 may be connected to each other through a bus 814.
  • the bus 814 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure (English: Extended Industry) Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 814 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 8B, but it does not mean that there is only one bus or one type of bus.
  • FIG. 9A shows a possible structural diagram of the receiving server involved in the above embodiment.
  • the receiving server 900 includes a processing unit 902 and a communication unit 903.
  • the processing unit 902 is configured to control and manage the actions of the receiving server 900.
  • the processing unit 902 is configured to support the receiving server 900 to perform steps S310 and S312 in FIG. 3, step S418 in FIG. 7, and/or for Performing the techniques described herein Other steps.
  • the communication unit 903 is configured to support the communication between the receiving server 900 and other terminal devices (such as the receiving client and the sending server).
  • the communication unit 903 is configured to support the receiving server 900 to perform step S314 in FIG. 3, FIG. Step S420 and/or other steps for performing the techniques described herein.
  • the receiving server 900 may further include a storage unit 901 for storing program codes and data of the receiving server 900.
  • the processing unit 902 can be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit. (English: Application-Specific Integrated Circuit, ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 903 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name, and can include one or more interfaces, such as an interface between the receiving server and the receiving client, a receiving server and a sending device. The interface between the servers.
  • the storage unit 901 can be a memory.
  • the terminal device When the processing unit 902 is a processor, the communication unit 903 is a communication interface, and the storage unit 901 is a memory, the terminal device according to the embodiment of the present invention may be the receiving server shown in FIG. 9B.
  • the receiving server 910 includes a processor 912, a communication interface 913, and a memory 911.
  • the terminal device 910 may further include a bus 914.
  • the communication interface 913, the processor 912, and the memory 911 may be connected to each other through a bus 914;
  • the bus 914 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure (English: Extended Industry) Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 914 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9B, but it does not mean that there is only one bus or one type of bus.
  • the steps of the method or algorithm described in connection with the disclosure of the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software instructions.
  • the software instructions can be composed of corresponding software modules, which can be stored in random access memory (English: Random Access Memory, RAM), flash memory, read only memory (English: Read Only Memory, ROM), erasable and programmable. Read only memory (English: Erasable Programmable ROM, EPROM), electrically erasable programmable read only memory (English: Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, compact disk (CD-ROM) or well known in the art Any other form of storage medium.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a network device. Of course, the processor and the storage medium can also exist as discrete components in the network device.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

本发明实施例公开了邮件传输方法及相关设备,其中方法包括:发件客户端获取第一邮件,所述第一邮件为对原始邮件进行修订后的邮件;根据所述第一邮件和所述原始邮件,获得第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;向发件服务器发送所述第二邮件,以通过所述发件服务器将所述第二邮件发送给收件服务器,所述原始邮件的标识用于供所述收件服务器查找所述原始邮件,所述邮件内容信息用于供所述收件服务器将所述原始邮件更新为所述第一邮件。采用本发明实施例,能够支持邮件的在线修改,避免现有技术中邮件修改的繁琐流程,提升邮箱的使用率和实用性。

Description

邮件传输方法及相关设备 技术领域
本发明涉及互联网技术领域,尤其涉及邮件传输方法及相关设备。
背景技术
电子邮件email在互联网internet应用中占有重要地位,当前已成为人们日常办公或沟通中不可或缺的通信工具了。但由于电子邮件的机密性、保密性较高,其本身不支持对发送出去的电子邮件进行再次修改或删除等操作。
然而在实际生活中,用户经常会出现邮件发送错误,想要撤回、重新修改然后再发送。但目前,大多数邮箱通常都不支持邮件撤回功能。或者在支持邮件撤回功能的情况下,邮件先撤回再修改,最后再发送修改后的邮件,整个操作过程比较繁琐、不简便,会影响邮箱的使用率以及实用性。
发明内容
本发明实施例提供了邮件传输方法、相关设备及系统,能够支持邮件的在线修订,避免现有技术中邮件修改的繁琐流程,提升邮箱的使用率和实用性。
第一方面,本发明实施例提供了一种邮件传输方法,包括:
发件客户端获取第一邮件,所述第一邮件为对原始邮件进行修订后的邮件;
根据所述第一邮件和所述原始邮件,获得第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;
向发件服务器发送所述第二邮件,以通过所述发件服务器将所述第二邮件发送给收件服务器,所述原始邮件的标识用于供所述收件服务器查找所述原始邮件,所述邮件内容信息用于供所述收件服务器将所述原始邮件更新为所述第一邮件。
第二方面,本发明实施例提供了一种邮件传输方法,包括:
收件服务器接收发件服务器发送的第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;
根据所述原始邮件的标识,查找所述原始邮件;
根据所述邮件内容信息,将所述原始邮件更新为第一邮件。
通过实施上述实施例,能够支持邮件的在线修订,避免现有技术中邮件修改的繁琐流程,提升邮箱的使用率和实用性。
结合第一方面或第二方面,在一些可能的实施例中,所述第二邮件还包括模式指示,所述模式指示用于通知所述收件服务器所述邮件内容信息。
具体的,所述邮件内容信息包括第一邮件信息或第二邮件信息,
在所述第一邮件和所述原始邮件之间的差异度不超过第一阈值时,所述模式指示的值为第一值,即所述模式指示为第一模式mode0。所述模式指示用于通知所述收件服务器所述邮件内容信息为第一邮件信息,第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息。相应地,在所述模式指示的值为第一值的情况下,所述收件服务器将所述第一邮 件信息和所述原始邮件进行合并,得到第一邮件。
在所述第一邮件和所述原始邮件之间的差异度超过第一阈值时,所述模式指示的值为第二值,即所述模式指示为第二模式mode1。所述模式指示用于通知所述收件服务器所述邮件内容信息为第二邮件信息,所述第二邮件信息为所述第一邮件的内容信息。相应地,在所述模式指示的值为第二值的情况下,所述收件服务器利用所述第二邮件信息替换所述原始邮件的邮件内容信息,得到第一邮件。
具体的,所述邮件内容信息包括邮件正文信息和邮件附件信息,
在所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度不超过第二阈值,且所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度不超过第三阈值的情况下,所述模式指示的值为第三值,即所述模式指示为第三模式mode00。所述模式指示用于通知所述收件服务器所述邮件内容信息由第一正文信息和第一附件信息组成。相应地,在所述模式指示的值为第三值的情况下,所述收件服务器将所述原始邮件的正文信息和所述第一正文信息进行合并,得到所述第一邮件的邮件正文信息,并将所述原始邮件的附件信息和所述第一附件信息进行合并得到所述第一邮件的邮件附件信息,从而得到所述第一邮件。
在所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度不超过第二阈值,且所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度超过第三阈值的情况下,所述模式指示的值为第四值,即所述模式指示为第四模式mode01。所述模式指示用于通知所述收件服务器所述邮件内容信息由第一正文信息和第二附件信息组成。相应地,在所述模式指示的值为第四值的情况下,所述收件服务器将所述原始邮件的正文信息和所述第一正文信息进行合并得到所述第一邮件的邮件正文信息,并将所述原始邮件的附件信息替换为所述第二附件信息,从而得到所述第一邮件。
在所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度超过第二阈值,且所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度不超过第三阈值的情况下,所述模式指示的值为第五值,即所述模式指示为第五模式mode10。所述模式指示用于通知所述收件服务器所述邮件内容信息由第二正文信息和第一附件信息组成。相应地,在所述模式指示的值为第五值的情况下,所述收件服务器将所述原始邮件的正文信息替换为所述第二正文信息,并将所述原始邮件的附件信息和所述第一附件信息进行合并得到所述第一邮件的邮件附件信息,从而得到所述第一邮件。
在所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度超过第二阈值,且所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度超过第三阈值的情况下,所述模式指示的值为第六值,即所述模式指示为第六模式mode11。所述模式指示用于通知所述收件服务器所述邮件内容信息由第二正文信息和第二附件信息组成。相应地,在所述模式指示的值为第六值的情况下,所述收件服务器将所述原始邮件的正文信息替换为所述第二正文信息,并将所述原始邮件的附件信息替换为所述第二附件信息,从而得到所述第一邮件。
结合第一方面或第二方面,在一些可能的实施例中,所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第二正文信息为所述第一 邮件的正文信息,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息,所述第二附件信息为所述第一邮件的附件信息。
通过实施上述实施例,能够支持差异化的邮件在线修改,避免现有技术中传输整个修订后的邮件,能够提高邮件传输速率,节省流量消耗,进而提高邮箱的使用率和实用性。
结合第一方面或第二方面,在一些可能的实施例中,所述发件客户端向发件服务器发送撤回邮件,以通过所述发件服务器将所述撤回邮件发送给收件服务器,所述撤回邮件包括撤回指示,所述撤回指示用于指示撤回所述收件服务器中的所述原始邮件。相应地,所述收件服务器接收所述撤回邮件,根据所述撤回指示撤回/删除所述原始邮件。所述收件服务器向所述发件服务器发送撤回响应邮件,所述撤回响应邮件用于通知所述收件服务器撤回所述原始邮件成功。
通过实施上述步骤,能够增加支持邮件的在线撤回功能,可提高邮箱的使用率和实用性。
结合第一方面,在一些可能的实施例中,所述获取第一邮件包括:根据所述原始邮件的邮件内容信息,确定所述收件服务器是否为指定类型的收件服务器;在所述收件服务器为指定类型的收件服务器的情况下,获取用户输入的第一邮件。
通过实施上述步骤,所述发件客户端在检测到所述原始邮件所在的收件服务器为指定类型的收件服务器MTA-S的情况下,允许获取所述第一邮件,否则,可提示收件服务器不支持邮件在线修订功能;这样可节省用户操作,避免用户做一些无用操作,提升用户体验。
结合第二方面,在一些可能的实施例中,所述根据所述原始邮件的标识,查找所述原始邮件之前,还包括:接收收件客户端发送的删除邮件,所述删除邮件包括删除指示,所述删除指示用于指示所述收件服务器删除所述原始邮件;标记所述原始邮件为待删除邮件,所述待删除邮件为在距离接收到所述删除邮件的预设时段内被保留在所述收件服务器的;
所述根据所述原始邮件的标识,查找所述原始邮件包括:在所述预设时段内接收所述第二邮件的情况下,根据所述原始邮件的标识,查找所述原始邮件。
所述预设时段为用户侧或所述收件服务器侧自主配置的,不做限定。通过实施上述步骤,可根据用户实际需求,延迟邮件在收件服务器中的保存时间,为后续针对该邮件的在线修改提供基础。
结合第一方面或第二方面,所述撤回指示和/或所述删除指示可被配置为模式指示,如所述撤回指示为第七模式,所述删除指示被配置为第八模式。此外,所述模式指示可封装在所述第二邮件的头部字段中。相应地,所述收件服务器可通过解析所述第二邮件的头部字段获得所述模式指示,进一步根据所述模式指示对所述原始邮件进行相关操作,例如更新、删除、撤回等操作。
第三方面,本发明实施例提供了一种发件客户端,包括用于执行上述第一方面的方法的功能单元。
第四方面,本发明实施例提供了一种收件服务器,包括用于执行上述第二方面的方法的功能单元。
第五方面,本发明实施例提供了一种发件客户端,包括存储器、通信接口及与所述存储器和通信接口耦合的处理器;所述存储器用于存储指令,所述处理器用于执行所述指令, 所述通信接口用于在所述处理器的控制下与发件服务器进行通信;其中,所述处理器执行所述指令时执行上述第一方面描述的方法。
第六方面,本发明实施例提供了一种收件服务器,包括存储器、通信接口及与所述存储器和通信接口耦合的处理器;所述存储器用于存储指令,所述处理器用于执行所述指令,所述通信接口用于在所述处理器的控制下与终端设备进行通信;其中,所述处理器执行所述指令时执行上述第二方面描述的方法。所述终端设备至少包括发件服务器,可选地还可包括收件客户端。
第七方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储了用于邮件传输的程序代码。所述程序代码包括用于执行上述第一方面描述的方法的指令。
第八方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储了用于邮件传输的程序代码。所述程序代码包括用于执行上述第二方面描述的方法的指令。
第九方面,提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面描述的方法。
第十方面,提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面描述的方法。
通过实施本发明实施例,能够支持邮件的在线修订,避免现有技术中邮件修改的繁琐流程,提升邮箱的使用率和实用性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1是现有技术中提供的一种通信系统的结构示意图;
图2是本发明实施例提供的一种通信系统的结构示意图;
图3是本发明实施例提供的一种邮件传输方法的流程示意图;
图4是本发明实施例提供的一种邮件修订示意图;
图5是本发明实施例提供的一种邮件内容信息生成的示意图;
图6是本发明实施例提供的一种第一邮件获得的示意图;
图7是本发明实施例提供的又一种邮件传输方法的流程示意图;
图8A是本发明实施例提供的一种发件客户端的结构示意图;
图8B是本发明实施例提供的又一种发件客户端的结构示意图;
图9A是本发明实施例提供的一种收件服务器的结构示意图;
图9B是本发明实施例提供的又一种收件服务器的结构示意图。
具体实施方式
下面将结合本发明的附图,对本发明实施例中的技术方案进行详细描述。
请参见图1,是现有技术提供的一种通信系统的示意框图。如图1,所述通信系统100包括发件客户端102、发件服务器104、收件服务器106和收件客户端108。其中:
发件客户端和收件客户端均可为邮件用户代理(mail user agent,MUA)。它是一种邮件客户端,用于接收邮件、帮助用户读取邮件。MUA可以使用邮件传输协议与邮件服务器进行相互通信。所述邮件传输协议包括但不限于交互式邮件存取协议(internet mail access protocol,IMAP)、邮局协议第三版本(post office protocol 3,POP3)、简单邮件传输协议(simple mail transfer protocol,SMTP)等,本发明实施例不做限定。
发件服务器和收件服务器均可为邮件传输代理(Mail Transport Agent,MTA)。它是一种邮件服务器,用于利用邮件传输协议实现邮件的转发或发送。关于邮件传输协议可参见前述实施例中的相关描述,这里不再赘述。
在可选实施例中,所述发件服务器104和所述收件服务器106之间可能还存在一个或多个中间服务器110,所述中间服务器可为MTA,用于实现邮件的转发,以将发件服务器104发出的邮件最终转发至收件服务器106中,例如图示中包括正文信息text和附件信息file在内的邮件A。
在可选实施例中,所述通信系统还包括邮件投递服务器112。如图1,邮件投递服务器可以是邮件投递代理(Mail Deliver Agent,MDA),用于将MTA接收到的邮件投放在用户的邮箱中,图示可理解为邮件投递服务器112可将收件服务器106接收的邮件投放在收件客户端108中。
基于图1所示的通信系统,本申请的发明人在提出本申请的过程中发现,电子邮件email是人们办公或者网上交流的一种重要通信工具,每天都有成千上万的用户使用邮件进行通信。然而,在实际应用中经常会出现邮件发送错误,想要撤回、重新修改后再发送。但基于图1所示的通信系统,目前现有技术中提供的MTA和MUA不支持上述操作功能。
为解决上述问题,本发明实施例对图1中示出的发件客户端102、发件服务器104、收件服务器106和收件客户端108进行功能改进,从而得到如图2示出的改进后的通信系统。
如图2,发件客户端和收件客户端可为MUA-S(MUA special),MUA-S除了包括上述MUA的所有功能之外,还可提供邮件修订、邮件撤回、或者其他用于对已发出的邮件进行操作的功能接口等。其中,邮件修订的功能接口,可用于支持用户对已发出的邮件进行重新修订/编辑,允许再次发送修改后的邮件。邮件撤回的功能接口,可用于支持用户对已发出的邮件进行撤回和删除。
发件服务器和收件服务器可为MTA-S(MTA special),MTA-S除了包括上述MTA的所有功能之外,还可增加邮件识别功能、邮件合并功能、及邮件替换/覆盖等功能,或者其他的用于提供对已发出的邮件进行其他操作的功能,本发明实施例不做限定。
其中,邮件识别功能是指MTA-S能够识别邮件中的信息,所述信息包括但不限于指示信息、通知信息等等。邮件合并功能是指MTA-S可以合并两封及以上的邮件,从而得到合并后的新邮件。所述邮件替换(也可称为邮件覆盖)功能是指MTA-S支持邮件之间的相互替换,例如将邮件A替换为邮件B,也可以理解为MTA-S利用邮件B完全覆盖邮件A,从而得到覆盖/替换后的邮件B。
以邮件识别功能为例,MTA-S可对接收到的邮件进行内容解析,以获知相关信息。具体的,如邮件的头部字段中封装有撤回指示信息,所述撤回指示信息用于指示撤回邮件A。 在MTA-S在接收到邮件后,解析该邮件的头部字段获知该邮件用于指示撤回邮件A。相应地,MTA-S可在自身服务器中查找邮件A,并撤回(删除)邮件A。可选地,MTA-S还可返回撤回响应邮件,以通知邮件A被成功撤回。
基于改进后图2所示的通信系统,请参见图3,是本发明实施例提供的一种邮件传输方法的流程示意图。如图3所示的方法,包括如下实施步骤:
步骤S302、发件客户端根据原始邮件的邮件内容信息,确定收件服务器是否为指定类型的收件服务器。其中,所述指定类型的收件服务器为具备上述新增功能的收件服务器MTA-S。
本申请中,所述新增功能包括但不限于前述实施例中的邮件识别功能、邮件合并功能、邮件替换/覆盖等功能。所述原始邮件是指所述发件客户端之前已发送出去的邮件,所述原始邮件的邮件内容信息包括但不限于邮件地址、地址域名、附件信息、正文信息等。
由于不同厂商为区分各自提出的邮件服务器,会采用不同的域名。例如腾讯邮箱采用域名@qq.com,谷歌邮箱采用域名为@gmail.com等加以区分。因此在一具体实施方式中,所述发件客户端可根据原始邮件中收件地址的域名来确定该收件地址对应所在的收件服务器(MTA)是否为上述功能改进后的收件服务器,MTA-S。
步骤S304、所述发件客户端获取第一邮件,其中,所述第一邮件为对所述原始邮件进行修订后的邮件。
在所述发件客户端确定到所述收件服务器MTA为具备新增功能的收件服务器MTA-S的情况下,用户可通过所述发件客户端提供的邮件修订功能接口对所述原始邮件进行重新修订,并获得修订后的所述第一邮件。
在所述发件客户端确定到所述收件服务器MTA不为具备新增功能的收件服务器MTA-S的情况下,所述发件客户端可提示所述原始邮件对应的收件服务器不支持邮件修订,请重新编辑一封新邮件发送。
步骤S306、所述发件客户端根据所述第一邮件和所述原始邮件,获得第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识。
所述发件客户端可利用所述第一邮件和所述原始邮件进行邮件内容比对,从而生成第二邮件。所述第二邮件可包括邮件内容信息、所述原始邮件的标识(origin ID)、以及所述第二邮件的标识(new ID)等信息。所述第二邮件的标识和所述原始邮件的标识可以相同,也可不同。关于邮件内容信息可参见步骤S302中详述,这里不再赘述。
步骤S308、所述发件客户端向发件服务器发送所述第二邮件。相应地,所述收件服务器接收所述第二邮件,并将所述第二邮件转发给收件服务器。所述收件服务器接收所述第二邮件。所述第二邮件中所述原始邮件的标识可用于供所述收件服务器从自身服务器中查找所述原始邮件。
步骤S310、所述收件服务器根据所述原始邮件的标识,查找所述原始邮件。
步骤S312、所述收件服务器根据所述邮件内容信息将所述原始邮件更新为所述第一邮件。
所述收件服务器在查找到所述原始邮件的情况下,可利用所述邮件内容信息将所述原 始邮件更新为修订后的所述第一邮件。在未查找到所述原始邮件的情况下,所述收件服务器可直接丢弃所述第二邮件,或者所述收件服务器可根据所述邮件内容信息决定是否丢弃所述第二邮件,具体在下文中进行详述。
步骤S314、所述收件服务器将所述第一邮件发送给收件客户端。相应地,所述收件客户端接收所述第一邮件。
具体的,如果所述收件客户端已接收有所述原始邮件,则所述收件客户端可利用接收的所述第一邮件直接替换/覆盖所述原始邮件,从而节省所述收件客户端的存储空间。如果所述收件客户端之前并未接收过所述原始邮件,则所述收件客户端接收并存储所述第一邮件,以便用户查阅。
下面阐述步骤S306和步骤S312对应涉及的两种具体实施方式。
第一种实施方式如下:
在步骤S306中,所述发件客户端可将所述第一邮件和所述原始邮件进行对比,从而获得所述第一邮件和所述原始邮件之间的差异度或匹配度。下面以差异度为例进行详细说明,在所述第一邮件和所述原始邮件之间的差异度不超过第一阈值的情况下,所述第二邮件的邮件内容为第一邮件信息,其中所述第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息。可选地,所述发件客户端还可确定并记录所述第二邮件的传输模式为第一模式,mode0。
相应地,在所述第一邮件和所述原始邮件之间的差异度超过第一阈值的情况下,所述第二邮件的邮件内容为第二邮件信息,其中所述第二邮件信息可为所述第一邮件的内容信息,即所述收件客户端将第一邮件作为所述第二邮件,以发送给所述收件服务器。可选地,所述发件客户端可确定并记录所述第二邮件的传输模式为第二模式,mode1。
所述第一阈值可以是用户侧或者所述发件客户端侧自主设置的,本发明实施例不做限定。所述第一模式和所述第二模式用于指示邮件的传输模式,本申请中称为模式指示。所述模式指示可用预设字符串、或预设数值等形式体现,例如用“0”表示第一模式mode0,“1”表示第二模式mode1等,本发明实施例不做限定。在实际应用中,所述模式指示可封装在所述第二邮件的头部字段中,以传输给所述收件服务器。
在可选实施例中,所述第二邮件还可包括模式指示,所述模式指示与所述邮件内容信息关联。具体的,在所述模式指示为第一模式,如所述模式指示的值为第一值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息为所述第一邮件信息。相应地,在所述模式指示为第二模式,如所述模式指示的值为第二值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息为所述第二邮件信息。
举例来说,当模式指示的值为第一值“0”,则所述模式指示对应的模式为第一模式mode0,该mode0用于通知所述收件服务器所述第二邮件的邮件内容信息为所述第一邮件信息,即所述第二邮件中包括所述第一邮件和所述原始邮件之间的差异信息。相应地如果收件服务器想要获得所述第一邮件,可通过将所述第一邮件信息(即所述第二邮件的邮件内容信息)和所述原始邮件进行合并而得。
当模式指示的值为第二值“1”,则所述模式指示对应的模式为第二模式mode1,该mode1用于通知所述收件服务器所述第二邮件的邮件内容信息为所述第二邮件信息,即所述第二邮件中包括所述第一邮件的邮件内容信息。相应地如果收件服务器想要获得所述第一邮件,可通过将所述原始邮件直接替换为所述第二邮件(即所述第一邮件的邮件内容信息)而得。
相应地在步骤S312中,在所述收件服务器查找到所述原始邮件的情况下,所述收件服务器可通过解析所述第二邮件,例如解析所述第二邮件的头部字段,获知所述模式指示。
当所述模式指示为第一模式mode0,即所述模式指示的值为第一值的情况下,所述邮件内容信息为第一邮件信息,所述第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息。相应地,所述收件服务器可将所述第一邮件信息和所述原始邮件进行合并,从而得到所述第一邮件。
当所述模式指示为第二模式mode1,即所述模式指示的值为第二值的情况下,所述邮件内容信息为第二邮件信息,所述第二邮件信息为所述第一邮件的内容信息。相应地,所述收件服务器可利用所述第二邮件信息直接替换/覆盖所述原始邮件的邮件内容信息,从而得到所述第一邮件。
其中,所述第一值和所述第二值为用户侧或服务器侧自主设置的,且所述第一值和所述第二值均不相同。
第二种实施方式如下:
在步骤S306中,邮件内容信息可包括邮件正文信息和邮件附件信息。收件客户端可分别比较第一邮件和原始邮件的正文信息和附件信息,对应得到邮件正文信息和邮件附件信息。具体的,当所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度小于第二阈值时,所述邮件正文信息为第一正文信息,其中,所述第一正文信息为所述第一邮件和所述原始邮件的正文信息之间的差异信息。当所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度大于或等于第二阈值时,所述邮件正文信息为第二正文信息,其中所述第二正文信息为所述第一邮件的正文信息。
相应地,当所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度小于第三阈值时,所述邮件附件信息为第一附件信息,所述第一附件信息为所述第一邮件和所述原始邮件的附件信息之间的差异信息;否则,所述邮件附件信息为第二附件信息,所述第二附件信息为所述第一邮件的附件信息。
所述第二阈值和所述第三阈值可以是用户侧或所述发件客户端侧自主设置的,所述第二阈值和所述第三阈值可以相同,也可不同,本发明实施例不做限定。
在可选实施例中,所述发件客户端可根据所述邮件正文信息和邮件附件信息确定所述第二邮件的模式指示。相应地,所述第二邮件还可包括模式指示,所述模式指示与所述邮件内容信息关联。所述模式指示用于指示所述第二邮件的传输模式,还用于通知所述第二邮件的邮件内容信息。所述传输模式可包括四个模式,分别为第三模式至第六模式。
具体的,当所述发件客户端确定到所述第二邮件的邮件内容信息是由所述第一正文信 息和所述第一附件信息组成时,所述发件客户端可确定并记录所述模式指示为第三模式,mode00。相应地,当所述模式指示为第三模式mode00,如所述模式指示的值为第三值时,所述第三模式mode00用于通知所述收件服务器所述邮件内容信息为由第一正文信息和第一附件信息构成的邮件内容信息。
具体的,当所述发件客户端确定到所述第二邮件的邮件内容信息是由所述第一正文信息和所述第二附件信息组成时,所述发件客户端可确定并记录所述模式指示为第四模式,mode01。相应地,当所述模式指示为第四模式mode01,如所述模式指示的值为第四值时,所述第四模式mode01用于通知所述收件服务器所述邮件内容信息为由第一正文信息和第一附件信息构成的邮件内容信息。
具体的,当所述发件客户端确定到所述第二邮件的邮件内容信息是由第二正文信息和第一附件信息组成时,所述发件客户端可确定并记录所述模式指示为第五模式,mode10。相应地,当所述模式指示为第五模式mode10,如所述模式指示的值为第五值时,所述第五模式mode10用于通知所述收件服务器所述邮件内容信息为由第一正文信息和第二附件信息构成的邮件内容信息。
具体的,当所述发件客户端确定到所述第二邮件的邮件内容信息是由第二正文信息和第二附件信息组成时,所述发件客户端可确定并记录所述模式指示为第六模式,mode11。相应地,当所述模式指示为第六模式mode11,如所述模式指示的值为第六值时,所述第六模式mode11用于通知所述收件服务器所述邮件内容信息为由第二正文信息和第二附件信息构成的邮件内容信息。
所述第二值至所述第六值可为用户侧或所述发件客户端侧自主设置的,且所述第二值至所述第六值均互不相同。
所述模式指示可用预设字符串、预设数值等形式表示,上述四个模式对应采用的预设字符串/数值均不相同。例如用字符“0”表示第一正文信息,“1”表示第二正文信息;用字符“0”表示第一附件信息,“1”表示第二附件信息,则相应地“00”表示第一模式mode00,“01”表示第二模式mode01,“10”表示第三模式mode10,“11”表示第四模式mode11等,本发明实施例不做限定。在实际应用中,所述模式指示可封装在所述第二邮件的头部字段中,以传输给所述收件服务器。
相应地在步骤S312中,所述收件服务器可通过解析所述第二邮件,例如解析所述第二邮件的头部字段,获知所述模式指示。所述收件服务器可根据所述模式指示,将所述原始邮件更新为所述第一邮件。
具体的,当所述模式指示为第三模式mode00,即所述模式指示的值为第三值的情况下,所述收件服务器可获知所述邮件内容信息包括所述第一正文信息和所述第一附件信息。其中所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息。相应地,所述收件服务器可分别利用所述第二邮件中所述第一正文信息和所述第一附件信息对应和所述原始邮件中的正文信息和附件信息进行合并,从而得到所述第一邮件,具体合并得到所述第一邮件的正文信息和附件信息。
当所述模式指示为第四模式mode01,即所述模式指示的值为第四值的情况下,所述收件服务器可获知所述邮件内容信息包括第一正文信息和第二附件信息。其中所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第二附件信息为所述第一邮件的附件信息。相应地,所述收件服务器可利用所述第一正文信息和所述原始邮件中的正文信息进行合并,从而得到所述第一邮件中的正文信息。同样地,所述收件服务器可用所述第一附件信息直接替换/覆盖所述第一邮件中的附件信息,从而得到所述第一邮件中的附件信息,此时也获得了所述第一邮件。
当所述模式指示为第五模式mode10,即所述模式指示的值为第五值的情况下,所述收件服务器可获知所述邮件内容信息包括第二正文信息和第一附件信息。其中所述第二正文信息为所述第一邮件的正文信息,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息。相应地,所述收件服务器可利用所述第二邮件中的所述第二正文信息直接替换/覆盖所述原始邮件中的正文信息,从而得到所述第一邮件中的正文信息。同样地,所述收件服务器可利用所述第一附件信息和所述原始邮件中的附件信息进行合并,从而得到所述第一邮件中的附件信息,相应地此时也获得了所述第一邮件。
当所述模式指示为第六模式mode11,即所述模式指示的值为第六值的情况下,所述收件服务器可获知所述邮件内容信息包括第二正文信息和第二附件信息,所述第二正文信息为所述第一邮件的正文信息,所述第二附件信息为所述第一邮件的附件信息。相应地,所述收件服务器可利用所述第二邮件中的所述第二正文信息直接替换/覆盖所述原始邮件中的正文信息,从而得到所述第一邮件中的正文信息。同样地,所述收件服务器可利用所述第二附件信息直接替换/覆盖所述原始邮件中的附件信息,从而得到所述第一邮件中的附件信息,相应地此时也获得了所述第一邮件。
举例来说,假设用户A在发件客户端MUA-S侧通过邮件服务器向用户B所在的收件客户端发送了原始邮件A(Emial A)。其中,Email A包括有正文text-A和附件file-A。现在用户A发现Eamil A存在问题,需要进行修订再发送。此时用户A所在的发件客户端MUA-S通过Email A识别用户B所对应的收件服务器MTA是否为具备新增功能的MTA-S。如果是,则可利用发件客户端提供的邮件修订功能,通过邮件修订功能接口对Email A进行修订,得到修订后的第一邮件Email A+。如果不是,则用户A在使用发件客户端提供的邮件修订功能时,可提示用户B所在的收件服务器不支持邮件修订,请重新编辑一封新邮件发送。如图4,示出了Email A的具体修订,具体修订为:text-a→text-a+、file-a→file-a+,从而Email-A→Email-A+。
如图5,所述发件客户端MUA-S可利用文本对比工具,如diff工具,将所述原始邮件Email-A和所述第一邮件Email-A+进行差异对比,生成第二邮件Email-A-m,其中Email-A-m可包括邮件内容信息(图示具体为text-a-diff和file-a-diff)和所述原始邮件的标识(具体为Email-A ID)。具体的,发件客户端可利用文本比较工具(如diff工具),分别根据text-a+和text-a的差别、和file-a+和file-a的差别,对应生成text-a-diff和file-a-diff。其中,当text-a+和text-a之间的差异度小于第二阈值时,通过diff工具生成text-a-diff,此时text-a-diff为text-a+和text-a之间的差异信息。同样地,当file-a+和file-a之间的差异度小于第三阈值时, 通过diff工具生成file-a-diff,此时file-a-diff为file-a+和file-a之间的差异信息。
相应地,当text-a+和text-a之间的差异度大于或等于第二阈值时,通过diff工具生成text-a-diff,此时text-a-diff可为text-a+。同样地,当file-a+和file-a之间的差异度大于或等于第三阈值时,通过diff工具生成file-a-diff,此时file-a-diff可为file-a+。
在可选实施例中,所述发件客户端还可分别根据text-a+和text-a之间的差异度、和file-a+和file-a之间的差异度,来确定第二邮件Email-A-m的模式指示,这里记为diff模式。
在一具体实施例中,当text-a+和text-a之间的差异度和file-a+和file-a之间的差异度之和小于第一阈值(即所述原始邮件Email-A和所述第一邮件Email-A+之间的差异度小于第一阈值,例如60%)时,所述发件客户端可确定diff模式为第一模式,mode0。相应地,当text-a+和text-a之间的差异度和file-a+和file-a之间的差异度之和大于或等于第一阈值(即所述原始邮件Email-A和所述第一邮件Email-A+之间的差异度大于或等于第一阈值,60%)时,所述发件客户端可确定diff模式为第二模式,mode1。
在又一具体实施例中,当text-a+和text-a之间的差异度小于第二阈值,且file-a+和file-a之间的差异度小于第三阈值时,所述发件客户端可确定diff模式为第三模式,mode00。当text-a+和text-a之间的差异度小于第二阈值,且file-a+和file-a之间的差异度大于或等于第三阈值时,所述发件客户端可确定diff模式为第四模式,mode01。当text-a+和text-a之间的差异度大于或等于第二阈值,且file-a+和file-a之间的差异度小于第三阈值时,所述发件客户端可确定diff模式为第五模式,mode10。当text-a+和text-a之间的差异度大于或等于第二阈值,且file-a+和file-a之间的差异度大于或等于第三阈值时,所述发件客户端可确定diff模式为第六模式,mode11。
进一步地,所述发件客户端可将所述模式指示封装在所述第二邮件的头部字段中,将所述第二邮件发送给所述发件服务器,并通过所述发件服务器转发给所述收件服务器MTA-S。所述第二邮件Email-A+包括邮件内容信息(具体为text-a-diff和file-a-diff),所述模式指示以及所述原始邮件的标识(具体为Email-A ID)。
相应地,所述收件服务器接收所述第二邮件,并解析所述第二邮件获得所述模式指示以及所述原始邮件的标识Email-A ID等信息。所述收件服务器根据Email-A ID查找到所述收件服务器中存储的Email-A,其中Email-A包括text-a和file-a。进一步地,如图6,所述收件服务器根据所述模式指示和所述邮件内容信息,将所述原始邮件Email-A更新为所述第一邮件Email-A+。
示例性地,如当所述模式指示为mode0,则所述收件服务器根据所述模式指示,将所述第二邮件的邮件内容信息和所述第一邮件进行合并,从而获得所述第一邮件Email-A+。具体的,text-a-diff和text-a合并为text-a+,file-a-diff和file-a合并为file-a+,因此得到第一邮件Email-A+,Email-A+包括text-a+和file-a+。
当所述模式指示为mode10,则所述收件服务器可根据所述模式指示,将所述原始邮件中的正文信息text-a替换为所述第二邮件中的第二正文信息text-a-diff(即text-a+),将所述原始邮件的附件信息file-a和所述第二邮件中的第一附件信息file-a-diff合并为所述第一邮件的附件信息file-a+,从而得到所述第一邮件Email-A+。其中,所述第二正文信息text-a-diff 为所述第一邮件的正文信息text-a+,所述第一附件信息file-a-diff为所述原始邮件的附件信息file-a与所述第一邮件的附件信息file-a+之间的差异信息。
下面介绍本发明实施例所涉及的一些可选实施例。
在可选实施例中,在步骤S310所述收件服务器未查找到所述原始邮件的情况下,所述收件服务器可根据所述模式指示,决定是否丢弃所述第二邮件。具体的,当所述模式指示为第一模式mode1或第六模式mode11时,即所述邮件内容信息为所述第一邮件的内容信息,具体为所述第一邮件的正文信息和附件信息,则所述收件服务器可直接存储所述第二邮件。否则,所述收件服务器将丢弃所述第二邮件。因为在其他模式指示情况下所述第二邮件的邮件内容信息并非完整邮件的内容信息,仅包括所述第一邮件和所述原始邮件之间的差异信息,具体为包括第一邮件和原始邮件的正文信息之间的差异信息,和/或第一邮件和原始邮件的附件信息之间的差异信息,因此所述收件服务器可丢弃所述第二邮件。
在可选实施例中,所述收件服务器还可向发件服务器发送更新响应邮件。相应地,发件服务器可将所述更新响应邮件转发给发件客户端。所述更新响应邮件用于通知所述收件客户端是否成功将所述原始邮件更新为所述第一邮件。
具体的,在步骤S312所述收件服务器将所述原始邮件更新为所述第一邮件的情况下,所述更新响应邮件用于通知成功将所述原始邮件更新为所述第一邮件。在所述收件服务器丢弃所述第二邮件(即未成功更新)的情况下,所述更新响应邮件用于通知所述原始邮件更新失败,请重新发送编辑后的邮件。
在可选实施例中,在步骤S310之前,用户可在收件客户端侧删除所述原始邮件。相应地,所述收件客户端还可向收件服务器发送删除邮件,所述删除邮件包括删除指示和所述原始邮件的标识。所述删除指示用于指示所述收件服务器删除所述原始邮件。相应地,所述收件服务器可接收所述删除邮件,并解析所述删除邮件获知所述原始邮件的标识和所述删除指示。所述收件服务器可根据所述原始邮件的标识查找所述原始邮件,进一步地根据所述删除指示可将所述原始邮件标记为待删除邮件。且在距离接收到所述删除邮件开始计时,在预设时段内保留所述待删除邮件(即所述原始邮件),并不立即删除所述待删除邮件。可选地,在所述预设时段后,可删除所述收件服务器中保留的所述待删除邮件。
相应地在步骤S310中,如果所述收件服务器在所述预设时段内接收到所述发件服务器发送的所述第二邮件,则所述收件服务器可根据所述第二邮件中所述原始邮件的标识,成功查找所述原始邮件。如果在所述预设时段后接收到所述发件服务器发送的所述第二邮件,由于此时所述收件服务器中已删除所述原始邮件,此时并不能根据所述第二邮件中所述原始邮件的标识,查找到所述原始邮件。
在可选实施例中,相应地在步骤S308中,在所述发件客户端向所述发件服务器发送所述第二邮件,以通过所述发件服务器将所述第二邮件转发给所述收件服务器时,所述发件客户端可自动提示距离上次发送所述原始邮件的时间已超过预设时长(如1天),可能出现邮件发送失败。
所述预设时段和所述预设时长可以是用户侧或服务器侧自主设置的,所述预设时段和所述预设时长可以相同,也可不同,本发明实施例不做限定。
在实际应用中,所述删除指示也可被配置为模式指示,例如配置为第七模式,具体可用预设的字符串、预设数值等形式体现。所述删除指示可被封装在邮件的头部字段。相应地,在所述收件服务器接收到一封邮件时,可通过解析邮件的头部字段,获知该邮件为删除邮件。例如,所述模式指示为第七模式mode3时,即可用第七数值“3”标识该邮件为删除邮件。
在另一个实施例中,基于图3所述实施例中的所有或部分实施步骤,在步骤S302所述发件客户端确定到所述收件服务器为MTA-S的情况下,还可包括如下实施步骤。具体参见图7示出了本发明实施例的又一种邮件传输方法的流程示意图。
步骤S402、所述发件客户端向所述发件服务器发送撤回邮件。相应地,所述发件服务器接收所述撤回邮件,并将所述撤回邮件转发给所述收件服务器。所述收件服务接收所述撤回邮件。其中,所述撤回邮件包括撤回指示和所述原始邮件的标识。所述撤回指示用于指示所述收件服务器撤回所述原始邮件。
步骤S404、所述收件服务器根据所述原始邮件的标识查找所述原始邮件,并根据所述撤回指示撤回所述原始邮件。
步骤S406、所述收件服务器向所述发件服务器发送撤回响应邮件。相应地,所述发件服务器将所述撤回响应邮件转发给所述发件客户端,所述撤回响应邮件用于通知所述原始邮件撤回成功。
步骤S402中,所述发件客户端可利用自身提供的邮件撤回的功能接口,对想要撤回的邮件(如原始邮件)进行撤回操作,并生成相应地撤回邮件。所述撤回邮件包括撤回指示和所述原始邮件的标识。所述原始邮件的标识为待撤回邮件的标识,可用于所述收件服务器查找所述原始邮件,所述撤回指示用于指示所述收件服务器撤回所述原始邮件。
在实际应用中,所述撤回指示也可被配置为模式指示,例如配置为第八模式,其具体可用预设的字符串、预设数值等形式体现。同样地,所述撤回指示可被封装在邮件的头部字段。相应地,在所述收件服务器接收到一封邮件时,可通过解析邮件的头部字段,获知该邮件为撤回邮件。例如,所述模式指示为第八模式mode4时,即可用第八数值“4”表示该邮件为撤回邮件等。
在可选实施例中,步骤S404所述收件服务器在根据所述撤回指示撤回所述收件服务器中的所述原始邮件时,所述收件服务器可同步更新所述收件客户端,以删除所述收件客户端中的所述原始邮件。
通过实施上述实施例,能够支持邮件的在线修订传输,且利用MUA-S和MTA-S的差异化邮件传输,可提高邮件的传输速率并节省流量消耗。
上述主要从客户端和服务器交互的角度对本发明实施例提供的方案进行了介绍。可以理解的是,终端设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本发明中所公开的实施例描述的各示例的单元及算法步骤,本发明实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对 每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本发明实施例的技术方案的范围。
本发明实施例可以根据上述方法示例对发件客户端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,图8A示出了上述实施例中所涉及的发件客户端的一种可能的结构示意图。发件客户端800包括:处理单元802和通信单元803。处理单元802用于对发件客户端800的动作进行控制管理,例如,处理单元802用于支持发件客户端800执行图3中的S302、S304和S306,和/或用于执行本文所描述的技术的其它步骤。通信单元803用于支持发件客户端800与发件服务器的通信,例如,通信单元803用于支持发件客户端800执行图3中的步骤S308,图7中的步骤S418,和/或用于执行本文所描述的技术的其它步骤。发件客户端800还可以包括存储单元801,用于存储发件客户端800的程序代码和数据。
其中,处理单元802可以是处理器或控制器,例如可以是中央处理器(英文:Central Processing Unit,CPU),通用处理器,数字信号处理器(英文:Digital Signal Processor,DSP),专用集成电路(英文:Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(英文:Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元803可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口,例如发件客户端和发件服务器之间的接口。存储单元801可以是存储器。
当处理单元802为处理器,通信单元803为通信接口,存储单元801为存储器时,本发明实施例所涉及的发件客户端可以为图8B所示的发件客户端。
参阅图8B所示,该发件客户端810包括:处理器812、通信接口813、存储器811。可选地,发件客户端810还可以包括总线814。其中,通信接口813、处理器812以及存储器811可以通过总线814相互连接;总线814可以是外设部件互连标准(英文:Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(英文:Extended Industry Standard Architecture,简称EISA)总线等。所述总线814可以分为地址总线、数据总线、控制总线等。为便于表示,图8B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在采用集成的单元的情况下,图9A示出了上述实施例中所涉及的收件服务器的一种可能的结构示意图。收件服务器900包括:处理单元902和通信单元903。处理单元902用于对收件服务器900的动作进行控制管理,例如,处理单元902用于支持收件服务器900执行图3中的步骤S310和S312,图7中的步骤S418,和/或用于执行本文所描述的技术的 其它步骤。通信单元903用于支持收件服务器900与其它终端设备(如收件客户端和发件服务器)的通信,例如,通信单元903用于支持收件服务器900执行图3中的步骤S314,图7中的步骤S420和/或用于执行本文所描述的技术的其它步骤。收件服务器900还可以包括存储单元901,用于存储收件服务器900的程序代码和数据。
其中,处理单元902可以是处理器或控制器,例如可以是中央处理器(英文:Central Processing Unit,CPU),通用处理器,数字信号处理器(英文:Digital Signal Processor,DSP),专用集成电路(英文:Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(英文:Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元903可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口,例如收件服务器与收件客户端之间的接口,收件服务器与发件服务器之间的接口。存储单元901可以是存储器。
当处理单元902为处理器,通信单元903为通信接口,存储单元901为存储器时,本发明实施例所涉及的终端设备可以为图9B所示的收件服务器。
参阅图9B所示,该收件服务器910包括:处理器912、通信接口913、存储器911。可选地,终端设备910还可以包括总线914。其中,通信接口913、处理器912以及存储器911可以通过总线914相互连接;总线914可以是外设部件互连标准(英文:Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(英文:Extended Industry Standard Architecture,简称EISA)总线等。所述总线914可以分为地址总线、数据总线、控制总线等。为便于表示,图9B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
结合本发明实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(英文:Random Access Memory,RAM)、闪存、只读存储器(英文:Read Only Memory,ROM)、可擦除可编程只读存储器(英文:Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(英文:Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网络设备中。当然,处理器和存储介质也可以作为分立组件存在于网络设备中。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (30)

  1. 一种邮件传输方法,其特征在于,包括:
    发件客户端获取第一邮件,所述第一邮件为对原始邮件进行修订后的邮件;
    根据所述第一邮件和所述原始邮件,获得第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;
    向发件服务器发送所述第二邮件,以通过所述发件服务器将所述第二邮件发送给收件服务器,所述原始邮件的标识用于供所述收件服务器查找所述原始邮件,所述邮件内容信息用于供所述收件服务器将所述原始邮件更新为所述第一邮件。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一邮件和所述原始邮件,获得第二邮件包括:
    在所述第一邮件和所述原始邮件之间的差异度不超过第一阈值时,所述邮件内容信息为第一邮件信息,所述第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息;
    在所述第一邮件和所述原始邮件之间的差异度超过第一阈值时,所述邮件内容信息为第二邮件信息,所述第二邮件信息为所述第一邮件的内容信息。
  3. 根据权利要求2所述的方法,其特征在于,所述第二邮件还包括模式指示;
    在所述模式指示的值为第一值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息为所述第一邮件信息;
    在所述模式指示的值为第二值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息为所述第二邮件信息。
  4. 根据权利要求1所述的方法,其特征在于,所述邮件内容信息包括邮件正文信息和邮件附件信息,所述根据所述第一邮件和所述原始邮件,获得第二邮件包括:
    在所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度不超过第二阈值的情况下,所述邮件正文信息为第一正文信息;否则,所述邮件正文信息为第二正文信息,其中,所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第二正文信息为所述第一邮件的正文信息;
    在所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度不超过第三阈值的情况下,所述邮件附件信息为第一附件信息;否则,所述邮件附件信息为第二附件信息,其中,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息,所述第二附件信息为所述第一邮件的附件信息。
  5. 根据权利要求4所述的方法,其特征在于,所述第二邮件还包括模式指示,
    在所述模式指示的值为第三值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息包括所述第一正文信息和所述第一附件信息;
    在所述模式指示的值为第四值的情况下,所述模式指示用于通知所述收件服务器所述 邮件内容信息包括所述第一正文信息和所述第二附件信息;
    在所述模式指示的值为第五值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息包括所述第二正文信息和所述第一附件信息;
    在所述模式指示的值为第六值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息包括所述第二正文信息和所述第二附件信息。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述获取第一邮件包括:
    根据所述原始邮件的邮件内容信息,确定所述收件服务器是否为指定类型的收件服务器;
    在所述收件服务器为指定类型的收件服务器的情况下,获取用户输入的第一邮件。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述方法还包括:
    向发件服务器发送撤回邮件,以通过所述发件服务器将所述撤回邮件发送给收件服务器,所述撤回邮件包括撤回指示,所述撤回指示用于指示撤回所述收件服务器中的所述原始邮件。
  8. 一种邮件传输方法,其特征在于,包括:
    收件服务器接收发件服务器发送的第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;
    根据所述原始邮件的标识,查找所述原始邮件;
    根据所述邮件内容信息,将所述原始邮件更新为第一邮件。
  9. 根据权利要求8所述的方法,其特征在于,所述第二邮件还包括模式指示;
    在所述模式指示的值为第一值的情况下,所述邮件内容信息为第一邮件信息,所述第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息;
    在所述模式指示的值为第二值的情况下,所述邮件内容信息为第二邮件信息,所述第二邮件信息为所述第一邮件的内容信息。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述邮件内容信息,将所述原始邮件更新为第一邮件包括:
    在所述模式指示的值为第一值的情况下,将所述第一邮件信息和所述原始邮件进行合并,得到第一邮件;
    在所述模式指示的值为第二值的情况下,利用所述第二邮件信息替换所述原始邮件的邮件内容信息,得到第一邮件。
  11. 根据权利要求8所述的方法,其特征在于,所述第二邮件还包括模式指示;
    在所述模式指示的值为第三值的情况下,所述邮件内容信息包括第一正文信息和第一附件信息;
    在所述模式指示的值为第四值的情况下,所述邮件内容信息包括第一正文信息和第二附件信息;
    在所述模式指示的值为第五值的情况下,所述邮件内容信息包括第二正文信息和第一附件信息;
    在所述模式指示的值为第六值的情况下,所述邮件内容信息包括第二正文信息和第二附件信息;
    其中,所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第二正文信息为所述第一邮件的正文信息,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息,所述第二附件信息为所述第一邮件的附件信息。
  12. 根据权利要求11所述的方法,其特征在于,所述根据所述邮件内容信息,将所述原始邮件更新为第一邮件包括:
    在所述模式指示的值为第三值的情况下,分别将所述原始邮件的正文信息和所述第一正文信息、所述原始邮件的附件信息和所述第一附件信息进行合并,从而得到所述第一邮件;
    在所述模式指示的值为第四值的情况下,将所述原始邮件的正文信息和所述第一正文信息进行合并,并将所述原始邮件的附件信息替换为所述第二附件信息,从而得到所述第一邮件;
    在所述模式指示的值为第五值的情况下,将所述原始邮件的正文信息替换为所述第二正文信息,并将所述原始邮件的附件信息和所述第一附件信息进行合并,从而得到所述第一邮件;
    在所述模式指示的值为第六值的情况下,将所述原始邮件的正文信息替换为所述第二正文信息,并将所述原始邮件的附件信息替换为所述第二附件信息,从而得到所述第一邮件。
  13. 根据权利要求8-12中任一项所述的方法,其特征在于,
    接收所述发件服务器发送的撤回邮件,所述撤回邮件包括撤回指示,所述撤回指示用于指示撤回所述收件服务器中的所述原始邮件;
    向所述发件服务器发送撤回响应邮件,所述撤回响应邮件用于通知所述收件服务器撤回所述原始邮件成功。
  14. 根据权利要求8-13中任一项所述的方法,其特征在于,所述根据所述原始邮件的标识,查找所述原始邮件之前,还包括:
    接收收件客户端发送的删除邮件,所述删除邮件包括删除指示,所述删除指示用于指示所述收件服务器删除所述原始邮件;
    标记所述原始邮件为待删除邮件,所述待删除邮件为在距离接收到所述删除邮件的预设时段内被保留在所述收件服务器的;
    所述根据所述原始邮件的标识,查找所述原始邮件包括:
    在所述预设时段内接收所述第二邮件的情况下,根据所述原始邮件的标识,查找所述原始邮件。
  15. 一种发件客户端,其特征在于,所述发件客户端包括通信单元和处理单元,其中:
    所述处理单元,用于获取第一邮件,所述第一邮件为对原始邮件进行修订后的邮件;
    所述处理单元,还用于根据所述第一邮件和所述原始邮件,获得第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;
    所述通信单元,用于向发件服务器发送所述第二邮件,以通过所述发件服务器将所述第二邮件发送给收件服务器,所述原始邮件的标识用于供所述收件服务器查找所述原始邮件,所述邮件内容信息用于供所述收件服务器将所述原始邮件更新为所述第一邮件。
  16. 根据权利要求15所述的发件客户端,其特征在于,
    所述处理单元,用于在所述第一邮件和所述原始邮件之间的差异度不超过第一阈值时,确定所述邮件内容信息为第一邮件信息,所述第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息;
    所述处理单元,还用于在所述第一邮件和所述原始邮件之间的差异度超过第一阈值时,确定所述邮件内容信息为第二邮件信息,所述第二邮件信息为所述第一邮件的内容信息。
  17. 根据权利要求16所述的发件客户端,其特征在于,所述第二邮件还包括模式指示;
    在所述模式指示的值为第一值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息为所述第一邮件信息;
    在所述模式指示的值为第二值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息为所述第二邮件信息。
  18. 根据权利要求15所述的发件客户端,其特征在于,所述邮件内容信息包括邮件正文信息和邮件附件信息,
    所述通信单元,用于在所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异度不超过第二阈值的情况下,确定所述邮件正文信息为第一正文信息;否则,确定所述邮件正文信息为第二正文信息,其中,所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第二正文信息为所述第一邮件的正文信息;
    所述通信单元,还用于在所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异度不超过第三阈值的情况下,确定所述邮件附件信息为第一附件信息;否则,确定所述邮件附件信息为第二附件信息,其中,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息,所述第二附件信息为所述第一邮件的附件信息。
  19. 根据权利要求18所述的发件客户端,其特征在于,所述第二邮件还包括模式指示,
    在所述模式指示的值为第三值的情况下,所述模式指示用于通知所述收件服务器所述 邮件内容信息包括所述第一正文信息和所述第一附件信息;
    在所述模式指示的值为第四值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息包括所述第一正文信息和所述第二附件信息;
    在所述模式指示的值为第五值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息包括所述第二正文信息和所述第一附件信息;
    在所述模式指示的值为第六值的情况下,所述模式指示用于通知所述收件服务器所述邮件内容信息包括所述第二正文信息和所述第二附件信息。
  20. 根据权利要求15所述的发件客户端,其特征在于,
    所述处理单元,用于根据所述原始邮件的邮件内容信息,确定所述收件服务器是否为指定类型的收件服务器;
    所述处理单元,还用于在所述收件服务器为指定类型的收件服务器的情况下,获取用户输入的第一邮件。
  21. 一种收件服务器,其特征在于,所述收件服务器包括通信单元和处理单元,其中:
    所述通信单元,用于接收发件服务器发送的第二邮件,所述第二邮件包括邮件内容信息及所述原始邮件的标识;
    所述处理单元,用于根据所述原始邮件的标识,查找所述原始邮件;
    所述处理单元,还用于根据所述邮件内容信息,将所述原始邮件更新为第一邮件。
  22. 根据权利要求21所述的收件服务器,其特征在于,所述第二邮件还包括模式指示;
    所述处理单元,用于在所述模式指示的值为第一值的情况下,确定所述邮件内容信息为第一邮件信息,所述第一邮件信息为所述第一邮件和所述原始邮件之间的差异信息;
    所述处理单元,还用于在所述模式指示的值为第二值的情况下,确定所述邮件内容信息为第二邮件信息,所述第二邮件信息为所述第一邮件的内容信息。
  23. 根据权利要求22所述的收件服务器,其特征在于,
    所述处理单元,用于在所述模式指示的值为第一值的情况下,将所述第一邮件信息和所述原始邮件进行合并,得到第一邮件;
    所述处理单元,还用于在所述模式指示的值为第二值的情况下,利用所述第二邮件信息替换所述原始邮件的邮件内容信息,得到第一邮件。
  24. 根据权利要求21所述的收件服务器,其特征在于,所述第二邮件还包括模式指示;
    所述处理单元,用于在所述模式指示的值为第三值的情况下,确定所述邮件内容信息包括第一正文信息和第一附件信息;
    所述处理单元,还用于在所述模式指示的值为第四值的情况下,确定所述邮件内容信息包括第一正文信息和第二附件信息;
    所述处理单元,还用于在所述模式指示的值为第五值的情况下,确定所述邮件内容信 息包括第二正文信息和第一附件信息;
    所述处理单元,还用于在所述模式指示的值为第六值的情况下,确定所述邮件内容信息包括第二正文信息和第二附件信息;
    其中,所述第一正文信息为所述第一邮件的正文信息和所述原始邮件的正文信息之间的差异信息,所述第二正文信息为所述第一邮件的正文信息,所述第一附件信息为所述第一邮件的附件信息和所述原始邮件的附件信息之间的差异信息,所述第二附件信息为所述第一邮件的附件信息。
  25. 根据权利要求24所述的收件服务器,其特征在于,
    所述处理单元,用于在所述模式指示的值为第三值的情况下,将所述原始邮件的正文信息更新为所述第一正文信息,并将所述原始邮件的附件信息更新为所述第一附件信息,从而得到所述第一邮件;
    所述处理单元,还用于在所述模式指示的值为第四值的情况下,将所述原始邮件的正文信息更新为所述第一正文信息,并将所述原始邮件的附件信息替换为所述第二附件信息,从而得到所述第一邮件;
    所述处理单元,还用于在所述模式指示的值为第五值的情况下,将所述原始邮件的正文信息替换为所述第二正文信息,并将所述原始邮件的附件信息更新为所述第一附件信息,从而得到所述第一邮件;
    所述处理单元,还用于在所述模式指示的值为第六值的情况下,将所述原始邮件的正文信息替换为所述第二正文信息,并将所述原始邮件的附件信息替换为所述第二附件信息,从而得到所述第一邮件。
  26. 根据权利要求21-25中任一项所述的收件服务器,其特征在于,
    所述通信单元,还用于接收收件客户端发送的删除邮件,所述删除邮件包括删除指示,所述删除指示用于指示所述收件服务器删除所述原始邮件;
    所述处理单元,还用于标记所述原始邮件为待删除邮件,所述待删除邮件为在距离接收到所述删除邮件的预设时段内被保留在所述收件服务器的;
    所述处理单元,用于在所述预设时段内接收所述第二邮件的情况下,根据所述原始邮件的标识,查找所述原始邮件。
  27. 一种发件客户端,其特征在于,包括存储器、通信接口及与所述存储器和通信接口耦合的处理器;所述存储器用于存储指令,所述处理器用于执行所述指令,所述通信接口用于在所述处理器的控制下与发件服务器进行通信;其中,所述处理器执行所述指令时执行如权利要求1至7任一项所述方法。
  28. 一种收件服务器,其特征在于,包括存储器、通信接口及与所述存储器和通信接口耦合的处理器;所述存储器用于存储指令,所述处理器用于执行所述指令,所述通信接口用于在所述处理器的控制下至少与发件服务器进行通信;其中,所述处理器执行所述指 令时执行如权利要求8至14任一项所述方法。
  29. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述方法。
  30. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求8至14任一项所述方法。
PCT/CN2017/096428 2017-08-08 2017-08-08 邮件传输方法及相关设备 WO2019028676A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780093696.9A CN110999227B (zh) 2017-08-08 2017-08-08 邮件传输方法及相关设备
PCT/CN2017/096428 WO2019028676A1 (zh) 2017-08-08 2017-08-08 邮件传输方法及相关设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/096428 WO2019028676A1 (zh) 2017-08-08 2017-08-08 邮件传输方法及相关设备

Publications (1)

Publication Number Publication Date
WO2019028676A1 true WO2019028676A1 (zh) 2019-02-14

Family

ID=65273122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096428 WO2019028676A1 (zh) 2017-08-08 2017-08-08 邮件传输方法及相关设备

Country Status (2)

Country Link
CN (1) CN110999227B (zh)
WO (1) WO2019028676A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067250A (zh) * 2011-10-20 2013-04-24 中国航天科工集团第二研究院七0六所 一种安全电子邮件系统及其邮件撤销方法
US20140282078A1 (en) * 2013-03-14 2014-09-18 Quip, Inc. Systems and methods for concurrent online and offline document processing
CN104869051A (zh) * 2015-03-18 2015-08-26 广东时代互联科技有限公司 一种撤销电子邮件的方法及系统
CN105007215A (zh) * 2015-07-09 2015-10-28 陈包容 一种远程修改电邮的方法
CN105827499A (zh) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 一种已发送信息的修改方法、电子设备及应用服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129002A1 (en) * 2000-10-27 2002-09-12 Alberts Douglas Wesley eMediaCarts
CN1722711A (zh) * 2005-07-27 2006-01-18 北京立通无限科技有限公司 邮件代理服务器转发邮件的实现方法
CN101661586A (zh) * 2009-09-29 2010-03-03 金蝶软件(中国)有限公司 一种优化数据处理流程的方法及装置
CN104009966A (zh) * 2013-02-27 2014-08-27 鸿富锦精密工业(深圳)有限公司 邮件管控系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067250A (zh) * 2011-10-20 2013-04-24 中国航天科工集团第二研究院七0六所 一种安全电子邮件系统及其邮件撤销方法
US20140282078A1 (en) * 2013-03-14 2014-09-18 Quip, Inc. Systems and methods for concurrent online and offline document processing
CN104869051A (zh) * 2015-03-18 2015-08-26 广东时代互联科技有限公司 一种撤销电子邮件的方法及系统
CN105007215A (zh) * 2015-07-09 2015-10-28 陈包容 一种远程修改电邮的方法
CN105827499A (zh) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 一种已发送信息的修改方法、电子设备及应用服务器

Also Published As

Publication number Publication date
CN110999227A (zh) 2020-04-10
CN110999227B (zh) 2021-06-01

Similar Documents

Publication Publication Date Title
US7543031B2 (en) Publication to shared content sources using natural language electronic mail destination addresses and interest profiles registered by the shared content sources
JP5480894B2 (ja) 自動会話技術
US11196784B2 (en) Method, apparatus and system for creating discussion group based on instant messaging
CN102769687B (zh) 信息群发系统及方法
US20090319632A1 (en) Composing, browsing, replying, forwarding e-mail
WO2007071588A1 (en) Publication to shared content sources using natural language electronic mail destination addresses and interest profiles registered by the shared content sources
KR20110066087A (ko) 컴퓨터 네트워크 상의 단일 착신지에 대한 중복 메시지 통합
US20190394160A1 (en) Routing a message based upon user-selected topic in a message editor
US20090049134A1 (en) Method for delaying delivery of e-mail content
US20160112356A1 (en) Network Device and Method for Processing Email Request
US8874675B2 (en) Message thread management using dynamic pointers
WO2018149340A1 (zh) 回复电子邮件过程中确定收件人的方法和装置
US8782148B2 (en) Managing redundancy in electronic mail messages
TWI773847B (zh) 訊息處理方法、裝置、伺服器和儲存媒體
US20120122498A1 (en) Mobile phone messages processing method and mobile phone
JP2010528356A (ja) 未送信の受信者のあるeメール・メッセージを訂正するための方法、システム、およびコンピュータ・プログラム
US8972508B1 (en) Methods and systems for managing email configuration
JP4704440B2 (ja) メール送受信プログラム、メール送受信方法およびメール送受信装置
US20070185970A1 (en) Method, system, and computer program product for providing messaging services
US9159044B2 (en) Notification system based on intelligent mail barcodes
JP2009118174A (ja) 情報処理装置、承認方法、およびプログラム
WO2015196658A1 (zh) 获取电子邮件投递状态的方法、装置和计算机存储介质
WO2019028676A1 (zh) 邮件传输方法及相关设备
US6985923B1 (en) Method, article of manufacture and apparatus for processing redundant electronic mail messages
CN104243654B (zh) 信息群发系统及方法

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

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

Country of ref document: EP

Kind code of ref document: A1