UML Temps Réel François Terrier, Sébastien Gérard LETI (CEA - Technologies Avancées) DEIN CEA/Saclay F-91191 Gif sur Yvette Cedex France Phone: +33 1 69 08 62 59 ; Fax: +33 1 69 08 83 95 Francois.Terrier@cea.fr ; Sebastien.Gerard@cea.fr
2 2 2 2 Embedded systems soon > 50 % of market ! With more and more importance of software " How to master … How to master … How to master … How to master … … the software wave ! Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Beginning 99 : the PITAC report (US) 3 3 3 3 " Facts Facts : Facts Facts : : : Craft practices # Low mastery of the products … Demand for software far exceeds the Nation's ability to produce it. … The Nation depends on fragile software. … Technologies to build reliable and secure software are inadequate. … The diversity and sophistication of software systems are growing rapidly. … common activities of ordinary people are based on software. … The Nation is under-investing in fundamental software research. … « We put the Nation at risk » Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Focus on Electronics in the car industry 4 4 4 4 The car will be the first complex system of the current life based on software " Situation : Situation : Situation : Situation : % Hardware cost & Integration cost ( Safety / security $ Independency between soft / hard $ Flexibility : each person will have a different car… ' Software innovation is required Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Gros plan sur l ’é lectronique automobile (source PSA) 5 5 5 5 " Au c œ ur de la question des syst è mes embarqu é s Au c œ ur de la question des syst è mes embarqu é s Au c œ ur de la question des syst è mes embarqu é s Au c œ ur de la question des syst è mes embarqu é s ) L’électronique : Capteurs - Partage d'informations - Interactions 25% du coût - Concurrence d’une voiture ECM BVA - Distribution - Temps réel... d’ici 2005… BSI Passerelle ABS/CDS SUSP Capteurs ) Part du logiciel en &&& « très bon rapport en valeur ajoutée … » $ Problématique technique de système complexe ! 60 processeurs sur les modèles haut de gamme ! Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
6 6 6 6 Use of a « universal » modeling standard " We must go from craft practices to industrial production solutions OMT ) high level modeling and component based development ) Idea integration of complementary/concurrent modeling Booch notations proposed for OO methods OOSE UML 2.0 UML 2.0 Fusion … … OMG OMG Rational Rational 1995 UML 1.4 UML 1.4 OMT End of 2000 2000 End of 1996 Classe-Relation (Rumbaugh et al.) UML 1.3 UML 1.3 Unified Method Unified Method 0.8 June e 1999 1999 Jun Booch ROOM UML 1.1 UML 1.1 UML 0.9 UML 0.9 Nov. 1997 Nov. 1997 HOOD OOSE (Jacobson et al.) etc... Catalysis etc. ROOM End of 1990 Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
7 7 7 7 But what about real-time systems ? " Importance of dynamic in such system requires the specialization of the modeling language " Solutions have been developed to integrate current practices into the UML OO framework: ! More or less advanced levels of integration of real time and object paradigms " Variability of the practices of real time domain depending on the context: small embedded system or installation control and command, production automaton, distributed systems, safety critical systems, telecom, high performance computing… ) Low level of automatic integration of the « good practices » Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Plan of the presentation 8 8 8 8 ) Current status of UML 1 .3 Current status of UML 1 .3 Current status of UML 1 .3 Current status of UML 1 .3 ) Current status of UML 1 .3 Current status of UML 1 .3 Current status of UML 1 .3 Current status of UML 1 .3 ) Some proposals Some proposals Some proposals Some proposals ) Some proposals Some proposals Some proposals Some proposals * ARTiSAN ARTiSAN ARTiSAN ARTiSAN / Real Time Studio / Real Time Studio / Real Time Studio / Real Time Studio * ARTiSAN ARTiSAN ARTiSAN / Real Time Studio ARTiSAN / Real Time Studio / Real Time Studio / Real Time Studio * RT RT- -UML / Rhapsody tool UML / Rhapsody tool RT RT - - UML / Rhapsody tool UML / Rhapsody tool * RT RT- -UML / Rhapsody tool UML / Rhapsody tool RT RT - - UML / Rhapsody tool UML / Rhapsody tool * UML/SDL tools association UML/SDL tools association UML/SDL tools association UML/SDL tools association * UML/SDL tools association UML/SDL tools association UML/SDL tools association UML/SDL tools association Menu * UML UML UML UML- - - -RT / ROSE RT / ROSE RT / ROSE- RT / ROSE - - -RT RT RT RT tool tool tool tool * UML UML- UML UML - -RT / ROSE - RT / ROSE- RT / ROSE RT / ROSE -RT - - RT RT RT tool tool tool tool ) Toward a stronger paradigm integration Toward a stronger paradigm integration Toward a stronger paradigm integration Toward a stronger paradigm integration ) Toward a stronger paradigm integration Toward a stronger paradigm integration Toward a stronger paradigm integration Toward a stronger paradigm integration * The ACCORD/UML approach The ACCORD/UML approach The ACCORD/UML approach The ACCORD/UML approach * The ACCORD/UML approach The ACCORD/UML approach The ACCORD/UML approach The ACCORD/UML approach ) Information & Prospects Information & Prospects Information & Prospects Information & Prospects ) Information & Prospects Information & Prospects Information & Prospects Information & Prospects Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
9 9 9 9 UML 1.3: essential models " Use case Use case Use case diagram Use case diagram diagram diagram ) Requirement Requirement Requirement Requirement modeling modeling modeling modeling " Class Class diagrams diagrams Class Class diagrams diagrams ) Static Static structure structure Static Static structure structure " Activity Activity Activity, Activity , , , sequence sequence or sequence sequence or or collaboration or collaboration collaboration collaboration diagrams diagrams diagrams diagrams ) Interaction Interaction Interaction Interaction " State machine State machine State machine diagrams State machine diagrams diagrams diagrams ) Behavior Behavior view Behavior Behavior view view view " Component, Component, Component, deployement Component, deployement diagram deployement deployement diagram diagram diagram ) Structure of Structure of material Structure of Structure of material implantation material material implantation implantation implantation Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Use case diagram 1 0 1 0 1 0 1 0 actor system use case Speed Regulator relation SpeedSensor regulate speed Motor « include » start regulating RegulatorDisplay Regulator On/Off stop regulating system border environment Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Class diagram 11 11 11 11 implementing of interface « Interface » « Interface » RegDisplay_I RegulatorDisplay RegulatorDisplay RegulatorDisplay display 0..1 role interface class class association regLaw RegulatingLaw Regulator RegulatingLaw Regulator 0..* arity generalization sp: Speed composition sp 0..* 0..1 Speed Active objects active objects Regulator_S Regulator_S Regulator_S attributes compartment tgSpeed: integer; compartment maintanSpeed(); operations compartment Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
The UML concept of active object " They are objects having an They are objects having an (only ?) (only ?) independent independent They are objects having an They are objects having an (only ?) (only ?) independent independent processing resource processing resource processing resource processing resource ( « ( « thread thread » , « » , « process process » or other) » or other) ( « ( « thread thread » , « » , « process process » or other) » or other) anActiveObject Messages ? ? ? ? Memory space ? operations Attributes code Messages ) Behavior not well defined: Behavior not well defined: connection between messages Behavior not well defined: Behavior not well defined: connection between messages connection between messages connection between messages processing and use of the processing resource are not defined processing and use of the processing resource are not defined processing and use of the processing resource are not defined processing and use of the processing resource are not defined " are they just an Object Oriented view of « are they just an Object Oriented view of « tasks are they just an Object Oriented view of « are they just an Object Oriented view of « tasks » ? tasks tasks » ? » ? » ? Fran ç ois Terrier, S é bastien G é rard 27-06-2000 NOTERE ’ 2000
Recommend
More recommend