![Page 1: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/1.jpg)
Using UML 2.0 in Real-TimeDevelopment
Kirsten Berkenkötter
University of Bremen
![Page 2: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/2.jpg)
} Introduction} Weaknesses of UML 1.4} New Features of UML 2.0} Weaknesses Reviewed} Conclusion
![Page 3: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/3.jpg)
Introduction} UML 1.4
common standardbasics are easy to learnuseful for communication, specification, documentation
} structural modelingclass diagramsobject diagramscomponent diagramsdeployment diagrams
![Page 4: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/4.jpg)
Introduction} behavioral modeling
use case diagramscollaboration diagrams and sequence diagramsstatechart diagramsactivity diagrams
} real-time developmenthardware-software mutual dependencieshigh reliabilityoften safety-critical background
� high demands on a modeling language
![Page 5: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/5.jpg)
} Introduction} Weaknesses of UML 1.4} New Features of UML 2.0} Weaknesses Reviewed} Conclusion
![Page 6: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/6.jpg)
General Weaknesses of UML 1.4} UML specification
informalsometimes ambiguous
} metamodel4-layer metamodeling approach not followed
} usabilityoverwhelming number of diagrams and elements
![Page 7: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/7.jpg)
General Weaknesses of UML 1.4} diagrams and views
inconsistentno mapping between different diagrams in a model
} composition of modelsno hierarchyinsufficient for large models
![Page 8: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/8.jpg)
Real-Time DependentWeaknesses of UML 1.4
} hardware-software interdependenciesno suffient support
} timing constraintsno syntax and semantics for timing purposes
} communicationno communication structures like ports, connectors,protocols
![Page 9: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/9.jpg)
} Introduction} Weaknesses of UML 1.4} New Features of UML 2.0} Weaknesses Reviewed} Conclusion
![Page 10: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/10.jpg)
New Features of UML 2.0} general
different specification documentsdivision of language core and modeling elements4-layer metamodeling approach realized
} profiles
deriving new elements from metamodelintroducing new terminology, new syntax, new semanticsand constraints, and further information like transformationrules
![Page 11: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/11.jpg)
New Features of UML 2.0} structural modeling
hierarchical modeling in composite structure diagramscommunication structures with ports and connectorscomponents as software components with internal structureand interfaces to the outside
![Page 12: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/12.jpg)
New Features of UML 2.0
![Page 13: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/13.jpg)
New Features of UML 2.0
![Page 14: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/14.jpg)
New Features of UML 2.0} behavioral modeling
fine-grained action modelindependently defined activity diagrams with new featureslike interruptible regions and loopssimple time model and timing diagramsinteractions with new features like alternatives, options,breaks, loops, critical regionsbehavioral and protocol state machines
![Page 15: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/15.jpg)
New Features of UML 2.0
![Page 16: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/16.jpg)
New Features of UML 2.0
![Page 17: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/17.jpg)
New Features of UML 2.0
} structural modeling
class diagramsobject diagramspackage diagramscomponent diagramscomposite structurediagramsdeployment diagrams
} behavioral modeling
use case diagramssequence diagramscommunication diagramsactivity diagramsinteraction overviewdiagramsstatechart diagramstiming diagrams
![Page 18: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/18.jpg)
} Introduction} Weaknesses of UML 1.4} New Features of UML 2.0} Weaknesses Reviewed} Conclusion
![Page 19: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/19.jpg)
ReviewGeneral Weaknesses
} UML specificationmore fine-grainedstill informal
} metamodel4-layer metamodeling approach realizedextension mechanism based on metamodel (profiles)
![Page 20: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/20.jpg)
Review} usability
even more diagrams and elements added� even worse
} diagrams and viewsno change
} composition of modelsimproved by hierarchical modeling with composite structurediagrams
![Page 21: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/21.jpg)
ReviewReal-Time Dependent Weaknesses
} hardware-software interdependenciesdeployment diagrams still insufficientmodeling of hardware as components with ports as accesspoints possible
![Page 22: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/22.jpg)
Review} timing constraints
timing model lacks important features:� no discrete and dense time� no timing zones� no system time� no synchronization between clocks
} communicationports and connectorsprotocol state machines
![Page 23: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/23.jpg)
} Introduction} Weaknesses of UML 1.4} New Features of UML 2.0} Weaknesses Reviewed} Conclusion
![Page 24: Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling hierarchical modeling in composite structure diagrams communication structures with ports](https://reader036.vdocument.in/reader036/viewer/2022071106/5fe00542f143b65544413fc6/html5/thumbnails/24.jpg)
Conclusion} improvements
hierarchical modelingcommunication structuresprofiles
} problemsinformal specification � no formal reasoningusability
� profiles best solution for real-time development