CN115580594A - E-mail processing and transmitting method, system and storage medium - Google Patents
E-mail processing and transmitting method, system and storage medium Download PDFInfo
- Publication number
- CN115580594A CN115580594A CN202211587355.6A CN202211587355A CN115580594A CN 115580594 A CN115580594 A CN 115580594A CN 202211587355 A CN202211587355 A CN 202211587355A CN 115580594 A CN115580594 A CN 115580594A
- Authority
- CN
- China
- Prior art keywords
- message header
- receiving
- local
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/08—Annexed information, e.g. attachments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to an e-mail processing and transmitting method, a system and a storage medium, belonging to the field of data storage and communication transmission. The method comprises the following steps: a sending terminal generates a first object; the sending server divides the mail text according to the first object mail message header, processes and stores the mail signature information and the reference information, and generates a second object; storing and transmitting the second object; the receiving server side inquires and synchronously refers to the content and the signature information according to the message header of the second object, and stores the second object; and the receiving server converts the second object into the first object to the receiving terminal. The system comprises: the system comprises a generation transmission module, a splitting and deleting module, an inquiry synchronization module and a conversion module. The method and the device identify the E-mail by using the UUID, use the reference mark and the signature mark to assist in judgment, can quickly remove the repeated data of the E-mail, improve the utilization rate of the space of the E-mail box, reduce the data transmission amount of the E-mail and achieve the synchronous improvement of the transmission and storage efficiency.
Description
Technical Field
The invention belongs to the field of data storage and communication transmission, and relates to an electronic mail processing and transmitting method, system and storage medium.
Background
As the application accompanying the internet, e-mail has become an essential tool for communication between the inside and the outside of an enterprise with the development of the era. The electronic mail system is divided into a sender client, a sender mail server, a receiver mail server, and a receiver client. The sender transmits the new e-mail to the sender mail server through an SMTP protocol, the sender mail server stores the e-mail into a user sender box, then transmits the e-mail to the receiver mail server through the SMTP protocol, and when the receiver needs to check the e-mail, the receiver pulls the e-mail into the receiver box from the receiver mail server through a POP3 protocol or an IMAP protocol.
After a user receives an electronic mail, the operation is to reply and forward the mail in most of the time, at the moment, a new mail generated by a client automatically attaches the original mail content to the text of the input mail and is used as a part of the text, so that the user can conveniently inquire and read, but the original content in the new mail is excessively long due to a large number of replied and forwarded mails, and the original content can be repeatedly stored by a sender server and a receiver server for many times, so that the serious waste of storage resources is caused.
Therefore, how to reduce the waste of e-mail storage resources in the process of replying and forwarding a large amount of e-mails becomes a problem to be solved urgently.
Disclosure of Invention
In order to solve the technical problems in the background art, embodiments of the present invention provide a method, a system, and a storage medium for processing and transmitting an email. The technical scheme is as follows:
in a first aspect, an email processing transmission method is provided, and the method includes the steps of:
a sending terminal generates a first object and transmits the first object to a sending server, wherein the first object comprises original content of a mail and a mail message header, and the mail message header comprises a reference mark and a UUID list;
the sending server receives the first object, new and old division processing is carried out on original content of the mail according to a mail message header of the first object to obtain a second object, the second object is locally stored and transmitted to the receiving server, and the second object consists of newly added content of the mail and a mail message header;
the receiving server side receives the second object, inquires whether the UUID list exists in a local storage area or not according to the mail message header of the second object, pulls the old content of the mail from the sending server side according to the inquiry result, stores the old content of the mail to the local, and then stores the second object to the local;
and when the receiving server receives the mail synchronization request of the receiving terminal, the receiving server converts the second object into the first object and transmits the first object to the receiving terminal according to the second object mail message header.
In one embodiment, the step of generating a first object by the sending terminal and transmitting the first object to the sending server includes:
generating a first object, wherein the first object comprises an email original content and an email message header;
judging whether the original E-mail is newly built or not, if not, adding a reference mark in a mail message header to be true; if yes, adding a reference mark to the mail message header to be false;
generating a UUID list at a message header of the mail according to the original content of the mail;
and transmitting the first object to a sending server.
In one embodiment, the step of receiving, by the sending server, the first object, performing old-new division on original content of the mail according to a mail message header of the first object to obtain a second object, and then locally storing and transmitting the second object to the receiving server includes:
receiving the first object;
judging whether the first object has reference according to a reference mark in a first object mail message header, and if not, directly storing the first object to a local storage area; if yes, the original content of the mail is divided into new content and old content;
copying a reference mail to a reference storage area according to a UUID list of a mail message header;
deleting old contents in the original contents of the mails, and storing the newly added contents to a local to obtain a second object;
and transmitting the second object to a receiving server.
In one embodiment, the receiving server receives the second object, queries whether the UUID list exists in the local storage area according to a second object message header, pulls old mail content from the sending server according to the query result, stores the old mail content to the local, and stores the second object to the local, including:
receiving the second object;
judging whether the second object has a reference mail according to the reference mark in the message header of the second object mail, and if not, not processing; if yes, searching the UUID list in sequence in the local reference storage area;
pulling and storing the reference mail from a sending server side according to the search result;
the second object is stored locally.
In one embodiment, in the step of generating a first object at the sending terminal and then transmitting the first object to the sending server, the mail message header further includes a signature mark;
the step of dividing the original content of the mail into new and old according to the mail message header of the first object to obtain a second object further comprises:
judging whether the first object has a signature according to the signature mark in the first object mail message header, if not, not processing; if yes, converting the signature information into an MD5 value;
storing the signature information into a local server, and adding the converted MD5 value into a mail message header;
the steps of inquiring whether the UUID list exists in the local storage area according to the second object mail message header, pulling the old mail content from the sending server end according to the inquiry result and storing the old mail content to the local, further comprise:
according to the MD5 value in the message header of the second object mail, searching operation is carried out in the local signature storage area;
and pulling and storing the signature information from a sending server side according to the search result.
In a second aspect, there is provided an email processing and transmission system, including a sending terminal, a sending server, a receiving server, and a receiving terminal, the system including:
the system comprises a generation transmission module, a receiving module and a sending module, wherein the generation transmission module is used for generating a first object by a sending terminal and transmitting the first object to a sending server, the first object comprises original content of a mail and a mail message header, and the mail message header comprises a reference mark and a UUID list;
the splitting and deleting module is used for receiving the first object by the sending server side, carrying out old-new division processing on the original content of the mail according to the mail message header of the first object to obtain a second object, and then locally storing the second object and transmitting the second object to the receiving server side, wherein the second object consists of the new content of the mail and the mail message header;
the inquiry synchronization module is used for receiving the second object by the receiving server end, inquiring whether the UUID list exists in a local storage area or not according to the message header of the second object mail, pulling the old mail content from the sending server end according to the inquiry result, storing the old mail content to the local, and then storing the second object to the local;
and the conversion module is used for converting the second object into the first object and transmitting the first object to the receiving terminal by the receiving server side according to the second object mail message header when the receiving server side receives the mail synchronization request of the receiving terminal.
In one embodiment, the generating transmission module includes:
a first object generating unit, configured to generate a first object, where the first object includes an original content of a mail and a header of the mail;
the reference marking unit is used for judging whether the original E-mail is newly built or not, and if not, adding a reference mark to the message header of the E-mail to be true; if yes, adding a reference mark in the mail message header to be false;
a UUID generating unit, which is used for generating a UUID list at the message header of the mail according to the original content of the mail;
and the first transmission unit is used for transmitting the first object to a sending server.
In one embodiment, the splitting and pruning module includes:
a first object receiving unit for receiving the first object;
the judging and splitting unit is used for judging whether the first object has reference according to the reference mark in the first object mail message header, and if not, storing the first object to the local storage area; if yes, new and old division is carried out on the original content of the mail;
the data copying unit is used for copying the reference mail to the reference storage area according to the UUID list of the mail message header;
a deleting storage unit, which is used for deleting the old content in the original content of the mail and storing the newly added content to the local to obtain a second object;
and the second transmission unit is used for transmitting the second object to a receiving server side.
In one embodiment, the query synchronization module includes:
a second object receiving unit for receiving the second object;
the judging and inquiring unit is used for judging whether the second object has the reference mail according to the reference mark in the message header of the second object mail, and if not, the second object does not have the reference mail; if yes, searching the UUID list in sequence in the local reference storage area;
the synchronization unit is used for pulling and storing the reference mail from the sending server side according to the search result;
and the second object storage unit is used for storing the second object to the local.
In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored, which program, when executed by a processor, implements a method of handling transmission of an email as described above.
The invention has the beneficial effects that:
1. the method and the system have the advantages that the UUID is used for identifying the e-mail, so that the referred repeated e-mail can be quickly found out, and when the e-mail is stored in the mailbox system, the part is not stored, so that the effect of improving the utilization rate of the mailbox space is achieved;
2. by removing the quoted content in the E-mail, the repeated data can not be transmitted when the E-mail is sent and received, and the servers at the two ends only request the related content when needed, thereby achieving the effects of reducing the network transmission data volume and optimizing the transmission flow;
3. the method transfers the steps of distinguishing, splitting, deleting and the like in the process to the server side for processing in a mode of adding the mark, can effectively utilize the calculation and processing capacity of the server side, is noninductive to the client side, is very convenient to use, and improves the user experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for processing and transmitting an email according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a display of a header of a mail message according to an embodiment of the present invention;
fig. 3 is a structure diagram of a mailbox of a user at a sending server in the first embodiment of the present invention;
FIG. 4 is a diagram illustrating an email processing and transmission system according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a generation transmission module according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a splitting and modifying module according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a query synchronization module according to a second embodiment of the present invention.
In the drawings, the components represented by the respective reference numerals are listed below:
501. generating a transmission module; 502. a splitting and deleting module; 503. a query synchronization module; 504. a conversion module; 5011. a first object generation unit; 5012. a reference mark unit; 5013. a UUID generation unit; 5014. a first transmission unit; 5021. a first object receiving unit; 5022. judging a splitting unit; 5023. a data copy unit; 5024. deleting the storage unit; 5025. a second transmission unit; 5031. a second object receiving unit; 5032. judging a query unit; 5033. a synchronization unit; 5034. a second object storage unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
As shown in fig. 1, in one embodiment, there is provided an email processing transmission method, the method comprising the steps of:
s101, a sending terminal generates a first object and then transmits the first object to a sending server, wherein the first object comprises original content of an email and an email message header, and the email message header comprises a reference mark, a signature mark and a UUID list.
It is understood that the mail message header refers to a part before the mail body, and the body (content text) is always preceded by header lines in the e-mail, as shown in fig. 2, and these header lines determine specific information of the e-mail, including recipient (mail server address < user mailbox address >; date timestamp), sender (username < user mailbox address >), fingerprint information (encryption algorithm; mail address; subject; content type, etc.), subject (mail subject), reception timestamp (2022.11.20: 56 + 0800), importance (high), priority (1), MIME version (1.0), signature identifier (false), reference identifier (true), UUID list (UUID 1; UUID2; UUID 3;..), etc., wherein the recipient, sender, fingerprint information, subject, reception timestamp, importance, priority, header version, etc. are mandatory, added by the system, and the signature identifier, reference, UUID list, etc. are optional headers that may be added in a "header-Value" format "when creating a corresponding header, and the header is expressed as a" Value "in a fixed header-Name" format.
Optionally, step S101 includes:
s1011, the sending terminal generates a UUID for the original e-mail.
It is understood that the standard UUID format is: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxx (8-4-4-12), where each x is a hexadecimal number in the range of 0-9 or a-F, such as 820435DC-a999-F881-D796-D7CB93E349EF, in an embodiment replaced by UUIDi, where 1< = i < = n, where n is given by the number of cited items.
S1012, adding X-UUIDLList UUID1 into the mail message, and recording the first object together with the original e-mail.
S1013, the sending terminal judges whether the original E-mail is new or not, if not, adds X-Reference to the first object message header, and executes S1014 and S1015 in turn; if so, add X-Reference: false to the first object message header and execute S1015.
S1014, copying the X-UUIDLList values in the header of the reference e-mail message into the X-UUIDLList of the first object in sequence according to the content of the body of the e-mail, wherein the records are X-UUIDLList, UUID1, UUID2, UUID 8230, UUIDn, wherein UUID1 represents the original UUID in the first object, and UUID 2-UUIDn represent all UUID values recorded in the header of the reference e-mail message;
and S1015, transmitting the first object to a sending server side.
And S102, the sending server receives the first object, performs old-new division processing on the original content of the mail according to the reference mark and the signature mark in the mail header of the first object, stores signature information and records the MD5 value obtained by converting the signature information to obtain a second object.
Optionally, the step S102 includes:
s1021, receiving the first object;
s1022, judging whether the X-Reference header in the first object mail message header is true, if so, executing S1023; if true, executing S1024 and S1025 in sequence;
s1023, storing the first object into a local storage area;
s1024, sequentially retrieving whether the mails corresponding to the UUIDI are in the user mailbox reference storage area or not according to the X-UUIDLList value list of the mail message header, if not, copying the mails corresponding to the UUIDI to the reference storage area, and adding reference count to be 1; if yes, adding 1 to the reference count of the corresponding record;
s1025, dividing the text part of the first object, and deleting the referred old content;
s1026, according to whether an X-Signature header in the mail message header is true, if true, no processing is carried out, and if true, S1027 and S1028 are executed;
s1027, dividing the first object text to obtain original signature information, and performing MD5 conversion on the signature information;
s1028, storing the original signature information in the user mailbox signature storage area, and adding the MD5 value to the message header of the first object mail to obtain a second object.
And S103, the sending server side stores the second object locally and transmits the second object to the receiving server side, wherein the second object consists of the mail added content and the mail message header.
Optionally, the step S103 includes:
s1031, storing the second object in a local user mailbox;
s1032, the second object is transmitted to the receiving server.
For ease of understanding, fig. 3 provides a diagram of a server-side user mailbox structure. As shown in fig. 3, the mailbox server is used for storing mail data of many users, for example, a mail Email of user 1, a mail Email of user 2, a mail Email of user 3, an Email of other users, and the like, in the same mailbox domain, where each user has a separate storage space on the server, called a user mailbox. Taking the mailbox space of user 2 as an example, the mailbox space includes inbox, outbox, archive, draft box, and other spaces. The mail received by the user can be stored in an inbox; the sent mail is stored in the sent mail; in the sending state, the mail which is not successfully sent is saved in the outbox, and the space corresponds to the local storage area in the embodiment. The embodiment is beneficial to improving the utilization rate of the storage space of the user mailbox by dividing the specific signature storage area and the specific reference storage area in the user mailbox.
And S104, the receiving server receives the second object, inquires the corresponding UUID list and the MD5 value according to the reference mark and the signature mark in the mail message header of the second object, pulls the old content of the mail from the sending server according to the inquiry result, stores the old content of the mail into a local specific storage area, and stores the second object into the local storage area.
Specifically, the step S104 includes:
s1041, receiving the second object;
s1042, judging whether the X-Reference header in the second object mail message header is true, if true, not processing; if true, go to S1043;
s1043, according to the X-UUIDLList value list of the mail message header, sequentially searching whether the mail corresponding to the UUIDI exists in the user mailbox reference storage area, if not, executing S1044; if yes, adding 1 to the reference count of the corresponding record;
s1044, requesting the sending server side for the mail corresponding to the UUIDI, storing the obtained result in a reference storage area of the receiving server side, and adding a reference count to be 1;
s1045, judging whether the X-Signature header of the second object mail message header is true, if true, not processing; if true, go to S1046;
s1046, according to MD5 value of the mail message header, searching whether there is a corresponding record in the user mailbox signature storage area, if not, executing S1047; if yes, adding 1 to the reference count of the corresponding record;
s1047, requesting the original signature information corresponding to the MD5 value from the sending server, storing the obtained result into a signature storage area of the receiving server, and adding a reference count to be 1;
s1048, storing the second object in a user mailbox.
And S105, when the receiving server receives the mail synchronization request of the receiving terminal, the receiving server converts the second object into the first object and transmits the first object to the receiving terminal according to the reference mark and the signature mark in the mail message header of the second object.
Specifically, the step S05 includes:
s1051, receiving a synchronous request of a user terminal mail;
s1052, judging whether the X-Reference header in the message header of the second object mail is true, if true, not processing; if true, go to S1053;
s1053, according to the X-UUIDLList value list of the mail message header, searching in the receiving server side reference storage area in sequence from UUID2, and adding the searched mail into the second object text according to the reference format;
s1054, judging whether the X-Signature header of the second object mail message header is true, if true, executing S1056; if true, go to S1055;
s1055, according to the MD5 value of the mail message header, searching in the signature storage area of the receiving server, adding the searched signature information to the second object text, and finally executing S1056;
s1056, the second object is converted into the first object and transmitted to the receiving terminal.
According to the technical scheme, the electronic mail is identified by the UUID, the reference mark and the signature mark are used for assisting in judgment, repeated contents can be judged and processed quickly, and when the mail is transmitted in each component of a mail system, the data transmission amount is reduced, and the transmission efficiency is improved. Meanwhile, the utilization rate of the mailbox space can be improved when the email is stored in the mailbox system.
Example two
As shown in fig. 4, in one embodiment, there is provided an email processing transmission system comprising:
a generating and transmitting module 501, configured to generate a first object by a sending terminal, and transmit the first object to a sending server, where the first object includes an original content of an email and an email message header, and the email message header includes a reference tag and a UUID list;
a splitting and deleting module 502, configured to receive the first object by a sending server, perform old-new division processing on original content of the mail according to a mail message header of the first object to obtain a second object, locally store the second object, and transmit the second object to a receiving server, where the second object is composed of a mail new content and a mail message header;
the query synchronization module 503 is configured to receive the second object by the receiving server, query whether the UUID list exists in the local storage area according to the second object email message header, pull the old email content from the sending server according to the query result, store the old email content to the local, and then store the second object to the local;
the conversion module 504 is configured to, when the receiving server receives the mail synchronization request from the receiving terminal, convert the second object into the first object according to the second object mail message header and transmit the first object to the receiving terminal.
Optionally, as shown in fig. 5, on the basis of this embodiment, the generating and transmitting module 501 includes:
a first object generating unit 5011 for generating a first object including an original content of a mail and a mail message header;
a reference marking unit 5012, configured to determine whether the original e-mail is newly created, and if yes, add a reference mark to the mail message header as false; if not, adding a reference mark to the mail message header to be true;
a UUID generating unit 5013, configured to generate a UUID list at a message header of the email according to the original content of the email;
the first transmission unit 5014 is configured to transmit the first object to a sending server.
Optionally, as shown in fig. 6, on the basis of this embodiment, the splitting and modifying module 502 includes:
a first object receiving unit 5021 for receiving the first object;
a judging and splitting unit 5022, configured to judge whether the first object has a reference according to a reference flag in a first object email header, and if not, store the first object in the local storage area; if yes, new and old division is carried out on the original content of the mail;
a data copying unit 5023, configured to copy the reference email to the reference storage area according to the UUID list of the email message header;
a delete storage unit 5024, configured to delete an old content in the original content of the email, and store the new content locally to obtain a second object;
a second transmission unit 5025, configured to transmit the second object to a receiving server.
Optionally, as shown in fig. 7, on the basis of this embodiment, the query synchronization module 503 includes:
a second object receiving unit 5031 for receiving the second object;
a determining and querying unit 5032, configured to determine whether the second object has a reference email according to the reference flag in the second object email header, and if not, do not perform processing; if yes, searching the UUID list in sequence in the local reference storage area;
a synchronizing unit 5033, configured to pull and store the reference email from the sending server according to the search result;
a second object storage unit 5034 for storing the second object locally.
According to the technical scheme of the embodiment, a transmission module 501 is generated, a corresponding message header is added to an original e-mail created by a sending terminal to generate a first object and transmit the first object to a sending server, a splitting and deleting module 502 receives the first object at the sending server, new and old division processing is performed on original contents of the e-mail according to a mail message header of the first object to obtain a second object, the second object is locally stored and transmitted to a receiving server, a query synchronization module 503 receives the second object at the receiving server, whether a UUID list exists in a local storage area is queried according to the mail message header of the second object, old contents of the e-mail are pulled from the sending server according to a query result and stored to the local, the second object is stored to the local, and a conversion module 504 converts the second object into the first object and transmits the first object to the receiving terminal according to the mail message header when receiving a mail synchronization request of the receiving terminal is received. The problem that the existing E-mail protocol stores a large amount of repeated contents such as reply and forwarding is solved, the step of processing data is split, and the balance of storage and data transmission efficiency is achieved.
EXAMPLE III
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the email processing transmission method of the first embodiment.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, ruby, go, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.
Claims (10)
1. An e-mail processing transmission method comprises a sending terminal, a sending server terminal, a receiving server terminal and a receiving terminal, and is characterized in that the method comprises the following steps:
a sending terminal generates a first object and transmits the first object to a sending server, wherein the first object comprises original content of a mail and a mail message header, and the mail message header comprises a reference mark and a UUID list;
the sending server receives the first object, new and old division processing is carried out on original content of the mail according to the mail message header of the first object to obtain a second object, the second object is locally stored and transmitted to the receiving server, and the second object consists of newly added content of the mail and a mail message header;
the receiving server side receives the second object, inquires whether the UUID list exists in a local storage area or not according to the mail message header of the second object, pulls the old content of the mail from the sending server side according to the inquiry result, stores the old content of the mail to the local, and then stores the second object to the local;
when the receiving server receives the mail synchronization request of the receiving terminal, the receiving server converts the second object into the first object and transmits the first object to the receiving terminal according to the second object mail message header.
2. The method as claimed in claim 1, wherein the step of generating the first object by the sending terminal and then transmitting the first object to the sending server comprises:
generating a first object, wherein the first object comprises the original content of the mail and a mail message header;
judging whether the original E-mail is newly built or not, if not, adding a reference mark in a mail message header to be true; if yes, adding a reference mark to the mail message header to be false;
generating a UUID list at a mail message header according to the original content of the mail;
and transmitting the first object to a sending server.
3. The method according to claim 1, wherein the step of receiving the first object by the sending server, dividing the original content of the mail into new and old according to the mail message header of the first object to obtain a second object, and storing the second object locally and transmitting the second object to the receiving server comprises:
receiving the first object;
judging whether the first object has reference according to a reference mark in a first object mail message header, and if not, directly storing the first object to a local storage area; if yes, new and old division is carried out on the original content of the mail;
copying the reference mail to a reference storage area according to a UUID list of a mail message header;
deleting old contents in the original contents of the mails, and storing the newly added contents to a local to obtain a second object;
and transmitting the second object to a receiving server.
4. The method as claimed in claim 1, wherein the step of receiving the second object by the receiving server, querying whether the UUID list exists in the local storage area according to the second object message header, pulling the old email content from the sending server according to the query result, storing the old email content to the local, and storing the second object to the local comprises:
receiving the second object;
judging whether the second object has a reference mail according to the reference mark in the message header of the second object mail, if not, not processing; if yes, searching the UUID list in sequence in the local reference storage area;
pulling and storing the reference mail from a sending server side according to the search result;
the second object is stored locally.
5. The method of claim 1, further comprising:
in the step of generating a first object at the sending terminal and then transmitting the first object to a sending server, the mail message header further comprises a signature mark;
the step of dividing the original content of the mail into new and old according to the mail message header of the first object to obtain a second object, further comprises:
judging whether the first object has a signature according to the signature mark in the first object mail message header, if not, not processing; if yes, converting the signature information into an MD5 value;
storing the signature information into a local server, and adding the converted MD5 value into a mail message header;
the steps of inquiring whether the UUID list exists in the local storage area according to the second object mail message header, pulling the old mail content from the sending server end according to the inquiry result and storing the old mail content to the local, further comprise:
according to the MD5 value in the message header of the second object mail, searching operation is carried out in the local signature storage area;
and pulling and storing the signature information from a sending server according to the search result.
6. An e-mail processing transmission system, comprising a sending terminal, a sending server terminal, a receiving server terminal and a receiving terminal, characterized in that the system comprises:
the system comprises a generation transmission module, a receiving module and a sending module, wherein the generation transmission module is used for generating a first object by a sending terminal and transmitting the first object to a sending server, the first object comprises original content of a mail and a mail message header, and the mail message header comprises a reference mark and a UUID list;
the splitting and deleting module is used for receiving the first object by the sending server side, carrying out old-new division processing on the original content of the mail according to the mail message header of the first object to obtain a second object, and then locally storing the second object and transmitting the second object to the receiving server side, wherein the second object consists of the new content of the mail and the mail message header;
the inquiry synchronization module is used for receiving the second object by the receiving server end, inquiring whether the UUID list exists in a local storage area according to the mail message header of the second object, pulling the old content of the mail from the sending server end according to the inquiry result, storing the old content of the mail to the local, and then storing the second object to the local;
and the conversion module is used for converting the second object into the first object and then transmitting the first object to the receiving terminal by the receiving server side according to the message header of the second object mail when the receiving server side receives the mail synchronization request of the receiving terminal.
7. The email processing transmission system of claim 6, wherein said generation transmission module comprises:
a first object generating unit, configured to generate a first object, where the first object includes an original content of a mail and a header of the mail;
the reference marking unit is used for judging whether the original E-mail is newly built or not, and if not, adding a reference mark to the message header of the E-mail to be true; if yes, adding a reference mark in the mail message header to be false;
a UUID generating unit, which is used for generating a UUID list at the message header of the mail according to the original content of the mail;
and the first transmission unit is used for transmitting the first object to a sending server.
8. The system of claim 6, wherein the splitting and pruning module comprises:
a first object receiving unit for receiving the first object;
the judging and splitting unit is used for judging whether the first object has reference according to the reference mark in the first object mail message header, and if not, storing the first object to the local storage area; if yes, new and old division is carried out on the original content of the mail;
the data copying unit is used for copying the reference mail to the reference storage area according to the UUID list of the mail message header;
a deleting storage unit, which is used for deleting the old content in the original content of the mail and storing the newly added content to the local to obtain a second object;
and the second transmission unit is used for transmitting the second object to a receiving server.
9. The email processing transmission system as recited in claim 6, wherein said query synchronization module comprises:
a second object receiving unit for receiving the second object;
the judging and inquiring unit judges whether the second object has the reference mail according to the reference mark in the message header of the second object mail, and if not, the processing is not carried out; if yes, searching the UUID list in sequence in the local reference storage area;
the synchronization unit is used for pulling and storing the reference mail from the sending server side according to the search result;
and the second object storage unit is used for storing the second object to the local.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out an e-mail processing transmission method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211587355.6A CN115580594B (en) | 2022-12-12 | 2022-12-12 | E-mail processing and transmitting method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211587355.6A CN115580594B (en) | 2022-12-12 | 2022-12-12 | E-mail processing and transmitting method, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115580594A true CN115580594A (en) | 2023-01-06 |
CN115580594B CN115580594B (en) | 2023-05-09 |
Family
ID=84590066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211587355.6A Active CN115580594B (en) | 2022-12-12 | 2022-12-12 | E-mail processing and transmitting method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115580594B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001142808A (en) * | 1999-11-17 | 2001-05-25 | Casio Comput Co Ltd | Device and method for preparing electronic mail, and recording medium |
CN101079827A (en) * | 2006-06-22 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Email management method and system |
CN101931916A (en) * | 2010-09-03 | 2010-12-29 | 中兴通讯股份有限公司 | Method and system for controlling sending of electronic mail (E-mail) of wireless communication terminal |
CN102202006A (en) * | 2010-03-26 | 2011-09-28 | 中国科学院软件研究所 | Registered E-mail transmission method |
CN103903124A (en) * | 2012-12-27 | 2014-07-02 | 中国移动通信集团公司 | E-mail processing method and apparatus |
CN103970852A (en) * | 2014-05-06 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Data de-duplication method of backup server |
CN104463556A (en) * | 2014-11-11 | 2015-03-25 | 尹子雄 | Tidying and finding method and system for E-mail text citation information |
CN105915434A (en) * | 2015-12-12 | 2016-08-31 | 乐视移动智能信息技术(北京)有限公司 | Email processing method and equipment |
US20180124007A1 (en) * | 2016-10-28 | 2018-05-03 | Hewlett Packard Enterprise Development Lp | Hashes of email text |
CN108243092A (en) * | 2016-12-27 | 2018-07-03 | 天津以松科技有限公司 | A kind of mail sends inquiry system automatically |
CN109474611A (en) * | 2018-12-11 | 2019-03-15 | 四川大学 | It is a kind of that detection technique is protected based on multifactor E mail safety |
CN110830361A (en) * | 2019-10-22 | 2020-02-21 | 新华三信息安全技术有限公司 | Mail data storage method and device |
CN114036264A (en) * | 2021-11-19 | 2022-02-11 | 四川大学 | E-mail author identity attribution identification method based on small sample learning |
CN114282874A (en) * | 2020-09-17 | 2022-04-05 | 华为技术有限公司 | Mail processing method and electronic equipment |
CN114338588A (en) * | 2020-09-29 | 2022-04-12 | 华为技术有限公司 | Mail processing method and device |
-
2022
- 2022-12-12 CN CN202211587355.6A patent/CN115580594B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001142808A (en) * | 1999-11-17 | 2001-05-25 | Casio Comput Co Ltd | Device and method for preparing electronic mail, and recording medium |
CN101079827A (en) * | 2006-06-22 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Email management method and system |
CN102202006A (en) * | 2010-03-26 | 2011-09-28 | 中国科学院软件研究所 | Registered E-mail transmission method |
CN101931916A (en) * | 2010-09-03 | 2010-12-29 | 中兴通讯股份有限公司 | Method and system for controlling sending of electronic mail (E-mail) of wireless communication terminal |
CN103903124A (en) * | 2012-12-27 | 2014-07-02 | 中国移动通信集团公司 | E-mail processing method and apparatus |
CN103970852A (en) * | 2014-05-06 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Data de-duplication method of backup server |
CN104463556A (en) * | 2014-11-11 | 2015-03-25 | 尹子雄 | Tidying and finding method and system for E-mail text citation information |
CN105915434A (en) * | 2015-12-12 | 2016-08-31 | 乐视移动智能信息技术(北京)有限公司 | Email processing method and equipment |
US20180124007A1 (en) * | 2016-10-28 | 2018-05-03 | Hewlett Packard Enterprise Development Lp | Hashes of email text |
CN108243092A (en) * | 2016-12-27 | 2018-07-03 | 天津以松科技有限公司 | A kind of mail sends inquiry system automatically |
CN109474611A (en) * | 2018-12-11 | 2019-03-15 | 四川大学 | It is a kind of that detection technique is protected based on multifactor E mail safety |
CN110830361A (en) * | 2019-10-22 | 2020-02-21 | 新华三信息安全技术有限公司 | Mail data storage method and device |
CN114282874A (en) * | 2020-09-17 | 2022-04-05 | 华为技术有限公司 | Mail processing method and electronic equipment |
CN114338588A (en) * | 2020-09-29 | 2022-04-12 | 华为技术有限公司 | Mail processing method and device |
CN114036264A (en) * | 2021-11-19 | 2022-02-11 | 四川大学 | E-mail author identity attribution identification method based on small sample learning |
Non-Patent Citations (4)
Title |
---|
"E-Mail:创建完美的收件箱", 个人电脑 * |
TIANMA WANG: "Information Protection of International Students Based on Network Security", 《IEEE XPLORE》 * |
吴硕: "基于信息融合准则的邮件过滤系统的研究与实现", 《CNKI中国知网》 * |
海涛: "基于Agent的电子邮件系统的设计与实现", 《CNKI中国知网》 * |
Also Published As
Publication number | Publication date |
---|---|
CN115580594B (en) | 2023-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7979499B2 (en) | Composing, browsing, replying, forwarding e-mail | |
KR101709791B1 (en) | Consolidating duplicate messages for a single destination on a computer network | |
EP3068070B1 (en) | Method and device for initiating network conference | |
CN101155153A (en) | Method and apparatus for managing e-mail attachments | |
US20080059586A1 (en) | Method and apparatus for eliminating unwanted e-mail | |
JP3854618B2 (en) | Server system and e-mail delivery method | |
US20080071865A1 (en) | Method, System and Program Product Providing Compact Storage For Electronic Messages | |
JP2012054623A (en) | Mail transfer system, mail gateway and data store server | |
US8621013B2 (en) | Mail relay server | |
US20080126489A1 (en) | Method and apparatus to manage e-mail messages | |
WO2012022083A1 (en) | Method for transmitting expression file and terminal equipment | |
US20110145346A1 (en) | Managing redundancy in electronic mail messages | |
CN111427899A (en) | Method, device, equipment and computer readable medium for storing file | |
CN115580594B (en) | E-mail processing and transmitting method, system and storage medium | |
US20060143274A1 (en) | Email reply consolidation | |
JP2007213338A (en) | Mail server and electric mail communication system | |
JP4704440B2 (en) | Mail transmission / reception program, mail transmission / reception method, and mail transmission / reception apparatus | |
US7856417B2 (en) | Method and system for filing electronic mails | |
US20070185970A1 (en) | Method, system, and computer program product for providing messaging services | |
US8819147B2 (en) | Electronic mail receiving apparatus | |
WO2010015172A1 (en) | Method for converting and obtaining mail, mail server, client and system thereof | |
JP3383758B2 (en) | Storage type communication method and apparatus using destination notification by e-mail | |
CN105207884A (en) | Method of acquiring E-mail delivery state and apparatus thereof | |
JP2012235220A (en) | Mail system | |
US8849920B2 (en) | Management of broadcast-distributed data entities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |