1. Technical Field
The present invention relates generally to an improved data processing system and in particular to a method of dynamic weighting on an onto-model. Still more particularly, the present invention provides a mechanism for weighting directed edges in an onto-model implemented as a directed graph.
2. Description of Related Art
Enterprise systems are increasingly integrating various business systems and processes to facilitate data collaboration among various software systems. Business processes may be implemented in a proprietary software language or may be implemented using an industry standard language, such as the Business Process Execution Language (BPEL). Business processes define workflows that generally include a variety of tasks. Typically, managing the collaborative sharing of information in a business enterprise system is difficult.
Networks such as the Internet provide the ability for geographically diverse systems to communicate with very low latency with other systems or individuals. Many enterprise systems once limited to enterprise intranets are now being deployed on the Internet to exploit available Web services. However, in doing so, effective implementation of a business process requires integration of even more diverse data and systems. As such, effective implementation of business processes is becoming even more complex.
Thus, it would be advantageous to provide a mechanism that facilitates enabling dynamic and adaptive business processes. It would be further advantageous to provide a mechanism for representing ontologies in a manner that facilitates efficient modification, adaptation, or transformation of a business process. It would be further advantageous to provide a mechanism that facilitates optimum selection of business sub-processes. It would be further advantageous to provide a mechanism that facilitates dynamic weighting of an onto-model. It would be further advantageous to provide a mechanism for weighting directed edges in an onto-model implemented as a directed graph enabling dynamic and adaptive business processes.
The present invention provides a method, computer program product, and a data processing system that facilitates navigation through a directed graph for selection of sub-processes of a modified business process derived from a business process. A bounding box is used for evaluating and selecting sequences of nodes representative of business sub-processes or services. The bounding box has a predefined depth for limiting the scope of the evaluation. The bounding box is shifted during the evaluation as sequences of nodes are selected. Additionally, state data is maintained such that a sense response model may be employed to detect and account for changes to the environment in previously evaluated services. By maintaining state data, a transition to a previously evaluated sub-process may be implemented to account for significant changes in the environment.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
With reference now to the figures,
In the depicted example, server 104 is connected to network 102 along with storage unit 106. In addition, clients 108, 110, and 112 are connected to network 102. These clients 108, 110, and 112 may be, for example, personal computers or network computers. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to clients 108-112. Clients 108, 110, and 112 are clients to server 104. Network data processing system 100 may include additional servers, clients, and other devices not shown. In the depicted example, network data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, government, educational and other computer systems that route data and messages. Of course, network data processing system 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).
Referring to
Peripheral component interconnect (PCI) bus bridge 214 connected to I/O bus 212 provides an interface to PCI local bus 216. A number of modems may be connected to PCI local bus 216. Typical PCI bus implementations will support four PCI expansion slots or add-in connectors. Communications links to clients 108-112 in
Additional PCI bus bridges 222 and 224 provide interfaces for additional PCI local buses 226 and 228, from which additional modems or network adapters may be supported. In this manner, data processing system 200 allows connections to multiple network computers. A memory-mapped graphics adapter 230 and hard disk 232 may also be connected to I/O bus 212 as depicted, either directly or indirectly.
Those of ordinary skill in the art will appreciate that the hardware depicted in
The data processing system depicted in
With reference now to
An operating system runs on processor 302 and is used to coordinate and provide control of various components within data processing system 300 in
Those of ordinary skill in the art will appreciate that the hardware in
In accordance with a preferred embodiment of the present invention, a business process may be efficiently adapted or transformed. The business process may be represented, for example, by a BPEL template. An onto-model derived from ontologies is mapped against a business process template. The onto-model may be modified by contextual information at run-time that is not contained with the ontological data from which the onto-model is derived. A processing algorithm is applied to the onto-model to select preferred services of a business process. Particularly, a business process includes a plurality of variant sub-process sets. A modified business process is generated that includes a number of sub-processes, or services, respectively chosen for execution from variant sub-process sets by mapping the onto-model derived from an ontologies data store against the business process template. Selection of the particular sub-process variant is based on the generated onto-model. Thus, a “modified” business process is executed that comprises a one or more sub-processes selected from the sub-process variant sets. A mechanism for representing ontologies, e.g., relationships, that facilitates efficient exploitation for adapting, transforming to otherwise modeling a business process. Particularly, the present invention provides a mechanism for representing business service ontologies for modifying business processes. Ontological information is encapsulated in a lightweight form that can bye used to modifying a BPEL template.
In accordance with another embodiment of the present invention, a mechanism for weighting edges of a onto-model implemented as a directed graph is provided. Business sub-processes or services are represented as nodes in the directed graph. Directed edges connecting related services are weighted to provide a mechanism for evaluating the relative preference of related services. The graph is traversed to identify the most desired sub-processes to be executed in a business process.
With reference now to
At any given execution cycle of business process 401, a sub-process of a sub-process variant set may be executed while other sub-processes of the same sub-process variant set are not executed. Selection of a particular sub-process for execution may be made by various environmental, context, or other data. For example, a sub-process of a sub-process variant set may be selected over other sub-processes of the same sub-process variant set due to cost constraints, latency constraints, various performance criteria, or any other suitable environmental or context data that may be defined and against which evaluation of a business sub-process may be made.
An ontology store 402 defines ontologies, e.g., relationships such as required input/outputs, required for interactions among various business sub-processes, e.g., sub-processes of business process 401. Onto-monitoring agent 404 reads ontological data from ontology store 402 and generates onto-model 406 therefrom. Preferably, onto-model 406 comprises light-weight representations of ontologies defined in ontology store 402. Onto-model 406 is mapped to business process 401 for modifying business process 401 (or sub-processes thereof) at run time by onto-execution module 407. Onto-execution module reads the business process 401 and contextual or environmental data 408 and produces a modified onto-model 409 therefrom. Accordingly, onto-execution module 407 may make dynamic modifications to modified onto-model 409 at run time responsive to changes in contextual or environmental data 408. The modified onto-model is then supplied to one or more evaluation algorithms 418 for selecting business sub-processes. State data store 425 may record state data of different sub-processes to facilitate implementation of sense response model 420 as described more fully hereinbelow. Modified business process 403 is generated from the evaluation algorithm. As referred to herein, a modified business process comprises sub-processes of a business process wherein one or more sub-processes of the business process are selected from sub-process variant sets. In the illustrative example, a modified business process generated by mapping onto-model 406 to business process 401 comprises services 410a, 411c, and 412b.
With reference now to
The processing steps shown in
In accordance with a preferred embodiment of the present invention, onto-model 406 is preferably generated as a light-weight model derived from ontologies maintained in ontologies store 402. More specifically, light-weight onto-model 406 provides a mechanism for encapsulating ontological information, such as information about services and business processes, in a manner that facilitates modification of BPEL templates, such as business process 401 or sub-processes thereof, or for providing input such as representations to business process modeling applications.
Onto-model 406 may be implemented as a directed graph (or di-graph) that represents a business process, such as business process 401 shown in
A service, such as business sub-process 410a shown in
An intelligent agent, such as onto-monitoring agent 404 shown in
In response to reading services 820-823, the onto-monitoring agent generates directed graph 850 from concepts 810-815 and services 820-823 by assembling links between services 820-823. For services to be linked, the output of a first service must describe the same concept as the input of a second service, and the effect of the first service must describe the same concept as the precondition of the second service. In the illustrative example, the onto-monitoring agent evaluates the output of service 820 as describing concept 810 and the effect of service 820 as describing concept 812. The onto-monitoring agent then evaluates other services to determine if service 820 may be linked with any other available services. For example, the onto-monitoring agent evaluates the input of service 821 as describing concept 810 and evaluates the precondition of service 821 as describing concept 812. Because the input of service 821 describes concept 810 and the precondition of service 821 describes concept 812, a link, for example a directed edge 830, is assembled connecting service 820 and 821. Particularly, service 820 is linked as a source node to service 821 as indicated by the arrow of directed edge 830 connecting service 820 with service 821. In this instance, service 721 is a destination node of the node pair comprising services 820 and 821. Other services 822 and 823 may be similarly evaluated to determine of they may be linked with service 820.
A service that doesn't have a correspondence between its output and effect with the input and precondition of another service are not linked. For example, the onto-monitoring agent respectively evaluates the input and precondition of service 822 as describing concepts 813 and 814. The onto-monitoring agent evaluates the effect and outputs of service 823 as describing concepts 814 and 815. Thus, service 822 may not be linked as a source node with service 823.
The onto-model generation procedure is invoked and a service collection is read by the onto-monitoring agent (step 902). The service collection comprises a set of services, such as services 820-823 shown in
Another node different than the current source node is then selected by the onto-monitoring agent as a current destination node (step 906). An evaluation is then made to determine if the output concept of the current source node corresponds to the input concept of the current destination node (step 908). If the output concept of the current source node does not correspond to the input concept of the current destination node, the onto-monitoring agent proceeds to determine if any additional nodes remain to be evaluated as a destination node of the currently selected source node (step 914).
Returning again to step 908, if the output concept of the current source node corresponds to the input concept of the current destination node, and onto-monitoring agent then evaluates the effect concept of the current source node to determine if it corresponds to the precondition concept of the current destination node (step 910). If the effect concept of the current source node does not correspond to the precondition concept of the current destination node, the onto-monitoring agent proceeds to determine if any additional nodes remain to be evaluated as a destination node of the currently selected source node according to step 914.
Returning again to step 910, if the effect concept of the current source node corresponds to the precondition concept of the current destination node, the onto-monitoring agent proceeds to establish a link from the current source node to the current destination node (step 912), and the onto-monitoring agent then proceeds to determine if any additional nodes remain to be evaluated as a destination node of the current source node according to step 914.
If the onto-monitoring agent determines that an additional node remains to be evaluated as the destination node of the currently selected source node at step 914, the onto monitoring agent returns to step 906 and selects another node as the destination node of the currently selected source node. If the onto-monitoring agent determines that no other nodes remain to be evaluated as the destination node of the current source node at step 914, the onto-monitoring agent then evaluates the service collection to determine if any other nodes remain to be evaluated as a source node (step 916). If it is determined that another node remains to be evaluated as the source node, the onto-monitoring agent selects a remaining node as the current source node (step 918), and the onto-monitoring agent returns to step 906 to select another node different than the currently selected source node for evaluation as the destination node of the newly selected source node. If it is determined that no additional nodes remain to be evaluated as a source node at step 916, the onto-model generation procedure then exits (step 920).
In accordance with another embodiment of the present invention, edges of a directed graph that defines an onto-model are weighted to facilitate navigation of the onto-model for determining services in a business process to be executed. Weights assigned to edges of the directed graph provide a relative preference measure of services when identifying sub-processes of a business processes for execution.
With reference now to
In accordance with a preferred embodiment of the present invention, edge weights are determined by the current environment and the properties of each service. For example, constraints used to calculate edge weights may be quality, correlation between two services, and the like. The user may provide the onto-monitoring agent with an algorithm to assign weights, for example through a Java implemented interface or a rule set language, e.g., Agent Building and Learning Environment. Rules based inferencing, such as forward chaining, backwards chaining, pattern matching, and the like, may be leveraged for calculating edge weights.
The edge weight calculation routine begins by identifying a source node and a destination node that are linked (step 1201). A source node quality is then compared with a predefined threshold (step 1202). If the source node quality is less than the predefined threshold, the edge weight is decremented by a predefined value (X), and the edge weight calculation routine proceeds to determine if the source node and the destination node are correlated (step 1206). If it is determined at step 1202 that the source node quality is not less than the predefined threshold, the edge weight calculation routine proceeds to evaluate the source node and destination node for correlation therebetween according to step 1206.
If a correlation between the source node and the destination node is identified at step 1206, the edge weight calculation routine proceeds to increment the edge weight by a predefined value (Y), and the edge weight calculation routine proceeds to determine if the destination node is in the context (step 1210). If no correlation between the source node and destination node is identified at step 1206, the edge weight calculation routine proceeds to determine if the destination node is in the context according to step 1210.
If the edge weight calculation routine determines the destination node is in the context at step 1210, the edge weight is incremented by a predefined value (Z) (step 1212), and then exits (step 1214). Alternatively, if the destination node is not identified in the context at step 1210, the edge weight calculation routine then exits according to step 1214.
The particular evaluations shown in steps 1202, 1206, and 1210 for weighting a directed edge between a source node and a destination node are exemplary only, and other conditions and constraints may be substituted or used in addition to those evaluations shown. The particular evaluations for calculating edge weights are exemplary only and are chosen only to facilitate an understanding of the invention.
Once the edge weights have been calculated, an optimal traversal path may be determined through one or more known evaluation algorithms 418 shown in
In a preferred embodiment of the present invention, a bounding box is produced that gradually shifts as the current node being evaluated changes. As referred to herein, a current node that is being evaluated is referred to as a focus node. Prior to determining which node in a path to traverse, an evaluating agent must update the information about the focus node. Updates are preferably made at runtime to assure that the data of the focus node being evaluated is the most up to date data available. The bounding box may be limited to a small set of nodes thereby consuming less memory and time updating information regarding the nodes.
As the bounding box is shifted, that is as new nodes are introduced into the bounding box and corresponding nodes that have been evaluated are shifted out of the bounding box, weights are assigned to the edges as they are removed from the bounding box. Service properties are updated when the corresponding service node is entered into the bounding box, and the newly updated information is used to apply the formula for calculating weights. Any node outside the bounding box is currently not within the evaluation scope and thus there is no need to assign a weight to these nodes. If any nodes that have previously been evaluated and are outside the bounding box, a monitoring agent may be used to monitor for these changes. Such a monitoring agent may be implemented as a subroutine of the onto-monitoring agent.
With reference now to
Directed graph 1375 comprising nodes 1300-1310 representative of business process services is read, e.g., by evaluation algorithm 418 shown in
The bounding box thus encompasses a set of nodes and edges from which related services are selected. The evaluation begins by selecting the start node as the focus node. Weights of edges originating from the start node are then evaluated. For example, weights of edges 1320 and 1321 that link focus node 1300 with respective service nodes 1301 and 1302 are evaluated. Based on the evaluation of the edge weights, one of service nodes 1301 and 1302 are selected. In the illustrative example, assume service node 1302 is selected. Accordingly, the evaluation then proceeds to evaluate edges 1324 and 1334 that respectively link service node 1305 and 1301 with service node 1302. In the illustrative example, assume service node 1305 is selected. Accordingly, the bounding box cycle is completed as the sequence of service nodes 1300, 1302, and 1305 has reached the bounding box depth limit of three. The sequence of selected services after the first bounding box evaluation cycle then comprises the service set {Service 1, Service 3, Service 6}.
With reference now to
The second bounding box evaluation cycle begins by evaluating weights of edges 1325 and 1326 that respectively link service node 1304 and 1307 with service node 1305. Assume for illustrative purposes that service node 1304 is selected based on the evaluation of edges 1325 and 1326. The second bounding box evaluation cycle proceeds by evaluating edges 1327 and 1328 that respectively link service nodes 1307 and 1306 with service node 1304. In the illustrative example, the second bounding box evaluation cycle completes upon selection of service node 1306. Thus, the sequence of selected services after the second bounding box evaluation cycle then comprises the service set {Service 1, Service 3, Service 6, Service 5, Service 7}. Another bounding box cycle may then commence by again shifting the bounding box such that the last service node selected during the second bounding box evaluation cycle is the first node in the bounding box for the subsequent bounding box evaluation cycle, and the procedure repeats in a similar manner until the directed graph has been fully traversed.
During evaluation of the nodes in bounding box 1350, the environment or properties (both of which are referred to herein as node “state” data) of a previously evaluated service node may change. These changes make the weightings assigned to edges originating or terminating at the service node out of date. To this end, sense response model 420 shown in
An urgency level may be determined in a manner similar to the mechanism by which edge weights are determined by evaluating the current context and properties of the service. Through the means of an interface or a rule set, forward chaining may be used to calculate the aggregate urgency level. If the urgency level does not reach a pre-determined threshold, the change is ignored and the evaluating agent is not affected. If the change is significant, a notification is provided to the routine that evaluates edge weights. The monitoring agent, responsive to receiving the notification, then determines whether to ignore the notification or to re-evaluate the path that includes the previously evaluated node that has undergone a change in its state data.
To determine whether the path needs to be reevaluated, a threshold may be set that enables identification of the change in state data maintained in state data store 425 of a previously evaluated node as significant (and thus requiring a path reevaluation) or insignificant (in which case the change in state data may be ignored). If the change is identified as significant, the agent that is evaluating the weights is halted, and the agent, e.g., evaluation algorithm 418, is informed that it needs to return to the previously evaluated node for path reevaluation at the node. The path from the changed node is then reevaluated.
To assure that the evaluation routine doesn't enter a situation where repetitive reevaluations cause the evaluation routine to never complete identification of a path, a predefined time limit may be set on each node. After expiration of the predefined time limit, the effect of the changes in the node decrease and a decision to proceed to a next node in the path traversal is forced. Moreover, as the evaluation routine proceeds further into a path, changes in state data of previously evaluated nodes may be ignored (or given less consideration) relative to the distance of the node from the current focus node.
As described, embodiments of the present invention provide a mechanism for navigation through a directed graph for selection of sub-processes of a modified business process derived from a business process. A bounding box is used for evaluating and selecting sequences of nodes representative of business sub-processes or services. The bounding box has a predefined depth for limiting the scope of the evaluation. The bounding box is shifted during the evaluation as sequences of nodes are selected. Additionally, state data is maintained such that a sense response model may be employed to detect and account for changes to the environment in previously evaluated services. By maintaining state data, a transition to a previously evaluated sub-process may be implemented to account for significant changes in the environment.
It is important to note that while the present invention has been described in the context of a fully functioning data processing system, those of ordinary skill in the art will appreciate that the processes of the present invention are capable of being distributed in the form of a computer readable medium of instructions and a variety of forms and that the present invention applies equally regardless of the particular type of signal bearing media actually used to carry out the distribution. Examples of computer readable media include recordable-type media, such as a floppy disk, a hard disk drive, a RAM, CD-ROMs, DVD-ROMs, and transmission-type media, such as digital and analog communications links, wired or wireless communications links using transmission forms, such as, for example, radio frequency and light wave transmissions. The computer readable media may take the form of coded formats that are decoded for actual use in a particular data processing system.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
This application is related to commonly assigned and co-pending U.S. patent application Ser. No. ______ (Attorney Docket No. RSW920040189US1) entitled “Method and Computer Program Product for Enabling Dynamic and Adaptive Business Processes Through an Ontological Data Model”; and U.S. patent application Ser. No. ______ (Attorney Docket No. RSW920040191US1) entitled “Method and Computer Program Product for Generating a Lightweight Ontological Data Model” all of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 11067341 | Feb 2005 | US |
Child | 12120466 | US |