Sei sulla pagina 1di 29

Photo Cloud Management System

SOFTWARE REQUIREMENTS SPECIFICATION

Photo Cloud Page i


Revision History

Date Description Author Comments

Version 1 First Revision

Document Approval
The following Software Requirements Specification has been accepted and approved by the
following:

Signature Superviser Name Title Date

Supervisor, CSIT-21306

Photo Cloud Page ii


Table of Contents
Chapter 1 SOFTWARE REQUIREMENTS ------------------------------------------------- 1
Introduction --------------------------------------------------------------------------------------- 2
Purpose -------------------------------------------------------------------------------------------- 2
Scope ----------------------------------------------------------------------------------------------- 2
Definitions, Acronyms, and Abbreviations --------------------------------------------------- 2
Administrator -------------------------------------------------------------------------------- 2
Sitemap --------------------------------------------------------------------------------------- 2
Web Server ---------------------------------------------------------------------------------- 2
Web Browser -------------------------------------------------------------------------------- 2
Server Side Technology ------------------------------------------------------------------- 2
Client Side Technology -------------------------------------------------------------------- 2
References ----------------------------------------------------------------------------------------- 2
Overview ------------------------------------------------------------------------------------------ 2
The Overall Description ------------------------------------------------------------------------- 3
Product Perspective------------------------------------------------------------------------- 3
Site Adaptation Requirements ------------------------------------------------------------ 3
Product Functions -------------------------------------------------------------------------------- 3
User Characteristics ------------------------------------------------------------------------------ 4
General Constraints ------------------------------------------------------------------------------ 4
Assumptions and Dependencies---------------------------------------------------------------- 4
Specific Requirements ------------------------------------------------------------------------- 4
External Interface Requirements --------------------------------------------------------- 4
System Interfaces --------------------------------------------------------------------------- 4
Hardware Interfaces ------------------------------------------------------------------------ 4
Software Interfaces ------------------------------------------------------------------------- 4
Communications Interfaces --------------------------------------------------------------- 4
Functional Requirements --------------------------------------------------------------------- 4
Sign Up --------------------------------------------------------------------------------------- 4
Sign In ---------------------------------------------------------------------------------------- 4
Recover Forgotten Password -------------------------------------------------------------- 5
Create Folder -------------------------------------------------------------------------------- 5
Delete Folder -------------------------------------------------------------------------------- 5

Photo Cloud Page iii


Upload Images ------------------------------------------------------------------------------ 5
Watermark Image by Text ----------------------------------------------------------------- 5
Watermark Image by Image --------------------------------------------------------------- 6
Add Category-------------------------------------------------------------------------------- 6
Delete Category ----------------------------------------------------------------------------- 6
Subscribe to Categories -------------------------------------------------------------------- 6
Browse Image ------------------------------------------------------------------------------- 7
Use Cases ----------------------------------------------------------------------------------------- 7
Administrator -------------------------------------------------------------------------------- 7
Photographer ------------------------------------------ Error! Bookmark not defined.
Design Constraints------------------------------------------------------------------------------ 9
Database -------------------------------------------------------------------------------------- 9
Operating System --------------------------------------------------------------------------- 9
Web based ----------------------------------------------------------------------------------- 9
Non-Functional Requirements: -------------------------------------------------------------- 9
Performance --------------------------------------------------------------------------------- 9
Maintainability ------------------------------------------------------------------------------ 9
Reliability -----------------------------------------------------------------------------------10
Portability -----------------------------------------------------------------------------------10
Security--------------------------------------------------------------------------------------10
Logical Relational Database -----------------------------------------------------------------11
Data Entities and Relationships----------------------------------------------------------11
Analysis Models --------------------------------------------------------------------------------12
Sequence Diagram -------------------------------------------------------------------------12
Data Flow Diagram ------------------------------------------------------------------------13
State Transition Diagram -----------------------------------------------------------------14
Chapter 2 SOFTWARE DESIGN ----------------------------------------------------------15
Scope ----------------------------------------------------------------------------------------------16
References ---------------------------------------------------------------------------------------16
Overview -----------------------------------------------------------------------------------------16
Design Considerations ------------------------------------------------------------------------16
Assumption ---------------------------------------------------------------------------------16
General constraints ------------------------------------------------------------------------16
System Environment ----------------------------------------------------------------------16

Photo Cloud Page iv


Architectural Design --------------------------------------------------------------------------16
Web Architecture --------------------------------------------------------------------------16
Block Diagram -----------------------------------------------------------------------------18
Data Design--------------------------------------------------------------------------------------18
Data Description ---------------------------------------------------------------------------18
Database -------------------------------------------------------------------------------------19
Data Dictionary ----------------------------------------------------------------------------19
Chapter 3 SOFTWARE DEVELOPMENT ----------------------------------------------22
Sign Up --------------------------------------------------------------------------------------23
Sign In ---------------------------------------------------------------------------------------23
Change password --------------------------------------------------------------------------23
Upload Image ------------------------------------------------------------------------------23
Show Image --------------------------------------------------------------------------------23
Cat Image -----------------------------------------------------------------------------------23
Edit Profile ----------------------------------------------------------------------------------23
Watermark Image --------------------------------------------------------------------------23

Photo Cloud Page v


Table of figures
Figure 1: Product Perspective ........................................................................................ 3
Figure 2:Administrator................................................................................................... 7
Figure 3: Photographer .................................................................................................. 8
Figure 4:Visitor .............................................................................................................. 9
Figure 5:Database ........................................................................................................ 11
Figure 6: Sequence Diagram ........................................................................................ 12
Figure 7: Data Flow Diagram ...................................................................................... 13
Figure 8: :State-Transition Diagram(STD) .................................................................. 14
Figure 9: Web Architecture ......................................................................................... 17
Figure 10: Block Diagram ........................................................................................... 18
Figure 11: Database ..................................................................................................... 19

Photo Cloud Page vi


Chapter 1
SOFTWARE REQUIREMENTS

Photo Cloud Page 1


Introduction
Purpose
This SRS explains the requirements and specifications of Photo Cloud. It describes the functional
features of the Photo Cloud, along with interface details, design constraints and related
considerations such as performance, characteristics. The SRS is intended for system designers,
software developers, system administrators and site administrators.
Scope
The product is web based application. It is developed for security of image. Online Photo Studio
Watermarks an image and share with the user.
Definitions, Acronyms, and Abbreviations
Administrator
A person who manages overall activities of the system.
Sitemap
It is a web page that contains list of all web pages in the web site.
Web Server
It is a program that listens to HTTP requests and gives response. It also processes server side code
written in PHP.
Web Browser
It is a program that sends requests to web server and receives the response. It processes client side
markup/code written in HTML, Java Script etc.
Server Side Technology
It is a language whose code runs is run by web server. Examples of server side languages are My
SQL & PHP etc.
Client Side Technology
It is a language whose code is run by web browser. Examples of client side technologies are
HTML, CSS, Java Script, Silverlight & Adobe Flash etc.
References
No formal documents have been referenced in this document.
Overview
The remainder of the document identifies the actors, use cases, and use case scenarios,
assumptions and dependencies needed for the analysis and design of Photo Cloud.

Photo Cloud Page 2


The Overall Description
Product Perspective

HTTP/HTTPS

Application
Web Browser Database Server
Server

Administrator / Photographer / Visitor

Figure 1: Product Perspective


Site Adaptation Requirements
To deploy the application, client needs to purchase a domain name and space. While
purchasing space from ISP, keep in mind to purchase Windows Shared Hosting.
Product Functions
Sign Up
Sign In
Recover Forgotten Password
Sign Out
Create Folder
Delete Folder
Rename Folder
Upload Image
Watermark Image by Text
Watermark Image by Image
Delete Image
Add Category
Delete Category
Rename Category
Subscribe to Category
Browse Images
Receive Email about new images in subscribed categories
Statistics

Photo Cloud Page 3


User Characteristics
There are three types of users in this system; Visitor, Photographer and Administrator. It is
considered that the user do have the basic knowledge of operating the internet and to have access
to it.
General Constraints
System must be delivered by January 06, 2018.
System must be user friendly.
Assumptions and Dependencies
We use PHP server side.
We use browser (e. g Mozilla Firefox) on client side.
This product is web based application and independent.
Specific Requirements
External Interface Requirements
System Interfaces
Photo Cloud is web based application in which we use Buttons, Icons and menus that make it
attractive.
Hardware Interfaces
Device should be enabled with Internet.
Software Interfaces
The user’s browser should be HTML5 compatible for a satisfactory user experience.
Communications Interfaces
It is a web based application, so the communication will be TCP/IP.
Functional Requirements
Sign Up
Input
Mandatory: First name, Middle name, Last name, Email Address, Password and Confirm
Password
Processing
Record will be created in database.
Output
Confirmation message delivered to user.
Sign In
Input
Email address and password must be specified.
Processing

Photo Cloud Page 4


Application will match Email address and password from database.
Output
If email and password matched then open the main page else display error message.
Recover Forgotten Password
Input
Email address must be specified.
Processing
Password will be generated randomly and send a mail to the customer.
Output
New password will be generated for user and emailed to the user.
Create Folder
Input
Mandatory: Folder Name
Processing
System will create a new folder in hard disk.
Output
New folder will be created.
Delete Folder
Input
Mandatory: Folder Name
Processing
System will delete a folder from hard disk.
Output
Message is displayed to user “Folder has been deleted successfully.”
Upload Images
Input
Mandatory: Image, Title, Folder name
Optional: Description, Tags
Processing
The application will save the file on hard disk in the specified folder and title, description and
tags are stored in database.
Output
Image has been uploaded successfully.
Watermark Image by Text
Input
Mandatory: Image, Text, Position

Photo Cloud Page 5


Processing
The application will process the request.
Output
The application shows the watermarked image and also saves it on server.
Watermark Image by Image
Input
Mandatory: Select image to be marked, Select image from a local disk that is used for
watermarking image specified in step 1, Position.
Processing
The application will process the request.
Output
Application shows the watermarked image and also saves it on server.
Add Category
Input
Mandatory: Category Name
Processing
System will create a new record in database and assign a new Category ID.
Output
Message will show “A category has been added successfully.”
Delete Category
Input
Administrator selects category and click on delete option.
Processing
System will delete a record from database if no pictures exist in this category.
Output
If there are no pictures in this category, message will be shown “Category has been deleted.”
Otherwise, message will be displayed “There are pictures in this category. So, it cannot be
deleted.”
Subscribe to Categories
Input
Select categories and click on subscribe button.
Processing
System will store information about subscribed categories in database.
Output
System will display message “You have subscribed to categories successfully.”

Photo Cloud Page 6


Browse Image
Input
Open the web site and choose a category.
Processing
System will fetch list of images of specified category.
Output
System will display the image list.
Use Cases
Administrator

Figure 2: Administrator

Photo Cloud Page 7


Figure 3: Photographer

Photo Cloud Page 8


Visitor

Figure 4:Visitor
Design Constraints
Database
The system will use the MS SQL Server 2012 for storing data.
Operating System
The development environment will be Windows 10 or 7.
Web based
The system will be a web based application.
Non-Functional Requirements:
Performance
Performance Requirements
Capacity
The system must support 10000 people at a time.
User Interface
The user-interface screen must respond within 5 seconds, when both database server and
web server on local machine. However, there are no performance requirements when
testing on Internet, since performance depends upon connection speed.
Conformity
The systems must conform to the Microsoft Accessibility guidelines.
Maintainability
Back Up
The System must provide the capacity to Backup.
Error
The system must keep a log for all the error.

Photo Cloud Page 9


Reliability
Availability
The system must be available in specific time duration.
Redundant Server
The system should provide storage of all databases on redundant computer with
automatic switch over.
Replication
Changes made to the database are replicated to all servers.
Antivirus software
The reliability of a system depends upon its all components. So, to protect operating
system and attacks, a good Internet security suite must be installed.
Portability
The client side should be using HTML, CSS and Java Script. So, the end user part
will be fully portable. The system should be designed in such a way that it can be
opened and operated on personal computer, tablets as well as on cell phone.
Security
User Identification
Website requires the user to identify him /her using valid email & password.
Secure Transmit ion
Website uses SSL (secured socket layer) in all transactions that include any confidential
customer information.
Automatic Logout
The system must automatically logout all the voters after a period of inactivity.
No Cookies with Sensitive Data
The system should not leave any cookies on the voter’s computer containing the user’s
password.

Photo Cloud Page 10


Logical Relational Database
Data Entities and Relationships

PHOTOGRAPHER ADMINISTRATOR

PK Email Address PK Email Address

Full Name Full Name

Password Password

CATEGORY
IMAGE
PK Cat ID
PK z
Name
Cat Name

Visible

Marked Image

Figure 5: Database

Photo Cloud Page 11


Analysis Models
Sequence Diagram
Photographer Administrator System Database
Sign Up

Save()

Successfully Registered

Sign In

Check record()
Check valid
Successfully Signed In

Add Category

Save()
Valid
Successfully Added

Subscribe to Category

Save()

Successfully subscribed

Create Folder

Save()

Successfully Created

Upload I mages

Save()

Successfully Uploaded

Watermark Image by text

Marking Image()

Marked Successfully

Watermark Image by Image

Marking Image()

Marked Successfully

Sign Out

Figure 6: Sequence Diagram

Photo Cloud Page 12


Data Flow Diagram
Application
1
Module
Email Address, Password
Signing Up

Photographer
Photographer Facets

Application
Password 2 Examine Information
Module
A2 Photographer
Signing In Verified Facets

Request to recover Password


Application
3
Module
Request
Regaining
Password New Regenrated Password A1 Admin

Application
4
Module

Folder Consideration Erect Folder Folder details

A2 Photographer

Application Photo Statistics


5
Module
Accumulate
Photos A3 Category
Images

Category facets
Application
6
Module
Visitor Demand for Photos
Explore Category

Application
7
Module
View Images
Pick Category

Application
8
Module Image Statistics
Appeal Images

Request to view Photographer Details

Photographer Information Application Photographer Facets A2 Photographer


9
Module
Glancing
Photographer

Figure 7: Data Flow Diagram

Photo Cloud Page 13


State Transition Diagram

Sign Up

Sign In

Upload Images

Watermark Images

Sign Out

Figure 8:State-Transition Diagram(STD)

Photo Cloud Page 14


Chapter 2
SOFTWARE DESIGN

Photo Cloud Page 15


Scope
The product is web based application. It is developed for security of image. Online Photo Studio
Watermarks an image and share with the user.
Main Objectives:
•It is invisible of attacker’s eyes.
•This software maintains the copyright protection.
•Used for security of image.
References
No formal documents have been referenced in this document.
Overview
This document will go over the design of various aspects of the project including architectural
design, software components, user interface, and database design.
Design Considerations
Assumption
 We use .NET Framework on server side.
 We use browser (e.g. Mozilla Firefox) on client side.
 This product is web based application and independent.
General constraints
 System must be delivered by October 01, 2016.
 System must be user friendly.
System Environment
The application is designed to work on all operating systems that can support a current media
enabled web browser and the Adobe® Flash plug‐in.
Architectural Design
Web Architecture
The Photo Cloud application will run on a client‐server system architecture where the client will
connect to a web server using a current internet browser and TCP/IP connection. The web server
will be hosted by with a Yahoo or Google web server as backup. The web server will
communicate with a SQL Server database and interact with Google®.

Photo Cloud Page 16


Internet

Web Application

Web form Web Server

Database

Figure 9: Web Architecture


ERD of Photo Cloud

Photo Cloud Page 17


Block Diagram

User User user user

Subscribe to Watermark
Home Page Create Folder
Categories Images

System Interface

Database Database Database

Relational Database

Web Server

Figure 10: Block Diagram

Data Design
Data Description
SQLServer database connects with ASP.NET.

Photo Cloud Page 18


Database

PHOTOGRAPHER CATEGORY

PK Email Address PK Cat ID

Full Name Name

Password

IMAGES

PK Image ID
ADMISTRATOR
Title
PK Email Address

Tags
Full Name
Visible
Password
Added

Watermarked

FK 1 Email Address

FK 2 Cat ID

Figure 11: Database

Data Dictionary
Administrator

Photo Cloud Page 19


Allow
Parameter Ordinal Description Data Type
Nulls

Email Address is the unique


Email
1 email address of user saved in VarChar(60) N
Address
database.

Full Name 2 Full name is the name of user. VarChar(60) N

Password is the unique code of


Password 3 Int(30) N
the user saved in database.

Category
Allow
Parameter Ordinal Description Data Type
Nulls

Cat ID is the unique code for the


Cat ID 1 Int(30) N
specific Category.

Full name is the name of user


Name 2 VarChar(60) N
saved in database.

Photographer
Allow
Parameter Ordinal Description Data Type
Nulls

Email Address is the unique


Email
1 email address of user saved in VarChar(60) N
Address
database.

Full Name 2 Full name is the name of user. VarChar(60) N

Password is the unique code of


Password 3 Int(30) N
the user saved in database.

Images

Photo Cloud Page 20


Allow
Parameter Ordinal Description Data Type
Nulls

This attribute tells the exact time


Added 5 Date Time N
and date of the image.

Cat ID is the unique code of


Cat ID 7 specific Category. It is used as BigInt(30) N
primary key.

Email Address is the unique


email address of user saved in
Email Address 8 VarChar(60) N
database. It is used as a primary
key.

Image ID is the unique code for


Image ID 1 BigInt(30) N
the specific Image.

Contains a list of words that


Tags 3 VarChar(100) Y
describe the image is about.

Image title is the unique title


Title 2 saved in Database for each VarChar(100) N
image.

This attribute tells the image is


Visible 4 Bit N
visible or not.

This attribute tell the image is


Watermarked 6 Bit N
watermark or not.

Photo Cloud Page 21


Chapter 3
SOFTWARE DEVELOPMENT

Photo Cloud Page 22


Sign Up
public partial class SignUp : System.Web.UI.Page

This is a class which is used to create an account on Photographer side .


Sign In
public partial class SignIn : System.Web.UI.Page
 This class is used to login the system. Photographer and admin can be login through this
class.
Change password
public partial class ChPasswd : System.Web.UI.Page

 This class provide the facility to the Photographer and admin to change password.

Upload Image
public partial class UploadImage : System.Web.UI.Page
 This class is used to upload new Image which can be Uploaded by Photographer.
Show Image
public partial class ShowImage : System.Web.UI.Page
 This class is used to show the detail of the specific Image.
Cat Image
public partial class CatImages : System.Web.UI.Page
1.1 This class is used to show the detail of the Cat Image.
Edit Profile
public partial class EditProfile : System.Web.UI.Page
 This class is used to Edit the profile of photographer..
Watermark Image
public partial class WatermarkImage : System.Web.UI.Page
 This class is used to Watermark Image.

Photo Cloud Page 23

Potrebbero piacerti anche