Transforming Communicating Sequential Processes to Petri Nets

被引:0
|
作者
Llorens, M. [1 ]
Oliver, J. [1 ]
Silva, J. [1 ]
Tamarit, S. [1 ]
机构
[1] Univ Politecn Valencia, Dept Informat Syst & Computat, E-46022 Valencia, Spain
关键词
concurrent programming; communicating sequential processes; Petri nets; semantics; traces; implementation; CSP; SPECIFICATION; PROGRAMS; SYSTEMS;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
CSP and Petri nets are two of the most important formalisms used to specify, model, verify and simulate complex concurrent systems. Both models have been successfully used in the industry and there are many verification, simulation and analysis techniques for them. Surprisingly, there does not exist a transformation that allows to convert a CSP specification into an equivalent Petri net (i.e., the language of external events produced is exactly the same). In this paper we formally define a fully automatic transformation that translates a CSP specification into an equivalent Petri net. This is the first approach that generates the Petri net as a side-effect of an in-strumented semantics. Our transformation relies on the definition of an operational semantics for CSP that extends the standard semantics with the ability of producing a Petri net that simulates the execution performed by the semantics. This means that, given a computation with the extended semantics, it produces the same result as the standard semantics, but it also produces as a side-effect the Petri net associated to the performed computation. The main advantage of this new approach is that the Petri net generated is very similar (structurally) to the given CSP specification. Finally, the algorithm is implemented in a tool called CSP2PN
引用
收藏
页数:16
相关论文
共 50 条
  • [1] PERFORMANCE EVALUATION OF COMMUNICATING SEQUENTIAL PROCESSES (CSP) USING PETRI NETS
    MAGOTT, J
    IEE PROCEEDINGS-E COMPUTERS AND DIGITAL TECHNIQUES, 1992, 139 (03): : 237 - 241
  • [2] Algorithm for Transforming Models of Business Processes into Monochrome Petri Nets
    Dorrer, M. G.
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2011, 45 (07) : 460 - 468
  • [3] Algebraically structured colored petri nets to model sequential processes
    Bourcerie, M
    Morel, JY
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART B-CYBERNETICS, 1997, 27 (04): : 681 - 686
  • [4] Transforming XPDL to Petri nets
    Zha, Haiping
    Yang, Yun
    Wang, Jianmin
    Wen, Lijie
    BUSINESS PROCESS MANAGEMENT WORKSHOPS, 2008, 4928 : 197 - +
  • [5] Transforming BPEL to Petri nets
    Hinz, S
    Schmidt, K
    Stahl, C
    BUSINESS PROCESS MANAGEMENT, PROCEEDINGS, 2005, 3649 : 220 - 235
  • [6] Transforming Time Petri Nets into Heterogeneous Petri Nets for Hybrid System Monitoring
    Hatte, Leonie
    Ribot, Pauline
    Chanthery, Elodie
    IFAC PAPERSONLINE, 2024, 58 (04): : 646 - 651
  • [7] Catalytic and communicating Petri nets are Turing complete
    Ciobanu, Gabriel
    Pinna, G. Michele
    INFORMATION AND COMPUTATION, 2014, 239 : 55 - 70
  • [8] COMBINED USE OF FINITE-STATE MACHINES AND PETRI NETS FOR MODELING COMMUNICATING PROCESSES
    PATTAVINA, A
    TRIGILA, S
    ELECTRONICS LETTERS, 1984, 20 (22) : 915 - 916
  • [9] THE SEQUENTIAL IMPLEMENTATION OF SAFE PETRI NETS
    ZAKREVSKII, AD
    DOKLADY AKADEMII NAUK BELARUSI, 1986, 30 (02): : 120 - 123
  • [10] Petri nets and regular processes
    Jancar, P
    Esparza, J
    Moller, F
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1999, 59 (03) : 476 - 503