<!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>Timeout Interaction and Migration in Distributed Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Gabriel Ciobanu</string-name>
          <email>gabriel@info.uaic.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Romanian Academy, Institute of Computer Science</institution>
          ,
          <addr-line>Ias ̧i</addr-line>
          ,
          <country country="RO">Romania</country>
        </aff>
      </contrib-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        We have introduced in
        <xref ref-type="bibr" rid="ref3 ref6">Ciobanu and Koutny (2008)</xref>
        a rather simple and expressive formalism called
TIMO as a simplifie version of timed distributed
π-calculus
        <xref ref-type="bibr" rid="ref9">Ciobanu and Prisacariu (2006)</xref>
        which
is an extension of distributed π-calculus Hennessy
(2007). TIMO is a process calculus with explicit
migration allowing the use of timers for controlling
process mobility and interaction. Migration involves
several explicit locations. Each location has a local
clock, modelling distributed systems in a more
accurate way. Timing constraints for migration allow
to specify a temporal timeout after which a process
must move to another location. Two processes may
communicate only if they are present at the same
location. A timer denoted by Δ3 associated to a
migration action goΔ3work indicates that the process
moves to location work after at most 3 time units.
It is also possible to indicate a deadline for a
communication over a channel; if a communication
action does not happen before this deadline, the
process gives up and switches its operation to an
alternative process. E.g., a timer Δ5 associated to
an output action aΔ5!hvi makes the channel available
for communication only for a period of 5 time units.
Considering suitable data sets including a set Loc
of locations, a set Chan of communication channels
and a set Id of process identifier , the syntax of
TIMO is presented in Table 1.
      </p>
      <p>
        Using TIMO , we can specify and analyse complex
timing systems in a new and intuitive way. Aiming
to bridge the gap between the existing theoretical
approach of process calculi and forthcoming realistic
programming languages for distributed systems,
TIMO represents in several aspects a prototyping
language for multi-agent systems featuring mobility
and local interaction. Starting with a firs version
proposed in
        <xref ref-type="bibr" rid="ref3 ref6">Ciobanu and Koutny (2008)</xref>
        , several
variants were developed during the last years. We
mention here the access permissions given by a type
system in perTIMO
        <xref ref-type="bibr" rid="ref7 ref8">Ciobanu and Koutny (2011</xref>
        a),
as well as a probabilistic extension pTIMO
        <xref ref-type="bibr" rid="ref10 ref11">Ciobanu
and Rotaru (2013)</xref>
        . Inspired by TIMO , a fl xible
software platform was introduced in
        <xref ref-type="bibr" rid="ref4">Ciobanu and
Juravle (2009</xref>
        , 2012) to support the specificatio
of agents allowing timed migration in a distributed
environment.
      </p>
      <p>
        In terms of verification interesting properties
described by TIMO regarding could be analysed and
checked. The properties of distributed systems
described by TIMO refer to process migration, time
constraints, bounded liveness and optimal reachability
        <xref ref-type="bibr" rid="ref2">Aman et. all (2012</xref>
        );
        <xref ref-type="bibr" rid="ref7 ref8">Ciobanu and Koutny (2011</xref>
        b).
A verificatio tool called TIMO@PAT
        <xref ref-type="bibr" rid="ref10 ref11">Ciobanu and
Zheng (2013)</xref>
        was developed by using Process
Analysis Toolkit (PAT), an extensible platform for
model checkers. A formal relationship between
aΔlt ?(~u:X~ ) then P else P ′ p
goΔlt l then P p
P | P ′ p
0 p
id(~v)
sP
L ::= l[[P ]]
N ::=
      </p>
      <p>
        L p L | N
(input)
(parallel)
(definition
rTIMO and timed automata presented in
        <xref ref-type="bibr" rid="ref1">Aman and
Ciobanu (2013)</xref>
        allows the use of model checking
capabilities provided by the well-known verificatio
tool UPPAAL . A probabilistic temporal logic called
PLTM was introduced in
        <xref ref-type="bibr" rid="ref10 ref11">Ciobanu and Rotaru (2013)</xref>
        to verify complex probabilistic properties making
explicit reference to specifi locations, temporal
constraints over local clocks and multisets of actions.
Acknowledgements. The work was supported by
a grant of the Romanian National Authority for
Scientifi Research, project
PN-II-ID-PCE-2011-30919.
      </p>
      <p>Hennessy, M. (2007) A distributed π-calculus.</p>
      <p>Cambridge University Press.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Aman</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          (
          <year>2013</year>
          )
          <article-title>Real-Time Migration Properties of rTIMO Verifie in UPPAAL</article-title>
          . In Hierons, R.,
          <string-name>
            <surname>Merayo</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Bravetti</surname>
          </string-name>
          , M. (Eds.),
          <source>SEFM 2013. Lecture Notes in Computer Science</source>
          <volume>8137</volume>
          ,
          <fpage>31</fpage>
          -
          <lpage>45</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Aman</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Koutny</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>Behavioural Equivalences over Migrating Processes with Timers</article-title>
          . In Giese, H. and
          <string-name>
            <surname>Rosu</surname>
          </string-name>
          , G. (Eds.)
          <source>FMOODS/FORTE 2012, Lecture Notes in Computer Science</source>
          <volume>7273</volume>
          ,
          <fpage>52</fpage>
          -
          <lpage>66</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          (
          <year>2008</year>
          )
          <article-title>Behaviour Equivalences in Timed Distributed π-Calculus</article-title>
          . In Wirsing, M.,
          <string-name>
            <surname>Banaˆtre</surname>
            ,
            <given-names>J.-P.</given-names>
          </string-name>
          , Ho¨lzl, M. and
          <string-name>
            <surname>Rauschmayer</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          . (Eds.),
          <source>Lecture Notes in Computer Science</source>
          <volume>5380</volume>
          ,
          <fpage>190</fpage>
          -
          <lpage>208</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Juravle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2009</year>
          )
          <article-title>A Software Platform for Timed Mobility and Timed Interaction</article-title>
          . In
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lopes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Poetzsch-Heffter</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          . (Eds.)
          <source>FMOODS/FORTE 2009, Lecture Notes in Computer Science</source>
          <volume>5522</volume>
          ,
          <fpage>106</fpage>
          -
          <lpage>121</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Juravle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>Flexible Software Architecture and Language for Mobile Agents</article-title>
          .
          <source>Concurrency and Computation: Practice and Experience24</source>
          ,
          <fpage>559</fpage>
          -
          <lpage>571</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Koutny</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2008</year>
          )
          <article-title>Modelling and Verificatio of Timed Interaction and Migration</article-title>
          . In Fiadeiro,
          <string-name>
            <given-names>J.L.</given-names>
            ,
            <surname>Inverardi</surname>
          </string-name>
          , P. (Eds.)
          <source>FASE 2008, Lecture Notes in Computer Science</source>
          <volume>4961</volume>
          ,
          <fpage>215</fpage>
          -
          <lpage>229</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Koutny</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>Timed Migration and Interaction With Access Permissions</article-title>
          . In Butler,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Schulte</surname>
          </string-name>
          , W. (eds.)
          <source>FM 2011, Lecture Notes in Computer Science</source>
          <volume>6664</volume>
          ,
          <fpage>293</fpage>
          -
          <lpage>307</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Koutny</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>Timed Mobility in Process Algebra and Petri nets</article-title>
          .
          <source>The Journal of Logic and Algebraic Programming</source>
          <volume>80</volume>
          (
          <issue>7</issue>
          ),
          <fpage>377</fpage>
          -
          <lpage>391</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Prisacariu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2006</year>
          )
          <article-title>Timers for Distributed Systems</article-title>
          . In Di Pierro,
          <string-name>
            <given-names>A.</given-names>
            and
            <surname>Wiklicky</surname>
          </string-name>
          , H. (Eds.)
          <source>QAPL</source>
          <year>2006</year>
          ,Electronic Notes in Theoretic Computer Science
          <volume>164</volume>
          (
          <issue>3</issue>
          ),
          <fpage>81</fpage>
          -
          <lpage>99</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Rotaru</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2013</year>
          )
          <article-title>A Probabilistic Logic for PTIMO</article-title>
          . In Liu,
          <string-name>
            <given-names>Z.</given-names>
            ,
            <surname>Woodcock</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            and
            <surname>Zhu</surname>
          </string-name>
          , H. (Eds.)
          <source>ICTAC 2013, Lecture Notes in Computer Science</source>
          <volume>8049</volume>
          ,
          <fpage>141</fpage>
          -
          <lpage>158</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2013</year>
          )
          <article-title>Automatic Analysis of TIMO Systems in PAT</article-title>
          .
          <source>In Proc. 18th International Conference on Engineering of Complex Computer Systems (ICECCS</source>
          <year>2013</year>
          ), IEEE Computer Society,
          <fpage>121</fpage>
          -
          <lpage>124</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>