06 architectural design_workout

657 views

Published on

Principles of Software Engineering by Utpal Roy, Jadavpur University, Kolkata, India

Published in: Education, Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
657
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

06 architectural design_workout

  1. 1. Architectural Design Workout From the ‘Problem Description’ to the ‘Call and Return Architecture’-13 January 2012 -Mady by Utpal Ray -1
  2. 2. Architectural Design Workout Problem Description It is a Home Security System. It has input buttons to input password, telephone number etc.; it has also buttons to arm and disarm the system. There are panic buttons also. Inputs are taken from the sensors which are connected to doors and windows to detect any break-ins. Incase of any break-ins, an alarm goes off and a telephone call is placed to the local police station. It has small output LCD display which displays several sensors status and other command status.-13 January 2012 -Mady by Utpal Ray -2
  3. 3. Architectural Design Workout ERD Home Owner Arms/Disarms/Configures Alarm SecurityInputs and outputs Controls Sensors System through Gives inputs and accepts Telephone Control Panel Output from-13 January 2012 -Mady by Utpal Ray -3
  4. 4. Architectural Design Workout STD Input Came Power Off Get the inputs Process System Off Invoke Power-off Seq InputPower On Wait forInvoke Inputs ProcessPower On Or Sensor SensorDiagnostics Events Sensor Events Events Diag OK Get Status Wait for Inputs Unknown State Display Fault System On System Fault Diag Not OK Unknown State Display Fault Display Fault -13 January 2012 -Mady by Utpal Ray -4
  5. 5. Architectural Design Workout Level 0 DFD ( Context Diagram ) Control Control Panel Panel User Commands Messages Display Buttons And Data SafeHome On/Off Software Alarm Sensor Status Sensors Telephone Number Tones Telephone Line Configuration Configuration Data Data Store-13 January 2012 -Mady by Utpal Ray -5
  6. 6. Architectural Design Workout Level 1 DFD Command Echo And Command Display Info Control Control Output Panel 2.0 Panel 1.0 Display Buttons Display Process Messages User Commands Command And status And Data Sensor Info Sensor Alarm Status 3.0 On/Off Monitor Sensors Sensors Telephone Configuration Telephone Line Data Number Configuration Tone Data Store-13 January 2012 -Mady by Utpal Ray -6
  7. 7. Architectural Design Workout Mapping Level 1 DFD SafeHome Main Executive Process Monitor Command Sensor Executive Executive Display Messages & Status Executive-13 January 2012 -Mady by Utpal Ray -7
  8. 8. Architectural Design Workout Level 2 DFD of the ‘Monitor Sensor’ process 3.3 Format Sensor Info Sensor ID, For Type, Display Location Sensor ID, Type 3.2 3.1 Alarm Data 3.4 AssesSensor Read Generate Against On/OffStatus Sensors Alarm Setup Telephone Signal Number Configuration Data 3.5 Dial Telephone Phone Number Tones -13 January 2012 -Mady by Utpal Ray -8
  9. 9. Architectural Design Workout Mapping ‘Monitor Sensor’ process Monitor Sensor ExecutiveSensor Input Transform Sensor Output Controller Controller Controller Read Asses Sensors Against Setup Dial Generate Format For Phone Alarm Signal Display-13 January 2012 -Mady by Utpal Ray -9
  10. 10. Architectural Design Workout Consolidating ‘Monitor Sensor’ Process Monitor Sensor Executive Read Asses Sensor Output Sensors Against Setup Controller Dial Generate Format For Phone Alarm Signal Display-13 January 2012 -Mady by Utpal Ray -10
  11. 11. Architectural Design Workout Level 2 DFD of the ‘Process Command’ process 1.3 Build Configuration Configuration Data File Configure Command 1.4Button Type 1.2Input 1.1 Start/Stop Arm/ Process Read Disarm Command Command System Arm/Disarm Password Message Password 1.5 Configuration Data OK/Not OK Process Message Password -13 January 2012 -Mady by Utpal Ray -11
  12. 12. Architectural Design Workout Mapping ‘Process Command’ process Process Command Executive Read Process Command Command Process Arm/Disarm Build Password System Configuration File-13 January 2012 -Mady by Utpal Ray -12
  13. 13. Architectural Design Workout Overall Consolidation SafeHome Main Executive Monitor Sensor Process Executive Command Executive Asses Sensor Output Read Read Against Process ControllerCommand Sensors Setup Command Process Arm/Disarm Build Password System Configuration File Dial Generate Format For Phone Alarm Signal Display Display Messages & Status Executive -13 January 2012 -Mady by Utpal Ray -13

×