CN101616100B - Methods for pushing, receiving and transmitting mail, mail server and mail client - Google Patents

Methods for pushing, receiving and transmitting mail, mail server and mail client Download PDF

Info

Publication number
CN101616100B
CN101616100B CN2008101154904A CN200810115490A CN101616100B CN 101616100 B CN101616100 B CN 101616100B CN 2008101154904 A CN2008101154904 A CN 2008101154904A CN 200810115490 A CN200810115490 A CN 200810115490A CN 101616100 B CN101616100 B CN 101616100B
Authority
CN
China
Prior art keywords
mail
sign
matching content
database
template
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.)
Active
Application number
CN2008101154904A
Other languages
Chinese (zh)
Other versions
CN101616100A (en
Inventor
于辰涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2008101154904A priority Critical patent/CN101616100B/en
Publication of CN101616100A publication Critical patent/CN101616100A/en
Application granted granted Critical
Publication of CN101616100B publication Critical patent/CN101616100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for pushing a mail, a method for receiving a mail, a method for transmitting a mail, a mail server and a mail client. The method for pushing the mail in the embodiment of the invention comprises the following steps: receiving a mail to be pushed from the client; searching a mail database related to the client according to the mail head of the mail, and replacing a first matching content with a first identification; searching a form template database according to text of the mail, searching a form template matched with the mail, and replacing a second matching content with a second identification; and compressing one or more first identification, one or more second identification, and the mail content except the first matching content and the second matching content in the mail, and pushing the compressed mail. The methods, the server and the mail client can improve the mail transmission efficiency.

Description

Mail push, reception, sending method, mail server and Mail Clients
Technical field
The present invention relates to the mail push technology in the moving communicating field, particularly, relate to a kind of mail push method, mail receiving method, e-mail sending method, mail server and Mail Clients.
Background technology
When the enterprise customer used mailing system under the mobile network, how the mail push with mail server was the key factor of the user experience of decision mail push (PUSH MAIL) scheme to client.
Mobile e-mail requires to send to client as soon as possible, still, because problems such as mobile device power consumption and mobile network's bandwidth make that this process is difficult to finish with as far as possible little cost and short as far as possible time.
At present, when mobile e-mail pushes, extensively adopt compression method that message body is compressed, such as improvement algorithm of various LZ etc., these algorithms mostly compress mail according to the word frequency statistics of whole mail context, but because sample size is limited, this method is better for big mail effect, and unsatisfactory for the compression effectiveness of middle and small scale mail.In addition, compression algorithm commonly used also has LZW or LZ77 algorithm etc., and these algorithms compress message body based on current Mail Contents fully, so compression efficiency is limited.The mail downloading process that also with good grounds in addition user interactions carries out, when adopting this scheme, need to generate synopsis earlier and show, the user browses summary and whether decision continues thereafter to download, though this can promote user's experience, can not promote efficiency of transmission.
Summary of the invention
Consider the not high problem of mail push method efficiency of transmission that exists in the correlation technique and propose the present invention, for this reason, the present invention aims to provide a kind of mail push method, mail receiving method, e-mail sending method, mail server and Mail Clients.
According to an aspect of the present invention, at first provide a kind of mail push method.
Mail promotion method according to the embodiment of the invention comprises following processing: receive the mail to be pushed from client; Mail head's retrieval user mail database relevant according to mail with client, find historical mail with the mail coupling, determine one or more first matching content, for each first matching content, compare with first threshold respectively, under the situation of first matching content, first matching content is replaced with first sign greater than first threshold; Template database is applied mechanically in text retrieval according to mail, find the template of applying mechanically with the mail coupling, determine one or more second matching content, for each second matching content, compare with second threshold value respectively, under the situation of second matching content, second matching content is replaced with second sign greater than second threshold value; Mail Contents except that first matching content and second matching content in one or more first signs, one or more second sign, the mail is compressed, and push mail compressing.
According to a further aspect in the invention, provide a kind of mail receiving method.
Mail receiving method according to the embodiment of the invention comprises following processing: receive the mail from server, and mail is carried out decompression operation; Judge whether to carry to be used to identify have first sign of identical content with historical mail and/or be used to identify and used second sign of applying mechanically template through the mail that decompresses; Retrieve mail database and/or apply mechanically template database according to judged result, and the mail that receives is carried out restoring operation according to the sign description list that sets in advance.
According to a further aspect in the invention, also provide a kind of e-mail sending method.
E-mail sending method according to the embodiment of the invention comprises following processing: obtain mail to be sent, and judge the email type of mail according to mail head's information of mail, wherein, email type comprises: new mail, forwarding or replied mail; Retrieve mail database and/or apply mechanically template database according to the email type of mail, determine matching content, and matching content is identified; Compress the concurrent warp let-off and cross the mail of sign.
According to a further aspect in the invention, provide a kind of mail server.
Mail server according to the embodiment of the invention comprises: mail database is used to store historical mail; Apply mechanically template database, be used to store the template of applying mechanically of mail use; First retrieval module, be used for according to treating that the mail head of delivery email retrieves mail database, search historical mail with the mail coupling, determine one or more first matching content, for each first matching content, compare with first threshold respectively, under the situation of first matching content, first matching content is replaced with first sign greater than first threshold; Second retrieval module, be used for according to treating that the text retrieval of delivery email applies mechanically template database, search the template of applying mechanically with the mail coupling, determine one or more second matching content, for each second matching content, compare with second threshold value respectively, under the situation of second matching content, second matching content is replaced with second sign greater than second threshold value; Push module, be used for one or more first signs, one or more second sign, treat that the Mail Contents of delivery email except that first matching content and second matching content compresses, and push mail compressing.
According to a further aspect in the invention, provide a kind of Mail Clients.
Mail Clients according to the embodiment of the invention comprises: mail database is used to store historical mail; Apply mechanically template database, be used to store the template of applying mechanically of mail use; Wherein, mail database and apply mechanically template database and server end is synchronous; The email type judge module is used for judging according to mail head's information of mail to be sent the email type of mail to be sent, and wherein, email type comprises: new mail, forwarding or replied mail; First retrieval module is used to retrieve mail database, carries out the conversion of first mark and first matching content; Second retrieval module is used for retrieval and applies mechanically template database, carries out the conversion of second mark and second matching content; Sending module is used to send the mail to be sent through conversion.
In accordance with a further aspect of the present invention, provide a kind of mail push method, be used for the server push mail.
Mail push method according to the embodiment of the invention comprises: receive the many envelopes mail to be pushed from client; For every envelope mail, mail head according to mail retrieves the mail database relevant with client respectively, find historical mail with the mail coupling, determine one or more first matching content, for each first matching content, compare with first threshold respectively, under the situation of length greater than first threshold of first matching content, first matching content is replaced with first sign; For every envelope mail, apply mechanically template database according to the text retrieval of mail respectively, find the template of applying mechanically with the mail coupling, determine one or more second matching content, for each second matching content, compare with second threshold value respectively, under the situation of length greater than second threshold value of second matching content, second matching content is replaced with second sign; For described every envelope mail, add identical mail sign to removing described first matching content in one or more described first sign separately, one or more described second signs and the described every envelope mail with Mail Contents described second matching content, described mail identifies and is used to distinguish different mails; For many envelopes mail, to one or more first signs separately, one or more second sign, in every envelope mail except that first matching content and second matching content Mail Contents and be used for the mail sign that first sign and second sign are reduced is compressed and propelling movement mail compressing.
By above-mentioned at least one technical scheme of the present invention,,, can further improve mail transmission efficient than prior art by associated mail is mated.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the mail promotion method of the embodiment of the invention;
Fig. 2 is the detailed process flow chart according to the mail promotion method of the embodiment of the invention;
Fig. 3 is the flow chart according to the mail receiving method of the embodiment of the invention;
Fig. 4 is the flow chart according to the middle decompression of the mail receiving method of the embodiment of the invention;
Fig. 5 is the flow chart according to the e-mail sending method of the embodiment of the invention;
Fig. 6 is the detailed process flow chart according to the e-mail sending method of the embodiment of the invention;
Fig. 7 is the structured flowchart of the mail server of the embodiment of the invention;
Fig. 8 is the structured flowchart according to the Mail Clients of the embodiment of the invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Method embodiment one
According to the embodiment of the invention, at first provide a kind of mail push method.Fig. 1 is the flow chart that illustrates according to the mail push method of the embodiment of the invention.As shown in Figure 1, comprise following processing:
Step S102, receiving step receives the mail to be pushed from client;
Step S104, first searching step, mail head's retrieval mail database relevant according to mail with client, find historical mail with the mail coupling, determine one or more first matching content,, compare with first threshold respectively for each first matching content, under the situation of first matching content, first matching content is replaced with first sign greater than (or equaling) first threshold; Wherein, first threshold is a content-length;
Step S106, second searching step, template database is applied mechanically in text retrieval according to mail, search the template of applying mechanically with the mail coupling, determine one or more second matching content,, compare with second threshold value respectively for each second matching content, under the situation of second matching content, second matching content is labeled as second sign greater than (or equaling) second threshold value; Wherein, second threshold value is a content-length; Wherein, apply mechanically template database and preserve user-dependent e-mail messages commonly used, such as the user's signature document, greeting commonly used, copyright information, merogenesis sign that the law warning message is relevant with mailing system and signal language etc.;
Step S108 pushes step, the Mail Contents except that first matching content and second matching content in one or more first signs, one or more second sign, the mail is compressed, and push mail compressing.
Because the mail compartment correlation of corporate mail is bigger, therefore, by said method, can accurately discern associated mail, and combine with the mail compression method, can promote mail transmission efficient.
Preferably, for the mail in the mail database, set in advance corresponding mail description list, wherein, the mail description list comprises that following information one of at least: source address, destination address, forwarding address, heading message, first sign, second sign.
Further preferably, for the mail in the mail database, set in advance corresponding sign description list, wherein, the sign description list comprises that following information one of at least: first sign, second sign, mail sign, compression type, offset and position length information.
Need to prove, use the embodiment of the invention mail push method server need with client maintenance synchronous apply mechanically template database and with client relevant mail database, and shared mail description list and identify description list.
Based on foregoing, first matching content is labeled as first sign is specially:, first matching content is labeled as first sign according to the sign description list; Second matching content is labeled as second sign to be specially: according to the sign description list, second matching content is labeled as second sign.
In addition, for with first matching content of existing Mail Contents coupling or with second matching content of applying mechanically template matches, when this content-label is first sign or second sign, first sign or second sign can be simply to change ideographic characters, XML description or MIME extended description, comprise information such as sign bebinning character, termination character, sign type, identifier, start offset and content-length.Wherein, the sign type comprises the mail coupling, applies mechanically template matches.Identifier is corresponding with the particular items in the sign description list.After matching content is carried out mark, need more new mail description list, one or more first signs, second identifier that identifies that use mail description list definition mail to comprise.
Below describe mail push method in detail further combined with accompanying drawing according to the embodiment of the invention.As shown in Figure 2, specifically comprise following processing:
After server receives mail to be pushed, judging whether this mail is compressed, is under the situation that is in judged result, carries out following operation one, is under the situation not in judged result, carries out following operation two.
Operation one: received not mail compressing
By mail header retrieval user mail database, if there is historical mail with similar title, then this historical mail with similar title is decompressed, and pass through string matching algorithm, treat delivery email and this history mail and carry out content match, for the matching content of length greater than first threshold, with original e-mail (promptly, treat delivery email) matching content be revised as first the sign, and this first sign charged to the sign description list, write down the access count of this history mail simultaneously, this matching operation can be carried out repeatedly, up to having traveled through the whole full content for the treatment of delivery email.If all matching content, then finish mail scanning all less than first threshold.
Next, pass through string matching algorithm, template database is applied mechanically in scanning, if matching content is greater than second threshold value, then the matching content with original e-mail is revised as second sign, and second sign is charged to the sign description list, otherwise, if all matching content, then finish mail scanning all less than second threshold value, send mail to client.
Operation two: received mail compressing
Received under the situation of mail compressing, check the recipient list of mail, judge that whether the mail recipient is by this Mail Server Management, if this addressee is by Mail Server Management, check then whether the mail compression content is present in the reception user client mailbox, if, then Mail Contents need not to decompress, directly be forwarded to corresponding client, and increase the mail access counting; Otherwise, this mail is decompressed, and display mode is set to hide, increase the mail access counting after transmitting the mail that decompresses.
Need to prove, more than be that an embodiment who pushes single envelope mail describes for example, but the invention is not restricted to this, for the situation that pushes many envelope mails, the present invention is suitable equally, in this case, can carry out the operation of step S104 and step S106 respectively, and the operating result in this step compressed respectively and push at every envelope mail; Also the operating result of every envelope mail in this step can be added the mail sign, whether each operating result of mail sign expression belongs to identical mail, and the operating result that will have many envelopes mail of described mail sign then compresses together and pushes.
Method embodiment two
According to the embodiment of the invention, a kind of mail receiving method is provided, client is when the mail that receipt mail server pushes, use local information that mail is decompressed, at this moment, require client and server maintenance synchronous apply mechanically template database and mail database, guarantee that the user mail of local mail and server end keeps synchronous.Fig. 3 is the flow chart according to the mail receiving method of the embodiment of the invention, as shown in Figure 3, comprises following processing:
Step S302 receives the mail from server, and mail is carried out decompression operation;
Whether step S304 judges to carry to be used to identify have first sign of identical content with historical mail and/or be used to identify through the mail that decompresses and has used second sign of applying mechanically template;
Step S306 retrieves mail database and/or applies mechanically template database according to judged result, and according to the sign description list that sets in advance the mail that receives is carried out restoring operation.
Similar with method embodiment one, the sign description list comprises that following information one of at least: first sign, second sign, mail sign, compression type, offset and position length information.
Particularly, in step S304, when judging that mail has first sign, the retrieval mail database is reduced to first matching content according to the sign description list with first sign; If the content that first sign is preserved not at mail database, then starts and the mail synchronizing process of service end, obtain matching content; When judging that mail has second sign, template database is applied mechanically in retrieval, according to the sign description list second sign is reduced to second matching content; With the Mail Contents except that first mark and/or second mark in first matching content of reduction and/or second matching content and the mail as reducing mail.If first mark or second mark are gone back primary failure, then send error message to server, ask first matching content of the first mark correspondence and/or second matching content of the second mark correspondence.
Can understand said method better by the mail reduction process shown in Fig. 4.As shown in Figure 4, when mail is reduced, at first proceed to operation one:
Operation one: at first judge whether to comprise and apply mechanically template identification (that is, above-mentioned second sign),, then will apply mechanically template identification and be reduced to the mail original text, afterwards, proceed to operation two if judgement comprises; If judge not comprise, then be directly to operation two;
Operation two: judge whether comprise the reduction sign in the mail (promptly, the first above-mentioned sign), comprise if judge, judge further then whether the Mail Contents that first sign is carried out is not reduced, if judge not to be reduced, then the Mail Contents that points to repeated above-mentioned reduction process and reduce.
Need to prove; more than, the invention is not restricted to this, can judge earlier that also first sign judges second sign again to judge that earlier second is identified at and judges that first is designated example and describes; this does not influence essence of the present invention, all within protection scope of the present invention.
In addition for the method for reseptance of many envelopes mail, if what receive is to have the data that the operating result of many envelopes mail of described mail sign compresses together.After receiving terminal decompresses earlier, can the various piece behind the decompress(ion) be distinguished different mails according to the mail sign, carry out corresponding reduction again.
Method embodiment three
According to the embodiment of the invention, a kind of e-mail sending method is provided, be used for client and send mail.In this embodiment, client need with server maintenance synchronous apply mechanically template database and mail database.Fig. 5 has provided the flow chart according to the e-mail sending method of the embodiment of the invention, as shown in Figure 5, comprises following processing;
Step S502 obtains mail to be sent, and judges the email type of mail according to mail head's information of mail, and wherein, email type comprises: new mail, forwarding or replied mail;
Step S504 retrieves mail database and/or applies mechanically template database according to the email type of mail, determines matching content, and matching content is identified;
Step S506 compresses the mail that sign is crossed in the concurrent warp let-off, and, can carry out the visit capacity sign of the original e-mail of coupling and add 1 operation.
Particularly, judge that in step S502 the operation in step S504 is specially under the situation of mail for forwarding or replied mail:
The retrieval mail database is searched the original e-mail that mail mates, and determines one or more first matching content, for each first matching content, compare with first threshold respectively, under the situation of first matching content, first matching content is labeled as first sign greater than first threshold; Template database is applied mechanically in retrieval, search the template of applying mechanically with the mail coupling, determine one or more second matching content, for each second matching content, compare with second threshold value respectively, under the situation of second matching content, second matching content is labeled as second sign greater than second threshold value.
In addition, judge that in step S502 mail is under the situation of new mail, the operation in step S504 is specially:
Template database is applied mechanically in retrieval, search the template of applying mechanically with the mail coupling, determine one or more second matching content, for each second matching content, compare with second threshold value respectively, under the situation of second matching content, second matching content is labeled as second sign greater than second threshold value.
Preferably, in the embodiment of this e-mail sending method,, the sign description list is set respectively for the mail in the mail database, wherein, the sign description list comprises that following information one of at least: first sign, second sign, mail sign, compression type, offset and position length information.Like this, can identify matching content according to the sign description list.
Can understand said process better by the detailed process flow chart shown in Fig. 6.As shown in Figure 6:
When client sends mail, judge whether mail is new mail,,, that is, be recovery or forwarding by mail, then carry out following operation two if judge it is not new mail if judged result is then carried out following operation one for being:
Operation one: by string matching algorithm, to message body with apply mechanically template database and mate, if matching content is greater than second threshold value, then the original e-mail matching content is revised as second mark, carry out aforesaid operations repeatedly,, send mail to server afterwards up to the mail end of scan;
Operation two:, message body and original e-mail content are mated, if matching content is greater than first threshold by string matching algorithm, then the original e-mail matching content is revised as first sign, and increase the original e-mail access count, afterwards, carry out above-mentioned operation one.
The server implementation example
According to the embodiment of the invention, provide a kind of mail server, the mail push method that it can implementation method embodiment one.Fig. 7 has provided the structured flowchart of this mail server, as shown in Figure 7, comprises according to the mail server of the embodiment of the invention:
Mail database 70 is used to store historical mail;
Apply mechanically template database 72, be used to store the template of applying mechanically of mail use;
First retrieval module 74, call mail database 70, be used for according to treating that the mail head of delivery email retrieves mail database, search historical mail with the mail coupling, determine one or more first matching content,, compare with first threshold respectively for each first matching content, under the situation of first matching content, first matching content is labeled as first sign greater than first threshold;
Second retrieval module 76, call and apply mechanically template database 72, be used for according to treating that the text retrieval of delivery email applies mechanically template database, search the template of applying mechanically with the mail coupling, determine one or more second matching content,, compare with second threshold value respectively for each second matching content, under the situation of second matching content, second matching content is labeled as second sign greater than second threshold value;
Push module 78, be connected to first retrieval module 74 and second retrieval module 76, be used for one or more first signs, one or more second sign, treat that the Mail Contents of delivery email except that first matching content and second matching content compresses, and push mail compressing.
The client implementation example
According to the embodiment of the invention, provide a kind of Mail Clients, mail receiving method that can implementation method embodiment two and the e-mail sending method of method embodiment three.Fig. 8 has provided the structured flowchart according to the Mail Clients of the embodiment of the invention, as shown in Figure 8, comprising:
Mail database 80 is used to store historical mail;
Apply mechanically template database 82, be used to store the template of applying mechanically of mail use; Wherein, this mail database of client and apply mechanically template database and server end is synchronous;
Email type judge module 84 is used for judging according to mail head's information of mail to be sent the email type of mail to be sent, and wherein, email type comprises: new mail, forwarding or replied mail;
First retrieval module 86 is used to retrieve mail database, carries out the conversion of first mark and first matching content;
Second retrieval module 88 is used for retrieval and applies mechanically template database, carries out the conversion of second mark and second matching content;
Sending module 89 is used to send the mail to be sent through conversion.
Particularly, first retrieval module 86 is used for searching the historical mail that mates with mail to be sent at mail database 80, determine one or more first matching content, and for each first matching content, compare with first threshold respectively, under the situation of first matching content, first matching content is labeled as first sign greater than first threshold;
Second retrieval module 88 is used for searching the template of applying mechanically with mail coupling applying mechanically template database 82, determine one or more second matching content, for each second matching content, compare with second threshold value respectively, under the situation of second matching content, second matching content is labeled as second sign greater than second threshold value.
Particularly, judge that at email type judge module 84 mail to be sent is under the situation of new mail, can directly call second retrieval module 88, judging under the situation of mail to be sent for answer or forwarding by mail, can call first retrieval module 86 earlier, call second retrieval module 88 again.
By above structure, can be with the transmission of higher transmission rate realization to mail.
Preferably, this client may further include: receiver module 81 is used to receive and decompresses from the mail of server; Identification module 82, be used to judge through the mail that decompresses and whether have first sign and/or second sign, in judged result is under the situation that is, call first retrieval module 86 and/or second retrieval module 88, wherein, invoked first retrieval module is used to retrieve mail database, and first sign is reduced to the first corresponding matching content; Invoked second retrieval module is used for retrieval and applies mechanically template database, and second sign is reduced to the second corresponding matching content.
By above structure, further realized reception to mail.
By the foregoing description provided by the invention, for the bigger mail of correlation such as corporate mail etc., the technical scheme that the embodiment of the invention provides can be mated mail, and cooperate with existing compression method, can improve mail transmission efficient, in addition, because the increase of amount of calculation mainly concentrates on server end, the algorithm of client comparatively simply and only carries out when sending, and makes whole mail push or delivery plan lower to the requirement of client, thereby can reduce sending power consumption.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (26)

1. a mail push method is used for the server push mail, it is characterized in that, comprising:
Reception is from an envelope mail to be pushed of client;
According to described mail head's retrieval mail database relevant for the treatment of delivery email with described client, find and the described historical mail for the treatment of the delivery email coupling, determine one or more first matching content, for each described first matching content, compare with first threshold respectively, under the situation of length greater than described first threshold of described first matching content, described first matching content is replaced with first sign;
Treat that according to described the text retrieval of delivery email applies mechanically template database, find and the described template of applying mechanically for the treatment of the delivery email coupling, determine one or more second matching content, for each described second matching content, compare with second threshold value respectively, under the situation of length greater than described second threshold value of described second matching content, described second matching content is replaced with second sign;
To one or more described first signs, one or more described second sign, describedly treat that the Mail Contents except that described first matching content and described second matching content compresses in the delivery email, and propelling movement mail compressing, wherein,
It is described that to apply mechanically the template database mail database relevant with described and described client synchronous with described client.
2. method according to claim 1 is characterized in that, before the mail to be pushed of described reception from client, also comprises:
For the mail in the described mail database, set in advance corresponding mail description list, described mail description list comprises that following information is one of at least: source address, destination address, forwarding address, heading message, described first sign, described second sign.
3. method according to claim 2 is characterized in that, before the mail to be pushed of described reception from client, also comprises:
For the mail in the described mail database, set in advance corresponding sign description list, wherein, described sign description list comprises that following information one of at least: described first sign, described second sign, mail sign, compression type, offset and position length information.
4. method according to claim 3 is characterized in that,
Described first matching content is replaced with first sign to be specially: according to described sign description list, described first matching content is replaced with first sign;
Described second matching content is replaced with second sign to be specially: according to described sign description list, described second matching content is replaced with second sign.
5. method according to claim 3 is characterized in that, further comprises:
Share described mail description list and described sign description list.
6. method according to claim 1 is characterized in that, described first threshold and described second threshold value are content-length.
7. a mail receiving method is used for client and receives mail from server, it is characterized in that, comprising:
Reception is from the mail of server, and described mail is carried out decompression operation;
Judge whether to carry to be used to identify have first sign of identical content with historical mail and/or be used to identify and used second sign of applying mechanically template through the described mail that decompresses;
Retrieve mail database and/or apply mechanically template database according to judged result, and the described mail that receives is carried out restoring operation according to the sign description list that sets in advance, wherein,
Described template database and the described mail database and described server sync applied mechanically.
8. method according to claim 7 is characterized in that, described sign description list comprises that following information one of at least: described first sign, described second sign, mail sign, compression type, offset and position length information.
9. method according to claim 8 is characterized in that,
When judging that described mail has described first sign, retrieve described mail database, will described first identify according to described sign description list and be reduced to first matching content;
When judging that described mail has described second sign, retrieve the described template database of applying mechanically, identify described second according to described sign description list and be reduced to second matching content;
To remove Mail Contents described first sign and/or described second sign in described first matching content of reduction and/or described second matching content and the described mail as reducing mail.
10. method according to claim 9 is characterized in that, further comprises:
In that described first sign and/or described second sign are gone back under the situation of primary failure, send error message to server, ask corresponding described first matching content of described first sign and/or corresponding described second matching content of described second sign.
11. an e-mail sending method is used for client and sends mail, it is characterized in that, comprising:
Obtain mail to be sent, and judge the email type of described mail to be sent according to mail head's information of described mail to be sent, wherein, described email type comprises: new mail, forwarding or replied mail;
Retrieve mail database and/or apply mechanically template database according to the email type of described mail to be sent, determine matching content, and described matching content is replaced with sign;
Compression also sends the mail to be sent that described matching content replaces with sign, wherein,
Described template database and the described mail database and server sync applied mechanically.
12. method according to claim 11 is characterized in that, when described email type was forwarding or replied mail, described email type according to described mail to be sent was retrieved mail database and/or is applied mechanically template database, determines that matching content is specially:
Retrieve described mail database, search the original e-mail of described mail coupling to be sent, determine one or more first matching content, for each described first matching content, compare with first threshold respectively, under the situation of length greater than described first threshold of described first matching content, described first matching content is replaced with first sign;
Retrieve the described template database of applying mechanically, search the template of applying mechanically with described mail coupling to be sent, determine one or more second matching content, for each described second matching content, compare with second threshold value respectively, under the situation of length greater than described second threshold value of described second matching content, described second matching content is replaced with second sign.
13. method according to claim 11 is characterized in that, when described email type was new mail, described email type according to described mail to be sent was retrieved mail database and/or is applied mechanically template database, determines that matching content is specially:
Retrieve the described template database of applying mechanically, search the template of applying mechanically with described mail coupling to be sent, determine one or more second matching content, for each described second matching content, compare with second threshold value respectively, under the situation of length greater than second threshold value of described second matching content, described second matching content is replaced with second sign.
14. method according to claim 12 is characterized in that, the described mail database of described retrieval is searched after the original e-mail of described mail coupling to be sent, further comprises:
The visit capacity sign of the described original e-mail of coupling carried out add 1 operation.
15. method according to claim 12 is characterized in that, described obtaining before the mail to be sent further comprises:
For the mail in the described mail database, the sign description list is set respectively, wherein, described sign description list comprises that following information is one of at least: described first sign, described second sign, mail sign, compression type, offset and position length information.
16. method according to claim 15 is characterized in that, described matching content is replaced with sign be specially:
According to described sign description list described matching content is replaced with sign.
17. a mail server is characterized in that, comprising:
Mail database is used to store historical mail;
Apply mechanically template database, be used to store the template of applying mechanically of mail use;
First retrieval module, be used for according to treating that the mail head of delivery email retrieves described mail database, search and the described historical mail for the treatment of the delivery email coupling, determine one or more first matching content, for each described first matching content, compare with first threshold respectively, under the situation of length greater than described first threshold of described first matching content, described first matching content is replaced with first sign;
Second retrieval module, be used for treating that according to described the text retrieval of delivery email applies mechanically template database, search and the described template of applying mechanically for the treatment of the delivery email coupling, determine one or more second matching content, for each described second matching content, compare with second threshold value respectively, under the situation of length greater than described second threshold value of described second matching content, described second matching content is replaced with second sign;
Push module, be used for one or more described first signs, one or more described second sign, the described Mail Contents of delivery email except that described first matching content and described second matching content for the treatment of are compressed, and push mail compressing, wherein,
Describedly apply mechanically template database and described mail database is synchronous with client.
18. a Mail Clients is characterized in that, comprising:
Mail database is used to store historical mail;
Apply mechanically template database, be used to store the template of applying mechanically of mail use; Wherein, described mail database and described template database and the server sync of applying mechanically;
The email type judge module is used for judging according to mail head's information of mail to be sent the email type of described mail to be sent, and wherein, described email type comprises: new mail, forwarding or replied mail;
First retrieval module is used to retrieve mail database, searches the historical mail that mates with described mail to be sent, determines first matching content, carries out the conversion of first sign and first matching content;
Second retrieval module is used for retrieval and applies mechanically template database, searches the template of applying mechanically with described mail to be sent coupling, determines second matching content, carries out the conversion of second sign and second matching content;
Sending module is used to send the mail described to be sent through conversion.
19. Mail Clients according to claim 18 is characterized in that,
Described first retrieval module is used to search the historical mail that mates with described mail to be sent, determine one or more first matching content, and for each described first matching content, compare with first threshold respectively, under the situation of length greater than described first threshold of described first matching content, described first matching content is replaced with first sign;
Described second retrieval module is used to search the template of applying mechanically with described mail coupling to be sent, determine one or more second matching content, for each described second matching content, compare with second threshold value respectively, under the situation of length greater than described second threshold value of described second matching content, described second matching content is replaced with second sign.
20. Mail Clients according to claim 18 is characterized in that, further comprises:
Receiver module is used to receive and decompresses from the mail of server;
Identification module is used to judge through the described mail that decompresses whether have described first sign and/or described second sign, is under the situation that is in judged result, calls described first retrieval module and/or described second retrieval module.
21. Mail Clients according to claim 20 is characterized in that,
Invoked described first retrieval module is used to retrieve described mail database, will be reduced to the first corresponding matching content through described first sign in the described mail that decompresses;
Invoked described second retrieval module is used to retrieve the described template database of applying mechanically, and will be reduced to the second corresponding matching content through described second sign in the described mail that decompresses.
22. a mail push method is used for the server push mail, it is characterized in that, comprising:
Reception is from many envelopes mail to be pushed of client;
For every envelope mail, mail head according to this mail retrieves the mail database relevant with described client respectively, find historical mail with this mail coupling, determine one or more first matching content, for each described first matching content, compare with first threshold respectively, under the situation of length greater than described first threshold of described first matching content, described first matching content is replaced with first sign;
For every envelope mail, apply mechanically template database according to the text retrieval of this mail respectively, find the template of applying mechanically with this mail coupling, determine one or more second matching content, for each described second matching content, compare with second threshold value respectively, under the situation of length greater than described second threshold value of described second matching content, described second matching content is replaced with second sign;
For described every envelope mail, add identical mail sign to removing described first matching content in one or more described first sign separately, one or more described second signs and the described every envelope mail with Mail Contents described second matching content, described mail identifies and is used to distinguish different mails;
For described many envelope mails, the Mail Contents except that described first matching content and described second matching content compresses in one or more described first sign of described separately mail sign, one or more described second signs and the described every envelope mail to having, and propelling movement mail compressing, wherein
It is described that to apply mechanically the template database mail database relevant with described and described client synchronous with client.
23. method according to claim 22 is characterized in that, before the mail to be pushed of described reception from client, also comprises:
For the mail in the described mail database, set in advance corresponding mail description list, described mail description list comprises that following information is one of at least: source address, destination address, forwarding address, heading message, described first sign, described second sign.
24. method according to claim 23 is characterized in that, before the mail to be pushed of described reception from client, also comprises:
For the mail in the described mail database, set in advance corresponding sign description list, wherein, described sign description list comprises that following information one of at least: described first sign, described second sign, mail sign, compression type, offset and position length information.
25. method according to claim 24 is characterized in that,
Described first matching content is replaced with first sign to be specially: according to described sign description list, described first matching content is replaced with first sign;
Described second matching content is replaced with second sign to be specially: according to described sign description list, described second matching content is replaced with second sign.
26. method according to claim 24 is characterized in that, further comprises:
Share described mail description list and described sign description list.
CN2008101154904A 2008-06-24 2008-06-24 Methods for pushing, receiving and transmitting mail, mail server and mail client Active CN101616100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101154904A CN101616100B (en) 2008-06-24 2008-06-24 Methods for pushing, receiving and transmitting mail, mail server and mail client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101154904A CN101616100B (en) 2008-06-24 2008-06-24 Methods for pushing, receiving and transmitting mail, mail server and mail client

Publications (2)

Publication Number Publication Date
CN101616100A CN101616100A (en) 2009-12-30
CN101616100B true CN101616100B (en) 2011-12-07

Family

ID=41495516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101154904A Active CN101616100B (en) 2008-06-24 2008-06-24 Methods for pushing, receiving and transmitting mail, mail server and mail client

Country Status (1)

Country Link
CN (1) CN101616100B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426079A (en) * 2012-06-20 2013-12-04 中兴通讯股份有限公司 Mail sending method and device
CN104539507A (en) * 2013-08-27 2015-04-22 厦门三五互联科技股份有限公司 Method for marking email reading state, email system and state server
CN104424280B (en) * 2013-08-30 2018-10-23 格博信息技术(苏州)有限公司 Push follow-up method and its system
CN105450499B (en) * 2014-08-15 2018-11-06 阿里巴巴集团控股有限公司 A kind of mail behavior feedback method and device
CN105991404B (en) * 2015-02-10 2019-09-03 九玉(北京)科技有限公司 A kind of mail synchronization method and device
CN106686032A (en) * 2015-11-06 2017-05-17 五八同城信息技术有限公司 Method of pushing PUSH message, apparatus and mobile terminal thereof
CN113641434A (en) * 2021-08-12 2021-11-12 上海酷栈科技有限公司 Cloud desktop data compression self-adaptive encoding method and system and storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328392A (en) * 2000-05-26 2001-12-26 日本电气株式会社 System, method and device for handling electronic mail
CN1735077A (en) * 2004-08-12 2006-02-15 上海华为技术有限公司 Group mail-sending processing method
CN101079879A (en) * 2006-12-19 2007-11-28 腾讯科技(深圳)有限公司 An Email transport system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328392A (en) * 2000-05-26 2001-12-26 日本电气株式会社 System, method and device for handling electronic mail
CN1735077A (en) * 2004-08-12 2006-02-15 上海华为技术有限公司 Group mail-sending processing method
CN101079879A (en) * 2006-12-19 2007-11-28 腾讯科技(深圳)有限公司 An Email transport system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-274489A 2004.09.30

Also Published As

Publication number Publication date
CN101616100A (en) 2009-12-30

Similar Documents

Publication Publication Date Title
CN101616100B (en) Methods for pushing, receiving and transmitting mail, mail server and mail client
US7064688B2 (en) System and method for compressing data on a bandwidth-limited network
US20030009595A1 (en) System and method for compressing data using field-based code word generation
JP4456554B2 (en) Data compression method and compressed data transmission method
US20070005807A1 (en) Delta code messaging
CN101079827B (en) Email management method and system
US20100169441A1 (en) Text messaging system and method employing predictive text entry and text compression and apparatus for use therein
US9442925B2 (en) Regulated texting solution for mobile devices
CN102447778A (en) Message display method and device
CN103327039A (en) Method and device and system for pushing messages
CN106453249B (en) network mail service monitoring method
CN101667976B (en) Method for determining mail push mode, pushing method, pushing device
CN104182549A (en) E-mail digest generation method and device
CN112134789A (en) Method and device for sending and receiving mails
CN101808049B (en) Mail transmission method and system
CN101789105B (en) Packet-level dynamic mail attachment virus detection method
CN100461776C (en) System, method and device for realizing Email notification
US9544252B2 (en) Compressing and decompressing electronic messages in message threads
CN109462538A (en) Electronic device, the mail sharing method based on level of confidentiality and storage medium
US20090150496A1 (en) Automated translator for system-generated prefixes
CN1503544A (en) Portable terminal displaying relative E-mail, E-mail display method and program
US6609156B1 (en) Method and apparatus for reducing redundant multiple recipient message handling in a message handling system
US20130067006A1 (en) Information Combining Method, Terminal, and IM System
JP2001265674A (en) Electronic mail transfer device and electronic mail transfer system
CN103095885B (en) A kind of mobile terminal and email address management method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant