<!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>Multi-View Design for Cyber-Physical Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hui Zhao</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ludovic Apvrille</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Frederic Mallet</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>I3S Laboratory</institution>
          ,
          <addr-line>UMR 7271 CNRS</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Telecom ParisTech, CNRS/LTCI Sophia Antipolis</institution>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Universite Co</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>te d'Azur</institution>
          ,
          <addr-line>I3S, INRIA</addr-line>
        </aff>
      </contrib-group>
      <fpage>22</fpage>
      <lpage>28</lpage>
      <abstract>
        <p>Cyber-Physical Systems are complex systems made of various and heterogeneous subsystems; they have di erent aspects and each aspect has its own requirements and properties to be satis ed. ModelDriven Engineering (MDE) is a promising approach used to design and analyze complex systems on di erent levels and diverse views. CPS designers take many factors into account due to the complexity and diversity of current CPS systems. The designers have their own individual experience and speci c viewpoint; they may use di erent models and languages to describe various domains, di erent models and languages lead to a complex coherency management. Therefore, how to promote the coherency of a whole system and ensure all subsystems can work together is an important concrete issue. To resolve this issue, we introduce a uni ed modeling methodology which can coordinate di erent models and languages with a multi-view approach. Indeed, we expect multi-view approaches to help handling system coherency. Hence, we focus on providing a high-level modeling methodology with multi-view that (i) Coordinates di erent languages of models and diverse tools. (ii) Ensures engineering-wide collaboration by sharing the same reference architecture. (iii) Handles the complexity of systems and architectures, using uni ed viewpoints to model the whole systems with top-down re nement. (iv) Supports di erent formal methods to verify critical elements. (v) Backtraces veri cation results to models.</p>
      </abstract>
      <kwd-group>
        <kwd>CPS</kwd>
        <kwd>MDE</kwd>
        <kwd>Heterogeneous Modeling</kwd>
        <kwd>Multi-View Design</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Cyber-Physical Systems (CPS) are highly complex and widely distributed
systems. CPS are made of heterogeneous subsystems that include cyber
computational parts and physical processes. The cyber part is made of discrete elements
and the physical part is mostly continuous. In an entire and complex system,
those two aspects are combined. In other words, cyber-physical systems include
the intersection of the physical and computational parts, and their interactions
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Also, physical components are very di erent from computational systems
in several ways. Therefore, in contrast to model a computational system,
cyberphysical systems combine engineering models and methods from mechanical,
electrical, aeronautical and industrial engineering with the models and methods
of computer science. It is for these qualitative di erences that some coherence
problems emerge [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and make it more di cult fo design complex and
heterogeneous. Thus, It is a common practice to use a modeling language for each
sub-domain: Domain Speci c Modeling Languages (DSMLs) have been
introduced for that goal. Recently, several contributions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] have proposed new
ways approaches to deal with several speci c domain languages together.
However, a systematic design must coordinate the di erent languages to understand
the emerging system behavior, and there are still gaps of syntax and behavioral
semantic.
      </p>
      <p>
        To overcome this di culty, we explore a coordination approach that allows
coordinating di erent models which are described by DSML, thereby, providing
a possibility to analyze and unify the design of complex systems e ectively.
Moreover, our approach is able to consider a lot of di erent properties and views
of a system from a global viewpoint. Larsen et al. [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] have shown a rst step in
that direction, we follow this same path while focusing more on di erent views
and aspects, such as safety and security views.
      </p>
      <p>This paper is organized as follows. In section 2 we present the motivations
for our research work. Then, section 3 illustrates our methodology of multi-view
design using a railway signaling system as a case study and gives preliminary
meta-models. In Section 4, we explore some signi cant views and discuss further
work. In this paper, we tried to concise and clear point out the direction of our
researches and proposed the method of implementation way, therefore, we do
not attempt to give a complete and concrete example, but rather subpart of our
case study that are relevant for the scope of this paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Motivation and Objective</title>
      <p>The goal of our research is to build a bridge between system models and inner
models at di erent abstraction levels of the system (as shown in Fig.1), i.e.,
a set of components whose interaction semantics is usually informal, and the
heterogeneous (more concrete) components that are expected to satisfy some of
the system's properties. By leveraging some of the properties obtained on the
component level, we hope to o er mechanisms useful for the integration stage:
verify that components satisfy with system requirements, allow substitution of
components and exploration of alternative costs with regards to both their
functional and non-functional properties. Meanwhile, we intend to conduct execution,
veri cation and validation activities at system level.</p>
      <p>Our research on system modeling view was inspired by existing Model-Based
System Engineering (MBSE) methodology and approaches (SysML/MARTE
and Arcadia/Capella). Existing MDE frameworks, e.g. Eclipse Modeling Tool 1,</p>
      <sec id="sec-2-1">
        <title>1Eclipse modeling tool web page: http://www.eclipse.org</title>
        <p>Assumption</p>
        <p>Guarantee
System 1</p>
        <p>Property 1
Component 1 satisfied?</p>
        <p>ComCopmonpeonnte2nt 3</p>
        <p>A1
G2
A1?
G2?
P1?</p>
        <p>G1
A2</p>
        <p>Property 2
System 2</p>
        <p>Component x
How to verify?</p>
        <p>Integrate?
integrate various analysis techniques supporting the engineering process within a
common environment. The EMF is used to capture meta-models as a high-level
abstract model. Moreover, we rely on TTool 1 to model the system and perform
security and safety proofs.</p>
        <p>
          { ARCADIA/Capella project 2, ARCADIA and Capella are Model-Based
System Engineering (MBSE) [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] methods and tool suites for designing systems
from a high level of abstractions, ARCADIA/Capella also adopts a
multiview point description to illustrate di erent speci cations, such as physical
part, logical part, and allocation relationships. ARCADIA/Capella has been
successfully deployed in a wide variety of industrial contexts.
{ UML and its pro le for the embedded system called MARTE [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] are applied
for modeling on a high-level, and a set of formal methods help system
engineers to verify the main and safety-critical components, which are imperative
procedures to guarantee the quality of the system.
{ TTool is a free and open-source support toolkit supporting several pro les,
including SysML-Sec [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. TTool o ers diagrams for capturing system
requirements, modeling software/hardware partitioning and performing
performance/security/safety proofs support model transformation techniques.
For security and safety proofs, TTool relies on ProVerif and UPPAAL,
respectively.
        </p>
        <p>We consider the connections between modeling and meta-modeling aspects
(UML/SysML) regarding the combination of Real-Time and Security/Dependability
points of view. There is certainly a strong feedback from each on the other (if
only to mention that they may con ict as security may add latency to
computations). Notions of mixed-criticality and the time variations of trust zones</p>
      </sec>
      <sec id="sec-2-2">
        <title>1http://ttool.telecom-paristech.fr/index.html 2https://www.polarsys.org/capella/arcadia.html</title>
        <p>according to change of system states are other examples of this. We intend to
put here the emphasis on proper and insightful modeling of these aspects, as
a preamble to analysis and veri cation of joint temporal and security/safety
conditions. We want to illustrate these issues based on potential use cases of a
railway signaling system connecting several subsystems.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Methodology and case study</title>
      <p>ARCADIA is a MBSE method for the system, handling both hardware and
software architectural concepts. It enforces a methodology structured on four
successive engineering phases which separate needs (operational need analysis
and system need analysis) and solutions (logical and physical architectures),
(Fig.2), in accordance with IEEE1220 standard.</p>
      <p>According to this method, we give the de nition of each phase, and sketch
meta-models using the Eclipse Modeling Framework (EFM)1. Meanwhile, we
apply this method to the railway signaling system and related subsystem in an
industrial eld.
3.1</p>
      <sec id="sec-3-1">
        <title>Operational Analysis</title>
        <p>At the Operational Analysis phase, we should capture the Operational
Activities and Operational Entities and the interactions between them. The activities
include functional and non-functional properties such as partitioning, safety,
security. Finally, it can describe and structure the needs and the goals of the
customer. The meta-model of our approach is given in Fig.3.</p>
        <p>Automatictrainoperation</p>
        <p>Brake
controler</p>
        <p>Brake sys</p>
        <p>Brake</p>
        <p>Mechanism</p>
        <p>Speed
Speed Sensor</p>
        <p>Fig. 3. Meta-Model of Operational Analysis
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>System Analysis</title>
        <p>At the System Analysis phase, we focus on the system level. An architecture is
intended to illustrate allocations (Fig.4) of functions onto components so as to
comply with systems' needs. Meanwhile, the architecture diagram is also used
to check the feasibility of the customer requirements with a multi-view approach
(safety, cost, consumption, etc,.).
This step aims at building a coarse component breakdown of the system which
is not challenged in the further development process. All the functional and
nonfunctional constraints (safety, security, performance, cost, non-technical, etc.) are
taken into account, starting from previous functional and non-functional analysis
re ned results (functions, interfaces, data ows, behaviors, etc.), building one or
several decompositions of the system into logical components.
3.4</p>
      </sec>
      <sec id="sec-3-3">
        <title>Physical Architecture</title>
        <p>The Physical Architecture step is similar to logical architecture design procedure.
It consists of the selected physical architecture which includes components to be
produced, formalization of all viewpoints and how they are taken into account
in the components design. Once the model has been nished, a more classical
development stage can start. The same viewpoint-driven approach as for logical
architecture design is used.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Related work</title>
      <p>
        Multi-view design, as proposed by Gomez et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], relies on MARTE and SysML
in order to focus on power view and the relationship between functional,
nonfunctional and structural aspects. we noticed that Persson et al. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] has analyzed
the relation of views and taken the characterization from three main perspectives
for the relations of viewpoints, semantic (content), relations over time (process),
and manipulation of views (operations).
      </p>
      <p>
        Moreover, Fang et al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] have given a formal de nition of the multi-view
model at the meta-model level, and then they proposed a uni ed graphical
environment and toolkit for CPRS modeling. Also, Kienzle et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] discussed an
aspect-oriented modeling approach called RAM. RAM makes the models more
scalable to multi-view modeling by using 3 modeling notations (UML class
diagrams, state and sequence diagrams).
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Future work and Discussion</title>
      <p>Most CPS systems are safety-critical systems. Model-Driven Engineering allows
analysis of system parts from the simulation of behavior to better predict failure
modes.</p>
      <p>
        Our research has been inspired by former work about assessment and
evaluation of a system's Safety integrity level. During the last years, researchers were
wondering how to nd an \ideal" MDE approach which is able to support safety
analysis (SA) methods [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] automatically according to a set of standards such
as EN61508 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Safety-critical systems are expected to demonstrate a high level
of dependability, and in particular safety. Therefore, standards [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] concerned
with the development of such systems de ne a speci c system life-cycle where
system engineering is conducted in parallel with SA. Each phase of SA implies
the application of speci c methods and activities. Typical SA methods include
hazard analysis, Fault Tree (FT) generation and analysis (FTA), Failure Mode
and E ects Analysis (FMEA) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>Once a view such as the safety analysis view has been completed, it should be
integrated into the system architecture view. Furthermore, the modeling
environment should o er capabilities for safety analysis that also takes into account
the architecture. Finally, we focus on the integration of some of the views into
existing MDE tools (e.g. TTool) and show how system modeling can be coupled
with safety analysis capabilities in a seamless environment.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <article-title>1. UML pro le for MARTE: modeling and analysis of real-time embedded systems</article-title>
          . pages 1{
          <fpage>754</fpage>
          ,
          <year>June 2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>L</given-names>
            <surname>Apvrille</surname>
          </string-name>
          and
          <string-name>
            <given-names>Y</given-names>
            <surname>Roudier</surname>
          </string-name>
          .
          <article-title>SysML-sec: a sysML environment for the design and development of secure embedded systems</article-title>
          .
          <source>APCOSEC</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Muhammad</given-names>
            <surname>Waqar</surname>
          </string-name>
          Aziz and
          <string-name>
            <given-names>Muhammad</given-names>
            <surname>Rashid</surname>
          </string-name>
          .
          <article-title>Domain Speci c Modeling Language for Cyber Physical Systems</article-title>
          .
          <source>In 2016 International Conference on Information Systems Engineering (ICISE)</source>
          , pages
          <fpage>29</fpage>
          {
          <fpage>33</fpage>
          . IEEE,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Beno^t Combemale,
          <string-name>
            <surname>Julien</surname>
            <given-names>DeAntoni</given-names>
          </string-name>
          , Benoit Baudry, Robert B France,
          <string-name>
            <surname>Jean-Marc Jezequel</surname>
            , and
            <given-names>Je</given-names>
          </string-name>
          <string-name>
            <surname>Gray</surname>
          </string-name>
          .
          <source>Globalizing Modeling Languages. Computer</source>
          ,
          <volume>47</volume>
          (
          <issue>6</issue>
          ):
          <volume>68</volume>
          {
          <fpage>71</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <source>IEC 60812 Technical Committee. IEC 60812</source>
          ,
          <article-title>Analysis Techniques for System Reliability-Procedure for Failure Mode and E ects Analysis (FMEA</article-title>
          ),
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>C</given-names>
            <surname>Gomez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J</given-names>
            <surname>Deantoni</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F</given-names>
            <surname>Mallet</surname>
          </string-name>
          .
          <article-title>Multi-view power modeling based on UML, MARTE and SysML. Software Engineering and</article-title>
          . . . ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. International Electrotechnical Commission IEC.
          <article-title>Functional safety of electrical/electronic/programmable electronic safety related systems</article-title>
          .
          <source>IEC 61508</source>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Jorg Kienzle, Wisam Al Abed,
          <string-name>
            <given-names>and Jacques</given-names>
            <surname>Klein</surname>
          </string-name>
          .
          <article-title>Aspect-oriented multi-view modeling</article-title>
          . ACM, New York, New York, USA, March
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Edward</given-names>
            <surname>Lee</surname>
          </string-name>
          .
          <source>The Past, Present and Future of Cyber-Physical Systems: A Focus on Models. Sensors</source>
          ,
          <volume>15</volume>
          (
          <issue>3</issue>
          ):
          <volume>4837</volume>
          {
          <fpage>4869</fpage>
          ,
          <year>February 2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Edward</surname>
            <given-names>A</given-names>
          </string-name>
          <string-name>
            <surname>Lee. Cyber Physical</surname>
          </string-name>
          <article-title>Systems: Design Challenges</article-title>
          .
          <source>In 2008 11th IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing</source>
          , pages
          <volume>363</volume>
          {
          <fpage>369</fpage>
          . IEEE,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fang</surname>
            <given-names>Li</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Jiafu</given-names>
            <surname>Wan</surname>
          </string-name>
          , Ping Zhang, and
          <string-name>
            <given-names>Di</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <article-title>A multi-view integration modeling approach for cyber-physical robot system</article-title>
          .
          <source>In 2013 International Conference on Machine Learning and Cybernetics (ICMLC)</source>
          , pages
          <fpage>387</fpage>
          {
          <fpage>392</fpage>
          . IEEE,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Faida</surname>
            <given-names>Mhenni</given-names>
          </string-name>
          , Nga Nguyen, and
          <string-name>
            <surname>Jean-Yves Choley</surname>
          </string-name>
          .
          <article-title>Automatic fault tree generation from SysML system models</article-title>
          .
          <source>In 2014 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM)</source>
          , pages
          <fpage>715</fpage>
          {
          <fpage>720</fpage>
          . IEEE,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Magnus</surname>
            <given-names>Persson</given-names>
          </string-name>
          , Martin Torngren, Ahsan Qamar, Jonas Westman, Matthias Biehl, Stavros Tripakis, Hans Vangheluwe, and
          <string-name>
            <given-names>Joachim</given-names>
            <surname>Denil</surname>
          </string-name>
          .
          <article-title>A characterization of integrated multi-view modeling in the context of embedded and cyber-physical systems</article-title>
          .
          <source>EMSOFT</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>Pascal</given-names>
            <surname>Roques</surname>
          </string-name>
          .
          <article-title>MBSE with the ARCADIA Method and the Capella Tool. 8th European Congress on Embedded Real .</article-title>
          . . ,
          <year>January 2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Matias Ezequiel Vara Larsen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Julien</surname>
            <given-names>DeAntoni</given-names>
          </string-name>
          , Beno^t Combemale, and
          <string-name>
            <given-names>Frederic</given-names>
            <surname>Mallet</surname>
          </string-name>
          .
          <article-title>A Behavioral Coordination Operator Language (BCOoL)</article-title>
          .
          <source>In 2015 ACM/IEEE 18th International Conference on Model Driven Engineering Languages and Systems (MODELS)</source>
          , pages
          <fpage>186</fpage>
          {
          <fpage>195</fpage>
          . IEEE,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>