CN101309438A - Method avoiding repeated downloading identical e-mail using pop3 post office protocol - Google Patents

Method avoiding repeated downloading identical e-mail using pop3 post office protocol Download PDF

Info

Publication number
CN101309438A
CN101309438A CNA2007100408222A CN200710040822A CN101309438A CN 101309438 A CN101309438 A CN 101309438A CN A2007100408222 A CNA2007100408222 A CN A2007100408222A CN 200710040822 A CN200710040822 A CN 200710040822A CN 101309438 A CN101309438 A CN 101309438A
Authority
CN
China
Prior art keywords
mail
time tag
time
independent
current
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.)
Pending
Application number
CNA2007100408222A
Other languages
Chinese (zh)
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.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom 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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CNA2007100408222A priority Critical patent/CN101309438A/en
Publication of CN101309438A publication Critical patent/CN101309438A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method which can avoid downloading identical mails repeatedly when a pop3 post office protocol is used. The method comprises the following steps: S1, through a UIDL command, an independent ID assigned to the mails by a mailbox server for the current mails to be downloaded; and the ID number is recorded; S2, the time tag of the mail is recorded; S3, when a user receives the mail again, firstly, the independent ID number of the mail to be downloaded is inquired by using the U1DL command, and the the independent ID number is compared with the independent ID number of each mail reserved at local, if an identical ID number does not exist, S6 is performed, and if the identical ID number exists, S4 is performed; S4, the time-tag of the current mail is obtained by using a TOP command; S5, the obtained time-tags and the time-tags of the identical ID number are compared one by one, if the time-tags are identical, the downloading of the current mail is given up; and if the time-tags are different, S6 is performed; S6, the current mail is downloaded. The method of the invention has the advantages that weather a mail to be downloaded is loaded or not can be judged, and thereby the receiving time is reduced greatly, and the network data flow is also reduced greatly.

Description

The method of repeated downloads identical electronic mail when avoiding using the pop3 post office protocol
Technical field
The present invention relates to a kind of method of when using the pop3 post office protocol, avoiding repeated downloads identical electronic mail.
Background technology
Along with people work, the quickening of rhythm of life and the development of mobile network's business, increasing people gets used to using mobile device to receive electronic mail in the mailbox whenever and wherever possible.This communication process is all followed the pop3 post office protocol.But, do not have the notion of new mail for the pop3 mail server.This just means the user each when receiving mail, and no matter whether new and old mail was read, and all mails all in this mailbox all can be downloaded one time.This has just caused great waste.
Summary of the invention
How utilizing the UIDL order and the TOP that provide in the pop3 post office protocol to order the mail of avoiding repeated downloads this locality to download in sum, is technical problem to be solved by this invention.The object of the present invention is to provide a kind of method of when using the pop3 post office protocol, avoiding repeated downloads identical electronic mail for this reason.
Technical scheme of the present invention is as follows:
According to the method for avoiding repeated downloads identical electronic mail of the present invention, may further comprise the steps:
Step 1 when downloading an envelope Email, by the UIDL order, obtains the independent ID that mailbox server is distributed to this envelope mail, and records this ID;
Step 2, the time tag of this envelope mail received in record;
Step 3 when the user carries out the reception mail again, at first utilizes UIDL order inquiry wish to download the independent ID number of mail, and the independent ID of respectively sealing mail that it and this locality have been preserved compares one by one;
Step 4 utilizes the TOP order to obtain the time tag of this mail;
Step 5 compares two time tags with mail of identical ID;
Step 6 determines whether to download current Email according to comparative result.
Positive progressive effect of the present invention is: by above contrast, just can judge like clockwork whether certain envelope mail has been downloaded by local device, thereby shorten widely time of reception and reduce network traffic data.
Description of drawings
Fig. 1 is the schematic flow sheet of one embodiment of the invention.
Embodiment
Provide a preferred embodiment of the present invention below in conjunction with Fig. 1, to describe technical scheme of the present invention in detail.
As Fig. 1, a kind of method of avoiding repeated downloads identical electronic mail when using the pop3 post office protocol is moved program as shown in Figure 1, may further comprise the steps:
Step 1000, user's wish are downloaded an envelope Email a;
Step 1001 is by the independent ID of UIDL order acquisition a mail;
Step 1002 contrasts ID and local all the mail ID that preserved that obtain one by one, if there has been the mail b of identical ID to exist, then execution in step 1003; If do not exist, illustrate that then this mail was not downloaded, execution in step 1006;
Step 1003 utilizes the TOP order to obtain mail head's information of mail a, obtains the time tag of this mail by the parsing to the mail head;
Step 1004 compares the time tag that obtains in the step 1003 time tag with the mail b that has preserved, if the time tag of mail a and b is also identical, illustrates that then this mail is to be downloaded really, and execution in step 1005 so; If both time tag differences, though then explanation mail a is identical with the ID of b, they are not same envelope mail, need to download execution in step 1006.Here need to prove the contrast that why needs step 1004 pair time tag, reason just is: mail server itself is to give independent ID that is different from other mails of every envelope E-mail stored, but these ID only guarantee existing mail and have unique ID, promptly do not comprise the mail of having deleted, so server might occur the ID of certain envelope mail of having deleted has been given the new mail of an envelope, and this deleted envelope mail once also still was kept in the mobile device of user side by user's download, though will occur when user's mobile device receives new mail so is not same envelope mail, but ID is identical, causes missing the new mail of this envelope of reception.For fear of this situation, the present invention needs the further time tag of contrast mail, and the time of the old and new's mail must be different, and the mistake of receipts takes place thereby avoid leak;
Step 1005 abandons downloading this envelope mail, the download that restarts to prepare next envelope mail;
Step 1006, the comparison by step 1002 and 1004 illustrates that this envelope mail is new mail really, needs to download, and preserve its ID and time tag after downloading, in order to avoid next repeated downloads;
By the processing of above step, just can judge like clockwork whether certain envelope mail is received and preserved by local device, like this, just can shorten time of reception widely and reduce network traffic data.

Claims (2)

1, a kind of method of repeated downloads identical electronic mail when avoiding using the POP3 post office protocol comprises step:
S 1, when downloading an envelope Email, logical U1DL order obtains the independent ID that mailbox server is distributed to this envelope mail, and records this ID;
S 2, record the time tag of this envelope mail;
S 3, again carry out when receiving mail the user, at first utilize U1DL order inquiry wish to download the independent ID number of mail, and it and the local independent ID number of respectively sealing mail of having preserved compared one by one, if do not carry out S just there be identical ID number 6If carry out S identical ID number just have 4
S 4, utilize the TOP order to obtain the time tag of this current mail;
S 5, the time tag the obtained time tag with identical ID number is compared, if time tag is identical, just determine current mail is abandoned downloading; If time tag is not identical, then carry out S 6
S 6, download current Email.
2, the method for repeated downloads identical electronic mail when avoiding using the POP3 post office protocol according to claim 1, it is characterized in that, the time tag that utilizes the TOP order to obtain current mail described in the step S4 is meant mail head's information of utilizing the TOP order to obtain current mail, mail head's parsing is obtained the time tag of this mail again.
CNA2007100408222A 2007-05-18 2007-05-18 Method avoiding repeated downloading identical e-mail using pop3 post office protocol Pending CN101309438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100408222A CN101309438A (en) 2007-05-18 2007-05-18 Method avoiding repeated downloading identical e-mail using pop3 post office protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100408222A CN101309438A (en) 2007-05-18 2007-05-18 Method avoiding repeated downloading identical e-mail using pop3 post office protocol

Publications (1)

Publication Number Publication Date
CN101309438A true CN101309438A (en) 2008-11-19

Family

ID=40125609

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100408222A Pending CN101309438A (en) 2007-05-18 2007-05-18 Method avoiding repeated downloading identical e-mail using pop3 post office protocol

Country Status (1)

Country Link
CN (1) CN101309438A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938717A (en) * 2010-09-07 2011-01-05 深圳市彩讯科技有限公司 Mail attachment conversion system and method
CN102236600A (en) * 2010-05-06 2011-11-09 无锡中星微电子有限公司 Method and device for obtaining code coverage rate
CN102571990A (en) * 2012-03-16 2012-07-11 北京彩云荣光软件有限公司 E-mail synchronization method and system for mobile terminal
CN104462210A (en) * 2014-11-04 2015-03-25 网易(杭州)网络有限公司 Audio file prompting method and device
CN110572311A (en) * 2019-08-09 2019-12-13 青岛海信移动通信技术股份有限公司 Mail downloading method and terminal
CN114500439A (en) * 2022-01-20 2022-05-13 统信软件技术有限公司 Mail downloading method, device, computing equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236600A (en) * 2010-05-06 2011-11-09 无锡中星微电子有限公司 Method and device for obtaining code coverage rate
CN102236600B (en) * 2010-05-06 2015-06-03 无锡中星微电子有限公司 Method and device for obtaining code coverage rate
CN101938717A (en) * 2010-09-07 2011-01-05 深圳市彩讯科技有限公司 Mail attachment conversion system and method
CN102571990A (en) * 2012-03-16 2012-07-11 北京彩云荣光软件有限公司 E-mail synchronization method and system for mobile terminal
CN102571990B (en) * 2012-03-16 2014-09-24 北京彩云荣光软件有限公司 E-mail synchronization method and system for mobile terminal
CN104462210A (en) * 2014-11-04 2015-03-25 网易(杭州)网络有限公司 Audio file prompting method and device
CN104462210B (en) * 2014-11-04 2018-08-24 杭州网易云音乐科技有限公司 A kind of reminding method and equipment of audio file
CN110572311A (en) * 2019-08-09 2019-12-13 青岛海信移动通信技术股份有限公司 Mail downloading method and terminal
CN114500439A (en) * 2022-01-20 2022-05-13 统信软件技术有限公司 Mail downloading method, device, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102685018B (en) A kind of method of network instant communication information processing, system and instant communication device
CN101309438A (en) Method avoiding repeated downloading identical e-mail using pop3 post office protocol
CN101216834B (en) File downloading method, system, device and server
US8364765B2 (en) Prioritizing electronic messages based upon geographical location of the recipient
CN102075449A (en) Method, device and terminal equipment for managing E-mails
US20100106781A1 (en) Automatic update of contact information in messaging
CN102571990B (en) E-mail synchronization method and system for mobile terminal
CN104935735A (en) Information deletion method and information deletion system
CN101583096B (en) Multimedia Messaging Service (MMS) center and method thereof for caching mobile paper messages
US20080201475A1 (en) Device Management Method Using Nodes Having Additional Attribute and Device Management Client Thereof
CN103051768A (en) Method and system for updating contact ways in address book
CN101227379A (en) Method and system for implementation of data synchronization
CN1870778A (en) Method for timing sending message in mobile phone
CN103646259A (en) RFID-based express delivery information synchronizing system and method
CN102752371A (en) Method for achieving splash on client side and client side
CN101075979B (en) Method and system for associating instant telecommunication session record and e-mail
US20080235798A1 (en) Method for filtering junk messages
CN102833408B (en) Method and device for displaying messages
CN101072200A (en) Method and device for obtaining electronic mail reply and relay state
US20070214219A1 (en) Method of inquiring e-mail sending status in real time
CN1842194A (en) Automatic time setting method for mobile terminal
CN101515279B (en) Remote information synchronization method and system
CN103490983A (en) Enterprise mail system and mail migration executing method thereof
CN102739871A (en) Information sending method and device of mobile terminal
CA2570883A1 (en) Method and apparatus for electronic mailing of data utilizing a data reference

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20081119