collaborative file sharing system phase i

36
Collaborative File Sharing System Project Code: F10202 Design Document 1 Version 1.3 Group Id: F10202022 Supervisor Name : USMAN WAHEED COLLABORATIVE FILE SHARING SYSTEM

Upload: faizajee

Post on 11-Sep-2014

150 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Collaborative File Sharing System Phase I

Collaborative File Sharing System

Project Code: F10202

Design Document 1

Version 1.3

Group Id: F10202022

Supervisor Name : USMAN WAHEED

COLLABORATIVE FILE SHARING SYSTEM

Page 2: Collaborative File Sharing System Phase I

Revision History

Date (dd/mm/yyyy)

Version Description Author

24/12/2010

4/01/2011

10/01/2011

22/03/2011

8/06/2011

13/06/2011

15/06/2011

20/06/2011

1.0

1.1

1.3

1.0

1.0

1.1

1.2

1.3

SRS Document

SRS Document

SRS Document

Methodology & Work Plan

Design Phase I

Design Phase I

Design Phase I

Design Phase I

Mc090406580

Mc090406585

Page 3: Collaborative File Sharing System Phase I

Table of Contents

1. Introduction (of analysis and design phase)

2. Overview (of proposed system)

3. Data Flow Diagrams (DFD)

4. Entity Relationship Diagram (ERD)

5. Activity Diagram

6. Sequence Diagrams

7. Architecture Design Diagram

Page 4: Collaborative File Sharing System Phase I

1. Introduction (of analysis and design phase)

System AnalysisSuppose we are going to develop a new system then the first phase will be of analysis and this will include the thorough study of the current system. This study will explore some problems from where our process will start. If we are developing an entirely new system then we will have to conduct interviews, on-site observations, questionnaire etc. to know about the specifications of the system to be developed and what are the outside entities who will interact with the system.

The purpose of system analysis is to determine where the problem is in an attempt to fix the system This step involves breaking down what needs to be created.

All procedures and requirements must be analyzed and documented in the form of DFDs, data dictionary,, logical data structures and miniature specifications. System analysis also includes subdivision of complex process involving the entire system, identification of data store and manual processes.

The main points to be discussed in system analysis are as follows:o Specification of what the new system is accomplished based on the user requirements.o Functional hierarchy showing the functions to be performed by the new system and their relationship with each other.o Function networks which are similar to function hierarchy but they highlight those functions which are common to more than

one procedure.o List of attributes of the entities – these are the data items which need to be held about each entity.

System designBased on the user requirements and detailed analysis of a new system, the new system must be designed. This is the phase of system designing. It is a most crucial phase in the development of a system. In system design, the design functions and operations are described in detail, including screen layouts, business rules, process diagrams and other documentation. The output of this stage will describe the new system as a collection of modules. Normally, the design proceeds in the following two stages:

o Preliminary or General designo Structure or Detailed design

In Preliminary or General design, the features of the new system are specified. The costs of implementing these features and the benefits to be derived are estimated. If the project is still considered to be feasible, we move to the detailed design stage.

Page 5: Collaborative File Sharing System Phase I

There are many tools and techniques used for designing, which are as follows:o Flow charto DFDso ER diagramso Activity diagramso Sequence diagramso Architecture diagrams

2. Overview (of proposed system)

“Collaborative File Sharing System” is the name of our project. The main purpose of our project is to allow files to be distributed and shared securely, over a wide area network. This will be such a system in which people share their files for each other. The system will be supervised by an administrator.

This system will allow people to work in teams by inviting already registered users. This system will allow people to register on the system by filling an account registration form. Then registered users can upload or download their required files. All users could do text chat with other users that are online. This system will allow users to store files to a defined limit of size. The percentage of storage capacity will be displayed on the top. The system would be able to keep record of stored, replaced or overwritten files, automatically. The system will provide its users with an opportunity of storing and managing large amount of data easily and securely. The users with proper rights and access could upload, download the files and could discuss about files.

Page 6: Collaborative File Sharing System Phase I

3. Data Flow Diagrams (DFD)

Context level Data Flow Diagram

Upload Files Login Registration Do Chat

Download Files Access to Files

Allow to Work in Teams provide Rights

Login Manage Files Manage User Account

Maintain Record

RegistrationLoginDo Chat

Registered Users

Unregistered Users

AdministratorCollaborative File Sharing System

Provide Rights

Provide Rights

Page 7: Collaborative File Sharing System Phase I

Level-1 Data Flow Diagrams

Login DFD

Unregistered User Record Database Admin Record Database

Registered User Record Database

Provide Access

Provide Access

Login Request

Differen-tiateUsers

Search Databas-es

Unregistered User

Registered User

Administrator

Redirect to Login Page

Assign Access Rights

Redirect to Home Page

Id. Password

Id,Password

Registration Request

Registration Form

Search Results

Search Admin Record

Search ResultsSearch Registered User Record

Search Unregistered user Record

Search Results

If user record exists

Provide Rights

User InformationUser Information

RedirectIf user record not exists

Redirection to Login Page

Page 8: Collaborative File Sharing System Phase I

User Registration DFD

Do Chat DFD

User Process Request

Admin Save User Info

Generate Login ID & Password

Email to User

Request for Registration

User Information

User Information

User Database

Save to Database

UserProcess Request

AdminSave User Info

Generate Chat ID & Password

Email to User

Request for Registration for Chat

User Information

User Database

Save to Database

User Information

Page 9: Collaborative File Sharing System Phase I

Upload and Download File DFD

User Process Request

Open ‘Folders’

Upload-ing

Save File Info

Upload file on system

Shows File Upload Message to User

Process Request

Downlo-ading

Save File Info

Download file from system

Shows File Download Message to User

Request for File Upload

Select ‘Folders’

Upload files in Folder

Save to File Record

Save File Record

Save to File Record

Select Required File

Request for File Download

Page 10: Collaborative File Sharing System Phase I

Management and Maintenance DFD

Admin

File Manage-ment

Record Mainten-ance

User Account Manage-ment

File Record

User Database

Page 11: Collaborative File Sharing System Phase I

Entity Relationship Diagram (ERD)

File

Provide Rights

Keep Record

Provide access

Upload

Download

Search

Manage

Keep Record

Get

Unregistered User

User_ID Password

Admin

Registration

Registrati-on Form

Password

Id

Registered User

User_ID Password

Password

User_ID

File_Size File_Form

at

File_Name

M

1

M

11

M

M

M

MM

MM

1

M

1

M

M

1

Page 12: Collaborative File Sharing System Phase I

4. Activity Diagrams

User Registration

User Request for Registration

Give User Registration Form

User Fills Registration Form

System Asks for Agreement

User Agrees

Request for ID & Password

Generate ID & Password

Email to User ID & Password

Register a User

Page 13: Collaborative File Sharing System Phase I

Login to CFSSUser Request for Login

Login system check ID & Password

Search ID & Password From Database

Take Result From Database

Redirect to Login Page

Redirect to Home Page

Enter Correct ID & Password

Access Rights Access Denied

Page 14: Collaborative File Sharing System Phase I

Do Chat

User Request for Chat

User Request for Chat

User Fills Char Registration Form

Request for chat ID and Password

Generate ID & Password

Email to User Chat ID & Password

Page 15: Collaborative File Sharing System Phase I

Upload and Download Files

Select FolderSelect Required File

System Save File Information

Shows File Download Message

Upload Files in Folder

System Save File Information

Shows File Upload Message

Receive Request

Download File Request Request

Upload File Request Request

Page 16: Collaborative File Sharing System Phase I

Management and Maintenance

Save Modifications

Save Modifications

Request for Different Reports

Generate Reports

Assign Rights

Request for Modifications

Save Modifications

Maintain Modifications

Manage Record

File Record User Record

Page 17: Collaborative File Sharing System Phase I

Allow Team Work

Request for Making a Team

Accept Request

Reject Request

Users Work in Team

Users Do Different Activities

Do Discussions

Give Reminders

Do Polling

Page 18: Collaborative File Sharing System Phase I

5. Sequence Diagrams

Get Registered

User Admin

User

:CFSS Info System RegistrationForm

Page 19: Collaborative File Sharing System Phase I

ClickRegistration()

<<create>> GetMyInfo() GetUserInfo()

register() register()

generateIdPassword(register) EmailId&passw() EmailId&Password()

Login to CFSS

ClickLogin()

<<create>><<create>>

Login(Id.password)

hasAccessRight(Id, Password)

has access right has access right

:Main Screen :CFSS Login System :Login Page :Access System

Page 20: Collaborative File Sharing System Phase I

<<destroy>>

<<create>>

ClickOnAnyContent()

Do Chat

User Admin

UserClickChat()

<<create>>

<<create>><<create>>

Login(Id, Password)

GetInfo() GetUserInfo() hasAccessRights(Id, , Password)

register() register() has access rights has access rights

:Home Page

:Main Screen ChatRegistrationForm :CFSS Login System :Login Page :Access System

Page 21: Collaborative File Sharing System Phase I

<<destroy>> Email Chat Id&Password() generateChatId& Password(register)

<<create>>

ClickOnAnyContent()

Upload Files

ClickUpload Files()

ClickFolders()Upload File/Folder()

ShowFileUploadMessage()

:Home Page

:Main Screen Folders :CFSS File System

Page 22: Collaborative File Sharing System Phase I

Download Files

ClickDownload Files()

RightClickRequiredFileName()

ClickDownload()

ShowFileDownloadMessage()

:Main Screen :CFSS File System

Page 23: Collaborative File Sharing System Phase I

Search Files

EnterFileNameInTextbox()

ClickSearch()

<<create>>

OpenFile(filename)

:Main Screen :CFSS File System

Page 24: Collaborative File Sharing System Phase I

ShowFile()

ShowMessage() DoesNotOpenFile(filename)

Allow Team Work

ClickRequest()

RequestForTeam()

:Main Screen :CFSS Administration

Page 25: Collaborative File Sharing System Phase I

MakeTeam() AcceptRequest()

<<destroy>>

Manage Files

FilenameisFile()

File :CFSS File System File Manager

Page 26: Collaborative File Sharing System Phase I

displayFileFormat()

displayFileSize()

displayFileStatus()

File Information displayFileInfo(fileName)

Manage Individual User / Team Account

Add Individual User / Team Account

isIndividualUserAccount()

Add IndividualUserAccount/TeamAccount

Page 27: Collaborative File Sharing System Phase I

isTeamAccount()

addIndividualUserAccount()

addTeamAccount()

Update Individual User / Team Account

isIndividualUserAccount()

Update

IndividualUserAccount/TeamAccount

Page 28: Collaborative File Sharing System Phase I

isTeamAccount()

updateIndividualUserAccount()

updateTeamAccount()

Delete Individual User / Team Account

isIndividualUserAccount()

Delete IndividualUserAccount/TeamAccount

Page 29: Collaborative File Sharing System Phase I

isTeamAccount()

deleteIndividualUserAccount()

deleteTeamAccount()

6. Architecture Design Diagram

Web Browser

HTML

JSPs JSFJavaScript

Java Beans

JSPsServlets

Data Access Component

s (DAC)

Service Gateways

(GC)

Data Access Objects (DAO)

Secu

rityM

anagem

ent &

Ad

min

istrationC

omm

un

ication

Presentation

Layer

Business

Layer

Data AccessLaye

r

Architecture Diagram

Page 30: Collaborative File Sharing System Phase I