srs online national polling

21
“Online National Polling" Version 1.0 Software Requirement Specification Date: 31 th Oct. 2009 “Online National Polling “ Software Requirement Specification Version 1.0 Team Guide Mr. Saurabh Ranjan Srivastava Team Members Gagan Goyal Naman Joshi Manmath Agarwal Nishant Goyal CodeRacers, 2009 Swami Keshwanand Institute of Technology and Gramothan Jaipur, Rajasthan Page 1/17

Upload: hello0815

Post on 27-Mar-2015

424 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

“Online National Polling “

Software Requirement Specification

Version 1.0

Team Guide

Mr. Saurabh Ranjan Srivastava

Team Members

Gagan Goyal

Naman Joshi

Manmath Agarwal

Nishant Goyal

Table of Contents

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 1/17

Page 2: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

1. Introduction Page No.

1.1 Purpose 3

1.2 Scope 3

1.3 Definitions, Acronyms and Abbreviations 4

1.4 References 5

1.5 Technologies to be used 6

1.6 Overview 5

2. Overall Description

2.1 UseCase Model 6

2.2 Class Diagram 7

2.3 Architecture Diagram 8

2.4 Database Design

2.4.1 ER Diagram 9

2.4.2 Schema 10

2.5 Assumptions and Dependencies 11

3. Specific Requirements

3.1 UseCase Reports 12

Software Requirements Specification

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 2/17

Page 3: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

1.0 Introduction

Online National Polling is a system that provide users the facility to vote online and to chat with

candidate ,view their profile etc.

1.1 Purpose

Whenever a polling takes place . we have to go to there and vote . some time many people

don’t go or can’t go to poll because of time or influencial people keep their men at the polling

booths to threaten the common man to vote for them .In many parts of country where there is

locally sponsored terrorism, at such places the security conditions are also not very bright, so

naturally people feel afraid to come out of their houses and go to vote . By eliminating these

drawbacks we are providing an Online Polling System..

1.2 Scope

Provide registration facility for public users who has voter ID or not (if not he will be

assigned ID after verification of documents).

Manage field Officers for different areas.

Maintain centralized databases that provide security to information which can be accessed

only by the admin.

Candidates and Public users can communicate through chat/Forums.

Candidate can log on and view & modify his profile.

Public users log on to account and Vote for.

Track all the users and their respective details.

All users are authenticated to avail the service.

After verifying documents by user id and password will be provided.

A counter will show the current vote status of each candidate

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 3/17

Page 4: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

FAQ/post comment section is also included for users benefit.

1.3 Definitions, Acronyms and Abbreviations

Admin – Administrator (Election Commision Officers), he is the controller of all the

Field Officers , candidate and maintain their records.

Candidate – Person of of a particular party who are to be vote.

Public user –general user who will vote.

HTML – Hypertext Markup Language is to create static websites.

J2EE – Java 2 Enterprise Edition is a programming platform and it is the part of the

java platform for developing and running distributed java applications.

WASCE – WebSphere application server community edition is an application server

that runs and supports the J2EE and web service applications.

DB2 – Database 2 is the database management system that provides a flexible and

efficient database platform to erect strong on demand business applications.

EJB – Enterprise java bean, it is architecture for the development and deployment of

transactional, distributed object applications-based, server-side software components.

HTTP – Hypertext transfer protocol is a transaction oriented client/server protocol

between web browser and a web server.

HTTPS – Secure hypertext transfer protocol is a hypertext transfer protocol over

secure socket layer.

TCP/IP – Transmission control protocol/internet protocol is the communication

protocol used to connect hosts on the internet.

SOA-Service Oriented Architecture.

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 4/17

Page 5: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

UML- Unified Modulating Language.

XML- Extensible Markup Language.

1.4 References

IEEE SRS format

Project specification requirement (provided by IBM)

1.5 Technologies to be used

J2EE – Application architecture

JAVA – Application architecture

WSAD – Development tool

WASCE - Web Server

DB2 Express-‘C’ – Database

XML-Extensible Markup Language

Ecllipse- Integrated Development Environment

1.6 Overview

SRS includes two sections overall description and specific requirements

Overall description will describe major role of the system components and interconnections.

Specific requirements will describe roles & functions of the actors.

2.0 Overall Description

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 5/17

Page 6: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

2.1 UseCase model

2.1 Security model

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 6/17

Page 7: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 7/17

Extract Location Information

Page 8: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

2.2 Class Diagram

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 8/17

Page 9: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

2.3 Architecture Diagram

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 9/17

Page 10: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

2.4 Database Diagram

2.4.1 E-R Diagram

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 10/17

Page 11: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

2.4.2 Schema:

Assumptions and Dependencies

The end user should have a basic knowledge of English and computer usage

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 11/17

Commu_Rec

UserID (string)Comments (string) Dissc_Foru (string)Mails (string) Date (int)Time (int)

User

UserID (string)Password (string)Name (string)F_name (string) E-mail ID (string)Sex (char)Zone (string)Address (string) DOB (date)Age (int)Phone_no (int)

Candidate

UserType (string)UserID (string)Password (string)Name (string)E-mail ID (string)Sex (char)Zone (string)Address (string)Party (char)Qualifi. (string) Phone_no (int)Comment (string)

Login

UserType (string)UserID (string)Password (string)

Field_OfficerName (string)F_name (string) E-mail ID (string)Sex (char)Zone (string)Address (string)Age (int)Phone_no (int)

Poll_Status

Cand_name (string)Party (string)Zone (string)Cand_Status (string)Party_Sta (string) User_from (string)User_To (string) Date (int)Time (int)

Admin

Name (string)City (string)Phone_no (int)E-mail ID (string) Assets

UserID (string)Cash (int)AccDetail (string)Property (string)Weapons (string)

Chat_Room

User_ID (string)Chat (string) User_from (string)User_To (string) Date (int)Time (int)

Page 12: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

The end user should be able to scan his photograph and upload it.

3.0 Specific Requirements

3.1Use-case

Public User:

Registration: User who want to online vote have to registered .They have to provide

Voter ID and an email ID on which confirmation details will be send.

Sign_Up: The user who have not Vote ID will first Sign Up to get Voter ID. After the

report of field officer he will be assigned voter ID and Password.

Sing_In : After Confirming the Details the users will be send Voter ID and password on

the mail Id provided by user in the registration form.

Forum: End User Can Post a Question and Queries and get answer from other user .

Poll: Admin can create Poll Questions and end user can view and give the answer of Poll.

Chat: End user can chat with other users and candidates.

View_Profile: End user can view profile of any candidate and post comment on it.

Demo_Vote: End user can see the demo of whole voting procedure.

Vote: End user can vote at the time of voting.

View_Status: End user can view status of voting of any place wherever the polling is going on.

View_Voterlist: End user can view voter list before polling starts.

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 12/17

Page 13: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

Candidate

Sign_in:

Respective Candidate has to login to his account to start his work.

View_Profile :

After signing in, candidate can view his and other candidate profiles .

Update_Profile:

Candidate can modify a part of his or her profile like promises, there previous

works and a comprehensive about me etc. till it is allowed as per the election

commission rules.

Chat : Candidate can chat with the voters and his opponents and answer to discussion

forum etc..

View_Voterlist: Candidate can view voter list before polling starts.

Field Officer

View_task:

Field officer can view his task including working zone, list of applicants whose

details has to be verified.

Report:

Field officer will send report to administrator after verifying each and every

Applicants of his zone.

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 13/17

Page 14: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

Administrator:

Manage_regitration

Administrator receives applications for registration of voters and send to respective

field officers for verification and receives the report from field officer.

Manage_Database:

Administrator add the records of voters to the database according to the

report submitted by different field officers.

Provides login account:

After registration administrator will provide log_in to voters.

Maintains system server:

Admin maintains the centralized system server which controls the client computers.

Add records:

Admin adds the records into the database after verification.

Manage _commu

Admin will manage chats, discussion forums etc. going on among candidates and voters.

Upload_Details

Admin will upload candidate details after his/her nomination.

Provide_information:

Admin will provide status of voting and other informations, current news, etc.

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 14/17

Page 15: SRS ONLINE NATIONAL POLLING

“Online National Polling" Version 1.0Software Requirement Specification Date: 31th Oct. 2009

**************************

CodeRacers, 2009Swami Keshwanand Institute of Technology and Gramothan

Jaipur, Rajasthan Page 15/17