18
Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits 1 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences > Online National Polling Software Requirements Specification Version 2.0 Team Guide:Mr Kapil Sisodia Members: 1. Amal G Nair 2. Akshay Kakkar 3. Neeti Dubey 4. Neelam Patel College Name: Gyan Ganga Institute of Technology and Sciences Department: Computer Science and Engineering State: Madhya Pradesh

Online National Polling SRS

Embed Size (px)

Citation preview

Page 1: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

1 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Online National Polling Software Requirements Specification

Version 2.0

Team Guide:Mr Kapil Sisodia

Members: 1. Amal G Nair

2. Akshay Kakkar

3. Neeti Dubey 4. Neelam Patel College Name: Gyan Ganga Institute of Technology and Sciences

Department: Computer Science and Engineering

State: Madhya Pradesh

Page 2: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

2 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Revision History

Date Version Description Author 11-02-2011 1.1 Synopsis Single Day National

Polling_ggits 28-03-2011 2.0 Synopsis Single Day National

Polling_ggits

Page 3: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

3 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Table of Contents

Description Page No. 1.0 Introduction

1.1 Purpose

1.2 Scope

1.3 Definition, Acronyms, and Abbreviations

1.4 References

1.5 Technologies to be used

1.6 Overview

2.0 Overall Description

2.1 Product Perspective

2.2 Software Interface

2.3 Hardware Interface

2.4 Product Function

2.5 User Characteristics

2.6 Constraints

2.7 Architecture Design

2.8 Use Case Model Description

2.9 Class Diagram

Page 4: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

4 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Sequence Diagrams

2.10 Database Design

2.10.1 ER Diagram

2.10.2 Schema

2.12 Assumptions and Dependencies

3.0 Specific Requirements

3.1 Use Case Reports

3.2 Supplementary Requirements

Page 5: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

5 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Software Requirements Specification

1.0 Introduction:

The purpose of the project is to build an Online Polling System which shall maintain the

information in relation to voters, candidates, election commission.

1.1 Purpose:

The system is required for those who are far from the polling booth and still want to cast

their vote. The system shall provide them right to vote online.

1.2 Scope:

Though voting is our fundamental right but nobody comes for voting. But this system of

ours shall provide an environment that is free from any kind of bribes which are offered

by different parties.

Create different employees and assign corresponding privileges.

Maintain a centralized database to provide security to information which can be accessed only by the admin.

Allowing voters to get register online; who after verification can cast their vote.

Employee log on to his/her account to view any new registrations.

Enabling candidates to get register online.

All users are authenticated to avail the service.

Confirmation link is sent to the new user and employee when signing up.

FAQ section is also included for users benefit.

1.3 Definitions, Acronyms, and Abbreviations:

HTML (Hyper Text Markup Language): It is used to create static web pages.

Page 6: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

6 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

JSP (Java Server Pages): It is used to create dynamic web content.

J2EE (Java 2 Enterprise Edition): It is a programming platform, belonging to the Java platform, which is used for developing and running distributed java applications.

WASCE (WebSphere Application Server Community Edition): It is an application server that runs and supports the J2EE and the web service applications.

WSAD (WebSphere Studio Application Developer): It is a designer toolkit which is designed to develop more complex projects by providing a complete dynamic web service.

DB2 (IBM Database 2): It is a database management system that provides a flexible and efficient database platform to raise a strong "on demand" business applications.

HTTP (Hyper Text Transfer Protocol): It is a transaction oriented client/ server protocol between a web browser and a web server.

XML (Extensible Markup Language): It is a markup language that was designed to transport and store data.

Ajax (Asynchronous Java Script and XML): It is a technique used in java script to create dynamic web pages.

Web 2.0: It is commonly associated with web applications which facilitate interactive information sharing, interoperability, user-centered design and collaboration on the World Wide Web.

1.4 References:

IEEE SRS format

Project specification requirement (provided by IBM)

1.5 Technologies:

JAVA – Application Architecture

J2EE – Application Architecture

Page 7: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

7 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

DB2 – Database Architecture

AJAX – Asynchronous Java script And XML

Eclipse – Integrated Development Environment

Server – WAS Websphere Application Server 6.0

1.6 Overview: The SRS will include two sections, namely:

Overall Description: This section will describe major components of the system, interconnections, and external interfaces.

Specific Requirements: This section will describe the functions of actors, their roles in the system and the constraints faced by the system.

2.0 Overall Description:

2.1 Product Perspective:

The Web Pages are present to provide the user interface on client side. Communication between client and server is provided through HTTP/HTTPS protocols.

HTTP/HTTPS

TCP/IP

Web

SQL

HTML Client

Client Software (System User)

Client Side Application Server

Database Server

Page 8: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

8 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

The client software is to provide the user interface on system user client side and for this TCP/IP protocols are used.

On the server side web server is for Web pages and database server is for storing the information.

2.2 Software Interface:

Client on Internet: Web Browser, Operating System(any)

Client on Intranet: Client Software, Web Browser, Operating System(any)

Database Server: DB2 Express-C, Operating System(any)

Development End: WSAD (J2EE, JAVA, Servlets, HTML), DB2, OS (Windows), Web Server

2.3 Hardware Interface:

Client Side Software Processor RAM Disk Space Internet Explorer 6.0(or higher)

Pentium III at 1 GHz 128 MB 100MB

Server Side WAS Pentium III at 1 GHz 512 MB 1 GB DB2 Express-C Pentium III at 1 GHz 512 MB 1 GB

2.4 Product Function:

Candidate Information All the information in respect of the candidate of that locale shall be displayed on site.

Voting The voter has to be registered first and should have the right to vote for his locale only and from any mobile location he wants. The candidates of that locale shall be displayed with full profile.

Page 9: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

9 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Vote Counting As the votes shall be stored with the system so any time counting is possible and the results can be declared.

Quick Supervision The votes are not biased and can be managed easily with such a system. The data is also secured.

2.5 User Characteristics:

User has to well verse with the use of computer (mainly access of internet and use of web browser). He need not have any knowledge about the programming.

2.6 Constraints:

GUI is English only.

Login Id and password are required by all the candidates, voters and field workers.

Limited to HTTP/HTTPS.

2.7 Architecture Design

Page 10: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

10 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Page 11: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

11 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Use-case Model:

View Candidate details, Party Manifestos, &

awareness information

Candidates Voters

Field Officers Administrator

Registration Information Profile

Candidate Registration

Display Final Result

Voter Registration

Check System

Page 12: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

12 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

2.8 Class Diagram:

Citizenuser namepasswordNameFather's/Husband's nameAddressPhone noPincodeDistrictstateDOBVerificationoccupationEducational QualificationGender

signup()sign in()Making a vote()view profile()Open profile()Update profile()View profile()View&Update forums()

New Voter-id Application<<Interface>>

Customize profile application<<Interface>>

candidatesUser namePasswordNameFather's/Husband's nameAddressPhone noPincodeDistrictStateDOBVerificationOccupationEducational QualificationGenderAssets

Sign Up()Sign In()View Profile()Open Profile()Update Profile()View & Update Forums()

Election Commissionn Officer

Monitoring Polling()

Electoral Registration Officer

Voter id verification()Issue of voter id()Mintains voters database()Sign in()Sign Up()Update Profile()View Profile()

Party LeaderUser namePasswordSymbol

Providing Intimation About Candidates()Maintainig The Party()

Nomination Application<<Interface>>

Nomination Withdrawal<<Interface>>

AdminUser NamePassword

sign Up()Add employee()Remove Employee()Transfer employee()sending sms()Assign Field officers()Assign Booth()Maintains voters datbase()Maintains candidate database()Maintains party database()polling()statistical maintainance of polling()deleting voter_id()

Receiving Symbol<<Interface>>

Returning Officer

Allotment Of Symbols To Parties()Reception Of Nomination Papers()Scrutiny Of Nomination Papers()Intimation From Parties About Candidates()Overall Supervision Of Election Work()Scrutiny Of Account Of Expenses()Declaring The Result()

Intimation To Returning Officer<<Interface>>

Page 13: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

13 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

2.9 Sequence Diagram: Case 1: Application for voter Id

CitizenCitizen Voter's application form Voter's application form Electoral registration officerElectoral registration officer Voter's databaseVoter's database

<<return>>

<<return>>

filling application form

filling application form

application details

application verification

issue of voter's id and password

application details

entry in voter's database

entry in voter's database

Page 14: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

14 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Case 2: Candidate Nomination process

CandidateCandidate Candidate application form Candidate application form Returning officerReturning officer Candidate databaseCandidate database

filling application form

application details

application verification

issue of candidate id and password

entry in candidate database

entry in candidate database

<<return>>

application details

<<return>>

filling application form

Page 15: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

15 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

Case 3: Polling Process

CitizenCitizen LoginLogin Voting databaseVoting

databaseadminadmin

selection of candidate and symbol

enter username and password

confirm selection

entry into database

acknowledgement

acknowledgement

<<return>>

entry into database

<<return>>

enter username and password

<<return>>

Page 16: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

16 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

2.10 Database Design: 2.10.1 ER Diagram:

Citizen

password Voter Id

First Name

Gender

AddressVeri fication attachment

Verified by

Veri fiedby

Application Form

Applying For New Voter_Id

Applying For Customizing

Profile

Electoral RegistrationOfficerIs a

LoginDetails Name

ConstituenciesUnder him

Candidate

password CandidateId

First Name

Gender

AddressVerification attachment

Verified by

Verifiedby

Application Form

ApplyingFor

Nomination

ApplyingFor

Withdrawal

ReturningOfficerIs a

LoginDetails Name

ConstituenciesUnder him

Isa

Independent NotIndependent

Belongsto

Party

Party_Id

Symbol

Party leaderParty leader

Isa

NotAllied Allied

OfficeAddress

ApprovedVoter Approved

Candidate

Storedby

Storedby

AdminManaged

by

EmployeeManagement

AddEmployee Remove

Employee

Granting AndRevoking

Permissions

Page 17: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

17 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

2.11 Assumption and Dependencies:

The country has been only divided into cities and no further division like wards has been done.

Each user is having a specific role and their loginid and passwords.

The end user should be able to scan the required documents and upload while applying for voter id and candidates nomination.

3.0 Specific Requirement:

3.1 Use case Report

1) Administrator – All the information in respect of candidates is provided by him.

a. Candidate profile – The profile submitted by candidates is made available to

the voters to select.

b. Candidate listing – The different candidates for each city are listed on the site.

Preconditions

Data is verified by the administrator.

Administrator is logged in.

2) Field Officer – Maintenance of the connectivity with the server and along with that

helping voter in the registration process is work of this actor.

a. Managing connectivity – Connectivity with the server is maintained throughout

the polling process.

b. Voter registration – Voters who are not able register themselves can approach

the field officer for the same.

Preconditions

All the formalities for voter Id are complete.

Page 18: Online National Polling SRS

Online National Polling Version 2.0 Software Requirements Specification 28-03-2011 single day national polling_ggits

18 <single day national polling_ggits>/ < Gyan Ganga Institute of Technology and Sciences >

3) Candidate – These are the people who competing in election. They are suppose to fill

the form for registration.

a. Profile Information – The candidate provides profile information by filing a form

and submitting to the administrator.

Preconditions

All other verification in respect of candidate is already fulfilled.

4) Voters – These are the actors who are able to view the candidates profile and then cast

their vote for which ever they want.

a. Vote casting – They should login into their account and then cast their vote but

for only one candidate for that election.

b. View Party information – All the party manifestos and candidates under that

are listed can be viewed by the voters.

Preconditions

Candidates should be registered.

Voters are verified.

Party manifesto is up to date.

Voters are able to see their right to vote.

3.2 Supplementary Requirements

Network availability: a proper network is required for this system to work.

Quick server response: The server with which connection has to be maintained should be able to handle at least 10000 of requests at the same time.