<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Master Channel Places for Communication Structured Acyclic Nets</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mohammed Alahmadi</string-name>
          <email>m.s.h.alahmadi2@ncl.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computing, Newcastle University 1 Science Square</institution>
          ,
          <addr-line>Newcastle upon Tyne, NE4 5TG</addr-line>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
      </contrib-group>
      <fpage>233</fpage>
      <lpage>240</lpage>
      <abstract>
        <p>We propose an extension of communication structured acyclic nets (CSA-nets) based on coloured tokens. CSA-nets provide a way for representing relationships between sets of acyclic nets. Relationships between the component acyclic nets are represented, in particular, by channel places. For large CSA-nets, the number of channel places can make the model difficult to visualise and analyse. To address this, we propose to apply mechanisms found in the domain of coloured Petri nets, introducing master channel places which collapse possibly many channel places into a single node. Such places could help in the visualisation, comprehension and analysis of CSA-nets.</p>
      </abstract>
      <kwd-group>
        <kwd>structured occurrence net</kwd>
        <kwd>structured acyclic net</kwd>
        <kwd>coloured net</kwd>
        <kwd>channel place</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        A complex evolving system (CES) can be viewed as a system of subsystems that are
concurrently interacting with each other. Also, such a system is often characterised by
a dynamically changing structure and features as well as intricate and large behavioural
patterns. Structured occurrence nets (SONs) [
        <xref ref-type="bibr" rid="ref4 ref6 ref7">4,6,7</xref>
        ] are a formalism to represent
behaviours of CES systems using various relationships.
      </p>
      <p>
        Communication structured acyclic nets (CSA-nets) are an extension of SONs. They
have the ability to model behaviours of component subsystems using acyclic nets (rather
than occurrence nets) as well as synchronous and asynchronous communications
between component subsystems through channel places. A major application area of
CSAnets are (cyber)crime investigations that have gained a significant interest in recent years
and have already been discussed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] in the context of the SON model.
      </p>
      <p>
        What may hinder effective criminal investigations is the complexity and large
volume of information which, in turn, presents a major challenge to the investigators in
terms of both interpreting the crime and making the right decision. Bearing in mind
that accurate criminal investigation process not only helps in interpreting the crimes [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ],
Copyright © 2021 for this paper by its authors. Use permitted under Creative Commons
License Attribution 4.0 International (CC BY 4.0).
but also can offer suggestions on how to prevent them [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], improving visualisation and
analysis of CSA-nets is an important issue.
      </p>
      <p>Criminal investigations are difficult to capture formally due to a high number of the
various types of information, resulting from the different sources of information being
involved, that need to be interpreted. As a result, criminal investigations are perceived
as complicated tasks presenting a major challenge to investigators. Despite the fact that
such a huge quantity of information is of high importance, its volume may distract
the investigator leading to inaccurate/delayed decisions. Accurate visualisation of such
complicated information would result in a better understanding of the criminal cases. In
particular, it would help the investigators to detect the causality and dynamic behaviours
involving the events which, in turn, would help to analyse and detect crimes.</p>
      <p>
        The papers [
        <xref ref-type="bibr" rid="ref1 ref2 ref9">1,2,9</xref>
        ] recommend large-scale investigations to be supported by formal
methods and tools. Unfortunately, there is a shortage of suitable tools that can be used.
The foundation of the present work are CSA-nets which are a new framework that can
be used for the modelling of CES systems and can be modified for handling large-scale
investigations.
      </p>
      <p>In this paper, we propose to improve the visualisation and analyses of CSA-nets
by introducing the concept of master channel places which add folding mechanism to
otherwise plain CSA-nets. We present our ideas with help of intuitive examples, leaving
out their formalisation and the associated proofs.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Communication structured acyclic nets (CSA-nets)</title>
      <p>
        Structured occurrence nets (SONs) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] are a Petri net based model for the representation
of the execution behavior of complex systems. They are an extension of the occurrence
nets which represent the causality and concurrency information relating to a single
system execution [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        In general, a CSA-net consists of several acyclic nets linked through different types
of formal relationships. They are intended to capture information about: (i) the
interaction between actual/excepted behaviors; and (ii) the collected evidence to be analysed.
CSA-nets can represent different actions of dynamic evolving systems [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Each
component acyclic net represents a local view of the system’s behaviour which is, in general,
easy to interpret. The hurdle is that an analogous representation at the global system
level leads to a complex visualisations, especially in evolving systems. This decreases
the system interpretability.
      </p>
      <p>A particular formal model we are using in this paper are the communication
structured acyclic nets (CSA-nets), where the individual acyclic nets are linked by channel
places capable of modelling both asynchronous and synchronous communication
between different subsystems. In other words, the events are used to link the acyclic nets
with each other through the channel . Figure 1(a) shows an example of CSA-net with
two ‘horizontal’ occurrence nets (the upper one exhibiting concurrency) connected by
two channel places, q1 and q2. The idea is that these places establish communication
links. When the channel places are used asynchronously, the CSO-net can generate, e.g.,
the step sequence fdgfa; bgfe; cg. In addition, when they are used synchronously, the
step sequence fdgfa; b; cgfeg can be executed. That is, there is an instantaneous
transfer of tokens generated by a and b to transition c. Such a feature can, in particular, be
used to model synchronous communication between the component occurrence nets.</p>
      <p>In this paper, we are concerned with Communication Structured Acyclic Nets
(CSAnets) which generalise CSO-nets by using (safe) acyclic nets (with forward and
backward conflicts) instead of (conflict-free) occurrence nets. Figure 2(a) shows an example
of CSA-net which, intuitively, combines two executions, one involving transitions a and
c, and the other involving b, d, c and e. CSA-nets support a robust and effective
structure that reduces complexity when compared to other representations, however, they
lack the ability to visualise large designs at a time. More precisely, only one token can
be represented in one channel place at any time. So, the idea behind this work is to
improve and extend CSA-nets to be able to better visualise bigger nets, and so enhance
the model visualisation and analysis.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Master channel places</title>
      <p>In our ongoing work, we propose to allow channel places to represent more than one
token at a time. Figures 1(b) and 2(b) respectively show the CSO-net of Figure 1(a)
and CSA-net of Figure 2(a) where the two channel places were replaced by single place.
Moreover, we added annotations on the arcs adjacent to the new places, and adjusted the
execution rules. What is important to emphasize is that the annotations are sets of the
original channel places (the curly brackets of sets are not shown). The execution rules
follow the standard idea of Coloured Petri Nets which ensure that the tokens ‘flowing’
along the arcs match the annotations (the tokens in master channel places are simply
the original channel places).</p>
      <p>Therefore, we propose to introduce master channel places (MCPs), which
introduce conciseness to CSA-net by collapsing (folding) channel places into master channel
places. These master channel places allow representing more than one token and allow
the component acyclic nets to communicate through a unique channel place. Inside a
master channel place, there will be a set of tokens represented by a unique colours. A
specific token will appear in the master channel place without conflicting with other
tokens in each execution since a master channel place is colour-safe due to the fact that
the original CSA-net was safe. This enhances SON visualisation contributing to a more
readable and understandable model.
master channel place
q1
q2</p>
      <p>q3
c15
e13
c16
e14
c17
e15</p>
      <p>c18
c19
e16
c20
e17
e18</p>
      <p>c22</p>
    </sec>
    <sec id="sec-4">
      <title>Master channel places with variable annotations</title>
      <p>So far we discussed an extension to coloured master channel places which do not affect
the structure of the component acyclic nets. This has a positive effect on visualisation
and the size of the model under investigation. However, the coloured net aspect we
have introduced can be used to introduce more concise representation in the component
acyclic nets as well without losing a highly intuitive acyclic net representation of the
plain acyclic/occurrence nets. In particular, by the same mechanism we can collapse
(fold) a set of transitions into a parameterised one. An initial idea is illustrated in
Figure 5, where we use the coloured net mechanism to collapse two original transitions
into a parameterised one. This uses typed channel place variables to achieve a desired
effect through passing variable to collapsed transition. This process will increase
comprehension and make larger systems under investigation easier to handle.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>
        This paper proposed an extension of the Communication Structured Acyclic Nets
(CSAnets) based on multi-coloured tokens by introducing master channel places which
collapse many channel places into a single node. Such extension contributes positively to
a better visualisation while optimising the model size. The ongoing work is focused
on both the formalization of the proposed idea and the development of algorithms for
(semi)automatic construction and placement of master channel places, extending the
coloured net approach to the component acyclic nets without losing the intuitive
appeal of causality based representation they convey, and implementing the new type of
CSA-nets in the SONCRAFT tool [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
g[x]
c
c
Acknowledgement
I would like to acknowledge financial support provided by University of Jeddah. Also, I
would like to thank the reviewers for their insightful comments on the submitted paper.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Talal</given-names>
            <surname>Alharbi</surname>
          </string-name>
          and
          <string-name>
            <given-names>Maciej</given-names>
            <surname>Koutny</surname>
          </string-name>
          .
          <article-title>Domain name system (dns) tunnelling detection using structured occurrence nets (sons)</article-title>
          .
          <source>In Proceedings of the International Workshop on Petri Nets and Software Engineering (PNSE</source>
          <year>2019</year>
          ). Newcastle University,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Chris</given-names>
            <surname>Bogen</surname>
          </string-name>
          and
          <string-name>
            <given-names>David</given-names>
            <surname>Dampier</surname>
          </string-name>
          .
          <article-title>Preparing for large-scale investigations with case domain modeling</article-title>
          .
          <source>In Refereed Proceedings of the 5th Annual Digital Forensic Research Workshop</source>
          , DFRWS 2005, Astor Crowne Plaza, New Orleans, Louisiana, USA,
          <year>August</year>
          17-
          <issue>19</issue>
          ,
          <year>2005</year>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Derek</surname>
            <given-names>T</given-names>
          </string-name>
          <string-name>
            <surname>Hughes</surname>
          </string-name>
          .
          <article-title>Smartfiles-ict innovation in complex criminal investigations</article-title>
          .
          <source>International Journal of Innovative Computing</source>
          ,
          <volume>5</volume>
          (
          <issue>1</issue>
          ),
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Maciej</given-names>
            <surname>Koutny</surname>
          </string-name>
          and
          <string-name>
            <given-names>Brian</given-names>
            <surname>Randell</surname>
          </string-name>
          .
          <article-title>Structured occurrence nets: A formalism for aiding system failure prevention and analysis techniques</article-title>
          .
          <source>Fundam. Informaticae</source>
          ,
          <volume>97</volume>
          (
          <issue>1-2</issue>
          ):
          <fpage>41</fpage>
          -
          <lpage>91</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Bowen</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Maciej</given-names>
            <surname>Koutny</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Brian</given-names>
            <surname>Randell</surname>
          </string-name>
          .
          <article-title>Soncraft: A tool for construction, simulation and verification of structured occurrence nets</article-title>
          .
          <source>School of Computing Science Technical Report Series</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Brian</given-names>
            <surname>Randell</surname>
          </string-name>
          .
          <article-title>Occurrence nets then and now: the path to structured occurrence nets</article-title>
          .
          <source>In International Conference on Application and Theory of Petri Nets and Concurrency</source>
          , pages
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Brian</given-names>
            <surname>Randell</surname>
          </string-name>
          and
          <string-name>
            <given-names>Maciej</given-names>
            <surname>Koutny</surname>
          </string-name>
          . Failures:
          <article-title>Their definition, modelling and analysis</article-title>
          .
          <source>In International Colloquium on Theoretical Aspects of Computing</source>
          , pages
          <fpage>260</fpage>
          -
          <lpage>274</lpage>
          . Springer,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Brian</given-names>
            <surname>Randell</surname>
          </string-name>
          and
          <string-name>
            <given-names>Maciej</given-names>
            <surname>Koutny</surname>
          </string-name>
          .
          <article-title>Structured occurrence nets: Incomplete, contradictory and uncertain failure evidence</article-title>
          .
          <source>School of Computing Science Technical Report Series</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Prajakta</given-names>
            <surname>Yerpude</surname>
          </string-name>
          .
          <article-title>Predictive modelling of crime data set using data mining</article-title>
          .
          <source>International Journal of Data Mining &amp; Knowledge Management Process (IJDKP)</source>
          Vol,
          <volume>7</volume>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>