Docsity

Software Architectures-Introduction to Software Engineering-Lecture 07 Slides-Computer Science, Slides of Introduction to Software Engineering

Partial preview of the text

Download Software Architectures-Introduction to Software Engineering-Lecture 07 Slides-Computer Science and more Slides Introduction to Software Engineering in PDF only on Docsity!

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11

ECE 452- Introduction to Software

Engineering

Lecture 7: Software

Architectures (I. Sommerville)

Manish Parashar

[email protected]

Department of Electrical & Computer

Engineering

Rutgers University

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Architectural Design ● Establishing the overallstructure of a software system

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Topics covered ● System structuring ● Control models ● Modular decomposition ● Domain-specific architectures

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Software architecture ● The design process for identifying the sub-systems making up a system and the frameworkfor sub-system control and communication is architectural design ● The output of this design process is a descriptionof the software architecture

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Advantages of explicit architecture ● Stakeholder communication

Architecture may be used as a focus of discussion by systemstakeholders ● System analysis - Means that analysis of whether the system can meet its non-functional requirements is possible ● Large-scale reuse - The architecture may be reusable across a range of systems

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Architectural design process ● System structuring

The system is decomposed into several principal sub-systemsand communications between these sub-systems are identified ● Control modelling - A model of the control relationships between the different partsof the system is established ● Modular decomposition - The identified sub-systems are decomposed into modules

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Architectural models ● Different architectural models may be producedduring the design process ● Each model presents different perspectives on thearchitecture

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Architectural models ● Static structural model that shows the majorsystem components ● Dynamic process model that shows the processstructure of the system ● Interface model that defines sub-system interfaces ● Relationships model such as a data-flow model

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Architecture attributes ● Performance

Localise operations to minimise sub-system communication ● Security - Use a layered architecture with critical assets in inner layers ● Safety - Isolate safety-critical components ● Availability - Include redundant components in the architecture ● Maintainability - Use fine-grain, self-contained components

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 System structuring ● Concerned with decomposing the system intointeracting sub-systems ● The architectural design is normally expressed asa block diagram presenting an overview of thesystem structure ● More specific models showing how sub-systemsshare data, are distributed and interface with eachother may also be developed

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 The repository model ● Sub-systems must exchange data. This may bedone in two ways:

Shared data is held in a central database or repository and maybe accessed by all sub-systems - Each sub-system maintains its own database and passes dataexplicitly to other sub-systems ● When large amounts of data are to be shared, therepository model of sharing is most commonlyused

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 CASE toolset architecture Project repository Design translator Program editor Designeditor Code generator Designanalyser Report generator

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Client-server architecture ● Distributed system model which shows how dataand processing is distributed across a range ofcomponents ● Set of stand-alone servers which provide specificservices such as printing, data management, etc. ● Set of clients which call on these services ● Network which allows clients to access servers

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 11 Film and picture library Catalogue server Catalogue Videoserver Film clip files Pictureserver Digitized photographs Hypertext server Hypertext web Client 1 Client 2 Client 3 Client 4 Wide-bandwidth network