Process operation control method and device, electronic device, and storage medium
By monitoring the output results of the task output terminal in real time and sending check commands, filtering the rollback operation to execute the task again, identifying the reasons for no result return in the process automation, solving the problems of low efficiency and insufficient accuracy in the existing technology, and achieving fast and accurate cause recognition.
Patent Information
- Application Number
- CN202210825057.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2042-07-14
AI Technical Summary
In the process of automated execution of the process, when the system returns without results, it is difficult to quickly and accurately identify the causes, resulting in low efficiency and accuracy that cannot be guaranteed.
By monitoring the output results of the task output in real time, determining that the resultless output is the target output, and sending a live check command. A single operation is filtered from the check library as a rollback operation, execute the task again, and judge the output result. If it is inconsistent, it will be feedback to the program problem. If it is consistent, it will be feedback to the output end without results.
It realizes automatic and rapid identification of specific reasons for the output end without results, and improves identification efficiency and accuracy.
Smart Images

Figure CN115168151B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of process automation technology, and in particular to a process operation control method and device, electronic equipment, and storage medium. Background Art
[0002] With the continuous development of information technology, various application systems or office systems emerge in an endless stream. In order to reduce the complicated and repetitive work content of system users, process automation robots come into being. That is, robots automatically execute each step of the specified task according to the process to realize the automated execution of the task.
[0003] During the process of automated execution, the system may return no results after executing a task. This may be due to an abnormality in the system. In order to ensure that the system can continue to run as quickly as possible and that there are no problems in the subsequent execution process, it is necessary to identify the reason for the current lack of result feedback. Currently, the main method is to analyze the information recorded during the execution of the task by the staff to identify the reason for the current lack of result feedback.
[0004] However, the manual analysis method is not only inefficient, but also cannot guarantee accuracy. Summary of the invention
[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a process operation control method and device, an electronic device, and a storage medium to solve the problem that the prior art has low efficiency and cannot guarantee accuracy.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] The first aspect of the present application provides a process operation control method, comprising:
[0008] Monitor the output results of each output terminal of the current task in real time;
[0009] When the output result of any of the output ends of the current task is not monitored, the output end is determined as a target output end, and a detection instruction is sent;
[0010] When receiving a live check instruction, select one of the operations from the live check library as the current rollback operation; wherein the live check library includes information of the operations that meet the preset conditions selected from various operations executed within each preset time interval during the running process of the current task;
[0011] Starting from the current rollback operation, executing the current task again;
[0012] Determine whether the output result of the target output terminal is monitored;
[0013] If it is determined that the output result of the target output terminal is monitored, then there is a jam in the feedback system;
[0014] If it is determined that the output result of the target output terminal is not monitored, comparing the information of each operation of the current task in this round of execution with the information of each identical operation of the current task in the first round of execution to see whether they are consistent;
[0015] If the information of each operation of the current task in this round is compared to the information of each identical operation of the current task in the first round, it is reported that there is a program problem;
[0016] If the information of each operation of the current task in this round of execution is compared to the information of each identical operation of the current task in the first round of execution is consistent, then it is fed back that the output end of the current task has no result.
[0017] Optionally, in the above process operation control method, it also includes:
[0018] During the running of the current task, the information of each operation performed is recorded in the running temporary library;
[0019] At each preset time interval, determining from the running temporary library information of each operation executed within the current preset time interval;
[0020] From the information of each operation executed within the current preset time interval, select the information of the operation whose similarity with the input of each other operation meets the similarity threshold and whose number of backoff points is ranked in the top N, and add it to the live detection library in the order of execution.
[0021] Optionally, in the above-mentioned process operation control method, the selecting one operation from the active detection library as the current rollback operation includes:
[0022] Determine whether there is special description information for the current task;
[0023] If it is determined that the current task has special description information, the operation indicated by the special description information is selected from the detection library as the current rollback operation;
[0024] If it is determined that the current task does not have any special description information, then obtaining the task level of the current task;
[0025] If the task level of the current task is an urgent task, selecting the operation with the smallest time rollback from the detection library as the current rollback operation;
[0026] If the task level of the current task does not belong to an urgent task, one of the operations is randomly selected from the activation library as the current rollback operation.
[0027] Optionally, in the above-mentioned process operation control method, before the feedback that there is a program problem, the method further includes:
[0028] Determine whether the number of rounds for executing the current task is greater than a preset number; if it is determined that the number of rounds for executing the current task is not greater than the preset number, return to execute the sending live check instruction; if it is determined that the number of rounds for executing the current task is greater than the preset number, there is a program problem in executing the feedback.
[0029] A second aspect of the present application provides a process operation control device, comprising:
[0030] The monitoring unit is used to monitor the output results of each output terminal of the current task in real time;
[0031] A sending unit, configured to determine the output end as a target output end and send an activity detection instruction when an output result of any output end of the current task is not monitored;
[0032] A screening unit, configured to screen out one of the operations from the live detection library as the current rollback operation when receiving a live detection instruction; wherein the live detection library includes information of the operations that meet the preset conditions selected from various operations executed within each preset time interval during the running process of the current task;
[0033] A rollback unit, configured to execute the current task again starting from the current rollback operation;
[0034] A first judging unit, used to judge whether the output result of the target output terminal is monitored;
[0035] A first feedback unit is used to determine that there is a freeze in the feedback system when the output result of the target output terminal is monitored;
[0036] A comparing unit, configured to compare, when it is determined that the output result of the target output terminal is not monitored, whether the information of each operation of the current task in the current round is consistent with the information of each identical operation of the current task in the first round;
[0037] A second feedback unit is used to feedback that there is a program problem when comparing the information of each operation of the current task in the current round with the information of each same operation of the current task in the first round, and finding that the information is inconsistent;
[0038] The third feedback unit is used to feedback that the output end of the current task has no result when comparing the information of each operation of the current task in this round of execution to the information of each identical operation of the current task in the first round of execution to be consistent.
[0039] Optionally, in the above process operation control device, it also includes:
[0040] A recording unit, used for recording information of each operation performed into a temporary operation library during the running of the current task;
[0041] An operation determination unit, configured to determine, at each preset time interval, from the running temporary library information of each operation executed within the current preset time interval;
[0042] A selection unit is used to select, from the information of each of the operations executed within the current preset time interval, the information of the operations whose similarity with the input of other operations meets the similarity threshold and whose number of backoff points is ranked in the top N, and add the information of the operations to the live detection library in the order of execution.
[0043] Optionally, in the above-mentioned process operation control device, the screening unit includes:
[0044] A second judgment unit is used to judge whether there is special description information for the current task;
[0045] A first screening unit is used for, when it is determined that the current task has special description information, screening out the operation indicated by the special description information from the detection library as the current rollback operation;
[0046] A level acquisition unit, configured to acquire the task level of the current task when it is determined that the current task does not have any special description information;
[0047] A second screening unit is used to select the operation with the smallest time rollback from the detection library as the current rollback operation when the task level of the current task belongs to an urgent task;
[0048] The third screening unit is used to randomly select one of the operations from the activation detection library as the current rollback operation when the task level of the current task does not belong to an urgent task.
[0049] Optionally, in the above process operation control device, it also includes:
[0050] The third unit is used to determine whether the rounds of executing the current task are greater than the preset number of times; wherein, when it is determined that the rounds of executing the current task are not greater than the preset number of times, it returns to the sending unit to execute the sending live detection instruction; when it is determined that the rounds of executing the current task are greater than the preset number of times, there is a program problem in the execution of the feedback by the second feedback unit.
[0051] A third aspect of the present application provides an electronic device, including:
[0052] Memory and processor;
[0053] Wherein, the memory is used to store programs;
[0054] The processor is used to execute the program, and when the program is executed, it is specifically used to implement the process operation control method as described in any one of the above.
[0055] A fourth aspect of the present application provides a computer storage medium for storing a computer program, which, when executed, is used to implement a process operation control method as described in any one of the above.
[0056] The present application provides a process operation control method, which monitors the output results of each output end of the current task in real time, and when the output result of any output end of the current task is not monitored, the output end is determined as the target output end, and a detection instruction is sent. When the detection instruction is received, an operation is selected from the detection library as the current rollback operation. Among them, the detection library includes information on operations that meet preset conditions selected from various operations performed within each preset time interval during the running process of the current task. Then, starting from the current rollback operation, the current task is executed again, and it is determined whether the output result of the target output end is monitored. If it is determined that the output result of the target output end is monitored, the feedback system is stuck. If it is determined that the output result of the target output end is not monitored, the information of each operation of the current task in this round is compared with the information of each identical operation of the current task in the first round. If the information of each operation of the current task in this round is compared with the information of each identical operation of the current task in the first round is inconsistent, there is a program problem in the feedback. If the information of each operation of the current task is compared with the information of each operation of the first round of the current task, it is fed back that there is no result at the output end of the current task. In this way, the specific reason why there is no output result at the output end can be automatically and quickly identified, effectively improving the efficiency and accuracy of identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0058] Figure 1 A flowchart of a process operation control method provided in an embodiment of the present application;
[0059] Figure 2 A flowchart of a method for updating a live detection library provided in an embodiment of the present application;
[0060] Figure 3 A flowchart of a method for screening current rollback operations provided in an embodiment of the present application;
[0061] Figure 4 A schematic diagram of the structure of a process operation control device provided in an embodiment of the present application;
[0062] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0064] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0065] The present application embodiment provides a process operation control method, such as Figure 1 As shown, the following steps are included:
[0066] S101 , monitoring the output results of each output terminal of the current task in real time.
[0067] It should be noted that when executing a task, there may be multiple output terminals for outputting corresponding results, such as screens, browser consoles, etc., so it is necessary to monitor the output results of each output terminal involved in the current task in real time during the execution of the current task.
[0068] Specifically, monitoring can be achieved by directly reading the output results of each output terminal, that is, collecting data from each output terminal.
[0069] S102: When the output result of any output terminal of the current task is not monitored, the output terminal is determined as the target output terminal, and a detection instruction is sent.
[0070] Optionally, if no output result of a certain output terminal is obtained within a specified time, the output terminal is determined as a target output terminal so as to perform targeted processing on it later. At the same time, a liveness detection instruction is sent to trigger the execution of subsequent steps.
[0071] S103: When a check-live instruction is received, an operation is selected from the check-live library as the current rollback operation.
[0072] Specifically, when receiving the activation instruction, it is necessary to select an operation from the activation library as the current rollback operation, so as to perform a rollback from the current rollback operation.
[0073] The activity detection library includes information on operations that meet preset conditions selected from various operations performed within each preset time interval during the running of the current task, that is, in the embodiment of the present application, the activity detection library is continuously updated.
[0074] Of course, process automation managers can initialize entries in the activation library, for example, browser process jumps for archiving, browser back, and other operations.
[0075] Optionally, another embodiment of the present application provides a method for updating a detection library, such as Figure 2 As shown, including:
[0076] S201. During the execution of the current task, information of each executed operation is recorded in a temporary execution library.
[0077] It should be noted that in the embodiment of the present application, a corresponding temporary running library is set for each running task to record the operation information and other running data of the task running process, such as the operation ID, input, output, number of rollback points, etc.
[0078] S202: At every preset time interval, determine from the running temporary library information of each operation executed within the current preset time interval.
[0079] S203: From the information of each operation executed within the current preset time interval, select the information of the operation whose similarity with the input of other operations meets the similarity threshold and whose number of rollback points is ranked in the top N, and add it to the live detection library in the execution order.
[0080] It should be noted that, for inputs with high similarity and more operations performed, they can better reflect the problem, so they are added to the live detection library to facilitate being selected as the current rollback operation for rollback.
[0081] Optionally, in another embodiment of the present application, a specific implementation of step S103 is as follows: Figure 3 As shown, including:
[0082] S301, determine whether there is any special description information for the current task.
[0083] It should be noted that for some tasks, there are special requirements and it is necessary to roll back from a specific operation, so the corresponding special description information can be pre-configured. Therefore, if it is determined that the current task has special description information, step S302 is executed. If it is determined that the current task does not have special description information, it is screened according to the task level, so step S303 is executed at this time.
[0084] S302: Filter out special description information indicating operations from the live detection library as the current rollback operation.
[0085] S303: Obtain the task level of the current task.
[0086] S304: Determine whether the task level of the current task is an urgent task.
[0087] Since urgent tasks have strict time requirements, if the task level of the current task is determined to be an urgent task, step S305 is executed. If the task level of the current task is determined not to be an urgent task, step S306 is executed.
[0088] S305: Select the operation with the shortest time rollback from the live detection database as the current rollback operation.
[0089] S306: Randomly select an operation from the live detection database as the current rollback operation.
[0090] S104. Starting from the current rollback operation, execute the current task again.
[0091] In order to determine the reason why the target output terminal does not output the result during the execution process, it is necessary to execute the current task again from the current rollback operation. Then, step S105 is executed.
[0092] S105: Determine whether the output result of the target output terminal is monitored.
[0093] If it is determined that the output result of the target output terminal is monitored, step S106 is executed. If it is determined that the output result of the target output terminal is not monitored, step S107 is executed.
[0094] S106: There is a lag in the feedback system.
[0095] Since there is no output result in the first execution, but the result can be output normally in the second execution, it means that the output result of the target output terminal was not monitored before, which is caused by the system jamming, so the feedback system is jamming at this time.
[0096] S107 , comparing the information of each operation of executing the current task in this round with the information of each identical operation of executing the current task in the first round to see whether they are consistent.
[0097] Since the output result of the target output terminal is not monitored, it may be caused by a problem in the program, or it may be because the current task will not output the result at the target output terminal, so further judgment is required. Therefore, in the embodiment of the present application, the information of each operation of the current round of execution of the current task is compared with the information of each same operation of the first round of execution of the current task to determine whether it is consistent.
[0098] Among them, if the comparison shows that the information of each operation of this round of execution of the current task is inconsistent with the information of each same operation of the first round of execution of the current task, it means that there is a problem with the system program, so the information generated each time the same steps are executed is different, so step S108 is executed at this time.
[0099] If the information of each operation of this round of execution of the current task is consistent with the information of each same operation of the first round of execution of the current task, it means that there was no problem in the previous execution of the current task, so the target output end itself will not output the result, so step S109 is executed at this time.
[0100] S108. There are procedural issues in the feedback.
[0101] Optionally, in order to more accurately determine that the lack of output results at the target output terminal is caused by a program problem, in another embodiment of the present application, before step S108, the following is further performed:
[0102] Determine whether the number of rounds for executing the current task is greater than the preset number.
[0103] If it is determined that the number of rounds of executing the current task is not greater than the preset number, the execution returns to the sending of the live check instruction in step S102, so that the current rollback operation can be selected again and rolled back again, so that the accuracy of the feedback result can be ensured through multiple rollback operations.
[0104] If it is determined that the number of rounds for executing the current task is greater than the preset number, step S108 may be executed.
[0105] S109: Feedback that there is no result at the output end of the current task.
[0106] The embodiment of the present application provides a process operation control method, which monitors the output results of each output end of the current task in real time, and when the output result of any output end of the current task is not monitored, the output end is determined as the target output end, and a detection instruction is sent. When the detection instruction is received, an operation is selected from the detection library as the current rollback operation. Among them, the detection library includes information on operations that meet preset conditions selected from various operations performed within each preset time interval during the running process of the current task. Then, starting from the current rollback operation, the current task is executed again, and it is determined whether the output result of the target output end is monitored. If it is determined that the output result of the target output end is monitored, the feedback system is stuck. If it is determined that the output result of the target output end is not monitored, the information of each operation of the current task in this round is compared with the information of each identical operation of the current task in the first round. If the information of each operation of the current task in this round is compared with the information of each identical operation of the current task in the first round is inconsistent, there is a program problem in the feedback. If the information of each operation of the current task is compared with the information of each operation of the first round of the current task, it is fed back that there is no result at the output end of the current task. In this way, the specific reason why there is no output result at the output end can be automatically and quickly identified, effectively improving the efficiency and accuracy of identification.
[0107] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0108] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0109] Another embodiment of the present application provides a process operation control device, such as Figure 4 As shown, including:
[0110] The monitoring unit 401 is used to monitor the output results of each output terminal of the current task in real time.
[0111] The sending unit 402 is used to determine the output end as the target output end and send an activity detection instruction when the output result of any output end of the current task is not monitored.
[0112] The screening unit 403 is used to screen an operation from the live detection library as the current rollback operation when receiving the live detection instruction. The live detection library includes information of operations that meet preset conditions selected from various operations executed within each preset time interval during the current task running process.
[0113] The rollback unit 404 is used to execute the current task again starting from the current rollback operation.
[0114] The first determination unit 405 is used to determine whether the output result of the target output terminal is monitored.
[0115] The first feedback unit 406 is used to feedback that there is a freeze in the system when determining that the output result of the target output terminal is monitored.
[0116] The comparing unit 407 is used to compare whether the information of each operation of the current round of execution of the current task is consistent with the information of each same operation of the first round of execution of the current task when it is determined that the output result of the target output terminal is not monitored.
[0117] The second feedback unit 408 is used to feedback that there is a program problem when comparing the information of each operation of the current round of execution of the current task with the information of each same operation of the first round of execution of the current task to be inconsistent.
[0118] The third feedback unit 409 is used to feedback that the output end of the current task has no result when comparing the information of each operation of the current task in the current round to the information of each same operation of the current task in the first round to be executed.
[0119] Optionally, in another embodiment of the present application, the process operation control device further includes:
[0120] The recording unit is used to record the information of each operation performed in the running process of the current task into the running temporary library.
[0121] The operation determination unit is used to determine the information of each operation executed within the current preset time interval from the running temporary library at every preset time interval.
[0122] The selection unit is used to select, from the information of each operation executed within the current preset time interval, the information of the operation whose similarity with the input of other operations meets the similarity threshold and whose number of backoff points is ranked in the top N, and add it to the live detection library in the execution order.
[0123] Optionally, in a process operation control device provided in another embodiment of the present application, the screening unit includes:
[0124] The second judgment unit is used to judge whether there is special description information for the current task.
[0125] The first screening unit is used to screen out the special description information indicating operation from the detection library as the current rollback operation when it is determined that the current task has special description information.
[0126] The level acquisition unit is used to acquire the task level of the current task when it is determined that there is no special description information for the current task.
[0127] The second screening unit is used to select an operation with the shortest time rollback from the activation database as the current rollback operation when the task level of the current task is an urgent task.
[0128] The third screening unit is used to randomly select an operation from the live detection library as the current rollback operation when the task level of the current task does not belong to an urgent task.
[0129] Optionally, in another embodiment of the present application, the process operation control device further includes:
[0130] The third unit is used to determine whether the number of rounds for executing the current task is greater than the preset number. If it is determined that the number of rounds for executing the current task is not greater than the preset number, the sending unit is returned to execute the sending live detection instruction. If it is determined that the number of rounds for executing the current task is greater than the preset number, the second feedback unit executes the feedback with a program problem.
[0131] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can refer to the corresponding steps in the above method embodiments, and will not be repeated here.
[0132] Another embodiment of the present application provides an electronic device, such as Figure 5 As shown, including:
[0133] Memory 501 and processor 502 .
[0134] The memory 501 is used to store programs.
[0135] The processor 502 is used to execute the program stored in the memory 501. When the program is executed, it is specifically used to implement the process operation control method provided in any one of the above embodiments.
[0136] Another embodiment of the present application provides a computer storage medium for storing a computer program. When the computer program is executed, it is used to implement the process operation control method provided in any of the above embodiments.
[0137] Computer storage media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0138] It should be noted that the process operation control method and device, electronic device, and storage medium provided by the present invention can be used in the field of artificial intelligence or finance. The above is only an example and does not limit the application field of the process operation control method and device, electronic device, and storage medium provided by the present invention.
[0139] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0140] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A process operation control method, characterized in that: include: Monitor the output results of each output terminal of the current task in real time; When the output result of any of the output ends of the current task is not monitored, the output end is determined as a target output end, and a detection instruction is sent; When receiving the detection instruction, determining whether there is special description information for the current task; If it is determined that the current task has special description information, the operation indicated by the special description information is selected from the live detection library as the current rollback operation; wherein the live detection library includes information of the operation that meets the preset conditions selected from various operations executed within each preset time interval during the running process of the current task; Starting from the current rollback operation, executing the current task again; Determine whether the output result of the target output terminal is monitored; If it is determined that the output result of the target output terminal is monitored, then there is a jam in the feedback system; If it is determined that the output result of the target output terminal is not monitored, comparing the information of each operation of the current task in this round of execution with the information of each identical operation of the current task in the first round of execution to see whether they are consistent; If the information of each operation of the current task in this round is compared to the information of each identical operation of the current task in the first round, it is reported that there is a program problem; If the information of each operation of the current task in this round is compared to the information of each same operation of the current task in the first round, then it is fed back that the output end of the current task has no result; During the running of the current task, the information of each operation performed is recorded in the running temporary library; At each preset time interval, determining from the running temporary library information of each operation executed within the current preset time interval; From the information of each operation executed within the current preset time interval, select the information of the operation whose similarity with the input of each other operation meets the similarity threshold and whose number of backoff points is ranked in the top N, and add it to the live detection library in the order of execution.
2. The method according to claim 1, characterized in that Also includes: If it is determined that the current task does not have any special description information, then obtaining the task level of the current task; If the task level of the current task is an urgent task, selecting the operation with the smallest time rollback from the detection library as the current rollback operation; If the task level of the current task does not belong to an urgent task, one of the operations is randomly selected from the activation library as the current rollback operation.
3. The method according to claim 1, characterized in that Before there are procedural issues in the feedback, it also includes: Determine whether the number of rounds for executing the current task is greater than a preset number; if it is determined that the number of rounds for executing the current task is not greater than the preset number, return to execute the sending live check instruction; if it is determined that the number of rounds for executing the current task is greater than the preset number, there is a program problem in executing the feedback.
4. A process operation control device, characterized in that: include: The monitoring unit is used to monitor the output results of each output terminal of the current task in real time; A sending unit, configured to determine the output end as a target output end and send an activity detection instruction when an output result of any output end of the current task is not monitored; A second judgment unit is used to judge whether there is special description information for the current task when receiving the detection instruction; A first screening unit is used to screen out the operation indicated by the special description information from the detection library as the current rollback operation when it is determined that the current task has special description information; wherein the detection library includes information of the operation that meets the preset conditions selected from each operation executed within each preset time interval during the running process of the current task; A rollback unit, configured to execute the current task again starting from the current rollback operation; A first judging unit, used to judge whether the output result of the target output terminal is monitored; A first feedback unit is used to determine that there is a freeze in the feedback system when the output result of the target output terminal is monitored; A comparing unit, configured to compare, when it is determined that the output result of the target output terminal is not monitored, whether the information of each operation of the current task in the current round is consistent with the information of each identical operation of the current task in the first round; A second feedback unit is used to feedback that there is a program problem when comparing the information of each operation of the current task in the current round with the information of each same operation of the current task in the first round, and finding that the information is inconsistent; A third feedback unit is used to feedback that the output end of the current task has no result when comparing the information of each operation of the current task in the current round to the information of each same operation of the current task in the first round; A recording unit, used for recording information of each operation performed into a temporary operation library during the running of the current task; An operation determination unit, configured to determine, at each preset time interval, from the running temporary library information of each operation executed within the current preset time interval; A selection unit is used to select, from the information of each of the operations executed within the current preset time interval, the information of the operations whose similarity with the input of other operations meets the similarity threshold and whose number of backoff points is ranked in the top N, and add the information of the operations to the live detection library in the order of execution.
5. The device according to claim 4, characterized in that Also includes: A level acquisition unit, configured to acquire the task level of the current task when it is determined that the current task does not have any special description information; A second screening unit is used to select the operation with the smallest time rollback from the detection library as the current rollback operation when the task level of the current task belongs to an urgent task; The third screening unit is used to randomly select one of the operations from the activation detection library as the current rollback operation when the task level of the current task does not belong to an urgent task.
6. The device according to claim 4, characterized in that Also includes: The third unit is used to determine whether the number of rounds for executing the current task is greater than a preset number; wherein, if it is determined that the number of rounds for executing the current task is not greater than the preset number, the sending unit is returned to execute the sending live detection instruction; When it is determined that the number of rounds for executing the current task is greater than a preset number, there is a program problem in the second feedback unit executing the feedback.
7. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to execute the program, and when the program is executed, it is specifically used to implement the process operation control method as described in any one of claims 1 to 3.
8. A computer storage medium, characterized in that Used to store a computer program, which, when executed, is used to implement the process operation control method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Automatic operation and maintenance method, system and device and computer readable storage medium
CN112540771A
Redis transaction processing method and device, electronic equipment and storage medium
CN113485998A