csc4521 : conception de si j paul gibson, d311

17
CSC4521 : UML diagrams for system architecture TSP- 2020 : J Paul Gibson 1 CSC4521 : Conception de SI J Paul Gibson, D311 UML diagrams for system architecture …/~gibson/Teaching/CSC4521/CSC4521-UML-SystemArchitecture.pdf

Upload: others

Post on 26-May-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 1

CSC4521 : Conception de SI J Paul Gibson, D311

UML diagrams for system architecture …/~gibson/Teaching/CSC4521/CSC4521-UML-SystemArchitecture.pdf

Page 2: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 2

UML diagrams for system architecture

• Component Diagrams • Activity Diagrams • Interaction Overview Diagrams • Deployment Diagrams • Package Diagrams

The 4+1 architectural view model

Page 3: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 3

The component diagramIn UML 2, components are considered autonomous, encapsulated units within a system or subsystem that provide one or more interfaces.

Components are larger design units that represent things that will typically be implemented using “replaceable modules”.

A component encapsulates behavior and implements specified interfaces

Developers find the component diagram useful because it provides them with a high-level, architectural view of the system

A component contains “related” classes, used to provide a single service. Many of the classes inside are hidden and can be changed, so long as the service is still provided in the same way.

Page 4: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 4

The component diagram

UML 1.4

Page 5: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 5

The component diagramIn UML 2 a component is merely a specialized version of the class concept.

Page 6: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 6

The component diagram

When showing a component's relationship with other components, the lollipop and socket notation must also include a dependency arrow (as with a class diagram).

Page 7: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 7

The component diagram

Structured Components

Page 8: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 8

The activity diagramActivity diagrams are suitable for modelling the activity flow of the system.

It captures the dynamic behavior of the system

An application can have multiple systems. Activity diagram also captures these systems and describes the flow from one system to another.

This specific usage is not available in other UML diagrams.

Often used to describe steps in a use case

Page 9: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 9

The activity diagram

Page 10: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 10

The activity diagram

Page 11: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 11

The activity diagram

Page 12: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 12

The activity diagram

Swim lanes group related activities into columns

Page 13: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 13

The interaction overview diagramInteraction overview diagram is an activity diagram made of different interaction diagrams

Page 14: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 14

The deployment diagramA UML 2 deployment diagram depicts a static view of the run-time configuration of processing nodes and the components that run on those nodes … suitable for modelling (physically) distributed aspects of a system.

Page 15: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 15

The package diagramPackage diagrams are used to structure high level system/model elements.

Packages are depicted as file folders and can be used on any of the UML diagrams, although they are most common on use-case diagrams and class diagrams because these models have a tendency to grow.

Page 16: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 16

The 4+1 architectural view modelClass diagrams

Activity and interaction overview diagrams

Component and package diagrams

Deployment diagrams

Use case diagrams

The “4+1” view model is rather “generic”: other notations and tools can be usedKruchten, Philippe (1995, November). Architectural Blueprints — The “4+1” View Model of Software Architecture.  IEEE Software 12 (6), pp. 42-50.

Page 17: CSC4521 : Conception de SI J Paul Gibson, D311

CSC4521 : UML diagrams for system architectureTSP- 2020 : J Paul Gibson 17

ScenariosTASK: develop 3 different scenarios/stories/use cases which can be used to validate the architecture of your proposed system

These can also be used as a marketing/sales pitch with the client … should show ‘innovation’ and ‘value’

Choose your own means of describing/demonstrating them: • natural language • graphics • passive animation • interactive animation