onlinenationalpolling_srs

Upload: ravigeekinside

Post on 08-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 OnLineNationalPolling_SRS

    1/22

    Code Emerald/S.K.I.T. Jaipur Page 1 of 22

    ONLINE NATIONAL

    POLLING

    SRS VERSION 1.0SRS VERSION 1.0SRS VERSION 1.0SRS VERSION 1.0

    TEAM NAME TEAM NAME TEAM NAME TEAM NAME: : : : Code Emerald Code Emerald Code Emerald Code Emerald

    COLLEGE NAME: COLLEGE NAME: COLLEGE NAME: COLLEGE NAME: Swami Keshavanand Swami Keshavanand Swami Keshavanand Swami Keshavanand InstituteInstituteInstituteInstitute of Technology of Technology of Technology of Technology Jaipur, Rajasthan Jaipur, Rajasthan Jaipur, Rajasthan Jaipur, Rajasthan

    TEAM GUIDE: TEAM GUIDE: TEAM GUIDE: TEAM GUIDE: Mr. S.R. Dogiwal Mr. S.R. Dogiwal Mr. S.R. Dogiwal Mr. S.R. Dogiwal Sr. Lecturer Sr. Lecturer Sr. Lecturer Sr. Lecturer

    Dept. of Computer ScienceDept. of Computer ScienceDept. of Computer ScienceDept. of Computer ScienceTEAM MEMBERS: TEAM MEMBERS: TEAM MEMBERS: TEAM MEMBERS:

    Ravi Kumar Gupta Ravi Kumar Gupta Ravi Kumar Gupta Ravi Kumar Gupta Ravi Shankar Gupta Ravi Shankar Gupta Ravi Shankar Gupta Ravi Shankar Gupta

  • 8/7/2019 OnLineNationalPolling_SRS

    2/22

    Code Emerald/S.K.I.T. Jaipur Page 2 of 22

    Table of Contents

    1. Introduction

    1.1 Purpose

    1.2 Scope1.3 Definitions, Acronyms and Abbreviations

    1.4 References

    1.5 Technologies used

    1.6 Tools to be used

    1.7 Overview

    2. Overall Description

    2.1 Use Case Model Survey

    2.2 Class diagram

    2.3 Sequence diagram

    2.4 Activity Diagram

    2.5 ER Diagram

    2.6 Assumptions and Dependencies

  • 8/7/2019 OnLineNationalPolling_SRS

    3/22

    Code Emerald/S.K.I.T. Jaipur Page 3 of 22

    3. Specific Requirements

    3.1 Use Case Reports

    SOFTWARE REQUIREMENTSSPECIFICATION

    1.0 INTRODUCTION

    Online National Polling is an E-Polling system which maintains therecords of voters, candidates, parties, Election commission.

    1.1 PURPOSE

    In general, the citizen has to go to polling booth to register his/hervote. Our project provides a facility where a citizen can apply for avoter-id card and register his/her vote online. A candidate can file anomination, canvass their strengths and the election commissionadministration can be done online.

    1.2 SCOPE

    Create different employees and assign corresponding privileges.

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

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

    Creating dynamic employees like Electoral Registration Officer,Returning Officer and other officials as the first time setup.

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    4/22

    Code Emerald/S.K.I.T. Jaipur Page 4 of 22

    Supervision of lower designation officers by higher designationofficers. This customizable feature allows admin user to create

    required amount of employees.

    Transfer employee and promotion feature.

    Maintains history of the employees right from the date of join to hisretirement. Also the retired employee record is also maintained.

    Track all the employees, citizens and their contact details.

    All users are authenticated to avail the service.

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

    Chat facility is available for working officers.

    FAQ section is also included for users benefit.

    1.3 Definitions, Acronyms and Abbreviations

    Admin Administrator (super user), he is the controller of all theemployees, citizens and maintaining all records of the citizen andemployees.

    Employees Chief Election Commissioner, Electoral RegistrationOfficer, Returning Officer and other officials who are working inelection commission department.Citizen End users, those who registered in this site.

    HTML Hypertext Markup Language is to create static websites .

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    5/22

    Code Emerald/S.K.I.T. Jaipur Page 5 of 22

    J2EE Java 2 Enterprise Edition is a programming platform and it isthe part of the java platform for developing and running distributed

    java applications.

    WAS Web sphere application server community edition is anapplication server that runs and supports the J2EE and web serviceapplications.

    RSA Rational Software Architect is a designer toolkit which isdesigned for develop more complex projects by providing fullydynamic web service.

    DB2 Database 2 is the database management system that provides aflexible and efficient database platform to erect strong on demandbusiness applications.

    XML - Extensive Markup Language used for data transfer and XML

    is stored naturally in DB2

    HTTP Hypertext transfer protocol is a transaction orientedclient/server protocol between web browser and a web server.

    HTTPS Secure hypertext transfer protocol is a hypertext transferprotocol over secure socket layer.

    TCP/IP Transmission control protocol/internet protocol is thecommunication protocol used to connect hosts on the internet.

    1.4

    References

    IEEE SRS format

    Project specification requirement (provided by IBM)

    1.5

    Technologies to be used

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    6/22

    Code Emerald/S.K.I.T. Jaipur Page 6 of 22

    HTML Hyper Text Markup Language

    Java Script Script Language

    XML Extensive Mark Up Language

    JAVA Application architecture

    J2EE Application architecture

    AJAX Asynchronous Java script And XML

    1.6

    Tools to be used

    RSA Rational Software Architect 7.0

    DB2 9 Database

    WAS Websphere Application Server 6.0

    TSM Tivoli Storage Manager

    Lotus Forms Xforms

    1.7

    Overview

    SRS includes two sections overall description and specific requirements

    Overall description will describe major role of the systemcomponents and Interconnections.

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    7/22

    Code Emerald/S.K.I.T. Jaipur Page 7 of 22

    Specific requirements will describe roles & functions of the actors.

    2.0 OVERALL DESCRIPTION

    2.1 USE-CASE MODEL SURVEY

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    8/22

    Code Emerald/S.K.I.T. Jaipur Page 8 of 22

    Forum

    Listening To Campaign

    Request For Voter_id

    Edit Profile

    My Profile

    Voting History

    Past Election News

    Dependent

    Independent

    My History

    Delivering Campaign

    My Profile

    Generate Reports

    Scrutiny Of FinancialTransaction

    Maintains Database

    Obtain Proof

    Provide Proof to Candidate

    Party History

    My Profile

    Verification & Updation. My Job Profile

    Add Rules & Acts

    Filing Nomination

    Withdrawing Nomination

    Edit Profile

    CANDIDATE

    CITIZEN

    ADMIN

    PARTYLEADER

    Manage Employees

    ELECTORAL REGISTRATIONOFFICER

    Help & FAQs Log In Log Out View Rules & Acts

    Verification & Updation

    My Job Profile

    Send or Read E-Mail

    Declaring Results

    Allotment Of Symbols

    EMPLOYEES

    RETURNINGOFFICER.

    Supervision Of OverallActivities

    2.2 CLASS DIAGRAM

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    9/22

  • 8/7/2019 OnLineNationalPolling_SRS

    10/22

    Code Emerald/S.K.I.T. Jaipur Page 10 of 22

    Case 1: Applying for voter id

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

    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

    Case 2: Candidate nomination process

    Online National Pollin Version 1.0t

  • 8/7/2019 OnLineNationalPolling_SRS

    11/22

    Code Emerald/S.K.I.T. Jaipur Page 11 of 22

    CandidateCandidate Candidate application formCandidate 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

    application details

    filling application form

    Case 3: Polling Process

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    12/22

    Code Emerald/S.K.I.T. Jaipur Page 12 of 22

    CitizenCitizen LoginLogin VotingdatabaseVoting

    databaseadminadmin

    selection of candidate and symbol

    enter username and password

    confirm selection

    entry into database

    acknowledgement

    acknowledgement

    entry into database

    enter username and password

    2.4 ACTIVITY DIAGRAM

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    13/22

    Code Emerald/S.K.I.T. Jaipur Page 13 of 22

    Case 1: Voter-id verification

    Application fromcitizen

    Is itvalid?

    Accept the application

    Provide Voter id

    Update Voters database

    Reject the application

    Yes

    No

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    14/22

    Code Emerald/S.K.I.T. Jaipur Page 14 of 22

    Case 2: Candidate verification

    Case 3: Polling Process

    Application fromcandidate

    Is itvalid?

    Accept the application

    Provide Candidate- idand constituency

    Update Candidates database

    Reject the application

    Yes

    No

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    15/22

    Code Emerald/S.K.I.T. Jaipur Page 15 of 22

    2.5

    ENTITY RELATIONSHIP DIAGRAM

    Registered citizensigns in

    Has alreadyvoted?

    Voting is restricted to thatperson

    Voter-id and passwordreceived from the citizen

    The citizen selects a candidate fromthe list of candidates available in

    that constituency

    Register his/her vote

    Update the pollingdatabase

    Lock that voter id

    Yes

    No

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    16/22

    Code Emerald/S.K.I.T. Jaipur Page 16 of 22

    Citizen

    p as swo rd Vot er I d

    First Name

    Gender

    AddressVerificationattachment

    Verifiedby

    Verifiedby

    Application Form

    Applyi ng ForNew Voter_Id

    Applyi ng ForCustomizing

    Profile

    Electoral RegistrationOfficerI s a

    LoginDetails Name

    ConstituenciesUnder him

    Candidate

    password CandidateId

    First Name

    Gender

    AddressVerificationattachment

    Verifiedby

    Verifiedby

    Application Form

    ApplyingFor

    Nomination

    ApplyingFor

    Withdrawal

    ReturningOfficerI s a

    LoginDetails Name

    ConstituenciesUnder him

    Isa

    Independent NotIndependent

    Belongsto

    Party

    Party_Id

    Symbol

    PartyleaderPartyleader

    Isa

    NotAllied Allied

    OfficeAddress

    ApprovedVoterApproved

    Candidate

    Storedby

    Storedby

    AdminManaged

    by

    EmployeeManagement

    AddE mpl oyee R em ove

    Employee

    Granting AndRevoking

    Permissions

    2.6

    Assumptions and dependencies

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    17/22

    Code Emerald/S.K.I.T. Jaipur Page 17 of 22

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

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

    3.0 Specific Requirements

    3.1 Use-case reports

    Citizen

    Sign up

    In order to apply for a new voter id card, an end user must sign up byfilling the sign up form and get it approved by Electoral RegistrationOfficer .

    Sign in

    After getting the username and password, end users can log on to theiraccount and can access the website.

    Open profile

    End user can open his/her profile which contains the personal detailswhich he/she provided during sign up.

    View profile

    End user can view his/her profile which contains the personal detailswhich he/she provided during signup.

    Update profile

    Online National Pollin Version 1.0t

  • 8/7/2019 OnLineNationalPolling_SRS

    18/22

    Code Emerald/S.K.I.T. Jaipur Page 18 of 22

    End user can update his/her profile which contains the personal details

    which he/she provided during sign up if any update required.

    Polling

    End user with a voter id and password must take part in polling eitheronline or manually to select their representative.

    Discussion Forum

    End user can listen to the campaign delivered by the candidates .

    Administrator

    Verify details:

    Admin authenticates all the end users and officers by checking theirusername and password.

    Provides login account:After getting the sign up details from the end user, Admin provides

    the username and password to the end user that should be kept forfuture login and also admin checks for uniqueness.

    Maintains system server:

    Admin maintains the centralized system server which controls theclient computers .

    Online National Pollin

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    19/22

    Code Emerald/S.K.I.T. Jaipur Page 19 of 22

    Maintains database:

    Admin maintains the entire database and he is the onlyauthorized person to add/remove/edit employee records and end userrecords provided he has to get the order from the highest designationofficer.

    Add rules and acts:

    Admin adds the rules and regulations that should be followedduring the polling and also mentions the necessary qualifications for a

    person to apply for a new voter id card or to file a nomination.

    Candidate

    Filing a nomination

    A citizen of the nation who has completed 25 years of age andsigned in as a voter can file a nomination if he/she wishes andReturning Officer will approve it if that person is qualified andall the details provided are true and acceptable.If the candidate belongs to a party he/she must produce a proof provided by the party leader.If the candidate has participated in previous elections, thenhe/she must submit the account of expenses.

    Sign in

    After getting the username and password, candidates can log on to

    their account and can access the website.

    Open profile

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    20/22

    Code Emerald/S.K.I.T. Jaipur Page 20 of 22

    Candidate can open his/her profile which contains the personal detailswhich he/she provided during sign up.

    View profile

    Candidate can view his/her profile which contains the personaldetails which he/she provided during signup.

    Update profile

    Candidate can update his/her profile which contains thepersonal details which he/she provided during sign up if any updaterequired.

    Discussion Forum

    A candidate delivers campaign which the citizens may listen to.

    Electoral Registration Officer

    Sign in

    First the electoral registration officer has to sign in to start thework.

    Verifying for any new registration

    The officer who has logged in can view the new citizen

    registration in his locality.

    Accepting new registration

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    21/22

    Code Emerald/S.K.I.T. Jaipur Page 21 of 22

    The electoral registration officer can accept the new registration

    depending upon the details enclosed by the end user.

    Declining new registration

    He can also decline if the details enclosed are illegal or notcorrect .

    Returning Officer

    Sign in

    First the returning officer must login into his/her account to startthe work.

    Scrutiny of nomination papers

    The returning officer verifies the details submitted bycandidates and permits that candidate to proceed further if all thedetails provided are sufficient.

    Scrutiny of account of expenses

    The returning officer takes control of verifying the expendituredetails submitted by the candidates.

    Reception of intimation

    Online National Pollin Version 1.0

    So tware Re uirement S eci ication Date: 15 th Nov 2009

  • 8/7/2019 OnLineNationalPolling_SRS

    22/22

    Code Emerald/S.K.I.T. Jaipur Page 22 of 22

    Returning officer receives intimation from party leader about

    the candidates representing his/her party.