SlideServe
Menu
Préférences
© SlideServe · v2026

Chapter 5: System Models

haracha avatar
21 diapositives · 378 Views · Aug 08, 2014

Chapter 5: System Models. Chapter 8 in textbook. Objectives. Understand modelling Understand context models Understand behaviour models Understand object models Understand data models. Overview. What is modelling? Context models Behavioural models Data models Object models. Modeling.

Chapter 5: System Models - slide 1
01 / 21Chapter 5: System Models
1 / 17

Télécharger la présentation

Chapter 5: System Models
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Chapter 5: System Models Chapter 8 in textbook

  2. Objectives • Understand modelling • Understand context models • Understand behaviour models • Understand object models • Understand data models

  3. Overview • What is modelling? • Context models • Behavioural models • Data models • Object models

  4. Modeling • A model is an abstract view of a system • We create a model to gain better understanding of an entity, for example a model of a plane is a small plane. • When the entity is software, the model takes a different form.

  5. A software model A software model must be capable of representing : • the information that the software transforms, • the functions that enable the transformation to occur, and • the behavior of the system as the transformation takes place.

  6. Types of models • Context models • Behaviour models • Data models • Object models

  7. Context models • Context models are used to illustrate the operational context of a system - they show what lies outside the system boundaries.

  8. Context model for ATM

  9. Behavior models • Behavioural models are used to describe the overall behaviour of a system. • Two types of behavioural model are: • Data processing models that show how data is processed as it moves through the system; • State machine models that show the systems response to events. • These models show different perspectives so both of them are required to describe the system’s behaviour.

  10. Data Processing Models • Data flow diagrams (DFDs) may be used to model the system’s data processing. • These show the processing steps as data flows through a system. • Read book.

  11. State machine models • These model the behaviour of the system in response to external and internal events. • They show the system’s responses to stimuli from the system’s environment, so are often used for modelling real-time systems. • State machine models show system states as nodes and events as arcs between these nodes. When an event occurs, the system moves from one state to another. • Statecharts are an integral part of the UML and are used to represent state machine models.

  12. Statecharts • Allow the decomposition of a model into sub-models (see following slide). • A brief description of the actions is included following the ‘do’ in each state. • Can be complemented by tables describing the states and the stimuli.

  13. Microwave oven state model

  14. Microwave oven state description

  15. Microwave oven stimuli

  16. Microwave oven operation

  17. Data model • Used to describe the logical structure of data processed by the system. • An entity-relation-attribute model sets out the entities in the system, the relationships between these entities and the entity attributes • Widely used in database design. Can readily be implemented using relational databases.

  18. Data dictionaries • Data dictionaries are lists of all of the names used in the system models. Descriptions of the entities, relationships and attributes are also included. • Advantages • Support name management and avoid duplication; • Store of organisational knowledge linking analysis, design and implementation; • Many CASE workbenches support data dictionaries.

  19. Data dictionary entries

  20. Object models • Object models describe the system in terms of object classes and their associations. • An object class is an abstraction over a set of objects with common attributes and the services (operations) provided by each object. • Various object models may be produced • Inheritance models; • Aggregation models; • Interaction models. • Read book

  21. DVD Player With your team decide on the stimuli and states for a DVD player. Draw the state diagram