The present invention relates to a method, apparatus and program product for managing a data processing process.
Data processing systems commonly carry out data processing processes, which comprise a sequence of activities. Each activity has an implementation in the form of local code, a service such as a web service or another process in its own right, referred to as a sub-process. The correct operation of an implementation of a given activity combined with the appropriate management of the interaction between activities is important for the successful operation of the data processing process as a whole. The management of the overall process and of the operation of each sub-process is carried out by a management system. An example of such a management system is a workflow application program. Such applications enable workflows to be set up which define a sequence of activities for achieving a given overall process. Each workflow is de fined using a process definition language. Workflow applications read the workflow definitions and manage an instance of the workflow so that required data is automatically passed between each activity when appropriate.
In order to ensure that the data processing process is carried out within desired limits, one or more sets of performance criteria can be defined. These performance criteria, which may be in the form of one or more policies, are used by the management system to measure the performance of the process as a whole or that of its activities. The activities themselves may call further sub-processes or services to perform particular elements of their processing.
US 2005/0010456 A1 discloses a system for managing a data processing process in which the performance of the process relative to a policy is monitored using probe points which provide performance data from predefined locations in the process. The performance data collected from the probe points is compared to performance thresholds called Key Performance Indicators (KPIs). KPIs are defined in the policy for the process and thus used to determine if the process is being performed as required. However, with this system, although any departure in the performance of a data processing process from the policy can be detected, there is no mechanism for automatically correcting the performance failure.
A workflow process comprising one or more activities is managed in a series of operations. Initially, a workflow definition is created that defines a sequence of activities that comprise a workflow process. A first activity implementation is identified for providing services to one or more of the activities and assigning the first activity implementation to a first activity. A set of one or more performance criteria is associated for the performance of the first activity implementation when providing service to the first activity. The performance of the first activity implementation is monitored against the set of performance criteria. A second activity implementation is identified for providing services to the first activity. If the first activity implementation fails to meet one or more of the performance criteria, then the second activity implementation is assigned to the first activity in place of the first activity implementation.
Embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings in which:
With reference to
When an activity implementation provides services to a given activity in the workflow 115, its performance is monitored against any associated policy 117 by the performance management module 111. As noted above, the workflow definition 115 is used to define which policies 117 apply to any given activity/activity implementation pair. For example, the performance of sub-process software 213, when providing services to activity 201, is monitored against associated policy 219. The performance of sub-process software 215, when providing services to activity 205, is monitored against associated policy 221. However, the performance of sub-process software 213, when providing services to activity 209, is monitored against associated policy 223. In other words, activity implementations 119 can be monitored against different policy 117, depending on which activity in the workflow definition 115 an activity implementation 119 is providing services to.
With reference to
The processing carried out by the performance management module 111 during the operation of the workflow application program 109 will now be described further with reference to the flow chart of
At step 409, the activity implementation 119 is flagged for replacement for the given workflow activity and processing moves to step 411. At step 411, the service registry 307 is used to identify and alternative activity implementation 119. Processing the moves to step 413 where the workflow 115 is updated to substitute the alternative activity implementation 119 in place of the under-performing activity implementations 119 in the workflow definition 115 in relation to the activity for which under-performance was detected.
In a further embodiment, the replacement manager 305 is arranged to search for alternative activity implementations to provide substitutes when under-performance of an activity implementation is detected. The policy associated with an activity comprises criteria for the replacement of the activity implementation. The replacement criteria may include details of suitable sources or locations, which may be searched in order to identify suitable replacements. The replacement criteria may also define further criteria for the processing that any replacement activity implementation should perform.
The processing carried out by the replacement manger 305 in this further embodiment will now be described with reference to the flow chart of
In a further embodiment, a search for substitute activity implementations is initiated in response to the detection of under-performance of a current activity implementation. In another embodiment, substitute activity implementations are selected from a predetermined set of activity implementations provided by a range of service providers including third parties. In a further embodiment, the substitute activity implementations may not be actively tested prior to being utilized in the workflow.
In another embodiment, the search for substitute activity implementation is carried out as a tendering process in which third party service providers are invited to offer their activity implementations for use in the workflow. The tendering process may involve a message broker arranged to match offers from tendering service providers with a tender request issued by the replacement manager. In a further embodiment, the search for substitute activity implementations is carried out prior to under-performance of a current activity implementations being detected, in order to provide a list of one or more alternatives in the service registry 307. In another embodiment, when an activity implementations is replaced or substituted, it is substituted for all of the workflow activities which use it. In other words the substitution is global rather than local.
In the above embodiments, the policy may be used to identify alternative or substitute activity implementations or to determine whether or not substitution is possible. Some activity implementations may not have associated policies. In any of the above embodiments activity implementations may be provided by an combination of software subroutines, software library components or any other sub-process. The workflow may be processed by a single software application or a group of co-operating software applications. The workflow may be an automated or semi-automated set of activities.
It will be understood by those skilled in the art that the apparatus that embodies a part or all of the present invention may be a general purpose device having software arranged to provide a part or all of an embodiment of the invention. The device could be single device or a group of devices and the software could be single program or a set of programs. Furthermore, any or all of the software used to implement the invention can be communicated by any suitable transmission or storage means so that the software can be loaded onto one or more devices.
While the present invention has been illustrated by the description of embodiments thereof, and while the embodiments have been described in considerable detail, it is not the intention of the applicant to restrict or in any way limit the scope of the appended claims to such detail. Additional advantages and modifications will readily appear to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details representative apparatus and method, and illustrative examples shown and described. Accordingly, departures may be made from such details without departure from the spirit or scope of applicant's general inventive concept.