Mail data table management method, device, computer equipment and storage medium

By generating and managing the configuration file of the email data table, the passivity of exception handling of the email data table in the MIS system is solved, the rapid positioning and processing of the email data table is realized, and user satisfaction and operation and maintenance efficiency are improved.

CN111414293BActive Publication Date: 2024-08-27CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010101113.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-19
Publication Date
2024-08-27
Estimated Expiration
2040-02-19

AI Technical Summary

Technical Problem

In the MIS system, when an abnormality occurs in the email data table, operation and maintenance personnel need to log in to the production server to confirm the name of the data table and trigger name, which leads to inconvenient maintenance and passive problem handling, which affects user satisfaction.

Method used

Provides an email data table management method that generates model files, email files, and configuration files by receiving model data, email data, and configuration data, and extracts and stores configuration information, including email data table names, trigger names, and recipients. When the conditions of the trigger program are met, the email data table is generated and sent. In case of exception, the trigger name is obtained based on the name of the email data table, the sending status is monitored, the number of exceptions is counted, and the processing priority is sorted.

Benefits of technology

It realizes the timely determination of the name and processing of problems when the mail data table is abnormal, improves user satisfaction, reduces the search time and operating costs of operation and maintenance personnel, monitors and handles exceptions in a timely manner, and improves the efficiency of mail data table delivery management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111414293B
    Figure CN111414293B
Patent Text Reader

Abstract

The embodiment of the present application belongs to the field of management technology, and relates to a method for managing a mail data table, including receiving a model file, a mail file, and a configuration file, extracting and storing configuration information in the configuration file, the configuration information including the mail data table name, the trigger name, and the recipient; when the trigger condition of the trigger program is met, the mail file and the model data table are integrated to generate a mail data table, and the mail data table is sent to the recipient; when the mail data table is sent abnormally, according to the mail data table name of the abnormal sending, the trigger name corresponding to the mail data table name in the configuration file is obtained and output. The present application also provides a mail data table management device, a computer device, and a storage medium. In the present application, when an abnormal situation occurs in the mail data table, relevant personnel can directly determine the abnormal trigger name, solve the abnormal problem in time, and improve user satisfaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of management technology, and in particular to a method, device, computer equipment and storage medium for managing a mail data table. Background Art

[0002] MIS (Management Information System) is a system composed of people, computers and other peripheral equipment that can collect, transmit, store, process, maintain and use information. Its main task is to maximize the use of modern computer and network communication technology to strengthen the information management of the enterprise, establish correct data through investigation and understanding of the human, material, financial, equipment, technical and other resources owned by the enterprise, process and compile them into various information materials and provide them to users in a timely manner.

[0003] In the MIS system, there is a special type of data table provided to users. This type of data table is not displayed in the system, but is sent to specific users at regular intervals, such as email reports, which are used to transmit information including the company's financial status, operating results and cash flow over a certain period of time; however, this type of data table has no records in the database. When problems such as sending exceptions occur, the operation and maintenance personnel need to log in to the production server to confirm the relevant information of the data table in order to determine the name of the abnormal email data table and the trigger name, which is not conducive to the maintenance of this type of data table. Summary of the invention

[0004] The purpose of the embodiment of the present application is to facilitate the operation personnel to determine the name of the abnormal email data table by searching the front-end page when an abnormal situation occurs in the email data table, solve the problem of the abnormal email data table in time, and improve user satisfaction.

[0005] In order to solve the above technical problems, the present application embodiment provides a method for managing a mail data table, which adopts the following technical solution:

[0006] A method for managing a mail data table comprises the following steps:

[0007] Receive input model data, mail data and configuration data, and generate a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is set in the mail data, and the model file is used to extract data from a database to generate a model data table;

[0008] Extracting and storing configuration information in the configuration file, the configuration information includes a mail data table name, a trigger name, and a recipient;

[0009] When the trigger condition of the trigger program is met, the mail file and the model data table are integrated to generate a mail data table, and the mail data table is sent to the recipient;

[0010] When the mail data table is sent abnormally, the trigger name corresponding to the mail data table name in the configuration file is obtained and output according to the mail data table name that is sent abnormally.

[0011] Further, when the trigger condition of the trigger program is met, the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient include:

[0012] The trigger program scans the model data table according to a preset timing frequency;

[0013] If the model data table scanned by the trigger program is updated, the trigger condition of the trigger program is satisfied, and the mail file and the model data table are integrated to generate a mail data table;

[0014] The recipient in the configuration file is extracted, and the mail data table is sent to the recipient.

[0015] Further, when the trigger condition of the trigger program is met, the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient include:

[0016] The trigger program obtains the current time according to a preset timing frequency;

[0017] If the current time acquired by the trigger program is within the time period preset in the trigger program, integrating the mail file and the model data table to generate a mail data table, wherein the time interval of the preset timing frequency is less than the duration of the preset time period;

[0018] The recipient in the configuration file is extracted, and the mail data table is sent to the recipient.

[0019] Furthermore, when the trigger condition of the trigger program is met, after the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient, the method further includes:

[0020] Monitoring the sending status of the mail data table;

[0021] If the email data sheet is not sent after the triggering condition of the trigger program is met, an abnormal information is fed back to a designated person or the recipient is informed that the email data sheet has not been sent yet.

[0022] Further, after the step of acquiring and outputting a trigger name corresponding to the mail data table name in the configuration file according to the mail data table name that sends the exception when the mail data table sends the exception, the method further includes:

[0023] Count the number of email data tables with abnormal sending;

[0024] If the number of abnormally sent mail data tables exceeds a preset threshold, the time between the current update time and the last update time of all abnormally sent mail data tables is calculated;

[0025] The trigger names corresponding to the names of the mail data tables with sending exceptions are sorted according to the duration; wherein the trigger names corresponding to the short durations are arranged in front.

[0026] Further, the configuration file also includes a model file name, a business department, a maintenance person, a developer, a data table function and an importance level; wherein the mail data table name and the importance level have a one-to-one correspondence; after the step of acquiring and outputting a trigger name corresponding to the mail data table name in the configuration file according to the mail data table name that sends the exception when the mail data table is sent abnormally, the method further includes:

[0027] sorting the mail data table according to the importance;

[0028] If there are multiple mail data tables with sending exceptions, the order priority of the mail data tables to be processed is determined according to the order of importance.

[0029] Further, after the step of receiving the input model data, mail data and configuration data, generating a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is provided in the mail data, and the model file is used to extract data from a database to generate a model data table, the method further comprises:

[0030] A front-end page is provided, and when a modification instruction is received, a modification interface pops up, so that the developer can modify the configuration information in the modification interface; the modification interface includes a modification search box and a modification content box; the location to be modified in the mail data configuration file is located according to the modification name entered in the modification search box; and the corresponding content in the mail data configuration file is modified according to the modification content entered in the modification content box;

[0031] When a deletion instruction is received, a deletion interface pops up, the deletion interface including a deletion search box; according to the deletion name entered in the deletion search box, the content to be deleted in the mail data configuration file is located and deleted.

[0032] In order to solve the above technical problems, the embodiment of the present application also provides a mail data table management device, which adopts the following technical solution:

[0033] A management device for a mail data table, comprising: a receiving module, a storage module, a generating module and an output module; the receiving module is used to receive input model data, mail data and configuration data, and generate a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is provided in the mail data, and the model file is used to extract data from a database to generate a model data table; the storage module is used to extract and store configuration information in the configuration file, and the configuration information includes a mail data table name, a trigger name and a recipient; the generating module is used to integrate the mail file and the model data table, generate a mail data table, and send the mail data table to the recipient when the trigger condition of the trigger program is met; the output module is used to obtain and output the trigger name corresponding to the mail data table name in the configuration file according to the mail data table name of the sending exception when the mail data table is sent abnormally.

[0034] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0035] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned mail data table management method when executing the computer program.

[0036] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0037] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for managing a mail data table are implemented.

[0038] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects: relative to the configuration information of the mail data table not being recorded in the database, when a sending exception or complaint occurs, it is necessary to rely on the developer or operator to log in to the production server to view the trigger name and then find the model file name, and then push it to the mail data table name to achieve tracking and search processing; and only when a complaint is received, the problem is discovered and handled. Compared with the relatively passive scheme of mail data table operation and maintenance, the present application can promptly determine the abnormal mail data table name and the corresponding trigger name, so as to locate the abnormal trigger and mail data table in time according to the trigger name, solve the problem of the abnormal mail data table, and help improve user satisfaction; at the same time, monitor the sending status of the mail data table. When an exception occurs, the operation and maintenance personnel can be informed in time and handle the abnormal problem in advance. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0041] Figure 2 is a flowchart of an embodiment of a method for managing a mail data table according to the present application;

[0042] Figure 3 yes Figure 2 Specific flow chart of step S3;

[0043] Figure 4 yes Figure 2 Another specific flow chart of step S3;

[0044] Figure 5 It is a specific flow chart of monitoring the mail data table in the management method of the mail data table of this application;

[0045] Figure 6 It is a specific flow chart for sorting trigger names in the management method of the email data table of this application;

[0046] Figure 7 It is a flow chart of modifying configuration information in the management method of the mail data table of the present application;

[0047] Figure 8 is a structural diagram of an embodiment of a mail data table management device according to the present application;

[0048] Fig. 9 It is a structural diagram of an embodiment of a computer device according to the present application.

[0049] Figure numerals: 200, computer device; 201, memory; 202, processor; 203, network interface; 300, mail data table management device; 301, receiving module; 302, storage module; 303, generating module; 304, output module. DETAILED DESCRIPTION

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0051] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0052] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0053] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0054] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0055] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.

[0056] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0057] It should be noted that the mail data table management method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the mail data table management device is generally set in the server / terminal device.

[0058] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0059] Continue to refer Figure 2 , shows a flow chart of an embodiment of a method for managing a mail data table according to the present application. The mail data table management method comprises the following steps:

[0060] S1: receiving input model data, email data and configuration data, and generating a model file, an email file and a configuration file respectively according to the model data, email data and configuration data, wherein a trigger program is set in the email data, and the model file is used to extract data from a database to generate a model data table.

[0061] In this embodiment, a model file is generated based on the input model data, and the model file then extracts data from the database to generate a model data table, wherein the model data, mail data and configuration data are handed over by the developer; the developer can add permissions to the template file (mdl) so that the generated model data table cannot be viewed by anyone. The mail data generates a mail file, which is a style file used to control the display and layout effects of the page, such as background color, font, font size, layout mode (vertical or horizontal), etc.

[0062] In this embodiment, the management method of the mail data table is executed on the electronic device (eg Figure 1The server / terminal device shown in the figure can receive the model data, email data and configuration data handed over by the developer through a wired connection or a wireless connection. It should be noted that the above wireless connection method may include but is not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0063] S2: extracting and storing configuration information in the configuration file, wherein the configuration information includes a mail data table name, a trigger name, and a recipient.

[0064] In this embodiment, the email address of the recipient to which the email can be sent is determined according to the recipient in the configuration file. The email data table name and the trigger name in the configuration file have a corresponding relationship, and the email data table name and the trigger name can correspond one to one, or one trigger name can correspond to multiple email data table names.

[0065] S3: When the trigger condition of the trigger program is met, the mail file and the model data table are integrated to generate a mail data table, and the mail data table is sent to the recipient.

[0066] In this embodiment, if the trigger condition is met (for example, the model data table is updated or the current time is within the preset scheduled sending time period), the mail file and the model data table are integrated to generate a mail data table, and the mail data table is sent to the recipient; wherein the mail data table includes the information contained in the data in the corresponding database, and the mail data table is formed and sent to the recipient in the form of an email. The mail file is a file that controls the display style of the mail data table in front of the recipient. The mail file controls the data in the mail data table to be displayed in a fixed format, so that the display interface of the mail data table is clearly arranged and easy for the recipient to read the mail data table.

[0067] like Figure 3 As shown, in step S3, when the trigger condition of the trigger program is met, the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient include:

[0068] S31: the trigger program scans the model data table according to a preset timing frequency;

[0069] S32: If the model data table scanned by the trigger program is updated, the trigger condition of the trigger program is satisfied, and the mail file and the model data table are integrated to generate a mail data table;

[0070] S33: extracting the recipient in the configuration file, and sending the mail data table to the recipient.

[0071] In this embodiment, the trigger program scans the model data table at a preset timing frequency. If it is found that the information in the model data table scanned at the current time is different from that in the model data table scanned last time, the model data table is confirmed to be updated. Because the model data table is generated by the model file and the data in the database, the update of the model data table indicates the update of the corresponding data in the database. Then, it is necessary to integrate the updated model data table with the email file, generate the email data table and send the email data table to the recipient, so that the recipient can timely know and view the information conveyed by the updated data in the database through the email data table. For example, the email data table can be an email report, which is a special type of report in the MIS report system. The email report is not displayed in the system, but is sent to a specific leader. The email report includes information such as the financial status, operating results and cash flow of the enterprise over a certain period of time.

[0072] The step of the trigger program scanning the model data table at a preset timing frequency includes: the trigger program scanning the model data table at a frequency of 5 minutes / time. In this embodiment, scanning the model data table at a frequency of 5 minutes each time will not increase the system load due to too frequent scanning frequency, nor will it fail to scan the model data table in time to obtain the accurate status of the model data table due to too little scanning frequency. The scanning frequency of 5 minutes / time ensures the timeliness of the scanning.

[0073] like Figure 4 As shown, relative to steps S31, S32, and S33, the present application also provides another solution, in step S3, that is, when the trigger condition of the trigger program is met, the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient also include:

[0074] S34: the trigger program obtains the current time according to a preset timing frequency;

[0075] S35: If the current time acquired by the trigger program is within the time period preset in the trigger program, the mail file and the model data table are integrated to generate a mail data table, wherein the time interval of the preset timing frequency is set to be less than the duration of the preset time period;

[0076] S36: extracting the recipient in the configuration file, and sending the mail data table to the recipient.

[0077] In this embodiment, the time interval of the preset timing frequency is less than the duration of the preset time period, so as to ensure that the current time obtained by the trigger program according to the timing frequency will not skip the preset time period. For example: the trigger program obtains the current time at a frequency of once every 2 hours. If the execution time starts at 8:15 in the morning, the next (second) time obtained is 10:15 in the morning according to the preset frequency, and the preset time period is 13:00-16:00 in the afternoon; then the time obtained by the trigger program for the fourth time of the day is 14:15, which is within the preset time period, and the mail file and the model data table are integrated to generate a mail data table and send it to the recipient. In this solution, the trigger program only needs to obtain the time according to the set frequency, and there is no need to monitor the time in real time, which reduces the burden on the trigger program and the system. In actual application, under the condition that the time interval of the timing frequency is less than the duration of the preset time period, the specific timing frequency and time period can be flexibly set according to actual needs.

[0078] S4: When the mail data table is sent abnormally, according to the name of the mail data table that is sent abnormally, a trigger name corresponding to the mail data table name in the configuration file is obtained and output.

[0079] In this embodiment, when the mail data table is sent abnormally, the trigger name corresponding to the mail data table name in the configuration file is obtained and output, and the relevant personnel determine the corresponding trigger program according to the trigger name, thereby judging, locating and solving the abnormal situation. Compared with the solution in which the operation and maintenance personnel log in to the generation server to view the trigger name, then find the model file name, and then push back to the report name, this application saves search time, improves search efficiency, and reduces operating costs.

[0080] In some optional implementations of this embodiment, such as Figure 5 As shown, after step S3, that is, after the step of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient when the trigger condition of the trigger program is met, the electronic device may further perform the following steps:

[0081] S5: monitoring the sending status of the mail data table;

[0082] S6: If the email data sheet is not sent after the trigger condition of the trigger program is met, an abnormality message is fed back to a designated person or the recipient is informed that the email data sheet has not been sent yet.

[0083] In this embodiment, the abnormal sending of the email data table may involve the following aspects: the first case is that the server has anti-virus software installed and the automatic network email protection function is turned on on the server side, causing the anti-virus software to intercept the sending of the email data table; the second case is that the trigger program is interfered with by other programs, the trigger process is disordered, and the trigger condition cannot be effectively determined; the third case is that the field storage length is set shorter when the code is written, resulting in the normal sending of the email data table when the data amount is small. Once the email data table contains too much data, the field cannot be stored, causing the email data table to be sent abnormally.

[0084] In some optional implementations of this embodiment, such as Figure 6 As shown, after step S4, that is, after the step of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient when the trigger condition of the trigger program is met, the electronic device may further perform the following steps:

[0085] S7: Count the number of email data tables with abnormal sending;

[0086] S8: If the number of email data tables with abnormal sending exceeds a preset threshold, the time between the current update time and the last update time of all email data tables with abnormal sending is calculated;

[0087] S9: Sort the trigger names corresponding to the names of the mail data tables with sending exceptions according to the durations; wherein the trigger names corresponding to the short durations are arranged in front.

[0088] In this embodiment, when the number of abnormal email data tables exceeds a threshold, the abnormal email data tables are sorted according to the time between the current update time and the last update time of these email data tables, and the trigger names with shorter corresponding time lengths are arranged in front, so that priority processing can be achieved, reducing abnormal losses, and even giving priority to abnormal sending with shorter corresponding time lengths, so that the recipient does not feel the delay in email sending, etc., and timely delivery of information is achieved.

[0089] With respect to steps S7, S8, and S9, the present application also provides another solution: the configuration file also includes a model file name, a business department, a maintenance personnel, a developer, a data table function, and an importance level; wherein the mail data table name and the importance level have a one-to-one correspondence; after step S4, that is, after the step of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient when the trigger condition of the trigger program is met, the electronic device may further perform the following steps:

[0090] The mail data tables are sorted according to the importance; if there are multiple mail data tables with sending exceptions, the order priority of the mail data tables to be processed is determined according to the order of the importance.

[0091] In this embodiment, when an abnormality occurs in the sending of a mail data table, the order priority of the mail data table to be processed is determined according to the importance, so as to avoid delaying the processing of an important mail data table when an abnormality occurs, thereby delaying the information transmission and causing significant losses. For example, when multiple mail data tables are sent abnormally, the order of processing the abnormalities is determined according to the importance of generating different mail data tables; and whether it needs to be processed urgently or delayed can be determined according to the importance; so as to reasonably allocate manpower and resources and reduce user complaints to the greatest extent.

[0092] like Figure 7 As shown, after step S1, that is, after the step of receiving the input model data, mail data and configuration data, generating a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is set in the mail data, and the model file is used to extract data from a database to generate a model data table, the method includes:

[0093] S10: providing a front-end page, and when receiving a modification instruction, popping up a modification interface for the developer to modify the configuration information in the modification interface; the modification interface includes a modification search box and a modification content box; locating the position to be modified in the mail data configuration file according to the modification name entered in the modification search box; modifying the corresponding content in the mail data configuration file according to the modification content entered in the modification content box;

[0094] S11: When a deletion instruction is received, a deletion interface pops up, the deletion interface including a deletion search box; according to the deletion name entered in the deletion search box, the content to be deleted in the mail data configuration file is located and deleted.

[0095] In this embodiment, if there is any change in the information of the mail data table, the developer can directly delete or modify it on the front-end page, and all mail data tables can be maintained and updated through the front-end page.

[0096] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0097] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0098] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a mail data table management device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0099] like Figure 8 As shown, the mail data table management device 300 described in this embodiment includes: a receiving module 301, a storage module 302, a generating module 303 and an output module 304; wherein,

[0100] The receiving module 301 is used to receive input model data, email data and configuration data, and generate a model file, an email file and a configuration file respectively according to the model data, email data and configuration data, wherein a trigger program is set in the email data, and the model file is used to extract data from a database to generate a model data table;

[0101] The storage module 302 is used to extract and store the configuration information in the configuration file, wherein the configuration information includes the name of the mail data table, the name of the trigger and the recipient;

[0102] A generating module 303, for integrating the mail file and the model data table to generate a mail data table, and sending the mail data table to the recipient when the trigger condition of the trigger program is met; and

[0103] The output module 304 is used for acquiring and outputting a trigger name corresponding to the mail data table name in the configuration file according to the mail data table name of the mail data table that sends the exception when the mail data table sends the exception.

[0104] Specifically, the generation module 303 includes a scanning unit 3031, an integration unit 3032, and a sending unit 3033. The scanning unit 3031 is used to drive the trigger program to scan the model data table at a preset timing frequency; the integration unit 3032 is used to integrate the mail file and the model data table to generate a mail data table when the model data table scanned by the trigger program is updated and the trigger condition of the trigger program is met; the sending unit 3033 is used to extract the recipient in the configuration file and send the mail data table to the recipient.

[0105] Of course, the generation module 303 may include an acquisition unit 3034, a merging unit 3035, and a transmission unit 3036. The acquisition unit 3034 is used to drive the trigger program to acquire the current time according to a preset timing frequency; the merging unit 3035 is used to integrate the mail file and the model data table to generate a mail data table when the current time acquired by the trigger program is within a time period preset in the trigger program, wherein the time interval of the preset timing frequency is set to be less than the duration of the preset time period; the transmission unit 3036 is used to extract the recipient in the configuration file and send the mail data table to the recipient.

[0106] In some optional implementations of the present embodiment, the email data table management device 300 also includes a monitoring module 305 and a feedback module 306, wherein the monitoring module 305 is used to monitor the sending status of the email data table, and the feedback module 306 is used to feedback abnormal information to the management personnel or convey to the recipient the information that the email data table has not been sent when the email data table is not sent after the model data table meets the trigger condition.

[0107] Monitor the sending status of all email data sheets, automatically detect the sending status of email data sheets, and check in time whether the email data sheets have been sent in time; when an abnormality occurs, it can be fed back to the management staff or operation staff in advance so that the operation staff can handle it in time to ensure that the problem is handled before the time when the user is promised to receive the email data sheet, that is, pre-processing, so that the user does not perceive that there has been a problem, thereby improving user satisfaction; if there is no timely processing, notifying the recipient that the email data sheet cannot be sent in time temporarily can also ensure that the user is informed of the message in time without having to wait to receive the email data sheet.

[0108] In some optional implementations of the present embodiment, the email data table management device 300 further includes a statistics module 307, a calculation module 308 and a sorting module 309; wherein the statistics module 307 is used to count the number of email data tables with sending exceptions; the calculation module 308 is used to calculate the duration between the current update time and the last update time of all email data tables with sending exceptions when the number of email data tables with sending exceptions exceeds a preset threshold; the sorting module 309 is used to sort the trigger names corresponding to the names of the email data tables with sending exceptions according to the duration; wherein the trigger names corresponding to the short durations are arranged in front.

[0109] In some optional implementations of the present embodiment, the email data table management device 300 also includes an arrangement module 3010, wherein the arrangement module 3010 is used to sort the email data tables according to the importance. When there are multiple email data tables with sending exceptions, the order priority of the processed email data tables is determined based on the order of the importance.

[0110] In some optional implementations of the present embodiment, the mail data table management device 300 further includes a providing module 3011, which is used to provide a front-end page. When a modification instruction is received, a modification interface pops up for the developer to modify the configuration information in the modification interface; the modification interface includes a modification search box and a modification content box; the location to be modified in the mail data configuration file is located according to the modification name entered in the modification search box; the corresponding content in the mail data configuration file is modified according to the modification content entered in the modification content box; when a deletion instruction is received, a deletion interface pops up, and the deletion interface includes a deletion search box; the content to be deleted in the mail data configuration file is located and deleted according to the deletion name entered in the deletion search box.

[0111] To solve the above technical problems, the present application also provides a computer device. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.

[0112] The computer device 200 includes a memory 201, a processor 202, and a network interface 203 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer device 200 having components 201-203, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0113] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0114] The memory 201 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 201 can be an internal storage unit of the computer device 200, such as a hard disk or memory of the computer device 200. In other embodiments, the memory 201 can also be an external storage device of the computer device 200, such as a plug-in hard disk equipped on the computer device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. Of course, the memory 201 can also include both the internal storage unit of the computer device 200 and its external storage device. In this embodiment, the memory 201 is usually used to store the operating system and various application software installed in the computer device 200, such as program code of the mail data table management method, etc. In addition, the memory 201 can also be used to temporarily store various data that have been output or will be output.

[0115] The processor 202 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 202 is generally used to control the overall operation of the computer device 200. In this embodiment, the processor 202 is used to run the program code stored in the memory 201 or process data, such as running the program code of the method for managing a mail data table.

[0116] The network interface 203 may include a wireless network interface or a wired network interface, and the network interface 203 is generally used to establish a communication connection between the computer device 200 and other electronic devices. In this embodiment, the trigger name corresponding to the mail data table name can be directly output by the computer device, and the relevant personnel can quickly and conveniently locate the abnormal trigger and solve the abnormal problem in time.

[0117] The present application also provides another implementation method, that is, providing a computer-readable storage medium, the computer-readable storage medium storing a management program for a mail data table, the management program for the mail data table being executable by at least one processor, so that the at least one processor performs the steps of the management method for the mail data table as described above. In this embodiment, the management program for the organic data table stored in the computer-readable storage medium can effectively solve the problem of not being able to handle the abnormal sending of the mail data table in time, improve user satisfaction, and improve problem handling efficiency.

[0118] 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 by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0119] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A method for managing a mail data table, characterized in that: The steps include: Receive input model data, mail data and configuration data, and generate a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is set in the mail data, and the model file is used to extract data from a database to generate a model data table; Extracting and storing configuration information in the configuration file, the configuration information includes a mail data table name, a trigger name, and a recipient; When the trigger condition of the trigger program is met, the mail file and the model data table are integrated to generate a mail data table, and the mail data table is sent to the recipient; When the mail data table is sent abnormally, according to the name of the mail data table that sends the abnormality, the trigger name corresponding to the mail data table name in the configuration file is obtained and output; When the trigger condition of the trigger program is met, the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient include: The trigger program scans the model data table according to a preset timing frequency; If the model data table scanned by the trigger program is updated, the trigger condition of the trigger program is satisfied, and the mail file and the model data table are integrated to generate a mail data table; Extracting the recipient in the configuration file, and sending the mail data table to the recipient; or The trigger program obtains the current time according to a preset timing frequency; If the current time acquired by the trigger program is within the time period preset in the trigger program, integrating the mail file and the model data table to generate a mail data table, wherein the time interval of the preset timing frequency is less than the duration of the preset time period; The recipient in the configuration file is extracted, and the mail data table is sent to the recipient.

2. A mail data table management method according to claim 1, characterized in that: When the trigger condition of the trigger program is met, after the steps of integrating the mail file and the model data table, generating a mail data table, and sending the mail data table to the recipient, the method further comprises: Monitoring the sending status of the mail data table; If the email data sheet is not sent after the triggering condition of the trigger program is met, an abnormal information is fed back to a designated person or the recipient is informed that the email data sheet has not been sent yet.

3. A mail data table management method according to claim 1, characterized in that: After the step of acquiring and outputting a trigger name corresponding to the mail data table name in the configuration file according to the mail data table name that sends the exception when the mail data table sends the exception, the method includes: Count the number of email data tables with abnormal sending; If the number of abnormally sent mail data tables exceeds a preset threshold, the time between the current update time and the last update time of all abnormally sent mail data tables is calculated; The trigger names corresponding to the names of the mail data tables with sending exceptions are sorted according to the duration; wherein the trigger names corresponding to the short durations are arranged in front.

4. A mail data table management method according to claim 1, characterized in that: The configuration file also includes the model file name, business department, maintenance personnel, developer, data table function and importance; wherein the mail data table name and importance have a one-to-one correspondence; after the step of acquiring and outputting the trigger name corresponding to the mail data table name in the configuration file according to the mail data table name that sends the exception when the mail data table is sent abnormally, the method further includes: sorting the mail data table according to the importance; If there are multiple mail data tables with sending exceptions, the order priority of the mail data tables to be processed is determined according to the order of importance.

5. A mail data table management method according to any one of claims 1 to 4, characterized in that: After the step of receiving the input model data, mail data and configuration data, and generating a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is provided in the mail data, and the model file is used to extract data from a database to generate a model data table, the method further comprises: A front-end page is provided, and when a modification instruction is received, a modification interface pops up, so that the developer can modify the configuration information in the modification interface; the modification interface includes a modification search box and a modification content box; the location to be modified in the mail data configuration file is located according to the modification name entered in the modification search box; and the corresponding content in the mail data configuration file is modified according to the modification content entered in the modification content box; When a deletion instruction is received, a deletion interface pops up, the deletion interface including a deletion search box; according to the deletion name entered in the deletion search box, the content to be deleted in the mail data configuration file is located and deleted.

6. A mail data table management device, characterized in that: The mail data table management device implements the steps of a mail data table management method according to any one of claims 1 to 5 when it is running, and the mail data table management device includes: A receiving module, used for receiving input model data, mail data and configuration data, and generating a model file, a mail file and a configuration file respectively according to the model data, mail data and configuration data, wherein a trigger program is provided in the mail data, and the model file is used for extracting data from a database to generate a model data table; A storage module, used to extract and store configuration information in the configuration file, wherein the configuration information includes a mail data table name, a trigger name, and a recipient; a generating module, configured to integrate the mail file and the model data table to generate a mail data table, and send the mail data table to the recipient when the trigger condition of the trigger program is satisfied; and The output module is used to obtain and output the trigger name corresponding to the mail data table name in the configuration file according to the mail data table name of the mail data table that sends the exception when the mail data table sends the exception.

7. A computer device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of a mail data table management method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a mail data table management method according to any one of claims 1 to 5 are implemented.