Mail server verification method and device, equipment and storage medium

By receiving and analyzing verification emails from the mail server, calculating sending offset values ​​and generating alarms, the problem of untimely feedback of mail server fault information is solved and business stability and fault handling efficiency are improved.

CN118784441APending Publication Date: 2024-10-15CHINA TELECOM GLOBAL LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411087222.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The mail server failure information cannot be fed back to the business platform in a timely manner, resulting in production failures, and the Java class cannot correctly obtain the timeout or internal abnormality of the mail server, affecting the smooth development of the business.

Method used

By receiving the verification email sent by the mail server, the sending offset value is calculated. If it exceeds the preset offset threshold, an email alarm is sent to the target terminal. A fault handling report is generated by verifying the email record and the success rate of resending the email, and the mail server can be independently judged. working status and issue alarms in a timely manner.

Benefits of technology

It realizes independent judgment and timely alarm on the working status of the mail server, eliminates the impact of faults in advance, and improves the stability of business operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784441A_ABST
    Figure CN118784441A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a mail server verification method and device, equipment, a medium and a program product. The method comprises the following steps: receiving a verification mail sent by a mail server; the verification mail at least comprises mail sending time and system sending time; calculating a sending deviation value according to the mail sending time and the system sending time; and sending a mail alarm to a target terminal in response to the condition that the sending deviation value exceeds a preset deviation threshold value. Through the verification method, the working state of the mail server is judged on the basis of the sending deviation value and the preset deviation threshold value, so that the working state of the mail server can be judged autonomously, and the mail alarm is sent in time, so that the influence caused by the fault of the mail server is eliminated in advance, and the stability of the overall service operation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a mail server verification method, device, electronic device, storage medium and computer program product. Background Art

[0002] At present, during the platform business development process, emails are usually sent to implementation personnel through the mail server. The implementer starts the business work according to the received business email. It can be seen that the timeliness and stability of the mail server sending business emails play a key role in the smooth development of the business. However, since the mail server is generally provided by an external service provider and is not within the management scope of the business platform processing system, the fault information of the mail server will not be fed back to the business platform processing system in a timely manner, resulting in untimely fault feedback and easy production failures. In addition, at present, email sending is usually achieved through the Java class to connect to the mail server. Once the mail server times out or there is an internal exception, the Java class method cannot correctly obtain the result, which also brings hidden dangers to the smooth development of the business. Summary of the invention

[0003] Embodiments of the present disclosure provide a mail server authentication method, device, electronic device, storage medium, and computer program product.

[0004] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0005] According to one aspect of the present disclosure, a mail server verification method is provided, the method comprising: receiving a verification mail sent by a mail server; the verification mail at least comprising: the mail sending time and the system sending time; calculating a sending offset value based on the mail sending time and the system sending time; and sending an mail alarm to a target terminal in response to the sending offset value exceeding a preset offset threshold.

[0006] In an exemplary embodiment, the method further includes: sending a verification email configuration to the mail server so that the mail server periodically sends the verification email to the verification email account; the verification email configuration includes at least: the verification email account and the verification period.

[0007] In an exemplary embodiment, the email alarm includes one or more of an alarm ID, an alarm type, an alarm object, an alarm name, an alarm content, an alarm generation time, and an alarm elimination time.

[0008] In an exemplary embodiment, the method also includes: receiving a first verification email sent by the email server; the first verification email includes at least: a first email sending time and a first system sending time; calculating a first sending offset value based on the first email sending time and the first system sending time; in response to the first sending offset value not exceeding the preset offset threshold, eliminating the email alarm.

[0009] In an exemplary embodiment, the receiving the first verification email sent by the mail server includes: receiving a fault handling message; and receiving the first verification email sent by the mail server in response to the fault handling message.

[0010] In an exemplary embodiment, the method further includes: acquiring at least one first email sent by the email server between the email sending time and the alarm elimination time; and instructing the email server to resend the at least one first email.

[0011] In an exemplary embodiment, the method further includes: counting the success rate of resending the at least one first email to obtain a success rate of resending emails.

[0012] In an exemplary embodiment, the method further includes: generating an email failure handling report according to the verification email, email warning and / or email resending success rate.

[0013] In an exemplary embodiment, the method further includes: in response to the sending offset value exceeding the offset threshold, generating a verification email record according to the verification email; and storing the verification email record in a preset target database.

[0014] According to another aspect of the present disclosure, there is provided an email server verification device, comprising: a verification email receiving module, configured to receive a verification email sent by a mail server; the verification email at least includes: an email sending time and a system sending time; an offset value calculation module, configured to calculate a sending offset value based on the email sending time and the system sending time; and an email alarm module, configured to send an email alarm to a target terminal in response to the sending offset value exceeding a preset offset threshold.

[0015] According to another aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; a storage device configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the mail server verification method as described in the above embodiments.

[0016] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the mail server verification method as described in the above embodiment is implemented.

[0017] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / signaling, characterized in that when the computer program / signaling is executed by a processor, the mail server verification method as described in the above embodiment is implemented.

[0018] The mail server verification method provided by the embodiment of the present disclosure receives a verification mail sent by the mail server and calculates the sending offset value corresponding to the verification mail. Based on the sending offset value and the preset offset threshold, the working status of the mail server is judged. In response to the sending offset value exceeding the preset offset threshold, an email alarm is sent to the target terminal. Through the above verification method, the working status of the mail server can be independently judged, and an email alarm can be issued in time, so as to eliminate the impact of the mail server failure in advance and improve the stability of the overall business operation.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0021] Figure 1 A schematic diagram of an email server verification system architecture applicable to an embodiment of the present disclosure is shown;

[0022] Figure 2 A flowchart of a mail server verification method according to an embodiment of the present disclosure is shown;

[0023] Figure 3 A flow chart of a method for eliminating email alerts according to an embodiment of the present disclosure is shown;

[0024] Figure 4 A flowchart of the email resending method according to an embodiment of the present disclosure is shown;

[0025] Figure 5 A schematic diagram of the mail server verification process according to an embodiment of the present disclosure is shown;

[0026] Figure 6 A schematic diagram showing the structure of a mail server verification device according to an embodiment of the present disclosure is shown;

[0027] Figure 7A schematic diagram of the structure of an electronic device suitable for implementing an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0029] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0030] It should be noted that the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present disclosure are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects, and the descriptions of "first" and "second" do not limit the objects to be different.

[0031] In order to solve the potential security problems existing in the mail server, the present disclosure provides a mail server verification system architecture so that the working status of the mail server can be verified.

[0032] The specific implementation of the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0033] Figure 1 A schematic diagram of the architecture of a mail server verification system applicable to an embodiment of the present disclosure is shown.

[0034] like Figure 1 As shown, the system architecture includes: an orchestrator system 101 , a mail server 102 , a mail analysis device 103 and a database 104 .

[0035] The scheduler system 101 is a mail task management system, which is used to issue mail sending tasks to the mail server 102 .

[0036] In one embodiment, after receiving the business order, the orchestrator system 101 can start the business order process and generate a pending work order, generate a corresponding email sending task based on the pending work order, and instruct the email server 102 to send the pending work order email to the corresponding customer mailbox according to the email sending task.

[0037] In one embodiment, after receiving the verification email configuration, the orchestrator system 101 generates a corresponding verification email sending task based on the verification email configuration, and instructs the mail server 102 to send the verification email to the corresponding verification mailbox according to the verification email sending task.

[0038] The mail server 102 is a mail sending management system, which is used to execute mail sending tasks and send designated mails to target mailboxes.

[0039] The email analysis device 103 is a verification and analysis device for the email server status. The email analysis device 103 can receive the verification email received by the verification mailbox, and analyze the working status of the email server according to the verification email. When the working status of the email server is abnormal, the email analysis device 103 can send an email alarm to the orchestrator system 101.

[0040] The database 104 is used to store the relevant verification email records generated by the email analysis device 103 .

[0041] The present disclosure provides a mail server verification method. Figure 1 The email analysis device 103 shown is executed.

[0042] Figure 2 FIG. 1 is a flow chart of a mail server verification method according to an embodiment of the present disclosure. Figure 2 As shown, the mail server verification method may include the following steps.

[0043] In step S210, a verification email sent by a mail server is received; the verification email at least includes: the email sending time and the system sending time.

[0044] In the disclosed embodiment, the mail server sends the specified verification mail to the corresponding verification mailbox. The mail analysis device can receive the verification mail sent by the mail server through the verification mailbox. The verification mail at least includes: the mail sending time and the system sending time. The mail sending time refers to the sending time of the verification mail. The system sending time refers to the time when the scheduler system sends the verification mail sending task of the verification mail to the mail server.

[0045] In an exemplary embodiment, the email sending time and the system sending time can be recorded in the email content of the verification email. The email sending time and the system sending time can also be used as the attribute information of the verification email.

[0046] In an exemplary embodiment, the email analysis device can send a verification email configuration to the email server. The verification email configuration includes at least: a verification email account and a verification period. The verification email account is an email account used to receive verification emails, such as testMailA@test.com. The verification period is used to indicate the time period for the email server to periodically send verification emails, such as sending a verification email every 5 minutes. Through the verification email configuration, the email server can be instructed to periodically send verification emails to the verification email account. It should be noted that the verification email configuration is sent directly to the email server by the email analysis device, and can also be sent to the orchestration system by the email analysis device, and the orchestration system then periodically sends a verification email sending task to the email server according to the verification email configuration to instruct the email server to send a verification email.

[0047] In an exemplary embodiment, the verification email configuration may further include: verification email content and an offset threshold. The verification email content is used to set the format of the verification email content. The offset threshold is a preset timeout fault offset value, which is used to determine the working status of the email server. The offset threshold can be set manually.

[0048] In an exemplary embodiment, the verification email configuration may be configured in a YAML file format, which is a highly readable format for expressing data serialization.

[0049] For example, the format of the verification email content is: This is a verification email from the system {{systemName}}, and the system sending time is: {{sendTime}}. Among them, {{systemName}} is a variable of the system name, and {{sendTime}} is a variable of the system sending time. The relevant variables are automatically filled in by the corresponding program.

[0050] For example, the content of the verification email received by the verification email address is as follows:

[0051] Email Subject: Verification Email

[0052] Email sent time: 2023-06-01 12:20:00

[0053] Email body: This is a verification email from Orchestrator system , the system sending time is: 2023-06-01 12:00: 00 .

[0054] In step S220, a sending offset value is calculated according to the email sending time and the system sending time.

[0055] In the embodiment of the present disclosure, a sending offset value is calculated according to the email sending time and the system sending time. Specifically, the sending offset value is the time difference between the email sending time and the system sending time.

[0056] For example, the email sending time is: 2023-06-01 12:20:00, and the system sending time is: 2023-06-01 12:00:00. Then the sending offset value is 20 minutes, that is, 120000 milliseconds.

[0057] In step S230, in response to the sending offset value exceeding a preset offset threshold, an email alert is sent to the target terminal.

[0058] In the disclosed embodiment, the sending offset value is compared with a preset offset threshold. When the sending offset value exceeds the preset offset threshold, it indicates that the delay between the mail server sending the verification email sending task from the scheduler system to the mail server sending the corresponding verification email is too large, and it is judged that the working state of the mail server is abnormal. Based on this, the mail analysis device sends an email alert to the target terminal to alert that the working state of the mail server is abnormal. The target terminal is a terminal pre-set to receive the email alert.

[0059] For example, the sending offset value is 20 minutes, and the preset offset threshold is 5 minutes. After the email analysis device analyzes and determines that the working state of the email server is abnormal, an email alarm is sent to the scheduler system, and the system administrator follows up and handles it.

[0060] In an exemplary embodiment, the email alarm includes one or more of an alarm ID, an alarm type, an alarm object, an alarm name, an alarm content, an alarm generation time, and an alarm elimination time.

[0061] Table 1.

[0062]

[0063] Table 1

[0064] The mail server verification method provided by the embodiment of the present disclosure receives a verification mail sent by the mail server and calculates the sending offset value corresponding to the verification mail. Based on the sending offset value and the preset offset threshold, the working status of the mail server is judged. In response to the sending offset value exceeding the preset offset threshold, an email alarm is sent to the target terminal. Through the above verification method, the working status of the mail server can be independently judged, and an email alarm can be issued in time, so as to eliminate the impact of the mail server failure in advance and improve the stability of the overall business operation.

[0065] Figure 3 A flow chart of a method for eliminating email alerts according to an embodiment of the present disclosure is shown.

[0066] In the present disclosure, Figure 3 Steps S310, S320, and S330 in the email alarm elimination method are respectively Figure 2 Steps S210, S220, and S230 in the mail server verification method shown correspond to each other and are not repeated here.

[0067] In the embodiment of the present disclosure, Figure 2 Based on the mail server authentication method shown, Figure 3 The mail server verification method shown may further include the following steps.

[0068] In step S340, a first verification email sent by the mail server is received; the first verification email at least includes: a first email sending time and a first system sending time.

[0069] In the embodiment of the present disclosure, after the email alarm is sent in the aforementioned step S230, the email server continues to send the specified first verification email to the corresponding verification mailbox. The email analysis device can receive the first verification email sent by the email server through the verification mailbox. The first verification email at least includes: the first email sending time and the first system sending time. The first verification email is a verification email used to verify whether the email server eliminates the abnormal state.

[0070] In an exemplary embodiment, in the aforementioned steps S220 and S230, the email analysis device analyzes and determines that the email server is in an abnormal working state and issues an email alarm. The email alarm does not stop the process of periodically sending verification emails based on the verification email configuration. The email server will still periodically send verification emails based on the verification email configuration. The verification emails sent after the email alarm and before the email alarm is eliminated can be regarded as the first verification email.

[0071] In an exemplary embodiment, as described above, the email alert is sent to the target terminal for follow-up processing by the system administrator. When the system administrator completes the fault processing, a fault processing message can be sent to the email analysis device or the orchestration system. After receiving the fault processing message, in response to the fault processing message, the email analysis device receives the first verification email sent by the email server to verify whether the email server eliminates the abnormal state. Accordingly, the orchestration system can instruct the email server to send the first verification email based on the fault processing message.

[0072] In step S350, a first sending offset value is calculated according to the first email sending time and the first system sending time.

[0073] In the embodiment of the present disclosure, similar to the aforementioned step S220, the first sending offset value is calculated according to the first email sending time and the first system sending time of the first verification email. The relevant calculation process is not repeated here.

[0074] In step S360, in response to the first sending offset value not exceeding the preset offset threshold, the email alarm is eliminated.

[0075] In the disclosed embodiment, the first sending offset value is compared with a preset offset threshold. When the first sending offset value does not exceed the preset offset threshold, it indicates that the abnormal working state of the mail server has been eliminated, and the mail server can complete the sending of mails within the preset offset threshold. Based on this, the mail analysis device eliminates the aforementioned mail alarm. The operation of eliminating the mail alarm includes, but is not limited to, sending an elimination mail alarm to the target terminal, or generating an elimination mail alarm report.

[0076] The mail server verification method provided by the embodiment of the present disclosure provides a re-judgment mechanism for the working status of the mail server after sending an email alarm. The working status of the mail server is re-judged based on the verification email, and in response to the first sending offset value not exceeding the preset offset threshold, it is judged that the working status of the mail server has returned to normal, thereby eliminating the email alarm. The re-judgment mechanism can be triggered based on periodic verification emails, or can be triggered based on receiving a fault processing message.

[0077] Figure 4 A flow chart of an email resending method according to an embodiment of the present disclosure is shown.

[0078] In the present disclosure, Figure 4 Steps S410, S420, S430, S440, S450, and S460 in the email resending method are respectively Figure 3 Steps S310, S320, S330, S340, S350, and S360 in the email alarm elimination method are corresponding and will not be repeated here.

[0079] In the embodiment of the present disclosure, Figure 3 Based on the mail server authentication method shown, Figure 4 The mail server verification method shown may further include the following steps.

[0080] In step S470, at least one first email sent by the email server between the email sending time and the alarm clearing time is obtained.

[0081] In the embodiment of the present disclosure, after the email alarm is eliminated, since the emails generated during the abnormal state of the email server cannot be guaranteed to be sent normally, it is necessary to design an email resending mechanism to resend the emails generated during this period. Here, the emails that need to be resent are the pending work order emails sent by the email server to the customer's mailbox, that is, the emails that the email server needs to send normally.

[0082] In the disclosed embodiment, at least one first email sent by the email server between the email sending time in the aforementioned step S210 and the alarm elimination time determined in S360 is obtained. The first email is the aforementioned email that needs to be resent. The first email information during this period can be obtained through the email sending task sent by the orchestration system to the email server.

[0083] In step S480, the mail server is instructed to resend the at least one first mail.

[0084] In the embodiment of the present disclosure, the email analysis device can resend the email sending task corresponding to the first email through the orchestrator system to instruct the email server to resend the at least one first email to avoid email sending failure during the fault period, resulting in business suspension.

[0085] In an exemplary embodiment, the server verification method can further monitor the resending of the at least one first email, count the success rate of the at least one first email resending, and obtain the resending email success rate. The resending email success rate can be used to further determine whether the abnormal state of the email server has been eliminated.

[0086] In an exemplary embodiment, the server verification method can further generate an email fault handling report based on the aforementioned verification email, email alarm and / or resending email success rate. The email fault handling report may include one or more of: alarm object, alarm name, alarm content, alarm generation time, alarm elimination time, emails sent during the fault period, emails successfully resent after the fault is eliminated, and resending email success rate. The email fault handling report can be used to comprehensively record the email fault event for subsequent related event analysis.

[0087] The mail server verification method provided by the embodiment of the present disclosure provides a resending mechanism for multiple first mails sent by the mail server during the period from the time the mail is sent to the time the alarm is cleared, and resends the mails generated during this period to avoid the situation where the mail sending fails during the fault period and the service is stopped.

[0088] In some embodiments of the present disclosure, the server verification method may further generate a verification email record based on the verification email in response to the sending offset value exceeding the offset threshold; and store the verification email record in a preset target database.

[0089] In the embodiment of the present disclosure, based on the fact that the sending offset value exceeds the offset threshold, it is determined that the mail server is in an abnormal state, and then a verification mail record is generated according to the verification mail. The verification mail record is used to record the relevant data of the mail failure event. The verification mail record is stored in a preset target database for subsequent related event analysis.

[0090] In an exemplary embodiment, the verification email record may also be generated together with alarm elimination related data after the alarm is eliminated, and stored in a preset target database.

[0091] In an exemplary embodiment, the verification email record may be stored in a storage medium. The storage medium may be a file, a database, a disk, etc. For example, the storage medium is a database, which may be connected via JDBC (Java Database Connectivity) and execute SQL (Structure Query Language) statements for storage.

[0092] Figure 5 FIG. 2 shows a schematic diagram of the mail server verification process according to an embodiment of the present disclosure. Figure 5 As shown, in an exemplary embodiment, the mail server verification process may include the following steps.

[0093] 101. After receiving the business order, the orchestrator system needs to start the order process and generate a pending work order. At the same time, the events generated by the pending work order need to be sent to the relevant implementation personnel. Based on this, the orchestrator system sends a request to the customer's mailbox through the mail server.

[0094] 102. After receiving the email sending task from the scheduler system, the mail server sends the email content to the customer mailbox: xxxx@xxx.com through the mail server's own function. If the mail server is in a normal state, the email content will be delivered on time. On the contrary, if the mail server is in an abnormal state, the customer's email will not be received or will be delayed.

[0095] 103. The orchestrator system periodically sends a verification email sending task to the email server according to the pre-set verification email configuration, so that the email server periodically sends verification emails to the verification email account.

[0096] 104. The mail server periodically sends the verification mail to the verification mail box in the verification mail configuration: testMailA@test.com.

[0097] 105. The email analysis device actively logs into the verification email address testMailA@test.com, obtains a new verification email in real time, and reads the content in the verification email.

[0098] 106. The email analysis device calculates the sending offset value according to the email sending time and the system sending time in the verification email obtained in step 105. After obtaining the sending offset value, the sending offset value is verified and analyzed. If the sending offset value exceeds the preset offset threshold, an alarm is generated and sent to the orchestrator system for follow-up processing by the system administrator.

[0099] 107. The email analysis device further generates a verification email record based on the verification email, and stores the verification email record in a preset database.

[0100] Among them, the email analysis device in the embodiment of the present disclosure plays an important role. The email analysis device may have the following capabilities:

[0101] Email login: You can log in to the verified email address.

[0102] Email information acquisition and analysis: can actively obtain emails in the mailbox and parse and analyze the email content.

[0103] Data source configuration: can configure data source information and flexibly connect to various data sources for data processing.

[0104] Data source data adjustment: You can add, delete, check, modify and other operations on the data source.

[0105] Alarm generation / reporting: Alarms can be generated based on the analysis results of email information, and alarm reporting actions can be performed for the generated alarms.

[0106] Interface capability call: It can provide capability interfaces to other modules for calling, and can also call the capabilities of other functional modules to assist in the implementation of its own functions.

[0107] Eliminate alarms: Eliminate mailbox problem alarms through system analysis feedback.

[0108] Email resending: Record the failure time and resend the emails within the failure time.

[0109] Fault handling report: record fault information and the scope of affected emails, and generate a fault handling report.

[0110] Based on the same inventive concept, the embodiment of the present disclosure provides a mail server verification device, as described in the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the communication verification device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0111] Figure 6 FIG. 2 shows a schematic diagram of the structure of a mail server verification device according to an embodiment of the present disclosure. Figure 6 As shown, the mail server verification device 600 may include: a verification mail receiving module 610 , an offset value calculation module 620 and a mail alarm module 630 .

[0112] The verification email receiving module 610 is configured to receive a verification email sent by a mail server; the verification email at least includes: email sending time and system sending time.

[0113] The offset value calculation module 620 is configured to calculate a sending offset value according to the email sending time and the system sending time.

[0114] The email warning module 630 is configured to send an email warning to the target terminal in response to the sending offset value exceeding a preset offset threshold.

[0115] In an exemplary embodiment, the verification email configuration module is configured to send a verification email configuration to the email server so that the email server periodically sends the verification email to the verification email account; the verification email configuration includes at least: the verification email account and the verification period.

[0116] In an exemplary embodiment, the email alarm includes one or more of an alarm ID, an alarm type, an alarm object, an alarm name, an alarm content, an alarm generation time, and an alarm elimination time.

[0117] In an exemplary embodiment, the verification email receiving module 610 is also configured to receive a first verification email sent by the email server; the first verification email includes at least: a first email sending time and a first system sending time; the offset value calculation module 620 is also configured to calculate a first sending offset value based on the first email sending time and the first system sending time; the email alarm module 630 is also configured to eliminate the email alarm in response to the first sending offset value not exceeding the preset offset threshold.

[0118] In an exemplary embodiment, the verification email receiving module 610 is further configured to receive a fault handling message; and in response to the fault handling message, receive the first verification email sent by the mail server.

[0119] In an exemplary embodiment, the mail resending module is configured to obtain at least one first mail sent by the mail server between the mail sending time and the alarm elimination time; and instruct the mail server to resend the at least one first mail.

[0120] In an exemplary embodiment, the email resending module is further configured to count the success rate of resending the at least one first email to obtain a success rate of resending emails.

[0121] In an exemplary embodiment, the fault reporting module is configured to generate an email fault handling report based on the verification email, email warning and / or email resending success rate.

[0122] In an exemplary embodiment, the verification email record module is configured to generate a verification email record according to the verification email in response to the sending offset value exceeding the offset threshold; and store the verification email record in a preset target database.

[0123] Figure 7 The structure diagram of the electronic device suitable for implementing the exemplary embodiment of the present disclosure is shown. Figure 7 An electronic device 700 according to this embodiment of the present invention will be described. Figure 7 The electronic device 700 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0124] like Figure 7 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.

[0125] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and / or a cache storage unit 7202 , and may further include a read-only storage unit (ROM) 7203 .

[0126] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0127] Bus 730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0128] The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 760. As shown, the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0129] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is further provided, on which a program product capable of implementing the above method of the present specification is stored.

[0130] In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary implementations of the present invention described in the above “Exemplary Methods” section of this specification.

[0131] The program product for implementing the above method according to the embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with a signaling execution system, apparatus, or device.

[0132] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0133] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with a signaling execution system, apparatus, or device.

[0134] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0135] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0136] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0137] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0138] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several signalings to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation methods of the present disclosure.

[0139] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

[0140] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A mail server verification method, characterized in that: The method comprises: Receive a verification email sent by the mail server; the verification email at least includes: the email sending time and the system sending time; Calculate the sending offset value according to the email sending time and the system sending time; In response to the sending offset value exceeding a preset offset threshold, an email alert is sent to the target terminal.

2. The method according to claim 1, characterized in that The method further comprises: Sending a verification email configuration to the email server so that the email server periodically sends the verification email to the verification email account; the verification email configuration at least includes: the verification email account and the verification period.

3. The method according to claim 1, characterized in that The email alarm includes: one or more of an alarm ID, an alarm type, an alarm object, an alarm name, an alarm content, an alarm generation time, and an alarm elimination time.

4. The method according to claim 1, characterized in that: The method further comprises: Receive a first verification email sent by the mail server; the first verification email at least includes: the first email sending time and the first system sending time; Calculate a first sending offset value according to the first email sending time and the first system sending time; In response to the first sending offset value not exceeding the preset offset threshold, the email alert is eliminated.

5. The method according to claim 4, characterized in that The receiving a first verification email sent by the email server includes: Receive fault handling messages; In response to the fault handling message, the first verification email sent by the email server is received.

6. The method according to claim 4, characterized in that The method further comprises: Acquire at least one first email sent by the email server between the email sending time and the alarm elimination time; Instruct the mail server to resend the at least one first mail.

7. The method according to claim 6, characterized in that The method further comprises: The success rate of resending the at least one first email is counted to obtain a success rate of resending emails.

8. The method according to claim 7, characterized in that The method further comprises: An email troubleshooting report is generated based on the verification email, email warning and / or email resending success rate.

9. The method according to claim 1, characterized in that: The method further comprises: In response to the sending offset value exceeding the offset threshold, generating a verification email record according to the verification email; The verification email record is stored in a preset target database.

10. A mail server verification device, characterized in that: include: A verification email receiving module is configured to receive a verification email sent by a mail server; The verification email at least includes: email sending time and system sending time; An offset value calculation module is configured to calculate a sending offset value according to the email sending time and the system sending time; The email alarm module is configured to send an email alarm to the target terminal in response to the sending offset value exceeding a preset offset threshold.

11. An electronic device, characterized in that: include: one or more processors; A storage device configured to store one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement the method according to any one of claims 1 to 9.

12. 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 9 is implemented.

13. A computer program product, comprising a computer program / signaling, characterized in that When the computer program / signaling is executed by a processor, the method according to any one of claims 1 to 9 is implemented.