Prevention of erroneous performance of computer tasks deviating from a pattern in a pattern library
View Patent ↗A method, computer program product, and computer system for preventing erroneous performance of computer tasks. An iterative process of at least two iterations is performed. Each iteration includes: monitoring computer tasks performed on computing devices; ascertaining whether a deviant computer task having a deviation from one pattern of multiple pattens in a pattern library is about to be performed by any computing device and if so: sending an alert identifying the deviant computer task to the one computing device, receiving feedback to the alert from the one computing device, and updating a pattern score of the one pattern based on the feedback and replacing the pattern score of the one pattern in the pattern library with the updated pattern score. It is ascertained, in one iteration that is not the last iteration, that the deviant computer task is about to be performed.
1 . A computer-implemented method for preventing erroneous performance of computer tasks, said computer-implemented method comprising:
performing, in real time by one or more processors of a computer system, an iterative process of at least two iterations, each iteration of the iterative process comprising:
monitoring computer tasks performed on one or more computing devices used by one or more respective users, wherein each computer task, of the monitored computer tasks, comprises a command and metadata, the command being an operation and at least one operand of the operation;
ascertaining, from said monitoring, whether a deviant computer task, of the monitored computer tasks, is to be performed by a computing device of the one or more computing devices, wherein the deviant computer task has a deviation from one pattern of multiple patterns in a pattern library, wherein
each pattern, of the multiple patterns, in the pattern library has a pattern score exceeding a specified pattern score threshold, and
each pattern, of the multiple patterns, is a pattern of the computer tasks in a task library having a same meta-command consisting of the command and a subset of the metadata;
based on said ascertaining having ascertained that the deviant computer task is to be performed by the computing device, of the one or more computing devices, used by a respective user, of the one or more respective users:
sending an alert identifying the deviation to the computing device;
receiving, from the computing device, feedback to the alert;
updating the pattern score of the one pattern based on the feedback; and
replacing the pattern score of the one pattern in the pattern library with the updated pattern score;
determining whether a last iteration of the iterative process has been performed;
terminating the iterative process based on the last iteration of the iterative process having been performed; and
executing said monitoring to perform a next iteration of the iterative process based on the last iteration of the iterative process having not been performed,
wherein said ascertaining ascertains, in one iteration that is not the last iteration, that the deviant computer task is to be performed.
2 . The computer-implemented method of claim 1 , wherein said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the deviant computer task or that the computing device will perform a computer task, of the computer tasks, associated with the one pattern.
3 . The computer-implemented method of claim 2 , wherein
said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the computer task associated with the one pattern,
the computer task associated with the one pattern is added to the one pattern in the pattern library,
the updating of the pattern score comprises recomputing the pattern score of the one pattern, and
said recomputing of the pattern score is based on the one pattern comprising the added computer task.
4 . The computer-implemented method of claim 2 , wherein
said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the deviant computer task, and
said updating the pattern score comprises decrementing the pattern score of the one pattern by a decrement value or a decrement percent.
5 . The computer-implemented method of claim 4 , wherein the computer-implemented method further comprises:
determining, by the one or more processors, that the decremented pattern score of the one pattern does not exceed the specified pattern score threshold; and
deleting, by the one or more processors, the one pattern from the pattern library based on the determining that the decremented pattern score of the one pattern does not exceed the specified pattern score threshold.
6 . The computer-implemented method of claim 4 , wherein the decrement value or the decrement percent is specific to whether the computer task of the one pattern is an action or a communication.
7 . The computer-implemented method of claim 4 , wherein
the operation included in the same meta-command of the one pattern has an operation value specific to the included operation, and
the decrement value or the decrement percent is a linear function of the operation value or a nonlinear function of the operation value.
8 . The computer-implemented method of claim 1 , wherein the pattern score of each pattern in the pattern library is a ratio of a number of occurrences in the task library of the same meta-command to a number of occurrences in the task library of the computer tasks having the operation comprised by the same meta-command.
9 . The computer-implemented method of claim 1 , wherein the operation included in the same meta-command of the one pattern is an action or a communication.
10 . The computer-implemented method of claim 1 , wherein a necessary condition for a set of computer tasks, of the computer tasks, to be a pattern is that a total number of computer tasks in the set of computer tasks is equal to or greater than a specified minimum number of computer tasks threshold.
11 . The computer-implemented method of claim 1 , wherein the task library is limited to including a set of computer tasks, of the computer tasks, having an operation that is on a list of eligible operations.
12 . The computer-implemented method of claim 1 , wherein the alert is selected from the group consisting of a visual alert, an audio alert, and a spatial alert.
13 . A computer program product, comprising one or more computer readable hardware storage devices having computer readable program code stored therein, said program code containing instructions executable by one or more processors of a computer system to implement a method for preventing erroneous performance of computer tasks, said method comprising:
performing, in real time by the one or more processors, an iterative process of at least two iterations, each iteration of the iterative process comprising:
monitoring computer tasks performed on one or more computing devices used by one or more respective users, wherein each computer task, of the monitored computer tasks, comprises a command and metadata, the command being an operation and at least one operand of the operation;
ascertaining, from said monitoring, whether a deviant computer task, of the monitored computer tasks, is to be performed by a computing device of the one or more computing devices, wherein the deviant computer task has a deviation from one pattern of multiple patterns in a pattern library, wherein
each pattern, of the multiple patterns, in the pattern library has a pattern score exceeding a specified pattern score threshold, and
each pattern, of the multiple patterns, is a pattern of the computer tasks in a task library having a same meta-command consisting of the command and a subset of the metadata;
based on said ascertaining having ascertained that the deviant computer task is to be performed by the computing device, of the one or more computing devices, used by a respective user, of the one or more respective users:
sending an alert identifying the deviation to the computing device;
receiving, from the computing device, feedback to the alert;
updating the pattern score of the one pattern based on the feedback; and
replacing the pattern score of the one pattern in the pattern library with the updated pattern score;
determining whether a last iteration of the iterative process has been performed;
terminating the iterative process based on the last iteration of the iterative process having been performed; and
executing said monitoring to perform a next iteration of the iterative process based on the last iteration of the iterative process having not been performed,
wherein said ascertaining ascertains, in one iteration that is not the last iteration, that the deviant computer task is to be performed.
14 . The computer program product of claim 13 , wherein said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the deviant computer task or that the computing device will perform a computer task, of the computer tasks, associated with the one pattern.
15 . The computer program product of claim 14 , wherein
said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the computer task associated with the one pattern,
the computer task associated with the one pattern is added to the one pattern in the pattern library,
the updating of the pattern score comprises recomputing the pattern score of the one pattern, and
said recomputing of the pattern score is based on the one pattern comprising the added computer task.
16 . The computer program product of claim 14 , wherein
said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the deviant computer task, and
said updating the pattern score comprises decrementing the pattern score of the one pattern by a decrement value or a decrement percent.
17 . A computer system, comprising one or more processors, one or more memories, and one or more computer readable hardware storage devices, said one or more computer readable hardware storage devices containing program code executable by the one or more processors via the one or more memories to implement a method for preventing erroneous performance of computer tasks, said method comprising:
performing, in real time by the one or more processors, an iterative process of at least two iterations, each iteration of the iterative process comprising:
monitoring computer tasks performed on one or more computing devices used by one or more respective users, wherein each computer task, of the monitored computer tasks, comprises a command and metadata, the command being an operation and at least one operand of the operation;
ascertaining, from said monitoring, whether a deviant computer task, of the monitored computer tasks, is to be performed by a computing device of the one or more computing devices, wherein the deviant computer task has a deviation from one pattern of multiple patterns in a pattern library, wherein
each pattern, of the multiple patterns, in the pattern library has a pattern score exceeding a specified pattern score threshold, and
each pattern, of the multiple patterns, is a pattern of computer tasks in a task library having a same meta-command consisting of the command and a subset of the metadata;
based on said ascertaining having ascertained that the deviant computer task is to be performed by the computing device, of the one or more computing devices, used by a respective user, of the one or more respective users:
sending an alert identifying the deviation to the computing device;
receiving, from the computing device, feedback to the alert;
updating the pattern score of the one pattern based on the feedback; and
replacing the pattern score of the one pattern in the pattern library with the updated pattern score;
determining whether a last iteration of the iterative process has been performed;
terminating the iterative process based on the last iteration of the iterative process having been performed; and
executing said monitoring to perform a next iteration of the iterative process based on the last iteration of the iterative process having not been performed,
wherein said ascertaining ascertains, in one iteration that is not the last iteration, that the deviant computer task is to be performed.
18 . The computer system of claim 17 , wherein said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the deviant computer task or that the computing device will perform a computer task, of the computer tasks, associated with the one pattern.
19 . The computer system of claim 18 , wherein
said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the computer task associated with the one pattern,
the computer task associated with the one pattern is added to the one pattern in the pattern library,
the updating of the pattern score comprises recomputing the pattern score of the one pattern, and
said recomputing of the pattern score is based on the one pattern comprising the added computer task.
20 . The computer system of claim 18 , wherein
said receiving the feedback in the one iteration comprises receiving the feedback that the computing device will perform the deviant computer task, and
said updating the pattern score comprises decrementing the pattern score of the one pattern by a decrement value or a decrement percent.