SlideShare a Scribd company logo
Compositional Process Model Synthesis based on
Interface Patterns
TMPA-2017
Roman A. Nesterov Irina A. Lomazova
ranesterov@edu.hse.ru, ilomazova@hse.ru
Laboratory of Process-Aware Information Systems
National Research University
Higher School of Economics (Moscow)
March 3, 2017
Agenda
1. Introduction
2. Preliminaries
• Petri nets and their properties
3. Related Work
4. Composing Petri nets via interfaces
• General description
• Composition patterns
5. Conclusion
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 2 / 25
Introduction
Problem
• Distributed systems with several interacting components –
large-scale models
• Coordination and verification problems – too many possible
states to check
Approach
• Study a system compositionally – a system inherits
component properties
• Composition patterns for constructing system models – a
library of patterns to obtain correct system models
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 3 / 25
Petri nets
Structure
A B
B
B
A Petri net is a bipartite graph N = (P, T, F, m0, L), where:
1. P = {p1, p2, p3, ..., pn}
2. T = {t1, t2, t3, ..., tm}, P ∩ T = ∅
3. F ⊆ (P × T) ∪ (T × P)
4. m0 ⊆ P
5. L : T → {A, τ}
•t = {p ∈ P|(p, t) ∈ F}, t• = {p ∈ P|(t, p) ∈ F}, •t• = •t ∪ t•
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 4 / 25
Petri nets
Behavior and correctness
A B
B
B
A occurred
1. A transition is enabled at m iff •t ∈ m and m ∩ t• = ∅
2. A marking m is final iff ∀p ∈ m : p• = ∅
3. A marking m is dead iff it enables no transitions (deadlock),
except for a final one
4. A net N is correct iff:
• There are no deadlocks
• A final marking is reachable
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 5 / 25
Related work
Composing Petri nets by merging places, transitions [Reisig, 2013]
D
E
C
p
A
B p
D
E
CA
B p
N1 N2 Composition
• Straightforward way to compose nets
• Correctness of a composed net?
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 6 / 25
Related work
Composing Petri nets by net morphisms [Pomello et al., 2007-1014]
C D
A
B
A
B
E F
A1A
B
E F
A
C D
B
N1 N2 Composition
• Interacting nets are refinements of an abstract system model
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 7 / 25
Related work
Algebra of web services [Hamadi et al., 2003]
S1S2 S1S2
S1
S2
Sequencing Choice Concurrency
Correct
services
• Web services are correct Petri nets
• Input-output relations between interacting services
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 8 / 25
Motivating example
Causality on inner actions of interacting Petri nets
…
B
…
…
A
…
A
B
Components
Interface
A correct
Petri net
• Two components
• Observable actions A, B
• Correct behavior
Problem
How to compose nets to get:
• correct composition;
• property inheritance;
• concurrency preservation?
Solution
To adjust approach based on
morphisms to this case
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 9 / 25
Morphisms
Definition
Let Ni = (Pi, Ti, Fi, mi
0) for i = 1, 2 be two Petri nets,
Xi = Pi ∪ Ti. The ω-morphism is a map φ : X1 → X2 such that:
1. φ(P1) = P2, φ(m1
0) = m2
0.
2. ∀t1 ∈ T1 : φ(t1) ∈ T2 ⇒ φ(•t1) = •φ(t1) and
φ(t1
•) = φ(t1)•.
3. ∀t1 ∈ T1 : φ(t1) ∈ P2 ⇒ φ(•t1
•) = {φ(t1)}.
A
A’ A
B
B’
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 10 / 25
Composing Petri nets via morphisms
Step 1. Constructing canonical representations
NC is a canonical representation with respect to an interface
A
A B
A A B
B
A
A B
A
A BB
N Interface NC
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 11 / 25
Composing Petri nets via morphisms
Step 2. Defining morphisms and merging nets
C D
A
B
A
B
E F
A1A
B
E F
A
C D
B
N1 N2 Composition
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 12 / 25
Composing Petri nets via morphisms
Preservation of properties
How properties are preserved?
Let N1 and N2 be two Petri nets representing components, and N
be their composition obtained via the interface Petri net NI and
ω-morphisms as described above.
1. The Petri net N is deadlock-free, if N1, N2 and NI are
deadlock-free.
2. The Petri net N terminates properly, if N1, N2 and NI
terminates properly.
A composed net is correct iff component nets are correct
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 13 / 25
Compositional patterns
General idea
Compositional pattern is a ready-to-use instrument for modelling
and studying distributed systems with several interacting
components:
• Patterns are developed for typical workflows
• Pattern correctness is justified via net morphism usage
• Pattens can be applied without theoretical knowledge
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 14 / 25
Pattern 1: Simple causality
Problem statement
…
B
…
…
A
…
A
B
Components
Interface
A
B
Extended interface
Termination
Start
A correct
Petri net
• Extended interface is weakly bisimilar to the original one
• Preservation of concurrency
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 15 / 25
Pattern 1: Simple causality
Primary composition result
N1(S1)
A
N1(S2)
B
N2(S1)
B
N2(S2)
A
A
B
N1(S1)
A
N2(S1)
B
N1(S2)
N2(S2)
Morphisms
Composition
N1 N2
To be
removed
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 16 / 25
Pattern 1: Simple causality
Reduced composition result
N1(S1)
A
N1(S2)
B
N2(S1)
B
N2(S2)
A
A
B
N1(S1)
A
N2(S1)
B
N1(S2)
N2(S2)
Morphisms
Composition
N1 N2
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 17 / 25
Pattern 2: Extended causality
Problem statement
N1(S3)
A
N1(S4)
N1(S2)
N1(S1)
A
N2(S3)
B
N2(S4)
N2(S2)
N2(S1)
A
A
B
Components
Interface
A B
A A
Extended interface
N1 N2
Termination
Start
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 18 / 25
Pattern 2: Extended causality
Composition result and implications
N1(S3)
A
N1(S4)
N1(S2)
N1(S1)
A
N2(S3)
B
N2(S4)
N2(S2)
N2(S1)
A
Result
• Introducing additional
controlling places
• Clearly identified behavior
of components
• Component properties are
inherited by construction
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 19 / 25
Pattern 3: Conditional causality
Problem statement
N1(S3)N1(S2)
N1(S1)
A B
N1(S5) N1(S4)
N2(S1)
C
N2(S2)
A
BC
C
Components
Interface
N1
N2
Problem
2 copies of C will not allow to define
morphisms as surjective maps
Solution
Reconstruction of the interface net
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 20 / 25
Pattern 3: Conditional causality
Interface modification
A C
A C
2
1
B
3
C
4
Construction idea
1. Restrict execution of C
2. Remember execution of A
3. Restrict execution of B
4. Forbid execution of B when
A occurs
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 21 / 25
Pattern 3: Conditional causality
Composition result and implications
N1(S1)
A A
N1(S2) N1(S3)N2(S1)
A BC
N2(S2)N1(S4)
C
N1(S5)
To sum up...
Morphisms help organize connection
of inner actions of components
immediately by construction
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 22 / 25
Conclusion
• Compositional approach to modeling distributed systems
• Component relations can be defined on inner actions
• Patterns for composition (causality and its generalizations)
Future research directions
• Coverage of over relations (e.g., choice)
• Combination of patterns
• Relations on several actions
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 23 / 25
References
1. Reisig, W.: Understanding Petri nets. Springer-Verlag Berlin
Heidelberg (2013)
2. Bernardinello, L., Mangioni, E., Pomello, L.: Composition of
elementary net systems based on morphisms. CEUR Workshop
Proceedings 853, 87–101 (2012)
3. Bernardinello, L., Monticelli, E., Pomello, L.: On Preserving
Structural and Behavioural Properties by Composing Net Systems
on Interfaces. Fundamenta Informaticae 80(1-3), 31–47 (2007)
4. Pomello, L., Rozenberg, G., Simone, C.: A survey of equivalence
notions for net based systems. Advances in Petri Nets 1992 pp.
410–472 (1992)
5. Hamadi, R., Benatallah, B.: A Petri net-based model for web
service composition. Proceedings of the 14th Australasian Database
Conference 17, 191–200 (2003)
6. Murata, T.: Petri Nets: Properties, Analysis and Applications.
Proceedings of the IEEE 77(4), 541–580 (1989)
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 24 / 25
Thank you for your attention!
Compositional Process Model Synthesis
based on Interface Patterns
Roman A. Nesterov Irina A. Lomazova
ranesterov@edu.hse.ru, ilomazova@hse.ru
Laboratory of Process-Aware Information Systems
National Research University
Higher School of Economics (Moscow)
March 3, 2017
R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 25 / 25

More Related Content

What's hot (10)

PPS
Self-Assembling Hyper-heuristics: a proof of concept
German Terrazas
 
PPTX
BINARY SEARCH TREE
Usha Mahalingam
 
PDF
Resume-fangfen(company)
FEN FANG
 
PDF
A Learned Representation for Artistic Style
Mayank Agarwal
 
PPTX
Lect13
DrASSayyad
 
DOCX
StrucA final report
Graeme Ramsey
 
PDF
E018212935
IOSR Journals
 
PDF
All pair shortest path--SDN
Sarat Prasad
 
PDF
Fractional Derivatives of Some Fractional Functions and Their Applications
Associate Professor in VSB Coimbatore
 
PDF
A Run Length Smoothing-Based Algorithm for Non-Manhattan Document Segmentation
University of Bari (Italy)
 
Self-Assembling Hyper-heuristics: a proof of concept
German Terrazas
 
BINARY SEARCH TREE
Usha Mahalingam
 
Resume-fangfen(company)
FEN FANG
 
A Learned Representation for Artistic Style
Mayank Agarwal
 
Lect13
DrASSayyad
 
StrucA final report
Graeme Ramsey
 
E018212935
IOSR Journals
 
All pair shortest path--SDN
Sarat Prasad
 
Fractional Derivatives of Some Fractional Functions and Their Applications
Associate Professor in VSB Coimbatore
 
A Run Length Smoothing-Based Algorithm for Non-Manhattan Document Segmentation
University of Bari (Italy)
 

Viewers also liked (20)

PDF
TMPA-2017: Distributed Analysis of the BMC Kind: Making It Fit the Tornado Su...
Iosif Itkin
 
PDF
TMPA-2017: Vellvm - Verifying the LLVM
Iosif Itkin
 
PDF
TMPA-2017: Static Checking of Array Objects in JavaScript
Iosif Itkin
 
PDF
TMPA-2017: Unity Application Testing Automation with Appium and Image Recogni...
Iosif Itkin
 
PDF
TMPA-2017: Conference Opening
Iosif Itkin
 
PDF
TMPA-2017: Live testing distributed system fault tolerance with fault injecti...
Iosif Itkin
 
PDF
TMPA-2017: Generating Cost Aware Covering Arrays For Free
Iosif Itkin
 
PDF
TMPA-2017: 5W+1H Static Analysis Report Quality Measure
Iosif Itkin
 
PDF
TMPA-2017: Defect Report Classification in Accordance with Areas of Testing
Iosif Itkin
 
PDF
TMPA-2017: Technology and Tools for Developing Industrial Software Test Suite...
Iosif Itkin
 
PDF
TMPA-2017: Using Functional Directives to Analyze Code Complexity and Communi...
Iosif Itkin
 
PDF
TMPA-2017: A Survey on Model-Based Testing Tools for Test Case Generation
Iosif Itkin
 
PDF
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
Iosif Itkin
 
PDF
TMPA-2017: Stemming Architectural Decay in Software Systems
Iosif Itkin
 
PDF
TMPA-2017: Modeling of PLC-programs by High-level Coloured Petri Nets
Iosif Itkin
 
PDF
TMPA-2017: The Quest for Average Response Time
Iosif Itkin
 
PDF
TMPA-2017: A Survey of High-Performance Computing for Software Verification
Iosif Itkin
 
PDF
TMPA-2017: Functional Parser of Markdown Language Based on Monad Combining an...
Iosif Itkin
 
PDF
TMPA-2017: Evolutionary Algorithms in Test Generation for digital systems
Iosif Itkin
 
PDF
TMPA-2017: Predicate Abstraction Based Configurable Method for Data Race Dete...
Iosif Itkin
 
TMPA-2017: Distributed Analysis of the BMC Kind: Making It Fit the Tornado Su...
Iosif Itkin
 
TMPA-2017: Vellvm - Verifying the LLVM
Iosif Itkin
 
TMPA-2017: Static Checking of Array Objects in JavaScript
Iosif Itkin
 
TMPA-2017: Unity Application Testing Automation with Appium and Image Recogni...
Iosif Itkin
 
TMPA-2017: Conference Opening
Iosif Itkin
 
TMPA-2017: Live testing distributed system fault tolerance with fault injecti...
Iosif Itkin
 
TMPA-2017: Generating Cost Aware Covering Arrays For Free
Iosif Itkin
 
TMPA-2017: 5W+1H Static Analysis Report Quality Measure
Iosif Itkin
 
TMPA-2017: Defect Report Classification in Accordance with Areas of Testing
Iosif Itkin
 
TMPA-2017: Technology and Tools for Developing Industrial Software Test Suite...
Iosif Itkin
 
TMPA-2017: Using Functional Directives to Analyze Code Complexity and Communi...
Iosif Itkin
 
TMPA-2017: A Survey on Model-Based Testing Tools for Test Case Generation
Iosif Itkin
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
Iosif Itkin
 
TMPA-2017: Stemming Architectural Decay in Software Systems
Iosif Itkin
 
TMPA-2017: Modeling of PLC-programs by High-level Coloured Petri Nets
Iosif Itkin
 
TMPA-2017: The Quest for Average Response Time
Iosif Itkin
 
TMPA-2017: A Survey of High-Performance Computing for Software Verification
Iosif Itkin
 
TMPA-2017: Functional Parser of Markdown Language Based on Monad Combining an...
Iosif Itkin
 
TMPA-2017: Evolutionary Algorithms in Test Generation for digital systems
Iosif Itkin
 
TMPA-2017: Predicate Abstraction Based Configurable Method for Data Race Dete...
Iosif Itkin
 
Ad

Similar to TMPA-2017: Compositional Process Model Synthesis based on Interface Patterns (20)

PPT
INTRODUCTION TO PETRINETS, PROCESS INVOVLED
Mani Deepak Choudhry
 
PPT
petri.ppt
ssuser49298c
 
PPTX
all about petri netis model and simulation
AssadLeo1
 
PDF
1663 1669
Editor IJARCET
 
PDF
1663 1669
Editor IJARCET
 
PPT
petri.pptSDGHFJKLDTSRDTYFKHGDSDHFJKJHDSAFGHKFDSASDFJGHKHJG
dgfs55437
 
PPT
petri-nets: definition and its application
nicholas507559
 
PDF
CS-438 WK13-15LEC25-30 Computer System Modeling.pdf
MUHAMMADUSMANYOUSUF1
 
PDF
Conceptual Fixture Design Method Based On Petri Net
IJRES Journal
 
PPTX
Petri nets by Barkatllah
Barkat Ullah
 
PPTX
Petri Nets: Properties, Analysis and Applications
Dr. Mohamed Torky
 
PDF
Colored petri nets theory and applications
Abu Hussein
 
PDF
USE OF ADAPTIVE COLOURED PETRI NETWORK IN SUPPORT OF DECISIONMAKING
csandit
 
PDF
Cb32492496
IJERA Editor
 
PDF
Petri Net.pdf
Prachi Kushwaha
 
PDF
CHECKING BEHAVIOURAL COMPATIBILITY IN SERVICE COMPOSITION WITH GRAPH TRANSFOR...
csandit
 
PPT
Continuous Systems To Discrete Event Systems
ahmad bassiouny
 
PDF
Pragmatic model checking: from theory to implementations
Universität Rostock
 
PDF
Modeling and Simulation lecture1.pdf
perfix1
 
PPT
Using Petri Net Invariants in State Space Construction
Universität Rostock
 
INTRODUCTION TO PETRINETS, PROCESS INVOVLED
Mani Deepak Choudhry
 
petri.ppt
ssuser49298c
 
all about petri netis model and simulation
AssadLeo1
 
1663 1669
Editor IJARCET
 
1663 1669
Editor IJARCET
 
petri.pptSDGHFJKLDTSRDTYFKHGDSDHFJKJHDSAFGHKFDSASDFJGHKHJG
dgfs55437
 
petri-nets: definition and its application
nicholas507559
 
CS-438 WK13-15LEC25-30 Computer System Modeling.pdf
MUHAMMADUSMANYOUSUF1
 
Conceptual Fixture Design Method Based On Petri Net
IJRES Journal
 
Petri nets by Barkatllah
Barkat Ullah
 
Petri Nets: Properties, Analysis and Applications
Dr. Mohamed Torky
 
Colored petri nets theory and applications
Abu Hussein
 
USE OF ADAPTIVE COLOURED PETRI NETWORK IN SUPPORT OF DECISIONMAKING
csandit
 
Cb32492496
IJERA Editor
 
Petri Net.pdf
Prachi Kushwaha
 
CHECKING BEHAVIOURAL COMPATIBILITY IN SERVICE COMPOSITION WITH GRAPH TRANSFOR...
csandit
 
Continuous Systems To Discrete Event Systems
ahmad bassiouny
 
Pragmatic model checking: from theory to implementations
Universität Rostock
 
Modeling and Simulation lecture1.pdf
perfix1
 
Using Petri Net Invariants in State Space Construction
Universität Rostock
 
Ad

More from Iosif Itkin (20)

PDF
Foundations of Software Testing Lecture 4
Iosif Itkin
 
PPTX
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
Iosif Itkin
 
PDF
Exactpro FinTech Webinar - Global Exchanges Test Oracles
Iosif Itkin
 
PDF
Exactpro FinTech Webinar - Global Exchanges FIX Protocol
Iosif Itkin
 
PDF
Operational Resilience in Financial Market Infrastructures
Iosif Itkin
 
PDF
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
Iosif Itkin
 
PDF
Testing the Intelligence of your AI
Iosif Itkin
 
PDF
EXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
Iosif Itkin
 
PDF
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
Iosif Itkin
 
PPTX
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
Iosif Itkin
 
PDF
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
Iosif Itkin
 
PDF
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
Iosif Itkin
 
PPTX
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
Iosif Itkin
 
PDF
QA Community Saratov: Past, Present, Future (2019-02-08)
Iosif Itkin
 
PDF
Machine Learning and RoboCop Testing
Iosif Itkin
 
PDF
Behaviour Driven Development: Oltre i limiti del possibile
Iosif Itkin
 
PDF
2018 - Exactpro Year in Review
Iosif Itkin
 
PPTX
Exactpro Discussion about Joy and Strategy
Iosif Itkin
 
PPTX
FIX EMEA Conference 2018 - Post Trade Software Testing Challenges
Iosif Itkin
 
PDF
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
Iosif Itkin
 
Foundations of Software Testing Lecture 4
Iosif Itkin
 
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
Iosif Itkin
 
Exactpro FinTech Webinar - Global Exchanges Test Oracles
Iosif Itkin
 
Exactpro FinTech Webinar - Global Exchanges FIX Protocol
Iosif Itkin
 
Operational Resilience in Financial Market Infrastructures
Iosif Itkin
 
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
Iosif Itkin
 
Testing the Intelligence of your AI
Iosif Itkin
 
EXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
Iosif Itkin
 
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
Iosif Itkin
 
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
Iosif Itkin
 
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
Iosif Itkin
 
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
Iosif Itkin
 
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
Iosif Itkin
 
QA Community Saratov: Past, Present, Future (2019-02-08)
Iosif Itkin
 
Machine Learning and RoboCop Testing
Iosif Itkin
 
Behaviour Driven Development: Oltre i limiti del possibile
Iosif Itkin
 
2018 - Exactpro Year in Review
Iosif Itkin
 
Exactpro Discussion about Joy and Strategy
Iosif Itkin
 
FIX EMEA Conference 2018 - Post Trade Software Testing Challenges
Iosif Itkin
 
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
Iosif Itkin
 

Recently uploaded (20)

PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
The Growing Value and Application of FME & GenAI
Safe Software
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
PPTX
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PDF
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Kubernetes - Architecture & Components.pdf
geethak285
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
The Growing Value and Application of FME & GenAI
Safe Software
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Python Conference Singapore - 19 Jun 2025
ninefyi
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 

TMPA-2017: Compositional Process Model Synthesis based on Interface Patterns

  • 1. Compositional Process Model Synthesis based on Interface Patterns TMPA-2017 Roman A. Nesterov Irina A. Lomazova [email protected], [email protected] Laboratory of Process-Aware Information Systems National Research University Higher School of Economics (Moscow) March 3, 2017
  • 2. Agenda 1. Introduction 2. Preliminaries • Petri nets and their properties 3. Related Work 4. Composing Petri nets via interfaces • General description • Composition patterns 5. Conclusion R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 2 / 25
  • 3. Introduction Problem • Distributed systems with several interacting components – large-scale models • Coordination and verification problems – too many possible states to check Approach • Study a system compositionally – a system inherits component properties • Composition patterns for constructing system models – a library of patterns to obtain correct system models R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 3 / 25
  • 4. Petri nets Structure A B B B A Petri net is a bipartite graph N = (P, T, F, m0, L), where: 1. P = {p1, p2, p3, ..., pn} 2. T = {t1, t2, t3, ..., tm}, P ∩ T = ∅ 3. F ⊆ (P × T) ∪ (T × P) 4. m0 ⊆ P 5. L : T → {A, τ} •t = {p ∈ P|(p, t) ∈ F}, t• = {p ∈ P|(t, p) ∈ F}, •t• = •t ∪ t• R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 4 / 25
  • 5. Petri nets Behavior and correctness A B B B A occurred 1. A transition is enabled at m iff •t ∈ m and m ∩ t• = ∅ 2. A marking m is final iff ∀p ∈ m : p• = ∅ 3. A marking m is dead iff it enables no transitions (deadlock), except for a final one 4. A net N is correct iff: • There are no deadlocks • A final marking is reachable R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 5 / 25
  • 6. Related work Composing Petri nets by merging places, transitions [Reisig, 2013] D E C p A B p D E CA B p N1 N2 Composition • Straightforward way to compose nets • Correctness of a composed net? R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 6 / 25
  • 7. Related work Composing Petri nets by net morphisms [Pomello et al., 2007-1014] C D A B A B E F A1A B E F A C D B N1 N2 Composition • Interacting nets are refinements of an abstract system model R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 7 / 25
  • 8. Related work Algebra of web services [Hamadi et al., 2003] S1S2 S1S2 S1 S2 Sequencing Choice Concurrency Correct services • Web services are correct Petri nets • Input-output relations between interacting services R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 8 / 25
  • 9. Motivating example Causality on inner actions of interacting Petri nets … B … … A … A B Components Interface A correct Petri net • Two components • Observable actions A, B • Correct behavior Problem How to compose nets to get: • correct composition; • property inheritance; • concurrency preservation? Solution To adjust approach based on morphisms to this case R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 9 / 25
  • 10. Morphisms Definition Let Ni = (Pi, Ti, Fi, mi 0) for i = 1, 2 be two Petri nets, Xi = Pi ∪ Ti. The ω-morphism is a map φ : X1 → X2 such that: 1. φ(P1) = P2, φ(m1 0) = m2 0. 2. ∀t1 ∈ T1 : φ(t1) ∈ T2 ⇒ φ(•t1) = •φ(t1) and φ(t1 •) = φ(t1)•. 3. ∀t1 ∈ T1 : φ(t1) ∈ P2 ⇒ φ(•t1 •) = {φ(t1)}. A A’ A B B’ R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 10 / 25
  • 11. Composing Petri nets via morphisms Step 1. Constructing canonical representations NC is a canonical representation with respect to an interface A A B A A B B A A B A A BB N Interface NC R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 11 / 25
  • 12. Composing Petri nets via morphisms Step 2. Defining morphisms and merging nets C D A B A B E F A1A B E F A C D B N1 N2 Composition R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 12 / 25
  • 13. Composing Petri nets via morphisms Preservation of properties How properties are preserved? Let N1 and N2 be two Petri nets representing components, and N be their composition obtained via the interface Petri net NI and ω-morphisms as described above. 1. The Petri net N is deadlock-free, if N1, N2 and NI are deadlock-free. 2. The Petri net N terminates properly, if N1, N2 and NI terminates properly. A composed net is correct iff component nets are correct R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 13 / 25
  • 14. Compositional patterns General idea Compositional pattern is a ready-to-use instrument for modelling and studying distributed systems with several interacting components: • Patterns are developed for typical workflows • Pattern correctness is justified via net morphism usage • Pattens can be applied without theoretical knowledge R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 14 / 25
  • 15. Pattern 1: Simple causality Problem statement … B … … A … A B Components Interface A B Extended interface Termination Start A correct Petri net • Extended interface is weakly bisimilar to the original one • Preservation of concurrency R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 15 / 25
  • 16. Pattern 1: Simple causality Primary composition result N1(S1) A N1(S2) B N2(S1) B N2(S2) A A B N1(S1) A N2(S1) B N1(S2) N2(S2) Morphisms Composition N1 N2 To be removed R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 16 / 25
  • 17. Pattern 1: Simple causality Reduced composition result N1(S1) A N1(S2) B N2(S1) B N2(S2) A A B N1(S1) A N2(S1) B N1(S2) N2(S2) Morphisms Composition N1 N2 R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 17 / 25
  • 18. Pattern 2: Extended causality Problem statement N1(S3) A N1(S4) N1(S2) N1(S1) A N2(S3) B N2(S4) N2(S2) N2(S1) A A B Components Interface A B A A Extended interface N1 N2 Termination Start R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 18 / 25
  • 19. Pattern 2: Extended causality Composition result and implications N1(S3) A N1(S4) N1(S2) N1(S1) A N2(S3) B N2(S4) N2(S2) N2(S1) A Result • Introducing additional controlling places • Clearly identified behavior of components • Component properties are inherited by construction R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 19 / 25
  • 20. Pattern 3: Conditional causality Problem statement N1(S3)N1(S2) N1(S1) A B N1(S5) N1(S4) N2(S1) C N2(S2) A BC C Components Interface N1 N2 Problem 2 copies of C will not allow to define morphisms as surjective maps Solution Reconstruction of the interface net R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 20 / 25
  • 21. Pattern 3: Conditional causality Interface modification A C A C 2 1 B 3 C 4 Construction idea 1. Restrict execution of C 2. Remember execution of A 3. Restrict execution of B 4. Forbid execution of B when A occurs R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 21 / 25
  • 22. Pattern 3: Conditional causality Composition result and implications N1(S1) A A N1(S2) N1(S3)N2(S1) A BC N2(S2)N1(S4) C N1(S5) To sum up... Morphisms help organize connection of inner actions of components immediately by construction R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 22 / 25
  • 23. Conclusion • Compositional approach to modeling distributed systems • Component relations can be defined on inner actions • Patterns for composition (causality and its generalizations) Future research directions • Coverage of over relations (e.g., choice) • Combination of patterns • Relations on several actions R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 23 / 25
  • 24. References 1. Reisig, W.: Understanding Petri nets. Springer-Verlag Berlin Heidelberg (2013) 2. Bernardinello, L., Mangioni, E., Pomello, L.: Composition of elementary net systems based on morphisms. CEUR Workshop Proceedings 853, 87–101 (2012) 3. Bernardinello, L., Monticelli, E., Pomello, L.: On Preserving Structural and Behavioural Properties by Composing Net Systems on Interfaces. Fundamenta Informaticae 80(1-3), 31–47 (2007) 4. Pomello, L., Rozenberg, G., Simone, C.: A survey of equivalence notions for net based systems. Advances in Petri Nets 1992 pp. 410–472 (1992) 5. Hamadi, R., Benatallah, B.: A Petri net-based model for web service composition. Proceedings of the 14th Australasian Database Conference 17, 191–200 (2003) 6. Murata, T.: Petri Nets: Properties, Analysis and Applications. Proceedings of the IEEE 77(4), 541–580 (1989) R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 24 / 25
  • 25. Thank you for your attention! Compositional Process Model Synthesis based on Interface Patterns Roman A. Nesterov Irina A. Lomazova [email protected], [email protected] Laboratory of Process-Aware Information Systems National Research University Higher School of Economics (Moscow) March 3, 2017 R. Nesterov, I. Lomazova Higher School of Economics March 3, 2017 25 / 25