CN116319655B - Mail delivery system, method, electronic device, and storage medium - Google Patents

Mail delivery system, method, electronic device, and storage medium Download PDF

Info

Publication number
CN116319655B
CN116319655B CN202310545101.6A CN202310545101A CN116319655B CN 116319655 B CN116319655 B CN 116319655B CN 202310545101 A CN202310545101 A CN 202310545101A CN 116319655 B CN116319655 B CN 116319655B
Authority
CN
China
Prior art keywords
delivery
mail
shared
independent
tenant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310545101.6A
Other languages
Chinese (zh)
Other versions
CN116319655A (en
Inventor
文祥
周振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202310545101.6A priority Critical patent/CN116319655B/en
Publication of CN116319655A publication Critical patent/CN116319655A/en
Application granted granted Critical
Publication of CN116319655B publication Critical patent/CN116319655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to the technical field of E-mails, and particularly discloses a mail delivery system and a method, wherein the system comprises a tenant unit for managing basic information of tenants; the front-end management unit is used for configuring delivery service before delivering mail; and the delivery unit is used for delivering the mails of the tenants to the target mailbox according to the preset rules based on the parameters configured by the front management unit. The invention has the advantage of improving the success rate of email delivery.

Description

Mail delivery system, method, electronic device, and storage medium
Technical Field
The present invention relates to the field of electronic mail technology, and in particular, to a mail delivery system, a mail delivery method, an electronic device, a program product, and a storage medium.
Background
In the internet environment, email is the most formal communication channel between businesses and enterprises, and between businesses and clients. With the increasing market demand, common email delivery products are increasingly unable to meet the needs of various industries. The reasons for the present situation include server resource shortage, high cost and long period of enterprise development and maintenance, and the like.
In order to ensure the running stability of the system of the large mail service operator, a certain threshold value is set for the receiving flow, the connection number, the upper limit of the number of addressees and the like of mails in a server, the mails can be smoothly delivered to a user mailbox only when the mail is delivered within the set threshold value range, and if the threshold value is suddenly reduced by the operator, the delivery system of a client does not timely take corresponding measures, delivery can fail, even delivery IP can be pulled into an abnormal list, and the use of the mailbox is influenced for a long time.
Mail delivery systems use multiple different domain names to signal, often viewed by mail service operators as spam or directly intercepted outside. Therefore, the problems that the success rate of batch delivery tasks is low, the delivery IP or the domain name is frequently listed in an abnormal list by a mail service operator and the like are caused. In severe cases, these product problems can even hinder business development and economic benefits of the enterprise.
Disclosure of Invention
In order to solve the above-mentioned drawbacks, the present invention proposes a mail delivery system including:
the tenant unit is used for managing basic information of tenants;
the front-end management unit is used for configuring delivery service before delivering mail;
a delivery unit for delivering the mail of the tenant to a target mailbox according to a preset rule based on various parameters configured by the front-end management unit; wherein the predetermined rule includes: the delivery processing mechanism of the shared ip+independent IP, in the case that multiple tenants send mail through the same shared IP, if the first IP shared by the first group of tenants is blocked, the delivery processing mechanism of the shared ip+independent IP includes: the first group of tenants sends mail using other shared IP; or each tenant in the first group of tenants sends mail using a separate IP.
In the above system, the pre-management unit includes: a domain name and IP management subunit; and the domain name and IP management subunit is used for carrying out correspondence matching on the delivery domain name of the tenant and the IP resource of the system.
In the above system, the pre-management unit further includes: a delivery task management subunit; when the number of the mails in unit time exceeds a first threshold, the delivery task management subunit is used for calculating the priority of each mail and sequentially sending the mails according to the priority.
In the above system, the step of calculating the priority includes: scoring according to tenant, sending scene, sender, mail size and site failure rate; and calculating the sum of the scores as a priority value.
In the above system, the calculating the sum of the scores is used as a priority value, and the calculating formula is as follows:
priority = tenant score + senders scenario score + senders score + mail size score-site failure rate score;
wherein, the tenant score is: a (a) =w1×a, where W1 is a high-quality tenant weight weighting factor, and a is a high-quality tenant-graded valued factor; the sender scene score is: b (B) =w2×b, where W2 is an outbreak scene weighting factor; b is a value factor of the real-time requirement of the scene; the sender scores: c (C) =w3×c, where W3 is the sender rank weighting factor; c is a value factor of the sender grade; the mail size score is: d (D) =w4/D, where W4 is a mail file size weighting factor; d is a value factor of the size of the mail file; the station failure rate score is: e (E) =w5×e, where W5 is a site delivery failure rate weighting factor; e is a value factor of the delivery failure rate of the site.
In the above system, in the calculation formula, the sum of the weighting factors is a predetermined value.
In the above system, the predetermined rule includes: a delivery handling mechanism for shared ip+independent IP, the delivery handling mechanism for shared ip+independent IP comprising: polling delivery is performed using all shared and independent IPs, and polling is stopped when mail can be successfully delivered.
In the above system, the delivery processing mechanism of the shared ip+independent IP further includes:
when the number of the delivered target sites is less than or equal to the site threshold M, all the shared IP and the independent IP are used for polling delivery;
and when the number of the delivered target sites is greater than a site threshold M, respectively calculating the delivery success rates of all the shared IP and the independent IP to each target site, and aiming at the first target site, if the delivery success rate of the shared IP is greater than the delivery success rate of the independent IP, using the shared IP to deliver the mail, otherwise, using the independent IP to deliver the mail.
In the above system, the delivery processing mechanism of the shared ip+independent IP further includes: and when the delivery success rate of a first IP in the shared IP and the independent IP is smaller than a first delivery threshold Pmin, suspending the use of the first IP, and transferring the delivery task of the first IP to a second IP with the delivery success rate larger than a second delivery threshold Pmax.
In the above system, the delivery processing mechanism of the shared ip+independent IP further includes a retry mechanism, where the retry mechanism includes: when polling delivery using all the shared IP and the independent IP is unsuccessful, the polling delivery is performed again by reusing all the shared IP and the independent IP.
In the above system, the performing of the polling delivery again is repeated at most 3 times.
Correspondingly, the invention also provides a mail delivery method, which is realized based on the system and comprises the following steps:
distributing delivery domain names and outlet IP address ranges for tenants according to the requirements of the tenants;
before delivering the mail, matching the delivery domain name and available shared IP and independent IP for the tenant, and calculating the priority of delivering the mail;
when mail is delivered, all shared IP and independent IP are used for polling delivery, and when mail can be successfully delivered, polling is stopped.
Correspondingly, the invention also provides electronic equipment, which comprises:
a memory, one of the memories of the electronic device, for storing computer instructions;
a processor, one of the processors of the electronic device, which when executing the computer instructions, implements the method described above.
Accordingly, the present invention also proposes a computer program product comprising computer instructions which, when executed, implement the above-mentioned method.
Accordingly, the present invention also provides a computer readable storage medium having at least one computer instruction stored therein, the at least one instruction being loaded and executed by a processor to implement the above-mentioned method.
Compared with the prior art, the invention has the advantages that. The tenant can purchase service and configure the sending domain name and the outlet IP of the tenant module, so that a self-built mail server can be avoided, funds for purchasing hardware resources can be saved, and technical cost for post-maintaining a mail system and the like can be saved. The SaaS mail delivery system calculates the delivery sequence of the large-batch mails of the tenants through a special tenant queuing algorithm in the front-end management unit, preferentially provides service for high-quality users and emergency mails, and improves the user experience. When mail is delivered, the delivery unit uses a delivery processing mechanism of the shared IP and the independent IP to improve the delivery success rate, so that each tenant can use an independent domain name, the reputation of the lowered domain name of the IP cross infection during the delivery of the domain name of the shared IP can be reduced, and the resource utilization rate can be improved.
Drawings
FIG. 1 is an application scenario diagram of a mail delivery method according to some embodiments of the present invention;
FIG. 2 is a block diagram of a mail delivery system according to some embodiments of the present invention;
FIG. 3 is a flow chart of a mail delivery system according to some embodiments of the present invention;
fig. 4 is a block diagram of an electronic device according to one embodiment of the invention.
Detailed Description
Further advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure of the present specification, by describing the embodiments of the present invention with specific examples. While the description of the invention will be described in connection with the preferred embodiments, it is not intended to limit the inventive features to the implementation. Rather, the purpose of the invention described in connection with the embodiments is to cover other alternatives or modifications, which may be extended by the claims based on the invention. The following description contains many specific details for the purpose of providing a thorough understanding of the present invention. The invention may be practiced without these specific details. Furthermore, some specific details are omitted from the description in order to avoid obscuring the invention. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
It should be noted that in this specification, like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in the following figures, defaults to the same definition.
It should be further stated that the method and the process are numbered for convenience of reference, but are not limited to the sequence, and the sequence of the steps is the same as that of the text.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
The existing mail delivery implementation schemes are mainly two, namely, an application is provided for a site providing an email service, an authorization code of a smtp mail server of the site is obtained by registering a mailbox account on the site, and then the sending of the mail is realized by logging in the smtp mail server of the account and using a smtp communication protocol. However, in this usage scenario, the suffix (domain name) of the mail is a site providing the email service, which does not meet the requirement that many companies want the suffix to be the company name.
And secondly, a mail delivery system is built by a company with a demand to carry out batch delivery. However, this method has a great disadvantage in terms of time and cost, such as:
1. the labor cost for developing and operating a mail server is too high;
2. the purchase cost of software and hardware is high;
3. a mail server only has one domain name, can not use a plurality of domain names to deliver mails, and when a plurality of domain names are used, the delivery success rate is low, and the IP is easily pulled into an abnormal list by a site;
4. when the mass mails are delivered, the delivery efficiency is low, and the mails with high real-time requirements cannot be timely sent to the client mail end, so that the client experience is poor.
The present application thus proposes a mail delivery system based on SaaS (Software as a Service, just software as a service). The software and hardware cost of the mail delivery system developed by enterprises and the labor cost of development and operation are reduced, the development period is shortened, and the enterprises can obtain efficient, high-success-rate and reliable mail delivery service.
Fig. 1 is an application scenario diagram of a mail delivery method according to some embodiments of the present invention. As described above, in order to deliver an email, a site providing an email service is required, and in fig. 1, the server 20 is a site that can provide an email delivery service. The site may provide email services directly to individual users. In order to provide targeted email services to corporate type customers, i.e., customers who need to display specified domain names, a software system for enabling mail delivery, such as SaaS mail delivery system 10, may be provided based on server 20. The SaaS mail delivery system 10 is interposed between the server 20 and the tenants 30a, 30b, 30c, the tenants 30a, 30b, 30c are directly facing the email service provided by the SaaS mail delivery system 10, and the server 20 is not directly providing services to the mail sender, but provides support for hardware resources for implementing the email service. The tenants 30a, 30b, 30c can purchase services and corresponding security certificates from the SaaS mail delivery system 10, and the SaaS mail delivery system 10 configures domain names and egress IPs (IPs for delivering mail) for the tenants 30a, 30b, 30c, and can perform operations such as mail delivery, urgent, and filtering according to rights and priorities purchased by the tenants 30a, 30b, 30c, and rights configured by end users within the tenants 30a, 30b, 30 c.
The mail delivery work can be realized by using the SaaS platform based on the same server 20 to realize the site of the email service of a plurality of software layers, and a special email service is provided for a plurality of enterprises and communities.
Fig. 2 is a block diagram of a mail delivery system according to some embodiments of the present invention, including: tenant unit 11, pre-management unit 12 and delivery unit 13.
The tenant unit 11 is used for managing basic information of tenants. After the tenant purchases the service, the tenant unit 11 assigns thereto a user name, a password (authorization code) and a delivery server (e.g., server 20) IP and a port number of the SaaS mail delivery system 10, and the tenants 30a, 30b, 30c establish a connection with the SaaS mail delivery system 10 based on the smtp protocol and use the service of sending mail.
The pre-management unit 12 is used to configure delivery services prior to delivering mail. Specifically, the front-end management unit 12 may perform various management tasks such as tenant management, delivery task management, abnormal list user management, statistics report management, delivery domain name and IP management, and parameter configuration management.
Preferably, the pre-management unit 12 may include a domain name and IP management subunit. The domain name and IP management subunit is used for carrying out correspondence matching on the delivery domain name of the tenant and the IP resource of the system. Specifically, the tenant unit may configure a respective delivery domain name for each tenant, and the mail delivery system may provide multiple egress IPs to the tenant to configure spf resolution of the domain name. Wherein, part of the exit IP is shared, and part of the exit IP is exclusive. The shared export IP can be shared with other tenants, and the delivery success rate and the resource utilization rate can be improved. The shared export IP is a high-quality IP address with higher scores in each large mail operator, and is used for improving the success rate of applying a normal list in the operators by a sender account and improving the delivery success rate. The number of egress IPs of the general shared type is larger than the number of egress IPs of the independent type. The independent export IP mainly solves the problem that part of mail operators require spf analysis of domain names to be mutually bound.
The pre-management unit 12 may also deliver a task management subunit. When the number of mails in the current time period is too large, the sending sequence queuing of the multi-tenant mails is carried out through a tenant queuing algorithm, so that important and urgent mails are delivered preferentially. For example, when the delivery number of mail exceeds a first threshold (e.g., 3000 pieces/minute) per unit time, the delivery task management subunit may calculate the priority of each mail and sequentially send the mail according to the priority. The priority may be calculated comprehensively according to scores of tenant, sender scenario, sender, mail size, and site failure rate. Wherein, the positive score of tenant, the scene of sending, the sender and the mail size, the failure rate of the site is a negative score.
Specifically, the priority calculation formula is as follows:
p (a, B, C, D, E) =a (a) +b (B) +c (C) +d (D) -E (E) formula (1)
Wherein a (a) =w1×a, score for tenant; b (B) =w2×b, scoring the delivery scenario; c (C) =w3×c, scoring the sender; d (D) =w4/D, mail size score; e (E) =w5×e, which is a station failure rate score.
In the tenant score, W1 is a high-quality tenant weight weighting factor, and is defined by the SaaS mail delivery system 10; a is a value factor rated by the good tenant, the value of a is rated by the SaaS mail delivery system 10, and a larger value of a (a) represents a higher score.
In the delivery scene score, W2 is a delivery scene weighting factor, which is defined by the SaaS mail delivery system 10; b is the higher the real-time requirement of the scene, the larger the value factor (such as higher priority of mail sending verification code and lower push score of marketing activity), the larger the value of B is rated by the SaaS mail delivery system 10, and the higher the value of B (B) is, the higher the representative score is.
In the sender scoring, W3 is a sender grade weighting factor and is defined by a platform; c is a value factor of the sender level, the value of C is given by the tenant, and the larger the value of C (C) is, the higher the score is represented.
The mail size scores are medium, and W4 is a mail file size weighting factor; d is a value factor of the mail file size, the value of D is determined by the mail file size, and the higher the score is represented by D (D).
In the site failure rate scoring, W5 is a site delivery failure rate weighting factor; e is a factor of the delivery failure rate of a site, and e is a value of the delivery failure rate of the site on the same day (e.g., qq mailbox, 163 mailbox serving as the server 20). A larger value of E (E) represents a lower score.
Further, in order to avoid that a weighting item is too high to affect the value of the priority by other weighting items, a relationship between multiple weighting factors may be defined, for example, a sum of the weighting factors may be defined as a predetermined value K, that is, w1+w2+w3+w4+w5=k. After defining K, the maximum difference between the weighting factors is K, and the weight ratio of the weighting factors can be limited to a certain extent.
The delivery unit 13 delivers the mail of the tenant to the target mailbox according to a predetermined rule based on the parameters configured by the pre-management unit 12. Based on existing server technology, mail delivery services can be implemented using a multi-server cluster. The cluster server can enable the mail delivery system to have super-strong stability, not only can balance the work load of each server, but also can avoid single-point faults of the system, and is convenient for expanding the delivery server.
In addition, the multiple servers bring more IP resources, and the delivery unit 13 can adopt a mechanism of using the shared IP and the independent IP simultaneously, namely a delivery processing mechanism of the shared IP and the independent IP to deliver the mail, thereby improving the success rate of mail delivery. Because if single IP delivery (e.g., standalone IP) is employed, it may be severely wasted due to the bandwidth limitations of the single IP delivering the destination server. Assuming that a total of 100 shared ip+independent IP that can be used by one tenant, the delivery unit 13 may use a polling method to sequentially use the 100 IP to attempt to send the mail to the target mailbox until the mail is sent successfully. In poor environment, it is possible to poll one round and unable to send out mail, and then poll (i.e. retry mechanism) can be repeated multiple times, so as to increase the success rate of delivery in a mode of multiple attempts.
More specifically, in an application scenario where multiple tenants share a set of shared IPs, in general, multiple tenants (corresponding to multiple domain names) share one IP, that is, mail of multiple domain names is sent through the same IP. When a first tenant in a group of tenants sharing the first IP is identified as a low reputation user, even pulled into an abnormal list, the first IP will be limited or blocked, and then all tenants sharing the first IP, including the first tenant, cannot continue sending mail normally through the first IP. At this time, each of a group of tenants using the first IP may be temporarily assigned an independent IP, respectively, so that the group of tenants can send mail through the independent IP. After the independent IP is used for sending the mails, the behaviors of the mails sent by the tenants are in one-to-one correspondence with the IP addresses, so that the problem of total blocking caused by the bad behaviors of one tenant of a plurality of tenants sharing the same IP is solved.
For the blocked first IP, the delivery unit 13 may attempt to send mail through the first IP at regular or irregular intervals to monitor the transmission success rate of the first IP, and when the transmission success rate is restored to above the success threshold, the first IP may be considered to be unblocked, so that normal use of the first IP may be restored.
In combination with the foregoing polling method, when the delivery success rate of the first IP is low, it may: first, mail is sent for a group of tenants using the first IP using other shared IPs (specifically, a single tenant may try different shared IPs, respectively), and when all shared IPs cannot successfully send mail, an independent IP may be temporarily assigned for a group of tenants using the first IP (or a tenant of the group of tenants that has not successfully sent mail by using other shared IPs), thereby sending mail through the independent IP. Meanwhile, the delivery unit 13 monitors the first IP, and when the delivery success rate of the first IP is restored to a predetermined success threshold, a group of tenants who originally use the first IP may be reset to commonly use the first IP.
In other embodiments, the mechanism by which the shared IP and the independent IP are used simultaneously may also select the IP based on the number of targeted sites delivered. For example, when the number of target sites delivered is less than or equal to the site threshold M, all shared IPs and independent IPs are used for polling delivery; when the number of the target sites delivered is greater than the site threshold M, the delivery success rates of all the shared IPs and the independent IPs for each target site are calculated respectively, for sites with high success rates, only the shared IPs can be selected for delivering mails, for sites with low success rates, only the independent IPs can be selected for delivering mails, for example, for a first target site, if the delivery success rate of the shared IPs is greater than the delivery success rate of the independent IPs, the shared IPs are used for delivering mails, and otherwise, the independent IPs are used for delivering mails.
The threshold M of the station may be determined by the number of deliveries at the time of peak delivery success rate of the station in the past period of time. For example, let site Z have n delivery success rate peaks for shared IP in the past month: p (IPa 1, Z), P (IPa 2, Z) … P (IPan, Z), the n delivery success rate peaks of independent IP are: p (IPb 1, Z), P (IPb 2, Z) … P (IPbn, Z). Respectively calculating average values to obtain:
Pa=(P(IPa1,Z)+P(IPa2,Z)+…+P(IPan,Z))/n
Pb=(P(IPb1,Z)+P(IPb2,Z)+…+P(IPbn,Z))/n
if Pa is greater than or equal to Pb, the shared IP is used for sending the mail, and if Pa is less than Pb, the independent IP is used for sending the mail.
In still other embodiments, whether a shared IP or an independent IP, when the delivery success rate of a certain IP is too low, the IP may be stopped from being used, and in turn, an IP with a higher delivery success rate may be used to deliver mail. For example, when the delivery success rate of the first IP is smaller than the first delivery threshold Pmin, the use of the first IP is suspended, and the delivery task of the first IP is delivered to the second IP with the delivery success rate larger than the second delivery threshold Pmax. The first delivery threshold Pmin and the second delivery threshold Pmax may be both fixed preset values, or the second delivery threshold Pmax may be the maximum value of the current delivery success rate. If the delivery success rate of all the IPs is smaller than the first delivery threshold Pmin, the situation needs to be fed back to the mail delivery system.
In addition, when the delivery success rate of a sender under a certain tenant name is low, the SaaS mail delivery system can analyze various mail return reasons returned by the target server and feed the mail back to the tenant, and the mail contents are required to be modified so as not to influence the domain name reputation, and the use of the shared IP is stopped.
In the SaaS mail delivery system, the tenant can purchase service and configure the sending domain name and the outlet IP of the tenant module, so that a self-built mail server can be avoided, funds for purchasing hardware resources can be saved, and technical cost of post-maintaining a mail system and the like can be saved. The SaaS mail delivery system calculates the delivery sequence of the large-batch mails of the tenants through a special tenant queuing algorithm in the front-end management unit, preferentially provides service for high-quality users and emergency mails, and improves the user experience. The delivery success rate is improved by using a delivery processing mechanism of the shared IP and the independent IP, so that each tenant can use an independent domain name, the reputation of the low domain name due to IP cross infection during delivery of the domain name of the shared IP can be reduced, and the resource utilization rate can be improved.
Fig. 3 is a flow chart of a mail delivery system according to some embodiments of the present invention.
S31, the tenant unit distributes delivery domain names and outlet IP address ranges for the tenants according to the requirements of the tenants. In particular, reference may be made to the previous description of the tenant unit 11.
S32, before delivering the mail, the front-end management unit matches the delivery domain name and the available shared IP and independent IP for the tenant, and calculates the priority of delivering the mail. In particular, reference may be made to the description hereinbefore regarding the pre-management unit 12.
S33, when the mail is delivered, the delivery unit uses all the shared IP and the independent IP to carry out polling delivery, and when the mail can be successfully delivered, the polling is stopped. In particular, reference can be made to the description hereinbefore regarding the delivery unit 13.
An embodiment of the present invention further provides an electronic device, where the electronic device includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, where the at least one instruction or the at least one program is loaded and executed by the processor to implement a browser running method as provided in the above method embodiment.
The memory may be used to store software programs and modules that the processor executes to perform various functional applications and data processing by executing the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide access to the memory by the processor.
The present invention also provides a computer-readable storage medium having instructions stored therein, which when executed, cause a computer to perform the method as described above.
The invention also provides a computer program product comprising computer instructions which, when executed, implement a method as described above.
Referring now to fig. 4, shown is a block diagram of an electronic device 700 in accordance with one embodiment of the present application. The electronic device 700 may include one or more processors 702, system control logic 708 coupled to at least one of the processors 702, system memory 704 coupled to the system control logic 708, non-volatile memory (NVM) 706 coupled to the system control logic 708, and a network interface 710 coupled to the system control logic 708.
The processor 702 may include one or more single-core or multi-core processors. The processor 702 can include any combination of general-purpose and special-purpose processors (e.g., graphics processor, application processor, baseband processor, etc.). In embodiments herein, the processor 702 may be configured to perform one or more embodiments in accordance with various embodiments as shown in the figures.
In some embodiments, system control logic 708 may include any suitable interface controller to provide any suitable interface to at least one of processors 702 and/or any suitable device or component in communication with system control logic 708.
In some embodiments, system control logic 708 may include one or more memory controllers to provide an interface to system memory 704. The system memory 704 may be used for loading and storing data and/or instructions. The memory 704 of the electronic device 700 may include any suitable volatile memory in some embodiments, such as a suitable Dynamic Random Access Memory (DRAM).
The non-volatile memory 706 can include one or more tangible, non-transitory computer-readable storage media for storing data and/or instructions. The storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes. In some embodiments, the nonvolatile memory 706 may also include any suitable nonvolatile memory such as flash memory and/or any suitable nonvolatile storage device, such as at least one of a HDD (Hard Disk Drive), a CD (Compact Disc) Drive, a DVD (Digital Versatile Disc ) Drive.
The non-volatile memory 706 may include a portion of the storage resources installed on the apparatus of the electronic device 700 or it may be accessed by, but is not necessarily part of, the device. For example, the non-volatile memory 706 may be accessed over a network via the network interface 710.
In particular, the system memory 704 and the non-volatile storage 706 may each include: a temporary copy and a permanent copy of instruction 720. The instructions 720 may include: instructions that, when executed by at least one of the processors 702, cause the electronic device 700 to implement the methods described above. In some embodiments, instructions 720, hardware, firmware, and/or software components thereof may additionally/alternatively be disposed in system control logic 708, network interface 710, and/or processor 702.
The network interface 710 may include a transceiver to provide a radio interface for the electronic device 700 to communicate with any other suitable device (e.g., front end module, antenna, etc.) over one or more networks. In some embodiments, the network interface 710 may be integrated into other components of the electronic device 700. For example, the network interface 710 may be integrated with at least one of the system memory 704, the non-volatile memory 706, and a firmware device (not shown) having instructions that, when executed by at least one of the processors 702, the electronic device 700 implements one or more of the various embodiments described herein.
The network interface 710 may further include any suitable hardware and/or firmware to provide a multiple-input multiple-output radio interface. For example, network interface 710 may be a wired network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
In one embodiment, at least one of the processors 702 may be packaged together with logic for one or more controllers of the system control logic 708 to form a System In Package (SiP). In one embodiment, at least one of the processors 702 may be integrated on the same chip with logic for one or more controllers of the system control logic 708 to form a system on a chip (SoC).
Electronic device 700 may further include input/output (I/O) device 712. The I/O device 712 may include a user interface to enable a user to interact with the electronic device 700; the design of the peripheral component interface enables the peripheral component to also interact with the electronic device 700. In some embodiments, the electronic device 700 further comprises a sensor for determining at least one of environmental conditions and location information related to the electronic device 700.
In some embodiments, the user interface may include, but is not limited to, a display (e.g., a liquid crystal display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., still image cameras and/or video cameras), a flashlight (e.g., light emitting diode flash), and a keyboard.
In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
In some embodiments, the sensors may include, but are not limited to, gyroscopic sensors, accelerometers, proximity sensors, ambient light sensors, and positioning units. The positioning unit may also be part of the network interface 710 or interact with the network interface 710 to communicate with components of a positioning network, such as Global Positioning System (GPS) satellites.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 700. In other embodiments of the present application, electronic device 700 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a Digital Signal Processor (DSP), microcontroller, application Specific Integrated Circuit (ASIC), or microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described herein are not limited in scope to any particular programming language. In either case, the language may be a compiled or interpreted language.
One or more aspects of at least one embodiment may be implemented by representative instructions stored on a computer readable storage medium, which represent various logic in a processor, which when read by a machine, cause the machine to fabricate logic to perform the techniques described herein. These instructions, referred to as "IP cores," represent manufacturing machines that may be stored on a tangible computer-readable storage medium and provided to a plurality of customers or manufacturing facilities for loading into the actual manufacturing machines that manufacture the logic or processor.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
It should be noted that the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
It should be appreciated that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.

Claims (12)

1. A mail delivery system, comprising:
the tenant unit is used for managing basic information of tenants;
the front-end management unit is used for configuring delivery service before delivering mail;
a delivery unit for delivering the mail of the tenant to a target mailbox according to a preset rule based on various parameters configured by the front-end management unit; wherein the predetermined rule includes: the delivery processing mechanism of the shared ip+independent IP, in the case that multiple tenants send mail through the same shared IP, if the first IP shared by the first group of tenants is blocked, the delivery processing mechanism of the shared ip+independent IP includes:
the first group of tenants sends mail using other shared IP; or alternatively
Each tenant in the first group of tenants sends mail using a separate IP;
the delivery processing mechanism of the shared IP and the independent IP further comprises:
when the number of the delivered target sites is less than or equal to the site threshold M, all the shared IP and the independent IP are used for polling delivery;
and when the number of the delivered target sites is greater than a site threshold M, respectively calculating the delivery success rates of all the shared IP and the independent IP to each target site, and aiming at the first target site, if the delivery success rate of the shared IP is greater than the delivery success rate of the independent IP, using the shared IP to deliver the mail, otherwise, using the independent IP to deliver the mail.
2. The system of claim 1, wherein the pre-management unit comprises: a domain name and IP management subunit;
and the domain name and IP management subunit is used for carrying out correspondence matching on the delivery domain name of the tenant and the IP resource of the system.
3. The system of claim 1, wherein the pre-management unit further comprises: a delivery task management subunit;
when the number of the mails in unit time exceeds a first threshold, the delivery task management subunit is used for calculating the priority of each mail and sequentially sending the mails according to the priority.
4. The system of claim 3, wherein the step of calculating the priority comprises:
scoring according to tenant, sending scene, sender, mail size and site failure rate;
and calculating the sum of the scores as a priority value.
5. The system of claim 4, wherein the sum of the scores is calculated as a priority value by the formula:
priority = tenant score + senders scenario score + senders score + mail size score-site failure rate score; wherein, the liquid crystal display device comprises a liquid crystal display device,
the tenant score is: a (a) =w1×a, where W1 is a high-quality tenant weight weighting factor, and a is a high-quality tenant-graded valued factor;
the sender scene score is: b (B) =w2×b, where W2 is an outbreak scene weighting factor; b is a value factor of the real-time requirement of the scene;
the sender scores: c (C) =w3×c, where W3 is the sender rank weighting factor; c is a value factor of the sender grade;
the mail size score is: d (D) =w4/D, where W4 is a mail file size weighting factor; d is a value factor of the size of the mail file;
the station failure rate score is: e (E) =w5×e, where W5 is a site delivery failure rate weighting factor; e is a value factor of the delivery failure rate of the site.
6. The system of claim 5, wherein the sum of the weighting factors in the calculation formula is a predetermined value.
7. The system of claim 1, wherein the delivery processing mechanism for shared IP + independent IP further comprises:
polling delivery is performed using all shared and independent IPs, and polling is stopped when mail can be successfully delivered.
8. The system of claim 7, wherein the delivery processing mechanism for shared IP + independent IP further comprises:
and when the delivery success rate of a first IP in the shared IP and the independent IP is smaller than a first delivery threshold Pmin, suspending the use of the first IP, and transferring the delivery task of the first IP to a second IP with the delivery success rate larger than a second delivery threshold Pmax.
9. The system of claim 7, wherein the delivery processing mechanism of shared IP + independent IP further comprises a retry mechanism comprising:
when polling delivery using all the shared IP and the independent IP is unsuccessful, the polling delivery is performed again by reusing all the shared IP and the independent IP.
10. Mail delivery method, characterized in that the following steps are implemented on the basis of a system according to any of claims 1-9:
distributing delivery domain names and outlet IP address ranges for tenants according to the requirements of the tenants;
before delivering the mail, matching the delivery domain name and available shared IP and independent IP for the tenant, and calculating the priority of delivering the mail;
when mail is delivered, all shared IP and independent IP are used for polling delivery, and when mail can be successfully delivered, polling is stopped.
11. An electronic device, comprising:
a memory, one of the memories of the electronic device, for storing computer instructions;
a processor, being one of the processors of the electronic device, which when executing the computer instructions, implements the method as claimed in claim 10.
12. A computer-readable storage medium having stored therein at least one computer instruction that is loaded and executed by a processor to implement the method of claim 10.
CN202310545101.6A 2023-05-16 2023-05-16 Mail delivery system, method, electronic device, and storage medium Active CN116319655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310545101.6A CN116319655B (en) 2023-05-16 2023-05-16 Mail delivery system, method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310545101.6A CN116319655B (en) 2023-05-16 2023-05-16 Mail delivery system, method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN116319655A CN116319655A (en) 2023-06-23
CN116319655B true CN116319655B (en) 2023-08-08

Family

ID=86827250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310545101.6A Active CN116319655B (en) 2023-05-16 2023-05-16 Mail delivery system, method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN116319655B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005005918A (en) * 2003-06-11 2005-01-06 Nec Corp Electronic mail repeating device and electronic mail repeating method using the same
CN108712318A (en) * 2018-04-10 2018-10-26 广东睿江云计算股份有限公司 A method of enhancing mail delivery success rate
CN110785971A (en) * 2018-05-25 2020-02-11 二元树网络公司 Information redirection protocol
CN111464426A (en) * 2020-03-23 2020-07-28 论客科技(广州)有限公司 Method, device and storage medium for automatically adjusting mail delivery strategy
CN114600426A (en) * 2019-10-24 2022-06-07 微软技术许可有限责任公司 Email security in multi-tenant email services
US11381537B1 (en) * 2021-06-11 2022-07-05 Oracle International Corporation Message transfer agent architecture for email delivery systems

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120008753A1 (en) * 2010-07-12 2012-01-12 Workspace Communications Llc. Supporting domain variation within a cloud provided multitenant unified communications environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005005918A (en) * 2003-06-11 2005-01-06 Nec Corp Electronic mail repeating device and electronic mail repeating method using the same
CN108712318A (en) * 2018-04-10 2018-10-26 广东睿江云计算股份有限公司 A method of enhancing mail delivery success rate
CN110785971A (en) * 2018-05-25 2020-02-11 二元树网络公司 Information redirection protocol
CN114600426A (en) * 2019-10-24 2022-06-07 微软技术许可有限责任公司 Email security in multi-tenant email services
CN111464426A (en) * 2020-03-23 2020-07-28 论客科技(广州)有限公司 Method, device and storage medium for automatically adjusting mail delivery strategy
US11381537B1 (en) * 2021-06-11 2022-07-05 Oracle International Corporation Message transfer agent architecture for email delivery systems

Also Published As

Publication number Publication date
CN116319655A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US20190066014A1 (en) Work task assignment method, apparatus and computing system
CN103986741B (en) Cloud data system, cloud data center and its method for managing resource
CN108009028A (en) Message treatment method, device, equipment and computer-readable recording medium
CN107094165A (en) Distribution capacity is determined, dispatching task obtains, dispenses resource regulating method and equipment
EP2335154A1 (en) Distributed data processing system
CN105939240B (en) Load-balancing method and device
CN105337837A (en) Message transmitting method and device
US10951565B2 (en) Handling various scenarios where an email recipient is not available
CN107634899B (en) Queuing method, device, server and storage medium based on chat group
CN104753825B (en) The delivery method and system of login status when instant messaging multiple terminals logs in
CN116319655B (en) Mail delivery system, method, electronic device, and storage medium
CN102647395B (en) Method, device and system for distributing number of people for online game server
CN104539523A (en) Mail management method, device and terminal
CN101656686A (en) Method for storing user information provided by one-line service
CN204425400U (en) Application server system
JP2014135713A (en) Notification system
CN110247808B (en) Information transmission method, device, equipment and readable storage medium
CN108718241B (en) Charging method and device
AU2016202860B2 (en) Computer system and method for message routing with content and reference passing
CN113313335A (en) Logistics vehicle scheduling method and device and storage medium
CN109218163B (en) Mail delivery method and server
CN106656729B (en) A kind of method and device sending information
CN103546360A (en) Information acquiring method, information acquiring system and IMAP (internet message access protocol) client side
CN103686639A (en) Message processing method, device and system
US20230196262A1 (en) Delivery management platform and mobile application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant