際際滷

際際滷Share a Scribd company logo
Software Design and Analysis
SE-606
Prepared By
Md Samsuddoha Sams
Institute of Information Technology
University of Dhaka
Sams.iitdu@gmail.com
Scenario Of the Cloud Portal
Step1: Analysis Class
Identified classes
 User
 Admin

 Storage
 Instance
 Dashboard
 Database

4
Step1: Analysis Class
User

Admin

User_ID
User_Name
Password
E-mail
User_Type
Status

User_ID
User_Name
Password
E-mail
User_Type
Status

Authenticate()
CheckServiceAvailabilit
y()
RequestForInstance()

CreateAccount()
BlockUser()
ModifyDashboard()
CreateService()

5
Step1: Analysis Class(Cont.)
Storage
Document_ID
Document_Name
Doc_Type

UploadDocument()
DownloadDocument()
AllocateStorage()
ProvideResource()

Instance
Instance_ID
Instance_Name
Instance_Config
Instance_Type
CreateInstance()
ModifyInstance()
ShowAvailability()

6
Step1: Analysis Class(Cont.)
Dashboard
Dashboard_Name
Dashboard_Type

ModifyDashboard()
AddAdmin()

Database

QueryString

SetAttribute()
GetAttribute()
StoreData()

7
Step2:Design Class
MaintainService
InstanceService

Admin
StorageService

User

InstAvailability

StorAvailability
DocumentService

MaintainAccount

Storage

ProvideService

Instance
Step 3:Elaboration of design Class(1/4)
User

InstanceService
ViewInstance()
CheckAvailability()
RequestForInstance()
UseInstance()

User_ID
User_Name
Password
Email
User_Type
Student
Researcher
Teacher
Status
Active
Deactivate
ViewInstance()
CheckAvailability()
RequestForInstance()
UseInstance()
ViewStorage()
UploadFile()
DownloadFile()
ModifyFile()
UseResource()

StorageService
ViewStorage()
UploadFile()
DownloadFile()
ModifyFile()
UseResource()

9
Step 3:Elaboration of design Class(Cont.2/4)
Admin
MaintainAccount
CreateAccount()
BlockAccount()

User_ID
User_Name
Password
Email
User_Type
Status
CreateAccount()
BlockAccount()
CreateInstance()
ModifyInstance()
ModifyDashboard()

ProvideSTService
AllocateStorage()
UploadResource()
ModifyResource()

MaintainInstance
CreateInstance()
ModifyInstance()
ModifyDashboard()

AllocateStorage()
UploadResource()
ModifyResource()
10
Step 3:Elaboration of design Class(Cont.3/4)
Storage

StorageAvailability
ViewStorage()
CheckAvailability()

Document_ID
Document_Name
Resource_Type
Docx
Pdf
ZIP
VideoT
ViewStorage()
CheckAvailability()

DocumentService

ViewDoc()
ProvideResource()

ViewDoc()
ProvideResource()

11
Step 3:Elaboration of design Class(Cont.4/4)
Instance
Instance_ID
Instance_Name
Instance_Type
IaaS
PaaS
SaaS

InstanceAvailability
ViewInstance()
CheckAvailability()

ViewInstance()
CheckAvailability()
ViewInstance()
ProvideInstance()

ProvideService
ViewInstance()
ProvideInstance()

12
Step 3(a): Collaboration Details
InstanceProvider

Provide Service

Available

Show service

Viewer
Step 3(a): Collaboration Details(Cont.)
StorageProvider

Provide resource

Resource

show

Document
Step 3(a): Collaboration Details(Cont.)
Account

NewAccount

BlockAccount
Step 3(a): Collaboration Details(Cont.)
Service

Provide service

Instance

Provide service

Storage
3(b): Appropriate Interfaces
Available

InstanceName
CheckAvailability()
RequestForInstance()

Viewer

ProvideService

ShowService

<<Interface>>
InstanceService
InstanceProvider

View()

InstanceID
ViewInstance()
UseInstance()

InstanceService

StorageService

Resource

User

RSize
View()
Upload()
Download()

ProvideResource

Show
Document

DType
Upload()
Download()
Modify()

StorageProvider

<<Interface>>
StorageService
View()
3(b): Appropriate Interfaces
Instance

InstanceName
CreateInstance()
ModifyInstance()

Storage

ProvideInstance

provideStorage

<<Interface>>
Service
Service

Allocate()

STSize
AllocateStorage()
UploadResource()
ModifyResource()

MaintainService

MaintainAccount

New Acount

User_ID
create
CreateNewAccount()

block
BlockAccount

User_ID
BloackAccount()

Account

Admin
3(b): Appropriate Interfaces
ProvideInstance

Instance

<<Interface>>
Service
Service

Allocate()
MaintainService

provideIaaS

providePaaS
provideIaaS
MaintainAccount

IaaS

Admin

PaaS

IaaS_ID

PaaS_ID

Create()
Modify()

Create()
Modify()

SaaS

SaaS_ID
Create()
Modify()

<<Interface>>
Instance
Create()
Modify()
3(d): Describe Processing Flow
:Activity Diagram
 InstanceService
View
Environment
Check
Availability

If
Available

Yes
Use Service

No

Request Instance

By Admin
Configuration
RAM:512MB, 32windows7, 20 GB
HDD,Processor-2

RAM:4GB, 64windows8, 200 GB
HDD,Processor-10
RAM:512MB, 32Ubuntu, 20 GB
HDD,Processor-2
IaaS
3(d): Activity Diagram (Cont.)
 StorageService
View Storage
Check
Availability

If
Available

No

Request Storage

Yes
Use Service

Upload file

Download file

Modify file
Step 4: Persistent Data
Persistent data sources and classes
that manage them
Data source
Database
DB_Name
DB_Type
DB_Userpass

SetAttribute()
GetAttribute()
StoreData()
Required Class
DB_Connect
DB_Name
DB_Type
DB_Userpass

Connect()

DB_View

DB_Option

View_Time

View()
Select()

Insert()
Modify()
Step 5  Elaborate Behavior
Instance
Authentication
Deployment diagrams to represent the location of key
packages or components
Step 6  Elaborate Deployment
Admin

Control
Panel Unit
Central
Processor

InterfaceUI

Database
Server

Thin Client

End User
ServiceUI

Thin
Client
SE_Component level design web based application
SE_Component level design web based application

More Related Content

SE_Component level design web based application

Editor's Notes

  • #4: This is a web based cloud portal which provides two special services storage and Environment. In storage service user can upload, download and edit any documents and in the environment user can use different types of service like saas, paas and Iaas which will provide user OS, Platform and software applications as shown in the figure.