Sei sulla pagina 1di 31

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Hammer Heads !!!


ONLINE NATIONAL POLLING SYSTEM
Software Requirement Specifications
Version: 1.0 Team Name : HAMMER HEADS!!! College Name : Smt. Kashibai Navale College Of Engg, Pune, Maharashtra

Team Guide : Prof. S. K. Pathan Team members : Agrawal Shweta A. Gugale Rohit V. Dhamak Sonal Kakani Jatin J.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 1

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Date
23-02-2011

Version 1.0

Description
First SRS

Author Hammer Heads

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 2

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Table Of Contents

1. Introduction
1.1 1.2 1.3 1.4 1.5 Purpose Scope Abbreviations References Technologies 5 5 6 7 7

2. Overall Description
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 Product Perspective Software Interface Hardware Interface Communication Interface Product Functionalities User Characteristics Constraints Use-Case Model Class Diagram Sequence Diagrams Database Design 2.11.1 ER Diagram 2.11.2 Schema Design Assumptions and Dependencies 8 9 9 10 11 12 12 13 14 15 18 18 19 26

2.12

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 3

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

3.

Specific Requirements 3.1 3.2 Use-Case Reports Supplementary Requirements 27 29

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 4

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Software Requirement Specifications


1. Introduction
1.1
Purpose
We live in a democracy and voting is one of our fundamental duties as responsible citizens of the country, but nowhere around the country a 100% people come to vote during the elections in their territory. There have been many reasons for that some of them are: In the rural areas the influential people keep their men at the polling booths to threaten the common man to vote for them There are many portions of the country like the North East 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 Net savvy, new generation want a hassle free voting system. Also the people in metros want a system through which they can vote for their territory without traveling. Voting is one of the fundamental duties of every citizen. But many people do not go for voting thinking why to waste their time. Also a number of malpractices take place at the polling booths.

Considering these problems, Online Polling System Is the only solution. Online Voting system provides a convenient way of managing the voting system over internet.

1.2

Scope
The web application is developed for conducting national elections. It helps the election commission to register voters, register candidates, select field officers, conduct an election, moderate an election and decide the results.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 5

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

It provides a hassle free environment to voters for practicing their right to vote just by casting their votes online. Different system users are created and they are assigned different privilege levels. Thus, security is maintained. Digital signature is implemented when the citizen applies for voter id by filling the registration form. It is also implemented when a voter casts his vote on the website.

The system maintains a centralized database to provide security to


information which can be accessed only by the admin (ECO). The Election Commissioner will create the profiles for the candidates using which the candidates will be able to campaign. Current statistics regarding the results will be displayed Chat and forum facility is available even for general public, who are not logged on to the system. FAQ section is also included for users benefit. Java Based client system for ECO and FO.

1.3

Abbreviations and definitions


Users of the system:

1. Election Commission Officer(ECO): The ECO or the admin will have control over the whole election process. He maintains the overall system, conducts elections and has centralized control of all the related data. The ECO also validates a candidate and registers him for the election. He also grants him a profile on the website.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 6

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2. Field Officer(FO): The FO confirms voter registration and provides voter a voter id. There is one FO per constituency. The FO also supervises the site officers in his constituency. 3. Site Officer(SO): The site officer verifies a person who has registered online or registers a person who opts for manual registration. A citizen is granted voter id by the FO only after he is verified by the SO. 4. Candidate: The ECO grants a profile to the candidate using which he can campaign in the form of videos, uploading the work done by him,etc. 5. Voter: He is the one who votes for his desired candidate. He can view the profiles of the candidates in his constituency. He is the person who votes for the candidate and is allowed to view the results

HTML: Hypertext markup Language to design static web pages EJB: Enterprise Java Beans JSP: Java Server Pages JS: Java Script Language to used for client side web development JQUERY: Lightweight JavaScript library that emphasizes interaction between JS and HTML

AJAX: Asynchronous JS Library and XML.-Used to change page contain without reload

DB2: DB2 Database is the database management system that delivers a flexible and cost effective database platform to build robust on demand application (viz. Desktop, Web, Business, etc)

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 7

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

J2EE: Java 2 Enterprise Edition programming platform- for developing and running distributed multitier architecture.

HTTP: Hypertext Transfer Protocol to maintain transaction between client and server

HTTPS: Secure Hypertext Transfer Protocol is a HTTP and SSH TCP / IP: Transmission Control Protocol / Internet Protocol, the suit of communication protocol used to connect host over internet. SSL: Secure Socket Layer used for connectivity to ensure security. ECO : Election Commission Officer FO : Field Officer SO : Site Officer

1.4

References
Problem definition (Provided by IBM) SRS format (Provided by IBM) Java 2, The complete reference by Herbert Schildt Publication: Tata McGraw Hill, International Edition 2008

UML 2.0 In A Nutshell by Dan Pilone with Neil Pitman, OReilly


Publications: Shroff Publishers and Distributors, Third Indian Reprint, May 2007 Software Engineering by Roger Pressman, seventh edition

1.5

Technologies To Be Used
Eclipse: Development Tool WAS: Web server Rational Rose: Design Tool J2EE: Application and architecture DB2: Database

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 8

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

1.6

Overview
Overall Description will describe major components of the system, interconnection and external interfaces. Specific Requirements will describe the functions of actors, their role in the system and constraints.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 9

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2. Overall Description
2.1

Product Perspective:

The software product is a standalone system and not apart of a larger system. The system will be made up of two parts, one running visible directly to the administrator on the server machine and the other visible to the end users, in this case the voters, through web pages. The two users of the system, namely the voters and the election authority(EA) interact with the system in different ways. The Election Commission Officer and Field Officer configures the provided java-client according to its needs. The voters cast their votes using the web interface provided. These votes are accepted by the system on the server.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 10

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

The web pages (XML/JSP) are present to provide the user interface on customer client side. Communication between customer and server is provided through HTTP/HTTPS protocols. On the server side web server is for EJB and database server is for storing the information.

2.2

Software Interface:
Client on Internet: Web Browser, Operating System (any) Web Server: WAS, Operating System (any) Data Base Server: DB2, Operating System (any) Development End: RAD (J2EE, Java, Java Bean, Servlets, JSP, EJB), DB2, Linux, Web Server, Tivoli Server.

2.3

Hardware Interface:
Minimum Hardware requirements:

Client Side
Processor RAM Disk Space

Internet Explorer 6.0 and above, Mozilla Pentium III at 256 MB Firefox, Chrome 500 MHz

1 GB

Server Side

DB2 V9.1

Pentium IV 1GB at 1.3 GHz

4GB(Excluding data size)

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 11

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.4

Communication Interface:
Client on Internet will be using HTTP/HTTPS protocol.

2.5

Product Functionalities:
Voting: The main task of this project is to design a software which enables the general public of the country to exercise their right to vote online. An electoral roll, a list if all eligible citizens who are entitled to cast their vote in an election and also the party manifestos are displayed on HTML pages. Polling information: All the information regarding the polling and the candidates of the respective constituency is directly given to the people. Mobility of voting: The voter can now vote from anywhere in the world for his constituency. This also saves the time and money of the concerned government. Candidate Campaigns: The candidate is provided with the feature through which he can upload the data about him, carry out campaigns. He is provided with the profile over the site, by the ECO, so that he can upload required data. Ease Of Updation for manual voting, and secured voting: The field officer /site officer is provided with the system in which during the election process the FO is displayed with the screen on which he can update the recently manually voted voters.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 12

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Secure transfer of user votes and user information Digital Signature is implemented so that the vote casted by a voter is safely transferred over the network.

2.6

User Characteristics:
Every user using this system should have at least some knowledge about using the internet. He should also have the knowledge of English so that he can use the site and understand it. The system considers the user to be well educated or acquainted with the knowledge of the internet and the election procedure.

2.7

Constraints
GUI is only in English. Limited to HTTP/HTTPS.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 13

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.8

Use-Case Model

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 14

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.9

Class Diagram

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 15

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.9.1 Sequence Diagram


a)Sequence Diag. For Voter Registration

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 16

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

b)Sequence Diagram For Voting process

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 17

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

C) Sequence Diagram For Create Election Process

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 18

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.10 Database Design 2.10.1


ER Diagram

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 19

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.10.2

Database Schema

Login
Attribute Id Password Type String String String Types Constraint Primary Key Not null Not null

ECO
Attribute ecoId voterId String String Types Constraint Primary Key Foreign Key

FO
Attribute foId voterId foConstId String String String Types Constraint Primary Key Foreign Key Foreign Key

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 20

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Site_Officer
Attribute siteOfficerId fieldOfficeId voterId String String String Types Constraint Primary Key Foreign Key Foreign Key

Field_Office
Attribute fieldOfficeId constId Address fieldOfficeContactNo String String String String Types Constraint Primary Key Foreign Key Not null Not null

Candidate
Attribute
candidateId voterId constId partyId candiWebSite voteCount String String String String String Long

Types

Constraint
Primary Key Foreign Key Foreign key Foreign key

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 21

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Party
Attribute partyRegId partyName partySymbol partySymbolName partyLeader partyOfficeAdd partyContactNo Types String String Image String String String Long Not null Not null Constraint Primary Key

Report
Attribute Reported reportName reportType String String String Datatype Constraints Primary key

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 22

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

TempRegister Attribute formNo Name motherName fatherName Surname DOB Address City pinCode phNo Emaild Sex placeOfBirth Occupation Qualification IsVerified String String String String String Date String String String String String String String String String Boolean Not null Not null Not null Type Constraints Primary Key Not null Not null Not null Not null Not null Not null Not null Not null

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 23

Online National Voting System Hammer Heads Team Name/ State Name Constituency
Attribute ConstId Name ZoneId State WinCand NoOfCand NoOfVoters VotingPercentage NoOfPollingBooths String String String String String Integer Integer Double Long integer Datatype

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Constraints Primary key Not null Foreign key Not null

Schedule
Attribute ScheduleName StartDate StartTime EndDate EndTime String Date Time Date Time Datatype Constraints Primary key

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 24

Online National Voting System Hammer Heads Team Name/ State Name Voter
Attribute voterId formNo Name motherName fatherName Surname DOB age Address City pinCode phNo Emaild Sex placeOfBirth Occupation ConstId IsVoted String String String String String String Date integer String String String String String String String String String Boolean Type

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Constraints Primary Key Foreign key Not null Not null Not null Not null Not null Check Not null Not null Not null

Not null Not null

Not Null Not Null

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 25

Online National Voting System Hammer Heads Team Name/ State Name Election
Attribute EleYear EleNo NoOfZones NoOfConst EleName String String Integer Integer String Datatype

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

Constraints Not null Not null Not null Not null Not null

Zone
Attribute ZoneId NoOfConst ScheduleName ZoneName String Integer String String Foreign Key Datatype Constraints Primary key

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 26

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

2.11 Assumptions and dependencies


It is assumed that the system database includes the information about the existing voters who have already registered for manual voting. A web server with GUI, Java and an http server installed at the server side.

Administrator is created in the system already.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 27

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

3. Specific Requirements:
3.1
Use Case Reports:
1. ECO: Use cases: a. Create election: It is the duty of the ECO to create the election. Creating the election includes some sub functions like i.Update constituency list: The first task after creating the election is to update the existing constituency list. He may add new constituency or delete existing one. ii.Update zone list: The ECO divides the country into different zones for conducting elections. Many constituencies form a zone. iii.Schedule election: The ECO decides the schedule of election as per the zones. The schedule includes notification issue date, last date of registration for candidates, last date for registration of voters and the election date and time. b. Create candidates profile: The ECO validates and registers the candidate and allots him a profile on the website. c. Delete candidate profile: Within the specified period, if a candidate wants to withdraw his nomination, he may apply for it after which the ECO deletes his profile. d. Manages FO: The ECO adds or deletes the FOs and also assigns them to different constituencies.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 28

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

e. Declare results online: After the election the ECO declares the result based on the manual as well as online votes. 2. FO: Use cases: a. Manages site officers: The FO appoints and supervises the site officers in his constituency. Also, the registration of the site officer as a voter is the duty of the FO. b. Confirm voter registration: After the SO verifies the citizen, he is confirmed as a voter by the FO. c. Update voters details: Whenever the voters details need to be changed(for e.g. when the address of a voter is changed), it is the duty of the FO to make the necessary changes and provide a new voter Id to the voter. 3. Site Officer(SO): Use cases: a. Verify applicant for voter id: The SO verifies the applicant for the details provided by him. 4. Candidate: Use cases: a. Apply for profile: The candidate files a nomination after validation of which he gets a profile on the site. b. Campaign: The candidate can campaign on the site using the profile provided to him. He can upload videos, declare his resolutions, post the work done by him on his profile.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 29

Online National Voting System Hammer Heads Team Name/ State Name

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

c. Update profile: Candidate can update his/her profile which contains the personal details which he/she provided during sign up if any update required. d. Apply for withdrawal of nomination: Within the specified period, if a candidate wants to withdraw his nomination, he may apply for it after which the ECO deletes his profile. 5. Voter: Use cases: a. Register himself: A citizen can register himself on the website or manually at the SO according to the norms specified in order to get the voter id. b. View candidate profile: He can view the profile of the candidates in his constituency. c. Vote for candidate: The voter can vote for his desired candidate in his constituency either n the website or at the polling station. d. Participate in discussions: The voter can participate in discussions with any actor of the system through forums and chats.

3.2

Supplementary Requirements
Backup in case of power failure: UPS support must be available on server side for at least 6 hours in case of power failure for backup.

Compatibility with existing database: The database of the system should be compatible with that of the existing database with the government.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 30

Online National Voting System Hammer Heads Team Name/ State Name
Easy deployment of website:

Version 1.0 Date : 28/02/2011 Hammer Heads/Maharashtra

The website should be highly customizable and flexible enough for easy deployment. Better performance and load handling capacity: The Web application Server should provide good performance and load handling capacity on the day of election.

Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune

Page 31

Potrebbero piacerti anche