CN115171350A - Operation alarm method and device and electronic equipment - Google Patents

Operation alarm method and device and electronic equipment Download PDF

Info

Publication number
CN115171350A
CN115171350A CN202210761222.XA CN202210761222A CN115171350A CN 115171350 A CN115171350 A CN 115171350A CN 202210761222 A CN202210761222 A CN 202210761222A CN 115171350 A CN115171350 A CN 115171350A
Authority
CN
China
Prior art keywords
execution
group
current
job group
alarm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210761222.XA
Other languages
Chinese (zh)
Other versions
CN115171350B (en
Inventor
鲍一莹
俞丽萍
田晓燕
王木生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210761222.XA priority Critical patent/CN115171350B/en
Publication of CN115171350A publication Critical patent/CN115171350A/en
Application granted granted Critical
Publication of CN115171350B publication Critical patent/CN115171350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/008Alarm setting and unsetting, i.e. arming or disarming of the security system

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an operation alarming method and device and electronic equipment. Relating to the field of financial science and technology or other related fields, the method comprises the following steps: determining a previous work group corresponding to the current work group; determining a target time length based on job execution information of a preceding job group; determining a target starting execution time and a target ending execution time of the current job group based on the target time length, the preset starting execution time and the preset ending execution time of the current job group; and determining an alarm condition for alarming the current job group based on the target starting execution time and/or the target ending execution time. The invention solves the technical problem of low alarm effectiveness caused by judging whether to alarm or not based on the originally set time after the batch delayed execution of the tasks in the prior art.

Description

Operation alarm method and device and electronic equipment
Technical Field
The invention relates to the field of financial science and technology or other related fields, in particular to an operation alarming method and device and electronic equipment.
Background
At present, distributed batch jobs take batch jobs as dimensions, record the running condition of each batch job, and send a control instruction to the batch jobs; due to the fact that the number of batch jobs is large and the functions are small, batch jobs are often grouped and managed. In the process of monitoring the batch job group, a start time threshold and an end time threshold at fixed time are generally set by taking the batch job group as a unit, and when the batch does not start at the time of the start time threshold or the batch does not end at the time of the end time threshold, alarm information is sent.
However, when the head job in a part of batch job groups is not timely finished due to subjective reasons (such as the timing of the worker manually cancelling the job is started and the job in execution is manually suspended), the subsequent batch job group depending on the batch job group cannot be timely started, if the delay time of the head job is later than the set time threshold, the batch job group and the subsequent batch job group both alarm, however, the operation and maintenance personnel already know the situation and belong to invalid alarm. And after the alarm is triggered ineffectively, the related monitoring application does not monitor the execution condition of the operation any more subsequently, so that effective monitoring coverage cannot be formed, and operation and maintenance personnel are required to manually monitor whether the batch operation group is executed according to a plan.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an operation alarming method, an operation alarming device and electronic equipment, and at least solves the technical problem that in the prior art, after batch delayed execution of tasks is carried out, whether alarming is carried out or not is judged based on originally set time, so that the alarming effectiveness is low.
According to an aspect of an embodiment of the present invention, there is provided a method for alarming a job, including: determining a previous job group corresponding to the current job group, wherein the current job group is a job group which is executed in a delayed mode, the current job group is in a first pause alarm state, the first pause alarm state represents that the current job group is in a state of canceling alarm at the current time, and the previous job group is a previous job group which needs to be executed before the current job group is executed; determining a target time length based on the job execution information of the previous job group, wherein the target time length is used for determining the time for delaying alarm; determining the target starting execution time and the target ending execution time of the current operation group based on the target time length, the preset starting execution time and the preset ending execution time of the current operation group; and determining an alarm condition for alarming the current operation group based on the target starting execution time and/or the target ending execution time.
Further, the alarm method of the operation further comprises the following steps: determining the execution state of the previous job group; and if the previous job group is in a first execution state, determining a target time length based on the preset ending execution time and the actual ending time of the previous job group, wherein the first execution state represents that the previous job group is in a state of delayed execution and completed execution, and the job execution information at least comprises the preset ending execution time and the actual ending time of the previous job group.
Further, the alarm method of the operation further comprises the following steps: after the execution state of the previous job group is determined, if the previous job group is in a second pause alarm state or a second execution state, the preset starting execution time and the preset ending execution time are maintained unchanged, wherein the second pause alarm state represents that the previous job group is in a state of canceling the alarm at the current time, and the second execution state represents that the previous job group is in a state of not delaying execution.
Further, the alarm method of the operation further comprises the following steps: adding the target time length and the preset starting execution time to obtain a target starting execution time; and adding the target time length and the preset ending execution time to obtain the target ending execution time.
Further, the alarm method of the operation further comprises the following steps: after the target starting execution time and the target ending execution time of the current job group are determined based on the target time length, the preset starting execution time and the preset ending execution time of the current job group, the execution state of the current job group is updated to be a third execution state, wherein the third execution state represents that the previous job group is in a state of being executed completely.
Further, the alarm method of the operation further comprises the following steps: and determining an alarm condition for alarming the current job group based on the target starting execution time, the starting execution time of the current job group and the execution state, and/or determining an alarm condition for alarming the current job group based on the target ending execution time, the ending execution time of the current job group and the execution state.
Further, the alarm method of the operation further comprises the following steps: after determining an alarm condition for alarming the current job group based on the target start execution time, the start execution time of the current job group and the execution state, determining whether the current job group starts to execute when the current time is the target start execution time; if the current operation group does not start to be executed and is in a third execution state, determining that the current operation group meets the alarm condition and generating alarm information; if the current operation group starts to execute, determining the starting execution time of the current operation group; if the starting execution time is larger than the target starting execution time, determining the execution state of the current operation group; and if the current operation group is in the third execution state, determining that the current operation group meets the alarm condition, and generating alarm information.
Further, the alarm method of the operation further comprises the following steps: after determining an alarm condition for alarming the current job group based on the target end execution time, the end execution time of the current job group and the execution state, determining whether the current job group is finished when the current time is the target end execution time; if the current operation group is not finished executing and is in a third execution state, determining that the current operation group meets the alarm condition and generating alarm information; if the current operation group finishes executing, determining the finishing executing time of the current operation group; if the ending execution time is greater than the target ending execution time, determining the execution state of the current operation group; and if the current operation group is in the third execution state, determining that the current operation group meets the alarm condition, and generating alarm information.
Further, the alarm method of the operation further comprises the following steps: before determining a previous job group corresponding to a current job group, if a pause execution instruction or an execution cancel instruction for a target job group is received, triggering an inquiry instruction, wherein the target job group is a job group which needs to be executed before the current job group is executed, and the inquiry instruction is used for inquiring whether the execution state of the current job group is set to be a first pause alarm state; if a first instruction for feeding back the inquiry instruction is received, updating the execution state of the current operation group to be a first pause alarm state, wherein the first instruction represents that the execution state of the current operation group is allowed to be set to be the first pause alarm state; and if a second instruction for feeding back the inquiry instruction is received, maintaining the execution state of the current operation group unchanged, wherein the first instruction represents that the execution state of the current operation group is prohibited to be set to be a first pause alarm state.
According to another aspect of the embodiments of the present invention, there is also provided an alarm device for work, including: the first determining module is used for determining a previous job group corresponding to the current job group, wherein the current job group is a job group which is executed in a delayed mode, the current job group is in a first pause alarm state, the first pause alarm state represents that the current job group is in a state of canceling alarm at the current time, and the previous job group is a previous job group which needs to be executed before the current job group is executed; a second determination module, configured to determine a target time length based on the job execution information of the previous job group, where the target time length is used to determine a time for delaying the alarm; the third determining module is used for determining the target starting execution time and the target ending execution time of the current job group based on the target time length, the preset starting execution time and the preset ending execution time of the current job group; and the fourth determining module is used for determining an alarm condition for alarming the current job group based on the target starting execution time and/or the target ending execution time.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-mentioned alarm method of a job when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including one or more processors; a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement an alarm method for executing the program, wherein the program is arranged to execute the above-mentioned job.
According to another aspect of the embodiments of the present invention, there is also provided a computer program product including a computer program/instructions which, when executed by a processor, implement the method of alerting of a job as described above.
In the embodiment of the invention, an alarm condition for alarming the current job group is determined by determining a previous job group corresponding to the current job group based on job execution information of the previous job group, then determining a target time length based on the job execution information of the previous job group, and then determining a target start execution time and a target end execution time of the current job group based on the target time length, the preset start execution time and the preset end execution time of the current job group, so that the alarm condition for alarming the current job group is determined based on the target start execution time and/or the target end execution time, wherein the current job group is the job group which is executed in a delayed manner, the current job group is in a first pause alarm state, the first pause alarm state represents that the current job group is in a state of canceling alarm at the current time, and the previous job group is a previous job group which needs to be executed before the current job group is executed.
In the process, because the current job group depends on the execution condition of the previous job group, the target time length is determined based on the job execution information of the previous job group, and the target start execution time and the target end execution time of the current job group are determined based on the target time length so as to delay the alarm time, thereby avoiding the phenomenon of invalid alarm caused by determining the alarm condition for alarming the current job group based on the original preset start execution time and the original preset end execution time when the job execution condition of the previous job group is changed, improving the alarm effectiveness and reducing the labor consumption caused by processing the invalid alarm. In addition, the alarm condition for alarming the current operation group is determined based on the target starting execution time and/or the target ending execution time, so that the monitored monitoring time of the current operation group is effectively prolonged when the current operation group delays execution, the poor monitoring effect caused by monitoring cancellation after alarming is avoided when the alarm is given in advance, and the monitoring effectiveness is improved.
Therefore, the scheme provided by the application achieves the purpose of determining the alarm condition for alarming the current operation group which is delayed to be executed based on the operation execution information of the previous operation group, thereby realizing the technical effect of improving the alarm effectiveness, and further solving the technical problem of low alarm effectiveness caused by judging whether to alarm or not based on the originally set time after the batch delayed execution of the tasks in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic illustration of an alternative task alert system according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of an alternate operational alerting method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the scheduling logic for an alternative job group according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of an alternative example table according to an embodiment of the invention;
FIG. 5 is a schematic diagram of the operation of an alternative temporary cancellation alarm routing module according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an alternative setting of a preset start execution time and a preset end execution time according to an embodiment of the invention;
FIG. 7 is a schematic diagram of monitoring logic for an alternative workgroup, according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of the alarm logic for an alternative workgroup in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating the operation of an optional module for temporarily canceling an alarm query according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of the operation of an alternative batch supervisory alert processing module in accordance with an embodiment of the present invention;
FIG. 11 is a schematic diagram illustrating the operation of an alternative batch supervisory alert processing module according to embodiments of the present invention;
FIG. 12 is a schematic illustration of an alternative operational warning unit in accordance with an embodiment of the present invention;
FIG. 13 is a schematic view of an alternative electronic device according to embodiments of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a log file generation method, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
In this embodiment, as shown in fig. 1, the alarm method for executing the foregoing job by using an optional job alarm system as an execution subject, where the job alarm system at least includes a module for temporarily cancelling alarm inquiry, a module for temporarily cancelling alarm patrol, and a batch monitoring alarm processing module.
Fig. 2 is a schematic diagram of an alternative operational warning method according to an embodiment of the present invention, as shown in fig. 2, the method including the steps of:
step S201, determining a previous job group corresponding to the current job group, where the current job group is a job group delayed in execution, the current job group is in a first warning pause state, the first warning pause state indicates that the current job group is in a state of canceling warning at the current time, and the previous job group is a previous job group that needs to be executed before the current job group is executed.
Optionally, the job group in the present application may be a distributed batch job group, and the scheduling logic of the job group in the present application is first described below. As shown in fig. 3, each batch job in the job group is executed in sequence according to a fixed dependency relationship, such as job group a, job group B, job group C, job group D, and job group E in fig. 3; a certain service logic needs a plurality of operation groups to be executed in sequence according to a fixed dependency relationship, for example, after the execution of the service logic 2 in fig. 3 and the execution of the operation group B is completed, the batch operation M can be executed, or after the execution of the service logic 3 in fig. 3 and the execution of the batch operation D is completed, the batch operation N can be executed; different service logics need to be executed in sequence according to a fixed logical relationship, for example, after the execution of the service logic 1 in fig. 3 is completed, the service logic 2 can be executed, and after the execution of both the service logic 2 and the service logic 3 is completed, the service logic 4 can be executed; when the head job is executed at a specific time, the service logics are sequentially executed according to a fixed logic, for example, when the Y time timing in fig. 3 starts, the service logic 3 is triggered to be executed, or when the X time timing starts, the service logic 1 is triggered to be executed. That is, in the present application, the job groups have a dependency relationship with each other, and in the job group having a dependency relationship with the current job group, the previous job group executed before the current job group is taken as the previous job group corresponding to the current job group, the job group executed after the current job group is taken as the next job group corresponding to the current job group, and when the current job group is executed with a delay or the delay is finished, the current job group and the next job group corresponding thereto are executed with a passive delay.
Further, the job execution status of the job group may be recorded in an example table of the related distributed batch management system, as shown in fig. 4, in which at least an identifier of the current job group (i.e., the job group definition ID in fig. 4), an identifier of a previous job group corresponding to the current job group (i.e., the previous item dependent job group ID in fig. 4), a job group status of the current job group, a work date of the current job group, a preset start execution time (i.e., the start time threshold in fig. 4), a preset end execution time (i.e., the end time threshold in fig. 4), a start time, an end time, and an execution status (i.e., the temporary cancel alarm field in fig. 4) of the current job group are recorded, wherein the job group status may be represented by fields, such as "1-to-be executed", "2-in-english execution", "3-execution interruption", "4-in-execution completed", and the default value is 1, the execution status of the job group may be represented by fields, such as "0-executed-completed", "1-temporary-item cancelled", "2-completed before-execution", "in-completed by manual intervention" in fig. and the list may also be recorded in correspondence with the name of the default information, and the corresponding example name of the current job, and may also be recorded in the corresponding example list, and may be recorded.
In step S201, when a task group is actively delayed from being executed, the task group and its corresponding next task group may be set to temporarily cancel an alarm, and therefore, as shown in fig. 5, the temporary cancel alarm patrol module may scan every 5 minutes whether there is a task group temporarily canceling an alarm in the instance table, that is, a task group in the first suspend alarm state, to determine the current task group screened for the first time. Further, the preset start execution time and the preset end execution time of the job group may be determined through the instance table, and if the preset start execution time or the preset end time of the job group is within the first 5 minutes of the current time (i.e., the case where the time condition is satisfied in fig. 5), the job is regarded as the finally determined current job group ID n And determining the identifier of the previous work group of the current work group through the instance table: ID p
In step S202, a target time length is determined based on the job execution information of the preceding job group, where the target time length is used to determine the time to delay the alarm.
In step S202, it may be determined whether an active delay occurs in the execution of the previous job group, and when it is determined that the delayed execution of the current job group is caused by the delayed execution or the delayed end of the previous job group, the target time length may be determined. The target time length is used for representing the time delayed by the previous work group in the execution process and determining the time for delaying the alarm. Optionally, the time delayed in the execution process of the previous job group may be determined according to the actual ending execution time and the preset ending execution time of the previous job group, or the time delayed in the execution process of the previous job group may be determined according to the actual starting execution time and the preset starting execution time of the previous job group.
Step S203, determining a target start execution time and a target end execution time of the current job group based on the target time length, the preset start execution time and the preset end execution time of the current job group.
Optionally, first, the monitoring logic of the application job group is explained. As shown in fig. 6 and 7, corresponding monitoring tasks are respectively set in units of job groups (e.g., job groups a to E correspond to monitoring tasks 1 to 5 one by one in fig. 7), and a preset start execution time and a preset end execution time at a fixed time are set in each monitoring task, where the preset start execution time and the end time threshold are determined according to a start time T1 of a head job in the group of jobs, a end time T2 of a tail job in the group of jobs, and a fault tolerance difference n, where the preset start execution time is T1+ n and the preset end execution time is T2+ n. As shown in fig. 8, when the preset start execution time from the current time to the set preset start execution time is T1+ n, the alarm logic of the job group starts to execute the corresponding monitoring task, and when the job group does not arrive at the preset start execution time T1+ n or when the job group does not arrive at the preset end execution time T2+ n, the alarm logic alarms to notify the operation and maintenance staff to process, otherwise, the alarm logic does not need to alarm. Namely, under the normal condition, the alarm condition for alarming the current operation group is determined according to the preset starting execution time and the preset ending execution time.
Therefore, when the current job group is delayed to be executed due to the previous job group, the original preset starting execution time and the original preset ending execution time corresponding to the current job group can be changed based on the target time length to obtain the target starting execution time and the target ending execution time, so as to avoid that the job alarm system still determines the alarm condition for alarming the current job group based on the preset starting execution time and the preset ending execution time.
Optionally, the temporary cancellation alarm polling module may directly add the target time length to the preset start execution time or the preset end execution time to determine the target start execution time and the target end execution time of the current job group, and the temporary cancellation alarm polling module may also add the target time length to the preset start execution time or the preset end execution time to determine the target start execution time and the target end execution time of the current job group, in combination with the preset time length. The obtained target starting execution time and target ending execution time are only used for changing the information in the instance table corresponding to the current date.
It should be noted that, because the current job group depends on the execution condition of the previous job group, the target time length is determined based on the job execution information of the previous job group, and the target start execution time and the target end execution time of the current job group are determined based on the target time length, so that the phenomenon of invalid alarm caused by determining the alarm condition for alarming the current job group based on the original preset start execution time and preset end execution time when the job execution condition of the current job group changes is avoided, and thus the manpower consumption caused by processing the invalid alarm is reduced.
And step S204, determining an alarm condition for alarming the current job group based on the target starting execution time and/or the target ending execution time.
In step S204, the batch monitoring alarm processing module may determine an alarm condition for alarming the current job group directly based on the target start execution time and/or the target end execution time, that is, directly alarming when the job group does not start when the target start execution time is reached or when the job group does not end when the target end execution time is reached. The batch monitoring alarm processing module can also determine an alarm condition for alarming the current operation group by combining the target starting execution time and/or the target ending execution time and the execution state of the current operation group, and alarm when the current operation group meets the relevant alarm condition.
It should be noted that, by determining the alarm condition for alarming the current operation group based on the target start execution time and/or the target end execution time, the monitoring time of the current operation group is effectively prolonged when the current operation group delays execution, which avoids poor monitoring effect caused by monitoring cancellation after alarm when alarming in advance, thereby improving the effectiveness of monitoring.
Based on the solutions defined in steps S201 to S204, it can be known that, in the embodiment of the present invention, an alarm condition for alarming a current job group that is executed later is determined based on job execution information of a previous job group, a target time length is determined based on job execution information of the previous job group, and then a target start execution time and a target end execution time of the current job group are determined based on the target time length, a preset start execution time and a preset end execution time of the current job group, so as to determine an alarm condition for alarming the current job group based on the target start execution time and/or the target end execution time, where the current job group is a job group that is executed later, the current job group is in a first alarm pause state, and the first alarm state represents that the current job group is in an alarm cancellation state at the current time, and the previous job group is a previous job group that needs to be executed before the current job group is executed.
It is easy to note that, in the above process, since the current job group depends on the execution condition of the previous job group, the target time length is determined based on the job execution information of the previous job group, and the target start execution time and the target end execution time of the current job group are determined based on the target time length to delay the alarm time, thereby avoiding the phenomenon of invalid alarm caused by determining the alarm condition for alarming the current job group based on the original preset start execution time and preset end execution time when the job execution condition of the previous job group is changed, improving the alarm effectiveness, and reducing the manpower consumption caused by processing the invalid alarm. In addition, the alarm condition for alarming the current operation group is determined based on the target starting execution time and/or the target ending execution time, so that the monitored monitoring time of the current operation group is effectively prolonged when the current operation group delays execution, the poor monitoring effect caused by monitoring cancellation after alarming is avoided when the alarm is given in advance, and the monitoring effectiveness is improved.
Therefore, the scheme provided by the application achieves the purpose of determining the alarm condition for alarming the current operation group which is delayed to be executed based on the operation execution information of the previous operation group, thereby realizing the technical effect of improving the alarm effectiveness, and further solving the technical problem of low alarm effectiveness caused by judging whether to alarm or not based on the originally set time after the batch delayed execution of the tasks in the prior art.
In an alternative embodiment, before determining a previous job group corresponding to a current job group, if the job warning system receives a pause execution instruction or a cancel execution instruction for a target job group, the job warning system may trigger an inquiry instruction, and then, if a first instruction for feeding back the inquiry instruction is received, the execution state of the current job group may be updated to a first pause warning state, and if a second instruction for feeding back the inquiry instruction is received, the execution state of the current job group may be maintained unchanged. The target operation group is an operation group which needs to be executed before the current operation group is executed, the inquiry instruction is used for inquiring whether the execution state of the current operation group is set to be a first pause alarm state, the first instruction represents that the execution state of the current operation group is allowed to be set to be the first pause alarm state, and the first instruction represents that the execution state of the current operation group is forbidden to be set to be the first pause alarm state.
Optionally, as shown in fig. 9, when the instruction to suspend execution of the target job group (i.e., the instruction to suspend the batch job group in fig. 9) or the instruction to cancel execution (i.e., the instruction to cancel the batch job group timing in fig. 9) is manually executed, the batch job group suspends execution or is not executed when the preset time expires, and the temporary cancel alarm query module receives the instruction and triggers the query instruction to actively query whether to cancel the alarm of the start time and the end time of the next job group corresponding to the target job group, and also actively query, i.e., whether to set the execution state of the current job group as the first suspend alarm state, where the next job group corresponding to the target job group at least includes the current job group.
Further, as shown in fig. 9, if the relevant staff member feeds back the first instruction, whether the alarm query module temporarily cancels the alarm monitoring of the next job group corresponding to the target job group or not is determined, and the value of the temporary cancellation alarm field of the target job group and the value of the temporary cancellation alarm field of the next job group corresponding to the target job group are set to 1 — temporarily cancels the alarm, that is, the execution state of the current job group is set to the first suspend alarm state. Otherwise, if the related staff feeds back the second instruction, the execution state of the next job group corresponding to the target job group is maintained, that is, the execution state of the current job group is maintained unchanged.
Further, as shown in fig. 9, during the execution of the job group, batch job group commands such as "continue", "skip", etc. may be executed for the job group, and after the execution of the job group is finished, the provisional cancellation alarm field of the job group is checked, and if the provisional cancellation alarm field value of the job group is 1 — provisional cancellation alarm, the modification field value is 0 — execution is finished; if the temporal cancellation alarm field value for this workgroup is 0-executed end or NULL-antecedent is not deferred to end by manual intervention, then no modification is made.
It should be noted that, when the execution of a job group is delayed, the relevant staff is actively queried, and the relevant staff selects whether to temporarily cancel the job group and the alarm of the next job group corresponding to the job group, so that the method provided by the application is more flexible, and the applicability of the application is improved.
In an alternative embodiment, in the process of determining the target time length based on the job execution information of the previous job group, the job warning system may determine an execution state of the previous job group, and if the previous job group is in a first execution state, determine the target time length based on a preset end execution time and an actual end time of the previous job group, where the first execution state represents that the previous job group is in a state of delayed execution and completed execution, and the job execution information at least includes the preset end execution time and the actual end time of the previous job group.
Optionally, as shown in fig. 5, the tentative cancellation alarm polling module may determine the execution state of the previous job group based on the tentative cancellation alarm field in the instance table, and determine that the previous job group is in the first execution state when the field of the previous job group is 0 and the previous job group is executed and finished, where the previous job group is in a state of being executed with delay and being completed. Then, the temporary cancellation alarm patrol module may determine the preset end execution time and the actual end time of the previous job group based on the instance table, and determine the target time length based on the following formula:
RT n =ET p -ETF p
wherein, RT n Representing the target time length, ET p Indicating the actual end time, ETF, of the preceding job group p Indicating the preset end execution time of the previous job group.
It should be noted that, when the previous job group is executed in a delayed manner and is completed, the target time length is determined based on the preset execution time for ending and the actual execution time for ending the previous job group, so that the time delayed by the previous job group is accurately determined, that is, the target time length is accurately determined, and therefore, the alarm condition of the current job group is accurately determined.
In an alternative embodiment, after determining the execution state of the previous job group, the job alerting system may maintain the preset start execution time and the preset end execution time unchanged if the previous job group is in a second suspend alerting state or a second execution state, where the second suspend alerting state indicates that the previous job group is in a state of canceling the alert at the current time, and the second execution state indicates that the previous job group is in a state of not delaying execution.
Optionally, as shown in fig. 5, if the field of the previous job group for temporarily cancelling the alarm is 1-temporarily cancels the alarm, it is determined that the previous job group is in the second suspend alarm state, the temporary cancellation alarm polling module may maintain the preset start execution time and the preset end execution time unchanged, if the field of the previous job group for temporarily cancelling the alarm is NULL-not delayed by manual intervention, it is determined that the previous job group is in the second execution state, and the temporary cancellation alarm polling module may also maintain the preset start execution time and the preset end execution time unchanged.
It should be noted that, because the target time length cannot be accurately determined when the previous job group is in the second suspend warning state, and when the previous job group is in the second execution state, it is determined that the previous job group is not actively delayed to be executed, when the previous job group is in the second suspend warning state or the second execution state, the warning condition of the current job group is not changed, and normal monitoring of the current job group is ensured.
In an optional embodiment, in the process of determining the target start execution time and the target end execution time of the current job group based on the target time length, the preset start execution time and the preset end execution time of the current job group, the job alarm system may add the target time length and the preset start execution time to obtain the target start execution time; and adding the target time length and the preset ending execution time to obtain the target ending execution time.
Alternatively, as shown in fig. 5, the provisional cancellation alarm patrol module may calculate the target start execution time of the current job group based on the following formula:
BTF n =BTF+RT n
wherein, BTF n Indicating a target start execution time and BTF indicating a preset start execution time.
As shown in fig. 5, the provisional cancellation alarm patrol module may calculate the target end execution time of the current job group based on the following formula:
ETF n =ETF+RT n
wherein, ETF n Representing a target end execution time and ETF representing a preset end execution time.
Further, as shown in fig. 5, after the target start execution time and the target end execution time are determined, the temporary cancellation alarm patrol inspection module may update the target start execution time and the target end execution time to the example table for subsequent determination of the alarm condition. Therefore, the alarm condition of the current operation group is accurately determined.
In an alternative embodiment, after determining the target start execution time and the target end execution time of the current job group based on the target time length, the preset start execution time and the preset end execution time of the current job group, the job alerting system may update the execution state of the current job group to a third execution state, where the third execution state represents that the previous job group is in a state of being executed completely.
Optionally, as shown in fig. 5, the tentative cancellation alarm patrol module may update the field of the current workgroup from which the tentative alarm is cancelled to 2-entry already executed, that is, update the execution state of the current workgroup to the third execution state.
It should be noted that, after the preset starting execution time and the preset ending execution time corresponding to the current operation group are updated, the execution state of the current operation group is updated to be the third execution state, so that when the current operation group meets the alarm condition, the operation alarm system can successfully generate alarm information to prompt relevant workers, thereby realizing effective alarm.
In an alternative embodiment, in determining the alarm condition for alarming the current job group based on the target start execution time and/or the target end execution time, the job alarm system may determine the alarm condition for alarming the current job group based on the target start execution time, the start execution time of the current job group, and the execution state, and/or determine the alarm condition for alarming the current job group based on the target end execution time, the end execution time of the current job group, and the execution state.
Optionally, the batch monitoring alarm processing module may set an alarm condition for alarming only for the actual start time of the current job group. Specifically, the batch monitoring alarm processing module may compare the target start execution time with the start execution time of the current job group, and determine an alarm condition for alarming the current job group based on the comparison result and the execution state of the current job group.
Optionally, the batch monitoring alarm processing module may also set an alarm condition for alarming only for the actual end time of the current job group. Specifically, the batch monitoring alarm processing module may compare the target end execution time with the end execution time of the current job group, and determine an alarm condition for alarming the current job group based on the comparison result and the execution state of the current job group.
Optionally, the batch monitoring alarm processing module may further combine the foregoing two situations, that is, perform effective monitoring and alarm setting on both the actual start time and the actual end time of the current job group.
It should be noted that, by determining the alarm condition for alarming the current job group in combination with the execution state of the current job group, an invalid alarm caused by still alarming when the execution state of the current job group is temporarily canceling the alarm is avoided.
In an alternative embodiment, after determining the alarm condition for alarming the current job group based on the target start execution time, the start execution time of the current job group, and the execution state, when the current time is the target start execution time, the job alarm system may determine whether the current job group starts to execute, if the current job group does not start to execute and the current job group is in the third execution state, determine that the current job group satisfies the alarm condition, and generate alarm information, if the current job group starts to execute, determine the start execution time of the current job group, if the start execution time is greater than the target start execution time, determine the execution state of the current job group, if the current job group is in the third execution state, determine that the current job group satisfies the alarm condition, and generate the alarm information.
Optionally, as shown in fig. 10, when the target execution start time corresponding to the current job group is reached, the batch monitoring alarm processing module triggers an alarm processing job to check whether the current job group starts to be executed, and determines that the current job group does not start to be executed if the job group state corresponding to the current job group is 1-to-be-executed, at this time, the batch monitoring alarm processing module obtains a temporary cancellation alarm field of the current job group through the instance table, and determines that the current job group is in the third execution state when the temporary cancellation alarm field of the current job group is 2-the previous item has been executed, and the current job group meets an alarm condition, thereby generating an alarm message and performing start time alarm. Otherwise, if the temporary cancellation alarm field of the current operation group is 1-temporary cancellation alarm, no alarm is given.
Optionally, as shown in fig. 10, if the temporary cancellation alarm field corresponding to the current job group is any one of 2-in-execution, 3-execution interruption, and 4-execution completion, it is determined that the current job group starts to execute, and its start execution time is determined, and if the start execution time is less than or equal to the target start execution time, no alarm is performed. If the starting execution time is larger than the target starting execution time, the execution state of the current operation group is determined, if the temporary alarm cancellation field of the current operation group is 2-the previous item is executed and ended, the current operation group is determined to be in a third execution state, and the current operation group meets the alarm condition, so that alarm information is generated, and starting time alarm is carried out. Otherwise, if the temporary alarm cancellation field of the current operation group is 1-temporary alarm cancellation, no alarm is given.
Further, as shown in fig. 10, in the process of determining the temporal cancellation alarm field of the current workgroup, if the temporal cancellation alarm field of the current workgroup is NULL and is not delayed to be finished by manual intervention, no alarm is given.
It should be noted that, whether to alarm is determined based on the foregoing determination process of whether the start execution time of the current job group meets the alarm condition, so that effective monitoring and alarm determination of the start execution time of the current job group are achieved, and invalid alarm is avoided.
In an alternative embodiment, after determining the alarm condition for alarming the current job group based on the target end execution time, the end execution time of the current job group, and the execution state, the job alarm system may determine whether the current job group ends execution when the current time is the target end execution time, determine that the current job group satisfies the alarm condition and generates alarm information if the current job group does not end execution and the current job group is in the third execution state, determine the end execution time of the current job group if the current job group ends execution, determine the execution state of the current job group if the end execution time is greater than the target end execution time, determine that the current job group satisfies the alarm condition if the current job group is in the third execution state, and generate the alarm information.
Optionally, as shown in fig. 11, when the target execution end time corresponding to the current job group is reached, the batch monitoring alarm processing module triggers an alarm processing job to check whether the current job group finishes execution, and when the job group state corresponding to the current job group is any one of 1-to-be-executed, 2-in-execution, and 3-in-execution interruption, it is determined that the current job group does not finish execution, and when the job group state corresponding to the current job group is determined to be any one of 1-to-be-executed, 2-in-execution, and 3-in-execution interruption, the batch monitoring alarm processing module obtains a temporary alarm cancellation field of the current job group through an instance table, and when the temporary alarm cancellation field of the current job group is determined to be in a third execution state and the current job group meets an alarm condition, thereby generating an alarm information and performing an alarm at the end time. Otherwise, if the temporary cancellation alarm field of the current operation group is 1-temporary cancellation alarm, no alarm is given.
Optionally, as shown in fig. 11, if the temporary cancel alarm field corresponding to the current job group is 4-execution complete, the determined current job group finishes executing, and determines its end execution time, and if the end execution time is less than or equal to the target end execution time, no alarm is performed. If the ending execution time is greater than the target ending execution time, the execution state of the current operation group is determined, if the temporary alarm cancellation field of the current operation group is 2-the previous item is executed and ended, the current operation group is determined to be in a third execution state, and the current operation group meets the alarm condition, so that alarm information is generated, and the ending time alarm is carried out. Otherwise, if the temporary cancellation alarm field of the current operation group is 1-temporary cancellation alarm, no alarm is given.
Further, as shown in fig. 11, in the process of determining the temporal cancel alarm field of the current workgroup, if the temporal cancel alarm field of the current workgroup is NULL, and is not delayed to be finished by manual intervention, no alarm is given.
It should be noted that, whether to alarm or not is determined based on the foregoing determination process of whether the end execution time of the current job group meets the alarm condition, so that effective monitoring and alarm determination of the end execution time of the current job group are achieved, and invalid alarm is avoided.
It should be noted that, the method provided by the present invention and the aforementioned job alarm system can be transplanted to any relevant distributed batch management system that already has a basic distributed platform batch job scheduling and monitoring system.
Therefore, the scheme provided by the application achieves the purpose of determining the alarm condition for alarming the current operation group which is delayed to be executed based on the operation execution information of the previous operation group, thereby realizing the technical effect of improving the alarm effectiveness, and further solving the technical problem of low alarm effectiveness caused by judging whether to alarm or not based on the originally set time after the batch delayed execution of the tasks in the prior art.
Example 2
According to an embodiment of the present invention, an embodiment of an operational warning device is provided, wherein fig. 12 is a schematic view of an alternative operational warning device according to an embodiment of the present invention, as shown in fig. 12, the device includes:
a first determining module 1201, configured to determine a previous job group corresponding to a current job group, where the current job group is a job group delayed in execution, the current job group is in a first suspension alarm state, the first suspension alarm state indicates that the current job group is in a state of canceling alarm at a current time, and the previous job group is a previous job group that needs to be executed before the current job group is executed;
a second determination module 1202, configured to determine a target time length based on the job execution information of the previous job group, where the target time length is used to determine a time for delaying the alarm;
a third determining module 1203, configured to determine a target start execution time and a target end execution time of the current job group based on the target time length, the preset start execution time and the preset end execution time of the current job group;
a fourth determining module 1204, configured to determine an alarm condition for alarming the current job group based on the target start execution time and/or the target end execution time.
It should be noted that the first determining module 1201, the second determining module 1202, the third determining module 1203, and the fourth determining module 1204 correspond to steps S201 to S204 in the foregoing embodiment, and the four modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in embodiment 1.
Optionally, the second determining module further includes: the first sub-determination module is used for determining the execution state of the previous job group; and the second sub-determining module is used for determining the target time length based on the preset ending execution time and the actual ending time of the previous job group if the previous job group is in the first execution state, wherein the first execution state represents that the previous job group is in a state of delayed execution and completed execution, and the job execution information at least comprises the preset ending execution time and the actual ending time of the previous job group.
Optionally, the operation warning device further includes: and the first processing module is used for maintaining the preset starting execution time and the preset ending execution time unchanged if the previous job group is in a second pause alarm state or a second execution state, wherein the second pause alarm state represents that the previous job group is in a state of canceling the alarm at the current time, and the second execution state represents that the previous job group is in a state of not delaying execution.
Optionally, the third determining module further includes: the first calculation module is used for adding the target time length and the preset starting execution time to obtain a target starting execution time; and the second calculation module is used for adding the target time length and the preset ending execution time to obtain the target ending execution time.
Optionally, the operation warning device further includes: and the first updating module is used for updating the execution state of the current job group into a third execution state, wherein the third execution state represents that the previous job group is in a state of being executed and completed.
Optionally, the fourth determining module further includes: the third sub-determining module is used for determining the alarm condition for alarming the current job group based on the target starting execution time, the starting execution time of the current job group and the execution state, and/or the fourth sub-determining module is used for determining the alarm condition for alarming the current job group based on the target ending execution time, the ending execution time of the current job group and the execution state.
Optionally, the operation warning device further includes: a fifth sub-determination module, configured to determine whether the current job group starts to be executed when the current time is the target start execution time; the sixth sub-determination module is used for determining that the current operation group meets the alarm condition and generating alarm information if the current operation group does not start to be executed and is in a third execution state; a seventh sub-determining module, configured to determine a start execution time of the current job group if the current job group starts execution; the eighth sub-determining module is used for determining the execution state of the current job group if the starting execution time is greater than the target starting execution time; and the ninth sub-determination module is used for determining that the current operation group meets the alarm condition and generating alarm information if the current operation group is in the third execution state.
Optionally, the alarm device for work further comprises: a tenth sub-determining module, configured to determine whether the current job group finishes execution when the current time is the target finish execution time; the eleventh sub-determination module is used for determining that the current operation group meets the alarm condition and generating alarm information if the current operation group does not finish the execution and is in a third execution state; a twelfth sub-determining module, configured to determine an end execution time of the current job group if the current job group ends execution; a thirteenth sub-determining module, configured to determine an execution state of the current job group if the end execution time is greater than the target end execution time; and the fourteenth sub-determining module is used for determining that the current operation group meets the alarm condition and generating alarm information if the current operation group is in the third execution state.
Optionally, the operation warning device further includes: the second processing module is used for triggering an inquiry instruction if a pause execution instruction or an execution cancel instruction for a target operation group is received, wherein the target operation group is an operation group which needs to be executed before the current operation group is executed, and the inquiry instruction is used for inquiring whether the execution state of the current operation group is set to be a first pause alarm state; the second updating module is used for updating the execution state of the current operation group to be a first pause alarm state if a first instruction for feeding back the inquiry instruction is received, wherein the first instruction represents that the execution state of the current operation group is allowed to be set to be the first pause alarm state; and the third processing module is used for maintaining the execution state of the current operation group unchanged if a second instruction for feeding back the inquiry instruction is received, wherein the first instruction represents that the execution state of the current operation group is prohibited to be set to be a first suspension alarm state.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-mentioned alarm method of a job when running.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, where fig. 13 is a schematic diagram of an alternative electronic device according to the embodiments of the present invention, as shown in fig. 13, the electronic device includes one or more processors; a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement an alarm method for executing the program, wherein the program is arranged to execute the above-mentioned job.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a computer program product including a computer program/instructions which, when executed by a processor, implement the method of alerting of a job as described above.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, a plurality of modifications and embellishments can be made without departing from the principle of the present invention, and these modifications and embellishments should also be regarded as the protection scope of the present invention.

Claims (13)

1. An alarm method for an operation, comprising:
determining a previous job group corresponding to a current job group, wherein the current job group is a job group which is executed in a delayed manner, the current job group is in a first pause alarm state, the first pause alarm state represents that the current job group is in a state of canceling alarm at the current time, and the previous job group is a previous job group which needs to be executed before the current job group is executed;
determining a target time length based on the job execution information of the previous job group, wherein the target time length is used for determining the time for delaying alarm;
determining the target starting execution time and the target ending execution time of the current operation group based on the target time length, the preset starting execution time and the preset ending execution time of the current operation group;
and determining an alarm condition for alarming the current job group based on the target starting execution time and/or the target ending execution time.
2. The method of claim 1, wherein determining a target length of time based on job execution information of the preceding job group comprises:
determining the execution state of the previous job group;
and if the previous job group is in a first execution state, determining the target time length based on a preset ending execution time and an actual ending time of the previous job group, wherein the first execution state represents that the previous job group is in a state of delayed execution and completed execution, and the job execution information at least comprises the preset ending execution time and the actual ending time of the previous job group.
3. The method of claim 2, wherein after determining the execution status of the predecessor job group, the method further comprises:
and if the previous job group is in a second pause alarm state or a second execution state, maintaining the preset starting execution time and the preset ending execution time unchanged, wherein the second pause alarm state represents that the previous job group is in a state of canceling the alarm at the current time, and the second execution state represents that the previous job group is in a state of not delaying the execution.
4. The method of claim 1, wherein determining the target start execution time and the target end execution time for the current job group based on the target time length, the preset start execution time and the preset end execution time for the current job group comprises:
adding the target time length and the preset starting execution time to obtain the target starting execution time;
and adding the target time length and the preset ending execution time to obtain the target ending execution time.
5. The method according to claim 2, wherein after determining the target start execution time and the target end execution time of the current job group based on the target time length, the preset start execution time and the preset end execution time of the current job group, the method further comprises:
and updating the execution state of the current job group into a third execution state, wherein the third execution state represents that the previous job group is in a state of being executed and completed.
6. The method of claim 5, wherein determining an alarm condition to alarm the current job set based on the target start execution time and/or the target end execution time comprises:
determining an alarm condition for alarming the current working group based on the target starting execution time, the starting execution time of the current working group and the execution state, and/or,
and determining an alarm condition for alarming the current job group based on the target ending execution time, the ending execution time of the current job group and the execution state.
7. The method of claim 6, wherein after determining an alarm condition to alarm the current job group based on the target start execution time, the start execution time of the current job group, and the execution status, the method further comprises:
when the current time is the target starting execution time, determining whether the current job group starts to execute;
if the current operation group does not start to be executed and is in the third execution state, determining that the current operation group meets the alarm condition, and generating alarm information;
if the current operation group starts to execute, determining the starting execution time of the current operation group;
if the starting execution time is larger than the target starting execution time, determining the execution state of the current operation group;
and if the current operation group is in the third execution state, determining that the current operation group meets the alarm condition, and generating alarm information.
8. The method of claim 6, wherein after determining an alarm condition to alarm the current job group based on the target end execution time, the end execution time of the current job group, and the execution status, the method further comprises:
when the current time is the target ending execution time, determining whether the current operation group finishes execution;
if the current operation group is not finished executing and is in the third executing state, determining that the current operation group meets the alarm condition and generating alarm information;
if the current operation group finishes executing, determining the finishing executing time of the current operation group;
if the ending execution time is larger than the target ending execution time, determining the execution state of the current operation group;
and if the current operation group is in the third execution state, determining that the current operation group meets the alarm condition, and generating alarm information.
9. The method of claim 1, wherein prior to determining a previous job group corresponding to a current job group, the method further comprises:
if an execution pause instruction or an execution cancel instruction for a target operation group is received, triggering an inquiry instruction, wherein the target operation group is an operation group which needs to be executed before the current operation group is executed, and the inquiry instruction is used for inquiring whether the execution state of the current operation group is set to be the first pause alarm state;
if a first instruction for feeding back the inquiry instruction is received, updating the execution state of the current operation group to be the first pause alarm state, wherein the first instruction represents that the execution state of the current operation group is allowed to be set to be the first pause alarm state;
and if a second instruction for feeding back the inquiry instruction is received, maintaining the execution state of the current operation group unchanged, wherein the first instruction represents that the execution state of the current operation group is prohibited to be set to be the first suspension alarm state.
10. An operational warning device, comprising:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a previous job group corresponding to a current job group, the current job group is a job group which is executed in a delayed mode, the current job group is in a first alarm pause state, the first alarm pause state represents that the current job group is in an alarm cancel state at the current time, and the previous job group is a previous job group which needs to be executed before the current job group is executed;
a second determination module, configured to determine a target time length based on job execution information of the previous job group, where the target time length is used to determine a time for delaying an alarm;
a third determining module, configured to determine a target start execution time and a target end execution time of the current job group based on the target time length, and a preset start execution time and a preset end execution time of the current job group;
and the fourth determining module is used for determining an alarm condition for alarming the current job group based on the target starting execution time and/or the target ending execution time.
11. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to execute, when running, the method of alerting of a job as claimed in any one of claims 1 to 9.
12. An electronic device, characterized in that the electronic device comprises one or more processors; memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method for running a program, wherein the program is arranged to, when run, perform the method of alerting of a job as claimed in any one of claims 1 to 9.
13. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the alerting method of an operation of any one of claims 1 to 9.
CN202210761222.XA 2022-06-30 2022-06-30 Operation alarm method and device and electronic equipment Active CN115171350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210761222.XA CN115171350B (en) 2022-06-30 2022-06-30 Operation alarm method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210761222.XA CN115171350B (en) 2022-06-30 2022-06-30 Operation alarm method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115171350A true CN115171350A (en) 2022-10-11
CN115171350B CN115171350B (en) 2023-12-29

Family

ID=83489081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210761222.XA Active CN115171350B (en) 2022-06-30 2022-06-30 Operation alarm method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115171350B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162628A (en) * 2015-08-24 2015-12-16 上海天旦网络科技发展有限公司 System and method for rapidly determining network reasonable warning threshold
CN109885467A (en) * 2019-02-03 2019-06-14 北京字节跳动网络技术有限公司 Alarm method, device, storage medium and the electronic equipment of data fluctuations
CN111427748A (en) * 2020-03-31 2020-07-17 携程计算机技术(上海)有限公司 Task warning method, system, equipment and storage medium
CN112766724A (en) * 2021-01-20 2021-05-07 中国工商银行股份有限公司 Service monitoring method, device and equipment
CN114500318A (en) * 2022-02-11 2022-05-13 中国工商银行股份有限公司 Batch operation monitoring method and device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162628A (en) * 2015-08-24 2015-12-16 上海天旦网络科技发展有限公司 System and method for rapidly determining network reasonable warning threshold
US20180241611A1 (en) * 2015-08-24 2018-08-23 Shanghai Netis Technologies Co.,Ltd. System and method for quickly determining reasonable alarm threshold of network
CN109885467A (en) * 2019-02-03 2019-06-14 北京字节跳动网络技术有限公司 Alarm method, device, storage medium and the electronic equipment of data fluctuations
CN111427748A (en) * 2020-03-31 2020-07-17 携程计算机技术(上海)有限公司 Task warning method, system, equipment and storage medium
CN112766724A (en) * 2021-01-20 2021-05-07 中国工商银行股份有限公司 Service monitoring method, device and equipment
CN114500318A (en) * 2022-02-11 2022-05-13 中国工商银行股份有限公司 Batch operation monitoring method and device, equipment and medium

Also Published As

Publication number Publication date
CN115171350B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US11748154B2 (en) Computing node job assignment using multiple schedulers
CN108319495B (en) Task processing method and device
US11119911B2 (en) Garbage collection method and device
US10338964B1 (en) Computing node job assignment for distribution of scheduling operations
US20130151907A1 (en) Operations management apparatus, operations management method and program
CN109656782A (en) Visual scheduling monitoring method, device and server
CN112416581B (en) Distributed calling system for timed tasks
CN110109741B (en) Method and device for managing circular tasks, electronic equipment and storage medium
US9280741B2 (en) Automated alerting rules recommendation and selection
CN109257396B (en) Distributed lock scheduling method and device
CN105988886A (en) Fault processing method and device in operation and maintenance process
CN110968445A (en) Node skipping method and device based on process engine and electronic equipment
CN113037774B (en) Security management method, device, equipment and machine readable storage medium
CN114510317A (en) Virtual machine management method, device, equipment and storage medium
JP2004145536A (en) Management system
CN115171350A (en) Operation alarm method and device and electronic equipment
CN112650642A (en) Alarm processing method and device, equipment and storage medium
CN114564281A (en) Container scheduling method, device, equipment and storage medium
JP4464655B2 (en) Computer monitoring apparatus and message processing method related to monitored computer
CN111131198B (en) Updating method and device for network security policy configuration
CN113157569A (en) Automatic testing method and device, computer equipment and storage medium
CN112860523A (en) Fault prediction method and device for batch job processing and server
CN112819600A (en) Timed task execution method, timed task execution device, timed task execution equipment and computer storage medium
CN112698916A (en) Multi-container cluster management and control system, method and storage medium
CN112367386A (en) Ignite-based automatic operation and maintenance method, apparatus and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant