Dealing with Changes of Time-Aware Processes

Slides:



Advertisements
Similar presentations
Optimistic Methods for Concurrency Control By : H.T. Kung & John T. Robinson Presenters: Munawer Saeed.
Advertisements

Temporal Constraints Time and Time Again: The Many Ways to Represent Time James F Allen.
A university for the world real R © 2009, Chapter 3 Advanced Synchronization Moe Wynn Wil van der Aalst Arthur ter Hofstede.
Mahadevan Subramaniam and Bo Guo University of Nebraska at Omaha An Approach for Selecting Tests with Provable Guarantees.
Evaluating Heuristics for the Fixed-Predecessor Subproblem of Pm | prec, p j = 1 | C max.
Fast Algorithms For Hierarchical Range Histogram Constructions
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
CS3500 Software Engineering Project Management (1) In 1986 one well-known software engineer (Tom DeMarco) made the simple but important observation: “You.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
1 Sensor Relocation in Mobile Sensor Networks Guiling Wang, Guohong Cao, Tom La Porta, and Wensheng Zhang Department of Computer Science & Engineering.
GridFlow: Workflow Management for Grid Computing Kavita Shinde.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 The Basic (Flat) Relational Model.
Temporal Indexing MVBT. Temporal Indexing Transaction time databases : update the last version, query all versions Queries: “Find all employees that worked.
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 5 Slide 1 Project management.
Distributed Constraint Optimization * some slides courtesy of P. Modi
Manfred Reichert, Barbara Weber, Victoria Torres Large Process Models and Process Model Collections: - Challenges, Methods, Technologies - Barbara Weber.
Lesson №2. is the unique activity that has a beginning and an end time, aimed at achieving a predetermined result/goal, the creation of a specific, unique.
Optimal Scheduling of File Transfers with Divisible Sizes on Multiple Disjoint Paths Mugurel Ionut Andreica Polytechnic University of Bucharest Computer.
Homework 1 ( Written Portion )  Max : 75  Min : 38  Avg : 57.6  Median : 58 (77%)
Swarat Chaudhuri Roberto Lublinerman Pennsylvania State University Sumit Gulwani Microsoft Research CAUCHY Continuity analysis of programs.
1 Maintaining Logical and Temporal Consistency in RT Embedded Database Systems Krithi Ramamritham.
A Survey of Distributed Task Schedulers Kei Takahashi (M1)
Barbara Weber Univ. of Innsbruck, Austria Manfred Reichert Univ. of Ulm, Germany Presenter: Arghyadip Paul Refactoring Process Models in Large Process.
Uniform discretizations: the continuum limit of consistent discretizations Jorge Pullin Horace Hearne Institute for Theoretical Physics Louisiana State.
15.082J & 6.855J & ESD.78J September 23, 2010 Dijkstra’s Algorithm for the Shortest Path Problem.
Controllability of Time-Aware Processes at Run Time Andreas Lanz 1, Roberto Posenato 2, Carlo Combi 2, and Manfred Reichert 1 1 Institute of Databases.
Secure In-Network Aggregation for Wireless Sensor Networks
CSE314 Database Systems Lecture 3 The Relational Data Model and Relational Database Constraints Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
Computer Science & Engineering, ASU1/17 Pfair Scheduling of Periodic Tasks with Allocation Constraints on Multiple Processors Deming Liu and Yann-Hang.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
School of Computer Science, The University of Adelaide© The University of Adelaide, Control Data Flow Graphs An experiment using Design/CPN Sue Tyerman.
Open Incremental Model Checking (OIMC) and the Role of Contracts Model-Based Programming and Verification.
Pipelined and Parallel Computing Partition for 1 Hongtao Du AICIP Research Nov 3, 2005.
Tunable QoS-Aware Network Survivability Presenter : Yen Fen Kao Advisor : Yeong Sung Lin 2013 Proceedings IEEE INFOCOM.
15.082J & 6.855J & ESD.78J September 30, 2010 The Label Correcting Algorithm.
A Kernel Approach for Learning From Almost Orthogonal Pattern * CIS 525 Class Presentation Professor: Slobodan Vucetic Presenter: Yilian Qin * B. Scholkopf.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Safety Guarantee of Continuous Join Queries over Punctuated Data Streams Hua-Gang Li *, Songting Chen, Junichi Tatemura Divykant Agrawal, K. Selcuk Candan.
A Structural Characterization of Temporal Dynamic Controllability Paul Morris NASA Ames Research Center Moffett Field, CA 94035, U.S.A.
Sequence diagrams Lecture 5. Main terms  Interaction  Life line  Activation  Executable behavior and derived behavior  Messages  Trajectory  Frame.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Scheduling with Constraint Programming
Project Management: PERT/CPM
Introduction to Spatial Computing CSE 5ISC
Chapter 8: Concurrency Control on Relational Databases
Unified Modeling Language
Minimum Spanning Tree 8/7/2018 4:26 AM
Temporal Indexing MVBT.
TIM 58 Chapter 8: Class and Method Design
Liang Chen Advisor: Gagan Agrawal Computer Science & Engineering
Supporting Fault-Tolerance in Streaming Grid Applications
James B. Orlin Presented by Tal Kaminker
Objective of This Course
PERT - The Program Evaluation and Review Technique
Dijkstra’s Algorithm for the Shortest Path Problem
Parallel ClockDesigner
3.5 Minimum Cuts in Undirected Graphs
1.206J/16.77J/ESD.215J Airline Schedule Planning
An Adaptive Middleware for Supporting Time-Critical Event Response
Lecture 6: Time-Cost Trade-Offs
Consensus Partition Liang Zheng 5.21.
Enabling Ad-Hoc Changes to Object-aware Processes
Chapter 4: Simulation Designs
Self-Managed Systems: an Architectural Challenge
Directional consistency Chapter 4
Presentation transcript:

Dealing with Changes of Time-Aware Processes Andreas Lanz, Manfred Reichert 11-09-2014 Dealing with Changes of Time-Aware Processes Image by www.sxc.hu, saavem

Motivation Time and temporal restrictions are omnipresent Durations Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Motivation Time and temporal restrictions are omnipresent Durations Appointments Deadlines … Time perspective raises fundamental challenges for any process-aware information system Existing PAIS offer only a limited support for modeling and managing time-aware processes [Lanz et al., 14]

Motivation The Challenge: Time can neither be slowed down nor stopped Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Motivation The Challenge: Time can neither be slowed down nor stopped Time-aware processes need to be flexible to cope with unforeseen events or delays Should be possible to dynamically adapt time-aware process instances Re-schedule deadlines, dynamically modify temporal constraints Structurally change a process instance “Lost time is never found again.” – Benjamin Franklin (1706-1790)

Temporal Constraint Changes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Motivation Change operations for time-aware processes Temporal Consistency of the process instance needs to be ensured Control Flow Changes Insert Activity Serially Insert Activity Parallel Insert Activity Conditionally Delete Activity Temporal Constraint Changes Insert Time Lag Insert Fixed Date Element Delete Time Lag Delete Fixed Date Element

Time-Aware Processes Motivation Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Time-Aware Processes Motivation Change Operations for Time-Aware Processes Analyzing the Effects Conclusion

Time-aware Processes – Time Constraints* Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Time-aware Processes – Time Constraints* Time Constraints Activity Durations Time Lags (min waiting time, max delay, …) Fixed Date Elements (appointments, deadlines…) A 𝑚𝑖𝑛𝐷, 𝑚𝑎𝑥𝐷 Minimum Maximum A B 𝑆 𝑚𝑖𝑛𝐷,𝑚𝑎𝑥𝐷 𝐸 Start-Start Start-End End-Start End-End Latest Finish Date A Earliest Start Latest Start Earliest Completion Latest Completion * [Lanz et al., 14]

Modeling Time-Aware Processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Modeling Time-Aware Processes Important Question: Can an instance of the process model be completed without violating any time constraints?  temporal consistency Solution: Conditional Simple Temporal Network (CSTN)* = Simple Temporal Network + Propositions * [Tsamardinos et al., 03, Hunsberger et al., 12]

Conditional Simple Temporal Network* (CSTN) Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Conditional Simple Temporal Network* (CSTN) Time Constraint constraint time point A B 𝑥,𝑦 ,𝛽 𝑥≤𝐵−𝐴≤𝑦 =𝐵−𝐴∈[𝑥,𝑦] proposition representing the execution path Consistency Check* May restrict existing constraints Derives interdependencies A B 𝑥 ′ , 𝑦 ′ , 𝛽 𝑦 ′ ≤𝑦 𝑥′≥𝑥 𝑥′≤𝐵−𝐴≤𝑦′ * [Tsamardinos et al., 03, Hunsberger et al., 12]

CSTN Transformation* A 𝑥, 𝑦 AS AE XS XE X Activity 0,∞ , 𝛽 𝑥,𝑦 , 𝛽 Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 CSTN Transformation* Activity A 𝑥, 𝑦 AS AE 0,∞ , 𝛽 𝑥,𝑦 , 𝛽 branch 𝑃 XOR-Split 0,∞ , 𝑃𝛽 observation node [0,∞],𝛽 0, 1 ,𝛽 XS XE P? P? X true false 0,∞ , ¬𝑃𝛽 branch ¬𝑃 Similar: XOR-Join, AND-Split, AND-Join * [Lanz et al., 13]

Modeling Time-Aware Processes – Minimal Network Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Modeling Time-Aware Processes – Minimal Network Process Model Minimal Time Model CSTN Time Model Restricted constraints Derived interdependencies Constraint between any pair of time points

Modeling Time-Aware Processes – Temporal Consistency Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Modeling Time-Aware Processes – Temporal Consistency  it exists a minimal time model Weak consistency of the CSTN can be check using the algorithm proposed by [Tsamardinos et al., 03] Definition (Temporal Consistency). A time-aware process model is denoted as temporally consistent iff the corresponding time model (i.e., its CSTN representation) is (weakly) consistent.

Executing Time-Aware Processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Executing Time-Aware Processes Time constraints need to be monitored during execution Not sufficient to check consistency only at design time Hidden interdependencies between time constraints may exist May restrict explicit constraints Need to be known when executing a process instance

Executing Time-Aware Processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Executing Time-Aware Processes Creation of a new process instance Create a copy of the minimal time model Update instance time model to current state Updated activity execution times Execute process instance activities

Change Operations for Time-Aware Processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Motivation Time-Aware Processes Change Operations for Time-Aware Processes Analyzing the Effects Conclusion

Change Operations – Basic Procedure Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Change Operations – Basic Procedure Check applicability of change operation Update process model Update instance time model Restore minimality of instance time model Update hidden interdependencies

Insert Activity Serially Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Insert Activity Serially 𝒄 𝒎𝒂𝒙 ≥ 𝒅 𝒎𝒊𝒏 < 𝑚𝑎𝑥 𝑐 𝑚𝑖𝑛 , 𝑑 𝑚𝑖𝑛 , 𝑐 𝑚𝑎𝑥 ,𝛽>

Insert Activity Conditionally Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Insert Activity Conditionally 𝒄 𝒎𝒂𝒙 ≥ 𝒅 𝒎𝒊𝒏

Insert Time Lag 𝒄 𝒎𝒂𝒙 ≥ 𝒕 𝒎𝒊𝒏 𝒄 𝒎𝒊𝒏 ≤ 𝒕 𝒎𝒂𝒙 Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Insert Time Lag 𝒄 𝒎𝒂𝒙 ≥ 𝒕 𝒎𝒊𝒏 𝒄 𝒎𝒊𝒏 ≤ 𝒕 𝒎𝒂𝒙

Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Change Operations

Analyzing the Effects Motivation Time-Aware Processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Motivation Time-Aware Processes Change Operations for Time-Aware Processes Analyzing the Effects Conclusion

Applying multiple change operations Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Applying multiple change operations Minimality of the instance time model needs to be restored after each change operation Time complexity 𝑂 𝑛 3 2 𝑚 𝑛 number of time points 𝑚 number of observation time points Significant delays may occur Possible Solution: Approximation How can the “new” instance time model be approximated? Restore minimality of instance time model Update hidden interdependencies Approximate new instance time model Update instance time model Update process model Check applicability of change operation Restore minimality of instance time model Update hidden interdependencies Update instance time model Update process model Check applicability of change operation

Analyzing the Effects Proof in [Lanz et al., 14a] Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Analyzing the Effects Proof in [Lanz et al., 14a]

Example Theorem 1 – Insert Serial Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Example Theorem 1 – Insert Serial 𝜹= 𝒅 𝒎𝒊𝒏 − 𝒄 𝒎𝒊𝒏 𝑎 𝑚𝑖𝑛 ≤ 𝒂 ′ 𝒎𝒊𝒏 ≤𝑎 𝑚𝑖𝑛 +𝜹 𝑎 𝑚𝑎𝑥 ≥ 𝒂 ′ 𝒎𝒂𝒙 ≥𝑎 𝑚𝑎𝑥 −𝜹 𝑏 𝑚𝑖𝑛 ≤ 𝒃′ 𝒎𝒊𝒏 ≤𝑏 𝑚𝑖𝑛 +𝜹 𝑏 𝑚𝑎𝑥 ≥ 𝒃 ′ 𝒎𝒂𝒙 ≥𝑏 𝑚𝑎𝑥 −𝜹

Multiple Change Operations – Optimized Procedure Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Multiple Change Operations – Optimized Procedure Restore minimality of instance time model Update hidden interdependencies Check applicability of change operation Update process model Update instance time model Approximate new instance time model Restore minimality of instance time model Update hidden interdependencies

Applying Multiple Change Operations Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Applying Multiple Change Operations 4≤14 − 𝛿 4≤10 4≤7 5≤4 5≤10 − 𝛿 5≤6 restore minimality

Applying Multiple Change Operations Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Applying Multiple Change Operations Approximate the resulting temporal properties of the entire process instance Significantly reduces the complexity of applying multiple change operations Actual saving depend on the “strictness” of the temporal constraints and the changes to be performed

Conclusion Motivation Time-Aware Processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Motivation Time-Aware Processes Change Operations for Time-Aware Processes Analyzing the Effects Conclusion

Summary Time is a fundamental concept for business processes Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Summary Time is a fundamental concept for business processes Flexibility is important for time-aware processes Change operations for time-aware processes instances Approximation for applying multiple changes Significantly reduces the complexity of applying multiple change operations Proof-of-Concept implementation as part of the ATAPIS Toolset

Ongoing and Future Work Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 Ongoing and Future Work Investigating more complex change patterns Application of presented results to process evolution Integration of advanced time-management capabilities into the ATAPIS Toolset Questions? dbis.info/atapis

Dealing with Changes of Time-Aware Processes | Andreas Lanz, Manfred Reichert | 11-09-2014 References [Hunsberger et al., 12] Luke Hunsberger, Roberto Posenato, and Carlo Combi. The dynamic controllability of conditional STNs with uncertainty. In Proceedings of the Planning and Plan Execution for Real-World Systems: Principles and Practices (PlanEx), 2012. [Lanz et al., 13] Andreas Lanz, Roberto Posenato, Carlo Combi, and Manfred Reichert. Controllability of time-aware processes at run time. In Proceedings of the 21st International Conference on Cooperative Information Systems (CoopIS'13), pages 39--56. Springer, 2013. [Lanz et al., 14] Andreas Lanz, Barbara Weber, and Manfred Reichert. Time patterns for process- aware information systems. Requirements Engineering, 19(2):113-141, 2014. [Lanz et al., 14a] Andreas Lanz and Manfred Reichert. Process change operations for time-aware processes. Technical Report UIB-2014-01, University of Ulm, 2014. [Tsamardinos et al., 03] Ioannis Tsamardinos, Thierry Vidal, and Martha E. Pollack. CTP: A new constraint-based formalism for conditional, temporal planning. Constraints, 8(4):365--388, 2003.