CN1960368A - Method for instant informing new mail - Google Patents
Method for instant informing new mail Download PDFInfo
- Publication number
- CN1960368A CN1960368A CNA2005101171874A CN200510117187A CN1960368A CN 1960368 A CN1960368 A CN 1960368A CN A2005101171874 A CNA2005101171874 A CN A2005101171874A CN 200510117187 A CN200510117187 A CN 200510117187A CN 1960368 A CN1960368 A CN 1960368A
- Authority
- CN
- China
- Prior art keywords
- client
- new mail
- new
- mail 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.)
- Pending
Links
Abstract
The method comprises: client side sends SIP subscription request to the email server; after receiving the subscription request, the email server sends SIP confirmation message to the client side; after receiving the arriving signals of new mail, the email server sends SIP notice message.
Description
Technical field
The present invention relates to computer communication field, relate in particular to the method for the instant notice of a kind of new mail.
Background technology
Email has become one of present most widely used means of communication.In the prior art, the course of work of Email is followed the client-server pattern, and period of service reception arrives to the new mail messages of client, and the destination address and the client of carrying according to this new mail messages connect.The function of its new mail arrival notice client realizes by the following method:
Fig. 1 is a method schematic diagram of realizing new mail arrival notice client.As shown in Figure 1, client will receive the new mail notice to e-mail server, need open tcp port earlier, use a special process to monitor network, whether check has server to be connected to its port, when e-mail server was received new mail, server was searched corresponding IP address according to the user client that gets the mail, and the TCP that is established to the port of this client ip address then connects.Server is opened and being connected of client, and client is accepted connection request, connect sets up successfully after, server sends new mail notice and closes connection to client, client has promptly been known the new mail acquisition at this moment.
Though described scheme of the prior art can meet the demands to a certain extent, but still there is following shortcoming:
1. for the client that a plurality of mail accounts are arranged, when this client is received new mail notice, can't confirm which mail account new mail belongs to; And,, when this client is received new mail notice, can't confirm equally which user new mail belongs to for a plurality of user client are arranged.
2. client needs to connect with it up to e-mail server at tcp port monitoring network always, for a long time network is monitored the attack that is subject to arrive to network.
The technology that also has a widely used new mail notice client at present, adopt the user that regularly query function is set, inquire about by a specific Mail Clients login mail server, whether have new mail arrive, and will carry out last all new mails of searching back arrival and download if checking.
This method has been avoided the long-term monitoring of client to network, has effectively utilized resource, but has following shortcoming equally:
1. the user must have a specific Mail Clients program, and initiatively, regularly inquire about mail server.If the user is not in case be provided with regularly search-read function, client can't be carried out the operation that server is consulted mail, and then the user can't obtain new mail, even and regularly inquiry, neither obtain new mail notice immediately.
2. owing to regularly inquire about free delay, the new mail that arrives when finishing once consulting must be waited for, is received when consult Shi Caineng next time, and can't in time arrives user side.
3. if the user does not have or not on the particular mail client next door, just can't obtain new mail notice.
Summary of the invention
At above the deficiencies in the prior art, the object of the present invention is to provide a kind of method, the more convenient instant informing function of realization new mail.
For achieving the above object, technical scheme provided by the invention is as follows:
Client sends the sip subscribe request to e-mail server;
After e-mail server is accepted described subscribe request, send SIP and confirm message to client;
After e-mail server receives the new mail arriving signal, send the SIP announcement information to client.
Described sip subscribe request includes: the subscriber mailbox account number of client and subscription time limit.
Described sip subscribe request also includes: new mail subscription information, the title that described new mail subscription information is a new mail, sender, transmitting time, authentication information, rejection mail tabulation or for empty.
When described new mail subscription information was sky, e-mail server then sent according to the default setting of client.
Described e-mail server also comprises step sending when SIP confirms message to client: e-mail server and client consult to determine that new mail sends to the announcement information of client when arriving.
Described e-mail server and client send to the announcement information of client when consulting to determine new mail arrival detailed process is:
E-mail server is determined the new mail notice business of its support, sends to client;
After client receives above-mentioned new mail notice business, wherein to need to select the new mail notice business obtained, the business information of determining is sent to e-mail server.
The new mail notice business that described e-mail server provides is: new mail in full, the e-mail messages of new mail tabulation, the e-mail messages that has received, deletion, send e-mail messages or filtering information notice.
When described client stopped to subscribe to e-mail messages, client was provided with the described subscription time limit and is set to 0 and send SIP information to e-mail server.
Receive the sip subscribe request of client transmission at described e-mail server after, also comprise step: e-mail server carries out authentication according to authentication information to client.
Beneficial effect of the present invention is as follows:
1, sends the subscription new mail request of carrying mail account by client, make client when the new mail notice that receives to e-mail server, can know this mail is corresponding to which mail account, make the work of its client more effective, also avoided the mistake of mail to download and transmit;
2, adopt request-answer service, the attack of effectively having avoided client to monitor network for a long time being caused to network has improved the security reliability of client;
3, the definite jointly informing business information of e-mail server and client, e-mail server only notifies client its information of interest, save network burden, the user only obtains the reception that the information content that oneself needs has been avoided unnecessary mail, makes mutual process more efficient;
4, behind the announcement information of client according to each acquisition, do not receive mail and can understand e-mail messages and carry out respective operations, saved user's time;
5, in a single day e-mail server receives new mail and promptly sends notice to client, makes client can consult new mail timely, has avoided a large amount of storages of new mail messages simultaneously and meeting and unnecessary losing of causing;
6, the client terminal of Session Initiation Protocol comprises mobile phone, PDA, notebook computer or PC, is not limited to a kind of specific Mail Clients, so new mail notice receives the restriction that is not subjected to when and where.
Description of drawings
Fig. 1 is the Notification Method schematic diagram that the existing techniques in realizing new mail arrives.
Fig. 2 realizes the flow chart of the method for new mail notice by subscription for embodiments of the invention.
Fig. 3 is embodiments of the invention are realized the method for new mail notice by the method for issuing MESSAGE message or PUBLISH a flow chart.
Embodiment
At present, increasing manufacturer and equipment thereof are all supported Session Initiation Protocol (standard RFC3261), and the application relevant with SIP also emerges in an endless stream; In addition, relevant consensus standard, defined more application process such as RFC3265 (SIP-Specific Event Notification), RFC3903 (An Event StatePublication Extension to the SIP), RFC3428 (SIP Extension for InstantMessaging) etc., also expanded the application of Session Initiation Protocol greatly based on Session Initiation Protocol.Session Initiation Protocol and existing e-mail system are combined, will expand the function of mailing system.
The present invention is the realization that reaches new mail arrival notice client functionality by Session Initiation Protocol and related protocol thereof.
Client is utilized the e-mail server transmission sip subscribe request on one's own initiative of Session Initiation Protocol and related protocol standard thereof, after e-mail server is accepted subscribe request, send SIP and confirm message to client, after e-mail server receives the new mail arriving signal, send the SIP announcement information to client.
Fig. 2 realizes the flow chart of the method for new mail notice by subscription for embodiments of the invention.As shown in Figure 2, concrete steps are:
1. client sends the sip subscribe request that comprises the mailbox account number and subscribe to the time limit (Expires) to e-mail server, and this request sends with the SUBSCRIBE form of message, is used to subscribe to e-mail messages.
Wherein, it is which user of client that the mailbox account number in the message can make client-side identifying just, specific to the new mail messages of the account number of which mailbox of identification.Carry a header field Expires in the SUBSCRIBE message that sends, the value of Expires is subscribes to the time limit, its unit is second, e-mail server can write down this value, if e-mail server has been accepted next subscribe request to client, in a single day the subscription of client comes into force, and all is effective in the subscription of subscribing in the time limit then, e-mail server has and can change subscribing to the time limit in addition, to satisfy the subscribe request of client.
Also have the new mail subscription information in SUBSCRIBE message, comprise the title, sender, transmitting time, authentication information, rejection mail tabulation of new mail etc., e-mail server comprises above-mentioned essential information to the content that client sends new mail notice.The new mail subscription information also can be sky, if be empty, e-mail server then sends new mail messages according to the client default setting.
2. after e-mail server receives SUBSCRIBE message, send response (200OK) message and give client, and client is carried out authentication according to the authentication information in the subscribe message.
3. e-mail server is except the subscription information that client can be provided require, and can also provide server self to support but is not function and business known to the client.At this moment, e-mail server is determined the new mail notice business of its support, and sends to client.Its new mail notice business comprise new mail in full, the e-mail messages of new mail tabulation, the e-mail messages that has received, deletion, send e-mail messages or filtering information notice etc. the client reception notification distinguished the business that Mail Contents is favourable.
4. after client receives the new mail notice business, send 200OK message, wherein need to select the new mail notice business obtained simultaneously, the business information of determining is sent to e-mail server to e-mail server.
5. after e-mail server receives definite business information of client, send 200OK message to client.
6. when new mail arrives e-mail server, e-mail server sends NOTIFY to client, comprises new mail subscription information and and the definite jointly new mail messages of e-mail server that aforementioned client-requested is carried in the NOTIFY.
7. client be if will stop receiving new mail messages notice, then sends Expires and be 0 SUBSCRIBE message, and application stops subscribing to; E-mail server returns client 200OK message, and expression is accepted applications, and sends NOTIFY to client; Client is received NOTIFY, and return electron mail server 200OK message is subscribed to termination.
This scheme also can be when new mail arrives, and e-mail server is by issue sip message proactive notification client new mail messages.Information (MESSAGE) message or announcement (PUBLISH) message with e-mail server transmission Session Initiation Protocol and related protocol standard thereof is that example is described further below.
Fig. 3 is embodiments of the invention are realized the method for new mail notice by the method for issuing MESSAGE message or PUBLISH a flow chart.As shown in Figure 3, the concrete steps of such scheme are:
1. there is new mail to arrive on the e-mail server.
2. after e-mail server is received new mail, send MESSAGE message or PUBLISH, notice client new mail messages to client.
3. after client is received MESSAGE message or PUBLISH, return electron mail server 200OK message.
Claims (9)
1. the method for the instant notice of new mail is characterized in that, comprises step:
Client sends the sip subscribe request to e-mail server;
After e-mail server is accepted described subscribe request, send SIP and confirm message to client;
After e-mail server receives the new mail arriving signal, send the SIP announcement information to client.
2. the method for claim 1, it is characterized in that: described sip subscribe request includes: the subscriber mailbox account number of client and subscribing to the time limit.
3. method as claimed in claim 2 is characterized in that: described sip subscribe request also includes: new mail subscription information, the title that described new mail subscription information is a new mail, sender, transmitting time, authentication information, rejection mail tabulation or for empty.
4. method as claimed in claim 3 is characterized in that, when described new mail subscription information was sky, e-mail server then sent according to the default setting of client.
5. the method for claim 1, it is characterized in that described e-mail server also comprises step sending when SIP confirms message to client: e-mail server and client consult to determine that new mail sends to the announcement information of client when arriving.
6, method as claimed in claim 5 is characterized in that, described e-mail server and client send to the announcement information of client when consulting to determine new mail arrival detailed process is:
E-mail server is determined the new mail notice business of its support, sends to client;
After client receives above-mentioned new mail notice business, wherein to need to select the new mail notice business obtained, the business information of determining is sent to e-mail server.
7. method as claimed in claim 6 is characterized in that: the new mail notice business that described e-mail server provides is: new mail in full, the e-mail messages of new mail tabulation, the e-mail messages that has received, deletion, send e-mail messages or filtering information notice.
8. method as claimed in claim 2 is characterized in that: when described client stopped to subscribe to e-mail messages, client was provided with the described subscription time limit and is set to 0 and send SIP information to e-mail server.
9. as claim 3 or 4 described methods, it is characterized in that after described e-mail server was received the sip subscribe request that client sends, also comprise step: e-mail server carried out authentication according to authentication information to client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2005101171874A CN1960368A (en) | 2005-11-03 | 2005-11-03 | Method for instant informing new mail |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2005101171874A CN1960368A (en) | 2005-11-03 | 2005-11-03 | Method for instant informing new mail |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1960368A true CN1960368A (en) | 2007-05-09 |
Family
ID=38071859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2005101171874A Pending CN1960368A (en) | 2005-11-03 | 2005-11-03 | Method for instant informing new mail |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1960368A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101458637B (en) * | 2007-12-13 | 2011-11-16 | 华为技术有限公司 | Method, apparatus and system for implementing progress communication |
CN102404700A (en) * | 2010-09-17 | 2012-04-04 | 中国移动通信集团公司 | Method and system for transmitting email |
CN105100062A (en) * | 2015-06-25 | 2015-11-25 | 走遍世界(北京)信息技术有限公司 | Information push method, device and system |
-
2005
- 2005-11-03 CN CNA2005101171874A patent/CN1960368A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101458637B (en) * | 2007-12-13 | 2011-11-16 | 华为技术有限公司 | Method, apparatus and system for implementing progress communication |
CN102404700A (en) * | 2010-09-17 | 2012-04-04 | 中国移动通信集团公司 | Method and system for transmitting email |
CN102404700B (en) * | 2010-09-17 | 2014-12-31 | 中国移动通信集团公司 | Method and system for transmitting email |
CN105100062A (en) * | 2015-06-25 | 2015-11-25 | 走遍世界(北京)信息技术有限公司 | Information push method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8688822B2 (en) | Push e-mail inferred network presence | |
US8924593B2 (en) | Apparatus and method for communication services network | |
EP1909467B1 (en) | Centralized controller for distributed handling of telecommunications features | |
US20060286993A1 (en) | Throttling server communications in a communication network | |
WO2008040248A1 (en) | A method and system for transmitting email and a push mail server | |
KR20050056936A (en) | Mthhod and system for displaying group chat sessions on wireless mobile terminals | |
CN1319973A (en) | Instant message transmission protocol | |
CN1767508A (en) | File transmission method in instant messaging service and mobile communications terminal for supporting the same | |
EP1618727A2 (en) | A data access, replication or communication system comprising a distributed software application | |
EP2356860A2 (en) | Method for extending battery life in a wireless device | |
CN1812604A (en) | Short message fire wall system and method for setting-up short message fire wall | |
CN102143093A (en) | Instant messaging method, device and system | |
CN101997673A (en) | Network agent implementation method and device | |
CN1787492A (en) | Mobile instant communication method and connecting mode of server and client terminal thereof | |
CN1642148A (en) | Immediate communication treatment method | |
CN1722711A (en) | Method for implementing mail forwarding by mail proxy server | |
WO2006014314A1 (en) | Communicating information about the character of electronic messages to a client | |
US7043233B2 (en) | Messaging protocol over internet protocol | |
CN1633115A (en) | Method for implementing instant communication software intercommunication based on handset short message | |
CN1960368A (en) | Method for instant informing new mail | |
US8249560B2 (en) | Sending method, receiving method, and system for email transfer by short message | |
CN101079830A (en) | A method, system and device for providing friend status in instant communication process | |
CN1620019A (en) | Method of realizing mobile instant communication based on internet address technology and its application | |
US8964955B2 (en) | Presence-based message waiting indicator and missed calls | |
CN101437206A (en) | Information transmission method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20070509 |