TWI412937B - System and method for sending email - Google Patents

System and method for sending email Download PDF

Info

Publication number
TWI412937B
TWI412937B TW97101911A TW97101911A TWI412937B TW I412937 B TWI412937 B TW I412937B TW 97101911 A TW97101911 A TW 97101911A TW 97101911 A TW97101911 A TW 97101911A TW I412937 B TWI412937 B TW I412937B
Authority
TW
Taiwan
Prior art keywords
email
sending
server
sent
database
Prior art date
Application number
TW97101911A
Other languages
Chinese (zh)
Other versions
TW200933383A (en
Inventor
Chung I Lee
Xin-Yu Huang
Wen-Hao Wu
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97101911A priority Critical patent/TWI412937B/en
Publication of TW200933383A publication Critical patent/TW200933383A/en
Application granted granted Critical
Publication of TWI412937B publication Critical patent/TWI412937B/en

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a method for sending email. The method includes: database server getting email from processing platform and saving the email to database; sending access request to all the email servers which connected to the database server and examining the number of the email all the email servers will send; receiving the number the email servers send; selecting the email server which has the least number of the emails to send; sending the email to the selected email server and the email server sending the email to the receiver; receiving the inform of the email sending from the email server. A system for sending email is also provided.

Description

電子郵件發送系統及方法Email sending system and method

本發明涉及一種電子郵件發送系統及方法。The present invention relates to an email transmission system and method.

隨著電腦技術的發展,電子郵件已經成為人們通信的主要網路工具。目前,一些大型電子郵件服務商都擁有多台電子郵件發送伺服器,但是由於用戶太多,還是不能滿足用戶的需要,導致電子郵件發送伺服器的運行不均衡,有些伺服器的用戶太多造成堵塞,用戶的信件發送不出去,而有些伺服器又處於空閒狀態,造成資源的浪費,也大大浪費了用戶的時間,降低了工作效率。With the development of computer technology, e-mail has become the main network tool for people's communication. At present, some large e-mail service providers have multiple e-mail sending servers, but because there are too many users, they still can't meet the needs of users, resulting in uneven operation of e-mail sending servers. The user's mail can't be sent out, and some servers are in idle state, which causes waste of resources, and also greatly wastes the user's time and reduces work efficiency.

鑒於以上內容,有必要提供一種具有分散式的負載平衡功能的電子郵件發送系統及方法。In view of the above, it is necessary to provide an e-mail transmission system and method having a distributed load balancing function.

所述電子郵件發送系統包括電子郵件處理平台、資料庫伺服器及多個電子郵件發送伺服器,資料庫伺服器包括:資料庫,該資料庫伺服器還包括:獲取模組,用於從電子郵件處理平台獲取將要發送的電子郵件;保存模組,用於將所獲取的電子郵件保存至資料庫中;發送模組,用於發送查看請求指令給各電子郵件發送伺服器,該查看請求指令用於查看各電子郵件發送伺服器中待發送的電子郵件數量;接收模組,用於接收各電子郵件發送伺服器所回饋的待發送的電子郵件數量;選擇模組,用於選擇待發送電子郵件數量最少的電子郵件發送伺服器;所述發送模組,還用於向所選擇的電子郵件發送伺服器發送電子郵件,由該電子郵件發送伺服器將該電子郵件發送給收件者;及所述接收模組,還用於接收所述電子郵件發送伺服器所回饋的發送電子郵件結果通知。The email sending system includes an email processing platform, a database server, and a plurality of email sending servers, and the database server includes: a database, the database server further includes: an acquiring module, configured to receive the electronic The mail processing platform acquires an email to be sent; a saving module is configured to save the obtained email to the database; and a sending module is configured to send a viewing request command to each email sending server, the viewing request command For selecting the number of emails to be sent in each email sending server; receiving module for receiving the number of emails to be sent by each email sending server; and selecting a module for selecting the electronic to be sent The email sending server having the least number of mails; the sending module is further configured to send an email to the selected email sending server, and the email sending server sends the email to the recipient; and The receiving module is further configured to receive a sent email result fed back by the email sending server .

所述電子郵件發送方法,該方法包括如下步驟:資料庫伺服器從電子郵件處理平台獲取將要發送的電子郵件並將該電子郵件保存至資料庫中;發送查看請求指令給與資料庫伺服器相連的各電子郵件發送伺服器,查看各電子郵件發送伺服器中待發送的電子郵件數量;接收各電子郵件發送伺服器所回饋的待發送的電子郵件數量;選擇待發送電子郵件數量最少的電子郵件發送伺服器;向所選擇的電子郵件發送伺服器發送電子郵件,由該電子郵件發送伺服器將該電子郵件發送給收件者;及接收所述電子郵件發送伺服器所回饋的發送電子郵件結果通知。The email sending method includes the following steps: the database server acquires an email to be sent from an email processing platform and saves the email to a database; and sends a viewing request command to the database server Each email sending server checks the number of emails to be sent in each email sending server; receives the number of emails to be sent back by each email sending server; selects the email with the least number of emails to be sent Sending a server; sending an email to the selected email sending server, the email sending server sending the email to the recipient; and receiving the sending email result fed back by the email sending server Notice.

相較於習知技術,所述電子郵件發送系統及方法,能夠均衡地利用電子郵件發送伺服器,提高了電子郵件的發送效率。Compared with the prior art, the email sending system and method can utilize the email sending server in a balanced manner, thereby improving the sending efficiency of the email.

如圖1所示,是本發明電子郵件發送系統較佳實施例的硬體架構圖。該系統包括電子郵件處理平台1,資料庫伺服器2及多台電子郵件發送伺服器3。所述電子郵件處理平台1可以為:主機、WEB伺服器等,用於將電子郵件發送到所述資料庫伺服器2中,所述資料庫伺服器2包括:資料庫200。所述資料庫200可以為SQL Server(Structured Query Language)資料庫,該資料庫200作為電子郵件收集器,用於從電子郵件處理平台1處收集將要發送的電子郵件相關資訊,並存儲該電子郵件的相關資訊,所述相關資訊包括:電子郵件的內容,發送人郵箱位址及收件人郵箱位址等。所述資料庫伺服器2用以選擇並啟動電子郵件發送伺服器3發送電子郵件,所述電子郵件發送伺服器3用於發送電子郵件,並將電子郵件發送結果回饋給資料庫伺服器2。所述多台電子郵件發送伺服器3還分別包括一個緩存300,該緩存300用於存儲將要發送的電子郵件。As shown in FIG. 1, it is a hardware architecture diagram of a preferred embodiment of the email transmission system of the present invention. The system includes an email processing platform 1, a database server 2, and a plurality of email sending servers 3. The email processing platform 1 may be: a host, a WEB server, or the like for sending an email to the database server 2, the database server 2 comprising: a database 200. The database 200 may be a SQL Server (Structured Query Language) database, and the database 200 is used as an email collector for collecting email related information to be sent from the email processing platform 1 and storing the email. Relevant information, including the content of the email, the sender's email address and the recipient's email address. The database server 2 is configured to select and activate an email sending server 3 to send an email, and the email sending server 3 is configured to send an email and feed the email sending result back to the database server 2. The plurality of email sending servers 3 also respectively include a cache 300 for storing emails to be sent.

如圖2所示,是圖1中資料庫伺服器2的功能模組圖。該資料庫伺服器2包括:獲取模組10、保存模組12、發送模組14、接收模組16、選擇模組18及判斷模組20。As shown in FIG. 2, it is a functional module diagram of the database server 2 in FIG. The database server 2 includes an acquisition module 10, a storage module 12, a transmission module 14, a receiving module 16, a selection module 18, and a determination module 20.

獲取模組10用於獲取電子郵件處理平台1所傳送的將要發送的電子郵件,該電子郵件包括該電子郵件的發送者郵件位址、收件者的郵件位址、電子郵件的內容等。The obtaining module 10 is configured to obtain an email to be sent transmitted by the email processing platform 1, the email including the sender email address of the email, the email address of the recipient, the content of the email, and the like.

保存模組12用於將所述電子郵件保存到資料庫200中。The save module 12 is used to save the email to the repository 200.

發送模組14用於發送查看請求指令給所述電子郵件發送伺服器3,該查看請求指令用於查看各個電子郵件發送伺服器3的緩存300中待發送的電子郵件數量。The sending module 14 is configured to send a viewing request command to the email sending server 3 for viewing the number of emails to be sent in the cache 300 of each email sending server 3.

所述接收模組16用於接收電子郵件發送伺服器3所回饋的其緩存300中待發送的電子郵件數量,若存在有電子郵件發送伺服器3沒有回饋其緩存300中的電子郵件數量,則表示該電子郵件發送伺服器3出現故障。The receiving module 16 is configured to receive the number of emails to be sent in the buffer 300 fed back by the email sending server 3, and if there is an email sending server 3 that does not return the number of emails in the cache 300, Indicates that the email sending server 3 has failed.

選擇模組18用於選擇緩存中電子郵件數量最少的電子郵件發送伺服器3。The selection module 18 is for selecting the email sending server 3 with the least number of emails in the cache.

發送模組14用於向所選擇的電子郵件發送伺服器3發送電子郵件,電子郵件發送伺服器3將該電子郵件發送給收件者。The transmitting module 14 is configured to send an email to the selected email sending server 3, and the email sending server 3 transmits the email to the recipient.

所述接收模組16還用於接收所述電子郵件發送伺服器3所回饋的發送電子郵件結果通知,該發送通知包括:發送該電子郵件成功通知或者發送失敗通知。The receiving module 16 is further configured to receive a sending email result notification fed back by the email sending server 3, where the sending notification includes: sending the email success notification or sending a failure notification.

判斷模組20用於判斷所接收的發送通知是否為發送成功通知。The determining module 20 is configured to determine whether the received sending notification is a sending success notification.

刪除模組22,用於當接收到的電子郵件發送通知為電子郵件發送成功通知時,刪除資料庫200中的該電子郵件資訊。The deleting module 22 is configured to delete the email information in the database 200 when the received email sending notification is an email sending success notification.

如圖3所示,是本發明電子郵件發送方法較佳實施例的作業流程圖。As shown in FIG. 3, it is a flowchart of the operation of the preferred embodiment of the electronic mail transmitting method of the present invention.

步驟S30,首先,獲取模組10獲取電子郵件處理平台1所傳送的將要發送的電子郵件,該電子郵件包括該電子郵件的發送者郵件位址、收件者的郵件位址、電子郵件的內容等。Step S30, first, the obtaining module 10 acquires an email to be sent transmitted by the email processing platform 1, the email including the sender email address of the email, the email address of the recipient, and the content of the email. Wait.

步驟S32,保存模組12將所述電子郵件保存到資料庫200中。In step S32, the saving module 12 saves the email to the database 200.

步驟S34,發送模組14發送查看請求指令給所述電子郵件發送伺服器3,該查看請求指令用於查看各個電子郵件發送伺服器3的緩存300中待發送的電子郵件數量。In step S34, the sending module 14 sends a viewing request command to the email sending server 3, which is used to view the number of emails to be sent in the cache 300 of each email sending server 3.

步驟S36,所述接收模組16接收電子郵件發送伺服器3所回饋的其緩存300中待發送的電子郵件數量,若存在有電子郵件發送伺服器3沒有回饋其緩存300中的電子郵件數量,則表示該電子郵件發送伺服器3出現故障。In step S36, the receiving module 16 receives the number of emails to be sent in the buffer 300 fed back by the email sending server 3, and if there is an email sending server 3 that does not return the number of emails in the cache 300, It means that the email sending server 3 has failed.

步驟S38,選擇模組18選擇緩存中電子郵件數量最少的電子郵件發送伺服器3。In step S38, the selection module 18 selects the email sending server 3 with the least number of emails in the cache.

步驟S40,所述發送模組14向所選擇的電子郵件發送伺服器3發送電子郵件,電子郵件發送伺服器3將該電子郵件發送給收件者。In step S40, the transmitting module 14 sends an email to the selected email sending server 3, and the email sending server 3 transmits the email to the recipient.

步驟S42,所述接收模組16接收所述電子郵件發送伺服器3所回饋的發送電子郵件結果通知,該發送通知包括:發送該電子郵件成功通知或者發送失敗通知。In step S42, the receiving module 16 receives the sending email result notification fed back by the email sending server 3, and the sending notification includes: sending the email success notification or the sending failure notification.

步驟S44,判斷模組20判斷所接收的發送通知是否為發送成功通知。In step S44, the determination module 20 determines whether the received transmission notification is a transmission success notification.

步驟S46,所述發送模組14若電子郵件發送通知為發送成功通知,刪除模組22刪除資料庫200中的該電子郵件資訊。In step S46, the sending module 14 deletes the email information in the database 200 if the email sending notification is a sending success notification.

於上述步驟S44中,若所接收的發送通知是發送失敗通知,則返回至步驟S34,重新查找空閒的電子郵件發送伺服器3。In the above step S44, if the received transmission notification is a transmission failure notification, the process returns to step S34 to re-search for the idle email transmission server 3.

以上所述僅為本發明之較佳實施例而已,且已達廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等變化或修飾,均應包含在下述之申請專利範圍內。The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside.

電子郵件處理平台...1Email processing platform. . . 1

資料庫伺服器...2Database server. . . 2

多台電子郵件發送伺服器...3Multiple email sending servers. . . 3

資料庫...200database. . . 200

緩存...300Cache. . . 300

獲取模組...10Get the module. . . 10

保存模組...12Save the module. . . 12

發送模組...14Send module. . . 14

接收模組...16Receive module. . . 16

選擇模組...18Select the module. . . 18

判斷模組...20Judging the module. . . 20

獲取將要發送的電子郵件...S30Get the email that will be sent. . . S30

保存該電子郵件至資料庫中...S32Save the email to the database. . . S32

發送查看請求給各電子郵件發送伺服器...S34Send a view request to each email sending server. . . S34

接收各電子郵件發送伺服器所反饋的待發送的電子郵件數量...S36Receive the number of emails to be sent backed by each email sending server. . . S36

選擇待發送的電子郵件數量最少的電子郵件發送伺服器...S38Select the email sending server with the least number of emails to send. . . S38

向該電子郵件發送伺服器發送電子郵件...S40Send an email to the email sending server. . . S40

接收該電子郵件發送伺服器所反饋的電子郵件發送結果通知...S42Receive the email sending result notification feedback from the email sending server. . . S42

該電子郵件發送結果通知是否為發送成功通知...S44Whether the email notification result is a notification of successful transmission. . . S44

刪除資料庫中的該電子郵件...S46Delete the email in the library. . . S46

圖1係本發明電子郵件發送系統較佳實施例之硬體架構圖。1 is a hardware architecture diagram of a preferred embodiment of an email transmission system of the present invention.

圖2係圖1中資料庫伺服器2之功能模組圖。2 is a functional block diagram of the database server 2 of FIG.

圖3係本發明電子郵件發送方法較佳實施例之作業流程圖。3 is a flow chart showing the operation of the preferred embodiment of the electronic mail transmitting method of the present invention.

獲取將要發送的電子郵件...S30Get the email that will be sent. . . S30

保存該電子郵件至資料庫中...S32Save the email to the database. . . S32

發送查看請求給各電子郵件發送伺服器...S34Send a view request to each email sending server. . . S34

接收各電子郵件發送伺服器所反饋的待發送的電子郵件數量...S36Receive the number of emails to be sent backed by each email sending server. . . S36

選擇待發送的電子郵件數量最少的電子郵件發送伺服器...S38Select the email sending server with the least number of emails to send. . . S38

向該電子郵件發送伺服器發送電子郵件...S40Send an email to the email sending server. . . S40

接收該電子郵件發送伺服器所反饋的電子郵件發送結果通知...S42Receive the email sending result notification feedback from the email sending server. . . S42

該電子郵件發送結果通知是否為發送成功通知...S44Whether the email notification result is a notification of successful transmission. . . S44

刪除資料庫中的該電子郵件...S46Delete the email in the library. . . S46

Claims (4)

一種電子郵件發送系統,包括電子郵件處理平台、資料庫伺服器及多個電子郵件發送伺服器,資料庫伺服器包括資料庫,該資料庫伺服器還包括:獲取模組,用於從電子郵件處理平台獲取將要發送的電子郵件;保存模組,用於將所獲取的電子郵件保存至資料庫中;發送模組,用於發送查看請求指令給各電子郵件發送伺服器,該查看請求指令用於查看各電子郵件發送伺服器中待發送的電子郵件數量;接收模組,用於接收各電子郵件發送伺服器所回饋的待發送的電子郵件數量;選擇模組,用於選擇待發送電子郵件數量最少的電子郵件發送伺服器;所述發送模組,還用於向所選擇的電子郵件發送伺服器發送電子郵件,由該電子郵件發送伺服器將該電子郵件發送給收件者;及所述接收模組,還用於接收所述電子郵件發送伺服器所回饋的發送電子郵件結果通知。An e-mail sending system includes an e-mail processing platform, a database server, and a plurality of e-mail sending servers. The database server includes a database, and the database server further includes: an obtaining module for e-mail The processing platform acquires an email to be sent; the saving module is configured to save the obtained email to the database; and the sending module is configured to send a viewing request command to each email sending server, where the viewing request command is used Viewing the number of emails to be sent in each email sending server; receiving module for receiving the number of emails to be sent by each email sending server; selecting a module for selecting emails to be sent The email server is sent to the selected email sending server, and the email sending server sends the email to the recipient; The receiving module is further configured to receive the sent email result fed back by the email sending server . 如申請專利範圍第1項所述之電子郵件發送系統,所述資料庫伺服器還包括:判斷模組,用於判斷所接收的電子郵件發送結果通知是否為發送成功通知;刪除模組,用於當所接收到的電子郵件發送結果通知是發送成功通知時,刪除資料庫中的該電子郵件。The email sending system of claim 1, wherein the database server further comprises: a determining module, configured to determine whether the received email sending result notification is a sending success notification; deleting the module, using When the received email delivery result notification is a successful transmission notification, the email in the database is deleted. 一種電子郵件發送方法,該方法包括如下步驟:資料庫伺服器從電子郵件處理平台獲取將要發送的電子郵件並將該電子郵件保存至資料庫中;發送查看請求指令給與資料庫伺服器相連的各電子郵件發送伺服器,查看各電子郵件發送伺服器中待發送的電子郵件數量;接收各電子郵件發送伺服器所回饋的待發送的電子郵件數量;選擇待發送電子郵件數量最少的電子郵件發送伺服器;向所選擇的電子郵件發送伺服器發送電子郵件,由該電子郵件發送伺服器將該電子郵件發送給收件者;及接收所述電子郵件發送伺服器所回饋的發送電子郵件結果通知。An email sending method, the method comprising the steps of: a database server obtaining an email to be sent from an email processing platform and saving the email to a database; sending a viewing request command to the database server Each email sending server checks the number of emails to be sent in each email sending server; receives the number of emails to be sent back by each email sending server; selects the email with the least number of emails to be sent a server; sending an email to the selected email sending server, the email sending server sending the email to the recipient; and receiving the sending email result notification sent by the email sending server . 如申請專利範圍第3項所述之電子郵件發送方法,該方法還包括步驟:判斷所接收的電子郵件發送結果通知是否為發送成功通知;若電子郵件發送結果通知為發送成功通知,則刪除資料庫中的該電子郵件;及若所接收的電子郵件發送結果通知是發送失敗通知,則返回查看各電子郵件發送伺服器中待發送的電子郵件數量的步驟。The method for sending an email according to claim 3, the method further comprising the steps of: determining whether the received email sending result notification is a sending success notification; and deleting the data if the email sending result notification is a sending success notification The email in the library; and if the received email delivery result notification is a transmission failure notification, returning to the step of checking the number of emails to be sent in each email sending server.
TW97101911A 2008-01-18 2008-01-18 System and method for sending email TWI412937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97101911A TWI412937B (en) 2008-01-18 2008-01-18 System and method for sending email

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97101911A TWI412937B (en) 2008-01-18 2008-01-18 System and method for sending email

Publications (2)

Publication Number Publication Date
TW200933383A TW200933383A (en) 2009-08-01
TWI412937B true TWI412937B (en) 2013-10-21

Family

ID=44865882

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97101911A TWI412937B (en) 2008-01-18 2008-01-18 System and method for sending email

Country Status (1)

Country Link
TW (1) TWI412937B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020026484A1 (en) * 2000-04-10 2002-02-28 Smith Steven J. High volume electronic mail processing systems and methods
TW519591B (en) * 2001-06-26 2003-02-01 Wistron Corp Virtual e-mail server system
TW200630832A (en) * 2004-12-03 2006-09-01 Ibm An email transaction system
CN1302420C (en) * 2003-01-15 2007-02-28 联想(北京)有限公司 Postal matter receiving and transmitting method based on database storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020026484A1 (en) * 2000-04-10 2002-02-28 Smith Steven J. High volume electronic mail processing systems and methods
TW519591B (en) * 2001-06-26 2003-02-01 Wistron Corp Virtual e-mail server system
CN1302420C (en) * 2003-01-15 2007-02-28 联想(北京)有限公司 Postal matter receiving and transmitting method based on database storage
TW200630832A (en) * 2004-12-03 2006-09-01 Ibm An email transaction system

Also Published As

Publication number Publication date
TW200933383A (en) 2009-08-01

Similar Documents

Publication Publication Date Title
EP2263163B1 (en) Content management
US8095541B2 (en) Managing electronic data with index data corresponding to said electronic data
CN101409686B (en) System and method for checking e-mail accessory content
US20080162643A1 (en) Method and system for merging electronic messages
US9413703B2 (en) Synchronizing conversation structures in web-based email systems
CN1829202A (en) System and method for multiple account number simultaneously realizing IMPS service on one client
KR20100033728A (en) Job transferring method and apparatus, and job transferring system
US9503405B2 (en) Information processing system and method that record result of process that uses e-mail transmission
JP3854618B2 (en) Server system and e-mail delivery method
CN103501241A (en) Method, device and system for cleaning useless files
CN100450104C (en) Group mail-sending processing method
US7788330B2 (en) System and method for processing data associated with a transmission in a data communication system
US20050198256A1 (en) System and method for building interest profiles from related messages
CN101459625B (en) E-mail sending system and method
TWI412937B (en) System and method for sending email
US10956872B2 (en) Message handling
US20090164523A1 (en) System and method for sending messages
JPH06284145A (en) Electronic mail system
US20090132659A1 (en) Enhancing Collaboration Opportunities for a Reply to an Electronic Message
US20030050985A1 (en) Mail system, mail server and program product for mail server
CN103634201A (en) Electronic mail system and electronic mail quarantine processing method thereof
US11507542B2 (en) Synchronization control of file folders in computing systems
CA2597995C (en) System and method for processing data associated with a transmission in a data communication system
KR102170232B1 (en) Method for providing email service and email system
KR100806232B1 (en) System and its method for transferring joint mail to mail address sharing users

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees