You are on page 1of 21

A PROJECT REPORT

Submitted in partial fulfilment for the award of the degree of


M.TECH INTEGRATED(SE)

Submitted by
17MIS0039 – V HARI HARAN
17MIS0107 – VASANTH M
17MIS0108 – S SATHISH
17MIS0159 – SREEJITH R
17MIS0208 – KARTHIKEYAN S

Under the Guidance of


Prof. Dr. Iyapparaja M

School of Information Technology & Engineering


Winter Semester 2019-2020
May 2020
DECLARATION BY THE CANDIDATE

We hereby declare that the project report entitled “GOVERNMENT


AUTHORIZED SMART CARD” submitted by us to VIT University, Vellore
in partial fulfilment of the requirement for the award of the
degree of Integrated MTech (SE) is a record of Jth component of project work
carried out by us under the guidance of Prof. Dr. Iyapparaja M. We further
declare that the work reported in this project has not been submitted and will not
be submitted, either in part or in full, for the award of any other degree or
diploma in this institute or any other institute or university.

Place: Vellore Signature of the candidates


Date: 14th May 2020 V Hari Haran
Vasanth M
Sathish S
Karthikeyan S
Sreejith R
Table of Contents

1. Abstract

2. Introduction

2.1 Problem Statement


2.2 Hardware Requirements
2.3 Software Requirements

3. Analysis of existing system

4. Proposed System

5. Implementation Details

6. Screenshots of Project

7. Testing Platform

8. Test Result

9. Conclusion

10. References
1. ABSTRACT

Smart card is the unique identification card which is merged with PAN card, our
mobile number, Voter Id, Ration Card, License & Aadhar Card. It makes easier
for the people. Because, handling with different type of Identity cards may lead
people to a bit distraction. People require different type of Identity card in
different demands. For example, we require voter id while voting, License to
drive vehicle and Ration card and Aadhar card for many uses. So, by merging
all these people need not have to maintain different types of Identity cards.
When we merge all these, then we will have a unique smart card. We don’t need
to have these many cards then. The important note is that the purpose of Smart
card is not about linking PAN, Voter Id, Ration card and License with Aadhar,
it’s all about merging PAN, Voter Id, Ration Card, License and Aadhar such
that all the PAN, Voter Id, Ration Card and License are Phased out i.e., there is
only one Id for a person. It is Smart Card.

2. INTRODUCTION

This study is all about a Smart Card which enables the users to apply online and
use it as License, PAN, Aadhar, Voter ID and Ration Card. The customer will
enter his/her name, Email Id and he sets password. He will be getting OTP for
his Email Id to confirm the registration. The customer also needs to upload his
passport size photo. The system mainly requires

1) What are the identity proofs the user have at present?


2) What identity proofs the user wish to merge?
3) It is must that the user has to upload the snapshots of all his identity
proofs,

2.1. Problem Statement

Though, People are now handling multiple Identity Cards there are many cases
raising like losing any type of Identity card which causes many issues. People
also will be happy with merging all other types of Id cards as it helps out them
from carrying various types of Cards. Though, Linking/Merging of Aadhar and
Voter Id has started a long back, the process is stagnated. There are some voices
rising that this process is just stopped by politicians as they couldn’t get fake
votes. But it is just a rumour. Linking of License with Aadhar Card is gearing
up it is necessary to merge both of them.
There is also a problem of getting fake license. Hence developing a software for
this will be good initiative. Coming to the aspect of Ration cards, however there
have also been instances of fraud, where the individual obtains more than their
share of ration or where individuals not eligible for ration obtain it, depriving
more deserving people of it. It will beneficiary for government and nation as
they have already started this initiative. We can link our ration card with Aadhar
using their official link and some official applications.

2.2. Hardware Requirements

• Computer System/Laptop with a minimum disk space to withhold the


database.
• Internet Connection
2.3. Software Requirements

• A reliable computer system with at least basic configurations is required.


• As, it is website there is no need any free memory space in the system.

3. ANALYSIS OF EXISTING SYSTEM

There is no proper existing system for merging our Identity Proofs. There are
separate websites which perform separate functionalities. Many people still get
these types of things done by approaching government offices. Even the
government offices don’t perform all the functionalities of our system. The
existing system lack several things. They are:
• Transparency: There no transparent way of issuing the Identity Proofs.
• Security: Manual way is always a way below the Online systems in case
of security.
• The present manual system doesn’t collect any user details which will be
useful anytime. The online database is a way better than the bundles of
documents/papers.
• In existing system, even if we link PAN with Aadhar, we should still use
both the cards wherever necessary. But, in our system when the set of
Identity proofs are merged, the new card is generated which is SMART
CARD which can be used anywhere such that people won’t any other
type of Identity Proof.

Snapshot of Existing Website:


4. PROPOSED SYSTEM

This project mainly concentrates on merging all the identity proofs the user
have.
There are two types of login. One for the customer to login and other for the
government official to login.
User Login:
While registration, there will be Username and the password set by the user. For
login, he/she has to use those credentials. Once the user logins, he/she has to
select the identity proofs which he/she has to merge. Once it is done, the user is
asked some details about the identity proof and the user need to upload the
documents of their Identity proofs. Once, all the process is done. The user clicks
‘Submit’ and the request will be sent from the user. Now the government
official comes into picture.
Admin Login:
Once, the user submits the request, it is reflected to Government official who is
claimed as an admin. The admin needs to approve the request. Before approving
the request, the admin verifies all the details and documents uploaded by the
user. Once, the admin found all the details and documents appropriate, he
approves the request. Else, he rejects the request. If the admin approves the
request a new SMART CARD NUMBER will be generated which will be sent
to user’s Mail Id. By showing the SMART CARD NUMBER to the officials in
nearby E-Seva, the user can get his/her SMART CARD. The Mail will be sent
to the user even if the admin rejects his request.

5. IMPLEMENTATION DETAILS
This is a swing application created in NetBeans.

Frontend:

Java

Abstract Window Toolkit (AWT)

Backend:

Wamp Server

MySQL

6. SCREENSHOTS OF THE PROJECT


Register Page:

Login Page:

Homepage for User:


Suppose, if I need to merge my Aadhar Card, PAN card and Driving License; I
need to check those three items. Then the following page will be displayed.

In the above page displayed I need to enter the required details and upload my
documents.
Once I Submit, all the details are directed to government officials.

Admin Homepage:

The admin verifies the details and click on View Uploads to see our documents.

Then, the following window will be displayed:


The user uploaded Aadhar, PAN and License. So, the admin can view them by
clicking the ‘View’ button corresponding to the Identity proof.
User didn’t upload Ration Card, when the admin wants to view Ration Card the
following window will be displayed,
After verifying, if the admin wants to “Approve” the request, he clicks
“Approve” button. Then the following will be displayed.
The SMART CARD is generated with unique number and a barcode. Thus, the
generation of SMART CARD is successful.

7. TESTING PLATFORM – SELENIUM & JUNIT


Selenium is a portable software testing framework for web applications. The
tests can be written as HTML tables or coded in a number of popular
programming languages and can be run directly in most modern web
browsers. Selenium can be deployed on Windows, Linux, and Macintosh.

It is a free (open-source) automated testing framework used to validate web


applications across different browsers and platforms. You can use multiple
programming languages like Java, C#, Python etc to create Selenium Test
Scripts. Testing done using the Selenium tool is usually referred to as Selenium
Testing.

JUnit is a unit testing framework for Java programming language. It plays a


crucial role test-driven development, and is a family of unit testing frameworks
collectively known as xUnit.

JUnit promotes the idea of "first testing then coding", which emphasizes on
setting up the test data for a piece of code that can be tested first and then
implemented. This approach is like "test a little, code a little, test a little, code a
little." It increases the productivity of the programmer and the stability of
program code, which in turn reduces the stress on the programmer and the time
spent on debugging.

Features of JUnit

• JUnit is an open source framework, which is used for writing and running
tests.

• Provides annotations to identify test methods.

• Provides assertions for testing expected results.

• Provides test runners for running tests.

• JUnit tests allow you to write codes faster, which increases quality.

• JUnit is elegantly simple. It is less complex and takes less time.

• JUnit tests can be run automatically and they check their own results and
provide immediate feedback. There's no need to manually comb through
a report of test results.

• JUnit tests can be organized into test suites containing test cases and even
other test suites.
• JUnit shows test progress in a bar that is green if the test is running
smoothly, and it turns red when a test fails.

Testing Process in NetBeans:

• Initially, we have developed our website / Swing Application


• Next, we have to add Selenium Jar files to the library of our project file
• Then, we need to create Tests for each and every page.

8. TEST RESULTS
Below are the snapshots of Test Results which are 100% passed:

OTP Generation Module

Code:

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

/**
*
* @author V Hariharan
*/
import java.util.Random;
public class GenerateOTP{
static char[] sendOTP(int length){
String numbers = "0123456789";
Random r = new Random();
char[] otp = new char[length];
for(int i=0;i<length;i++)
{
otp[i]=numbers.charAt(r.nextInt(numbers.length()));
}
return otp;
}
public static void main(String ar[])
{
char[] x = sendOTP(4);
System.out.println(x);
}
}

Test Result:

“User Document Upload” Page test result:


“User Login” page test result:

“User Registration Page” test result:


Below are the snapshots of Test Results which are failed

“Document Verification” page test result:


“View Uploaded documents” page test:

9. CONCLUSION
The very first reason to start this project is avoiding the social problem like
getting fake licenses, vote rigging/fake votes etc., This system can be further
developed such that every citizen can cast their vote online, avail government
benefits online with this SMART CARD identification.

10. REFERENCES
1. https://www.researchgate.net/publication/319164004_Aadhaar_Card_Cha
llenges_and_Impact_on_Digital_Transformation
2. https://www.researchgate.net/publication/271550721_Online_voting_syst
em_for_India_based_on_AADHAAR_ID
3. https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&query
Text=Lessons%20from%20Aadhaar:%20Analog%20aspects%20of%20d
igital

You might also like