+ All Categories
Home > Documents > Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling...

Using UML 2.0 in Real-Time · 2003. 10. 28. · New Features of UML 2.0} structural modeling...

Date post: 29-Aug-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
24
Using UML 2.0 in Real-Time Development Kirsten Berkenkötter University of Bremen
Transcript
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

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

} 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

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

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

} 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

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

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

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

} 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

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

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

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

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

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

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

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

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

} 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

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

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

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

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

} 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

Conclusion} improvements

hierarchical modelingcommunication structuresprofiles

} problemsinformal specification � no formal reasoningusability

� profiles best solution for real-time development


Recommended