E-mail delivery method, system, device and medium

The optimal email delivery channel is determined through near-source analysis and comprehensive weighted analysis, which solves the problems of flexibility of traditional email delivery methods and false interception of anti-spam emails, and improves the delivery success rate and user experience.

CN118612178APending Publication Date: 2024-09-06E-SURFING DIGITAL LIFE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410652190.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Traditional email delivery methods are not very flexible and can easily be mistakenly intercepted by anti-spam systems, resulting in low delivery efficiency and success rate and poor user experience.

Method used

Through near-source analysis and comprehensive weighted analysis, the optimal mail delivery channel is determined, and the mail delivery path is dynamically evaluated to reduce false interceptions by the anti-spam system and improve the delivery success rate and flexibility.

Benefits of technology

It effectively improves the success rate and flexibility of email delivery, reduces accidental interception by the anti-spam system, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612178A
    Figure CN118612178A
Patent Text Reader

Abstract

The invention provides an E-mail delivery method, system and device and a medium, and the method comprises the steps: obtaining a sending address and a target address of a target mail; according to the target address, near-source analysis is carried out on the sending address, a plurality of near-source channel values are obtained, and each near-source channel value corresponds to a mail delivery channel; performing comprehensive weighted analysis on the mail delivery channels according to the near-source channel values to obtain a comprehensive channel value corresponding to each mail delivery channel, and determining the mail delivery channel with the highest corresponding comprehensive channel value as an optimal delivery channel; and delivering the target mail to the target address according to the optimal delivery channel. The delivery method can effectively reduce the situation that mails are blocked by an anti-spam system by mistake, improve the flexibility and the delivery success rate of mail delivery, and improve the user experience. The invention relates to the technical field of mails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mail technology, and in particular to an email delivery method, system, device and medium. Background Art

[0002] With the rapid development of World Wide Web (Web) technology, email has become one of the important communication methods in human society.

[0003] At present, the traditional mail delivery method mainly adopts the "deliver as send" delivery mode, which has low delivery flexibility. In addition, as anti-spam systems are becoming more and more common, when using this delivery method to deliver mails, they are easily mistaken for spam by the anti-spam system and intercepted. The mail delivery efficiency and delivery success rate are unsatisfactory, and the user experience is poor.

[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention

[0005] The purpose of the present invention is to solve one of the technical problems existing in the related art to at least a certain extent.

[0006] The main purpose of the embodiments of the present application is to propose an email delivery method, system, device and medium, wherein the delivery method can effectively reduce the situation where emails are mistakenly blocked by anti-spam systems, improve the flexibility and delivery success rate of email delivery, and improve user experience.

[0007] To achieve the above purpose, one aspect of an embodiment of the present application provides a method for delivering an email, the method comprising:

[0008] Get the sending address and destination address of the target email;

[0009] According to the target address, the sending address is subjected to a near-source analysis to obtain a plurality of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize a delivery path of the target mail;

[0010] Performing a comprehensive weighted analysis on the mail delivery channels according to the near-source channel values ​​to obtain a comprehensive channel value corresponding to each mail delivery channel, and determining the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel;

[0011] Deliver the target mail to the target address according to the optimal delivery channel.

[0012] In some embodiments, the delivery method further comprises:

[0013] Obtaining a current optimal delivery channel and a delivery status corresponding to the current optimal delivery channel;

[0014] If the delivery status is failure, obtaining a suboptimal delivery channel corresponding to the target email;

[0015] The current optimal delivery channel is updated according to the suboptimal delivery channel.

[0016] In some embodiments, performing near-source analysis on the sending address according to the target address to obtain a near-source channel value includes:

[0017] Performing address classification on the target address to obtain an address classification result, wherein the address classification result is used to characterize the region where the target address is located;

[0018] According to the address classification results, a plurality of mail delivery channels with smooth delivery paths are obtained;

[0019] A near-source distance detection is performed on the mail delivery channel to obtain the near-source channel value.

[0020] In some embodiments, performing near-source distance detection on the target address and the sending address according to the mail delivery channel to obtain the near-source channel value includes:

[0021] Obtaining a mail delivery distance corresponding to the mail delivery channel, as well as a preset standard channel level and channel value;

[0022] Sorting all the mail delivery distances to obtain a delivery distance sorting table, wherein the delivery distance sorting table includes the mail delivery channels and sorting numbers corresponding to the mail delivery channels;

[0023] The channel value is updated according to the sorting number and the standard channel level to obtain the near-source channel value.

[0024] In some embodiments, the updating of the channel value according to the sorting number and the standard channel level to obtain the near-source channel value includes:

[0025] Obtaining a level difference value, where the level difference value is used to characterize a channel value difference between adjacent standard channel levels;

[0026] Calculating the absolute difference between the sorting number and the standard channel level to obtain a number difference;

[0027] The channel value is updated according to the channel value difference and the number difference to obtain the near-source channel value.

[0028] In some embodiments, performing a comprehensive weighted analysis on the mail delivery channel according to the near-source channel value to obtain a comprehensive channel value includes:

[0029] Acquire channel status information corresponding to the mail delivery channel, the channel status information including mail delivery success rate, mail backlog quantity and mail average delivery delay;

[0030] According to a preset channel abnormality condition, an abnormality determination is performed on the channel status information to obtain an abnormality determination result;

[0031] If the abnormality determination result is that the channel is normal, then obtaining the current backlog channel value and delay channel value of the mail delivery channel;

[0032] According to the mail backlog quantity, the current backlog channel value is updated to obtain an updated backlog channel value, and according to the delay channel value, the current delay channel value is updated to obtain an updated delay channel value;

[0033] The near-source channel value is weightedly summed according to the mail delivery success rate, the updated backlog channel value and the updated delay channel value to obtain the comprehensive channel value.

[0034] In some embodiments, the delivery method further comprises:

[0035] Obtaining a channel update condition, as well as a current target channel value and channel update information, wherein the channel update condition is used to indicate whether the delivery rate of the optimal delivery channel is less than the delivery rate of the suboptimal delivery channel, whether the mail queue of the mail delivery channel is in a non-backlog state, or whether the average mail delivery delay of the mail delivery channel is less than a preset delay update threshold;

[0036] Comparing the channel update condition with the channel update information to obtain a channel comparison result;

[0037] If the channel comparison result is that the channel update information satisfies the channel update condition, then updating the current target channel value;

[0038] The target channel value is any one of the near-source channel value, the backlog channel value and the delayed channel value.

[0039] To achieve the above purpose, another aspect of the embodiment of the present application provides an email delivery system, the delivery system comprising:

[0040] An acquisition unit, used for acquiring a sending address and a destination address of a target email;

[0041] An analysis unit, configured to perform a near-source analysis on the sending address according to the target address to obtain a plurality of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize a delivery path of the target mail;

[0042] A weighting unit, configured to perform a comprehensive weighted analysis on the mail delivery channels according to the near-source channel values, obtain a comprehensive channel value corresponding to each of the mail delivery channels, and determine the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel;

[0043] A delivery unit is used to deliver the target mail to the target address according to the optimal delivery channel.

[0044] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.

[0045] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0046] The embodiments of the present application include at least the following beneficial effects:

[0047] The present application provides a method, system, device and medium for delivering an e-mail, wherein the delivery method obtains the sending address and the target address of the target mail; according to the target address, performs a near-source analysis on the sending address to obtain a number of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize the delivery path of the target mail; according to the near-source channel value, performs a comprehensive weighted analysis on the mail delivery channel to obtain a comprehensive channel value corresponding to each of the mail delivery channels, and determines the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel; according to the optimal delivery channel, delivers the target mail to the target address. The delivery method preliminarily evaluates the mail delivery channel from the perspective of near-source distance through near-source analysis; then, performs a comprehensive weighted analysis on the mail delivery channel from multiple perspectives, so as to more accurately and dynamically determine the optimal delivery channel and deliver the mail, and reduce the situation where the mail is mistakenly blocked by the anti-spam system, effectively improving the success rate and flexibility of mail delivery. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flowchart of a method for delivering an email provided in an embodiment of the present application;

[0049] Figure 2 is a detailed flow chart of step S120 provided in an embodiment of the present application;

[0050] Figure 3 is a detailed flow chart of step S123 provided in an embodiment of the present application;

[0051] Figure 4 is a detailed flow chart of step A3 provided in an embodiment of the present application;

[0052] Figure 5 is a detailed flow chart of step S130 provided in an embodiment of the present application;

[0053] Figure 6 This is an optional flow chart of an email delivery method provided in an embodiment of the present application;

[0054] Figure 7 It is a logic diagram of step S210 to step S230 provided in an embodiment of the present application;

[0055] Figure 8 This is another optional flow chart of a method for delivering an email provided in an embodiment of the present application;

[0056] Fig. 9 It is a schematic diagram of a framework of an email delivery system provided in an embodiment of the present application;

[0057] Fig.10 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices / equipment and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0059] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0060] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0062] At present, the traditional mail delivery method mainly adopts the delivery mode of "delivery is sending", which will directly affect the reputation value of the mail delivery system in other mail domains, thereby reducing the delivery success rate of mails delivered by the mail delivery system in other mail domains; in addition, as there are more and more anti-spam systems, the anti-spam strategies of different anti-spam systems vary greatly, and the interception technology is becoming increasingly complex, when using this delivery method to deliver mails, it is easy to be mistaken for spam by the anti-spam system and be intercepted. Manually adjusting the delivery route, changing the delivery outlet, and resending rejected mails at a certain frequency cannot effectively alleviate the low mail delivery success rate. Instead, it is easy for the mail delivery system that delivers normally to be mistakenly added to the blacklist, so that it is necessary to apply for unblocking from a third-party anti-spam system, which is time-consuming and the unblocking method is passive, and the mail delivery efficiency and delivery success rate are unsatisfactory.

[0063] In view of this, the present application provides an email delivery method, system, device and medium, wherein the delivery method preliminarily evaluates the email delivery channel from the perspective of near-source distance through near-source analysis; then, a comprehensive weighted analysis of the email delivery channel is performed from multiple perspectives, specifically through the email delivery success rate, channel queue backlog status and near-source channel value, so as to more accurately and dynamically determine the optimal delivery channel and deliver the email, reduce the situation where the email is mistakenly blocked by the anti-spam system, and effectively improve the success rate and flexibility of email delivery.

[0064] An email delivery method provided in an embodiment of the present application can be applied to email delivery application scenarios. In email delivery application scenarios, an email service provider can deliver emails using the email delivery method provided in an embodiment of the present application, which can effectively reduce the situation where emails are mistakenly blocked by anti-spam systems, improve the flexibility and delivery success rate of email delivery, and improve user experience.

[0065] An email delivery method provided in an embodiment of the present application can be applied to a terminal, a server, or software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal, etc., but is not limited thereto; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the method, etc., but is not limited to the above forms.

[0066] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0067] Figure 1 This is an optional flow chart of a method for delivering an email provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S110 to S140.

[0068] Step S110, obtaining the sending address and the target address of the target email;

[0069] In an embodiment of the present application, the target email may be an email to be sent, and the email information of the email may include time, subject, sending address, content, email size, email content, target address, etc.; the sending address of the target email may be the IP address of the email sender, which may specifically be the IP address of the email sender or the IP address of the server; and the target address may be the IP address of the email receiving user.

[0070] Step S120: According to the target address, perform a near-source analysis on the sending address to obtain a plurality of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize the delivery path of the target mail;

[0071] Reference Figure 2 In some embodiments, the step S120, performing near-source analysis on the sending address according to the target address to obtain a near-source channel value, includes:

[0072] Step S121: classify the target address to obtain an address classification result, where the address classification result is used to characterize the region where the target address is located;

[0073] Step S122: obtaining a plurality of mail delivery channels with smooth delivery paths according to the address classification results;

[0074] In the embodiment of the present application, the near-source analysis is used to determine the smooth mail delivery path between the sending address and the destination address of the target mail, and to obtain the near-source channel value corresponding to each path. Specifically, the near-source analysis can first classify the target address, and specifically can parse the IP location in the target address, that is, the geographical location of the target address of the target mail can be obtained according to the geographic IP database, and the address classification result of whether the target address belongs to an overseas IP can be obtained.

[0075] It is understandable that if the address classification result is a domestic IP (i.e., not an overseas IP), you can select a domestic channel to build several mail delivery channels with smooth target mail delivery paths; or, if the address classification result is an overseas IP, you can select an overseas channel to build several mail delivery channels with smooth target mail delivery paths.

[0076] Step S123: Perform near-source distance detection on the mail delivery channel to obtain the near-source channel value.

[0077] Reference Figure 3 Further, the step S123, according to the mail delivery channel, performs near-source distance detection on the target address and the sending address to obtain the near-source channel value, including:

[0078] A1. Obtaining a mail delivery distance corresponding to the mail delivery channel, as well as a preset standard channel level and channel value;

[0079] A2. Sort all the mail delivery distances to obtain a delivery distance sorting table, wherein the delivery distance sorting table includes the mail delivery channels and the sorting numbers corresponding to the mail delivery channels;

[0080] In an embodiment of the present application, the near-source distance detection in step S123 is used to determine the channel path distance of each unobstructed mail delivery channel, and sort all channel path distances according to their sizes to determine the near-source channel value corresponding to each mail delivery channel.

[0081] Specifically, for step A1, the mail delivery distance corresponding to each mail delivery channel can be calculated based on the IP position in the sending address and the IP position in the target address, and can be directly obtained based on the distance difference between the IP position of the sending address and the IP position of the target address; or, each mail delivery channel is a delivery path for the target mail, and the delivery path is often composed of a sending address, a target address, and several intermediate nodes between the sending address and the target address. Therefore, in another optional implementation, the mail delivery distance corresponding to each mail delivery channel can be determined by integrating the distance between the intermediate node and the adjacent sending address, the distance between the adjacent intermediate nodes, and the distance between the intermediate node and the adjacent target address.

[0082] In addition, there may be multiple preset standard channel levels, each standard channel level corresponds to a specific channel value, and the specific corresponding relationship may be that the higher the standard channel level, the larger the corresponding channel value; or, the smaller the standard channel level, the smaller the corresponding channel value, etc. In the embodiment of the present application, the smaller the standard channel level, the smaller the corresponding channel value is taken as an example, that is, the standard channel level is level one, and the corresponding channel value is 100 as an example. The examples in this application are for illustration only and do not impose any limitations on the present application.

[0083] It should be noted that the sorting in step A2 can be to sort all mail delivery distances from small to large, and add a sorting number to the mail delivery channel corresponding to each mail delivery distance. At this time, the sorting number of the mail delivery channel with the smallest mail delivery distance is the smallest, and this sorting number corresponds to the aforementioned standard channel level. The sorting numbers of the remaining mail delivery channels are similar and can be simply deduced by analogy.

[0084] A3. Update the channel value according to the sorting number and the standard channel level to obtain the near-source channel value.

[0085] Reference Figure 4Further, A3 updates the channel value according to the sorting number and the standard channel level to obtain the near-source channel value, including:

[0086] A31, obtaining a level difference value, where the level difference value is used to characterize the channel value difference between adjacent standard channel levels;

[0087] A32, calculating the absolute difference between the sorting number and the standard channel level to obtain a number difference;

[0088] A33. Update the channel value according to the channel value difference and the number difference to obtain the near-source channel value.

[0089] In the embodiment of the present application, step A3 can specifically be to obtain the channel value difference between each adjacent standard channel level, and the channel value difference can be a fixed value difference, that is, the channel value difference between all standard channel levels is the same; or, it can also be a dynamic value difference, that is, the channel value difference between different adjacent standard channel levels may be the same or different, and the specific values ​​of the fixed value difference and the dynamic data difference can be set according to the actual situation to meet the actual needs. For the convenience of simple understanding, the embodiment of the present application takes the channel value difference as a fixed value difference, and the specific value is 5 as an example. At this time, the level difference obtained by step A31 is 5.

[0090] It can be understood that, for a certain mail delivery channel, step A32 can be to calculate the difference between its sorting number in the delivery distance sorting table and the preset standard channel level to obtain the number difference, and the channel level to which the mail delivery belongs can be determined by calculating the sum of the number difference and the standard channel level representing the first level. In addition, step A33 can be to obtain the product of the channel value difference and the number difference, and to determine the near-source channel value by calculating the difference between the channel value and the product.

[0091] Exemplarily, when the channel value corresponding to the standard channel level 1 is 100, when the fixed level difference is 5, if a mail delivery channel is numbered 9 in the delivery distance sorting table, its corresponding channel level is level nine, the number difference obtained through step A32 is 8, and the obtained near-source channel value is 60.

[0092] It is worth mentioning that the dynamic level difference is similar to the aforementioned fixed level difference, and the only difference is that the difference between adjacent channel levels changes, which can be simply deduced by analogy, and the example of this application will not be elaborated here.

[0093] Step S130: Perform a comprehensive weighted analysis on the mail delivery channels according to the near-source channel values ​​to obtain a comprehensive channel value corresponding to each mail delivery channel, and determine the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel;

[0094] Reference Figure 5 In some embodiments, the step S130, performing a comprehensive weighted analysis on the mail delivery channel according to the near-source channel value to obtain a comprehensive channel value, includes:

[0095] Step S131: Acquire channel status information corresponding to the mail delivery channel, wherein the channel status information includes a mail delivery success rate, a mail backlog quantity, and an average mail delivery delay;

[0096] Step S132: According to a preset channel abnormality condition, an abnormality determination is performed on the channel status information to obtain an abnormality determination result;

[0097] Step S133: If the abnormality determination result is that the channel is normal, then obtaining the current backlog channel value and delay channel value of the mail delivery channel;

[0098] Step S134: updating the current backlog channel value according to the mail backlog quantity to obtain an updated backlog channel value, and updating the current delay channel value according to the delay channel value to obtain an updated delay channel value;

[0099] Step S135 , performing weighted summation on the near-source channel value according to the mail delivery success rate, the updated backlog channel value and the updated delay channel value to obtain the comprehensive channel value.

[0100] In an embodiment of the present application, for a certain mail delivery channel, the mail delivery success rate may be the ratio between the number of successful mails within a first time threshold and the total number of mails delivered; the mail backlog number may be the number of mails to be delivered in the mail queue of the mail delivery channel within a second time threshold; the average mail delivery delay may be the delivery delay of all mails within a third time threshold; in addition, the first time threshold, the second time threshold and the third time threshold may be equal or unequal, and their specific values ​​may be set according to actual conditions.

[0101] It is understandable that step S132 may be an abnormality determination of at least one of the mail delivery success rate, the mail backlog number, and the average mail delivery delay. Specifically, for the mail delivery success rate, the channel abnormality condition may be a mail delivery success threshold, and the specific value of the success threshold may be any one of 0.6, 0.7, 0.8, etc. The abnormality determination may be a comparison of the magnitude relationship between the mail delivery success rate and the mail delivery success threshold. If the mail delivery success rate is less than or equal to the mail delivery success threshold, an abnormality determination result indicating that the channel is abnormal may be obtained. At this time, it may be considered that the delivery path of the mail delivery channel is not smooth, and the mail delivery channel may be eliminated; or, if the mail delivery success rate is greater than the mail delivery success threshold, a first result indicating that the channel is normal from the perspective of the delivery success rate may be obtained.

[0102] In addition, for the number of mail backlogs, the channel abnormality condition can be a mail backlog abnormality threshold. The specific value of the mail backlog abnormality threshold can be any one of 800, 1000, 1200, etc. The abnormality judgment can be to compare the size relationship between the number of mail backlogs and the mail backlog abnormality threshold. If the number of mail backlogs is greater than or equal to the mail backlog abnormality threshold, an abnormality judgment result characterizing the abnormal channel can be obtained. At this time, it can be considered that the queue backlog number of the mail delivery channel is abnormal, the mail delivery path is not smooth, and the mail delivery channel is eliminated; or, when the number of mail backlogs is less than the mail backlog abnormality threshold, a second result can be obtained, characterizing that the channel is normal from the perspective of mail backlog.

[0103] As for the average mail delivery delay, the channel abnormality condition may be a mail delay abnormality threshold, and the specific value of the mail delay abnormality threshold may be any one of 2 seconds, 3 seconds, 5 seconds, etc. The abnormality judgment may be a comparison of the average mail delivery delay and the mail delay abnormality threshold. If the average mail delivery delay is greater than or equal to the mail delay abnormality threshold, an abnormality judgment result representing that the channel is abnormal may be obtained. At this time, it may be considered that the mail delivery path of the mail delivery channel is temporarily blocked, and the mail delivery channel may be eliminated. Alternatively, if the average mail delivery delay is less than the mail delay abnormality threshold, a third result representing that the channel is normal from the perspective of mail delivery delay may be obtained.

[0104] It should be noted that after obtaining the first result, the second result and the third result, the above three results can be integrated to obtain an abnormality determination result that characterizes the normality of the channel; then, the backlog channel value and the delay channel value of the mail delivery channel can be updated.

[0105] Specifically, the update of the backlog channel of the mail delivery channel can be to obtain a number of normal thresholds of mail backlog of different specific values, and the backlog difference corresponding to each normal threshold of mail backlog, and the backlog difference can be a fixed difference or a dynamic difference. In the embodiment of the present application, the normal threshold of mail backlog has a first normal threshold of backlog corresponding to a backlog difference of 0, a second normal threshold of backlog corresponding to a backlog difference of 1, and a third normal threshold of backlog corresponding to a backlog difference of 2 as an example. When the number of mail backlogs is less than the first normal threshold of backlogs, the current backlog channel value can be used as the updated backlog channel value; or, when the number of mail backlogs is greater than or equal to the first normal threshold of backlogs and less than the second normal threshold of backlogs, the current backlog channel value can be subtracted from the backlog difference 1 to obtain the updated backlog channel value; or, when the number of mail backlogs is greater than or equal to the second normal threshold of backlogs, the current backlog channel value can be subtracted from the backlog difference 2 to obtain the updated backlog channel value.

[0106] It is worth mentioning that the backlog difference in the embodiment of the present application can be a positive number or a negative number, and the specific number of normal thresholds for mail backlog can be set according to actual conditions, and the examples in this application are only for illustration. In addition, for the delay channel value, it is similar to the content of the aforementioned backlog channel value, and can be simply deduced by analogy, so this application will not elaborate on it here.

[0107] It should be noted that after obtaining the mail delivery success rate, the updated backlog channel value, the updated delay channel value and the near-source channel value, the weight coefficient corresponding to each factor can be obtained. For example, the weight coefficient of the mail delivery success rate is 0.3, the weight coefficient of the backlog channel value is 0.4, the weight coefficient of the delay channel value is 0.2, and the weight coefficient of the near-source channel value is 0.1; then, a weighted summation operation is performed based on the above four factors and the corresponding weight coefficients to achieve multi-angle mail delivery channel analysis and obtain several weighted channel values ​​(i.e., comprehensive channel values). Each weighted channel value corresponds to a mail delivery channel, and the mail delivery channel with the largest weighted channel value is used as the optimal delivery channel.

[0108] Step S140: Deliver the target mail to the target address according to the optimal delivery channel.

[0109] It is understandable that after obtaining the optimal delivery channel, the target email can be delivered to the target address according to the email delivery path recorded by the optimal delivery channel, which can effectively reduce the situation where emails are mistakenly blocked by the anti-spam system, improve the flexibility and delivery success rate of email delivery, and improve user experience.

[0110] Reference Figure 6 and Figure 7 In some embodiments, the delivery method further comprises:

[0111] Step S210: obtaining a current optimal delivery channel and a delivery status corresponding to the current optimal delivery channel;

[0112] Step S220: If the delivery status is failure, obtaining a suboptimal delivery channel corresponding to the target mail;

[0113] Step S230: Update the current optimal delivery channel according to the suboptimal delivery channel.

[0114] In an embodiment of the present application, for a certain target mail, first, the optimal delivery channel corresponding to the target mail and the delivery status of the target mail in the optimal delivery channel can be obtained, and the delivery status specifically includes undelivered, successful delivery and failed delivery, etc.; when the delivery status is failed, the suboptimal delivery channel can be determined according to the size of the several weighted channel values ​​obtained above, and the suboptimal delivery channel can be used as the latest optimal delivery channel for the target mail, and then the process returns to step S210; or, when the delivery status is undelivered, the target mail is delivered to the target address according to the current optimal delivery channel.

[0115] Reference Figure 8 In some embodiments, the delivery method further comprises:

[0116] Step S240, obtaining a channel update condition, a current target channel value and channel update information, wherein the channel update condition is used to indicate whether the delivery rate of the optimal delivery channel is less than the delivery rate of the suboptimal delivery channel, whether the mail queue of the mail delivery channel is in a non-backlog state, or whether the average mail delivery delay of the mail delivery channel is less than a preset delay update threshold;

[0117] Step S250, comparing the channel update condition and the channel update information to obtain a channel comparison result;

[0118] Step S260: If the channel comparison result is that the channel update information satisfies the channel update condition, the current target channel value is updated;

[0119] The target channel value is any one of the near-source channel value, the backlog channel value and the delayed channel value.

[0120] In an embodiment of the present application, the channel update information is used to record the mail delivery channel information related to the target channel value. Specifically, if the target channel value is the near-source channel value, the channel update information is the delivery rate of the optimal delivery channel and the delivery rate of the suboptimal delivery channel. The delivery rate of the optimal delivery channel can be the ratio of the number of mails delivered using the optimal delivery channel within a certain time threshold to the total number of mails delivered, and the delivery rate of the suboptimal delivery channel is the same. When the delivery rate of the optimal delivery channel is less than the delivery rate of the suboptimal delivery channel, the channel comparison result obtained is that the channel update information satisfies the channel update condition, then the current near-source channel value can be updated, and the specific update can be to increase the numerical value of the near-source channel value of the suboptimal delivery channel, and the specific increase value can be set according to the actual situation.

[0121] In addition, the backlog channel value and delay channel value of step S260 are similar to the aforementioned near-source channel value and can be simply deduced. The difference is that the channel update condition corresponding to the backlog channel value is whether there is no backlog in the mail queue, that is, whether the mail backlog number is 0; the channel update condition corresponding to the delay channel value is whether the average mail delivery delay is less than the preset delay update threshold. The specific values ​​of the various thresholds involved above can be set according to actual conditions, and the examples in this application are for illustration only.

[0122] See also Fig. 9 The present application also provides an email delivery system, the delivery system comprising:

[0123] The acquisition unit 810 is used to acquire the sending address and the target address of the target email;

[0124] The analysis unit 820 is used to perform a near-source analysis on the sending address according to the target address to obtain a plurality of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize the delivery path of the target mail;

[0125] The weighting unit 830 is used to perform a comprehensive weighted analysis on the mail delivery channels according to the near-source channel values, obtain a comprehensive channel value corresponding to each of the mail delivery channels, and determine the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel;

[0126] The delivery unit 840 is used to deliver the target mail to the target address according to the optimal delivery channel.

[0127] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0128] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0129] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0130] See also Fig.10 , Fig.10 The hardware structure of an electronic device of an embodiment is illustrated, and the electronic device includes:

[0131] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0132] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 902, and the processor 901 calls and executes the methods of the embodiments of this application;

[0133] Input / output interface 903, used to implement information input and output;

[0134] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WI FI, Bluetooth, etc.);

[0135] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0136] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0137] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program implements the above method when executed by a processor.

[0138] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0139] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0140] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0141] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0142] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0144] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0145] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0146] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0147] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0149] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0150] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for delivering an e-mail, characterized in that: include: Get the sending address and destination address of the target email; According to the target address, the sending address is subjected to a near-source analysis to obtain a plurality of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize a delivery path of the target mail; Performing a comprehensive weighted analysis on the mail delivery channels according to the near-source channel values ​​to obtain a comprehensive channel value corresponding to each mail delivery channel, and determining the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel; Deliver the target mail to the target address according to the optimal delivery channel.

2. The method for delivering an email according to claim 1, characterized in that: The delivery method also includes: Obtaining a current optimal delivery channel and a delivery status corresponding to the current optimal delivery channel; If the delivery status is failure, obtaining a suboptimal delivery channel corresponding to the target email; The current optimal delivery channel is updated according to the suboptimal delivery channel.

3. The method for delivering an email according to claim 1, characterized in that: The performing near-source analysis on the sending address according to the target address to obtain a near-source channel value includes: Performing address classification on the target address to obtain an address classification result, wherein the address classification result is used to characterize the region where the target address is located; According to the address classification results, a plurality of mail delivery channels with smooth delivery paths are obtained; A near-source distance detection is performed on the mail delivery channel to obtain the near-source channel value.

4. The method for delivering an email according to claim 3, characterized in that: The performing near-source distance detection on the target address and the sending address according to the mail delivery channel to obtain the near-source channel value includes: Obtaining a mail delivery distance corresponding to the mail delivery channel, as well as a preset standard channel level and channel value; Sorting all the mail delivery distances to obtain a delivery distance sorting table, wherein the delivery distance sorting table includes the mail delivery channels and sorting numbers corresponding to the mail delivery channels; The channel value is updated according to the sorting number and the standard channel level to obtain the near-source channel value.

5. The method for delivering an email according to claim 4, characterized in that: The updating of the channel value according to the sorting number and the standard channel level to obtain the near-source channel value includes: Obtaining a level difference value, where the level difference value is used to characterize a channel value difference between adjacent standard channel levels; Calculating the absolute difference between the sorting number and the standard channel level to obtain a number difference; The channel value is updated according to the channel value difference and the number difference to obtain the near-source channel value.

6. The method for delivering an email according to claim 1, characterized in that: The step of performing a comprehensive weighted analysis on the mail delivery channel according to the near-source channel value to obtain a comprehensive channel value includes: Acquire channel status information corresponding to the mail delivery channel, the channel status information including mail delivery success rate, mail backlog quantity and mail average delivery delay; According to a preset channel abnormality condition, an abnormality determination is performed on the channel status information to obtain an abnormality determination result; If the abnormality determination result is that the channel is normal, then obtaining the current backlog channel value and delay channel value of the mail delivery channel; According to the mail backlog quantity, the current backlog channel value is updated to obtain an updated backlog channel value, and according to the delay channel value, the current delay channel value is updated to obtain an updated delay channel value; The near-source channel value is weightedly summed according to the mail delivery success rate, the updated backlog channel value and the updated delay channel value to obtain the comprehensive channel value.

7. The method for delivering an e-mail according to claim 6, characterized in that: The delivery method also includes: Obtaining a channel update condition, as well as a current target channel value and channel update information, wherein the channel update condition is used to indicate whether the delivery rate of the optimal delivery channel is less than the delivery rate of the suboptimal delivery channel, whether the mail queue of the mail delivery channel is in a non-backlog state, or whether the average mail delivery delay of the mail delivery channel is less than a preset delay update threshold; Comparing the channel update condition with the channel update information to obtain a channel comparison result; If the channel comparison result is that the channel update information satisfies the channel update condition, then updating the current target channel value; The target channel value is any one of the near-source channel value, the backlog channel value and the delayed channel value.

8. An email delivery system, characterized in that: include: An acquisition unit, used for acquiring a sending address and a destination address of a target email; An analysis unit, configured to perform a near-source analysis on the sending address according to the target address to obtain a plurality of near-source channel values, each of which corresponds to a mail delivery channel, and the mail delivery channel is used to characterize a delivery path of the target mail; A weighting unit, configured to perform a comprehensive weighted analysis on the mail delivery channels according to the near-source channel values, obtain a comprehensive channel value corresponding to each of the mail delivery channels, and determine the mail delivery channel with the highest corresponding comprehensive channel value as the optimal delivery channel; A delivery unit is used to deliver the target mail to the target address according to the optimal delivery channel.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.