Online Voting System
Online Voting System
Online Voting System
Jaipur
Department Of CSE
Session: 2011-2012
ONVS
ONVS
INDEX
S No. 1. 2. 3. 4. 4. 5. Software development Phase Feasibility Study Software requirement Specification Data Flow Diagrams ER Diagram Use Case Diagrams Screenshots Date 12-03-12 20-03-12 27-03-12 27-03-12 17-04-12 24-04-12 Remarks
ONVS
Feasibility Study
Motivation:
The present Voting system, i.e. the system using EVMs (electronic Voting machines) has successfully replaced the old system that used paper ballets. Now, as the e-world is spreading like a wildfire, time has come to apply the online concept to the present Voting System. This would not only increase the percentage of votes cast, but will also bring down the cost of conducting elections. Also, people who do not live in their hometowns will be able to cast votes, thus further increasing the percentage of votes cast and giving us better or more accurate and precise results.
Input Assumptions:
All the voters have their Unique ID. All voters are literate. All voters have access to the internet. Voters will need to register using their unique ID before they can vote. All voters will have a secret password, which will be generated at the time of registration.
Problem Definition:
The conventional voting system using EVMs is easier and safer than ballets, but still its costlier as Voting centers are formed and people assigned to overlook the entire process are given TAs and DAs out of the government reservoir. Not all voters can cast vote as many of them live in other towns and cities. People have to travel long distances to cast their votes. The additional cost of counting of votes. The wait and delay in the results.
Objective:
The online Voting system is a user Friendly online software, where users can register and log in to cast their Votes without the hassle of travelling to a voting centre. The main objective is to maintain a record of all the voters and conduct online polls during election period.
ONVS
Maintain records of all the citizens. Keep records of the eligible vote bank of a particular election being conducted at a given time. Keep a record of the votes cast for all the candidates. Keep a record of all the votes cast. Give result as soon as the end of elections. Calculate the percentage of votes cast. An educational tour will be given to all the users at the time of registration. User manuals will be provided several days before elections. One person can vote only once, though they can log in again to see who they cast vote for. The administrators input all the information about the Candidates before polling opens and can change it after one poll for reuse of the software. The administrators have access to all the data input by voters. At the end of elections, the administrators can announce the winners right away. Voters can change their password after they log in.
ONVS
ONVS
1. Introduction:
1.1 Purpose:
The purpose of our project is to provide an easy and cheaper way of election system, which will ensure secure elections along with bringing down the total cost and increasing the percentage of votes cast. This software can also be used by the ruling Government to conduct polls and know the general opinion of the people on current issues.
1.2 Scope:
IN SCOPE: Administrators can keep record of all the candidates. Administrators can input the number of and the basic information of all the candidates at the start of elections. Administrators can keep record of Voters. Administrators can see and declare the result at the end of poll.
OUT OF SCOPE: People who are illiterate cant vote. People who dont have access to internet will have to go to a nearby online vot ing centre to cast their vote.
1.3 Definitions:
Unique ID: A unique identification alphanumeric code assigned to all the citizens at the time of census. Password: An alphanumeric code that gives you access to the system. Voters: Citizens eligible for casting votes at a given time. Literate: One who can read write and understand in any language. Poll/Elections: Formal decision-making process by which a population chooses an individual to hold public office. Database: Collection of information in a structured form.
ONVS
Administrators: People assigned by the Election Commission to oversee the smooth and safe elections. Server: The computer systems where all the data is stored.
1.4 Abbreviations:
DB: Database ONVS: Online National Voting System SW: Software UID: Unique ID GUI: Graphic User Interface TA: Travel Allowance DA: Daily Allowance CV: Cast Vote
1.5 References:
http://en.wikibooks.org/wiki/PHP_Programming/ http://www.w3schools.com/php/ http://www.w3schools.com/sql Various books on Software Engineering
1.6 Overview:
The rest of the SRS is organized as follows: Section 2 gives an overall description of the sw. It determines the level of proficiency which is expected from user, some general constraints while making this sw and making some assumption and dependencies. Section 3 gives special requirement which the sw is expected to deliver. Functional requirements and some design constraints are also given. Section 4 gives some possible future extensions of the system.
ONVS
2. Overall Description
2.1 Product Perspective:
The online National Voting system is a self contained system that manages all the on goings of national or regional elections. From maintaining database to conducting elections in a fruitful manner, and then giving results right away. The election commission will appoint the authorized body to view, maintain and change the data regarding voters and candidates.
Use Cases
to Installation UID
Description
Installing the sw UID and password required by the users and administrators. Admin as well as users can change passwords for enhanced security. Users can see and edit their details change their details stored in the Database Admin can change and edit the Details regarding Candidates as required by the election Commission Users can cast their votes via one click after logging in to
Changing Password
User Details
Candidate Details
ONVS
their accounts Use case related to counting Counting of Votes of Votes and result Declaration
10
Votes will be counted automatically through the coding so that the count increases every time a user casts vote The admin can see the result as soon as the voting is closed along with the calculations regarding percentage of votes cast.
Declaration of result
ONVS
11
3. Specific Requirements
3.1 Functional Requirements:
We describe the functional Requirements using Various Use cases:
3.1.1
Primary Actor: Voter Pre-Requisite: Internet Connection, A genuine user with his unique ID for Registration. Purpose: Registering the Voter to the Database Main Scenario: Voter enters the system homepage. He clicks the register now button. The system prompts the application form. He fills in the necessary information related with him in the application form. He sends the request for registration by using send button. If the information is correctly entered the system prints a successful message. Otherwise, it prints appropriate error message, redisplays the application form.
3.1.2
Primary Actor: Administration Pre Requisite: Internet Connection, Updated Database Purpose: To update the newly added Voters to Database and remove or edit information about existing Voters. Main Scenario: Admin selects on Update Voters from menu and displays that page Admin click on Update Now button The system checks online voters with respect to upcoming elections voters list
ONVS
If the voter exists in the list, the system updates the voter with respect to official voter information. If the voter does not exist in the list, the system deletes that voter from database.
12
3.1.3
Primary Actor: User Pre Requisite: Internet connection, UID and Password Purpose: A voter may log in to see their profile, edit it, change password or cast vote and view their vote cast. Main Scenario: The user enters his login id and password If the login and password is valid, The specific page of every user is loaded If the login or password is not valid, the login screen is redisplayed with an error message the user click on the logout button Alternative Scenario: Null
3.1.4
Primary Actor: User Pre Requisite: Internet connection, UID and Password Purpose: The user can change their Password by entering their original password Main Scenario:
User clicks on Update Account. The system opens a new page to enter old password and the new one. The user enters his old password. He then enters his new password User clicks the submit button. If the old password was entered incorrectly, the system will print an error message and the form to change password will re-appear. If the old password was entered correctly the system changes password and prints a success message and redirects to his profile. Alternative Scenario: Null
13
Primary Actor: Admin Pre Requisite: Candidate information Submitted by candidate, Internet Connection Purpose: Update data about Candidates Main Scenario: The admin Logs in. There is a button labeled, add a new Candidate or edit Candidate Information The admin puts in new data, clicks on Save.
3.1.6
Primary Actor: Admin Pre Requisite: Internet Connection Purpose: View and Declare result at the end of elections Main Scenario: The admin opens the result page. He clicks in the Declare result button. The result link is posted in the homepage.
3.1.7
Primary Actor: Voter Pre Requisite: Internet connection, UID and Password Purpose: The voter can cast their vote Main Scenario: Voter logs in on the website. Voter goes to the online ballet page.
ONVS
Voter clicks on their desired Candidate and press save choice. Redirected to their profile
14
ONVS
15
4. Future Extensions
Earlier EVM system of conducting elections took up a lot of time and resources. Using an online system will strive to save both. Some more extensions are Security: Sensitive data is protected from unwanted access by users. Appropriate technology and implementing strict user access-criteria. Provide good performance and ability to scale the server: The web application server should provide good performance and ability to manage performer technique such as, faster and easy access, reliability, etc. Centralized database: CD will enable efficient management of data. Safety and reliability: By incorporating a robust and proven RDBMS (SQL) into the system, reliable, performance and integrity of data is ensured. There must be a power backup for server system. Voting without having to travel: Voters living outside India who have Indian citizenship can also cast their vote.
ONVS
16
DFD
ONVS
17
ER Diagram
ONVS
18
Voter Registration
ONVS
19
Log in
Change Password
ONVS
20
Declare Result
ONVS
21
Cast Votes
ONVS
22
Screenshots
ONVS
23
ONVS
24
ONVS
25
ONVS
26