WO2015196658A1 - Method and device for acquiring delivery state of e-mail, and computer storage medium - Google Patents

Method and device for acquiring delivery state of e-mail, and computer storage medium Download PDF

Info

Publication number
WO2015196658A1
WO2015196658A1 PCT/CN2014/089092 CN2014089092W WO2015196658A1 WO 2015196658 A1 WO2015196658 A1 WO 2015196658A1 CN 2014089092 W CN2014089092 W CN 2014089092W WO 2015196658 A1 WO2015196658 A1 WO 2015196658A1
Authority
WO
WIPO (PCT)
Prior art keywords
email
delivery status
terminal
service server
request
Prior art date
Application number
PCT/CN2014/089092
Other languages
French (fr)
Chinese (zh)
Inventor
李中兴
姚立哲
卢艳
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015196658A1 publication Critical patent/WO2015196658A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a computer storage medium for acquiring an email delivery status.
  • Email is one of the most important applications in Internet services.
  • the protocols currently used for email sending and receiving are mainly Simple Mail Transfer Protocol (SMTP), Post Office Protocol Version 3 (POP3), and Internet Message Access Protocol version 4 (IMAP4, Internet).
  • Message Access Protocol-Version4 in which the SMTP protocol and some extension protocols of the IMAP4 protocol can be used for the transmission of e-mail (both e-mail from the sending terminal to the mail server) and the transmission in the network (ie, the e-mail from One server is transferred to another server); POP3 protocol and IMAP4 protocol are used for receiving emails (ie, emails are sent from the mail server to the receiving terminal); these protocols ensure that users can deliver emails as expected. Recipient.
  • the email receipt information is convenient for understanding the delivery status of the sent mail.
  • the delivery status includes: successfully reaching the other party's mailbox, not reaching the other party's mailbox, being rejected/returned by the other party, successfully reaching the other server, not reaching the other server, and the other server is not responding. , re-delivery, processing, unsuccessful delivery, whether the recipient has read, deleted, etc.
  • These delivery statuses are usually sent by the sending terminal user after sending the email by setting the receipt option in the email client. Can be obtained.
  • the above-mentioned mail return service belongs to a method for passively obtaining an e-mail delivery status, and needs to send a message for acquiring a receipt at the same time as sending an e-mail, so that the message for obtaining the receipt is packaged and sent together, but for those already sent. And no receipt option is set Mail, you can't get the delivery status of these messages in this way.
  • embodiments of the present invention are expected to provide a method and apparatus for obtaining an email delivery status.
  • An embodiment of the present invention provides a method for obtaining an email delivery status, where the method includes:
  • the service server receives a request initiated by the first terminal to obtain a delivery status of a specific email in the second terminal, where the specific email is an email that the first terminal has sent to the second terminal by using the service server;
  • the service server acquires a delivery status corresponding to the specific email according to the request and sends the delivery status to the first terminal.
  • the request for obtaining a delivery status of a specific email includes: identifier information of the specific email;
  • the identification information includes: a sender address and a recipient address of the specific email.
  • the identification information further includes at least one of the following information:
  • the sending time, mail header, and mail keyword of the specific email The sending time, mail header, and mail keyword of the specific email.
  • the service server acquires a delivery status corresponding to a specific email according to the request, and includes:
  • the service server searches for a delivery status corresponding to the identification information in a database in which the email delivery status is recorded, based on the identification information in the request.
  • the method before the service server obtains the delivery status corresponding to the specific email according to the request, the method further includes:
  • the business server establishes a database that records the status of email delivery by:
  • the business server receives the email, extracting the identification information of the email, And establishing, by using the identifier information as an index, a data record, where the data record includes a delivery status of the email;
  • the updated delivery status is written in the data record corresponding to the identification information.
  • the delivery status of the email is determined by:
  • Determining an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail determining, according to the e-mail protocol, an operation command performed by the second terminal on the e-mail, performing, on the second terminal, according to the determined e-mail transceiving protocol
  • the operation command is parsed to determine the delivery status of the email.
  • An embodiment of the present invention provides a method for obtaining an email delivery status, where the method includes:
  • the first server After the first terminal sends an email to the second terminal by using the service server, the first server sends a request for acquiring the email delivery status to the service server;
  • the first terminal receives the delivery status of the email returned by the service server.
  • the request for obtaining the delivery status of the email includes: identifier information of the email;
  • the identification information includes: a sender address and a recipient address of the email.
  • the identifier information further includes at least one of the following information:
  • the email sending time The email header, and mail keyword.
  • An embodiment of the present invention provides a service server, where the service server includes: a first request receiving module, a request processing module, and a response sending module;
  • the first request receiving module is configured to receive, by the first terminal, a request for acquiring a specific email delivery status in the second terminal, where the specific email is an email that the first terminal has sent to the second terminal;
  • the request processing module is configured to acquire, according to the request for acquiring an email delivery status, a delivery status corresponding to the specific email;
  • the response sending module is configured to send the delivery status of the email to the first terminal.
  • the request for acquiring a specific email delivery status includes: identifier information of the specific email;
  • the identification information includes: a sender address and a recipient address of the specific email.
  • the identifier information further includes at least one of the following information:
  • the sending time, mail header, and mail keyword of the specific email The sending time, mail header, and mail keyword of the specific email.
  • the request processing module acquires a delivery status corresponding to a specific email according to the request, including:
  • a delivery status corresponding to the identification information is searched for in the database in which the email delivery status is recorded based on the identification information in the request.
  • the service server further includes: a database establishing module configured to establish a database for recording an email delivery status by:
  • the service server further includes: a delivery status determining module, configured to determine a delivery status of the email received by the second terminal according to the following manner:
  • the executed operation command is parsed to determine the delivery status of the email.
  • An embodiment of the present invention provides an apparatus for obtaining an email delivery status, where the apparatus includes: a request sending module and a response receiving module;
  • the request sending module is configured to send an email to the second terminal by using the service server Afterwards, sending a request for obtaining the email delivery status to the service server;
  • the response receiving module is configured to receive an email delivery status of the second terminal returned by the service server.
  • the request for obtaining the delivery status of the email includes: identifier information of the email;
  • the identification information includes: a sender address and a recipient address of the email.
  • the identifier information further includes at least one of the following information:
  • the email sending time The email header, and mail keyword.
  • Embodiments of the present invention also provide a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method of obtaining an email delivery status of a service server.
  • the embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method for acquiring an email delivery status of the first terminal.
  • An embodiment of the present invention provides a method, an apparatus, and a computer storage medium for acquiring an email delivery status, where a service server receives a request initiated by a first terminal to obtain a delivery status of a specific email in a second terminal, where the specific email is The e-mail sent by the first terminal to the second terminal by the service server; the service server acquires a delivery status corresponding to the specific e-mail according to the request, and sends the delivery status to the first terminal.
  • the first terminal can view the delivery status of the sent email according to its own needs, and the method is simple and fast, and can greatly improve the user experience.
  • FIG. 1 is a schematic flowchart 1 of an e-mail delivery state obtaining method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram 1 of an email processing system according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram 2 of an email processing system according to an embodiment of the present invention.
  • FIG. 4 is a second schematic flowchart of a method for acquiring an email delivery state according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram 1 of an apparatus for acquiring an email delivery state according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram 1 of a service server according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 2 of a service server according to an embodiment of the present invention.
  • the service server receives, by the first terminal, a request for acquiring a delivery status of a specific email in the second terminal, where the specific email is that the first terminal has passed the service server to the second An email sent by the terminal; the service server acquires a delivery status corresponding to the specific email according to the request and sends the delivery status to the first terminal.
  • the first terminal and the second terminal are only used to distinguish different terminals, and are not used for limitation; wherein, the first terminal refers to a terminal that can initiate an acquisition of an email delivery status request in the second terminal to the service server; The second terminal refers to a terminal that is different from the first terminal.
  • the embodiment of the invention implements a method for obtaining an email delivery status. As shown in FIG. 1 , the method mainly includes the following steps:
  • Step 101 The service server receives, by the first terminal, a request for acquiring a delivery status of a specific email in the second terminal, where the specific email is sent by the first terminal to the second terminal by using the service server. e-mail;
  • the service server may include: a first service server and a second service server; the first service server is a local service server of the first terminal, configured to process an email service for the first terminal, and the second service
  • the server refers to a server for processing the email service of the second terminal; it should be noted that the first service server and the second service server may be The same service processor can also be the same service server;
  • the first service server and the second service server are not the same service server, the overall structure of the email processing system is as shown in FIG. 2, and the first service server receives the email delivery initiated by the first terminal and acquires the second terminal.
  • the status request (for convenience, hereinafter referred to as the mail delivery status acquisition request), forwards the mail delivery status acquisition request to the second service server through the network, and at this time, the second service server delivers the status to the mail. Get the request for processing;
  • the service server When the first service server and the second service server are the same service server (ie, the service server), the overall structure of the email processing system is as shown in FIG. 3, and the service server receives the mail delivery status sent by the first terminal. Get the request, then process the request directly.
  • the mail delivery status acquisition request mainly includes: identifier information of the specific email, and the service server may retrieve, according to the identifier information, a delivery status of the specific email;
  • the identification information includes: a sender address and a recipient address of the specific email; further, the identifier information may further include any one of the following information or any combination thereof:
  • the sending time, mail header, and mail keyword of the specific email The sending time, mail header, and mail keyword of the specific email.
  • the sending time is the time when the first terminal sends the email
  • the mail header refers to the content in the title bar of the mail
  • the mail keyword can be the content of any text format in the body of the mail.
  • Step 102 The service server acquires a delivery status corresponding to the specific email according to the request, and sends the delivery status to the first terminal.
  • the service server acquires a delivery status corresponding to the specific email according to the request, including:
  • the service server searches for a delivery status corresponding to the identification information of the specific email in a database in which the email delivery status is recorded, based on the identification information in the request.
  • the method further includes: the service server establishes a database for recording an email delivery status;
  • the business server establishes a database for recording the status of email delivery by:
  • the service server receives the email, extracting the identification information of the email, and establishing the data record with the identifier information as an index, the data record including the delivery status of the email; when the email is When the delivery status is updated, the updated delivery status is written in the data record corresponding to the identification information; specifically, the delivery status includes: a status name and a status update time;
  • the data records of the exemplary email delivery status are shown in Tables 1 and 2, wherein the emails in Table 1 have undergone three states of read, deleted, and restored after being sent; After the e-mail is sent, it is always in the unread state; the delivery status is composed of the status name and the status update time; the identification information of the specific e-mail shown in Table 1 and Table 2 includes: the sender address: abc @zte.com.cn, recipient address: def@zte.com.cn and email title: aaaaa.
  • the service server determines, according to the following method, the email received by the second terminal. Delivery status:
  • Determining an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail determining, according to the e-mail protocol, an operation command performed by the second terminal on the e-mail, performing, on the second terminal, according to the determined e-mail transceiving protocol
  • the operation command is parsed to determine the delivery status of the email.
  • the e-mail protocol here may include various types of e-mail transceiving protocols, such as various versions of protocols such as IMAP, POP, and SMTP; since different e-mail transceiving protocols correspond to different operating commands, Therefore, the e-mail transceiving protocol used by the second terminal to receive the e-mail needs to be determined first; in particular, the service server can obtain the e-mail transceiving protocol used by the second terminal when receiving the e-mail, for example, due to the second The terminal receives the e-mail from the service server.
  • e-mail transceiving protocols such as various versions of protocols such as IMAP, POP, and SMTP
  • the second terminal when the second terminal establishes a connection with the service server, the e-mail transceiving protocol used by the second terminal e-mail can be obtained during the interaction process of the e-mail receiving;
  • the service server records an operation command executed by the second terminal user, the recorded information includes: a name of the operation command and a start execution time of the operation command; and the service server parses the corresponding operation command to determine an operation performed by the second terminal user, When the operation command is executed, the industry Operation of the server to update the delivery status of the second terminal according to the second end user performed.
  • the user may separately send a request for obtaining the email delivery status to the service server when sending the email or after sending the email, so as to obtain any user desire to obtain.
  • the delivery status of the sent email may be separately sent to the service server when sending the email or after sending the email, so as to obtain any user desire to obtain.
  • the first service server and the second service server are not the same service server, and the main processing flow is shown in FIG. 4 .
  • Step 400 Because the second terminal receives the mail by using the POP3 protocol, the second service server root The delivery status of the email is recorded and stored according to an operation command executed by the second terminal.
  • the service server to which the second terminal belongs records the status of the mail as read; when the second terminal operates by using the DELE ⁇ mail id> command, and When the return result is OK, the second terminal service server records the status of the mail as soft deletion.
  • the service server to which the second terminal belongs records the status of the mail as deleted.
  • the business server to which the second terminal belongs updates the record status of the mail from soft delete to reserved.
  • Step 401 According to the request of the first terminal user, the first terminal sends a mail delivery status acquisition request to the first service server, where the request includes the identifier information of the email that the first terminal user desires to obtain the delivery status (eg, the recipient Name of person, mail title, size, time of sending, etc.);
  • Step 402 After receiving the email delivery status acquisition request, the first service server forwards the request to the second service server according to the receiver in the identifier information.
  • Step 403 The second service server parses the email delivery status request message, and the parsing process is to extract the content of the email request from the subject or other information column, including the sender name, the recipient name, the query keyword, and the time. .
  • the second service server to which the second terminal belongs retrieves the email delivery status by searching for the mail in the email delivery status database of the record according to the recipient name, the sender name, the query keyword, and the time information. Delivery status.
  • Step 404 The recipient mail server returns a mail delivery status response to the first service server according to the search result, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1. the second terminal The second service server to which it belongs receives the mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time);
  • Step 405 The first service server returns a mail delivery status response to the first terminal, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1.
  • the second service server to which the second terminal belongs receives the mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, Soft delete and soft delete time).
  • Step 400 Since the recipient receives the email using the IMAP4 protocol, the delivery status of the email can be recorded and stored according to the receiving command received by the recipient.
  • the second terminal receives the email by using the IMAP4 protocol
  • the second terminal changes the mail attribute by using the STORE ⁇ mail id> ⁇ new attributes> operation
  • the service server corresponding to the client according to the mail id and new attributes of the command Record and update the delivery status of the message.
  • the new attribute attribute is Seen and the command returns OK
  • the client business server records the mail delivery status as read.
  • the new attribute attribute is delete
  • the mail delivery status is marked as soft delete
  • the mail server to which the client belongs updates the delivery status of the mail recorded as soft deleted to delete.
  • Step 401 According to the request of the first terminal user, the first terminal sends a mail delivery status acquisition request to the first service server, where the request includes the identification information (such as the recipient name and the mail header) of the email that is expected to obtain the delivery status. , size, sending time, etc.);
  • the identification information such as the recipient name and the mail header
  • the process of sending a mail delivery status acquisition request may be similar to the process of sending an email, and may carry a special identifier indicating the status of the delivery of the mail in the subject or the recipient or other information column through the agreement of the terminal and the service server.
  • the recipient of the special address is used as the identifier
  • the subject line is filled with the identifier of the email that is expected to obtain the delivery status (including: sender address, sending time, email subject); also through the terminal interface Setting an option or a button to facilitate the first terminal user to initiate a mail delivery status acquisition request to the second service server, and the first terminal user only needs to select or type the identification information of the email that wants to obtain the mail delivery status;
  • Step 402 After receiving the email delivery status acquisition request, the first service server forwards the request to the second service server according to the receiver in the identifier information.
  • Step 403 The second service server parses the email delivery status request message, and the parsing process is to obtain the content of the mail delivery status acquisition request from the subject or other information column, including the sender name, the recipient name, and the query keyword. and time.
  • the manner in which the service server to which the second terminal belongs retrieves the email delivery status is to retrieve the delivery of the email in the database in which the email delivery status is recorded according to the recipient name, sender name, query keyword, and time information. status.
  • Step 404 The second service server returns a mail delivery status response to the first service server according to the retrieval result, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1.
  • the second terminal belongs to Second business server receiving mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft deleted and soft Delete time)
  • Step 405 The first service server returns a mail delivery status response to the first terminal, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1.
  • the second service server to which the second terminal belongs. Receive mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft delete and soft delete time)
  • an embodiment of the present invention further provides an apparatus for acquiring an email delivery status, which is located in the first terminal, as shown in FIG. 5, the apparatus includes: a request sending module 51 and a response receiving module 52; ,
  • the request sending module 51 is configured to send a request for acquiring the email delivery status to the service server after sending the email to the second terminal by the service server;
  • the response receiving module 52 is configured to receive information of an email delivery status of the second terminal returned by the service server.
  • the mail delivery status acquisition request mainly includes: the first terminal desires to obtain the identification information of the email in the delivery status, and the service server may retrieve the delivery status of the email according to the identification information;
  • the identification information includes: a sender address and a recipient address of the email;
  • the identification information may also include any one of the following information or any combination thereof:
  • the email sending time The email size, mail header, and mail keyword.
  • the sending time is the time when the first terminal sends the email
  • the mail header refers to the content in the title bar of the mail
  • the mail keyword can be the content of any text format in the body of the mail.
  • the service server received by the response receiving module 52 returns the delivery status of the email, including any one of the following information or any combination thereof: 1.
  • the second service server to which the second terminal belongs receives the mail time, 2. Read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft delete and soft delete time.
  • the request sending module 51 and the response receiving module 52 may be in a practical application by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a site located at the terminal.
  • a central processing unit CPU
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA Programmable Gate Array
  • the embodiment of the present invention further provides a service server.
  • the service server includes: a first request receiving module 61, a request processing module 62, and a response sending module 63.
  • the first request receiving module 61 is configured to receive a request sent by the first terminal to obtain a specific email delivery status in the second terminal; the specific email is an email that the first terminal has sent to the second terminal ;
  • the request processing module 62 is configured to acquire, according to the request for acquiring an email delivery status, a delivery status corresponding to the specific email;
  • the response sending module 63 is configured to send the delivery status of the email to the first terminal.
  • the service server includes: a first service server and a second service server; the first service server processes the mail sent by the first terminal, and the second service server processes the mail received by the second terminal; the first service server and the first service server
  • the service servers may be the same service server or may belong to different service servers. Therefore, the service server according to the embodiment of the present invention It can include the following two structures:
  • the first structure the first service server and the second service server are the same service server (referred to as a service server), and the first request receiving module 61, the request processing module 62, and the response sending module 63 are located in the service server.
  • the basic structural block diagram is the same as that of FIG. 6, wherein each component module performs the same function as described above;
  • the second structure the first service server and the second service server are not the same service server, the first request receiving module 61 is located in the first service server, and the request processing module 62 and the response sending module 63 are located in the second service.
  • the basic structural block diagram is as shown in FIG. 7 .
  • the first request receiving module 61 is configured to receive a request for acquiring an email delivery status in the second terminal, according to the first configuration.
  • the identifier information in the request for obtaining the email delivery status forwards the request to the second service server.
  • the second service server further includes: a second request receiving module 64 configured to receive the first request receiving module 61.
  • the request processing module 62 located in the second service server is configured to acquire the delivery status of the email according to the request for obtaining the email delivery status.
  • a response sending module 63 located in the second service server configured to send the delivery status of the email To the first terminal.
  • the request processing module 62 acquires the delivery status of the email according to the request for acquiring the email delivery status, including: searching for the identifier in the database in which the email delivery status is recorded according to the identification information in the request. The delivery status corresponding to the information.
  • the service server further includes: a database establishing module 65, and the database establishing module 65 is configured to establish a database for recording an email delivery status by:
  • the data record including a delivery status of the email; when the email is delivered When updating, the updated delivery status is written into the data record corresponding to the identification information; the delivery status includes: a status name and a status update time;
  • the service server further includes: a delivery status determination module 66 configured to determine a delivery status of the email received by the second terminal according to the following manner:
  • the service server may obtain an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail by using a plurality of manners, for example, because the second terminal receives the e-mail from the service server Therefore, when the second terminal establishes a connection with the service server, during the interaction process of receiving the mail, the email receiving and receiving protocol adopted by the second terminal email is obtained; and then, according to the email receiving and receiving protocol And an operation command executed by the second terminal on the email, parsing an operation command executed by the second terminal according to the determined email sending and receiving protocol, and determining a delivery status of the email.
  • the service server when it is determined that the second terminal receives the mail by using the POP3 protocol, when the second terminal performs the RETR command operation, and the return result is OK, the service server records that the delivery status of the email is read; when the second terminal Execute the DELE ⁇ mail id> command operation, and when the return result is OK, the business server records the delivery status of the email as soft deletion.
  • the service server updates the status of the email to Deleted; when the message status is soft delete, and the message is restored by executing the RSET ⁇ mail id> operation command, the service server updates the delivery status of the message from soft deletion to reservation; or
  • the service server Determining that the second terminal receives the email by using the IMAP4 protocol, when the second terminal uses the STORE ⁇ mail id> ⁇ new attributes> operation to change the mail attribute, the service server records and updates the delivery of the mail according to the mail id and new attributes of the command. State; specifically, when the new attribute attribute is Seen and the command returns a result of OK, the service server records that the mail delivery status is read; when the new attribute attribute is delete, the mail delivery status is marked as soft deletion, and When the client uses the CLOSE command or uses the LOGOUT, EXPUNGE command, the service server updates the delivery status of the message recorded as soft deleted to deleted.
  • the delivery status of the email sent by the response sending module 63 includes any one of the following information or any combination thereof: 1.
  • the second service server to which the second terminal belongs receives the mail Inter, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft deleted and soft deleted time.
  • the first request receiving module 61, the request processing module 62, the response sending module 63, the second request receiving module 64, the database establishing module 65, and the delivery status determining module 66 may be located in a service in an actual application.
  • an embodiment of the present invention further provides a terminal, including the foregoing apparatus for obtaining an email delivery status.
  • Embodiments of the present invention also provide a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method of obtaining an email delivery status of a service server.
  • the embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method for acquiring an email delivery status of the first terminal.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A method for acquiring a delivery state of an e-mail, comprising: receiving, by a service server, a request to acquire a delivery state of a specific e-mail in a second terminal initiated by a first terminal (101), wherein the specific e-mail is an e-mail already sent by the first terminal to the second terminal through the service server; and according to the request, acquiring, by the service server, a delivery state corresponding to the specific e-mail and sending same to the first terminal (102). Also disclosed are a device for acquiring the delivery state of an e-mail, and a computer storage medium.

Description

获取电子邮件投递状态的方法、装置和计算机存储介质Method, device and computer storage medium for obtaining email delivery status 技术领域Technical field
本发明涉及通信领域,尤其涉及一种获取电子邮件投递状态的方法、装置和计算机存储介质。The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a computer storage medium for acquiring an email delivery status.
背景技术Background technique
电子邮件是Internet服务中重要的应用之一。目前应用于电子邮件发送和接收的协议主要有简单邮件传输协议(SMTP,Simple Mail Transfer Protocol)、邮局协议版本3(POP3,Post Office Protocol–Version 3)和互联网消息访问协议版本4(IMAP4,Internet Message Access Protocol-Version4),其中,SMTP协议及IMAP4协议的某些扩展协议可用于电子邮件的发送(既将电子邮件从发件终端传送至邮件服务器)以及在网络中的传输(即将电子邮件从一台服务器传送至另一台服务器);POP3协议与IMAP4协议用于电子邮件的接收(即将电子邮件从邮件服务器传送到收件终端);这些协议保证用户可以将电子邮件顺利的递送至所预期的收件人。Email is one of the most important applications in Internet services. The protocols currently used for email sending and receiving are mainly Simple Mail Transfer Protocol (SMTP), Post Office Protocol Version 3 (POP3), and Internet Message Access Protocol version 4 (IMAP4, Internet). Message Access Protocol-Version4), in which the SMTP protocol and some extension protocols of the IMAP4 protocol can be used for the transmission of e-mail (both e-mail from the sending terminal to the mail server) and the transmission in the network (ie, the e-mail from One server is transferred to another server); POP3 protocol and IMAP4 protocol are used for receiving emails (ie, emails are sent from the mail server to the receiving terminal); these protocols ensure that users can deliver emails as expected. Recipient.
电子邮件回执信息便于了解已发送邮件的投递状态,其中,投递状态包括:成功到达对方邮箱、未到达对方邮箱、被对方拒收/退回、成功到达对方服务器、未到达对方服务器、对方服务器未响应、重新投递中、正在处理中、发送不成功、收件人是否已经阅读、删除等,这些投递状态通常都是发件终端用户在发送电子邮件时,通过在电子邮件客户端中设置回执选项后才能获得。The email receipt information is convenient for understanding the delivery status of the sent mail. The delivery status includes: successfully reaching the other party's mailbox, not reaching the other party's mailbox, being rejected/returned by the other party, successfully reaching the other server, not reaching the other server, and the other server is not responding. , re-delivery, processing, unsuccessful delivery, whether the recipient has read, deleted, etc. These delivery statuses are usually sent by the sending terminal user after sending the email by setting the receipt option in the email client. Can be obtained.
可见,上述这种邮件回执业务属于被动获取电子邮件投递状态的方法,需要在发送邮件的同时发送获取回执的消息,从而将获取回执的消息和电子邮件打包在一起发送,然而,对于那些已经发送、且没有设置回执选项 的邮件,就无法通过这种方式获取这些邮件的投递状态了。It can be seen that the above-mentioned mail return service belongs to a method for passively obtaining an e-mail delivery status, and needs to send a message for acquiring a receipt at the same time as sending an e-mail, so that the message for obtaining the receipt is packaged and sent together, but for those already sent. And no receipt option is set Mail, you can't get the delivery status of these messages in this way.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例期望提供一种获取电子邮件投递状态的方法和装置。In order to solve the existing technical problems, embodiments of the present invention are expected to provide a method and apparatus for obtaining an email delivery status.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种获取电子邮件投递状态的方法,所述方法包括:An embodiment of the present invention provides a method for obtaining an email delivery status, where the method includes:
业务服务器接收第一终端发起的获取第二终端中特定电子邮件的投递状态的请求,所述特定电子邮件是所述第一终端已通过所述业务服务器向所述第二终端发送的电子邮件;The service server receives a request initiated by the first terminal to obtain a delivery status of a specific email in the second terminal, where the specific email is an email that the first terminal has sent to the second terminal by using the service server;
业务服务器根据所述请求获取对应所述特定电子邮件的投递状态并发送给第一终端。The service server acquires a delivery status corresponding to the specific email according to the request and sends the delivery status to the first terminal.
上述方案中,所述获取特定电子邮件的投递状态的请求,包括:所述特定电子邮件的标识信息;In the above solution, the request for obtaining a delivery status of a specific email includes: identifier information of the specific email;
所述标识信息包括:所述特定电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the specific email.
上述方案中国,所述标识信息还包括以下信息中的至少之一:In the above solution China, the identification information further includes at least one of the following information:
所述特定电子邮件的发送时间、邮件标题及邮件关键字。The sending time, mail header, and mail keyword of the specific email.
上述方案中,所述业务服务器根据所述请求获取对应特定电子邮件的投递状态,包括:In the foregoing solution, the service server acquires a delivery status corresponding to a specific email according to the request, and includes:
业务服务器根据所述请求中的标识信息在记录有电子邮件投递状态的数据库中查找与所述标识信息相对应的投递状态。The service server searches for a delivery status corresponding to the identification information in a database in which the email delivery status is recorded, based on the identification information in the request.
上述方案中,在业务服务器根据所述请求获取对应特定电子邮件的投递状态之前,所述方法还包括:In the above solution, before the service server obtains the delivery status corresponding to the specific email according to the request, the method further includes:
业务服务器通过以下方式建立记录电子邮件投递状态的数据库:The business server establishes a database that records the status of email delivery by:
每当业务服务器接收到电子邮件时,提取所述电子邮件的标识信息, 并以所述标识信息作为索引建立数据记录,所述数据记录包括所述电子邮件的投递状态;Whenever the business server receives the email, extracting the identification information of the email, And establishing, by using the identifier information as an index, a data record, where the data record includes a delivery status of the email;
当所述电子邮件的投递状态更新时,将更新的投递状态写入所述标识信息对应的数据记录中。When the delivery status of the email is updated, the updated delivery status is written in the data record corresponding to the identification information.
上述方案中,所述电子邮件的投递状态通过以下方式确定:In the above solution, the delivery status of the email is determined by:
确定第二终端接收电子邮件时采用的电子邮件收发协议;根据所述电子邮件收发协议确定第二终端对所述电子邮件执行的操作命令,根据所述确定的电子邮件收发协议对第二终端执行的操作命令进行解析,确定所述电子邮件的投递状态。Determining an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail; determining, according to the e-mail protocol, an operation command performed by the second terminal on the e-mail, performing, on the second terminal, according to the determined e-mail transceiving protocol The operation command is parsed to determine the delivery status of the email.
本发明实施例提供了一种获取电子邮件投递状态的方法,所述方法包括:An embodiment of the present invention provides a method for obtaining an email delivery status, where the method includes:
第一终端通过业务服务器向第二终端发送电子邮件之后,向业务服务器发起获取所述电子邮件投递状态的请求;After the first terminal sends an email to the second terminal by using the service server, the first server sends a request for acquiring the email delivery status to the service server;
第一终端接收业务服务器返回的所述电子邮件的投递状态。The first terminal receives the delivery status of the email returned by the service server.
上述方案中,所述获取所述电子邮件的投递状态的请求,包括:所述电子邮件的标识信息;In the above solution, the request for obtaining the delivery status of the email includes: identifier information of the email;
所述标识信息包括:所述电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the email.
上述方案中,所述标识信息还包括以下信息中的至少之一:In the above solution, the identifier information further includes at least one of the following information:
所述电子邮件的发送时间、邮件标题及邮件关键字。The email sending time, mail header, and mail keyword.
本发明实施例提供一种业务服务器,所述业务服务器包括:第一请求接收模块、请求处理模块及响应发送模块;其中,An embodiment of the present invention provides a service server, where the service server includes: a first request receiving module, a request processing module, and a response sending module;
所述第一请求接收模块,配置为接收第一终端发送的获取第二终端中特定电子邮件投递状态的请求,所述特定电子邮件是所述第一终端已经发送给第二终端的电子邮件;The first request receiving module is configured to receive, by the first terminal, a request for acquiring a specific email delivery status in the second terminal, where the specific email is an email that the first terminal has sent to the second terminal;
所述请求处理模块,配置为根据所述获取电子邮件投递状态的请求获取对应所述特定电子邮件的投递状态; The request processing module is configured to acquire, according to the request for acquiring an email delivery status, a delivery status corresponding to the specific email;
所述响应发送模块,配置为将所述电子邮件的投递状态发送给第一终端。The response sending module is configured to send the delivery status of the email to the first terminal.
上述方案中,所述获取特定电子邮件投递状态的请求,包括:所述特定电子邮件的标识信息;In the above solution, the request for acquiring a specific email delivery status includes: identifier information of the specific email;
所述标识信息,包括:所述特定电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the specific email.
上述方案中,所述标识信息还包括以下信息中的至少之一:In the above solution, the identifier information further includes at least one of the following information:
所述特定电子邮件的发送时间、邮件标题及邮件关键字。The sending time, mail header, and mail keyword of the specific email.
上述方案中,所述请求处理模块根据所述请求获取对应特定电子邮件的投递状态,包括:In the above solution, the request processing module acquires a delivery status corresponding to a specific email according to the request, including:
根据所述请求中的标识信息在记录有电子邮件投递状态的数据库中查找与所述标识信息对应的投递状态。A delivery status corresponding to the identification information is searched for in the database in which the email delivery status is recorded based on the identification information in the request.
上述方案中,所述业务服务器,还包括:数据库建立模块,配置为通过以下方式建立记录电子邮件投递状态的数据库:In the foregoing solution, the service server further includes: a database establishing module configured to establish a database for recording an email delivery status by:
每当接收到电子邮件时,提取所述电子邮件的标识信息,并以所述标识信息作为索引建立数据记录,所述数据记录包括所述电子邮件的投递状态;当所述电子邮件的投递状态更新时,将更新的投递状态写入所述标识信息对应的数据记录中。Whenever an email is received, extracting the identification information of the email, and establishing the data record with the identification information as an index, the data record including a delivery status of the email; when the email is delivered When updating, the updated delivery status is written into the data record corresponding to the identification information.
上述方案中,所述业务服务器还包括,投递状态确定模块,配置为根据以下方式确定第二终端接收到的电子邮件的投递状态:In the above solution, the service server further includes: a delivery status determining module, configured to determine a delivery status of the email received by the second terminal according to the following manner:
确定第二终端接收电子邮件时采用的电子邮件收发协议;并根据所述电子邮件收发协议确定第二终端对所述电子邮件执行的操作命令,根据所述确定的电子邮件收发协议对第二终端执行的操作命令进行解析,确定所述电子邮件的投递状态。Determining an email transceiving protocol adopted by the second terminal when receiving the email; and determining, according to the email sending and receiving protocol, an operation command performed by the second terminal on the email, according to the determined email sending and receiving protocol to the second terminal The executed operation command is parsed to determine the delivery status of the email.
本发明实施例提供了一种获取电子邮件投递状态的装置,所述装置包括:请求发送模块和响应接收模块;其中,An embodiment of the present invention provides an apparatus for obtaining an email delivery status, where the apparatus includes: a request sending module and a response receiving module;
所述请求发送模块,配置为通过业务服务器向第二终端发送电子邮件 之后,向业务服务器发送获取所述电子邮件投递状态的请求;The request sending module is configured to send an email to the second terminal by using the service server Afterwards, sending a request for obtaining the email delivery status to the service server;
所述响应接收模块,配置为接收业务服务器返回的第二终端的电子邮件投递状态。The response receiving module is configured to receive an email delivery status of the second terminal returned by the service server.
上述方案中,所述获取所述电子邮件的投递状态的请求,包括:所述电子邮件的标识信息;In the above solution, the request for obtaining the delivery status of the email includes: identifier information of the email;
所述标识信息包括:所述电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the email.
上述方案中,所述标识信息还包括以下信息中的至少之一:In the above solution, the identifier information further includes at least one of the following information:
所述电子邮件的发送时间、邮件标题及邮件关键字。The email sending time, mail header, and mail keyword.
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行业务服务器的获取电子邮件投递状态的方法。Embodiments of the present invention also provide a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method of obtaining an email delivery status of a service server.
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行第一终端的获取电子邮件投递状态的方法。The embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method for acquiring an email delivery status of the first terminal.
本发明实施例提供了一种获取电子邮件投递状态的方法、装置和计算机存储介质,业务服务器接收第一终端发起的获取第二终端中特定电子邮件的投递状态的请求,所述特定电子邮件是所述第一终端已通过所述业务服务器向所述第二终端发送的电子邮件;业务服务器根据所述请求获取对应所述特定电子邮件的投递状态并发送给第一终端。如此,第一终端能够根据自身需要对已发送的电子邮件的投递状态进行查看,该方法简单、快捷,能够大大提高用户的体验。An embodiment of the present invention provides a method, an apparatus, and a computer storage medium for acquiring an email delivery status, where a service server receives a request initiated by a first terminal to obtain a delivery status of a specific email in a second terminal, where the specific email is The e-mail sent by the first terminal to the second terminal by the service server; the service server acquires a delivery status corresponding to the specific e-mail according to the request, and sends the delivery status to the first terminal. In this way, the first terminal can view the delivery status of the sent email according to its own needs, and the method is simple and fast, and can greatly improve the user experience.
附图说明DRAWINGS
图1为本发明实施例提供的电子邮件投递状态获取方法的流程示意图一;1 is a schematic flowchart 1 of an e-mail delivery state obtaining method according to an embodiment of the present invention;
图2为本发明实施例提供的电子邮件处理系统结构示意图一; 2 is a schematic structural diagram 1 of an email processing system according to an embodiment of the present invention;
图3为本发明实施例提供的电子邮件处理系统结构示意图二;3 is a schematic structural diagram 2 of an email processing system according to an embodiment of the present invention;
图4为本发明实施例提供的电子邮件投递状态获取方法的流程示意图二;4 is a second schematic flowchart of a method for acquiring an email delivery state according to an embodiment of the present invention;
图5为本发明实施例提供的电子邮件投递状态获取装置的结构示意图一;FIG. 5 is a schematic structural diagram 1 of an apparatus for acquiring an email delivery state according to an embodiment of the present invention;
图6为本发明实施例提供的业务服务器的结构示意图一;FIG. 6 is a schematic structural diagram 1 of a service server according to an embodiment of the present invention;
图7为本发明实施例提供的业务服务器的结构示意图二。FIG. 7 is a schematic structural diagram 2 of a service server according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例中,业务服务器接收第一终端发起的获取第二终端中特定电子邮件的投递状态的请求,所述特定电子邮件是所述第一终端已通过所述业务服务器向所述第二终端发送的电子邮件;业务服务器根据所述请求获取对应所述特定电子邮件的投递状态并发送给第一终端。In the embodiment of the present invention, the service server receives, by the first terminal, a request for acquiring a delivery status of a specific email in the second terminal, where the specific email is that the first terminal has passed the service server to the second An email sent by the terminal; the service server acquires a delivery status corresponding to the specific email according to the request and sends the delivery status to the first terminal.
这里,所述第一终端、第二终端仅为区分不同终端,而不用于限制;其中,第一终端是指一种能够向业务服务器发起获取第二终端中电子邮件投递状态请求的终端;第二终端是指区别于第一终端的终端。Here, the first terminal and the second terminal are only used to distinguish different terminals, and are not used for limitation; wherein, the first terminal refers to a terminal that can initiate an acquisition of an email delivery status request in the second terminal to the service server; The second terminal refers to a terminal that is different from the first terminal.
下面通过附图及具体实施例对本发明做进一步的详细说明。The invention will be further described in detail below with reference to the drawings and specific embodiments.
本发明实施例实现一种获取电子邮件投递状态的方法,如图1所示,该方法主要包括以下几个步骤:The embodiment of the invention implements a method for obtaining an email delivery status. As shown in FIG. 1 , the method mainly includes the following steps:
步骤101:业务服务器接收第一终端发起的获取第二终端中特定电子邮件的投递状态的请求,所述特定电子邮件是所述第一终端已通过所述业务服务器向所述第二终端发送的电子邮件;Step 101: The service server receives, by the first terminal, a request for acquiring a delivery status of a specific email in the second terminal, where the specific email is sent by the first terminal to the second terminal by using the service server. e-mail;
具体的,所述业务服务器可以包括:第一业务服务器和第二业务服务器;所述第一业务服务器是指第一终端的本地业务服务器,用于为第一终端处理电子邮件业务,第二业务服务器是指用于处理第二终端电子邮件业务的服务器;需要说明的是,第一业务服务器和第二业务服务器可以是不 同的业务处理器,也可以是同一台业务服务器;Specifically, the service server may include: a first service server and a second service server; the first service server is a local service server of the first terminal, configured to process an email service for the first terminal, and the second service The server refers to a server for processing the email service of the second terminal; it should be noted that the first service server and the second service server may be The same service processor can also be the same service server;
当第一业务服务器和第二业务服务器不是同一台业务服务器时,电子邮件处理系统的整体结构图如图2所示,第一业务服务器接收到第一终端发起的获取第二终端中电子邮件投递状态的请求(为方便起见,以下简称为邮件投递状态获取请求)时,通过网络将所述邮件投递状态获取请求转发给第二业务服务器,此时,由第二业务服务器对所述邮件投递状态获取请求进行处理;When the first service server and the second service server are not the same service server, the overall structure of the email processing system is as shown in FIG. 2, and the first service server receives the email delivery initiated by the first terminal and acquires the second terminal. The status request (for convenience, hereinafter referred to as the mail delivery status acquisition request), forwards the mail delivery status acquisition request to the second service server through the network, and at this time, the second service server delivers the status to the mail. Get the request for processing;
当第一业务服务器和第二业务服务器为同一台业务服务器(即,业务服务器)时,电子邮件处理系统的整体结构图如图3所示,该业务服务器接收到第一终端发送的邮件投递状态获取请求,之后,直接对该请求进行处理。When the first service server and the second service server are the same service server (ie, the service server), the overall structure of the email processing system is as shown in FIG. 3, and the service server receives the mail delivery status sent by the first terminal. Get the request, then process the request directly.
具体的,所述邮件投递状态获取请求主要包括:所述特定电子邮件的标识信息,业务服务器可根据该标识信息检索出所述特定电子邮件的投递状态;Specifically, the mail delivery status acquisition request mainly includes: identifier information of the specific email, and the service server may retrieve, according to the identifier information, a delivery status of the specific email;
更具体的,所述标识信息,包括:所述特定电子邮件的发件人地址和收件人地址;进一步的,所述标识信息还可以包括以下信息其中任一项或其任意组合:More specifically, the identification information includes: a sender address and a recipient address of the specific email; further, the identifier information may further include any one of the following information or any combination thereof:
所述特定电子邮件的发送时间、邮件标题及邮件关键字。The sending time, mail header, and mail keyword of the specific email.
发送时间即第一终端发送电子邮件的时间、邮件标题是指邮件标题栏中的内容、邮件关键字可以为邮件正文中的任意文本格式的内容。The sending time is the time when the first terminal sends the email, the mail header refers to the content in the title bar of the mail, and the mail keyword can be the content of any text format in the body of the mail.
步骤102:业务服务器根据所述请求获取对应特定电子邮件的投递状态并发送给第一终端;Step 102: The service server acquires a delivery status corresponding to the specific email according to the request, and sends the delivery status to the first terminal.
具体的,所述业务服务器根据所述请求获取对应特定电子邮件的投递状态,包括:Specifically, the service server acquires a delivery status corresponding to the specific email according to the request, including:
业务服务器根据所述请求中的标识信息在记录有电子邮件投递状态的数据库中查找与所述特定电子邮件的标识信息相对应的投递状态。 The service server searches for a delivery status corresponding to the identification information of the specific email in a database in which the email delivery status is recorded, based on the identification information in the request.
具体的,在该步骤之前,还包括:业务服务器建立记录电子邮件投递状态的数据库;Specifically, before the step, the method further includes: the service server establishes a database for recording an email delivery status;
具体的,业务服务器通过以下方式建立记录电子邮件投递状态的数据库:Specifically, the business server establishes a database for recording the status of email delivery by:
每当业务服务器接收到电子邮件时,提取所述电子邮件的标识信息,并以所述标识信息作为索引建立数据记录,所述数据记录包括所述电子邮件的投递状态;当所述电子邮件的投递状态更新时,将更新的投递状态写入所述标识信息对应的数据记录中;具体的,所述投递状态包括:状态名和状态更新时间;Whenever the service server receives the email, extracting the identification information of the email, and establishing the data record with the identifier information as an index, the data record including the delivery status of the email; when the email is When the delivery status is updated, the updated delivery status is written in the data record corresponding to the identification information; specifically, the delivery status includes: a status name and a status update time;
示例性的电子邮件投递状态的数据记录如表1和表2所示所示,其中,表1中的电子邮件在发送之后经历了已读取、已删除和已恢复这三种状态;表2中的电子邮件发送之后则一直处于未读取状态;其中的投递状态均由状态名和状态更新时间组成;表1和表2示出的特定电子邮件的标识信息均包括:发件人地址:abc@zte.com.cn、收件人地址:def@zte.com.cn及邮件标题:aaaaa。The data records of the exemplary email delivery status are shown in Tables 1 and 2, wherein the emails in Table 1 have undergone three states of read, deleted, and restored after being sent; After the e-mail is sent, it is always in the unread state; the delivery status is composed of the status name and the status update time; the identification information of the specific e-mail shown in Table 1 and Table 2 includes: the sender address: abc @zte.com.cn, recipient address: def@zte.com.cn and email title: aaaaa.
Figure PCTCN2014089092-appb-000001
Figure PCTCN2014089092-appb-000001
表1Table 1
Figure PCTCN2014089092-appb-000002
Figure PCTCN2014089092-appb-000002
表2Table 2
具体的,业务服务器根据以下方法确定第二终端接收到的电子邮件的 投递状态:Specifically, the service server determines, according to the following method, the email received by the second terminal. Delivery status:
确定第二终端接收电子邮件时采用的电子邮件收发协议;根据所述电子邮件收发协议确定第二终端对所述电子邮件执行的操作命令,根据所述确定的电子邮件收发协议对第二终端执行的操作命令进行解析,确定所述电子邮件的投递状态。Determining an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail; determining, according to the e-mail protocol, an operation command performed by the second terminal on the e-mail, performing, on the second terminal, according to the determined e-mail transceiving protocol The operation command is parsed to determine the delivery status of the email.
具体的,这里的电子邮件收发协议,可包括各种类型的电子邮件收发协议,例如:IMAP、POP、SMTP等协议的各种版本;由于不同电子邮件收发协议所对应的操作命令有所不同,因此,这里需要先确定第二终端接收电子邮件时采用的电子邮件收发协议;具体的,业务服务器可以通过多种方式获取第二终端接收电子邮件时采用的电子邮件收发协议,例如,由于第二终端是从业务服务器接收电子邮件的,因此,当第二终端与业务服务器建立连接时,进行邮件接收的交互过程中,即可获知第二终端电子邮件时采用的电子邮件收发协议;接下来,业务服务器记录第二终端用户执行的操作命令时,记录的信息包括:操作命令的名称及该操作命令的起始执行时间;业务服务器对相应的操作命令进行解析确定第二终端用户执行的操作,当所述操作命令执行完毕时,业务服务器根据第二终端用户执行的操作更新第二终端的投递状态。Specifically, the e-mail protocol here may include various types of e-mail transceiving protocols, such as various versions of protocols such as IMAP, POP, and SMTP; since different e-mail transceiving protocols correspond to different operating commands, Therefore, the e-mail transceiving protocol used by the second terminal to receive the e-mail needs to be determined first; in particular, the service server can obtain the e-mail transceiving protocol used by the second terminal when receiving the e-mail, for example, due to the second The terminal receives the e-mail from the service server. Therefore, when the second terminal establishes a connection with the service server, the e-mail transceiving protocol used by the second terminal e-mail can be obtained during the interaction process of the e-mail receiving; When the service server records an operation command executed by the second terminal user, the recorded information includes: a name of the operation command and a start execution time of the operation command; and the service server parses the corresponding operation command to determine an operation performed by the second terminal user, When the operation command is executed, the industry Operation of the server to update the delivery status of the second terminal according to the second end user performed.
可见通过本发明实施例提供的获取电子邮件投递状态的方法,用户可以在发送电子邮件时、或发送电子邮件后,向业务服务器单独发送获取电子邮件投递状态的请求,以获取任何用户希望获取的已发送的电子邮件的投递状态。It can be seen that, by using the method for obtaining the email delivery status provided by the embodiment of the present invention, the user may separately send a request for obtaining the email delivery status to the service server when sending the email or after sending the email, so as to obtain any user desire to obtain. The delivery status of the sent email.
下面通过具体实施例对本发明提供的电子邮件投递状态获取方法进行详细介绍;以下实施例中,第一业务服务器和第二业务服务器不是同一台业务服务器,其主要处理流程如图4所示。The following is a detailed description of the method for obtaining the e-mail delivery status provided by the present invention. In the following embodiments, the first service server and the second service server are not the same service server, and the main processing flow is shown in FIG. 4 .
实施例一Embodiment 1
步骤400:因为第二终端采用POP3协议接收邮件,第二业务服务器根 据第二终端执行的操作命令来记录和存储电子邮件的投递状态。当第二终端采取POP3协议的RETR命令操作,并在返回结果为OK时,第二终端所属业务服务器记录该邮件状态为已读取;当第二终端采用DELE<mail id>命令操作,并在其返回结果为OK时,第二终端业务服务器记录该邮件状态为软删除,当会话结束使用QUIT命令操作时,第二终端所属业务服务器将该邮件的状态记录为已删除。当邮件状态为软删除,并在使用RSET<mailid>对该邮件进行恢复时,第二终端所属业务服务器把该邮件的记录状态从软删除更新为保留。Step 400: Because the second terminal receives the mail by using the POP3 protocol, the second service server root The delivery status of the email is recorded and stored according to an operation command executed by the second terminal. When the second terminal adopts the RETR command operation of the POP3 protocol, and the return result is OK, the service server to which the second terminal belongs records the status of the mail as read; when the second terminal operates by using the DELE<mail id> command, and When the return result is OK, the second terminal service server records the status of the mail as soft deletion. When the session ends using the QUIT command, the service server to which the second terminal belongs records the status of the mail as deleted. When the mail status is soft delete and the mail is restored using RSET<mailid>, the business server to which the second terminal belongs updates the record status of the mail from soft delete to reserved.
步骤401:根据第一终端用户的要求,第一终端向第一业务服务器发出邮件投递状态获取请求,该请求中包含第一终端用户期望获取其投递状态的电子邮件的标识信息(如:收件人名称、邮件标题、大小、发送时间等);Step 401: According to the request of the first terminal user, the first terminal sends a mail delivery status acquisition request to the first service server, where the request includes the identifier information of the email that the first terminal user desires to obtain the delivery status (eg, the recipient Name of person, mail title, size, time of sending, etc.);
步骤402:第一业务服务器收到电子邮件投递状态获取请求后,根据所述标识信息中的接收者将该请求转发给第二业务服务器;Step 402: After receiving the email delivery status acquisition request, the first service server forwards the request to the second service server according to the receiver in the identifier information.
步骤403:第二业务服务器解析电子邮件投递状态请求消息,解析的过程是从主题或其它信息栏中解析电子邮件请求的内容从中得到包括发件人名称,收件人名称,查询关键字和时间。第二终端所属的第二业务服务器检索电子邮件投递状态的方式是根据收件人名称,发件人名称,查询关键字,和时间等信息在其记录的电子邮件投递状态数据库中检索该邮件的投递状态。Step 403: The second service server parses the email delivery status request message, and the parsing process is to extract the content of the email request from the subject or other information column, including the sender name, the recipient name, the query keyword, and the time. . The second service server to which the second terminal belongs retrieves the email delivery status by searching for the mail in the email delivery status database of the record according to the recipient name, the sender name, the query keyword, and the time information. Delivery status.
步骤404:收件方邮件服务器根据搜索结果,向第一业务服务器返回邮件投递状态响应,响应消息中指明该邮件的投递状态(包括以下信息其中任一项或其任意组合:1、第二终端所属的第二业务服务器接收邮件时间、2、已读取和读取时间、或未读取、3、已删除和删除时间、或未删除、4、已保留和保留时间);Step 404: The recipient mail server returns a mail delivery status response to the first service server according to the search result, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1. the second terminal The second service server to which it belongs receives the mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time);
步骤405:第一业务服务器向第一终端返回邮件投递状态响应,响应消息中指明该邮件的投递状态(包括以下信息其中任一项或其任意组合:1、 第二终端所属的第二业务服务器接收邮件时间、2、已读取和读取时间、或未读取、3、已删除和删除时间、或未删除、4、已保留和保留时间、5、软删除和软删除时间)。Step 405: The first service server returns a mail delivery status response to the first terminal, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1. The second service server to which the second terminal belongs receives the mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, Soft delete and soft delete time).
实施例二Embodiment 2
步骤400:因为收件方采用IMAP4协议接收电子邮件,可以根据接通过接收方的接收命令来记录和存储电子邮件的投递状态。当第二终端采用IMAP4协议接收电子邮件的情况下,当第二终端使用STORE<mail id><new attributes>操作改变邮件属性时,其客户端对应的业务服务器根据该命令的mail id和new attributes记录和更新邮件的投递状态。当new attribute属性为Seen且该命令返回结果为OK时客户端业务服务器记录该邮件投递状态为已读取。当new attribute属性为delete时标记该邮件投递状态为软删除,并在客户端使用CLOSE命令或者使用LOGOUT、EXPUNGE命令时,客户端所属的邮件服务器把记录为软删除的邮件的投递状态更新为已删除。Step 400: Since the recipient receives the email using the IMAP4 protocol, the delivery status of the email can be recorded and stored according to the receiving command received by the recipient. When the second terminal receives the email by using the IMAP4 protocol, when the second terminal changes the mail attribute by using the STORE<mail id><new attributes> operation, the service server corresponding to the client according to the mail id and new attributes of the command Record and update the delivery status of the message. When the new attribute attribute is Seen and the command returns OK, the client business server records the mail delivery status as read. When the new attribute attribute is delete, the mail delivery status is marked as soft delete, and when the client uses the CLOSE command or uses the LOGOUT, EXPUNGE command, the mail server to which the client belongs updates the delivery status of the mail recorded as soft deleted to delete.
步骤401:根据第一终端用户的要求,第一终端向第一业务服务器发出邮件投递状态获取请求,请求中包含所期望获取其投递状态的电子邮件的标识信息(如收件人名称、邮件标题、大小、发送时间等);Step 401: According to the request of the first terminal user, the first terminal sends a mail delivery status acquisition request to the first service server, where the request includes the identification information (such as the recipient name and the mail header) of the email that is expected to obtain the delivery status. , size, sending time, etc.);
发送邮件投递状态获取请求的过程可以和发送一封邮件过程相似,可以通过终端和业务服务器的约定,在主题或者收件人或者其他信息栏中携带双方约定的表示获取邮件投递状态的特殊标识,例如,以特殊地址的收件人作为标识,同时主题栏里填入期望获取投递状态的电子邮件的标识(包括:发件人地址,发送时间,邮件主题);也可以通过在终端界面上的设置选项或按钮等方式,方便第一终端用户向第二业务服务器发起邮件投递状态获取请求,而第一终端用户只需要选择或键入希望获取邮件投递状态的电子邮件的标识信息即可;The process of sending a mail delivery status acquisition request may be similar to the process of sending an email, and may carry a special identifier indicating the status of the delivery of the mail in the subject or the recipient or other information column through the agreement of the terminal and the service server. For example, the recipient of the special address is used as the identifier, and the subject line is filled with the identifier of the email that is expected to obtain the delivery status (including: sender address, sending time, email subject); also through the terminal interface Setting an option or a button to facilitate the first terminal user to initiate a mail delivery status acquisition request to the second service server, and the first terminal user only needs to select or type the identification information of the email that wants to obtain the mail delivery status;
步骤402:第一业务服务器收到电子邮件投递状态获取请求后,根据所述标识信息中的接收者将该请求转发给第二业务服务器。 Step 402: After receiving the email delivery status acquisition request, the first service server forwards the request to the second service server according to the receiver in the identifier information.
步骤403:第二业务服务器解析电子邮件投递状态请求消息,解析的过程是从主题或其它信息栏中解析邮件投递状态获取请求的内容从中得到包括发件人名称,收件人名称,查询关键字和时间。第二终端所属的业务服务器检索电子邮件投递状态的方式是根据收件人名称,发件人名称,查询关键字,和时间等信息在其记录有电子邮件投递状态的数据库中检索该邮件的投递状态。Step 403: The second service server parses the email delivery status request message, and the parsing process is to obtain the content of the mail delivery status acquisition request from the subject or other information column, including the sender name, the recipient name, and the query keyword. and time. The manner in which the service server to which the second terminal belongs retrieves the email delivery status is to retrieve the delivery of the email in the database in which the email delivery status is recorded according to the recipient name, sender name, query keyword, and time information. status.
步骤404:第二业务服务器根据检索结果,向第一业务服务器返回邮件投递状态响应,响应消息中指明该邮件的投递状态(包括以下信息其中任一项或其任意组合:1、第二终端所属的第二业务服务器接收邮件时间、2、已读取和读取时间、或未读取、3、已删除和删除时间、或未删除、4、已保留和保留时间、5、软删除和软删除时间)Step 404: The second service server returns a mail delivery status response to the first service server according to the retrieval result, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1. the second terminal belongs to Second business server receiving mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft deleted and soft Delete time)
步骤405:第一业务服务器向第一终端返回邮件投递状态响应,响应消息中指明该邮件的投递状态(包括以下信息其中任一项或其任意组合:1、第二终端所属的第二业务服务器接收邮件时间、2、已读取和读取时间、或未读取、3、已删除和删除时间、或未删除、4、已保留和保留时间、5、软删除和软删除时间)Step 405: The first service server returns a mail delivery status response to the first terminal, and the response message indicates the delivery status of the mail (including any one of the following information or any combination thereof: 1. The second service server to which the second terminal belongs. Receive mail time, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft delete and soft delete time)
为了实现上述方法,本发明实施例还提供了一种获取电子邮件投递状态的装置,位于上述第一终端中,如图5所示,该装置包括:请求发送模块51和响应接收模块52;其中,In order to implement the above method, an embodiment of the present invention further provides an apparatus for acquiring an email delivery status, which is located in the first terminal, as shown in FIG. 5, the apparatus includes: a request sending module 51 and a response receiving module 52; ,
所述请求发送模块51,配置为通过业务服务器向第二终端发送电子邮件之后,向业务服务器发送获取所述电子邮件投递状态的请求;The request sending module 51 is configured to send a request for acquiring the email delivery status to the service server after sending the email to the second terminal by the service server;
所述响应接收模块52,配置为接收业务服务器返回的第二终端的电子邮件投递状态的信息。The response receiving module 52 is configured to receive information of an email delivery status of the second terminal returned by the service server.
所述邮件投递状态获取请求主要包括:第一终端期望获取投递状态的电子邮件的标识信息,业务服务器可根据该标识信息检索出所述电子邮件的投递状态; The mail delivery status acquisition request mainly includes: the first terminal desires to obtain the identification information of the email in the delivery status, and the service server may retrieve the delivery status of the email according to the identification information;
所述标识信息,包括:所述电子邮件的发件人地址和收件人地址;The identification information includes: a sender address and a recipient address of the email;
所述标识信息还可以包括以下信息其中任一项或其任意组合:The identification information may also include any one of the following information or any combination thereof:
所述电子邮件的发送时间、邮件大小、邮件标题及邮件关键字。The email sending time, mail size, mail header, and mail keyword.
发送时间即第一终端发送电子邮件的时间、邮件标题是指邮件标题栏中的内容、邮件关键字可以为邮件正文中的任意文本格式的内容。The sending time is the time when the first terminal sends the email, the mail header refers to the content in the title bar of the mail, and the mail keyword can be the content of any text format in the body of the mail.
所述响应接收模块52接收到的业务服务器返回所述电子邮件的投递状态的,包括以下信息其中任一项或其任意组合:1、第二终端所属的第二业务服务器接收邮件时间、2、已读取和读取时间、或未读取、3、已删除和删除时间、或未删除、4、已保留和保留时间、5、软删除和软删除时间。The service server received by the response receiving module 52 returns the delivery status of the email, including any one of the following information or any combination thereof: 1. The second service server to which the second terminal belongs receives the mail time, 2. Read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft delete and soft delete time.
在具体实施过程中,所述请求发送模块51和响应接收模块52在实际应用中,可由位于终端的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)实现。In a specific implementation process, the request sending module 51 and the response receiving module 52 may be in a practical application by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a site located at the terminal. Programmable Gate Array (FPGA) implementation.
为了实现上述方法,本发明实施例还提供了一种业务服务器,如图6所示,该业务服务器包括:第一请求接收模块61、请求处理模块62及响应发送模块63;其中,In order to implement the above method, the embodiment of the present invention further provides a service server. As shown in FIG. 6, the service server includes: a first request receiving module 61, a request processing module 62, and a response sending module 63.
所述第一请求接收模块61,配置为接收第一终端发送的获取第二终端中特定电子邮件投递状态的请求;所述特定电子邮件是所述第一终端已发送给第二终端的电子邮件;The first request receiving module 61 is configured to receive a request sent by the first terminal to obtain a specific email delivery status in the second terminal; the specific email is an email that the first terminal has sent to the second terminal ;
所述请求处理模块62,配置为根据所述获取电子邮件投递状态的请求获取对应所述特定电子邮件的投递状态;The request processing module 62 is configured to acquire, according to the request for acquiring an email delivery status, a delivery status corresponding to the specific email;
所述响应发送模块63,配置为将所述电子邮件的投递状态发送给第一终端。The response sending module 63 is configured to send the delivery status of the email to the first terminal.
所述业务服务器包括:第一业务服务器和第二业务服务器;所述第一业务服务器处理第一终端发送的邮件、所述第二业务服务器处理第二终端接收的邮件;第一业务服务器和第二业务服务器可以是同一台业务服务器也可以分别属于不同的业务服务器,因此,本发明实施例所述业务服务器 可包括以下两种结构:The service server includes: a first service server and a second service server; the first service server processes the mail sent by the first terminal, and the second service server processes the mail received by the second terminal; the first service server and the first service server The service servers may be the same service server or may belong to different service servers. Therefore, the service server according to the embodiment of the present invention It can include the following two structures:
第一种结构:第一业务服务器和第二业务服务器为同一台业务服务器(记为业务服务器),所述第一请求接收模块61、请求处理模块62及响应发送模块63位于该业务服务器中,此时,其基本结构框图和图6相同,其中各组成模块执行与上述相同的功能;The first structure: the first service server and the second service server are the same service server (referred to as a service server), and the first request receiving module 61, the request processing module 62, and the response sending module 63 are located in the service server. At this time, the basic structural block diagram is the same as that of FIG. 6, wherein each component module performs the same function as described above;
第二种结构:第一业务服务器和第二业务服务器不是同一台业务服务器,所述第一请求接收模块61位于第一业务服务器中,所述请求处理模块62及响应发送模块63位于第二业务服务器中;此时,其基本结构框图如图7所示;与第一种结构不同的是,所述第一请求接收模块61,配置为接收获取第二终端中电子邮件投递状态的请求,根据所述获取电子邮件投递状态的请求中的标识信息将所述请求并转发给第二业务服务器;所述第二业务服务器还包括:第二请求接收模块64,配置为接收第一请求接收模块61转发的获取第二终端中电子邮件投递状态的请求;则此时,位于第二业务服务器中的请求处理模块62,配置为根据所述获取电子邮件投递状态的请求获取所述电子邮件的投递状态;位于第二业务服务器中的响应发送模块63,配置为将所述电子邮件的投递状态发送给第一终端。The second structure: the first service server and the second service server are not the same service server, the first request receiving module 61 is located in the first service server, and the request processing module 62 and the response sending module 63 are located in the second service. At the same time, the basic structural block diagram is as shown in FIG. 7 . The first request receiving module 61 is configured to receive a request for acquiring an email delivery status in the second terminal, according to the first configuration. The identifier information in the request for obtaining the email delivery status forwards the request to the second service server. The second service server further includes: a second request receiving module 64 configured to receive the first request receiving module 61. Forwarding the request for obtaining the email delivery status in the second terminal; at this time, the request processing module 62 located in the second service server is configured to acquire the delivery status of the email according to the request for obtaining the email delivery status. a response sending module 63 located in the second service server, configured to send the delivery status of the email To the first terminal.
所述请求处理模块62根据所述获取电子邮件投递状态的请求获取所述电子邮件的投递状态,包括:根据所述请求中的标识信息在记录有电子邮件投递状态的数据库中查找与所述标识信息对应的投递状态。The request processing module 62 acquires the delivery status of the email according to the request for acquiring the email delivery status, including: searching for the identifier in the database in which the email delivery status is recorded according to the identification information in the request. The delivery status corresponding to the information.
对于上述两种结构,所述业务服务器还包括:数据库建立模块65,所述数据库建立模块65,配置为通过以下方式建立记录电子邮件投递状态的数据库:For the above two structures, the service server further includes: a database establishing module 65, and the database establishing module 65 is configured to establish a database for recording an email delivery status by:
每当接收到电子邮件时,提取所述电子邮件的标识信息,并以所述标识信息作为索引建立数据记录,所述数据记录包括所述电子邮件的投递状态;当所述电子邮件的投递状态更新时,将更新的投递状态写入所述标识信息对应的数据记录中;所述投递状态包括:状态名和状态更新时间; Whenever an email is received, extracting the identification information of the email, and establishing the data record with the identification information as an index, the data record including a delivery status of the email; when the email is delivered When updating, the updated delivery status is written into the data record corresponding to the identification information; the delivery status includes: a status name and a status update time;
所述业务服务器还包括:投递状态确定模块66,配置为根据以下方式确定第二终端接收到的电子邮件的投递状态:The service server further includes: a delivery status determination module 66 configured to determine a delivery status of the email received by the second terminal according to the following manner:
确定第二终端接收电子邮件时采用的电子邮件收发协议;业务服务器可以通过多种方式获取第二终端接收电子邮件时采用的电子邮件收发协议,例如,由于第二终端是从业务服务器接收电子邮件的,因此,当第二终端与业务服务器建立连接时,进行邮件接收的交互过程中,即可获知第二终端电子邮件时采用的电子邮件收发协议;接下来,根据所述电子邮件收发协议确定第二终端对所述电子邮件执行的操作命令,根据所述确定的电子邮件收发协议对第二终端执行的操作命令进行解析,确定所述电子邮件的投递状态。Determining an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail; the service server may obtain an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail by using a plurality of manners, for example, because the second terminal receives the e-mail from the service server Therefore, when the second terminal establishes a connection with the service server, during the interaction process of receiving the mail, the email receiving and receiving protocol adopted by the second terminal email is obtained; and then, according to the email receiving and receiving protocol And an operation command executed by the second terminal on the email, parsing an operation command executed by the second terminal according to the determined email sending and receiving protocol, and determining a delivery status of the email.
举例来说,确定第二终端采用POP3协议接收邮件时,当第二终端执行RETR命令操作,并在返回结果为OK时,业务服务器记录该电子邮件的投递状态为已读取;当第二终端执行DELE<mail id>命令操作,并在其返回结果为OK时,业务服务器记录该电子邮件的投递状态为软删除,当会话结束使用QUIT命令操作时,业务服务器将该电子邮件的状态更新为已删除;当邮件状态为软删除,并在执行RSET<mail id>操作命令对该邮件进行恢复时,业务服务器把该邮件的投递状态从软删除更新为保留;或者,For example, when it is determined that the second terminal receives the mail by using the POP3 protocol, when the second terminal performs the RETR command operation, and the return result is OK, the service server records that the delivery status of the email is read; when the second terminal Execute the DELE<mail id> command operation, and when the return result is OK, the business server records the delivery status of the email as soft deletion. When the session ends using the QUIT command, the service server updates the status of the email to Deleted; when the message status is soft delete, and the message is restored by executing the RSET<mail id> operation command, the service server updates the delivery status of the message from soft deletion to reservation; or
确定第二终端采用IMAP4协议接收电子邮件,则,当第二终端使用STORE<mail id><new attributes>操作改变邮件属性时,业务服务器根据该命令的mail id和new attributes记录和更新邮件的投递状态;具体的,当new attribute属性为Seen且该命令返回结果为OK时,业务服务器记录该邮件投递状态为已读取;当new attribute属性为delete时标记该邮件投递状态为软删除,并在客户端使用CLOSE命令或者使用LOGOUT、EXPUNGE命令时,业务服务器把记录为软删除的邮件的投递状态更新为已删除。Determining that the second terminal receives the email by using the IMAP4 protocol, when the second terminal uses the STORE<mail id><new attributes> operation to change the mail attribute, the service server records and updates the delivery of the mail according to the mail id and new attributes of the command. State; specifically, when the new attribute attribute is Seen and the command returns a result of OK, the service server records that the mail delivery status is read; when the new attribute attribute is delete, the mail delivery status is marked as soft deletion, and When the client uses the CLOSE command or uses the LOGOUT, EXPUNGE command, the service server updates the delivery status of the message recorded as soft deleted to deleted.
所述响应发送模块63发送的所述电子邮件的投递状态,包括以下信息其中任一项或其任意组合:1、第二终端所属的第二业务服务器接收邮件时 间、2、已读取和读取时间、或未读取、3、已删除和删除时间、或未删除、4、已保留和保留时间、5、软删除和软删除时间。The delivery status of the email sent by the response sending module 63 includes any one of the following information or any combination thereof: 1. When the second service server to which the second terminal belongs receives the mail Inter, 2, read and read time, or unread, 3, deleted and deleted time, or not deleted, 4, reserved and reserved time, 5, soft deleted and soft deleted time.
在具体实施过程中,所述第一请求接收模块61、请求处理模块62、响应发送模块63、第二请求接收模块64、数据库建立模块65、投递状态确定模块66在实际应用中,可由位于业务服务器的CPU、MPU、DSP或FPGA实现。In a specific implementation process, the first request receiving module 61, the request processing module 62, the response sending module 63, the second request receiving module 64, the database establishing module 65, and the delivery status determining module 66 may be located in a service in an actual application. The server's CPU, MPU, DSP or FPGA implementation.
为了实现上述方法,本发明实施例还提供了一种终端,包括上述获取电子邮件投递状态的装置。In order to implement the above method, an embodiment of the present invention further provides a terminal, including the foregoing apparatus for obtaining an email delivery status.
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行业务服务器的获取电子邮件投递状态的方法。Embodiments of the present invention also provide a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method of obtaining an email delivery status of a service server.
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行第一终端的获取电子邮件投递状态的方法。The embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a method for acquiring an email delivery status of the first terminal.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功 能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. The work specified in one or more blocks of a flow or a flow and/or a block diagram of a flowchart Able device.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims (20)

  1. 一种获取电子邮件投递状态的方法,所述方法包括:A method of obtaining an email delivery status, the method comprising:
    业务服务器接收第一终端发起的获取第二终端中特定电子邮件的投递状态的请求,所述特定电子邮件是所述第一终端已通过所述业务服务器向所述第二终端发送的电子邮件;The service server receives a request initiated by the first terminal to obtain a delivery status of a specific email in the second terminal, where the specific email is an email that the first terminal has sent to the second terminal by using the service server;
    业务服务器根据所述请求获取对应所述特定电子邮件的投递状态并发送给第一终端。The service server acquires a delivery status corresponding to the specific email according to the request and sends the delivery status to the first terminal.
  2. 根据权利要求1所述的方法,其中,所述获取特定电子邮件的投递状态的请求,包括:所述特定电子邮件的标识信息;The method of claim 1, wherein the request to acquire a delivery status of a specific email comprises: identification information of the specific email;
    所述标识信息包括:所述特定电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the specific email.
  3. 根据权利要求2所述的方法,其中,所述标识信息还包括以下信息中的至少之一:The method of claim 2, wherein the identification information further comprises at least one of the following information:
    所述特定电子邮件的发送时间、邮件标题及邮件关键字。The sending time, mail header, and mail keyword of the specific email.
  4. 根据权利要求2或3所述的方法,其中,所述业务服务器根据所述请求获取对应特定电子邮件的投递状态,包括:The method according to claim 2 or 3, wherein the service server acquires a delivery status corresponding to a specific email according to the request, including:
    业务服务器根据所述请求中的标识信息在记录有电子邮件投递状态的数据库中查找与所述标识信息相对应的投递状态。The service server searches for a delivery status corresponding to the identification information in a database in which the email delivery status is recorded, based on the identification information in the request.
  5. 根据权利要求4所述的方法,其中,在业务服务器根据所述请求获取对应特定电子邮件的投递状态之前,所述方法还包括:The method of claim 4, wherein before the service server obtains a delivery status corresponding to the specific email according to the request, the method further comprises:
    业务服务器通过以下方式建立记录电子邮件投递状态的数据库:The business server establishes a database that records the status of email delivery by:
    每当业务服务器接收到电子邮件时,提取所述电子邮件的标识信息,并以所述标识信息作为索引建立数据记录,所述数据记录包括所述电子邮件的投递状态;Whenever the service server receives the email, extracting the identification information of the email, and establishing the data record by using the identifier information as an index, where the data record includes a delivery status of the email;
    当所述电子邮件的投递状态更新时,将更新的投递状态写入所述标识信息对应的数据记录中。 When the delivery status of the email is updated, the updated delivery status is written in the data record corresponding to the identification information.
  6. 根据权利要求5所述的方法,其中,所述电子邮件的投递状态通过以下方式确定:The method of claim 5 wherein the delivery status of the email is determined by:
    确定第二终端接收电子邮件时采用的电子邮件收发协议;根据所述电子邮件收发协议确定第二终端对所述电子邮件执行的操作命令,根据所述确定的电子邮件收发协议对第二终端执行的操作命令进行解析,确定所述电子邮件的投递状态。Determining an e-mail transceiving protocol adopted by the second terminal when receiving the e-mail; determining, according to the e-mail protocol, an operation command performed by the second terminal on the e-mail, performing, on the second terminal, according to the determined e-mail transceiving protocol The operation command is parsed to determine the delivery status of the email.
  7. 一种获取电子邮件投递状态的方法,所述方法包括:A method of obtaining an email delivery status, the method comprising:
    第一终端通过业务服务器向第二终端发送电子邮件之后,向业务服务器发起获取所述电子邮件投递状态的请求;After the first terminal sends an email to the second terminal by using the service server, the first server sends a request for acquiring the email delivery status to the service server;
    第一终端接收业务服务器返回的所述电子邮件的投递状态。The first terminal receives the delivery status of the email returned by the service server.
  8. 根据权利要求7所述的方法,其中,所述获取所述电子邮件的投递状态的请求,包括:所述电子邮件的标识信息;The method of claim 7, wherein the request to acquire a delivery status of the email comprises: identification information of the email;
    所述标识信息包括:所述电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the email.
  9. 根据权利要求8所述的方法,其中,所述标识信息还包括以下信息中的至少之一:The method of claim 8, wherein the identification information further comprises at least one of the following information:
    所述电子邮件的发送时间、邮件标题及邮件关键字。The email sending time, mail header, and mail keyword.
  10. 一种业务服务器,所述业务服务器包括:第一请求接收模块、请求处理模块及响应发送模块;其中,A service server, the service server includes: a first request receiving module, a request processing module, and a response sending module; wherein
    所述第一请求接收模块,用于接收第一终端发送的获取第二终端中特定电子邮件投递状态的请求,所述特定电子邮件是所述第一终端已经发送给第二终端的电子邮件;The first request receiving module is configured to receive, by the first terminal, a request for acquiring a specific email delivery status in the second terminal, where the specific email is an email that the first terminal has sent to the second terminal;
    所述请求处理模块,用于根据所述获取电子邮件投递状态的请求获取对应所述特定电子邮件的投递状态;The request processing module is configured to acquire, according to the request for acquiring an email delivery status, a delivery status corresponding to the specific email;
    所述响应发送模块,用于将所述电子邮件的投递状态发送给第一终端。The response sending module is configured to send the delivery status of the email to the first terminal.
  11. 根据权利要求10所述的业务服务器,其中,所述获取特定电子 邮件投递状态的请求,包括:所述特定电子邮件的标识信息;The business server according to claim 10, wherein said obtaining a specific electronic The request for the mail delivery status includes: identification information of the specific email;
    所述标识信息,包括:所述特定电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the specific email.
  12. 根据权利要求11所述的业务服务器,其中,所述标识信息还包括以下信息中的至少之一:The service server according to claim 11, wherein the identification information further comprises at least one of the following information:
    所述特定电子邮件的发送时间、邮件标题及邮件关键字。The sending time, mail header, and mail keyword of the specific email.
  13. 根据权利要求11或12所述的业务服务器,其中,所述请求处理模块根据所述请求获取对应特定电子邮件的投递状态,包括:The service server according to claim 11 or 12, wherein the request processing module acquires a delivery status corresponding to the specific email according to the request, including:
    根据所述请求中的标识信息在记录有电子邮件投递状态的数据库中查找与所述标识信息对应的投递状态。A delivery status corresponding to the identification information is searched for in the database in which the email delivery status is recorded based on the identification information in the request.
  14. 根据权利要求13所述的业务服务器,其中,所述业务服务器,还包括:数据库建立模块,用于通过以下方式建立记录电子邮件投递状态的数据库:The service server according to claim 13, wherein the service server further comprises: a database establishing module, configured to establish a database for recording an email delivery status by:
    每当接收到电子邮件时,提取所述电子邮件的标识信息,并以所述标识信息作为索引建立数据记录,所述数据记录包括所述电子邮件的投递状态;当所述电子邮件的投递状态更新时,将更新的投递状态写入所述标识信息对应的数据记录中。Whenever an email is received, extracting the identification information of the email, and establishing the data record with the identification information as an index, the data record including a delivery status of the email; when the email is delivered When updating, the updated delivery status is written into the data record corresponding to the identification information.
  15. 根据权利要求14所述的业务服务器,其中,所述业务服务器还包括,投递状态确定模块,用于根据以下方式确定第二终端接收到的电子邮件的投递状态:The service server according to claim 14, wherein the service server further comprises: a delivery status determination module, configured to determine a delivery status of the email received by the second terminal according to the following manner:
    确定第二终端接收电子邮件时采用的电子邮件收发协议;并根据所述电子邮件收发协议确定第二终端对所述电子邮件执行的操作命令,根据所述确定的电子邮件收发协议对第二终端执行的操作命令进行解析,确定所述电子邮件的投递状态。Determining an email transceiving protocol adopted by the second terminal when receiving the email; and determining, according to the email sending and receiving protocol, an operation command performed by the second terminal on the email, according to the determined email sending and receiving protocol to the second terminal The executed operation command is parsed to determine the delivery status of the email.
  16. 一种获取电子邮件投递状态的装置,所述装置包括:请求发送模块和响应接收模块;其中, An apparatus for obtaining an email delivery status, the apparatus comprising: a request sending module and a response receiving module; wherein
    所述请求发送模块,用于通过业务服务器向第二终端发送电子邮件之后,向业务服务器发送获取所述电子邮件投递状态的请求;The request sending module is configured to send, by using the service server, an email to the second terminal, to send a request for obtaining the email delivery status to the service server;
    所述响应接收模块,用于接收业务服务器返回的第二终端的电子邮件投递状态。The response receiving module is configured to receive an email delivery status of the second terminal returned by the service server.
  17. 根据权利要求16所述的装置,其中,所述获取所述电子邮件的投递状态的请求,包括:所述电子邮件的标识信息;The apparatus according to claim 16, wherein said request for obtaining a delivery status of said email comprises: identification information of said email;
    所述标识信息包括:所述电子邮件的发件人地址和收件人地址。The identification information includes: a sender address and a recipient address of the email.
  18. 根据权利要求17所述的装置,其中,所述标识信息还包括以下信息中的至少之一:The apparatus of claim 17, wherein the identification information further comprises at least one of the following information:
    所述电子邮件的发送时间、邮件标题及邮件关键字。The email sending time, mail header, and mail keyword.
  19. 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求1-6任一项所述获取电子邮件投递状态的方法。A computer storage medium comprising a set of computer executable instructions for performing the method of obtaining an email delivery status as claimed in any of claims 1-6.
  20. 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求7-9任一项所述获取电子邮件投递状态的方法。 A computer storage medium comprising a set of computer executable instructions for performing the method of obtaining an email delivery status of any of claims 7-9.
PCT/CN2014/089092 2014-06-27 2014-10-21 Method and device for acquiring delivery state of e-mail, and computer storage medium WO2015196658A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410305111.3 2014-06-27
CN201410305111.3A CN105207884A (en) 2014-06-27 2014-06-27 Method of acquiring E-mail delivery state and apparatus thereof

Publications (1)

Publication Number Publication Date
WO2015196658A1 true WO2015196658A1 (en) 2015-12-30

Family

ID=54936610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089092 WO2015196658A1 (en) 2014-06-27 2014-10-21 Method and device for acquiring delivery state of e-mail, and computer storage medium

Country Status (2)

Country Link
CN (1) CN105207884A (en)
WO (1) WO2015196658A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529289A (en) * 2022-09-30 2022-12-27 杭州谱链智能科技有限公司 Enterprise data interaction control method and system based on E-mail protocol

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018209462A1 (en) * 2017-05-15 2018-11-22 深圳市卓希科技有限公司 Mail management method and mail server
CN107948049A (en) * 2017-11-07 2018-04-20 用友网络科技股份有限公司 A kind of method linked up based on internet cooperation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079841A (en) * 2007-03-26 2007-11-28 腾讯科技(深圳)有限公司 An Email tracking system and method
CN101815260A (en) * 2010-02-25 2010-08-25 中兴通讯股份有限公司 Method for managing e-mail by mobile communication terminals and terminals
CN102026117A (en) * 2010-12-15 2011-04-20 中兴通讯股份有限公司 E-mail delivery equipment, method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3866506B2 (en) * 2000-12-04 2007-01-10 株式会社エヌ・ティ・ティ・ドコモ E-mail delivery control method and mail server
CN101072200A (en) * 2007-05-11 2007-11-14 腾讯科技(深圳)有限公司 Method and device for obtaining electronic mail reply and relay state
US8443193B1 (en) * 2009-08-19 2013-05-14 Barracuda Networks, Inc. State-maintained multi-party signatures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079841A (en) * 2007-03-26 2007-11-28 腾讯科技(深圳)有限公司 An Email tracking system and method
CN101815260A (en) * 2010-02-25 2010-08-25 中兴通讯股份有限公司 Method for managing e-mail by mobile communication terminals and terminals
CN102026117A (en) * 2010-12-15 2011-04-20 中兴通讯股份有限公司 E-mail delivery equipment, method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529289A (en) * 2022-09-30 2022-12-27 杭州谱链智能科技有限公司 Enterprise data interaction control method and system based on E-mail protocol

Also Published As

Publication number Publication date
CN105207884A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
US11258737B2 (en) Instant messaging method, apparatus and system based on email system
JP5129567B2 (en) Messaging protocol for processing messages with attachments
US11196784B2 (en) Method, apparatus and system for creating discussion group based on instant messaging
WO2012097655A1 (en) Group implementation method, system and client
RU2014134048A (en) TIME-CONTROLLED E-MAIL MESSAGES
WO2011113372A1 (en) Method, system and group server for synchronizing operations of multiple groups
TWI587660B (en) Methods, devices and systems for publishing information to websites
WO2009089707A1 (en) Information displaying method and user terminal thereof
KR20160039280A (en) Messaging api over http protocol to establish context for data exchange
US20160112356A1 (en) Network Device and Method for Processing Email Request
WO2011103748A1 (en) Method and mobile communication terminal for managing email
WO2012152028A1 (en) Method and device for implementing terminal-based converged messaging service
WO2015196658A1 (en) Method and device for acquiring delivery state of e-mail, and computer storage medium
US10425374B2 (en) Routing a message based upon user-selected topic in a message editor
WO2018149340A1 (en) Recipient determination method utilized in email replying process, and device
WO2012022083A1 (en) Method for transmitting expression file and terminal equipment
WO2014019470A1 (en) Method and system for updating user calling card
WO2016184359A1 (en) Method for receiving and sending e-mail, e-mail client, serving end and system
WO2012113256A1 (en) Method and system for implementing media message withdrawing
JP2009169866A (en) Electronic mail client and its control method, and computer program
WO2016180137A1 (en) Message processing method and device
CN103312592B (en) A kind of method that batch sends information to instant communication client on webpage
WO2011153772A1 (en) Method and system for obtaining multiple instant information
CN103684985A (en) A method for withdrawing an external area mail, a mail server, and a mail system
WO2013000215A1 (en) Method and device for issuing notification message

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895750

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895750

Country of ref document: EP

Kind code of ref document: A1