Batch task monitoring method and device, equipment and storage medium
By automatically generating batch task inspection instructions and utilizing the multi-layer platform of the batch task monitoring system for automated monitoring, the problems of poor monitoring reliability and efficiency in existing technologies are solved, and efficient batch task monitoring is achieved.
Patent Information
- Application Number
- CN202511055519.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-11-04
AI Technical Summary
Existing batch task monitoring methods rely on the functionality and quality of targeting scripts and manual operation, resulting in poor monitoring reliability and efficiency, and are unable to effectively cope with the massive batch monitoring tasks of banks.
By acquiring basic task data and setting control parameters, batch task inspection instructions are automatically generated. The batch task monitoring system utilizes its control platform layer, batch platform layer, and automation platform layer for automated monitoring, eliminating the need for manual intervention.
It enables automated monitoring of batch tasks, improving the reliability and efficiency of monitoring and avoiding the shortcomings of aiming scripts and manual operations.
Smart Images

Figure CN120892291A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of RPA, and particularly relates to a batch task monitoring method and device, equipment and a storage medium. BACKGROUND
[0002] Banks need to process a large number of batch tasks distributed in different time periods every day, such as daily interest calculation batch, daily reconciliation batch, etc. In the face of a large number of batch tasks, banks often choose to construct a batch running platform by using batch platform software to process batch tasks. Since the running of batch tasks is easily restricted by various conditions, abnormal phenomena often occur in the running process, and therefore the running process of batch tasks needs to be monitored.
[0003] At present, common batch task monitoring methods include: (1) embedding a sighting point script in the execution process of a batch task, and after the sighting point script is executed, a certain output value (such as start time and end time) is generated. Technical personnel judge whether the batch task is running normally according to the output value. (2) manually inputting a check condition at a fixed time point through a client or a web page of a batch platform, and judging whether the batch task is running normally according to the client output.
[0004] However, the first batch task monitoring method described above has a strong dependence on the function quality of the sighting point script. If the sighting point script does not have an objective judgment on the batch process, the output value generated at the end often cannot accurately reflect the batch running state. The first batch task monitoring method described above is manually operated and is limited by the efficiency of manual operation, and cannot effectively deal with the large batch monitoring tasks of banks. It can be seen that the reliability and efficiency of the current batch task monitoring are not good. SUMMARY
[0005] In order to improve the reliability and efficiency of batch task monitoring, the present application provides a batch task monitoring method, device, equipment and storage medium.
[0006] In a first aspect, the present application provides a batch task monitoring method, comprising:
[0007] obtaining basic task data and setting control parameters corresponding to the basic task data;
[0008] generating a batch task check instruction based on the basic task data and the control parameters;
[0009] matching the batch task check instruction corresponding to the basic task data and the control parameters to obtain a target check instruction;
[0010] executing the target check instruction to obtain an execution result, and monitoring a batch task corresponding to the target check instruction based on the execution result and the control parameters.
[0011] Through the implementation, the inspection instruction for the batch task can be automatically generated by acquiring the basic task data and setting the corresponding control parameter without using the aiming point script, so as to realize the automatic monitoring of the batch task, and thus the phenomenon of the manual whole-process participation in the batch task monitoring is avoided, thereby facilitating the improvement of the reliability and efficiency of the monitoring of the batch task.
[0012] Preferably, the basic task data comprises a batch job step name, and the control parameter comprises an inspection time and a re-inspection parameter.
[0013] Through the implementation, the specific elements in the basic task data and the control parameter are disclosed.
[0014] Preferably, the batch task monitoring method provided by the application is applied to a batch task monitoring system, and the batch task monitoring system comprises a control platform layer.
[0015] The basic task data is imported into the control platform layer, and the control parameter corresponding to the basic task data is set.
[0016] Through the implementation, the acquisition of the basic task data and the setting of the control parameter can be realized by means of the control platform layer in the batch task monitoring system.
[0017] Preferably, the batch task monitoring system further comprises a batch platform layer, and the batch task inspection instruction is generated based on the basic task data and the control parameter.
[0018] The basic task data and the control parameter are sent to the batch platform layer, so that the batch platform layer generates the corresponding batch task inspection instruction.
[0019] Through the implementation, the generation of the batch task inspection instruction can be realized by means of the batch platform layer in the batch task monitoring system, and a data basis is provided for the subsequent matching process of the batch task inspection instruction, the basic task data and the control parameter.
[0020] Preferably, the batch task monitoring system further comprises an automation platform layer, and the target inspection instruction is obtained by matching the batch task inspection instruction corresponding to the basic task data and the control parameter.
[0021] The basic task data, the control parameter and the batch task inspection instruction are sent to the automation platform layer, so that the automation platform layer matches the batch task inspection instruction corresponding to the basic task data and the control parameter as the target inspection instruction.
[0022] Through the implementation, the matching of the task inspection instruction and the basic task data and the control parameter can be realized by means of the automation platform layer in the batch task monitoring system, so that the target inspection instruction is determined, and the corresponding batch task is checked.
[0023] Preferably, the monitoring of the batch task corresponding to the target inspection instruction based on the execution result and the control parameter comprises:
[0024] In response to the execution result being normal batch task running, a corresponding email notification is sent.
[0025] In response to the execution result being abnormal batch task running, the target inspection instruction is re-executed based on the next inspection time and the re-inspection parameter in the control parameter.
[0026] Through the implementation, the next monitoring operation can be determined according to the specific execution result.
[0027] In a second aspect, the present application provides a batch task monitoring device, comprising:
[0028] A data acquisition module is configured to acquire basic task data and set control parameters corresponding to the basic task data.
[0029] An instruction generation module is configured to generate batch task inspection instructions based on the basic task data and the control parameters.
[0030] An instruction matching module is configured to match the batch task inspection instructions corresponding to the basic task data and the control parameters to obtain a target inspection instruction.
[0031] A monitoring execution module is configured to execute the target inspection instruction to obtain an execution result, and monitor the batch task corresponding to the target inspection instruction based on the execution result and the control parameter.
[0032] Through the implementation, the sighting point script is not required, and the inspection instruction of the batch task can be automatically generated based on the acquired basic task data and the set corresponding control parameters, so as to realize the automatic monitoring of the batch task. Thus, the phenomenon of manual full-process participation in batch task monitoring is eliminated, and the reliability and efficiency of the batch task monitoring are improved.
[0033] In a third aspect, the present application provides a computer device, which comprises a memory and a processor. The memory stores a computer program, and the processor executes the computer program to realize the steps in the above method.
[0034] In a fourth aspect, the present application provides a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the steps of the method described above.
[0035] In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of any of the method embodiments described above.
[0036] The batch task monitoring method, device, equipment and storage medium described above, by obtaining basic task data, and setting control parameters corresponding to the basic task data; generating a batch task checking instruction based on the basic task data and the control parameters; matching the batch task checking instruction corresponding to the basic task data and the control parameters to obtain a target checking instruction; executing the target checking instruction to obtain an execution result, and monitoring the batch task corresponding to the target checking instruction based on the execution result and the control parameters. Through the above implementation, without using the aiming point script, in the case of obtaining the basic task data and setting the corresponding control parameters, the checking instruction of the batch task can be automatically generated to realize the automatic monitoring of the batch task. In this way, the phenomenon of manual full-process participation in batch task monitoring is also eliminated, thereby facilitating the improvement of the reliability and efficiency of monitoring the batch task.
[0037] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0039] Figure 1 A batch task monitoring method flow chart provided in the embodiments of the present application;
[0040] Figure 2 A batch task monitoring system schematic diagram provided in the embodiments of the present application;
[0041] Figure 3 A batch task monitoring device structure schematic diagram provided in the embodiments of the present application;
[0042] Figure 4A structural schematic diagram of a computer device provided in an embodiment of the present application.
[0043] Figure 5 An internal structural diagram of a computer readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purposes, technical solutions and advantages of the present disclosure clearer, the present disclosure is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, and are not used to limit the present disclosure.
[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, device, product or equipment including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or equipment.
[0046] In this paper, the term "and / or" is only a description of the association relationship between the associated objects, which means that there can be three relationships. For example, A and / or B can represent three cases: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in this paper generally represents that the front and rear associated objects are in an "or" relationship.
[0047] Embodiment one
[0048] Figure 1 A batch task monitoring method flowchart provided by the first embodiment of the present application, referring to Figure 1 The method can be executed by a device for executing the method, which can be realized by software and / or hardware, and the method comprises:
[0049] S110, acquiring basic task data, and setting control parameters corresponding to the basic task data.
[0050] The batch task monitoring method provided in the embodiment is executed based on a preset batch task monitoring system. In the embodiment, the batch task monitoring system is used to monitor the running process of a batch task of a bank. Each step of the batch task is a batch job step of the batch task. The basic task data is data related to the batch job step. The basic task data is used to be imported into the batch task monitoring system. The batch task monitoring system can also set a control parameter corresponding to each basic task data. The control parameter is used to control the execution process of the corresponding batch job step.
[0051] Specifically, the preset basic task data is imported into the batch task monitoring system. Then, the control parameter corresponding to the basic task data is set by the batch task monitoring system.
[0052] S120, generating a batch task checking instruction based on the basic task data and the control parameter.
[0053] The batch task monitoring system can generate a batch task checking instruction corresponding to each group of basic task data and control parameter according to the basic task data and the control parameter of each group. The batch task checking instruction is a checking instruction of a batch task corresponding to the basic task data. The batch task monitoring system can check the batch task corresponding to the batch task checking instruction by executing the batch task checking instruction, so as to determine whether the running process of the batch task is normal.
[0054] Specifically, the batch task monitoring system generates a batch task checking instruction corresponding to each group of basic task data and control parameter according to the basic task data and the control parameter of each group.
[0055] S130, matching the batch task checking instruction corresponding to the basic task data and the control parameter to obtain a target checking instruction.
[0056] There can be multiple groups of basic task data and corresponding control parameters in the batch task monitoring system, as well as batch task checking instructions corresponding to each group of basic task data and control parameter. Before executing the batch task checking instruction corresponding to a group of basic task data and control parameter, the batch task checking instruction corresponding to the group of basic task data and control parameter needs to be matched out first, and then the matched batch task checking instruction is executed. The matched batch task checking instruction is recorded as a target checking instruction.
[0057] Specifically, taking one group of basic task data and control parameter as an example, the batch task monitoring system matches out a batch task checking instruction corresponding to the basic task data and the control parameter, and takes the batch task checking instruction as a target checking instruction.
[0058] S140, execute the target inspection instruction to obtain an execution result, and monitor the batch task corresponding to the target inspection instruction based on the execution result and the control parameter.
[0059] The batch task monitoring system can execute the target inspection instruction to check the running process of the batch task corresponding to the target inspection instruction, thereby obtaining a corresponding execution result. The execution result includes normal batch task running or abnormal batch task running. The batch task corresponding to the target inspection instruction can be further monitored based on the execution result and the control parameter obtained in the above step.
[0060] Specifically, the batch task monitoring system executes the target inspection instruction to obtain a corresponding execution result, and then monitors the batch task corresponding to the target inspection instruction based on the execution result and the control parameter obtained in the above step.
[0061] It should be noted that the embodiment obtains basic task data and sets control parameters corresponding to the basic task data, generates a batch task inspection instruction based on the basic task data and the control parameters, matches the batch task inspection instruction corresponding to the basic task data and the control parameters to obtain a target inspection instruction, executes the target inspection instruction to obtain an execution result, and monitors the batch task corresponding to the target inspection instruction based on the execution result and the control parameter. Through the above implementation, without using a sighting script, in the case of obtaining basic task data and setting corresponding control parameters, the inspection instruction for the batch task can be automatically generated to realize automatic monitoring of the batch task. Thus, the phenomenon of manual full-process participation in batch task monitoring is eliminated, thereby facilitating the improvement of the reliability and efficiency of batch task monitoring.
[0062] Embodiment Two
[0063] The batch task monitoring method provided in Embodiment Two of the present application optimizes the "basic task data" and "control parameter" in Embodiment One. It should be noted that the parts not described in the present embodiment can be referred to the description of other embodiments. The method comprises:
[0064] S210, obtain basic task data and set control parameters corresponding to the basic task data.
[0065] The basic task data includes a batch job step name, and the control parameter includes an inspection time and a re-inspection parameter.
[0066] It should be noted that the batch task monitoring system is used for monitoring the running process of the batch task of the bank, each step of the batch task is also the batch job step of the batch task, and the name of the batch job step is also the batch job step name; it is necessary to check the running process of the batch task to determine whether the running process of the batch task is normal, and for this purpose, the corresponding check time is set for the check, so that the running process of the batch task can be checked in response to the check time being reached; if it is found that the running process of the batch task is abnormal after checking the running process of the batch task, the batch task may also need to be rechecked, and for this purpose, the corresponding rechecking parameter is also set for the batch task, so that whether the batch task is rechecked is determined when it is judged that the batch task is running abnormally.
[0067] S220, generating a batch task check instruction based on the basic task data and the control parameter.
[0068] S230, matching the batch task check instruction corresponding to the basic task data and the control parameter to obtain a target check instruction.
[0069] S240, executing the target check instruction to obtain an execution result, and monitoring the batch task corresponding to the target check instruction based on the execution result and the control parameter.
[0070] Embodiment three
[0071] The batch task monitoring method provided in Embodiment Three optimizes the "obtaining basic task data and setting control parameters corresponding to the basic task data" in Embodiment One; it should be noted that the parts not described in this embodiment can be referred to the description of other embodiments.
[0072] It should be noted that the batch task monitoring method provided in this embodiment is applied to a batch task monitoring system, and the batch task monitoring system is described with reference to Figure 2 , the batch task monitoring system comprises a control platform layer; the method comprises:
[0073] S310, importing the basic task data into the control platform layer, and setting the control parameter corresponding to the basic task data.
[0074] The control platform layer is a component of the batch task monitoring system, and the basic control device is arranged in the control platform layer, and the basic control device is used for importing the basic task data therein and setting the control parameter corresponding to the basic task data.
[0075] Specifically, the preset basic task data is imported into the basic control device in the control platform layer, and the control parameter corresponding to the basic task data is set through the basic control device.
[0076] S320, generating batch task inspection instructions based on the basic task data and the control parameters.
[0077] S330, matching the batch task inspection instructions corresponding to the basic task data and the control parameters to obtain target inspection instructions.
[0078] S340, executing the target inspection instructions to obtain execution results, and monitoring the batch task corresponding to the target inspection instructions based on the execution results and the control parameters.
[0079] Embodiment Four
[0080] The batch task monitoring method provided in Embodiment Two optimizes the “generating batch task inspection instructions based on the basic task data and the control parameters” in Embodiment Three; it should be noted that the parts not described in detail in this embodiment can be referred to the descriptions of other embodiments. The method comprises:
[0081] S410, acquiring basic task data and setting control parameters corresponding to the basic task data.
[0082] It should be noted that, referring to Figure 2 , the batch task monitoring system further comprises a batch platform layer.
[0083] S420, sending the basic task data and the control parameters to the batch platform layer, so that the batch platform layer generates corresponding batch task inspection instructions.
[0084] Referring to Figure 2 , the batch platform layer is provided with a batch platform instruction device in communication connection with the basic control device; the batch platform instruction device is used to receive the basic task data and the control parameters sent by the basic control device, and generate batch task inspection instructions corresponding to the basic task data and the control parameters.
[0085] Specifically, the basic control device sends the basic task data and the control parameters to the batch platform instruction device in the batch platform layer, and the batch platform instruction device generates batch task inspection instructions corresponding to the basic task data and the control parameters.
[0086] S430, matching the batch task inspection instructions corresponding to the basic task data and the control parameters to obtain target inspection instructions.
[0087] S440, executing the target inspection instructions to obtain execution results, and monitoring the batch task corresponding to the target inspection instructions based on the execution results and the control parameters.
[0088] Embodiment Five
[0089] The batch task monitoring method provided in the fifth embodiment of the present application optimizes the "matching the target checking instruction obtained by matching the basic task data and the batch task checking instruction corresponding to the control parameter" in the fourth embodiment; it should be noted that the parts not described in detail in the present embodiment can be referred to the descriptions of other embodiments. The method comprises:
[0090] S510, acquiring basic task data and setting the control parameter corresponding to the basic task data.
[0091] S520, generating a batch task checking instruction based on the basic task data and the control parameter.
[0092] It should be noted that, with reference to Figure 2 , the batch task monitoring system further comprises an automation platform layer.
[0093] S530, sending the basic task data, the control parameter and the batch task checking instruction to the automation platform layer, so that the automation platform layer matches the batch task checking instruction corresponding to the basic task data and the control parameter as a target checking instruction.
[0094] With reference to Figure 2 , the automation platform layer is provided with an automation platform instruction device which is in communication connection with the basic control device and the batch platform instruction device. The automation platform instruction device is used to receive the basic task data and the control parameter sent by the basic control device, and also receive the batch task checking instruction sent by the batch platform instruction device; and match the batch task checking instruction corresponding to the basic task data and the control parameter.
[0095] Specifically, the basic control device sends the basic task data and the control parameter to the automation platform instruction device, and the batch platform instruction device sends the batch task checking instruction to the automation platform instruction device; the automation platform instruction device matches the batch task checking instruction corresponding to the basic task data and the control parameter, and takes the batch task checking instruction as a target checking instruction.
[0096] S540, executing the target checking instruction to obtain an execution result, and monitoring the batch task corresponding to the target checking instruction based on the execution result and the control parameter.
[0097] Embodiment six
[0098] The batch task monitoring method provided in the sixth embodiment of the present application optimizes the "monitoring the batch task corresponding to the target checking instruction based on the execution result and the control parameter" in the second embodiment. It should be noted that the parts not described in detail in the present embodiment can be referred to the descriptions of other embodiments. The method comprises the following steps:
[0099] In S610, the basic task data is acquired, and the control parameter corresponding to the basic task data is set.
[0100] The basic task data comprises a batch job step name, and the control parameter comprises a checking time and a re-checking parameter.
[0101] In S620, the batch task checking instruction is generated based on the basic task data and the control parameter.
[0102] In S630, the target checking instruction is obtained by matching the batch task checking instruction corresponding to the basic task data and the control parameter.
[0103] In S641, the execution result is obtained by executing the target checking instruction.
[0104] In S642, the corresponding email notification is sent in response to the execution result being normal running of the batch task.
[0105] The execution result is sent to the basic control device by the automation platform instruction device after the target checking instruction is executed to obtain the execution result. The basic control device judges the execution result. If the execution result is normal running of the batch task, it means that the running process of the batch task does not have abnormal problems. At this time, the email notification of normal running of the batch task can be sent to the preset notified mailbox, so that the bank staff can know the normal running of the corresponding batch task in time, thereby realizing the monitoring of the batch task when the execution result is normal running of the batch task.
[0106] Specifically, if the execution result is normal running of the batch task, the email notification of normal running of the batch task is sent to the preset notified mailbox.
[0107] In S643, the target checking instruction is re-executed based on the next checking time and the re-checking parameter in the control parameter in response to the execution result being abnormal running of the batch task.
[0108] If the execution result is a batch task running exception, it indicates that the running process of the batch task corresponding to the batch task has an abnormal problem, and the batch task needs to be checked again at this time. Specifically, the above target checking instruction can be re-executed according to the re-checking parameter when the next checking time in the control parameter arrives, so as to realize the re-checking of the batch task, thereby realizing the monitoring of the batch task when the execution result is a batch task running exception.
[0109] Specifically, if the execution result is a batch task running exception, the above target checking instruction can be re-executed according to the re-checking parameter when the next checking time in the control parameter arrives.
[0110] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps has no strict sequence limitation, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0111] Embodiment Seven
[0112] Based on the same inventive concept, the present embodiment also provides a batch task monitoring device for implementing the above-mentioned batch task monitoring method. The implementation scheme of the problem solving provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more batch task monitoring device embodiments provided below can refer to the limitations of the batch task monitoring method in the above text, which will not be repeated here.
[0113] In the present embodiment, as shown in Figure 3 a batch task monitoring device is provided, comprising:
[0114] a data acquisition module configured to acquire basic task data and set control parameters corresponding to the basic task data;
[0115] an instruction generation module configured to generate a batch task checking instruction based on the basic task data and the control parameters;
[0116] an instruction matching module configured to match the batch task checking instruction corresponding to the basic task data and the control parameters to obtain a target checking instruction;
[0117] The monitoring execution module is configured to execute the target inspection instruction to obtain an execution result, and monitor the batch task corresponding to the target inspection instruction based on the execution result and the control parameter.
[0118] The modules in the batch task monitoring device can be implemented by software, hardware, or a combination thereof. The modules can be embedded in a processor of a computer device or independent of the processor, or stored in a memory of the computer device in a software form, so as to be called and executed by the processor.
[0119] It should be noted that, in the embodiment, the basic task data is obtained, and the control parameter corresponding to the basic task data is set; the batch task inspection instruction corresponding to the basic task data and the control parameter is generated; the target inspection instruction is matched by matching the batch task inspection instruction corresponding to the basic task data and the control parameter; the execution result is obtained by executing the target inspection instruction; and the batch task corresponding to the target inspection instruction is monitored based on the execution result and the control parameter. Through the above implementation, the batch task inspection instruction can be automatically generated without using the aiming point script, and the batch task can be automatically monitored by setting the control parameter corresponding to the basic task data, so as to avoid the phenomenon that the whole process of the batch task monitoring is manually participated, thereby improving the reliability and efficiency of the batch task monitoring.
[0120] In one embodiment, in the aspect of obtaining the basic task data and setting the control parameter corresponding to the basic task data, the data obtaining module is specifically configured to:
[0121] The basic task data is imported into the control platform layer, and the control parameter corresponding to the basic task data is set.
[0122] In one embodiment, in the aspect of generating the batch task inspection instruction based on the basic task data and the control parameter, the instruction generating module is specifically configured to:
[0123] The basic task data and the control parameter are sent to the batch platform layer, so that the batch platform layer generates the corresponding batch task inspection instruction.
[0124] In one embodiment, in the aspect of matching the target inspection instruction by matching the batch task inspection instruction corresponding to the basic task data and the control parameter, the instruction matching module is specifically configured to:
[0125] The basic task data, the control parameter, and the batch task inspection instruction are sent to the automation platform layer, so that the automation platform layer matches the batch task inspection instruction corresponding to the basic task data and the control parameter as the target inspection instruction.
[0126] In one embodiment, in monitoring the batch task corresponding to the target check instruction based on the execution result and the control parameter, the monitoring execution module is specifically configured to:
[0127] in response to the execution result being normal, issuing a corresponding email notification;
[0128] in response to the execution result being abnormal, re-executing the target check instruction based on the next check time in the control parameter and the re-check parameter.
[0129] Embodiment eight
[0130] In this embodiment, a computer device is provided, which can be a server, and an internal structure diagram thereof can be as shown in Figure 4 The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is configured to store data. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a batch task monitoring method.
[0131] Those skilled in the art can understand that Figure 4 the structure shown in the figure is only a block diagram of part of the structure related to the present disclosure, and does not constitute a limitation on the computer device to which the present disclosure is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0132] Embodiment nine
[0133] In this embodiment, a computer readable storage medium is provided, as shown in Figure 5 which stores a computer program. The computer program is executed by the processor to implement the steps in each of the method embodiments described above.
[0134] Embodiment ten
[0135] In this embodiment, a computer program product is provided, which includes a computer program. The computer program is executed by the processor to implement the steps in each of the method embodiments described above.
[0136] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present disclosure are all information and data authorized by the user or authorized by all parties.
[0137] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments of each method. Any reference to memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided by the present disclosure can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided by the present disclosure can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0138] The technical features of the above embodiments can be combined in any way. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present disclosure.
[0139] The above-described embodiments are merely illustrative of several embodiments of the present disclosure, which are described in a relatively specific and detailed manner, but should not be construed as limiting the scope of the patent of the present disclosure. It should be noted that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present disclosure, which are all within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.
Claims
1. A batch task monitoring method, characterized in that, include: Acquire basic task data and set the control parameters corresponding to the basic task data; Batch task inspection instructions are generated based on the basic task data and the control parameters; The target inspection instruction is obtained by matching the basic task data with the batch task inspection instructions corresponding to the control parameters. The target inspection instruction is executed to obtain the execution result, and the batch tasks corresponding to the target inspection instruction are monitored based on the execution result and the control parameters.
2. The method according to claim 1, characterized in that, The basic task data includes the batch job step name, and the control parameters include the check time and re-check parameters.
3. The method according to claim 1, characterized in that, This is applied to a batch task monitoring system, which includes a control platform layer; the step of acquiring basic task data and setting control parameters corresponding to the basic task data includes: Import the basic task data into the control platform layer and set the control parameters corresponding to the basic task data.
4. The method according to claim 3, characterized in that, The batch task monitoring system also includes a batch platform layer, wherein the generation of batch task check instructions based on the basic task data and the control parameters includes: The basic task data and the control parameters are sent to the batch platform layer so that the batch platform layer generates corresponding batch task check instructions.
5. The method according to claim 4, characterized in that, The batch task monitoring system also includes an automation platform layer. The process of matching the basic task data with the batch task inspection instructions corresponding to the control parameters to obtain target inspection instructions includes: The basic task data, the control parameters, and the batch task inspection instructions are sent to the automation platform layer so that the automation platform layer matches the batch task inspection instructions corresponding to the basic task data and the control parameters as the target inspection instructions.
6. The method according to claim 2, characterized in that, The monitoring of batch tasks corresponding to the target inspection instruction based on the execution result and the control parameters includes: If the execution result indicates that the batch task is running normally, a corresponding email notification will be sent. If the execution result is an abnormal batch task execution, the target check instruction is re-executed based on the next check time in the control parameters and the re-check parameters.
7. A batch task monitoring device, characterized in that, The device includes: The data acquisition module is used to acquire basic task data and set the control parameters corresponding to the basic task data. The instruction generation module is used to generate batch task inspection instructions based on the basic task data and the control parameters; The instruction matching module is used to match the basic task data with the batch task inspection instructions corresponding to the control parameters to obtain the target inspection instructions; The monitoring and execution module is used to execute the target inspection instruction to obtain the execution result, and to monitor the batch tasks corresponding to the target inspection instruction based on the execution result and the control parameters.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.