Report email push method, device, terminal and storage medium
By filtering and confirming the readiness status of report emails, sending them in real time or delaying processing, the problem of inflexible push time of report emails is solved, and the flexibility and automation of report email push are improved.
Patent Information
- Application Number
- CN202310144923.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-02-06
AI Technical Summary
In the existing intelligent sending management of report emails, the push time is not flexible enough. If the report data calculation takes a long time, causing the readiness time to exceed the set push time, automatic push cannot be performed, requiring manual operation, and the flexibility is low.
Filter the report email information to be sent in the preset email configuration list, confirm its data readiness status, if it is ready, refresh and download the latest report, and send the email in real time; if it is not ready, check the preset alarm time, perform data delay processing or Reminder to ensure flexible push.
It realizes the flexible push of report emails, avoids fixed time point restrictions, does not require manual operations, and improves the flexibility and efficiency of sending.
Smart Images

Figure CN116319651B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a report email push method, device, terminal equipment and computer storage medium. Background Art
[0002] With the development of technology, intelligent sending management has become possible for report emails, that is, the system automatically sends the preset emails to the preset recipients at the preset push time.
[0003] However, in the existing intelligent sending management of report emails, the time point for sending report emails is not flexible enough. Even if the report is ready long before the sending time point, it is necessary to wait until the set sending time point to be pushed. If you want to push the email in advance, you can only push it manually. Moreover, if the calculation time of the report data is long, resulting in the report being ready for more than the push time set by the scheduled script, the email can no longer be automatically pushed on the same day. If you want to push the timed-out email, you can only push it manually.
[0004] In summary, in the existing intelligent sending management of report emails, the flexibility of pushing report emails is very low. Summary of the invention
[0005] The main purpose of the present invention is to provide a report mail push method, terminal device and computer storage medium, aiming to achieve that the report mail push is no longer restricted by a fixed sending time point, thereby improving the flexibility of sending report mails.
[0006] To achieve the above object, the present invention provides a method for pushing a report email, the method for pushing a report email comprising the following steps:
[0007] Filtering the report email information to be sent in the preset email configuration list, and confirming whether the ready state of the report data pointed to by the report email information is the ready completed state, wherein the report data pointed to by the report email information is one or more;
[0008] If it is confirmed that the ready state is the ready completed state, the report data is refreshed to a preset report framework to obtain the latest report, and the latest report is downloaded;
[0009] A report email to be sent is prepared according to the latest report, and the report email is sent in real time when the preparation of the report email is completed.
[0010] Optionally, after the step of confirming whether the ready state of the report data pointed to by the report email information is a ready completed state, the method further includes:
[0011] If it is confirmed that the ready state of at least one of the report data is not the ready completed state, then confirm whether the current time exceeds the preset alarm time corresponding to the report email information;
[0012] If it is confirmed that the current time exceeds the preset alarm time, unfinished target report data in the report data is confirmed, and email delay information processing is performed on the target report data.
[0013] Optionally, the email delay information processing includes: saving a data delay log and / or sending a delay reminder message, and the step of processing the email delay information for the target report data includes:
[0014] confirming the data delay log of the target report data and saving the data delay log; and / or,
[0015] The delay reminder information of the target report data is confirmed, and the delay reminder information is sent to a preset report generator of the target report data.
[0016] Optionally, after the step of confirming whether the current time exceeds the preset alarm time corresponding to the report data, the method further includes:
[0017] If it is confirmed that the current time does not exceed the preset alarm time, the sending of the report email information is terminated, and the next email information to be sent is sent.
[0018] Optionally, the step of filtering the report email information to be sent in the preset email configuration list includes:
[0019] Confirm the report data to be sent in the preset report list;
[0020] The report email information to be sent is filtered out in a preset email configuration list according to the report data.
[0021] Optionally, the step of preparing a report email to be sent according to the latest report includes:
[0022] Obtain the email information corresponding to the latest report;
[0023] The latest report is used as an attachment together with the mail information to prepare a report mail to be sent.
[0024] Optionally, the method for pushing the report email includes:
[0025] The email configuration list is updated at preset time intervals, and report email information to be sent is screened in real time.
[0026] In addition, to achieve the above-mentioned purpose, the present invention also provides a report mail push device, characterized in that the report mail push device comprises:
[0027] A first screening module is used to screen the report email information to be sent in a preset email configuration list, and confirm whether the ready state of the report data pointed to by the report email information is a ready completed state, wherein the report data pointed to by the report email information is one or more;
[0028] A download module, for refreshing the report data to a preset report framework to obtain the latest report if the ready state is confirmed to be the ready completed state, and downloading the latest report;
[0029] The sending module is used to prepare a report email to be sent according to the latest report, and send the report email in real time when the report email is completed.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal device, which includes: a memory, a processor, and a report email push program stored on the memory and runable on the processor, and when the report email push program is executed by the processor, the steps of the report email push method as described above are implemented.
[0031] In addition, to achieve the above purpose, the present invention also provides a computer storage medium, on which a report mail push program is stored, and when the report mail push program is executed by a processor, the steps of the report mail push method described above are implemented.
[0032] The present invention proposes a report email push method, device, terminal device and computer-readable storage medium, and the report email push method includes the following steps: filtering out report email information to be sent in a preset email configuration list, and confirming whether the ready state of the report data pointed to by the report email information is a ready-completed state, wherein the report data pointed to by the report email information is one or more; if it is confirmed that the ready state is a ready-completed state, refreshing the report data to a preset report framework to obtain the latest report, and downloading the latest report; preparing a report email to be sent according to the latest report, and sending the report email in real time when the report email is prepared.
[0033] The present invention filters out report email information to be sent from a preset email configuration list, the report email information includes one or more report data, and confirms whether the ready status of one or more report data is all ready and completed. If it is confirmed that the ready status of one or more report data is all ready and completed, the report data is refreshed to a preset report framework to obtain the latest report, and the latest report is downloaded. A report email to be sent is prepared based on one or more latest reports, and the report email is sent in real time when the preparation of the report email is completed.
[0034] Compared to the traditional method of sending report emails at a preset push time point, the present invention sends report emails to the preset recipients of the report emails in real time according to the data readiness status and report refresh status of the report. As a result, the present invention achieves that pushing report emails is no longer restricted by a fixed sending time point, that is, no matter whether the report is produced before or after the preset sending time, there is no need for manual push operations, thereby greatly improving the flexibility of sending report emails. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the structure of the hardware operation of the terminal device involved in the embodiment of the present invention;
[0036] Figure 2 It is a flow chart of an embodiment of a method for pushing a report email according to the present invention;
[0037] Figure 3 It is a flow chart of another embodiment of a method for pushing a report email of the present invention;
[0038] Figure 4 It is a schematic diagram of the structural relationship of a report email push system of the present invention.
[0039] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0041] like Figure 1 As shown, Figure 1 It is a structural diagram of the hardware operating environment of the terminal device involved in the embodiment of the present invention.
[0042] It should be noted that Figure 1The terminal device of the embodiment of the present invention may be a device for pushing report emails, and the terminal device may specifically be a mobile terminal, a data storage control terminal, a PC or a portable computer.
[0043] like Figure 1 As shown, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a non-volatile memory (such as a Flash memory), a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0044] Those skilled in the art will understand that Figure 1 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0045] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a report email push program. The operating system is a program that manages and controls the hardware and software resources of the sample terminal device, and supports the push program of the report email and the operation of other software or programs.
[0046] exist Figure 1 In the terminal device shown, the user interface 1003 is mainly used for data communication with each terminal; the network interface 1004 is mainly used for connecting to the backend server and communicating data with the backend server; and the processor 1001 can be used to call the report email push program stored in the memory 1005 and perform the following operations:
[0047] Filtering the report email information to be sent in the preset email configuration list, and confirming whether the ready state of the report data pointed to by the report email information is the ready completed state, wherein the report data pointed to by the report email information is one or more;
[0048] If it is confirmed that the ready state is the ready completed state, the report data is refreshed to a preset report framework to obtain the latest report, and the latest report is downloaded;
[0049] A report email to be sent is prepared according to the latest report, and the report email is sent in real time when the preparation of the report email is completed.
[0050] Optionally, the processor 1001 may be used to call a report email push program stored in the memory 1005, and after executing the step of confirming whether the production status of the report data included in the report email information is a completed state, further perform the following operations:
[0051] If it is confirmed that the ready state of at least one of the report data is not the ready completed state, then confirm whether the current time exceeds the preset alarm time corresponding to the report email information;
[0052] If it is confirmed that the current time exceeds the preset alarm time, unfinished target report data in the report data is confirmed, and email delay information processing is performed on the target report data.
[0053] Optionally, the email delay information processing includes: saving a data delay log and / or sending a delay reminder message. The processor 1001 may be used to call a report email push program stored in the memory 1005, and further perform the following operations:
[0054] confirming the data delay log of the target report data and saving the data delay log; and / or,
[0055] The delay reminder information of the target report data is confirmed, and the delay reminder information is sent to a preset report generator of the target report data.
[0056] Optionally, the processor 1001 may be used to call a report email push program stored in the memory 1005, and after executing the step of confirming whether the current time exceeds the preset alarm time corresponding to the report data, further perform the following operations:
[0057] If it is confirmed that the current time does not exceed the preset alarm time, the sending of the report email information is terminated, and the next email information to be sent is sent.
[0058] Optionally, the processor 1001 may be used to call a report email push program stored in the memory 1005, and further perform the following operations:
[0059] Confirm the report data to be sent in the preset report list;
[0060] The report email information to be sent is filtered out in a preset email configuration list according to the report data.
[0061] Optionally, the processor 1001 may be used to call a report email push program stored in the memory 1005, and further perform the following operations:
[0062] Obtain the email information corresponding to the latest report;
[0063] The latest report is used as an attachment together with the mail information to prepare a report mail to be sent.
[0064] Optionally, the processor 1001 may be used to call a report email push program stored in the memory 1005, and further perform the following operations:
[0065] The email configuration list is updated at preset time intervals, and report email information to be sent is screened in real time.
[0066] Based on the above terminal device, various embodiments of the method for pushing report mails of the present invention are proposed. In various embodiments of the method for pushing report mails of the present invention.
[0067] Please refer to Figure 2 , Figure 2 The flowchart of the first embodiment of the method for pushing report mails of the present invention is shown in FIG. In the first embodiment of the method of the present invention, the method for pushing report mails of the present invention includes:
[0068] Step S10: Filtering the report email information to be sent in the preset email configuration list, and confirming whether the ready state of the report data pointed to by the report email information is ready completed, wherein the report data pointed to by the report email information is one or more;
[0069] In this embodiment, when the terminal device automatically pushes the report email, it filters out the report email information to be sent in the preset email configuration list, and confirms whether the ready status of one or more report data pointed to by the report email information is all ready and completed.
[0070] It should be noted that the terminal device enters the email configuration list to filter out the report email information to be sent. The report email information to be sent may specifically be the report email information that needs to be sent today but has not yet been sent. That is, the terminal device needs to filter out the report email information that failed to be sent and / or the report email information other than the report email information that has been sent. The report email information that failed to be sent may be faulty. Therefore, the remaining report email information is filtered out as the report email information to be sent.
[0071] In addition, it should be noted that the email configuration list is a list of configuration information of emails that need to be sent, that is, the email configuration list includes email configuration information such as email content, recipients and CCs, and the report email information is the email configuration information in the email configuration list, so as to find the report email information to be sent in the email configuration list.
[0072] For example, Figure 3 The flowchart shown is a flowchart of another embodiment of a report email push method of the present invention. In this embodiment, the ready state is the production completion state.
[0073] Optionally, in some feasible embodiments, the step of "screening the report email information to be sent in the preset email configuration list" in step S10 may include the following steps:
[0074] Step S101: confirming the report data to be sent in the preset report list;
[0075] In this embodiment, when the terminal device automatically pushes the report email, the report data to be sent is confirmed in the preset report list.
[0076] Exemplarily, the configuration information of email 1 includes report data A1, A2 and A3, the configuration information of email 2 includes report data A2, and the configuration information of email 3 includes report data A4. It should be understood that the recipients to which email 1 needs to be sent are different from the recipients to which email 2 needs to be sent, that is, each email is configured with its own recipient.
[0077] Step S102: Filtering the report email information to be sent in the email configuration list according to the report data.
[0078] In this embodiment, after the terminal device confirms the report data to be sent in the preset report list, it filters out the report email information to be sent in the email configuration list according to the report data.
[0079] For example, after confirming that the report data to be sent is A2, the report email information to be sent is confirmed to be email 2 configuration information, that is, the email 2 configuration information is filtered out in the email configuration list. Although the email 2 configuration information includes the report data A2, it is necessary to wait until the report data A1, A2 and A3 included in the email 2 configuration information are completed, that is, the report data A1, A2 and A3 are ready, before the email 2 configuration information is confirmed as the report email information to be sent.
[0080] In addition, it should be noted that there are two specific ways for the terminal device to confirm the report data information to be sent. One is to directly filter the report data information to be sent in the email configuration list, and the other is to confirm the report information to be sent in the report list, and then confirm the report email information to be sent in the email configuration list based on the report information, that is, confirm the report email information to be sent in the email configuration list according to the ready status of the report data.
[0081] Optionally, in some feasible embodiments, after the step of "confirming whether the ready state of the report data pointed to by the report email information is the ready completed state" in step S10, the report email push method of the present invention may further include the following steps:
[0082] Step S40: If it is confirmed that the ready state of at least one of the report data is not the ready completed state, then confirm whether the current time exceeds the preset alarm time corresponding to the report email information;
[0083] In this embodiment, after the terminal device confirms whether the ready status of one or more report data is all ready and completed, if it is confirmed that the production status of at least one report data among the one or more report data is not completed, it confirms whether the current time exceeds the preset alarm time corresponding to the report email information.
[0084] It should be noted that, in this embodiment, the pre-warning time of the report email information is set in the email configuration stage, and each report email information in the email configuration list is set with its own pre-warning time so that corresponding email delay information processing can be performed for report emails that exceed the pre-warning time but have not yet been sent.
[0085] Optionally, in some feasible embodiments, after the step of “confirming whether the current time exceeds the preset alarm time corresponding to the report email information” in step S40, the report email push method of the present invention may further include the following steps:
[0086] Step S60: If it is confirmed that the current time does not exceed the preset alarm time, the report email information is sent, and the next email information to be sent is sent.
[0087] In this embodiment, after the terminal device confirms whether the current time exceeds the preset alarm time corresponding to the report email information, if it is confirmed that the current time does not exceed the preset alarm time, the sending of the report email information is terminated and the next email information to be sent is sent.
[0088] Exemplarily, if it is confirmed that the current time does not exceed the preset alarm time, the email sending process is terminated. That is to say, the report data is not ready and has not exceeded the preset alarm time. The terminal device sends the next email message to be sent and enters the next screening of the report email message to be sent, that is, confirms again whether the report email message is ready until it is ready and sends the report email corresponding to the next email message to be sent, or, until the current time exceeds the preset alarm time, processes the email delay information of one or more report data of the next email message to be sent, that is, processes the email delay information of the target report data that is not ready for the next email message to be sent.
[0089] Step S50: If it is confirmed that the current time exceeds the preset alarm time, then the unfinished target report data in the report data is confirmed, and email delay information processing is performed for the target report data.
[0090] In this embodiment, if the production status of one or more report data of the terminal device is that all production has been completed, then after confirming whether the current time exceeds the preset alarm time corresponding to the report email information, if it is confirmed that the current time exceeds the preset alarm time, then the target report data that has not been completed in one or more report data is confirmed, and the email delay information processing is performed for the target report data.
[0091] Exemplarily, by setting a preset alarm time for each report email message, when it is confirmed that the current time exceeds the preset alarm time corresponding to the report data, the email delay information of the target report data is processed. That is to say, corresponding reminders and other measures are taken for delayed report email messages that have not been sent, thereby avoiding the staff who send report emails to confirm the unsent report data information one by one and send them manually. It should be understood that the preset alarm time point is set by the email configuration stage.
[0092] Exemplarily, a report data delay alarm mechanism is added, and a delay alarm time point is set for each report email. If an email is not sent after the timeout, it means that the report data source is not fully ready. At this time, an alarm message is automatically sent to the report developer to remind him to deal with the data delay problem in time.
[0093] It should be noted that the target report data includes one or more unfinished report data, and the report data A1 and A3 in the email 1 are not ready, so the report data A1 and A3 are confirmed as the target report data, and the email delay information processing is performed on the target report data.
[0094] Optionally, in some feasible embodiments, the email delay information processing includes: saving a data delay log and / or sending a delay reminder message, and the step of "processing email delay information for the target report data" in step S50 includes:
[0095] Step S501: confirming the data delay log of the target report data and saving the data delay log; and / or,
[0096] In this embodiment, if the terminal device confirms that the current time exceeds the preset alarm time of the report data, it confirms the data delay log of the target report data and saves the data delay log.
[0097] It should be noted that the terminal device records the data delay log of the target report data for the report developers or related personnel of the report data to search and improve.
[0098] Exemplarily, the terminal device confirms the data delay logs of the report data A1 and the report data A3, and saves the data delay logs.
[0099] Step S502: confirming the delay reminder information of the target report data, and sending the delay reminder information to a preset report generator of the target report data.
[0100] In this embodiment, if the terminal device confirms that the current time exceeds the preset alarm time of the report data, it confirms the delay reminder information of the target report data and sends the delay reminder information to the preset report maker of the target report data.
[0101] Exemplarily, in this embodiment, the report email has a delay alarm mechanism. When the email is not successfully pushed after the set alarm time point, an alarm message is automatically sent to report-related personnel to deal with data delay issues. The terminal device sends the delay reminder information to the preset report maker of the target report data, so that the report maker of the target report data can process the report in time.
[0102] Exemplarily, in this embodiment, the terminal device sends the delay reminder information to the preset report generators of the report data A1 and A3, so that the report generators of the report data A1 and A3 can process the reports in time.
[0103] Step S20: if it is confirmed that the ready state is the ready completed state, the report data is refreshed to a preset report framework to obtain the latest report, and the latest report is downloaded;
[0104] In this embodiment, the terminal device filters out the report email information to be sent in the preset email configuration list, and confirms whether the ready status of one or more report data included in the report email information is all ready and completed. If it is confirmed that the ready status of one or more report data is all ready and completed, then refresh one or more report data to the preset report framework to obtain the latest report, and download one or more latest reports.
[0105] It should be noted that on the preset report server, the report data to be sent is downloaded. In order to ensure that the downloaded report has correct data, the report data refresh operation is completed on the report server before downloading the report, and the report data is rendered to the preset report framework to obtain the latest report. Among them, the report data of the report server is directly obtained by the terminal device through the interface, and the preset report framework is obtained by the preset interface.
[0106] Step S30: creating a report email to be sent according to the latest report, and sending the report email in real time when the report email is completed.
[0107] In this embodiment, if the terminal device confirms that the ready status of one or more report data is all ready and completed, then one or more report data are refreshed to a preset report framework to obtain the latest report, and after downloading one or more latest reports, a report email to be sent is prepared based on the one or more latest reports, and the report email is sent in real time when the preparation of the report email is completed.
[0108] Exemplarily, the downloaded report is automatically packaged as an email attachment, and the email is pushed. The email sending information such as the recipient and the CC of the report email is obtained from the email configuration list, or obtained from a preset list.
[0109] For example, Figure 3 The flowchart of another embodiment of a report email push method of the present invention is shown. In this embodiment, after the terminal device screens out the report email information to be sent, it determines the report data status. If it is confirmed that the report data is ready, the report server is refreshed to obtain the latest report, and the report is packaged as a report email and sent out. If it is confirmed that the report data is not ready, first confirm whether the current time exceeds the alarm time point. If it is confirmed that the current time exceeds the alarm time point, record the unready data delay log and send delay alarm information. If it is confirmed that the current time does not exceed the alarm time point, the current process ends and enters the next round of email sending process. It should be understood that Figure 3 This is a report email monitoring process.
[0110] Optionally, in some feasible embodiments, the step of "preparing a report email to be sent according to the report data" in step S30 may include the following steps:
[0111] Step S301: Obtaining the email information corresponding to the latest report;
[0112] In this embodiment, the terminal device obtains the email information corresponding to the report, obtains the email information corresponding to the report data in a preset email information list, or obtains the email information corresponding to the report data in an email configuration list, wherein the email information includes the cc and recipients, etc.
[0113] Step S302: Use the latest report as an attachment and the email information to prepare a report email to be sent.
[0114] In this embodiment, the report email to be sent is prepared according to the CC and recipients corresponding to the latest report and one or more latest reports, that is, one or more latest reports are used as attachments and then automatically packaged into a complete email according to other configured email information.
[0115] Optionally, in some feasible embodiments, the report email push method of the present invention may further include the following steps:
[0116] Step A: updating the mail configuration list at a preset time interval, and filtering out mail information to be sent in real time.
[0117] For example, Figure 3 The flowchart shown is a flowchart of another embodiment of a method for pushing report emails of the present invention. In this embodiment, the email configuration list is updated at preset time intervals. Specifically, the terminal device can update the email configuration list every 5 seconds or 10 seconds, and filter out the report email information to be sent in real time, that is, monitor the email list status, automatically identify the emails to be sent, and avoid wasting monitoring resources. In addition, the report has an automatic refresh mechanism, which can obtain the ready report data in time when the report data is ready, and automatically complete the refresh operation of the report.
[0118] Thus, in this embodiment, when the present invention automatically pushes report emails through a terminal device, the report email information to be sent is screened out in a preset email configuration list, and it is confirmed whether the ready status of each of the one or more report data pointed to by the report email information is all ready and completed; thereafter, the terminal device screens out the report email information to be sent in a preset email configuration list, and confirms whether the ready status of each of the one or more report data included in the report email information is all ready and completed. If it is confirmed that the ready status of each of the one or more report data is all ready and completed, then one or more report data is refreshed to a preset report framework to obtain the latest report, and one or more latest reports are downloaded; finally, if the terminal device confirms that the ready status of each of the one or more report data is all ready and completed, then one or more report data is refreshed to a preset report framework to obtain the latest report, and after downloading one or more latest reports, a report email to be sent is prepared according to the one or more latest reports, and the report email is sent in real time when the report email is prepared.
[0119] Therefore, the present invention sends report emails to the preset recipients of the report emails in real time according to the data readiness status and the report refresh status. As a result, the present invention achieves that the report emails are no longer restricted by a fixed sending time point when being pushed, that is, no matter whether the report is produced before or after the preset sending time, there is no need for manual push operation, thereby greatly improving the flexibility of sending report emails.
[0120] In addition, please refer to Figure 4 The embodiment of the present invention further provides a report mail push device, the report mail push device of the present invention comprises:
[0121] The first screening module 10 is used to screen the report email information to be sent in the preset email configuration list, and confirm whether the ready state of the report data pointed to by the report email information is the ready completed state, wherein the report data pointed to by the report email information is one or more;
[0122] The download module 20 is used to refresh the report data to a preset report framework to obtain the latest report if the ready state is confirmed to be the ready completed state, and download the latest report;
[0123] The sending module 30 is used to prepare a report email to be sent according to the latest report, and send the report email in real time when the report email is completed.
[0124] Optionally, the report email push device of the present invention further includes:
[0125] A confirmation module, configured to confirm whether the current time exceeds the preset alarm time corresponding to the report email information if it is confirmed that the ready state of at least one of the report data is not the ready completed state;
[0126] The processing module is used for confirming the target report data that is not ready in the report data if it is confirmed that the current time exceeds the preset alarm time, and performing email delay information processing on the target report data.
[0127] Optionally, the email delay information processing includes: saving data delay logs and / or sending delay reminder information, and the processing module includes:
[0128] a storage unit, used to confirm the data delay log of the target report data and save the data delay log; and / or,
[0129] The sending unit is used to confirm the delay reminder information of the target report data and send the delay reminder information to a preset report preparation personnel of the target report data.
[0130] Optionally, the report email push device of the present invention further includes:
[0131] The end module is used to end the sending of the report email information if it is confirmed that the current time does not exceed the preset alarm time, and send the next email information to be sent.
[0132] Optionally, the first screening module 10 includes:
[0133] A first confirmation unit, used to confirm the report data to be sent in a preset report list;
[0134] The second confirmation unit is used to filter the report email information to be sent from a preset email configuration list according to the report data.
[0135] Optionally, the sending module 30 includes:
[0136] An acquisition unit, used to acquire email information corresponding to the latest report;
[0137] The making unit is used to make a report email to be sent by taking the latest report as an attachment and the email information.
[0138] Optionally, the report email push device of the present invention further includes:
[0139] The second screening module is used to update the email configuration list at a preset time interval and screen the report email information to be sent in real time.
[0140] In addition, an embodiment of the present invention also proposes a terminal device, which includes: a memory, a processor, and a report email push program stored on the memory and runable on the processor, and when the report email push program is executed by the processor, the steps of the report email push method as described above are implemented.
[0141] Among them, the steps implemented when the report mail push program running on the processor is executed can refer to the various embodiments of the report mail push method of the present invention, and will not be repeated here.
[0142] In addition, an embodiment of the present invention also proposes a computer storage medium, which is applied to a computer. The computer storage medium can be a non-volatile computer-readable computer storage medium. A report email push program is stored on the computer storage medium. When the report email push program is executed by a processor, the steps of the report email push method as described above are implemented.
[0143] Among them, the steps implemented when the report mail push program running on the processor is executed can refer to the various embodiments of the report mail push method of the present invention, and will not be repeated here.
[0144] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0145] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0146] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a computer storage medium (such as Flash memory, ROM / RAM, disk, CD), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.), and the controller for controlling the storage medium to perform data read and write operations executes the methods described in each embodiment of the present invention.
[0147] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for pushing report emails, characterized in that: The method for pushing the report email comprises the following steps: Filtering the report email information to be sent in the preset email configuration list, and confirming whether the ready state of the report data pointed to by the report email information is the ready completed state, wherein the report data pointed to by the report email information is one or more; If it is confirmed that the ready state is the ready completed state, the report data is refreshed to a preset report framework to obtain the latest report, and the latest report is downloaded; Prepare a report email to be sent according to the latest report, and send the report email in real time when the report email is completed; After the step of confirming whether the ready state of the report data pointed to by the report email information is a ready completed state, the method further includes: If it is confirmed that the ready state of at least one of the report data is not the ready completed state, then confirm whether the current time exceeds the preset alarm time corresponding to the report email information; If it is confirmed that the current time exceeds the preset alarm time, unfinished target report data in the report data is confirmed, and email delay information processing is performed on the target report data.
2. The method for pushing report emails according to claim 1, characterized in that: The mail delay information processing includes: saving data delay logs and / or sending delay reminder information. The step of performing mail delay information processing on the target report data includes: confirming the data delay log of the target report data and saving the data delay log; and / or, The delay reminder information of the target report data is confirmed, and the delay reminder information is sent to a preset report generator of the target report data.
3. The method for pushing report emails according to claim 1, characterized in that: After the step of confirming whether the current time exceeds the preset alarm time corresponding to the report data, the method further includes: If it is confirmed that the current time does not exceed the preset alarm time, the current process ends and enters the next round of email sending process.
4. The method for pushing report emails according to claim 1, characterized in that: The step of filtering the report email information to be sent in the preset email configuration list includes: Confirm the report data to be sent in the preset report list; The report email information to be sent is filtered out in a preset email configuration list according to the report data.
5. The method for pushing report emails according to claim 1, characterized in that: The step of preparing a report email to be sent according to the latest report includes: Obtain the email information corresponding to the latest report; The latest report is used as an attachment together with the mail information to prepare a report mail to be sent.
6. The method for pushing report emails according to any one of claims 1 to 5, characterized in that: The method for pushing the report email includes: The email configuration list is updated at preset time intervals, and report email information to be sent is screened in real time.
7. A report email push device, characterized in that: The report email push device includes: A first screening module is used to screen the report email information to be sent in a preset email configuration list, and confirm whether the ready state of the report data pointed to by the report email information is a ready completed state, wherein the report data pointed to by the report email information is one or more; A download module, for refreshing the report data to a preset report framework to obtain the latest report if the ready state is confirmed to be the ready completed state, and downloading the latest report; A sending module, used to prepare a report email to be sent according to the latest report, and send the report email in real time when the report email is completed; A confirmation module, configured to confirm whether the current time exceeds the preset alarm time corresponding to the report email information if it is confirmed that the ready state of at least one of the report data is not the ready completed state; The processing module is used for confirming the target report data that is not ready in the report data if it is confirmed that the current time exceeds the preset alarm time, and performing email delay information processing on the target report data.
8. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a report mail push program stored in the memory and executable on the processor. When the report mail push program is executed by the processor, the steps of the report mail push method as described in any one of claims 1 to 6 are implemented.
9. A computer storage medium, characterized in that The computer storage medium stores a report mail push program, and when the report mail push program is executed by the processor, the steps of the report mail push method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for generating mobile terminal report forms
CN101815261A
Processing method and device for delivering bill mails in real time, equipment, and storage medium
CN107451301A
Business report pushing method and device
CN109492058A
E-mail sending method and system, storage medium and electronic device
CN111628924A
Mail processing method and device
CN115190099A
