System, method and computer program product for recursively executing a process control operation to use an ordered list of tags to initiate corresponding functional operations
First Claim
1. A computer program product, comprising a non-transitory computer usable medium having a computer readable program code embodied therein, the computer readable program code adapted to be executed by a computer to implement a method comprising:
- storing, in memory, a process map that defines a process, the process map including;
an ordered list of tags, anda mapping of each tag in the ordered list of tags to a functional operation;
performing, by a computer processor, the process by recursively executing a process control operation to use the ordered list of tags to initiate the functional operations, including the computer processor;
(a) calling the process control operation to initiate execution of the process control operation,(b) reading from the process map, by the process control operation, an initial identified tag in the ordered list of tags,(c) reading from the process map the functional operation mapped to the identified tag,(d) calling, by the process control operation, the identified functional operation with the identified tag passed in to initiate execution of the identified functional operation with the identified tag passed in, wherein the identified functional operation is configured to call the process control operation upon completion,(e) receiving from the called functional operation, once completed, a call to the process control operation with the identified tag passed in,(f) determining from the process map, by the process control operation, whether a subsequent identified tag exists in the ordered list of tags,for each subsequent identified tag in the ordered list of tags, repeating (c)-(f), and when it is determined that a subsequent tag does not exist in the ordered list of tags, terminating the process.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for controlling a process using a process map. These mechanisms and methods for controlling a process using a process map can enable process operations to execute in order without necessarily having knowledge of one another. The ability to provide the process map can avoid a requirement that the operations themselves be programmed to follow a particular sequence, as can further improve the ease by which the sequence of operations may be changed.
-
Citations
16 Claims
-
1. A computer program product, comprising a non-transitory computer usable medium having a computer readable program code embodied therein, the computer readable program code adapted to be executed by a computer to implement a method comprising:
-
storing, in memory, a process map that defines a process, the process map including; an ordered list of tags, and a mapping of each tag in the ordered list of tags to a functional operation; performing, by a computer processor, the process by recursively executing a process control operation to use the ordered list of tags to initiate the functional operations, including the computer processor; (a) calling the process control operation to initiate execution of the process control operation, (b) reading from the process map, by the process control operation, an initial identified tag in the ordered list of tags, (c) reading from the process map the functional operation mapped to the identified tag, (d) calling, by the process control operation, the identified functional operation with the identified tag passed in to initiate execution of the identified functional operation with the identified tag passed in, wherein the identified functional operation is configured to call the process control operation upon completion, (e) receiving from the called functional operation, once completed, a call to the process control operation with the identified tag passed in, (f) determining from the process map, by the process control operation, whether a subsequent identified tag exists in the ordered list of tags, for each subsequent identified tag in the ordered list of tags, repeating (c)-(f), and when it is determined that a subsequent tag does not exist in the ordered list of tags, terminating the process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method, comprising:
-
storing, in memory, a process map that defines a process, the process map including; an ordered list of tags, and a mapping of each tag in the ordered list of tags to a functional operation; performing, by a computer processor, the process by recursively executing a process control operation to use the ordered list of tags to initiate the functional operations, including the computer processor; (a) calling the process control operation to initiate execution of the process control operation, (b) reading from the process map, by the process control operation, an initial tag in the ordered list of tags, (c) reading from the process map the functional operation mapped to the identified tag, (d) calling, by the process control operation, the identified functional operation with the identified tag passed in to initiate execution of the identified functional operation with the identified tag passed in, wherein the identified functional operation is configured to call the process control operation upon completion, (e) receiving from the called functional operation, once completed, a call to the process control operation with the identified tag passed in, (f) determining from the process map, by the process control operation, whether a subsequent identified tag exists in the ordered list of tags, for each subsequent identified tag in the ordered list of tags, repeating (c)-(f), and when it is determined that a subsequent tag does not exist in the ordered list of tags, terminating the process.
-
-
15. An apparatus, comprising:
-
a processor for; storing, in memory, a process map that defines a process, the process map including; an ordered list of tags, and a mapping of each tag in the ordered list of tags to a functional operation; performing, by a computer processor, the process by recursively executing a process control operation to use the ordered list of tags to initiate the functional operations, including the computer processor; (a) calling the process control operation to initiate execution of the process control operation, (b) reading from the process map, by the process control operation, an initial tag in the ordered list of tags, (c) reading from the process map the functional operation mapped to the identified tag, (d) calling, by the process control operation, the identified functional operation with the identified tag passed in to initiate execution of the identified functional operation with the identified tag passed in, wherein the identified functional operation is configured to call the process control operation upon completion, (e) receiving from the called functional operation, once completed, a call to the process control operation with the identified tag passed in, (f) determining from the process map, by the process control operation, whether a subsequent identified tag exists in the ordered list of tags, for each subsequent identified tag in the ordered list of tags, repeating (c)-(f), and when it is determined that a subsequent tag does not exist in the ordered list of tags, terminating the process.
-
-
16. A method for transmitting code, comprising:
-
transmitting code for storing, in memory, a process map that defines a process, the process map including; an ordered list of tags, and a mapping of each tag in the ordered list of tags to a functional operation; transmitting code for performing, by a computer processor, the process by recursively executing a process control operation to use the ordered list of tags to initiate the functional operations, including the computer processor; (a) calling the process control operation to initiate execution of the process control operation, (b) reading from the process map, by the process control operation, an initial tag in the ordered list of tags, (c) reading from the process map the functional operation mapped to the identified tag, (d) calling, by the process control operation, the identified functional operation with the identified tag passed in to initiate execution of the identified functional operation with the identified tag passed in, wherein the identified functional operation is configured to call the process control operation upon completion, (e) receiving from the called functional operation, once completed, a call to the process control operation with the identified tag passed in, (f) determining from the process map, by the process control operation, whether a subsequent identified tag exists in the ordered list of tags, for each subsequent identified tag in the ordered list of tags, repeating (c)-(f), and when it is determined that a subsequent tag does not exist in the ordered list of tags, terminating the process.
-
Specification